Class Gnmi.Update.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
- org.opennms.features.openconfig.proto.gnmi.Gnmi.Update.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Gnmi.UpdateOrBuilder
- Enclosing class:
- Gnmi.Update
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.1
Protobuf typegnmi.Update
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Gnmi.Update.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Gnmi.Updatebuild()Gnmi.UpdatebuildPartial()Gnmi.Update.Builderclear()Gnmi.Update.BuilderclearDuplicates()Number of coalesced duplicates.Gnmi.Update.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Gnmi.Update.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Gnmi.Update.BuilderclearPath()The path (key) for the update.Gnmi.Update.BuilderclearVal()The explicitly typed update value.Gnmi.Update.BuilderclearValue()Deprecated.Gnmi.Update.Builderclone()Gnmi.UpdategetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetDuplicates()Number of coalesced duplicates.Gnmi.PathgetPath()The path (key) for the update.Gnmi.Path.BuildergetPathBuilder()The path (key) for the update.Gnmi.PathOrBuildergetPathOrBuilder()The path (key) for the update.Gnmi.TypedValuegetVal()The explicitly typed update value.Gnmi.TypedValue.BuildergetValBuilder()The explicitly typed update value.Gnmi.TypedValueOrBuildergetValOrBuilder()The explicitly typed update value.Gnmi.ValuegetValue()Deprecated.Gnmi.Value.BuildergetValueBuilder()Deprecated.Gnmi.ValueOrBuildergetValueOrBuilder()Deprecated.booleanhasPath()The path (key) for the update.booleanhasVal()The explicitly typed update value.booleanhasValue()Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Gnmi.Update.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Gnmi.Update.BuildermergeFrom(com.google.protobuf.Message other)Gnmi.Update.BuildermergeFrom(Gnmi.Update other)Gnmi.Update.BuildermergePath(Gnmi.Path value)The path (key) for the update.Gnmi.Update.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Gnmi.Update.BuildermergeVal(Gnmi.TypedValue value)The explicitly typed update value.Gnmi.Update.BuildermergeValue(Gnmi.Value value)Deprecated.Gnmi.Update.BuildersetDuplicates(int value)Number of coalesced duplicates.Gnmi.Update.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Gnmi.Update.BuildersetPath(Gnmi.Path value)The path (key) for the update.Gnmi.Update.BuildersetPath(Gnmi.Path.Builder builderForValue)The path (key) for the update.Gnmi.Update.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Gnmi.Update.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Gnmi.Update.BuildersetVal(Gnmi.TypedValue value)The explicitly typed update value.Gnmi.Update.BuildersetVal(Gnmi.TypedValue.Builder builderForValue)The explicitly typed update value.Gnmi.Update.BuildersetValue(Gnmi.Value value)Deprecated.Gnmi.Update.BuildersetValue(Gnmi.Value.Builder builderForValue)Deprecated.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
clear
public Gnmi.Update.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
getDefaultInstanceForType
public Gnmi.Update getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Gnmi.Update build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Gnmi.Update buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Gnmi.Update.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
setField
public Gnmi.Update.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
clearField
public Gnmi.Update.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
clearOneof
public Gnmi.Update.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
setRepeatedField
public Gnmi.Update.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
addRepeatedField
public Gnmi.Update.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
mergeFrom
public Gnmi.Update.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Gnmi.Update.Builder>
-
mergeFrom
public Gnmi.Update.Builder mergeFrom(Gnmi.Update other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
mergeFrom
public Gnmi.Update.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Gnmi.Update.Builder>- Throws:
IOException
-
hasPath
public boolean hasPath()
The path (key) for the update.
.gnmi.Path path = 1;- Specified by:
hasPathin interfaceGnmi.UpdateOrBuilder
-
getPath
public Gnmi.Path getPath()
The path (key) for the update.
.gnmi.Path path = 1;- Specified by:
getPathin interfaceGnmi.UpdateOrBuilder
-
setPath
public Gnmi.Update.Builder setPath(Gnmi.Path value)
The path (key) for the update.
.gnmi.Path path = 1;
-
setPath
public Gnmi.Update.Builder setPath(Gnmi.Path.Builder builderForValue)
The path (key) for the update.
.gnmi.Path path = 1;
-
mergePath
public Gnmi.Update.Builder mergePath(Gnmi.Path value)
The path (key) for the update.
.gnmi.Path path = 1;
-
clearPath
public Gnmi.Update.Builder clearPath()
The path (key) for the update.
.gnmi.Path path = 1;
-
getPathBuilder
public Gnmi.Path.Builder getPathBuilder()
The path (key) for the update.
.gnmi.Path path = 1;
-
getPathOrBuilder
public Gnmi.PathOrBuilder getPathOrBuilder()
The path (key) for the update.
.gnmi.Path path = 1;- Specified by:
getPathOrBuilderin interfaceGnmi.UpdateOrBuilder
-
hasValue
@Deprecated public boolean hasValue()
Deprecated.The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];- Specified by:
hasValuein interfaceGnmi.UpdateOrBuilder
-
getValue
@Deprecated public Gnmi.Value getValue()
Deprecated.The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];- Specified by:
getValuein interfaceGnmi.UpdateOrBuilder
-
setValue
@Deprecated public Gnmi.Update.Builder setValue(Gnmi.Value value)
Deprecated.The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];
-
setValue
@Deprecated public Gnmi.Update.Builder setValue(Gnmi.Value.Builder builderForValue)
Deprecated.The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];
-
mergeValue
@Deprecated public Gnmi.Update.Builder mergeValue(Gnmi.Value value)
Deprecated.The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];
-
clearValue
@Deprecated public Gnmi.Update.Builder clearValue()
Deprecated.The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];
-
getValueBuilder
@Deprecated public Gnmi.Value.Builder getValueBuilder()
Deprecated.The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];
-
getValueOrBuilder
@Deprecated public Gnmi.ValueOrBuilder getValueOrBuilder()
Deprecated.The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];- Specified by:
getValueOrBuilderin interfaceGnmi.UpdateOrBuilder
-
hasVal
public boolean hasVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;- Specified by:
hasValin interfaceGnmi.UpdateOrBuilder
-
getVal
public Gnmi.TypedValue getVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;- Specified by:
getValin interfaceGnmi.UpdateOrBuilder
-
setVal
public Gnmi.Update.Builder setVal(Gnmi.TypedValue value)
The explicitly typed update value.
.gnmi.TypedValue val = 3;
-
setVal
public Gnmi.Update.Builder setVal(Gnmi.TypedValue.Builder builderForValue)
The explicitly typed update value.
.gnmi.TypedValue val = 3;
-
mergeVal
public Gnmi.Update.Builder mergeVal(Gnmi.TypedValue value)
The explicitly typed update value.
.gnmi.TypedValue val = 3;
-
clearVal
public Gnmi.Update.Builder clearVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
-
getValBuilder
public Gnmi.TypedValue.Builder getValBuilder()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
-
getValOrBuilder
public Gnmi.TypedValueOrBuilder getValOrBuilder()
The explicitly typed update value.
.gnmi.TypedValue val = 3;- Specified by:
getValOrBuilderin interfaceGnmi.UpdateOrBuilder
-
getDuplicates
public int getDuplicates()
Number of coalesced duplicates.
uint32 duplicates = 4;- Specified by:
getDuplicatesin interfaceGnmi.UpdateOrBuilder
-
setDuplicates
public Gnmi.Update.Builder setDuplicates(int value)
Number of coalesced duplicates.
uint32 duplicates = 4;
-
clearDuplicates
public Gnmi.Update.Builder clearDuplicates()
Number of coalesced duplicates.
uint32 duplicates = 4;
-
setUnknownFields
public final Gnmi.Update.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
mergeUnknownFields
public final Gnmi.Update.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
-