// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: client/v3beta/dto/user/model/user_model.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_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/generated_enum_reflection.h>
#include <herogoogle/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)

#define PROTOBUF_INTERNAL_EXPORT_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_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_2fuser_2fmodel_2fuser_5fmodel_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[9]
    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_2fuser_2fmodel_2fuser_5fmodel_2eproto;
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace user {
namespace model {
class User;
struct UserDefaultTypeInternal;
extern UserDefaultTypeInternal _User_default_instance_;
class UserControl;
struct UserControlDefaultTypeInternal;
extern UserControlDefaultTypeInternal _UserControl_default_instance_;
class UserControlDetail;
struct UserControlDetailDefaultTypeInternal;
extern UserControlDetailDefaultTypeInternal _UserControlDetail_default_instance_;
class UserKey;
struct UserKeyDefaultTypeInternal;
extern UserKeyDefaultTypeInternal _UserKey_default_instance_;
class UserSimple;
struct UserSimpleDefaultTypeInternal;
extern UserSimpleDefaultTypeInternal _UserSimple_default_instance_;
class UserSimple_ExtraEntry_DoNotUse;
struct UserSimple_ExtraEntry_DoNotUseDefaultTypeInternal;
extern UserSimple_ExtraEntry_DoNotUseDefaultTypeInternal _UserSimple_ExtraEntry_DoNotUse_default_instance_;
class UserStatus;
struct UserStatusDefaultTypeInternal;
extern UserStatusDefaultTypeInternal _UserStatus_default_instance_;
class UserStatus_ExtraEntry_DoNotUse;
struct UserStatus_ExtraEntry_DoNotUseDefaultTypeInternal;
extern UserStatus_ExtraEntry_DoNotUseDefaultTypeInternal _UserStatus_ExtraEntry_DoNotUse_default_instance_;
class User_ExtraEntry_DoNotUse;
struct User_ExtraEntry_DoNotUseDefaultTypeInternal;
extern User_ExtraEntry_DoNotUseDefaultTypeInternal _User_ExtraEntry_DoNotUse_default_instance_;
}  // namespace model
}  // namespace user
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim
PROTOBUF_NAMESPACE_OPEN
template<> ::heroim::client::v3beta::dto::user::model::User* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::User>(Arena*);
template<> ::heroim::client::v3beta::dto::user::model::UserControl* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserControl>(Arena*);
template<> ::heroim::client::v3beta::dto::user::model::UserControlDetail* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserControlDetail>(Arena*);
template<> ::heroim::client::v3beta::dto::user::model::UserKey* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserKey>(Arena*);
template<> ::heroim::client::v3beta::dto::user::model::UserSimple* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserSimple>(Arena*);
template<> ::heroim::client::v3beta::dto::user::model::UserSimple_ExtraEntry_DoNotUse* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserSimple_ExtraEntry_DoNotUse>(Arena*);
template<> ::heroim::client::v3beta::dto::user::model::UserStatus* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserStatus>(Arena*);
template<> ::heroim::client::v3beta::dto::user::model::UserStatus_ExtraEntry_DoNotUse* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserStatus_ExtraEntry_DoNotUse>(Arena*);
template<> ::heroim::client::v3beta::dto::user::model::User_ExtraEntry_DoNotUse* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::User_ExtraEntry_DoNotUse>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace user {
namespace model {

enum Gender : int {
  None = 0,
  Male = 1,
  Female = 2,
  Gender_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::herogoogle::protobuf::int32>::min(),
  Gender_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::herogoogle::protobuf::int32>::max()
};
bool Gender_IsValid(int value);
constexpr Gender Gender_MIN = None;
constexpr Gender Gender_MAX = Female;
constexpr int Gender_ARRAYSIZE = Gender_MAX + 1;

const ::herogoogle::protobuf::EnumDescriptor* Gender_descriptor();
template<typename T>
inline const std::string& Gender_Name(T enum_t_value) {
  static_assert(::std::is_same<T, Gender>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function Gender_Name.");
  return ::herogoogle::protobuf::internal::NameOfEnum(
    Gender_descriptor(), enum_t_value);
}
inline bool Gender_Parse(
    ::herogoogle::protobuf::ConstStringParam name, Gender* value) {
  return ::herogoogle::protobuf::internal::ParseNamedEnum<Gender>(
    Gender_descriptor(), name, value);
}
// ===================================================================

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

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

  inline UserKey& operator=(const UserKey& from) {
    CopyFrom(from);
    return *this;
  }
  inline UserKey& operator=(UserKey&& 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 UserKey& default_instance() {
    return *internal_default_instance();
  }
  static inline const UserKey* internal_default_instance() {
    return reinterpret_cast<const UserKey*>(
               &_UserKey_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

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

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

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

  UserKey* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<UserKey>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const UserKey& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const UserKey& 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(UserKey* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.user.model.UserKey";
  }
  protected:
  explicit UserKey(::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 {
    kServerIdFieldNumber = 1,
    kRoleIdFieldNumber = 2,
  };
  // string serverId = 1;
  void clear_serverid();
  const std::string& serverid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_serverid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_serverid();
  PROTOBUF_MUST_USE_RESULT std::string* release_serverid();
  void set_allocated_serverid(std::string* serverid);
  private:
  const std::string& _internal_serverid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_serverid(const std::string& value);
  std::string* _internal_mutable_serverid();
  public:

  // string roleId = 2;
  void clear_roleid();
  const std::string& roleid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_roleid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_roleid();
  PROTOBUF_MUST_USE_RESULT std::string* release_roleid();
  void set_allocated_roleid(std::string* roleid);
  private:
  const std::string& _internal_roleid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_roleid(const std::string& value);
  std::string* _internal_mutable_roleid();
  public:

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.user.model.UserKey)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::ArenaStringPtr serverid_;
  ::herogoogle::protobuf::internal::ArenaStringPtr roleid_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto;
};
// -------------------------------------------------------------------

class User_ExtraEntry_DoNotUse : public ::herogoogle::protobuf::internal::MapEntry<User_ExtraEntry_DoNotUse, 
    std::string, std::string,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> {
public:
  typedef ::herogoogle::protobuf::internal::MapEntry<User_ExtraEntry_DoNotUse, 
    std::string, std::string,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> SuperType;
  User_ExtraEntry_DoNotUse();
  explicit constexpr User_ExtraEntry_DoNotUse(
      ::herogoogle::protobuf::internal::ConstantInitialized);
  explicit User_ExtraEntry_DoNotUse(::herogoogle::protobuf::Arena* arena);
  void MergeFrom(const User_ExtraEntry_DoNotUse& other);
  static const User_ExtraEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const User_ExtraEntry_DoNotUse*>(&_User_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.user.model.User.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.user.model.User.ExtraEntry.value");
 }
  using ::herogoogle::protobuf::Message::MergeFrom;
  ::herogoogle::protobuf::Metadata GetMetadata() const final;
};

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

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

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

  inline User& operator=(const User& from) {
    CopyFrom(from);
    return *this;
  }
  inline User& operator=(User&& 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 User& default_instance() {
    return *internal_default_instance();
  }
  static inline const User* internal_default_instance() {
    return reinterpret_cast<const User*>(
               &_User_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

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

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

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

  User* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<User>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const User& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const User& 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(User* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.user.model.User";
  }
  protected:
  explicit User(::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 = 7,
    kUidFieldNumber = 1,
    kRoleNameFieldNumber = 3,
    kAvatarUrlFieldNumber = 4,
    kUserKeyFieldNumber = 2,
    kVersionFieldNumber = 6,
    kGenderFieldNumber = 5,
  };
  // map<string, string> extra = 7;
  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 uid = 1;
  void clear_uid();
  const std::string& uid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_uid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_uid();
  PROTOBUF_MUST_USE_RESULT std::string* release_uid();
  void set_allocated_uid(std::string* uid);
  private:
  const std::string& _internal_uid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_uid(const std::string& value);
  std::string* _internal_mutable_uid();
  public:

  // 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.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();

  // int64 version = 6;
  void clear_version();
  ::herogoogle::protobuf::int64 version() const;
  void set_version(::herogoogle::protobuf::int64 value);
  private:
  ::herogoogle::protobuf::int64 _internal_version() const;
  void _internal_set_version(::herogoogle::protobuf::int64 value);
  public:

  // .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.user.model.User)
 private:
  class _Internal;

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

class UserSimple_ExtraEntry_DoNotUse : public ::herogoogle::protobuf::internal::MapEntry<UserSimple_ExtraEntry_DoNotUse, 
    std::string, std::string,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> {
public:
  typedef ::herogoogle::protobuf::internal::MapEntry<UserSimple_ExtraEntry_DoNotUse, 
    std::string, std::string,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> SuperType;
  UserSimple_ExtraEntry_DoNotUse();
  explicit constexpr UserSimple_ExtraEntry_DoNotUse(
      ::herogoogle::protobuf::internal::ConstantInitialized);
  explicit UserSimple_ExtraEntry_DoNotUse(::herogoogle::protobuf::Arena* arena);
  void MergeFrom(const UserSimple_ExtraEntry_DoNotUse& other);
  static const UserSimple_ExtraEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const UserSimple_ExtraEntry_DoNotUse*>(&_UserSimple_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.user.model.UserSimple.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.user.model.UserSimple.ExtraEntry.value");
 }
  using ::herogoogle::protobuf::Message::MergeFrom;
  ::herogoogle::protobuf::Metadata GetMetadata() const final;
};

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

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

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

  inline UserSimple& operator=(const UserSimple& from) {
    CopyFrom(from);
    return *this;
  }
  inline UserSimple& operator=(UserSimple&& 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 UserSimple& default_instance() {
    return *internal_default_instance();
  }
  static inline const UserSimple* internal_default_instance() {
    return reinterpret_cast<const UserSimple*>(
               &_UserSimple_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    4;

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

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

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

  UserSimple* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<UserSimple>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const UserSimple& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const UserSimple& 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(UserSimple* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.user.model.UserSimple";
  }
  protected:
  explicit UserSimple(::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 = 8,
    kUidFieldNumber = 1,
    kRoleIdFieldNumber = 2,
    kRoleNameFieldNumber = 3,
    kAvatarUrlFieldNumber = 4,
    kServerIdFieldNumber = 7,
    kVersionFieldNumber = 6,
    kGenderFieldNumber = 5,
  };
  // map<string, string> extra = 8;
  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 uid = 1;
  void clear_uid();
  const std::string& uid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_uid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_uid();
  PROTOBUF_MUST_USE_RESULT std::string* release_uid();
  void set_allocated_uid(std::string* uid);
  private:
  const std::string& _internal_uid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_uid(const std::string& value);
  std::string* _internal_mutable_uid();
  public:

  // string roleId = 2;
  void clear_roleid();
  const std::string& roleid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_roleid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_roleid();
  PROTOBUF_MUST_USE_RESULT std::string* release_roleid();
  void set_allocated_roleid(std::string* roleid);
  private:
  const std::string& _internal_roleid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_roleid(const std::string& value);
  std::string* _internal_mutable_roleid();
  public:

  // 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:

  // string serverId = 7;
  void clear_serverid();
  const std::string& serverid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_serverid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_serverid();
  PROTOBUF_MUST_USE_RESULT std::string* release_serverid();
  void set_allocated_serverid(std::string* serverid);
  private:
  const std::string& _internal_serverid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_serverid(const std::string& value);
  std::string* _internal_mutable_serverid();
  public:

  // int64 version = 6;
  void clear_version();
  ::herogoogle::protobuf::int64 version() const;
  void set_version(::herogoogle::protobuf::int64 value);
  private:
  ::herogoogle::protobuf::int64 _internal_version() const;
  void _internal_set_version(::herogoogle::protobuf::int64 value);
  public:

  // int32 gender = 5;
  void clear_gender();
  ::herogoogle::protobuf::int32 gender() const;
  void set_gender(::herogoogle::protobuf::int32 value);
  private:
  ::herogoogle::protobuf::int32 _internal_gender() const;
  void _internal_set_gender(::herogoogle::protobuf::int32 value);
  public:

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.user.model.UserSimple)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::MapField<
      UserSimple_ExtraEntry_DoNotUse,
      std::string, std::string,
      ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING,
      ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> extra_;
  ::herogoogle::protobuf::internal::ArenaStringPtr uid_;
  ::herogoogle::protobuf::internal::ArenaStringPtr roleid_;
  ::herogoogle::protobuf::internal::ArenaStringPtr rolename_;
  ::herogoogle::protobuf::internal::ArenaStringPtr avatarurl_;
  ::herogoogle::protobuf::internal::ArenaStringPtr serverid_;
  ::herogoogle::protobuf::int64 version_;
  ::herogoogle::protobuf::int32 gender_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto;
};
// -------------------------------------------------------------------

class UserStatus_ExtraEntry_DoNotUse : public ::herogoogle::protobuf::internal::MapEntry<UserStatus_ExtraEntry_DoNotUse, 
    std::string, std::string,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> {
public:
  typedef ::herogoogle::protobuf::internal::MapEntry<UserStatus_ExtraEntry_DoNotUse, 
    std::string, std::string,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> SuperType;
  UserStatus_ExtraEntry_DoNotUse();
  explicit constexpr UserStatus_ExtraEntry_DoNotUse(
      ::herogoogle::protobuf::internal::ConstantInitialized);
  explicit UserStatus_ExtraEntry_DoNotUse(::herogoogle::protobuf::Arena* arena);
  void MergeFrom(const UserStatus_ExtraEntry_DoNotUse& other);
  static const UserStatus_ExtraEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const UserStatus_ExtraEntry_DoNotUse*>(&_UserStatus_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.user.model.UserStatus.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.user.model.UserStatus.ExtraEntry.value");
 }
  using ::herogoogle::protobuf::Message::MergeFrom;
  ::herogoogle::protobuf::Metadata GetMetadata() const final;
};

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

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

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

  inline UserStatus& operator=(const UserStatus& from) {
    CopyFrom(from);
    return *this;
  }
  inline UserStatus& operator=(UserStatus&& 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 UserStatus& default_instance() {
    return *internal_default_instance();
  }
  static inline const UserStatus* internal_default_instance() {
    return reinterpret_cast<const UserStatus*>(
               &_UserStatus_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    6;

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

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

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

  UserStatus* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<UserStatus>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const UserStatus& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const UserStatus& 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(UserStatus* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.user.model.UserStatus";
  }
  protected:
  explicit UserStatus(::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 = 3,
    kLastOnlineTimeFieldNumber = 2,
    kIsOnlineFieldNumber = 1,
  };
  // map<string, string> extra = 3;
  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();

  // int64 lastOnlineTime = 2;
  void clear_lastonlinetime();
  ::herogoogle::protobuf::int64 lastonlinetime() const;
  void set_lastonlinetime(::herogoogle::protobuf::int64 value);
  private:
  ::herogoogle::protobuf::int64 _internal_lastonlinetime() const;
  void _internal_set_lastonlinetime(::herogoogle::protobuf::int64 value);
  public:

  // bool isOnline = 1;
  void clear_isonline();
  bool isonline() const;
  void set_isonline(bool value);
  private:
  bool _internal_isonline() const;
  void _internal_set_isonline(bool value);
  public:

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.user.model.UserStatus)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::MapField<
      UserStatus_ExtraEntry_DoNotUse,
      std::string, std::string,
      ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING,
      ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> extra_;
  ::herogoogle::protobuf::int64 lastonlinetime_;
  bool isonline_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto;
};
// -------------------------------------------------------------------

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

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

  inline UserControl& operator=(const UserControl& from) {
    CopyFrom(from);
    return *this;
  }
  inline UserControl& operator=(UserControl&& 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 UserControl& default_instance() {
    return *internal_default_instance();
  }
  static inline const UserControl* internal_default_instance() {
    return reinterpret_cast<const UserControl*>(
               &_UserControl_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    7;

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

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

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

  UserControl* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<UserControl>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const UserControl& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const UserControl& 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(UserControl* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.user.model.UserControl";
  }
  protected:
  explicit UserControl(::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 {
    kMessageDetailFieldNumber = 3,
    kTalkDetailFieldNumber = 4,
    kMessageFieldNumber = 1,
    kTalkFieldNumber = 2,
  };
  // .heroim.client.v3beta.dto.user.model.UserControlDetail messageDetail = 3;
  bool has_messagedetail() const;
  private:
  bool _internal_has_messagedetail() const;
  public:
  void clear_messagedetail();
  const ::heroim::client::v3beta::dto::user::model::UserControlDetail& messagedetail() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::user::model::UserControlDetail* release_messagedetail();
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* mutable_messagedetail();
  void set_allocated_messagedetail(::heroim::client::v3beta::dto::user::model::UserControlDetail* messagedetail);
  private:
  const ::heroim::client::v3beta::dto::user::model::UserControlDetail& _internal_messagedetail() const;
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* _internal_mutable_messagedetail();
  public:
  void unsafe_arena_set_allocated_messagedetail(
      ::heroim::client::v3beta::dto::user::model::UserControlDetail* messagedetail);
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* unsafe_arena_release_messagedetail();

  // .heroim.client.v3beta.dto.user.model.UserControlDetail talkDetail = 4;
  bool has_talkdetail() const;
  private:
  bool _internal_has_talkdetail() const;
  public:
  void clear_talkdetail();
  const ::heroim::client::v3beta::dto::user::model::UserControlDetail& talkdetail() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::user::model::UserControlDetail* release_talkdetail();
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* mutable_talkdetail();
  void set_allocated_talkdetail(::heroim::client::v3beta::dto::user::model::UserControlDetail* talkdetail);
  private:
  const ::heroim::client::v3beta::dto::user::model::UserControlDetail& _internal_talkdetail() const;
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* _internal_mutable_talkdetail();
  public:
  void unsafe_arena_set_allocated_talkdetail(
      ::heroim::client::v3beta::dto::user::model::UserControlDetail* talkdetail);
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* unsafe_arena_release_talkdetail();

  // int32 message = 1;
  void clear_message();
  ::herogoogle::protobuf::int32 message() const;
  void set_message(::herogoogle::protobuf::int32 value);
  private:
  ::herogoogle::protobuf::int32 _internal_message() const;
  void _internal_set_message(::herogoogle::protobuf::int32 value);
  public:

  // int32 talk = 2;
  void clear_talk();
  ::herogoogle::protobuf::int32 talk() const;
  void set_talk(::herogoogle::protobuf::int32 value);
  private:
  ::herogoogle::protobuf::int32 _internal_talk() const;
  void _internal_set_talk(::herogoogle::protobuf::int32 value);
  public:

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.user.model.UserControl)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* messagedetail_;
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* talkdetail_;
  ::herogoogle::protobuf::int32 message_;
  ::herogoogle::protobuf::int32 talk_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto;
};
// -------------------------------------------------------------------

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

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

  inline UserControlDetail& operator=(const UserControlDetail& from) {
    CopyFrom(from);
    return *this;
  }
  inline UserControlDetail& operator=(UserControlDetail&& 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 UserControlDetail& default_instance() {
    return *internal_default_instance();
  }
  static inline const UserControlDetail* internal_default_instance() {
    return reinterpret_cast<const UserControlDetail*>(
               &_UserControlDetail_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    8;

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

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

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

  UserControlDetail* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<UserControlDetail>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const UserControlDetail& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const UserControlDetail& 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(UserControlDetail* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.user.model.UserControlDetail";
  }
  protected:
  explicit UserControlDetail(::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 {
    kReasonFieldNumber = 2,
    kEndTimeFieldNumber = 1,
  };
  // string reason = 2;
  void clear_reason();
  const std::string& reason() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_reason(ArgT0&& arg0, ArgT... args);
  std::string* mutable_reason();
  PROTOBUF_MUST_USE_RESULT std::string* release_reason();
  void set_allocated_reason(std::string* reason);
  private:
  const std::string& _internal_reason() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_reason(const std::string& value);
  std::string* _internal_mutable_reason();
  public:

  // int64 endTime = 1;
  void clear_endtime();
  ::herogoogle::protobuf::int64 endtime() const;
  void set_endtime(::herogoogle::protobuf::int64 value);
  private:
  ::herogoogle::protobuf::int64 _internal_endtime() const;
  void _internal_set_endtime(::herogoogle::protobuf::int64 value);
  public:

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.user.model.UserControlDetail)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::ArenaStringPtr reason_;
  ::herogoogle::protobuf::int64 endtime_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto;
};
// ===================================================================


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

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

// string serverId = 1;
inline void UserKey::clear_serverid() {
  serverid_.ClearToEmpty();
}
inline const std::string& UserKey::serverid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserKey.serverId)
  return _internal_serverid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserKey::set_serverid(ArgT0&& arg0, ArgT... args) {
 
 serverid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserKey.serverId)
}
inline std::string* UserKey::mutable_serverid() {
  std::string* _s = _internal_mutable_serverid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.UserKey.serverId)
  return _s;
}
inline const std::string& UserKey::_internal_serverid() const {
  return serverid_.Get();
}
inline void UserKey::_internal_set_serverid(const std::string& value) {
  
  serverid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserKey::_internal_mutable_serverid() {
  
  return serverid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserKey::release_serverid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.UserKey.serverId)
  return serverid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserKey::set_allocated_serverid(std::string* serverid) {
  if (serverid != nullptr) {
    
  } else {
    
  }
  serverid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), serverid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.model.UserKey.serverId)
}

// string roleId = 2;
inline void UserKey::clear_roleid() {
  roleid_.ClearToEmpty();
}
inline const std::string& UserKey::roleid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserKey.roleId)
  return _internal_roleid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserKey::set_roleid(ArgT0&& arg0, ArgT... args) {
 
 roleid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserKey.roleId)
}
inline std::string* UserKey::mutable_roleid() {
  std::string* _s = _internal_mutable_roleid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.UserKey.roleId)
  return _s;
}
inline const std::string& UserKey::_internal_roleid() const {
  return roleid_.Get();
}
inline void UserKey::_internal_set_roleid(const std::string& value) {
  
  roleid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserKey::_internal_mutable_roleid() {
  
  return roleid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserKey::release_roleid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.UserKey.roleId)
  return roleid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserKey::set_allocated_roleid(std::string* roleid) {
  if (roleid != nullptr) {
    
  } else {
    
  }
  roleid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), roleid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.model.UserKey.roleId)
}

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

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

// User

// string uid = 1;
inline void User::clear_uid() {
  uid_.ClearToEmpty();
}
inline const std::string& User::uid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.User.uid)
  return _internal_uid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void User::set_uid(ArgT0&& arg0, ArgT... args) {
 
 uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.User.uid)
}
inline std::string* User::mutable_uid() {
  std::string* _s = _internal_mutable_uid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.User.uid)
  return _s;
}
inline const std::string& User::_internal_uid() const {
  return uid_.Get();
}
inline void User::_internal_set_uid(const std::string& value) {
  
  uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* User::_internal_mutable_uid() {
  
  return uid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* User::release_uid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.User.uid)
  return uid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void User::set_allocated_uid(std::string* uid) {
  if (uid != nullptr) {
    
  } else {
    
  }
  uid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), uid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.model.User.uid)
}

// .heroim.client.v3beta.dto.user.model.UserKey userKey = 2;
inline bool User::_internal_has_userkey() const {
  return this != internal_default_instance() && userkey_ != nullptr;
}
inline bool User::has_userkey() const {
  return _internal_has_userkey();
}
inline void User::clear_userkey() {
  if (GetArenaForAllocation() == nullptr && userkey_ != nullptr) {
    delete userkey_;
  }
  userkey_ = nullptr;
}
inline const ::heroim::client::v3beta::dto::user::model::UserKey& User::_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& User::userkey() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.User.userKey)
  return _internal_userkey();
}
inline void User::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.user.model.User.userKey)
}
inline ::heroim::client::v3beta::dto::user::model::UserKey* User::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* User::unsafe_arena_release_userkey() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.User.userKey)
  
  ::heroim::client::v3beta::dto::user::model::UserKey* temp = userkey_;
  userkey_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserKey* User::_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* User::mutable_userkey() {
  ::heroim::client::v3beta::dto::user::model::UserKey* _msg = _internal_mutable_userkey();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.User.userKey)
  return _msg;
}
inline void User::set_allocated_userkey(::heroim::client::v3beta::dto::user::model::UserKey* userkey) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete userkey_;
  }
  if (userkey) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<::heroim::client::v3beta::dto::user::model::UserKey>::GetOwningArena(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.user.model.User.userKey)
}

// string roleName = 3;
inline void User::clear_rolename() {
  rolename_.ClearToEmpty();
}
inline const std::string& User::rolename() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.User.roleName)
  return _internal_rolename();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void User::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.user.model.User.roleName)
}
inline std::string* User::mutable_rolename() {
  std::string* _s = _internal_mutable_rolename();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.User.roleName)
  return _s;
}
inline const std::string& User::_internal_rolename() const {
  return rolename_.Get();
}
inline void User::_internal_set_rolename(const std::string& value) {
  
  rolename_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* User::_internal_mutable_rolename() {
  
  return rolename_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* User::release_rolename() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.User.roleName)
  return rolename_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void User::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.user.model.User.roleName)
}

// string avatarUrl = 4;
inline void User::clear_avatarurl() {
  avatarurl_.ClearToEmpty();
}
inline const std::string& User::avatarurl() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.User.avatarUrl)
  return _internal_avatarurl();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void User::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.user.model.User.avatarUrl)
}
inline std::string* User::mutable_avatarurl() {
  std::string* _s = _internal_mutable_avatarurl();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.User.avatarUrl)
  return _s;
}
inline const std::string& User::_internal_avatarurl() const {
  return avatarurl_.Get();
}
inline void User::_internal_set_avatarurl(const std::string& value) {
  
  avatarurl_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* User::_internal_mutable_avatarurl() {
  
  return avatarurl_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* User::release_avatarurl() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.User.avatarUrl)
  return avatarurl_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void User::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.user.model.User.avatarUrl)
}

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

// int64 version = 6;
inline void User::clear_version() {
  version_ = int64_t{0};
}
inline ::herogoogle::protobuf::int64 User::_internal_version() const {
  return version_;
}
inline ::herogoogle::protobuf::int64 User::version() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.User.version)
  return _internal_version();
}
inline void User::_internal_set_version(::herogoogle::protobuf::int64 value) {
  
  version_ = value;
}
inline void User::set_version(::herogoogle::protobuf::int64 value) {
  _internal_set_version(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.User.version)
}

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

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

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

// UserSimple

// string uid = 1;
inline void UserSimple::clear_uid() {
  uid_.ClearToEmpty();
}
inline const std::string& UserSimple::uid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserSimple.uid)
  return _internal_uid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserSimple::set_uid(ArgT0&& arg0, ArgT... args) {
 
 uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserSimple.uid)
}
inline std::string* UserSimple::mutable_uid() {
  std::string* _s = _internal_mutable_uid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.UserSimple.uid)
  return _s;
}
inline const std::string& UserSimple::_internal_uid() const {
  return uid_.Get();
}
inline void UserSimple::_internal_set_uid(const std::string& value) {
  
  uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserSimple::_internal_mutable_uid() {
  
  return uid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserSimple::release_uid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.UserSimple.uid)
  return uid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserSimple::set_allocated_uid(std::string* uid) {
  if (uid != nullptr) {
    
  } else {
    
  }
  uid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), uid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.model.UserSimple.uid)
}

// string roleId = 2;
inline void UserSimple::clear_roleid() {
  roleid_.ClearToEmpty();
}
inline const std::string& UserSimple::roleid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserSimple.roleId)
  return _internal_roleid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserSimple::set_roleid(ArgT0&& arg0, ArgT... args) {
 
 roleid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserSimple.roleId)
}
inline std::string* UserSimple::mutable_roleid() {
  std::string* _s = _internal_mutable_roleid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.UserSimple.roleId)
  return _s;
}
inline const std::string& UserSimple::_internal_roleid() const {
  return roleid_.Get();
}
inline void UserSimple::_internal_set_roleid(const std::string& value) {
  
  roleid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserSimple::_internal_mutable_roleid() {
  
  return roleid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserSimple::release_roleid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.UserSimple.roleId)
  return roleid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserSimple::set_allocated_roleid(std::string* roleid) {
  if (roleid != nullptr) {
    
  } else {
    
  }
  roleid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), roleid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.model.UserSimple.roleId)
}

// string roleName = 3;
inline void UserSimple::clear_rolename() {
  rolename_.ClearToEmpty();
}
inline const std::string& UserSimple::rolename() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserSimple.roleName)
  return _internal_rolename();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserSimple::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.user.model.UserSimple.roleName)
}
inline std::string* UserSimple::mutable_rolename() {
  std::string* _s = _internal_mutable_rolename();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.UserSimple.roleName)
  return _s;
}
inline const std::string& UserSimple::_internal_rolename() const {
  return rolename_.Get();
}
inline void UserSimple::_internal_set_rolename(const std::string& value) {
  
  rolename_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserSimple::_internal_mutable_rolename() {
  
  return rolename_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserSimple::release_rolename() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.UserSimple.roleName)
  return rolename_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserSimple::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.user.model.UserSimple.roleName)
}

// string avatarUrl = 4;
inline void UserSimple::clear_avatarurl() {
  avatarurl_.ClearToEmpty();
}
inline const std::string& UserSimple::avatarurl() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserSimple.avatarUrl)
  return _internal_avatarurl();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserSimple::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.user.model.UserSimple.avatarUrl)
}
inline std::string* UserSimple::mutable_avatarurl() {
  std::string* _s = _internal_mutable_avatarurl();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.UserSimple.avatarUrl)
  return _s;
}
inline const std::string& UserSimple::_internal_avatarurl() const {
  return avatarurl_.Get();
}
inline void UserSimple::_internal_set_avatarurl(const std::string& value) {
  
  avatarurl_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserSimple::_internal_mutable_avatarurl() {
  
  return avatarurl_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserSimple::release_avatarurl() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.UserSimple.avatarUrl)
  return avatarurl_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserSimple::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.user.model.UserSimple.avatarUrl)
}

// int32 gender = 5;
inline void UserSimple::clear_gender() {
  gender_ = 0;
}
inline ::herogoogle::protobuf::int32 UserSimple::_internal_gender() const {
  return gender_;
}
inline ::herogoogle::protobuf::int32 UserSimple::gender() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserSimple.gender)
  return _internal_gender();
}
inline void UserSimple::_internal_set_gender(::herogoogle::protobuf::int32 value) {
  
  gender_ = value;
}
inline void UserSimple::set_gender(::herogoogle::protobuf::int32 value) {
  _internal_set_gender(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserSimple.gender)
}

// int64 version = 6;
inline void UserSimple::clear_version() {
  version_ = int64_t{0};
}
inline ::herogoogle::protobuf::int64 UserSimple::_internal_version() const {
  return version_;
}
inline ::herogoogle::protobuf::int64 UserSimple::version() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserSimple.version)
  return _internal_version();
}
inline void UserSimple::_internal_set_version(::herogoogle::protobuf::int64 value) {
  
  version_ = value;
}
inline void UserSimple::set_version(::herogoogle::protobuf::int64 value) {
  _internal_set_version(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserSimple.version)
}

// string serverId = 7;
inline void UserSimple::clear_serverid() {
  serverid_.ClearToEmpty();
}
inline const std::string& UserSimple::serverid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserSimple.serverId)
  return _internal_serverid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserSimple::set_serverid(ArgT0&& arg0, ArgT... args) {
 
 serverid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserSimple.serverId)
}
inline std::string* UserSimple::mutable_serverid() {
  std::string* _s = _internal_mutable_serverid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.UserSimple.serverId)
  return _s;
}
inline const std::string& UserSimple::_internal_serverid() const {
  return serverid_.Get();
}
inline void UserSimple::_internal_set_serverid(const std::string& value) {
  
  serverid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserSimple::_internal_mutable_serverid() {
  
  return serverid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserSimple::release_serverid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.UserSimple.serverId)
  return serverid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserSimple::set_allocated_serverid(std::string* serverid) {
  if (serverid != nullptr) {
    
  } else {
    
  }
  serverid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), serverid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.model.UserSimple.serverId)
}

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

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

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

// UserStatus

// bool isOnline = 1;
inline void UserStatus::clear_isonline() {
  isonline_ = false;
}
inline bool UserStatus::_internal_isonline() const {
  return isonline_;
}
inline bool UserStatus::isonline() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserStatus.isOnline)
  return _internal_isonline();
}
inline void UserStatus::_internal_set_isonline(bool value) {
  
  isonline_ = value;
}
inline void UserStatus::set_isonline(bool value) {
  _internal_set_isonline(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserStatus.isOnline)
}

// int64 lastOnlineTime = 2;
inline void UserStatus::clear_lastonlinetime() {
  lastonlinetime_ = int64_t{0};
}
inline ::herogoogle::protobuf::int64 UserStatus::_internal_lastonlinetime() const {
  return lastonlinetime_;
}
inline ::herogoogle::protobuf::int64 UserStatus::lastonlinetime() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserStatus.lastOnlineTime)
  return _internal_lastonlinetime();
}
inline void UserStatus::_internal_set_lastonlinetime(::herogoogle::protobuf::int64 value) {
  
  lastonlinetime_ = value;
}
inline void UserStatus::set_lastonlinetime(::herogoogle::protobuf::int64 value) {
  _internal_set_lastonlinetime(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserStatus.lastOnlineTime)
}

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

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

// UserControl

// int32 message = 1;
inline void UserControl::clear_message() {
  message_ = 0;
}
inline ::herogoogle::protobuf::int32 UserControl::_internal_message() const {
  return message_;
}
inline ::herogoogle::protobuf::int32 UserControl::message() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserControl.message)
  return _internal_message();
}
inline void UserControl::_internal_set_message(::herogoogle::protobuf::int32 value) {
  
  message_ = value;
}
inline void UserControl::set_message(::herogoogle::protobuf::int32 value) {
  _internal_set_message(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserControl.message)
}

// int32 talk = 2;
inline void UserControl::clear_talk() {
  talk_ = 0;
}
inline ::herogoogle::protobuf::int32 UserControl::_internal_talk() const {
  return talk_;
}
inline ::herogoogle::protobuf::int32 UserControl::talk() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserControl.talk)
  return _internal_talk();
}
inline void UserControl::_internal_set_talk(::herogoogle::protobuf::int32 value) {
  
  talk_ = value;
}
inline void UserControl::set_talk(::herogoogle::protobuf::int32 value) {
  _internal_set_talk(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserControl.talk)
}

// .heroim.client.v3beta.dto.user.model.UserControlDetail messageDetail = 3;
inline bool UserControl::_internal_has_messagedetail() const {
  return this != internal_default_instance() && messagedetail_ != nullptr;
}
inline bool UserControl::has_messagedetail() const {
  return _internal_has_messagedetail();
}
inline void UserControl::clear_messagedetail() {
  if (GetArenaForAllocation() == nullptr && messagedetail_ != nullptr) {
    delete messagedetail_;
  }
  messagedetail_ = nullptr;
}
inline const ::heroim::client::v3beta::dto::user::model::UserControlDetail& UserControl::_internal_messagedetail() const {
  const ::heroim::client::v3beta::dto::user::model::UserControlDetail* p = messagedetail_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::user::model::UserControlDetail&>(
      ::heroim::client::v3beta::dto::user::model::_UserControlDetail_default_instance_);
}
inline const ::heroim::client::v3beta::dto::user::model::UserControlDetail& UserControl::messagedetail() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserControl.messageDetail)
  return _internal_messagedetail();
}
inline void UserControl::unsafe_arena_set_allocated_messagedetail(
    ::heroim::client::v3beta::dto::user::model::UserControlDetail* messagedetail) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(messagedetail_);
  }
  messagedetail_ = messagedetail;
  if (messagedetail) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.user.model.UserControl.messageDetail)
}
inline ::heroim::client::v3beta::dto::user::model::UserControlDetail* UserControl::release_messagedetail() {
  
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* temp = messagedetail_;
  messagedetail_ = 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::UserControlDetail* UserControl::unsafe_arena_release_messagedetail() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.UserControl.messageDetail)
  
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* temp = messagedetail_;
  messagedetail_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserControlDetail* UserControl::_internal_mutable_messagedetail() {
  
  if (messagedetail_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserControlDetail>(GetArenaForAllocation());
    messagedetail_ = p;
  }
  return messagedetail_;
}
inline ::heroim::client::v3beta::dto::user::model::UserControlDetail* UserControl::mutable_messagedetail() {
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* _msg = _internal_mutable_messagedetail();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.UserControl.messageDetail)
  return _msg;
}
inline void UserControl::set_allocated_messagedetail(::heroim::client::v3beta::dto::user::model::UserControlDetail* messagedetail) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete messagedetail_;
  }
  if (messagedetail) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<::heroim::client::v3beta::dto::user::model::UserControlDetail>::GetOwningArena(messagedetail);
    if (message_arena != submessage_arena) {
      messagedetail = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, messagedetail, submessage_arena);
    }
    
  } else {
    
  }
  messagedetail_ = messagedetail;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.model.UserControl.messageDetail)
}

// .heroim.client.v3beta.dto.user.model.UserControlDetail talkDetail = 4;
inline bool UserControl::_internal_has_talkdetail() const {
  return this != internal_default_instance() && talkdetail_ != nullptr;
}
inline bool UserControl::has_talkdetail() const {
  return _internal_has_talkdetail();
}
inline void UserControl::clear_talkdetail() {
  if (GetArenaForAllocation() == nullptr && talkdetail_ != nullptr) {
    delete talkdetail_;
  }
  talkdetail_ = nullptr;
}
inline const ::heroim::client::v3beta::dto::user::model::UserControlDetail& UserControl::_internal_talkdetail() const {
  const ::heroim::client::v3beta::dto::user::model::UserControlDetail* p = talkdetail_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::user::model::UserControlDetail&>(
      ::heroim::client::v3beta::dto::user::model::_UserControlDetail_default_instance_);
}
inline const ::heroim::client::v3beta::dto::user::model::UserControlDetail& UserControl::talkdetail() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserControl.talkDetail)
  return _internal_talkdetail();
}
inline void UserControl::unsafe_arena_set_allocated_talkdetail(
    ::heroim::client::v3beta::dto::user::model::UserControlDetail* talkdetail) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(talkdetail_);
  }
  talkdetail_ = talkdetail;
  if (talkdetail) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.user.model.UserControl.talkDetail)
}
inline ::heroim::client::v3beta::dto::user::model::UserControlDetail* UserControl::release_talkdetail() {
  
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* temp = talkdetail_;
  talkdetail_ = 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::UserControlDetail* UserControl::unsafe_arena_release_talkdetail() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.UserControl.talkDetail)
  
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* temp = talkdetail_;
  talkdetail_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserControlDetail* UserControl::_internal_mutable_talkdetail() {
  
  if (talkdetail_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserControlDetail>(GetArenaForAllocation());
    talkdetail_ = p;
  }
  return talkdetail_;
}
inline ::heroim::client::v3beta::dto::user::model::UserControlDetail* UserControl::mutable_talkdetail() {
  ::heroim::client::v3beta::dto::user::model::UserControlDetail* _msg = _internal_mutable_talkdetail();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.UserControl.talkDetail)
  return _msg;
}
inline void UserControl::set_allocated_talkdetail(::heroim::client::v3beta::dto::user::model::UserControlDetail* talkdetail) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete talkdetail_;
  }
  if (talkdetail) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<::heroim::client::v3beta::dto::user::model::UserControlDetail>::GetOwningArena(talkdetail);
    if (message_arena != submessage_arena) {
      talkdetail = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, talkdetail, submessage_arena);
    }
    
  } else {
    
  }
  talkdetail_ = talkdetail;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.model.UserControl.talkDetail)
}

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

// UserControlDetail

// int64 endTime = 1;
inline void UserControlDetail::clear_endtime() {
  endtime_ = int64_t{0};
}
inline ::herogoogle::protobuf::int64 UserControlDetail::_internal_endtime() const {
  return endtime_;
}
inline ::herogoogle::protobuf::int64 UserControlDetail::endtime() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserControlDetail.endTime)
  return _internal_endtime();
}
inline void UserControlDetail::_internal_set_endtime(::herogoogle::protobuf::int64 value) {
  
  endtime_ = value;
}
inline void UserControlDetail::set_endtime(::herogoogle::protobuf::int64 value) {
  _internal_set_endtime(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserControlDetail.endTime)
}

// string reason = 2;
inline void UserControlDetail::clear_reason() {
  reason_.ClearToEmpty();
}
inline const std::string& UserControlDetail::reason() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.model.UserControlDetail.reason)
  return _internal_reason();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserControlDetail::set_reason(ArgT0&& arg0, ArgT... args) {
 
 reason_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.model.UserControlDetail.reason)
}
inline std::string* UserControlDetail::mutable_reason() {
  std::string* _s = _internal_mutable_reason();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.model.UserControlDetail.reason)
  return _s;
}
inline const std::string& UserControlDetail::_internal_reason() const {
  return reason_.Get();
}
inline void UserControlDetail::_internal_set_reason(const std::string& value) {
  
  reason_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserControlDetail::_internal_mutable_reason() {
  
  return reason_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserControlDetail::release_reason() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.model.UserControlDetail.reason)
  return reason_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserControlDetail::set_allocated_reason(std::string* reason) {
  if (reason != nullptr) {
    
  } else {
    
  }
  reason_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), reason,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.model.UserControlDetail.reason)
}

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

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

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

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

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

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

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

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace model
}  // namespace user
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::heroim::client::v3beta::dto::user::model::Gender> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::heroim::client::v3beta::dto::user::model::Gender>() {
  return ::heroim::client::v3beta::dto::user::model::Gender_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)


#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto
