Package com.google.cloud.visionai.v1
Interface ObjectDetectionPredictionResult.IdentifiedBoxOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ObjectDetectionPredictionResult.IdentifiedBox,ObjectDetectionPredictionResult.IdentifiedBox.Builder
- Enclosing class:
- ObjectDetectionPredictionResult
public static interface ObjectDetectionPredictionResult.IdentifiedBoxOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetBoxId()An unique id for this box.floatConfidence score associated with this box.Entity of this box.Entity of this box.Bounding Box in the normalized coordinates.Bounding Box in the normalized coordinates.booleanEntity of this box.booleanBounding Box in the normalized coordinates.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getBoxId
long getBoxId()An unique id for this box.
int64 box_id = 1;- Returns:
- The boxId.
-
hasNormalizedBoundingBox
boolean hasNormalizedBoundingBox()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;- Returns:
- Whether the normalizedBoundingBox field is set.
-
getNormalizedBoundingBox
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox getNormalizedBoundingBox()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;- Returns:
- The normalizedBoundingBox.
-
getNormalizedBoundingBoxOrBuilder
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2; -
getConfidenceScore
float getConfidenceScore()Confidence score associated with this box.
float confidence_score = 3;- Returns:
- The confidenceScore.
-
hasEntity
boolean hasEntity()Entity of this box.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;- Returns:
- Whether the entity field is set.
-
getEntity
ObjectDetectionPredictionResult.Entity getEntity()Entity of this box.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;- Returns:
- The entity.
-
getEntityOrBuilder
ObjectDetectionPredictionResult.EntityOrBuilder getEntityOrBuilder()Entity of this box.
.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;
-