// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: client/v3beta/dto/auth/auth_dto.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fauth_2fauth_5fdto_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fauth_2fauth_5fdto_2eproto

#include <limits>
#include <string>


#include <herogoogle/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3018000
#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
#if 3018000 < 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


#include <herogoogle/protobuf/io/coded_stream.h>
#include <herogoogle/protobuf/arena.h>
#include <herogoogle/protobuf/arenastring.h>
#include <herogoogle/protobuf/generated_message_table_driven.h>
#include <herogoogle/protobuf/generated_message_util.h>
#include <herogoogle/protobuf/metadata_lite.h>
#include <herogoogle/protobuf/generated_message_reflection.h>
#include <herogoogle/protobuf/message.h>
#include <herogoogle/protobuf/repeated_field.h>  // IWYU pragma: export
#include <herogoogle/protobuf/extension_set.h>  // IWYU pragma: export
#include <herogoogle/protobuf/map.h>  // IWYU pragma: export
#include <herogoogle/protobuf/map_entry.h>
#include <herogoogle/protobuf/map_field_inl.h>
#include <herogoogle/protobuf/unknown_field_set.h>
#include "client/v3beta/dto/shared/api.pb.h"
#include "client/v3beta/dto/user/model/user_model.pb.h"
// @@protoc_insertion_point(includes)

#define PROTOBUF_INTERNAL_EXPORT_client_2fv3beta_2fdto_2fauth_2fauth_5fdto_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_client_2fv3beta_2fdto_2fauth_2fauth_5fdto_2eproto {
  static const ::herogoogle::protobuf::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::herogoogle::protobuf::internal::AuxiliaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::herogoogle::protobuf::internal::ParseTable schema[4]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::herogoogle::protobuf::internal::FieldMetadata field_metadata[];
  static const ::herogoogle::protobuf::internal::SerializationTable serialization_table[];
  static const ::herogoogle::protobuf::uint32 offsets[];
};
extern const ::herogoogle::protobuf::internal::DescriptorTable descriptor_table_client_2fv3beta_2fdto_2fauth_2fauth_5fdto_2eproto;
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace auth {
class AuthCodeLoginRequest;
struct AuthCodeLoginRequestDefaultTypeInternal;
extern AuthCodeLoginRequestDefaultTypeInternal _AuthCodeLoginRequest_default_instance_;
class LoginResponse;
struct LoginResponseDefaultTypeInternal;
extern LoginResponseDefaultTypeInternal _LoginResponse_default_instance_;
class RoleLoginRequest;
struct RoleLoginRequestDefaultTypeInternal;
extern RoleLoginRequestDefaultTypeInternal _RoleLoginRequest_default_instance_;
class RoleLoginRequest_ExtraEntry_DoNotUse;
struct RoleLoginRequest_ExtraEntry_DoNotUseDefaultTypeInternal;
extern RoleLoginRequest_ExtraEntry_DoNotUseDefaultTypeInternal _RoleLoginRequest_ExtraEntry_DoNotUse_default_instance_;
}  // namespace auth
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim
PROTOBUF_NAMESPACE_OPEN
template<> ::heroim::client::v3beta::dto::auth::AuthCodeLoginRequest* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::auth::AuthCodeLoginRequest>(Arena*);
template<> ::heroim::client::v3beta::dto::auth::LoginResponse* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::auth::LoginResponse>(Arena*);
template<> ::heroim::client::v3beta::dto::auth::RoleLoginRequest* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::auth::RoleLoginRequest>(Arena*);
template<> ::heroim::client::v3beta::dto::auth::RoleLoginRequest_ExtraEntry_DoNotUse* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::auth::RoleLoginRequest_ExtraEntry_DoNotUse>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace auth {

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

class RoleLoginRequest_ExtraEntry_DoNotUse : public ::herogoogle::protobuf::internal::MapEntry<RoleLoginRequest_ExtraEntry_DoNotUse, 
    std::string, std::string,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> {
public:
  typedef ::herogoogle::protobuf::internal::MapEntry<RoleLoginRequest_ExtraEntry_DoNotUse, 
    std::string, std::string,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> SuperType;
  RoleLoginRequest_ExtraEntry_DoNotUse();
  explicit constexpr RoleLoginRequest_ExtraEntry_DoNotUse(
      ::herogoogle::protobuf::internal::ConstantInitialized);
  explicit RoleLoginRequest_ExtraEntry_DoNotUse(::herogoogle::protobuf::Arena* arena);
  void MergeFrom(const RoleLoginRequest_ExtraEntry_DoNotUse& other);
  static const RoleLoginRequest_ExtraEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const RoleLoginRequest_ExtraEntry_DoNotUse*>(&_RoleLoginRequest_ExtraEntry_DoNotUse_default_instance_); }
  static bool ValidateKey(std::string* s) {
    return ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::herogoogle::protobuf::internal::WireFormatLite::PARSE, "heroim.client.v3beta.dto.auth.RoleLoginRequest.ExtraEntry.key");
 }
  static bool ValidateValue(std::string* s) {
    return ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::herogoogle::protobuf::internal::WireFormatLite::PARSE, "heroim.client.v3beta.dto.auth.RoleLoginRequest.ExtraEntry.value");
 }
  using ::herogoogle::protobuf::Message::MergeFrom;
  ::herogoogle::protobuf::Metadata GetMetadata() const final;
};

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

class RoleLoginRequest final :
    public ::herogoogle::protobuf::Message /* @@protoc_insertion_point(class_definition:heroim.client.v3beta.dto.auth.RoleLoginRequest) */ {
 public:
  inline RoleLoginRequest() : RoleLoginRequest(nullptr) {}
  ~RoleLoginRequest() override;
  explicit constexpr RoleLoginRequest(::herogoogle::protobuf::internal::ConstantInitialized);

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

  inline RoleLoginRequest& operator=(const RoleLoginRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline RoleLoginRequest& operator=(RoleLoginRequest&& 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;
  }

  static const ::herogoogle::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::herogoogle::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::herogoogle::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const RoleLoginRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const RoleLoginRequest* internal_default_instance() {
    return reinterpret_cast<const RoleLoginRequest*>(
               &_RoleLoginRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(RoleLoginRequest& a, RoleLoginRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(RoleLoginRequest* other) {
    if (other == this) return;
    if (GetOwningArena() == other->GetOwningArena()) {
      InternalSwap(other);
    } else {
      ::herogoogle::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(RoleLoginRequest* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  inline RoleLoginRequest* New() const final {
    return new RoleLoginRequest();
  }

  RoleLoginRequest* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<RoleLoginRequest>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const RoleLoginRequest& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const RoleLoginRequest& from);
  private:
  static void MergeImpl(::herogoogle::protobuf::Message* to, const ::herogoogle::protobuf::Message& from);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

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

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(RoleLoginRequest* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.auth.RoleLoginRequest";
  }
  protected:
  explicit RoleLoginRequest(::herogoogle::protobuf::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::herogoogle::protobuf::Arena* arena);
  public:

  static const ClassData _class_data_;
  const ::herogoogle::protobuf::Message::ClassData*GetClassData() const final;

  ::herogoogle::protobuf::Metadata GetMetadata() const final;

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


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

  enum : int {
    kExtraFieldNumber = 6,
    kRoleNameFieldNumber = 3,
    kAvatarUrlFieldNumber = 4,
    kBaseFieldNumber = 1,
    kUserKeyFieldNumber = 2,
    kGenderFieldNumber = 5,
  };
  // map<string, string> extra = 6;
  int extra_size() const;
  private:
  int _internal_extra_size() const;
  public:
  void clear_extra();
  private:
  const ::herogoogle::protobuf::Map< std::string, std::string >&
      _internal_extra() const;
  ::herogoogle::protobuf::Map< std::string, std::string >*
      _internal_mutable_extra();
  public:
  const ::herogoogle::protobuf::Map< std::string, std::string >&
      extra() const;
  ::herogoogle::protobuf::Map< std::string, std::string >*
      mutable_extra();

  // string roleName = 3;
  void clear_rolename();
  const std::string& rolename() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_rolename(ArgT0&& arg0, ArgT... args);
  std::string* mutable_rolename();
  PROTOBUF_MUST_USE_RESULT std::string* release_rolename();
  void set_allocated_rolename(std::string* rolename);
  private:
  const std::string& _internal_rolename() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_rolename(const std::string& value);
  std::string* _internal_mutable_rolename();
  public:

  // string avatarUrl = 4;
  void clear_avatarurl();
  const std::string& avatarurl() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_avatarurl(ArgT0&& arg0, ArgT... args);
  std::string* mutable_avatarurl();
  PROTOBUF_MUST_USE_RESULT std::string* release_avatarurl();
  void set_allocated_avatarurl(std::string* avatarurl);
  private:
  const std::string& _internal_avatarurl() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_avatarurl(const std::string& value);
  std::string* _internal_mutable_avatarurl();
  public:

  // .heroim.client.v3beta.dto.shared.APIRequest base = 1;
  bool has_base() const;
  private:
  bool _internal_has_base() const;
  public:
  void clear_base();
  const ::heroim::client::v3beta::dto::shared::APIRequest& base() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::shared::APIRequest* release_base();
  ::heroim::client::v3beta::dto::shared::APIRequest* mutable_base();
  void set_allocated_base(::heroim::client::v3beta::dto::shared::APIRequest* base);
  private:
  const ::heroim::client::v3beta::dto::shared::APIRequest& _internal_base() const;
  ::heroim::client::v3beta::dto::shared::APIRequest* _internal_mutable_base();
  public:
  void unsafe_arena_set_allocated_base(
      ::heroim::client::v3beta::dto::shared::APIRequest* base);
  ::heroim::client::v3beta::dto::shared::APIRequest* unsafe_arena_release_base();

  // .heroim.client.v3beta.dto.user.model.UserKey userKey = 2;
  bool has_userkey() const;
  private:
  bool _internal_has_userkey() const;
  public:
  void clear_userkey();
  const ::heroim::client::v3beta::dto::user::model::UserKey& userkey() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::user::model::UserKey* release_userkey();
  ::heroim::client::v3beta::dto::user::model::UserKey* mutable_userkey();
  void set_allocated_userkey(::heroim::client::v3beta::dto::user::model::UserKey* userkey);
  private:
  const ::heroim::client::v3beta::dto::user::model::UserKey& _internal_userkey() const;
  ::heroim::client::v3beta::dto::user::model::UserKey* _internal_mutable_userkey();
  public:
  void unsafe_arena_set_allocated_userkey(
      ::heroim::client::v3beta::dto::user::model::UserKey* userkey);
  ::heroim::client::v3beta::dto::user::model::UserKey* unsafe_arena_release_userkey();

  // .heroim.client.v3beta.dto.user.model.Gender gender = 5;
  void clear_gender();
  ::heroim::client::v3beta::dto::user::model::Gender gender() const;
  void set_gender(::heroim::client::v3beta::dto::user::model::Gender value);
  private:
  ::heroim::client::v3beta::dto::user::model::Gender _internal_gender() const;
  void _internal_set_gender(::heroim::client::v3beta::dto::user::model::Gender value);
  public:

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.auth.RoleLoginRequest)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::MapField<
      RoleLoginRequest_ExtraEntry_DoNotUse,
      std::string, std::string,
      ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING,
      ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> extra_;
  ::herogoogle::protobuf::internal::ArenaStringPtr rolename_;
  ::herogoogle::protobuf::internal::ArenaStringPtr avatarurl_;
  ::heroim::client::v3beta::dto::shared::APIRequest* base_;
  ::heroim::client::v3beta::dto::user::model::UserKey* userkey_;
  int gender_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fauth_2fauth_5fdto_2eproto;
};
// -------------------------------------------------------------------

class LoginResponse final :
    public ::herogoogle::protobuf::Message /* @@protoc_insertion_point(class_definition:heroim.client.v3beta.dto.auth.LoginResponse) */ {
 public:
  inline LoginResponse() : LoginResponse(nullptr) {}
  ~LoginResponse() override;
  explicit constexpr LoginResponse(::herogoogle::protobuf::internal::ConstantInitialized);

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

  inline LoginResponse& operator=(const LoginResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline LoginResponse& operator=(LoginResponse&& 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;
  }

  static const ::herogoogle::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::herogoogle::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::herogoogle::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const LoginResponse& default_instance() {
    return *internal_default_instance();
  }
  static inline const LoginResponse* internal_default_instance() {
    return reinterpret_cast<const LoginResponse*>(
               &_LoginResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(LoginResponse& a, LoginResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(LoginResponse* other) {
    if (other == this) return;
    if (GetOwningArena() == other->GetOwningArena()) {
      InternalSwap(other);
    } else {
      ::herogoogle::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(LoginResponse* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  inline LoginResponse* New() const final {
    return new LoginResponse();
  }

  LoginResponse* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<LoginResponse>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const LoginResponse& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const LoginResponse& from);
  private:
  static void MergeImpl(::herogoogle::protobuf::Message* to, const ::herogoogle::protobuf::Message& from);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

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

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(LoginResponse* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.auth.LoginResponse";
  }
  protected:
  explicit LoginResponse(::herogoogle::protobuf::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::herogoogle::protobuf::Arena* arena);
  public:

  static const ClassData _class_data_;
  const ::herogoogle::protobuf::Message::ClassData*GetClassData() const final;

  ::herogoogle::protobuf::Metadata GetMetadata() const final;

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

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

  enum : int {
    kTokenFieldNumber = 1,
    kUserFieldNumber = 2,
  };
  // string token = 1;
  void clear_token();
  const std::string& token() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_token(ArgT0&& arg0, ArgT... args);
  std::string* mutable_token();
  PROTOBUF_MUST_USE_RESULT std::string* release_token();
  void set_allocated_token(std::string* token);
  private:
  const std::string& _internal_token() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_token(const std::string& value);
  std::string* _internal_mutable_token();
  public:

  // .heroim.client.v3beta.dto.user.model.User user = 2;
  bool has_user() const;
  private:
  bool _internal_has_user() const;
  public:
  void clear_user();
  const ::heroim::client::v3beta::dto::user::model::User& user() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::user::model::User* release_user();
  ::heroim::client::v3beta::dto::user::model::User* mutable_user();
  void set_allocated_user(::heroim::client::v3beta::dto::user::model::User* user);
  private:
  const ::heroim::client::v3beta::dto::user::model::User& _internal_user() const;
  ::heroim::client::v3beta::dto::user::model::User* _internal_mutable_user();
  public:
  void unsafe_arena_set_allocated_user(
      ::heroim::client::v3beta::dto::user::model::User* user);
  ::heroim::client::v3beta::dto::user::model::User* unsafe_arena_release_user();

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.auth.LoginResponse)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::ArenaStringPtr token_;
  ::heroim::client::v3beta::dto::user::model::User* user_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fauth_2fauth_5fdto_2eproto;
};
// -------------------------------------------------------------------

class AuthCodeLoginRequest final :
    public ::herogoogle::protobuf::Message /* @@protoc_insertion_point(class_definition:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest) */ {
 public:
  inline AuthCodeLoginRequest() : AuthCodeLoginRequest(nullptr) {}
  ~AuthCodeLoginRequest() override;
  explicit constexpr AuthCodeLoginRequest(::herogoogle::protobuf::internal::ConstantInitialized);

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

  inline AuthCodeLoginRequest& operator=(const AuthCodeLoginRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline AuthCodeLoginRequest& operator=(AuthCodeLoginRequest&& 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;
  }

  static const ::herogoogle::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::herogoogle::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::herogoogle::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const AuthCodeLoginRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const AuthCodeLoginRequest* internal_default_instance() {
    return reinterpret_cast<const AuthCodeLoginRequest*>(
               &_AuthCodeLoginRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  friend void swap(AuthCodeLoginRequest& a, AuthCodeLoginRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(AuthCodeLoginRequest* other) {
    if (other == this) return;
    if (GetOwningArena() == other->GetOwningArena()) {
      InternalSwap(other);
    } else {
      ::herogoogle::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(AuthCodeLoginRequest* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  inline AuthCodeLoginRequest* New() const final {
    return new AuthCodeLoginRequest();
  }

  AuthCodeLoginRequest* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<AuthCodeLoginRequest>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const AuthCodeLoginRequest& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const AuthCodeLoginRequest& from);
  private:
  static void MergeImpl(::herogoogle::protobuf::Message* to, const ::herogoogle::protobuf::Message& from);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

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

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(AuthCodeLoginRequest* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.auth.AuthCodeLoginRequest";
  }
  protected:
  explicit AuthCodeLoginRequest(::herogoogle::protobuf::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::herogoogle::protobuf::Arena* arena);
  public:

  static const ClassData _class_data_;
  const ::herogoogle::protobuf::Message::ClassData*GetClassData() const final;

  ::herogoogle::protobuf::Metadata GetMetadata() const final;

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

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

  enum : int {
    kAuthCodeFieldNumber = 2,
    kBaseFieldNumber = 1,
  };
  // string authCode = 2;
  void clear_authcode();
  const std::string& authcode() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_authcode(ArgT0&& arg0, ArgT... args);
  std::string* mutable_authcode();
  PROTOBUF_MUST_USE_RESULT std::string* release_authcode();
  void set_allocated_authcode(std::string* authcode);
  private:
  const std::string& _internal_authcode() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_authcode(const std::string& value);
  std::string* _internal_mutable_authcode();
  public:

  // .heroim.client.v3beta.dto.shared.APIRequest base = 1;
  bool has_base() const;
  private:
  bool _internal_has_base() const;
  public:
  void clear_base();
  const ::heroim::client::v3beta::dto::shared::APIRequest& base() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::shared::APIRequest* release_base();
  ::heroim::client::v3beta::dto::shared::APIRequest* mutable_base();
  void set_allocated_base(::heroim::client::v3beta::dto::shared::APIRequest* base);
  private:
  const ::heroim::client::v3beta::dto::shared::APIRequest& _internal_base() const;
  ::heroim::client::v3beta::dto::shared::APIRequest* _internal_mutable_base();
  public:
  void unsafe_arena_set_allocated_base(
      ::heroim::client::v3beta::dto::shared::APIRequest* base);
  ::heroim::client::v3beta::dto::shared::APIRequest* unsafe_arena_release_base();

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::ArenaStringPtr authcode_;
  ::heroim::client::v3beta::dto::shared::APIRequest* base_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fauth_2fauth_5fdto_2eproto;
};
// ===================================================================


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

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

// RoleLoginRequest

// .heroim.client.v3beta.dto.shared.APIRequest base = 1;
inline bool RoleLoginRequest::_internal_has_base() const {
  return this != internal_default_instance() && base_ != nullptr;
}
inline bool RoleLoginRequest::has_base() const {
  return _internal_has_base();
}
inline const ::heroim::client::v3beta::dto::shared::APIRequest& RoleLoginRequest::_internal_base() const {
  const ::heroim::client::v3beta::dto::shared::APIRequest* p = base_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::shared::APIRequest&>(
      ::heroim::client::v3beta::dto::shared::_APIRequest_default_instance_);
}
inline const ::heroim::client::v3beta::dto::shared::APIRequest& RoleLoginRequest::base() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.auth.RoleLoginRequest.base)
  return _internal_base();
}
inline void RoleLoginRequest::unsafe_arena_set_allocated_base(
    ::heroim::client::v3beta::dto::shared::APIRequest* base) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(base_);
  }
  base_ = base;
  if (base) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.auth.RoleLoginRequest.base)
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* RoleLoginRequest::release_base() {
  
  ::heroim::client::v3beta::dto::shared::APIRequest* temp = base_;
  base_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* RoleLoginRequest::unsafe_arena_release_base() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.auth.RoleLoginRequest.base)
  
  ::heroim::client::v3beta::dto::shared::APIRequest* temp = base_;
  base_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* RoleLoginRequest::_internal_mutable_base() {
  
  if (base_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::shared::APIRequest>(GetArenaForAllocation());
    base_ = p;
  }
  return base_;
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* RoleLoginRequest::mutable_base() {
  ::heroim::client::v3beta::dto::shared::APIRequest* _msg = _internal_mutable_base();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.auth.RoleLoginRequest.base)
  return _msg;
}
inline void RoleLoginRequest::set_allocated_base(::heroim::client::v3beta::dto::shared::APIRequest* base) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(base_);
  }
  if (base) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(base));
    if (message_arena != submessage_arena) {
      base = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, base, submessage_arena);
    }
    
  } else {
    
  }
  base_ = base;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.auth.RoleLoginRequest.base)
}

// .heroim.client.v3beta.dto.user.model.UserKey userKey = 2;
inline bool RoleLoginRequest::_internal_has_userkey() const {
  return this != internal_default_instance() && userkey_ != nullptr;
}
inline bool RoleLoginRequest::has_userkey() const {
  return _internal_has_userkey();
}
inline const ::heroim::client::v3beta::dto::user::model::UserKey& RoleLoginRequest::_internal_userkey() const {
  const ::heroim::client::v3beta::dto::user::model::UserKey* p = userkey_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::user::model::UserKey&>(
      ::heroim::client::v3beta::dto::user::model::_UserKey_default_instance_);
}
inline const ::heroim::client::v3beta::dto::user::model::UserKey& RoleLoginRequest::userkey() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.auth.RoleLoginRequest.userKey)
  return _internal_userkey();
}
inline void RoleLoginRequest::unsafe_arena_set_allocated_userkey(
    ::heroim::client::v3beta::dto::user::model::UserKey* userkey) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(userkey_);
  }
  userkey_ = userkey;
  if (userkey) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.auth.RoleLoginRequest.userKey)
}
inline ::heroim::client::v3beta::dto::user::model::UserKey* RoleLoginRequest::release_userkey() {
  
  ::heroim::client::v3beta::dto::user::model::UserKey* temp = userkey_;
  userkey_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserKey* RoleLoginRequest::unsafe_arena_release_userkey() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.auth.RoleLoginRequest.userKey)
  
  ::heroim::client::v3beta::dto::user::model::UserKey* temp = userkey_;
  userkey_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserKey* RoleLoginRequest::_internal_mutable_userkey() {
  
  if (userkey_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserKey>(GetArenaForAllocation());
    userkey_ = p;
  }
  return userkey_;
}
inline ::heroim::client::v3beta::dto::user::model::UserKey* RoleLoginRequest::mutable_userkey() {
  ::heroim::client::v3beta::dto::user::model::UserKey* _msg = _internal_mutable_userkey();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.auth.RoleLoginRequest.userKey)
  return _msg;
}
inline void RoleLoginRequest::set_allocated_userkey(::heroim::client::v3beta::dto::user::model::UserKey* userkey) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(userkey_);
  }
  if (userkey) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(userkey));
    if (message_arena != submessage_arena) {
      userkey = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, userkey, submessage_arena);
    }
    
  } else {
    
  }
  userkey_ = userkey;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.auth.RoleLoginRequest.userKey)
}

// string roleName = 3;
inline void RoleLoginRequest::clear_rolename() {
  rolename_.ClearToEmpty();
}
inline const std::string& RoleLoginRequest::rolename() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.auth.RoleLoginRequest.roleName)
  return _internal_rolename();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void RoleLoginRequest::set_rolename(ArgT0&& arg0, ArgT... args) {
 
 rolename_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.auth.RoleLoginRequest.roleName)
}
inline std::string* RoleLoginRequest::mutable_rolename() {
  std::string* _s = _internal_mutable_rolename();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.auth.RoleLoginRequest.roleName)
  return _s;
}
inline const std::string& RoleLoginRequest::_internal_rolename() const {
  return rolename_.Get();
}
inline void RoleLoginRequest::_internal_set_rolename(const std::string& value) {
  
  rolename_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* RoleLoginRequest::_internal_mutable_rolename() {
  
  return rolename_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* RoleLoginRequest::release_rolename() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.auth.RoleLoginRequest.roleName)
  return rolename_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void RoleLoginRequest::set_allocated_rolename(std::string* rolename) {
  if (rolename != nullptr) {
    
  } else {
    
  }
  rolename_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), rolename,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.auth.RoleLoginRequest.roleName)
}

// string avatarUrl = 4;
inline void RoleLoginRequest::clear_avatarurl() {
  avatarurl_.ClearToEmpty();
}
inline const std::string& RoleLoginRequest::avatarurl() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.auth.RoleLoginRequest.avatarUrl)
  return _internal_avatarurl();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void RoleLoginRequest::set_avatarurl(ArgT0&& arg0, ArgT... args) {
 
 avatarurl_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.auth.RoleLoginRequest.avatarUrl)
}
inline std::string* RoleLoginRequest::mutable_avatarurl() {
  std::string* _s = _internal_mutable_avatarurl();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.auth.RoleLoginRequest.avatarUrl)
  return _s;
}
inline const std::string& RoleLoginRequest::_internal_avatarurl() const {
  return avatarurl_.Get();
}
inline void RoleLoginRequest::_internal_set_avatarurl(const std::string& value) {
  
  avatarurl_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* RoleLoginRequest::_internal_mutable_avatarurl() {
  
  return avatarurl_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* RoleLoginRequest::release_avatarurl() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.auth.RoleLoginRequest.avatarUrl)
  return avatarurl_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void RoleLoginRequest::set_allocated_avatarurl(std::string* avatarurl) {
  if (avatarurl != nullptr) {
    
  } else {
    
  }
  avatarurl_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), avatarurl,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.auth.RoleLoginRequest.avatarUrl)
}

// .heroim.client.v3beta.dto.user.model.Gender gender = 5;
inline void RoleLoginRequest::clear_gender() {
  gender_ = 0;
}
inline ::heroim::client::v3beta::dto::user::model::Gender RoleLoginRequest::_internal_gender() const {
  return static_cast< ::heroim::client::v3beta::dto::user::model::Gender >(gender_);
}
inline ::heroim::client::v3beta::dto::user::model::Gender RoleLoginRequest::gender() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.auth.RoleLoginRequest.gender)
  return _internal_gender();
}
inline void RoleLoginRequest::_internal_set_gender(::heroim::client::v3beta::dto::user::model::Gender value) {
  
  gender_ = value;
}
inline void RoleLoginRequest::set_gender(::heroim::client::v3beta::dto::user::model::Gender value) {
  _internal_set_gender(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.auth.RoleLoginRequest.gender)
}

// map<string, string> extra = 6;
inline int RoleLoginRequest::_internal_extra_size() const {
  return extra_.size();
}
inline int RoleLoginRequest::extra_size() const {
  return _internal_extra_size();
}
inline void RoleLoginRequest::clear_extra() {
  extra_.Clear();
}
inline const ::herogoogle::protobuf::Map< std::string, std::string >&
RoleLoginRequest::_internal_extra() const {
  return extra_.GetMap();
}
inline const ::herogoogle::protobuf::Map< std::string, std::string >&
RoleLoginRequest::extra() const {
  // @@protoc_insertion_point(field_map:heroim.client.v3beta.dto.auth.RoleLoginRequest.extra)
  return _internal_extra();
}
inline ::herogoogle::protobuf::Map< std::string, std::string >*
RoleLoginRequest::_internal_mutable_extra() {
  return extra_.MutableMap();
}
inline ::herogoogle::protobuf::Map< std::string, std::string >*
RoleLoginRequest::mutable_extra() {
  // @@protoc_insertion_point(field_mutable_map:heroim.client.v3beta.dto.auth.RoleLoginRequest.extra)
  return _internal_mutable_extra();
}

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

// LoginResponse

// string token = 1;
inline void LoginResponse::clear_token() {
  token_.ClearToEmpty();
}
inline const std::string& LoginResponse::token() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.auth.LoginResponse.token)
  return _internal_token();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void LoginResponse::set_token(ArgT0&& arg0, ArgT... args) {
 
 token_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.auth.LoginResponse.token)
}
inline std::string* LoginResponse::mutable_token() {
  std::string* _s = _internal_mutable_token();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.auth.LoginResponse.token)
  return _s;
}
inline const std::string& LoginResponse::_internal_token() const {
  return token_.Get();
}
inline void LoginResponse::_internal_set_token(const std::string& value) {
  
  token_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LoginResponse::_internal_mutable_token() {
  
  return token_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LoginResponse::release_token() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.auth.LoginResponse.token)
  return token_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LoginResponse::set_allocated_token(std::string* token) {
  if (token != nullptr) {
    
  } else {
    
  }
  token_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), token,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.auth.LoginResponse.token)
}

// .heroim.client.v3beta.dto.user.model.User user = 2;
inline bool LoginResponse::_internal_has_user() const {
  return this != internal_default_instance() && user_ != nullptr;
}
inline bool LoginResponse::has_user() const {
  return _internal_has_user();
}
inline const ::heroim::client::v3beta::dto::user::model::User& LoginResponse::_internal_user() const {
  const ::heroim::client::v3beta::dto::user::model::User* p = user_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::user::model::User&>(
      ::heroim::client::v3beta::dto::user::model::_User_default_instance_);
}
inline const ::heroim::client::v3beta::dto::user::model::User& LoginResponse::user() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.auth.LoginResponse.user)
  return _internal_user();
}
inline void LoginResponse::unsafe_arena_set_allocated_user(
    ::heroim::client::v3beta::dto::user::model::User* user) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(user_);
  }
  user_ = user;
  if (user) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.auth.LoginResponse.user)
}
inline ::heroim::client::v3beta::dto::user::model::User* LoginResponse::release_user() {
  
  ::heroim::client::v3beta::dto::user::model::User* temp = user_;
  user_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::User* LoginResponse::unsafe_arena_release_user() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.auth.LoginResponse.user)
  
  ::heroim::client::v3beta::dto::user::model::User* temp = user_;
  user_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::User* LoginResponse::_internal_mutable_user() {
  
  if (user_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::User>(GetArenaForAllocation());
    user_ = p;
  }
  return user_;
}
inline ::heroim::client::v3beta::dto::user::model::User* LoginResponse::mutable_user() {
  ::heroim::client::v3beta::dto::user::model::User* _msg = _internal_mutable_user();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.auth.LoginResponse.user)
  return _msg;
}
inline void LoginResponse::set_allocated_user(::heroim::client::v3beta::dto::user::model::User* user) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(user_);
  }
  if (user) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(user));
    if (message_arena != submessage_arena) {
      user = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, user, submessage_arena);
    }
    
  } else {
    
  }
  user_ = user;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.auth.LoginResponse.user)
}

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

// AuthCodeLoginRequest

// .heroim.client.v3beta.dto.shared.APIRequest base = 1;
inline bool AuthCodeLoginRequest::_internal_has_base() const {
  return this != internal_default_instance() && base_ != nullptr;
}
inline bool AuthCodeLoginRequest::has_base() const {
  return _internal_has_base();
}
inline const ::heroim::client::v3beta::dto::shared::APIRequest& AuthCodeLoginRequest::_internal_base() const {
  const ::heroim::client::v3beta::dto::shared::APIRequest* p = base_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::shared::APIRequest&>(
      ::heroim::client::v3beta::dto::shared::_APIRequest_default_instance_);
}
inline const ::heroim::client::v3beta::dto::shared::APIRequest& AuthCodeLoginRequest::base() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest.base)
  return _internal_base();
}
inline void AuthCodeLoginRequest::unsafe_arena_set_allocated_base(
    ::heroim::client::v3beta::dto::shared::APIRequest* base) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(base_);
  }
  base_ = base;
  if (base) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest.base)
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* AuthCodeLoginRequest::release_base() {
  
  ::heroim::client::v3beta::dto::shared::APIRequest* temp = base_;
  base_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* AuthCodeLoginRequest::unsafe_arena_release_base() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest.base)
  
  ::heroim::client::v3beta::dto::shared::APIRequest* temp = base_;
  base_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* AuthCodeLoginRequest::_internal_mutable_base() {
  
  if (base_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::shared::APIRequest>(GetArenaForAllocation());
    base_ = p;
  }
  return base_;
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* AuthCodeLoginRequest::mutable_base() {
  ::heroim::client::v3beta::dto::shared::APIRequest* _msg = _internal_mutable_base();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest.base)
  return _msg;
}
inline void AuthCodeLoginRequest::set_allocated_base(::heroim::client::v3beta::dto::shared::APIRequest* base) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(base_);
  }
  if (base) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(base));
    if (message_arena != submessage_arena) {
      base = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, base, submessage_arena);
    }
    
  } else {
    
  }
  base_ = base;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest.base)
}

// string authCode = 2;
inline void AuthCodeLoginRequest::clear_authcode() {
  authcode_.ClearToEmpty();
}
inline const std::string& AuthCodeLoginRequest::authcode() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest.authCode)
  return _internal_authcode();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void AuthCodeLoginRequest::set_authcode(ArgT0&& arg0, ArgT... args) {
 
 authcode_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest.authCode)
}
inline std::string* AuthCodeLoginRequest::mutable_authcode() {
  std::string* _s = _internal_mutable_authcode();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest.authCode)
  return _s;
}
inline const std::string& AuthCodeLoginRequest::_internal_authcode() const {
  return authcode_.Get();
}
inline void AuthCodeLoginRequest::_internal_set_authcode(const std::string& value) {
  
  authcode_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AuthCodeLoginRequest::_internal_mutable_authcode() {
  
  return authcode_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AuthCodeLoginRequest::release_authcode() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest.authCode)
  return authcode_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AuthCodeLoginRequest::set_allocated_authcode(std::string* authcode) {
  if (authcode != nullptr) {
    
  } else {
    
  }
  authcode_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), authcode,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.auth.AuthCodeLoginRequest.authCode)
}

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

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

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace auth
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim

// @@protoc_insertion_point(global_scope)


#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fauth_2fauth_5fdto_2eproto
