Class Document.Page.Table.Builder (2.57.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.documentai.v1.Document.Page.Table.TableRow>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.documentai.v1.Document.Page.DetectedLanguage>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.documentai.v1.Document.Page.Table.TableRow>
Returns
Type Description
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
Name Description
value Document.Page.Table.TableRow
Returns
Type Description
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
Name Description
builderForValue Document.Page.Table.TableRow.Builder
Returns
Type Description
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
Name Description
index int
value Document.Page.Table.TableRow
Returns
Type Description
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
Name Description
index int
builderForValue Document.Page.Table.TableRow.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value Document.Page.DetectedLanguage
Returns
Type Description
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
Name Description
builderForValue Document.Page.DetectedLanguage.Builder
Returns
Type Description
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
Name Description
index int
value Document.Page.DetectedLanguage
Returns
Type Description
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
Name Description
index int
builderForValue Document.Page.DetectedLanguage.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value Document.Page.Table.TableRow
Returns
Type Description
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
Name Description
builderForValue Document.Page.Table.TableRow.Builder
Returns
Type Description
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
Name Description
index int
value Document.Page.Table.TableRow
Returns
Type Description
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
Name Description
index int
builderForValue Document.Page.Table.TableRow.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Document.Page.Table.TableRow.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Document.Page.Table.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.Page.Table.Builder
Overrides

build()

public Document.Page.Table build()
Returns
Type Description
Document.Page.Table

buildPartial()

public Document.Page.Table buildPartial()
Returns
Type Description
Document.Page.Table

clear()

public Document.Page.Table.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
Document.Page.Table.Builder

clearField(Descriptors.FieldDescriptor field)

public Document.Page.Table.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Document.Page.Table.Builder

clearLayout()

public Document.Page.Table.Builder clearLayout()

Layout for Table.

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

Returns
Type Description
Document.Page.Table.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.Page.Table.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Document.Page.Table.Builder
Overrides

clearProvenance() (deprecated)

public Document.Page.Table.Builder clearProvenance()

The history of this table.

.google.cloud.documentai.v1.Document.Provenance provenance = 5 [deprecated = true];

Returns
Type Description
Document.Page.Table.Builder

clone()

public Document.Page.Table.Builder clone()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getBodyRowsCount()

public int getBodyRowsCount()

Body rows of the table.

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.documentai.v1.Document.Page.Table.TableRowOrBuilder>

getDefaultInstanceForType()

public Document.Page.Table getDefaultInstanceForType()
Returns
Type Description
Document.Page.Table

getDescriptorForType()

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

getDetectedLanguages(int index)

public Document.Page.DetectedLanguage getDetectedLanguages(int index)

A list of detected languages together with confidence.

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

Parameter
Name Description
index int
Returns
Type Description
Document.Page.DetectedLanguage

getDetectedLanguagesBuilder(int index)

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

A list of detected languages together with confidence.

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

Parameter
Name Description
index int
Returns
Type Description
Document.Page.DetectedLanguage.Builder

getDetectedLanguagesBuilderList()

public List<Document.Page.DetectedLanguage.Builder> getDetectedLanguagesBuilderList()

A list of detected languages together with confidence.

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

Returns
Type Description
List<Builder>

getDetectedLanguagesCount()

public int getDetectedLanguagesCount()

A list of detected languages together with confidence.

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

Returns
Type Description
int

getDetectedLanguagesList()

public List<Document.Page.DetectedLanguage> getDetectedLanguagesList()

A list of detected languages together with confidence.

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

Returns
Type Description
List<DetectedLanguage>

getDetectedLanguagesOrBuilder(int index)

public Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)

A list of detected languages together with confidence.

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

Parameter
Name Description
index int
Returns
Type Description
Document.Page.DetectedLanguageOrBuilder

getDetectedLanguagesOrBuilderList()

public List<? extends Document.Page.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()

A list of detected languages together with confidence.

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

Returns
Type Description
List<? extends com.google.cloud.documentai.v1.Document.Page.DetectedLanguageOrBuilder>

getHeaderRows(int index)

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

Header rows of the table.

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

Parameter
Name Description
index int
Returns
Type Description
Document.Page.Table.TableRow

getHeaderRowsBuilder(int index)

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

Header rows of the table.

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

Parameter
Name Description
index int
Returns
Type Description
Document.Page.Table.TableRow.Builder

getHeaderRowsBuilderList()

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

Header rows of the table.

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

Returns
Type Description
List<Builder>

getHeaderRowsCount()

public int getHeaderRowsCount()

Header rows of the table.

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

Returns
Type Description
int

getHeaderRowsList()

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

Header rows of the table.

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

Returns
Type Description
List<TableRow>

getHeaderRowsOrBuilder(int index)

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

Header rows of the table.

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

Parameter
Name Description
index int
Returns
Type Description
Document.Page.Table.TableRowOrBuilder

getHeaderRowsOrBuilderList()

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

Header rows of the table.

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

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

getLayout()

public Document.Page.Layout getLayout()

Layout for Table.

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

Returns
Type Description
Document.Page.Layout

The layout.

getLayoutBuilder()

public Document.Page.Layout.Builder getLayoutBuilder()

Layout for Table.

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

Returns
Type Description
Document.Page.Layout.Builder

getLayoutOrBuilder()

public Document.Page.LayoutOrBuilder getLayoutOrBuilder()

Layout for Table.

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

Returns
Type Description
Document.Page.LayoutOrBuilder

getProvenance() (deprecated)

public Document.Provenance getProvenance()

Deprecated. google.cloud.documentai.v1.Document.Page.Table.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=395

The history of this table.

.google.cloud.documentai.v1.Document.Provenance provenance = 5 [deprecated = true];

Returns
Type Description
Document.Provenance

The provenance.

getProvenanceBuilder() (deprecated)

public Document.Provenance.Builder getProvenanceBuilder()

The history of this table.

.google.cloud.documentai.v1.Document.Provenance provenance = 5 [deprecated = true];

Returns
Type Description
Document.Provenance.Builder

getProvenanceOrBuilder() (deprecated)

public Document.ProvenanceOrBuilder getProvenanceOrBuilder()

The history of this table.

.google.cloud.documentai.v1.Document.Provenance provenance = 5 [deprecated = true];

Returns
Type Description
Document.ProvenanceOrBuilder

hasLayout()

public boolean hasLayout()

Layout for Table.

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

Returns
Type Description
boolean

Whether the layout field is set.

hasProvenance() (deprecated)

public boolean hasProvenance()

Deprecated. google.cloud.documentai.v1.Document.Page.Table.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=395

The history of this table.

.google.cloud.documentai.v1.Document.Provenance provenance = 5 [deprecated = true];

Returns
Type Description
boolean

Whether the provenance field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.Page.Table other)

public Document.Page.Table.Builder mergeFrom(Document.Page.Table other)
Parameter
Name Description
other Document.Page.Table
Returns
Type Description
Document.Page.Table.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Document.Page.Table.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Document.Page.Table.Builder
Overrides

mergeLayout(Document.Page.Layout value)

public Document.Page.Table.Builder mergeLayout(Document.Page.Layout value)

Layout for Table.

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

Parameter
Name Description
value Document.Page.Layout
Returns
Type Description
Document.Page.Table.Builder

mergeProvenance(Document.Provenance value) (deprecated)

public Document.Page.Table.Builder mergeProvenance(Document.Provenance value)

The history of this table.

.google.cloud.documentai.v1.Document.Provenance provenance = 5 [deprecated = true];

Parameter
Name Description
value Document.Provenance
Returns
Type Description
Document.Page.Table.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.Page.Table.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.Page.Table.Builder
Overrides

removeBodyRows(int index)

public Document.Page.Table.Builder removeBodyRows(int index)

Body rows of the table.

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

Parameter
Name Description
index int
Returns
Type Description
Document.Page.Table.Builder

removeDetectedLanguages(int index)

public Document.Page.Table.Builder removeDetectedLanguages(int index)

A list of detected languages together with confidence.

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

Parameter
Name Description
index int
Returns
Type Description
Document.Page.Table.Builder

removeHeaderRows(int index)

public Document.Page.Table.Builder removeHeaderRows(int index)

Header rows of the table.

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

Parameter
Name Description
index int
Returns
Type Description
Document.Page.Table.Builder

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

public Document.Page.Table.Builder setBodyRows(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
Name Description
index int
value Document.Page.Table.TableRow
Returns
Type Description
Document.Page.Table.Builder

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

public Document.Page.Table.Builder setBodyRows(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
Name Description
index int
builderForValue Document.Page.Table.TableRow.Builder
Returns
Type Description
Document.Page.Table.Builder

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

public Document.Page.Table.Builder setDetectedLanguages(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
Name Description
index int
value Document.Page.DetectedLanguage
Returns
Type Description
Document.Page.Table.Builder

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

public Document.Page.Table.Builder setDetectedLanguages(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
Name Description
index int
builderForValue Document.Page.DetectedLanguage.Builder
Returns
Type Description
Document.Page.Table.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Document.Page.Table.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.Page.Table.Builder
Overrides

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

public Document.Page.Table.Builder setHeaderRows(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
Name Description
index int
value Document.Page.Table.TableRow
Returns
Type Description
Document.Page.Table.Builder

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

public Document.Page.Table.Builder setHeaderRows(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
Name Description
index int
builderForValue Document.Page.Table.TableRow.Builder
Returns
Type Description
Document.Page.Table.Builder

setLayout(Document.Page.Layout value)

public Document.Page.Table.Builder setLayout(Document.Page.Layout value)

Layout for Table.

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

Parameter
Name Description
value Document.Page.Layout
Returns
Type Description
Document.Page.Table.Builder

setLayout(Document.Page.Layout.Builder builderForValue)

public Document.Page.Table.Builder setLayout(Document.Page.Layout.Builder builderForValue)

Layout for Table.

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

Parameter
Name Description
builderForValue Document.Page.Layout.Builder
Returns
Type Description
Document.Page.Table.Builder

setProvenance(Document.Provenance value) (deprecated)

public Document.Page.Table.Builder setProvenance(Document.Provenance value)

The history of this table.

.google.cloud.documentai.v1.Document.Provenance provenance = 5 [deprecated = true];

Parameter
Name Description
value Document.Provenance
Returns
Type Description
Document.Page.Table.Builder

setProvenance(Document.Provenance.Builder builderForValue) (deprecated)

public Document.Page.Table.Builder setProvenance(Document.Provenance.Builder builderForValue)

The history of this table.

.google.cloud.documentai.v1.Document.Provenance provenance = 5 [deprecated = true];

Parameter
Name Description
builderForValue Document.Provenance.Builder
Returns
Type Description
Document.Page.Table.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Document.Page.Table.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.Page.Table.Builder
Overrides