# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/identity/v1/keyapis_identity_user_v1.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2keyapis/identity/v1/keyapis_identity_user_v1.proto\x12\x13keyapis.identity.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"N\n\x1bPostUserSsoMigrationRequest\x12\x14\n\x07user_id\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x19\n\x0cphone_number\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xa9\x02\n\x1cPostUserSsoMigrationResponse\x12H\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x37.keyapis.identity.v1.PostUserSsoMigrationResponse.ErrorH\x00\x1a\xb6\x01\n\x05\x45rror\x12:\n\nvalidation\x18\x01 \x01(\x0b\x32$.keyapis.identity.v1.ValidationErrorH\x00\x12Y\n\x0buser_exists\x18\x02 \x01(\x0b\x32\x42.keyapis.identity.v1.PostUserSsoMigrationResponse.Error.UserExistsH\x00\x1a\x0c\n\nUserExistsB\x08\n\x06reasonB\x06\n\x04type\":\n\x0fValidationError\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07message\x18\x02 \x01(\tB\x03\xe0\x41\x02\x32\xbb\x01\n\x0bUserService\x12\xab\x01\n\x14PostUserSsoMigration\x12\x30.keyapis.identity.v1.PostUserSsoMigrationRequest\x1a\x31.keyapis.identity.v1.PostUserSsoMigrationResponse\".\x82\xd3\xe4\x93\x02(\"#/identity/api/v1/user/sso_migration:\x01*B\xa8\x01\n\x16ru.keyapis.identity.v1B\x16KeyapisIdentityV1ProtoH\x03P\x00Z\x14/keyapis_identity_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x11KEYAPISIDENTITYV1\xaa\x02\x13Keyapis.Identity.V1\xca\x02\x13Keyapis\\Identity\\V1\xea\x02\x15Keyapis::Identity::V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'keyapis.identity.v1.keyapis_identity_user_v1_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\026ru.keyapis.identity.v1B\026KeyapisIdentityV1ProtoH\003P\000Z\024/keyapis_identity_v1\330\001\001\370\001\001\242\002\021KEYAPISIDENTITYV1\252\002\023Keyapis.Identity.V1\312\002\023Keyapis\\Identity\\V1\352\002\025Keyapis::Identity::V1'
  _POSTUSERSSOMIGRATIONREQUEST.fields_by_name['user_id']._options = None
  _POSTUSERSSOMIGRATIONREQUEST.fields_by_name['user_id']._serialized_options = b'\340A\002'
  _POSTUSERSSOMIGRATIONREQUEST.fields_by_name['phone_number']._options = None
  _POSTUSERSSOMIGRATIONREQUEST.fields_by_name['phone_number']._serialized_options = b'\340A\002'
  _VALIDATIONERROR.fields_by_name['path']._options = None
  _VALIDATIONERROR.fields_by_name['path']._serialized_options = b'\340A\002'
  _VALIDATIONERROR.fields_by_name['message']._options = None
  _VALIDATIONERROR.fields_by_name['message']._serialized_options = b'\340A\002'
  _USERSERVICE.methods_by_name['PostUserSsoMigration']._options = None
  _USERSERVICE.methods_by_name['PostUserSsoMigration']._serialized_options = b'\202\323\344\223\002(\"#/identity/api/v1/user/sso_migration:\001*'
  _globals['_POSTUSERSSOMIGRATIONREQUEST']._serialized_start=171
  _globals['_POSTUSERSSOMIGRATIONREQUEST']._serialized_end=249
  _globals['_POSTUSERSSOMIGRATIONRESPONSE']._serialized_start=252
  _globals['_POSTUSERSSOMIGRATIONRESPONSE']._serialized_end=549
  _globals['_POSTUSERSSOMIGRATIONRESPONSE_ERROR']._serialized_start=359
  _globals['_POSTUSERSSOMIGRATIONRESPONSE_ERROR']._serialized_end=541
  _globals['_POSTUSERSSOMIGRATIONRESPONSE_ERROR_USEREXISTS']._serialized_start=519
  _globals['_POSTUSERSSOMIGRATIONRESPONSE_ERROR_USEREXISTS']._serialized_end=531
  _globals['_VALIDATIONERROR']._serialized_start=551
  _globals['_VALIDATIONERROR']._serialized_end=609
  _globals['_USERSERVICE']._serialized_start=612
  _globals['_USERSERVICE']._serialized_end=799
# @@protoc_insertion_point(module_scope)
