Interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig, DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig.Builder
Enclosing class:
DocumentProcessingConfig.ParsingConfig

public static interface DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getEnableTableAnnotation

      boolean getEnableTableAnnotation()
       Optional. If true, the LLM based annotation is added to the table
       during parsing.
       
      bool enable_table_annotation = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enableTableAnnotation.
    • getEnableImageAnnotation

      boolean getEnableImageAnnotation()
       Optional. If true, the LLM based annotation is added to the image
       during parsing.
       
      bool enable_image_annotation = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enableImageAnnotation.
    • getStructuredContentTypesList

      List<String> getStructuredContentTypesList()
       Optional. Contains the required structure types to extract from the
       document. Supported values:
      
       * `shareholder-structure`
       
      repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the structuredContentTypes.
    • getStructuredContentTypesCount

      int getStructuredContentTypesCount()
       Optional. Contains the required structure types to extract from the
       document. Supported values:
      
       * `shareholder-structure`
       
      repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of structuredContentTypes.
    • getStructuredContentTypes

      String getStructuredContentTypes(int index)
       Optional. Contains the required structure types to extract from the
       document. Supported values:
      
       * `shareholder-structure`
       
      repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The structuredContentTypes at the given index.
    • getStructuredContentTypesBytes

      com.google.protobuf.ByteString getStructuredContentTypesBytes(int index)
       Optional. Contains the required structure types to extract from the
       document. Supported values:
      
       * `shareholder-structure`
       
      repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the structuredContentTypes at the given index.
    • getExcludeHtmlElementsList

      List<String> getExcludeHtmlElementsList()
       Optional. List of HTML elements to exclude from the parsed content.
       
      repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the excludeHtmlElements.
    • getExcludeHtmlElementsCount

      int getExcludeHtmlElementsCount()
       Optional. List of HTML elements to exclude from the parsed content.
       
      repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of excludeHtmlElements.
    • getExcludeHtmlElements

      String getExcludeHtmlElements(int index)
       Optional. List of HTML elements to exclude from the parsed content.
       
      repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludeHtmlElements at the given index.
    • getExcludeHtmlElementsBytes

      com.google.protobuf.ByteString getExcludeHtmlElementsBytes(int index)
       Optional. List of HTML elements to exclude from the parsed content.
       
      repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludeHtmlElements at the given index.
    • getExcludeHtmlClassesList

      List<String> getExcludeHtmlClassesList()
       Optional. List of HTML classes to exclude from the parsed content.
       
      repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the excludeHtmlClasses.
    • getExcludeHtmlClassesCount

      int getExcludeHtmlClassesCount()
       Optional. List of HTML classes to exclude from the parsed content.
       
      repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of excludeHtmlClasses.
    • getExcludeHtmlClasses

      String getExcludeHtmlClasses(int index)
       Optional. List of HTML classes to exclude from the parsed content.
       
      repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludeHtmlClasses at the given index.
    • getExcludeHtmlClassesBytes

      com.google.protobuf.ByteString getExcludeHtmlClassesBytes(int index)
       Optional. List of HTML classes to exclude from the parsed content.
       
      repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludeHtmlClasses at the given index.
    • getExcludeHtmlIdsList

      List<String> getExcludeHtmlIdsList()
       Optional. List of HTML ids to exclude from the parsed content.
       
      repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the excludeHtmlIds.
    • getExcludeHtmlIdsCount

      int getExcludeHtmlIdsCount()
       Optional. List of HTML ids to exclude from the parsed content.
       
      repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of excludeHtmlIds.
    • getExcludeHtmlIds

      String getExcludeHtmlIds(int index)
       Optional. List of HTML ids to exclude from the parsed content.
       
      repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludeHtmlIds at the given index.
    • getExcludeHtmlIdsBytes

      com.google.protobuf.ByteString getExcludeHtmlIdsBytes(int index)
       Optional. List of HTML ids to exclude from the parsed content.
       
      repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludeHtmlIds at the given index.