Interface TableExtractionParamsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TableExtractionParams,TableExtractionParams.Builder
public interface TableExtractionParamsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetEnabled()Whether to enable table extraction.StringgetHeaderHints(int index)Optional.com.google.protobuf.ByteStringgetHeaderHintsBytes(int index)Optional.intgetHeaderHintsCount()Optional.List<String>getHeaderHintsList()Optional.StringgetModelVersion()Model version of the table extraction system.com.google.protobuf.ByteStringgetModelVersionBytes()Model version of the table extraction system.TableBoundHintgetTableBoundHints(int index)Optional.intgetTableBoundHintsCount()Optional.List<TableBoundHint>getTableBoundHintsList()Optional.TableBoundHintOrBuildergetTableBoundHintsOrBuilder(int index)Optional.List<? extends TableBoundHintOrBuilder>getTableBoundHintsOrBuilderList()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEnabled
boolean getEnabled()
Whether to enable table extraction.
bool enabled = 1;- Returns:
- The enabled.
-
getTableBoundHintsList
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];
-
getTableBoundHints
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];
-
getTableBoundHintsCount
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];
-
getTableBoundHintsOrBuilderList
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];
-
getTableBoundHintsOrBuilder
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];
-
getHeaderHintsList
List<String> getHeaderHintsList()
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the headerHints.
-
getHeaderHintsCount
int getHeaderHintsCount()
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of headerHints.
-
getHeaderHints
String getHeaderHints(int index)
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The headerHints at the given index.
-
getHeaderHintsBytes
com.google.protobuf.ByteString getHeaderHintsBytes(int index)
Optional. Reserved for future use.
repeated string header_hints = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the headerHints at the given index.
-
getModelVersion
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:
- The modelVersion.
-
getModelVersionBytes
com.google.protobuf.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:
- The bytes for modelVersion.
-
-