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

require 'google/protobuf'


descriptor_data = "\n.couchbase/admin/collection/v1/collection.proto\x12\x1d\x63ouchbase.admin.collection.v1\"-\n\x16ListCollectionsRequest\x12\x13\n\x0b\x62ucket_name\x18\x01 \x01(\t\"\xa4\x02\n\x17ListCollectionsResponse\x12L\n\x06scopes\x18\x01 \x03(\x0b\x32<.couchbase.admin.collection.v1.ListCollectionsResponse.Scope\x1aL\n\nCollection\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1c\n\x0fmax_expiry_secs\x18\x02 \x01(\rH\x00\x88\x01\x01\x42\x12\n\x10_max_expiry_secs\x1am\n\x05Scope\x12\x0c\n\x04name\x18\x01 \x01(\t\x12V\n\x0b\x63ollections\x18\x02 \x03(\x0b\x32\x41.couchbase.admin.collection.v1.ListCollectionsResponse.Collection\"=\n\x12\x43reateScopeRequest\x12\x13\n\x0b\x62ucket_name\x18\x01 \x01(\t\x12\x12\n\nscope_name\x18\x02 \x01(\t\"\x15\n\x13\x43reateScopeResponse\"=\n\x12\x44\x65leteScopeRequest\x12\x13\n\x0b\x62ucket_name\x18\x01 \x01(\t\x12\x12\n\nscope_name\x18\x02 \x01(\t\"\x15\n\x13\x44\x65leteScopeResponse\"\x8d\x01\n\x17\x43reateCollectionRequest\x12\x13\n\x0b\x62ucket_name\x18\x01 \x01(\t\x12\x12\n\nscope_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x1c\n\x0fmax_expiry_secs\x18\x04 \x01(\rH\x00\x88\x01\x01\x42\x12\n\x10_max_expiry_secs\"\x1a\n\x18\x43reateCollectionResponse\"[\n\x17\x44\x65leteCollectionRequest\x12\x13\n\x0b\x62ucket_name\x18\x01 \x01(\t\x12\x12\n\nscope_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\"\x1a\n\x18\x44\x65leteCollectionResponse2\x9d\x05\n\x16\x43ollectionAdminService\x12\x82\x01\n\x0fListCollections\x12\x35.couchbase.admin.collection.v1.ListCollectionsRequest\x1a\x36.couchbase.admin.collection.v1.ListCollectionsResponse\"\x00\x12v\n\x0b\x43reateScope\x12\x31.couchbase.admin.collection.v1.CreateScopeRequest\x1a\x32.couchbase.admin.collection.v1.CreateScopeResponse\"\x00\x12v\n\x0b\x44\x65leteScope\x12\x31.couchbase.admin.collection.v1.DeleteScopeRequest\x1a\x32.couchbase.admin.collection.v1.DeleteScopeResponse\"\x00\x12\x85\x01\n\x10\x43reateCollection\x12\x36.couchbase.admin.collection.v1.CreateCollectionRequest\x1a\x37.couchbase.admin.collection.v1.CreateCollectionResponse\"\x00\x12\x85\x01\n\x10\x44\x65leteCollection\x12\x36.couchbase.admin.collection.v1.DeleteCollectionRequest\x1a\x37.couchbase.admin.collection.v1.DeleteCollectionResponse\"\x00\x42\xaf\x02\n5com.couchbase.client.protostellar.admin.collection.v1P\x01ZTgithub.com/couchbase/goprotostellar/genproto/admin_collection_v1;admin_collection_v1\xaa\x02*Couchbase.Protostellar.Admin.Collection.V1\xca\x02\x34\x43ouchbase\\Protostellar\\Generated\\Admin\\Collection\\V1\xea\x02\x39\x43ouchbase::Protostellar::Generated::Admin::Collection::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 Collection
          module V1
            ListCollectionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.ListCollectionsRequest").msgclass
            ListCollectionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.ListCollectionsResponse").msgclass
            ListCollectionsResponse::Collection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.ListCollectionsResponse.Collection").msgclass
            ListCollectionsResponse::Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.ListCollectionsResponse.Scope").msgclass
            CreateScopeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.CreateScopeRequest").msgclass
            CreateScopeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.CreateScopeResponse").msgclass
            DeleteScopeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.DeleteScopeRequest").msgclass
            DeleteScopeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.DeleteScopeResponse").msgclass
            CreateCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.CreateCollectionRequest").msgclass
            CreateCollectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.CreateCollectionResponse").msgclass
            DeleteCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.DeleteCollectionRequest").msgclass
            DeleteCollectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("couchbase.admin.collection.v1.DeleteCollectionResponse").msgclass
          end
        end
      end
    end
  end
end
