Send feedback
Class TableExtractionParams (2.5.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.5.1 keyboard_arrow_down
public final class TableExtractionParams extends GeneratedMessageV3 implements TableExtractionParamsOrBuilder
Parameters to control table extraction behavior.
Protobuf type google.cloud.documentai.v1beta2.TableExtractionParams
Static Fields
public static final int ENABLED_FIELD_NUMBER
Field Value
public static final int HEADER_HINTS_FIELD_NUMBER
Field Value
public static final int MODEL_VERSION_FIELD_NUMBER
Field Value
public static final int TABLE_BOUND_HINTS_FIELD_NUMBER
Field Value
Static Methods
public static TableExtractionParams getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static TableExtractionParams . Builder newBuilder ()
Returns
public static TableExtractionParams . Builder newBuilder ( TableExtractionParams prototype )
Parameter
Returns
public static TableExtractionParams parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static TableExtractionParams parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static TableExtractionParams parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
public static TableExtractionParams parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static TableExtractionParams parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static TableExtractionParams parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static TableExtractionParams parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static TableExtractionParams parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static TableExtractionParams parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static TableExtractionParams parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static TableExtractionParams parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static TableExtractionParams parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<TableExtractionParams> parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public TableExtractionParams getDefaultInstanceForType ()
Returns
public boolean getEnabled ()
Whether to enable table extraction.
bool enabled = 1;
Returns
public 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
Name Description index int
The index of the element to return.
Returns
Type Description String The headerHints at the given index.
public 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
Name Description index int
The index of the value to return.
Returns
Type Description ByteString The bytes of the headerHints at the given index.
public 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
Type Description int The count of headerHints.
public ProtocolStringList 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
public 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.
public 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.
public Parser<TableExtractionParams> getParserForType ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
public 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
Returns
public 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
public 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
public 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
Returns
public 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 >
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public TableExtractionParams . Builder newBuilderForType ()
Returns
protected TableExtractionParams . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public TableExtractionParams . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]