public static final class ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder extends GeneratedMessage.Builder<ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder> implements ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilderBounding Box in the normalized coordinates.
Protobuf type
google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox build()| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox |
|
buildPartial()
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox buildPartial()| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox |
|
clear()
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clear()| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
|
clearHeight()
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearHeight()Height of the bounding box.
float height = 4;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
clearWidth()
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearWidth()Width of the bounding box.
float width = 3;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
clearXmin()
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearXmin()Min in x coordinate.
float xmin = 1;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
clearYmin()
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder clearYmin()Min in y coordinate.
float ymin = 2;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHeight()
public float getHeight()Height of the bounding box.
float height = 4;
| Returns | |
|---|---|
| Type | Description |
float |
The height. |
getWidth()
public float getWidth()Width of the bounding box.
float width = 3;
| Returns | |
|---|---|
| Type | Description |
float |
The width. |
getXmin()
public float getXmin()Min in x coordinate.
float xmin = 1;
| Returns | |
|---|---|
| Type | Description |
float |
The xmin. |
getYmin()
public float getYmin()Min in y coordinate.
float ymin = 2;
| Returns | |
|---|---|
| Type | Description |
float |
The ymin. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox other)
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder mergeFrom(ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox other)| Parameter | |
|---|---|
| Name | Description |
other |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
|
setHeight(float value)
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setHeight(float value)Height of the bounding box.
float height = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe height to set. |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
setWidth(float value)
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setWidth(float value)Width of the bounding box.
float width = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe width to set. |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
setXmin(float value)
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setXmin(float value)Min in x coordinate.
float xmin = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe xmin to set. |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |
setYmin(float value)
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder setYmin(float value)Min in y coordinate.
float ymin = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe ymin to set. |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
This builder for chaining. |