Class Document.Page.Table.Builder (2.10.0)

public static final class Document.Page.Table.Builder extends GeneratedMessageV3.Builder<Document.Page.Table.Builder> implements Document.Page.TableOrBuilder

A table representation similar to HTML table structure.

Protobuf type google.cloud.documentai.v1.Document.Page.Table

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllBodyRows(Iterable<? extends Document.Page.Table.TableRow> values)

public Document.Page.Table.Builder addAllBodyRows(Iterable<? extends Document.Page.Table.TableRow> values)

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.Table.TableRow>
Returns
TypeDescription
Document.Page.Table.Builder

addAllDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values)

public Document.Page.Table.Builder addAllDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values)

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.DetectedLanguage>
Returns
TypeDescription
Document.Page.Table.Builder

addAllHeaderRows(Iterable<? extends Document.Page.Table.TableRow> values)

public Document.Page.Table.Builder addAllHeaderRows(Iterable<? extends Document.Page.Table.TableRow> values)

Header rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.documentai.v1.Document.Page.Table.TableRow>
Returns
TypeDescription
Document.Page.Table.Builder

addBodyRows(Document.Page.Table.TableRow value)

public Document.Page.Table.Builder addBodyRows(Document.Page.Table.TableRow value)

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Parameter
NameDescription
valueDocument.Page.Table.TableRow
Returns
TypeDescription
Document.Page.Table.Builder

addBodyRows(Document.Page.Table.TableRow.Builder builderForValue)

public Document.Page.Table.Builder addBodyRows(Document.Page.Table.TableRow.Builder builderForValue)

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Parameter
NameDescription
builderForValueDocument.Page.Table.TableRow.Builder
Returns
TypeDescription
Document.Page.Table.Builder

addBodyRows(int index, Document.Page.Table.TableRow value)

public Document.Page.Table.Builder addBodyRows(int index, Document.Page.Table.TableRow value)

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Parameters
NameDescription
indexint
valueDocument.Page.Table.TableRow
Returns
TypeDescription
Document.Page.Table.Builder

addBodyRows(int index, Document.Page.Table.TableRow.Builder builderForValue)

public Document.Page.Table.Builder addBodyRows(int index, Document.Page.Table.TableRow.Builder builderForValue)

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Parameters
NameDescription
indexint
builderForValueDocument.Page.Table.TableRow.Builder
Returns
TypeDescription
Document.Page.Table.Builder

addBodyRowsBuilder()

public Document.Page.Table.TableRow.Builder addBodyRowsBuilder()

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Returns
TypeDescription
Document.Page.Table.TableRow.Builder

addBodyRowsBuilder(int index)

public Document.Page.Table.TableRow.Builder addBodyRowsBuilder(int index)

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Table.TableRow.Builder

addDetectedLanguages(Document.Page.DetectedLanguage value)

public Document.Page.Table.Builder addDetectedLanguages(Document.Page.DetectedLanguage value)

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;

Parameter
NameDescription
valueDocument.Page.DetectedLanguage
Returns
TypeDescription
Document.Page.Table.Builder

addDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)

public Document.Page.Table.Builder addDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;

Parameter
NameDescription
builderForValueDocument.Page.DetectedLanguage.Builder
Returns
TypeDescription
Document.Page.Table.Builder

addDetectedLanguages(int index, Document.Page.DetectedLanguage value)

public Document.Page.Table.Builder addDetectedLanguages(int index, Document.Page.DetectedLanguage value)

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;

Parameters
NameDescription
indexint
valueDocument.Page.DetectedLanguage
Returns
TypeDescription
Document.Page.Table.Builder

addDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)

public Document.Page.Table.Builder addDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;

Parameters
NameDescription
indexint
builderForValueDocument.Page.DetectedLanguage.Builder
Returns
TypeDescription
Document.Page.Table.Builder

addDetectedLanguagesBuilder()

public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder()

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;

Returns
TypeDescription
Document.Page.DetectedLanguage.Builder

addDetectedLanguagesBuilder(int index)

public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder(int index)

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.DetectedLanguage.Builder

addHeaderRows(Document.Page.Table.TableRow value)

public Document.Page.Table.Builder addHeaderRows(Document.Page.Table.TableRow value)

Header rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;

Parameter
NameDescription
valueDocument.Page.Table.TableRow
Returns
TypeDescription
Document.Page.Table.Builder

addHeaderRows(Document.Page.Table.TableRow.Builder builderForValue)

public Document.Page.Table.Builder addHeaderRows(Document.Page.Table.TableRow.Builder builderForValue)

Header rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;

Parameter
NameDescription
builderForValueDocument.Page.Table.TableRow.Builder
Returns
TypeDescription
Document.Page.Table.Builder

addHeaderRows(int index, Document.Page.Table.TableRow value)

public Document.Page.Table.Builder addHeaderRows(int index, Document.Page.Table.TableRow value)

Header rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;

Parameters
NameDescription
indexint
valueDocument.Page.Table.TableRow
Returns
TypeDescription
Document.Page.Table.Builder

addHeaderRows(int index, Document.Page.Table.TableRow.Builder builderForValue)

public Document.Page.Table.Builder addHeaderRows(int index, Document.Page.Table.TableRow.Builder builderForValue)

Header rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;

Parameters
NameDescription
indexint
builderForValueDocument.Page.Table.TableRow.Builder
Returns
TypeDescription
Document.Page.Table.Builder

addHeaderRowsBuilder()

public Document.Page.Table.TableRow.Builder addHeaderRowsBuilder()

Header rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;

Returns
TypeDescription
Document.Page.Table.TableRow.Builder

addHeaderRowsBuilder(int index)

public Document.Page.Table.TableRow.Builder addHeaderRowsBuilder(int index)

Header rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Table.TableRow.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Document.Page.Table.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Document.Page.Table.Builder
Overrides

build()

public Document.Page.Table build()
Returns
TypeDescription
Document.Page.Table

buildPartial()

public Document.Page.Table buildPartial()
Returns
TypeDescription
Document.Page.Table

clear()

public Document.Page.Table.Builder clear()
Returns
TypeDescription
Document.Page.Table.Builder
Overrides

clearBodyRows()

public Document.Page.Table.Builder clearBodyRows()

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Returns
TypeDescription
Document.Page.Table.Builder

clearDetectedLanguages()

public Document.Page.Table.Builder clearDetectedLanguages()

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;

Returns
TypeDescription
Document.Page.Table.Builder

clearField(Descriptors.FieldDescriptor field)

public Document.Page.Table.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Document.Page.Table.Builder
Overrides

clearHeaderRows()

public Document.Page.Table.Builder clearHeaderRows()

Header rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;

Returns
TypeDescription
Document.Page.Table.Builder

clearLayout()

public Document.Page.Table.Builder clearLayout()

Layout for Table.

.google.cloud.documentai.v1.Document.Page.Layout layout = 1;

Returns
TypeDescription
Document.Page.Table.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.Page.Table.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Document.Page.Table.Builder
Overrides

clearProvenance()

public Document.Page.Table.Builder clearProvenance()

The history of this table.

.google.cloud.documentai.v1.Document.Provenance provenance = 5;

Returns
TypeDescription
Document.Page.Table.Builder

clone()

public Document.Page.Table.Builder clone()
Returns
TypeDescription
Document.Page.Table.Builder
Overrides

getBodyRows(int index)

public Document.Page.Table.TableRow getBodyRows(int index)

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Table.TableRow

getBodyRowsBuilder(int index)

public Document.Page.Table.TableRow.Builder getBodyRowsBuilder(int index)

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Table.TableRow.Builder

getBodyRowsBuilderList()

public List<Document.Page.Table.TableRow.Builder> getBodyRowsBuilderList()

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Returns
TypeDescription
List<Builder>

getBodyRowsCount()

public int getBodyRowsCount()

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Returns
TypeDescription
int

getBodyRowsList()

public List<Document.Page.Table.TableRow> getBodyRowsList()

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Returns
TypeDescription
List<TableRow>

getBodyRowsOrBuilder(int index)

public Document.Page.Table.TableRowOrBuilder getBodyRowsOrBuilder(int index)

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Table.TableRowOrBuilder

getBodyRowsOrBuilderList()

public List<? extends Document.Page.Table.TableRowOrBuilder> getBodyRowsOrBuilderList()

Body rows of the table.

repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1.Document.Page.Table.TableRowOrBuilder>

getDefaultInstanceForType()

public Document.Page.Table getDefaultInstanceForType()
Returns
TypeDescription
Document.Page.Table

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetectedLanguages(int index)

public Document.Page.DetectedLanguage getDetectedLanguages(int index)

A list of detec