# -*- 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: GroupManagementService.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()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
import custos.server.core.UserProfileService_pb2 as UserProfileService__pb2
import custos.server.core.IamAdminService_pb2 as IamAdminService__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='GroupManagementService.proto',
  package='org.apache.custos.group.management.service',
  syntax='proto3',
  serialized_options=b'P\001Z\004./pb',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x1cGroupManagementService.proto\x12*org.apache.custos.group.management.service\x1a\x1cgoogle/api/annotations.proto\x1a\x18UserProfileService.proto\x1a\x15IamAdminService.proto2\xcb\"\n\x16GroupManagementService\x12\xa5\x01\n\x14\x63reateKeycloakGroups\x12,.org.apache.custos.iam.service.GroupsRequest\x1a-.org.apache.custos.iam.service.GroupsResponse\"0\x82\xd3\xe4\x93\x02*\"(/group-management/v1.0.0/keycloak/groups\x12\xac\x01\n\x13updateKeycloakGroup\x12+.org.apache.custos.iam.service.GroupRequest\x1a\x32.org.apache.custos.iam.service.GroupRepresentation\"4\x82\xd3\xe4\x93\x02.\x1a,/group-management/v1.0.0/keycloak/group/{id}\x12\xa8\x01\n\x13\x64\x65leteKeycloakGroup\x12+.org.apache.custos.iam.service.GroupRequest\x1a..org.apache.custos.iam.service.OperationStatus\"4\x82\xd3\xe4\x93\x02.*,/group-management/v1.0.0/keycloak/group/{id}\x12\xa5\x01\n\x11\x66indKeycloakGroup\x12+.org.apache.custos.iam.service.GroupRequest\x1a\x32.org.apache.custos.iam.service.GroupRepresentation\"/\x82\xd3\xe4\x93\x02)\x12\'/group-management/v1.0.0/keycloak/group\x12\xa4\x01\n\x14getAllKeycloakGroups\x12+.org.apache.custos.iam.service.GroupRequest\x1a-.org.apache.custos.iam.service.GroupsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/group-management/v1.0.0/keycloak/groups\x12\xc1\x01\n\x16\x61\x64\x64UserToKeycloakGroup\x12\x36.org.apache.custos.iam.service.UserGroupMappingRequest\x1a..org.apache.custos.iam.service.OperationStatus\"?\x82\xd3\xe4\x93\x02\x39\"7/group-management/v1.0.0/keycloak/user/group/membership\x12\xc6\x01\n\x1bremoveUserFromKeycloakGroup\x12\x36.org.apache.custos.iam.service.UserGroupMappingRequest\x1a..org.apache.custos.iam.service.OperationStatus\"?\x82\xd3\xe4\x93\x02\x39*7/group-management/v1.0.0/keycloak/user/group/membership\x12\x9a\x01\n\x0b\x63reateGroup\x12\x34.org.apache.custos.user.profile.service.GroupRequest\x1a-.org.apache.custos.user.profile.service.Group\"&\x82\xd3\xe4\x93\x02 \"\x1e/group-management/v1.0.0/group\x12\x9f\x01\n\x0bupdateGroup\x12\x34.org.apache.custos.user.profile.service.GroupRequest\x1a-.org.apache.custos.user.profile.service.Group\"+\x82\xd3\xe4\x93\x02%\x1a#/group-management/v1.0.0/group/{id}\x12\xa0\x01\n\x0b\x64\x65leteGroup\x12\x34.org.apache.custos.user.profile.service.GroupRequest\x1a..org.apache.custos.user.profile.service.Status\"+\x82\xd3\xe4\x93\x02%*#/group-management/v1.0.0/group/{id}\x12\x98\x01\n\tfindGroup\x12\x34.org.apache.custos.user.profile.service.GroupRequest\x1a-.org.apache.custos.user.profile.service.Group\"&\x82\xd3\xe4\x93\x02 \x12\x1e/group-management/v1.0.0/group\x12\xab\x01\n\x0cgetAllGroups\x12\x34.org.apache.custos.user.profile.service.GroupRequest\x1a<.org.apache.custos.user.profile.service.GetAllGroupsResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/group-management/v1.0.0/groups\x12\xb1\x01\n\x0e\x61\x64\x64UserToGroup\x12\x37.org.apache.custos.user.profile.service.GroupMembership\x1a..org.apache.custos.user.profile.service.Status\"6\x82\xd3\xe4\x93\x02\x30\"./group-management/v1.0.0/user/group/membership\x12\xb6\x01\n\x13removeUserFromGroup\x12\x37.org.apache.custos.user.profile.service.GroupMembership\x1a..org.apache.custos.user.profile.service.Status\"6\x82\xd3\xe4\x93\x02\x30*./group-management/v1.0.0/user/group/membership\x12\xbf\x01\n\x1a\x61\x64\x64\x43hildGroupToParentGroup\x12>.org.apache.custos.user.profile.service.GroupToGroupMembership\x1a..org.apache.custos.user.profile.service.Status\"1\x82\xd3\xe4\x93\x02+\")/group-management/v1.0.0/group/membership\x12\xc4\x01\n\x1fremoveChildGroupFromParentGroup\x12>.org.apache.custos.user.profile.service.GroupToGroupMembership\x1a..org.apache.custos.user.profile.service.Status\"1\x82\xd3\xe4\x93\x02+*)/group-management/v1.0.0/group/membership\x12\xc7\x01\n\x12getAllGroupsOfUser\x12:.org.apache.custos.user.profile.service.UserProfileRequest\x1a<.org.apache.custos.user.profile.service.GetAllGroupsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//group-management/v1.0.0/user/group/memberships\x12\xc4\x01\n\x19getAllParentGroupsOfGroup\x12\x34.org.apache.custos.user.profile.service.GroupRequest\x1a<.org.apache.custos.user.profile.service.GetAllGroupsResponse\"3\x82\xd3\xe4\x93\x02-\x12+/group-management/v1.0.0/groups/memberships\x12\xcb\x01\n\x10getAllChildUsers\x12\x34.org.apache.custos.user.profile.service.GroupRequest\x1a\x42.org.apache.custos.user.profile.service.GetAllUserProfilesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/group-management/v1.0.0/user/group/memberships/child\x12\xc2\x01\n\x11getAllChildGroups\x12\x34.org.apache.custos.user.profile.service.GroupRequest\x1a<.org.apache.custos.user.profile.service.GetAllGroupsResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/group-management/v1.0.0/groups/memberships/child\x12\xbb\x01\n\x18\x63hangeUserMembershipType\x12\x37.org.apache.custos.user.profile.service.GroupMembership\x1a..org.apache.custos.user.profile.service.Status\"6\x82\xd3\xe4\x93\x02\x30\x1a./group-management/v1.0.0/user/group/membership\x12\xa8\x01\n\thasAccess\x12\x37.org.apache.custos.user.profile.service.GroupMembership\x1a..org.apache.custos.user.profile.service.Status\"2\x82\xd3\xe4\x93\x02,\x12*/group-management/v1.0.0/user/group/access\x12\xcd\x01\n\x16\x61\x64\x64GroupMembershipType\x12\x46.org.apache.custos.user.profile.service.UserGroupMembershipTypeRequest\x1a..org.apache.custos.user.profile.service.Status\";\x82\xd3\xe4\x93\x02\x35\"3/group-management/v1.0.0/user/group/membership/type\x12\xd4\x01\n\x1dremoveUserGroupMembershipType\x12\x46.org.apache.custos.user.profile.service.UserGroupMembershipTypeRequest\x1a..org.apache.custos.user.profile.service.Status\";\x82\xd3\xe4\x93\x02\x35*3/group-management/v1.0.0/user/group/membership/typeB\x08P\x01Z\x04./pbb\x06proto3'
  ,
  dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,UserProfileService__pb2.DESCRIPTOR,IamAdminService__pb2.DESCRIPTOR,])



_sym_db.RegisterFileDescriptor(DESCRIPTOR)


DESCRIPTOR._options = None

_GROUPMANAGEMENTSERVICE = _descriptor.ServiceDescriptor(
  name='GroupManagementService',
  full_name='org.apache.custos.group.management.service.GroupManagementService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=156,
  serialized_end=4583,
  methods=[
  _descriptor.MethodDescriptor(
    name='createKeycloakGroups',
    full_name='org.apache.custos.group.management.service.GroupManagementService.createKeycloakGroups',
    index=0,
    containing_service=None,
    input_type=IamAdminService__pb2._GROUPSREQUEST,
    output_type=IamAdminService__pb2._GROUPSRESPONSE,
    serialized_options=b'\202\323\344\223\002*\"(/group-management/v1.0.0/keycloak/groups',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='updateKeycloakGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.updateKeycloakGroup',
    index=1,
    containing_service=None,
    input_type=IamAdminService__pb2._GROUPREQUEST,
    output_type=IamAdminService__pb2._GROUPREPRESENTATION,
    serialized_options=b'\202\323\344\223\002.\032,/group-management/v1.0.0/keycloak/group/{id}',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deleteKeycloakGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.deleteKeycloakGroup',
    index=2,
    containing_service=None,
    input_type=IamAdminService__pb2._GROUPREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002.*,/group-management/v1.0.0/keycloak/group/{id}',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='findKeycloakGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.findKeycloakGroup',
    index=3,
    containing_service=None,
    input_type=IamAdminService__pb2._GROUPREQUEST,
    output_type=IamAdminService__pb2._GROUPREPRESENTATION,
    serialized_options=b'\202\323\344\223\002)\022\'/group-management/v1.0.0/keycloak/group',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getAllKeycloakGroups',
    full_name='org.apache.custos.group.management.service.GroupManagementService.getAllKeycloakGroups',
    index=4,
    containing_service=None,
    input_type=IamAdminService__pb2._GROUPREQUEST,
    output_type=IamAdminService__pb2._GROUPSRESPONSE,
    serialized_options=b'\202\323\344\223\002*\022(/group-management/v1.0.0/keycloak/groups',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='addUserToKeycloakGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.addUserToKeycloakGroup',
    index=5,
    containing_service=None,
    input_type=IamAdminService__pb2._USERGROUPMAPPINGREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\0029\"7/group-management/v1.0.0/keycloak/user/group/membership',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='removeUserFromKeycloakGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.removeUserFromKeycloakGroup',
    index=6,
    containing_service=None,
    input_type=IamAdminService__pb2._USERGROUPMAPPINGREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\0029*7/group-management/v1.0.0/keycloak/user/group/membership',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='createGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.createGroup',
    index=7,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPREQUEST,
    output_type=UserProfileService__pb2._GROUP,
    serialized_options=b'\202\323\344\223\002 \"\036/group-management/v1.0.0/group',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='updateGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.updateGroup',
    index=8,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPREQUEST,
    output_type=UserProfileService__pb2._GROUP,
    serialized_options=b'\202\323\344\223\002%\032#/group-management/v1.0.0/group/{id}',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deleteGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.deleteGroup',
    index=9,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPREQUEST,
    output_type=UserProfileService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002%*#/group-management/v1.0.0/group/{id}',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='findGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.findGroup',
    index=10,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPREQUEST,
    output_type=UserProfileService__pb2._GROUP,
    serialized_options=b'\202\323\344\223\002 \022\036/group-management/v1.0.0/group',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getAllGroups',
    full_name='org.apache.custos.group.management.service.GroupManagementService.getAllGroups',
    index=11,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPREQUEST,
    output_type=UserProfileService__pb2._GETALLGROUPSRESPONSE,
    serialized_options=b'\202\323\344\223\002!\022\037/group-management/v1.0.0/groups',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='addUserToGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.addUserToGroup',
    index=12,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPMEMBERSHIP,
    output_type=UserProfileService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\0020\"./group-management/v1.0.0/user/group/membership',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='removeUserFromGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.removeUserFromGroup',
    index=13,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPMEMBERSHIP,
    output_type=UserProfileService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\0020*./group-management/v1.0.0/user/group/membership',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='addChildGroupToParentGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.addChildGroupToParentGroup',
    index=14,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPTOGROUPMEMBERSHIP,
    output_type=UserProfileService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002+\")/group-management/v1.0.0/group/membership',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='removeChildGroupFromParentGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.removeChildGroupFromParentGroup',
    index=15,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPTOGROUPMEMBERSHIP,
    output_type=UserProfileService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002+*)/group-management/v1.0.0/group/membership',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getAllGroupsOfUser',
    full_name='org.apache.custos.group.management.service.GroupManagementService.getAllGroupsOfUser',
    index=16,
    containing_service=None,
    input_type=UserProfileService__pb2._USERPROFILEREQUEST,
    output_type=UserProfileService__pb2._GETALLGROUPSRESPONSE,
    serialized_options=b'\202\323\344\223\0021\022//group-management/v1.0.0/user/group/memberships',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getAllParentGroupsOfGroup',
    full_name='org.apache.custos.group.management.service.GroupManagementService.getAllParentGroupsOfGroup',
    index=17,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPREQUEST,
    output_type=UserProfileService__pb2._GETALLGROUPSRESPONSE,
    serialized_options=b'\202\323\344\223\002-\022+/group-management/v1.0.0/groups/memberships',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getAllChildUsers',
    full_name='org.apache.custos.group.management.service.GroupManagementService.getAllChildUsers',
    index=18,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPREQUEST,
    output_type=UserProfileService__pb2._GETALLUSERPROFILESRESPONSE,
    serialized_options=b'\202\323\344\223\0027\0225/group-management/v1.0.0/user/group/memberships/child',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getAllChildGroups',
    full_name='org.apache.custos.group.management.service.GroupManagementService.getAllChildGroups',
    index=19,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPREQUEST,
    output_type=UserProfileService__pb2._GETALLGROUPSRESPONSE,
    serialized_options=b'\202\323\344\223\0023\0221/group-management/v1.0.0/groups/memberships/child',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='changeUserMembershipType',
    full_name='org.apache.custos.group.management.service.GroupManagementService.changeUserMembershipType',
    index=20,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPMEMBERSHIP,
    output_type=UserProfileService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\0020\032./group-management/v1.0.0/user/group/membership',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='hasAccess',
    full_name='org.apache.custos.group.management.service.GroupManagementService.hasAccess',
    index=21,
    containing_service=None,
    input_type=UserProfileService__pb2._GROUPMEMBERSHIP,
    output_type=UserProfileService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\002,\022*/group-management/v1.0.0/user/group/access',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='addGroupMembershipType',
    full_name='org.apache.custos.group.management.service.GroupManagementService.addGroupMembershipType',
    index=22,
    containing_service=None,
    input_type=UserProfileService__pb2._USERGROUPMEMBERSHIPTYPEREQUEST,
    output_type=UserProfileService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\0025\"3/group-management/v1.0.0/user/group/membership/type',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='removeUserGroupMembershipType',
    full_name='org.apache.custos.group.management.service.GroupManagementService.removeUserGroupMembershipType',
    index=23,
    containing_service=None,
    input_type=UserProfileService__pb2._USERGROUPMEMBERSHIPTYPEREQUEST,
    output_type=UserProfileService__pb2._STATUS,
    serialized_options=b'\202\323\344\223\0025*3/group-management/v1.0.0/user/group/membership/type',
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_GROUPMANAGEMENTSERVICE)

DESCRIPTOR.services_by_name['GroupManagementService'] = _GROUPMANAGEMENTSERVICE

# @@protoc_insertion_point(module_scope)
