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, 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<Update.Builder>
public 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<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<Update.Builder>
public Update getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Update build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Update buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public 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<Update.Builder>
public 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<Update.Builder>
public 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<Update.Builder>
public 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<Update.Builder>
public 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<Update.Builder>
public 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<Update.Builder>
public Update.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Update.Builder>
IOException
public boolean hasPath()
The path (key) for the update.
.gnmi.Path path = 1;
hasPath
in interface UpdateOrBuilder
public Path getPath()
The path (key) for the update.
.gnmi.Path path = 1;
getPath
in interface UpdateOrBuilder
public 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 UpdateOrBuilder
public boolean hasVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
hasVal
in interface UpdateOrBuilder
public TypedValue getVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
getVal
in interface UpdateOrBuilder
public 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 UpdateOrBuilder
public int getDuplicates()
Number of coalesced duplicates.
uint32 duplicates = 4;
getDuplicates
in interface UpdateOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Update.Builder>
Copyright © 2018 OpenDaylight. All rights reserved.