Google Cloud Document Ai V1 Client - Class TableCell (1.0.1)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class TableCell.

A cell representation inside the table.

Generated from protobuf message google.cloud.documentai.v1.Document.Page.Table.TableCell

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ row_span
int

How many rows this cell spans.

↳ col_span
int

How many columns this cell spans.

↳ detected_languages
array< Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage >

A list of detected languages together with confidence.

getLayout

Layout for TableCell .

Generated from protobuf field .google.cloud.documentai.v1.Document.Page.Layout layout = 1;

Returns
Type
Description

hasLayout

clearLayout

setLayout

Layout for TableCell .

Generated from protobuf field .google.cloud.documentai.v1.Document.Page.Layout layout = 1;

Parameter
Name
Description
Returns
Type
Description
$this

getRowSpan

How many rows this cell spans.

Generated from protobuf field int32 row_span = 2;

Returns
Type
Description
int

setRowSpan

How many rows this cell spans.

Generated from protobuf field int32 row_span = 2;

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getColSpan

How many columns this cell spans.

Generated from protobuf field int32 col_span = 3;

Returns
Type
Description
int

setColSpan

How many columns this cell spans.

Generated from protobuf field int32 col_span = 3;

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getDetectedLanguages

A list of detected languages together with confidence.

Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setDetectedLanguages

A list of detected languages together with confidence.

Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: