public interface TextDetectionConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getLanguageHints(int index)
public abstract String getLanguageHints(int index)Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format. Automatic language detection is performed if no hint is provided.
repeated string language_hints = 1;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The languageHints at the given index. |
getLanguageHintsBytes(int index)
public abstract ByteString getLanguageHintsBytes(int index)Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format. Automatic language detection is performed if no hint is provided.
repeated string language_hints = 1;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the languageHints at the given index. |
getLanguageHintsCount()
public abstract int getLanguageHintsCount()Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format. Automatic language detection is performed if no hint is provided.
repeated string language_hints = 1;
| Type | Description |
| int | The count of languageHints. |
getLanguageHintsList()
public abstract List<String> getLanguageHintsList()Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format. Automatic language detection is performed if no hint is provided.
repeated string language_hints = 1;
| Type | Description |
| List<String> | A list containing the languageHints. |