
com.google.cloud.vision.v1.LocalizedObjectAnnotationOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1/image_annotator.proto
package com.google.cloud.vision.v1;
public interface LocalizedObjectAnnotationOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.LocalizedObjectAnnotation)
com.google.protobuf.MessageOrBuilder {
/**
*
* Object ID that should align with EntityAnnotation mid.
*
*
* string mid = 1;
*/
java.lang.String getMid();
/**
*
* Object ID that should align with EntityAnnotation mid.
*
*
* string mid = 1;
*/
com.google.protobuf.ByteString
getMidBytes();
/**
*
* 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;
*/
java.lang.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;
*/
com.google.protobuf.ByteString
getLanguageCodeBytes();
/**
*
* Object name, expressed in its `language_code` language.
*
*
* string name = 3;
*/
java.lang.String getName();
/**
*
* Object name, expressed in its `language_code` language.
*
*
* string name = 3;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Score of the result. Range [0, 1].
*
*
* float score = 4;
*/
float getScore();
/**
*
* Image region to which this object belongs. This must be populated.
*
*
* .google.cloud.vision.v1.BoundingPoly bounding_poly = 5;
*/
boolean hasBoundingPoly();
/**
*
* Image region to which this object belongs. This must be populated.
*
*
* .google.cloud.vision.v1.BoundingPoly bounding_poly = 5;
*/
com.google.cloud.vision.v1.BoundingPoly getBoundingPoly();
/**
*
* Image region to which this object belongs. This must be populated.
*
*
* .google.cloud.vision.v1.BoundingPoly bounding_poly = 5;
*/
com.google.cloud.vision.v1.BoundingPolyOrBuilder getBoundingPolyOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy