Interface TextAnnotation.TextPropertyOrBuilder (3.28.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.v1p3beta1.TextAnnotation.DetectedBreak detected_break = 2;

Returns
TypeDescription
TextAnnotation.DetectedBreak

The detectedBreak.

getDetectedBreakOrBuilder()

public abstract TextAnnotation.DetectedBreakOrBuilder getDetectedBreakOrBuilder()

Detected start or end of a text segment.

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

Returns
TypeDescription
TextAnnotation.DetectedBreakOrBuilder

getDetectedLanguages(int index)

public abstract TextAnnotation.DetectedLanguage getDetectedLanguages(int index)

A list of detected languages together with confidence.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TextAnnotation.DetectedLanguage

getDetectedLanguagesCount()

public abstract int getDetectedLanguagesCount()

A list of detected languages together with confidence.

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

Returns
TypeDescription
int

getDetectedLanguagesList()

public abstract List<TextAnnotation.DetectedLanguage> getDetectedLanguagesList()

A list of detected languages together with confidence.

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

Returns
TypeDescription
List<DetectedLanguage>

getDetectedLanguagesOrBuilder(int index)

public abstract TextAnnotation.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)

A list of detected languages together with confidence.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TextAnnotation.DetectedLanguageOrBuilder

getDetectedLanguagesOrBuilderList()

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

A list of detected languages together with confidence.

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

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguageOrBuilder>

hasDetectedBreak()

public abstract boolean hasDetectedBreak()

Detected start or end of a text segment.

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

Returns
TypeDescription
boolean

Whether the detectedBreak field is set.