# -*- coding: utf-8 -*-

#  Licensed to the Apache Software Foundation (ASF) under one
#  or more contributor license agreements. See the NOTICE file
#  distributed with this work for additional information
#  regarding copyright ownership. The ASF licenses this file
#  to you under the Apache License, Version 2.0 (the
#  "License"); you may not use this file except in compliance
#  with the License. You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing,
#   software distributed under the License is distributed on an
#   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
#   KIND, either express or implied. See the License for the
#   specific language governing permissions and limitations
#   under the License.

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: SharingManagementService.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
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()


import custos.server.core.SharingService_pb2 as SharingService__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='SharingManagementService.proto',
  package='org.apache.custos.sharing.management.service',
  syntax='proto3',
  serialized_options=b'P\001Z\004./pb',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x1eSharingManagementService.proto\x12,org.apache.custos.sharing.management.service\x1a\x14SharingService.proto\x1a\x1cgoogle/api/annotations.proto2\xe8\"\n\x18SharingManagementService\x12\xa3\x01\n\x10\x63reateEntityType\x12\x34.org.apache.custos.sharing.service.EntityTypeRequest\x1a).org.apache.custos.sharing.service.Status\".\x82\xd3\xe4\x93\x02(\"&/sharing-management/v1.0.0/entity/type\x12\xa3\x01\n\x10updateEntityType\x12\x34.org.apache.custos.sharing.service.EntityTypeRequest\x1a).org.apache.custos.sharing.service.Status\".\x82\xd3\xe4\x93\x02(\x1a&/sharing-management/v1.0.0/entity/type\x12\xa3\x01\n\x10\x64\x65leteEntityType\x12\x34.org.apache.custos.sharing.service.EntityTypeRequest\x1a).org.apache.custos.sharing.service.Status\".\x82\xd3\xe4\x93\x02(*&/sharing-management/v1.0.0/entity/type\x12\xa4\x01\n\rgetEntityType\x12\x34.org.apache.custos.sharing.service.EntityTypeRequest\x1a-.org.apache.custos.sharing.service.EntityType\".\x82\xd3\xe4\x93\x02(\x12&/sharing-management/v1.0.0/entity/type\x12\xa3\x01\n\x0egetEntityTypes\x12\x30.org.apache.custos.sharing.service.SearchRequest\x1a..org.apache.custos.sharing.service.EntityTypes\"/\x82\xd3\xe4\x93\x02)\x12\'/sharing-management/v1.0.0/entity/types\x12\xaf\x01\n\x14\x63reatePermissionType\x12\x38.org.apache.custos.sharing.service.PermissionTypeRequest\x1a).org.apache.custos.sharing.service.Status\"2\x82\xd3\xe4\x93\x02,\"*/sharing-management/v1.0.0/permission/type\x12\xaf\x01\n\x14updatePermissionType\x12\x38.org.apache.custos.sharing.service.PermissionTypeRequest\x1a).org.apache.custos.sharing.service.Status\"2\x82\xd3\xe4\x93\x02,\x1a*/sharing-management/v1.0.0/permission/type\x12\xaf\x01\n\x14\x64\x65letePermissionType\x12\x38.org.apache.custos.sharing.service.PermissionTypeRequest\x1a).org.apache.custos.sharing.service.Status\"2\x82\xd3\xe4\x93\x02,**/sharing-management/v1.0.0/permission/type\x12\xb4\x01\n\x11getPermissionType\x12\x38.org.apache.custos.sharing.service.PermissionTypeRequest\x1a\x31.org.apache.custos.sharing.service.PermissionType\"2\x82\xd3\xe4\x93\x02,\x12*/sharing-management/v1.0.0/permission/type\x12\xaf\x01\n\x12getPermissionTypes\x12\x30.org.apache.custos.sharing.service.SearchRequest\x1a\x32.org.apache.custos.sharing.service.PermissionTypes\"3\x82\xd3\xe4\x93\x02-\x12+/sharing-management/v1.0.0/permission/types\x12\x96\x01\n\x0c\x63reateEntity\x12\x30.org.apache.custos.sharing.service.EntityRequest\x1a).org.apache.custos.sharing.service.Status\")\x82\xd3\xe4\x93\x02#\"!/sharing-management/v1.0.0/entity\x12\x96\x01\n\x0cupdateEntity\x12\x30.org.apache.custos.sharing.service.EntityRequest\x1a).org.apache.custos.sharing.service.Status\")\x82\xd3\xe4\x93\x02#\x1a!/sharing-management/v1.0.0/entity\x12\xa2\x01\n\x0eisEntityExists\x12\x30.org.apache.custos.sharing.service.EntityRequest\x1a).org.apache.custos.sharing.service.Status\"3\x82\xd3\xe4\x93\x02-\x12+/sharing-management/v1.0.0/entity/existence\x12\x93\x01\n\tgetEntity\x12\x30.org.apache.custos.sharing.service.EntityRequest\x1a).org.apache.custos.sharing.service.Entity\")\x82\xd3\xe4\x93\x02#\x12!/sharing-management/v1.0.0/entity\x12\x96\x01\n\x0c\x64\x65leteEntity\x12\x30.org.apache.custos.sharing.service.EntityRequest\x1a).org.apache.custos.sharing.service.Status\")\x82\xd3\xe4\x93\x02#*!/sharing-management/v1.0.0/entity\x12\x9c\x01\n\x0esearchEntities\x12\x30.org.apache.custos.sharing.service.SearchRequest\x1a+.org.apache.custos.sharing.service.Entities\"+\x82\xd3\xe4\x93\x02%\"#/sharing-management/v1.0.0/entities\x12\xaa\x01\n\x14getListOfSharedUsers\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a/.org.apache.custos.sharing.service.SharedOwners\".\x82\xd3\xe4\x93\x02(\x12&/sharing-management/v1.0.0/users/share\x12\xb9\x01\n\x1cgetListOfDirectlySharedUsers\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a/.org.apache.custos.sharing.service.SharedOwners\"5\x82\xd3\xe4\x93\x02/\x12-/sharing-management/v1.0.0/users/share/direct\x12\xac\x01\n\x15getListOfSharedGroups\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a/.org.apache.custos.sharing.service.SharedOwners\"/\x82\xd3\xe4\x93\x02)\x12\'/sharing-management/v1.0.0/groups/share\x12\xbb\x01\n\x1dgetListOfDirectlySharedGroups\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a/.org.apache.custos.sharing.service.SharedOwners\"6\x82\xd3\xe4\x93\x02\x30\x12./sharing-management/v1.0.0/groups/share/direct\x12\xbb\x01\n\x14getAllDirectSharings\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a?.org.apache.custos.sharing.service.GetAllDirectSharingsResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/sharing-management/v1.0.0/share/direct\x12\xa4\x01\n\x14shareEntityWithUsers\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a).org.apache.custos.sharing.service.Status\".\x82\xd3\xe4\x93\x02(\"&/sharing-management/v1.0.0/users/share\x12\xa6\x01\n\x15shareEntityWithGroups\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a).org.apache.custos.sharing.service.Status\"/\x82\xd3\xe4\x93\x02)\"\'/sharing-management/v1.0.0/groups/share\x12\xac\x01\n\x1crevokeEntitySharingFromUsers\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a).org.apache.custos.sharing.service.Status\".\x82\xd3\xe4\x93\x02(*&/sharing-management/v1.0.0/users/share\x12\xae\x01\n\x1drevokeEntitySharingFromGroups\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a).org.apache.custos.sharing.service.Status\"/\x82\xd3\xe4\x93\x02)*\'/sharing-management/v1.0.0/groups/share\x12\xa4\x01\n\ruserHasAccess\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a).org.apache.custos.sharing.service.Status\"5\x82\xd3\xe4\x93\x02/\x12-/sharing-management/v1.0.0/entity/user/accessB\x08P\x01Z\x04./pbb\x06proto3'
  ,
  dependencies=[SharingService__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,])



_sym_db.RegisterFileDescriptor(DESCRIPTOR)


DESCRIPTOR._options = None

_SHARINGMANAGEMENTSERVICE = _descriptor.ServiceDescriptor(
  name='SharingManagementService',
  full_name='org.apache.custos.sharing.management.service.SharingManagementService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=133,
  serialized_end=4589,
  methods=[
  _descriptor.MethodDescriptor(
    name='createEntityType',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.createEntityType',
    index=0,
    containing_service=None,
    input_type=SharingService__pb2._ENTITYTYPEREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002(\"&/sharing-management/v1.0.0/entity/type',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='updateEntityType',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.updateEntityType',
    index=1,
    containing_service=None,
    input_type=SharingService__pb2._ENTITYTYPEREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002(\032&/sharing-management/v1.0.0/entity/type',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deleteEntityType',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.deleteEntityType',
    index=2,
    containing_service=None,
    input_type=SharingService__pb2._ENTITYTYPEREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002(*&/sharing-management/v1.0.0/entity/type',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getEntityType',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.getEntityType',
    index=3,
    containing_service=None,
    input_type=SharingService__pb2._ENTITYTYPEREQUEST,
    output_type=SharingService__pb2._ENTITYTYPE,
    serialized_options=b'\202\323\344\223\002(\022&/sharing-management/v1.0.0/entity/type',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getEntityTypes',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.getEntityTypes',
    index=4,
    containing_service=None,
    input_type=SharingService__pb2._SEARCHREQUEST,
    output_type=SharingService__pb2._ENTITYTYPES,
    serialized_options=b'\202\323\344\223\002)\022\'/sharing-management/v1.0.0/entity/types',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='createPermissionType',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.createPermissionType',
    index=5,
    containing_service=None,
    input_type=SharingService__pb2._PERMISSIONTYPEREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002,\"*/sharing-management/v1.0.0/permission/type',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='updatePermissionType',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.updatePermissionType',
    index=6,
    containing_service=None,
    input_type=SharingService__pb2._PERMISSIONTYPEREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002,\032*/sharing-management/v1.0.0/permission/type',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deletePermissionType',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.deletePermissionType',
    index=7,
    containing_service=None,
    input_type=SharingService__pb2._PERMISSIONTYPEREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002,**/sharing-management/v1.0.0/permission/type',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getPermissionType',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.getPermissionType',
    index=8,
    containing_service=None,
    input_type=SharingService__pb2._PERMISSIONTYPEREQUEST,
    output_type=SharingService__pb2._PERMISSIONTYPE,
    serialized_options=b'\202\323\344\223\002,\022*/sharing-management/v1.0.0/permission/type',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getPermissionTypes',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.getPermissionTypes',
    index=9,
    containing_service=None,
    input_type=SharingService__pb2._SEARCHREQUEST,
    output_type=SharingService__pb2._PERMISSIONTYPES,
    serialized_options=b'\202\323\344\223\002-\022+/sharing-management/v1.0.0/permission/types',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='createEntity',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.createEntity',
    index=10,
    containing_service=None,
    input_type=SharingService__pb2._ENTITYREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002#\"!/sharing-management/v1.0.0/entity',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='updateEntity',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.updateEntity',
    index=11,
    containing_service=None,
    input_type=SharingService__pb2._ENTITYREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002#\032!/sharing-management/v1.0.0/entity',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='isEntityExists',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.isEntityExists',
    index=12,
    containing_service=None,
    input_type=SharingService__pb2._ENTITYREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002-\022+/sharing-management/v1.0.0/entity/existence',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getEntity',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.getEntity',
    index=13,
    containing_service=None,
    input_type=SharingService__pb2._ENTITYREQUEST,
    output_type=SharingService__pb2._ENTITY,
    serialized_options=b'\202\323\344\223\002#\022!/sharing-management/v1.0.0/entity',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deleteEntity',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.deleteEntity',
    index=14,
    containing_service=None,
    input_type=SharingService__pb2._ENTITYREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002#*!/sharing-management/v1.0.0/entity',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='searchEntities',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.searchEntities',
    index=15,
    containing_service=None,
    input_type=SharingService__pb2._SEARCHREQUEST,
    output_type=SharingService__pb2._ENTITIES,
    serialized_options=b'\202\323\344\223\002%\"#/sharing-management/v1.0.0/entities',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getListOfSharedUsers',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.getListOfSharedUsers',
    index=16,
    containing_service=None,
    input_type=SharingService__pb2._SHARINGREQUEST,
    output_type=SharingService__pb2._SHAREDOWNERS,
    serialized_options=b'\202\323\344\223\002(\022&/sharing-management/v1.0.0/users/share',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getListOfDirectlySharedUsers',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.getListOfDirectlySharedUsers',
    index=17,
    containing_service=None,
    input_type=SharingService__pb2._SHARINGREQUEST,
    output_type=SharingService__pb2._SHAREDOWNERS,
    serialized_options=b'\202\323\344\223\002/\022-/sharing-management/v1.0.0/users/share/direct',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getListOfSharedGroups',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.getListOfSharedGroups',
    index=18,
    containing_service=None,
    input_type=SharingService__pb2._SHARINGREQUEST,
    output_type=SharingService__pb2._SHAREDOWNERS,
    serialized_options=b'\202\323\344\223\002)\022\'/sharing-management/v1.0.0/groups/share',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getListOfDirectlySharedGroups',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.getListOfDirectlySharedGroups',
    index=19,
    containing_service=None,
    input_type=SharingService__pb2._SHARINGREQUEST,
    output_type=SharingService__pb2._SHAREDOWNERS,
    serialized_options=b'\202\323\344\223\0020\022./sharing-management/v1.0.0/groups/share/direct',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getAllDirectSharings',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.getAllDirectSharings',
    index=20,
    containing_service=None,
    input_type=SharingService__pb2._SHARINGREQUEST,
    output_type=SharingService__pb2._GETALLDIRECTSHARINGSRESPONSE,
    serialized_options=b'\202\323\344\223\002)\022\'/sharing-management/v1.0.0/share/direct',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='shareEntityWithUsers',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.shareEntityWithUsers',
    index=21,
    containing_service=None,
    input_type=SharingService__pb2._SHARINGREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002(\"&/sharing-management/v1.0.0/users/share',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='shareEntityWithGroups',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.shareEntityWithGroups',
    index=22,
    containing_service=None,
    input_type=SharingService__pb2._SHARINGREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002)\"\'/sharing-management/v1.0.0/groups/share',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='revokeEntitySharingFromUsers',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.revokeEntitySharingFromUsers',
    index=23,
    containing_service=None,
    input_type=SharingService__pb2._SHARINGREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002(*&/sharing-management/v1.0.0/users/share',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='revokeEntitySharingFromGroups',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.revokeEntitySharingFromGroups',
    index=24,
    containing_service=None,
    input_type=SharingService__pb2._SHARINGREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002)*\'/sharing-management/v1.0.0/groups/share',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='userHasAccess',
    full_name='org.apache.custos.sharing.management.service.SharingManagementService.userHasAccess',
    index=25,
    containing_service=None,
    input_type=SharingService__pb2._SHARINGREQUEST,
    output_type=SharingService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002/\022-/sharing-management/v1.0.0/entity/user/access',
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_SHARINGMANAGEMENTSERVICE)

DESCRIPTOR.services_by_name['SharingManagementService'] = _SHARINGMANAGEMENTSERVICE

# @@protoc_insertion_point(module_scope)
