Interface TableExtractionParamsOrBuilder (2.48.0)

public interface TableExtractionParamsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

Whether to enable table extraction.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getHeaderHints(int index)

public abstract String getHeaderHints(int index)

Optional. Reserved for future use.

repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The headerHints at the given index.

getHeaderHintsBytes(int index)

public abstract ByteString getHeaderHintsBytes(int index)

Optional. Reserved for future use.

repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the headerHints at the given index.

getHeaderHintsCount()

public abstract int getHeaderHintsCount()

Optional. Reserved for future use.

repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of headerHints.

getHeaderHintsList()

public abstract List<String> getHeaderHintsList()

Optional. Reserved for future use.

repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the headerHints.

getModelVersion()

public abstract String getModelVersion()

Model version of the table extraction system. Default is "builtin/stable". Specify "builtin/latest" for the latest model.

string model_version = 4;

Returns
Type Description
String

The modelVersion.

getModelVersionBytes()

public abstract ByteString getModelVersionBytes()

Model version of the table extraction system. Default is "builtin/stable". Specify "builtin/latest" for the latest model.

string model_version = 4;

Returns
Type Description
ByteString

The bytes for modelVersion.

getTableBoundHints(int index)

public abstract TableBoundHint getTableBoundHints(int index)

Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.

repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TableBoundHint

getTableBoundHintsCount()

public abstract int getTableBoundHintsCount()

Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.

repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTableBoundHintsList()

public abstract List<TableBoundHint> getTableBoundHintsList()

Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.

repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<TableBoundHint>

getTableBoundHintsOrBuilder(int index)

public abstract TableBoundHintOrBuilder getTableBoundHintsOrBuilder(int index)

Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.

repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TableBoundHintOrBuilder

getTableBoundHintsOrBuilderList()

public abstract List<? extends TableBoundHintOrBuilder> getTableBoundHintsOrBuilderList()

Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.

repeated .google.cloud.documentai.v1beta2.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.documentai.v1beta2.TableBoundHintOrBuilder>