Interface Document.TextAnchorOrBuilder (2.48.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.documentai.v1beta1.Document.TextAnchor.TextSegmentOrBuilder>