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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
public Gnmi.Update getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Gnmi.Update build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Gnmi.Update buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Gnmi.Update.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Gnmi.Update.Builder>
IOException
public boolean hasPath()
The path (key) for the update.
.gnmi.Path path = 1;
hasPath
in interface Gnmi.UpdateOrBuilder
public Gnmi.Path getPath()
The path (key) for the update.
.gnmi.Path path = 1;
getPath
in interface Gnmi.UpdateOrBuilder
public 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.UpdateOrBuilder
public boolean hasVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
hasVal
in interface Gnmi.UpdateOrBuilder
public Gnmi.TypedValue getVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
getVal
in interface Gnmi.UpdateOrBuilder
public 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.UpdateOrBuilder
public int getDuplicates()
Number of coalesced duplicates.
uint32 duplicates = 4;
getDuplicates
in interface Gnmi.UpdateOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
Copyright © 2021. All rights reserved.