public static final class TextDetectionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder> implements TextDetectionConfigOrBuilder
Config for TEXT_DETECTION.Protobuf type
google.cloud.videointelligence.v1p2beta1.TextDetectionConfig| Modifier and Type | Method and Description |
|---|---|
TextDetectionConfig.Builder |
addAllLanguageHints(Iterable<String> values)
Language hint can be specified if the language to be detected is known a
priori.
|
TextDetectionConfig.Builder |
addLanguageHints(String value)
Language hint can be specified if the language to be detected is known a
priori.
|
TextDetectionConfig.Builder |
addLanguageHintsBytes(com.google.protobuf.ByteString value)
Language hint can be specified if the language to be detected is known a
priori.
|
TextDetectionConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextDetectionConfig |
build() |
TextDetectionConfig |
buildPartial() |
TextDetectionConfig.Builder |
clear() |
TextDetectionConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TextDetectionConfig.Builder |
clearLanguageHints()
Language hint can be specified if the language to be detected is known a
priori.
|
TextDetectionConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TextDetectionConfig.Builder |
clone() |
TextDetectionConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLanguageHints(int index)
Language hint can be specified if the language to be detected is known a
priori.
|
com.google.protobuf.ByteString |
getLanguageHintsBytes(int index)
Language hint can be specified if the language to be detected is known a
priori.
|
int |
getLanguageHintsCount()
Language hint can be specified if the language to be detected is known a
priori.
|
com.google.protobuf.ProtocolStringList |
getLanguageHintsList()
Language hint can be specified if the language to be detected is known a
priori.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TextDetectionConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TextDetectionConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
TextDetectionConfig.Builder |
mergeFrom(TextDetectionConfig other) |
TextDetectionConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TextDetectionConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextDetectionConfig.Builder |
setLanguageHints(int index,
String value)
Language hint can be specified if the language to be detected is known a
priori.
|
TextDetectionConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TextDetectionConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>public TextDetectionConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>public TextDetectionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TextDetectionConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TextDetectionConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TextDetectionConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>public TextDetectionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>public TextDetectionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>public TextDetectionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>public TextDetectionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>public TextDetectionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>public TextDetectionConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextDetectionConfig.Builder>public TextDetectionConfig.Builder mergeFrom(TextDetectionConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>public TextDetectionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextDetectionConfig.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList 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;getLanguageHintsList in interface TextDetectionConfigOrBuilderpublic 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;getLanguageHintsCount in interface TextDetectionConfigOrBuilderpublic 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;getLanguageHints in interface TextDetectionConfigOrBuilderpublic 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;getLanguageHintsBytes in interface TextDetectionConfigOrBuilderpublic TextDetectionConfig.Builder setLanguageHints(int index, String value)
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;public TextDetectionConfig.Builder addLanguageHints(String value)
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;public TextDetectionConfig.Builder addAllLanguageHints(Iterable<String> values)
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;public TextDetectionConfig.Builder clearLanguageHints()
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;public TextDetectionConfig.Builder addLanguageHintsBytes(com.google.protobuf.ByteString value)
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;public final TextDetectionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>public final TextDetectionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextDetectionConfig.Builder>Copyright © 2019 Google LLC. All rights reserved.