# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/discoveryengine/v1/document_processing_config.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'


descriptor_data = "\n@google/cloud/discoveryengine/v1/document_processing_config.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x84\x0e\n\x18\x44ocumentProcessingConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x61\n\x0f\x63hunking_config\x18\x03 \x01(\x0b\x32H.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig\x12g\n\x16\x64\x65\x66\x61ult_parsing_config\x18\x04 \x01(\x0b\x32G.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig\x12w\n\x18parsing_config_overrides\x18\x05 \x03(\x0b\x32U.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfigOverridesEntry\x1a\xff\x01\n\x0e\x43hunkingConfig\x12\x8a\x01\n\x1clayout_based_chunking_config\x18\x01 \x01(\x0b\x32\x62.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfigH\x00\x1aR\n\x19LayoutBasedChunkingConfig\x12\x12\n\nchunk_size\x18\x01 \x01(\x05\x12!\n\x19include_ancestor_headings\x18\x02 \x01(\x08\x42\x0c\n\nchunk_mode\x1a\xfc\x05\n\rParsingConfig\x12~\n\x16\x64igital_parsing_config\x18\x01 \x01(\x0b\x32\\.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfigH\x00\x12v\n\x12ocr_parsing_config\x18\x02 \x01(\x0b\x32X.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.OcrParsingConfigH\x00\x12|\n\x15layout_parsing_config\x18\x03 \x01(\x0b\x32[.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfigH\x00\x1a\x16\n\x14\x44igitalParsingConfig\x1aS\n\x10OcrParsingConfig\x12&\n\x1a\x65nhanced_document_elements\x18\x01 \x03(\tB\x02\x18\x01\x12\x17\n\x0fuse_native_text\x18\x02 \x01(\x08\x1a\xee\x01\n\x13LayoutParsingConfig\x12$\n\x17\x65nable_table_annotation\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12$\n\x17\x65nable_image_annotation\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12%\n\x18structured_content_types\x18\t \x03(\tB\x03\xe0\x41\x01\x12\"\n\x15\x65xclude_html_elements\x18\n \x03(\tB\x03\xe0\x41\x01\x12!\n\x14\x65xclude_html_classes\x18\x0b \x03(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x65xclude_html_ids\x18\x0c \x03(\tB\x03\xe0\x41\x01\x42\x17\n\x15type_dedicated_config\x1a\x86\x01\n\x1bParsingConfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12V\n\x05value\x18\x02 \x01(\x0b\x32G.google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig:\x02\x38\x01:\x8a\x02\xea\x41\x86\x02\n7discoveryengine.googleapis.com/DocumentProcessingConfig\x12Xprojects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig\x12qprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfigB\x90\x02\n#com.google.cloud.discoveryengine.v1B\x1d\x44ocumentProcessingConfigProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Cloud
    module DiscoveryEngine
      module V1
        DocumentProcessingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DocumentProcessingConfig").msgclass
        DocumentProcessingConfig::ChunkingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig").msgclass
        DocumentProcessingConfig::ChunkingConfig::LayoutBasedChunkingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfig").msgclass
        DocumentProcessingConfig::ParsingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig").msgclass
        DocumentProcessingConfig::ParsingConfig::DigitalParsingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig").msgclass
        DocumentProcessingConfig::ParsingConfig::OcrParsingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig").msgclass
        DocumentProcessingConfig::ParsingConfig::LayoutParsingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig").msgclass
      end
    end
  end
end
