Class TelemetryTop.TelemetryStream
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.opennms.netmgt.telemetry.protocols.jti.adapter.proto.TelemetryTop.TelemetryStream
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,TelemetryTop.TelemetryStreamOrBuilder
- Enclosing class:
- TelemetryTop
public static final class TelemetryTop.TelemetryStream extends com.google.protobuf.GeneratedMessageV3 implements TelemetryTop.TelemetryStreamOrBuilder
Protobuf typeTelemetryStream
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TelemetryTop.TelemetryStream.Builder
Protobuf typeTelemetryStream
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
COMPONENT_ID_FIELD_NUMBER
static int
ENTERPRISE_FIELD_NUMBER
static int
IETF_FIELD_NUMBER
static com.google.protobuf.Parser<TelemetryTop.TelemetryStream>
PARSER
Deprecated.static int
SENSOR_NAME_FIELD_NUMBER
static int
SEQUENCE_NUMBER_FIELD_NUMBER
static int
SUB_COMPONENT_ID_FIELD_NUMBER
static int
SYSTEM_ID_FIELD_NUMBER
static int
TIMESTAMP_FIELD_NUMBER
static int
VERSION_MAJOR_FIELD_NUMBER
static int
VERSION_MINOR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getComponentId()
line card / RE (slot number)static TelemetryTop.TelemetryStream
getDefaultInstance()
TelemetryTop.TelemetryStream
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
TelemetryTop.EnterpriseSensors
getEnterprise()
optional .EnterpriseSensors enterprise = 101;
TelemetryTop.EnterpriseSensorsOrBuilder
getEnterpriseOrBuilder()
optional .EnterpriseSensors enterprise = 101;
TelemetryTop.IETFSensors
getIetf()
optional .IETFSensors ietf = 100;
TelemetryTop.IETFSensorsOrBuilder
getIetfOrBuilder()
optional .IETFSensors ietf = 100;
com.google.protobuf.Parser<TelemetryTop.TelemetryStream>
getParserForType()
String
getSensorName()
configured sensor namecom.google.protobuf.ByteString
getSensorNameBytes()
configured sensor nameint
getSequenceNumber()
sequence number, monotonically increasesing for each system_id, component_id, sub_component_id + sensor_name.int
getSerializedSize()
int
getSubComponentId()
PFE (if applicable)String
getSystemId()
router name or export IP addresscom.google.protobuf.ByteString
getSystemIdBytes()
router name or export IP addresslong
getTimestamp()
timestamp (milliseconds since 00:00:00 UTC 1/1/1970)com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
getVersionMajor()
major versionint
getVersionMinor()
minor versionboolean
hasComponentId()
line card / RE (slot number)boolean
hasEnterprise()
optional .EnterpriseSensors enterprise = 101;
int
hashCode()
boolean
hasIetf()
optional .IETFSensors ietf = 100;
boolean
hasSensorName()
configured sensor nameboolean
hasSequenceNumber()
sequence number, monotonically increasesing for each system_id, component_id, sub_component_id + sensor_name.boolean
hasSubComponentId()
PFE (if applicable)boolean
hasSystemId()
router name or export IP addressboolean
hasTimestamp()
timestamp (milliseconds since 00:00:00 UTC 1/1/1970)boolean
hasVersionMajor()
major versionboolean
hasVersionMinor()
minor versionprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static TelemetryTop.TelemetryStream.Builder
newBuilder()
static TelemetryTop.TelemetryStream.Builder
newBuilder(TelemetryTop.TelemetryStream prototype)
TelemetryTop.TelemetryStream.Builder
newBuilderForType()
protected TelemetryTop.TelemetryStream.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static TelemetryTop.TelemetryStream
parseDelimitedFrom(InputStream input)
static TelemetryTop.TelemetryStream
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TelemetryTop.TelemetryStream
parseFrom(byte[] data)
static TelemetryTop.TelemetryStream
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TelemetryTop.TelemetryStream
parseFrom(com.google.protobuf.ByteString data)
static TelemetryTop.TelemetryStream
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TelemetryTop.TelemetryStream
parseFrom(com.google.protobuf.CodedInputStream input)
static TelemetryTop.TelemetryStream
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TelemetryTop.TelemetryStream
parseFrom(InputStream input)
static TelemetryTop.TelemetryStream
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TelemetryTop.TelemetryStream
parseFrom(ByteBuffer data)
static TelemetryTop.TelemetryStream
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<TelemetryTop.TelemetryStream>
parser()
TelemetryTop.TelemetryStream.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, 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
-
SYSTEM_ID_FIELD_NUMBER
public static final int SYSTEM_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPONENT_ID_FIELD_NUMBER
public static final int COMPONENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUB_COMPONENT_ID_FIELD_NUMBER
public static final int SUB_COMPONENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SENSOR_NAME_FIELD_NUMBER
public static final int SENSOR_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQUENCE_NUMBER_FIELD_NUMBER
public static final int SEQUENCE_NUMBER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_MAJOR_FIELD_NUMBER
public static final int VERSION_MAJOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_MINOR_FIELD_NUMBER
public static final int VERSION_MINOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IETF_FIELD_NUMBER
public static final int IETF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTERPRISE_FIELD_NUMBER
public static final int ENTERPRISE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<TelemetryTop.TelemetryStream> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasSystemId
public boolean hasSystemId()
router name or export IP address
required string system_id = 1 [(.telemetry_options) = { ... }
- Specified by:
hasSystemId
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- Whether the systemId field is set.
-
getSystemId
public String getSystemId()
router name or export IP address
required string system_id = 1 [(.telemetry_options) = { ... }
- Specified by:
getSystemId
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The systemId.
-
getSystemIdBytes
public com.google.protobuf.ByteString getSystemIdBytes()
router name or export IP address
required string system_id = 1 [(.telemetry_options) = { ... }
- Specified by:
getSystemIdBytes
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The bytes for systemId.
-
hasComponentId
public boolean hasComponentId()
line card / RE (slot number)
optional uint32 component_id = 2 [(.telemetry_options) = { ... }
- Specified by:
hasComponentId
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- Whether the componentId field is set.
-
getComponentId
public int getComponentId()
line card / RE (slot number)
optional uint32 component_id = 2 [(.telemetry_options) = { ... }
- Specified by:
getComponentId
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The componentId.
-
hasSubComponentId
public boolean hasSubComponentId()
PFE (if applicable)
optional uint32 sub_component_id = 3 [(.telemetry_options) = { ... }
- Specified by:
hasSubComponentId
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- Whether the subComponentId field is set.
-
getSubComponentId
public int getSubComponentId()
PFE (if applicable)
optional uint32 sub_component_id = 3 [(.telemetry_options) = { ... }
- Specified by:
getSubComponentId
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The subComponentId.
-
hasSensorName
public boolean hasSensorName()
configured sensor name
optional string sensor_name = 4 [(.telemetry_options) = { ... }
- Specified by:
hasSensorName
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- Whether the sensorName field is set.
-
getSensorName
public String getSensorName()
configured sensor name
optional string sensor_name = 4 [(.telemetry_options) = { ... }
- Specified by:
getSensorName
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The sensorName.
-
getSensorNameBytes
public com.google.protobuf.ByteString getSensorNameBytes()
configured sensor name
optional string sensor_name = 4 [(.telemetry_options) = { ... }
- Specified by:
getSensorNameBytes
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The bytes for sensorName.
-
hasSequenceNumber
public boolean hasSequenceNumber()
sequence number, monotonically increasesing for each system_id, component_id, sub_component_id + sensor_name.
optional uint32 sequence_number = 5;
- Specified by:
hasSequenceNumber
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- Whether the sequenceNumber field is set.
-
getSequenceNumber
public int getSequenceNumber()
sequence number, monotonically increasesing for each system_id, component_id, sub_component_id + sensor_name.
optional uint32 sequence_number = 5;
- Specified by:
getSequenceNumber
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The sequenceNumber.
-
hasTimestamp
public boolean hasTimestamp()
timestamp (milliseconds since 00:00:00 UTC 1/1/1970)
optional uint64 timestamp = 6 [(.telemetry_options) = { ... }
- Specified by:
hasTimestamp
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()
timestamp (milliseconds since 00:00:00 UTC 1/1/1970)
optional uint64 timestamp = 6 [(.telemetry_options) = { ... }
- Specified by:
getTimestamp
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The timestamp.
-
hasVersionMajor
public boolean hasVersionMajor()
major version
optional uint32 version_major = 7;
- Specified by:
hasVersionMajor
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- Whether the versionMajor field is set.
-
getVersionMajor
public int getVersionMajor()
major version
optional uint32 version_major = 7;
- Specified by:
getVersionMajor
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The versionMajor.
-
hasVersionMinor
public boolean hasVersionMinor()
minor version
optional uint32 version_minor = 8;
- Specified by:
hasVersionMinor
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- Whether the versionMinor field is set.
-
getVersionMinor
public int getVersionMinor()
minor version
optional uint32 version_minor = 8;
- Specified by:
getVersionMinor
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The versionMinor.
-
hasIetf
public boolean hasIetf()
optional .IETFSensors ietf = 100;
- Specified by:
hasIetf
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- Whether the ietf field is set.
-
getIetf
public TelemetryTop.IETFSensors getIetf()
optional .IETFSensors ietf = 100;
- Specified by:
getIetf
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The ietf.
-
getIetfOrBuilder
public TelemetryTop.IETFSensorsOrBuilder getIetfOrBuilder()
optional .IETFSensors ietf = 100;
- Specified by:
getIetfOrBuilder
in interfaceTelemetryTop.TelemetryStreamOrBuilder
-
hasEnterprise
public boolean hasEnterprise()
optional .EnterpriseSensors enterprise = 101;
- Specified by:
hasEnterprise
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- Whether the enterprise field is set.
-
getEnterprise
public TelemetryTop.EnterpriseSensors getEnterprise()
optional .EnterpriseSensors enterprise = 101;
- Specified by:
getEnterprise
in interfaceTelemetryTop.TelemetryStreamOrBuilder
- Returns:
- The enterprise.
-
getEnterpriseOrBuilder
public TelemetryTop.EnterpriseSensorsOrBuilder getEnterpriseOrBuilder()
optional .EnterpriseSensors enterprise = 101;
- Specified by:
getEnterpriseOrBuilder
in interfaceTelemetryTop.TelemetryStreamOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
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.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TelemetryTop.TelemetryStream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TelemetryTop.TelemetryStream parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TelemetryTop.TelemetryStream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TelemetryTop.TelemetryStream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TelemetryTop.TelemetryStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TelemetryTop.TelemetryStream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TelemetryTop.TelemetryStream parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TelemetryTop.TelemetryStream parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TelemetryTop.TelemetryStream parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TelemetryTop.TelemetryStream parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TelemetryTop.TelemetryStream parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TelemetryTop.TelemetryStream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TelemetryTop.TelemetryStream.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TelemetryTop.TelemetryStream.Builder newBuilder()
-
newBuilder
public static TelemetryTop.TelemetryStream.Builder newBuilder(TelemetryTop.TelemetryStream prototype)
-
toBuilder
public TelemetryTop.TelemetryStream.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TelemetryTop.TelemetryStream.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TelemetryTop.TelemetryStream getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TelemetryTop.TelemetryStream> parser()
-
getParserForType
public com.google.protobuf.Parser<TelemetryTop.TelemetryStream> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TelemetryTop.TelemetryStream getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-