// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: keyapis/identity/v1/keyapis_identity_user_v1.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_keyapis_2fidentity_2fv1_2fkeyapis_5fidentity_5fuser_5fv1_2eproto_2epb_2eh
#define GOOGLE_PROTOBUF_INCLUDED_keyapis_2fidentity_2fv1_2fkeyapis_5fidentity_5fuser_5fv1_2eproto_2epb_2eh

#include <limits>
#include <string>
#include <type_traits>

#include "google/protobuf/port_def.inc"
#if PROTOBUF_VERSION < 4023000
#error "This file was generated by a newer version of protoc which is"
#error "incompatible with your Protocol Buffer headers. Please update"
#error "your headers."
#endif  // PROTOBUF_VERSION

#if 4023001 < PROTOBUF_MIN_PROTOC_VERSION
#error "This file was generated by an older version of protoc which is"
#error "incompatible with your Protocol Buffer headers. Please"
#error "regenerate this file with a newer version of protoc."
#endif  // PROTOBUF_MIN_PROTOC_VERSION
#include "google/protobuf/port_undef.inc"
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h"  // IWYU pragma: export
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
#include "google/api/annotations.pb.h"
#include "google/api/field_behavior.pb.h"
#include "google/protobuf/timestamp.pb.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"

#define PROTOBUF_INTERNAL_EXPORT_keyapis_2fidentity_2fv1_2fkeyapis_5fidentity_5fuser_5fv1_2eproto

PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_keyapis_2fidentity_2fv1_2fkeyapis_5fidentity_5fuser_5fv1_2eproto {
  static const ::uint32_t offsets[];
};
namespace keyapis {
namespace identity {
namespace v1 {
class PostUserSsoMigrationRequest;
struct PostUserSsoMigrationRequestDefaultTypeInternal;
extern PostUserSsoMigrationRequestDefaultTypeInternal _PostUserSsoMigrationRequest_default_instance_;
class PostUserSsoMigrationResponse;
struct PostUserSsoMigrationResponseDefaultTypeInternal;
extern PostUserSsoMigrationResponseDefaultTypeInternal _PostUserSsoMigrationResponse_default_instance_;
class PostUserSsoMigrationResponse_Error;
struct PostUserSsoMigrationResponse_ErrorDefaultTypeInternal;
extern PostUserSsoMigrationResponse_ErrorDefaultTypeInternal _PostUserSsoMigrationResponse_Error_default_instance_;
class PostUserSsoMigrationResponse_Error_UserExists;
struct PostUserSsoMigrationResponse_Error_UserExistsDefaultTypeInternal;
extern PostUserSsoMigrationResponse_Error_UserExistsDefaultTypeInternal _PostUserSsoMigrationResponse_Error_UserExists_default_instance_;
class ValidationError;
struct ValidationErrorDefaultTypeInternal;
extern ValidationErrorDefaultTypeInternal _ValidationError_default_instance_;
}  // namespace v1
}  // namespace identity
}  // namespace keyapis
PROTOBUF_NAMESPACE_OPEN
template <>
::keyapis::identity::v1::PostUserSsoMigrationRequest* Arena::CreateMaybeMessage<::keyapis::identity::v1::PostUserSsoMigrationRequest>(Arena*);
template <>
::keyapis::identity::v1::PostUserSsoMigrationResponse* Arena::CreateMaybeMessage<::keyapis::identity::v1::PostUserSsoMigrationResponse>(Arena*);
template <>
::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* Arena::CreateMaybeMessage<::keyapis::identity::v1::PostUserSsoMigrationResponse_Error>(Arena*);
template <>
::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* Arena::CreateMaybeMessage<::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists>(Arena*);
template <>
::keyapis::identity::v1::ValidationError* Arena::CreateMaybeMessage<::keyapis::identity::v1::ValidationError>(Arena*);
PROTOBUF_NAMESPACE_CLOSE

namespace keyapis {
namespace identity {
namespace v1 {

// ===================================================================


// -------------------------------------------------------------------

class PostUserSsoMigrationRequest final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:keyapis.identity.v1.PostUserSsoMigrationRequest) */ {
 public:
  inline PostUserSsoMigrationRequest() : PostUserSsoMigrationRequest(nullptr) {}
  ~PostUserSsoMigrationRequest() override;
  template<typename = void>
  explicit PROTOBUF_CONSTEXPR PostUserSsoMigrationRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  PostUserSsoMigrationRequest(const PostUserSsoMigrationRequest& from);
  PostUserSsoMigrationRequest(PostUserSsoMigrationRequest&& from) noexcept
    : PostUserSsoMigrationRequest() {
    *this = ::std::move(from);
  }

  inline PostUserSsoMigrationRequest& operator=(const PostUserSsoMigrationRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline PostUserSsoMigrationRequest& operator=(PostUserSsoMigrationRequest&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
  }
  inline std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<std::string>();
  }

  static const PostUserSsoMigrationRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const PostUserSsoMigrationRequest* internal_default_instance() {
    return reinterpret_cast<const PostUserSsoMigrationRequest*>(
               &_PostUserSsoMigrationRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(PostUserSsoMigrationRequest& a, PostUserSsoMigrationRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(PostUserSsoMigrationRequest* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PostUserSsoMigrationRequest* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PostUserSsoMigrationRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<PostUserSsoMigrationRequest>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const PostUserSsoMigrationRequest& from);
  void MergeFrom(const PostUserSsoMigrationRequest& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PostUserSsoMigrationRequest* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "keyapis.identity.v1.PostUserSsoMigrationRequest";
  }
  protected:
  explicit PostUserSsoMigrationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kPhoneNumberFieldNumber = 2,
    kUserIdFieldNumber = 1,
  };
  // string phone_number = 2 [(.google.api.field_behavior) = REQUIRED];
  void clear_phone_number() ;
  const std::string& phone_number() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_phone_number(Arg_&& arg, Args_... args);
  std::string* mutable_phone_number();
  PROTOBUF_NODISCARD std::string* release_phone_number();
  void set_allocated_phone_number(std::string* ptr);

  private:
  const std::string& _internal_phone_number() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_phone_number(
      const std::string& value);
  std::string* _internal_mutable_phone_number();

  public:
  // int32 user_id = 1 [(.google.api.field_behavior) = REQUIRED];
  void clear_user_id() ;
  ::int32_t user_id() const;
  void set_user_id(::int32_t value);

  private:
  ::int32_t _internal_user_id() const;
  void _internal_set_user_id(::int32_t value);

  public:
  // @@protoc_insertion_point(class_scope:keyapis.identity.v1.PostUserSsoMigrationRequest)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phone_number_;
    ::int32_t user_id_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_keyapis_2fidentity_2fv1_2fkeyapis_5fidentity_5fuser_5fv1_2eproto;
};// -------------------------------------------------------------------

class PostUserSsoMigrationResponse_Error_UserExists final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.UserExists) */ {
 public:
  inline PostUserSsoMigrationResponse_Error_UserExists() : PostUserSsoMigrationResponse_Error_UserExists(nullptr) {}
  ~PostUserSsoMigrationResponse_Error_UserExists() override;
  template<typename = void>
  explicit PROTOBUF_CONSTEXPR PostUserSsoMigrationResponse_Error_UserExists(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  PostUserSsoMigrationResponse_Error_UserExists(const PostUserSsoMigrationResponse_Error_UserExists& from);
  PostUserSsoMigrationResponse_Error_UserExists(PostUserSsoMigrationResponse_Error_UserExists&& from) noexcept
    : PostUserSsoMigrationResponse_Error_UserExists() {
    *this = ::std::move(from);
  }

  inline PostUserSsoMigrationResponse_Error_UserExists& operator=(const PostUserSsoMigrationResponse_Error_UserExists& from) {
    CopyFrom(from);
    return *this;
  }
  inline PostUserSsoMigrationResponse_Error_UserExists& operator=(PostUserSsoMigrationResponse_Error_UserExists&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
  }
  inline std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<std::string>();
  }

  static const PostUserSsoMigrationResponse_Error_UserExists& default_instance() {
    return *internal_default_instance();
  }
  static inline const PostUserSsoMigrationResponse_Error_UserExists* internal_default_instance() {
    return reinterpret_cast<const PostUserSsoMigrationResponse_Error_UserExists*>(
               &_PostUserSsoMigrationResponse_Error_UserExists_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(PostUserSsoMigrationResponse_Error_UserExists& a, PostUserSsoMigrationResponse_Error_UserExists& b) {
    a.Swap(&b);
  }
  inline void Swap(PostUserSsoMigrationResponse_Error_UserExists* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PostUserSsoMigrationResponse_Error_UserExists* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PostUserSsoMigrationResponse_Error_UserExists* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<PostUserSsoMigrationResponse_Error_UserExists>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const PostUserSsoMigrationResponse_Error_UserExists& from);
  void MergeFrom(const PostUserSsoMigrationResponse_Error_UserExists& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PostUserSsoMigrationResponse_Error_UserExists* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "keyapis.identity.v1.PostUserSsoMigrationResponse.Error.UserExists";
  }
  protected:
  explicit PostUserSsoMigrationResponse_Error_UserExists(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // @@protoc_insertion_point(class_scope:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.UserExists)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_keyapis_2fidentity_2fv1_2fkeyapis_5fidentity_5fuser_5fv1_2eproto;
};// -------------------------------------------------------------------

class PostUserSsoMigrationResponse_Error final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:keyapis.identity.v1.PostUserSsoMigrationResponse.Error) */ {
 public:
  inline PostUserSsoMigrationResponse_Error() : PostUserSsoMigrationResponse_Error(nullptr) {}
  ~PostUserSsoMigrationResponse_Error() override;
  template<typename = void>
  explicit PROTOBUF_CONSTEXPR PostUserSsoMigrationResponse_Error(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  PostUserSsoMigrationResponse_Error(const PostUserSsoMigrationResponse_Error& from);
  PostUserSsoMigrationResponse_Error(PostUserSsoMigrationResponse_Error&& from) noexcept
    : PostUserSsoMigrationResponse_Error() {
    *this = ::std::move(from);
  }

  inline PostUserSsoMigrationResponse_Error& operator=(const PostUserSsoMigrationResponse_Error& from) {
    CopyFrom(from);
    return *this;
  }
  inline PostUserSsoMigrationResponse_Error& operator=(PostUserSsoMigrationResponse_Error&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
  }
  inline std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<std::string>();
  }

  static const PostUserSsoMigrationResponse_Error& default_instance() {
    return *internal_default_instance();
  }
  enum ReasonCase {
    kValidation = 1,
    kUserExists = 2,
    REASON_NOT_SET = 0,
  };

  static inline const PostUserSsoMigrationResponse_Error* internal_default_instance() {
    return reinterpret_cast<const PostUserSsoMigrationResponse_Error*>(
               &_PostUserSsoMigrationResponse_Error_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(PostUserSsoMigrationResponse_Error& a, PostUserSsoMigrationResponse_Error& b) {
    a.Swap(&b);
  }
  inline void Swap(PostUserSsoMigrationResponse_Error* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PostUserSsoMigrationResponse_Error* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PostUserSsoMigrationResponse_Error* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<PostUserSsoMigrationResponse_Error>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const PostUserSsoMigrationResponse_Error& from);
  void MergeFrom(const PostUserSsoMigrationResponse_Error& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PostUserSsoMigrationResponse_Error* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "keyapis.identity.v1.PostUserSsoMigrationResponse.Error";
  }
  protected:
  explicit PostUserSsoMigrationResponse_Error(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  typedef PostUserSsoMigrationResponse_Error_UserExists UserExists;

  // accessors -------------------------------------------------------

  enum : int {
    kValidationFieldNumber = 1,
    kUserExistsFieldNumber = 2,
  };
  // .keyapis.identity.v1.ValidationError validation = 1;
  bool has_validation() const;
  private:
  bool _internal_has_validation() const;

  public:
  void clear_validation() ;
  const ::keyapis::identity::v1::ValidationError& validation() const;
  PROTOBUF_NODISCARD ::keyapis::identity::v1::ValidationError* release_validation();
  ::keyapis::identity::v1::ValidationError* mutable_validation();
  void set_allocated_validation(::keyapis::identity::v1::ValidationError* validation);
  private:
  const ::keyapis::identity::v1::ValidationError& _internal_validation() const;
  ::keyapis::identity::v1::ValidationError* _internal_mutable_validation();
  public:
  void unsafe_arena_set_allocated_validation(
      ::keyapis::identity::v1::ValidationError* validation);
  ::keyapis::identity::v1::ValidationError* unsafe_arena_release_validation();
  // .keyapis.identity.v1.PostUserSsoMigrationResponse.Error.UserExists user_exists = 2;
  bool has_user_exists() const;
  private:
  bool _internal_has_user_exists() const;

  public:
  void clear_user_exists() ;
  const ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists& user_exists() const;
  PROTOBUF_NODISCARD ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* release_user_exists();
  ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* mutable_user_exists();
  void set_allocated_user_exists(::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* user_exists);
  private:
  const ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists& _internal_user_exists() const;
  ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* _internal_mutable_user_exists();
  public:
  void unsafe_arena_set_allocated_user_exists(
      ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* user_exists);
  ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* unsafe_arena_release_user_exists();
  void clear_reason();
  ReasonCase reason_case() const;
  // @@protoc_insertion_point(class_scope:keyapis.identity.v1.PostUserSsoMigrationResponse.Error)
 private:
  class _Internal;
  void set_has_validation();
  void set_has_user_exists();

  inline bool has_reason() const;
  inline void clear_has_reason();

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    union ReasonUnion {
      constexpr ReasonUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::keyapis::identity::v1::ValidationError* validation_;
      ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* user_exists_;
    } reason_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];

  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_keyapis_2fidentity_2fv1_2fkeyapis_5fidentity_5fuser_5fv1_2eproto;
};// -------------------------------------------------------------------

class PostUserSsoMigrationResponse final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:keyapis.identity.v1.PostUserSsoMigrationResponse) */ {
 public:
  inline PostUserSsoMigrationResponse() : PostUserSsoMigrationResponse(nullptr) {}
  ~PostUserSsoMigrationResponse() override;
  template<typename = void>
  explicit PROTOBUF_CONSTEXPR PostUserSsoMigrationResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  PostUserSsoMigrationResponse(const PostUserSsoMigrationResponse& from);
  PostUserSsoMigrationResponse(PostUserSsoMigrationResponse&& from) noexcept
    : PostUserSsoMigrationResponse() {
    *this = ::std::move(from);
  }

  inline PostUserSsoMigrationResponse& operator=(const PostUserSsoMigrationResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline PostUserSsoMigrationResponse& operator=(PostUserSsoMigrationResponse&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
  }
  inline std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<std::string>();
  }

  static const PostUserSsoMigrationResponse& default_instance() {
    return *internal_default_instance();
  }
  enum TypeCase {
    kError = 1,
    TYPE_NOT_SET = 0,
  };

  static inline const PostUserSsoMigrationResponse* internal_default_instance() {
    return reinterpret_cast<const PostUserSsoMigrationResponse*>(
               &_PostUserSsoMigrationResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  friend void swap(PostUserSsoMigrationResponse& a, PostUserSsoMigrationResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(PostUserSsoMigrationResponse* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PostUserSsoMigrationResponse* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PostUserSsoMigrationResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<PostUserSsoMigrationResponse>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const PostUserSsoMigrationResponse& from);
  void MergeFrom(const PostUserSsoMigrationResponse& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PostUserSsoMigrationResponse* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "keyapis.identity.v1.PostUserSsoMigrationResponse";
  }
  protected:
  explicit PostUserSsoMigrationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  typedef PostUserSsoMigrationResponse_Error Error;

  // accessors -------------------------------------------------------

  enum : int {
    kErrorFieldNumber = 1,
  };
  // .keyapis.identity.v1.PostUserSsoMigrationResponse.Error error = 1;
  bool has_error() const;
  private:
  bool _internal_has_error() const;

  public:
  void clear_error() ;
  const ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error& error() const;
  PROTOBUF_NODISCARD ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* release_error();
  ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* mutable_error();
  void set_allocated_error(::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* error);
  private:
  const ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error& _internal_error() const;
  ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* _internal_mutable_error();
  public:
  void unsafe_arena_set_allocated_error(
      ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* error);
  ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* unsafe_arena_release_error();
  void clear_type();
  TypeCase type_case() const;
  // @@protoc_insertion_point(class_scope:keyapis.identity.v1.PostUserSsoMigrationResponse)
 private:
  class _Internal;
  void set_has_error();

  inline bool has_type() const;
  inline void clear_has_type();

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    union TypeUnion {
      constexpr TypeUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* error_;
    } type_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];

  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_keyapis_2fidentity_2fv1_2fkeyapis_5fidentity_5fuser_5fv1_2eproto;
};// -------------------------------------------------------------------

class ValidationError final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:keyapis.identity.v1.ValidationError) */ {
 public:
  inline ValidationError() : ValidationError(nullptr) {}
  ~ValidationError() override;
  template<typename = void>
  explicit PROTOBUF_CONSTEXPR ValidationError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  ValidationError(const ValidationError& from);
  ValidationError(ValidationError&& from) noexcept
    : ValidationError() {
    *this = ::std::move(from);
  }

  inline ValidationError& operator=(const ValidationError& from) {
    CopyFrom(from);
    return *this;
  }
  inline ValidationError& operator=(ValidationError&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
  }
  inline std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<std::string>();
  }

  static const ValidationError& default_instance() {
    return *internal_default_instance();
  }
  static inline const ValidationError* internal_default_instance() {
    return reinterpret_cast<const ValidationError*>(
               &_ValidationError_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    4;

  friend void swap(ValidationError& a, ValidationError& b) {
    a.Swap(&b);
  }
  inline void Swap(ValidationError* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ValidationError* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ValidationError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<ValidationError>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const ValidationError& from);
  void MergeFrom(const ValidationError& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(ValidationError* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "keyapis.identity.v1.ValidationError";
  }
  protected:
  explicit ValidationError(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kPathFieldNumber = 1,
    kMessageFieldNumber = 2,
  };
  // string path = 1 [(.google.api.field_behavior) = REQUIRED];
  void clear_path() ;
  const std::string& path() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_path(Arg_&& arg, Args_... args);
  std::string* mutable_path();
  PROTOBUF_NODISCARD std::string* release_path();
  void set_allocated_path(std::string* ptr);

  private:
  const std::string& _internal_path() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_path(
      const std::string& value);
  std::string* _internal_mutable_path();

  public:
  // string message = 2 [(.google.api.field_behavior) = REQUIRED];
  void clear_message() ;
  const std::string& message() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_message(Arg_&& arg, Args_... args);
  std::string* mutable_message();
  PROTOBUF_NODISCARD std::string* release_message();
  void set_allocated_message(std::string* ptr);

  private:
  const std::string& _internal_message() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(
      const std::string& value);
  std::string* _internal_mutable_message();

  public:
  // @@protoc_insertion_point(class_scope:keyapis.identity.v1.ValidationError)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_keyapis_2fidentity_2fv1_2fkeyapis_5fidentity_5fuser_5fv1_2eproto;
};

// ===================================================================




// ===================================================================


#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// -------------------------------------------------------------------

// PostUserSsoMigrationRequest

// int32 user_id = 1 [(.google.api.field_behavior) = REQUIRED];
inline void PostUserSsoMigrationRequest::clear_user_id() {
  _impl_.user_id_ = 0;
}
inline ::int32_t PostUserSsoMigrationRequest::user_id() const {
  // @@protoc_insertion_point(field_get:keyapis.identity.v1.PostUserSsoMigrationRequest.user_id)
  return _internal_user_id();
}
inline void PostUserSsoMigrationRequest::set_user_id(::int32_t value) {
  _internal_set_user_id(value);
  // @@protoc_insertion_point(field_set:keyapis.identity.v1.PostUserSsoMigrationRequest.user_id)
}
inline ::int32_t PostUserSsoMigrationRequest::_internal_user_id() const {
  return _impl_.user_id_;
}
inline void PostUserSsoMigrationRequest::_internal_set_user_id(::int32_t value) {
  ;
  _impl_.user_id_ = value;
}

// string phone_number = 2 [(.google.api.field_behavior) = REQUIRED];
inline void PostUserSsoMigrationRequest::clear_phone_number() {
  _impl_.phone_number_.ClearToEmpty();
}
inline const std::string& PostUserSsoMigrationRequest::phone_number() const {
  // @@protoc_insertion_point(field_get:keyapis.identity.v1.PostUserSsoMigrationRequest.phone_number)
  return _internal_phone_number();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void PostUserSsoMigrationRequest::set_phone_number(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.phone_number_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:keyapis.identity.v1.PostUserSsoMigrationRequest.phone_number)
}
inline std::string* PostUserSsoMigrationRequest::mutable_phone_number() {
  std::string* _s = _internal_mutable_phone_number();
  // @@protoc_insertion_point(field_mutable:keyapis.identity.v1.PostUserSsoMigrationRequest.phone_number)
  return _s;
}
inline const std::string& PostUserSsoMigrationRequest::_internal_phone_number() const {
  return _impl_.phone_number_.Get();
}
inline void PostUserSsoMigrationRequest::_internal_set_phone_number(const std::string& value) {
  ;


  _impl_.phone_number_.Set(value, GetArenaForAllocation());
}
inline std::string* PostUserSsoMigrationRequest::_internal_mutable_phone_number() {
  ;
  return _impl_.phone_number_.Mutable( GetArenaForAllocation());
}
inline std::string* PostUserSsoMigrationRequest::release_phone_number() {
  // @@protoc_insertion_point(field_release:keyapis.identity.v1.PostUserSsoMigrationRequest.phone_number)
  return _impl_.phone_number_.Release();
}
inline void PostUserSsoMigrationRequest::set_allocated_phone_number(std::string* value) {
  _impl_.phone_number_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.phone_number_.IsDefault()) {
          _impl_.phone_number_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:keyapis.identity.v1.PostUserSsoMigrationRequest.phone_number)
}

// -------------------------------------------------------------------

// PostUserSsoMigrationResponse_Error_UserExists

// -------------------------------------------------------------------

// PostUserSsoMigrationResponse_Error

// .keyapis.identity.v1.ValidationError validation = 1;
inline bool PostUserSsoMigrationResponse_Error::has_validation() const {
  return reason_case() == kValidation;
}
inline bool PostUserSsoMigrationResponse_Error::_internal_has_validation() const {
  return reason_case() == kValidation;
}
inline void PostUserSsoMigrationResponse_Error::set_has_validation() {
  _impl_._oneof_case_[0] = kValidation;
}
inline void PostUserSsoMigrationResponse_Error::clear_validation() {
  if (reason_case() == kValidation) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.reason_.validation_;
    }
    clear_has_reason();
  }
}
inline ::keyapis::identity::v1::ValidationError* PostUserSsoMigrationResponse_Error::release_validation() {
  // @@protoc_insertion_point(field_release:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.validation)
  if (reason_case() == kValidation) {
    clear_has_reason();
    ::keyapis::identity::v1::ValidationError* temp = _impl_.reason_.validation_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.reason_.validation_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::keyapis::identity::v1::ValidationError& PostUserSsoMigrationResponse_Error::_internal_validation() const {
  return reason_case() == kValidation
      ? *_impl_.reason_.validation_
      : reinterpret_cast<::keyapis::identity::v1::ValidationError&>(::keyapis::identity::v1::_ValidationError_default_instance_);
}
inline const ::keyapis::identity::v1::ValidationError& PostUserSsoMigrationResponse_Error::validation() const {
  // @@protoc_insertion_point(field_get:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.validation)
  return _internal_validation();
}
inline ::keyapis::identity::v1::ValidationError* PostUserSsoMigrationResponse_Error::unsafe_arena_release_validation() {
  // @@protoc_insertion_point(field_unsafe_arena_release:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.validation)
  if (reason_case() == kValidation) {
    clear_has_reason();
    ::keyapis::identity::v1::ValidationError* temp = _impl_.reason_.validation_;
    _impl_.reason_.validation_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void PostUserSsoMigrationResponse_Error::unsafe_arena_set_allocated_validation(::keyapis::identity::v1::ValidationError* validation) {
  clear_reason();
  if (validation) {
    set_has_validation();
    _impl_.reason_.validation_ = validation;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.validation)
}
inline ::keyapis::identity::v1::ValidationError* PostUserSsoMigrationResponse_Error::_internal_mutable_validation() {
  if (reason_case() != kValidation) {
    clear_reason();
    set_has_validation();
    _impl_.reason_.validation_ = CreateMaybeMessage< ::keyapis::identity::v1::ValidationError >(GetArenaForAllocation());
  }
  return _impl_.reason_.validation_;
}
inline ::keyapis::identity::v1::ValidationError* PostUserSsoMigrationResponse_Error::mutable_validation() {
  ::keyapis::identity::v1::ValidationError* _msg = _internal_mutable_validation();
  // @@protoc_insertion_point(field_mutable:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.validation)
  return _msg;
}

// .keyapis.identity.v1.PostUserSsoMigrationResponse.Error.UserExists user_exists = 2;
inline bool PostUserSsoMigrationResponse_Error::has_user_exists() const {
  return reason_case() == kUserExists;
}
inline bool PostUserSsoMigrationResponse_Error::_internal_has_user_exists() const {
  return reason_case() == kUserExists;
}
inline void PostUserSsoMigrationResponse_Error::set_has_user_exists() {
  _impl_._oneof_case_[0] = kUserExists;
}
inline void PostUserSsoMigrationResponse_Error::clear_user_exists() {
  if (reason_case() == kUserExists) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.reason_.user_exists_;
    }
    clear_has_reason();
  }
}
inline ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* PostUserSsoMigrationResponse_Error::release_user_exists() {
  // @@protoc_insertion_point(field_release:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.user_exists)
  if (reason_case() == kUserExists) {
    clear_has_reason();
    ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* temp = _impl_.reason_.user_exists_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.reason_.user_exists_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists& PostUserSsoMigrationResponse_Error::_internal_user_exists() const {
  return reason_case() == kUserExists
      ? *_impl_.reason_.user_exists_
      : reinterpret_cast<::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists&>(::keyapis::identity::v1::_PostUserSsoMigrationResponse_Error_UserExists_default_instance_);
}
inline const ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists& PostUserSsoMigrationResponse_Error::user_exists() const {
  // @@protoc_insertion_point(field_get:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.user_exists)
  return _internal_user_exists();
}
inline ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* PostUserSsoMigrationResponse_Error::unsafe_arena_release_user_exists() {
  // @@protoc_insertion_point(field_unsafe_arena_release:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.user_exists)
  if (reason_case() == kUserExists) {
    clear_has_reason();
    ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* temp = _impl_.reason_.user_exists_;
    _impl_.reason_.user_exists_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void PostUserSsoMigrationResponse_Error::unsafe_arena_set_allocated_user_exists(::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* user_exists) {
  clear_reason();
  if (user_exists) {
    set_has_user_exists();
    _impl_.reason_.user_exists_ = user_exists;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.user_exists)
}
inline ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* PostUserSsoMigrationResponse_Error::_internal_mutable_user_exists() {
  if (reason_case() != kUserExists) {
    clear_reason();
    set_has_user_exists();
    _impl_.reason_.user_exists_ = CreateMaybeMessage< ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists >(GetArenaForAllocation());
  }
  return _impl_.reason_.user_exists_;
}
inline ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* PostUserSsoMigrationResponse_Error::mutable_user_exists() {
  ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error_UserExists* _msg = _internal_mutable_user_exists();
  // @@protoc_insertion_point(field_mutable:keyapis.identity.v1.PostUserSsoMigrationResponse.Error.user_exists)
  return _msg;
}

inline bool PostUserSsoMigrationResponse_Error::has_reason() const {
  return reason_case() != REASON_NOT_SET;
}
inline void PostUserSsoMigrationResponse_Error::clear_has_reason() {
  _impl_._oneof_case_[0] = REASON_NOT_SET;
}
inline PostUserSsoMigrationResponse_Error::ReasonCase PostUserSsoMigrationResponse_Error::reason_case() const {
  return PostUserSsoMigrationResponse_Error::ReasonCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// PostUserSsoMigrationResponse

// .keyapis.identity.v1.PostUserSsoMigrationResponse.Error error = 1;
inline bool PostUserSsoMigrationResponse::has_error() const {
  return type_case() == kError;
}
inline bool PostUserSsoMigrationResponse::_internal_has_error() const {
  return type_case() == kError;
}
inline void PostUserSsoMigrationResponse::set_has_error() {
  _impl_._oneof_case_[0] = kError;
}
inline void PostUserSsoMigrationResponse::clear_error() {
  if (type_case() == kError) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.type_.error_;
    }
    clear_has_type();
  }
}
inline ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* PostUserSsoMigrationResponse::release_error() {
  // @@protoc_insertion_point(field_release:keyapis.identity.v1.PostUserSsoMigrationResponse.error)
  if (type_case() == kError) {
    clear_has_type();
    ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* temp = _impl_.type_.error_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.type_.error_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error& PostUserSsoMigrationResponse::_internal_error() const {
  return type_case() == kError
      ? *_impl_.type_.error_
      : reinterpret_cast<::keyapis::identity::v1::PostUserSsoMigrationResponse_Error&>(::keyapis::identity::v1::_PostUserSsoMigrationResponse_Error_default_instance_);
}
inline const ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error& PostUserSsoMigrationResponse::error() const {
  // @@protoc_insertion_point(field_get:keyapis.identity.v1.PostUserSsoMigrationResponse.error)
  return _internal_error();
}
inline ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* PostUserSsoMigrationResponse::unsafe_arena_release_error() {
  // @@protoc_insertion_point(field_unsafe_arena_release:keyapis.identity.v1.PostUserSsoMigrationResponse.error)
  if (type_case() == kError) {
    clear_has_type();
    ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* temp = _impl_.type_.error_;
    _impl_.type_.error_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void PostUserSsoMigrationResponse::unsafe_arena_set_allocated_error(::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* error) {
  clear_type();
  if (error) {
    set_has_error();
    _impl_.type_.error_ = error;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:keyapis.identity.v1.PostUserSsoMigrationResponse.error)
}
inline ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* PostUserSsoMigrationResponse::_internal_mutable_error() {
  if (type_case() != kError) {
    clear_type();
    set_has_error();
    _impl_.type_.error_ = CreateMaybeMessage< ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error >(GetArenaForAllocation());
  }
  return _impl_.type_.error_;
}
inline ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* PostUserSsoMigrationResponse::mutable_error() {
  ::keyapis::identity::v1::PostUserSsoMigrationResponse_Error* _msg = _internal_mutable_error();
  // @@protoc_insertion_point(field_mutable:keyapis.identity.v1.PostUserSsoMigrationResponse.error)
  return _msg;
}

inline bool PostUserSsoMigrationResponse::has_type() const {
  return type_case() != TYPE_NOT_SET;
}
inline void PostUserSsoMigrationResponse::clear_has_type() {
  _impl_._oneof_case_[0] = TYPE_NOT_SET;
}
inline PostUserSsoMigrationResponse::TypeCase PostUserSsoMigrationResponse::type_case() const {
  return PostUserSsoMigrationResponse::TypeCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// ValidationError

// string path = 1 [(.google.api.field_behavior) = REQUIRED];
inline void ValidationError::clear_path() {
  _impl_.path_.ClearToEmpty();
}
inline const std::string& ValidationError::path() const {
  // @@protoc_insertion_point(field_get:keyapis.identity.v1.ValidationError.path)
  return _internal_path();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ValidationError::set_path(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.path_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:keyapis.identity.v1.ValidationError.path)
}
inline std::string* ValidationError::mutable_path() {
  std::string* _s = _internal_mutable_path();
  // @@protoc_insertion_point(field_mutable:keyapis.identity.v1.ValidationError.path)
  return _s;
}
inline const std::string& ValidationError::_internal_path() const {
  return _impl_.path_.Get();
}
inline void ValidationError::_internal_set_path(const std::string& value) {
  ;


  _impl_.path_.Set(value, GetArenaForAllocation());
}
inline std::string* ValidationError::_internal_mutable_path() {
  ;
  return _impl_.path_.Mutable( GetArenaForAllocation());
}
inline std::string* ValidationError::release_path() {
  // @@protoc_insertion_point(field_release:keyapis.identity.v1.ValidationError.path)
  return _impl_.path_.Release();
}
inline void ValidationError::set_allocated_path(std::string* value) {
  _impl_.path_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.path_.IsDefault()) {
          _impl_.path_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:keyapis.identity.v1.ValidationError.path)
}

// string message = 2 [(.google.api.field_behavior) = REQUIRED];
inline void ValidationError::clear_message() {
  _impl_.message_.ClearToEmpty();
}
inline const std::string& ValidationError::message() const {
  // @@protoc_insertion_point(field_get:keyapis.identity.v1.ValidationError.message)
  return _internal_message();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ValidationError::set_message(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.message_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:keyapis.identity.v1.ValidationError.message)
}
inline std::string* ValidationError::mutable_message() {
  std::string* _s = _internal_mutable_message();
  // @@protoc_insertion_point(field_mutable:keyapis.identity.v1.ValidationError.message)
  return _s;
}
inline const std::string& ValidationError::_internal_message() const {
  return _impl_.message_.Get();
}
inline void ValidationError::_internal_set_message(const std::string& value) {
  ;


  _impl_.message_.Set(value, GetArenaForAllocation());
}
inline std::string* ValidationError::_internal_mutable_message() {
  ;
  return _impl_.message_.Mutable( GetArenaForAllocation());
}
inline std::string* ValidationError::release_message() {
  // @@protoc_insertion_point(field_release:keyapis.identity.v1.ValidationError.message)
  return _impl_.message_.Release();
}
inline void ValidationError::set_allocated_message(std::string* value) {
  _impl_.message_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.message_.IsDefault()) {
          _impl_.message_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:keyapis.identity.v1.ValidationError.message)
}

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif  // __GNUC__

// @@protoc_insertion_point(namespace_scope)
}  // namespace v1
}  // namespace identity
}  // namespace keyapis


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"

#endif  // GOOGLE_PROTOBUF_INCLUDED_keyapis_2fidentity_2fv1_2fkeyapis_5fidentity_5fuser_5fv1_2eproto_2epb_2eh
