Class TextAnnotation.TextProperty.Builder

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

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