public static interface Document.Page.LayoutOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBoundingPoly()
public abstract BoundingPoly getBoundingPoly()The bounding polygon for the Layout.
.google.cloud.documentai.v1beta2.BoundingPoly bounding_poly = 3;
| Type | Description |
| BoundingPoly | The boundingPoly. |
getBoundingPolyOrBuilder()
public abstract BoundingPolyOrBuilder getBoundingPolyOrBuilder()The bounding polygon for the Layout.
.google.cloud.documentai.v1beta2.BoundingPoly bounding_poly = 3;
| Type | Description |
| BoundingPolyOrBuilder |
getConfidence()
public abstract float getConfidence()Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range [0, 1].
float confidence = 2;
| Type | Description |
| float | The confidence. |
getId()
public abstract String getId()Optional. This is the identifier used by referencing PageAnchors.
string id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| String | The id. |
getIdBytes()
public abstract ByteString getIdBytes()Optional. This is the identifier used by referencing PageAnchors.
string id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| ByteString | The bytes for id. |
getOrientation()
public abstract Document.Page.Layout.Orientation getOrientation()Detected orientation for the Layout.
.google.cloud.documentai.v1beta2.Document.Page.Layout.Orientation orientation = 4;
| Type | Description |
| Document.Page.Layout.Orientation | The orientation. |
getOrientationValue()
public abstract int getOrientationValue()Detected orientation for the Layout.
.google.cloud.documentai.v1beta2.Document.Page.Layout.Orientation orientation = 4;
| Type | Description |
| int | The enum numeric value on the wire for orientation. |
getTextAnchor()
public abstract Document.TextAnchor getTextAnchor()Text anchor indexing into the Document.text.
.google.cloud.documentai.v1beta2.Document.TextAnchor text_anchor = 1;
| Type | Description |
| Document.TextAnchor | The textAnchor. |
getTextAnchorOrBuilder()
public abstract Document.TextAnchorOrBuilder getTextAnchorOrBuilder()Text anchor indexing into the Document.text.
.google.cloud.documentai.v1beta2.Document.TextAnchor text_anchor = 1;
| Type | Description |
| Document.TextAnchorOrBuilder |
hasBoundingPoly()
public abstract boolean hasBoundingPoly()The bounding polygon for the Layout.
.google.cloud.documentai.v1beta2.BoundingPoly bounding_poly = 3;
| Type | Description |
| boolean | Whether the boundingPoly field is set. |
hasTextAnchor()
public abstract boolean hasTextAnchor()Text anchor indexing into the Document.text.
.google.cloud.documentai.v1beta2.Document.TextAnchor text_anchor = 1;
| Type | Description |
| boolean | Whether the textAnchor field is set. |