Interface TableExtractionParamsOrBuilder (2.18.0)

public interface TableExtractionParamsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

Whether to enable table extraction.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getHeaderHints(int index)

public abstract String getHeaderHints(int index)

Optional. Table header hints. The extraction will bias towards producing these terms as table headers, which may improve accuracy.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The headerHints at the given index.

getHeaderHintsBytes(int index)

public abstract ByteString getHeaderHintsBytes(int index)

Optional. Table header hints. The extraction will bias towards producing these terms as table headers, which may improve accuracy.

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

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the headerHints at the given index.

getHeaderHintsCount()

public abstract int getHeaderHintsCount()

Optional. Table header hints. The extraction will bias towards producing these terms as table headers, which may improve accuracy.

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

Returns
TypeDescription
int

The count of headerHints.

getHeaderHintsList()

public abstract List<String> getHeaderHintsList()

Optional. Table header hints. The extraction will bias towards producing these terms as table headers, which may improve accuracy.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.documentai.v1beta2.TableBoundHintOrBuilder>