# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: clappform/client/v1/collection.proto
# Protobuf Python Version: 5.26.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2

from clappform.proto.clappform.client.v1 import \
    version_pb2 as clappform_dot_client_dot_v1_dot_version__pb2
from clappform.proto.clappform.v1 import \
    commons_pb2 as clappform_dot_v1_dot_commons__pb2
from clappform.proto.grpc.gateway.protoc_gen_openapiv2.options import \
    annotations_pb2 as \
    grpc_dot_gateway_dot_protoc__gen__openapiv2_dot_options_dot_annotations__pb2

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$clappform/client/v1/collection.proto\x12\x1e\x63lappform.client.v1.collection\x1a\x1cgoogle/api/annotations.proto\x1a;grpc/gateway/protoc_gen_openapiv2/options/annotations.proto\x1a\x1a\x63lappform/v1/commons.proto\x1a!clappform/client/v1/version.proto\"\xe0\x01\n\nCollection\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04slug\x18\x02 \x01(\t\x12\x10\n\x08settings\x18\x03 \x01(\x0c\x12\x0e\n\x06\x61pp_id\x18\x04 \x01(\t\x12\x15\n\x08\x64\x61tabase\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x06 \x01(\t\x12\x12\n\nupdated_at\x18\x07 \x01(\t\x12\x12\n\ndeleted_at\x18\x08 \x01(\t\x12\x36\n\x08versions\x18\t \x03(\x0b\x32$.clappform.client.v1.version.VersionB\x0b\n\t_database\"\x91\x01\n\rCreateRequest\x12\x0c\n\x04slug\x18\x01 \x01(\t\x12\x10\n\x08settings\x18\x02 \x01(\x0c\x12\x0e\n\x06\x61pp_id\x18\x03 \x01(\t\x12\x43\n\x08\x64\x61tabase\x18\x04 \x01(\x0e\x32,.clappform.client.v1.collection.databaseTypeH\x00\x88\x01\x01\x42\x0b\n\t_database\";\n\rUpdateRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08settings\x18\x02 \x01(\x0c\x12\x0c\n\x04slug\x18\x03 \x01(\t\"\x84\x01\n\x0b\x43ollections\x12?\n\x0b\x63ollections\x18\x01 \x03(\x0b\x32*.clappform.client.v1.collection.Collection\x12\x34\n\npagination\x18\x02 \x01(\x0b\x32 .clappform.v1.commons.Pagination*V\n\x0c\x64\x61tabaseType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\t\n\x05MONGO\x10\x01\x12\x0c\n\x08POSTGRES\x10\x02\x12\x0c\n\x08\x44\x41TALAKE\x10\x03\x12\x0e\n\nRELATIONAL\x10\x04\x32\xee\t\n\x14\x43ollectionManagement\x12\xf2\x01\n\x06GetAll\x12\'.clappform.v1.commons.PaginationRequest\x1a+.clappform.client.v1.collection.Collections\"\x91\x01\x92\x41s\x1a\x13Get all collectionsb\x10\n\x0e\n\nJWT Bearer\x12\x00rJ\nH\n\x16Grpc-Metadata-Location\x12\"Location of the client (subdomain)\x18\x01\"\x06string(\x01\x82\xd3\xe4\x93\x02\x15\x12\x13/api/v1/collections\x12\xea\x01\n\x03Get\x12\x1a.clappform.v1.commons.Read\x1a*.clappform.client.v1.collection.Collection\"\x9a\x01\x92\x41w\x1a\x17Get a single collectionb\x10\n\x0e\n\nJWT Bearer\x12\x00rJ\nH\n\x16Grpc-Metadata-Location\x12\"Location of the client (subdomain)\x18\x01\"\x06string(\x01\x82\xd3\xe4\x93\x02\x1a\x12\x18/api/v1/collections/{id}\x12\xfe\x01\n\x06\x43reate\x12-.clappform.client.v1.collection.CreateRequest\x1a*.clappform.client.v1.collection.Collection\"\x98\x01\x92\x41w\x1a\x17\x43reate a new collectionb\x10\n\x0e\n\nJWT Bearer\x12\x00rJ\nH\n\x16Grpc-Metadata-Location\x12\"Location of the client (subdomain)\x18\x01\"\x06string(\x01\x82\xd3\xe4\x93\x02\x18\"\x13/api/v1/collections:\x01*\x12\x89\x02\n\x06Update\x12-.clappform.client.v1.collection.UpdateRequest\x1a*.clappform.client.v1.collection.Collection\"\xa3\x01\x92\x41}\x1a\x1dUpdate an existing collectionb\x10\n\x0e\n\nJWT Bearer\x12\x00rJ\nH\n\x16Grpc-Metadata-Location\x12\"Location of the client (subdomain)\x18\x01\"\x06string(\x01\x82\xd3\xe4\x93\x02\x1d\x1a\x18/api/v1/collections/{id}:\x01*\x12\xe6\x01\n\x06\x44\x65lete\x12\x1a.clappform.v1.commons.Read\x1a\x1d.clappform.v1.commons.Message\"\xa0\x01\x92\x41}\x1a\x1d\x44\x65lete an existing collectionb\x10\n\x0e\n\nJWT Bearer\x12\x00rJ\nH\n\x16Grpc-Metadata-Location\x12\"Location of the client (subdomain)\x18\x01\"\x06string(\x01\x82\xd3\xe4\x93\x02\x1a*\x18/api/v1/collections/{id}BNZLgithub.com/ClappFormOrg/Framework-API-Client-Interfacing/proto/v1/collectionb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'clappform.client.v1.collection_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'ZLgithub.com/ClappFormOrg/Framework-API-Client-Interfacing/proto/v1/collection'
  _globals['_COLLECTIONMANAGEMENT'].methods_by_name['GetAll']._loaded_options = None
  _globals['_COLLECTIONMANAGEMENT'].methods_by_name['GetAll']._serialized_options = b'\222As\032\023Get all collectionsb\020\n\016\n\nJWT Bearer\022\000rJ\nH\n\026Grpc-Metadata-Location\022\"Location of the client (subdomain)\030\001\"\006string(\001\202\323\344\223\002\025\022\023/api/v1/collections'
  _globals['_COLLECTIONMANAGEMENT'].methods_by_name['Get']._loaded_options = None
  _globals['_COLLECTIONMANAGEMENT'].methods_by_name['Get']._serialized_options = b'\222Aw\032\027Get a single collectionb\020\n\016\n\nJWT Bearer\022\000rJ\nH\n\026Grpc-Metadata-Location\022\"Location of the client (subdomain)\030\001\"\006string(\001\202\323\344\223\002\032\022\030/api/v1/collections/{id}'
  _globals['_COLLECTIONMANAGEMENT'].methods_by_name['Create']._loaded_options = None
  _globals['_COLLECTIONMANAGEMENT'].methods_by_name['Create']._serialized_options = b'\222Aw\032\027Create a new collectionb\020\n\016\n\nJWT Bearer\022\000rJ\nH\n\026Grpc-Metadata-Location\022\"Location of the client (subdomain)\030\001\"\006string(\001\202\323\344\223\002\030\"\023/api/v1/collections:\001*'
  _globals['_COLLECTIONMANAGEMENT'].methods_by_name['Update']._loaded_options = None
  _globals['_COLLECTIONMANAGEMENT'].methods_by_name['Update']._serialized_options = b'\222A}\032\035Update an existing collectionb\020\n\016\n\nJWT Bearer\022\000rJ\nH\n\026Grpc-Metadata-Location\022\"Location of the client (subdomain)\030\001\"\006string(\001\202\323\344\223\002\035\032\030/api/v1/collections/{id}:\001*'
  _globals['_COLLECTIONMANAGEMENT'].methods_by_name['Delete']._loaded_options = None
  _globals['_COLLECTIONMANAGEMENT'].methods_by_name['Delete']._serialized_options = b'\222A}\032\035Delete an existing collectionb\020\n\016\n\nJWT Bearer\022\000rJ\nH\n\026Grpc-Metadata-Location\022\"Location of the client (subdomain)\030\001\"\006string(\001\202\323\344\223\002\032*\030/api/v1/collections/{id}'
  _globals['_DATABASETYPE']._serialized_start=797
  _globals['_DATABASETYPE']._serialized_end=883
  _globals['_COLLECTION']._serialized_start=227
  _globals['_COLLECTION']._serialized_end=451
  _globals['_CREATEREQUEST']._serialized_start=454
  _globals['_CREATEREQUEST']._serialized_end=599
  _globals['_UPDATEREQUEST']._serialized_start=601
  _globals['_UPDATEREQUEST']._serialized_end=660
  _globals['_COLLECTIONS']._serialized_start=663
  _globals['_COLLECTIONS']._serialized_end=795
  _globals['_COLLECTIONMANAGEMENT']._serialized_start=886
  _globals['_COLLECTIONMANAGEMENT']._serialized_end=2148
# @@protoc_insertion_point(module_scope)
