Interface Document.TextAnchorOrBuilder (2.9.0)

public static interface Document.TextAnchorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTextSegments(int index)

public abstract Document.TextAnchor.TextSegment getTextSegments(int index)

The text segments from the Document.text.

repeated .google.cloud.documentai.v1beta1.Document.TextAnchor.TextSegment text_segments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.TextAnchor.TextSegment

getTextSegmentsCount()

public abstract int getTextSegmentsCount()

The text segments from the Document.text.

repeated .google.cloud.documentai.v1beta1.Document.TextAnchor.TextSegment text_segments = 1;

Returns
TypeDescription
int

getTextSegmentsList()

public abstract List<Document.TextAnchor.TextSegment> getTextSegmentsList()

The text segments from the Document.text.

repeated .google.cloud.documentai.v1beta1.Document.TextAnchor.TextSegment text_segments = 1;

Returns
TypeDescription
List<TextSegment>

getTextSegmentsOrBuilder(int index)

public abstract Document.TextAnchor.TextSegmentOrBuilder getTextSegmentsOrBuilder(int index)

The text segments from the Document.text.

repeated .google.cloud.documentai.v1beta1.Document.TextAnchor.TextSegment text_segments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.TextAnchor.TextSegmentOrBuilder

getTextSegmentsOrBuilderList()

public abstract List<? extends Document.TextAnchor.TextSegmentOrBuilder> getTextSegmentsOrBuilderList()

The text segments from the Document.text.

repeated .google.cloud.documentai.v1beta1.Document.TextAnchor.TextSegment text_segments = 1;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta1.Document.TextAnchor.TextSegmentOrBuilder>