Class Document.Page.Table.TableCell.Builder (2.2.1)

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

A cell representation inside the table.

Protobuf type google.cloud.documentai.v1beta1.Document.Page.Table.TableCell

Static Methods

getDescriptor()

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

Methods

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

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

A list of detected languages together with confidence.

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

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

addDetectedLanguages(Document.Page.DetectedLanguage value)

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

A list of detected languages together with confidence.

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

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

addDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)

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

A list of detected languages together with confidence.

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

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

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

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

A list of detected languages together with confidence.

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

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

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

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

A list of detected languages together with confidence.

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

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

addDetectedLanguagesBuilder()

public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder()

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1beta1.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.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearColSpan()

public Document.Page.Table.TableCell.Builder clearColSpan()

How many columns this cell spans.

int32 col_span = 3;

Returns
TypeDescription
Document.Page.Table.TableCell.Builder

This builder for chaining.

clearDetectedLanguages()

public Document.Page.Table.TableCell.Builder clearDetectedLanguages()

A list of detected languages together with confidence.

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

Returns
TypeDescription
Document.Page.Table.TableCell.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLayout()

public Document.Page.Table.TableCell.Builder clearLayout()

Layout for TableCell.

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

Returns
TypeDescription
Document.Page.Table.TableCell.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowSpan()

public Document.Page.Table.TableCell.Builder clearRowSpan()

How many rows this cell spans.

int32 row_span = 2;

Returns
TypeDescription
Document.Page.Table.TableCell.Builder

This builder for chaining.

clone()

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

getColSpan()

public int getColSpan()

How many columns this cell spans.

int32 col_span = 3;

Returns
TypeDescription
int

The colSpan.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetectedLanguages(int index)

public Document.Page.DetectedLanguage getDetectedLanguages(int index)

A list of detected languages together with confidence.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;

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

getDetectedLanguagesBuilderList()

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

A list of detected languages together with confidence.

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

Returns
TypeDescription
List<Builder>

getDetectedLanguagesCount()

public int getDetectedLanguagesCount()

A list of detected languages together with confidence.

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

Returns
TypeDescription
int

getDetectedLanguagesList()

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

A list of detected languages together with confidence.

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

Returns
TypeDescription
List<DetectedLanguage>

getDetectedLanguagesOrBuilder(int index)

public Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)

A list of detected languages together with confidence.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.DetectedLanguageOrBuilder

getDetectedLanguagesOrBuilderList()

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

A list of detected languages together with confidence.

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

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.DetectedLanguageOrBuilder>

getLayout()

public Document.Page.Layout getLayout()

Layout for TableCell.

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

Returns
TypeDescription
Document.Page.Layout

The layout.

getLayoutBuilder()

public Document.Page.Layout.Builder getLayoutBuilder()

Layout for TableCell.

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

Returns
TypeDescription
Document.Page.Layout.Builder

getLayoutOrBuilder()

public Document.Page.LayoutOrBuilder getLayoutOrBuilder()

Layout for TableCell.

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

Returns
TypeDescription
Document.Page.LayoutOrBuilder

getRowSpan()

public int getRowSpan()

How many rows this cell spans.

int32 row_span = 2;

Returns
TypeDescription
int

The rowSpan.

hasLayout()

public boolean hasLayout()

Layout for TableCell.

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

Returns
TypeDescription
boolean

Whether the layout field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Document.Page.Table.TableCell other)

public Document.Page.Table.TableCell.Builder mergeFrom(Document.Page.Table.TableCell other)
Parameter
NameDescription
otherDocument.Page.Table.TableCell
Returns
TypeDescription
Document.Page.Table.TableCell.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Document.Page.Table.TableCell.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Document.Page.Table.TableCell.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Document.Page.Table.TableCell.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Document.Page.Table.TableCell.Builder
Overrides

mergeLayout(Document.Page.Layout value)

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

Layout for TableCell.

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

Parameter
NameDescription
valueDocument.Page.Layout
Returns
TypeDescription
Document.Page.Table.TableCell.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.Page.Table.TableCell.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Document.Page.Table.TableCell.Builder
Overrides

removeDetectedLanguages(int index)

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

A list of detected languages together with confidence.

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

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

setColSpan(int value)

public Document.Page.Table.TableCell.Builder setColSpan(int value)

How many columns this cell spans.

int32 col_span = 3;

Parameter
NameDescription
valueint

The colSpan to set.

Returns
TypeDescription
Document.Page.Table.TableCell.Builder

This builder for chaining.

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

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

A list of detected languages together with confidence.

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

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

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

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

A list of detected languages together with confidence.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLayout(Document.Page.Layout value)

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

Layout for TableCell.

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

Parameter
NameDescription
valueDocument.Page.Layout
Returns
TypeDescription
Document.Page.Table.TableCell.Builder

setLayout(Document.Page.Layout.Builder builderForValue)

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

Layout for TableCell.

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

Parameter
NameDescription
builderForValueDocument.Page.Layout.Builder
Returns
TypeDescription
Document.Page.Table.TableCell.Builder

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

public Document.Page.Table.TableCell.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Document.Page.Table.TableCell.Builder
Overrides

setRowSpan(int value)

public Document.Page.Table.TableCell.Builder setRowSpan(int value)

How many rows this cell spans.

int32 row_span = 2;

Parameter
NameDescription
valueint

The rowSpan to set.

Returns
TypeDescription
Document.Page.Table.TableCell.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Document.Page.Table.TableCell.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Document.Page.Table.TableCell.Builder
Overrides