Class TelemetryProtos.TelemetryMessageLog
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- org.opennms.netmgt.telemetry.common.ipc.TelemetryProtos.TelemetryMessageLog
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,Message
,TelemetryMessageLog
,TelemetryProtos.TelemetryMessageLogOrBuilder
- Enclosing class:
- TelemetryProtos
public static final class TelemetryProtos.TelemetryMessageLog extends com.google.protobuf.GeneratedMessage implements TelemetryProtos.TelemetryMessageLogOrBuilder, Message, TelemetryMessageLog
Protobuf typeTelemetryMessageLog
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TelemetryProtos.TelemetryMessageLog.Builder
Protobuf typeTelemetryMessageLog
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static int
LOCATION_FIELD_NUMBER
static int
MESSAGE_FIELD_NUMBER
static com.google.protobuf.Parser<TelemetryProtos.TelemetryMessageLog>
PARSER
static int
SOURCE_ADDRESS_FIELD_NUMBER
static int
SOURCE_PORT_FIELD_NUMBER
static int
SYSTEM_ID_FIELD_NUMBER
-
Fields inherited from interface org.opennms.core.ipc.sink.api.Message
SINK_METRIC_CONSUMER_DOMAIN, SINK_METRIC_PRODUCER_DOMAIN
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TelemetryProtos.TelemetryMessageLog
getDefaultInstance()
TelemetryProtos.TelemetryMessageLog
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getLocation()
required string location = 1;
com.google.protobuf.ByteString
getLocationBytes()
required string location = 1;
TelemetryProtos.TelemetryMessage
getMessage(int index)
repeated .TelemetryMessage message = 5;
int
getMessageCount()
repeated .TelemetryMessage message = 5;
List<TelemetryProtos.TelemetryMessage>
getMessageList()
repeated .TelemetryMessage message = 5;
TelemetryProtos.TelemetryMessageOrBuilder
getMessageOrBuilder(int index)
repeated .TelemetryMessage message = 5;
List<? extends TelemetryProtos.TelemetryMessageOrBuilder>
getMessageOrBuilderList()
repeated .TelemetryMessage message = 5;
com.google.protobuf.Parser<TelemetryProtos.TelemetryMessageLog>
getParserForType()
int
getSerializedSize()
String
getSourceAddress()
optional string source_address = 3;
com.google.protobuf.ByteString
getSourceAddressBytes()
optional string source_address = 3;
int
getSourcePort()
optional uint32 source_port = 4;
String
getSystemId()
required string system_id = 2;
com.google.protobuf.ByteString
getSystemIdBytes()
required string system_id = 2;
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasLocation()
required string location = 1;
boolean
hasSourceAddress()
optional string source_address = 3;
boolean
hasSourcePort()
optional uint32 source_port = 4;
boolean
hasSystemId()
required string system_id = 2;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static TelemetryProtos.TelemetryMessageLog.Builder
newBuilder()
static TelemetryProtos.TelemetryMessageLog.Builder
newBuilder(TelemetryProtos.TelemetryMessageLog prototype)
TelemetryProtos.TelemetryMessageLog.Builder
newBuilderForType()
protected TelemetryProtos.TelemetryMessageLog.Builder
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static TelemetryProtos.TelemetryMessageLog
parseDelimitedFrom(InputStream input)
static TelemetryProtos.TelemetryMessageLog
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TelemetryProtos.TelemetryMessageLog
parseFrom(byte[] data)
static TelemetryProtos.TelemetryMessageLog
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TelemetryProtos.TelemetryMessageLog
parseFrom(com.google.protobuf.ByteString data)
static TelemetryProtos.TelemetryMessageLog
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TelemetryProtos.TelemetryMessageLog
parseFrom(com.google.protobuf.CodedInputStream input)
static TelemetryProtos.TelemetryMessageLog
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TelemetryProtos.TelemetryMessageLog
parseFrom(InputStream input)
static TelemetryProtos.TelemetryMessageLog
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TelemetryProtos.TelemetryMessageLog.Builder
toBuilder()
protected Object
writeReplace()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PARSER
public static com.google.protobuf.Parser<TelemetryProtos.TelemetryMessageLog> PARSER
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SYSTEM_ID_FIELD_NUMBER
public static final int SYSTEM_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_ADDRESS_FIELD_NUMBER
public static final int SOURCE_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_PORT_FIELD_NUMBER
public static final int SOURCE_PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
public static TelemetryProtos.TelemetryMessageLog getDefaultInstance()
-
getDefaultInstanceForType
public TelemetryProtos.TelemetryMessageLog getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessage
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getParserForType
public com.google.protobuf.Parser<TelemetryProtos.TelemetryMessageLog> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
hasLocation
public boolean hasLocation()
required string location = 1;
- Specified by:
hasLocation
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getLocation
public String getLocation()
required string location = 1;
- Specified by:
getLocation
in interfaceTelemetryMessageLog
- Specified by:
getLocation
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
- Returns:
- the location
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
required string location = 1;
- Specified by:
getLocationBytes
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
hasSystemId
public boolean hasSystemId()
required string system_id = 2;
- Specified by:
hasSystemId
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getSystemId
public String getSystemId()
required string system_id = 2;
- Specified by:
getSystemId
in interfaceTelemetryMessageLog
- Specified by:
getSystemId
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
- Returns:
- the system ID
-
getSystemIdBytes
public com.google.protobuf.ByteString getSystemIdBytes()
required string system_id = 2;
- Specified by:
getSystemIdBytes
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
hasSourceAddress
public boolean hasSourceAddress()
optional string source_address = 3;
- Specified by:
hasSourceAddress
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getSourceAddress
public String getSourceAddress()
optional string source_address = 3;
- Specified by:
getSourceAddress
in interfaceTelemetryMessageLog
- Specified by:
getSourceAddress
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
- Returns:
- the address
-
getSourceAddressBytes
public com.google.protobuf.ByteString getSourceAddressBytes()
optional string source_address = 3;
- Specified by:
getSourceAddressBytes
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
hasSourcePort
public boolean hasSourcePort()
optional uint32 source_port = 4;
- Specified by:
hasSourcePort
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getSourcePort
public int getSourcePort()
optional uint32 source_port = 4;
- Specified by:
getSourcePort
in interfaceTelemetryMessageLog
- Specified by:
getSourcePort
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
- Returns:
- the port
-
getMessageList
public List<TelemetryProtos.TelemetryMessage> getMessageList()
repeated .TelemetryMessage message = 5;
- Specified by:
getMessageList
in interfaceTelemetryMessageLog
- Specified by:
getMessageList
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
- Returns:
- the log entry or entries
-
getMessageOrBuilderList
public List<? extends TelemetryProtos.TelemetryMessageOrBuilder> getMessageOrBuilderList()
repeated .TelemetryMessage message = 5;
- Specified by:
getMessageOrBuilderList
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getMessageCount
public int getMessageCount()
repeated .TelemetryMessage message = 5;
- Specified by:
getMessageCount
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getMessage
public TelemetryProtos.TelemetryMessage getMessage(int index)
repeated .TelemetryMessage message = 5;
- Specified by:
getMessage
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getMessageOrBuilder
public TelemetryProtos.TelemetryMessageOrBuilder getMessageOrBuilder(int index)
repeated .TelemetryMessage message = 5;
- Specified by:
getMessageOrBuilder
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
writeReplace
protected Object writeReplace() throws ObjectStreamException
- Overrides:
writeReplace
in classcom.google.protobuf.GeneratedMessage
- Throws:
ObjectStreamException
-
parseFrom
public static TelemetryProtos.TelemetryMessageLog parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TelemetryProtos.TelemetryMessageLog parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TelemetryProtos.TelemetryMessageLog parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TelemetryProtos.TelemetryMessageLog parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TelemetryProtos.TelemetryMessageLog parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TelemetryProtos.TelemetryMessageLog parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TelemetryProtos.TelemetryMessageLog parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TelemetryProtos.TelemetryMessageLog parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TelemetryProtos.TelemetryMessageLog parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TelemetryProtos.TelemetryMessageLog parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilder
public static TelemetryProtos.TelemetryMessageLog.Builder newBuilder()
-
newBuilderForType
public TelemetryProtos.TelemetryMessageLog.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TelemetryProtos.TelemetryMessageLog.Builder newBuilder(TelemetryProtos.TelemetryMessageLog prototype)
-
toBuilder
public TelemetryProtos.TelemetryMessageLog.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TelemetryProtos.TelemetryMessageLog.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessage
-
-