public interface LocalizedObjectAnnotationOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
BoundingPoly |
getBoundingPoly()
Image region to which this object belongs.
|
BoundingPolyOrBuilder |
getBoundingPolyOrBuilder()
Image region to which this object belongs.
|
String |
getLanguageCode()
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
ByteString |
getLanguageCodeBytes()
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
String |
getMid()
Object ID that should align with EntityAnnotation mid.
|
ByteString |
getMidBytes()
Object ID that should align with EntityAnnotation mid.
|
String |
getName()
Object name, expressed in its `language_code` language.
|
ByteString |
getNameBytes()
Object name, expressed in its `language_code` language.
|
float |
getScore()
Score of the result.
|
boolean |
hasBoundingPoly()
Image region to which this object belongs.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getMid()
Object ID that should align with EntityAnnotation mid.
string mid = 1;
ByteString getMidBytes()
Object ID that should align with EntityAnnotation mid.
string mid = 1;
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;
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;
String getName()
Object name, expressed in its `language_code` language.
string name = 3;
ByteString getNameBytes()
Object name, expressed in its `language_code` language.
string name = 3;
float getScore()
Score of the result. Range [0, 1].
float score = 4;
boolean hasBoundingPoly()
Image region to which this object belongs. This must be populated.
.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 5;
BoundingPoly getBoundingPoly()
Image region to which this object belongs. This must be populated.
.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 5;
BoundingPolyOrBuilder getBoundingPolyOrBuilder()
Image region to which this object belongs. This must be populated.
.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 5;
Copyright © 2022 Google LLC. All rights reserved.