Class Gnmi.Decimal64.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Decimal64.Builder>
-
- org.opennms.features.openconfig.proto.gnmi.Gnmi.Decimal64.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Gnmi.Decimal64OrBuilder
- Enclosing class:
- Gnmi.Decimal64
public static final class Gnmi.Decimal64.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Decimal64.Builder> implements Gnmi.Decimal64OrBuilder
Decimal64 is used to encode a fixed precision decimal number. The value is expressed as a set of digits with the precision specifying the number of digits following the decimal point in the digit set.
Protobuf typegnmi.Decimal64
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Gnmi.Decimal64.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Gnmi.Decimal64
build()
Gnmi.Decimal64
buildPartial()
Gnmi.Decimal64.Builder
clear()
Gnmi.Decimal64.Builder
clearDigits()
Set of digits.Gnmi.Decimal64.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Gnmi.Decimal64.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Gnmi.Decimal64.Builder
clearPrecision()
Number of digits following the decimal point.Gnmi.Decimal64.Builder
clone()
Gnmi.Decimal64
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getDigits()
Set of digits.int
getPrecision()
Number of digits following the decimal point.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Gnmi.Decimal64.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Gnmi.Decimal64.Builder
mergeFrom(com.google.protobuf.Message other)
Gnmi.Decimal64.Builder
mergeFrom(Gnmi.Decimal64 other)
Gnmi.Decimal64.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Gnmi.Decimal64.Builder
setDigits(long value)
Set of digits.Gnmi.Decimal64.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Gnmi.Decimal64.Builder
setPrecision(int value)
Number of digits following the decimal point.Gnmi.Decimal64.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Gnmi.Decimal64.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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.Decimal64.Builder>
-
clear
public Gnmi.Decimal64.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.Decimal64.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.Decimal64.Builder>
-
getDefaultInstanceForType
public Gnmi.Decimal64 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Gnmi.Decimal64 build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Gnmi.Decimal64 buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Gnmi.Decimal64.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.Decimal64.Builder>
-
setField
public Gnmi.Decimal64.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.Decimal64.Builder>
-
clearField
public Gnmi.Decimal64.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.Decimal64.Builder>
-
clearOneof
public Gnmi.Decimal64.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.Decimal64.Builder>
-
setRepeatedField
public Gnmi.Decimal64.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.Decimal64.Builder>
-
addRepeatedField
public Gnmi.Decimal64.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.Decimal64.Builder>
-
mergeFrom
public Gnmi.Decimal64.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.Decimal64.Builder>
-
mergeFrom
public Gnmi.Decimal64.Builder mergeFrom(Gnmi.Decimal64 other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Gnmi.Decimal64.Builder>
-
mergeFrom
public Gnmi.Decimal64.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.Decimal64.Builder>
- Throws:
IOException
-
getDigits
public long getDigits()
Set of digits.
int64 digits = 1;
- Specified by:
getDigits
in interfaceGnmi.Decimal64OrBuilder
-
setDigits
public Gnmi.Decimal64.Builder setDigits(long value)
Set of digits.
int64 digits = 1;
-
clearDigits
public Gnmi.Decimal64.Builder clearDigits()
Set of digits.
int64 digits = 1;
-
getPrecision
public int getPrecision()
Number of digits following the decimal point.
uint32 precision = 2;
- Specified by:
getPrecision
in interfaceGnmi.Decimal64OrBuilder
-
setPrecision
public Gnmi.Decimal64.Builder setPrecision(int value)
Number of digits following the decimal point.
uint32 precision = 2;
-
clearPrecision
public Gnmi.Decimal64.Builder clearPrecision()
Number of digits following the decimal point.
uint32 precision = 2;
-
setUnknownFields
public final Gnmi.Decimal64.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.Decimal64.Builder>
-
mergeUnknownFields
public final Gnmi.Decimal64.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.Decimal64.Builder>
-
-