public static interface Document.TextChangeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getChangedText()
The text that replaces the text identified in the `text_anchor`.
|
com.google.protobuf.ByteString |
getChangedTextBytes()
The text that replaces the text identified in the `text_anchor`.
|
Document.Provenance |
getProvenance(int index)
Deprecated.
|
int |
getProvenanceCount()
Deprecated.
|
List<Document.Provenance> |
getProvenanceList()
Deprecated.
|
Document.ProvenanceOrBuilder |
getProvenanceOrBuilder(int index)
Deprecated.
|
List<? extends Document.ProvenanceOrBuilder> |
getProvenanceOrBuilderList()
Deprecated.
|
Document.TextAnchor |
getTextAnchor()
Provenance of the correction.
|
Document.TextAnchorOrBuilder |
getTextAnchorOrBuilder()
Provenance of the correction.
|
boolean |
hasTextAnchor()
Provenance of the correction.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasTextAnchor()
Provenance of the correction. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text]. There can only be a single `TextAnchor.text_segments` element. If the start and end index of the text segment are the same, the text change is inserted before that index.
.google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1;Document.TextAnchor getTextAnchor()
Provenance of the correction. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text]. There can only be a single `TextAnchor.text_segments` element. If the start and end index of the text segment are the same, the text change is inserted before that index.
.google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1;Document.TextAnchorOrBuilder getTextAnchorOrBuilder()
Provenance of the correction. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text]. There can only be a single `TextAnchor.text_segments` element. If the start and end index of the text segment are the same, the text change is inserted before that index.
.google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1;String getChangedText()
The text that replaces the text identified in the `text_anchor`.
string changed_text = 2;com.google.protobuf.ByteString getChangedTextBytes()
The text that replaces the text identified in the `text_anchor`.
string changed_text = 2;@Deprecated List<Document.Provenance> getProvenanceList()
The history of this annotation.
repeated .google.cloud.documentai.v1beta3.Document.Provenance provenance = 3 [deprecated = true];
@Deprecated Document.Provenance getProvenance(int index)
The history of this annotation.
repeated .google.cloud.documentai.v1beta3.Document.Provenance provenance = 3 [deprecated = true];
@Deprecated int getProvenanceCount()
The history of this annotation.
repeated .google.cloud.documentai.v1beta3.Document.Provenance provenance = 3 [deprecated = true];
@Deprecated List<? extends Document.ProvenanceOrBuilder> getProvenanceOrBuilderList()
The history of this annotation.
repeated .google.cloud.documentai.v1beta3.Document.Provenance provenance = 3 [deprecated = true];
@Deprecated Document.ProvenanceOrBuilder getProvenanceOrBuilder(int index)
The history of this annotation.
repeated .google.cloud.documentai.v1beta3.Document.Provenance provenance = 3 [deprecated = true];
Copyright © 2024 Google LLC. All rights reserved.