Interface LocalizedObjectAnnotationOrBuilder (3.50.0)

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.v1p3beta1.BoundingPoly bounding_poly = 5;

Returns
Type Description
BoundingPoly

The boundingPoly.

getBoundingPolyOrBuilder()

public abstract BoundingPolyOrBuilder getBoundingPolyOrBuilder()

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

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for languageCode.

getMid()

public abstract String getMid()

Object ID that should align with EntityAnnotation mid.

string mid = 1;

Returns
Type Description
String

The mid.

getMidBytes()

public abstract ByteString getMidBytes()

Object ID that should align with EntityAnnotation mid.

string mid = 1;

Returns
Type Description
ByteString

The bytes for mid.

getName()

public abstract String getName()

Object name, expressed in its language_code language.

string name = 3;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Object name, expressed in its language_code language.

string name = 3;

Returns
Type Description
ByteString

The bytes for name.

getScore()

public abstract float getScore()

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

float score = 4;

Returns
Type Description
float

The score.

hasBoundingPoly()

public abstract boolean hasBoundingPoly()

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

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

Returns
Type Description
boolean

Whether the boundingPoly field is set.