- 2.82.0 (latest)
- 2.80.0
- 2.79.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.74.0
- 2.72.0
- 2.71.0
- 2.68.0
- 2.67.0
- 2.66.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static final class Document.DocumentLayout.DocumentLayoutBlock.Builder extends GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.Builder> implements Document.DocumentLayout.DocumentLayoutBlockOrBuilderRepresents a block. A block could be one of the various types (text, table, list) supported.
 Protobuf type 
 google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Document.DocumentLayout.DocumentLayoutBlock.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
build()
public Document.DocumentLayout.DocumentLayoutBlock build()| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock | |
buildPartial()
public Document.DocumentLayout.DocumentLayoutBlock buildPartial()| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock | |
clear()
public Document.DocumentLayout.DocumentLayoutBlock.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
clearBlock()
public Document.DocumentLayout.DocumentLayoutBlock.Builder clearBlock()| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
clearBlockId()
public Document.DocumentLayout.DocumentLayoutBlock.Builder clearBlockId()ID of the block.
 string block_id = 1;
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | This builder for chaining. | 
clearBoundingBox()
public Document.DocumentLayout.DocumentLayoutBlock.Builder clearBoundingBox()Identifies the bounding box for the block.
 .google.cloud.documentai.v1beta3.BoundingPoly bounding_box = 6;
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
clearField(Descriptors.FieldDescriptor field)
public Document.DocumentLayout.DocumentLayoutBlock.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
clearImageBlock()
public Document.DocumentLayout.DocumentLayoutBlock.Builder clearImageBlock()Block consisting of image content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
clearListBlock()
public Document.DocumentLayout.DocumentLayoutBlock.Builder clearListBlock()Block consisting of list content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.DocumentLayout.DocumentLayoutBlock.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
clearPageSpan()
public Document.DocumentLayout.DocumentLayoutBlock.Builder clearPageSpan()Page span of the block.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
clearTableBlock()
public Document.DocumentLayout.DocumentLayoutBlock.Builder clearTableBlock()Block consisting of table content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
clearTextBlock()
public Document.DocumentLayout.DocumentLayoutBlock.Builder clearTextBlock()Block consisting of text content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
clone()
public Document.DocumentLayout.DocumentLayoutBlock.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
getBlockCase()
public Document.DocumentLayout.DocumentLayoutBlock.BlockCase getBlockCase()| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.BlockCase | |
getBlockId()
public String getBlockId()ID of the block.
 string block_id = 1;
| Returns | |
|---|---|
| Type | Description | 
| String | The blockId. | 
getBlockIdBytes()
public ByteString getBlockIdBytes()ID of the block.
 string block_id = 1;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for blockId. | 
getBoundingBox()
public BoundingPoly getBoundingBox()Identifies the bounding box for the block.
 .google.cloud.documentai.v1beta3.BoundingPoly bounding_box = 6;
| Returns | |
|---|---|
| Type | Description | 
| BoundingPoly | The boundingBox. | 
getBoundingBoxBuilder()
public BoundingPoly.Builder getBoundingBoxBuilder()Identifies the bounding box for the block.
 .google.cloud.documentai.v1beta3.BoundingPoly bounding_box = 6;
| Returns | |
|---|---|
| Type | Description | 
| BoundingPoly.Builder | |
getBoundingBoxOrBuilder()
public BoundingPolyOrBuilder getBoundingBoxOrBuilder()Identifies the bounding box for the block.
 .google.cloud.documentai.v1beta3.BoundingPoly bounding_box = 6;
| Returns | |
|---|---|
| Type | Description | 
| BoundingPolyOrBuilder | |
getDefaultInstanceForType()
public Document.DocumentLayout.DocumentLayoutBlock getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getImageBlock()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock getImageBlock()Block consisting of image content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock | The imageBlock. | 
getImageBlockBuilder()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.Builder getImageBlockBuilder()Block consisting of image content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.Builder | |
getImageBlockOrBuilder()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlockOrBuilder getImageBlockOrBuilder()Block consisting of image content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlockOrBuilder | |
getListBlock()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock getListBlock()Block consisting of list content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock | The listBlock. | 
getListBlockBuilder()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder getListBlockBuilder()Block consisting of list content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder | |
getListBlockOrBuilder()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlockOrBuilder getListBlockOrBuilder()Block consisting of list content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlockOrBuilder | |
getPageSpan()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan getPageSpan()Page span of the block.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan | The pageSpan. | 
getPageSpanBuilder()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder getPageSpanBuilder()Page span of the block.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder | |
getPageSpanOrBuilder()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpanOrBuilder getPageSpanOrBuilder()Page span of the block.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpanOrBuilder | |
getTableBlock()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock getTableBlock()Block consisting of table content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock | The tableBlock. | 
getTableBlockBuilder()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder getTableBlockBuilder()Block consisting of table content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder | |
getTableBlockOrBuilder()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlockOrBuilder getTableBlockOrBuilder()Block consisting of table content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlockOrBuilder | |
getTextBlock()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock getTextBlock()Block consisting of text content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock | The textBlock. | 
getTextBlockBuilder()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder getTextBlockBuilder()Block consisting of text content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder | |
getTextBlockOrBuilder()
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilder getTextBlockOrBuilder()Block consisting of text content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilder | |
hasBoundingBox()
public boolean hasBoundingBox()Identifies the bounding box for the block.
 .google.cloud.documentai.v1beta3.BoundingPoly bounding_box = 6;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the boundingBox field is set. | 
hasImageBlock()
public boolean hasImageBlock()Block consisting of image content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the imageBlock field is set. | 
hasListBlock()
public boolean hasListBlock()Block consisting of list content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the listBlock field is set. | 
hasPageSpan()
public boolean hasPageSpan()Page span of the block.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the pageSpan field is set. | 
hasTableBlock()
public boolean hasTableBlock()Block consisting of table content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the tableBlock field is set. | 
hasTextBlock()
public boolean hasTextBlock()Block consisting of text content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the textBlock field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeBoundingBox(BoundingPoly value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder mergeBoundingBox(BoundingPoly value)Identifies the bounding box for the block.
 .google.cloud.documentai.v1beta3.BoundingPoly bounding_box = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | BoundingPoly | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
mergeFrom(Document.DocumentLayout.DocumentLayoutBlock other)
public Document.DocumentLayout.DocumentLayoutBlock.Builder mergeFrom(Document.DocumentLayout.DocumentLayoutBlock other)| Parameter | |
|---|---|
| Name | Description | 
| other | Document.DocumentLayout.DocumentLayoutBlock | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.DocumentLayout.DocumentLayoutBlock.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public Document.DocumentLayout.DocumentLayoutBlock.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
mergeImageBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder mergeImageBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock value)Block consisting of image content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
mergeListBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder mergeListBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock value)Block consisting of list content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
mergePageSpan(Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder mergePageSpan(Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan value)Page span of the block.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
mergeTableBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder mergeTableBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock value)Block consisting of table content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
mergeTextBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder mergeTextBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock value)Block consisting of text content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.DocumentLayout.DocumentLayoutBlock.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setBlockId(String value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setBlockId(String value)ID of the block.
 string block_id = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe blockId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | This builder for chaining. | 
setBlockIdBytes(ByteString value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setBlockIdBytes(ByteString value)ID of the block.
 string block_id = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for blockId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | This builder for chaining. | 
setBoundingBox(BoundingPoly value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setBoundingBox(BoundingPoly value)Identifies the bounding box for the block.
 .google.cloud.documentai.v1beta3.BoundingPoly bounding_box = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | BoundingPoly | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setBoundingBox(BoundingPoly.Builder builderForValue)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setBoundingBox(BoundingPoly.Builder builderForValue)Identifies the bounding box for the block.
 .google.cloud.documentai.v1beta3.BoundingPoly bounding_box = 6;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | BoundingPoly.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setImageBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setImageBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock value)Block consisting of image content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setImageBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.Builder builderForValue)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setImageBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.Builder builderForValue)Block consisting of image content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setListBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setListBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock value)Block consisting of list content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setListBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder builderForValue)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setListBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder builderForValue)Block consisting of list content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setPageSpan(Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setPageSpan(Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan value)Page span of the block.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setPageSpan(Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder builderForValue)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setPageSpan(Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder builderForValue)Page span of the block.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setTableBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setTableBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock value)Block consisting of table content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setTableBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder builderForValue)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setTableBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder builderForValue)Block consisting of table content/structure.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setTextBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock value)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setTextBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock value)Block consisting of text content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setTextBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder builderForValue)
public Document.DocumentLayout.DocumentLayoutBlock.Builder setTextBlock(Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder builderForValue)Block consisting of text content.
 
 .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.DocumentLayout.DocumentLayoutBlock.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Document.DocumentLayout.DocumentLayoutBlock.Builder | |