# -*- 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: SharingService.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
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()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='SharingService.proto',
  package='org.apache.custos.sharing.service',
  syntax='proto3',
  serialized_options=b'P\001Z\004./pb',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x14SharingService.proto\x12!org.apache.custos.sharing.service\"c\n\nEntityType\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x12\n\ncreated_at\x18\x04 \x01(\x03\x12\x12\n\nupdated_at\x18\x05 \x01(\x03\"g\n\x0ePermissionType\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x12\n\ncreated_at\x18\x04 \x01(\x03\x12\x12\n\nupdated_at\x18\x05 \x01(\x03\"\xf0\x01\n\x06\x45ntity\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x10\n\x08owner_id\x18\x03 \x01(\t\x12\x11\n\tparent_id\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x13\n\x0b\x62inary_data\x18\x07 \x01(\x0c\x12\x11\n\tfull_text\x18\x08 \x01(\t\x12\x1e\n\x16original_creation_time\x18\t \x01(\x03\x12\x12\n\ncreated_at\x18\n \x01(\x03\x12\x12\n\nupdated_at\x18\x0b \x01(\x03\x12\x14\n\x0cshared_count\x18\x0c \x01(\x05\"\x84\x01\n\rEntityRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x11\n\ttenant_id\x18\x02 \x01(\x03\x12\x39\n\x06\x65ntity\x18\x03 \x01(\x0b\x32).org.apache.custos.sharing.service.Entity\x12\x12\n\nclient_sec\x18\x04 \x01(\t\"\x91\x01\n\x11\x45ntityTypeRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x11\n\ttenant_id\x18\x02 \x01(\x03\x12\x42\n\x0b\x65ntity_type\x18\x03 \x01(\x0b\x32-.org.apache.custos.sharing.service.EntityType\x12\x12\n\nclient_sec\x18\x04 \x01(\t\"\x9d\x01\n\x15PermissionTypeRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x11\n\ttenant_id\x18\x02 \x01(\x03\x12J\n\x0fpermission_type\x18\x03 \x01(\x0b\x32\x31.org.apache.custos.sharing.service.PermissionType\x12\x12\n\nclient_sec\x18\x04 \x01(\t\"\xb2\x01\n\x0eSearchCriteria\x12J\n\x0csearch_field\x18\x01 \x01(\x0e\x32\x34.org.apache.custos.sharing.service.EntitySearchField\x12\r\n\x05value\x18\x02 \x01(\t\x12\x45\n\tcondition\x18\x03 \x01(\x0e\x32\x32.org.apache.custos.sharing.service.SearchCondition\"\xdf\x01\n\rSearchRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x11\n\ttenant_id\x18\x02 \x01(\x03\x12\x10\n\x08owner_id\x18\x03 \x01(\t\x12\x0e\n\x06offset\x18\x04 \x01(\x05\x12\r\n\x05limit\x18\x05 \x01(\x05\x12J\n\x0fsearch_criteria\x18\x06 \x03(\x0b\x32\x31.org.apache.custos.sharing.service.SearchCriteria\x12\x12\n\nclient_sec\x18\x07 \x01(\t\x12\x17\n\x0f\x61ssociating_ids\x18\x08 \x03(\t\"\xd4\x01\n\x11PermissionRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x11\n\ttenant_id\x18\x02 \x01(\x03\x12\x39\n\x06\x65ntity\x18\x03 \x01(\x0b\x32).org.apache.custos.sharing.service.Entity\x12J\n\x0fpermission_type\x18\x04 \x01(\x0b\x32\x31.org.apache.custos.sharing.service.PermissionType\x12\x12\n\nclient_sec\x18\x05 \x01(\t\"\xf4\x01\n\x0eSharingRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x11\n\ttenant_id\x18\x02 \x01(\x03\x12\x39\n\x06\x65ntity\x18\x03 \x01(\x0b\x32).org.apache.custos.sharing.service.Entity\x12J\n\x0fpermission_type\x18\x04 \x01(\x0b\x32\x31.org.apache.custos.sharing.service.PermissionType\x12\x10\n\x08owner_id\x18\x05 \x03(\t\x12\x0f\n\x07\x63\x61scade\x18\x06 \x01(\x08\x12\x12\n\nclient_sec\x18\x07 \x01(\t\"u\n\x16SharesFilteringRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x11\n\ttenant_id\x18\x02 \x01(\x03\x12\x10\n\x08owner_id\x18\x05 \x03(\t\x12\x0f\n\x07\x63\x61scade\x18\x06 \x01(\x08\x12\x12\n\nclient_sec\x18\x07 \x01(\t\"\x18\n\x06Status\x12\x0e\n\x06status\x18\x01 \x01(\x08\"K\n\x0b\x45ntityTypes\x12<\n\x05types\x18\x01 \x03(\x0b\x32-.org.apache.custos.sharing.service.EntityType\"S\n\x0fPermissionTypes\x12@\n\x05types\x18\x01 \x03(\x0b\x32\x31.org.apache.custos.sharing.service.PermissionType\"K\n\x08\x45ntities\x12?\n\x0c\x65ntity_array\x18\x01 \x03(\x0b\x32).org.apache.custos.sharing.service.Entity\"!\n\x0cSharedOwners\x12\x11\n\towner_ids\x18\x01 \x03(\t\"g\n\x1cGetAllDirectSharingsResponse\x12G\n\x0bshared_data\x18\x01 \x03(\x0b\x32\x32.org.apache.custos.sharing.service.SharingMetadata\"\xb9\x01\n\x0fSharingMetadata\x12\x39\n\x06\x65ntity\x18\x01 \x01(\x0b\x32).org.apache.custos.sharing.service.Entity\x12\x10\n\x08owner_id\x18\x02 \x01(\t\x12\x12\n\nowner_type\x18\x03 \x01(\t\x12\x45\n\npermission\x18\x04 \x01(\x0b\x32\x31.org.apache.custos.sharing.service.PermissionType*A\n\x0fSearchCondition\x12\t\n\x05\x45QUAL\x10\x00\x12\x08\n\x04LIKE\x10\x01\x12\x07\n\x03GTE\x10\x02\x12\x07\n\x03LTE\x10\x03\x12\x07\n\x03NOT\x10\x04*\xc6\x01\n\x11\x45ntitySearchField\x12\x08\n\x04NAME\x10\x00\x12\x0f\n\x0b\x44\x45SCRIPTION\x10\x01\x12\x06\n\x02ID\x10\x02\x12\r\n\tFULL_TEXT\x10\x03\x12\x0c\n\x08OWNER_ID\x10\x04\x12\x0e\n\nCREATED_AT\x10\x05\x12\x14\n\x10LAST_MODIFIED_AT\x10\x06\x12\x12\n\x0e\x45NTITY_TYPE_ID\x10\x07\x12\r\n\tPARENT_ID\x10\x08\x12\x10\n\x0cSHARED_COUNT\x10\t\x12\x16\n\x12PERMISSION_TYPE_ID\x10\n2\xca\x18\n\x0eSharingService\x12s\n\x10\x63reateEntityType\x12\x34.org.apache.custos.sharing.service.EntityTypeRequest\x1a).org.apache.custos.sharing.service.Status\x12s\n\x10updateEntityType\x12\x34.org.apache.custos.sharing.service.EntityTypeRequest\x1a).org.apache.custos.sharing.service.Status\x12s\n\x10\x64\x65leteEntityType\x12\x34.org.apache.custos.sharing.service.EntityTypeRequest\x1a).org.apache.custos.sharing.service.Status\x12t\n\rgetEntityType\x12\x34.org.apache.custos.sharing.service.EntityTypeRequest\x1a-.org.apache.custos.sharing.service.EntityType\x12r\n\x0egetEntityTypes\x12\x30.org.apache.custos.sharing.service.SearchRequest\x1a..org.apache.custos.sharing.service.EntityTypes\x12{\n\x14\x63reatePermissionType\x12\x38.org.apache.custos.sharing.service.PermissionTypeRequest\x1a).org.apache.custos.sharing.service.Status\x12{\n\x14updatePermissionType\x12\x38.org.apache.custos.sharing.service.PermissionTypeRequest\x1a).org.apache.custos.sharing.service.Status\x12{\n\x14\x64\x65letePermissionType\x12\x38.org.apache.custos.sharing.service.PermissionTypeRequest\x1a).org.apache.custos.sharing.service.Status\x12\x80\x01\n\x11getPermissionType\x12\x38.org.apache.custos.sharing.service.PermissionTypeRequest\x1a\x31.org.apache.custos.sharing.service.PermissionType\x12z\n\x12getPermissionTypes\x12\x30.org.apache.custos.sharing.service.SearchRequest\x1a\x32.org.apache.custos.sharing.service.PermissionTypes\x12k\n\x0c\x63reateEntity\x12\x30.org.apache.custos.sharing.service.EntityRequest\x1a).org.apache.custos.sharing.service.Status\x12k\n\x0cupdateEntity\x12\x30.org.apache.custos.sharing.service.EntityRequest\x1a).org.apache.custos.sharing.service.Status\x12m\n\x0eisEntityExists\x12\x30.org.apache.custos.sharing.service.EntityRequest\x1a).org.apache.custos.sharing.service.Status\x12h\n\tgetEntity\x12\x30.org.apache.custos.sharing.service.EntityRequest\x1a).org.apache.custos.sharing.service.Entity\x12k\n\x0c\x64\x65leteEntity\x12\x30.org.apache.custos.sharing.service.EntityRequest\x1a).org.apache.custos.sharing.service.Status\x12o\n\x0esearchEntities\x12\x30.org.apache.custos.sharing.service.SearchRequest\x1a+.org.apache.custos.sharing.service.Entities\x12z\n\x14getListOfSharedUsers\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a/.org.apache.custos.sharing.service.SharedOwners\x12\x82\x01\n\x1cgetListOfDirectlySharedUsers\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a/.org.apache.custos.sharing.service.SharedOwners\x12{\n\x15getListOfSharedGroups\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a/.org.apache.custos.sharing.service.SharedOwners\x12\x83\x01\n\x1dgetListOfDirectlySharedGroups\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a/.org.apache.custos.sharing.service.SharedOwners\x12\x8a\x01\n\x14getAllDirectSharings\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a?.org.apache.custos.sharing.service.GetAllDirectSharingsResponse\x12t\n\x14shareEntityWithUsers\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a).org.apache.custos.sharing.service.Status\x12u\n\x15shareEntityWithGroups\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a).org.apache.custos.sharing.service.Status\x12|\n\x1crevokeEntitySharingFromUsers\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a).org.apache.custos.sharing.service.Status\x12}\n\x1drevokeEntitySharingFromGroups\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a).org.apache.custos.sharing.service.Status\x12m\n\ruserHasAccess\x12\x31.org.apache.custos.sharing.service.SharingRequest\x1a).org.apache.custos.sharing.service.StatusB\x08P\x01Z\x04./pbb\x06proto3'
)

_SEARCHCONDITION = _descriptor.EnumDescriptor(
  name='SearchCondition',
  full_name='org.apache.custos.sharing.service.SearchCondition',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='EQUAL', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='LIKE', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='GTE', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='LTE', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='NOT', index=4, number=4,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=2532,
  serialized_end=2597,
)
_sym_db.RegisterEnumDescriptor(_SEARCHCONDITION)

SearchCondition = enum_type_wrapper.EnumTypeWrapper(_SEARCHCONDITION)
_ENTITYSEARCHFIELD = _descriptor.EnumDescriptor(
  name='EntitySearchField',
  full_name='org.apache.custos.sharing.service.EntitySearchField',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='NAME', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='DESCRIPTION', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='ID', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='FULL_TEXT', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='OWNER_ID', index=4, number=4,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='CREATED_AT', index=5, number=5,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='LAST_MODIFIED_AT', index=6, number=6,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='ENTITY_TYPE_ID', index=7, number=7,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='PARENT_ID', index=8, number=8,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='SHARED_COUNT', index=9, number=9,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='PERMISSION_TYPE_ID', index=10, number=10,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=2600,
  serialized_end=2798,
)
_sym_db.RegisterEnumDescriptor(_ENTITYSEARCHFIELD)

EntitySearchField = enum_type_wrapper.EnumTypeWrapper(_ENTITYSEARCHFIELD)
EQUAL = 0
LIKE = 1
GTE = 2
LTE = 3
NOT = 4
NAME = 0
DESCRIPTION = 1
ID = 2
FULL_TEXT = 3
OWNER_ID = 4
CREATED_AT = 5
LAST_MODIFIED_AT = 6
ENTITY_TYPE_ID = 7
PARENT_ID = 8
SHARED_COUNT = 9
PERMISSION_TYPE_ID = 10



_ENTITYTYPE = _descriptor.Descriptor(
  name='EntityType',
  full_name='org.apache.custos.sharing.service.EntityType',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='org.apache.custos.sharing.service.EntityType.id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='name', full_name='org.apache.custos.sharing.service.EntityType.name', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='description', full_name='org.apache.custos.sharing.service.EntityType.description', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='created_at', full_name='org.apache.custos.sharing.service.EntityType.created_at', index=3,
      number=4, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='updated_at', full_name='org.apache.custos.sharing.service.EntityType.updated_at', index=4,
      number=5, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=59,
  serialized_end=158,
)


_PERMISSIONTYPE = _descriptor.Descriptor(
  name='PermissionType',
  full_name='org.apache.custos.sharing.service.PermissionType',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='org.apache.custos.sharing.service.PermissionType.id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='name', full_name='org.apache.custos.sharing.service.PermissionType.name', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='description', full_name='org.apache.custos.sharing.service.PermissionType.description', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='created_at', full_name='org.apache.custos.sharing.service.PermissionType.created_at', index=3,
      number=4, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='updated_at', full_name='org.apache.custos.sharing.service.PermissionType.updated_at', index=4,
      number=5, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=160,
  serialized_end=263,
)


_ENTITY = _descriptor.Descriptor(
  name='Entity',
  full_name='org.apache.custos.sharing.service.Entity',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='org.apache.custos.sharing.service.Entity.id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='type', full_name='org.apache.custos.sharing.service.Entity.type', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='owner_id', full_name='org.apache.custos.sharing.service.Entity.owner_id', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='parent_id', full_name='org.apache.custos.sharing.service.Entity.parent_id', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='name', full_name='org.apache.custos.sharing.service.Entity.name', index=4,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='description', full_name='org.apache.custos.sharing.service.Entity.description', index=5,
      number=6, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='binary_data', full_name='org.apache.custos.sharing.service.Entity.binary_data', index=6,
      number=7, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='full_text', full_name='org.apache.custos.sharing.service.Entity.full_text', index=7,
      number=8, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='original_creation_time', full_name='org.apache.custos.sharing.service.Entity.original_creation_time', index=8,
      number=9, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='created_at', full_name='org.apache.custos.sharing.service.Entity.created_at', index=9,
      number=10, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='updated_at', full_name='org.apache.custos.sharing.service.Entity.updated_at', index=10,
      number=11, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='shared_count', full_name='org.apache.custos.sharing.service.Entity.shared_count', index=11,
      number=12, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=266,
  serialized_end=506,
)


_ENTITYREQUEST = _descriptor.Descriptor(
  name='EntityRequest',
  full_name='org.apache.custos.sharing.service.EntityRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.sharing.service.EntityRequest.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.sharing.service.EntityRequest.tenant_id', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='entity', full_name='org.apache.custos.sharing.service.EntityRequest.entity', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_sec', full_name='org.apache.custos.sharing.service.EntityRequest.client_sec', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=509,
  serialized_end=641,
)


_ENTITYTYPEREQUEST = _descriptor.Descriptor(
  name='EntityTypeRequest',
  full_name='org.apache.custos.sharing.service.EntityTypeRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.sharing.service.EntityTypeRequest.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.sharing.service.EntityTypeRequest.tenant_id', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='entity_type', full_name='org.apache.custos.sharing.service.EntityTypeRequest.entity_type', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_sec', full_name='org.apache.custos.sharing.service.EntityTypeRequest.client_sec', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=644,
  serialized_end=789,
)


_PERMISSIONTYPEREQUEST = _descriptor.Descriptor(
  name='PermissionTypeRequest',
  full_name='org.apache.custos.sharing.service.PermissionTypeRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.sharing.service.PermissionTypeRequest.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.sharing.service.PermissionTypeRequest.tenant_id', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='permission_type', full_name='org.apache.custos.sharing.service.PermissionTypeRequest.permission_type', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_sec', full_name='org.apache.custos.sharing.service.PermissionTypeRequest.client_sec', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=792,
  serialized_end=949,
)


_SEARCHCRITERIA = _descriptor.Descriptor(
  name='SearchCriteria',
  full_name='org.apache.custos.sharing.service.SearchCriteria',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='search_field', full_name='org.apache.custos.sharing.service.SearchCriteria.search_field', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='org.apache.custos.sharing.service.SearchCriteria.value', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='condition', full_name='org.apache.custos.sharing.service.SearchCriteria.condition', index=2,
      number=3, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=952,
  serialized_end=1130,
)


_SEARCHREQUEST = _descriptor.Descriptor(
  name='SearchRequest',
  full_name='org.apache.custos.sharing.service.SearchRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.sharing.service.SearchRequest.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.sharing.service.SearchRequest.tenant_id', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='owner_id', full_name='org.apache.custos.sharing.service.SearchRequest.owner_id', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='offset', full_name='org.apache.custos.sharing.service.SearchRequest.offset', index=3,
      number=4, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='limit', full_name='org.apache.custos.sharing.service.SearchRequest.limit', index=4,
      number=5, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='search_criteria', full_name='org.apache.custos.sharing.service.SearchRequest.search_criteria', index=5,
      number=6, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_sec', full_name='org.apache.custos.sharing.service.SearchRequest.client_sec', index=6,
      number=7, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='associating_ids', full_name='org.apache.custos.sharing.service.SearchRequest.associating_ids', index=7,
      number=8, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1133,
  serialized_end=1356,
)


_PERMISSIONREQUEST = _descriptor.Descriptor(
  name='PermissionRequest',
  full_name='org.apache.custos.sharing.service.PermissionRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.sharing.service.PermissionRequest.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.sharing.service.PermissionRequest.tenant_id', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='entity', full_name='org.apache.custos.sharing.service.PermissionRequest.entity', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='permission_type', full_name='org.apache.custos.sharing.service.PermissionRequest.permission_type', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_sec', full_name='org.apache.custos.sharing.service.PermissionRequest.client_sec', index=4,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1359,
  serialized_end=1571,
)


_SHARINGREQUEST = _descriptor.Descriptor(
  name='SharingRequest',
  full_name='org.apache.custos.sharing.service.SharingRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.sharing.service.SharingRequest.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.sharing.service.SharingRequest.tenant_id', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='entity', full_name='org.apache.custos.sharing.service.SharingRequest.entity', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='permission_type', full_name='org.apache.custos.sharing.service.SharingRequest.permission_type', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='owner_id', full_name='org.apache.custos.sharing.service.SharingRequest.owner_id', index=4,
      number=5, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='cascade', full_name='org.apache.custos.sharing.service.SharingRequest.cascade', index=5,
      number=6, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_sec', full_name='org.apache.custos.sharing.service.SharingRequest.client_sec', index=6,
      number=7, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1574,
  serialized_end=1818,
)


_SHARESFILTERINGREQUEST = _descriptor.Descriptor(
  name='SharesFilteringRequest',
  full_name='org.apache.custos.sharing.service.SharesFilteringRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.sharing.service.SharesFilteringRequest.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.sharing.service.SharesFilteringRequest.tenant_id', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='owner_id', full_name='org.apache.custos.sharing.service.SharesFilteringRequest.owner_id', index=2,
      number=5, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='cascade', full_name='org.apache.custos.sharing.service.SharesFilteringRequest.cascade', index=3,
      number=6, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_sec', full_name='org.apache.custos.sharing.service.SharesFilteringRequest.client_sec', index=4,
      number=7, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1820,
  serialized_end=1937,
)


_STATUS = _descriptor.Descriptor(
  name='Status',
  full_name='org.apache.custos.sharing.service.Status',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='status', full_name='org.apache.custos.sharing.service.Status.status', index=0,
      number=1, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1939,
  serialized_end=1963,
)


_ENTITYTYPES = _descriptor.Descriptor(
  name='EntityTypes',
  full_name='org.apache.custos.sharing.service.EntityTypes',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='types', full_name='org.apache.custos.sharing.service.EntityTypes.types', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1965,
  serialized_end=2040,
)


_PERMISSIONTYPES = _descriptor.Descriptor(
  name='PermissionTypes',
  full_name='org.apache.custos.sharing.service.PermissionTypes',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='types', full_name='org.apache.custos.sharing.service.PermissionTypes.types', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2042,
  serialized_end=2125,
)


_ENTITIES = _descriptor.Descriptor(
  name='Entities',
  full_name='org.apache.custos.sharing.service.Entities',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='entity_array', full_name='org.apache.custos.sharing.service.Entities.entity_array', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2127,
  serialized_end=2202,
)


_SHAREDOWNERS = _descriptor.Descriptor(
  name='SharedOwners',
  full_name='org.apache.custos.sharing.service.SharedOwners',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='owner_ids', full_name='org.apache.custos.sharing.service.SharedOwners.owner_ids', index=0,
      number=1, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2204,
  serialized_end=2237,
)


_GETALLDIRECTSHARINGSRESPONSE = _descriptor.Descriptor(
  name='GetAllDirectSharingsResponse',
  full_name='org.apache.custos.sharing.service.GetAllDirectSharingsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='shared_data', full_name='org.apache.custos.sharing.service.GetAllDirectSharingsResponse.shared_data', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2239,
  serialized_end=2342,
)


_SHARINGMETADATA = _descriptor.Descriptor(
  name='SharingMetadata',
  full_name='org.apache.custos.sharing.service.SharingMetadata',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='entity', full_name='org.apache.custos.sharing.service.SharingMetadata.entity', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='owner_id', full_name='org.apache.custos.sharing.service.SharingMetadata.owner_id', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='owner_type', full_name='org.apache.custos.sharing.service.SharingMetadata.owner_type', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='permission', full_name='org.apache.custos.sharing.service.SharingMetadata.permission', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2345,
  serialized_end=2530,
)

_ENTITYREQUEST.fields_by_name['entity'].message_type = _ENTITY
_ENTITYTYPEREQUEST.fields_by_name['entity_type'].message_type = _ENTITYTYPE
_PERMISSIONTYPEREQUEST.fields_by_name['permission_type'].message_type = _PERMISSIONTYPE
_SEARCHCRITERIA.fields_by_name['search_field'].enum_type = _ENTITYSEARCHFIELD
_SEARCHCRITERIA.fields_by_name['condition'].enum_type = _SEARCHCONDITION
_SEARCHREQUEST.fields_by_name['search_criteria'].message_type = _SEARCHCRITERIA
_PERMISSIONREQUEST.fields_by_name['entity'].message_type = _ENTITY
_PERMISSIONREQUEST.fields_by_name['permission_type'].message_type = _PERMISSIONTYPE
_SHARINGREQUEST.fields_by_name['entity'].message_type = _ENTITY
_SHARINGREQUEST.fields_by_name['permission_type'].message_type = _PERMISSIONTYPE
_ENTITYTYPES.fields_by_name['types'].message_type = _ENTITYTYPE
_PERMISSIONTYPES.fields_by_name['types'].message_type = _PERMISSIONTYPE
_ENTITIES.fields_by_name['entity_array'].message_type = _ENTITY
_GETALLDIRECTSHARINGSRESPONSE.fields_by_name['shared_data'].message_type = _SHARINGMETADATA
_SHARINGMETADATA.fields_by_name['entity'].message_type = _ENTITY
_SHARINGMETADATA.fields_by_name['permission'].message_type = _PERMISSIONTYPE
DESCRIPTOR.message_types_by_name['EntityType'] = _ENTITYTYPE
DESCRIPTOR.message_types_by_name['PermissionType'] = _PERMISSIONTYPE
DESCRIPTOR.message_types_by_name['Entity'] = _ENTITY
DESCRIPTOR.message_types_by_name['EntityRequest'] = _ENTITYREQUEST
DESCRIPTOR.message_types_by_name['EntityTypeRequest'] = _ENTITYTYPEREQUEST
DESCRIPTOR.message_types_by_name['PermissionTypeRequest'] = _PERMISSIONTYPEREQUEST
DESCRIPTOR.message_types_by_name['SearchCriteria'] = _SEARCHCRITERIA
DESCRIPTOR.message_types_by_name['SearchRequest'] = _SEARCHREQUEST
DESCRIPTOR.message_types_by_name['PermissionRequest'] = _PERMISSIONREQUEST
DESCRIPTOR.message_types_by_name['SharingRequest'] = _SHARINGREQUEST
DESCRIPTOR.message_types_by_name['SharesFilteringRequest'] = _SHARESFILTERINGREQUEST
DESCRIPTOR.message_types_by_name['Status'] = _STATUS
DESCRIPTOR.message_types_by_name['EntityTypes'] = _ENTITYTYPES
DESCRIPTOR.message_types_by_name['PermissionTypes'] = _PERMISSIONTYPES
DESCRIPTOR.message_types_by_name['Entities'] = _ENTITIES
DESCRIPTOR.message_types_by_name['SharedOwners'] = _SHAREDOWNERS
DESCRIPTOR.message_types_by_name['GetAllDirectSharingsResponse'] = _GETALLDIRECTSHARINGSRESPONSE
DESCRIPTOR.message_types_by_name['SharingMetadata'] = _SHARINGMETADATA
DESCRIPTOR.enum_types_by_name['SearchCondition'] = _SEARCHCONDITION
DESCRIPTOR.enum_types_by_name['EntitySearchField'] = _ENTITYSEARCHFIELD
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

EntityType = _reflection.GeneratedProtocolMessageType('EntityType', (_message.Message,), {
  'DESCRIPTOR' : _ENTITYTYPE,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.EntityType)
  })
_sym_db.RegisterMessage(EntityType)

PermissionType = _reflection.GeneratedProtocolMessageType('PermissionType', (_message.Message,), {
  'DESCRIPTOR' : _PERMISSIONTYPE,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.PermissionType)
  })
_sym_db.RegisterMessage(PermissionType)

Entity = _reflection.GeneratedProtocolMessageType('Entity', (_message.Message,), {
  'DESCRIPTOR' : _ENTITY,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.Entity)
  })
_sym_db.RegisterMessage(Entity)

EntityRequest = _reflection.GeneratedProtocolMessageType('EntityRequest', (_message.Message,), {
  'DESCRIPTOR' : _ENTITYREQUEST,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.EntityRequest)
  })
_sym_db.RegisterMessage(EntityRequest)

EntityTypeRequest = _reflection.GeneratedProtocolMessageType('EntityTypeRequest', (_message.Message,), {
  'DESCRIPTOR' : _ENTITYTYPEREQUEST,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.EntityTypeRequest)
  })
_sym_db.RegisterMessage(EntityTypeRequest)

PermissionTypeRequest = _reflection.GeneratedProtocolMessageType('PermissionTypeRequest', (_message.Message,), {
  'DESCRIPTOR' : _PERMISSIONTYPEREQUEST,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.PermissionTypeRequest)
  })
_sym_db.RegisterMessage(PermissionTypeRequest)

SearchCriteria = _reflection.GeneratedProtocolMessageType('SearchCriteria', (_message.Message,), {
  'DESCRIPTOR' : _SEARCHCRITERIA,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.SearchCriteria)
  })
_sym_db.RegisterMessage(SearchCriteria)

SearchRequest = _reflection.GeneratedProtocolMessageType('SearchRequest', (_message.Message,), {
  'DESCRIPTOR' : _SEARCHREQUEST,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.SearchRequest)
  })
_sym_db.RegisterMessage(SearchRequest)

PermissionRequest = _reflection.GeneratedProtocolMessageType('PermissionRequest', (_message.Message,), {
  'DESCRIPTOR' : _PERMISSIONREQUEST,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.PermissionRequest)
  })
_sym_db.RegisterMessage(PermissionRequest)

SharingRequest = _reflection.GeneratedProtocolMessageType('SharingRequest', (_message.Message,), {
  'DESCRIPTOR' : _SHARINGREQUEST,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.SharingRequest)
  })
_sym_db.RegisterMessage(SharingRequest)

SharesFilteringRequest = _reflection.GeneratedProtocolMessageType('SharesFilteringRequest', (_message.Message,), {
  'DESCRIPTOR' : _SHARESFILTERINGREQUEST,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.SharesFilteringRequest)
  })
_sym_db.RegisterMessage(SharesFilteringRequest)

Status = _reflection.GeneratedProtocolMessageType('Status', (_message.Message,), {
  'DESCRIPTOR' : _STATUS,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.Status)
  })
_sym_db.RegisterMessage(Status)

EntityTypes = _reflection.GeneratedProtocolMessageType('EntityTypes', (_message.Message,), {
  'DESCRIPTOR' : _ENTITYTYPES,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.EntityTypes)
  })
_sym_db.RegisterMessage(EntityTypes)

PermissionTypes = _reflection.GeneratedProtocolMessageType('PermissionTypes', (_message.Message,), {
  'DESCRIPTOR' : _PERMISSIONTYPES,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.PermissionTypes)
  })
_sym_db.RegisterMessage(PermissionTypes)

Entities = _reflection.GeneratedProtocolMessageType('Entities', (_message.Message,), {
  'DESCRIPTOR' : _ENTITIES,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.Entities)
  })
_sym_db.RegisterMessage(Entities)

SharedOwners = _reflection.GeneratedProtocolMessageType('SharedOwners', (_message.Message,), {
  'DESCRIPTOR' : _SHAREDOWNERS,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.SharedOwners)
  })
_sym_db.RegisterMessage(SharedOwners)

GetAllDirectSharingsResponse = _reflection.GeneratedProtocolMessageType('GetAllDirectSharingsResponse', (_message.Message,), {
  'DESCRIPTOR' : _GETALLDIRECTSHARINGSRESPONSE,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.GetAllDirectSharingsResponse)
  })
_sym_db.RegisterMessage(GetAllDirectSharingsResponse)

SharingMetadata = _reflection.GeneratedProtocolMessageType('SharingMetadata', (_message.Message,), {
  'DESCRIPTOR' : _SHARINGMETADATA,
  '__module__' : 'SharingService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.sharing.service.SharingMetadata)
  })
_sym_db.RegisterMessage(SharingMetadata)


DESCRIPTOR._options = None

_SHARINGSERVICE = _descriptor.ServiceDescriptor(
  name='SharingService',
  full_name='org.apache.custos.sharing.service.SharingService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=2801,
  serialized_end=5947,
  methods=[
  _descriptor.MethodDescriptor(
    name='createEntityType',
    full_name='org.apache.custos.sharing.service.SharingService.createEntityType',
    index=0,
    containing_service=None,
    input_type=_ENTITYTYPEREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='updateEntityType',
    full_name='org.apache.custos.sharing.service.SharingService.updateEntityType',
    index=1,
    containing_service=None,
    input_type=_ENTITYTYPEREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deleteEntityType',
    full_name='org.apache.custos.sharing.service.SharingService.deleteEntityType',
    index=2,
    containing_service=None,
    input_type=_ENTITYTYPEREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getEntityType',
    full_name='org.apache.custos.sharing.service.SharingService.getEntityType',
    index=3,
    containing_service=None,
    input_type=_ENTITYTYPEREQUEST,
    output_type=_ENTITYTYPE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getEntityTypes',
    full_name='org.apache.custos.sharing.service.SharingService.getEntityTypes',
    index=4,
    containing_service=None,
    input_type=_SEARCHREQUEST,
    output_type=_ENTITYTYPES,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='createPermissionType',
    full_name='org.apache.custos.sharing.service.SharingService.createPermissionType',
    index=5,
    containing_service=None,
    input_type=_PERMISSIONTYPEREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='updatePermissionType',
    full_name='org.apache.custos.sharing.service.SharingService.updatePermissionType',
    index=6,
    containing_service=None,
    input_type=_PERMISSIONTYPEREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deletePermissionType',
    full_name='org.apache.custos.sharing.service.SharingService.deletePermissionType',
    index=7,
    containing_service=None,
    input_type=_PERMISSIONTYPEREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getPermissionType',
    full_name='org.apache.custos.sharing.service.SharingService.getPermissionType',
    index=8,
    containing_service=None,
    input_type=_PERMISSIONTYPEREQUEST,
    output_type=_PERMISSIONTYPE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getPermissionTypes',
    full_name='org.apache.custos.sharing.service.SharingService.getPermissionTypes',
    index=9,
    containing_service=None,
    input_type=_SEARCHREQUEST,
    output_type=_PERMISSIONTYPES,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='createEntity',
    full_name='org.apache.custos.sharing.service.SharingService.createEntity',
    index=10,
    containing_service=None,
    input_type=_ENTITYREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='updateEntity',
    full_name='org.apache.custos.sharing.service.SharingService.updateEntity',
    index=11,
    containing_service=None,
    input_type=_ENTITYREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='isEntityExists',
    full_name='org.apache.custos.sharing.service.SharingService.isEntityExists',
    index=12,
    containing_service=None,
    input_type=_ENTITYREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getEntity',
    full_name='org.apache.custos.sharing.service.SharingService.getEntity',
    index=13,
    containing_service=None,
    input_type=_ENTITYREQUEST,
    output_type=_ENTITY,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deleteEntity',
    full_name='org.apache.custos.sharing.service.SharingService.deleteEntity',
    index=14,
    containing_service=None,
    input_type=_ENTITYREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='searchEntities',
    full_name='org.apache.custos.sharing.service.SharingService.searchEntities',
    index=15,
    containing_service=None,
    input_type=_SEARCHREQUEST,
    output_type=_ENTITIES,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getListOfSharedUsers',
    full_name='org.apache.custos.sharing.service.SharingService.getListOfSharedUsers',
    index=16,
    containing_service=None,
    input_type=_SHARINGREQUEST,
    output_type=_SHAREDOWNERS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getListOfDirectlySharedUsers',
    full_name='org.apache.custos.sharing.service.SharingService.getListOfDirectlySharedUsers',
    index=17,
    containing_service=None,
    input_type=_SHARINGREQUEST,
    output_type=_SHAREDOWNERS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getListOfSharedGroups',
    full_name='org.apache.custos.sharing.service.SharingService.getListOfSharedGroups',
    index=18,
    containing_service=None,
    input_type=_SHARINGREQUEST,
    output_type=_SHAREDOWNERS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getListOfDirectlySharedGroups',
    full_name='org.apache.custos.sharing.service.SharingService.getListOfDirectlySharedGroups',
    index=19,
    containing_service=None,
    input_type=_SHARINGREQUEST,
    output_type=_SHAREDOWNERS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getAllDirectSharings',
    full_name='org.apache.custos.sharing.service.SharingService.getAllDirectSharings',
    index=20,
    containing_service=None,
    input_type=_SHARINGREQUEST,
    output_type=_GETALLDIRECTSHARINGSRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='shareEntityWithUsers',
    full_name='org.apache.custos.sharing.service.SharingService.shareEntityWithUsers',
    index=21,
    containing_service=None,
    input_type=_SHARINGREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='shareEntityWithGroups',
    full_name='org.apache.custos.sharing.service.SharingService.shareEntityWithGroups',
    index=22,
    containing_service=None,
    input_type=_SHARINGREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='revokeEntitySharingFromUsers',
    full_name='org.apache.custos.sharing.service.SharingService.revokeEntitySharingFromUsers',
    index=23,
    containing_service=None,
    input_type=_SHARINGREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='revokeEntitySharingFromGroups',
    full_name='org.apache.custos.sharing.service.SharingService.revokeEntitySharingFromGroups',
    index=24,
    containing_service=None,
    input_type=_SHARINGREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='userHasAccess',
    full_name='org.apache.custos.sharing.service.SharingService.userHasAccess',
    index=25,
    containing_service=None,
    input_type=_SHARINGREQUEST,
    output_type=_STATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_SHARINGSERVICE)

DESCRIPTOR.services_by_name['SharingService'] = _SHARINGSERVICE

# @@protoc_insertion_point(module_scope)
