public static final class FloatRange.Builder extends GeneratedMessageV3.Builder<FloatRange.Builder> implements FloatRangeOrBuilder
Float range type.
Protobuf type google.cloud.visionai.v1.FloatRange
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 FloatRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FloatRange build()
buildPartial()
public FloatRange buildPartial()
clear()
public FloatRange.Builder clear()
Overrides
clearEnd()
public FloatRange.Builder clearEnd()
End of the float range.
optional float end = 2;
clearField(Descriptors.FieldDescriptor field)
public FloatRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FloatRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStart()
public FloatRange.Builder clearStart()
Start of the float range.
optional float start = 1;
clone()
public FloatRange.Builder clone()
Overrides
getDefaultInstanceForType()
public FloatRange getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnd()
End of the float range.
optional float end = 2;
Returns |
Type |
Description |
float |
The end.
|
getStart()
Start of the float range.
optional float start = 1;
Returns |
Type |
Description |
float |
The start.
|
hasEnd()
End of the float range.
optional float end = 2;
Returns |
Type |
Description |
boolean |
Whether the end field is set.
|
hasStart()
public boolean hasStart()
Start of the float range.
optional float start = 1;
Returns |
Type |
Description |
boolean |
Whether the start field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FloatRange other)
public FloatRange.Builder mergeFrom(FloatRange other)
public FloatRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FloatRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FloatRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnd(float value)
public FloatRange.Builder setEnd(float value)
End of the float range.
optional float end = 2;
Parameter |
Name |
Description |
value |
float
The end to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public FloatRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FloatRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStart(float value)
public FloatRange.Builder setStart(float value)
Start of the float range.
optional float start = 1;
Parameter |
Name |
Description |
value |
float
The start to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FloatRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides