Interface LocalizedObjectAnnotationOrBuilder (3.1.3)

public interface LocalizedObjectAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoundingPoly()

public abstract BoundingPoly getBoundingPoly()

Image region to which this object belongs. This must be populated.

.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 5;

Returns
TypeDescription
BoundingPoly

The boundingPoly.

getBoundingPolyOrBuilder()

public abstract BoundingPolyOrBuilder getBoundingPolyOrBuilder()

Image region to which this object belongs. This must be populated.

.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 5;

Returns
TypeDescription
BoundingPolyOrBuilder

getLanguageCode()

public abstract 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
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public abstract 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
TypeDescription
ByteString

The bytes for languageCode.

getMid()

public abstract String getMid()

Object ID that should align with EntityAnnotation mid.

string mid = 1;

Returns
TypeDescription
String

The mid.

getMidBytes()

public abstract ByteString getMidBytes()

Object ID that should align with EntityAnnotation mid.

string mid = 1;

Returns
TypeDescription
ByteString

The bytes for mid.

getName()

public abstract String getName()

Object name, expressed in its language_code language.

string name = 3;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Object name, expressed in its language_code language.

string name = 3;

Returns
TypeDescription
ByteString

The bytes for name.

getScore()

public abstract float getScore()

Score of the result. Range [0, 1].

float score = 4;

Returns
TypeDescription
float

The score.

hasBoundingPoly()

public abstract boolean hasBoundingPoly()

Image region to which this object belongs. This must be populated.

.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 5;

Returns
TypeDescription
boolean

Whether the boundingPoly field is set.