# -*- 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: UserManagementService.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='UserManagementService.proto',
  package='org.apache.custos.user.management.service',
  syntax='proto3',
  serialized_options=b'P\001Z\004./pb',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x1bUserManagementService.proto\x12)org.apache.custos.user.management.service\x1a\x1cgoogle/api/annotations.proto\x1a\x18UserProfileService.proto\x1a\x15IamAdminService.proto\"\xc8\x01\n\x12UserProfileRequest\x12I\n\x0cuser_profile\x18\x01 \x01(\x0b\x32\x33.org.apache.custos.user.profile.service.UserProfile\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\x11\n\ttenant_id\x18\x03 \x01(\x03\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x04 \x01(\t\x12\x15\n\rclient_secret\x18\x05 \x01(\t\x12\x14\n\x0cperformed_by\x18\x06 \x01(\t\"q\n\x0eGetUserRequest\x12\x10\n\x08username\x18\x01 \x01(\t\x12M\n\x13user_search_request\x18\x02 \x01(\x0b\x32\x30.org.apache.custos.iam.service.UserSearchRequest\"\xa6\x01\n\x0fGetUsersRequest\x12\x11\n\ttenant_id\x18\x01 \x01(\x03\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x0e\n\x06offset\x18\x04 \x01(\x05\x12\r\n\x05limit\x18\x05 \x01(\x05\x12\x0e\n\x06search\x18\x06 \x01(\t\x12\x15\n\riam_client_id\x18\x07 \x01(\t\x12\x19\n\x11iam_client_secret\x18\x08 \x01(\t\"\x8e\x01\n\rResetPassword\x12\x11\n\ttenant_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x02 \x01(\t\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x10\n\x08password\x18\x04 \x01(\t\x12\x15\n\riam_client_id\x18\x05 \x01(\t\x12\x19\n\x11iam_client_secret\x18\x06 \x01(\t\"k\n\x14ResetPasswordRequest\x12S\n\x11password_metadata\x18\x01 \x01(\x0b\x32\x38.org.apache.custos.user.management.service.ResetPassword\"\xd9\x01\n\x16LinkUserProfileRequest\x12\x18\n\x10\x63urrent_username\x18\x01 \x01(\t\x12\x19\n\x11previous_username\x18\x02 \x01(\t\x12\x1a\n\x12linking_attributes\x18\x03 \x03(\t\x12\x10\n\x08tenantId\x18\x04 \x01(\x03\x12\x15\n\riam_client_id\x18\x05 \x01(\t\x12\x19\n\x11iam_client_secret\x18\x06 \x01(\t\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x07 \x01(\t\x12\x14\n\x0cperformed_by\x18\x08 \x01(\t\"@\n\x18SynchronizeUserDBRequest\x12\x11\n\ttenant_id\x18\x02 \x01(\x03\x12\x11\n\tclient_id\x18\x04 \x01(\t2\xeb\x1f\n\x15UserManagementService\x12\xa3\x01\n\x0cregisterUser\x12\x32.org.apache.custos.iam.service.RegisterUserRequest\x1a\x33.org.apache.custos.iam.service.RegisterUserResponse\"*\x82\xd3\xe4\x93\x02$\"\x1c/user-management/v1.0.0/user:\x04user\x12\xb1\x01\n\x16registerAndEnableUsers\x12\x33.org.apache.custos.iam.service.RegisterUsersRequest\x1a\x34.org.apache.custos.iam.service.RegisterUsersResponse\",\x82\xd3\xe4\x93\x02&\"\x1d/user-management/v1.0.0/users:\x05users\x12\xa8\x01\n\x11\x61\x64\x64UserAttributes\x12\x37.org.apache.custos.iam.service.AddUserAttributesRequest\x1a..org.apache.custos.iam.service.OperationStatus\"*\x82\xd3\xe4\x93\x02$\"\"/user-management/v1.0.0/attributes\x12\xad\x01\n\x14\x64\x65leteUserAttributes\x12\x39.org.apache.custos.iam.service.DeleteUserAttributeRequest\x1a..org.apache.custos.iam.service.OperationStatus\"*\x82\xd3\xe4\x93\x02$*\"/user-management/v1.0.0/attributes\x12\xa8\x01\n\nenableUser\x12\x30.org.apache.custos.iam.service.UserSearchRequest\x1a\x31.org.apache.custos.iam.service.UserRepresentation\"5\x82\xd3\xe4\x93\x02/\"\'/user-management/v1.0.0/user/activation:\x04user\x12\xab\x01\n\x0b\x64isableUser\x12\x30.org.apache.custos.iam.service.UserSearchRequest\x1a\x31.org.apache.custos.iam.service.UserRepresentation\"7\x82\xd3\xe4\x93\x02\x31\")/user-management/v1.0.0/user/deactivation:\x04user\x12\xaa\x01\n\x14grantAdminPrivileges\x12\x30.org.apache.custos.iam.service.UserSearchRequest\x1a..org.apache.custos.iam.service.OperationStatus\"0\x82\xd3\xe4\x93\x02*\"\"/user-management/v1.0.0/user/admin:\x04user\x12\xab\x01\n\x15removeAdminPrivileges\x12\x30.org.apache.custos.iam.service.UserSearchRequest\x1a..org.apache.custos.iam.service.OperationStatus\"0\x82\xd3\xe4\x93\x02**\"/user-management/v1.0.0/user/admin:\x04user\x12\xa2\x01\n\x0f\x61\x64\x64RolesToUsers\x12\x32.org.apache.custos.iam.service.AddUserRolesRequest\x1a..org.apache.custos.iam.service.OperationStatus\"+\x82\xd3\xe4\x93\x02%\"#/user-management/v1.0.0/users/roles\x12\xa9\x01\n\risUserEnabled\x12\x30.org.apache.custos.iam.service.UserSearchRequest\x1a..org.apache.custos.iam.service.OperationStatus\"6\x82\xd3\xe4\x93\x02\x30\x12./user-management/v1.0.0/user/activation/status\x12\xaa\x01\n\x13isUsernameAvailable\x12\x30.org.apache.custos.iam.service.UserSearchRequest\x1a..org.apache.custos.iam.service.OperationStatus\"1\x82\xd3\xe4\x93\x02+\x12)/user-management/v1.0.0/user/availability\x12\x94\x01\n\x07getUser\x12\x30.org.apache.custos.iam.service.UserSearchRequest\x1a\x31.org.apache.custos.iam.service.UserRepresentation\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/user-management/v1.0.0/user\x12\x95\x01\n\tfindUsers\x12/.org.apache.custos.iam.service.FindUsersRequest\x1a\x30.org.apache.custos.iam.service.FindUsersResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/user-management/v1.0.0/users\x12\xa0\x01\n\rresetPassword\x12\x30.org.apache.custos.iam.service.ResetUserPassword\x1a..org.apache.custos.iam.service.OperationStatus\"-\x82\xd3\xe4\x93\x02\'\x1a%/user-management/v1.0.0/user/password\x12\x9a\x01\n\ndeleteUser\x12\x30.org.apache.custos.iam.service.UserSearchRequest\x1a..org.apache.custos.iam.service.OperationStatus\"*\x82\xd3\xe4\x93\x02$*\x1c/user-management/v1.0.0/user:\x04user\x12\xa4\x01\n\x0f\x64\x65leteUserRoles\x12\x35.org.apache.custos.iam.service.DeleteUserRolesRequest\x1a..org.apache.custos.iam.service.OperationStatus\"*\x82\xd3\xe4\x93\x02$*\"/user-management/v1.0.0/user/roles\x12\xc3\x01\n\x11updateUserProfile\x12=.org.apache.custos.user.management.service.UserProfileRequest\x1a\x33.org.apache.custos.user.profile.service.UserProfile\":\x82\xd3\xe4\x93\x02\x34\x1a$/user-management/v1.0.0/user/profile:\x0cuser_profile\x12\xb2\x01\n\x0egetUserProfile\x12=.org.apache.custos.user.management.service.UserProfileRequest\x1a\x33.org.apache.custos.user.profile.service.UserProfile\",\x82\xd3\xe4\x93\x02&\x12$/user-management/v1.0.0/user/profile\x12\xb5\x01\n\x11\x64\x65leteUserProfile\x12=.org.apache.custos.user.management.service.UserProfileRequest\x1a\x33.org.apache.custos.user.profile.service.UserProfile\",\x82\xd3\xe4\x93\x02&*$/user-management/v1.0.0/user/profile\x12\xce\x01\n\x1agetAllUserProfilesInTenant\x12=.org.apache.custos.user.management.service.UserProfileRequest\x1a\x42.org.apache.custos.user.profile.service.GetAllUserProfilesResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/user-management/v1.0.0/users/profile\x12\xb9\x01\n\x0flinkUserProfile\x12\x41.org.apache.custos.user.management.service.LinkUserProfileRequest\x1a..org.apache.custos.iam.service.OperationStatus\"3\x82\xd3\xe4\x93\x02-\"+/user-management/v1.0.0/user/profile/mapper\x12\xd8\x01\n\x19getUserProfileAuditTrails\x12\x42.org.apache.custos.user.profile.service.GetUpdateAuditTrailRequest\x1a\x43.org.apache.custos.user.profile.service.GetUpdateAuditTrailResponse\"2\x82\xd3\xe4\x93\x02,\x12*/user-management/v1.0.0/user/profile/audit\x12\xb9\x01\n\x12synchronizeUserDBs\x12\x43.org.apache.custos.user.management.service.SynchronizeUserDBRequest\x1a..org.apache.custos.iam.service.OperationStatus\".\x82\xd3\xe4\x93\x02(\"&/user-management/v1.0.0/db/synchronizeB\x08P\x01Z\x04./pbb\x06proto3'
  ,
  dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,UserProfileService__pb2.DESCRIPTOR,IamAdminService__pb2.DESCRIPTOR,])




_USERPROFILEREQUEST = _descriptor.Descriptor(
  name='UserProfileRequest',
  full_name='org.apache.custos.user.management.service.UserProfileRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='user_profile', full_name='org.apache.custos.user.management.service.UserProfileRequest.user_profile', 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='client_id', full_name='org.apache.custos.user.management.service.UserProfileRequest.client_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='tenant_id', full_name='org.apache.custos.user.management.service.UserProfileRequest.tenant_id', index=2,
      number=3, 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='access_token', full_name='org.apache.custos.user.management.service.UserProfileRequest.access_token', 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='client_secret', full_name='org.apache.custos.user.management.service.UserProfileRequest.client_secret', 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='performed_by', full_name='org.apache.custos.user.management.service.UserProfileRequest.performed_by', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=154,
  serialized_end=354,
)


_GETUSERREQUEST = _descriptor.Descriptor(
  name='GetUserRequest',
  full_name='org.apache.custos.user.management.service.GetUserRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='username', full_name='org.apache.custos.user.management.service.GetUserRequest.username', 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='user_search_request', full_name='org.apache.custos.user.management.service.GetUserRequest.user_search_request', index=1,
      number=2, 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=356,
  serialized_end=469,
)


_GETUSERSREQUEST = _descriptor.Descriptor(
  name='GetUsersRequest',
  full_name='org.apache.custos.user.management.service.GetUsersRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.user.management.service.GetUsersRequest.tenant_id', index=0,
      number=1, 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='email', full_name='org.apache.custos.user.management.service.GetUsersRequest.email', 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='username', full_name='org.apache.custos.user.management.service.GetUsersRequest.username', 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.user.management.service.GetUsersRequest.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.user.management.service.GetUsersRequest.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', full_name='org.apache.custos.user.management.service.GetUsersRequest.search', 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='iam_client_id', full_name='org.apache.custos.user.management.service.GetUsersRequest.iam_client_id', 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='iam_client_secret', full_name='org.apache.custos.user.management.service.GetUsersRequest.iam_client_secret', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=472,
  serialized_end=638,
)


_RESETPASSWORD = _descriptor.Descriptor(
  name='ResetPassword',
  full_name='org.apache.custos.user.management.service.ResetPassword',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.user.management.service.ResetPassword.tenant_id', index=0,
      number=1, 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='access_token', full_name='org.apache.custos.user.management.service.ResetPassword.access_token', 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='username', full_name='org.apache.custos.user.management.service.ResetPassword.username', 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='password', full_name='org.apache.custos.user.management.service.ResetPassword.password', 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='iam_client_id', full_name='org.apache.custos.user.management.service.ResetPassword.iam_client_id', 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='iam_client_secret', full_name='org.apache.custos.user.management.service.ResetPassword.iam_client_secret', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=641,
  serialized_end=783,
)


_RESETPASSWORDREQUEST = _descriptor.Descriptor(
  name='ResetPasswordRequest',
  full_name='org.apache.custos.user.management.service.ResetPasswordRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='password_metadata', full_name='org.apache.custos.user.management.service.ResetPasswordRequest.password_metadata', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=785,
  serialized_end=892,
)


_LINKUSERPROFILEREQUEST = _descriptor.Descriptor(
  name='LinkUserProfileRequest',
  full_name='org.apache.custos.user.management.service.LinkUserProfileRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='current_username', full_name='org.apache.custos.user.management.service.LinkUserProfileRequest.current_username', 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='previous_username', full_name='org.apache.custos.user.management.service.LinkUserProfileRequest.previous_username', 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='linking_attributes', full_name='org.apache.custos.user.management.service.LinkUserProfileRequest.linking_attributes', index=2,
      number=3, 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='tenantId', full_name='org.apache.custos.user.management.service.LinkUserProfileRequest.tenantId', 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='iam_client_id', full_name='org.apache.custos.user.management.service.LinkUserProfileRequest.iam_client_id', 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='iam_client_secret', full_name='org.apache.custos.user.management.service.LinkUserProfileRequest.iam_client_secret', 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='access_token', full_name='org.apache.custos.user.management.service.LinkUserProfileRequest.access_token', 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='performed_by', full_name='org.apache.custos.user.management.service.LinkUserProfileRequest.performed_by', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=895,
  serialized_end=1112,
)


_SYNCHRONIZEUSERDBREQUEST = _descriptor.Descriptor(
  name='SynchronizeUserDBRequest',
  full_name='org.apache.custos.user.management.service.SynchronizeUserDBRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.user.management.service.SynchronizeUserDBRequest.tenant_id', index=0,
      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='client_id', full_name='org.apache.custos.user.management.service.SynchronizeUserDBRequest.client_id', index=1,
      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=1114,
  serialized_end=1178,
)

_USERPROFILEREQUEST.fields_by_name['user_profile'].message_type = UserProfileService__pb2._USERPROFILE
_GETUSERREQUEST.fields_by_name['user_search_request'].message_type = IamAdminService__pb2._USERSEARCHREQUEST
_RESETPASSWORDREQUEST.fields_by_name['password_metadata'].message_type = _RESETPASSWORD
DESCRIPTOR.message_types_by_name['UserProfileRequest'] = _USERPROFILEREQUEST
DESCRIPTOR.message_types_by_name['GetUserRequest'] = _GETUSERREQUEST
DESCRIPTOR.message_types_by_name['GetUsersRequest'] = _GETUSERSREQUEST
DESCRIPTOR.message_types_by_name['ResetPassword'] = _RESETPASSWORD
DESCRIPTOR.message_types_by_name['ResetPasswordRequest'] = _RESETPASSWORDREQUEST
DESCRIPTOR.message_types_by_name['LinkUserProfileRequest'] = _LINKUSERPROFILEREQUEST
DESCRIPTOR.message_types_by_name['SynchronizeUserDBRequest'] = _SYNCHRONIZEUSERDBREQUEST
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

UserProfileRequest = _reflection.GeneratedProtocolMessageType('UserProfileRequest', (_message.Message,), {
  'DESCRIPTOR' : _USERPROFILEREQUEST,
  '__module__' : 'UserManagementService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.user.management.service.UserProfileRequest)
  })
_sym_db.RegisterMessage(UserProfileRequest)

GetUserRequest = _reflection.GeneratedProtocolMessageType('GetUserRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETUSERREQUEST,
  '__module__' : 'UserManagementService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.user.management.service.GetUserRequest)
  })
_sym_db.RegisterMessage(GetUserRequest)

GetUsersRequest = _reflection.GeneratedProtocolMessageType('GetUsersRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETUSERSREQUEST,
  '__module__' : 'UserManagementService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.user.management.service.GetUsersRequest)
  })
_sym_db.RegisterMessage(GetUsersRequest)

ResetPassword = _reflection.GeneratedProtocolMessageType('ResetPassword', (_message.Message,), {
  'DESCRIPTOR' : _RESETPASSWORD,
  '__module__' : 'UserManagementService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.user.management.service.ResetPassword)
  })
_sym_db.RegisterMessage(ResetPassword)

ResetPasswordRequest = _reflection.GeneratedProtocolMessageType('ResetPasswordRequest', (_message.Message,), {
  'DESCRIPTOR' : _RESETPASSWORDREQUEST,
  '__module__' : 'UserManagementService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.user.management.service.ResetPasswordRequest)
  })
_sym_db.RegisterMessage(ResetPasswordRequest)

LinkUserProfileRequest = _reflection.GeneratedProtocolMessageType('LinkUserProfileRequest', (_message.Message,), {
  'DESCRIPTOR' : _LINKUSERPROFILEREQUEST,
  '__module__' : 'UserManagementService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.user.management.service.LinkUserProfileRequest)
  })
_sym_db.RegisterMessage(LinkUserProfileRequest)

SynchronizeUserDBRequest = _reflection.GeneratedProtocolMessageType('SynchronizeUserDBRequest', (_message.Message,), {
  'DESCRIPTOR' : _SYNCHRONIZEUSERDBREQUEST,
  '__module__' : 'UserManagementService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.user.management.service.SynchronizeUserDBRequest)
  })
_sym_db.RegisterMessage(SynchronizeUserDBRequest)


DESCRIPTOR._options = None

_USERMANAGEMENTSERVICE = _descriptor.ServiceDescriptor(
  name='UserManagementService',
  full_name='org.apache.custos.user.management.service.UserManagementService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=1181,
  serialized_end=5256,
  methods=[
  _descriptor.MethodDescriptor(
    name='registerUser',
    full_name='org.apache.custos.user.management.service.UserManagementService.registerUser',
    index=0,
    containing_service=None,
    input_type=IamAdminService__pb2._REGISTERUSERREQUEST,
    output_type=IamAdminService__pb2._REGISTERUSERRESPONSE,
    serialized_options=b'\202\323\344\223\002$\"\034/user-management/v1.0.0/user:\004user',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='registerAndEnableUsers',
    full_name='org.apache.custos.user.management.service.UserManagementService.registerAndEnableUsers',
    index=1,
    containing_service=None,
    input_type=IamAdminService__pb2._REGISTERUSERSREQUEST,
    output_type=IamAdminService__pb2._REGISTERUSERSRESPONSE,
    serialized_options=b'\202\323\344\223\002&\"\035/user-management/v1.0.0/users:\005users',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='addUserAttributes',
    full_name='org.apache.custos.user.management.service.UserManagementService.addUserAttributes',
    index=2,
    containing_service=None,
    input_type=IamAdminService__pb2._ADDUSERATTRIBUTESREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002$\"\"/user-management/v1.0.0/attributes',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deleteUserAttributes',
    full_name='org.apache.custos.user.management.service.UserManagementService.deleteUserAttributes',
    index=3,
    containing_service=None,
    input_type=IamAdminService__pb2._DELETEUSERATTRIBUTEREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002$*\"/user-management/v1.0.0/attributes',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='enableUser',
    full_name='org.apache.custos.user.management.service.UserManagementService.enableUser',
    index=4,
    containing_service=None,
    input_type=IamAdminService__pb2._USERSEARCHREQUEST,
    output_type=IamAdminService__pb2._USERREPRESENTATION,
    serialized_options=b'\202\323\344\223\002/\"\'/user-management/v1.0.0/user/activation:\004user',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='disableUser',
    full_name='org.apache.custos.user.management.service.UserManagementService.disableUser',
    index=5,
    containing_service=None,
    input_type=IamAdminService__pb2._USERSEARCHREQUEST,
    output_type=IamAdminService__pb2._USERREPRESENTATION,
    serialized_options=b'\202\323\344\223\0021\")/user-management/v1.0.0/user/deactivation:\004user',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='grantAdminPrivileges',
    full_name='org.apache.custos.user.management.service.UserManagementService.grantAdminPrivileges',
    index=6,
    containing_service=None,
    input_type=IamAdminService__pb2._USERSEARCHREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002*\"\"/user-management/v1.0.0/user/admin:\004user',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='removeAdminPrivileges',
    full_name='org.apache.custos.user.management.service.UserManagementService.removeAdminPrivileges',
    index=7,
    containing_service=None,
    input_type=IamAdminService__pb2._USERSEARCHREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002**\"/user-management/v1.0.0/user/admin:\004user',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='addRolesToUsers',
    full_name='org.apache.custos.user.management.service.UserManagementService.addRolesToUsers',
    index=8,
    containing_service=None,
    input_type=IamAdminService__pb2._ADDUSERROLESREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002%\"#/user-management/v1.0.0/users/roles',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='isUserEnabled',
    full_name='org.apache.custos.user.management.service.UserManagementService.isUserEnabled',
    index=9,
    containing_service=None,
    input_type=IamAdminService__pb2._USERSEARCHREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\0020\022./user-management/v1.0.0/user/activation/status',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='isUsernameAvailable',
    full_name='org.apache.custos.user.management.service.UserManagementService.isUsernameAvailable',
    index=10,
    containing_service=None,
    input_type=IamAdminService__pb2._USERSEARCHREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002+\022)/user-management/v1.0.0/user/availability',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getUser',
    full_name='org.apache.custos.user.management.service.UserManagementService.getUser',
    index=11,
    containing_service=None,
    input_type=IamAdminService__pb2._USERSEARCHREQUEST,
    output_type=IamAdminService__pb2._USERREPRESENTATION,
    serialized_options=b'\202\323\344\223\002\036\022\034/user-management/v1.0.0/user',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='findUsers',
    full_name='org.apache.custos.user.management.service.UserManagementService.findUsers',
    index=12,
    containing_service=None,
    input_type=IamAdminService__pb2._FINDUSERSREQUEST,
    output_type=IamAdminService__pb2._FINDUSERSRESPONSE,
    serialized_options=b'\202\323\344\223\002\037\022\035/user-management/v1.0.0/users',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='resetPassword',
    full_name='org.apache.custos.user.management.service.UserManagementService.resetPassword',
    index=13,
    containing_service=None,
    input_type=IamAdminService__pb2._RESETUSERPASSWORD,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002\'\032%/user-management/v1.0.0/user/password',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deleteUser',
    full_name='org.apache.custos.user.management.service.UserManagementService.deleteUser',
    index=14,
    containing_service=None,
    input_type=IamAdminService__pb2._USERSEARCHREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002$*\034/user-management/v1.0.0/user:\004user',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deleteUserRoles',
    full_name='org.apache.custos.user.management.service.UserManagementService.deleteUserRoles',
    index=15,
    containing_service=None,
    input_type=IamAdminService__pb2._DELETEUSERROLESREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002$*\"/user-management/v1.0.0/user/roles',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='updateUserProfile',
    full_name='org.apache.custos.user.management.service.UserManagementService.updateUserProfile',
    index=16,
    containing_service=None,
    input_type=_USERPROFILEREQUEST,
    output_type=UserProfileService__pb2._USERPROFILE,
    serialized_options=b'\202\323\344\223\0024\032$/user-management/v1.0.0/user/profile:\014user_profile',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getUserProfile',
    full_name='org.apache.custos.user.management.service.UserManagementService.getUserProfile',
    index=17,
    containing_service=None,
    input_type=_USERPROFILEREQUEST,
    output_type=UserProfileService__pb2._USERPROFILE,
    serialized_options=b'\202\323\344\223\002&\022$/user-management/v1.0.0/user/profile',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='deleteUserProfile',
    full_name='org.apache.custos.user.management.service.UserManagementService.deleteUserProfile',
    index=18,
    containing_service=None,
    input_type=_USERPROFILEREQUEST,
    output_type=UserProfileService__pb2._USERPROFILE,
    serialized_options=b'\202\323\344\223\002&*$/user-management/v1.0.0/user/profile',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getAllUserProfilesInTenant',
    full_name='org.apache.custos.user.management.service.UserManagementService.getAllUserProfilesInTenant',
    index=19,
    containing_service=None,
    input_type=_USERPROFILEREQUEST,
    output_type=UserProfileService__pb2._GETALLUSERPROFILESRESPONSE,
    serialized_options=b'\202\323\344\223\002\'\022%/user-management/v1.0.0/users/profile',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='linkUserProfile',
    full_name='org.apache.custos.user.management.service.UserManagementService.linkUserProfile',
    index=20,
    containing_service=None,
    input_type=_LINKUSERPROFILEREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002-\"+/user-management/v1.0.0/user/profile/mapper',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getUserProfileAuditTrails',
    full_name='org.apache.custos.user.management.service.UserManagementService.getUserProfileAuditTrails',
    index=21,
    containing_service=None,
    input_type=UserProfileService__pb2._GETUPDATEAUDITTRAILREQUEST,
    output_type=UserProfileService__pb2._GETUPDATEAUDITTRAILRESPONSE,
    serialized_options=b'\202\323\344\223\002,\022*/user-management/v1.0.0/user/profile/audit',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='synchronizeUserDBs',
    full_name='org.apache.custos.user.management.service.UserManagementService.synchronizeUserDBs',
    index=22,
    containing_service=None,
    input_type=_SYNCHRONIZEUSERDBREQUEST,
    output_type=IamAdminService__pb2._OPERATIONSTATUS,
    serialized_options=b'\202\323\344\223\002(\"&/user-management/v1.0.0/db/synchronize',
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_USERMANAGEMENTSERVICE)

DESCRIPTOR.services_by_name['UserManagementService'] = _USERMANAGEMENTSERVICE

# @@protoc_insertion_point(module_scope)
