Interface TableBoundHintOrBuilder (2.6.0)

public interface TableBoundHintOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoundingBox()

public abstract BoundingPoly getBoundingBox()

Bounding box hint for a table on this page. The coordinates must be normalized to [0,1] and the bounding box must be an axis-aligned rectangle.

.google.cloud.documentai.v1beta1.BoundingPoly bounding_box = 2;

Returns
TypeDescription
BoundingPoly

The boundingBox.

getBoundingBoxOrBuilder()

public abstract BoundingPolyOrBuilder getBoundingBoxOrBuilder()

Bounding box hint for a table on this page. The coordinates must be normalized to [0,1] and the bounding box must be an axis-aligned rectangle.

.google.cloud.documentai.v1beta1.BoundingPoly bounding_box = 2;

Returns
TypeDescription
BoundingPolyOrBuilder

getPageNumber()

public abstract int getPageNumber()

Optional. Page number for multi-paged inputs this hint applies to. If not provided, this hint will apply to all pages by default. This value is 1-based.

int32 page_number = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The pageNumber.

hasBoundingBox()

public abstract boolean hasBoundingBox()

Bounding box hint for a table on this page. The coordinates must be normalized to [0,1] and the bounding box must be an axis-aligned rectangle.

.google.cloud.documentai.v1beta1.BoundingPoly bounding_box = 2;

Returns
TypeDescription
boolean

Whether the boundingBox field is set.