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

#include "client/v3beta/dto/user/model/user_model.pb.h"

#include <algorithm>

#include <herogoogle/protobuf/io/coded_stream.h>
#include <herogoogle/protobuf/extension_set.h>
#include <herogoogle/protobuf/wire_format_lite.h>
#include <herogoogle/protobuf/descriptor.h>
#include <herogoogle/protobuf/generated_message_reflection.h>
#include <herogoogle/protobuf/reflection_ops.h>
#include <herogoogle/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)


PROTOBUF_PRAGMA_INIT_SEG
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace user {
namespace model {
constexpr UserKey::UserKey(
  ::herogoogle::protobuf::internal::ConstantInitialized)
  : serverid_(&::herogoogle::protobuf::internal::fixed_address_empty_string)
  , roleid_(&::herogoogle::protobuf::internal::fixed_address_empty_string){}
struct UserKeyDefaultTypeInternal {
  constexpr UserKeyDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~UserKeyDefaultTypeInternal() {}
  union {
    UserKey _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UserKeyDefaultTypeInternal _UserKey_default_instance_;
constexpr User_ExtraEntry_DoNotUse::User_ExtraEntry_DoNotUse(
  ::herogoogle::protobuf::internal::ConstantInitialized){}
struct User_ExtraEntry_DoNotUseDefaultTypeInternal {
  constexpr User_ExtraEntry_DoNotUseDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~User_ExtraEntry_DoNotUseDefaultTypeInternal() {}
  union {
    User_ExtraEntry_DoNotUse _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT User_ExtraEntry_DoNotUseDefaultTypeInternal _User_ExtraEntry_DoNotUse_default_instance_;
constexpr User::User(
  ::herogoogle::protobuf::internal::ConstantInitialized)
  : extra_(::herogoogle::protobuf::internal::ConstantInitialized{})
  , uid_(&::herogoogle::protobuf::internal::fixed_address_empty_string)
  , rolename_(&::herogoogle::protobuf::internal::fixed_address_empty_string)
  , avatarurl_(&::herogoogle::protobuf::internal::fixed_address_empty_string)
  , userkey_(nullptr)
  , version_(int64_t{0})
  , gender_(0)
{}
struct UserDefaultTypeInternal {
  constexpr UserDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~UserDefaultTypeInternal() {}
  union {
    User _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UserDefaultTypeInternal _User_default_instance_;
constexpr UserSimple_ExtraEntry_DoNotUse::UserSimple_ExtraEntry_DoNotUse(
  ::herogoogle::protobuf::internal::ConstantInitialized){}
struct UserSimple_ExtraEntry_DoNotUseDefaultTypeInternal {
  constexpr UserSimple_ExtraEntry_DoNotUseDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~UserSimple_ExtraEntry_DoNotUseDefaultTypeInternal() {}
  union {
    UserSimple_ExtraEntry_DoNotUse _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UserSimple_ExtraEntry_DoNotUseDefaultTypeInternal _UserSimple_ExtraEntry_DoNotUse_default_instance_;
constexpr UserSimple::UserSimple(
  ::herogoogle::protobuf::internal::ConstantInitialized)
  : extra_(::herogoogle::protobuf::internal::ConstantInitialized{})
  , uid_(&::herogoogle::protobuf::internal::fixed_address_empty_string)
  , roleid_(&::herogoogle::protobuf::internal::fixed_address_empty_string)
  , rolename_(&::herogoogle::protobuf::internal::fixed_address_empty_string)
  , avatarurl_(&::herogoogle::protobuf::internal::fixed_address_empty_string)
  , serverid_(&::herogoogle::protobuf::internal::fixed_address_empty_string)
  , version_(int64_t{0})
  , gender_(0){}
struct UserSimpleDefaultTypeInternal {
  constexpr UserSimpleDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~UserSimpleDefaultTypeInternal() {}
  union {
    UserSimple _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UserSimpleDefaultTypeInternal _UserSimple_default_instance_;
constexpr UserStatus_ExtraEntry_DoNotUse::UserStatus_ExtraEntry_DoNotUse(
  ::herogoogle::protobuf::internal::ConstantInitialized){}
struct UserStatus_ExtraEntry_DoNotUseDefaultTypeInternal {
  constexpr UserStatus_ExtraEntry_DoNotUseDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~UserStatus_ExtraEntry_DoNotUseDefaultTypeInternal() {}
  union {
    UserStatus_ExtraEntry_DoNotUse _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UserStatus_ExtraEntry_DoNotUseDefaultTypeInternal _UserStatus_ExtraEntry_DoNotUse_default_instance_;
constexpr UserStatus::UserStatus(
  ::herogoogle::protobuf::internal::ConstantInitialized)
  : extra_(::herogoogle::protobuf::internal::ConstantInitialized{})
  , lastonlinetime_(int64_t{0})
  , isonline_(false){}
struct UserStatusDefaultTypeInternal {
  constexpr UserStatusDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~UserStatusDefaultTypeInternal() {}
  union {
    UserStatus _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UserStatusDefaultTypeInternal _UserStatus_default_instance_;
constexpr UserControl::UserControl(
  ::herogoogle::protobuf::internal::ConstantInitialized)
  : messagedetail_(nullptr)
  , talkdetail_(nullptr)
  , message_(0)
  , talk_(0){}
struct UserControlDefaultTypeInternal {
  constexpr UserControlDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~UserControlDefaultTypeInternal() {}
  union {
    UserControl _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UserControlDefaultTypeInternal _UserControl_default_instance_;
constexpr UserControlDetail::UserControlDetail(
  ::herogoogle::protobuf::internal::ConstantInitialized)
  : reason_(&::herogoogle::protobuf::internal::fixed_address_empty_string)
  , endtime_(int64_t{0}){}
struct UserControlDetailDefaultTypeInternal {
  constexpr UserControlDetailDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~UserControlDetailDefaultTypeInternal() {}
  union {
    UserControlDetail _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UserControlDetailDefaultTypeInternal _UserControlDetail_default_instance_;
}  // namespace model
}  // namespace user
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim
static ::herogoogle::protobuf::Metadata file_level_metadata_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[9];
static const ::herogoogle::protobuf::EnumDescriptor* file_level_enum_descriptors_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[1];
static constexpr ::herogoogle::protobuf::ServiceDescriptor const** file_level_service_descriptors_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto = nullptr;

const ::herogoogle::protobuf::uint32 TableStruct_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserKey, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserKey, serverid_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserKey, roleid_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User_ExtraEntry_DoNotUse, _has_bits_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User_ExtraEntry_DoNotUse, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User_ExtraEntry_DoNotUse, key_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User_ExtraEntry_DoNotUse, value_),
  0,
  1,
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User, uid_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User, userkey_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User, rolename_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User, avatarurl_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User, gender_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User, version_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::User, extra_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple_ExtraEntry_DoNotUse, _has_bits_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple_ExtraEntry_DoNotUse, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple_ExtraEntry_DoNotUse, key_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple_ExtraEntry_DoNotUse, value_),
  0,
  1,
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple, uid_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple, roleid_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple, rolename_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple, avatarurl_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple, gender_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple, version_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple, serverid_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserSimple, extra_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserStatus_ExtraEntry_DoNotUse, _has_bits_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserStatus_ExtraEntry_DoNotUse, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserStatus_ExtraEntry_DoNotUse, key_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserStatus_ExtraEntry_DoNotUse, value_),
  0,
  1,
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserStatus, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserStatus, isonline_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserStatus, lastonlinetime_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserStatus, extra_),
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserControl, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserControl, message_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserControl, talk_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserControl, messagedetail_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserControl, talkdetail_),
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserControlDetail, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserControlDetail, endtime_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::user::model::UserControlDetail, reason_),
};
static const ::herogoogle::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  { 0, -1, -1, sizeof(::heroim::client::v3beta::dto::user::model::UserKey)},
  { 8, 16, -1, sizeof(::heroim::client::v3beta::dto::user::model::User_ExtraEntry_DoNotUse)},
  { 18, -1, -1, sizeof(::heroim::client::v3beta::dto::user::model::User)},
  { 31, 39, -1, sizeof(::heroim::client::v3beta::dto::user::model::UserSimple_ExtraEntry_DoNotUse)},
  { 41, -1, -1, sizeof(::heroim::client::v3beta::dto::user::model::UserSimple)},
  { 55, 63, -1, sizeof(::heroim::client::v3beta::dto::user::model::UserStatus_ExtraEntry_DoNotUse)},
  { 65, -1, -1, sizeof(::heroim::client::v3beta::dto::user::model::UserStatus)},
  { 74, -1, -1, sizeof(::heroim::client::v3beta::dto::user::model::UserControl)},
  { 84, -1, -1, sizeof(::heroim::client::v3beta::dto::user::model::UserControlDetail)},
};

static ::herogoogle::protobuf::Message const * const file_default_instances[] = {
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::user::model::_UserKey_default_instance_),
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::user::model::_User_ExtraEntry_DoNotUse_default_instance_),
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::user::model::_User_default_instance_),
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::user::model::_UserSimple_ExtraEntry_DoNotUse_default_instance_),
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::user::model::_UserSimple_default_instance_),
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::user::model::_UserStatus_ExtraEntry_DoNotUse_default_instance_),
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::user::model::_UserStatus_default_instance_),
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::user::model::_UserControl_default_instance_),
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::user::model::_UserControlDetail_default_instance_),
};
#ifdef _MSC_VER
#  pragma warning(disable : 4125)
#endif  /* _MSC_VER */
const char descriptor_table_protodef_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  "\n-client/v3beta/dto/user/model/user_mode"
  "l.proto\022#heroim.client.v3beta.dto.user.m"
  "odel\"+\n\007UserKey\022\020\n\010serverId\030\001 \001(\t\022\016\n\006rol"
  "eId\030\002 \001(\t\"\270\002\n\004User\022\013\n\003uid\030\001 \001(\t\022=\n\007userK"
  "ey\030\002 \001(\0132,.heroim.client.v3beta.dto.user"
  ".model.UserKey\022\020\n\010roleName\030\003 \001(\t\022\021\n\tavat"
  "arUrl\030\004 \001(\t\022;\n\006gender\030\005 \001(\0162+.heroim.cli"
  "ent.v3beta.dto.user.model.Gender\022\017\n\007vers"
  "ion\030\006 \001(\003\022C\n\005extra\030\007 \003(\01324.heroim.client"
  ".v3beta.dto.user.model.User.ExtraEntry\032,"
  "\n\nExtraEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t"
  ":\0028\001\"\372\001\n\nUserSimple\022\013\n\003uid\030\001 \001(\t\022\016\n\006role"
  "Id\030\002 \001(\t\022\020\n\010roleName\030\003 \001(\t\022\021\n\tavatarUrl\030"
  "\004 \001(\t\022\016\n\006gender\030\005 \001(\005\022\017\n\007version\030\006 \001(\003\022\020"
  "\n\010serverId\030\007 \001(\t\022I\n\005extra\030\010 \003(\0132:.heroim"
  ".client.v3beta.dto.user.model.UserSimple"
  ".ExtraEntry\032,\n\nExtraEntry\022\013\n\003key\030\001 \001(\t\022\r"
  "\n\005value\030\002 \001(\t:\0028\001\"\257\001\n\nUserStatus\022\020\n\010isOn"
  "line\030\001 \001(\010\022\026\n\016lastOnlineTime\030\002 \001(\003\022I\n\005ex"
  "tra\030\003 \003(\0132:.heroim.client.v3beta.dto.use"
  "r.model.UserStatus.ExtraEntry\032,\n\nExtraEn"
  "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\307\001\n\013"
  "UserControl\022\017\n\007message\030\001 \001(\005\022\014\n\004talk\030\002 \001"
  "(\005\022M\n\rmessageDetail\030\003 \001(\01326.heroim.clien"
  "t.v3beta.dto.user.model.UserControlDetai"
  "l\022J\n\ntalkDetail\030\004 \001(\01326.heroim.client.v3"
  "beta.dto.user.model.UserControlDetail\"4\n"
  "\021UserControlDetail\022\017\n\007endTime\030\001 \001(\003\022\016\n\006r"
  "eason\030\002 \001(\t*(\n\006Gender\022\010\n\004None\020\000\022\010\n\004Male\020"
  "\001\022\n\n\006Female\020\002B\224\001\n\'com.hero.csdk.api.v3be"
  "ta.dto.user.modelP\001Z\'heroim/api/client/v"
  "3beta/dto/user/model\242\002\005IMSdk\252\0025Im.CSDK.U"
  "nity.chat.entry.Runtime.entry2.v3.user.m"
  "odelb\006proto3"
  ;
static ::herogoogle::protobuf::internal::once_flag descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_once;
const ::herogoogle::protobuf::internal::DescriptorTable descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto = {
  false, false, 1332, descriptor_table_protodef_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto, "client/v3beta/dto/user/model/user_model.proto", 
  &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_once, nullptr, 0, 9,
  schemas, file_default_instances, TableStruct_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto::offsets,
  file_level_metadata_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto, file_level_enum_descriptors_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto, file_level_service_descriptors_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto,
};
PROTOBUF_ATTRIBUTE_WEAK const ::herogoogle::protobuf::internal::DescriptorTable* descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_getter() {
  return &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto;
}

// Force running AddDescriptors() at dynamic initialization time.
PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::herogoogle::protobuf::internal::AddDescriptorsRunner dynamic_init_dummy_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto(&descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto);
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace user {
namespace model {
const ::herogoogle::protobuf::EnumDescriptor* Gender_descriptor() {
  ::herogoogle::protobuf::internal::AssignDescriptors(&descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto);
  return file_level_enum_descriptors_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[0];
}
bool Gender_IsValid(int value) {
  switch (value) {
    case 0:
    case 1:
    case 2:
      return true;
    default:
      return false;
  }
}


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

class UserKey::_Internal {
 public:
};

UserKey::UserKey(::herogoogle::protobuf::Arena* arena,
                         bool is_message_owned)
  : ::herogoogle::protobuf::Message(arena, is_message_owned) {
  SharedCtor();
  if (!is_message_owned) {
    RegisterArenaDtor(arena);
  }
  // @@protoc_insertion_point(arena_constructor:heroim.client.v3beta.dto.user.model.UserKey)
}
UserKey::UserKey(const UserKey& from)
  : ::herogoogle::protobuf::Message() {
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
  serverid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_serverid().empty()) {
    serverid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_serverid(), 
      GetArenaForAllocation());
  }
  roleid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_roleid().empty()) {
    roleid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_roleid(), 
      GetArenaForAllocation());
  }
  // @@protoc_insertion_point(copy_constructor:heroim.client.v3beta.dto.user.model.UserKey)
}

void UserKey::SharedCtor() {
serverid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
roleid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
}

UserKey::~UserKey() {
  // @@protoc_insertion_point(destructor:heroim.client.v3beta.dto.user.model.UserKey)
  if (GetArenaForAllocation() != nullptr) return;
  SharedDtor();
  _internal_metadata_.Delete<::herogoogle::protobuf::UnknownFieldSet>();
}

inline void UserKey::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  serverid_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  roleid_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
}

void UserKey::ArenaDtor(void* object) {
  UserKey* _this = reinterpret_cast< UserKey* >(object);
  (void)_this;
}
void UserKey::RegisterArenaDtor(::herogoogle::protobuf::Arena*) {
}
void UserKey::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}

void UserKey::Clear() {
// @@protoc_insertion_point(message_clear_start:heroim.client.v3beta.dto.user.model.UserKey)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  serverid_.ClearToEmpty();
  roleid_.ClearToEmpty();
  _internal_metadata_.Clear<::herogoogle::protobuf::UnknownFieldSet>();
}

const char* UserKey::_InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::herogoogle::protobuf::uint32 tag;
    ptr = ::herogoogle::protobuf::internal::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // string serverId = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 10)) {
          auto str = _internal_mutable_serverid();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.user.model.UserKey.serverId"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string roleId = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 18)) {
          auto str = _internal_mutable_roleid();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.user.model.UserKey.roleId"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::herogoogle::protobuf::uint8* UserKey::_InternalSerialize(
    ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:heroim.client.v3beta.dto.user.model.UserKey)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // string serverId = 1;
  if (!this->_internal_serverid().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_serverid().data(), static_cast<int>(this->_internal_serverid().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.user.model.UserKey.serverId");
    target = stream->WriteStringMaybeAliased(
        1, this->_internal_serverid(), target);
  }

  // string roleId = 2;
  if (!this->_internal_roleid().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_roleid().data(), static_cast<int>(this->_internal_roleid().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.user.model.UserKey.roleId");
    target = stream->WriteStringMaybeAliased(
        2, this->_internal_roleid(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::herogoogle::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(::herogoogle::protobuf::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:heroim.client.v3beta.dto.user.model.UserKey)
  return target;
}

size_t UserKey::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:heroim.client.v3beta.dto.user.model.UserKey)
  size_t total_size = 0;

  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // string serverId = 1;
  if (!this->_internal_serverid().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_serverid());
  }

  // string roleId = 2;
  if (!this->_internal_roleid().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_roleid());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::herogoogle::protobuf::Message::ClassData UserKey::_class_data_ = {
    ::herogoogle::protobuf::Message::CopyWithSizeCheck,
    UserKey::MergeImpl
};
const ::herogoogle::protobuf::Message::ClassData*UserKey::GetClassData() const { return &_class_data_; }

void UserKey::MergeImpl(::herogoogle::protobuf::Message* to,
                      const ::herogoogle::protobuf::Message& from) {
  static_cast<UserKey *>(to)->MergeFrom(
      static_cast<const UserKey &>(from));
}


void UserKey::MergeFrom(const UserKey& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:heroim.client.v3beta.dto.user.model.UserKey)
  GOOGLE_DCHECK_NE(&from, this);
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  if (!from._internal_serverid().empty()) {
    _internal_set_serverid(from._internal_serverid());
  }
  if (!from._internal_roleid().empty()) {
    _internal_set_roleid(from._internal_roleid());
  }
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
}

void UserKey::CopyFrom(const UserKey& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:heroim.client.v3beta.dto.user.model.UserKey)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool UserKey::IsInitialized() const {
  return true;
}

void UserKey::InternalSwap(UserKey* other) {
  using std::swap;
  auto* lhs_arena = GetArenaForAllocation();
  auto* rhs_arena = other->GetArenaForAllocation();
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &serverid_, lhs_arena,
      &other->serverid_, rhs_arena
  );
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &roleid_, lhs_arena,
      &other->roleid_, rhs_arena
  );
}

::herogoogle::protobuf::Metadata UserKey::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[0]);
}

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

User_ExtraEntry_DoNotUse::User_ExtraEntry_DoNotUse() {}
User_ExtraEntry_DoNotUse::User_ExtraEntry_DoNotUse(::herogoogle::protobuf::Arena* arena)
    : SuperType(arena) {}
void User_ExtraEntry_DoNotUse::MergeFrom(const User_ExtraEntry_DoNotUse& other) {
  MergeFromInternal(other);
}
::herogoogle::protobuf::Metadata User_ExtraEntry_DoNotUse::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[1]);
}

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

class User::_Internal {
 public:
  static const ::heroim::client::v3beta::dto::user::model::UserKey& userkey(const User* msg);
};

const ::heroim::client::v3beta::dto::user::model::UserKey&
User::_Internal::userkey(const User* msg) {
  return *msg->userkey_;
}
User::User(::herogoogle::protobuf::Arena* arena,
                         bool is_message_owned)
  : ::herogoogle::protobuf::Message(arena, is_message_owned),
  extra_(arena) {
  SharedCtor();
  if (!is_message_owned) {
    RegisterArenaDtor(arena);
  }
  // @@protoc_insertion_point(arena_constructor:heroim.client.v3beta.dto.user.model.User)
}
User::User(const User& from)
  : ::herogoogle::protobuf::Message() {
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
  extra_.MergeFrom(from.extra_);
  uid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_uid().empty()) {
    uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_uid(), 
      GetArenaForAllocation());
  }
  rolename_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_rolename().empty()) {
    rolename_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_rolename(), 
      GetArenaForAllocation());
  }
  avatarurl_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_avatarurl().empty()) {
    avatarurl_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_avatarurl(), 
      GetArenaForAllocation());
  }
  if (from._internal_has_userkey()) {
    userkey_ = new ::heroim::client::v3beta::dto::user::model::UserKey(*from.userkey_);
  } else {
    userkey_ = nullptr;
  }
  ::memcpy(&version_, &from.version_,
    static_cast<size_t>(reinterpret_cast<char*>(&gender_) -
    reinterpret_cast<char*>(&version_)) + sizeof(gender_));
  // @@protoc_insertion_point(copy_constructor:heroim.client.v3beta.dto.user.model.User)
}

void User::SharedCtor() {
uid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
rolename_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
avatarurl_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
    reinterpret_cast<char*>(&userkey_) - reinterpret_cast<char*>(this)),
    0, static_cast<size_t>(reinterpret_cast<char*>(&gender_) -
    reinterpret_cast<char*>(&userkey_)) + sizeof(gender_));
}

User::~User() {
  // @@protoc_insertion_point(destructor:heroim.client.v3beta.dto.user.model.User)
  if (GetArenaForAllocation() != nullptr) return;
  SharedDtor();
  _internal_metadata_.Delete<::herogoogle::protobuf::UnknownFieldSet>();
}

inline void User::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  uid_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  rolename_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  avatarurl_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (this != internal_default_instance()) delete userkey_;
}

void User::ArenaDtor(void* object) {
  User* _this = reinterpret_cast< User* >(object);
  (void)_this;
  _this->extra_. ~MapField();
}
inline void User::RegisterArenaDtor(::herogoogle::protobuf::Arena* arena) {
  if (arena != nullptr) {
    arena->OwnCustomDestructor(this, &User::ArenaDtor);
  }
}
void User::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}

void User::Clear() {
// @@protoc_insertion_point(message_clear_start:heroim.client.v3beta.dto.user.model.User)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  extra_.Clear();
  uid_.ClearToEmpty();
  rolename_.ClearToEmpty();
  avatarurl_.ClearToEmpty();
  if (GetArenaForAllocation() == nullptr && userkey_ != nullptr) {
    delete userkey_;
  }
  userkey_ = nullptr;
  ::memset(&version_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&gender_) -
      reinterpret_cast<char*>(&version_)) + sizeof(gender_));
  _internal_metadata_.Clear<::herogoogle::protobuf::UnknownFieldSet>();
}

const char* User::_InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::herogoogle::protobuf::uint32 tag;
    ptr = ::herogoogle::protobuf::internal::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // string uid = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 10)) {
          auto str = _internal_mutable_uid();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.user.model.User.uid"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // .heroim.client.v3beta.dto.user.model.UserKey userKey = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 18)) {
          ptr = ctx->ParseMessage(_internal_mutable_userkey(), ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string roleName = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 26)) {
          auto str = _internal_mutable_rolename();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.user.model.User.roleName"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string avatarUrl = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 34)) {
          auto str = _internal_mutable_avatarurl();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.user.model.User.avatarUrl"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // .heroim.client.v3beta.dto.user.model.Gender gender = 5;
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 40)) {
          ::herogoogle::protobuf::uint64 val = ::herogoogle::protobuf::internal::ReadVarint64(&ptr);
          CHK_(ptr);
          _internal_set_gender(static_cast<::heroim::client::v3beta::dto::user::model::Gender>(val));
        } else
          goto handle_unusual;
        continue;
      // int64 version = 6;
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 48)) {
          version_ = ::herogoogle::protobuf::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // map<string, string> extra = 7;
      case 7:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 58)) {
          ptr -= 1;
          do {
            ptr += 1;
            ptr = ctx->ParseMessage(&extra_, ptr);
            CHK_(ptr);
            if (!ctx->DataAvailable(ptr)) break;
          } while (::herogoogle::protobuf::internal::ExpectTag<58>(ptr));
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::herogoogle::protobuf::uint8* User::_InternalSerialize(
    ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:heroim.client.v3beta.dto.user.model.User)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // string uid = 1;
  if (!this->_internal_uid().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_uid().data(), static_cast<int>(this->_internal_uid().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.user.model.User.uid");
    target = stream->WriteStringMaybeAliased(
        1, this->_internal_uid(), target);
  }

  // .heroim.client.v3beta.dto.user.model.UserKey userKey = 2;
  if (this->_internal_has_userkey()) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::
      InternalWriteMessage(
        2, _Internal::userkey(this), target, stream);
  }

  // string roleName = 3;
  if (!this->_internal_rolename().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_rolename().data(), static_cast<int>(this->_internal_rolename().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.user.model.User.roleName");
    target = stream->WriteStringMaybeAliased(
        3, this->_internal_rolename(), target);
  }

  // string avatarUrl = 4;
  if (!this->_internal_avatarurl().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_avatarurl().data(), static_cast<int>(this->_internal_avatarurl().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.user.model.User.avatarUrl");
    target = stream->WriteStringMaybeAliased(
        4, this->_internal_avatarurl(), target);
  }

  // .heroim.client.v3beta.dto.user.model.Gender gender = 5;
  if (this->_internal_gender() != 0) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::WriteEnumToArray(
      5, this->_internal_gender(), target);
  }

  // int64 version = 6;
  if (this->_internal_version() != 0) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::WriteInt64ToArray(6, this->_internal_version(), target);
  }

  // map<string, string> extra = 7;
  if (!this->_internal_extra().empty()) {
    typedef ::herogoogle::protobuf::Map< std::string, std::string >::const_pointer
        ConstPtr;
    typedef ConstPtr SortItem;
    typedef ::herogoogle::protobuf::internal::CompareByDerefFirst<SortItem> Less;
    struct Utf8Check {
      static void Check(ConstPtr p) {
        (void)p;
        ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
          p->first.data(), static_cast<int>(p->first.length()),
          ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
          "heroim.client.v3beta.dto.user.model.User.ExtraEntry.key");
        ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
          p->second.data(), static_cast<int>(p->second.length()),
          ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
          "heroim.client.v3beta.dto.user.model.User.ExtraEntry.value");
      }
    };

    if (stream->IsSerializationDeterministic() &&
        this->_internal_extra().size() > 1) {
      ::std::unique_ptr<SortItem[]> items(
          new SortItem[this->_internal_extra().size()]);
      typedef ::herogoogle::protobuf::Map< std::string, std::string >::size_type size_type;
      size_type n = 0;
      for (::herogoogle::protobuf::Map< std::string, std::string >::const_iterator
          it = this->_internal_extra().begin();
          it != this->_internal_extra().end(); ++it, ++n) {
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
      }
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
      for (size_type i = 0; i < n; i++) {
        target = User_ExtraEntry_DoNotUse::Funcs::InternalSerialize(7, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
        Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
      }
    } else {
      for (::herogoogle::protobuf::Map< std::string, std::string >::const_iterator
          it = this->_internal_extra().begin();
          it != this->_internal_extra().end(); ++it) {
        target = User_ExtraEntry_DoNotUse::Funcs::InternalSerialize(7, it->first, it->second, target, stream);
        Utf8Check::Check(&(*it));
      }
    }
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::herogoogle::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(::herogoogle::protobuf::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:heroim.client.v3beta.dto.user.model.User)
  return target;
}

size_t User::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:heroim.client.v3beta.dto.user.model.User)
  size_t total_size = 0;

  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // map<string, string> extra = 7;
  total_size += 1 *
      ::herogoogle::protobuf::internal::FromIntSize(this->_internal_extra_size());
  for (::herogoogle::protobuf::Map< std::string, std::string >::const_iterator
      it = this->_internal_extra().begin();
      it != this->_internal_extra().end(); ++it) {
    total_size += User_ExtraEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
  }

  // string uid = 1;
  if (!this->_internal_uid().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_uid());
  }

  // string roleName = 3;
  if (!this->_internal_rolename().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_rolename());
  }

  // string avatarUrl = 4;
  if (!this->_internal_avatarurl().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_avatarurl());
  }

  // .heroim.client.v3beta.dto.user.model.UserKey userKey = 2;
  if (this->_internal_has_userkey()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::MessageSize(
        *userkey_);
  }

  // int64 version = 6;
  if (this->_internal_version() != 0) {
    total_size += ::herogoogle::protobuf::internal::WireFormatLite::Int64SizePlusOne(this->_internal_version());
  }

  // .heroim.client.v3beta.dto.user.model.Gender gender = 5;
  if (this->_internal_gender() != 0) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::EnumSize(this->_internal_gender());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::herogoogle::protobuf::Message::ClassData User::_class_data_ = {
    ::herogoogle::protobuf::Message::CopyWithSizeCheck,
    User::MergeImpl
};
const ::herogoogle::protobuf::Message::ClassData*User::GetClassData() const { return &_class_data_; }

void User::MergeImpl(::herogoogle::protobuf::Message* to,
                      const ::herogoogle::protobuf::Message& from) {
  static_cast<User *>(to)->MergeFrom(
      static_cast<const User &>(from));
}


void User::MergeFrom(const User& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:heroim.client.v3beta.dto.user.model.User)
  GOOGLE_DCHECK_NE(&from, this);
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  extra_.MergeFrom(from.extra_);
  if (!from._internal_uid().empty()) {
    _internal_set_uid(from._internal_uid());
  }
  if (!from._internal_rolename().empty()) {
    _internal_set_rolename(from._internal_rolename());
  }
  if (!from._internal_avatarurl().empty()) {
    _internal_set_avatarurl(from._internal_avatarurl());
  }
  if (from._internal_has_userkey()) {
    _internal_mutable_userkey()->::heroim::client::v3beta::dto::user::model::UserKey::MergeFrom(from._internal_userkey());
  }
  if (from._internal_version() != 0) {
    _internal_set_version(from._internal_version());
  }
  if (from._internal_gender() != 0) {
    _internal_set_gender(from._internal_gender());
  }
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
}

void User::CopyFrom(const User& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:heroim.client.v3beta.dto.user.model.User)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool User::IsInitialized() const {
  return true;
}

void User::InternalSwap(User* other) {
  using std::swap;
  auto* lhs_arena = GetArenaForAllocation();
  auto* rhs_arena = other->GetArenaForAllocation();
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  extra_.InternalSwap(&other->extra_);
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &uid_, lhs_arena,
      &other->uid_, rhs_arena
  );
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &rolename_, lhs_arena,
      &other->rolename_, rhs_arena
  );
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &avatarurl_, lhs_arena,
      &other->avatarurl_, rhs_arena
  );
  ::herogoogle::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(User, gender_)
      + sizeof(User::gender_)
      - PROTOBUF_FIELD_OFFSET(User, userkey_)>(
          reinterpret_cast<char*>(&userkey_),
          reinterpret_cast<char*>(&other->userkey_));
}

::herogoogle::protobuf::Metadata User::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[2]);
}

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

UserSimple_ExtraEntry_DoNotUse::UserSimple_ExtraEntry_DoNotUse() {}
UserSimple_ExtraEntry_DoNotUse::UserSimple_ExtraEntry_DoNotUse(::herogoogle::protobuf::Arena* arena)
    : SuperType(arena) {}
void UserSimple_ExtraEntry_DoNotUse::MergeFrom(const UserSimple_ExtraEntry_DoNotUse& other) {
  MergeFromInternal(other);
}
::herogoogle::protobuf::Metadata UserSimple_ExtraEntry_DoNotUse::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[3]);
}

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

class UserSimple::_Internal {
 public:
};

UserSimple::UserSimple(::herogoogle::protobuf::Arena* arena,
                         bool is_message_owned)
  : ::herogoogle::protobuf::Message(arena, is_message_owned),
  extra_(arena) {
  SharedCtor();
  if (!is_message_owned) {
    RegisterArenaDtor(arena);
  }
  // @@protoc_insertion_point(arena_constructor:heroim.client.v3beta.dto.user.model.UserSimple)
}
UserSimple::UserSimple(const UserSimple& from)
  : ::herogoogle::protobuf::Message() {
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
  extra_.MergeFrom(from.extra_);
  uid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_uid().empty()) {
    uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_uid(), 
      GetArenaForAllocation());
  }
  roleid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_roleid().empty()) {
    roleid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_roleid(), 
      GetArenaForAllocation());
  }
  rolename_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_rolename().empty()) {
    rolename_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_rolename(), 
      GetArenaForAllocation());
  }
  avatarurl_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_avatarurl().empty()) {
    avatarurl_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_avatarurl(), 
      GetArenaForAllocation());
  }
  serverid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_serverid().empty()) {
    serverid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_serverid(), 
      GetArenaForAllocation());
  }
  ::memcpy(&version_, &from.version_,
    static_cast<size_t>(reinterpret_cast<char*>(&gender_) -
    reinterpret_cast<char*>(&version_)) + sizeof(gender_));
  // @@protoc_insertion_point(copy_constructor:heroim.client.v3beta.dto.user.model.UserSimple)
}

void UserSimple::SharedCtor() {
uid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
roleid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
rolename_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
avatarurl_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
serverid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
    reinterpret_cast<char*>(&version_) - reinterpret_cast<char*>(this)),
    0, static_cast<size_t>(reinterpret_cast<char*>(&gender_) -
    reinterpret_cast<char*>(&version_)) + sizeof(gender_));
}

UserSimple::~UserSimple() {
  // @@protoc_insertion_point(destructor:heroim.client.v3beta.dto.user.model.UserSimple)
  if (GetArenaForAllocation() != nullptr) return;
  SharedDtor();
  _internal_metadata_.Delete<::herogoogle::protobuf::UnknownFieldSet>();
}

inline void UserSimple::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  uid_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  roleid_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  rolename_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  avatarurl_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  serverid_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
}

void UserSimple::ArenaDtor(void* object) {
  UserSimple* _this = reinterpret_cast< UserSimple* >(object);
  (void)_this;
  _this->extra_. ~MapField();
}
inline void UserSimple::RegisterArenaDtor(::herogoogle::protobuf::Arena* arena) {
  if (arena != nullptr) {
    arena->OwnCustomDestructor(this, &UserSimple::ArenaDtor);
  }
}
void UserSimple::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}

void UserSimple::Clear() {
// @@protoc_insertion_point(message_clear_start:heroim.client.v3beta.dto.user.model.UserSimple)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  extra_.Clear();
  uid_.ClearToEmpty();
  roleid_.ClearToEmpty();
  rolename_.ClearToEmpty();
  avatarurl_.ClearToEmpty();
  serverid_.ClearToEmpty();
  ::memset(&version_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&gender_) -
      reinterpret_cast<char*>(&version_)) + sizeof(gender_));
  _internal_metadata_.Clear<::herogoogle::protobuf::UnknownFieldSet>();
}

const char* UserSimple::_InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::herogoogle::protobuf::uint32 tag;
    ptr = ::herogoogle::protobuf::internal::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // string uid = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 10)) {
          auto str = _internal_mutable_uid();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.user.model.UserSimple.uid"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string roleId = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 18)) {
          auto str = _internal_mutable_roleid();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.user.model.UserSimple.roleId"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string roleName = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 26)) {
          auto str = _internal_mutable_rolename();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.user.model.UserSimple.roleName"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string avatarUrl = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 34)) {
          auto str = _internal_mutable_avatarurl();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.user.model.UserSimple.avatarUrl"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // int32 gender = 5;
      case 5:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 40)) {
          gender_ = ::herogoogle::protobuf::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // int64 version = 6;
      case 6:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 48)) {
          version_ = ::herogoogle::protobuf::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string serverId = 7;
      case 7:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 58)) {
          auto str = _internal_mutable_serverid();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.user.model.UserSimple.serverId"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // map<string, string> extra = 8;
      case 8:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 66)) {
          ptr -= 1;
          do {
            ptr += 1;
            ptr = ctx->ParseMessage(&extra_, ptr);
            CHK_(ptr);
            if (!ctx->DataAvailable(ptr)) break;
          } while (::herogoogle::protobuf::internal::ExpectTag<66>(ptr));
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::herogoogle::protobuf::uint8* UserSimple::_InternalSerialize(
    ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:heroim.client.v3beta.dto.user.model.UserSimple)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // string uid = 1;
  if (!this->_internal_uid().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_uid().data(), static_cast<int>(this->_internal_uid().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.user.model.UserSimple.uid");
    target = stream->WriteStringMaybeAliased(
        1, this->_internal_uid(), target);
  }

  // string roleId = 2;
  if (!this->_internal_roleid().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_roleid().data(), static_cast<int>(this->_internal_roleid().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.user.model.UserSimple.roleId");
    target = stream->WriteStringMaybeAliased(
        2, this->_internal_roleid(), target);
  }

  // string roleName = 3;
  if (!this->_internal_rolename().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_rolename().data(), static_cast<int>(this->_internal_rolename().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.user.model.UserSimple.roleName");
    target = stream->WriteStringMaybeAliased(
        3, this->_internal_rolename(), target);
  }

  // string avatarUrl = 4;
  if (!this->_internal_avatarurl().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_avatarurl().data(), static_cast<int>(this->_internal_avatarurl().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.user.model.UserSimple.avatarUrl");
    target = stream->WriteStringMaybeAliased(
        4, this->_internal_avatarurl(), target);
  }

  // int32 gender = 5;
  if (this->_internal_gender() != 0) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->_internal_gender(), target);
  }

  // int64 version = 6;
  if (this->_internal_version() != 0) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::WriteInt64ToArray(6, this->_internal_version(), target);
  }

  // string serverId = 7;
  if (!this->_internal_serverid().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_serverid().data(), static_cast<int>(this->_internal_serverid().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.user.model.UserSimple.serverId");
    target = stream->WriteStringMaybeAliased(
        7, this->_internal_serverid(), target);
  }

  // map<string, string> extra = 8;
  if (!this->_internal_extra().empty()) {
    typedef ::herogoogle::protobuf::Map< std::string, std::string >::const_pointer
        ConstPtr;
    typedef ConstPtr SortItem;
    typedef ::herogoogle::protobuf::internal::CompareByDerefFirst<SortItem> Less;
    struct Utf8Check {
      static void Check(ConstPtr p) {
        (void)p;
        ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
          p->first.data(), static_cast<int>(p->first.length()),
          ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
          "heroim.client.v3beta.dto.user.model.UserSimple.ExtraEntry.key");
        ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
          p->second.data(), static_cast<int>(p->second.length()),
          ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
          "heroim.client.v3beta.dto.user.model.UserSimple.ExtraEntry.value");
      }
    };

    if (stream->IsSerializationDeterministic() &&
        this->_internal_extra().size() > 1) {
      ::std::unique_ptr<SortItem[]> items(
          new SortItem[this->_internal_extra().size()]);
      typedef ::herogoogle::protobuf::Map< std::string, std::string >::size_type size_type;
      size_type n = 0;
      for (::herogoogle::protobuf::Map< std::string, std::string >::const_iterator
          it = this->_internal_extra().begin();
          it != this->_internal_extra().end(); ++it, ++n) {
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
      }
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
      for (size_type i = 0; i < n; i++) {
        target = UserSimple_ExtraEntry_DoNotUse::Funcs::InternalSerialize(8, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
        Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
      }
    } else {
      for (::herogoogle::protobuf::Map< std::string, std::string >::const_iterator
          it = this->_internal_extra().begin();
          it != this->_internal_extra().end(); ++it) {
        target = UserSimple_ExtraEntry_DoNotUse::Funcs::InternalSerialize(8, it->first, it->second, target, stream);
        Utf8Check::Check(&(*it));
      }
    }
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::herogoogle::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(::herogoogle::protobuf::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:heroim.client.v3beta.dto.user.model.UserSimple)
  return target;
}

size_t UserSimple::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:heroim.client.v3beta.dto.user.model.UserSimple)
  size_t total_size = 0;

  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // map<string, string> extra = 8;
  total_size += 1 *
      ::herogoogle::protobuf::internal::FromIntSize(this->_internal_extra_size());
  for (::herogoogle::protobuf::Map< std::string, std::string >::const_iterator
      it = this->_internal_extra().begin();
      it != this->_internal_extra().end(); ++it) {
    total_size += UserSimple_ExtraEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
  }

  // string uid = 1;
  if (!this->_internal_uid().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_uid());
  }

  // string roleId = 2;
  if (!this->_internal_roleid().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_roleid());
  }

  // string roleName = 3;
  if (!this->_internal_rolename().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_rolename());
  }

  // string avatarUrl = 4;
  if (!this->_internal_avatarurl().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_avatarurl());
  }

  // string serverId = 7;
  if (!this->_internal_serverid().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_serverid());
  }

  // int64 version = 6;
  if (this->_internal_version() != 0) {
    total_size += ::herogoogle::protobuf::internal::WireFormatLite::Int64SizePlusOne(this->_internal_version());
  }

  // int32 gender = 5;
  if (this->_internal_gender() != 0) {
    total_size += ::herogoogle::protobuf::internal::WireFormatLite::Int32SizePlusOne(this->_internal_gender());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::herogoogle::protobuf::Message::ClassData UserSimple::_class_data_ = {
    ::herogoogle::protobuf::Message::CopyWithSizeCheck,
    UserSimple::MergeImpl
};
const ::herogoogle::protobuf::Message::ClassData*UserSimple::GetClassData() const { return &_class_data_; }

void UserSimple::MergeImpl(::herogoogle::protobuf::Message* to,
                      const ::herogoogle::protobuf::Message& from) {
  static_cast<UserSimple *>(to)->MergeFrom(
      static_cast<const UserSimple &>(from));
}


void UserSimple::MergeFrom(const UserSimple& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:heroim.client.v3beta.dto.user.model.UserSimple)
  GOOGLE_DCHECK_NE(&from, this);
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  extra_.MergeFrom(from.extra_);
  if (!from._internal_uid().empty()) {
    _internal_set_uid(from._internal_uid());
  }
  if (!from._internal_roleid().empty()) {
    _internal_set_roleid(from._internal_roleid());
  }
  if (!from._internal_rolename().empty()) {
    _internal_set_rolename(from._internal_rolename());
  }
  if (!from._internal_avatarurl().empty()) {
    _internal_set_avatarurl(from._internal_avatarurl());
  }
  if (!from._internal_serverid().empty()) {
    _internal_set_serverid(from._internal_serverid());
  }
  if (from._internal_version() != 0) {
    _internal_set_version(from._internal_version());
  }
  if (from._internal_gender() != 0) {
    _internal_set_gender(from._internal_gender());
  }
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
}

void UserSimple::CopyFrom(const UserSimple& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:heroim.client.v3beta.dto.user.model.UserSimple)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool UserSimple::IsInitialized() const {
  return true;
}

void UserSimple::InternalSwap(UserSimple* other) {
  using std::swap;
  auto* lhs_arena = GetArenaForAllocation();
  auto* rhs_arena = other->GetArenaForAllocation();
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  extra_.InternalSwap(&other->extra_);
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &uid_, lhs_arena,
      &other->uid_, rhs_arena
  );
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &roleid_, lhs_arena,
      &other->roleid_, rhs_arena
  );
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &rolename_, lhs_arena,
      &other->rolename_, rhs_arena
  );
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &avatarurl_, lhs_arena,
      &other->avatarurl_, rhs_arena
  );
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &serverid_, lhs_arena,
      &other->serverid_, rhs_arena
  );
  ::herogoogle::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(UserSimple, gender_)
      + sizeof(UserSimple::gender_)
      - PROTOBUF_FIELD_OFFSET(UserSimple, version_)>(
          reinterpret_cast<char*>(&version_),
          reinterpret_cast<char*>(&other->version_));
}

::herogoogle::protobuf::Metadata UserSimple::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[4]);
}

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

UserStatus_ExtraEntry_DoNotUse::UserStatus_ExtraEntry_DoNotUse() {}
UserStatus_ExtraEntry_DoNotUse::UserStatus_ExtraEntry_DoNotUse(::herogoogle::protobuf::Arena* arena)
    : SuperType(arena) {}
void UserStatus_ExtraEntry_DoNotUse::MergeFrom(const UserStatus_ExtraEntry_DoNotUse& other) {
  MergeFromInternal(other);
}
::herogoogle::protobuf::Metadata UserStatus_ExtraEntry_DoNotUse::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[5]);
}

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

class UserStatus::_Internal {
 public:
};

UserStatus::UserStatus(::herogoogle::protobuf::Arena* arena,
                         bool is_message_owned)
  : ::herogoogle::protobuf::Message(arena, is_message_owned),
  extra_(arena) {
  SharedCtor();
  if (!is_message_owned) {
    RegisterArenaDtor(arena);
  }
  // @@protoc_insertion_point(arena_constructor:heroim.client.v3beta.dto.user.model.UserStatus)
}
UserStatus::UserStatus(const UserStatus& from)
  : ::herogoogle::protobuf::Message() {
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
  extra_.MergeFrom(from.extra_);
  ::memcpy(&lastonlinetime_, &from.lastonlinetime_,
    static_cast<size_t>(reinterpret_cast<char*>(&isonline_) -
    reinterpret_cast<char*>(&lastonlinetime_)) + sizeof(isonline_));
  // @@protoc_insertion_point(copy_constructor:heroim.client.v3beta.dto.user.model.UserStatus)
}

void UserStatus::SharedCtor() {
::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
    reinterpret_cast<char*>(&lastonlinetime_) - reinterpret_cast<char*>(this)),
    0, static_cast<size_t>(reinterpret_cast<char*>(&isonline_) -
    reinterpret_cast<char*>(&lastonlinetime_)) + sizeof(isonline_));
}

UserStatus::~UserStatus() {
  // @@protoc_insertion_point(destructor:heroim.client.v3beta.dto.user.model.UserStatus)
  if (GetArenaForAllocation() != nullptr) return;
  SharedDtor();
  _internal_metadata_.Delete<::herogoogle::protobuf::UnknownFieldSet>();
}

inline void UserStatus::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
}

void UserStatus::ArenaDtor(void* object) {
  UserStatus* _this = reinterpret_cast< UserStatus* >(object);
  (void)_this;
  _this->extra_. ~MapField();
}
inline void UserStatus::RegisterArenaDtor(::herogoogle::protobuf::Arena* arena) {
  if (arena != nullptr) {
    arena->OwnCustomDestructor(this, &UserStatus::ArenaDtor);
  }
}
void UserStatus::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}

void UserStatus::Clear() {
// @@protoc_insertion_point(message_clear_start:heroim.client.v3beta.dto.user.model.UserStatus)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  extra_.Clear();
  ::memset(&lastonlinetime_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&isonline_) -
      reinterpret_cast<char*>(&lastonlinetime_)) + sizeof(isonline_));
  _internal_metadata_.Clear<::herogoogle::protobuf::UnknownFieldSet>();
}

const char* UserStatus::_InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::herogoogle::protobuf::uint32 tag;
    ptr = ::herogoogle::protobuf::internal::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // bool isOnline = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 8)) {
          isonline_ = ::herogoogle::protobuf::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // int64 lastOnlineTime = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 16)) {
          lastonlinetime_ = ::herogoogle::protobuf::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // map<string, string> extra = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 26)) {
          ptr -= 1;
          do {
            ptr += 1;
            ptr = ctx->ParseMessage(&extra_, ptr);
            CHK_(ptr);
            if (!ctx->DataAvailable(ptr)) break;
          } while (::herogoogle::protobuf::internal::ExpectTag<26>(ptr));
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::herogoogle::protobuf::uint8* UserStatus::_InternalSerialize(
    ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:heroim.client.v3beta.dto.user.model.UserStatus)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // bool isOnline = 1;
  if (this->_internal_isonline() != 0) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isonline(), target);
  }

  // int64 lastOnlineTime = 2;
  if (this->_internal_lastonlinetime() != 0) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->_internal_lastonlinetime(), target);
  }

  // map<string, string> extra = 3;
  if (!this->_internal_extra().empty()) {
    typedef ::herogoogle::protobuf::Map< std::string, std::string >::const_pointer
        ConstPtr;
    typedef ConstPtr SortItem;
    typedef ::herogoogle::protobuf::internal::CompareByDerefFirst<SortItem> Less;
    struct Utf8Check {
      static void Check(ConstPtr p) {
        (void)p;
        ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
          p->first.data(), static_cast<int>(p->first.length()),
          ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
          "heroim.client.v3beta.dto.user.model.UserStatus.ExtraEntry.key");
        ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
          p->second.data(), static_cast<int>(p->second.length()),
          ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
          "heroim.client.v3beta.dto.user.model.UserStatus.ExtraEntry.value");
      }
    };

    if (stream->IsSerializationDeterministic() &&
        this->_internal_extra().size() > 1) {
      ::std::unique_ptr<SortItem[]> items(
          new SortItem[this->_internal_extra().size()]);
      typedef ::herogoogle::protobuf::Map< std::string, std::string >::size_type size_type;
      size_type n = 0;
      for (::herogoogle::protobuf::Map< std::string, std::string >::const_iterator
          it = this->_internal_extra().begin();
          it != this->_internal_extra().end(); ++it, ++n) {
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
      }
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
      for (size_type i = 0; i < n; i++) {
        target = UserStatus_ExtraEntry_DoNotUse::Funcs::InternalSerialize(3, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
        Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
      }
    } else {
      for (::herogoogle::protobuf::Map< std::string, std::string >::const_iterator
          it = this->_internal_extra().begin();
          it != this->_internal_extra().end(); ++it) {
        target = UserStatus_ExtraEntry_DoNotUse::Funcs::InternalSerialize(3, it->first, it->second, target, stream);
        Utf8Check::Check(&(*it));
      }
    }
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::herogoogle::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(::herogoogle::protobuf::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:heroim.client.v3beta.dto.user.model.UserStatus)
  return target;
}

size_t UserStatus::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:heroim.client.v3beta.dto.user.model.UserStatus)
  size_t total_size = 0;

  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // map<string, string> extra = 3;
  total_size += 1 *
      ::herogoogle::protobuf::internal::FromIntSize(this->_internal_extra_size());
  for (::herogoogle::protobuf::Map< std::string, std::string >::const_iterator
      it = this->_internal_extra().begin();
      it != this->_internal_extra().end(); ++it) {
    total_size += UserStatus_ExtraEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
  }

  // int64 lastOnlineTime = 2;
  if (this->_internal_lastonlinetime() != 0) {
    total_size += ::herogoogle::protobuf::internal::WireFormatLite::Int64SizePlusOne(this->_internal_lastonlinetime());
  }

  // bool isOnline = 1;
  if (this->_internal_isonline() != 0) {
    total_size += 1 + 1;
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::herogoogle::protobuf::Message::ClassData UserStatus::_class_data_ = {
    ::herogoogle::protobuf::Message::CopyWithSizeCheck,
    UserStatus::MergeImpl
};
const ::herogoogle::protobuf::Message::ClassData*UserStatus::GetClassData() const { return &_class_data_; }

void UserStatus::MergeImpl(::herogoogle::protobuf::Message* to,
                      const ::herogoogle::protobuf::Message& from) {
  static_cast<UserStatus *>(to)->MergeFrom(
      static_cast<const UserStatus &>(from));
}


void UserStatus::MergeFrom(const UserStatus& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:heroim.client.v3beta.dto.user.model.UserStatus)
  GOOGLE_DCHECK_NE(&from, this);
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  extra_.MergeFrom(from.extra_);
  if (from._internal_lastonlinetime() != 0) {
    _internal_set_lastonlinetime(from._internal_lastonlinetime());
  }
  if (from._internal_isonline() != 0) {
    _internal_set_isonline(from._internal_isonline());
  }
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
}

void UserStatus::CopyFrom(const UserStatus& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:heroim.client.v3beta.dto.user.model.UserStatus)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool UserStatus::IsInitialized() const {
  return true;
}

void UserStatus::InternalSwap(UserStatus* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  extra_.InternalSwap(&other->extra_);
  ::herogoogle::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(UserStatus, isonline_)
      + sizeof(UserStatus::isonline_)
      - PROTOBUF_FIELD_OFFSET(UserStatus, lastonlinetime_)>(
          reinterpret_cast<char*>(&lastonlinetime_),
          reinterpret_cast<char*>(&other->lastonlinetime_));
}

::herogoogle::protobuf::Metadata UserStatus::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[6]);
}

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

class UserControl::_Internal {
 public:
  static const ::heroim::client::v3beta::dto::user::model::UserControlDetail& messagedetail(const UserControl* msg);
  static const ::heroim::client::v3beta::dto::user::model::UserControlDetail& talkdetail(const UserControl* msg);
};

const ::heroim::client::v3beta::dto::user::model::UserControlDetail&
UserControl::_Internal::messagedetail(const UserControl* msg) {
  return *msg->messagedetail_;
}
const ::heroim::client::v3beta::dto::user::model::UserControlDetail&
UserControl::_Internal::talkdetail(const UserControl* msg) {
  return *msg->talkdetail_;
}
UserControl::UserControl(::herogoogle::protobuf::Arena* arena,
                         bool is_message_owned)
  : ::herogoogle::protobuf::Message(arena, is_message_owned) {
  SharedCtor();
  if (!is_message_owned) {
    RegisterArenaDtor(arena);
  }
  // @@protoc_insertion_point(arena_constructor:heroim.client.v3beta.dto.user.model.UserControl)
}
UserControl::UserControl(const UserControl& from)
  : ::herogoogle::protobuf::Message() {
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
  if (from._internal_has_messagedetail()) {
    messagedetail_ = new ::heroim::client::v3beta::dto::user::model::UserControlDetail(*from.messagedetail_);
  } else {
    messagedetail_ = nullptr;
  }
  if (from._internal_has_talkdetail()) {
    talkdetail_ = new ::heroim::client::v3beta::dto::user::model::UserControlDetail(*from.talkdetail_);
  } else {
    talkdetail_ = nullptr;
  }
  ::memcpy(&message_, &from.message_,
    static_cast<size_t>(reinterpret_cast<char*>(&talk_) -
    reinterpret_cast<char*>(&message_)) + sizeof(talk_));
  // @@protoc_insertion_point(copy_constructor:heroim.client.v3beta.dto.user.model.UserControl)
}

void UserControl::SharedCtor() {
::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
    reinterpret_cast<char*>(&messagedetail_) - reinterpret_cast<char*>(this)),
    0, static_cast<size_t>(reinterpret_cast<char*>(&talk_) -
    reinterpret_cast<char*>(&messagedetail_)) + sizeof(talk_));
}

UserControl::~UserControl() {
  // @@protoc_insertion_point(destructor:heroim.client.v3beta.dto.user.model.UserControl)
  if (GetArenaForAllocation() != nullptr) return;
  SharedDtor();
  _internal_metadata_.Delete<::herogoogle::protobuf::UnknownFieldSet>();
}

inline void UserControl::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  if (this != internal_default_instance()) delete messagedetail_;
  if (this != internal_default_instance()) delete talkdetail_;
}

void UserControl::ArenaDtor(void* object) {
  UserControl* _this = reinterpret_cast< UserControl* >(object);
  (void)_this;
}
void UserControl::RegisterArenaDtor(::herogoogle::protobuf::Arena*) {
}
void UserControl::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}

void UserControl::Clear() {
// @@protoc_insertion_point(message_clear_start:heroim.client.v3beta.dto.user.model.UserControl)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  if (GetArenaForAllocation() == nullptr && messagedetail_ != nullptr) {
    delete messagedetail_;
  }
  messagedetail_ = nullptr;
  if (GetArenaForAllocation() == nullptr && talkdetail_ != nullptr) {
    delete talkdetail_;
  }
  talkdetail_ = nullptr;
  ::memset(&message_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&talk_) -
      reinterpret_cast<char*>(&message_)) + sizeof(talk_));
  _internal_metadata_.Clear<::herogoogle::protobuf::UnknownFieldSet>();
}

const char* UserControl::_InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::herogoogle::protobuf::uint32 tag;
    ptr = ::herogoogle::protobuf::internal::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // int32 message = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 8)) {
          message_ = ::herogoogle::protobuf::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // int32 talk = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 16)) {
          talk_ = ::herogoogle::protobuf::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // .heroim.client.v3beta.dto.user.model.UserControlDetail messageDetail = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 26)) {
          ptr = ctx->ParseMessage(_internal_mutable_messagedetail(), ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // .heroim.client.v3beta.dto.user.model.UserControlDetail talkDetail = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 34)) {
          ptr = ctx->ParseMessage(_internal_mutable_talkdetail(), ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::herogoogle::protobuf::uint8* UserControl::_InternalSerialize(
    ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:heroim.client.v3beta.dto.user.model.UserControl)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // int32 message = 1;
  if (this->_internal_message() != 0) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_message(), target);
  }

  // int32 talk = 2;
  if (this->_internal_talk() != 0) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_talk(), target);
  }

  // .heroim.client.v3beta.dto.user.model.UserControlDetail messageDetail = 3;
  if (this->_internal_has_messagedetail()) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::
      InternalWriteMessage(
        3, _Internal::messagedetail(this), target, stream);
  }

  // .heroim.client.v3beta.dto.user.model.UserControlDetail talkDetail = 4;
  if (this->_internal_has_talkdetail()) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::
      InternalWriteMessage(
        4, _Internal::talkdetail(this), target, stream);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::herogoogle::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(::herogoogle::protobuf::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:heroim.client.v3beta.dto.user.model.UserControl)
  return target;
}

size_t UserControl::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:heroim.client.v3beta.dto.user.model.UserControl)
  size_t total_size = 0;

  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // .heroim.client.v3beta.dto.user.model.UserControlDetail messageDetail = 3;
  if (this->_internal_has_messagedetail()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::MessageSize(
        *messagedetail_);
  }

  // .heroim.client.v3beta.dto.user.model.UserControlDetail talkDetail = 4;
  if (this->_internal_has_talkdetail()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::MessageSize(
        *talkdetail_);
  }

  // int32 message = 1;
  if (this->_internal_message() != 0) {
    total_size += ::herogoogle::protobuf::internal::WireFormatLite::Int32SizePlusOne(this->_internal_message());
  }

  // int32 talk = 2;
  if (this->_internal_talk() != 0) {
    total_size += ::herogoogle::protobuf::internal::WireFormatLite::Int32SizePlusOne(this->_internal_talk());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::herogoogle::protobuf::Message::ClassData UserControl::_class_data_ = {
    ::herogoogle::protobuf::Message::CopyWithSizeCheck,
    UserControl::MergeImpl
};
const ::herogoogle::protobuf::Message::ClassData*UserControl::GetClassData() const { return &_class_data_; }

void UserControl::MergeImpl(::herogoogle::protobuf::Message* to,
                      const ::herogoogle::protobuf::Message& from) {
  static_cast<UserControl *>(to)->MergeFrom(
      static_cast<const UserControl &>(from));
}


void UserControl::MergeFrom(const UserControl& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:heroim.client.v3beta.dto.user.model.UserControl)
  GOOGLE_DCHECK_NE(&from, this);
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  if (from._internal_has_messagedetail()) {
    _internal_mutable_messagedetail()->::heroim::client::v3beta::dto::user::model::UserControlDetail::MergeFrom(from._internal_messagedetail());
  }
  if (from._internal_has_talkdetail()) {
    _internal_mutable_talkdetail()->::heroim::client::v3beta::dto::user::model::UserControlDetail::MergeFrom(from._internal_talkdetail());
  }
  if (from._internal_message() != 0) {
    _internal_set_message(from._internal_message());
  }
  if (from._internal_talk() != 0) {
    _internal_set_talk(from._internal_talk());
  }
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
}

void UserControl::CopyFrom(const UserControl& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:heroim.client.v3beta.dto.user.model.UserControl)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool UserControl::IsInitialized() const {
  return true;
}

void UserControl::InternalSwap(UserControl* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  ::herogoogle::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(UserControl, talk_)
      + sizeof(UserControl::talk_)
      - PROTOBUF_FIELD_OFFSET(UserControl, messagedetail_)>(
          reinterpret_cast<char*>(&messagedetail_),
          reinterpret_cast<char*>(&other->messagedetail_));
}

::herogoogle::protobuf::Metadata UserControl::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[7]);
}

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

class UserControlDetail::_Internal {
 public:
};

UserControlDetail::UserControlDetail(::herogoogle::protobuf::Arena* arena,
                         bool is_message_owned)
  : ::herogoogle::protobuf::Message(arena, is_message_owned) {
  SharedCtor();
  if (!is_message_owned) {
    RegisterArenaDtor(arena);
  }
  // @@protoc_insertion_point(arena_constructor:heroim.client.v3beta.dto.user.model.UserControlDetail)
}
UserControlDetail::UserControlDetail(const UserControlDetail& from)
  : ::herogoogle::protobuf::Message() {
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
  reason_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_reason().empty()) {
    reason_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_reason(), 
      GetArenaForAllocation());
  }
  endtime_ = from.endtime_;
  // @@protoc_insertion_point(copy_constructor:heroim.client.v3beta.dto.user.model.UserControlDetail)
}

void UserControlDetail::SharedCtor() {
reason_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
endtime_ = int64_t{0};
}

UserControlDetail::~UserControlDetail() {
  // @@protoc_insertion_point(destructor:heroim.client.v3beta.dto.user.model.UserControlDetail)
  if (GetArenaForAllocation() != nullptr) return;
  SharedDtor();
  _internal_metadata_.Delete<::herogoogle::protobuf::UnknownFieldSet>();
}

inline void UserControlDetail::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  reason_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
}

void UserControlDetail::ArenaDtor(void* object) {
  UserControlDetail* _this = reinterpret_cast< UserControlDetail* >(object);
  (void)_this;
}
void UserControlDetail::RegisterArenaDtor(::herogoogle::protobuf::Arena*) {
}
void UserControlDetail::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}

void UserControlDetail::Clear() {
// @@protoc_insertion_point(message_clear_start:heroim.client.v3beta.dto.user.model.UserControlDetail)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  reason_.ClearToEmpty();
  endtime_ = int64_t{0};
  _internal_metadata_.Clear<::herogoogle::protobuf::UnknownFieldSet>();
}

const char* UserControlDetail::_InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::herogoogle::protobuf::uint32 tag;
    ptr = ::herogoogle::protobuf::internal::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // int64 endTime = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 8)) {
          endtime_ = ::herogoogle::protobuf::internal::ReadVarint64(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string reason = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 18)) {
          auto str = _internal_mutable_reason();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.user.model.UserControlDetail.reason"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::herogoogle::protobuf::uint8* UserControlDetail::_InternalSerialize(
    ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:heroim.client.v3beta.dto.user.model.UserControlDetail)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // int64 endTime = 1;
  if (this->_internal_endtime() != 0) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_endtime(), target);
  }

  // string reason = 2;
  if (!this->_internal_reason().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_reason().data(), static_cast<int>(this->_internal_reason().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.user.model.UserControlDetail.reason");
    target = stream->WriteStringMaybeAliased(
        2, this->_internal_reason(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::herogoogle::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(::herogoogle::protobuf::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:heroim.client.v3beta.dto.user.model.UserControlDetail)
  return target;
}

size_t UserControlDetail::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:heroim.client.v3beta.dto.user.model.UserControlDetail)
  size_t total_size = 0;

  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // string reason = 2;
  if (!this->_internal_reason().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_reason());
  }

  // int64 endTime = 1;
  if (this->_internal_endtime() != 0) {
    total_size += ::herogoogle::protobuf::internal::WireFormatLite::Int64SizePlusOne(this->_internal_endtime());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::herogoogle::protobuf::Message::ClassData UserControlDetail::_class_data_ = {
    ::herogoogle::protobuf::Message::CopyWithSizeCheck,
    UserControlDetail::MergeImpl
};
const ::herogoogle::protobuf::Message::ClassData*UserControlDetail::GetClassData() const { return &_class_data_; }

void UserControlDetail::MergeImpl(::herogoogle::protobuf::Message* to,
                      const ::herogoogle::protobuf::Message& from) {
  static_cast<UserControlDetail *>(to)->MergeFrom(
      static_cast<const UserControlDetail &>(from));
}


void UserControlDetail::MergeFrom(const UserControlDetail& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:heroim.client.v3beta.dto.user.model.UserControlDetail)
  GOOGLE_DCHECK_NE(&from, this);
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  if (!from._internal_reason().empty()) {
    _internal_set_reason(from._internal_reason());
  }
  if (from._internal_endtime() != 0) {
    _internal_set_endtime(from._internal_endtime());
  }
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
}

void UserControlDetail::CopyFrom(const UserControlDetail& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:heroim.client.v3beta.dto.user.model.UserControlDetail)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool UserControlDetail::IsInitialized() const {
  return true;
}

void UserControlDetail::InternalSwap(UserControlDetail* other) {
  using std::swap;
  auto* lhs_arena = GetArenaForAllocation();
  auto* rhs_arena = other->GetArenaForAllocation();
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &reason_, lhs_arena,
      &other->reason_, rhs_arena
  );
  swap(endtime_, other->endtime_);
}

::herogoogle::protobuf::Metadata UserControlDetail::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fuser_2fmodel_2fuser_5fmodel_2eproto[8]);
}

// @@protoc_insertion_point(namespace_scope)
}  // namespace model
}  // namespace user
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::user::model::UserKey* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::user::model::UserKey >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::user::model::UserKey >(arena);
}
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::user::model::User_ExtraEntry_DoNotUse* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::user::model::User_ExtraEntry_DoNotUse >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::user::model::User_ExtraEntry_DoNotUse >(arena);
}
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::user::model::User* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::user::model::User >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::user::model::User >(arena);
}
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::user::model::UserSimple_ExtraEntry_DoNotUse* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::user::model::UserSimple_ExtraEntry_DoNotUse >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::user::model::UserSimple_ExtraEntry_DoNotUse >(arena);
}
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::user::model::UserSimple* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::user::model::UserSimple >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::user::model::UserSimple >(arena);
}
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::user::model::UserStatus_ExtraEntry_DoNotUse* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::user::model::UserStatus_ExtraEntry_DoNotUse >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::user::model::UserStatus_ExtraEntry_DoNotUse >(arena);
}
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::user::model::UserStatus* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::user::model::UserStatus >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::user::model::UserStatus >(arena);
}
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::user::model::UserControl* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::user::model::UserControl >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::user::model::UserControl >(arena);
}
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::user::model::UserControlDetail* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::user::model::UserControlDetail >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::user::model::UserControlDetail >(arena);
}
PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

