public static final class RoundToScale.Builder extends GeneratedMessageV3.Builder<RoundToScale.Builder> implements RoundToScaleOrBuilder
This allows the data to change scale, for example if the source is 2 digits
after the decimal point, specify round to scale value = 2. If for example the
value needs to be converted to an integer, use round to scale value = 0.
Protobuf type google.cloud.clouddms.v1.RoundToScale
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RoundToScale.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RoundToScale build()
buildPartial()
public RoundToScale buildPartial()
clear()
public RoundToScale.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RoundToScale.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RoundToScale.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearScale()
public RoundToScale.Builder clearScale()
Required. Scale value to be used
int32 scale = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public RoundToScale.Builder clone()
Overrides
getDefaultInstanceForType()
public RoundToScale getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getScale()
Required. Scale value to be used
int32 scale = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | The scale.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RoundToScale other)
public RoundToScale.Builder mergeFrom(RoundToScale other)
public RoundToScale.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RoundToScale.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RoundToScale.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RoundToScale.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RoundToScale.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setScale(int value)
public RoundToScale.Builder setScale(int value)
Required. Scale value to be used
int32 scale = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | int
The scale to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RoundToScale.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides