# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cs3/sharing/collaboration/v1beta1/resources.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@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.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'\n1cs3/sharing/collaboration/v1beta1/resources.proto\x12!cs3.sharing.collaboration.v1beta1\x1a)cs3/identity/user/v1beta1/resources.proto\x1a,cs3/storage/provider/v1beta1/resources.proto\x1a\x1d\x63s3/types/v1beta1/types.proto\"\xc0\x03\n\x05Share\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.cs3.sharing.collaboration.v1beta1.ShareId\x12=\n\x0bresource_id\x18\x02 \x01(\x0b\x32(.cs3.storage.provider.v1beta1.ResourceId\x12H\n\x0bpermissions\x18\x03 \x01(\x0b\x32\x33.cs3.sharing.collaboration.v1beta1.SharePermissions\x12\x36\n\x07grantee\x18\x04 \x01(\x0b\x32%.cs3.storage.provider.v1beta1.Grantee\x12\x30\n\x05owner\x18\x05 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserId\x12\x32\n\x07\x63reator\x18\x06 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserId\x12+\n\x05\x63time\x18\x07 \x01(\x0b\x32\x1c.cs3.types.v1beta1.Timestamp\x12+\n\x05mtime\x18\x08 \x01(\x0b\x32\x1c.cs3.types.v1beta1.Timestamp\"Z\n\x10SharePermissions\x12\x46\n\x0bpermissions\x18\x01 \x01(\x0b\x32\x31.cs3.storage.provider.v1beta1.ResourcePermissions\"\xc4\x01\n\rReceivedShare\x12\x37\n\x05share\x18\x01 \x01(\x0b\x32(.cs3.sharing.collaboration.v1beta1.Share\x12<\n\x05state\x18\x02 \x01(\x0e\x32-.cs3.sharing.collaboration.v1beta1.ShareState\x12<\n\x0bmount_point\x18\x03 \x01(\x0b\x32\'.cs3.storage.provider.v1beta1.Reference\"\xb3\x01\n\x08ShareKey\x12\x30\n\x05owner\x18\x02 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserId\x12=\n\x0bresource_id\x18\x03 \x01(\x0b\x32(.cs3.storage.provider.v1beta1.ResourceId\x12\x36\n\x07grantee\x18\x04 \x01(\x0b\x32%.cs3.storage.provider.v1beta1.Grantee\"\x1c\n\x07ShareId\x12\x11\n\topaque_id\x18\x02 \x01(\t\"\x8e\x01\n\x0eShareReference\x12\x38\n\x02id\x18\x01 \x01(\x0b\x32*.cs3.sharing.collaboration.v1beta1.ShareIdH\x00\x12:\n\x03key\x18\x02 \x01(\x0b\x32+.cs3.sharing.collaboration.v1beta1.ShareKeyH\x00\x42\x06\n\x04spec\"\x8e\x01\n\nShareGrant\x12\x36\n\x07grantee\x18\x01 \x01(\x0b\x32%.cs3.storage.provider.v1beta1.Grantee\x12H\n\x0bpermissions\x18\x02 \x01(\x0b\x32\x33.cs3.sharing.collaboration.v1beta1.SharePermissions\"\xcd\x03\n\x06\x46ilter\x12<\n\x04type\x18\x02 \x01(\x0e\x32..cs3.sharing.collaboration.v1beta1.Filter.Type\x12?\n\x0bresource_id\x18\x03 \x01(\x0b\x32(.cs3.storage.provider.v1beta1.ResourceIdH\x00\x12\x32\n\x05owner\x18\x04 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdH\x00\x12\x34\n\x07\x63reator\x18\x05 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdH\x00\x12\x41\n\x0cgrantee_type\x18\x06 \x01(\x0e\x32).cs3.storage.provider.v1beta1.GranteeTypeH\x00\"\x8e\x01\n\x04Type\x12\x10\n\x0cTYPE_INVALID\x10\x00\x12\x0b\n\x07TYPE_NO\x10\x01\x12\x14\n\x10TYPE_RESOURCE_ID\x10\x02\x12\x0e\n\nTYPE_OWNER\x10\x03\x12\x10\n\x0cTYPE_CREATOR\x10\x04\x12\x15\n\x11TYPE_GRANTEE_TYPE\x10\x05\x12\x18\n\x14TYPE_EXCLUDE_DENIALS\x10\x06\x42\x06\n\x04term*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\x42\x9d\x01\n%com.cs3.sharing.collaboration.v1beta1B\x0eResourcesProtoP\x01Z\x14\x63ollaborationv1beta1\xa2\x02\x03\x43SC\xaa\x02!Cs3.Sharing.Collaboration.V1Beta1\xca\x02!Cs3\\Sharing\\Collaboration\\V1Beta1b\x06proto3')

_SHARESTATE = DESCRIPTOR.enum_types_by_name['ShareState']
ShareState = enum_type_wrapper.EnumTypeWrapper(_SHARESTATE)
SHARE_STATE_INVALID = 0
SHARE_STATE_PENDING = 1
SHARE_STATE_ACCEPTED = 2
SHARE_STATE_REJECTED = 3


_SHARE = DESCRIPTOR.message_types_by_name['Share']
_SHAREPERMISSIONS = DESCRIPTOR.message_types_by_name['SharePermissions']
_RECEIVEDSHARE = DESCRIPTOR.message_types_by_name['ReceivedShare']
_SHAREKEY = DESCRIPTOR.message_types_by_name['ShareKey']
_SHAREID = DESCRIPTOR.message_types_by_name['ShareId']
_SHAREREFERENCE = DESCRIPTOR.message_types_by_name['ShareReference']
_SHAREGRANT = DESCRIPTOR.message_types_by_name['ShareGrant']
_FILTER = DESCRIPTOR.message_types_by_name['Filter']
_FILTER_TYPE = _FILTER.enum_types_by_name['Type']
Share = _reflection.GeneratedProtocolMessageType('Share', (_message.Message,), {
  'DESCRIPTOR' : _SHARE,
  '__module__' : 'cs3.sharing.collaboration.v1beta1.resources_pb2'
  # @@protoc_insertion_point(class_scope:cs3.sharing.collaboration.v1beta1.Share)
  })
_sym_db.RegisterMessage(Share)

SharePermissions = _reflection.GeneratedProtocolMessageType('SharePermissions', (_message.Message,), {
  'DESCRIPTOR' : _SHAREPERMISSIONS,
  '__module__' : 'cs3.sharing.collaboration.v1beta1.resources_pb2'
  # @@protoc_insertion_point(class_scope:cs3.sharing.collaboration.v1beta1.SharePermissions)
  })
_sym_db.RegisterMessage(SharePermissions)

ReceivedShare = _reflection.GeneratedProtocolMessageType('ReceivedShare', (_message.Message,), {
  'DESCRIPTOR' : _RECEIVEDSHARE,
  '__module__' : 'cs3.sharing.collaboration.v1beta1.resources_pb2'
  # @@protoc_insertion_point(class_scope:cs3.sharing.collaboration.v1beta1.ReceivedShare)
  })
_sym_db.RegisterMessage(ReceivedShare)

ShareKey = _reflection.GeneratedProtocolMessageType('ShareKey', (_message.Message,), {
  'DESCRIPTOR' : _SHAREKEY,
  '__module__' : 'cs3.sharing.collaboration.v1beta1.resources_pb2'
  # @@protoc_insertion_point(class_scope:cs3.sharing.collaboration.v1beta1.ShareKey)
  })
_sym_db.RegisterMessage(ShareKey)

ShareId = _reflection.GeneratedProtocolMessageType('ShareId', (_message.Message,), {
  'DESCRIPTOR' : _SHAREID,
  '__module__' : 'cs3.sharing.collaboration.v1beta1.resources_pb2'
  # @@protoc_insertion_point(class_scope:cs3.sharing.collaboration.v1beta1.ShareId)
  })
_sym_db.RegisterMessage(ShareId)

ShareReference = _reflection.GeneratedProtocolMessageType('ShareReference', (_message.Message,), {
  'DESCRIPTOR' : _SHAREREFERENCE,
  '__module__' : 'cs3.sharing.collaboration.v1beta1.resources_pb2'
  # @@protoc_insertion_point(class_scope:cs3.sharing.collaboration.v1beta1.ShareReference)
  })
_sym_db.RegisterMessage(ShareReference)

ShareGrant = _reflection.GeneratedProtocolMessageType('ShareGrant', (_message.Message,), {
  'DESCRIPTOR' : _SHAREGRANT,
  '__module__' : 'cs3.sharing.collaboration.v1beta1.resources_pb2'
  # @@protoc_insertion_point(class_scope:cs3.sharing.collaboration.v1beta1.ShareGrant)
  })
_sym_db.RegisterMessage(ShareGrant)

Filter = _reflection.GeneratedProtocolMessageType('Filter', (_message.Message,), {
  'DESCRIPTOR' : _FILTER,
  '__module__' : 'cs3.sharing.collaboration.v1beta1.resources_pb2'
  # @@protoc_insertion_point(class_scope:cs3.sharing.collaboration.v1beta1.Filter)
  })
_sym_db.RegisterMessage(Filter)

if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n%com.cs3.sharing.collaboration.v1beta1B\016ResourcesProtoP\001Z\024collaborationv1beta1\242\002\003CSC\252\002!Cs3.Sharing.Collaboration.V1Beta1\312\002!Cs3\\Sharing\\Collaboration\\V1Beta1'
  _SHARESTATE._serialized_start=1916
  _SHARESTATE._serialized_end=2030
  _SHARE._serialized_start=209
  _SHARE._serialized_end=657
  _SHAREPERMISSIONS._serialized_start=659
  _SHAREPERMISSIONS._serialized_end=749
  _RECEIVEDSHARE._serialized_start=752
  _RECEIVEDSHARE._serialized_end=948
  _SHAREKEY._serialized_start=951
  _SHAREKEY._serialized_end=1130
  _SHAREID._serialized_start=1132
  _SHAREID._serialized_end=1160
  _SHAREREFERENCE._serialized_start=1163
  _SHAREREFERENCE._serialized_end=1305
  _SHAREGRANT._serialized_start=1308
  _SHAREGRANT._serialized_end=1450
  _FILTER._serialized_start=1453
  _FILTER._serialized_end=1914
  _FILTER_TYPE._serialized_start=1764
  _FILTER_TYPE._serialized_end=1906
# @@protoc_insertion_point(module_scope)
