Interface TextDetectionConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextDetectionConfig,TextDetectionConfig.Builder
@Generated
public interface TextDetectionConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetLanguageHints(int index) Language hint can be specified if the language to be detected is known a priori.com.google.protobuf.ByteStringgetLanguageHintsBytes(int index) Language hint can be specified if the language to be detected is known a priori.intLanguage hint can be specified if the language to be detected is known a priori.Language hint can be specified if the language to be detected is known a priori.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;- Returns:
- A list containing the languageHints.
-
getLanguageHintsCount
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;- Returns:
- The count of languageHints.
-
getLanguageHints
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;- Parameters:
index- The index of the element to return.- Returns:
- The languageHints at the given index.
-
getLanguageHintsBytes
com.google.protobuf.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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the languageHints at the given index.
-