Interface TextAnnotationOrBuilder (2.48.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.v1p2beta1.TextSegment segments = 2;

Parameter
Name Description
index int
Returns
Type Description
TextSegment

getSegmentsCount()

public abstract int getSegmentsCount()

All video segments where OCR detected text appears.

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

Returns
Type Description
int

getSegmentsList()

public abstract List<TextSegment> getSegmentsList()

All video segments where OCR detected text appears.

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

Returns
Type Description
List<TextSegment>

getSegmentsOrBuilder(int index)

public abstract TextSegmentOrBuilder getSegmentsOrBuilder(int index)

All video segments where OCR detected text appears.

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

Parameter
Name Description
index int
Returns
Type Description
TextSegmentOrBuilder

getSegmentsOrBuilderList()

public abstract List<? extends TextSegmentOrBuilder> getSegmentsOrBuilderList()

All video segments where OCR detected text appears.

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

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder>

getText()

public abstract String getText()

The detected text.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The detected text.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.