public static final class TextAnnotation.TextProperty.Builder extends GeneratedMessageV3.Builder<TextAnnotation.TextProperty.Builder> implements TextAnnotation.TextPropertyOrBuilder
Additional information detected on the structural component.
Protobuf type google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TextAnnotation.TextProperty.BuilderImplements
TextAnnotation.TextPropertyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllDetectedLanguages(Iterable<? extends TextAnnotation.DetectedLanguage> values)
public TextAnnotation.TextProperty.Builder addAllDetectedLanguages(Iterable<? extends TextAnnotation.DetectedLanguage> values)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage> |
Type | Description |
TextAnnotation.TextProperty.Builder |
addDetectedLanguages(TextAnnotation.DetectedLanguage value)
public TextAnnotation.TextProperty.Builder addDetectedLanguages(TextAnnotation.DetectedLanguage value)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Name | Description |
value | TextAnnotation.DetectedLanguage |
Type | Description |
TextAnnotation.TextProperty.Builder |
addDetectedLanguages(TextAnnotation.DetectedLanguage.Builder builderForValue)
public TextAnnotation.TextProperty.Builder addDetectedLanguages(TextAnnotation.DetectedLanguage.Builder builderForValue)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Name | Description |
builderForValue | TextAnnotation.DetectedLanguage.Builder |
Type | Description |
TextAnnotation.TextProperty.Builder |
addDetectedLanguages(int index, TextAnnotation.DetectedLanguage value)
public TextAnnotation.TextProperty.Builder addDetectedLanguages(int index, TextAnnotation.DetectedLanguage value)
A list of detected languages together with confidence.
repeated .google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage detected_languages = 1;
Name | Description |
index | int |
value | TextAnnotation.DetectedLanguage |
Type | Description |
TextAnnotation.TextProperty.Builder |