Interface DocumentProcessingConfig.ParsingConfig.OcrParsingConfigOrBuilder

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

public static interface DocumentProcessingConfig.ParsingConfig.OcrParsingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated.
    int
    Deprecated.
    google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated.
    Deprecated.
    google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated.
    boolean
    If true, will use native text instead of OCR text on pages containing native text.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getEnhancedDocumentElementsList

      @Deprecated List<String> getEnhancedDocumentElementsList()
      Deprecated.
      google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=76
       [DEPRECATED] This field is deprecated. To use the additional enhanced
       document elements processing, please switch to `layout_parsing_config`.
       
      repeated string enhanced_document_elements = 1 [deprecated = true];
      Returns:
      A list containing the enhancedDocumentElements.
    • getEnhancedDocumentElementsCount

      @Deprecated int getEnhancedDocumentElementsCount()
      Deprecated.
      google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=76
       [DEPRECATED] This field is deprecated. To use the additional enhanced
       document elements processing, please switch to `layout_parsing_config`.
       
      repeated string enhanced_document_elements = 1 [deprecated = true];
      Returns:
      The count of enhancedDocumentElements.
    • getEnhancedDocumentElements

      @Deprecated String getEnhancedDocumentElements(int index)
      Deprecated.
      google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=76
       [DEPRECATED] This field is deprecated. To use the additional enhanced
       document elements processing, please switch to `layout_parsing_config`.
       
      repeated string enhanced_document_elements = 1 [deprecated = true];
      Parameters:
      index - The index of the element to return.
      Returns:
      The enhancedDocumentElements at the given index.
    • getEnhancedDocumentElementsBytes

      @Deprecated com.google.protobuf.ByteString getEnhancedDocumentElementsBytes(int index)
      Deprecated.
      google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig.enhanced_document_elements is deprecated. See google/cloud/discoveryengine/v1beta/document_processing_config.proto;l=76
       [DEPRECATED] This field is deprecated. To use the additional enhanced
       document elements processing, please switch to `layout_parsing_config`.
       
      repeated string enhanced_document_elements = 1 [deprecated = true];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the enhancedDocumentElements at the given index.
    • getUseNativeText

      boolean getUseNativeText()
       If true, will use native text instead of OCR text on pages containing
       native text.
       
      bool use_native_text = 2;
      Returns:
      The useNativeText.