public static final class Gnmi.Path.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder> implements Gnmi.PathOrBuilder
Path encodes a data tree path as a series of repeated strings, with each element of the path representing a data tree node name and the associated attributes. Reference: gNMI Specification Section 2.2.2.Protobuf type
gnmi.Path| Modifier and Type | Method and Description |
|---|---|
Gnmi.Path.Builder |
addAllElem(Iterable<? extends Gnmi.PathElem> values)
Elements of the path.
|
Gnmi.Path.Builder |
addAllElement(Iterable<String> values)
Deprecated.
|
Gnmi.Path.Builder |
addElem(Gnmi.PathElem.Builder builderForValue)
Elements of the path.
|
Gnmi.Path.Builder |
addElem(Gnmi.PathElem value)
Elements of the path.
|
Gnmi.Path.Builder |
addElem(int index,
Gnmi.PathElem.Builder builderForValue)
Elements of the path.
|
Gnmi.Path.Builder |
addElem(int index,
Gnmi.PathElem value)
Elements of the path.
|
Gnmi.PathElem.Builder |
addElemBuilder()
Elements of the path.
|
Gnmi.PathElem.Builder |
addElemBuilder(int index)
Elements of the path.
|
Gnmi.Path.Builder |
addElement(String value)
Deprecated.
|
Gnmi.Path.Builder |
addElementBytes(com.google.protobuf.ByteString value)
Deprecated.
|
Gnmi.Path.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Gnmi.Path |
build() |
Gnmi.Path |
buildPartial() |
Gnmi.Path.Builder |
clear() |
Gnmi.Path.Builder |
clearElem()
Elements of the path.
|
Gnmi.Path.Builder |
clearElement()
Deprecated.
|
Gnmi.Path.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Gnmi.Path.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Gnmi.Path.Builder |
clearOrigin()
Label to disambiguate path.
|
Gnmi.Path.Builder |
clearTarget()
The name of the target
|
Gnmi.Path.Builder |
clone() |
Gnmi.Path |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Gnmi.PathElem |
getElem(int index)
Elements of the path.
|
Gnmi.PathElem.Builder |
getElemBuilder(int index)
Elements of the path.
|
List<Gnmi.PathElem.Builder> |
getElemBuilderList()
Elements of the path.
|
int |
getElemCount()
Elements of the path.
|
String |
getElement(int index)
Deprecated.
|
com.google.protobuf.ByteString |
getElementBytes(int index)
Deprecated.
|
int |
getElementCount()
Deprecated.
|
com.google.protobuf.ProtocolStringList |
getElementList()
Deprecated.
|
List<Gnmi.PathElem> |
getElemList()
Elements of the path.
|
Gnmi.PathElemOrBuilder |
getElemOrBuilder(int index)
Elements of the path.
|
List<? extends Gnmi.PathElemOrBuilder> |
getElemOrBuilderList()
Elements of the path.
|
String |
getOrigin()
Label to disambiguate path.
|
com.google.protobuf.ByteString |
getOriginBytes()
Label to disambiguate path.
|
String |
getTarget()
The name of the target
|
com.google.protobuf.ByteString |
getTargetBytes()
The name of the target
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Gnmi.Path.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Gnmi.Path.Builder |
mergeFrom(Gnmi.Path other) |
Gnmi.Path.Builder |
mergeFrom(com.google.protobuf.Message other) |
Gnmi.Path.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Gnmi.Path.Builder |
removeElem(int index)
Elements of the path.
|
Gnmi.Path.Builder |
setElem(int index,
Gnmi.PathElem.Builder builderForValue)
Elements of the path.
|
Gnmi.Path.Builder |
setElem(int index,
Gnmi.PathElem value)
Elements of the path.
|
Gnmi.Path.Builder |
setElement(int index,
String value)
Deprecated.
|
Gnmi.Path.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Gnmi.Path.Builder |
setOrigin(String value)
Label to disambiguate path.
|
Gnmi.Path.Builder |
setOriginBytes(com.google.protobuf.ByteString value)
Label to disambiguate path.
|
Gnmi.Path.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Gnmi.Path.Builder |
setTarget(String value)
The name of the target
|
Gnmi.Path.Builder |
setTargetBytes(com.google.protobuf.ByteString value)
The name of the target
|
Gnmi.Path.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>public Gnmi.Path.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>public Gnmi.Path getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Gnmi.Path build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Gnmi.Path buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Gnmi.Path.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>public Gnmi.Path.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>public Gnmi.Path.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>public Gnmi.Path.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>public Gnmi.Path.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>public Gnmi.Path.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>public Gnmi.Path.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Gnmi.Path.Builder>public Gnmi.Path.Builder mergeFrom(Gnmi.Path other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>public Gnmi.Path.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Gnmi.Path.Builder>IOException@Deprecated public com.google.protobuf.ProtocolStringList getElementList()
Elements of the path are no longer encoded as a string, but rather within the elem field as a PathElem message.
repeated string element = 1 [deprecated = true];getElementList in interface Gnmi.PathOrBuilder@Deprecated public int getElementCount()
Elements of the path are no longer encoded as a string, but rather within the elem field as a PathElem message.
repeated string element = 1 [deprecated = true];getElementCount in interface Gnmi.PathOrBuilder@Deprecated public String getElement(int index)
Elements of the path are no longer encoded as a string, but rather within the elem field as a PathElem message.
repeated string element = 1 [deprecated = true];getElement in interface Gnmi.PathOrBuilder@Deprecated public com.google.protobuf.ByteString getElementBytes(int index)
Elements of the path are no longer encoded as a string, but rather within the elem field as a PathElem message.
repeated string element = 1 [deprecated = true];getElementBytes in interface Gnmi.PathOrBuilder@Deprecated public Gnmi.Path.Builder setElement(int index, String value)
Elements of the path are no longer encoded as a string, but rather within the elem field as a PathElem message.
repeated string element = 1 [deprecated = true];@Deprecated public Gnmi.Path.Builder addElement(String value)
Elements of the path are no longer encoded as a string, but rather within the elem field as a PathElem message.
repeated string element = 1 [deprecated = true];@Deprecated public Gnmi.Path.Builder addAllElement(Iterable<String> values)
Elements of the path are no longer encoded as a string, but rather within the elem field as a PathElem message.
repeated string element = 1 [deprecated = true];@Deprecated public Gnmi.Path.Builder clearElement()
Elements of the path are no longer encoded as a string, but rather within the elem field as a PathElem message.
repeated string element = 1 [deprecated = true];@Deprecated public Gnmi.Path.Builder addElementBytes(com.google.protobuf.ByteString value)
Elements of the path are no longer encoded as a string, but rather within the elem field as a PathElem message.
repeated string element = 1 [deprecated = true];public String getOrigin()
Label to disambiguate path.
string origin = 2;getOrigin in interface Gnmi.PathOrBuilderpublic com.google.protobuf.ByteString getOriginBytes()
Label to disambiguate path.
string origin = 2;getOriginBytes in interface Gnmi.PathOrBuilderpublic Gnmi.Path.Builder setOrigin(String value)
Label to disambiguate path.
string origin = 2;public Gnmi.Path.Builder clearOrigin()
Label to disambiguate path.
string origin = 2;public Gnmi.Path.Builder setOriginBytes(com.google.protobuf.ByteString value)
Label to disambiguate path.
string origin = 2;public List<Gnmi.PathElem> getElemList()
Elements of the path.
repeated .gnmi.PathElem elem = 3;getElemList in interface Gnmi.PathOrBuilderpublic int getElemCount()
Elements of the path.
repeated .gnmi.PathElem elem = 3;getElemCount in interface Gnmi.PathOrBuilderpublic Gnmi.PathElem getElem(int index)
Elements of the path.
repeated .gnmi.PathElem elem = 3;getElem in interface Gnmi.PathOrBuilderpublic Gnmi.Path.Builder setElem(int index, Gnmi.PathElem value)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Gnmi.Path.Builder setElem(int index, Gnmi.PathElem.Builder builderForValue)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Gnmi.Path.Builder addElem(Gnmi.PathElem value)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Gnmi.Path.Builder addElem(int index, Gnmi.PathElem value)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Gnmi.Path.Builder addElem(Gnmi.PathElem.Builder builderForValue)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Gnmi.Path.Builder addElem(int index, Gnmi.PathElem.Builder builderForValue)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Gnmi.Path.Builder addAllElem(Iterable<? extends Gnmi.PathElem> values)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Gnmi.Path.Builder clearElem()
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Gnmi.Path.Builder removeElem(int index)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Gnmi.PathElem.Builder getElemBuilder(int index)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Gnmi.PathElemOrBuilder getElemOrBuilder(int index)
Elements of the path.
repeated .gnmi.PathElem elem = 3;getElemOrBuilder in interface Gnmi.PathOrBuilderpublic List<? extends Gnmi.PathElemOrBuilder> getElemOrBuilderList()
Elements of the path.
repeated .gnmi.PathElem elem = 3;getElemOrBuilderList in interface Gnmi.PathOrBuilderpublic Gnmi.PathElem.Builder addElemBuilder()
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Gnmi.PathElem.Builder addElemBuilder(int index)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public List<Gnmi.PathElem.Builder> getElemBuilderList()
Elements of the path.
repeated .gnmi.PathElem elem = 3;public String getTarget()
The name of the target
string target = 4;getTarget in interface Gnmi.PathOrBuilderpublic com.google.protobuf.ByteString getTargetBytes()
The name of the target
string target = 4;getTargetBytes in interface Gnmi.PathOrBuilderpublic Gnmi.Path.Builder setTarget(String value)
The name of the target
string target = 4;public Gnmi.Path.Builder clearTarget()
The name of the target
string target = 4;public Gnmi.Path.Builder setTargetBytes(com.google.protobuf.ByteString value)
The name of the target
string target = 4;public final Gnmi.Path.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>public final Gnmi.Path.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Path.Builder>Copyright © 2022. All rights reserved.