public static final class FloatRange.Builder extends GeneratedMessage.Builder<FloatRange.Builder> implements FloatRangeOrBuilderFloat range type.
Protobuf type google.cloud.visionai.v1.FloatRange
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FloatRange.BuilderImplements
FloatRangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FloatRange build()| Returns | |
|---|---|
| Type | Description |
FloatRange |
|
buildPartial()
public FloatRange buildPartial()| Returns | |
|---|---|
| Type | Description |
FloatRange |
|
clear()
public FloatRange.Builder clear()| Returns | |
|---|---|
| Type | Description |
FloatRange.Builder |
|
clearEnd()
public FloatRange.Builder clearEnd()End of the float range.
optional float end = 2;
| Returns | |
|---|---|
| Type | Description |
FloatRange.Builder |
This builder for chaining. |
clearStart()
public FloatRange.Builder clearStart()Start of the float range.
optional float start = 1;
| Returns | |
|---|---|
| Type | Description |
FloatRange.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FloatRange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FloatRange |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnd()
public float getEnd()End of the float range.
optional float end = 2;
| Returns | |
|---|---|
| Type | Description |
float |
The end. |
getStart()
public float getStart()Start of the float range.
optional float start = 1;
| Returns | |
|---|---|
| Type | Description |
float |
The start. |
hasEnd()
public boolean 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FloatRange other)
public FloatRange.Builder mergeFrom(FloatRange other)| Parameter | |
|---|---|
| Name | Description |
other |
FloatRange |
| Returns | |
|---|---|
| Type | Description |
FloatRange.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FloatRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FloatRange.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FloatRange.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FloatRange.Builder |
|
setEnd(float value)
public FloatRange.Builder setEnd(float value)End of the float range.
optional float end = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe end to set. |
| Returns | |
|---|---|
| Type | Description |
FloatRange.Builder |
This builder for chaining. |
setStart(float value)
public FloatRange.Builder setStart(float value)Start of the float range.
optional float start = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe start to set. |
| Returns | |
|---|---|
| Type | Description |
FloatRange.Builder |
This builder for chaining. |