public static interface Document.Page.DetectedLanguageOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getConfidence()
public abstract float getConfidence() Confidence of detected language. Range [0, 1].
float confidence = 2;
| Type | Description |
| float | The confidence. |
getLanguageCode()
public abstract String getLanguageCode() The BCP-47 language code, such as en-US or sr-Latn. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 1;
| 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
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 1;
| Type | Description |
| ByteString | The bytes for languageCode. |