Class Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder (2.49.0)

public static final class Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder extends GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder> implements Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder

Represents a cell in a table row.

Protobuf type google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllBlocks(Iterable<? extends Document.DocumentLayout.DocumentLayoutBlock> values)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder addAllBlocks(Iterable<? extends Document.DocumentLayout.DocumentLayoutBlock> values)

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
values Iterable<? extends com.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock>
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

addBlocks(Document.DocumentLayout.DocumentLayoutBlock value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder addBlocks(Document.DocumentLayout.DocumentLayoutBlock value)

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
value Document.DocumentLayout.DocumentLayoutBlock
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

addBlocks(Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder addBlocks(Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

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
builderForValue Document.DocumentLayout.DocumentLayoutBlock.Builder
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value)

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;

Parameters
Name Description
index int
value Document.DocumentLayout.DocumentLayoutBlock
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Document.DocumentLayout.DocumentLayoutBlock.Builder
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

addBlocksBuilder()

public Document.DocumentLayout.DocumentLayoutBlock.Builder addBlocksBuilder()

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
Document.DocumentLayout.DocumentLayoutBlock.Builder

addBlocksBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlock.Builder addBlocksBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
Overrides

build()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell build()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell

buildPartial()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell buildPartial()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell

clear()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder clear()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
Overrides

clearBlocks()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder clearBlocks()

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
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

clearColSpan()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder clearColSpan()

How many columns this cell spans.

int32 col_span = 3;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
Overrides

clearRowSpan()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder clearRowSpan()

How many rows this cell spans.

int32 row_span = 2;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

This builder for chaining.

clone()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder clone()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
Overrides

getBlocks(int index)

public 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

getBlocksBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlock.Builder getBlocksBuilder(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.Builder

getBlocksBuilderList()

public List<Document.DocumentLayout.DocumentLayoutBlock.Builder> getBlocksBuilderList()

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<Builder>

getBlocksCount()

public 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 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 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 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 int getColSpan()

How many columns this cell spans.

int32 col_span = 3;

Returns
Type Description
int

The colSpan.

getDefaultInstanceForType()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell getDefaultInstanceForType()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRowSpan()

public int getRowSpan()

How many rows this cell spans.

int32 row_span = 2;

Returns
Type Description
int

The rowSpan.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell other)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder mergeFrom(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell other)
Parameter
Name Description
other Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
Overrides

removeBlocks(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder removeBlocks(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.LayoutTableCell.Builder

setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value)

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;

Parameters
Name Description
index int
value Document.DocumentLayout.DocumentLayoutBlock
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Document.DocumentLayout.DocumentLayoutBlock.Builder
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

setColSpan(int value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder setColSpan(int value)

How many columns this cell spans.

int32 col_span = 3;

Parameter
Name Description
value int

The colSpan to set.

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
Overrides

setRowSpan(int value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder setRowSpan(int value)

How many rows this cell spans.

int32 row_span = 2;

Parameter
Name Description
value int

The rowSpan to set.

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
Overrides