Send feedback
Class TableBoundHint (2.49.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.49.0 keyboard_arrow_down
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.v1beta2.TableBoundHint
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BOUNDING_BOX_FIELD_NUMBER
public static final int BOUNDING_BOX_FIELD_NUMBER
Field Value
Type
Description
int
PAGE_NUMBER_FIELD_NUMBER
public static final int PAGE_NUMBER_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static TableBoundHint getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static TableBoundHint . Builder newBuilder ()
newBuilder(TableBoundHint prototype)
public static TableBoundHint . Builder newBuilder ( TableBoundHint prototype )
public static TableBoundHint parseDelimitedFrom ( InputStream input )
public static TableBoundHint parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static TableBoundHint parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TableBoundHint parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static TableBoundHint parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TableBoundHint parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static TableBoundHint parseFrom ( CodedInputStream input )
public static TableBoundHint parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static TableBoundHint parseFrom ( InputStream input )
public static TableBoundHint parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static TableBoundHint parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TableBoundHint parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<TableBoundHint> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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.v1beta2.BoundingPoly bounding_box = 2;
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.v1beta2.BoundingPoly bounding_box = 2;
getDefaultInstanceForType()
public TableBoundHint getDefaultInstanceForType ()
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 ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
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.v1beta2.BoundingPoly bounding_box = 2;
Returns
Type
Description
boolean
Whether the boundingBox field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public TableBoundHint . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TableBoundHint . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public TableBoundHint . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]