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

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1.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.

getVersion()

public abstract String getVersion()

Feature version.

string version = 3;

Returns
Type Description
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Feature version.

string version = 3;

Returns
Type Description
ByteString

The bytes for version.