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.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(com.google.protobuf.Message other)
Gnmi.Update.Builder
mergeFrom(Gnmi.Update 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 value)
The path (key) for the update.Gnmi.Update.Builder
setPath(Gnmi.Path.Builder builderForValue)
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 value)
The explicitly typed update value.Gnmi.Update.Builder
setVal(Gnmi.TypedValue.Builder builderForValue)
The explicitly typed update value.Gnmi.Update.Builder
setValue(Gnmi.Value value)
Deprecated.Gnmi.Update.Builder
setValue(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
clear
public Gnmi.Update.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
getDefaultInstanceForType
public Gnmi.Update getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Gnmi.Update build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Gnmi.Update buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Gnmi.Update.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
setField
public Gnmi.Update.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
clearField
public Gnmi.Update.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
clearOneof
public Gnmi.Update.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
addRepeatedField
public Gnmi.Update.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
mergeFrom
public Gnmi.Update.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Gnmi.Update.Builder>
-
mergeFrom
public Gnmi.Update.Builder mergeFrom(Gnmi.Update other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasPath
in interfaceGnmi.UpdateOrBuilder
-
getPath
public Gnmi.Path getPath()
The path (key) for the update.
.gnmi.Path path = 1;
- Specified by:
getPath
in 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:
getPathOrBuilder
in interfaceGnmi.UpdateOrBuilder
-
hasValue
@Deprecated public boolean hasValue()
Deprecated.The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];
- Specified by:
hasValue
in interfaceGnmi.UpdateOrBuilder
-
getValue
@Deprecated public Gnmi.Value getValue()
Deprecated.The value (value) for the update.
.gnmi.Value value = 2 [deprecated = true];
- Specified by:
getValue
in 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:
getValueOrBuilder
in interfaceGnmi.UpdateOrBuilder
-
hasVal
public boolean hasVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
- Specified by:
hasVal
in interfaceGnmi.UpdateOrBuilder
-
getVal
public Gnmi.TypedValue getVal()
The explicitly typed update value.
.gnmi.TypedValue val = 3;
- Specified by:
getVal
in 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:
getValOrBuilder
in interfaceGnmi.UpdateOrBuilder
-
getDuplicates
public int getDuplicates()
Number of coalesced duplicates.
uint32 duplicates = 4;
- Specified by:
getDuplicates
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
mergeUnknownFields
public final Gnmi.Update.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Update.Builder>
-
-