public final class TableBoundHint extends GeneratedMessageV3 implements TableBoundHintOrBuilder
A hint for a table bounding box on the page for table parsing.
Protobuf type google.cloud.documentai.v1beta1.TableBoundHint
Fields
BOUNDING_BOX_FIELD_NUMBER
public static final int BOUNDING_BOX_FIELD_NUMBER
Field Value
PAGE_NUMBER_FIELD_NUMBER
public static final int PAGE_NUMBER_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBoundingBox()
public 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
getBoundingBoxOrBuilder()
public 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
getDefaultInstance()
public static TableBoundHint getDefaultInstance()
Returns
getDefaultInstanceForType()
public TableBoundHint getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getPageNumber()
public 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
Type | Description |
int | The pageNumber.
|
getParserForType()
public Parser<TableBoundHint> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasBoundingBox()
public 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
Type | Description |
boolean | Whether the boundingBox field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static TableBoundHint.Builder newBuilder()
Returns
newBuilder(TableBoundHint prototype)
public static TableBoundHint.Builder newBuilder(TableBoundHint prototype)
Parameter
Returns
newBuilderForType()
public TableBoundHint.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TableBoundHint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static TableBoundHint parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TableBoundHint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TableBoundHint parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TableBoundHint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TableBoundHint parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TableBoundHint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TableBoundHint parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TableBoundHint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TableBoundHint parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TableBoundHint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TableBoundHint parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TableBoundHint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TableBoundHint> parser()
Returns
toBuilder()
public TableBoundHint.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions