public static final class TableBoundHint.Builder extends GeneratedMessageV3.Builder<TableBoundHint.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TableBoundHint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TableBoundHint build()
Returns
buildPartial()
public TableBoundHint buildPartial()
Returns
clear()
public TableBoundHint.Builder clear()
Returns
Overrides
clearBoundingBox()
public TableBoundHint.Builder clearBoundingBox()
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
clearField(Descriptors.FieldDescriptor field)
public TableBoundHint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TableBoundHint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPageNumber()
public TableBoundHint.Builder clearPageNumber()
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
clone()
public TableBoundHint.Builder clone()
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.v1beta2.BoundingPoly bounding_box = 2;
Returns
getBoundingBoxBuilder()
public BoundingPoly.Builder getBoundingBoxBuilder()
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
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;
Returns
getDefaultInstanceForType()
public TableBoundHint getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeBoundingBox(BoundingPoly value)
public TableBoundHint.Builder mergeBoundingBox(BoundingPoly value)
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;
Parameter
Returns
mergeFrom(TableBoundHint other)
public TableBoundHint.Builder mergeFrom(TableBoundHint other)
Parameter
Returns
public TableBoundHint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TableBoundHint.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TableBoundHint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBoundingBox(BoundingPoly value)
public TableBoundHint.Builder setBoundingBox(BoundingPoly value)
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;
Parameter
Returns
setBoundingBox(BoundingPoly.Builder builderForValue)
public TableBoundHint.Builder setBoundingBox(BoundingPoly.Builder builderForValue)
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TableBoundHint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPageNumber(int value)
public TableBoundHint.Builder setPageNumber(int value)
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];
Parameter
Name | Description |
value | int
The pageNumber to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TableBoundHint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TableBoundHint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides