# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cs3/storage/provider/v1beta1/resources.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.group.v1beta1 import resources_pb2 as cs3_dot_identity_dot_group_dot_v1beta1_dot_resources__pb2
from cs3.identity.user.v1beta1 import resources_pb2 as cs3_dot_identity_dot_user_dot_v1beta1_dot_resources__pb2
from cs3.types.v1beta1 import types_pb2 as cs3_dot_types_dot_v1beta1_dot_types__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,cs3/storage/provider/v1beta1/resources.proto\x12\x1c\x63s3.storage.provider.v1beta1\x1a*cs3/identity/group/v1beta1/resources.proto\x1a)cs3/identity/user/v1beta1/resources.proto\x1a\x1d\x63s3/types/v1beta1/types.proto\"\x9f\x08\n\x0cResourceInfo\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12>\n\x04type\x18\x02 \x01(\x0e\x32*.cs3.storage.provider.v1beta1.ResourceTypeR\x04type\x12\x38\n\x02id\x18\x03 \x01(\x0b\x32(.cs3.storage.provider.v1beta1.ResourceIdR\x02id\x12J\n\x08\x63hecksum\x18\x04 \x01(\x0b\x32..cs3.storage.provider.v1beta1.ResourceChecksumR\x08\x63hecksum\x12\x12\n\x04\x65tag\x18\x05 \x01(\tR\x04\x65tag\x12\x1b\n\tmime_type\x18\x06 \x01(\tR\x08mimeType\x12\x32\n\x05mtime\x18\x07 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\x05mtime\x12\x12\n\x04path\x18\x08 \x01(\tR\x04path\x12X\n\x0epermission_set\x18\t \x01(\x0b\x32\x31.cs3.storage.provider.v1beta1.ResourcePermissionsR\rpermissionSet\x12\x12\n\x04size\x18\n \x01(\x04R\x04size\x12\x37\n\x05owner\x18\x0b \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdR\x05owner\x12\x16\n\x06target\x18\x0c \x01(\tR\x06target\x12^\n\x12\x63\x61nonical_metadata\x18\r \x01(\x0b\x32/.cs3.storage.provider.v1beta1.CanonicalMetadataR\x11\x63\x61nonicalMetadata\x12^\n\x12\x61rbitrary_metadata\x18\x0e \x01(\x0b\x32/.cs3.storage.provider.v1beta1.ArbitraryMetadataR\x11\x61rbitraryMetadata\x12\x36\n\x04lock\x18\x0f \x01(\x0b\x32\".cs3.storage.provider.v1beta1.LockR\x04lock\x12I\n\x0e\x61\x64visory_locks\x18\x10 \x03(\x0b\x32\".cs3.storage.provider.v1beta1.LockR\radvisoryLocks\x12\x45\n\tparent_id\x18\x11 \x01(\x0b\x32(.cs3.storage.provider.v1beta1.ResourceIdR\x08parentId\x12\x12\n\x04name\x18\x12 \x01(\tR\x04name\x12@\n\x05space\x18\x13 \x01(\x0b\x32*.cs3.storage.provider.v1beta1.StorageSpaceR\x05space\"T\n\x11\x43\x61nonicalMetadata\x12?\n\x06target\x18\x01 \x01(\x0b\x32\'.cs3.storage.provider.v1beta1.ReferenceR\x06target\"\xab\x01\n\x11\x41rbitraryMetadata\x12Y\n\x08metadata\x18\x01 \x03(\x0b\x32=.cs3.storage.provider.v1beta1.ArbitraryMetadata.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\x9e\x02\n\x04Lock\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12\x17\n\x07lock_id\x18\x02 \x01(\tR\x06lockId\x12:\n\x04type\x18\x03 \x01(\x0e\x32&.cs3.storage.provider.v1beta1.LockTypeR\x04type\x12\x35\n\x04user\x18\x04 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdR\x04user\x12\x19\n\x08\x61pp_name\x18\x05 \x01(\tR\x07\x61ppName\x12<\n\nexpiration\x18\x06 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\nexpiration\"l\n\x10ResourceChecksum\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x32.cs3.storage.provider.v1beta1.ResourceChecksumTypeR\x04type\x12\x10\n\x03sum\x18\x02 \x01(\tR\x03sum\"~\n\x18ResourceChecksumPriority\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x32.cs3.storage.provider.v1beta1.ResourceChecksumTypeR\x04type\x12\x1a\n\x08priority\x18\x02 \x01(\rR\x08priority\"j\n\tReference\x12I\n\x0bresource_id\x18\x01 \x01(\x0b\x32(.cs3.storage.provider.v1beta1.ResourceIdR\nresourceId\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\"c\n\nResourceId\x12\x1d\n\nstorage_id\x18\x01 \x01(\tR\tstorageId\x12\x1b\n\topaque_id\x18\x02 \x01(\tR\x08opaqueId\x12\x19\n\x08space_id\x18\x03 \x01(\tR\x07spaceId\"\xc4\x05\n\x13ResourcePermissions\x12\x1b\n\tadd_grant\x18\x01 \x01(\x08R\x08\x61\x64\x64Grant\x12)\n\x10\x63reate_container\x18\x02 \x01(\x08R\x0f\x63reateContainer\x12\x16\n\x06\x64\x65lete\x18\x03 \x01(\x08R\x06\x64\x65lete\x12\x19\n\x08get_path\x18\x05 \x01(\x08R\x07getPath\x12\x1b\n\tget_quota\x18\x06 \x01(\x08R\x08getQuota\x12\x34\n\x16initiate_file_download\x18\x07 \x01(\x08R\x14initiateFileDownload\x12\x30\n\x14initiate_file_upload\x18\x08 \x01(\x08R\x12initiateFileUpload\x12\x1f\n\x0blist_grants\x18\t \x01(\x08R\nlistGrants\x12%\n\x0elist_container\x18\n \x01(\x08R\rlistContainer\x12,\n\x12list_file_versions\x18\x0b \x01(\x08R\x10listFileVersions\x12!\n\x0clist_recycle\x18\x0c \x01(\x08R\x0blistRecycle\x12\x12\n\x04move\x18\r \x01(\x08R\x04move\x12!\n\x0cremove_grant\x18\x0e \x01(\x08R\x0bremoveGrant\x12#\n\rpurge_recycle\x18\x0f \x01(\x08R\x0cpurgeRecycle\x12\x30\n\x14restore_file_version\x18\x10 \x01(\x08R\x12restoreFileVersion\x12\x30\n\x14restore_recycle_item\x18\x11 \x01(\x08R\x12restoreRecycleItem\x12\x12\n\x04stat\x18\x12 \x01(\x08R\x04stat\x12!\n\x0cupdate_grant\x18\x13 \x01(\x08R\x0bupdateGrant\x12\x1d\n\ndeny_grant\x18\x14 \x01(\x08R\tdenyGrant\"\x98\x02\n\x05Grant\x12?\n\x07grantee\x18\x01 \x01(\x0b\x32%.cs3.storage.provider.v1beta1.GranteeR\x07grantee\x12S\n\x0bpermissions\x18\x02 \x01(\x0b\x32\x31.cs3.storage.provider.v1beta1.ResourcePermissionsR\x0bpermissions\x12;\n\x07\x63reator\x18\x03 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdR\x07\x63reator\x12<\n\nexpiration\x18\x04 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\nexpiration\"\x81\x02\n\x07Grantee\x12=\n\x04type\x18\x01 \x01(\x0e\x32).cs3.storage.provider.v1beta1.GranteeTypeR\x04type\x12<\n\x07user_id\x18\x03 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdH\x00R\x06userId\x12@\n\x08group_id\x18\x04 \x01(\x0b\x32#.cs3.identity.group.v1beta1.GroupIdH\x00R\x07groupId\x12\x31\n\x06opaque\x18\x05 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaqueB\x04\n\x02id\"\x90\x01\n\x0b\x46ileVersion\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x12\n\x04size\x18\x04 \x01(\x04R\x04size\x12\x14\n\x05mtime\x18\x05 \x01(\x04R\x05mtime\x12\x12\n\x04\x65tag\x18\x06 \x01(\tR\x04\x65tag\"\xa4\x02\n\x0bRecycleItem\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12>\n\x04type\x18\x02 \x01(\x0e\x32*.cs3.storage.provider.v1beta1.ResourceTypeR\x04type\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x39\n\x03ref\x18\x04 \x01(\x0b\x32\'.cs3.storage.provider.v1beta1.ReferenceR\x03ref\x12\x12\n\x04size\x18\x05 \x01(\x04R\x04size\x12\x41\n\rdeletion_time\x18\x06 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\x0c\x64\x65letionTime\"\xcb\x02\n\x12\x46ileUploadProtocol\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12\x1a\n\x08protocol\x18\x02 \x01(\tR\x08protocol\x12\'\n\x0fupload_endpoint\x18\x03 \x01(\tR\x0euploadEndpoint\x12g\n\x13\x61vailable_checksums\x18\x04 \x03(\x0b\x32\x36.cs3.storage.provider.v1beta1.ResourceChecksumPriorityR\x12\x61vailableChecksums\x12\x16\n\x06\x65xpose\x18\x05 \x01(\x08R\x06\x65xpose\x12<\n\nexpiration\x18\x06 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\nexpiration\"\xaa\x01\n\x14\x46ileDownloadProtocol\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12\x1a\n\x08protocol\x18\x02 \x01(\tR\x08protocol\x12+\n\x11\x64ownload_endpoint\x18\x03 \x01(\tR\x10\x64ownloadEndpoint\x12\x16\n\x06\x65xpose\x18\x04 \x01(\x08R\x06\x65xpose\"\xdf\x03\n\x0cStorageSpace\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\x12\x35\n\x05owner\x18\x03 \x01(\x0b\x32\x1f.cs3.identity.user.v1beta1.UserR\x05owner\x12<\n\x04root\x18\x04 \x01(\x0b\x32(.cs3.storage.provider.v1beta1.ResourceIdR\x04root\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x39\n\x05quota\x18\x06 \x01(\x0b\x32#.cs3.storage.provider.v1beta1.QuotaR\x05quota\x12\x1d\n\nspace_type\x18\x07 \x01(\tR\tspaceType\x12\x32\n\x05mtime\x18\x08 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\x05mtime\x12G\n\troot_info\x18\t \x01(\x0b\x32*.cs3.storage.provider.v1beta1.ResourceInfoR\x08rootInfo\"-\n\x0eStorageSpaceId\x12\x1b\n\topaque_id\x18\x01 \x01(\tR\x08opaqueId\"\xdc\x01\n\x05Quota\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12&\n\x0fquota_max_bytes\x18\x02 \x01(\x04R\rquotaMaxBytes\x12&\n\x0fquota_max_files\x18\x03 \x01(\x04R\rquotaMaxFiles\x12\'\n\x0fremaining_bytes\x18\x04 \x01(\x04R\x0eremainingBytes\x12\'\n\x0fremaining_files\x18\x05 \x01(\x04R\x0eremainingFiles*`\n\x08LockType\x12\x15\n\x11LOCK_TYPE_INVALID\x10\x00\x12\x14\n\x10LOCK_TYPE_SHARED\x10\x01\x12\x13\n\x0fLOCK_TYPE_WRITE\x10\x02\x12\x12\n\x0eLOCK_TYPE_EXCL\x10\x03*\xb2\x01\n\x0cResourceType\x12\x19\n\x15RESOURCE_TYPE_INVALID\x10\x00\x12\x16\n\x12RESOURCE_TYPE_FILE\x10\x01\x12\x1b\n\x17RESOURCE_TYPE_CONTAINER\x10\x02\x12\x1b\n\x17RESOURCE_TYPE_REFERENCE\x10\x03\x12\x19\n\x15RESOURCE_TYPE_SYMLINK\x10\x04\x12\x1a\n\x16RESOURCE_TYPE_INTERNAL\x10\x05*\xc1\x01\n\x14ResourceChecksumType\x12\"\n\x1eRESOURCE_CHECKSUM_TYPE_INVALID\x10\x00\x12 \n\x1cRESOURCE_CHECKSUM_TYPE_UNSET\x10\x01\x12\"\n\x1eRESOURCE_CHECKSUM_TYPE_ADLER32\x10\x02\x12\x1e\n\x1aRESOURCE_CHECKSUM_TYPE_MD5\x10\x03\x12\x1f\n\x1bRESOURCE_CHECKSUM_TYPE_SHA1\x10\x04*V\n\x0bGranteeType\x12\x18\n\x14GRANTEE_TYPE_INVALID\x10\x00\x12\x15\n\x11GRANTEE_TYPE_USER\x10\x01\x12\x16\n\x12GRANTEE_TYPE_GROUP\x10\x02\x42\x90\x02\n com.cs3.storage.provider.v1beta1B\x0eResourcesProtoP\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.resources_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  _globals['DESCRIPTOR']._options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n com.cs3.storage.provider.v1beta1B\016ResourcesProtoP\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['_ARBITRARYMETADATA_METADATAENTRY']._options = None
  _globals['_ARBITRARYMETADATA_METADATAENTRY']._serialized_options = b'8\001'
  _globals['_LOCKTYPE']._serialized_start=5205
  _globals['_LOCKTYPE']._serialized_end=5301
  _globals['_RESOURCETYPE']._serialized_start=5304
  _globals['_RESOURCETYPE']._serialized_end=5482
  _globals['_RESOURCECHECKSUMTYPE']._serialized_start=5485
  _globals['_RESOURCECHECKSUMTYPE']._serialized_end=5678
  _globals['_GRANTEETYPE']._serialized_start=5680
  _globals['_GRANTEETYPE']._serialized_end=5766
  _globals['_RESOURCEINFO']._serialized_start=197
  _globals['_RESOURCEINFO']._serialized_end=1252
  _globals['_CANONICALMETADATA']._serialized_start=1254
  _globals['_CANONICALMETADATA']._serialized_end=1338
  _globals['_ARBITRARYMETADATA']._serialized_start=1341
  _globals['_ARBITRARYMETADATA']._serialized_end=1512
  _globals['_ARBITRARYMETADATA_METADATAENTRY']._serialized_start=1453
  _globals['_ARBITRARYMETADATA_METADATAENTRY']._serialized_end=1512
  _globals['_LOCK']._serialized_start=1515
  _globals['_LOCK']._serialized_end=1801
  _globals['_RESOURCECHECKSUM']._serialized_start=1803
  _globals['_RESOURCECHECKSUM']._serialized_end=1911
  _globals['_RESOURCECHECKSUMPRIORITY']._serialized_start=1913
  _globals['_RESOURCECHECKSUMPRIORITY']._serialized_end=2039
  _globals['_REFERENCE']._serialized_start=2041
  _globals['_REFERENCE']._serialized_end=2147
  _globals['_RESOURCEID']._serialized_start=2149
  _globals['_RESOURCEID']._serialized_end=2248
  _globals['_RESOURCEPERMISSIONS']._serialized_start=2251
  _globals['_RESOURCEPERMISSIONS']._serialized_end=2959
  _globals['_GRANT']._serialized_start=2962
  _globals['_GRANT']._serialized_end=3242
  _globals['_GRANTEE']._serialized_start=3245
  _globals['_GRANTEE']._serialized_end=3502
  _globals['_FILEVERSION']._serialized_start=3505
  _globals['_FILEVERSION']._serialized_end=3649
  _globals['_RECYCLEITEM']._serialized_start=3652
  _globals['_RECYCLEITEM']._serialized_end=3944
  _globals['_FILEUPLOADPROTOCOL']._serialized_start=3947
  _globals['_FILEUPLOADPROTOCOL']._serialized_end=4278
  _globals['_FILEDOWNLOADPROTOCOL']._serialized_start=4281
  _globals['_FILEDOWNLOADPROTOCOL']._serialized_end=4451
  _globals['_STORAGESPACE']._serialized_start=4454
  _globals['_STORAGESPACE']._serialized_end=4933
  _globals['_STORAGESPACEID']._serialized_start=4935
  _globals['_STORAGESPACEID']._serialized_end=4980
  _globals['_QUOTA']._serialized_start=4983
  _globals['_QUOTA']._serialized_end=5203
# @@protoc_insertion_point(module_scope)
