Interface Document.Page.Table.TableCellOrBuilder

public static interface Document.Page.Table.TableCellOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getColSpan()

public abstract int getColSpan()

How many columns this cell spans.

int32 col_span = 3;

Returns
TypeDescription
int

The colSpan.

getDetectedLanguages(int index)

public abstract Document.Page.DetectedLanguage getDetectedLanguages(int index)

A list of detected languages together with confidence.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.DetectedLanguage

getDetectedLanguagesCount()

public abstract int getDetectedLanguagesCount()

A list of detected languages together with confidence.

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

Returns
TypeDescription
int

getDetectedLanguagesList()

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

A list of detected languages together with confidence.

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

Returns
TypeDescription
List<DetectedLanguage>

getDetectedLanguagesOrBuilder(int index)

public abstract Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)

A list of detected languages together with confidence.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.DetectedLanguageOrBuilder

getDetectedLanguagesOrBuilderList()

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

A list of detected languages together with confidence.

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

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

getLayout()

public abstract Document.Page.Layout getLayout()

Layout for TableCell.

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

Returns
TypeDescription
Document.Page.Layout

The layout.

getLayoutOrBuilder()

public abstract Document.Page.LayoutOrBuilder getLayoutOrBuilder()

Layout for TableCell.

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

Returns
TypeDescription
Document.Page.LayoutOrBuilder

getRowSpan()

public abstract int getRowSpan()

How many rows this cell spans.

int32 row_span = 2;

Returns
TypeDescription
int

The rowSpan.

hasLayout()

public abstract boolean hasLayout()

Layout for TableCell.

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

Returns
TypeDescription
boolean

Whether the layout field is set.