Class Telemetry.OpenConfigData
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.opennms.features.openconfig.proto.jti.Telemetry.OpenConfigData
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,Telemetry.OpenConfigDataOrBuilder
- Enclosing class:
- Telemetry
public static final class Telemetry.OpenConfigData extends com.google.protobuf.GeneratedMessageV3 implements Telemetry.OpenConfigDataOrBuilder
2. Telemetry data send back on the same connection as the subscription request.
Protobuf typetelemetry.OpenConfigData
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Telemetry.OpenConfigData.Builder
2.-
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
DELETE_FIELD_NUMBER
static int
EOM_FIELD_NUMBER
static int
KV_FIELD_NUMBER
static int
PATH_FIELD_NUMBER
static int
SEQUENCE_NUMBER_FIELD_NUMBER
static int
SUB_COMPONENT_ID_FIELD_NUMBER
static int
SYNC_RESPONSE_FIELD_NUMBER
static int
SYSTEM_ID_FIELD_NUMBER
static int
TIMESTAMP_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 Telemetry.OpenConfigData
getDefaultInstance()
Telemetry.OpenConfigData
getDefaultInstanceForType()
Telemetry.Delete
getDelete(int index)
For delete.int
getDeleteCount()
For delete.List<Telemetry.Delete>
getDeleteList()
For delete.Telemetry.DeleteOrBuilder
getDeleteOrBuilder(int index)
For delete.List<? extends Telemetry.DeleteOrBuilder>
getDeleteOrBuilderList()
For delete.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Telemetry.Eom
getEom(int index)
If filled, it indicates end of marker for the respective path in the list.int
getEomCount()
If filled, it indicates end of marker for the respective path in the list.List<Telemetry.Eom>
getEomList()
If filled, it indicates end of marker for the respective path in the list.Telemetry.EomOrBuilder
getEomOrBuilder(int index)
If filled, it indicates end of marker for the respective path in the list.List<? extends Telemetry.EomOrBuilder>
getEomOrBuilderList()
If filled, it indicates end of marker for the respective path in the list.Telemetry.KeyValue
getKv(int index)
List of key-value pairsint
getKvCount()
List of key-value pairsList<Telemetry.KeyValue>
getKvList()
List of key-value pairsTelemetry.KeyValueOrBuilder
getKvOrBuilder(int index)
List of key-value pairsList<? extends Telemetry.KeyValueOrBuilder>
getKvOrBuilderList()
List of key-value pairscom.google.protobuf.Parser<Telemetry.OpenConfigData>
getParserForType()
String
getPath()
Path specification for elements of OpenConfig data modelscom.google.protobuf.ByteString
getPathBytes()
Path specification for elements of OpenConfig data modelslong
getSequenceNumber()
Sequence number, monotonically increasing for each system_id, component_id, sub_component_id + path.int
getSerializedSize()
int
getSubComponentId()
PFE (if applicable)boolean
getSyncResponse()
If filled, it indicates end of sync for complete subscriptionString
getSystemId()
router name:export IP addresscom.google.protobuf.ByteString
getSystemIdBytes()
router name:export IP addresslong
getTimestamp()
timestamp (milliseconds since epoch)com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Telemetry.OpenConfigData.Builder
newBuilder()
static Telemetry.OpenConfigData.Builder
newBuilder(Telemetry.OpenConfigData prototype)
Telemetry.OpenConfigData.Builder
newBuilderForType()
protected Telemetry.OpenConfigData.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Telemetry.OpenConfigData
parseDelimitedFrom(InputStream input)
static Telemetry.OpenConfigData
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Telemetry.OpenConfigData
parseFrom(byte[] data)
static Telemetry.OpenConfigData
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Telemetry.OpenConfigData
parseFrom(com.google.protobuf.ByteString data)
static Telemetry.OpenConfigData
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Telemetry.OpenConfigData
parseFrom(com.google.protobuf.CodedInputStream input)
static Telemetry.OpenConfigData
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Telemetry.OpenConfigData
parseFrom(InputStream input)
static Telemetry.OpenConfigData
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Telemetry.OpenConfigData
parseFrom(ByteBuffer data)
static Telemetry.OpenConfigData
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Telemetry.OpenConfigData>
parser()
Telemetry.OpenConfigData.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
-
PATH_FIELD_NUMBER
public static final int PATH_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
-
KV_FIELD_NUMBER
public static final int KV_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_FIELD_NUMBER
public static final int DELETE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EOM_FIELD_NUMBER
public static final int EOM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SYNC_RESPONSE_FIELD_NUMBER
public static final int SYNC_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
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
-
getSystemId
public String getSystemId()
router name:export IP address
string system_id = 1;
- Specified by:
getSystemId
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getSystemIdBytes
public com.google.protobuf.ByteString getSystemIdBytes()
router name:export IP address
string system_id = 1;
- Specified by:
getSystemIdBytes
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getComponentId
public int getComponentId()
line card / RE (slot number)
uint32 component_id = 2;
- Specified by:
getComponentId
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getSubComponentId
public int getSubComponentId()
PFE (if applicable)
uint32 sub_component_id = 3;
- Specified by:
getSubComponentId
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getPath
public String getPath()
Path specification for elements of OpenConfig data models
string path = 4;
- Specified by:
getPath
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
Path specification for elements of OpenConfig data models
string path = 4;
- Specified by:
getPathBytes
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getSequenceNumber
public long getSequenceNumber()
Sequence number, monotonically increasing for each system_id, component_id, sub_component_id + path.
uint64 sequence_number = 5;
- Specified by:
getSequenceNumber
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getTimestamp
public long getTimestamp()
timestamp (milliseconds since epoch)
uint64 timestamp = 6;
- Specified by:
getTimestamp
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getKvList
public List<Telemetry.KeyValue> getKvList()
List of key-value pairs
repeated .telemetry.KeyValue kv = 7;
- Specified by:
getKvList
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getKvOrBuilderList
public List<? extends Telemetry.KeyValueOrBuilder> getKvOrBuilderList()
List of key-value pairs
repeated .telemetry.KeyValue kv = 7;
- Specified by:
getKvOrBuilderList
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getKvCount
public int getKvCount()
List of key-value pairs
repeated .telemetry.KeyValue kv = 7;
- Specified by:
getKvCount
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getKv
public Telemetry.KeyValue getKv(int index)
List of key-value pairs
repeated .telemetry.KeyValue kv = 7;
- Specified by:
getKv
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getKvOrBuilder
public Telemetry.KeyValueOrBuilder getKvOrBuilder(int index)
List of key-value pairs
repeated .telemetry.KeyValue kv = 7;
- Specified by:
getKvOrBuilder
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getDeleteList
public List<Telemetry.Delete> getDeleteList()
For delete. If filled, it indicates delete
repeated .telemetry.Delete delete = 8;
- Specified by:
getDeleteList
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getDeleteOrBuilderList
public List<? extends Telemetry.DeleteOrBuilder> getDeleteOrBuilderList()
For delete. If filled, it indicates delete
repeated .telemetry.Delete delete = 8;
- Specified by:
getDeleteOrBuilderList
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getDeleteCount
public int getDeleteCount()
For delete. If filled, it indicates delete
repeated .telemetry.Delete delete = 8;
- Specified by:
getDeleteCount
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getDelete
public Telemetry.Delete getDelete(int index)
For delete. If filled, it indicates delete
repeated .telemetry.Delete delete = 8;
- Specified by:
getDelete
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getDeleteOrBuilder
public Telemetry.DeleteOrBuilder getDeleteOrBuilder(int index)
For delete. If filled, it indicates delete
repeated .telemetry.Delete delete = 8;
- Specified by:
getDeleteOrBuilder
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getEomList
public List<Telemetry.Eom> getEomList()
If filled, it indicates end of marker for the respective path in the list.
repeated .telemetry.Eom eom = 9;
- Specified by:
getEomList
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getEomOrBuilderList
public List<? extends Telemetry.EomOrBuilder> getEomOrBuilderList()
If filled, it indicates end of marker for the respective path in the list.
repeated .telemetry.Eom eom = 9;
- Specified by:
getEomOrBuilderList
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getEomCount
public int getEomCount()
If filled, it indicates end of marker for the respective path in the list.
repeated .telemetry.Eom eom = 9;
- Specified by:
getEomCount
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getEom
public Telemetry.Eom getEom(int index)
If filled, it indicates end of marker for the respective path in the list.
repeated .telemetry.Eom eom = 9;
- Specified by:
getEom
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getEomOrBuilder
public Telemetry.EomOrBuilder getEomOrBuilder(int index)
If filled, it indicates end of marker for the respective path in the list.
repeated .telemetry.Eom eom = 9;
- Specified by:
getEomOrBuilder
in interfaceTelemetry.OpenConfigDataOrBuilder
-
getSyncResponse
public boolean getSyncResponse()
If filled, it indicates end of sync for complete subscription
bool sync_response = 10;
- Specified by:
getSyncResponse
in interfaceTelemetry.OpenConfigDataOrBuilder
-
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 Telemetry.OpenConfigData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.OpenConfigData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.OpenConfigData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.OpenConfigData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.OpenConfigData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.OpenConfigData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Telemetry.OpenConfigData parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Telemetry.OpenConfigData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Telemetry.OpenConfigData parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Telemetry.OpenConfigData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Telemetry.OpenConfigData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Telemetry.OpenConfigData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Telemetry.OpenConfigData.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Telemetry.OpenConfigData.Builder newBuilder()
-
newBuilder
public static Telemetry.OpenConfigData.Builder newBuilder(Telemetry.OpenConfigData prototype)
-
toBuilder
public Telemetry.OpenConfigData.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Telemetry.OpenConfigData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Telemetry.OpenConfigData getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Telemetry.OpenConfigData> parser()
-
getParserForType
public com.google.protobuf.Parser<Telemetry.OpenConfigData> 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 Telemetry.OpenConfigData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-