Interface LocalizedObjectAnnotationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LocalizedObjectAnnotation, LocalizedObjectAnnotation.Builder

@Generated public interface LocalizedObjectAnnotationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Image region to which this object belongs.
    Image region to which this object belongs.
    The BCP-47 language code, such as "en-US" or "sr-Latn".
    com.google.protobuf.ByteString
    The BCP-47 language code, such as "en-US" or "sr-Latn".
    Object ID that should align with EntityAnnotation mid.
    com.google.protobuf.ByteString
    Object ID that should align with EntityAnnotation mid.
    Object name, expressed in its `language_code` language.
    com.google.protobuf.ByteString
    Object name, expressed in its `language_code` language.
    float
    Score of the result.
    boolean
    Image region to which this object belongs.

    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 Details

    • getMid

      String getMid()
       Object ID that should align with EntityAnnotation mid.
       
      string mid = 1;
      Returns:
      The mid.
    • getMidBytes

      com.google.protobuf.ByteString getMidBytes()
       Object ID that should align with EntityAnnotation mid.
       
      string mid = 1;
      Returns:
      The bytes for mid.
    • getLanguageCode

      String getLanguageCode()
       The BCP-47 language code, such as "en-US" or "sr-Latn". For more
       information, see
       http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       
      string language_code = 2;
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       The BCP-47 language code, such as "en-US" or "sr-Latn". For more
       information, see
       http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       
      string language_code = 2;
      Returns:
      The bytes for languageCode.
    • getName

      String getName()
       Object name, expressed in its `language_code` language.
       
      string name = 3;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Object name, expressed in its `language_code` language.
       
      string name = 3;
      Returns:
      The bytes for name.
    • getScore

      float getScore()
       Score of the result. Range [0, 1].
       
      float score = 4;
      Returns:
      The score.
    • hasBoundingPoly

      boolean hasBoundingPoly()
       Image region to which this object belongs. This must be populated.
       
      .google.cloud.vision.v1.BoundingPoly bounding_poly = 5;
      Returns:
      Whether the boundingPoly field is set.
    • getBoundingPoly

      BoundingPoly getBoundingPoly()
       Image region to which this object belongs. This must be populated.
       
      .google.cloud.vision.v1.BoundingPoly bounding_poly = 5;
      Returns:
      The boundingPoly.
    • getBoundingPolyOrBuilder

      BoundingPolyOrBuilder getBoundingPolyOrBuilder()
       Image region to which this object belongs. This must be populated.
       
      .google.cloud.vision.v1.BoundingPoly bounding_poly = 5;