Class Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder (2.87.0)

public static final class Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder extends GeneratedMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder> implements Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlockOrBuilder

Represents a table type block.

Protobuf type google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder

Static Methods

getDescriptor()

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

Methods

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

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder addAllBodyRows(Iterable<? extends Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow> values)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow>
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder

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

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder addAllHeaderRows(Iterable<? extends Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow> values)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow>
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder

addBodyRows(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder addBodyRows(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

Parameter
Name Description
value Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder

addBodyRows(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder addBodyRows(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

Parameter
Name Description
builderForValue Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder

addBodyRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder addBodyRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

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

addBodyRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder addBodyRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

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

addBodyRowsBuilder()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder addBodyRowsBuilder()

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

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

addBodyRowsBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder addBodyRowsBuilder(int index)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

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

addHeaderRows(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder addHeaderRows(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

Parameter
Name Description
value Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder

addHeaderRows(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder addHeaderRows(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

Parameter
Name Description
builderForValue Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder

addHeaderRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder addHeaderRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

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

addHeaderRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder addHeaderRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

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

addHeaderRowsBuilder()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder addHeaderRowsBuilder()

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

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

addHeaderRowsBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder addHeaderRowsBuilder(int index)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

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

build()

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

buildPartial()

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

clear()

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

clearBodyRows()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder clearBodyRows()

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

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

clearCaption()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder clearCaption()

Table caption/title.

string caption = 3;

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

This builder for chaining.

clearHeaderRows()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder clearHeaderRows()

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

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

getBodyRows(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow getBodyRows(int index)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

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

getBodyRowsBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder getBodyRowsBuilder(int index)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

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

getBodyRowsBuilderList()

public List<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder> getBodyRowsBuilderList()

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

Returns
Type Description
List<Builder>

getBodyRowsCount()

public int getBodyRowsCount()

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

Returns
Type Description
int

getBodyRowsList()

public List<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow> getBodyRowsList()

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

Returns
Type Description
List<LayoutTableRow>

getBodyRowsOrBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRowOrBuilder getBodyRowsOrBuilder(int index)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

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

getBodyRowsOrBuilderList()

public List<? extends Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRowOrBuilder> getBodyRowsOrBuilderList()

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

Returns
Type Description
List<? extends com.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRowOrBuilder>

getCaption()

public String getCaption()

Table caption/title.

string caption = 3;

Returns
Type Description
String

The caption.

getCaptionBytes()

public ByteString getCaptionBytes()

Table caption/title.

string caption = 3;

Returns
Type Description
ByteString

The bytes for caption.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getHeaderRows(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow getHeaderRows(int index)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

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

getHeaderRowsBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder getHeaderRowsBuilder(int index)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

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

getHeaderRowsBuilderList()

public List<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder> getHeaderRowsBuilderList()

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

Returns
Type Description
List<Builder>

getHeaderRowsCount()

public int getHeaderRowsCount()

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

Returns
Type Description
int

getHeaderRowsList()

public List<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow> getHeaderRowsList()

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

Returns
Type Description
List<LayoutTableRow>

getHeaderRowsOrBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRowOrBuilder getHeaderRowsOrBuilder(int index)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

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

getHeaderRowsOrBuilderList()

public List<? extends Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRowOrBuilder> getHeaderRowsOrBuilderList()

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

Returns
Type Description
List<? extends com.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRowOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeBodyRows(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder removeBodyRows(int index)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

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

removeHeaderRows(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder removeHeaderRows(int index)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

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

setBodyRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder setBodyRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

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

setBodyRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder setBodyRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

Body rows containing main table content.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2;

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

setCaption(String value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder setCaption(String value)

Table caption/title.

string caption = 3;

Parameter
Name Description
value String

The caption to set.

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

This builder for chaining.

setCaptionBytes(ByteString value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder setCaptionBytes(ByteString value)

Table caption/title.

string caption = 3;

Parameter
Name Description
value ByteString

The bytes for caption to set.

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

This builder for chaining.

setHeaderRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder setHeaderRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow value)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

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

setHeaderRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock.Builder setHeaderRows(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow.Builder builderForValue)

Header rows at the top of the table.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1;

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