public static interface Document.EntityOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getMentionId()
Canonical mention name.
|
com.google.protobuf.ByteString |
getMentionIdBytes()
Canonical mention name.
|
String |
getMentionText()
Text value in the document e.g.
|
com.google.protobuf.ByteString |
getMentionTextBytes()
Text value in the document e.g.
|
Document.TextAnchor |
getTextAnchor()
Provenance of the entity.
|
Document.TextAnchorOrBuilder |
getTextAnchorOrBuilder()
Provenance of the entity.
|
String |
getType()
Required.
|
com.google.protobuf.ByteString |
getTypeBytes()
Required.
|
boolean |
hasTextAnchor()
Provenance of the entity.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasTextAnchor()
Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta1.Document.text].
.google.cloud.documentai.v1beta1.Document.TextAnchor text_anchor = 1;Document.TextAnchor getTextAnchor()
Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta1.Document.text].
.google.cloud.documentai.v1beta1.Document.TextAnchor text_anchor = 1;Document.TextAnchorOrBuilder getTextAnchorOrBuilder()
Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta1.Document.text].
.google.cloud.documentai.v1beta1.Document.TextAnchor text_anchor = 1;String getType()
Required. Entity type from a schema e.g. `Address`.
string type = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getTypeBytes()
Required. Entity type from a schema e.g. `Address`.
string type = 2 [(.google.api.field_behavior) = REQUIRED];String getMentionText()
Text value in the document e.g. `1600 Amphitheatre Pkwy`.
string mention_text = 3;com.google.protobuf.ByteString getMentionTextBytes()
Text value in the document e.g. `1600 Amphitheatre Pkwy`.
string mention_text = 3;String getMentionId()
Canonical mention name. This will be a unique value in the entity list for this document.
string mention_id = 4;com.google.protobuf.ByteString getMentionIdBytes()
Canonical mention name. This will be a unique value in the entity list for this document.
string mention_id = 4;Copyright © 2024 Google LLC. All rights reserved.