# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: couchbase/admin/search/v1/search.proto

require 'google/protobuf'


descriptor_data = "\n&couchbase/admin/search/v1/search.proto\x12\x19\x63ouchbase.admin.search.v1\"\x96\x04\n\x05Index\x12\x0c\n\x04name\x18\x01 \x01(\t\x12<\n\x06params\x18\x02 \x03(\x0b\x32,.couchbase.admin.search.v1.Index.ParamsEntry\x12\x45\n\x0bplan_params\x18\x03 \x03(\x0b\x32\x30.couchbase.admin.search.v1.Index.PlanParamsEntry\x12\x18\n\x0bsource_name\x18\x04 \x01(\tH\x00\x88\x01\x01\x12I\n\rsource_params\x18\x05 \x03(\x0b\x32\x32.couchbase.admin.search.v1.Index.SourceParamsEntry\x12\x18\n\x0bsource_type\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0bsource_uuid\x18\x07 \x01(\tH\x02\x88\x01\x01\x12\x0c\n\x04type\x18\x08 \x01(\t\x12\x0c\n\x04uuid\x18\t \x01(\t\x1a-\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x31\n\x0fPlanParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x33\n\x11SourceParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x42\x0e\n\x0c_source_nameB\x0e\n\x0c_source_typeB\x0e\n\x0c_source_uuid\"\xc0\x05\n\x12\x43reateIndexRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12I\n\x06params\x18\x02 \x03(\x0b\x32\x39.couchbase.admin.search.v1.CreateIndexRequest.ParamsEntry\x12R\n\x0bplan_params\x18\x03 \x03(\x0b\x32=.couchbase.admin.search.v1.CreateIndexRequest.PlanParamsEntry\x12\x1c\n\x0fprev_index_uuid\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0bsource_name\x18\x05 \x01(\tH\x01\x88\x01\x01\x12V\n\rsource_params\x18\x06 \x03(\x0b\x32?.couchbase.admin.search.v1.CreateIndexRequest.SourceParamsEntry\x12\x18\n\x0bsource_type\x18\x07 \x01(\tH\x02\x88\x01\x01\x12\x18\n\x0bsource_uuid\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x0c\n\x04type\x18\t \x01(\t\x12\x18\n\x0b\x62ucket_name\x18\n \x01(\tH\x04\x88\x01\x01\x12\x17\n\nscope_name\x18\x0b \x01(\tH\x05\x88\x01\x01\x1a-\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x31\n\x0fPlanParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x33\n\x11SourceParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x42\x12\n\x10_prev_index_uuidB\x0e\n\x0c_source_nameB\x0e\n\x0c_source_typeB\x0e\n\x0c_source_uuidB\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"\x15\n\x13\x43reateIndexResponse\"\x97\x01\n\x12UpdateIndexRequest\x12/\n\x05index\x18\x01 \x01(\x0b\x32 .couchbase.admin.search.v1.Index\x12\x18\n\x0b\x62ucket_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"\x15\n\x13UpdateIndexResponse\"q\n\x0fGetIndexRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x62ucket_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"C\n\x10GetIndexResponse\x12/\n\x05index\x18\x01 \x01(\x0b\x32 .couchbase.admin.search.v1.Index\"f\n\x12ListIndexesRequest\x12\x18\n\x0b\x62ucket_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"H\n\x13ListIndexesResponse\x12\x31\n\x07indexes\x18\x01 \x03(\x0b\x32 .couchbase.admin.search.v1.Index\"t\n\x12\x44\x65leteIndexRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x62ucket_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"\x15\n\x13\x44\x65leteIndexResponse\"\x85\x01\n\x16\x41nalyzeDocumentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x64oc\x18\x02 \x01(\x0c\x12\x18\n\x0b\x62ucket_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\";\n\x17\x41nalyzeDocumentResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x10\n\x08\x61nalyzed\x18\x02 \x01(\x0c\"\x81\x01\n\x1fGetIndexedDocumentsCountRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x62ucket_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"1\n GetIndexedDocumentsCountResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x04\"y\n\x17PauseIndexIngestRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x62ucket_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"\x1a\n\x18PauseIndexIngestResponse\"z\n\x18ResumeIndexIngestRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x62ucket_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"\x1b\n\x19ResumeIndexIngestResponse\"{\n\x19\x41llowIndexQueryingRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x62ucket_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"\x1c\n\x1a\x41llowIndexQueryingResponse\"~\n\x1c\x44isallowIndexQueryingRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x62ucket_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"\x1f\n\x1d\x44isallowIndexQueryingResponse\"x\n\x16\x46reezeIndexPlanRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x62ucket_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"\x19\n\x17\x46reezeIndexPlanResponse\"z\n\x18UnfreezeIndexPlanRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x62ucket_name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nscope_name\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_bucket_nameB\r\n\x0b_scope_name\"\x1b\n\x19UnfreezeIndexPlanResponse2\xe5\x0c\n\x12SearchAdminService\x12\x65\n\x08GetIndex\x12*.couchbase.admin.search.v1.GetIndexRequest\x1a+.couchbase.admin.search.v1.GetIndexResponse\"\x00\x12n\n\x0bListIndexes\x12-.couchbase.admin.search.v1.ListIndexesRequest\x1a..couchbase.admin.search.v1.ListIndexesResponse\"\x00\x12n\n\x0b\x43reateIndex\x12-.couchbase.admin.search.v1.CreateIndexRequest\x1a..couchbase.admin.search.v1.CreateIndexResponse\"\x00\x12n\n\x0bUpdateIndex\x12-.couchbase.admin.search.v1.UpdateIndexRequest\x1a..couchbase.admin.search.v1.UpdateIndexResponse\"\x00\x12n\n\x0b\x44\x65leteIndex\x12-.couchbase.admin.search.v1.DeleteIndexRequest\x1a..couchbase.admin.search.v1.DeleteIndexResponse\"\x00\x12z\n\x0f\x41nalyzeDocument\x12\x31.couchbase.admin.search.v1.AnalyzeDocumentRequest\x1a\x32.couchbase.admin.search.v1.AnalyzeDocumentResponse\"\x00\x12\x95\x01\n\x18GetIndexedDocumentsCount\x12:.couchbase.admin.search.v1.GetIndexedDocumentsCountRequest\x1a;.couchbase.admin.search.v1.GetIndexedDocumentsCountResponse\"\x00\x12}\n\x10PauseIndexIngest\x12\x32.couchbase.admin.search.v1.PauseIndexIngestRequest\x1a\x33.couchbase.admin.search.v1.PauseIndexIngestResponse\"\x00\x12\x80\x01\n\x11ResumeIndexIngest\x12\x33.couchbase.admin.search.v1.ResumeIndexIngestRequest\x1a\x34.couchbase.admin.search.v1.ResumeIndexIngestResponse\"\x00\x12\x83\x01\n\x12\x41llowIndexQuerying\x12\x34.couchbase.admin.search.v1.AllowIndexQueryingRequest\x1a\x35.couchbase.admin.search.v1.AllowIndexQueryingResponse\"\x00\x12\x8c\x01\n\x15\x44isallowIndexQuerying\x12\x37.couchbase.admin.search.v1.DisallowIndexQueryingRequest\x1a\x38.couchbase.admin.search.v1.DisallowIndexQueryingResponse\"\x00\x12z\n\x0f\x46reezeIndexPlan\x12\x31.couchbase.admin.search.v1.FreezeIndexPlanRequest\x1a\x32.couchbase.admin.search.v1.FreezeIndexPlanResponse\"\x00\x12\x80\x01\n\x11UnfreezeIndexPlan\x12\x33.couchbase.admin.search.v1.UnfreezeIndexPlanRequest\x1a\x34.couchbase.admin.search.v1.UnfreezeIndexPlanResponse\"\x00\x42\x97\x02\n1com.couchbase.client.protostellar.admin.search.v1P\x01ZLgithub.com/couchbase/goprotostellar/genproto/admin_search_v1;admin_search_v1\xaa\x02&Couchbase.Protostellar.Admin.Search.V1\xca\x02\x30\x43ouchbase\\Protostellar\\Generated\\Admin\\Search\\V1\xea\x02\x35\x43ouchbase::Protostellar::Generated::Admin::Search::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError => e
  # 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 Couchbase
  module Protostellar
    module Generated
      module Admin
        module Search
          module V1
            Index = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.Index").msgclass
            CreateIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.CreateIndexRequest").msgclass
            CreateIndexResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.CreateIndexResponse").msgclass
            UpdateIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.UpdateIndexRequest").msgclass
            UpdateIndexResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.UpdateIndexResponse").msgclass
            GetIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.GetIndexRequest").msgclass
            GetIndexResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.GetIndexResponse").msgclass
            ListIndexesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.ListIndexesRequest").msgclass
            ListIndexesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.ListIndexesResponse").msgclass
            DeleteIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.DeleteIndexRequest").msgclass
            DeleteIndexResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.DeleteIndexResponse").msgclass
            AnalyzeDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.AnalyzeDocumentRequest").msgclass
            AnalyzeDocumentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.AnalyzeDocumentResponse").msgclass
            GetIndexedDocumentsCountRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.GetIndexedDocumentsCountRequest").msgclass
            GetIndexedDocumentsCountResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.GetIndexedDocumentsCountResponse").msgclass
            PauseIndexIngestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.PauseIndexIngestRequest").msgclass
            PauseIndexIngestResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.PauseIndexIngestResponse").msgclass
            ResumeIndexIngestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.ResumeIndexIngestRequest").msgclass
            ResumeIndexIngestResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.ResumeIndexIngestResponse").msgclass
            AllowIndexQueryingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.AllowIndexQueryingRequest").msgclass
            AllowIndexQueryingResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.AllowIndexQueryingResponse").msgclass
            DisallowIndexQueryingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.DisallowIndexQueryingRequest").msgclass
            DisallowIndexQueryingResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.DisallowIndexQueryingResponse").msgclass
            FreezeIndexPlanRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.FreezeIndexPlanRequest").msgclass
            FreezeIndexPlanResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.FreezeIndexPlanResponse").msgclass
            UnfreezeIndexPlanRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.UnfreezeIndexPlanRequest").msgclass
            UnfreezeIndexPlanResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.search.v1.UnfreezeIndexPlanResponse").msgclass
          end
        end
      end
    end
  end
end
