# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cs3/sharing/link/v1beta1/link_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.sharing.link.v1beta1 import resources_pb2 as cs3_dot_sharing_dot_link_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/link/v1beta1/link_api.proto\x12\x18\x63s3.sharing.link.v1beta1\x1a)cs3/identity/user/v1beta1/resources.proto\x1a\x1c\x63s3/rpc/v1beta1/status.proto\x1a(cs3/sharing/link/v1beta1/resources.proto\x1a,cs3/storage/provider/v1beta1/resources.proto\x1a\x1d\x63s3/types/v1beta1/types.proto\"\x81\x03\n\x18\x43reatePublicShareRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12O\n\rresource_info\x18\x02 \x01(\x0b\x32*.cs3.storage.provider.v1beta1.ResourceInfoR\x0cresourceInfo\x12\x35\n\x05grant\x18\x03 \x01(\x0b\x32\x1f.cs3.sharing.link.v1beta1.GrantR\x05grant\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x1a\n\x08internal\x18\x05 \x01(\x08R\x08internal\x12%\n\x0enotify_uploads\x18\x06 \x01(\x08R\rnotifyUploads\x12\x45\n\x1fnotify_uploads_extra_recipients\x18\x07 \x01(\tR\x1cnotifyUploadsExtraRecipients\"\xbc\x01\n\x19\x43reatePublicShareResponse\x12/\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.StatusR\x06status\x12\x31\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12;\n\x05share\x18\x03 \x01(\x0b\x32%.cs3.sharing.link.v1beta1.PublicShareR\x05share\"\xef\x05\n\x18UpdatePublicShareRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12@\n\x03ref\x18\x02 \x01(\x0b\x32..cs3.sharing.link.v1beta1.PublicShareReferenceR\x03ref\x12Q\n\x06update\x18\x03 \x01(\x0b\x32\x39.cs3.sharing.link.v1beta1.UpdatePublicShareRequest.UpdateR\x06update\x1a\x8a\x04\n\x06Update\x12R\n\x04type\x18\x03 \x01(\x0e\x32>.cs3.sharing.link.v1beta1.UpdatePublicShareRequest.Update.TypeR\x04type\x12\x35\n\x05grant\x18\x04 \x01(\x0b\x32\x1f.cs3.sharing.link.v1beta1.GrantR\x05grant\x12!\n\x0c\x64isplay_name\x18\x05 \x01(\tR\x0b\x64isplayName\x12 \n\x0b\x64\x65scription\x18\x06 \x01(\tR\x0b\x64\x65scription\x12%\n\x0enotify_uploads\x18\x07 \x01(\x08R\rnotifyUploads\x12\x45\n\x1fnotify_uploads_extra_recipients\x18\x08 \x01(\tR\x1cnotifyUploadsExtraRecipients\"\xc1\x01\n\x04Type\x12\x10\n\x0cTYPE_INVALID\x10\x00\x12\x14\n\x10TYPE_PERMISSIONS\x10\x01\x12\x11\n\rTYPE_PASSWORD\x10\x02\x12\x13\n\x0fTYPE_EXPIRATION\x10\x03\x12\x14\n\x10TYPE_DISPLAYNAME\x10\x04\x12\x14\n\x10TYPE_DESCRIPTION\x10\x05\x12\x16\n\x12TYPE_NOTIFYUPLOADS\x10\x06\x12%\n!TYPE_NOTIFYUPLOADSEXTRARECIPIENTS\x10\x07\"\xbc\x01\n\x19UpdatePublicShareResponse\x12/\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.StatusR\x06status\x12\x31\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12;\n\x05share\x18\x03 \x01(\x0b\x32%.cs3.sharing.link.v1beta1.PublicShareR\x05share\"\xef\x04\n\x17ListPublicSharesRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12R\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x38.cs3.sharing.link.v1beta1.ListPublicSharesRequest.FilterR\x07\x66ilters\x12\x12\n\x04sign\x18\x03 \x01(\x08R\x04sign\x12\x1b\n\tpage_size\x18\x04 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x05 \x01(\tR\tpageToken\x1a\xfc\x02\n\x06\x46ilter\x12Q\n\x04type\x18\x02 \x01(\x0e\x32=.cs3.sharing.link.v1beta1.ListPublicSharesRequest.Filter.TypeR\x04type\x12K\n\x0bresource_id\x18\x03 \x01(\x0b\x32(.cs3.storage.provider.v1beta1.ResourceIdH\x00R\nresourceId\x12\x39\n\x05owner\x18\x04 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdH\x00R\x05owner\x12=\n\x07\x63reator\x18\x05 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdH\x00R\x07\x63reator\"P\n\x04Type\x12\x10\n\x0cTYPE_INVALID\x10\x00\x12\x14\n\x10TYPE_RESOURCE_ID\x10\x01\x12\x0e\n\nTYPE_OWNER\x10\x02\x12\x10\n\x0cTYPE_CREATOR\x10\x03\x42\x06\n\x04term\"\xe3\x01\n\x18ListPublicSharesResponse\x12/\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.StatusR\x06status\x12\x31\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12;\n\x05share\x18\x03 \x03(\x0b\x32%.cs3.sharing.link.v1beta1.PublicShareR\x05share\x12&\n\x0fnext_page_token\x18\x04 \x01(\tR\rnextPageToken\"\x8f\x01\n\x18RemovePublicShareRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12@\n\x03ref\x18\x02 \x01(\x0b\x32..cs3.sharing.link.v1beta1.PublicShareReferenceR\x03ref\"\x7f\n\x19RemovePublicShareResponse\x12/\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.StatusR\x06status\x12\x31\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\"\xa0\x01\n\x15GetPublicShareRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12@\n\x03ref\x18\x02 \x01(\x0b\x32..cs3.sharing.link.v1beta1.PublicShareReferenceR\x03ref\x12\x12\n\x04sign\x18\x03 \x01(\x08R\x04sign\"\xb9\x01\n\x16GetPublicShareResponse\x12/\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.StatusR\x06status\x12\x31\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12;\n\x05share\x18\x03 \x01(\x0b\x32%.cs3.sharing.link.v1beta1.PublicShareR\x05share\"\xd8\x01\n\x1cGetPublicShareByTokenRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\x12[\n\x0e\x61uthentication\x18\x03 \x01(\x0b\x32\x33.cs3.sharing.link.v1beta1.PublicShareAuthenticationR\x0e\x61uthentication\x12\x12\n\x04sign\x18\x04 \x01(\x08R\x04sign\"\xe9\x01\n\x1dGetPublicShareByTokenResponse\x12/\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.StatusR\x06status\x12\x31\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12;\n\x05share\x18\x03 \x01(\x0b\x32%.cs3.sharing.link.v1beta1.PublicShareR\x05share\x12\'\n\rpassword_hash\x18\x04 \x01(\tB\x02\x18\x01R\x0cpasswordHash2\xfe\x05\n\x07LinkAPI\x12|\n\x11\x43reatePublicShare\x12\x32.cs3.sharing.link.v1beta1.CreatePublicShareRequest\x1a\x33.cs3.sharing.link.v1beta1.CreatePublicShareResponse\x12|\n\x11RemovePublicShare\x12\x32.cs3.sharing.link.v1beta1.RemovePublicShareRequest\x1a\x33.cs3.sharing.link.v1beta1.RemovePublicShareResponse\x12s\n\x0eGetPublicShare\x12/.cs3.sharing.link.v1beta1.GetPublicShareRequest\x1a\x30.cs3.sharing.link.v1beta1.GetPublicShareResponse\x12\x88\x01\n\x15GetPublicShareByToken\x12\x36.cs3.sharing.link.v1beta1.GetPublicShareByTokenRequest\x1a\x37.cs3.sharing.link.v1beta1.GetPublicShareByTokenResponse\x12y\n\x10ListPublicShares\x12\x31.cs3.sharing.link.v1beta1.ListPublicSharesRequest\x1a\x32.cs3.sharing.link.v1beta1.ListPublicSharesResponse\x12|\n\x11UpdatePublicShare\x12\x32.cs3.sharing.link.v1beta1.UpdatePublicShareRequest\x1a\x33.cs3.sharing.link.v1beta1.UpdatePublicShareResponseB\xf2\x01\n\x1c\x63om.cs3.sharing.link.v1beta1B\x0cLinkApiProtoP\x01ZAgithub.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1;linkv1beta1\xa2\x02\x03\x43SL\xaa\x02\x18\x43s3.Sharing.Link.V1beta1\xca\x02\x18\x43s3\\Sharing\\Link\\V1beta1\xe2\x02$Cs3\\Sharing\\Link\\V1beta1\\GPBMetadata\xea\x02\x1b\x43s3::Sharing::Link::V1beta1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cs3.sharing.link.v1beta1.link_api_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  _globals['DESCRIPTOR']._options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\034com.cs3.sharing.link.v1beta1B\014LinkApiProtoP\001ZAgithub.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1;linkv1beta1\242\002\003CSL\252\002\030Cs3.Sharing.Link.V1beta1\312\002\030Cs3\\Sharing\\Link\\V1beta1\342\002$Cs3\\Sharing\\Link\\V1beta1\\GPBMetadata\352\002\033Cs3::Sharing::Link::V1beta1'
  _globals['_GETPUBLICSHAREBYTOKENRESPONSE'].fields_by_name['password_hash']._options = None
  _globals['_GETPUBLICSHAREBYTOKENRESPONSE'].fields_by_name['password_hash']._serialized_options = b'\030\001'
  _globals['_CREATEPUBLICSHAREREQUEST']._serialized_start=262
  _globals['_CREATEPUBLICSHAREREQUEST']._serialized_end=647
  _globals['_CREATEPUBLICSHARERESPONSE']._serialized_start=650
  _globals['_CREATEPUBLICSHARERESPONSE']._serialized_end=838
  _globals['_UPDATEPUBLICSHAREREQUEST']._serialized_start=841
  _globals['_UPDATEPUBLICSHAREREQUEST']._serialized_end=1592
  _globals['_UPDATEPUBLICSHAREREQUEST_UPDATE']._serialized_start=1070
  _globals['_UPDATEPUBLICSHAREREQUEST_UPDATE']._serialized_end=1592
  _globals['_UPDATEPUBLICSHAREREQUEST_UPDATE_TYPE']._serialized_start=1399
  _globals['_UPDATEPUBLICSHAREREQUEST_UPDATE_TYPE']._serialized_end=1592
  _globals['_UPDATEPUBLICSHARERESPONSE']._serialized_start=1595
  _globals['_UPDATEPUBLICSHARERESPONSE']._serialized_end=1783
  _globals['_LISTPUBLICSHARESREQUEST']._serialized_start=1786
  _globals['_LISTPUBLICSHARESREQUEST']._serialized_end=2409
  _globals['_LISTPUBLICSHARESREQUEST_FILTER']._serialized_start=2029
  _globals['_LISTPUBLICSHARESREQUEST_FILTER']._serialized_end=2409
  _globals['_LISTPUBLICSHARESREQUEST_FILTER_TYPE']._serialized_start=2321
  _globals['_LISTPUBLICSHARESREQUEST_FILTER_TYPE']._serialized_end=2401
  _globals['_LISTPUBLICSHARESRESPONSE']._serialized_start=2412
  _globals['_LISTPUBLICSHARESRESPONSE']._serialized_end=2639
  _globals['_REMOVEPUBLICSHAREREQUEST']._serialized_start=2642
  _globals['_REMOVEPUBLICSHAREREQUEST']._serialized_end=2785
  _globals['_REMOVEPUBLICSHARERESPONSE']._serialized_start=2787
  _globals['_REMOVEPUBLICSHARERESPONSE']._serialized_end=2914
  _globals['_GETPUBLICSHAREREQUEST']._serialized_start=2917
  _globals['_GETPUBLICSHAREREQUEST']._serialized_end=3077
  _globals['_GETPUBLICSHARERESPONSE']._serialized_start=3080
  _globals['_GETPUBLICSHARERESPONSE']._serialized_end=3265
  _globals['_GETPUBLICSHAREBYTOKENREQUEST']._serialized_start=3268
  _globals['_GETPUBLICSHAREBYTOKENREQUEST']._serialized_end=3484
  _globals['_GETPUBLICSHAREBYTOKENRESPONSE']._serialized_start=3487
  _globals['_GETPUBLICSHAREBYTOKENRESPONSE']._serialized_end=3720
  _globals['_LINKAPI']._serialized_start=3723
  _globals['_LINKAPI']._serialized_end=4489
# @@protoc_insertion_point(module_scope)
