public static final class DoubleRange.Builder extends GeneratedMessageV3.Builder<DoubleRange.Builder> implements DoubleRangeOrBuilder
A range between two double numbers.
Protobuf type google.cloud.automl.v1beta1.DoubleRange
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DoubleRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DoubleRange build()
Returns
buildPartial()
public DoubleRange buildPartial()
Returns
clear()
public DoubleRange.Builder clear()
Returns
Overrides
clearEnd()
public DoubleRange.Builder clearEnd()
End of the range, exclusive.
double end = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public DoubleRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DoubleRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStart()
public DoubleRange.Builder clearStart()
Start of the range, inclusive.
double start = 1;
Returns
clone()
public DoubleRange.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DoubleRange getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnd()
End of the range, exclusive.
double end = 2;
Returns
getStart()
Start of the range, inclusive.
double start = 1;
Returns
Type | Description |
double | The start.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DoubleRange other)
public DoubleRange.Builder mergeFrom(DoubleRange other)
Parameter
Returns
public DoubleRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DoubleRange.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DoubleRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEnd(double value)
public DoubleRange.Builder setEnd(double value)
End of the range, exclusive.
double end = 2;
Parameter
Name | Description |
value | double
The end to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DoubleRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DoubleRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStart(double value)
public DoubleRange.Builder setStart(double value)
Start of the range, inclusive.
double start = 1;
Parameter
Name | Description |
value | double
The start to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final DoubleRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides