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 boolean
getEnabled()
Whether to enable table extraction.String
getHeaderHints(int index)
Optional.com.google.protobuf.ByteString
getHeaderHintsBytes(int index)
Optional.int
getHeaderHintsCount()
Optional.List<String>
getHeaderHintsList()
Optional.String
getModelVersion()
Model version of the table extraction system.com.google.protobuf.ByteString
getModelVersionBytes()
Model version of the table extraction system.TableBoundHint
getTableBoundHints(int index)
Optional.int
getTableBoundHintsCount()
Optional.List<TableBoundHint>
getTableBoundHintsList()
Optional.TableBoundHintOrBuilder
getTableBoundHintsOrBuilder(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.
-
-