# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cs3/ocm/core/v1beta1/ocm_core_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.ocm.v1beta1 import resources_pb2 as cs3_dot_sharing_dot_ocm_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/ocm/core/v1beta1/ocm_core_api.proto\x12\x14\x63s3.ocm.core.v1beta1\x1a)cs3/identity/user/v1beta1/resources.proto\x1a\x1c\x63s3/rpc/v1beta1/status.proto\x1a\'cs3/sharing/ocm/v1beta1/resources.proto\x1a,cs3/storage/provider/v1beta1/resources.proto\x1a\x1d\x63s3/types/v1beta1/types.proto\"\xee\x04\n\x19\x43reateOCMCoreShareRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x1f\n\x0bresource_id\x18\x04 \x01(\tR\nresourceId\x12\x37\n\x05owner\x18\x05 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdR\x05owner\x12\x39\n\x06sender\x18\x06 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdR\x06sender\x12@\n\nshare_with\x18\x07 \x01(\x0b\x32!.cs3.identity.user.v1beta1.UserIdR\tshareWith\x12O\n\rresource_type\x18\x08 \x01(\x0e\x32*.cs3.storage.provider.v1beta1.ResourceTypeR\x0cresourceType\x12\x41\n\nshare_type\x18\t \x01(\x0e\x32\".cs3.sharing.ocm.v1beta1.ShareTypeR\tshareType\x12<\n\nexpiration\x18\n \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\nexpiration\x12?\n\tprotocols\x18\x0b \x03(\x0b\x32!.cs3.sharing.ocm.v1beta1.ProtocolR\tprotocols\"\xc8\x01\n\x1a\x43reateOCMCoreShareResponse\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\x0e\n\x02id\x18\x03 \x01(\tR\x02id\x12\x36\n\x07\x63reated\x18\x04 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\x07\x63reated\"\xd4\x02\n\x19UpdateOCMCoreShareRequest\x12\x31\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\x12 \n\x0cocm_share_id\x18\x02 \x01(\tR\nocmShareId\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x41\n\nshare_type\x18\x05 \x01(\x0e\x32\".cs3.sharing.ocm.v1beta1.ShareTypeR\tshareType\x12<\n\nexpiration\x18\x06 \x01(\x0b\x32\x1c.cs3.types.v1beta1.TimestampR\nexpiration\x12?\n\tprotocols\x18\x07 \x03(\x0b\x32!.cs3.sharing.ocm.v1beta1.ProtocolR\tprotocols\"\x80\x01\n\x1aUpdateOCMCoreShareResponse\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\"^\n\x19\x44\x65leteOCMCoreShareRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x31\n\x06opaque\x18\x02 \x01(\x0b\x32\x19.cs3.types.v1beta1.OpaqueR\x06opaque\"\x80\x01\n\x1a\x44\x65leteOCMCoreShareResponse\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\x06opaque2\xf7\x02\n\nOcmCoreAPI\x12w\n\x12\x43reateOCMCoreShare\x12/.cs3.ocm.core.v1beta1.CreateOCMCoreShareRequest\x1a\x30.cs3.ocm.core.v1beta1.CreateOCMCoreShareResponse\x12w\n\x12UpdateOCMCoreShare\x12/.cs3.ocm.core.v1beta1.UpdateOCMCoreShareRequest\x1a\x30.cs3.ocm.core.v1beta1.UpdateOCMCoreShareResponse\x12w\n\x12\x44\x65leteOCMCoreShare\x12/.cs3.ocm.core.v1beta1.DeleteOCMCoreShareRequest\x1a\x30.cs3.ocm.core.v1beta1.DeleteOCMCoreShareResponseB\xdd\x01\n\x18\x63om.cs3.ocm.core.v1beta1B\x0fOcmCoreApiProtoP\x01Z=github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1;corev1beta1\xa2\x02\x03\x43OC\xaa\x02\x14\x43s3.Ocm.Core.V1beta1\xca\x02\x14\x43s3\\Ocm\\Core\\V1beta1\xe2\x02 Cs3\\Ocm\\Core\\V1beta1\\GPBMetadata\xea\x02\x17\x43s3::Ocm::Core::V1beta1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cs3.ocm.core.v1beta1.ocm_core_api_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  _globals['DESCRIPTOR']._options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\030com.cs3.ocm.core.v1beta1B\017OcmCoreApiProtoP\001Z=github.com/cs3org/go-cs3apis/cs3/ocm/core/v1beta1;corev1beta1\242\002\003COC\252\002\024Cs3.Ocm.Core.V1beta1\312\002\024Cs3\\Ocm\\Core\\V1beta1\342\002 Cs3\\Ocm\\Core\\V1beta1\\GPBMetadata\352\002\027Cs3::Ocm::Core::V1beta1'
  _globals['_CREATEOCMCORESHAREREQUEST']._serialized_start=257
  _globals['_CREATEOCMCORESHAREREQUEST']._serialized_end=879
  _globals['_CREATEOCMCORESHARERESPONSE']._serialized_start=882
  _globals['_CREATEOCMCORESHARERESPONSE']._serialized_end=1082
  _globals['_UPDATEOCMCORESHAREREQUEST']._serialized_start=1085
  _globals['_UPDATEOCMCORESHAREREQUEST']._serialized_end=1425
  _globals['_UPDATEOCMCORESHARERESPONSE']._serialized_start=1428
  _globals['_UPDATEOCMCORESHARERESPONSE']._serialized_end=1556
  _globals['_DELETEOCMCORESHAREREQUEST']._serialized_start=1558
  _globals['_DELETEOCMCORESHAREREQUEST']._serialized_end=1652
  _globals['_DELETEOCMCORESHARERESPONSE']._serialized_start=1655
  _globals['_DELETEOCMCORESHARERESPONSE']._serialized_end=1783
  _globals['_OCMCOREAPI']._serialized_start=1786
  _globals['_OCMCOREAPI']._serialized_end=2161
# @@protoc_insertion_point(module_scope)
