Interface TextAnnotationOrBuilder (2.33.0)

public interface TextAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSegments(int index)

public abstract TextSegment getSegments(int index)

All video segments where OCR detected text appears.

repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TextSegment

getSegmentsCount()

public abstract int getSegmentsCount()

All video segments where OCR detected text appears.

repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2;

Returns
TypeDescription
int

getSegmentsList()

public abstract List<TextSegment> getSegmentsList()

All video segments where OCR detected text appears.

repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2;

Returns
TypeDescription
List<TextSegment>

getSegmentsOrBuilder(int index)

public abstract TextSegmentOrBuilder getSegmentsOrBuilder(int index)

All video segments where OCR detected text appears.

repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TextSegmentOrBuilder

getSegmentsOrBuilderList()

public abstract List<? extends TextSegmentOrBuilder> getSegmentsOrBuilderList()

All video segments where OCR detected text appears.

repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2;

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder>

getText()

public abstract String getText()

The detected text.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The detected text.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.