Package com.google.cloud.automl.v1
Interface ImageObjectDetectionAnnotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageObjectDetectionAnnotation,ImageObjectDetectionAnnotation.Builder
@Generated
public interface ImageObjectDetectionAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.floatgetScore()Output only.booleanOutput only.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
-
hasBoundingBox
boolean hasBoundingBox()Output only. The rectangle representing the object location.
.google.cloud.automl.v1.BoundingPoly bounding_box = 1;- Returns:
- Whether the boundingBox field is set.
-
getBoundingBox
BoundingPoly getBoundingBox()Output only. The rectangle representing the object location.
.google.cloud.automl.v1.BoundingPoly bounding_box = 1;- Returns:
- The boundingBox.
-
getBoundingBoxOrBuilder
BoundingPolyOrBuilder getBoundingBoxOrBuilder()Output only. The rectangle representing the object location.
.google.cloud.automl.v1.BoundingPoly bounding_box = 1; -
getScore
float getScore()Output only. The confidence that this annotation is positive for the parent example, value in [0, 1], higher means higher positivity confidence.
float score = 2;- Returns:
- The score.
-