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 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.TableBoundHint table_bound_hints = 2 [(.google.api.field_behavior) = OPTIONAL];
      • getHeaderHintsList

        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:
        A list containing the headerHints.
      • getHeaderHintsCount

        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:
        The count of headerHints.
      • getHeaderHints

        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];
        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. 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];
        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.