# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cs3/storage/provider/v1beta1/spaces_api.proto
# Protobuf Python Version: 4.25.0
"""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 cs3.identity.user.v1beta1 import resources_pb2 as cs3_dot_identity_dot_user_dot_v1beta1_dot_resources__pb2
from cs3.rpc.v1beta1 import status_pb2 as cs3_dot_rpc_dot_v1beta1_dot_status__pb2
from cs3.storage.provider.v1beta1 import resources_pb2 as cs3_dot_storage_dot_provider_dot_v1beta1_dot_resources__pb2
from cs3.types.v1beta1 import types_pb2 as cs3_dot_types_dot_v1beta1_dot_types__pb2
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-cs3/storage/provider/v1beta1/spaces_api.proto\x12\x1c\x63s3.storage.provider.v1beta1\x1a)cs3/identity/user/v1beta1/resources.proto\x1a\x1c\x63s3/rpc/v1beta1/status.proto\x1a,cs3/storage/provider/v1beta1/resources.proto\x1a\x1d\x63s3/types/v1beta1/types.proto\x1a google/protobuf/field_mask.proto\"\xe8\x01\n\x19\x43reateStorageSpaceRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12\x35\n\x05owner\x18\x02 \x01(\x0b\x32\x1f.cs3.identity.user.v1beta1.UserR\x05owner\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x39\n\x05quota\x18\x05 \x01(\x0b\x32#.cs3.storage.provider.v1beta1.QuotaR\x05quota\"\xd1\x01\n\x1a\x43reateStorageSpaceResponse\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12/\n\x06status\x18\x02 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.StatusR\x06status\x12O\n\rstorage_space\x18\x03 \x01(\x0b\x32*.cs3.storage.provider.v1beta1.StorageSpaceR\x0cstorageSpace\"\xea\x05\n\x18ListStorageSpacesRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12W\n\x07\x66ilters\x18\x02 \x03(\x0b\x32=.cs3.storage.provider.v1beta1.ListStorageSpacesRequest.FilterR\x07\x66ilters\x12\x39\n\nfield_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\tfieldMask\x12\x1b\n\tpage_size\x18\x04 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x05 \x01(\tR\tpageToken\x1a\xca\x03\n\x06\x46ilter\x12V\n\x04type\x18\x01 \x01(\x0e\x32\x42.cs3.storage.provider.v1beta1.ListStorageSpacesRequest.Filter.TypeR\x04type\x12>\n\x02id\x18\x02 \x01(\x0b\x32,.cs3.storage.provider.v1beta1.StorageSpaceIdH\x00R\x02id\x12\x39\n\x05owner\x18\x03 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdH\x00R\x05owner\x12\x1f\n\nspace_type\x18\x04 \x01(\tH\x00R\tspaceType\x12\x14\n\x04path\x18\x05 \x01(\tH\x00R\x04path\x12\x37\n\x04user\x18\x06 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdH\x00R\x04user\"u\n\x04Type\x12\x10\n\x0cTYPE_INVALID\x10\x00\x12\x0b\n\x07TYPE_NO\x10\x01\x12\x0b\n\x07TYPE_ID\x10\x02\x12\x0e\n\nTYPE_OWNER\x10\x03\x12\x13\n\x0fTYPE_SPACE_TYPE\x10\x04\x12\r\n\tTYPE_PATH\x10\x05\x12\r\n\tTYPE_USER\x10\x06\x42\x06\n\x04term\"\xfa\x01\n\x19ListStorageSpacesResponse\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12/\n\x06status\x18\x02 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.StatusR\x06status\x12Q\n\x0estorage_spaces\x18\x03 \x03(\x0b\x32*.cs3.storage.provider.v1beta1.StorageSpaceR\rstorageSpaces\x12&\n\x0fnext_page_token\x18\x04 \x01(\tR\rnextPageToken\"\x9f\x01\n\x19UpdateStorageSpaceRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12O\n\rstorage_space\x18\x02 \x01(\x0b\x32*.cs3.storage.provider.v1beta1.StorageSpaceR\x0cstorageSpace\"\xd1\x01\n\x1aUpdateStorageSpaceResponse\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12/\n\x06status\x18\x02 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.StatusR\x06status\x12O\n\rstorage_space\x18\x03 \x01(\x0b\x32*.cs3.storage.provider.v1beta1.StorageSpaceR\x0cstorageSpace\"\x8c\x01\n\x19\x44\x65leteStorageSpaceRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12<\n\x02id\x18\x02 \x01(\x0b\x32,.cs3.storage.provider.v1beta1.StorageSpaceIdR\x02id\"\x80\x01\n\x1a\x44\x65leteStorageSpaceResponse\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12/\n\x06status\x18\x02 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.StatusR\x06status2\xb0\x04\n\tSpacesAPI\x12\x87\x01\n\x12\x43reateStorageSpace\x12\x37.cs3.storage.provider.v1beta1.CreateStorageSpaceRequest\x1a\x38.cs3.storage.provider.v1beta1.CreateStorageSpaceResponse\x12\x84\x01\n\x11ListStorageSpaces\x12\x36.cs3.storage.provider.v1beta1.ListStorageSpacesRequest\x1a\x37.cs3.storage.provider.v1beta1.ListStorageSpacesResponse\x12\x87\x01\n\x12UpdateStorageSpace\x12\x37.cs3.storage.provider.v1beta1.UpdateStorageSpaceRequest\x1a\x38.cs3.storage.provider.v1beta1.UpdateStorageSpaceResponse\x12\x87\x01\n\x12\x44\x65leteStorageSpace\x12\x37.cs3.storage.provider.v1beta1.DeleteStorageSpaceRequest\x1a\x38.cs3.storage.provider.v1beta1.DeleteStorageSpaceResponseB\x90\x02\n com.cs3.storage.provider.v1beta1B\x0eSpacesApiProtoP\x01ZIgithub.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1;providerv1beta1\xa2\x02\x03\x43SP\xaa\x02\x1c\x43s3.Storage.Provider.V1beta1\xca\x02\x1c\x43s3\\Storage\\Provider\\V1beta1\xe2\x02(Cs3\\Storage\\Provider\\V1beta1\\GPBMetadata\xea\x02\x1f\x43s3::Storage::Provider::V1beta1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cs3.storage.provider.v1beta1.spaces_api_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  _globals['DESCRIPTOR']._options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n com.cs3.storage.provider.v1beta1B\016SpacesApiProtoP\001ZIgithub.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1;providerv1beta1\242\002\003CSP\252\002\034Cs3.Storage.Provider.V1beta1\312\002\034Cs3\\Storage\\Provider\\V1beta1\342\002(Cs3\\Storage\\Provider\\V1beta1\\GPBMetadata\352\002\037Cs3::Storage::Provider::V1beta1'
  _globals['_CREATESTORAGESPACEREQUEST']._serialized_start=264
  _globals['_CREATESTORAGESPACEREQUEST']._serialized_end=496
  _globals['_CREATESTORAGESPACERESPONSE']._serialized_start=499
  _globals['_CREATESTORAGESPACERESPONSE']._serialized_end=708
  _globals['_LISTSTORAGESPACESREQUEST']._serialized_start=711
  _globals['_LISTSTORAGESPACESREQUEST']._serialized_end=1457
  _globals['_LISTSTORAGESPACESREQUEST_FILTER']._serialized_start=999
  _globals['_LISTSTORAGESPACESREQUEST_FILTER']._serialized_end=1457
  _globals['_LISTSTORAGESPACESREQUEST_FILTER_TYPE']._serialized_start=1332
  _globals['_LISTSTORAGESPACESREQUEST_FILTER_TYPE']._serialized_end=1449
  _globals['_LISTSTORAGESPACESRESPONSE']._serialized_start=1460
  _globals['_LISTSTORAGESPACESRESPONSE']._serialized_end=1710
  _globals['_UPDATESTORAGESPACEREQUEST']._serialized_start=1713
  _globals['_UPDATESTORAGESPACEREQUEST']._serialized_end=1872
  _globals['_UPDATESTORAGESPACERESPONSE']._serialized_start=1875
  _globals['_UPDATESTORAGESPACERESPONSE']._serialized_end=2084
  _globals['_DELETESTORAGESPACEREQUEST']._serialized_start=2087
  _globals['_DELETESTORAGESPACEREQUEST']._serialized_end=2227
  _globals['_DELETESTORAGESPACERESPONSE']._serialized_start=2230
  _globals['_DELETESTORAGESPACERESPONSE']._serialized_end=2358
  _globals['_SPACESAPI']._serialized_start=2361
  _globals['_SPACESAPI']._serialized_end=2921
# @@protoc_insertion_point(module_scope)
