public static final class Path.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Path.Builder> implements 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 |
|---|---|
Path.Builder |
addAllElem(Iterable<? extends PathElem> values)
Elements of the path.
|
Path.Builder |
addAllElement(Iterable<String> values)
Deprecated.
|
Path.Builder |
addElem(int index,
PathElem.Builder builderForValue)
Elements of the path.
|
Path.Builder |
addElem(int index,
PathElem value)
Elements of the path.
|
Path.Builder |
addElem(PathElem.Builder builderForValue)
Elements of the path.
|
Path.Builder |
addElem(PathElem value)
Elements of the path.
|
PathElem.Builder |
addElemBuilder()
Elements of the path.
|
PathElem.Builder |
addElemBuilder(int index)
Elements of the path.
|
Path.Builder |
addElement(String value)
Deprecated.
|
Path.Builder |
addElementBytes(com.google.protobuf.ByteString value)
Deprecated.
|
Path.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Path |
build() |
Path |
buildPartial() |
Path.Builder |
clear() |
Path.Builder |
clearElem()
Elements of the path.
|
Path.Builder |
clearElement()
Deprecated.
|
Path.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Path.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Path.Builder |
clearOrigin()
Label to disambiguate path.
|
Path.Builder |
clearTarget()
The name of the target
|
Path.Builder |
clone() |
Path |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
PathElem |
getElem(int index)
Elements of the path.
|
PathElem.Builder |
getElemBuilder(int index)
Elements of the path.
|
List<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<PathElem> |
getElemList()
Elements of the path.
|
PathElemOrBuilder |
getElemOrBuilder(int index)
Elements of the path.
|
List<? extends 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() |
Path.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Path.Builder |
mergeFrom(com.google.protobuf.Message other) |
Path.Builder |
mergeFrom(Path other) |
Path.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Path.Builder |
removeElem(int index)
Elements of the path.
|
Path.Builder |
setElem(int index,
PathElem.Builder builderForValue)
Elements of the path.
|
Path.Builder |
setElem(int index,
PathElem value)
Elements of the path.
|
Path.Builder |
setElement(int index,
String value)
Deprecated.
|
Path.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Path.Builder |
setOrigin(String value)
Label to disambiguate path.
|
Path.Builder |
setOriginBytes(com.google.protobuf.ByteString value)
Label to disambiguate path.
|
Path.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Path.Builder |
setTarget(String value)
The name of the target
|
Path.Builder |
setTargetBytes(com.google.protobuf.ByteString value)
The name of the target
|
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<Path.Builder>public 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<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<Path.Builder>public Path getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Path build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Path buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic 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<Path.Builder>public 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<Path.Builder>public Path.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Path.Builder>public Path.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Path.Builder>public 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<Path.Builder>public 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<Path.Builder>public Path.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Path.Builder>public Path.Builder mergeFrom(Path other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Path.Builder>public 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<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 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 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 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 PathOrBuilder@Deprecated public 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 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 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 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 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 PathOrBuilderpublic com.google.protobuf.ByteString getOriginBytes()
Label to disambiguate path.
string origin = 2;getOriginBytes in interface PathOrBuilderpublic Path.Builder setOrigin(String value)
Label to disambiguate path.
string origin = 2;public Path.Builder clearOrigin()
Label to disambiguate path.
string origin = 2;public Path.Builder setOriginBytes(com.google.protobuf.ByteString value)
Label to disambiguate path.
string origin = 2;public List<PathElem> getElemList()
Elements of the path.
repeated .gnmi.PathElem elem = 3;getElemList in interface PathOrBuilderpublic int getElemCount()
Elements of the path.
repeated .gnmi.PathElem elem = 3;getElemCount in interface PathOrBuilderpublic PathElem getElem(int index)
Elements of the path.
repeated .gnmi.PathElem elem = 3;getElem in interface PathOrBuilderpublic Path.Builder setElem(int index, PathElem value)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Path.Builder setElem(int index, PathElem.Builder builderForValue)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Path.Builder addElem(PathElem value)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Path.Builder addElem(int index, PathElem value)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Path.Builder addElem(PathElem.Builder builderForValue)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Path.Builder addElem(int index, PathElem.Builder builderForValue)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Path.Builder addAllElem(Iterable<? extends PathElem> values)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Path.Builder clearElem()
Elements of the path.
repeated .gnmi.PathElem elem = 3;public Path.Builder removeElem(int index)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public PathElem.Builder getElemBuilder(int index)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public PathElemOrBuilder getElemOrBuilder(int index)
Elements of the path.
repeated .gnmi.PathElem elem = 3;getElemOrBuilder in interface PathOrBuilderpublic List<? extends PathElemOrBuilder> getElemOrBuilderList()
Elements of the path.
repeated .gnmi.PathElem elem = 3;getElemOrBuilderList in interface PathOrBuilderpublic PathElem.Builder addElemBuilder()
Elements of the path.
repeated .gnmi.PathElem elem = 3;public PathElem.Builder addElemBuilder(int index)
Elements of the path.
repeated .gnmi.PathElem elem = 3;public List<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 PathOrBuilderpublic com.google.protobuf.ByteString getTargetBytes()
The name of the target
string target = 4;getTargetBytes in interface PathOrBuilderpublic Path.Builder setTarget(String value)
The name of the target
string target = 4;public Path.Builder clearTarget()
The name of the target
string target = 4;public Path.Builder setTargetBytes(com.google.protobuf.ByteString value)
The name of the target
string target = 4;public final Path.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Path.Builder>public final Path.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Path.Builder>Copyright © 2018 OpenDaylight. All rights reserved.