public static final class ObjectDetectionPredictionResult.IdentifiedBox.Builder extends GeneratedMessage.Builder<ObjectDetectionPredictionResult.IdentifiedBox.Builder> implements ObjectDetectionPredictionResult.IdentifiedBoxOrBuilderIdentified box contains location and the entity of the object.
Protobuf type google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ObjectDetectionPredictionResult.IdentifiedBox.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ObjectDetectionPredictionResult.IdentifiedBox build()| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox |
|
buildPartial()
public ObjectDetectionPredictionResult.IdentifiedBox buildPartial()| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox |
|
clear()
public ObjectDetectionPredictionResult.IdentifiedBox.Builder clear()| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|
clearBoxId()
public ObjectDetectionPredictionResult.IdentifiedBox.Builder clearBoxId()An unique id for this box.
int64 box_id = 1;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
This builder for chaining. |
clearConfidenceScore()
public ObjectDetectionPredictionResult.IdentifiedBox.Builder clearConfidenceScore()Confidence score associated with this box.
float confidence_score = 3;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
This builder for chaining. |
clearEntity()
public ObjectDetectionPredictionResult.IdentifiedBox.Builder clearEntity()Entity of this box.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|
clearNormalizedBoundingBox()
public ObjectDetectionPredictionResult.IdentifiedBox.Builder clearNormalizedBoundingBox()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|
getBoxId()
public long getBoxId()An unique id for this box.
int64 box_id = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The boxId. |
getConfidenceScore()
public float getConfidenceScore()Confidence score associated with this box.
float confidence_score = 3;
| Returns | |
|---|---|
| Type | Description |
float |
The confidenceScore. |
getDefaultInstanceForType()
public ObjectDetectionPredictionResult.IdentifiedBox getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEntity()
public ObjectDetectionPredictionResult.Entity getEntity()Entity of this box.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.Entity |
The entity. |
getEntityBuilder()
public ObjectDetectionPredictionResult.Entity.Builder getEntityBuilder()Entity of this box.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.Entity.Builder |
|
getEntityOrBuilder()
public ObjectDetectionPredictionResult.EntityOrBuilder getEntityOrBuilder()Entity of this box.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.EntityOrBuilder |
|
getNormalizedBoundingBox()
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox getNormalizedBoundingBox()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox |
The normalizedBoundingBox. |
getNormalizedBoundingBoxBuilder()
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
|
getNormalizedBoundingBoxOrBuilder()
public ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder |
|
hasEntity()
public boolean hasEntity()Entity of this box.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the entity field is set. |
hasNormalizedBoundingBox()
public boolean hasNormalizedBoundingBox()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the normalizedBoundingBox field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEntity(ObjectDetectionPredictionResult.Entity value)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder mergeEntity(ObjectDetectionPredictionResult.Entity value)Entity of this box.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ObjectDetectionPredictionResult.Entity |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|
mergeFrom(ObjectDetectionPredictionResult.IdentifiedBox other)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder mergeFrom(ObjectDetectionPredictionResult.IdentifiedBox other)| Parameter | |
|---|---|
| Name | Description |
other |
ObjectDetectionPredictionResult.IdentifiedBox |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|
mergeNormalizedBoundingBox(ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox value)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder mergeNormalizedBoundingBox(ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox value)Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|
setBoxId(long value)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder setBoxId(long value)An unique id for this box.
int64 box_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe boxId to set. |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
This builder for chaining. |
setConfidenceScore(float value)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder setConfidenceScore(float value)Confidence score associated with this box.
float confidence_score = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe confidenceScore to set. |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
This builder for chaining. |
setEntity(ObjectDetectionPredictionResult.Entity value)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder setEntity(ObjectDetectionPredictionResult.Entity value)Entity of this box.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ObjectDetectionPredictionResult.Entity |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|
setEntity(ObjectDetectionPredictionResult.Entity.Builder builderForValue)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder setEntity(ObjectDetectionPredictionResult.Entity.Builder builderForValue)Entity of this box.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ObjectDetectionPredictionResult.Entity.Builder |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|
setNormalizedBoundingBox(ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox value)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder setNormalizedBoundingBox(ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox value)Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|
setNormalizedBoundingBox(ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder builderForValue)
public ObjectDetectionPredictionResult.IdentifiedBox.Builder setNormalizedBoundingBox(ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder builderForValue)Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox.Builder |
| Returns | |
|---|---|
| Type | Description |
ObjectDetectionPredictionResult.IdentifiedBox.Builder |
|