# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cs3/sharing/ocm/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.app.provider.v1beta1 import resources_pb2 as cs3_dot_app_dot_provider_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.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


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'cs3/sharing/ocm/v1beta1/resources.proto\x12\x17\x63s3.sharing.ocm.v1beta1\x1a(cs3/app/provider/v1beta1/resources.proto\x1a)cs3/identity/user/v1beta1/resources.proto\x1a,cs3/storage/provider/v1beta1/resources.proto\x1a\x1d\x63s3/types/v1beta1/types.proto\"\xcf\x05\n\x05Share\x12\x30\n\x02id\x18\x01 \x01(\x0b\x32 .cs3.sharing.ocm.v1beta1.ShareIdR\x02id\x12I\n\x0bresource_id\x18\x02 \x01(\x0b\x32(.cs3.storage.provider.v1beta1.ResourceIdR\nresourceId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x14\n\x05token\x18\x04 \x01(\tR\x05token\x12?\n\x07grantee\x18\x05 \x01(\x0b\x32%.cs3.storage.provider.v1beta1.GranteeR\x07grantee\x12\x37\n\x05owner\x18\x06 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdR\x05owner\x12;\n\x07\x63reator\x18\x07 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdR\x07\x63reator\x12\x32\n\x05\x63time\x18\x08 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\x05\x63time\x12\x32\n\x05mtime\x18\t \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\x05mtime\x12<\n\nexpiration\x18\n \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\nexpiration\x12\x41\n\nshare_type\x18\x0b \x01(\x0e\x32\".cs3.sharing.ocm.v1beta1.ShareTypeR\tshareType\x12L\n\x0e\x61\x63\x63\x65ss_methods\x18\x0c \x03(\x0b\x32%.cs3.sharing.ocm.v1beta1.AccessMethodR\raccessMethods\x12\x31\n\x06opaque\x18\r \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\"\x81\x01\n\x10SharePermissions\x12S\n\x0bpermissions\x18\x01 \x01(\x0b\x32\x31.cs3.storage.provider.v1beta1.ResourcePermissionsR\x0bpermissions\x12\x18\n\x07reshare\x18\x02 \x01(\x08R\x07reshare\"\x9d\x06\n\rReceivedShare\x12\x30\n\x02id\x18\x01 \x01(\x0b\x32 .cs3.sharing.ocm.v1beta1.ShareIdR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12&\n\x0fremote_share_id\x18\x03 \x01(\tR\rremoteShareId\x12?\n\x07grantee\x18\x04 \x01(\x0b\x32%.cs3.storage.provider.v1beta1.GranteeR\x07grantee\x12\x37\n\x05owner\x18\x05 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdR\x05owner\x12;\n\x07\x63reator\x18\x06 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdR\x07\x63reator\x12\x32\n\x05\x63time\x18\x07 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\x05\x63time\x12\x32\n\x05mtime\x18\x08 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\x05mtime\x12<\n\nexpiration\x18\t \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\nexpiration\x12\x41\n\nshare_type\x18\n \x01(\x0e\x32\".cs3.sharing.ocm.v1beta1.ShareTypeR\tshareType\x12?\n\tprotocols\x18\x0b \x03(\x0b\x32!.cs3.sharing.ocm.v1beta1.ProtocolR\tprotocols\x12\x39\n\x05state\x18\x0c \x01(\x0e\x32#.cs3.sharing.ocm.v1beta1.ShareStateR\x05state\x12\x31\n\x06opaque\x18\r \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12O\n\rresource_type\x18\x0e \x01(\x0e\x32*.cs3.storage.provider.v1beta1.ResourceTypeR\x0cresourceType\"\xcf\x01\n\x08ShareKey\x12\x37\n\x05owner\x18\x01 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdR\x05owner\x12I\n\x0bresource_id\x18\x02 \x01(\x0b\x32(.cs3.storage.provider.v1beta1.ResourceIdR\nresourceId\x12?\n\x07grantee\x18\x03 \x01(\x0b\x32%.cs3.storage.provider.v1beta1.GranteeR\x07grantee\"&\n\x07ShareId\x12\x1b\n\topaque_id\x18\x01 \x01(\tR\x08opaqueId\"\x9b\x01\n\x0eShareReference\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32 .cs3.sharing.ocm.v1beta1.ShareIdH\x00R\x02id\x12\x35\n\x03key\x18\x02 \x01(\x0b\x32!.cs3.sharing.ocm.v1beta1.ShareKeyH\x00R\x03key\x12\x16\n\x05token\x18\x03 \x01(\tH\x00R\x05tokenB\x06\n\x04spec\"\x9a\x01\n\nShareGrant\x12?\n\x07grantee\x18\x01 \x01(\x0b\x32%.cs3.storage.provider.v1beta1.GranteeR\x07grantee\x12K\n\x0bpermissions\x18\x02 \x01(\x0b\x32).cs3.sharing.ocm.v1beta1.SharePermissionsR\x0bpermissions\"\xd4\x02\n\x08Protocol\x12P\n\x0ewebdav_options\x18\x01 \x01(\x0b\x32\'.cs3.sharing.ocm.v1beta1.WebDAVProtocolH\x00R\rwebdavOptions\x12P\n\x0ewebapp_options\x18\x02 \x01(\x0b\x32\'.cs3.sharing.ocm.v1beta1.WebappProtocolH\x00R\rwebappOptions\x12V\n\x10transfer_options\x18\x03 \x01(\x0b\x32).cs3.sharing.ocm.v1beta1.TransferProtocolH\x00R\x0ftransferOptions\x12\x44\n\x0fgeneric_options\x18\x04 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueH\x00R\x0egenericOptionsB\x06\n\x04term\"\x94\x01\n\x0eWebDAVProtocol\x12#\n\rshared_secret\x18\x01 \x01(\tR\x0csharedSecret\x12K\n\x0bpermissions\x18\x02 \x01(\x0b\x32).cs3.sharing.ocm.v1beta1.SharePermissionsR\x0bpermissions\x12\x10\n\x03uri\x18\x03 \x01(\tR\x03uri\"t\n\x0eWebappProtocol\x12!\n\x0curi_template\x18\x01 \x01(\tR\x0buriTemplate\x12?\n\tview_mode\x18\x02 \x01(\x0e\x32\".cs3.app.provider.v1beta1.ViewModeR\x08viewMode\"j\n\x10TransferProtocol\x12#\n\rshared_secret\x18\x01 \x01(\tR\x0csharedSecret\x12\x1d\n\nsource_uri\x18\x02 \x01(\tR\tsourceUri\x12\x12\n\x04size\x18\x03 \x01(\x04R\x04size\"\xe4\x02\n\x0c\x41\x63\x63\x65ssMethod\x12T\n\x0ewebdav_options\x18\x01 \x01(\x0b\x32+.cs3.sharing.ocm.v1beta1.WebDAVAccessMethodH\x00R\rwebdavOptions\x12T\n\x0ewebapp_options\x18\x02 \x01(\x0b\x32+.cs3.sharing.ocm.v1beta1.WebappAccessMethodH\x00R\rwebappOptions\x12Z\n\x10transfer_options\x18\x03 \x01(\x0b\x32-.cs3.sharing.ocm.v1beta1.TransferAccessMethodH\x00R\x0ftransferOptions\x12\x44\n\x0fgeneric_options\x18\x04 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueH\x00R\x0egenericOptionsB\x06\n\x04term\"i\n\x12WebDAVAccessMethod\x12S\n\x0bpermissions\x18\x01 \x01(\x0b\x32\x31.cs3.storage.provider.v1beta1.ResourcePermissionsR\x0bpermissions\"U\n\x12WebappAccessMethod\x12?\n\tview_mode\x18\x01 \x01(\x0e\x32\".cs3.app.provider.v1beta1.ViewModeR\x08viewMode\"a\n\x14TransferAccessMethod\x12I\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32\'.cs3.storage.provider.v1beta1.ReferenceR\x0b\x64\x65stination*r\n\nShareState\x12\x17\n\x13SHARE_STATE_INVALID\x10\x00\x12\x17\n\x13SHARE_STATE_PENDING\x10\x01\x12\x18\n\x14SHARE_STATE_ACCEPTED\x10\x02\x12\x18\n\x14SHARE_STATE_REJECTED\x10\x03*N\n\tShareType\x12\x16\n\x12SHARE_TYPE_INVALID\x10\x00\x12\x13\n\x0fSHARE_TYPE_USER\x10\x01\x12\x14\n\x10SHARE_TYPE_GROUP\x10\x02\x42\xed\x01\n\x1b\x63om.cs3.sharing.ocm.v1beta1B\x0eResourcesProtoP\x01Z?github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1;ocmv1beta1\xa2\x02\x03\x43SO\xaa\x02\x17\x43s3.Sharing.Ocm.V1beta1\xca\x02\x17\x43s3\\Sharing\\Ocm\\V1beta1\xe2\x02#Cs3\\Sharing\\Ocm\\V1beta1\\GPBMetadata\xea\x02\x1a\x43s3::Sharing::Ocm::V1beta1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cs3.sharing.ocm.v1beta1.resources_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  _globals['DESCRIPTOR']._options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\033com.cs3.sharing.ocm.v1beta1B\016ResourcesProtoP\001Z?github.com/cs3org/go-cs3apis/cs3/sharing/ocm/v1beta1;ocmv1beta1\242\002\003CSO\252\002\027Cs3.Sharing.Ocm.V1beta1\312\002\027Cs3\\Sharing\\Ocm\\V1beta1\342\002#Cs3\\Sharing\\Ocm\\V1beta1\\GPBMetadata\352\002\032Cs3::Sharing::Ocm::V1beta1'
  _globals['_SHARESTATE']._serialized_start=3821
  _globals['_SHARESTATE']._serialized_end=3935
  _globals['_SHARETYPE']._serialized_start=3937
  _globals['_SHARETYPE']._serialized_end=4015
  _globals['_SHARE']._serialized_start=231
  _globals['_SHARE']._serialized_end=950
  _globals['_SHAREPERMISSIONS']._serialized_start=953
  _globals['_SHAREPERMISSIONS']._serialized_end=1082
  _globals['_RECEIVEDSHARE']._serialized_start=1085
  _globals['_RECEIVEDSHARE']._serialized_end=1882
  _globals['_SHAREKEY']._serialized_start=1885
  _globals['_SHAREKEY']._serialized_end=2092
  _globals['_SHAREID']._serialized_start=2094
  _globals['_SHAREID']._serialized_end=2132
  _globals['_SHAREREFERENCE']._serialized_start=2135
  _globals['_SHAREREFERENCE']._serialized_end=2290
  _globals['_SHAREGRANT']._serialized_start=2293
  _globals['_SHAREGRANT']._serialized_end=2447
  _globals['_PROTOCOL']._serialized_start=2450
  _globals['_PROTOCOL']._serialized_end=2790
  _globals['_WEBDAVPROTOCOL']._serialized_start=2793
  _globals['_WEBDAVPROTOCOL']._serialized_end=2941
  _globals['_WEBAPPPROTOCOL']._serialized_start=2943
  _globals['_WEBAPPPROTOCOL']._serialized_end=3059
  _globals['_TRANSFERPROTOCOL']._serialized_start=3061
  _globals['_TRANSFERPROTOCOL']._serialized_end=3167
  _globals['_ACCESSMETHOD']._serialized_start=3170
  _globals['_ACCESSMETHOD']._serialized_end=3526
  _globals['_WEBDAVACCESSMETHOD']._serialized_start=3528
  _globals['_WEBDAVACCESSMETHOD']._serialized_end=3633
  _globals['_WEBAPPACCESSMETHOD']._serialized_start=3635
  _globals['_WEBAPPACCESSMETHOD']._serialized_end=3720
  _globals['_TRANSFERACCESSMETHOD']._serialized_start=3722
  _globals['_TRANSFERACCESSMETHOD']._serialized_end=3819
# @@protoc_insertion_point(module_scope)
