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.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 DoubleRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DoubleRange build()
buildPartial()
public DoubleRange buildPartial()
clear()
public DoubleRange.Builder clear()
Overrides
clearEnd()
public DoubleRange.Builder clearEnd()
End of the range, exclusive.
double end = 2;
clearField(Descriptors.FieldDescriptor field)
public DoubleRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DoubleRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStart()
public DoubleRange.Builder clearStart()
Start of the range, inclusive.
double start = 1;
clone()
public DoubleRange.Builder clone()
Overrides
getDefaultInstanceForType()
public DoubleRange getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnd()
End of the range, exclusive.
double end = 2;
Returns |
Type |
Description |
double |
The end.
|
getStart()
Start of the range, inclusive.
double start = 1;
Returns |
Type |
Description |
double |
The start.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DoubleRange other)
public DoubleRange.Builder mergeFrom(DoubleRange other)
public DoubleRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DoubleRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DoubleRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DoubleRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DoubleRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DoubleRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides