public static final class Gnmi.Update.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder> implements Gnmi.UpdateOrBuilder
Update is a re-usable message that is used to store a particular Path, Value pair. Reference: gNMI Specification Section 2.1Protobuf type
gnmi.Update| Modifier and Type | Method and Description |
|---|---|
Gnmi.Update.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Gnmi.Update |
build() |
Gnmi.Update |
buildPartial() |
Gnmi.Update.Builder |
clear() |
Gnmi.Update.Builder |
clearDuplicates()
Number of coalesced duplicates.
|
Gnmi.Update.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Gnmi.Update.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Gnmi.Update.Builder |
clearPath()
The path (key) for the update.
|
Gnmi.Update.Builder |
clearVal()
The explicitly typed update value.
|
Gnmi.Update.Builder |
clearValue()
Deprecated.
|
Gnmi.Update.Builder |
clone() |
Gnmi.Update |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDuplicates()
Number of coalesced duplicates.
|
Gnmi.Path |
getPath()
The path (key) for the update.
|
Gnmi.Path.Builder |
getPathBuilder()
The path (key) for the update.
|
Gnmi.PathOrBuilder |
getPathOrBuilder()
The path (key) for the update.
|
Gnmi.TypedValue |
getVal()
The explicitly typed update value.
|
Gnmi.TypedValue.Builder |
getValBuilder()
The explicitly typed update value.
|
Gnmi.TypedValueOrBuilder |
getValOrBuilder()
The explicitly typed update value.
|
Gnmi.Value |
getValue()
Deprecated.
|
Gnmi.Value.Builder |
getValueBuilder()
Deprecated.
|
Gnmi.ValueOrBuilder |
getValueOrBuilder()
Deprecated.
|
boolean |
hasPath()
The path (key) for the update.
|
boolean |
hasVal()
The explicitly typed update value.
|
boolean |
hasValue()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Gnmi.Update.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Gnmi.Update.Builder |
mergeFrom(Gnmi.Update other) |
Gnmi.Update.Builder |
mergeFrom(com.google.protobuf.Message other) |
Gnmi.Update.Builder |
mergePath(Gnmi.Path value)
The path (key) for the update.
|
Gnmi.Update.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Gnmi.Update.Builder |
mergeVal(Gnmi.TypedValue value)
The explicitly typed update value.
|
Gnmi.Update.Builder |
mergeValue(Gnmi.Value value)
Deprecated.
|
Gnmi.Update.Builder |
setDuplicates(int value)
Number of coalesced duplicates.
|
Gnmi.Update.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Gnmi.Update.Builder |
setPath(Gnmi.Path.Builder builderForValue)
The path (key) for the update.
|
Gnmi.Update.Builder |
setPath(Gnmi.Path value)
The path (key) for the update.
|
Gnmi.Update.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Gnmi.Update.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Gnmi.Update.Builder |
setVal(Gnmi.TypedValue.Builder builderForValue)
The explicitly typed update value.
|
Gnmi.Update.Builder |
setVal(Gnmi.TypedValue value)
The explicitly typed update value.
|
Gnmi.Update.Builder |
setValue(Gnmi.Value.Builder builderForValue)
Deprecated.
|
Gnmi.Update.Builder |
setValue(Gnmi.Value value)
Deprecated.
|
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.Update.Builder>public Gnmi.Update.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.Update.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.Update.Builder>public Gnmi.Update getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Gnmi.Update build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Gnmi.Update buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Gnmi.Update.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.Update.Builder>public Gnmi.Update.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.Update.Builder>public Gnmi.Update.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>public Gnmi.Update.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>public Gnmi.Update.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.Update.Builder>public Gnmi.Update.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.Update.Builder>public Gnmi.Update.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Gnmi.Update.Builder>public Gnmi.Update.Builder mergeFrom(Gnmi.Update other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>public Gnmi.Update.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.Update.Builder>IOExceptionpublic boolean hasPath()
The path (key) for the update.
.gnmi.Path path = 1;hasPath in interface Gnmi.UpdateOrBuilderpublic Gnmi.Path getPath()
The path (key) for the update.
.gnmi.Path path = 1;getPath in interface Gnmi.UpdateOrBuilderpublic Gnmi.Update.Builder setPath(Gnmi.Path value)
The path (key) for the update.
.gnmi.Path path = 1;public Gnmi.Update.Builder setPath(Gnmi.Path.Builder builderForValue)
The path (key) for the update.
.gnmi.Path path = 1;public Gnmi.Update.Builder mergePath(Gnmi.Path value)
The path (key) for the update.
.gnmi.Path path = 1;public Gnmi.Update.Builder clearPath()
The path (key) for the update.
.gnmi.Path path = 1;public Gnmi.Path.Builder getPathBuilder()
The path (key) for the update.
.gnmi.Path path = 1;public Gnmi.PathOrBuilder getPathOrBuilder()
The path (key) for the update.
.gnmi.Path path = 1;getPathOrBuilder in interface Gnmi.UpdateOrBuilder@Deprecated public boolean hasValue()
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];hasValue in interface Gnmi.UpdateOrBuilder@Deprecated public Gnmi.Value getValue()
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];getValue in interface Gnmi.UpdateOrBuilder@Deprecated public Gnmi.Update.Builder setValue(Gnmi.Value value)
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];@Deprecated public Gnmi.Update.Builder setValue(Gnmi.Value.Builder builderForValue)
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];@Deprecated public Gnmi.Update.Builder mergeValue(Gnmi.Value value)
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];@Deprecated public Gnmi.Update.Builder clearValue()
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];@Deprecated public Gnmi.Value.Builder getValueBuilder()
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];@Deprecated public Gnmi.ValueOrBuilder getValueOrBuilder()
The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];getValueOrBuilder in interface Gnmi.UpdateOrBuilderpublic boolean hasVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;hasVal in interface Gnmi.UpdateOrBuilderpublic Gnmi.TypedValue getVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;getVal in interface Gnmi.UpdateOrBuilderpublic Gnmi.Update.Builder setVal(Gnmi.TypedValue value)
The explicitly typed update value.
.gnmi.TypedValue val = 3;public Gnmi.Update.Builder setVal(Gnmi.TypedValue.Builder builderForValue)
The explicitly typed update value.
.gnmi.TypedValue val = 3;public Gnmi.Update.Builder mergeVal(Gnmi.TypedValue value)
The explicitly typed update value.
.gnmi.TypedValue val = 3;public Gnmi.Update.Builder clearVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;public Gnmi.TypedValue.Builder getValBuilder()
The explicitly typed update value.
.gnmi.TypedValue val = 3;public Gnmi.TypedValueOrBuilder getValOrBuilder()
The explicitly typed update value.
.gnmi.TypedValue val = 3;getValOrBuilder in interface Gnmi.UpdateOrBuilderpublic int getDuplicates()
Number of coalesced duplicates.
uint32 duplicates = 4;getDuplicates in interface Gnmi.UpdateOrBuilderpublic Gnmi.Update.Builder setDuplicates(int value)
Number of coalesced duplicates.
uint32 duplicates = 4;public Gnmi.Update.Builder clearDuplicates()
Number of coalesced duplicates.
uint32 duplicates = 4;public final Gnmi.Update.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>public final Gnmi.Update.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>Copyright © 2022. All rights reserved.