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
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.v1beta1.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.v1beta1.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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
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)
Overrides
toBuilder()
public TableBoundHint.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides