public static interface Document.TextAnchorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Contains the content of the text span so that users do
not have to look it up in the text_segments.
|
com.google.protobuf.ByteString |
getContentBytes()
Contains the content of the text span so that users do
not have to look it up in the text_segments.
|
Document.TextAnchor.TextSegment |
getTextSegments(int index)
The text segments from the
[Document.text][google.cloud.documentai.v1beta2.Document.text].
|
int |
getTextSegmentsCount()
The text segments from the
[Document.text][google.cloud.documentai.v1beta2.Document.text].
|
List<Document.TextAnchor.TextSegment> |
getTextSegmentsList()
The text segments from the
[Document.text][google.cloud.documentai.v1beta2.Document.text].
|
Document.TextAnchor.TextSegmentOrBuilder |
getTextSegmentsOrBuilder(int index)
The text segments from the
[Document.text][google.cloud.documentai.v1beta2.Document.text].
|
List<? extends Document.TextAnchor.TextSegmentOrBuilder> |
getTextSegmentsOrBuilderList()
The text segments from the
[Document.text][google.cloud.documentai.v1beta2.Document.text].
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<Document.TextAnchor.TextSegment> getTextSegmentsList()
The text segments from the [Document.text][google.cloud.documentai.v1beta2.Document.text].
repeated .google.cloud.documentai.v1beta2.Document.TextAnchor.TextSegment text_segments = 1;
Document.TextAnchor.TextSegment getTextSegments(int index)
The text segments from the [Document.text][google.cloud.documentai.v1beta2.Document.text].
repeated .google.cloud.documentai.v1beta2.Document.TextAnchor.TextSegment text_segments = 1;
int getTextSegmentsCount()
The text segments from the [Document.text][google.cloud.documentai.v1beta2.Document.text].
repeated .google.cloud.documentai.v1beta2.Document.TextAnchor.TextSegment text_segments = 1;
List<? extends Document.TextAnchor.TextSegmentOrBuilder> getTextSegmentsOrBuilderList()
The text segments from the [Document.text][google.cloud.documentai.v1beta2.Document.text].
repeated .google.cloud.documentai.v1beta2.Document.TextAnchor.TextSegment text_segments = 1;
Document.TextAnchor.TextSegmentOrBuilder getTextSegmentsOrBuilder(int index)
The text segments from the [Document.text][google.cloud.documentai.v1beta2.Document.text].
repeated .google.cloud.documentai.v1beta2.Document.TextAnchor.TextSegment text_segments = 1;
String getContent()
Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.
string content = 2;com.google.protobuf.ByteString getContentBytes()
Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.
string content = 2;Copyright © 2023 Google LLC. All rights reserved.