public static interface Document.PageAnchor.PageRefOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
BoundingPoly |
getBoundingPoly()
Optional.
|
BoundingPolyOrBuilder |
getBoundingPolyOrBuilder()
Optional.
|
float |
getConfidence()
Optional.
|
String |
getLayoutId()
Deprecated.
google.cloud.documentai.v1beta3.Document.PageAnchor.PageRef.layout_id is
deprecated. See google/cloud/documentai/v1beta3/document.proto;l=756
|
com.google.protobuf.ByteString |
getLayoutIdBytes()
Deprecated.
google.cloud.documentai.v1beta3.Document.PageAnchor.PageRef.layout_id is
deprecated. See google/cloud/documentai/v1beta3/document.proto;l=756
|
Document.PageAnchor.PageRef.LayoutType |
getLayoutType()
Optional.
|
int |
getLayoutTypeValue()
Optional.
|
long |
getPage()
Required.
|
boolean |
hasBoundingPoly()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoflong getPage()
Required. Index into the [Document.pages][google.cloud.documentai.v1beta3.Document.pages] element, for example using `[Document.pages][page_refs.page]` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.
int64 page = 1 [(.google.api.field_behavior) = REQUIRED];int getLayoutTypeValue()
Optional. The type of the layout element that is being referenced if any.
.google.cloud.documentai.v1beta3.Document.PageAnchor.PageRef.LayoutType layout_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Document.PageAnchor.PageRef.LayoutType getLayoutType()
Optional. The type of the layout element that is being referenced if any.
.google.cloud.documentai.v1beta3.Document.PageAnchor.PageRef.LayoutType layout_type = 2 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated String getLayoutId()
Optional. Deprecated. Use [PageRef.bounding_poly][google.cloud.documentai.v1beta3.Document.PageAnchor.PageRef.bounding_poly] instead.
string layout_id = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
@Deprecated com.google.protobuf.ByteString getLayoutIdBytes()
Optional. Deprecated. Use [PageRef.bounding_poly][google.cloud.documentai.v1beta3.Document.PageAnchor.PageRef.bounding_poly] instead.
string layout_id = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
boolean hasBoundingPoly()
Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to.
.google.cloud.documentai.v1beta3.BoundingPoly bounding_poly = 4 [(.google.api.field_behavior) = OPTIONAL];
BoundingPoly getBoundingPoly()
Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to.
.google.cloud.documentai.v1beta3.BoundingPoly bounding_poly = 4 [(.google.api.field_behavior) = OPTIONAL];
BoundingPolyOrBuilder getBoundingPolyOrBuilder()
Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to.
.google.cloud.documentai.v1beta3.BoundingPoly bounding_poly = 4 [(.google.api.field_behavior) = OPTIONAL];
float getConfidence()
Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.
float confidence = 5 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2024 Google LLC. All rights reserved.