Interface TextAnnotation.TextPropertyOrBuilder (3.52.0)

public static interface TextAnnotation.TextPropertyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetectedBreak()

public abstract TextAnnotation.DetectedBreak getDetectedBreak()

Detected start or end of a text segment.

.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak detected_break = 2;

Returns
Type Description
TextAnnotation.DetectedBreak

The detectedBreak.

getDetectedBreakOrBuilder()

public abstract TextAnnotation.DetectedBreakOrBuilder getDetectedBreakOrBuilder()

Detected start or end of a text segment.

.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak detected_break = 2;

Returns
Type Description
TextAnnotation.DetectedBreakOrBuilder

getDetectedLanguages(int index)

public abstract TextAnnotation.DetectedLanguage getDetectedLanguages(int index)

A list of detected languages together with confidence.

repeated .google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage detected_languages = 1;

Parameter
Name Description
index int
Returns
Type Description
TextAnnotation.DetectedLanguage

getDetectedLanguagesCount()

public abstract int getDetectedLanguagesCount()

A list of detected languages together with confidence.

repeated .google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage detected_languages = 1;

Returns
Type Description
int

getDetectedLanguagesList()

public abstract List<TextAnnotation.DetectedLanguage> getDetectedLanguagesList()

A list of detected languages together with confidence.

repeated .google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage detected_languages = 1;

Returns
Type Description
List<DetectedLanguage>

getDetectedLanguagesOrBuilder(int index)

public abstract TextAnnotation.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)

A list of detected languages together with confidence.

repeated .google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage detected_languages = 1;

Parameter
Name Description
index int
Returns
Type Description
TextAnnotation.DetectedLanguageOrBuilder

getDetectedLanguagesOrBuilderList()

public abstract List<? extends TextAnnotation.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()

A list of detected languages together with confidence.

repeated .google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage detected_languages = 1;

Returns
Type Description
List<? extends com.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguageOrBuilder>

hasDetectedBreak()

public abstract boolean hasDetectedBreak()

Detected start or end of a text segment.

.google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak detected_break = 2;

Returns
Type Description
boolean

Whether the detectedBreak field is set.