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