Interface TextAnnotationOrBuilder

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
NameDescription
indexint
Returns
TypeDescription
TextSegment

getSegmentsCount()

public abstract int getSegmentsCount()

All video segments where OCR detected text appears.

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

Returns
TypeDescription
int

getSegmentsList()

public abstract List<TextSegment> getSegmentsList()

All video segments where OCR detected text appears.

repeated .google.cloud.videointelligence.v1.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.v1.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.v1.TextSegment segments = 2;

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

getVersion()

public abstract String getVersion()

Feature version.

string version = 3;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Feature version.

string version = 3;

Returns
TypeDescription
ByteString

The bytes for version.