# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cs3/sharing/link/v1beta1/resources.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.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/link/v1beta1/resources.proto\x12\x18\x63s3.sharing.link.v1beta1\x1a)cs3/identity/user/v1beta1/resources.proto\x1a,cs3/storage/provider/v1beta1/resources.proto\x1a\x1d\x63s3/types/v1beta1/types.proto\"\xcb\x04\n\x0bPublicShare\x12\x33\n\x02id\x18\x01 \x01(\x0b\x32\'.cs3.sharing.link.v1beta1.PublicShareId\x12\r\n\x05token\x18\x02 \x01(\t\x12=\n\x0bresource_id\x18\x03 \x01(\x0b\x32(.cs3.storage.provider.v1beta1.ResourceId\x12\x45\n\x0bpermissions\x18\x04 \x01(\x0b\x32\x30.cs3.sharing.link.v1beta1.PublicSharePermissions\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\x12\x1a\n\x12password_protected\x18\t \x01(\x08\x12\x30\n\nexpiration\x18\n \x01(\x0b\x32\x1c.cs3.types.v1beta1.Timestamp\x12\x14\n\x0c\x64isplay_name\x18\x0b \x01(\t\x12;\n\tsignature\x18\x0c \x01(\x0b\x32(.cs3.sharing.link.v1beta1.ShareSignature\x12\x11\n\tquicklink\x18\r \x01(\x08\"`\n\x16PublicSharePermissions\x12\x46\n\x0bpermissions\x18\x01 \x01(\x0b\x32\x31.cs3.storage.provider.v1beta1.ResourcePermissions\"\"\n\rPublicShareId\x12\x11\n\topaque_id\x18\x02 \x01(\t\"f\n\x14PublicShareReference\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32\'.cs3.sharing.link.v1beta1.PublicShareIdH\x00\x12\x0f\n\x05token\x18\x02 \x01(\tH\x00\x42\x06\n\x04spec\"v\n\x19PublicShareAuthentication\x12\x12\n\x08password\x18\x01 \x01(\tH\x00\x12=\n\tsignature\x18\x02 \x01(\x0b\x32(.cs3.sharing.link.v1beta1.ShareSignatureH\x00\x42\x06\n\x04spec\"_\n\x0eShareSignature\x12\x11\n\tsignature\x18\x01 \x01(\t\x12:\n\x14signature_expiration\x18\x02 \x01(\x0b\x32\x1c.cs3.types.v1beta1.Timestamp\"\x92\x01\n\x05Grant\x12\x45\n\x0bpermissions\x18\x01 \x01(\x0b\x32\x30.cs3.sharing.link.v1beta1.PublicSharePermissions\x12\x10\n\x08password\x18\x02 \x01(\t\x12\x30\n\nexpiration\x18\x03 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampBy\n\x1c\x63om.cs3.sharing.link.v1beta1B\x0eResourcesProtoP\x01Z\x0blinkv1beta1\xa2\x02\x03\x43SL\xaa\x02\x18\x43s3.Sharing.Link.V1Beta1\xca\x02\x18\x43s3\\Sharing\\Link\\V1Beta1b\x06proto3')



_PUBLICSHARE = DESCRIPTOR.message_types_by_name['PublicShare']
_PUBLICSHAREPERMISSIONS = DESCRIPTOR.message_types_by_name['PublicSharePermissions']
_PUBLICSHAREID = DESCRIPTOR.message_types_by_name['PublicShareId']
_PUBLICSHAREREFERENCE = DESCRIPTOR.message_types_by_name['PublicShareReference']
_PUBLICSHAREAUTHENTICATION = DESCRIPTOR.message_types_by_name['PublicShareAuthentication']
_SHARESIGNATURE = DESCRIPTOR.message_types_by_name['ShareSignature']
_GRANT = DESCRIPTOR.message_types_by_name['Grant']
PublicShare = _reflection.GeneratedProtocolMessageType('PublicShare', (_message.Message,), {
  'DESCRIPTOR' : _PUBLICSHARE,
  '__module__' : 'cs3.sharing.link.v1beta1.resources_pb2'
  # @@protoc_insertion_point(class_scope:cs3.sharing.link.v1beta1.PublicShare)
  })
_sym_db.RegisterMessage(PublicShare)

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

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

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

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

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

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

if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\034com.cs3.sharing.link.v1beta1B\016ResourcesProtoP\001Z\013linkv1beta1\242\002\003CSL\252\002\030Cs3.Sharing.Link.V1Beta1\312\002\030Cs3\\Sharing\\Link\\V1Beta1'
  _PUBLICSHARE._serialized_start=191
  _PUBLICSHARE._serialized_end=778
  _PUBLICSHAREPERMISSIONS._serialized_start=780
  _PUBLICSHAREPERMISSIONS._serialized_end=876
  _PUBLICSHAREID._serialized_start=878
  _PUBLICSHAREID._serialized_end=912
  _PUBLICSHAREREFERENCE._serialized_start=914
  _PUBLICSHAREREFERENCE._serialized_end=1016
  _PUBLICSHAREAUTHENTICATION._serialized_start=1018
  _PUBLICSHAREAUTHENTICATION._serialized_end=1136
  _SHARESIGNATURE._serialized_start=1138
  _SHARESIGNATURE._serialized_end=1233
  _GRANT._serialized_start=1236
  _GRANT._serialized_end=1382
# @@protoc_insertion_point(module_scope)
