Class Gnmi.PathElem
- java.lang.Object
- 
- com.google.protobuf.AbstractMessageLite
- 
- com.google.protobuf.AbstractMessage
- 
- com.google.protobuf.GeneratedMessageV3
- 
- org.opennms.features.openconfig.proto.gnmi.Gnmi.PathElem
 
 
 
 
- 
- All Implemented Interfaces:
- com.google.protobuf.Message,- com.google.protobuf.MessageLite,- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder,- java.io.Serializable,- Gnmi.PathElemOrBuilder
 - Enclosing class:
- Gnmi
 
 public static final class Gnmi.PathElem extends com.google.protobuf.GeneratedMessageV3 implements Gnmi.PathElemOrBuilder PathElem encodes an element of a gNMI path, along with any attributes (keys) that may be associated with it. Reference: gNMI Specification Section 2.2.2. Protobuf typegnmi.PathElem- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGnmi.PathElem.BuilderPathElem encodes an element of a gNMI path, along with any attributes (keys) that may be associated with it.- 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3com.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 SummaryFields Modifier and Type Field Description static intKEY_FIELD_NUMBERstatic intNAME_FIELD_NUMBER
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsKey(java.lang.String key)Map of key (attribute) name to value.booleanequals(java.lang.Object obj)static Gnmi.PathElemgetDefaultInstance()Gnmi.PathElemgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.util.Map<java.lang.String,java.lang.String>getKey()Deprecated.intgetKeyCount()Map of key (attribute) name to value.java.util.Map<java.lang.String,java.lang.String>getKeyMap()Map of key (attribute) name to value.java.lang.StringgetKeyOrDefault(java.lang.String key, java.lang.String defaultValue)Map of key (attribute) name to value.java.lang.StringgetKeyOrThrow(java.lang.String key)Map of key (attribute) name to value.java.lang.StringgetName()The name of the element in the path.com.google.protobuf.ByteStringgetNameBytes()The name of the element in the path.com.google.protobuf.Parser<Gnmi.PathElem>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Gnmi.PathElem.BuildernewBuilder()static Gnmi.PathElem.BuildernewBuilder(Gnmi.PathElem prototype)Gnmi.PathElem.BuildernewBuilderForType()protected Gnmi.PathElem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Gnmi.PathElemparseDelimitedFrom(java.io.InputStream input)static Gnmi.PathElemparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Gnmi.PathElemparseFrom(byte[] data)static Gnmi.PathElemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Gnmi.PathElemparseFrom(com.google.protobuf.ByteString data)static Gnmi.PathElemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Gnmi.PathElemparseFrom(com.google.protobuf.CodedInputStream input)static Gnmi.PathElemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Gnmi.PathElemparseFrom(java.io.InputStream input)static Gnmi.PathElemparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Gnmi.PathElemparseFrom(java.nio.ByteBuffer data)static Gnmi.PathElemparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Gnmi.PathElem>parser()Gnmi.PathElem.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)- 
Methods inherited from class com.google.protobuf.GeneratedMessageV3canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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.AbstractMessagefindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
 - 
Methods inherited from class com.google.protobuf.AbstractMessageLiteaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
- 
 
- 
- 
- 
Field Detail- 
NAME_FIELD_NUMBERpublic static final int NAME_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
KEY_FIELD_NUMBERpublic static final int KEY_FIELD_NUMBER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
newInstanceprotected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) - Overrides:
- newInstancein class- com.google.protobuf.GeneratedMessageV3
 
 - 
getUnknownFieldspublic final com.google.protobuf.UnknownFieldSet getUnknownFields() - Specified by:
- getUnknownFieldsin interface- com.google.protobuf.MessageOrBuilder
- Overrides:
- getUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3
 
 - 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor() 
 - 
internalGetMapFieldprotected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
- internalGetMapFieldin class- com.google.protobuf.GeneratedMessageV3
 
 - 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessageV3
 
 - 
getNamepublic java.lang.String getName() The name of the element in the path. string name = 1;- Specified by:
- getNamein interface- Gnmi.PathElemOrBuilder
 
 - 
getNameBytespublic com.google.protobuf.ByteString getNameBytes() The name of the element in the path. string name = 1;- Specified by:
- getNameBytesin interface- Gnmi.PathElemOrBuilder
 
 - 
getKeyCountpublic int getKeyCount() Description copied from interface:Gnmi.PathElemOrBuilderMap of key (attribute) name to value. map<string, string> key = 2;- Specified by:
- getKeyCountin interface- Gnmi.PathElemOrBuilder
 
 - 
containsKeypublic boolean containsKey(java.lang.String key) Map of key (attribute) name to value. map<string, string> key = 2;- Specified by:
- containsKeyin interface- Gnmi.PathElemOrBuilder
 
 - 
getKey@Deprecated public java.util.Map<java.lang.String,java.lang.String> getKey() Deprecated.UsegetKeyMap()instead.- Specified by:
- getKeyin interface- Gnmi.PathElemOrBuilder
 
 - 
getKeyMappublic java.util.Map<java.lang.String,java.lang.String> getKeyMap() Map of key (attribute) name to value. map<string, string> key = 2;- Specified by:
- getKeyMapin interface- Gnmi.PathElemOrBuilder
 
 - 
getKeyOrDefaultpublic java.lang.String getKeyOrDefault(java.lang.String key, java.lang.String defaultValue)Map of key (attribute) name to value. map<string, string> key = 2;- Specified by:
- getKeyOrDefaultin interface- Gnmi.PathElemOrBuilder
 
 - 
getKeyOrThrowpublic java.lang.String getKeyOrThrow(java.lang.String key) Map of key (attribute) name to value. map<string, string> key = 2;- Specified by:
- getKeyOrThrowin interface- Gnmi.PathElemOrBuilder
 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessageV3
 
 - 
writeTopublic void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
- writeToin interface- com.google.protobuf.MessageLite
- Overrides:
- writeToin class- com.google.protobuf.GeneratedMessageV3
- Throws:
- java.io.IOException
 
 - 
getSerializedSizepublic int getSerializedSize() - Specified by:
- getSerializedSizein interface- com.google.protobuf.MessageLite
- Overrides:
- getSerializedSizein class- com.google.protobuf.GeneratedMessageV3
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Specified by:
- equalsin interface- com.google.protobuf.Message
- Overrides:
- equalsin class- com.google.protobuf.AbstractMessage
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- com.google.protobuf.Message
- Overrides:
- hashCodein class- com.google.protobuf.AbstractMessage
 
 - 
parseFrompublic static Gnmi.PathElem parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Gnmi.PathElem parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Gnmi.PathElem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Gnmi.PathElem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Gnmi.PathElem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Gnmi.PathElem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Gnmi.PathElem parseFrom(java.io.InputStream input) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseFrompublic static Gnmi.PathElem parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseDelimitedFrompublic static Gnmi.PathElem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseDelimitedFrompublic static Gnmi.PathElem parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseFrompublic static Gnmi.PathElem parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseFrompublic static Gnmi.PathElem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
newBuilderForTypepublic Gnmi.PathElem.Builder newBuilderForType() - Specified by:
- newBuilderForTypein interface- com.google.protobuf.Message
- Specified by:
- newBuilderForTypein interface- com.google.protobuf.MessageLite
 
 - 
newBuilderpublic static Gnmi.PathElem.Builder newBuilder() 
 - 
newBuilderpublic static Gnmi.PathElem.Builder newBuilder(Gnmi.PathElem prototype) 
 - 
toBuilderpublic Gnmi.PathElem.Builder toBuilder() - Specified by:
- toBuilderin interface- com.google.protobuf.Message
- Specified by:
- toBuilderin interface- com.google.protobuf.MessageLite
 
 - 
newBuilderForTypeprotected Gnmi.PathElem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
- newBuilderForTypein class- com.google.protobuf.GeneratedMessageV3
 
 - 
getDefaultInstancepublic static Gnmi.PathElem getDefaultInstance() 
 - 
parserpublic static com.google.protobuf.Parser<Gnmi.PathElem> parser() 
 - 
getParserForTypepublic com.google.protobuf.Parser<Gnmi.PathElem> getParserForType() - Specified by:
- getParserForTypein interface- com.google.protobuf.Message
- Specified by:
- getParserForTypein interface- com.google.protobuf.MessageLite
- Overrides:
- getParserForTypein class- com.google.protobuf.GeneratedMessageV3
 
 - 
getDefaultInstanceForTypepublic Gnmi.PathElem getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
 
- 
 
-