# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cs3/sharing/collaboration/v1beta1/collaboration_api.proto
"""Generated protocol buffer code."""
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.rpc.v1beta1 import status_pb2 as cs3_dot_rpc_dot_v1beta1_dot_status__pb2
from cs3.sharing.collaboration.v1beta1 import resources_pb2 as cs3_dot_sharing_dot_collaboration_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
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9cs3/sharing/collaboration/v1beta1/collaboration_api.proto\x12!cs3.sharing.collaboration.v1beta1\x1a\x1c\x63s3/rpc/v1beta1/status.proto\x1a\x31\x63s3/sharing/collaboration/v1beta1/resources.proto\x1a,cs3/storage/provider/v1beta1/resources.proto\x1a\x1d\x63s3/types/v1beta1/types.proto\x1a google/protobuf/field_mask.proto\"\xc0\x01\n\x12\x43reateShareRequest\x12)\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12\x41\n\rresource_info\x18\x02 \x01(\x0b\x32*.cs3.storage.provider.v1beta1.ResourceInfo\x12<\n\x05grant\x18\x03 \x01(\x0b\x32-.cs3.sharing.collaboration.v1beta1.ShareGrant\"\xa2\x01\n\x13\x43reateShareResponse\x12\'\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.Status\x12)\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12\x37\n\x05share\x18\x03 \x01(\x0b\x32(.cs3.sharing.collaboration.v1beta1.Share\"\xcd\x02\n\x12UpdateShareRequest\x12)\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12>\n\x03ref\x18\x02 \x01(\x0b\x32\x31.cs3.sharing.collaboration.v1beta1.ShareReference\x12P\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x41.cs3.sharing.collaboration.v1beta1.UpdateShareRequest.UpdateField\x1az\n\x0bUpdateField\x12J\n\x0bpermissions\x18\x02 \x01(\x0b\x32\x33.cs3.sharing.collaboration.v1beta1.SharePermissionsH\x00\x12\x16\n\x0c\x64isplay_name\x18\x03 \x01(\tH\x00\x42\x07\n\x05\x66ield\"\xa2\x01\n\x13UpdateShareResponse\x12\'\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.Status\x12)\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12\x37\n\x05share\x18\x03 \x01(\x0b\x32(.cs3.sharing.collaboration.v1beta1.Share\"\xa1\x01\n\x11ListSharesRequest\x12)\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12:\n\x07\x66ilters\x18\x02 \x03(\x0b\x32).cs3.sharing.collaboration.v1beta1.Filter\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\xbb\x01\n\x12ListSharesResponse\x12\'\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.Status\x12)\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12\x38\n\x06shares\x18\x03 \x03(\x0b\x32(.cs3.sharing.collaboration.v1beta1.Share\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\t\"\x7f\n\x12RemoveShareRequest\x12)\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12>\n\x03ref\x18\x02 \x01(\x0b\x32\x31.cs3.sharing.collaboration.v1beta1.ShareReference\"i\n\x13RemoveShareResponse\x12\'\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.Status\x12)\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\"|\n\x0fGetShareRequest\x12)\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12>\n\x03ref\x18\x02 \x01(\x0b\x32\x31.cs3.sharing.collaboration.v1beta1.ShareReference\"\x9f\x01\n\x10GetShareResponse\x12\'\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.Status\x12)\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12\x37\n\x05share\x18\x03 \x01(\x0b\x32(.cs3.sharing.collaboration.v1beta1.Share\"\xa9\x01\n\x19ListReceivedSharesRequest\x12)\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12:\n\x07\x66ilters\x18\x03 \x03(\x0b\x32).cs3.sharing.collaboration.v1beta1.Filter\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"\xcb\x01\n\x1aListReceivedSharesResponse\x12\'\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.Status\x12)\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12@\n\x06shares\x18\x03 \x03(\x0b\x32\x30.cs3.sharing.collaboration.v1beta1.ReceivedShare\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\t\"\xb9\x01\n\x1aUpdateReceivedShareRequest\x12)\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12?\n\x05share\x18\x02 \x01(\x0b\x32\x30.cs3.sharing.collaboration.v1beta1.ReceivedShare\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xb2\x01\n\x1bUpdateReceivedShareResponse\x12\'\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.Status\x12)\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12?\n\x05share\x18\x03 \x01(\x0b\x32\x30.cs3.sharing.collaboration.v1beta1.ReceivedShare\"\x84\x01\n\x17GetReceivedShareRequest\x12)\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12>\n\x03ref\x18\x02 \x01(\x0b\x32\x31.cs3.sharing.collaboration.v1beta1.ShareReference\"\xaf\x01\n\x18GetReceivedShareResponse\x12\'\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.Status\x12)\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12?\n\x05share\x18\x03 \x01(\x0b\x32\x30.cs3.sharing.collaboration.v1beta1.ReceivedShare2\xb5\x08\n\x10\x43ollaborationAPI\x12|\n\x0b\x43reateShare\x12\x35.cs3.sharing.collaboration.v1beta1.CreateShareRequest\x1a\x36.cs3.sharing.collaboration.v1beta1.CreateShareResponse\x12|\n\x0bRemoveShare\x12\x35.cs3.sharing.collaboration.v1beta1.RemoveShareRequest\x1a\x36.cs3.sharing.collaboration.v1beta1.RemoveShareResponse\x12s\n\x08GetShare\x12\x32.cs3.sharing.collaboration.v1beta1.GetShareRequest\x1a\x33.cs3.sharing.collaboration.v1beta1.GetShareResponse\x12y\n\nListShares\x12\x34.cs3.sharing.collaboration.v1beta1.ListSharesRequest\x1a\x35.cs3.sharing.collaboration.v1beta1.ListSharesResponse\x12|\n\x0bUpdateShare\x12\x35.cs3.sharing.collaboration.v1beta1.UpdateShareRequest\x1a\x36.cs3.sharing.collaboration.v1beta1.UpdateShareResponse\x12\x91\x01\n\x12ListReceivedShares\x12<.cs3.sharing.collaboration.v1beta1.ListReceivedSharesRequest\x1a=.cs3.sharing.collaboration.v1beta1.ListReceivedSharesResponse\x12\x94\x01\n\x13UpdateReceivedShare\x12=.cs3.sharing.collaboration.v1beta1.UpdateReceivedShareRequest\x1a>.cs3.sharing.collaboration.v1beta1.UpdateReceivedShareResponse\x12\x8b\x01\n\x10GetReceivedShare\x12:.cs3.sharing.collaboration.v1beta1.GetReceivedShareRequest\x1a;.cs3.sharing.collaboration.v1beta1.GetReceivedShareResponseB\xa4\x01\n%com.cs3.sharing.collaboration.v1beta1B\x15\x43ollaborationApiProtoP\x01Z\x14\x63ollaborationv1beta1\xa2\x02\x03\x43SC\xaa\x02!Cs3.Sharing.Collaboration.V1Beta1\xca\x02!Cs3\\Sharing\\Collaboration\\V1Beta1b\x06proto3')



_CREATESHAREREQUEST = DESCRIPTOR.message_types_by_name['CreateShareRequest']
_CREATESHARERESPONSE = DESCRIPTOR.message_types_by_name['CreateShareResponse']
_UPDATESHAREREQUEST = DESCRIPTOR.message_types_by_name['UpdateShareRequest']
_UPDATESHAREREQUEST_UPDATEFIELD = _UPDATESHAREREQUEST.nested_types_by_name['UpdateField']
_UPDATESHARERESPONSE = DESCRIPTOR.message_types_by_name['UpdateShareResponse']
_LISTSHARESREQUEST = DESCRIPTOR.message_types_by_name['ListSharesRequest']
_LISTSHARESRESPONSE = DESCRIPTOR.message_types_by_name['ListSharesResponse']
_REMOVESHAREREQUEST = DESCRIPTOR.message_types_by_name['RemoveShareRequest']
_REMOVESHARERESPONSE = DESCRIPTOR.message_types_by_name['RemoveShareResponse']
_GETSHAREREQUEST = DESCRIPTOR.message_types_by_name['GetShareRequest']
_GETSHARERESPONSE = DESCRIPTOR.message_types_by_name['GetShareResponse']
_LISTRECEIVEDSHARESREQUEST = DESCRIPTOR.message_types_by_name['ListReceivedSharesRequest']
_LISTRECEIVEDSHARESRESPONSE = DESCRIPTOR.message_types_by_name['ListReceivedSharesResponse']
_UPDATERECEIVEDSHAREREQUEST = DESCRIPTOR.message_types_by_name['UpdateReceivedShareRequest']
_UPDATERECEIVEDSHARERESPONSE = DESCRIPTOR.message_types_by_name['UpdateReceivedShareResponse']
_GETRECEIVEDSHAREREQUEST = DESCRIPTOR.message_types_by_name['GetReceivedShareRequest']
_GETRECEIVEDSHARERESPONSE = DESCRIPTOR.message_types_by_name['GetReceivedShareResponse']
CreateShareRequest = _reflection.GeneratedProtocolMessageType('CreateShareRequest', (_message.Message,), {
  'DESCRIPTOR' : _CREATESHAREREQUEST,
  '__module__' : 'cs3.sharing.collaboration.v1beta1.collaboration_api_pb2'
  # @@protoc_insertion_point(class_scope:cs3.sharing.collaboration.v1beta1.CreateShareRequest)
  })
_sym_db.RegisterMessage(CreateShareRequest)

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

UpdateShareRequest = _reflection.GeneratedProtocolMessageType('UpdateShareRequest', (_message.Message,), {

  'UpdateField' : _reflection.GeneratedProtocolMessageType('UpdateField', (_message.Message,), {
    'DESCRIPTOR' : _UPDATESHAREREQUEST_UPDATEFIELD,
    '__module__' : 'cs3.sharing.collaboration.v1beta1.collaboration_api_pb2'
    # @@protoc_insertion_point(class_scope:cs3.sharing.collaboration.v1beta1.UpdateShareRequest.UpdateField)
    })
  ,
  'DESCRIPTOR' : _UPDATESHAREREQUEST,
  '__module__' : 'cs3.sharing.collaboration.v1beta1.collaboration_api_pb2'
  # @@protoc_insertion_point(class_scope:cs3.sharing.collaboration.v1beta1.UpdateShareRequest)
  })
_sym_db.RegisterMessage(UpdateShareRequest)
_sym_db.RegisterMessage(UpdateShareRequest.UpdateField)

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

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

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

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

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

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

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

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

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

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

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

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

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

_COLLABORATIONAPI = DESCRIPTOR.services_by_name['CollaborationAPI']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n%com.cs3.sharing.collaboration.v1beta1B\025CollaborationApiProtoP\001Z\024collaborationv1beta1\242\002\003CSC\252\002!Cs3.Sharing.Collaboration.V1Beta1\312\002!Cs3\\Sharing\\Collaboration\\V1Beta1'
  _CREATESHAREREQUEST._serialized_start=289
  _CREATESHAREREQUEST._serialized_end=481
  _CREATESHARERESPONSE._serialized_start=484
  _CREATESHARERESPONSE._serialized_end=646
  _UPDATESHAREREQUEST._serialized_start=649
  _UPDATESHAREREQUEST._serialized_end=982
  _UPDATESHAREREQUEST_UPDATEFIELD._serialized_start=860
  _UPDATESHAREREQUEST_UPDATEFIELD._serialized_end=982
  _UPDATESHARERESPONSE._serialized_start=985
  _UPDATESHARERESPONSE._serialized_end=1147
  _LISTSHARESREQUEST._serialized_start=1150
  _LISTSHARESREQUEST._serialized_end=1311
  _LISTSHARESRESPONSE._serialized_start=1314
  _LISTSHARESRESPONSE._serialized_end=1501
  _REMOVESHAREREQUEST._serialized_start=1503
  _REMOVESHAREREQUEST._serialized_end=1630
  _REMOVESHARERESPONSE._serialized_start=1632
  _REMOVESHARERESPONSE._serialized_end=1737
  _GETSHAREREQUEST._serialized_start=1739
  _GETSHAREREQUEST._serialized_end=1863
  _GETSHARERESPONSE._serialized_start=1866
  _GETSHARERESPONSE._serialized_end=2025
  _LISTRECEIVEDSHARESREQUEST._serialized_start=2028
  _LISTRECEIVEDSHARESREQUEST._serialized_end=2197
  _LISTRECEIVEDSHARESRESPONSE._serialized_start=2200
  _LISTRECEIVEDSHARESRESPONSE._serialized_end=2403
  _UPDATERECEIVEDSHAREREQUEST._serialized_start=2406
  _UPDATERECEIVEDSHAREREQUEST._serialized_end=2591
  _UPDATERECEIVEDSHARERESPONSE._serialized_start=2594
  _UPDATERECEIVEDSHARERESPONSE._serialized_end=2772
  _GETRECEIVEDSHAREREQUEST._serialized_start=2775
  _GETRECEIVEDSHAREREQUEST._serialized_end=2907
  _GETRECEIVEDSHARERESPONSE._serialized_start=2910
  _GETRECEIVEDSHARERESPONSE._serialized_end=3085
  _COLLABORATIONAPI._serialized_start=3088
  _COLLABORATIONAPI._serialized_end=4165
# @@protoc_insertion_point(module_scope)
