public static interface Document.EntityOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
BoundingPoly |
getBoundingPolyForDemoFrontend()
Optional.
|
BoundingPolyOrBuilder |
getBoundingPolyForDemoFrontendOrBuilder()
Optional.
|
float |
getConfidence()
Optional.
|
String |
getId()
Optional.
|
com.google.protobuf.ByteString |
getIdBytes()
Optional.
|
String |
getMentionId()
Deprecated.
|
com.google.protobuf.ByteString |
getMentionIdBytes()
Deprecated.
|
String |
getMentionText()
Text value in the document e.g.
|
com.google.protobuf.ByteString |
getMentionTextBytes()
Text value in the document e.g.
|
Document.PageAnchor |
getPageAnchor()
Optional.
|
Document.PageAnchorOrBuilder |
getPageAnchorOrBuilder()
Optional.
|
Document.TextAnchor |
getTextAnchor()
Provenance of the entity.
|
Document.TextAnchorOrBuilder |
getTextAnchorOrBuilder()
Provenance of the entity.
|
String |
getType()
Entity type from a schema e.g.
|
com.google.protobuf.ByteString |
getTypeBytes()
Entity type from a schema e.g.
|
boolean |
hasBoundingPolyForDemoFrontend()
Optional.
|
boolean |
hasPageAnchor()
Optional.
|
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.v1beta2.Document.text].
.google.cloud.documentai.v1beta2.Document.TextAnchor text_anchor = 1;Document.TextAnchor getTextAnchor()
Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta2.Document.text].
.google.cloud.documentai.v1beta2.Document.TextAnchor text_anchor = 1;Document.TextAnchorOrBuilder getTextAnchorOrBuilder()
Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta2.Document.text].
.google.cloud.documentai.v1beta2.Document.TextAnchor text_anchor = 1;String getType()
Entity type from a schema e.g. `Address`.
string type = 2;com.google.protobuf.ByteString getTypeBytes()
Entity type from a schema e.g. `Address`.
string type = 2;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()
Deprecated. Use `id` field instead.
string mention_id = 4;com.google.protobuf.ByteString getMentionIdBytes()
Deprecated. Use `id` field instead.
string mention_id = 4;float getConfidence()
Optional. Confidence of detected Schema entity. Range [0, 1].
float confidence = 5 [(.google.api.field_behavior) = OPTIONAL];boolean hasPageAnchor()
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
.google.cloud.documentai.v1beta2.Document.PageAnchor page_anchor = 6 [(.google.api.field_behavior) = OPTIONAL];
Document.PageAnchor getPageAnchor()
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
.google.cloud.documentai.v1beta2.Document.PageAnchor page_anchor = 6 [(.google.api.field_behavior) = OPTIONAL];
Document.PageAnchorOrBuilder getPageAnchorOrBuilder()
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
.google.cloud.documentai.v1beta2.Document.PageAnchor page_anchor = 6 [(.google.api.field_behavior) = OPTIONAL];
String getId()
Optional. Canonical id. This will be a unique value in the entity list for this document.
string id = 7 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getIdBytes()
Optional. Canonical id. This will be a unique value in the entity list for this document.
string id = 7 [(.google.api.field_behavior) = OPTIONAL];boolean hasBoundingPolyForDemoFrontend()
Optional. Temporary field to store the bounding poly for short-term POCs. Used by the frontend only. Do not use before you talk to ybo@ and lukasr@.
.google.cloud.documentai.v1beta2.BoundingPoly bounding_poly_for_demo_frontend = 8 [(.google.api.field_behavior) = OPTIONAL];
BoundingPoly getBoundingPolyForDemoFrontend()
Optional. Temporary field to store the bounding poly for short-term POCs. Used by the frontend only. Do not use before you talk to ybo@ and lukasr@.
.google.cloud.documentai.v1beta2.BoundingPoly bounding_poly_for_demo_frontend = 8 [(.google.api.field_behavior) = OPTIONAL];
BoundingPolyOrBuilder getBoundingPolyForDemoFrontendOrBuilder()
Optional. Temporary field to store the bounding poly for short-term POCs. Used by the frontend only. Do not use before you talk to ybo@ and lukasr@.
.google.cloud.documentai.v1beta2.BoundingPoly bounding_poly_for_demo_frontend = 8 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2020 Google LLC. All rights reserved.