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.v1beta1.TableBoundHint
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TableBoundHint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TableBoundHint build()
buildPartial()
public TableBoundHint buildPartial()
clear()
public TableBoundHint.Builder clear()
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.v1beta1.BoundingPoly bounding_box = 2;
clearField(Descriptors.FieldDescriptor field)
public TableBoundHint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TableBoundHint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public TableBoundHint.Builder clone()
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;
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.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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1beta1.BoundingPoly bounding_box = 2;
Returns |
---|
Type | Description |
boolean | Whether the boundingBox field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
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.v1beta1.BoundingPoly bounding_box = 2;
mergeFrom(TableBoundHint other)
public TableBoundHint.Builder mergeFrom(TableBoundHint other)
public TableBoundHint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TableBoundHint.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TableBoundHint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v1beta1.BoundingPoly bounding_box = 2;
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.v1beta1.BoundingPoly bounding_box = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public TableBoundHint.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TableBoundHint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TableBoundHint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides