Class TextAnnotation.TextProperty.Builder (2.1.4)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage>
Returns
TypeDescription
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;

Parameter
NameDescription
valueTextAnnotation.DetectedLanguage
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueTextAnnotation.DetectedLanguage.Builder
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
valueTextAnnotation.DetectedLanguage
Returns
TypeDescription
TextAnnotation.TextProperty.Builder