Interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder (2.50.0)

public static interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBlocks(int index)

public abstract Document.DocumentLayout.DocumentLayoutBlock getBlocks(int index)

A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock

getBlocksCount()

public abstract int getBlocksCount()

A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Returns
Type Description
int

getBlocksList()

public abstract List<Document.DocumentLayout.DocumentLayoutBlock> getBlocksList()

A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Returns
Type Description
List<DocumentLayoutBlock>

getBlocksOrBuilder(int index)

public abstract Document.DocumentLayout.DocumentLayoutBlockOrBuilder getBlocksOrBuilder(int index)

A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlockOrBuilder

getBlocksOrBuilderList()

public abstract List<? extends Document.DocumentLayout.DocumentLayoutBlockOrBuilder> getBlocksOrBuilderList()

A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Returns
Type Description
List<? extends com.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlockOrBuilder>

getColSpan()

public abstract int getColSpan()

How many columns this cell spans.

int32 col_span = 3;

Returns
Type Description
int

The colSpan.

getRowSpan()

public abstract int getRowSpan()

How many rows this cell spans.

int32 row_span = 2;

Returns
Type Description
int

The rowSpan.