Interface ImageObjectDetectionAnnotationOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      BoundingPoly getBoundingBox()
      Output only.
      BoundingPolyOrBuilder getBoundingBoxOrBuilder()
      Output only.
      float getScore()
      Output only.
      boolean hasBoundingBox()
      Output only.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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.