diff --git a/server/imserver/CMakeLists.txt b/server/imserver/CMakeLists.txt index a14fbfc..0cfd074 100644 --- a/server/imserver/CMakeLists.txt +++ b/server/imserver/CMakeLists.txt @@ -99,11 +99,11 @@ add_executable( imserver${GAME_ID} ${SRC_LIST} ) -# add_custom_target(script_pb_protocol ALL) -# add_custom_command(TARGET script_pb_protocol -# PRE_BUILD -# COMMAND python ../../third_party/tools/scripts/construct/build_pb.py --cpp_out=. --pb_files=cs_proto,cs_msgid,ss_proto,ss_msgid) -# add_dependencies(imserver${GAME_ID} script_pb_protocol) +add_custom_target(script_pb_protocol ALL) +add_custom_command(TARGET script_pb_protocol + PRE_BUILD + COMMAND python ../../third_party/tools/scripts/construct/build_pb.py --cpp_out=. --pb_files=cs_proto,cs_msgid,ss_proto,ss_msgid) +add_dependencies(imserver${GAME_ID} script_pb_protocol) target_link_libraries( imserver${GAME_ID} diff --git a/server/imserver/cs_msgid.pb.cc b/server/imserver/cs_msgid.pb.cc index e69de29..b2290fc 100644 --- a/server/imserver/cs_msgid.pb.cc +++ b/server/imserver/cs_msgid.pb.cc @@ -0,0 +1,148 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cs_msgid.proto + +#include "cs_msgid.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// This is a temporary google only hack +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS +#include "third_party/protobuf/version.h" +#endif +// @@protoc_insertion_point(includes) + +namespace cs { +} // namespace cs +namespace protobuf_cs_5fmsgid_2eproto { +void InitDefaults() { +} + +const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2]; +const ::google::protobuf::uint32 TableStruct::offsets[1] = {}; +static const ::google::protobuf::internal::MigrationSchema* schemas = NULL; +static const ::google::protobuf::Message* const* file_default_instances = NULL; + +void protobuf_AssignDescriptors() { + AddDescriptors(); + AssignDescriptors( + "cs_msgid.proto", schemas, file_default_instances, TableStruct::offsets, + NULL, file_level_enum_descriptors, NULL); +} + +void protobuf_AssignDescriptorsOnce() { + static ::google::protobuf::internal::once_flag once; + ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors); +} + +void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +void AddDescriptorsImpl() { + InitDefaults(); + static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + "\n\016cs_msgid.proto\022\002cs*\337\001\n\rCMMessageId_e\022\013" + "\n\007_CMPing\020e\022\014\n\010_CMLogin\020g\022\023\n\016_CMSendChat" + "Msg\020\227\001\022\025\n\020_CMSendCustomMsg\020\230\001\022 \n\033_CMRead" + "MsgAndOpenChatNotify\020\235\001\022\027\n\022_CMCloseChatN" + "otify\020\236\001\022 \n\033_CMSetCurrPrivateChatTarget\020" + "\237\001\022\025\n\020_CMGuildMsgBegin\020\346\001\022\023\n\016_CMGuildMsg" + "End\020\216\002*\300\003\n\rSMMessageId_e\022\013\n\007_SMPing\020e\022\017\n" + "\013_SMRpcError\020f\022\014\n\010_SMLogin\020g\022\025\n\020_SMGuild" + "MsgBegin\020\346\001\022\023\n\016_SMGuildMsgEnd\020\216\002\022\030\n\023_SMU" + "serStatusNotify\020\365\003\022\024\n\017_SMShowErrorMsg\020\374\003" + "\022\027\n\022_SMCustomMsgNotify\020\367\003\022\025\n\020_SMChatMsgN" + "otify\020\202\004\022 \n\033_SMUpdateChatRedPointNotify\020" + "\377\003\022\037\n\032_SMUpdateChatChannelLastId\020\200\004\022\'\n\"_" + "SMUpdatePrivateChatRedPointNotify\020\201\004\022\026\n\021" + "_SMUserInfoUpdate\020\366\003\022\032\n\025_SMDeleteFriendN" + "otify\020\371\003\022\034\n\027_SMUpdateRedPointNotify\020\373\003\022\032" + "\n\025_SMAddBlackListNotify\020\375\003\022\035\n\030_SMDeleteB" + "lackListNotify\020\376\003" + }; + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + descriptor, 697); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "cs_msgid.proto", &protobuf_RegisterTypes); +} + +void AddDescriptors() { + static ::google::protobuf::internal::once_flag once; + ::google::protobuf::internal::call_once(once, AddDescriptorsImpl); +} +// Force AddDescriptors() to be called at dynamic initialization time. +struct StaticDescriptorInitializer { + StaticDescriptorInitializer() { + AddDescriptors(); + } +} static_descriptor_initializer; +} // namespace protobuf_cs_5fmsgid_2eproto +namespace cs { +const ::google::protobuf::EnumDescriptor* CMMessageId_e_descriptor() { + protobuf_cs_5fmsgid_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_cs_5fmsgid_2eproto::file_level_enum_descriptors[0]; +} +bool CMMessageId_e_IsValid(int value) { + switch (value) { + case 101: + case 103: + case 151: + case 152: + case 157: + case 158: + case 159: + case 230: + case 270: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* SMMessageId_e_descriptor() { + protobuf_cs_5fmsgid_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_cs_5fmsgid_2eproto::file_level_enum_descriptors[1]; +} +bool SMMessageId_e_IsValid(int value) { + switch (value) { + case 101: + case 102: + case 103: + case 230: + case 270: + case 501: + case 502: + case 503: + case 505: + case 507: + case 508: + case 509: + case 510: + case 511: + case 512: + case 513: + case 514: + return true; + default: + return false; + } +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace cs +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) diff --git a/server/imserver/cs_msgid.pb.h b/server/imserver/cs_msgid.pb.h index e69de29..03b89ea 100644 --- a/server/imserver/cs_msgid.pb.h +++ b/server/imserver/cs_msgid.pb.h @@ -0,0 +1,150 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cs_msgid.proto + +#ifndef PROTOBUF_INCLUDED_cs_5fmsgid_2eproto +#define PROTOBUF_INCLUDED_cs_5fmsgid_2eproto + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 3006001 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +// @@protoc_insertion_point(includes) +#define PROTOBUF_INTERNAL_EXPORT_protobuf_cs_5fmsgid_2eproto + +namespace protobuf_cs_5fmsgid_2eproto { +// Internal implementation detail -- do not use these members. +struct TableStruct { + static const ::google::protobuf::internal::ParseTableField entries[]; + static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; + static const ::google::protobuf::internal::ParseTable schema[1]; + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors(); +} // namespace protobuf_cs_5fmsgid_2eproto +namespace cs { +} // namespace cs +namespace cs { + +enum CMMessageId_e { + _CMPing = 101, + _CMLogin = 103, + _CMSendChatMsg = 151, + _CMSendCustomMsg = 152, + _CMReadMsgAndOpenChatNotify = 157, + _CMCloseChatNotify = 158, + _CMSetCurrPrivateChatTarget = 159, + _CMGuildMsgBegin = 230, + _CMGuildMsgEnd = 270 +}; +bool CMMessageId_e_IsValid(int value); +const CMMessageId_e CMMessageId_e_MIN = _CMPing; +const CMMessageId_e CMMessageId_e_MAX = _CMGuildMsgEnd; +const int CMMessageId_e_ARRAYSIZE = CMMessageId_e_MAX + 1; + +const ::google::protobuf::EnumDescriptor* CMMessageId_e_descriptor(); +inline const ::std::string& CMMessageId_e_Name(CMMessageId_e value) { + return ::google::protobuf::internal::NameOfEnum( + CMMessageId_e_descriptor(), value); +} +inline bool CMMessageId_e_Parse( + const ::std::string& name, CMMessageId_e* value) { + return ::google::protobuf::internal::ParseNamedEnum( + CMMessageId_e_descriptor(), name, value); +} +enum SMMessageId_e { + _SMPing = 101, + _SMRpcError = 102, + _SMLogin = 103, + _SMGuildMsgBegin = 230, + _SMGuildMsgEnd = 270, + _SMUserStatusNotify = 501, + _SMShowErrorMsg = 508, + _SMCustomMsgNotify = 503, + _SMChatMsgNotify = 514, + _SMUpdateChatRedPointNotify = 511, + _SMUpdateChatChannelLastId = 512, + _SMUpdatePrivateChatRedPointNotify = 513, + _SMUserInfoUpdate = 502, + _SMDeleteFriendNotify = 505, + _SMUpdateRedPointNotify = 507, + _SMAddBlackListNotify = 509, + _SMDeleteBlackListNotify = 510 +}; +bool SMMessageId_e_IsValid(int value); +const SMMessageId_e SMMessageId_e_MIN = _SMPing; +const SMMessageId_e SMMessageId_e_MAX = _SMChatMsgNotify; +const int SMMessageId_e_ARRAYSIZE = SMMessageId_e_MAX + 1; + +const ::google::protobuf::EnumDescriptor* SMMessageId_e_descriptor(); +inline const ::std::string& SMMessageId_e_Name(SMMessageId_e value) { + return ::google::protobuf::internal::NameOfEnum( + SMMessageId_e_descriptor(), value); +} +inline bool SMMessageId_e_Parse( + const ::std::string& name, SMMessageId_e* value) { + return ::google::protobuf::internal::ParseNamedEnum( + SMMessageId_e_descriptor(), name, value); +} +// =================================================================== + + +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) + +} // namespace cs + +namespace google { +namespace protobuf { + +template <> struct is_proto_enum< ::cs::CMMessageId_e> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::cs::CMMessageId_e>() { + return ::cs::CMMessageId_e_descriptor(); +} +template <> struct is_proto_enum< ::cs::SMMessageId_e> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::cs::SMMessageId_e>() { + return ::cs::SMMessageId_e_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_INCLUDED_cs_5fmsgid_2eproto diff --git a/server/imserver/cs_proto.pb.cc b/server/imserver/cs_proto.pb.cc index e69de29..0fc8abf 100644 --- a/server/imserver/cs_proto.pb.cc +++ b/server/imserver/cs_proto.pb.cc @@ -0,0 +1,11898 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cs_proto.proto + +#include "cs_proto.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// This is a temporary google only hack +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS +#include "third_party/protobuf/version.h" +#endif +// @@protoc_insertion_point(includes) + +namespace protobuf_cs_5fproto_2eproto { +extern PROTOBUF_INTERNAL_EXPORT_protobuf_cs_5fproto_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_MFBaseUserData; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_cs_5fproto_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_MFPairInt64; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_cs_5fproto_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_MFAccountInfo; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_cs_5fproto_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_MFChatMsg; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_cs_5fproto_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_MFUserInfo; +} // namespace protobuf_cs_5fproto_2eproto +namespace cs { +class CMPingDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _CMPing_default_instance_; +class SMPingDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMPing_default_instance_; +class MFStringTupleDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _MFStringTuple_default_instance_; +class MFPairInt32DefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _MFPairInt32_default_instance_; +class MFPairInt64DefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _MFPairInt64_default_instance_; +class MFPagingDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _MFPaging_default_instance_; +class MFBaseUserDataDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _MFBaseUserData_default_instance_; +class MFAccountInfoDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _MFAccountInfo_default_instance_; +class MFUserInfoDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _MFUserInfo_default_instance_; +class MFUserStatusDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _MFUserStatus_default_instance_; +class MFGuildBasicDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _MFGuildBasic_default_instance_; +class MFChatMsgDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _MFChatMsg_default_instance_; +class CMLoginDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _CMLogin_default_instance_; +class SMLoginDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMLogin_default_instance_; +class CMSendChatMsgDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _CMSendChatMsg_default_instance_; +class CMReadMsgAndOpenChatNotifyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _CMReadMsgAndOpenChatNotify_default_instance_; +class CMSetCurrPrivateChatTargetDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _CMSetCurrPrivateChatTarget_default_instance_; +class CMCloseChatNotifyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _CMCloseChatNotify_default_instance_; +class CMSendCustomMsgDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _CMSendCustomMsg_default_instance_; +class SMUserStatusNotifyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMUserStatusNotify_default_instance_; +class SMChatMsgNotifyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMChatMsgNotify_default_instance_; +class SMCustomMsgNotifyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMCustomMsgNotify_default_instance_; +class SMUserInfoUpdateDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMUserInfoUpdate_default_instance_; +class SMDeleteFriendNotifyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMDeleteFriendNotify_default_instance_; +class SMAddBlackListNotifyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMAddBlackListNotify_default_instance_; +class SMDeleteBlackListNotifyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMDeleteBlackListNotify_default_instance_; +class SMUpdateRedPointNotifyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMUpdateRedPointNotify_default_instance_; +class SMUpdateChatRedPointNotifyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMUpdateChatRedPointNotify_default_instance_; +class SMUpdatePrivateChatRedPointNotifyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMUpdatePrivateChatRedPointNotify_default_instance_; +class SMUpdateChatChannelLastIdDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMUpdateChatChannelLastId_default_instance_; +class SMShowErrorMsgDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed + _instance; +} _SMShowErrorMsg_default_instance_; +} // namespace cs +namespace protobuf_cs_5fproto_2eproto { +static void InitDefaultsCMPing() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_CMPing_default_instance_; + new (ptr) ::cs::CMPing(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::CMPing::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CMPing = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCMPing}, {}}; + +static void InitDefaultsSMPing() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMPing_default_instance_; + new (ptr) ::cs::SMPing(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMPing::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SMPing = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSMPing}, {}}; + +static void InitDefaultsMFStringTuple() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_MFStringTuple_default_instance_; + new (ptr) ::cs::MFStringTuple(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::MFStringTuple::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_MFStringTuple = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMFStringTuple}, {}}; + +static void InitDefaultsMFPairInt32() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_MFPairInt32_default_instance_; + new (ptr) ::cs::MFPairInt32(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::MFPairInt32::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_MFPairInt32 = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMFPairInt32}, {}}; + +static void InitDefaultsMFPairInt64() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_MFPairInt64_default_instance_; + new (ptr) ::cs::MFPairInt64(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::MFPairInt64::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_MFPairInt64 = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMFPairInt64}, {}}; + +static void InitDefaultsMFPaging() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_MFPaging_default_instance_; + new (ptr) ::cs::MFPaging(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::MFPaging::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_MFPaging = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMFPaging}, {}}; + +static void InitDefaultsMFBaseUserData() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_MFBaseUserData_default_instance_; + new (ptr) ::cs::MFBaseUserData(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::MFBaseUserData::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_MFBaseUserData = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMFBaseUserData}, {}}; + +static void InitDefaultsMFAccountInfo() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_MFAccountInfo_default_instance_; + new (ptr) ::cs::MFAccountInfo(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::MFAccountInfo::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_MFAccountInfo = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsMFAccountInfo}, { + &protobuf_cs_5fproto_2eproto::scc_info_MFUserInfo.base,}}; + +static void InitDefaultsMFUserInfo() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_MFUserInfo_default_instance_; + new (ptr) ::cs::MFUserInfo(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::MFUserInfo::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_MFUserInfo = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsMFUserInfo}, { + &protobuf_cs_5fproto_2eproto::scc_info_MFBaseUserData.base,}}; + +static void InitDefaultsMFUserStatus() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_MFUserStatus_default_instance_; + new (ptr) ::cs::MFUserStatus(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::MFUserStatus::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_MFUserStatus = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMFUserStatus}, {}}; + +static void InitDefaultsMFGuildBasic() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_MFGuildBasic_default_instance_; + new (ptr) ::cs::MFGuildBasic(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::MFGuildBasic::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_MFGuildBasic = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMFGuildBasic}, {}}; + +static void InitDefaultsMFChatMsg() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_MFChatMsg_default_instance_; + new (ptr) ::cs::MFChatMsg(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::MFChatMsg::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_MFChatMsg = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsMFChatMsg}, { + &protobuf_cs_5fproto_2eproto::scc_info_MFUserInfo.base,}}; + +static void InitDefaultsCMLogin() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_CMLogin_default_instance_; + new (ptr) ::cs::CMLogin(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::CMLogin::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CMLogin = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCMLogin}, {}}; + +static void InitDefaultsSMLogin() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMLogin_default_instance_; + new (ptr) ::cs::SMLogin(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMLogin::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_SMLogin = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSMLogin}, { + &protobuf_cs_5fproto_2eproto::scc_info_MFAccountInfo.base,}}; + +static void InitDefaultsCMSendChatMsg() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_CMSendChatMsg_default_instance_; + new (ptr) ::cs::CMSendChatMsg(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::CMSendChatMsg::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CMSendChatMsg = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCMSendChatMsg}, {}}; + +static void InitDefaultsCMReadMsgAndOpenChatNotify() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_CMReadMsgAndOpenChatNotify_default_instance_; + new (ptr) ::cs::CMReadMsgAndOpenChatNotify(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::CMReadMsgAndOpenChatNotify::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_CMReadMsgAndOpenChatNotify = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCMReadMsgAndOpenChatNotify}, { + &protobuf_cs_5fproto_2eproto::scc_info_MFPairInt64.base,}}; + +static void InitDefaultsCMSetCurrPrivateChatTarget() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_CMSetCurrPrivateChatTarget_default_instance_; + new (ptr) ::cs::CMSetCurrPrivateChatTarget(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::CMSetCurrPrivateChatTarget::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CMSetCurrPrivateChatTarget = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCMSetCurrPrivateChatTarget}, {}}; + +static void InitDefaultsCMCloseChatNotify() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_CMCloseChatNotify_default_instance_; + new (ptr) ::cs::CMCloseChatNotify(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::CMCloseChatNotify::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CMCloseChatNotify = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCMCloseChatNotify}, {}}; + +static void InitDefaultsCMSendCustomMsg() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_CMSendCustomMsg_default_instance_; + new (ptr) ::cs::CMSendCustomMsg(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::CMSendCustomMsg::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CMSendCustomMsg = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCMSendCustomMsg}, {}}; + +static void InitDefaultsSMUserStatusNotify() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMUserStatusNotify_default_instance_; + new (ptr) ::cs::SMUserStatusNotify(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMUserStatusNotify::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SMUserStatusNotify = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSMUserStatusNotify}, {}}; + +static void InitDefaultsSMChatMsgNotify() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMChatMsgNotify_default_instance_; + new (ptr) ::cs::SMChatMsgNotify(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMChatMsgNotify::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_SMChatMsgNotify = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSMChatMsgNotify}, { + &protobuf_cs_5fproto_2eproto::scc_info_MFChatMsg.base,}}; + +static void InitDefaultsSMCustomMsgNotify() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMCustomMsgNotify_default_instance_; + new (ptr) ::cs::SMCustomMsgNotify(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMCustomMsgNotify::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SMCustomMsgNotify = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSMCustomMsgNotify}, {}}; + +static void InitDefaultsSMUserInfoUpdate() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMUserInfoUpdate_default_instance_; + new (ptr) ::cs::SMUserInfoUpdate(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMUserInfoUpdate::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_SMUserInfoUpdate = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSMUserInfoUpdate}, { + &protobuf_cs_5fproto_2eproto::scc_info_MFUserInfo.base,}}; + +static void InitDefaultsSMDeleteFriendNotify() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMDeleteFriendNotify_default_instance_; + new (ptr) ::cs::SMDeleteFriendNotify(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMDeleteFriendNotify::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SMDeleteFriendNotify = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSMDeleteFriendNotify}, {}}; + +static void InitDefaultsSMAddBlackListNotify() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMAddBlackListNotify_default_instance_; + new (ptr) ::cs::SMAddBlackListNotify(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMAddBlackListNotify::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_SMAddBlackListNotify = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSMAddBlackListNotify}, { + &protobuf_cs_5fproto_2eproto::scc_info_MFUserInfo.base,}}; + +static void InitDefaultsSMDeleteBlackListNotify() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMDeleteBlackListNotify_default_instance_; + new (ptr) ::cs::SMDeleteBlackListNotify(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMDeleteBlackListNotify::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SMDeleteBlackListNotify = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSMDeleteBlackListNotify}, {}}; + +static void InitDefaultsSMUpdateRedPointNotify() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMUpdateRedPointNotify_default_instance_; + new (ptr) ::cs::SMUpdateRedPointNotify(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMUpdateRedPointNotify::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SMUpdateRedPointNotify = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSMUpdateRedPointNotify}, {}}; + +static void InitDefaultsSMUpdateChatRedPointNotify() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMUpdateChatRedPointNotify_default_instance_; + new (ptr) ::cs::SMUpdateChatRedPointNotify(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMUpdateChatRedPointNotify::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SMUpdateChatRedPointNotify = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSMUpdateChatRedPointNotify}, {}}; + +static void InitDefaultsSMUpdatePrivateChatRedPointNotify() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMUpdatePrivateChatRedPointNotify_default_instance_; + new (ptr) ::cs::SMUpdatePrivateChatRedPointNotify(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMUpdatePrivateChatRedPointNotify::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SMUpdatePrivateChatRedPointNotify = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSMUpdatePrivateChatRedPointNotify}, {}}; + +static void InitDefaultsSMUpdateChatChannelLastId() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMUpdateChatChannelLastId_default_instance_; + new (ptr) ::cs::SMUpdateChatChannelLastId(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMUpdateChatChannelLastId::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_SMUpdateChatChannelLastId = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSMUpdateChatChannelLastId}, { + &protobuf_cs_5fproto_2eproto::scc_info_MFPairInt64.base,}}; + +static void InitDefaultsSMShowErrorMsg() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::cs::_SMShowErrorMsg_default_instance_; + new (ptr) ::cs::SMShowErrorMsg(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::cs::SMShowErrorMsg::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SMShowErrorMsg = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSMShowErrorMsg}, {}}; + +void InitDefaults() { + ::google::protobuf::internal::InitSCC(&scc_info_CMPing.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMPing.base); + ::google::protobuf::internal::InitSCC(&scc_info_MFStringTuple.base); + ::google::protobuf::internal::InitSCC(&scc_info_MFPairInt32.base); + ::google::protobuf::internal::InitSCC(&scc_info_MFPairInt64.base); + ::google::protobuf::internal::InitSCC(&scc_info_MFPaging.base); + ::google::protobuf::internal::InitSCC(&scc_info_MFBaseUserData.base); + ::google::protobuf::internal::InitSCC(&scc_info_MFAccountInfo.base); + ::google::protobuf::internal::InitSCC(&scc_info_MFUserInfo.base); + ::google::protobuf::internal::InitSCC(&scc_info_MFUserStatus.base); + ::google::protobuf::internal::InitSCC(&scc_info_MFGuildBasic.base); + ::google::protobuf::internal::InitSCC(&scc_info_MFChatMsg.base); + ::google::protobuf::internal::InitSCC(&scc_info_CMLogin.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMLogin.base); + ::google::protobuf::internal::InitSCC(&scc_info_CMSendChatMsg.base); + ::google::protobuf::internal::InitSCC(&scc_info_CMReadMsgAndOpenChatNotify.base); + ::google::protobuf::internal::InitSCC(&scc_info_CMSetCurrPrivateChatTarget.base); + ::google::protobuf::internal::InitSCC(&scc_info_CMCloseChatNotify.base); + ::google::protobuf::internal::InitSCC(&scc_info_CMSendCustomMsg.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMUserStatusNotify.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMChatMsgNotify.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMCustomMsgNotify.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMUserInfoUpdate.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMDeleteFriendNotify.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMAddBlackListNotify.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMDeleteBlackListNotify.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMUpdateRedPointNotify.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMUpdateChatRedPointNotify.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMUpdatePrivateChatRedPointNotify.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMUpdateChatChannelLastId.base); + ::google::protobuf::internal::InitSCC(&scc_info_SMShowErrorMsg.base); +} + +::google::protobuf::Metadata file_level_metadata[31]; +const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1]; + +const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMPing, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMPing, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMPing, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMPing, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMPing, param1_), + 0, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFStringTuple, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFStringTuple, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFStringTuple, values_), + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPairInt32, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPairInt32, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPairInt32, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPairInt32, val_), + 0, + 1, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPairInt64, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPairInt64, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPairInt64, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPairInt64, val_), + 0, + 1, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPaging, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPaging, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPaging, curr_page_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPaging, page_size_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPaging, _total_page_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFPaging, _total_count_), + 0, + 1, + 2, + 3, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, nickname_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, avatar_url_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, sex_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, last_login_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, guild_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, guild_job_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, vip_lv_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, head_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, contribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, zid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, user_value1_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, user_value2_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, user_value3_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, base_data_version_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFBaseUserData, online_), + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 13, + 10, + 11, + 12, + 15, + 14, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFAccountInfo, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFAccountInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFAccountInfo, user_info_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFAccountInfo, user_sign_), + 1, + 0, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFUserInfo, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFUserInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFUserInfo, base_data_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFUserInfo, is_sys_user_), + 0, + 1, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFUserStatus, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFUserStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFUserStatus, account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFUserStatus, online_), + 0, + 1, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, guild_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, guild_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, guild_lv_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, guild_exp_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, guild_badge_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, member_num_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, guild_declaration_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, owner_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, owner_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, owner_avatar_url_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, owner_sex_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, owner_vip_lv_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, owner_head_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, join_unlimited_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, join_cond1_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, join_cond2_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, applyed_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, _gameid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, _channel_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, _createtime_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, _modifytime_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, _name_ext1_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, _name_ext2_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFGuildBasic, _guild_status_), + 5, + 0, + 7, + 6, + 8, + 9, + 1, + 2, + 3, + 4, + 16, + 11, + 12, + 10, + 13, + 14, + 15, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFChatMsg, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFChatMsg, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFChatMsg, msg_uuid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFChatMsg, sender_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFChatMsg, receiver_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFChatMsg, chat_channel_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFChatMsg, msg_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFChatMsg, msg_body_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::MFChatMsg, send_time_), + 3, + 1, + 2, + 4, + 5, + 0, + 6, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMLogin, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMLogin, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMLogin, reserved1_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMLogin, reserved2_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMLogin, account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMLogin, session_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMLogin, proto_version_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMLogin, zid_), + 3, + 0, + 1, + 2, + 4, + 5, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMLogin, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMLogin, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMLogin, errcode_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMLogin, errmsg_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMLogin, account_info_), + 2, + 0, + 1, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendChatMsg, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendChatMsg, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendChatMsg, chat_channel_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendChatMsg, target_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendChatMsg, msg_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendChatMsg, msg_body_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendChatMsg, members_), + 2, + 0, + 3, + 1, + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMReadMsgAndOpenChatNotify, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMReadMsgAndOpenChatNotify, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMReadMsgAndOpenChatNotify, curr_channel_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMReadMsgAndOpenChatNotify, last_ids_), + 0, + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSetCurrPrivateChatTarget, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSetCurrPrivateChatTarget, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSetCurrPrivateChatTarget, private_target_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSetCurrPrivateChatTarget, last_id_), + 0, + 1, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMCloseChatNotify, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMCloseChatNotify, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendCustomMsg, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendCustomMsg, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendCustomMsg, target_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendCustomMsg, msg_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendCustomMsg, param1_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendCustomMsg, param2_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::CMSendCustomMsg, param3_), + ~0u, + 0, + 1, + 2, + 3, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUserStatusNotify, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUserStatusNotify, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUserStatusNotify, online_users_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUserStatusNotify, offline_users_), + ~0u, + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMChatMsgNotify, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMChatMsgNotify, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMChatMsgNotify, msg_list_), + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMCustomMsgNotify, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMCustomMsgNotify, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMCustomMsgNotify, sender_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMCustomMsgNotify, msg_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMCustomMsgNotify, param1_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMCustomMsgNotify, param2_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMCustomMsgNotify, param3_), + 0, + 1, + 2, + 3, + 4, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUserInfoUpdate, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUserInfoUpdate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUserInfoUpdate, user_infos_), + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMDeleteFriendNotify, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMDeleteFriendNotify, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMDeleteFriendNotify, user_list_), + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMAddBlackListNotify, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMAddBlackListNotify, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMAddBlackListNotify, user_infos_), + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMDeleteBlackListNotify, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMDeleteBlackListNotify, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMDeleteBlackListNotify, user_list_), + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdateRedPointNotify, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdateRedPointNotify, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdateRedPointNotify, red_point_flags_), + 0, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdateChatRedPointNotify, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdateChatRedPointNotify, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdateChatRedPointNotify, has_unread_msg_channels_), + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdatePrivateChatRedPointNotify, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdatePrivateChatRedPointNotify, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdatePrivateChatRedPointNotify, has_unread_msg_accounts_), + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdateChatChannelLastId, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdateChatChannelLastId, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMUpdateChatChannelLastId, last_ids_), + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMShowErrorMsg, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMShowErrorMsg, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::cs::SMShowErrorMsg, msg_), + 0, +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + { 0, 5, sizeof(::cs::CMPing)}, + { 5, 11, sizeof(::cs::SMPing)}, + { 12, 18, sizeof(::cs::MFStringTuple)}, + { 19, 26, sizeof(::cs::MFPairInt32)}, + { 28, 35, sizeof(::cs::MFPairInt64)}, + { 37, 46, sizeof(::cs::MFPaging)}, + { 50, 71, sizeof(::cs::MFBaseUserData)}, + { 87, 94, sizeof(::cs::MFAccountInfo)}, + { 96, 103, sizeof(::cs::MFUserInfo)}, + { 105, 112, sizeof(::cs::MFUserStatus)}, + { 114, 143, sizeof(::cs::MFGuildBasic)}, + { 167, 179, sizeof(::cs::MFChatMsg)}, + { 186, 197, sizeof(::cs::CMLogin)}, + { 203, 211, sizeof(::cs::SMLogin)}, + { 214, 224, sizeof(::cs::CMSendChatMsg)}, + { 229, 236, sizeof(::cs::CMReadMsgAndOpenChatNotify)}, + { 238, 245, sizeof(::cs::CMSetCurrPrivateChatTarget)}, + { 247, 252, sizeof(::cs::CMCloseChatNotify)}, + { 252, 262, sizeof(::cs::CMSendCustomMsg)}, + { 267, 274, sizeof(::cs::SMUserStatusNotify)}, + { 276, 282, sizeof(::cs::SMChatMsgNotify)}, + { 283, 293, sizeof(::cs::SMCustomMsgNotify)}, + { 298, 304, sizeof(::cs::SMUserInfoUpdate)}, + { 305, 311, sizeof(::cs::SMDeleteFriendNotify)}, + { 312, 318, sizeof(::cs::SMAddBlackListNotify)}, + { 319, 325, sizeof(::cs::SMDeleteBlackListNotify)}, + { 326, 332, sizeof(::cs::SMUpdateRedPointNotify)}, + { 333, 339, sizeof(::cs::SMUpdateChatRedPointNotify)}, + { 340, 346, sizeof(::cs::SMUpdatePrivateChatRedPointNotify)}, + { 347, 353, sizeof(::cs::SMUpdateChatChannelLastId)}, + { 354, 360, sizeof(::cs::SMShowErrorMsg)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::cs::_CMPing_default_instance_), + reinterpret_cast(&::cs::_SMPing_default_instance_), + reinterpret_cast(&::cs::_MFStringTuple_default_instance_), + reinterpret_cast(&::cs::_MFPairInt32_default_instance_), + reinterpret_cast(&::cs::_MFPairInt64_default_instance_), + reinterpret_cast(&::cs::_MFPaging_default_instance_), + reinterpret_cast(&::cs::_MFBaseUserData_default_instance_), + reinterpret_cast(&::cs::_MFAccountInfo_default_instance_), + reinterpret_cast(&::cs::_MFUserInfo_default_instance_), + reinterpret_cast(&::cs::_MFUserStatus_default_instance_), + reinterpret_cast(&::cs::_MFGuildBasic_default_instance_), + reinterpret_cast(&::cs::_MFChatMsg_default_instance_), + reinterpret_cast(&::cs::_CMLogin_default_instance_), + reinterpret_cast(&::cs::_SMLogin_default_instance_), + reinterpret_cast(&::cs::_CMSendChatMsg_default_instance_), + reinterpret_cast(&::cs::_CMReadMsgAndOpenChatNotify_default_instance_), + reinterpret_cast(&::cs::_CMSetCurrPrivateChatTarget_default_instance_), + reinterpret_cast(&::cs::_CMCloseChatNotify_default_instance_), + reinterpret_cast(&::cs::_CMSendCustomMsg_default_instance_), + reinterpret_cast(&::cs::_SMUserStatusNotify_default_instance_), + reinterpret_cast(&::cs::_SMChatMsgNotify_default_instance_), + reinterpret_cast(&::cs::_SMCustomMsgNotify_default_instance_), + reinterpret_cast(&::cs::_SMUserInfoUpdate_default_instance_), + reinterpret_cast(&::cs::_SMDeleteFriendNotify_default_instance_), + reinterpret_cast(&::cs::_SMAddBlackListNotify_default_instance_), + reinterpret_cast(&::cs::_SMDeleteBlackListNotify_default_instance_), + reinterpret_cast(&::cs::_SMUpdateRedPointNotify_default_instance_), + reinterpret_cast(&::cs::_SMUpdateChatRedPointNotify_default_instance_), + reinterpret_cast(&::cs::_SMUpdatePrivateChatRedPointNotify_default_instance_), + reinterpret_cast(&::cs::_SMUpdateChatChannelLastId_default_instance_), + reinterpret_cast(&::cs::_SMShowErrorMsg_default_instance_), +}; + +void protobuf_AssignDescriptors() { + AddDescriptors(); + AssignDescriptors( + "cs_proto.proto", schemas, file_default_instances, TableStruct::offsets, + file_level_metadata, file_level_enum_descriptors, NULL); +} + +void protobuf_AssignDescriptorsOnce() { + static ::google::protobuf::internal::once_flag once; + ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors); +} + +void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 31); +} + +void AddDescriptorsImpl() { + InitDefaults(); + static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + "\n\016cs_proto.proto\022\002cs\"\010\n\006CMPing\"\030\n\006SMPing" + "\022\016\n\006param1\030\001 \001(\005\"\037\n\rMFStringTuple\022\016\n\006val" + "ues\030\001 \003(\t\"\'\n\013MFPairInt32\022\013\n\003key\030\001 \001(\005\022\013\n" + "\003val\030\002 \001(\005\"\'\n\013MFPairInt64\022\013\n\003key\030\001 \001(\003\022\013" + "\n\003val\030\002 \001(\003\"[\n\010MFPaging\022\021\n\tcurr_page\030\001 \001" + "(\005\022\021\n\tpage_size\030\002 \001(\005\022\023\n\013_total_page\030\003 \001" + "(\005\022\024\n\014_total_count\030\004 \001(\005\"\312\002\n\016MFBaseUserD" + "ata\022\022\n\naccount_id\030\001 \001(\t\022\020\n\010nickname\030\002 \001(" + "\t\022\022\n\navatar_url\030\003 \001(\t\022\013\n\003sex\030\004 \001(\005\022\027\n\017la" + "st_login_time\030\005 \001(\005\022\020\n\010guild_id\030\006 \001(\003\022\021\n" + "\tguild_job\030\007 \001(\005\022\021\n\006vip_lv\030\010 \001(\005:\0010\022\017\n\004h" + "ead\030\t \001(\005:\0010\022\025\n\ncontribute\030\n \001(\005:\0010\022\016\n\003z" + "id\030\013 \001(\005:\0010\022\023\n\013user_value1\0302 \001(\003\022\023\n\013user" + "_value2\0303 \001(\003\022\023\n\013user_value3\0304 \001(\003\022\031\n\021ba" + "se_data_version\030d \001(\003\022\016\n\006online\030e \001(\005\"E\n" + "\rMFAccountInfo\022!\n\tuser_info\030\001 \001(\0132\016.cs.M" + "FUserInfo\022\021\n\tuser_sign\030\002 \001(\t\"H\n\nMFUserIn" + "fo\022%\n\tbase_data\030\001 \001(\0132\022.cs.MFBaseUserDat" + "a\022\023\n\013is_sys_user\030\003 \001(\005\"2\n\014MFUserStatus\022\022" + "\n\naccount_id\030\001 \001(\t\022\016\n\006online\030\002 \001(\005\"\375\003\n\014M" + "FGuildBasic\022\020\n\010guild_id\030\001 \001(\003\022\022\n\nguild_n" + "ame\030\002 \001(\t\022\020\n\010guild_lv\030\003 \001(\005\022\021\n\tguild_exp" + "\030\004 \001(\001\022\023\n\013guild_badge\030\005 \001(\005\022\022\n\nmember_nu" + "m\030\006 \001(\005\022\031\n\021guild_declaration\030\007 \001(\t\022\020\n\010ow" + "ner_id\030\010 \001(\t\022\022\n\nowner_name\030\t \001(\t\022\030\n\020owne" + "r_avatar_url\030\n \001(\t\022\021\n\towner_sex\030\027 \001(\005\022\027\n" + "\014owner_vip_lv\030\014 \001(\005:\0010\022\025\n\nowner_head\030\r \001" + "(\005:\0010\022\026\n\016join_unlimited\030\013 \001(\005\022\022\n\njoin_co" + "nd1\030\024 \001(\005\022\022\n\njoin_cond2\030\025 \001(\005\022\017\n\007applyed" + "\030\026 \001(\005\022\017\n\007_gameid\030d \001(\005\022\020\n\010_channel\030e \001(" + "\005\022\023\n\013_createtime\030f \001(\005\022\023\n\013_modifytime\030g " + "\001(\005\022\022\n\n_name_ext1\030h \001(\003\022\022\n\n_name_ext2\030i " + "\001(\003\022\025\n\r_guild_status\030j \001(\003\"\254\001\n\tMFChatMsg" + "\022\020\n\010msg_uuid\030\001 \001(\003\022\036\n\006sender\030\002 \001(\0132\016.cs." + "MFUserInfo\022 \n\010receiver\030\003 \001(\0132\016.cs.MFUser" + "Info\022\024\n\014chat_channel\030\004 \001(\005\022\020\n\010msg_type\030\005" + " \001(\005\022\020\n\010msg_body\030\006 \001(\t\022\021\n\tsend_time\030\007 \001(" + "\005\"{\n\007CMLogin\022\021\n\treserved1\030\001 \001(\005\022\021\n\treser" + "ved2\030\002 \001(\t\022\022\n\naccount_id\030\003 \001(\t\022\022\n\nsessio" + "n_id\030\024 \001(\t\022\025\n\rproto_version\030\005 \001(\005\022\013\n\003zid" + "\030\n \001(\005\"S\n\007SMLogin\022\017\n\007errcode\030\001 \001(\005\022\016\n\006er" + "rmsg\030\002 \001(\t\022\'\n\014account_info\030\003 \001(\0132\021.cs.MF" + "AccountInfo\"j\n\rCMSendChatMsg\022\024\n\014chat_cha" + "nnel\030\001 \001(\005\022\016\n\006target\030\002 \001(\t\022\020\n\010msg_type\030\003" + " \001(\005\022\020\n\010msg_body\030\004 \001(\t\022\017\n\007members\030\005 \003(\t\"" + "U\n\032CMReadMsgAndOpenChatNotify\022\024\n\014curr_ch" + "annel\030\001 \001(\005\022!\n\010last_ids\030\002 \003(\0132\017.cs.MFPai" + "rInt64\"E\n\032CMSetCurrPrivateChatTarget\022\026\n\016" + "private_target\030\001 \001(\t\022\017\n\007last_id\030\002 \001(\003\"\023\n" + "\021CMCloseChatNotify\"c\n\017CMSendCustomMsg\022\023\n" + "\013target_list\030\001 \003(\t\022\013\n\003msg\030\002 \001(\t\022\016\n\006param" + "1\030\003 \001(\003\022\016\n\006param2\030\004 \001(\003\022\016\n\006param3\030\005 \001(\003\"" + "A\n\022SMUserStatusNotify\022\024\n\014online_users\030\001 " + "\003(\t\022\025\n\roffline_users\030\002 \003(\t\"2\n\017SMChatMsgN" + "otify\022\037\n\010msg_list\030\001 \003(\0132\r.cs.MFChatMsg\"`" + "\n\021SMCustomMsgNotify\022\016\n\006sender\030\001 \001(\t\022\013\n\003m" + "sg\030\002 \001(\t\022\016\n\006param1\030\003 \001(\003\022\016\n\006param2\030\004 \001(\003" + "\022\016\n\006param3\030\005 \001(\003\"6\n\020SMUserInfoUpdate\022\"\n\n" + "user_infos\030\001 \003(\0132\016.cs.MFUserInfo\")\n\024SMDe" + "leteFriendNotify\022\021\n\tuser_list\030\001 \003(\t\":\n\024S" + "MAddBlackListNotify\022\"\n\nuser_infos\030\001 \003(\0132" + "\016.cs.MFUserInfo\",\n\027SMDeleteBlackListNoti" + "fy\022\021\n\tuser_list\030\001 \003(\t\"1\n\026SMUpdateRedPoin" + "tNotify\022\027\n\017red_point_flags\030\001 \001(\005\"=\n\032SMUp" + "dateChatRedPointNotify\022\037\n\027has_unread_msg" + "_channels\030\001 \003(\005\"D\n!SMUpdatePrivateChatRe" + "dPointNotify\022\037\n\027has_unread_msg_accounts\030" + "\001 \003(\t\">\n\031SMUpdateChatChannelLastId\022!\n\010la" + "st_ids\030\001 \003(\0132\017.cs.MFPairInt64\"\035\n\016SMShowE" + "rrorMsg\022\013\n\003msg\030\001 \001(\t*\"\n\nConstant_e\022\024\n\014Pr" + "otoVersion\020\255\337\236\303\007" + }; + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + descriptor, 2816); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "cs_proto.proto", &protobuf_RegisterTypes); +} + +void AddDescriptors() { + static ::google::protobuf::internal::once_flag once; + ::google::protobuf::internal::call_once(once, AddDescriptorsImpl); +} +// Force AddDescriptors() to be called at dynamic initialization time. +struct StaticDescriptorInitializer { + StaticDescriptorInitializer() { + AddDescriptors(); + } +} static_descriptor_initializer; +} // namespace protobuf_cs_5fproto_2eproto +namespace cs { +const ::google::protobuf::EnumDescriptor* Constant_e_descriptor() { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_cs_5fproto_2eproto::file_level_enum_descriptors[0]; +} +bool Constant_e_IsValid(int value) { + switch (value) { + case 2020061101: + return true; + default: + return false; + } +} + + +// =================================================================== + +void CMPing::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CMPing::CMPing() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_CMPing.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.CMPing) +} +CMPing::CMPing(const CMPing& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.CMPing) +} + +void CMPing::SharedCtor() { +} + +CMPing::~CMPing() { + // @@protoc_insertion_point(destructor:cs.CMPing) + SharedDtor(); +} + +void CMPing::SharedDtor() { +} + +void CMPing::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* CMPing::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const CMPing& CMPing::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_CMPing.base); + return *internal_default_instance(); +} + + +void CMPing::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.CMPing) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool CMPing::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.CMPing) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:cs.CMPing) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.CMPing) + return false; +#undef DO_ +} + +void CMPing::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.CMPing) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.CMPing) +} + +::google::protobuf::uint8* CMPing::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.CMPing) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.CMPing) + return target; +} + +size_t CMPing::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.CMPing) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CMPing::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.CMPing) + GOOGLE_DCHECK_NE(&from, this); + const CMPing* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.CMPing) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.CMPing) + MergeFrom(*source); + } +} + +void CMPing::MergeFrom(const CMPing& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.CMPing) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void CMPing::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.CMPing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMPing::CopyFrom(const CMPing& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.CMPing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMPing::IsInitialized() const { + return true; +} + +void CMPing::Swap(CMPing* other) { + if (other == this) return; + InternalSwap(other); +} +void CMPing::InternalSwap(CMPing* other) { + using std::swap; + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata CMPing::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMPing::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMPing::kParam1FieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMPing::SMPing() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMPing.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMPing) +} +SMPing::SMPing(const SMPing& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + param1_ = from.param1_; + // @@protoc_insertion_point(copy_constructor:cs.SMPing) +} + +void SMPing::SharedCtor() { + param1_ = 0; +} + +SMPing::~SMPing() { + // @@protoc_insertion_point(destructor:cs.SMPing) + SharedDtor(); +} + +void SMPing::SharedDtor() { +} + +void SMPing::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMPing::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMPing& SMPing::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMPing.base); + return *internal_default_instance(); +} + + +void SMPing::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMPing) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + param1_ = 0; + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMPing::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMPing) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 param1 = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + set_has_param1(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, ¶m1_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMPing) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMPing) + return false; +#undef DO_ +} + +void SMPing::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMPing) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 param1 = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->param1(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMPing) +} + +::google::protobuf::uint8* SMPing::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMPing) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 param1 = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->param1(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMPing) + return target; +} + +size_t SMPing::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMPing) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // optional int32 param1 = 1; + if (has_param1()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->param1()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMPing::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMPing) + GOOGLE_DCHECK_NE(&from, this); + const SMPing* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMPing) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMPing) + MergeFrom(*source); + } +} + +void SMPing::MergeFrom(const SMPing& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMPing) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_param1()) { + set_param1(from.param1()); + } +} + +void SMPing::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMPing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMPing::CopyFrom(const SMPing& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMPing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMPing::IsInitialized() const { + return true; +} + +void SMPing::Swap(SMPing* other) { + if (other == this) return; + InternalSwap(other); +} +void SMPing::InternalSwap(SMPing* other) { + using std::swap; + swap(param1_, other->param1_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMPing::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void MFStringTuple::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MFStringTuple::kValuesFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MFStringTuple::MFStringTuple() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_MFStringTuple.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.MFStringTuple) +} +MFStringTuple::MFStringTuple(const MFStringTuple& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + values_(from.values_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.MFStringTuple) +} + +void MFStringTuple::SharedCtor() { +} + +MFStringTuple::~MFStringTuple() { + // @@protoc_insertion_point(destructor:cs.MFStringTuple) + SharedDtor(); +} + +void MFStringTuple::SharedDtor() { +} + +void MFStringTuple::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* MFStringTuple::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const MFStringTuple& MFStringTuple::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_MFStringTuple.base); + return *internal_default_instance(); +} + + +void MFStringTuple::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.MFStringTuple) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + values_.Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool MFStringTuple::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.MFStringTuple) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated string values = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_values())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->values(this->values_size() - 1).data(), + static_cast(this->values(this->values_size() - 1).length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFStringTuple.values"); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.MFStringTuple) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.MFStringTuple) + return false; +#undef DO_ +} + +void MFStringTuple::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.MFStringTuple) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string values = 1; + for (int i = 0, n = this->values_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->values(i).data(), static_cast(this->values(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFStringTuple.values"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->values(i), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.MFStringTuple) +} + +::google::protobuf::uint8* MFStringTuple::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.MFStringTuple) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string values = 1; + for (int i = 0, n = this->values_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->values(i).data(), static_cast(this->values(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFStringTuple.values"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(1, this->values(i), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.MFStringTuple) + return target; +} + +size_t MFStringTuple::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.MFStringTuple) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated string values = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->values_size()); + for (int i = 0, n = this->values_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->values(i)); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MFStringTuple::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.MFStringTuple) + GOOGLE_DCHECK_NE(&from, this); + const MFStringTuple* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.MFStringTuple) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.MFStringTuple) + MergeFrom(*source); + } +} + +void MFStringTuple::MergeFrom(const MFStringTuple& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.MFStringTuple) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + values_.MergeFrom(from.values_); +} + +void MFStringTuple::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.MFStringTuple) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MFStringTuple::CopyFrom(const MFStringTuple& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.MFStringTuple) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MFStringTuple::IsInitialized() const { + return true; +} + +void MFStringTuple::Swap(MFStringTuple* other) { + if (other == this) return; + InternalSwap(other); +} +void MFStringTuple::InternalSwap(MFStringTuple* other) { + using std::swap; + values_.InternalSwap(CastToBase(&other->values_)); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata MFStringTuple::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void MFPairInt32::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MFPairInt32::kKeyFieldNumber; +const int MFPairInt32::kValFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MFPairInt32::MFPairInt32() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_MFPairInt32.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.MFPairInt32) +} +MFPairInt32::MFPairInt32(const MFPairInt32& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&key_, &from.key_, + static_cast(reinterpret_cast(&val_) - + reinterpret_cast(&key_)) + sizeof(val_)); + // @@protoc_insertion_point(copy_constructor:cs.MFPairInt32) +} + +void MFPairInt32::SharedCtor() { + ::memset(&key_, 0, static_cast( + reinterpret_cast(&val_) - + reinterpret_cast(&key_)) + sizeof(val_)); +} + +MFPairInt32::~MFPairInt32() { + // @@protoc_insertion_point(destructor:cs.MFPairInt32) + SharedDtor(); +} + +void MFPairInt32::SharedDtor() { +} + +void MFPairInt32::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* MFPairInt32::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const MFPairInt32& MFPairInt32::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_MFPairInt32.base); + return *internal_default_instance(); +} + + +void MFPairInt32::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.MFPairInt32) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 3u) { + ::memset(&key_, 0, static_cast( + reinterpret_cast(&val_) - + reinterpret_cast(&key_)) + sizeof(val_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool MFPairInt32::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.MFPairInt32) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 key = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + set_has_key(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &key_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 val = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + set_has_val(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &val_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.MFPairInt32) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.MFPairInt32) + return false; +#undef DO_ +} + +void MFPairInt32::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.MFPairInt32) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 key = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->key(), output); + } + + // optional int32 val = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->val(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.MFPairInt32) +} + +::google::protobuf::uint8* MFPairInt32::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.MFPairInt32) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 key = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->key(), target); + } + + // optional int32 val = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->val(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.MFPairInt32) + return target; +} + +size_t MFPairInt32::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.MFPairInt32) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 3u) { + // optional int32 key = 1; + if (has_key()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->key()); + } + + // optional int32 val = 2; + if (has_val()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->val()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MFPairInt32::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.MFPairInt32) + GOOGLE_DCHECK_NE(&from, this); + const MFPairInt32* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.MFPairInt32) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.MFPairInt32) + MergeFrom(*source); + } +} + +void MFPairInt32::MergeFrom(const MFPairInt32& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.MFPairInt32) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 3u) { + if (cached_has_bits & 0x00000001u) { + key_ = from.key_; + } + if (cached_has_bits & 0x00000002u) { + val_ = from.val_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void MFPairInt32::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.MFPairInt32) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MFPairInt32::CopyFrom(const MFPairInt32& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.MFPairInt32) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MFPairInt32::IsInitialized() const { + return true; +} + +void MFPairInt32::Swap(MFPairInt32* other) { + if (other == this) return; + InternalSwap(other); +} +void MFPairInt32::InternalSwap(MFPairInt32* other) { + using std::swap; + swap(key_, other->key_); + swap(val_, other->val_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata MFPairInt32::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void MFPairInt64::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MFPairInt64::kKeyFieldNumber; +const int MFPairInt64::kValFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MFPairInt64::MFPairInt64() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_MFPairInt64.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.MFPairInt64) +} +MFPairInt64::MFPairInt64(const MFPairInt64& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&key_, &from.key_, + static_cast(reinterpret_cast(&val_) - + reinterpret_cast(&key_)) + sizeof(val_)); + // @@protoc_insertion_point(copy_constructor:cs.MFPairInt64) +} + +void MFPairInt64::SharedCtor() { + ::memset(&key_, 0, static_cast( + reinterpret_cast(&val_) - + reinterpret_cast(&key_)) + sizeof(val_)); +} + +MFPairInt64::~MFPairInt64() { + // @@protoc_insertion_point(destructor:cs.MFPairInt64) + SharedDtor(); +} + +void MFPairInt64::SharedDtor() { +} + +void MFPairInt64::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* MFPairInt64::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const MFPairInt64& MFPairInt64::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_MFPairInt64.base); + return *internal_default_instance(); +} + + +void MFPairInt64::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.MFPairInt64) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 3u) { + ::memset(&key_, 0, static_cast( + reinterpret_cast(&val_) - + reinterpret_cast(&key_)) + sizeof(val_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool MFPairInt64::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.MFPairInt64) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int64 key = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + set_has_key(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &key_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 val = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + set_has_val(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &val_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.MFPairInt64) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.MFPairInt64) + return false; +#undef DO_ +} + +void MFPairInt64::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.MFPairInt64) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int64 key = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->key(), output); + } + + // optional int64 val = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->val(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.MFPairInt64) +} + +::google::protobuf::uint8* MFPairInt64::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.MFPairInt64) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int64 key = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->key(), target); + } + + // optional int64 val = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->val(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.MFPairInt64) + return target; +} + +size_t MFPairInt64::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.MFPairInt64) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 3u) { + // optional int64 key = 1; + if (has_key()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->key()); + } + + // optional int64 val = 2; + if (has_val()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->val()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MFPairInt64::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.MFPairInt64) + GOOGLE_DCHECK_NE(&from, this); + const MFPairInt64* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.MFPairInt64) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.MFPairInt64) + MergeFrom(*source); + } +} + +void MFPairInt64::MergeFrom(const MFPairInt64& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.MFPairInt64) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 3u) { + if (cached_has_bits & 0x00000001u) { + key_ = from.key_; + } + if (cached_has_bits & 0x00000002u) { + val_ = from.val_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void MFPairInt64::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.MFPairInt64) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MFPairInt64::CopyFrom(const MFPairInt64& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.MFPairInt64) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MFPairInt64::IsInitialized() const { + return true; +} + +void MFPairInt64::Swap(MFPairInt64* other) { + if (other == this) return; + InternalSwap(other); +} +void MFPairInt64::InternalSwap(MFPairInt64* other) { + using std::swap; + swap(key_, other->key_); + swap(val_, other->val_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata MFPairInt64::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void MFPaging::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MFPaging::kCurrPageFieldNumber; +const int MFPaging::kPageSizeFieldNumber; +const int MFPaging::kTotalPageFieldNumber; +const int MFPaging::kTotalCountFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MFPaging::MFPaging() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_MFPaging.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.MFPaging) +} +MFPaging::MFPaging(const MFPaging& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&curr_page_, &from.curr_page_, + static_cast(reinterpret_cast(&_total_count_) - + reinterpret_cast(&curr_page_)) + sizeof(_total_count_)); + // @@protoc_insertion_point(copy_constructor:cs.MFPaging) +} + +void MFPaging::SharedCtor() { + ::memset(&curr_page_, 0, static_cast( + reinterpret_cast(&_total_count_) - + reinterpret_cast(&curr_page_)) + sizeof(_total_count_)); +} + +MFPaging::~MFPaging() { + // @@protoc_insertion_point(destructor:cs.MFPaging) + SharedDtor(); +} + +void MFPaging::SharedDtor() { +} + +void MFPaging::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* MFPaging::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const MFPaging& MFPaging::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_MFPaging.base); + return *internal_default_instance(); +} + + +void MFPaging::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.MFPaging) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 15u) { + ::memset(&curr_page_, 0, static_cast( + reinterpret_cast(&_total_count_) - + reinterpret_cast(&curr_page_)) + sizeof(_total_count_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool MFPaging::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.MFPaging) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 curr_page = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + set_has_curr_page(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &curr_page_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 page_size = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + set_has_page_size(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &page_size_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 _total_page = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { + set_has__total_page(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &_total_page_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 _total_count = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { + set_has__total_count(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &_total_count_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.MFPaging) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.MFPaging) + return false; +#undef DO_ +} + +void MFPaging::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.MFPaging) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 curr_page = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->curr_page(), output); + } + + // optional int32 page_size = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->page_size(), output); + } + + // optional int32 _total_page = 3; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->_total_page(), output); + } + + // optional int32 _total_count = 4; + if (cached_has_bits & 0x00000008u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->_total_count(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.MFPaging) +} + +::google::protobuf::uint8* MFPaging::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.MFPaging) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 curr_page = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->curr_page(), target); + } + + // optional int32 page_size = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->page_size(), target); + } + + // optional int32 _total_page = 3; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->_total_page(), target); + } + + // optional int32 _total_count = 4; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->_total_count(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.MFPaging) + return target; +} + +size_t MFPaging::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.MFPaging) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 15u) { + // optional int32 curr_page = 1; + if (has_curr_page()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->curr_page()); + } + + // optional int32 page_size = 2; + if (has_page_size()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->page_size()); + } + + // optional int32 _total_page = 3; + if (has__total_page()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->_total_page()); + } + + // optional int32 _total_count = 4; + if (has__total_count()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->_total_count()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MFPaging::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.MFPaging) + GOOGLE_DCHECK_NE(&from, this); + const MFPaging* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.MFPaging) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.MFPaging) + MergeFrom(*source); + } +} + +void MFPaging::MergeFrom(const MFPaging& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.MFPaging) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 15u) { + if (cached_has_bits & 0x00000001u) { + curr_page_ = from.curr_page_; + } + if (cached_has_bits & 0x00000002u) { + page_size_ = from.page_size_; + } + if (cached_has_bits & 0x00000004u) { + _total_page_ = from._total_page_; + } + if (cached_has_bits & 0x00000008u) { + _total_count_ = from._total_count_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void MFPaging::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.MFPaging) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MFPaging::CopyFrom(const MFPaging& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.MFPaging) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MFPaging::IsInitialized() const { + return true; +} + +void MFPaging::Swap(MFPaging* other) { + if (other == this) return; + InternalSwap(other); +} +void MFPaging::InternalSwap(MFPaging* other) { + using std::swap; + swap(curr_page_, other->curr_page_); + swap(page_size_, other->page_size_); + swap(_total_page_, other->_total_page_); + swap(_total_count_, other->_total_count_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata MFPaging::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void MFBaseUserData::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MFBaseUserData::kAccountIdFieldNumber; +const int MFBaseUserData::kNicknameFieldNumber; +const int MFBaseUserData::kAvatarUrlFieldNumber; +const int MFBaseUserData::kSexFieldNumber; +const int MFBaseUserData::kLastLoginTimeFieldNumber; +const int MFBaseUserData::kGuildIdFieldNumber; +const int MFBaseUserData::kGuildJobFieldNumber; +const int MFBaseUserData::kVipLvFieldNumber; +const int MFBaseUserData::kHeadFieldNumber; +const int MFBaseUserData::kContributeFieldNumber; +const int MFBaseUserData::kZidFieldNumber; +const int MFBaseUserData::kUserValue1FieldNumber; +const int MFBaseUserData::kUserValue2FieldNumber; +const int MFBaseUserData::kUserValue3FieldNumber; +const int MFBaseUserData::kBaseDataVersionFieldNumber; +const int MFBaseUserData::kOnlineFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MFBaseUserData::MFBaseUserData() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_MFBaseUserData.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.MFBaseUserData) +} +MFBaseUserData::MFBaseUserData(const MFBaseUserData& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + account_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_account_id()) { + account_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.account_id_); + } + nickname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_nickname()) { + nickname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.nickname_); + } + avatar_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_avatar_url()) { + avatar_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.avatar_url_); + } + ::memcpy(&sex_, &from.sex_, + static_cast(reinterpret_cast(&base_data_version_) - + reinterpret_cast(&sex_)) + sizeof(base_data_version_)); + // @@protoc_insertion_point(copy_constructor:cs.MFBaseUserData) +} + +void MFBaseUserData::SharedCtor() { + account_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + nickname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + avatar_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&sex_, 0, static_cast( + reinterpret_cast(&base_data_version_) - + reinterpret_cast(&sex_)) + sizeof(base_data_version_)); +} + +MFBaseUserData::~MFBaseUserData() { + // @@protoc_insertion_point(destructor:cs.MFBaseUserData) + SharedDtor(); +} + +void MFBaseUserData::SharedDtor() { + account_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + nickname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + avatar_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void MFBaseUserData::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* MFBaseUserData::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const MFBaseUserData& MFBaseUserData::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_MFBaseUserData.base); + return *internal_default_instance(); +} + + +void MFBaseUserData::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.MFBaseUserData) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 7u) { + if (cached_has_bits & 0x00000001u) { + account_id_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000002u) { + nickname_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000004u) { + avatar_url_.ClearNonDefaultToEmptyNoArena(); + } + } + if (cached_has_bits & 248u) { + ::memset(&sex_, 0, static_cast( + reinterpret_cast(&vip_lv_) - + reinterpret_cast(&sex_)) + sizeof(vip_lv_)); + } + if (cached_has_bits & 65280u) { + ::memset(&head_, 0, static_cast( + reinterpret_cast(&base_data_version_) - + reinterpret_cast(&head_)) + sizeof(base_data_version_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool MFBaseUserData::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.MFBaseUserData) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional string account_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_account_id())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->account_id().data(), static_cast(this->account_id().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFBaseUserData.account_id"); + } else { + goto handle_unusual; + } + break; + } + + // optional string nickname = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_nickname())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->nickname().data(), static_cast(this->nickname().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFBaseUserData.nickname"); + } else { + goto handle_unusual; + } + break; + } + + // optional string avatar_url = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_avatar_url())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->avatar_url().data(), static_cast(this->avatar_url().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFBaseUserData.avatar_url"); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 sex = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { + set_has_sex(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &sex_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 last_login_time = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { + set_has_last_login_time(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &last_login_time_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 guild_id = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { + set_has_guild_id(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &guild_id_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 guild_job = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { + set_has_guild_job(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &guild_job_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 vip_lv = 8 [default = 0]; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) { + set_has_vip_lv(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &vip_lv_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 head = 9 [default = 0]; + case 9: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) { + set_has_head(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &head_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 contribute = 10 [default = 0]; + case 10: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) { + set_has_contribute(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &contribute_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 zid = 11 [default = 0]; + case 11: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) { + set_has_zid(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &zid_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 user_value1 = 50; + case 50: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(144u /* 400 & 0xFF */)) { + set_has_user_value1(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &user_value1_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 user_value2 = 51; + case 51: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(152u /* 408 & 0xFF */)) { + set_has_user_value2(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &user_value2_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 user_value3 = 52; + case 52: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(160u /* 416 & 0xFF */)) { + set_has_user_value3(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &user_value3_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 base_data_version = 100; + case 100: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(32u /* 800 & 0xFF */)) { + set_has_base_data_version(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &base_data_version_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 online = 101; + case 101: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(40u /* 808 & 0xFF */)) { + set_has_online(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &online_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.MFBaseUserData) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.MFBaseUserData) + return false; +#undef DO_ +} + +void MFBaseUserData::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.MFBaseUserData) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional string account_id = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->account_id().data(), static_cast(this->account_id().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFBaseUserData.account_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->account_id(), output); + } + + // optional string nickname = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->nickname().data(), static_cast(this->nickname().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFBaseUserData.nickname"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->nickname(), output); + } + + // optional string avatar_url = 3; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->avatar_url().data(), static_cast(this->avatar_url().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFBaseUserData.avatar_url"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->avatar_url(), output); + } + + // optional int32 sex = 4; + if (cached_has_bits & 0x00000008u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->sex(), output); + } + + // optional int32 last_login_time = 5; + if (cached_has_bits & 0x00000010u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->last_login_time(), output); + } + + // optional int64 guild_id = 6; + if (cached_has_bits & 0x00000020u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(6, this->guild_id(), output); + } + + // optional int32 guild_job = 7; + if (cached_has_bits & 0x00000040u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->guild_job(), output); + } + + // optional int32 vip_lv = 8 [default = 0]; + if (cached_has_bits & 0x00000080u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->vip_lv(), output); + } + + // optional int32 head = 9 [default = 0]; + if (cached_has_bits & 0x00000100u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->head(), output); + } + + // optional int32 contribute = 10 [default = 0]; + if (cached_has_bits & 0x00000200u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->contribute(), output); + } + + // optional int32 zid = 11 [default = 0]; + if (cached_has_bits & 0x00002000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->zid(), output); + } + + // optional int64 user_value1 = 50; + if (cached_has_bits & 0x00000400u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(50, this->user_value1(), output); + } + + // optional int64 user_value2 = 51; + if (cached_has_bits & 0x00000800u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(51, this->user_value2(), output); + } + + // optional int64 user_value3 = 52; + if (cached_has_bits & 0x00001000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(52, this->user_value3(), output); + } + + // optional int64 base_data_version = 100; + if (cached_has_bits & 0x00008000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(100, this->base_data_version(), output); + } + + // optional int32 online = 101; + if (cached_has_bits & 0x00004000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(101, this->online(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.MFBaseUserData) +} + +::google::protobuf::uint8* MFBaseUserData::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.MFBaseUserData) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional string account_id = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->account_id().data(), static_cast(this->account_id().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFBaseUserData.account_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->account_id(), target); + } + + // optional string nickname = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->nickname().data(), static_cast(this->nickname().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFBaseUserData.nickname"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->nickname(), target); + } + + // optional string avatar_url = 3; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->avatar_url().data(), static_cast(this->avatar_url().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFBaseUserData.avatar_url"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->avatar_url(), target); + } + + // optional int32 sex = 4; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->sex(), target); + } + + // optional int32 last_login_time = 5; + if (cached_has_bits & 0x00000010u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->last_login_time(), target); + } + + // optional int64 guild_id = 6; + if (cached_has_bits & 0x00000020u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(6, this->guild_id(), target); + } + + // optional int32 guild_job = 7; + if (cached_has_bits & 0x00000040u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->guild_job(), target); + } + + // optional int32 vip_lv = 8 [default = 0]; + if (cached_has_bits & 0x00000080u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->vip_lv(), target); + } + + // optional int32 head = 9 [default = 0]; + if (cached_has_bits & 0x00000100u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->head(), target); + } + + // optional int32 contribute = 10 [default = 0]; + if (cached_has_bits & 0x00000200u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->contribute(), target); + } + + // optional int32 zid = 11 [default = 0]; + if (cached_has_bits & 0x00002000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->zid(), target); + } + + // optional int64 user_value1 = 50; + if (cached_has_bits & 0x00000400u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(50, this->user_value1(), target); + } + + // optional int64 user_value2 = 51; + if (cached_has_bits & 0x00000800u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(51, this->user_value2(), target); + } + + // optional int64 user_value3 = 52; + if (cached_has_bits & 0x00001000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(52, this->user_value3(), target); + } + + // optional int64 base_data_version = 100; + if (cached_has_bits & 0x00008000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(100, this->base_data_version(), target); + } + + // optional int32 online = 101; + if (cached_has_bits & 0x00004000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(101, this->online(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.MFBaseUserData) + return target; +} + +size_t MFBaseUserData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.MFBaseUserData) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 255u) { + // optional string account_id = 1; + if (has_account_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->account_id()); + } + + // optional string nickname = 2; + if (has_nickname()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->nickname()); + } + + // optional string avatar_url = 3; + if (has_avatar_url()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->avatar_url()); + } + + // optional int32 sex = 4; + if (has_sex()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->sex()); + } + + // optional int32 last_login_time = 5; + if (has_last_login_time()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->last_login_time()); + } + + // optional int64 guild_id = 6; + if (has_guild_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->guild_id()); + } + + // optional int32 guild_job = 7; + if (has_guild_job()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->guild_job()); + } + + // optional int32 vip_lv = 8 [default = 0]; + if (has_vip_lv()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->vip_lv()); + } + + } + if (_has_bits_[8 / 32] & 65280u) { + // optional int32 head = 9 [default = 0]; + if (has_head()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->head()); + } + + // optional int32 contribute = 10 [default = 0]; + if (has_contribute()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->contribute()); + } + + // optional int64 user_value1 = 50; + if (has_user_value1()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->user_value1()); + } + + // optional int64 user_value2 = 51; + if (has_user_value2()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->user_value2()); + } + + // optional int64 user_value3 = 52; + if (has_user_value3()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->user_value3()); + } + + // optional int32 zid = 11 [default = 0]; + if (has_zid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->zid()); + } + + // optional int32 online = 101; + if (has_online()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->online()); + } + + // optional int64 base_data_version = 100; + if (has_base_data_version()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->base_data_version()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MFBaseUserData::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.MFBaseUserData) + GOOGLE_DCHECK_NE(&from, this); + const MFBaseUserData* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.MFBaseUserData) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.MFBaseUserData) + MergeFrom(*source); + } +} + +void MFBaseUserData::MergeFrom(const MFBaseUserData& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.MFBaseUserData) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 255u) { + if (cached_has_bits & 0x00000001u) { + set_has_account_id(); + account_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.account_id_); + } + if (cached_has_bits & 0x00000002u) { + set_has_nickname(); + nickname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.nickname_); + } + if (cached_has_bits & 0x00000004u) { + set_has_avatar_url(); + avatar_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.avatar_url_); + } + if (cached_has_bits & 0x00000008u) { + sex_ = from.sex_; + } + if (cached_has_bits & 0x00000010u) { + last_login_time_ = from.last_login_time_; + } + if (cached_has_bits & 0x00000020u) { + guild_id_ = from.guild_id_; + } + if (cached_has_bits & 0x00000040u) { + guild_job_ = from.guild_job_; + } + if (cached_has_bits & 0x00000080u) { + vip_lv_ = from.vip_lv_; + } + _has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 65280u) { + if (cached_has_bits & 0x00000100u) { + head_ = from.head_; + } + if (cached_has_bits & 0x00000200u) { + contribute_ = from.contribute_; + } + if (cached_has_bits & 0x00000400u) { + user_value1_ = from.user_value1_; + } + if (cached_has_bits & 0x00000800u) { + user_value2_ = from.user_value2_; + } + if (cached_has_bits & 0x00001000u) { + user_value3_ = from.user_value3_; + } + if (cached_has_bits & 0x00002000u) { + zid_ = from.zid_; + } + if (cached_has_bits & 0x00004000u) { + online_ = from.online_; + } + if (cached_has_bits & 0x00008000u) { + base_data_version_ = from.base_data_version_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void MFBaseUserData::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.MFBaseUserData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MFBaseUserData::CopyFrom(const MFBaseUserData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.MFBaseUserData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MFBaseUserData::IsInitialized() const { + return true; +} + +void MFBaseUserData::Swap(MFBaseUserData* other) { + if (other == this) return; + InternalSwap(other); +} +void MFBaseUserData::InternalSwap(MFBaseUserData* other) { + using std::swap; + account_id_.Swap(&other->account_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + nickname_.Swap(&other->nickname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + avatar_url_.Swap(&other->avatar_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(sex_, other->sex_); + swap(last_login_time_, other->last_login_time_); + swap(guild_id_, other->guild_id_); + swap(guild_job_, other->guild_job_); + swap(vip_lv_, other->vip_lv_); + swap(head_, other->head_); + swap(contribute_, other->contribute_); + swap(user_value1_, other->user_value1_); + swap(user_value2_, other->user_value2_); + swap(user_value3_, other->user_value3_); + swap(zid_, other->zid_); + swap(online_, other->online_); + swap(base_data_version_, other->base_data_version_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata MFBaseUserData::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void MFAccountInfo::InitAsDefaultInstance() { + ::cs::_MFAccountInfo_default_instance_._instance.get_mutable()->user_info_ = const_cast< ::cs::MFUserInfo*>( + ::cs::MFUserInfo::internal_default_instance()); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MFAccountInfo::kUserInfoFieldNumber; +const int MFAccountInfo::kUserSignFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MFAccountInfo::MFAccountInfo() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_MFAccountInfo.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.MFAccountInfo) +} +MFAccountInfo::MFAccountInfo(const MFAccountInfo& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + user_sign_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_user_sign()) { + user_sign_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.user_sign_); + } + if (from.has_user_info()) { + user_info_ = new ::cs::MFUserInfo(*from.user_info_); + } else { + user_info_ = NULL; + } + // @@protoc_insertion_point(copy_constructor:cs.MFAccountInfo) +} + +void MFAccountInfo::SharedCtor() { + user_sign_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + user_info_ = NULL; +} + +MFAccountInfo::~MFAccountInfo() { + // @@protoc_insertion_point(destructor:cs.MFAccountInfo) + SharedDtor(); +} + +void MFAccountInfo::SharedDtor() { + user_sign_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete user_info_; +} + +void MFAccountInfo::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* MFAccountInfo::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const MFAccountInfo& MFAccountInfo::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_MFAccountInfo.base); + return *internal_default_instance(); +} + + +void MFAccountInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.MFAccountInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 3u) { + if (cached_has_bits & 0x00000001u) { + user_sign_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(user_info_ != NULL); + user_info_->Clear(); + } + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool MFAccountInfo::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.MFAccountInfo) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional .cs.MFUserInfo user_info = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_user_info())); + } else { + goto handle_unusual; + } + break; + } + + // optional string user_sign = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_user_sign())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->user_sign().data(), static_cast(this->user_sign().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFAccountInfo.user_sign"); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.MFAccountInfo) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.MFAccountInfo) + return false; +#undef DO_ +} + +void MFAccountInfo::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.MFAccountInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional .cs.MFUserInfo user_info = 1; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->_internal_user_info(), output); + } + + // optional string user_sign = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->user_sign().data(), static_cast(this->user_sign().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFAccountInfo.user_sign"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->user_sign(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.MFAccountInfo) +} + +::google::protobuf::uint8* MFAccountInfo::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.MFAccountInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional .cs.MFUserInfo user_info = 1; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->_internal_user_info(), deterministic, target); + } + + // optional string user_sign = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->user_sign().data(), static_cast(this->user_sign().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFAccountInfo.user_sign"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->user_sign(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.MFAccountInfo) + return target; +} + +size_t MFAccountInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.MFAccountInfo) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 3u) { + // optional string user_sign = 2; + if (has_user_sign()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->user_sign()); + } + + // optional .cs.MFUserInfo user_info = 1; + if (has_user_info()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *user_info_); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MFAccountInfo::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.MFAccountInfo) + GOOGLE_DCHECK_NE(&from, this); + const MFAccountInfo* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.MFAccountInfo) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.MFAccountInfo) + MergeFrom(*source); + } +} + +void MFAccountInfo::MergeFrom(const MFAccountInfo& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.MFAccountInfo) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 3u) { + if (cached_has_bits & 0x00000001u) { + set_has_user_sign(); + user_sign_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.user_sign_); + } + if (cached_has_bits & 0x00000002u) { + mutable_user_info()->::cs::MFUserInfo::MergeFrom(from.user_info()); + } + } +} + +void MFAccountInfo::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.MFAccountInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MFAccountInfo::CopyFrom(const MFAccountInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.MFAccountInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MFAccountInfo::IsInitialized() const { + return true; +} + +void MFAccountInfo::Swap(MFAccountInfo* other) { + if (other == this) return; + InternalSwap(other); +} +void MFAccountInfo::InternalSwap(MFAccountInfo* other) { + using std::swap; + user_sign_.Swap(&other->user_sign_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(user_info_, other->user_info_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata MFAccountInfo::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void MFUserInfo::InitAsDefaultInstance() { + ::cs::_MFUserInfo_default_instance_._instance.get_mutable()->base_data_ = const_cast< ::cs::MFBaseUserData*>( + ::cs::MFBaseUserData::internal_default_instance()); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MFUserInfo::kBaseDataFieldNumber; +const int MFUserInfo::kIsSysUserFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MFUserInfo::MFUserInfo() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_MFUserInfo.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.MFUserInfo) +} +MFUserInfo::MFUserInfo(const MFUserInfo& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_base_data()) { + base_data_ = new ::cs::MFBaseUserData(*from.base_data_); + } else { + base_data_ = NULL; + } + is_sys_user_ = from.is_sys_user_; + // @@protoc_insertion_point(copy_constructor:cs.MFUserInfo) +} + +void MFUserInfo::SharedCtor() { + ::memset(&base_data_, 0, static_cast( + reinterpret_cast(&is_sys_user_) - + reinterpret_cast(&base_data_)) + sizeof(is_sys_user_)); +} + +MFUserInfo::~MFUserInfo() { + // @@protoc_insertion_point(destructor:cs.MFUserInfo) + SharedDtor(); +} + +void MFUserInfo::SharedDtor() { + if (this != internal_default_instance()) delete base_data_; +} + +void MFUserInfo::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* MFUserInfo::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const MFUserInfo& MFUserInfo::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_MFUserInfo.base); + return *internal_default_instance(); +} + + +void MFUserInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.MFUserInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(base_data_ != NULL); + base_data_->Clear(); + } + is_sys_user_ = 0; + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool MFUserInfo::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.MFUserInfo) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional .cs.MFBaseUserData base_data = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_base_data())); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 is_sys_user = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { + set_has_is_sys_user(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &is_sys_user_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.MFUserInfo) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.MFUserInfo) + return false; +#undef DO_ +} + +void MFUserInfo::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.MFUserInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional .cs.MFBaseUserData base_data = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->_internal_base_data(), output); + } + + // optional int32 is_sys_user = 3; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->is_sys_user(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.MFUserInfo) +} + +::google::protobuf::uint8* MFUserInfo::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.MFUserInfo) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional .cs.MFBaseUserData base_data = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->_internal_base_data(), deterministic, target); + } + + // optional int32 is_sys_user = 3; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->is_sys_user(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.MFUserInfo) + return target; +} + +size_t MFUserInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.MFUserInfo) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 3u) { + // optional .cs.MFBaseUserData base_data = 1; + if (has_base_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *base_data_); + } + + // optional int32 is_sys_user = 3; + if (has_is_sys_user()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->is_sys_user()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MFUserInfo::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.MFUserInfo) + GOOGLE_DCHECK_NE(&from, this); + const MFUserInfo* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.MFUserInfo) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.MFUserInfo) + MergeFrom(*source); + } +} + +void MFUserInfo::MergeFrom(const MFUserInfo& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.MFUserInfo) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 3u) { + if (cached_has_bits & 0x00000001u) { + mutable_base_data()->::cs::MFBaseUserData::MergeFrom(from.base_data()); + } + if (cached_has_bits & 0x00000002u) { + is_sys_user_ = from.is_sys_user_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void MFUserInfo::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.MFUserInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MFUserInfo::CopyFrom(const MFUserInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.MFUserInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MFUserInfo::IsInitialized() const { + return true; +} + +void MFUserInfo::Swap(MFUserInfo* other) { + if (other == this) return; + InternalSwap(other); +} +void MFUserInfo::InternalSwap(MFUserInfo* other) { + using std::swap; + swap(base_data_, other->base_data_); + swap(is_sys_user_, other->is_sys_user_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata MFUserInfo::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void MFUserStatus::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MFUserStatus::kAccountIdFieldNumber; +const int MFUserStatus::kOnlineFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MFUserStatus::MFUserStatus() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_MFUserStatus.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.MFUserStatus) +} +MFUserStatus::MFUserStatus(const MFUserStatus& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + account_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_account_id()) { + account_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.account_id_); + } + online_ = from.online_; + // @@protoc_insertion_point(copy_constructor:cs.MFUserStatus) +} + +void MFUserStatus::SharedCtor() { + account_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + online_ = 0; +} + +MFUserStatus::~MFUserStatus() { + // @@protoc_insertion_point(destructor:cs.MFUserStatus) + SharedDtor(); +} + +void MFUserStatus::SharedDtor() { + account_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void MFUserStatus::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* MFUserStatus::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const MFUserStatus& MFUserStatus::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_MFUserStatus.base); + return *internal_default_instance(); +} + + +void MFUserStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.MFUserStatus) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + account_id_.ClearNonDefaultToEmptyNoArena(); + } + online_ = 0; + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool MFUserStatus::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.MFUserStatus) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional string account_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_account_id())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->account_id().data(), static_cast(this->account_id().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFUserStatus.account_id"); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 online = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + set_has_online(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &online_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.MFUserStatus) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.MFUserStatus) + return false; +#undef DO_ +} + +void MFUserStatus::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.MFUserStatus) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional string account_id = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->account_id().data(), static_cast(this->account_id().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFUserStatus.account_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->account_id(), output); + } + + // optional int32 online = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->online(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.MFUserStatus) +} + +::google::protobuf::uint8* MFUserStatus::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.MFUserStatus) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional string account_id = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->account_id().data(), static_cast(this->account_id().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFUserStatus.account_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->account_id(), target); + } + + // optional int32 online = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->online(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.MFUserStatus) + return target; +} + +size_t MFUserStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.MFUserStatus) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 3u) { + // optional string account_id = 1; + if (has_account_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->account_id()); + } + + // optional int32 online = 2; + if (has_online()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->online()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MFUserStatus::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.MFUserStatus) + GOOGLE_DCHECK_NE(&from, this); + const MFUserStatus* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.MFUserStatus) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.MFUserStatus) + MergeFrom(*source); + } +} + +void MFUserStatus::MergeFrom(const MFUserStatus& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.MFUserStatus) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 3u) { + if (cached_has_bits & 0x00000001u) { + set_has_account_id(); + account_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.account_id_); + } + if (cached_has_bits & 0x00000002u) { + online_ = from.online_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void MFUserStatus::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.MFUserStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MFUserStatus::CopyFrom(const MFUserStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.MFUserStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MFUserStatus::IsInitialized() const { + return true; +} + +void MFUserStatus::Swap(MFUserStatus* other) { + if (other == this) return; + InternalSwap(other); +} +void MFUserStatus::InternalSwap(MFUserStatus* other) { + using std::swap; + account_id_.Swap(&other->account_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(online_, other->online_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata MFUserStatus::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void MFGuildBasic::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MFGuildBasic::kGuildIdFieldNumber; +const int MFGuildBasic::kGuildNameFieldNumber; +const int MFGuildBasic::kGuildLvFieldNumber; +const int MFGuildBasic::kGuildExpFieldNumber; +const int MFGuildBasic::kGuildBadgeFieldNumber; +const int MFGuildBasic::kMemberNumFieldNumber; +const int MFGuildBasic::kGuildDeclarationFieldNumber; +const int MFGuildBasic::kOwnerIdFieldNumber; +const int MFGuildBasic::kOwnerNameFieldNumber; +const int MFGuildBasic::kOwnerAvatarUrlFieldNumber; +const int MFGuildBasic::kOwnerSexFieldNumber; +const int MFGuildBasic::kOwnerVipLvFieldNumber; +const int MFGuildBasic::kOwnerHeadFieldNumber; +const int MFGuildBasic::kJoinUnlimitedFieldNumber; +const int MFGuildBasic::kJoinCond1FieldNumber; +const int MFGuildBasic::kJoinCond2FieldNumber; +const int MFGuildBasic::kApplyedFieldNumber; +const int MFGuildBasic::kGameidFieldNumber; +const int MFGuildBasic::kChannelFieldNumber; +const int MFGuildBasic::kCreatetimeFieldNumber; +const int MFGuildBasic::kModifytimeFieldNumber; +const int MFGuildBasic::kNameExt1FieldNumber; +const int MFGuildBasic::kNameExt2FieldNumber; +const int MFGuildBasic::kGuildStatusFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MFGuildBasic::MFGuildBasic() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_MFGuildBasic.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.MFGuildBasic) +} +MFGuildBasic::MFGuildBasic(const MFGuildBasic& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + guild_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_guild_name()) { + guild_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.guild_name_); + } + guild_declaration_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_guild_declaration()) { + guild_declaration_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.guild_declaration_); + } + owner_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_owner_id()) { + owner_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_id_); + } + owner_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_owner_name()) { + owner_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_name_); + } + owner_avatar_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_owner_avatar_url()) { + owner_avatar_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_avatar_url_); + } + ::memcpy(&guild_id_, &from.guild_id_, + static_cast(reinterpret_cast(&_guild_status_) - + reinterpret_cast(&guild_id_)) + sizeof(_guild_status_)); + // @@protoc_insertion_point(copy_constructor:cs.MFGuildBasic) +} + +void MFGuildBasic::SharedCtor() { + guild_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + guild_declaration_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + owner_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + owner_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + owner_avatar_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&guild_id_, 0, static_cast( + reinterpret_cast(&_guild_status_) - + reinterpret_cast(&guild_id_)) + sizeof(_guild_status_)); +} + +MFGuildBasic::~MFGuildBasic() { + // @@protoc_insertion_point(destructor:cs.MFGuildBasic) + SharedDtor(); +} + +void MFGuildBasic::SharedDtor() { + guild_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + guild_declaration_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + owner_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + owner_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + owner_avatar_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void MFGuildBasic::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* MFGuildBasic::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const MFGuildBasic& MFGuildBasic::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_MFGuildBasic.base); + return *internal_default_instance(); +} + + +void MFGuildBasic::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.MFGuildBasic) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 31u) { + if (cached_has_bits & 0x00000001u) { + guild_name_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000002u) { + guild_declaration_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000004u) { + owner_id_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000008u) { + owner_name_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000010u) { + owner_avatar_url_.ClearNonDefaultToEmptyNoArena(); + } + } + if (cached_has_bits & 224u) { + ::memset(&guild_id_, 0, static_cast( + reinterpret_cast(&guild_lv_) - + reinterpret_cast(&guild_id_)) + sizeof(guild_lv_)); + } + if (cached_has_bits & 65280u) { + ::memset(&guild_badge_, 0, static_cast( + reinterpret_cast(&applyed_) - + reinterpret_cast(&guild_badge_)) + sizeof(applyed_)); + } + if (cached_has_bits & 16711680u) { + ::memset(&owner_sex_, 0, static_cast( + reinterpret_cast(&_guild_status_) - + reinterpret_cast(&owner_sex_)) + sizeof(_guild_status_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool MFGuildBasic::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.MFGuildBasic) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int64 guild_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + set_has_guild_id(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &guild_id_))); + } else { + goto handle_unusual; + } + break; + } + + // optional string guild_name = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_guild_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->guild_name().data(), static_cast(this->guild_name().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFGuildBasic.guild_name"); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 guild_lv = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { + set_has_guild_lv(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &guild_lv_))); + } else { + goto handle_unusual; + } + break; + } + + // optional double guild_exp = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) { + set_has_guild_exp(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &guild_exp_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 guild_badge = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { + set_has_guild_badge(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &guild_badge_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 member_num = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { + set_has_member_num(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &member_num_))); + } else { + goto handle_unusual; + } + break; + } + + // optional string guild_declaration = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_guild_declaration())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->guild_declaration().data(), static_cast(this->guild_declaration().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFGuildBasic.guild_declaration"); + } else { + goto handle_unusual; + } + break; + } + + // optional string owner_id = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_owner_id())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->owner_id().data(), static_cast(this->owner_id().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFGuildBasic.owner_id"); + } else { + goto handle_unusual; + } + break; + } + + // optional string owner_name = 9; + case 9: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_owner_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->owner_name().data(), static_cast(this->owner_name().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFGuildBasic.owner_name"); + } else { + goto handle_unusual; + } + break; + } + + // optional string owner_avatar_url = 10; + case 10: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_owner_avatar_url())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->owner_avatar_url().data(), static_cast(this->owner_avatar_url().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFGuildBasic.owner_avatar_url"); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 join_unlimited = 11; + case 11: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) { + set_has_join_unlimited(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &join_unlimited_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 owner_vip_lv = 12 [default = 0]; + case 12: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) { + set_has_owner_vip_lv(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &owner_vip_lv_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 owner_head = 13 [default = 0]; + case 13: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) { + set_has_owner_head(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &owner_head_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 join_cond1 = 20; + case 20: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(160u /* 160 & 0xFF */)) { + set_has_join_cond1(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &join_cond1_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 join_cond2 = 21; + case 21: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(168u /* 168 & 0xFF */)) { + set_has_join_cond2(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &join_cond2_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 applyed = 22; + case 22: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(176u /* 176 & 0xFF */)) { + set_has_applyed(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &applyed_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 owner_sex = 23; + case 23: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(184u /* 184 & 0xFF */)) { + set_has_owner_sex(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &owner_sex_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 _gameid = 100; + case 100: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(32u /* 800 & 0xFF */)) { + set_has__gameid(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &_gameid_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 _channel = 101; + case 101: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(40u /* 808 & 0xFF */)) { + set_has__channel(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &_channel_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 _createtime = 102; + case 102: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(48u /* 816 & 0xFF */)) { + set_has__createtime(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &_createtime_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 _modifytime = 103; + case 103: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(56u /* 824 & 0xFF */)) { + set_has__modifytime(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &_modifytime_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 _name_ext1 = 104; + case 104: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(64u /* 832 & 0xFF */)) { + set_has__name_ext1(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &_name_ext1_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 _name_ext2 = 105; + case 105: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(72u /* 840 & 0xFF */)) { + set_has__name_ext2(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &_name_ext2_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 _guild_status = 106; + case 106: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(80u /* 848 & 0xFF */)) { + set_has__guild_status(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &_guild_status_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.MFGuildBasic) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.MFGuildBasic) + return false; +#undef DO_ +} + +void MFGuildBasic::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.MFGuildBasic) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int64 guild_id = 1; + if (cached_has_bits & 0x00000020u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->guild_id(), output); + } + + // optional string guild_name = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->guild_name().data(), static_cast(this->guild_name().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFGuildBasic.guild_name"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->guild_name(), output); + } + + // optional int32 guild_lv = 3; + if (cached_has_bits & 0x00000080u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->guild_lv(), output); + } + + // optional double guild_exp = 4; + if (cached_has_bits & 0x00000040u) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(4, this->guild_exp(), output); + } + + // optional int32 guild_badge = 5; + if (cached_has_bits & 0x00000100u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->guild_badge(), output); + } + + // optional int32 member_num = 6; + if (cached_has_bits & 0x00000200u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->member_num(), output); + } + + // optional string guild_declaration = 7; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->guild_declaration().data(), static_cast(this->guild_declaration().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFGuildBasic.guild_declaration"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 7, this->guild_declaration(), output); + } + + // optional string owner_id = 8; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->owner_id().data(), static_cast(this->owner_id().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFGuildBasic.owner_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 8, this->owner_id(), output); + } + + // optional string owner_name = 9; + if (cached_has_bits & 0x00000008u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->owner_name().data(), static_cast(this->owner_name().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFGuildBasic.owner_name"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 9, this->owner_name(), output); + } + + // optional string owner_avatar_url = 10; + if (cached_has_bits & 0x00000010u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->owner_avatar_url().data(), static_cast(this->owner_avatar_url().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFGuildBasic.owner_avatar_url"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 10, this->owner_avatar_url(), output); + } + + // optional int32 join_unlimited = 11; + if (cached_has_bits & 0x00000400u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->join_unlimited(), output); + } + + // optional int32 owner_vip_lv = 12 [default = 0]; + if (cached_has_bits & 0x00000800u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->owner_vip_lv(), output); + } + + // optional int32 owner_head = 13 [default = 0]; + if (cached_has_bits & 0x00001000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->owner_head(), output); + } + + // optional int32 join_cond1 = 20; + if (cached_has_bits & 0x00002000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(20, this->join_cond1(), output); + } + + // optional int32 join_cond2 = 21; + if (cached_has_bits & 0x00004000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(21, this->join_cond2(), output); + } + + // optional int32 applyed = 22; + if (cached_has_bits & 0x00008000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(22, this->applyed(), output); + } + + // optional int32 owner_sex = 23; + if (cached_has_bits & 0x00010000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(23, this->owner_sex(), output); + } + + // optional int32 _gameid = 100; + if (cached_has_bits & 0x00020000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(100, this->_gameid(), output); + } + + // optional int32 _channel = 101; + if (cached_has_bits & 0x00040000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(101, this->_channel(), output); + } + + // optional int32 _createtime = 102; + if (cached_has_bits & 0x00080000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(102, this->_createtime(), output); + } + + // optional int32 _modifytime = 103; + if (cached_has_bits & 0x00100000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(103, this->_modifytime(), output); + } + + // optional int64 _name_ext1 = 104; + if (cached_has_bits & 0x00200000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(104, this->_name_ext1(), output); + } + + // optional int64 _name_ext2 = 105; + if (cached_has_bits & 0x00400000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(105, this->_name_ext2(), output); + } + + // optional int64 _guild_status = 106; + if (cached_has_bits & 0x00800000u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(106, this->_guild_status(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.MFGuildBasic) +} + +::google::protobuf::uint8* MFGuildBasic::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.MFGuildBasic) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int64 guild_id = 1; + if (cached_has_bits & 0x00000020u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->guild_id(), target); + } + + // optional string guild_name = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->guild_name().data(), static_cast(this->guild_name().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFGuildBasic.guild_name"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->guild_name(), target); + } + + // optional int32 guild_lv = 3; + if (cached_has_bits & 0x00000080u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->guild_lv(), target); + } + + // optional double guild_exp = 4; + if (cached_has_bits & 0x00000040u) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(4, this->guild_exp(), target); + } + + // optional int32 guild_badge = 5; + if (cached_has_bits & 0x00000100u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->guild_badge(), target); + } + + // optional int32 member_num = 6; + if (cached_has_bits & 0x00000200u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->member_num(), target); + } + + // optional string guild_declaration = 7; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->guild_declaration().data(), static_cast(this->guild_declaration().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFGuildBasic.guild_declaration"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 7, this->guild_declaration(), target); + } + + // optional string owner_id = 8; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->owner_id().data(), static_cast(this->owner_id().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFGuildBasic.owner_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 8, this->owner_id(), target); + } + + // optional string owner_name = 9; + if (cached_has_bits & 0x00000008u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->owner_name().data(), static_cast(this->owner_name().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFGuildBasic.owner_name"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 9, this->owner_name(), target); + } + + // optional string owner_avatar_url = 10; + if (cached_has_bits & 0x00000010u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->owner_avatar_url().data(), static_cast(this->owner_avatar_url().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFGuildBasic.owner_avatar_url"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 10, this->owner_avatar_url(), target); + } + + // optional int32 join_unlimited = 11; + if (cached_has_bits & 0x00000400u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->join_unlimited(), target); + } + + // optional int32 owner_vip_lv = 12 [default = 0]; + if (cached_has_bits & 0x00000800u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->owner_vip_lv(), target); + } + + // optional int32 owner_head = 13 [default = 0]; + if (cached_has_bits & 0x00001000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->owner_head(), target); + } + + // optional int32 join_cond1 = 20; + if (cached_has_bits & 0x00002000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(20, this->join_cond1(), target); + } + + // optional int32 join_cond2 = 21; + if (cached_has_bits & 0x00004000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(21, this->join_cond2(), target); + } + + // optional int32 applyed = 22; + if (cached_has_bits & 0x00008000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(22, this->applyed(), target); + } + + // optional int32 owner_sex = 23; + if (cached_has_bits & 0x00010000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(23, this->owner_sex(), target); + } + + // optional int32 _gameid = 100; + if (cached_has_bits & 0x00020000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(100, this->_gameid(), target); + } + + // optional int32 _channel = 101; + if (cached_has_bits & 0x00040000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(101, this->_channel(), target); + } + + // optional int32 _createtime = 102; + if (cached_has_bits & 0x00080000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(102, this->_createtime(), target); + } + + // optional int32 _modifytime = 103; + if (cached_has_bits & 0x00100000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(103, this->_modifytime(), target); + } + + // optional int64 _name_ext1 = 104; + if (cached_has_bits & 0x00200000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(104, this->_name_ext1(), target); + } + + // optional int64 _name_ext2 = 105; + if (cached_has_bits & 0x00400000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(105, this->_name_ext2(), target); + } + + // optional int64 _guild_status = 106; + if (cached_has_bits & 0x00800000u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(106, this->_guild_status(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.MFGuildBasic) + return target; +} + +size_t MFGuildBasic::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.MFGuildBasic) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 255u) { + // optional string guild_name = 2; + if (has_guild_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->guild_name()); + } + + // optional string guild_declaration = 7; + if (has_guild_declaration()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->guild_declaration()); + } + + // optional string owner_id = 8; + if (has_owner_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->owner_id()); + } + + // optional string owner_name = 9; + if (has_owner_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->owner_name()); + } + + // optional string owner_avatar_url = 10; + if (has_owner_avatar_url()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->owner_avatar_url()); + } + + // optional int64 guild_id = 1; + if (has_guild_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->guild_id()); + } + + // optional double guild_exp = 4; + if (has_guild_exp()) { + total_size += 1 + 8; + } + + // optional int32 guild_lv = 3; + if (has_guild_lv()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->guild_lv()); + } + + } + if (_has_bits_[8 / 32] & 65280u) { + // optional int32 guild_badge = 5; + if (has_guild_badge()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->guild_badge()); + } + + // optional int32 member_num = 6; + if (has_member_num()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->member_num()); + } + + // optional int32 join_unlimited = 11; + if (has_join_unlimited()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->join_unlimited()); + } + + // optional int32 owner_vip_lv = 12 [default = 0]; + if (has_owner_vip_lv()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->owner_vip_lv()); + } + + // optional int32 owner_head = 13 [default = 0]; + if (has_owner_head()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->owner_head()); + } + + // optional int32 join_cond1 = 20; + if (has_join_cond1()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->join_cond1()); + } + + // optional int32 join_cond2 = 21; + if (has_join_cond2()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->join_cond2()); + } + + // optional int32 applyed = 22; + if (has_applyed()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->applyed()); + } + + } + if (_has_bits_[16 / 32] & 16711680u) { + // optional int32 owner_sex = 23; + if (has_owner_sex()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->owner_sex()); + } + + // optional int32 _gameid = 100; + if (has__gameid()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->_gameid()); + } + + // optional int32 _channel = 101; + if (has__channel()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->_channel()); + } + + // optional int32 _createtime = 102; + if (has__createtime()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->_createtime()); + } + + // optional int32 _modifytime = 103; + if (has__modifytime()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->_modifytime()); + } + + // optional int64 _name_ext1 = 104; + if (has__name_ext1()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->_name_ext1()); + } + + // optional int64 _name_ext2 = 105; + if (has__name_ext2()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->_name_ext2()); + } + + // optional int64 _guild_status = 106; + if (has__guild_status()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->_guild_status()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MFGuildBasic::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.MFGuildBasic) + GOOGLE_DCHECK_NE(&from, this); + const MFGuildBasic* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.MFGuildBasic) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.MFGuildBasic) + MergeFrom(*source); + } +} + +void MFGuildBasic::MergeFrom(const MFGuildBasic& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.MFGuildBasic) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 255u) { + if (cached_has_bits & 0x00000001u) { + set_has_guild_name(); + guild_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.guild_name_); + } + if (cached_has_bits & 0x00000002u) { + set_has_guild_declaration(); + guild_declaration_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.guild_declaration_); + } + if (cached_has_bits & 0x00000004u) { + set_has_owner_id(); + owner_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_id_); + } + if (cached_has_bits & 0x00000008u) { + set_has_owner_name(); + owner_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_name_); + } + if (cached_has_bits & 0x00000010u) { + set_has_owner_avatar_url(); + owner_avatar_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_avatar_url_); + } + if (cached_has_bits & 0x00000020u) { + guild_id_ = from.guild_id_; + } + if (cached_has_bits & 0x00000040u) { + guild_exp_ = from.guild_exp_; + } + if (cached_has_bits & 0x00000080u) { + guild_lv_ = from.guild_lv_; + } + _has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 65280u) { + if (cached_has_bits & 0x00000100u) { + guild_badge_ = from.guild_badge_; + } + if (cached_has_bits & 0x00000200u) { + member_num_ = from.member_num_; + } + if (cached_has_bits & 0x00000400u) { + join_unlimited_ = from.join_unlimited_; + } + if (cached_has_bits & 0x00000800u) { + owner_vip_lv_ = from.owner_vip_lv_; + } + if (cached_has_bits & 0x00001000u) { + owner_head_ = from.owner_head_; + } + if (cached_has_bits & 0x00002000u) { + join_cond1_ = from.join_cond1_; + } + if (cached_has_bits & 0x00004000u) { + join_cond2_ = from.join_cond2_; + } + if (cached_has_bits & 0x00008000u) { + applyed_ = from.applyed_; + } + _has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 16711680u) { + if (cached_has_bits & 0x00010000u) { + owner_sex_ = from.owner_sex_; + } + if (cached_has_bits & 0x00020000u) { + _gameid_ = from._gameid_; + } + if (cached_has_bits & 0x00040000u) { + _channel_ = from._channel_; + } + if (cached_has_bits & 0x00080000u) { + _createtime_ = from._createtime_; + } + if (cached_has_bits & 0x00100000u) { + _modifytime_ = from._modifytime_; + } + if (cached_has_bits & 0x00200000u) { + _name_ext1_ = from._name_ext1_; + } + if (cached_has_bits & 0x00400000u) { + _name_ext2_ = from._name_ext2_; + } + if (cached_has_bits & 0x00800000u) { + _guild_status_ = from._guild_status_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void MFGuildBasic::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.MFGuildBasic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MFGuildBasic::CopyFrom(const MFGuildBasic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.MFGuildBasic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MFGuildBasic::IsInitialized() const { + return true; +} + +void MFGuildBasic::Swap(MFGuildBasic* other) { + if (other == this) return; + InternalSwap(other); +} +void MFGuildBasic::InternalSwap(MFGuildBasic* other) { + using std::swap; + guild_name_.Swap(&other->guild_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + guild_declaration_.Swap(&other->guild_declaration_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + owner_id_.Swap(&other->owner_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + owner_name_.Swap(&other->owner_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + owner_avatar_url_.Swap(&other->owner_avatar_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(guild_id_, other->guild_id_); + swap(guild_exp_, other->guild_exp_); + swap(guild_lv_, other->guild_lv_); + swap(guild_badge_, other->guild_badge_); + swap(member_num_, other->member_num_); + swap(join_unlimited_, other->join_unlimited_); + swap(owner_vip_lv_, other->owner_vip_lv_); + swap(owner_head_, other->owner_head_); + swap(join_cond1_, other->join_cond1_); + swap(join_cond2_, other->join_cond2_); + swap(applyed_, other->applyed_); + swap(owner_sex_, other->owner_sex_); + swap(_gameid_, other->_gameid_); + swap(_channel_, other->_channel_); + swap(_createtime_, other->_createtime_); + swap(_modifytime_, other->_modifytime_); + swap(_name_ext1_, other->_name_ext1_); + swap(_name_ext2_, other->_name_ext2_); + swap(_guild_status_, other->_guild_status_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata MFGuildBasic::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void MFChatMsg::InitAsDefaultInstance() { + ::cs::_MFChatMsg_default_instance_._instance.get_mutable()->sender_ = const_cast< ::cs::MFUserInfo*>( + ::cs::MFUserInfo::internal_default_instance()); + ::cs::_MFChatMsg_default_instance_._instance.get_mutable()->receiver_ = const_cast< ::cs::MFUserInfo*>( + ::cs::MFUserInfo::internal_default_instance()); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MFChatMsg::kMsgUuidFieldNumber; +const int MFChatMsg::kSenderFieldNumber; +const int MFChatMsg::kReceiverFieldNumber; +const int MFChatMsg::kChatChannelFieldNumber; +const int MFChatMsg::kMsgTypeFieldNumber; +const int MFChatMsg::kMsgBodyFieldNumber; +const int MFChatMsg::kSendTimeFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MFChatMsg::MFChatMsg() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_MFChatMsg.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.MFChatMsg) +} +MFChatMsg::MFChatMsg(const MFChatMsg& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + msg_body_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_msg_body()) { + msg_body_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msg_body_); + } + if (from.has_sender()) { + sender_ = new ::cs::MFUserInfo(*from.sender_); + } else { + sender_ = NULL; + } + if (from.has_receiver()) { + receiver_ = new ::cs::MFUserInfo(*from.receiver_); + } else { + receiver_ = NULL; + } + ::memcpy(&msg_uuid_, &from.msg_uuid_, + static_cast(reinterpret_cast(&send_time_) - + reinterpret_cast(&msg_uuid_)) + sizeof(send_time_)); + // @@protoc_insertion_point(copy_constructor:cs.MFChatMsg) +} + +void MFChatMsg::SharedCtor() { + msg_body_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&sender_, 0, static_cast( + reinterpret_cast(&send_time_) - + reinterpret_cast(&sender_)) + sizeof(send_time_)); +} + +MFChatMsg::~MFChatMsg() { + // @@protoc_insertion_point(destructor:cs.MFChatMsg) + SharedDtor(); +} + +void MFChatMsg::SharedDtor() { + msg_body_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete sender_; + if (this != internal_default_instance()) delete receiver_; +} + +void MFChatMsg::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* MFChatMsg::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const MFChatMsg& MFChatMsg::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_MFChatMsg.base); + return *internal_default_instance(); +} + + +void MFChatMsg::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.MFChatMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 7u) { + if (cached_has_bits & 0x00000001u) { + msg_body_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(sender_ != NULL); + sender_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(receiver_ != NULL); + receiver_->Clear(); + } + } + if (cached_has_bits & 120u) { + ::memset(&msg_uuid_, 0, static_cast( + reinterpret_cast(&send_time_) - + reinterpret_cast(&msg_uuid_)) + sizeof(send_time_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool MFChatMsg::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.MFChatMsg) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int64 msg_uuid = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + set_has_msg_uuid(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &msg_uuid_))); + } else { + goto handle_unusual; + } + break; + } + + // optional .cs.MFUserInfo sender = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_sender())); + } else { + goto handle_unusual; + } + break; + } + + // optional .cs.MFUserInfo receiver = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_receiver())); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 chat_channel = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { + set_has_chat_channel(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &chat_channel_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 msg_type = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { + set_has_msg_type(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &msg_type_))); + } else { + goto handle_unusual; + } + break; + } + + // optional string msg_body = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_msg_body())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg_body().data(), static_cast(this->msg_body().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.MFChatMsg.msg_body"); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 send_time = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { + set_has_send_time(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &send_time_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.MFChatMsg) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.MFChatMsg) + return false; +#undef DO_ +} + +void MFChatMsg::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.MFChatMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int64 msg_uuid = 1; + if (cached_has_bits & 0x00000008u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->msg_uuid(), output); + } + + // optional .cs.MFUserInfo sender = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->_internal_sender(), output); + } + + // optional .cs.MFUserInfo receiver = 3; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->_internal_receiver(), output); + } + + // optional int32 chat_channel = 4; + if (cached_has_bits & 0x00000010u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->chat_channel(), output); + } + + // optional int32 msg_type = 5; + if (cached_has_bits & 0x00000020u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->msg_type(), output); + } + + // optional string msg_body = 6; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg_body().data(), static_cast(this->msg_body().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFChatMsg.msg_body"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 6, this->msg_body(), output); + } + + // optional int32 send_time = 7; + if (cached_has_bits & 0x00000040u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->send_time(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.MFChatMsg) +} + +::google::protobuf::uint8* MFChatMsg::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.MFChatMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int64 msg_uuid = 1; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->msg_uuid(), target); + } + + // optional .cs.MFUserInfo sender = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, this->_internal_sender(), deterministic, target); + } + + // optional .cs.MFUserInfo receiver = 3; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, this->_internal_receiver(), deterministic, target); + } + + // optional int32 chat_channel = 4; + if (cached_has_bits & 0x00000010u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->chat_channel(), target); + } + + // optional int32 msg_type = 5; + if (cached_has_bits & 0x00000020u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->msg_type(), target); + } + + // optional string msg_body = 6; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg_body().data(), static_cast(this->msg_body().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.MFChatMsg.msg_body"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 6, this->msg_body(), target); + } + + // optional int32 send_time = 7; + if (cached_has_bits & 0x00000040u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->send_time(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.MFChatMsg) + return target; +} + +size_t MFChatMsg::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.MFChatMsg) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 127u) { + // optional string msg_body = 6; + if (has_msg_body()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->msg_body()); + } + + // optional .cs.MFUserInfo sender = 2; + if (has_sender()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *sender_); + } + + // optional .cs.MFUserInfo receiver = 3; + if (has_receiver()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *receiver_); + } + + // optional int64 msg_uuid = 1; + if (has_msg_uuid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->msg_uuid()); + } + + // optional int32 chat_channel = 4; + if (has_chat_channel()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->chat_channel()); + } + + // optional int32 msg_type = 5; + if (has_msg_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->msg_type()); + } + + // optional int32 send_time = 7; + if (has_send_time()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->send_time()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MFChatMsg::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.MFChatMsg) + GOOGLE_DCHECK_NE(&from, this); + const MFChatMsg* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.MFChatMsg) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.MFChatMsg) + MergeFrom(*source); + } +} + +void MFChatMsg::MergeFrom(const MFChatMsg& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.MFChatMsg) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 127u) { + if (cached_has_bits & 0x00000001u) { + set_has_msg_body(); + msg_body_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msg_body_); + } + if (cached_has_bits & 0x00000002u) { + mutable_sender()->::cs::MFUserInfo::MergeFrom(from.sender()); + } + if (cached_has_bits & 0x00000004u) { + mutable_receiver()->::cs::MFUserInfo::MergeFrom(from.receiver()); + } + if (cached_has_bits & 0x00000008u) { + msg_uuid_ = from.msg_uuid_; + } + if (cached_has_bits & 0x00000010u) { + chat_channel_ = from.chat_channel_; + } + if (cached_has_bits & 0x00000020u) { + msg_type_ = from.msg_type_; + } + if (cached_has_bits & 0x00000040u) { + send_time_ = from.send_time_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void MFChatMsg::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.MFChatMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MFChatMsg::CopyFrom(const MFChatMsg& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.MFChatMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MFChatMsg::IsInitialized() const { + return true; +} + +void MFChatMsg::Swap(MFChatMsg* other) { + if (other == this) return; + InternalSwap(other); +} +void MFChatMsg::InternalSwap(MFChatMsg* other) { + using std::swap; + msg_body_.Swap(&other->msg_body_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(sender_, other->sender_); + swap(receiver_, other->receiver_); + swap(msg_uuid_, other->msg_uuid_); + swap(chat_channel_, other->chat_channel_); + swap(msg_type_, other->msg_type_); + swap(send_time_, other->send_time_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata MFChatMsg::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void CMLogin::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CMLogin::kReserved1FieldNumber; +const int CMLogin::kReserved2FieldNumber; +const int CMLogin::kAccountIdFieldNumber; +const int CMLogin::kSessionIdFieldNumber; +const int CMLogin::kProtoVersionFieldNumber; +const int CMLogin::kZidFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CMLogin::CMLogin() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_CMLogin.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.CMLogin) +} +CMLogin::CMLogin(const CMLogin& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + reserved2_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_reserved2()) { + reserved2_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reserved2_); + } + account_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_account_id()) { + account_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.account_id_); + } + session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_session_id()) { + session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_); + } + ::memcpy(&reserved1_, &from.reserved1_, + static_cast(reinterpret_cast(&zid_) - + reinterpret_cast(&reserved1_)) + sizeof(zid_)); + // @@protoc_insertion_point(copy_constructor:cs.CMLogin) +} + +void CMLogin::SharedCtor() { + reserved2_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + account_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&reserved1_, 0, static_cast( + reinterpret_cast(&zid_) - + reinterpret_cast(&reserved1_)) + sizeof(zid_)); +} + +CMLogin::~CMLogin() { + // @@protoc_insertion_point(destructor:cs.CMLogin) + SharedDtor(); +} + +void CMLogin::SharedDtor() { + reserved2_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + account_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + session_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void CMLogin::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* CMLogin::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const CMLogin& CMLogin::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_CMLogin.base); + return *internal_default_instance(); +} + + +void CMLogin::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.CMLogin) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 7u) { + if (cached_has_bits & 0x00000001u) { + reserved2_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000002u) { + account_id_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000004u) { + session_id_.ClearNonDefaultToEmptyNoArena(); + } + } + if (cached_has_bits & 56u) { + ::memset(&reserved1_, 0, static_cast( + reinterpret_cast(&zid_) - + reinterpret_cast(&reserved1_)) + sizeof(zid_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool CMLogin::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.CMLogin) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 reserved1 = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + set_has_reserved1(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &reserved1_))); + } else { + goto handle_unusual; + } + break; + } + + // optional string reserved2 = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_reserved2())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->reserved2().data(), static_cast(this->reserved2().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.CMLogin.reserved2"); + } else { + goto handle_unusual; + } + break; + } + + // optional string account_id = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_account_id())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->account_id().data(), static_cast(this->account_id().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.CMLogin.account_id"); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 proto_version = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { + set_has_proto_version(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &proto_version_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 zid = 10; + case 10: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) { + set_has_zid(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &zid_))); + } else { + goto handle_unusual; + } + break; + } + + // optional string session_id = 20; + case 20: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(162u /* 162 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_session_id())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->session_id().data(), static_cast(this->session_id().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.CMLogin.session_id"); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.CMLogin) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.CMLogin) + return false; +#undef DO_ +} + +void CMLogin::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.CMLogin) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 reserved1 = 1; + if (cached_has_bits & 0x00000008u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->reserved1(), output); + } + + // optional string reserved2 = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->reserved2().data(), static_cast(this->reserved2().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMLogin.reserved2"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->reserved2(), output); + } + + // optional string account_id = 3; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->account_id().data(), static_cast(this->account_id().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMLogin.account_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->account_id(), output); + } + + // optional int32 proto_version = 5; + if (cached_has_bits & 0x00000010u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->proto_version(), output); + } + + // optional int32 zid = 10; + if (cached_has_bits & 0x00000020u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->zid(), output); + } + + // optional string session_id = 20; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->session_id().data(), static_cast(this->session_id().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMLogin.session_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 20, this->session_id(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.CMLogin) +} + +::google::protobuf::uint8* CMLogin::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.CMLogin) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 reserved1 = 1; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->reserved1(), target); + } + + // optional string reserved2 = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->reserved2().data(), static_cast(this->reserved2().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMLogin.reserved2"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->reserved2(), target); + } + + // optional string account_id = 3; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->account_id().data(), static_cast(this->account_id().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMLogin.account_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->account_id(), target); + } + + // optional int32 proto_version = 5; + if (cached_has_bits & 0x00000010u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->proto_version(), target); + } + + // optional int32 zid = 10; + if (cached_has_bits & 0x00000020u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->zid(), target); + } + + // optional string session_id = 20; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->session_id().data(), static_cast(this->session_id().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMLogin.session_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 20, this->session_id(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.CMLogin) + return target; +} + +size_t CMLogin::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.CMLogin) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 63u) { + // optional string reserved2 = 2; + if (has_reserved2()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->reserved2()); + } + + // optional string account_id = 3; + if (has_account_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->account_id()); + } + + // optional string session_id = 20; + if (has_session_id()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->session_id()); + } + + // optional int32 reserved1 = 1; + if (has_reserved1()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->reserved1()); + } + + // optional int32 proto_version = 5; + if (has_proto_version()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->proto_version()); + } + + // optional int32 zid = 10; + if (has_zid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->zid()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CMLogin::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.CMLogin) + GOOGLE_DCHECK_NE(&from, this); + const CMLogin* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.CMLogin) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.CMLogin) + MergeFrom(*source); + } +} + +void CMLogin::MergeFrom(const CMLogin& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.CMLogin) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 63u) { + if (cached_has_bits & 0x00000001u) { + set_has_reserved2(); + reserved2_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reserved2_); + } + if (cached_has_bits & 0x00000002u) { + set_has_account_id(); + account_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.account_id_); + } + if (cached_has_bits & 0x00000004u) { + set_has_session_id(); + session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_); + } + if (cached_has_bits & 0x00000008u) { + reserved1_ = from.reserved1_; + } + if (cached_has_bits & 0x00000010u) { + proto_version_ = from.proto_version_; + } + if (cached_has_bits & 0x00000020u) { + zid_ = from.zid_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void CMLogin::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.CMLogin) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMLogin::CopyFrom(const CMLogin& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.CMLogin) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMLogin::IsInitialized() const { + return true; +} + +void CMLogin::Swap(CMLogin* other) { + if (other == this) return; + InternalSwap(other); +} +void CMLogin::InternalSwap(CMLogin* other) { + using std::swap; + reserved2_.Swap(&other->reserved2_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + account_id_.Swap(&other->account_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + session_id_.Swap(&other->session_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(reserved1_, other->reserved1_); + swap(proto_version_, other->proto_version_); + swap(zid_, other->zid_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata CMLogin::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMLogin::InitAsDefaultInstance() { + ::cs::_SMLogin_default_instance_._instance.get_mutable()->account_info_ = const_cast< ::cs::MFAccountInfo*>( + ::cs::MFAccountInfo::internal_default_instance()); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMLogin::kErrcodeFieldNumber; +const int SMLogin::kErrmsgFieldNumber; +const int SMLogin::kAccountInfoFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMLogin::SMLogin() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMLogin.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMLogin) +} +SMLogin::SMLogin(const SMLogin& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + errmsg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_errmsg()) { + errmsg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.errmsg_); + } + if (from.has_account_info()) { + account_info_ = new ::cs::MFAccountInfo(*from.account_info_); + } else { + account_info_ = NULL; + } + errcode_ = from.errcode_; + // @@protoc_insertion_point(copy_constructor:cs.SMLogin) +} + +void SMLogin::SharedCtor() { + errmsg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&account_info_, 0, static_cast( + reinterpret_cast(&errcode_) - + reinterpret_cast(&account_info_)) + sizeof(errcode_)); +} + +SMLogin::~SMLogin() { + // @@protoc_insertion_point(destructor:cs.SMLogin) + SharedDtor(); +} + +void SMLogin::SharedDtor() { + errmsg_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete account_info_; +} + +void SMLogin::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMLogin::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMLogin& SMLogin::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMLogin.base); + return *internal_default_instance(); +} + + +void SMLogin::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMLogin) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 3u) { + if (cached_has_bits & 0x00000001u) { + errmsg_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(account_info_ != NULL); + account_info_->Clear(); + } + } + errcode_ = 0; + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMLogin::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMLogin) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 errcode = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + set_has_errcode(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &errcode_))); + } else { + goto handle_unusual; + } + break; + } + + // optional string errmsg = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_errmsg())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->errmsg().data(), static_cast(this->errmsg().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.SMLogin.errmsg"); + } else { + goto handle_unusual; + } + break; + } + + // optional .cs.MFAccountInfo account_info = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_account_info())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMLogin) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMLogin) + return false; +#undef DO_ +} + +void SMLogin::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMLogin) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 errcode = 1; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->errcode(), output); + } + + // optional string errmsg = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->errmsg().data(), static_cast(this->errmsg().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMLogin.errmsg"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->errmsg(), output); + } + + // optional .cs.MFAccountInfo account_info = 3; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->_internal_account_info(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMLogin) +} + +::google::protobuf::uint8* SMLogin::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMLogin) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 errcode = 1; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->errcode(), target); + } + + // optional string errmsg = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->errmsg().data(), static_cast(this->errmsg().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMLogin.errmsg"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->errmsg(), target); + } + + // optional .cs.MFAccountInfo account_info = 3; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, this->_internal_account_info(), deterministic, target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMLogin) + return target; +} + +size_t SMLogin::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMLogin) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 7u) { + // optional string errmsg = 2; + if (has_errmsg()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->errmsg()); + } + + // optional .cs.MFAccountInfo account_info = 3; + if (has_account_info()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *account_info_); + } + + // optional int32 errcode = 1; + if (has_errcode()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->errcode()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMLogin::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMLogin) + GOOGLE_DCHECK_NE(&from, this); + const SMLogin* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMLogin) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMLogin) + MergeFrom(*source); + } +} + +void SMLogin::MergeFrom(const SMLogin& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMLogin) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 7u) { + if (cached_has_bits & 0x00000001u) { + set_has_errmsg(); + errmsg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.errmsg_); + } + if (cached_has_bits & 0x00000002u) { + mutable_account_info()->::cs::MFAccountInfo::MergeFrom(from.account_info()); + } + if (cached_has_bits & 0x00000004u) { + errcode_ = from.errcode_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void SMLogin::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMLogin) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMLogin::CopyFrom(const SMLogin& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMLogin) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMLogin::IsInitialized() const { + return true; +} + +void SMLogin::Swap(SMLogin* other) { + if (other == this) return; + InternalSwap(other); +} +void SMLogin::InternalSwap(SMLogin* other) { + using std::swap; + errmsg_.Swap(&other->errmsg_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(account_info_, other->account_info_); + swap(errcode_, other->errcode_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMLogin::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void CMSendChatMsg::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CMSendChatMsg::kChatChannelFieldNumber; +const int CMSendChatMsg::kTargetFieldNumber; +const int CMSendChatMsg::kMsgTypeFieldNumber; +const int CMSendChatMsg::kMsgBodyFieldNumber; +const int CMSendChatMsg::kMembersFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CMSendChatMsg::CMSendChatMsg() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_CMSendChatMsg.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.CMSendChatMsg) +} +CMSendChatMsg::CMSendChatMsg(const CMSendChatMsg& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + members_(from.members_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + target_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_target()) { + target_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_); + } + msg_body_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_msg_body()) { + msg_body_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msg_body_); + } + ::memcpy(&chat_channel_, &from.chat_channel_, + static_cast(reinterpret_cast(&msg_type_) - + reinterpret_cast(&chat_channel_)) + sizeof(msg_type_)); + // @@protoc_insertion_point(copy_constructor:cs.CMSendChatMsg) +} + +void CMSendChatMsg::SharedCtor() { + target_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + msg_body_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&chat_channel_, 0, static_cast( + reinterpret_cast(&msg_type_) - + reinterpret_cast(&chat_channel_)) + sizeof(msg_type_)); +} + +CMSendChatMsg::~CMSendChatMsg() { + // @@protoc_insertion_point(destructor:cs.CMSendChatMsg) + SharedDtor(); +} + +void CMSendChatMsg::SharedDtor() { + target_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + msg_body_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void CMSendChatMsg::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* CMSendChatMsg::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const CMSendChatMsg& CMSendChatMsg::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_CMSendChatMsg.base); + return *internal_default_instance(); +} + + +void CMSendChatMsg::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.CMSendChatMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + members_.Clear(); + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 3u) { + if (cached_has_bits & 0x00000001u) { + target_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000002u) { + msg_body_.ClearNonDefaultToEmptyNoArena(); + } + } + if (cached_has_bits & 12u) { + ::memset(&chat_channel_, 0, static_cast( + reinterpret_cast(&msg_type_) - + reinterpret_cast(&chat_channel_)) + sizeof(msg_type_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool CMSendChatMsg::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.CMSendChatMsg) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 chat_channel = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + set_has_chat_channel(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &chat_channel_))); + } else { + goto handle_unusual; + } + break; + } + + // optional string target = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_target())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->target().data(), static_cast(this->target().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.CMSendChatMsg.target"); + } else { + goto handle_unusual; + } + break; + } + + // optional int32 msg_type = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { + set_has_msg_type(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &msg_type_))); + } else { + goto handle_unusual; + } + break; + } + + // optional string msg_body = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_msg_body())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg_body().data(), static_cast(this->msg_body().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.CMSendChatMsg.msg_body"); + } else { + goto handle_unusual; + } + break; + } + + // repeated string members = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_members())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->members(this->members_size() - 1).data(), + static_cast(this->members(this->members_size() - 1).length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.CMSendChatMsg.members"); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.CMSendChatMsg) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.CMSendChatMsg) + return false; +#undef DO_ +} + +void CMSendChatMsg::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.CMSendChatMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 chat_channel = 1; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->chat_channel(), output); + } + + // optional string target = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->target().data(), static_cast(this->target().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSendChatMsg.target"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->target(), output); + } + + // optional int32 msg_type = 3; + if (cached_has_bits & 0x00000008u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->msg_type(), output); + } + + // optional string msg_body = 4; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg_body().data(), static_cast(this->msg_body().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSendChatMsg.msg_body"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 4, this->msg_body(), output); + } + + // repeated string members = 5; + for (int i = 0, n = this->members_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->members(i).data(), static_cast(this->members(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSendChatMsg.members"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 5, this->members(i), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.CMSendChatMsg) +} + +::google::protobuf::uint8* CMSendChatMsg::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.CMSendChatMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 chat_channel = 1; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->chat_channel(), target); + } + + // optional string target = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->target().data(), static_cast(this->target().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSendChatMsg.target"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->target(), target); + } + + // optional int32 msg_type = 3; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->msg_type(), target); + } + + // optional string msg_body = 4; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg_body().data(), static_cast(this->msg_body().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSendChatMsg.msg_body"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->msg_body(), target); + } + + // repeated string members = 5; + for (int i = 0, n = this->members_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->members(i).data(), static_cast(this->members(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSendChatMsg.members"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(5, this->members(i), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.CMSendChatMsg) + return target; +} + +size_t CMSendChatMsg::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.CMSendChatMsg) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated string members = 5; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->members_size()); + for (int i = 0, n = this->members_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->members(i)); + } + + if (_has_bits_[0 / 32] & 15u) { + // optional string target = 2; + if (has_target()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->target()); + } + + // optional string msg_body = 4; + if (has_msg_body()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->msg_body()); + } + + // optional int32 chat_channel = 1; + if (has_chat_channel()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->chat_channel()); + } + + // optional int32 msg_type = 3; + if (has_msg_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->msg_type()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CMSendChatMsg::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.CMSendChatMsg) + GOOGLE_DCHECK_NE(&from, this); + const CMSendChatMsg* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.CMSendChatMsg) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.CMSendChatMsg) + MergeFrom(*source); + } +} + +void CMSendChatMsg::MergeFrom(const CMSendChatMsg& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.CMSendChatMsg) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + members_.MergeFrom(from.members_); + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 15u) { + if (cached_has_bits & 0x00000001u) { + set_has_target(); + target_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_); + } + if (cached_has_bits & 0x00000002u) { + set_has_msg_body(); + msg_body_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msg_body_); + } + if (cached_has_bits & 0x00000004u) { + chat_channel_ = from.chat_channel_; + } + if (cached_has_bits & 0x00000008u) { + msg_type_ = from.msg_type_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void CMSendChatMsg::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.CMSendChatMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMSendChatMsg::CopyFrom(const CMSendChatMsg& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.CMSendChatMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMSendChatMsg::IsInitialized() const { + return true; +} + +void CMSendChatMsg::Swap(CMSendChatMsg* other) { + if (other == this) return; + InternalSwap(other); +} +void CMSendChatMsg::InternalSwap(CMSendChatMsg* other) { + using std::swap; + members_.InternalSwap(CastToBase(&other->members_)); + target_.Swap(&other->target_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + msg_body_.Swap(&other->msg_body_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(chat_channel_, other->chat_channel_); + swap(msg_type_, other->msg_type_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata CMSendChatMsg::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void CMReadMsgAndOpenChatNotify::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CMReadMsgAndOpenChatNotify::kCurrChannelFieldNumber; +const int CMReadMsgAndOpenChatNotify::kLastIdsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CMReadMsgAndOpenChatNotify::CMReadMsgAndOpenChatNotify() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_CMReadMsgAndOpenChatNotify.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.CMReadMsgAndOpenChatNotify) +} +CMReadMsgAndOpenChatNotify::CMReadMsgAndOpenChatNotify(const CMReadMsgAndOpenChatNotify& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + last_ids_(from.last_ids_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + curr_channel_ = from.curr_channel_; + // @@protoc_insertion_point(copy_constructor:cs.CMReadMsgAndOpenChatNotify) +} + +void CMReadMsgAndOpenChatNotify::SharedCtor() { + curr_channel_ = 0; +} + +CMReadMsgAndOpenChatNotify::~CMReadMsgAndOpenChatNotify() { + // @@protoc_insertion_point(destructor:cs.CMReadMsgAndOpenChatNotify) + SharedDtor(); +} + +void CMReadMsgAndOpenChatNotify::SharedDtor() { +} + +void CMReadMsgAndOpenChatNotify::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* CMReadMsgAndOpenChatNotify::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const CMReadMsgAndOpenChatNotify& CMReadMsgAndOpenChatNotify::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_CMReadMsgAndOpenChatNotify.base); + return *internal_default_instance(); +} + + +void CMReadMsgAndOpenChatNotify::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.CMReadMsgAndOpenChatNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + last_ids_.Clear(); + curr_channel_ = 0; + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool CMReadMsgAndOpenChatNotify::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.CMReadMsgAndOpenChatNotify) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 curr_channel = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + set_has_curr_channel(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &curr_channel_))); + } else { + goto handle_unusual; + } + break; + } + + // repeated .cs.MFPairInt64 last_ids = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_last_ids())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.CMReadMsgAndOpenChatNotify) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.CMReadMsgAndOpenChatNotify) + return false; +#undef DO_ +} + +void CMReadMsgAndOpenChatNotify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.CMReadMsgAndOpenChatNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 curr_channel = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->curr_channel(), output); + } + + // repeated .cs.MFPairInt64 last_ids = 2; + for (unsigned int i = 0, + n = static_cast(this->last_ids_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, + this->last_ids(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.CMReadMsgAndOpenChatNotify) +} + +::google::protobuf::uint8* CMReadMsgAndOpenChatNotify::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.CMReadMsgAndOpenChatNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 curr_channel = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->curr_channel(), target); + } + + // repeated .cs.MFPairInt64 last_ids = 2; + for (unsigned int i = 0, + n = static_cast(this->last_ids_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, this->last_ids(static_cast(i)), deterministic, target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.CMReadMsgAndOpenChatNotify) + return target; +} + +size_t CMReadMsgAndOpenChatNotify::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.CMReadMsgAndOpenChatNotify) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated .cs.MFPairInt64 last_ids = 2; + { + unsigned int count = static_cast(this->last_ids_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->last_ids(static_cast(i))); + } + } + + // optional int32 curr_channel = 1; + if (has_curr_channel()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->curr_channel()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CMReadMsgAndOpenChatNotify::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.CMReadMsgAndOpenChatNotify) + GOOGLE_DCHECK_NE(&from, this); + const CMReadMsgAndOpenChatNotify* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.CMReadMsgAndOpenChatNotify) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.CMReadMsgAndOpenChatNotify) + MergeFrom(*source); + } +} + +void CMReadMsgAndOpenChatNotify::MergeFrom(const CMReadMsgAndOpenChatNotify& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.CMReadMsgAndOpenChatNotify) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + last_ids_.MergeFrom(from.last_ids_); + if (from.has_curr_channel()) { + set_curr_channel(from.curr_channel()); + } +} + +void CMReadMsgAndOpenChatNotify::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.CMReadMsgAndOpenChatNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMReadMsgAndOpenChatNotify::CopyFrom(const CMReadMsgAndOpenChatNotify& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.CMReadMsgAndOpenChatNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMReadMsgAndOpenChatNotify::IsInitialized() const { + return true; +} + +void CMReadMsgAndOpenChatNotify::Swap(CMReadMsgAndOpenChatNotify* other) { + if (other == this) return; + InternalSwap(other); +} +void CMReadMsgAndOpenChatNotify::InternalSwap(CMReadMsgAndOpenChatNotify* other) { + using std::swap; + CastToBase(&last_ids_)->InternalSwap(CastToBase(&other->last_ids_)); + swap(curr_channel_, other->curr_channel_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata CMReadMsgAndOpenChatNotify::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void CMSetCurrPrivateChatTarget::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CMSetCurrPrivateChatTarget::kPrivateTargetFieldNumber; +const int CMSetCurrPrivateChatTarget::kLastIdFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CMSetCurrPrivateChatTarget::CMSetCurrPrivateChatTarget() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_CMSetCurrPrivateChatTarget.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.CMSetCurrPrivateChatTarget) +} +CMSetCurrPrivateChatTarget::CMSetCurrPrivateChatTarget(const CMSetCurrPrivateChatTarget& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + private_target_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_private_target()) { + private_target_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.private_target_); + } + last_id_ = from.last_id_; + // @@protoc_insertion_point(copy_constructor:cs.CMSetCurrPrivateChatTarget) +} + +void CMSetCurrPrivateChatTarget::SharedCtor() { + private_target_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + last_id_ = GOOGLE_LONGLONG(0); +} + +CMSetCurrPrivateChatTarget::~CMSetCurrPrivateChatTarget() { + // @@protoc_insertion_point(destructor:cs.CMSetCurrPrivateChatTarget) + SharedDtor(); +} + +void CMSetCurrPrivateChatTarget::SharedDtor() { + private_target_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void CMSetCurrPrivateChatTarget::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* CMSetCurrPrivateChatTarget::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const CMSetCurrPrivateChatTarget& CMSetCurrPrivateChatTarget::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_CMSetCurrPrivateChatTarget.base); + return *internal_default_instance(); +} + + +void CMSetCurrPrivateChatTarget::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.CMSetCurrPrivateChatTarget) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + private_target_.ClearNonDefaultToEmptyNoArena(); + } + last_id_ = GOOGLE_LONGLONG(0); + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool CMSetCurrPrivateChatTarget::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.CMSetCurrPrivateChatTarget) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional string private_target = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_private_target())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->private_target().data(), static_cast(this->private_target().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.CMSetCurrPrivateChatTarget.private_target"); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 last_id = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + set_has_last_id(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &last_id_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.CMSetCurrPrivateChatTarget) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.CMSetCurrPrivateChatTarget) + return false; +#undef DO_ +} + +void CMSetCurrPrivateChatTarget::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.CMSetCurrPrivateChatTarget) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional string private_target = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->private_target().data(), static_cast(this->private_target().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSetCurrPrivateChatTarget.private_target"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->private_target(), output); + } + + // optional int64 last_id = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->last_id(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.CMSetCurrPrivateChatTarget) +} + +::google::protobuf::uint8* CMSetCurrPrivateChatTarget::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.CMSetCurrPrivateChatTarget) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional string private_target = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->private_target().data(), static_cast(this->private_target().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSetCurrPrivateChatTarget.private_target"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->private_target(), target); + } + + // optional int64 last_id = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->last_id(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.CMSetCurrPrivateChatTarget) + return target; +} + +size_t CMSetCurrPrivateChatTarget::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.CMSetCurrPrivateChatTarget) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 3u) { + // optional string private_target = 1; + if (has_private_target()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->private_target()); + } + + // optional int64 last_id = 2; + if (has_last_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->last_id()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CMSetCurrPrivateChatTarget::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.CMSetCurrPrivateChatTarget) + GOOGLE_DCHECK_NE(&from, this); + const CMSetCurrPrivateChatTarget* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.CMSetCurrPrivateChatTarget) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.CMSetCurrPrivateChatTarget) + MergeFrom(*source); + } +} + +void CMSetCurrPrivateChatTarget::MergeFrom(const CMSetCurrPrivateChatTarget& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.CMSetCurrPrivateChatTarget) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 3u) { + if (cached_has_bits & 0x00000001u) { + set_has_private_target(); + private_target_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.private_target_); + } + if (cached_has_bits & 0x00000002u) { + last_id_ = from.last_id_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void CMSetCurrPrivateChatTarget::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.CMSetCurrPrivateChatTarget) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMSetCurrPrivateChatTarget::CopyFrom(const CMSetCurrPrivateChatTarget& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.CMSetCurrPrivateChatTarget) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMSetCurrPrivateChatTarget::IsInitialized() const { + return true; +} + +void CMSetCurrPrivateChatTarget::Swap(CMSetCurrPrivateChatTarget* other) { + if (other == this) return; + InternalSwap(other); +} +void CMSetCurrPrivateChatTarget::InternalSwap(CMSetCurrPrivateChatTarget* other) { + using std::swap; + private_target_.Swap(&other->private_target_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(last_id_, other->last_id_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata CMSetCurrPrivateChatTarget::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void CMCloseChatNotify::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CMCloseChatNotify::CMCloseChatNotify() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_CMCloseChatNotify.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.CMCloseChatNotify) +} +CMCloseChatNotify::CMCloseChatNotify(const CMCloseChatNotify& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.CMCloseChatNotify) +} + +void CMCloseChatNotify::SharedCtor() { +} + +CMCloseChatNotify::~CMCloseChatNotify() { + // @@protoc_insertion_point(destructor:cs.CMCloseChatNotify) + SharedDtor(); +} + +void CMCloseChatNotify::SharedDtor() { +} + +void CMCloseChatNotify::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* CMCloseChatNotify::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const CMCloseChatNotify& CMCloseChatNotify::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_CMCloseChatNotify.base); + return *internal_default_instance(); +} + + +void CMCloseChatNotify::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.CMCloseChatNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool CMCloseChatNotify::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.CMCloseChatNotify) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:cs.CMCloseChatNotify) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.CMCloseChatNotify) + return false; +#undef DO_ +} + +void CMCloseChatNotify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.CMCloseChatNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.CMCloseChatNotify) +} + +::google::protobuf::uint8* CMCloseChatNotify::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.CMCloseChatNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.CMCloseChatNotify) + return target; +} + +size_t CMCloseChatNotify::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.CMCloseChatNotify) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CMCloseChatNotify::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.CMCloseChatNotify) + GOOGLE_DCHECK_NE(&from, this); + const CMCloseChatNotify* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.CMCloseChatNotify) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.CMCloseChatNotify) + MergeFrom(*source); + } +} + +void CMCloseChatNotify::MergeFrom(const CMCloseChatNotify& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.CMCloseChatNotify) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void CMCloseChatNotify::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.CMCloseChatNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMCloseChatNotify::CopyFrom(const CMCloseChatNotify& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.CMCloseChatNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMCloseChatNotify::IsInitialized() const { + return true; +} + +void CMCloseChatNotify::Swap(CMCloseChatNotify* other) { + if (other == this) return; + InternalSwap(other); +} +void CMCloseChatNotify::InternalSwap(CMCloseChatNotify* other) { + using std::swap; + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata CMCloseChatNotify::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void CMSendCustomMsg::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CMSendCustomMsg::kTargetListFieldNumber; +const int CMSendCustomMsg::kMsgFieldNumber; +const int CMSendCustomMsg::kParam1FieldNumber; +const int CMSendCustomMsg::kParam2FieldNumber; +const int CMSendCustomMsg::kParam3FieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CMSendCustomMsg::CMSendCustomMsg() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_CMSendCustomMsg.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.CMSendCustomMsg) +} +CMSendCustomMsg::CMSendCustomMsg(const CMSendCustomMsg& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + target_list_(from.target_list_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + msg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_msg()) { + msg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msg_); + } + ::memcpy(¶m1_, &from.param1_, + static_cast(reinterpret_cast(¶m3_) - + reinterpret_cast(¶m1_)) + sizeof(param3_)); + // @@protoc_insertion_point(copy_constructor:cs.CMSendCustomMsg) +} + +void CMSendCustomMsg::SharedCtor() { + msg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(¶m1_, 0, static_cast( + reinterpret_cast(¶m3_) - + reinterpret_cast(¶m1_)) + sizeof(param3_)); +} + +CMSendCustomMsg::~CMSendCustomMsg() { + // @@protoc_insertion_point(destructor:cs.CMSendCustomMsg) + SharedDtor(); +} + +void CMSendCustomMsg::SharedDtor() { + msg_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void CMSendCustomMsg::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* CMSendCustomMsg::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const CMSendCustomMsg& CMSendCustomMsg::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_CMSendCustomMsg.base); + return *internal_default_instance(); +} + + +void CMSendCustomMsg::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.CMSendCustomMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + target_list_.Clear(); + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + msg_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 14u) { + ::memset(¶m1_, 0, static_cast( + reinterpret_cast(¶m3_) - + reinterpret_cast(¶m1_)) + sizeof(param3_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool CMSendCustomMsg::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.CMSendCustomMsg) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated string target_list = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_target_list())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->target_list(this->target_list_size() - 1).data(), + static_cast(this->target_list(this->target_list_size() - 1).length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.CMSendCustomMsg.target_list"); + } else { + goto handle_unusual; + } + break; + } + + // optional string msg = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_msg())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg().data(), static_cast(this->msg().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.CMSendCustomMsg.msg"); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 param1 = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { + set_has_param1(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, ¶m1_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 param2 = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { + set_has_param2(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, ¶m2_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 param3 = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { + set_has_param3(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, ¶m3_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.CMSendCustomMsg) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.CMSendCustomMsg) + return false; +#undef DO_ +} + +void CMSendCustomMsg::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.CMSendCustomMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string target_list = 1; + for (int i = 0, n = this->target_list_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->target_list(i).data(), static_cast(this->target_list(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSendCustomMsg.target_list"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->target_list(i), output); + } + + cached_has_bits = _has_bits_[0]; + // optional string msg = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg().data(), static_cast(this->msg().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSendCustomMsg.msg"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->msg(), output); + } + + // optional int64 param1 = 3; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->param1(), output); + } + + // optional int64 param2 = 4; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->param2(), output); + } + + // optional int64 param3 = 5; + if (cached_has_bits & 0x00000008u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->param3(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.CMSendCustomMsg) +} + +::google::protobuf::uint8* CMSendCustomMsg::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.CMSendCustomMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string target_list = 1; + for (int i = 0, n = this->target_list_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->target_list(i).data(), static_cast(this->target_list(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSendCustomMsg.target_list"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(1, this->target_list(i), target); + } + + cached_has_bits = _has_bits_[0]; + // optional string msg = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg().data(), static_cast(this->msg().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.CMSendCustomMsg.msg"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->msg(), target); + } + + // optional int64 param1 = 3; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->param1(), target); + } + + // optional int64 param2 = 4; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->param2(), target); + } + + // optional int64 param3 = 5; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->param3(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.CMSendCustomMsg) + return target; +} + +size_t CMSendCustomMsg::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.CMSendCustomMsg) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated string target_list = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->target_list_size()); + for (int i = 0, n = this->target_list_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->target_list(i)); + } + + if (_has_bits_[0 / 32] & 15u) { + // optional string msg = 2; + if (has_msg()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->msg()); + } + + // optional int64 param1 = 3; + if (has_param1()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->param1()); + } + + // optional int64 param2 = 4; + if (has_param2()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->param2()); + } + + // optional int64 param3 = 5; + if (has_param3()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->param3()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CMSendCustomMsg::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.CMSendCustomMsg) + GOOGLE_DCHECK_NE(&from, this); + const CMSendCustomMsg* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.CMSendCustomMsg) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.CMSendCustomMsg) + MergeFrom(*source); + } +} + +void CMSendCustomMsg::MergeFrom(const CMSendCustomMsg& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.CMSendCustomMsg) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + target_list_.MergeFrom(from.target_list_); + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 15u) { + if (cached_has_bits & 0x00000001u) { + set_has_msg(); + msg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msg_); + } + if (cached_has_bits & 0x00000002u) { + param1_ = from.param1_; + } + if (cached_has_bits & 0x00000004u) { + param2_ = from.param2_; + } + if (cached_has_bits & 0x00000008u) { + param3_ = from.param3_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void CMSendCustomMsg::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.CMSendCustomMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMSendCustomMsg::CopyFrom(const CMSendCustomMsg& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.CMSendCustomMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMSendCustomMsg::IsInitialized() const { + return true; +} + +void CMSendCustomMsg::Swap(CMSendCustomMsg* other) { + if (other == this) return; + InternalSwap(other); +} +void CMSendCustomMsg::InternalSwap(CMSendCustomMsg* other) { + using std::swap; + target_list_.InternalSwap(CastToBase(&other->target_list_)); + msg_.Swap(&other->msg_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(param1_, other->param1_); + swap(param2_, other->param2_); + swap(param3_, other->param3_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata CMSendCustomMsg::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMUserStatusNotify::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMUserStatusNotify::kOnlineUsersFieldNumber; +const int SMUserStatusNotify::kOfflineUsersFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMUserStatusNotify::SMUserStatusNotify() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMUserStatusNotify.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMUserStatusNotify) +} +SMUserStatusNotify::SMUserStatusNotify(const SMUserStatusNotify& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + online_users_(from.online_users_), + offline_users_(from.offline_users_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.SMUserStatusNotify) +} + +void SMUserStatusNotify::SharedCtor() { +} + +SMUserStatusNotify::~SMUserStatusNotify() { + // @@protoc_insertion_point(destructor:cs.SMUserStatusNotify) + SharedDtor(); +} + +void SMUserStatusNotify::SharedDtor() { +} + +void SMUserStatusNotify::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMUserStatusNotify::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMUserStatusNotify& SMUserStatusNotify::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMUserStatusNotify.base); + return *internal_default_instance(); +} + + +void SMUserStatusNotify::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMUserStatusNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + online_users_.Clear(); + offline_users_.Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMUserStatusNotify::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMUserStatusNotify) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated string online_users = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_online_users())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->online_users(this->online_users_size() - 1).data(), + static_cast(this->online_users(this->online_users_size() - 1).length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.SMUserStatusNotify.online_users"); + } else { + goto handle_unusual; + } + break; + } + + // repeated string offline_users = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_offline_users())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->offline_users(this->offline_users_size() - 1).data(), + static_cast(this->offline_users(this->offline_users_size() - 1).length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.SMUserStatusNotify.offline_users"); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMUserStatusNotify) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMUserStatusNotify) + return false; +#undef DO_ +} + +void SMUserStatusNotify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMUserStatusNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string online_users = 1; + for (int i = 0, n = this->online_users_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->online_users(i).data(), static_cast(this->online_users(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMUserStatusNotify.online_users"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->online_users(i), output); + } + + // repeated string offline_users = 2; + for (int i = 0, n = this->offline_users_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->offline_users(i).data(), static_cast(this->offline_users(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMUserStatusNotify.offline_users"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->offline_users(i), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMUserStatusNotify) +} + +::google::protobuf::uint8* SMUserStatusNotify::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMUserStatusNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string online_users = 1; + for (int i = 0, n = this->online_users_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->online_users(i).data(), static_cast(this->online_users(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMUserStatusNotify.online_users"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(1, this->online_users(i), target); + } + + // repeated string offline_users = 2; + for (int i = 0, n = this->offline_users_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->offline_users(i).data(), static_cast(this->offline_users(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMUserStatusNotify.offline_users"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(2, this->offline_users(i), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMUserStatusNotify) + return target; +} + +size_t SMUserStatusNotify::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMUserStatusNotify) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated string online_users = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->online_users_size()); + for (int i = 0, n = this->online_users_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->online_users(i)); + } + + // repeated string offline_users = 2; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->offline_users_size()); + for (int i = 0, n = this->offline_users_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->offline_users(i)); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMUserStatusNotify::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMUserStatusNotify) + GOOGLE_DCHECK_NE(&from, this); + const SMUserStatusNotify* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMUserStatusNotify) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMUserStatusNotify) + MergeFrom(*source); + } +} + +void SMUserStatusNotify::MergeFrom(const SMUserStatusNotify& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMUserStatusNotify) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + online_users_.MergeFrom(from.online_users_); + offline_users_.MergeFrom(from.offline_users_); +} + +void SMUserStatusNotify::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMUserStatusNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMUserStatusNotify::CopyFrom(const SMUserStatusNotify& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMUserStatusNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMUserStatusNotify::IsInitialized() const { + return true; +} + +void SMUserStatusNotify::Swap(SMUserStatusNotify* other) { + if (other == this) return; + InternalSwap(other); +} +void SMUserStatusNotify::InternalSwap(SMUserStatusNotify* other) { + using std::swap; + online_users_.InternalSwap(CastToBase(&other->online_users_)); + offline_users_.InternalSwap(CastToBase(&other->offline_users_)); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMUserStatusNotify::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMChatMsgNotify::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMChatMsgNotify::kMsgListFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMChatMsgNotify::SMChatMsgNotify() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMChatMsgNotify.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMChatMsgNotify) +} +SMChatMsgNotify::SMChatMsgNotify(const SMChatMsgNotify& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + msg_list_(from.msg_list_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.SMChatMsgNotify) +} + +void SMChatMsgNotify::SharedCtor() { +} + +SMChatMsgNotify::~SMChatMsgNotify() { + // @@protoc_insertion_point(destructor:cs.SMChatMsgNotify) + SharedDtor(); +} + +void SMChatMsgNotify::SharedDtor() { +} + +void SMChatMsgNotify::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMChatMsgNotify::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMChatMsgNotify& SMChatMsgNotify::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMChatMsgNotify.base); + return *internal_default_instance(); +} + + +void SMChatMsgNotify::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMChatMsgNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + msg_list_.Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMChatMsgNotify::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMChatMsgNotify) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .cs.MFChatMsg msg_list = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_msg_list())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMChatMsgNotify) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMChatMsgNotify) + return false; +#undef DO_ +} + +void SMChatMsgNotify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMChatMsgNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .cs.MFChatMsg msg_list = 1; + for (unsigned int i = 0, + n = static_cast(this->msg_list_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->msg_list(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMChatMsgNotify) +} + +::google::protobuf::uint8* SMChatMsgNotify::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMChatMsgNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .cs.MFChatMsg msg_list = 1; + for (unsigned int i = 0, + n = static_cast(this->msg_list_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->msg_list(static_cast(i)), deterministic, target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMChatMsgNotify) + return target; +} + +size_t SMChatMsgNotify::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMChatMsgNotify) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated .cs.MFChatMsg msg_list = 1; + { + unsigned int count = static_cast(this->msg_list_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->msg_list(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMChatMsgNotify::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMChatMsgNotify) + GOOGLE_DCHECK_NE(&from, this); + const SMChatMsgNotify* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMChatMsgNotify) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMChatMsgNotify) + MergeFrom(*source); + } +} + +void SMChatMsgNotify::MergeFrom(const SMChatMsgNotify& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMChatMsgNotify) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + msg_list_.MergeFrom(from.msg_list_); +} + +void SMChatMsgNotify::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMChatMsgNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMChatMsgNotify::CopyFrom(const SMChatMsgNotify& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMChatMsgNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMChatMsgNotify::IsInitialized() const { + return true; +} + +void SMChatMsgNotify::Swap(SMChatMsgNotify* other) { + if (other == this) return; + InternalSwap(other); +} +void SMChatMsgNotify::InternalSwap(SMChatMsgNotify* other) { + using std::swap; + CastToBase(&msg_list_)->InternalSwap(CastToBase(&other->msg_list_)); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMChatMsgNotify::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMCustomMsgNotify::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMCustomMsgNotify::kSenderFieldNumber; +const int SMCustomMsgNotify::kMsgFieldNumber; +const int SMCustomMsgNotify::kParam1FieldNumber; +const int SMCustomMsgNotify::kParam2FieldNumber; +const int SMCustomMsgNotify::kParam3FieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMCustomMsgNotify::SMCustomMsgNotify() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMCustomMsgNotify.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMCustomMsgNotify) +} +SMCustomMsgNotify::SMCustomMsgNotify(const SMCustomMsgNotify& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + sender_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_sender()) { + sender_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sender_); + } + msg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_msg()) { + msg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msg_); + } + ::memcpy(¶m1_, &from.param1_, + static_cast(reinterpret_cast(¶m3_) - + reinterpret_cast(¶m1_)) + sizeof(param3_)); + // @@protoc_insertion_point(copy_constructor:cs.SMCustomMsgNotify) +} + +void SMCustomMsgNotify::SharedCtor() { + sender_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + msg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(¶m1_, 0, static_cast( + reinterpret_cast(¶m3_) - + reinterpret_cast(¶m1_)) + sizeof(param3_)); +} + +SMCustomMsgNotify::~SMCustomMsgNotify() { + // @@protoc_insertion_point(destructor:cs.SMCustomMsgNotify) + SharedDtor(); +} + +void SMCustomMsgNotify::SharedDtor() { + sender_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + msg_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void SMCustomMsgNotify::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMCustomMsgNotify::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMCustomMsgNotify& SMCustomMsgNotify::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMCustomMsgNotify.base); + return *internal_default_instance(); +} + + +void SMCustomMsgNotify::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMCustomMsgNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 3u) { + if (cached_has_bits & 0x00000001u) { + sender_.ClearNonDefaultToEmptyNoArena(); + } + if (cached_has_bits & 0x00000002u) { + msg_.ClearNonDefaultToEmptyNoArena(); + } + } + if (cached_has_bits & 28u) { + ::memset(¶m1_, 0, static_cast( + reinterpret_cast(¶m3_) - + reinterpret_cast(¶m1_)) + sizeof(param3_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMCustomMsgNotify::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMCustomMsgNotify) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional string sender = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_sender())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->sender().data(), static_cast(this->sender().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.SMCustomMsgNotify.sender"); + } else { + goto handle_unusual; + } + break; + } + + // optional string msg = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_msg())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg().data(), static_cast(this->msg().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.SMCustomMsgNotify.msg"); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 param1 = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { + set_has_param1(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, ¶m1_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 param2 = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { + set_has_param2(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, ¶m2_))); + } else { + goto handle_unusual; + } + break; + } + + // optional int64 param3 = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { + set_has_param3(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, ¶m3_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMCustomMsgNotify) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMCustomMsgNotify) + return false; +#undef DO_ +} + +void SMCustomMsgNotify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMCustomMsgNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional string sender = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->sender().data(), static_cast(this->sender().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMCustomMsgNotify.sender"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->sender(), output); + } + + // optional string msg = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg().data(), static_cast(this->msg().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMCustomMsgNotify.msg"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->msg(), output); + } + + // optional int64 param1 = 3; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->param1(), output); + } + + // optional int64 param2 = 4; + if (cached_has_bits & 0x00000008u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->param2(), output); + } + + // optional int64 param3 = 5; + if (cached_has_bits & 0x00000010u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->param3(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMCustomMsgNotify) +} + +::google::protobuf::uint8* SMCustomMsgNotify::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMCustomMsgNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional string sender = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->sender().data(), static_cast(this->sender().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMCustomMsgNotify.sender"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->sender(), target); + } + + // optional string msg = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg().data(), static_cast(this->msg().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMCustomMsgNotify.msg"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->msg(), target); + } + + // optional int64 param1 = 3; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->param1(), target); + } + + // optional int64 param2 = 4; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->param2(), target); + } + + // optional int64 param3 = 5; + if (cached_has_bits & 0x00000010u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->param3(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMCustomMsgNotify) + return target; +} + +size_t SMCustomMsgNotify::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMCustomMsgNotify) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + if (_has_bits_[0 / 32] & 31u) { + // optional string sender = 1; + if (has_sender()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->sender()); + } + + // optional string msg = 2; + if (has_msg()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->msg()); + } + + // optional int64 param1 = 3; + if (has_param1()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->param1()); + } + + // optional int64 param2 = 4; + if (has_param2()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->param2()); + } + + // optional int64 param3 = 5; + if (has_param3()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->param3()); + } + + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMCustomMsgNotify::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMCustomMsgNotify) + GOOGLE_DCHECK_NE(&from, this); + const SMCustomMsgNotify* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMCustomMsgNotify) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMCustomMsgNotify) + MergeFrom(*source); + } +} + +void SMCustomMsgNotify::MergeFrom(const SMCustomMsgNotify& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMCustomMsgNotify) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 31u) { + if (cached_has_bits & 0x00000001u) { + set_has_sender(); + sender_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sender_); + } + if (cached_has_bits & 0x00000002u) { + set_has_msg(); + msg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msg_); + } + if (cached_has_bits & 0x00000004u) { + param1_ = from.param1_; + } + if (cached_has_bits & 0x00000008u) { + param2_ = from.param2_; + } + if (cached_has_bits & 0x00000010u) { + param3_ = from.param3_; + } + _has_bits_[0] |= cached_has_bits; + } +} + +void SMCustomMsgNotify::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMCustomMsgNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMCustomMsgNotify::CopyFrom(const SMCustomMsgNotify& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMCustomMsgNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMCustomMsgNotify::IsInitialized() const { + return true; +} + +void SMCustomMsgNotify::Swap(SMCustomMsgNotify* other) { + if (other == this) return; + InternalSwap(other); +} +void SMCustomMsgNotify::InternalSwap(SMCustomMsgNotify* other) { + using std::swap; + sender_.Swap(&other->sender_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + msg_.Swap(&other->msg_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(param1_, other->param1_); + swap(param2_, other->param2_); + swap(param3_, other->param3_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMCustomMsgNotify::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMUserInfoUpdate::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMUserInfoUpdate::kUserInfosFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMUserInfoUpdate::SMUserInfoUpdate() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMUserInfoUpdate.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMUserInfoUpdate) +} +SMUserInfoUpdate::SMUserInfoUpdate(const SMUserInfoUpdate& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + user_infos_(from.user_infos_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.SMUserInfoUpdate) +} + +void SMUserInfoUpdate::SharedCtor() { +} + +SMUserInfoUpdate::~SMUserInfoUpdate() { + // @@protoc_insertion_point(destructor:cs.SMUserInfoUpdate) + SharedDtor(); +} + +void SMUserInfoUpdate::SharedDtor() { +} + +void SMUserInfoUpdate::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMUserInfoUpdate::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMUserInfoUpdate& SMUserInfoUpdate::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMUserInfoUpdate.base); + return *internal_default_instance(); +} + + +void SMUserInfoUpdate::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMUserInfoUpdate) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + user_infos_.Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMUserInfoUpdate::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMUserInfoUpdate) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .cs.MFUserInfo user_infos = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_user_infos())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMUserInfoUpdate) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMUserInfoUpdate) + return false; +#undef DO_ +} + +void SMUserInfoUpdate::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMUserInfoUpdate) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .cs.MFUserInfo user_infos = 1; + for (unsigned int i = 0, + n = static_cast(this->user_infos_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->user_infos(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMUserInfoUpdate) +} + +::google::protobuf::uint8* SMUserInfoUpdate::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMUserInfoUpdate) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .cs.MFUserInfo user_infos = 1; + for (unsigned int i = 0, + n = static_cast(this->user_infos_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->user_infos(static_cast(i)), deterministic, target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMUserInfoUpdate) + return target; +} + +size_t SMUserInfoUpdate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMUserInfoUpdate) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated .cs.MFUserInfo user_infos = 1; + { + unsigned int count = static_cast(this->user_infos_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->user_infos(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMUserInfoUpdate::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMUserInfoUpdate) + GOOGLE_DCHECK_NE(&from, this); + const SMUserInfoUpdate* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMUserInfoUpdate) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMUserInfoUpdate) + MergeFrom(*source); + } +} + +void SMUserInfoUpdate::MergeFrom(const SMUserInfoUpdate& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMUserInfoUpdate) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + user_infos_.MergeFrom(from.user_infos_); +} + +void SMUserInfoUpdate::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMUserInfoUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMUserInfoUpdate::CopyFrom(const SMUserInfoUpdate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMUserInfoUpdate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMUserInfoUpdate::IsInitialized() const { + return true; +} + +void SMUserInfoUpdate::Swap(SMUserInfoUpdate* other) { + if (other == this) return; + InternalSwap(other); +} +void SMUserInfoUpdate::InternalSwap(SMUserInfoUpdate* other) { + using std::swap; + CastToBase(&user_infos_)->InternalSwap(CastToBase(&other->user_infos_)); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMUserInfoUpdate::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMDeleteFriendNotify::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMDeleteFriendNotify::kUserListFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMDeleteFriendNotify::SMDeleteFriendNotify() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMDeleteFriendNotify.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMDeleteFriendNotify) +} +SMDeleteFriendNotify::SMDeleteFriendNotify(const SMDeleteFriendNotify& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + user_list_(from.user_list_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.SMDeleteFriendNotify) +} + +void SMDeleteFriendNotify::SharedCtor() { +} + +SMDeleteFriendNotify::~SMDeleteFriendNotify() { + // @@protoc_insertion_point(destructor:cs.SMDeleteFriendNotify) + SharedDtor(); +} + +void SMDeleteFriendNotify::SharedDtor() { +} + +void SMDeleteFriendNotify::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMDeleteFriendNotify::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMDeleteFriendNotify& SMDeleteFriendNotify::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMDeleteFriendNotify.base); + return *internal_default_instance(); +} + + +void SMDeleteFriendNotify::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMDeleteFriendNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + user_list_.Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMDeleteFriendNotify::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMDeleteFriendNotify) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated string user_list = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_user_list())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->user_list(this->user_list_size() - 1).data(), + static_cast(this->user_list(this->user_list_size() - 1).length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.SMDeleteFriendNotify.user_list"); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMDeleteFriendNotify) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMDeleteFriendNotify) + return false; +#undef DO_ +} + +void SMDeleteFriendNotify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMDeleteFriendNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string user_list = 1; + for (int i = 0, n = this->user_list_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->user_list(i).data(), static_cast(this->user_list(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMDeleteFriendNotify.user_list"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->user_list(i), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMDeleteFriendNotify) +} + +::google::protobuf::uint8* SMDeleteFriendNotify::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMDeleteFriendNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string user_list = 1; + for (int i = 0, n = this->user_list_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->user_list(i).data(), static_cast(this->user_list(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMDeleteFriendNotify.user_list"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(1, this->user_list(i), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMDeleteFriendNotify) + return target; +} + +size_t SMDeleteFriendNotify::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMDeleteFriendNotify) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated string user_list = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->user_list_size()); + for (int i = 0, n = this->user_list_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->user_list(i)); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMDeleteFriendNotify::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMDeleteFriendNotify) + GOOGLE_DCHECK_NE(&from, this); + const SMDeleteFriendNotify* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMDeleteFriendNotify) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMDeleteFriendNotify) + MergeFrom(*source); + } +} + +void SMDeleteFriendNotify::MergeFrom(const SMDeleteFriendNotify& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMDeleteFriendNotify) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + user_list_.MergeFrom(from.user_list_); +} + +void SMDeleteFriendNotify::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMDeleteFriendNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMDeleteFriendNotify::CopyFrom(const SMDeleteFriendNotify& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMDeleteFriendNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMDeleteFriendNotify::IsInitialized() const { + return true; +} + +void SMDeleteFriendNotify::Swap(SMDeleteFriendNotify* other) { + if (other == this) return; + InternalSwap(other); +} +void SMDeleteFriendNotify::InternalSwap(SMDeleteFriendNotify* other) { + using std::swap; + user_list_.InternalSwap(CastToBase(&other->user_list_)); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMDeleteFriendNotify::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMAddBlackListNotify::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMAddBlackListNotify::kUserInfosFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMAddBlackListNotify::SMAddBlackListNotify() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMAddBlackListNotify.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMAddBlackListNotify) +} +SMAddBlackListNotify::SMAddBlackListNotify(const SMAddBlackListNotify& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + user_infos_(from.user_infos_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.SMAddBlackListNotify) +} + +void SMAddBlackListNotify::SharedCtor() { +} + +SMAddBlackListNotify::~SMAddBlackListNotify() { + // @@protoc_insertion_point(destructor:cs.SMAddBlackListNotify) + SharedDtor(); +} + +void SMAddBlackListNotify::SharedDtor() { +} + +void SMAddBlackListNotify::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMAddBlackListNotify::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMAddBlackListNotify& SMAddBlackListNotify::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMAddBlackListNotify.base); + return *internal_default_instance(); +} + + +void SMAddBlackListNotify::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMAddBlackListNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + user_infos_.Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMAddBlackListNotify::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMAddBlackListNotify) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .cs.MFUserInfo user_infos = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_user_infos())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMAddBlackListNotify) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMAddBlackListNotify) + return false; +#undef DO_ +} + +void SMAddBlackListNotify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMAddBlackListNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .cs.MFUserInfo user_infos = 1; + for (unsigned int i = 0, + n = static_cast(this->user_infos_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->user_infos(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMAddBlackListNotify) +} + +::google::protobuf::uint8* SMAddBlackListNotify::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMAddBlackListNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .cs.MFUserInfo user_infos = 1; + for (unsigned int i = 0, + n = static_cast(this->user_infos_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->user_infos(static_cast(i)), deterministic, target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMAddBlackListNotify) + return target; +} + +size_t SMAddBlackListNotify::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMAddBlackListNotify) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated .cs.MFUserInfo user_infos = 1; + { + unsigned int count = static_cast(this->user_infos_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->user_infos(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMAddBlackListNotify::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMAddBlackListNotify) + GOOGLE_DCHECK_NE(&from, this); + const SMAddBlackListNotify* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMAddBlackListNotify) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMAddBlackListNotify) + MergeFrom(*source); + } +} + +void SMAddBlackListNotify::MergeFrom(const SMAddBlackListNotify& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMAddBlackListNotify) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + user_infos_.MergeFrom(from.user_infos_); +} + +void SMAddBlackListNotify::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMAddBlackListNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMAddBlackListNotify::CopyFrom(const SMAddBlackListNotify& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMAddBlackListNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMAddBlackListNotify::IsInitialized() const { + return true; +} + +void SMAddBlackListNotify::Swap(SMAddBlackListNotify* other) { + if (other == this) return; + InternalSwap(other); +} +void SMAddBlackListNotify::InternalSwap(SMAddBlackListNotify* other) { + using std::swap; + CastToBase(&user_infos_)->InternalSwap(CastToBase(&other->user_infos_)); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMAddBlackListNotify::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMDeleteBlackListNotify::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMDeleteBlackListNotify::kUserListFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMDeleteBlackListNotify::SMDeleteBlackListNotify() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMDeleteBlackListNotify.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMDeleteBlackListNotify) +} +SMDeleteBlackListNotify::SMDeleteBlackListNotify(const SMDeleteBlackListNotify& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + user_list_(from.user_list_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.SMDeleteBlackListNotify) +} + +void SMDeleteBlackListNotify::SharedCtor() { +} + +SMDeleteBlackListNotify::~SMDeleteBlackListNotify() { + // @@protoc_insertion_point(destructor:cs.SMDeleteBlackListNotify) + SharedDtor(); +} + +void SMDeleteBlackListNotify::SharedDtor() { +} + +void SMDeleteBlackListNotify::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMDeleteBlackListNotify::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMDeleteBlackListNotify& SMDeleteBlackListNotify::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMDeleteBlackListNotify.base); + return *internal_default_instance(); +} + + +void SMDeleteBlackListNotify::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMDeleteBlackListNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + user_list_.Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMDeleteBlackListNotify::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMDeleteBlackListNotify) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated string user_list = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_user_list())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->user_list(this->user_list_size() - 1).data(), + static_cast(this->user_list(this->user_list_size() - 1).length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.SMDeleteBlackListNotify.user_list"); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMDeleteBlackListNotify) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMDeleteBlackListNotify) + return false; +#undef DO_ +} + +void SMDeleteBlackListNotify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMDeleteBlackListNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string user_list = 1; + for (int i = 0, n = this->user_list_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->user_list(i).data(), static_cast(this->user_list(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMDeleteBlackListNotify.user_list"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->user_list(i), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMDeleteBlackListNotify) +} + +::google::protobuf::uint8* SMDeleteBlackListNotify::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMDeleteBlackListNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string user_list = 1; + for (int i = 0, n = this->user_list_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->user_list(i).data(), static_cast(this->user_list(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMDeleteBlackListNotify.user_list"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(1, this->user_list(i), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMDeleteBlackListNotify) + return target; +} + +size_t SMDeleteBlackListNotify::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMDeleteBlackListNotify) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated string user_list = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->user_list_size()); + for (int i = 0, n = this->user_list_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->user_list(i)); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMDeleteBlackListNotify::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMDeleteBlackListNotify) + GOOGLE_DCHECK_NE(&from, this); + const SMDeleteBlackListNotify* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMDeleteBlackListNotify) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMDeleteBlackListNotify) + MergeFrom(*source); + } +} + +void SMDeleteBlackListNotify::MergeFrom(const SMDeleteBlackListNotify& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMDeleteBlackListNotify) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + user_list_.MergeFrom(from.user_list_); +} + +void SMDeleteBlackListNotify::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMDeleteBlackListNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMDeleteBlackListNotify::CopyFrom(const SMDeleteBlackListNotify& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMDeleteBlackListNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMDeleteBlackListNotify::IsInitialized() const { + return true; +} + +void SMDeleteBlackListNotify::Swap(SMDeleteBlackListNotify* other) { + if (other == this) return; + InternalSwap(other); +} +void SMDeleteBlackListNotify::InternalSwap(SMDeleteBlackListNotify* other) { + using std::swap; + user_list_.InternalSwap(CastToBase(&other->user_list_)); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMDeleteBlackListNotify::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMUpdateRedPointNotify::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMUpdateRedPointNotify::kRedPointFlagsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMUpdateRedPointNotify::SMUpdateRedPointNotify() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMUpdateRedPointNotify.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMUpdateRedPointNotify) +} +SMUpdateRedPointNotify::SMUpdateRedPointNotify(const SMUpdateRedPointNotify& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + red_point_flags_ = from.red_point_flags_; + // @@protoc_insertion_point(copy_constructor:cs.SMUpdateRedPointNotify) +} + +void SMUpdateRedPointNotify::SharedCtor() { + red_point_flags_ = 0; +} + +SMUpdateRedPointNotify::~SMUpdateRedPointNotify() { + // @@protoc_insertion_point(destructor:cs.SMUpdateRedPointNotify) + SharedDtor(); +} + +void SMUpdateRedPointNotify::SharedDtor() { +} + +void SMUpdateRedPointNotify::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMUpdateRedPointNotify::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMUpdateRedPointNotify& SMUpdateRedPointNotify::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMUpdateRedPointNotify.base); + return *internal_default_instance(); +} + + +void SMUpdateRedPointNotify::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMUpdateRedPointNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + red_point_flags_ = 0; + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMUpdateRedPointNotify::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMUpdateRedPointNotify) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 red_point_flags = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + set_has_red_point_flags(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &red_point_flags_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMUpdateRedPointNotify) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMUpdateRedPointNotify) + return false; +#undef DO_ +} + +void SMUpdateRedPointNotify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMUpdateRedPointNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 red_point_flags = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->red_point_flags(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMUpdateRedPointNotify) +} + +::google::protobuf::uint8* SMUpdateRedPointNotify::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMUpdateRedPointNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional int32 red_point_flags = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->red_point_flags(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMUpdateRedPointNotify) + return target; +} + +size_t SMUpdateRedPointNotify::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMUpdateRedPointNotify) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // optional int32 red_point_flags = 1; + if (has_red_point_flags()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->red_point_flags()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMUpdateRedPointNotify::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMUpdateRedPointNotify) + GOOGLE_DCHECK_NE(&from, this); + const SMUpdateRedPointNotify* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMUpdateRedPointNotify) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMUpdateRedPointNotify) + MergeFrom(*source); + } +} + +void SMUpdateRedPointNotify::MergeFrom(const SMUpdateRedPointNotify& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMUpdateRedPointNotify) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_red_point_flags()) { + set_red_point_flags(from.red_point_flags()); + } +} + +void SMUpdateRedPointNotify::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMUpdateRedPointNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMUpdateRedPointNotify::CopyFrom(const SMUpdateRedPointNotify& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMUpdateRedPointNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMUpdateRedPointNotify::IsInitialized() const { + return true; +} + +void SMUpdateRedPointNotify::Swap(SMUpdateRedPointNotify* other) { + if (other == this) return; + InternalSwap(other); +} +void SMUpdateRedPointNotify::InternalSwap(SMUpdateRedPointNotify* other) { + using std::swap; + swap(red_point_flags_, other->red_point_flags_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMUpdateRedPointNotify::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMUpdateChatRedPointNotify::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMUpdateChatRedPointNotify::kHasUnreadMsgChannelsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMUpdateChatRedPointNotify::SMUpdateChatRedPointNotify() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMUpdateChatRedPointNotify.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMUpdateChatRedPointNotify) +} +SMUpdateChatRedPointNotify::SMUpdateChatRedPointNotify(const SMUpdateChatRedPointNotify& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + has_unread_msg_channels_(from.has_unread_msg_channels_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.SMUpdateChatRedPointNotify) +} + +void SMUpdateChatRedPointNotify::SharedCtor() { +} + +SMUpdateChatRedPointNotify::~SMUpdateChatRedPointNotify() { + // @@protoc_insertion_point(destructor:cs.SMUpdateChatRedPointNotify) + SharedDtor(); +} + +void SMUpdateChatRedPointNotify::SharedDtor() { +} + +void SMUpdateChatRedPointNotify::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMUpdateChatRedPointNotify::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMUpdateChatRedPointNotify& SMUpdateChatRedPointNotify::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMUpdateChatRedPointNotify.base); + return *internal_default_instance(); +} + + +void SMUpdateChatRedPointNotify::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMUpdateChatRedPointNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + has_unread_msg_channels_.Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMUpdateChatRedPointNotify::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMUpdateChatRedPointNotify) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated int32 has_unread_msg_channels = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + 1, 8u, input, this->mutable_has_unread_msg_channels()))); + } else if ( + static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, this->mutable_has_unread_msg_channels()))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMUpdateChatRedPointNotify) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMUpdateChatRedPointNotify) + return false; +#undef DO_ +} + +void SMUpdateChatRedPointNotify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMUpdateChatRedPointNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated int32 has_unread_msg_channels = 1; + for (int i = 0, n = this->has_unread_msg_channels_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteInt32( + 1, this->has_unread_msg_channels(i), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMUpdateChatRedPointNotify) +} + +::google::protobuf::uint8* SMUpdateChatRedPointNotify::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMUpdateChatRedPointNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated int32 has_unread_msg_channels = 1; + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArray(1, this->has_unread_msg_channels_, target); + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMUpdateChatRedPointNotify) + return target; +} + +size_t SMUpdateChatRedPointNotify::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMUpdateChatRedPointNotify) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated int32 has_unread_msg_channels = 1; + { + size_t data_size = ::google::protobuf::internal::WireFormatLite:: + Int32Size(this->has_unread_msg_channels_); + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->has_unread_msg_channels_size()); + total_size += data_size; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMUpdateChatRedPointNotify::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMUpdateChatRedPointNotify) + GOOGLE_DCHECK_NE(&from, this); + const SMUpdateChatRedPointNotify* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMUpdateChatRedPointNotify) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMUpdateChatRedPointNotify) + MergeFrom(*source); + } +} + +void SMUpdateChatRedPointNotify::MergeFrom(const SMUpdateChatRedPointNotify& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMUpdateChatRedPointNotify) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + has_unread_msg_channels_.MergeFrom(from.has_unread_msg_channels_); +} + +void SMUpdateChatRedPointNotify::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMUpdateChatRedPointNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMUpdateChatRedPointNotify::CopyFrom(const SMUpdateChatRedPointNotify& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMUpdateChatRedPointNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMUpdateChatRedPointNotify::IsInitialized() const { + return true; +} + +void SMUpdateChatRedPointNotify::Swap(SMUpdateChatRedPointNotify* other) { + if (other == this) return; + InternalSwap(other); +} +void SMUpdateChatRedPointNotify::InternalSwap(SMUpdateChatRedPointNotify* other) { + using std::swap; + has_unread_msg_channels_.InternalSwap(&other->has_unread_msg_channels_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMUpdateChatRedPointNotify::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMUpdatePrivateChatRedPointNotify::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMUpdatePrivateChatRedPointNotify::kHasUnreadMsgAccountsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMUpdatePrivateChatRedPointNotify::SMUpdatePrivateChatRedPointNotify() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMUpdatePrivateChatRedPointNotify.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMUpdatePrivateChatRedPointNotify) +} +SMUpdatePrivateChatRedPointNotify::SMUpdatePrivateChatRedPointNotify(const SMUpdatePrivateChatRedPointNotify& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + has_unread_msg_accounts_(from.has_unread_msg_accounts_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.SMUpdatePrivateChatRedPointNotify) +} + +void SMUpdatePrivateChatRedPointNotify::SharedCtor() { +} + +SMUpdatePrivateChatRedPointNotify::~SMUpdatePrivateChatRedPointNotify() { + // @@protoc_insertion_point(destructor:cs.SMUpdatePrivateChatRedPointNotify) + SharedDtor(); +} + +void SMUpdatePrivateChatRedPointNotify::SharedDtor() { +} + +void SMUpdatePrivateChatRedPointNotify::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMUpdatePrivateChatRedPointNotify::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMUpdatePrivateChatRedPointNotify& SMUpdatePrivateChatRedPointNotify::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMUpdatePrivateChatRedPointNotify.base); + return *internal_default_instance(); +} + + +void SMUpdatePrivateChatRedPointNotify::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMUpdatePrivateChatRedPointNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + has_unread_msg_accounts_.Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMUpdatePrivateChatRedPointNotify::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMUpdatePrivateChatRedPointNotify) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated string has_unread_msg_accounts = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_has_unread_msg_accounts())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->has_unread_msg_accounts(this->has_unread_msg_accounts_size() - 1).data(), + static_cast(this->has_unread_msg_accounts(this->has_unread_msg_accounts_size() - 1).length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts"); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMUpdatePrivateChatRedPointNotify) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMUpdatePrivateChatRedPointNotify) + return false; +#undef DO_ +} + +void SMUpdatePrivateChatRedPointNotify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMUpdatePrivateChatRedPointNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string has_unread_msg_accounts = 1; + for (int i = 0, n = this->has_unread_msg_accounts_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->has_unread_msg_accounts(i).data(), static_cast(this->has_unread_msg_accounts(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->has_unread_msg_accounts(i), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMUpdatePrivateChatRedPointNotify) +} + +::google::protobuf::uint8* SMUpdatePrivateChatRedPointNotify::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMUpdatePrivateChatRedPointNotify) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string has_unread_msg_accounts = 1; + for (int i = 0, n = this->has_unread_msg_accounts_size(); i < n; i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->has_unread_msg_accounts(i).data(), static_cast(this->has_unread_msg_accounts(i).length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(1, this->has_unread_msg_accounts(i), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMUpdatePrivateChatRedPointNotify) + return target; +} + +size_t SMUpdatePrivateChatRedPointNotify::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMUpdatePrivateChatRedPointNotify) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated string has_unread_msg_accounts = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->has_unread_msg_accounts_size()); + for (int i = 0, n = this->has_unread_msg_accounts_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->has_unread_msg_accounts(i)); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMUpdatePrivateChatRedPointNotify::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMUpdatePrivateChatRedPointNotify) + GOOGLE_DCHECK_NE(&from, this); + const SMUpdatePrivateChatRedPointNotify* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMUpdatePrivateChatRedPointNotify) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMUpdatePrivateChatRedPointNotify) + MergeFrom(*source); + } +} + +void SMUpdatePrivateChatRedPointNotify::MergeFrom(const SMUpdatePrivateChatRedPointNotify& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMUpdatePrivateChatRedPointNotify) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + has_unread_msg_accounts_.MergeFrom(from.has_unread_msg_accounts_); +} + +void SMUpdatePrivateChatRedPointNotify::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMUpdatePrivateChatRedPointNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMUpdatePrivateChatRedPointNotify::CopyFrom(const SMUpdatePrivateChatRedPointNotify& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMUpdatePrivateChatRedPointNotify) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMUpdatePrivateChatRedPointNotify::IsInitialized() const { + return true; +} + +void SMUpdatePrivateChatRedPointNotify::Swap(SMUpdatePrivateChatRedPointNotify* other) { + if (other == this) return; + InternalSwap(other); +} +void SMUpdatePrivateChatRedPointNotify::InternalSwap(SMUpdatePrivateChatRedPointNotify* other) { + using std::swap; + has_unread_msg_accounts_.InternalSwap(CastToBase(&other->has_unread_msg_accounts_)); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMUpdatePrivateChatRedPointNotify::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMUpdateChatChannelLastId::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMUpdateChatChannelLastId::kLastIdsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMUpdateChatChannelLastId::SMUpdateChatChannelLastId() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMUpdateChatChannelLastId.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMUpdateChatChannelLastId) +} +SMUpdateChatChannelLastId::SMUpdateChatChannelLastId(const SMUpdateChatChannelLastId& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + last_ids_(from.last_ids_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:cs.SMUpdateChatChannelLastId) +} + +void SMUpdateChatChannelLastId::SharedCtor() { +} + +SMUpdateChatChannelLastId::~SMUpdateChatChannelLastId() { + // @@protoc_insertion_point(destructor:cs.SMUpdateChatChannelLastId) + SharedDtor(); +} + +void SMUpdateChatChannelLastId::SharedDtor() { +} + +void SMUpdateChatChannelLastId::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMUpdateChatChannelLastId::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMUpdateChatChannelLastId& SMUpdateChatChannelLastId::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMUpdateChatChannelLastId.base); + return *internal_default_instance(); +} + + +void SMUpdateChatChannelLastId::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMUpdateChatChannelLastId) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + last_ids_.Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMUpdateChatChannelLastId::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMUpdateChatChannelLastId) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .cs.MFPairInt64 last_ids = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_last_ids())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMUpdateChatChannelLastId) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMUpdateChatChannelLastId) + return false; +#undef DO_ +} + +void SMUpdateChatChannelLastId::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMUpdateChatChannelLastId) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .cs.MFPairInt64 last_ids = 1; + for (unsigned int i = 0, + n = static_cast(this->last_ids_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->last_ids(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMUpdateChatChannelLastId) +} + +::google::protobuf::uint8* SMUpdateChatChannelLastId::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMUpdateChatChannelLastId) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .cs.MFPairInt64 last_ids = 1; + for (unsigned int i = 0, + n = static_cast(this->last_ids_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->last_ids(static_cast(i)), deterministic, target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMUpdateChatChannelLastId) + return target; +} + +size_t SMUpdateChatChannelLastId::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMUpdateChatChannelLastId) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated .cs.MFPairInt64 last_ids = 1; + { + unsigned int count = static_cast(this->last_ids_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->last_ids(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMUpdateChatChannelLastId::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMUpdateChatChannelLastId) + GOOGLE_DCHECK_NE(&from, this); + const SMUpdateChatChannelLastId* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMUpdateChatChannelLastId) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMUpdateChatChannelLastId) + MergeFrom(*source); + } +} + +void SMUpdateChatChannelLastId::MergeFrom(const SMUpdateChatChannelLastId& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMUpdateChatChannelLastId) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + last_ids_.MergeFrom(from.last_ids_); +} + +void SMUpdateChatChannelLastId::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMUpdateChatChannelLastId) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMUpdateChatChannelLastId::CopyFrom(const SMUpdateChatChannelLastId& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMUpdateChatChannelLastId) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMUpdateChatChannelLastId::IsInitialized() const { + return true; +} + +void SMUpdateChatChannelLastId::Swap(SMUpdateChatChannelLastId* other) { + if (other == this) return; + InternalSwap(other); +} +void SMUpdateChatChannelLastId::InternalSwap(SMUpdateChatChannelLastId* other) { + using std::swap; + CastToBase(&last_ids_)->InternalSwap(CastToBase(&other->last_ids_)); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMUpdateChatChannelLastId::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// =================================================================== + +void SMShowErrorMsg::InitAsDefaultInstance() { +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SMShowErrorMsg::kMsgFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SMShowErrorMsg::SMShowErrorMsg() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + ::google::protobuf::internal::InitSCC( + &protobuf_cs_5fproto_2eproto::scc_info_SMShowErrorMsg.base); + SharedCtor(); + // @@protoc_insertion_point(constructor:cs.SMShowErrorMsg) +} +SMShowErrorMsg::SMShowErrorMsg(const SMShowErrorMsg& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + msg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_msg()) { + msg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msg_); + } + // @@protoc_insertion_point(copy_constructor:cs.SMShowErrorMsg) +} + +void SMShowErrorMsg::SharedCtor() { + msg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +SMShowErrorMsg::~SMShowErrorMsg() { + // @@protoc_insertion_point(destructor:cs.SMShowErrorMsg) + SharedDtor(); +} + +void SMShowErrorMsg::SharedDtor() { + msg_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void SMShowErrorMsg::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ::google::protobuf::Descriptor* SMShowErrorMsg::descriptor() { + ::protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const SMShowErrorMsg& SMShowErrorMsg::default_instance() { + ::google::protobuf::internal::InitSCC(&protobuf_cs_5fproto_2eproto::scc_info_SMShowErrorMsg.base); + return *internal_default_instance(); +} + + +void SMShowErrorMsg::Clear() { +// @@protoc_insertion_point(message_clear_start:cs.SMShowErrorMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + msg_.ClearNonDefaultToEmptyNoArena(); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool SMShowErrorMsg::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:cs.SMShowErrorMsg) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional string msg = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_msg())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg().data(), static_cast(this->msg().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "cs.SMShowErrorMsg.msg"); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:cs.SMShowErrorMsg) + return true; +failure: + // @@protoc_insertion_point(parse_failure:cs.SMShowErrorMsg) + return false; +#undef DO_ +} + +void SMShowErrorMsg::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:cs.SMShowErrorMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional string msg = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg().data(), static_cast(this->msg().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMShowErrorMsg.msg"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->msg(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:cs.SMShowErrorMsg) +} + +::google::protobuf::uint8* SMShowErrorMsg::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:cs.SMShowErrorMsg) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // optional string msg = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->msg().data(), static_cast(this->msg().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "cs.SMShowErrorMsg.msg"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->msg(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:cs.SMShowErrorMsg) + return target; +} + +size_t SMShowErrorMsg::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:cs.SMShowErrorMsg) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // optional string msg = 1; + if (has_msg()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->msg()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SMShowErrorMsg::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:cs.SMShowErrorMsg) + GOOGLE_DCHECK_NE(&from, this); + const SMShowErrorMsg* source = + ::google::protobuf::internal::DynamicCastToGenerated( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:cs.SMShowErrorMsg) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:cs.SMShowErrorMsg) + MergeFrom(*source); + } +} + +void SMShowErrorMsg::MergeFrom(const SMShowErrorMsg& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:cs.SMShowErrorMsg) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_msg()) { + set_has_msg(); + msg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.msg_); + } +} + +void SMShowErrorMsg::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:cs.SMShowErrorMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SMShowErrorMsg::CopyFrom(const SMShowErrorMsg& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:cs.SMShowErrorMsg) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SMShowErrorMsg::IsInitialized() const { + return true; +} + +void SMShowErrorMsg::Swap(SMShowErrorMsg* other) { + if (other == this) return; + InternalSwap(other); +} +void SMShowErrorMsg::InternalSwap(SMShowErrorMsg* other) { + using std::swap; + msg_.Swap(&other->msg_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SMShowErrorMsg::GetMetadata() const { + protobuf_cs_5fproto_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_cs_5fproto_2eproto::file_level_metadata[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace cs +namespace google { +namespace protobuf { +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::CMPing* Arena::CreateMaybeMessage< ::cs::CMPing >(Arena* arena) { + return Arena::CreateInternal< ::cs::CMPing >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMPing* Arena::CreateMaybeMessage< ::cs::SMPing >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMPing >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::MFStringTuple* Arena::CreateMaybeMessage< ::cs::MFStringTuple >(Arena* arena) { + return Arena::CreateInternal< ::cs::MFStringTuple >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::MFPairInt32* Arena::CreateMaybeMessage< ::cs::MFPairInt32 >(Arena* arena) { + return Arena::CreateInternal< ::cs::MFPairInt32 >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::MFPairInt64* Arena::CreateMaybeMessage< ::cs::MFPairInt64 >(Arena* arena) { + return Arena::CreateInternal< ::cs::MFPairInt64 >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::MFPaging* Arena::CreateMaybeMessage< ::cs::MFPaging >(Arena* arena) { + return Arena::CreateInternal< ::cs::MFPaging >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::MFBaseUserData* Arena::CreateMaybeMessage< ::cs::MFBaseUserData >(Arena* arena) { + return Arena::CreateInternal< ::cs::MFBaseUserData >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::MFAccountInfo* Arena::CreateMaybeMessage< ::cs::MFAccountInfo >(Arena* arena) { + return Arena::CreateInternal< ::cs::MFAccountInfo >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::MFUserInfo* Arena::CreateMaybeMessage< ::cs::MFUserInfo >(Arena* arena) { + return Arena::CreateInternal< ::cs::MFUserInfo >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::MFUserStatus* Arena::CreateMaybeMessage< ::cs::MFUserStatus >(Arena* arena) { + return Arena::CreateInternal< ::cs::MFUserStatus >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::MFGuildBasic* Arena::CreateMaybeMessage< ::cs::MFGuildBasic >(Arena* arena) { + return Arena::CreateInternal< ::cs::MFGuildBasic >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::MFChatMsg* Arena::CreateMaybeMessage< ::cs::MFChatMsg >(Arena* arena) { + return Arena::CreateInternal< ::cs::MFChatMsg >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::CMLogin* Arena::CreateMaybeMessage< ::cs::CMLogin >(Arena* arena) { + return Arena::CreateInternal< ::cs::CMLogin >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMLogin* Arena::CreateMaybeMessage< ::cs::SMLogin >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMLogin >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::CMSendChatMsg* Arena::CreateMaybeMessage< ::cs::CMSendChatMsg >(Arena* arena) { + return Arena::CreateInternal< ::cs::CMSendChatMsg >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::CMReadMsgAndOpenChatNotify* Arena::CreateMaybeMessage< ::cs::CMReadMsgAndOpenChatNotify >(Arena* arena) { + return Arena::CreateInternal< ::cs::CMReadMsgAndOpenChatNotify >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::CMSetCurrPrivateChatTarget* Arena::CreateMaybeMessage< ::cs::CMSetCurrPrivateChatTarget >(Arena* arena) { + return Arena::CreateInternal< ::cs::CMSetCurrPrivateChatTarget >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::CMCloseChatNotify* Arena::CreateMaybeMessage< ::cs::CMCloseChatNotify >(Arena* arena) { + return Arena::CreateInternal< ::cs::CMCloseChatNotify >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::CMSendCustomMsg* Arena::CreateMaybeMessage< ::cs::CMSendCustomMsg >(Arena* arena) { + return Arena::CreateInternal< ::cs::CMSendCustomMsg >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMUserStatusNotify* Arena::CreateMaybeMessage< ::cs::SMUserStatusNotify >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMUserStatusNotify >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMChatMsgNotify* Arena::CreateMaybeMessage< ::cs::SMChatMsgNotify >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMChatMsgNotify >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMCustomMsgNotify* Arena::CreateMaybeMessage< ::cs::SMCustomMsgNotify >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMCustomMsgNotify >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMUserInfoUpdate* Arena::CreateMaybeMessage< ::cs::SMUserInfoUpdate >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMUserInfoUpdate >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMDeleteFriendNotify* Arena::CreateMaybeMessage< ::cs::SMDeleteFriendNotify >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMDeleteFriendNotify >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMAddBlackListNotify* Arena::CreateMaybeMessage< ::cs::SMAddBlackListNotify >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMAddBlackListNotify >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMDeleteBlackListNotify* Arena::CreateMaybeMessage< ::cs::SMDeleteBlackListNotify >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMDeleteBlackListNotify >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMUpdateRedPointNotify* Arena::CreateMaybeMessage< ::cs::SMUpdateRedPointNotify >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMUpdateRedPointNotify >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMUpdateChatRedPointNotify* Arena::CreateMaybeMessage< ::cs::SMUpdateChatRedPointNotify >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMUpdateChatRedPointNotify >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMUpdatePrivateChatRedPointNotify* Arena::CreateMaybeMessage< ::cs::SMUpdatePrivateChatRedPointNotify >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMUpdatePrivateChatRedPointNotify >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMUpdateChatChannelLastId* Arena::CreateMaybeMessage< ::cs::SMUpdateChatChannelLastId >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMUpdateChatChannelLastId >(arena); +} +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::cs::SMShowErrorMsg* Arena::CreateMaybeMessage< ::cs::SMShowErrorMsg >(Arena* arena) { + return Arena::CreateInternal< ::cs::SMShowErrorMsg >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) diff --git a/server/imserver/cs_proto.pb.h b/server/imserver/cs_proto.pb.h index e69de29..eb1c106 100644 --- a/server/imserver/cs_proto.pb.h +++ b/server/imserver/cs_proto.pb.h @@ -0,0 +1,8951 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: cs_proto.proto + +#ifndef PROTOBUF_INCLUDED_cs_5fproto_2eproto +#define PROTOBUF_INCLUDED_cs_5fproto_2eproto + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 3006001 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +// @@protoc_insertion_point(includes) +#define PROTOBUF_INTERNAL_EXPORT_protobuf_cs_5fproto_2eproto + +namespace protobuf_cs_5fproto_2eproto { +// Internal implementation detail -- do not use these members. +struct TableStruct { + static const ::google::protobuf::internal::ParseTableField entries[]; + static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; + static const ::google::protobuf::internal::ParseTable schema[31]; + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors(); +} // namespace protobuf_cs_5fproto_2eproto +namespace cs { +class CMCloseChatNotify; +class CMCloseChatNotifyDefaultTypeInternal; +extern CMCloseChatNotifyDefaultTypeInternal _CMCloseChatNotify_default_instance_; +class CMLogin; +class CMLoginDefaultTypeInternal; +extern CMLoginDefaultTypeInternal _CMLogin_default_instance_; +class CMPing; +class CMPingDefaultTypeInternal; +extern CMPingDefaultTypeInternal _CMPing_default_instance_; +class CMReadMsgAndOpenChatNotify; +class CMReadMsgAndOpenChatNotifyDefaultTypeInternal; +extern CMReadMsgAndOpenChatNotifyDefaultTypeInternal _CMReadMsgAndOpenChatNotify_default_instance_; +class CMSendChatMsg; +class CMSendChatMsgDefaultTypeInternal; +extern CMSendChatMsgDefaultTypeInternal _CMSendChatMsg_default_instance_; +class CMSendCustomMsg; +class CMSendCustomMsgDefaultTypeInternal; +extern CMSendCustomMsgDefaultTypeInternal _CMSendCustomMsg_default_instance_; +class CMSetCurrPrivateChatTarget; +class CMSetCurrPrivateChatTargetDefaultTypeInternal; +extern CMSetCurrPrivateChatTargetDefaultTypeInternal _CMSetCurrPrivateChatTarget_default_instance_; +class MFAccountInfo; +class MFAccountInfoDefaultTypeInternal; +extern MFAccountInfoDefaultTypeInternal _MFAccountInfo_default_instance_; +class MFBaseUserData; +class MFBaseUserDataDefaultTypeInternal; +extern MFBaseUserDataDefaultTypeInternal _MFBaseUserData_default_instance_; +class MFChatMsg; +class MFChatMsgDefaultTypeInternal; +extern MFChatMsgDefaultTypeInternal _MFChatMsg_default_instance_; +class MFGuildBasic; +class MFGuildBasicDefaultTypeInternal; +extern MFGuildBasicDefaultTypeInternal _MFGuildBasic_default_instance_; +class MFPaging; +class MFPagingDefaultTypeInternal; +extern MFPagingDefaultTypeInternal _MFPaging_default_instance_; +class MFPairInt32; +class MFPairInt32DefaultTypeInternal; +extern MFPairInt32DefaultTypeInternal _MFPairInt32_default_instance_; +class MFPairInt64; +class MFPairInt64DefaultTypeInternal; +extern MFPairInt64DefaultTypeInternal _MFPairInt64_default_instance_; +class MFStringTuple; +class MFStringTupleDefaultTypeInternal; +extern MFStringTupleDefaultTypeInternal _MFStringTuple_default_instance_; +class MFUserInfo; +class MFUserInfoDefaultTypeInternal; +extern MFUserInfoDefaultTypeInternal _MFUserInfo_default_instance_; +class MFUserStatus; +class MFUserStatusDefaultTypeInternal; +extern MFUserStatusDefaultTypeInternal _MFUserStatus_default_instance_; +class SMAddBlackListNotify; +class SMAddBlackListNotifyDefaultTypeInternal; +extern SMAddBlackListNotifyDefaultTypeInternal _SMAddBlackListNotify_default_instance_; +class SMChatMsgNotify; +class SMChatMsgNotifyDefaultTypeInternal; +extern SMChatMsgNotifyDefaultTypeInternal _SMChatMsgNotify_default_instance_; +class SMCustomMsgNotify; +class SMCustomMsgNotifyDefaultTypeInternal; +extern SMCustomMsgNotifyDefaultTypeInternal _SMCustomMsgNotify_default_instance_; +class SMDeleteBlackListNotify; +class SMDeleteBlackListNotifyDefaultTypeInternal; +extern SMDeleteBlackListNotifyDefaultTypeInternal _SMDeleteBlackListNotify_default_instance_; +class SMDeleteFriendNotify; +class SMDeleteFriendNotifyDefaultTypeInternal; +extern SMDeleteFriendNotifyDefaultTypeInternal _SMDeleteFriendNotify_default_instance_; +class SMLogin; +class SMLoginDefaultTypeInternal; +extern SMLoginDefaultTypeInternal _SMLogin_default_instance_; +class SMPing; +class SMPingDefaultTypeInternal; +extern SMPingDefaultTypeInternal _SMPing_default_instance_; +class SMShowErrorMsg; +class SMShowErrorMsgDefaultTypeInternal; +extern SMShowErrorMsgDefaultTypeInternal _SMShowErrorMsg_default_instance_; +class SMUpdateChatChannelLastId; +class SMUpdateChatChannelLastIdDefaultTypeInternal; +extern SMUpdateChatChannelLastIdDefaultTypeInternal _SMUpdateChatChannelLastId_default_instance_; +class SMUpdateChatRedPointNotify; +class SMUpdateChatRedPointNotifyDefaultTypeInternal; +extern SMUpdateChatRedPointNotifyDefaultTypeInternal _SMUpdateChatRedPointNotify_default_instance_; +class SMUpdatePrivateChatRedPointNotify; +class SMUpdatePrivateChatRedPointNotifyDefaultTypeInternal; +extern SMUpdatePrivateChatRedPointNotifyDefaultTypeInternal _SMUpdatePrivateChatRedPointNotify_default_instance_; +class SMUpdateRedPointNotify; +class SMUpdateRedPointNotifyDefaultTypeInternal; +extern SMUpdateRedPointNotifyDefaultTypeInternal _SMUpdateRedPointNotify_default_instance_; +class SMUserInfoUpdate; +class SMUserInfoUpdateDefaultTypeInternal; +extern SMUserInfoUpdateDefaultTypeInternal _SMUserInfoUpdate_default_instance_; +class SMUserStatusNotify; +class SMUserStatusNotifyDefaultTypeInternal; +extern SMUserStatusNotifyDefaultTypeInternal _SMUserStatusNotify_default_instance_; +} // namespace cs +namespace google { +namespace protobuf { +template<> ::cs::CMCloseChatNotify* Arena::CreateMaybeMessage<::cs::CMCloseChatNotify>(Arena*); +template<> ::cs::CMLogin* Arena::CreateMaybeMessage<::cs::CMLogin>(Arena*); +template<> ::cs::CMPing* Arena::CreateMaybeMessage<::cs::CMPing>(Arena*); +template<> ::cs::CMReadMsgAndOpenChatNotify* Arena::CreateMaybeMessage<::cs::CMReadMsgAndOpenChatNotify>(Arena*); +template<> ::cs::CMSendChatMsg* Arena::CreateMaybeMessage<::cs::CMSendChatMsg>(Arena*); +template<> ::cs::CMSendCustomMsg* Arena::CreateMaybeMessage<::cs::CMSendCustomMsg>(Arena*); +template<> ::cs::CMSetCurrPrivateChatTarget* Arena::CreateMaybeMessage<::cs::CMSetCurrPrivateChatTarget>(Arena*); +template<> ::cs::MFAccountInfo* Arena::CreateMaybeMessage<::cs::MFAccountInfo>(Arena*); +template<> ::cs::MFBaseUserData* Arena::CreateMaybeMessage<::cs::MFBaseUserData>(Arena*); +template<> ::cs::MFChatMsg* Arena::CreateMaybeMessage<::cs::MFChatMsg>(Arena*); +template<> ::cs::MFGuildBasic* Arena::CreateMaybeMessage<::cs::MFGuildBasic>(Arena*); +template<> ::cs::MFPaging* Arena::CreateMaybeMessage<::cs::MFPaging>(Arena*); +template<> ::cs::MFPairInt32* Arena::CreateMaybeMessage<::cs::MFPairInt32>(Arena*); +template<> ::cs::MFPairInt64* Arena::CreateMaybeMessage<::cs::MFPairInt64>(Arena*); +template<> ::cs::MFStringTuple* Arena::CreateMaybeMessage<::cs::MFStringTuple>(Arena*); +template<> ::cs::MFUserInfo* Arena::CreateMaybeMessage<::cs::MFUserInfo>(Arena*); +template<> ::cs::MFUserStatus* Arena::CreateMaybeMessage<::cs::MFUserStatus>(Arena*); +template<> ::cs::SMAddBlackListNotify* Arena::CreateMaybeMessage<::cs::SMAddBlackListNotify>(Arena*); +template<> ::cs::SMChatMsgNotify* Arena::CreateMaybeMessage<::cs::SMChatMsgNotify>(Arena*); +template<> ::cs::SMCustomMsgNotify* Arena::CreateMaybeMessage<::cs::SMCustomMsgNotify>(Arena*); +template<> ::cs::SMDeleteBlackListNotify* Arena::CreateMaybeMessage<::cs::SMDeleteBlackListNotify>(Arena*); +template<> ::cs::SMDeleteFriendNotify* Arena::CreateMaybeMessage<::cs::SMDeleteFriendNotify>(Arena*); +template<> ::cs::SMLogin* Arena::CreateMaybeMessage<::cs::SMLogin>(Arena*); +template<> ::cs::SMPing* Arena::CreateMaybeMessage<::cs::SMPing>(Arena*); +template<> ::cs::SMShowErrorMsg* Arena::CreateMaybeMessage<::cs::SMShowErrorMsg>(Arena*); +template<> ::cs::SMUpdateChatChannelLastId* Arena::CreateMaybeMessage<::cs::SMUpdateChatChannelLastId>(Arena*); +template<> ::cs::SMUpdateChatRedPointNotify* Arena::CreateMaybeMessage<::cs::SMUpdateChatRedPointNotify>(Arena*); +template<> ::cs::SMUpdatePrivateChatRedPointNotify* Arena::CreateMaybeMessage<::cs::SMUpdatePrivateChatRedPointNotify>(Arena*); +template<> ::cs::SMUpdateRedPointNotify* Arena::CreateMaybeMessage<::cs::SMUpdateRedPointNotify>(Arena*); +template<> ::cs::SMUserInfoUpdate* Arena::CreateMaybeMessage<::cs::SMUserInfoUpdate>(Arena*); +template<> ::cs::SMUserStatusNotify* Arena::CreateMaybeMessage<::cs::SMUserStatusNotify>(Arena*); +} // namespace protobuf +} // namespace google +namespace cs { + +enum Constant_e { + ProtoVersion = 2020061101 +}; +bool Constant_e_IsValid(int value); +const Constant_e Constant_e_MIN = ProtoVersion; +const Constant_e Constant_e_MAX = ProtoVersion; +const int Constant_e_ARRAYSIZE = Constant_e_MAX + 1; + +const ::google::protobuf::EnumDescriptor* Constant_e_descriptor(); +inline const ::std::string& Constant_e_Name(Constant_e value) { + return ::google::protobuf::internal::NameOfEnum( + Constant_e_descriptor(), value); +} +inline bool Constant_e_Parse( + const ::std::string& name, Constant_e* value) { + return ::google::protobuf::internal::ParseNamedEnum( + Constant_e_descriptor(), name, value); +} +// =================================================================== + +class CMPing : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.CMPing) */ { + public: + CMPing(); + virtual ~CMPing(); + + CMPing(const CMPing& from); + + inline CMPing& operator=(const CMPing& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CMPing(CMPing&& from) noexcept + : CMPing() { + *this = ::std::move(from); + } + + inline CMPing& operator=(CMPing&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CMPing& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CMPing* internal_default_instance() { + return reinterpret_cast( + &_CMPing_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(CMPing* other); + friend void swap(CMPing& a, CMPing& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CMPing* New() const final { + return CreateMaybeMessage(NULL); + } + + CMPing* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CMPing& from); + void MergeFrom(const CMPing& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMPing* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:cs.CMPing) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMPing : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMPing) */ { + public: + SMPing(); + virtual ~SMPing(); + + SMPing(const SMPing& from); + + inline SMPing& operator=(const SMPing& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMPing(SMPing&& from) noexcept + : SMPing() { + *this = ::std::move(from); + } + + inline SMPing& operator=(SMPing&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMPing& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMPing* internal_default_instance() { + return reinterpret_cast( + &_SMPing_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(SMPing* other); + friend void swap(SMPing& a, SMPing& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMPing* New() const final { + return CreateMaybeMessage(NULL); + } + + SMPing* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMPing& from); + void MergeFrom(const SMPing& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMPing* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional int32 param1 = 1; + bool has_param1() const; + void clear_param1(); + static const int kParam1FieldNumber = 1; + ::google::protobuf::int32 param1() const; + void set_param1(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:cs.SMPing) + private: + void set_has_param1(); + void clear_has_param1(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::int32 param1_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class MFStringTuple : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.MFStringTuple) */ { + public: + MFStringTuple(); + virtual ~MFStringTuple(); + + MFStringTuple(const MFStringTuple& from); + + inline MFStringTuple& operator=(const MFStringTuple& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MFStringTuple(MFStringTuple&& from) noexcept + : MFStringTuple() { + *this = ::std::move(from); + } + + inline MFStringTuple& operator=(MFStringTuple&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MFStringTuple& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MFStringTuple* internal_default_instance() { + return reinterpret_cast( + &_MFStringTuple_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(MFStringTuple* other); + friend void swap(MFStringTuple& a, MFStringTuple& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MFStringTuple* New() const final { + return CreateMaybeMessage(NULL); + } + + MFStringTuple* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const MFStringTuple& from); + void MergeFrom(const MFStringTuple& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MFStringTuple* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string values = 1; + int values_size() const; + void clear_values(); + static const int kValuesFieldNumber = 1; + const ::std::string& values(int index) const; + ::std::string* mutable_values(int index); + void set_values(int index, const ::std::string& value); + #if LANG_CXX11 + void set_values(int index, ::std::string&& value); + #endif + void set_values(int index, const char* value); + void set_values(int index, const char* value, size_t size); + ::std::string* add_values(); + void add_values(const ::std::string& value); + #if LANG_CXX11 + void add_values(::std::string&& value); + #endif + void add_values(const char* value); + void add_values(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& values() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_values(); + + // @@protoc_insertion_point(class_scope:cs.MFStringTuple) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::std::string> values_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class MFPairInt32 : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.MFPairInt32) */ { + public: + MFPairInt32(); + virtual ~MFPairInt32(); + + MFPairInt32(const MFPairInt32& from); + + inline MFPairInt32& operator=(const MFPairInt32& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MFPairInt32(MFPairInt32&& from) noexcept + : MFPairInt32() { + *this = ::std::move(from); + } + + inline MFPairInt32& operator=(MFPairInt32&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MFPairInt32& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MFPairInt32* internal_default_instance() { + return reinterpret_cast( + &_MFPairInt32_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + void Swap(MFPairInt32* other); + friend void swap(MFPairInt32& a, MFPairInt32& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MFPairInt32* New() const final { + return CreateMaybeMessage(NULL); + } + + MFPairInt32* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const MFPairInt32& from); + void MergeFrom(const MFPairInt32& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MFPairInt32* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional int32 key = 1; + bool has_key() const; + void clear_key(); + static const int kKeyFieldNumber = 1; + ::google::protobuf::int32 key() const; + void set_key(::google::protobuf::int32 value); + + // optional int32 val = 2; + bool has_val() const; + void clear_val(); + static const int kValFieldNumber = 2; + ::google::protobuf::int32 val() const; + void set_val(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:cs.MFPairInt32) + private: + void set_has_key(); + void clear_has_key(); + void set_has_val(); + void clear_has_val(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::int32 key_; + ::google::protobuf::int32 val_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class MFPairInt64 : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.MFPairInt64) */ { + public: + MFPairInt64(); + virtual ~MFPairInt64(); + + MFPairInt64(const MFPairInt64& from); + + inline MFPairInt64& operator=(const MFPairInt64& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MFPairInt64(MFPairInt64&& from) noexcept + : MFPairInt64() { + *this = ::std::move(from); + } + + inline MFPairInt64& operator=(MFPairInt64&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MFPairInt64& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MFPairInt64* internal_default_instance() { + return reinterpret_cast( + &_MFPairInt64_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + void Swap(MFPairInt64* other); + friend void swap(MFPairInt64& a, MFPairInt64& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MFPairInt64* New() const final { + return CreateMaybeMessage(NULL); + } + + MFPairInt64* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const MFPairInt64& from); + void MergeFrom(const MFPairInt64& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MFPairInt64* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional int64 key = 1; + bool has_key() const; + void clear_key(); + static const int kKeyFieldNumber = 1; + ::google::protobuf::int64 key() const; + void set_key(::google::protobuf::int64 value); + + // optional int64 val = 2; + bool has_val() const; + void clear_val(); + static const int kValFieldNumber = 2; + ::google::protobuf::int64 val() const; + void set_val(::google::protobuf::int64 value); + + // @@protoc_insertion_point(class_scope:cs.MFPairInt64) + private: + void set_has_key(); + void clear_has_key(); + void set_has_val(); + void clear_has_val(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::int64 key_; + ::google::protobuf::int64 val_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class MFPaging : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.MFPaging) */ { + public: + MFPaging(); + virtual ~MFPaging(); + + MFPaging(const MFPaging& from); + + inline MFPaging& operator=(const MFPaging& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MFPaging(MFPaging&& from) noexcept + : MFPaging() { + *this = ::std::move(from); + } + + inline MFPaging& operator=(MFPaging&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MFPaging& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MFPaging* internal_default_instance() { + return reinterpret_cast( + &_MFPaging_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + void Swap(MFPaging* other); + friend void swap(MFPaging& a, MFPaging& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MFPaging* New() const final { + return CreateMaybeMessage(NULL); + } + + MFPaging* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const MFPaging& from); + void MergeFrom(const MFPaging& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MFPaging* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional int32 curr_page = 1; + bool has_curr_page() const; + void clear_curr_page(); + static const int kCurrPageFieldNumber = 1; + ::google::protobuf::int32 curr_page() const; + void set_curr_page(::google::protobuf::int32 value); + + // optional int32 page_size = 2; + bool has_page_size() const; + void clear_page_size(); + static const int kPageSizeFieldNumber = 2; + ::google::protobuf::int32 page_size() const; + void set_page_size(::google::protobuf::int32 value); + + // optional int32 _total_page = 3; + bool has__total_page() const; + void clear__total_page(); + static const int kTotalPageFieldNumber = 3; + ::google::protobuf::int32 _total_page() const; + void set__total_page(::google::protobuf::int32 value); + + // optional int32 _total_count = 4; + bool has__total_count() const; + void clear__total_count(); + static const int kTotalCountFieldNumber = 4; + ::google::protobuf::int32 _total_count() const; + void set__total_count(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:cs.MFPaging) + private: + void set_has_curr_page(); + void clear_has_curr_page(); + void set_has_page_size(); + void clear_has_page_size(); + void set_has__total_page(); + void clear_has__total_page(); + void set_has__total_count(); + void clear_has__total_count(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::int32 curr_page_; + ::google::protobuf::int32 page_size_; + ::google::protobuf::int32 _total_page_; + ::google::protobuf::int32 _total_count_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class MFBaseUserData : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.MFBaseUserData) */ { + public: + MFBaseUserData(); + virtual ~MFBaseUserData(); + + MFBaseUserData(const MFBaseUserData& from); + + inline MFBaseUserData& operator=(const MFBaseUserData& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MFBaseUserData(MFBaseUserData&& from) noexcept + : MFBaseUserData() { + *this = ::std::move(from); + } + + inline MFBaseUserData& operator=(MFBaseUserData&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MFBaseUserData& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MFBaseUserData* internal_default_instance() { + return reinterpret_cast( + &_MFBaseUserData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + void Swap(MFBaseUserData* other); + friend void swap(MFBaseUserData& a, MFBaseUserData& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MFBaseUserData* New() const final { + return CreateMaybeMessage(NULL); + } + + MFBaseUserData* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const MFBaseUserData& from); + void MergeFrom(const MFBaseUserData& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MFBaseUserData* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string account_id = 1; + bool has_account_id() const; + void clear_account_id(); + static const int kAccountIdFieldNumber = 1; + const ::std::string& account_id() const; + void set_account_id(const ::std::string& value); + #if LANG_CXX11 + void set_account_id(::std::string&& value); + #endif + void set_account_id(const char* value); + void set_account_id(const char* value, size_t size); + ::std::string* mutable_account_id(); + ::std::string* release_account_id(); + void set_allocated_account_id(::std::string* account_id); + + // optional string nickname = 2; + bool has_nickname() const; + void clear_nickname(); + static const int kNicknameFieldNumber = 2; + const ::std::string& nickname() const; + void set_nickname(const ::std::string& value); + #if LANG_CXX11 + void set_nickname(::std::string&& value); + #endif + void set_nickname(const char* value); + void set_nickname(const char* value, size_t size); + ::std::string* mutable_nickname(); + ::std::string* release_nickname(); + void set_allocated_nickname(::std::string* nickname); + + // optional string avatar_url = 3; + bool has_avatar_url() const; + void clear_avatar_url(); + static const int kAvatarUrlFieldNumber = 3; + const ::std::string& avatar_url() const; + void set_avatar_url(const ::std::string& value); + #if LANG_CXX11 + void set_avatar_url(::std::string&& value); + #endif + void set_avatar_url(const char* value); + void set_avatar_url(const char* value, size_t size); + ::std::string* mutable_avatar_url(); + ::std::string* release_avatar_url(); + void set_allocated_avatar_url(::std::string* avatar_url); + + // optional int32 sex = 4; + bool has_sex() const; + void clear_sex(); + static const int kSexFieldNumber = 4; + ::google::protobuf::int32 sex() const; + void set_sex(::google::protobuf::int32 value); + + // optional int32 last_login_time = 5; + bool has_last_login_time() const; + void clear_last_login_time(); + static const int kLastLoginTimeFieldNumber = 5; + ::google::protobuf::int32 last_login_time() const; + void set_last_login_time(::google::protobuf::int32 value); + + // optional int64 guild_id = 6; + bool has_guild_id() const; + void clear_guild_id(); + static const int kGuildIdFieldNumber = 6; + ::google::protobuf::int64 guild_id() const; + void set_guild_id(::google::protobuf::int64 value); + + // optional int32 guild_job = 7; + bool has_guild_job() const; + void clear_guild_job(); + static const int kGuildJobFieldNumber = 7; + ::google::protobuf::int32 guild_job() const; + void set_guild_job(::google::protobuf::int32 value); + + // optional int32 vip_lv = 8 [default = 0]; + bool has_vip_lv() const; + void clear_vip_lv(); + static const int kVipLvFieldNumber = 8; + ::google::protobuf::int32 vip_lv() const; + void set_vip_lv(::google::protobuf::int32 value); + + // optional int32 head = 9 [default = 0]; + bool has_head() const; + void clear_head(); + static const int kHeadFieldNumber = 9; + ::google::protobuf::int32 head() const; + void set_head(::google::protobuf::int32 value); + + // optional int32 contribute = 10 [default = 0]; + bool has_contribute() const; + void clear_contribute(); + static const int kContributeFieldNumber = 10; + ::google::protobuf::int32 contribute() const; + void set_contribute(::google::protobuf::int32 value); + + // optional int64 user_value1 = 50; + bool has_user_value1() const; + void clear_user_value1(); + static const int kUserValue1FieldNumber = 50; + ::google::protobuf::int64 user_value1() const; + void set_user_value1(::google::protobuf::int64 value); + + // optional int64 user_value2 = 51; + bool has_user_value2() const; + void clear_user_value2(); + static const int kUserValue2FieldNumber = 51; + ::google::protobuf::int64 user_value2() const; + void set_user_value2(::google::protobuf::int64 value); + + // optional int64 user_value3 = 52; + bool has_user_value3() const; + void clear_user_value3(); + static const int kUserValue3FieldNumber = 52; + ::google::protobuf::int64 user_value3() const; + void set_user_value3(::google::protobuf::int64 value); + + // optional int32 zid = 11 [default = 0]; + bool has_zid() const; + void clear_zid(); + static const int kZidFieldNumber = 11; + ::google::protobuf::int32 zid() const; + void set_zid(::google::protobuf::int32 value); + + // optional int32 online = 101; + bool has_online() const; + void clear_online(); + static const int kOnlineFieldNumber = 101; + ::google::protobuf::int32 online() const; + void set_online(::google::protobuf::int32 value); + + // optional int64 base_data_version = 100; + bool has_base_data_version() const; + void clear_base_data_version(); + static const int kBaseDataVersionFieldNumber = 100; + ::google::protobuf::int64 base_data_version() const; + void set_base_data_version(::google::protobuf::int64 value); + + // @@protoc_insertion_point(class_scope:cs.MFBaseUserData) + private: + void set_has_account_id(); + void clear_has_account_id(); + void set_has_nickname(); + void clear_has_nickname(); + void set_has_avatar_url(); + void clear_has_avatar_url(); + void set_has_sex(); + void clear_has_sex(); + void set_has_last_login_time(); + void clear_has_last_login_time(); + void set_has_guild_id(); + void clear_has_guild_id(); + void set_has_guild_job(); + void clear_has_guild_job(); + void set_has_vip_lv(); + void clear_has_vip_lv(); + void set_has_head(); + void clear_has_head(); + void set_has_contribute(); + void clear_has_contribute(); + void set_has_zid(); + void clear_has_zid(); + void set_has_user_value1(); + void clear_has_user_value1(); + void set_has_user_value2(); + void clear_has_user_value2(); + void set_has_user_value3(); + void clear_has_user_value3(); + void set_has_base_data_version(); + void clear_has_base_data_version(); + void set_has_online(); + void clear_has_online(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr account_id_; + ::google::protobuf::internal::ArenaStringPtr nickname_; + ::google::protobuf::internal::ArenaStringPtr avatar_url_; + ::google::protobuf::int32 sex_; + ::google::protobuf::int32 last_login_time_; + ::google::protobuf::int64 guild_id_; + ::google::protobuf::int32 guild_job_; + ::google::protobuf::int32 vip_lv_; + ::google::protobuf::int32 head_; + ::google::protobuf::int32 contribute_; + ::google::protobuf::int64 user_value1_; + ::google::protobuf::int64 user_value2_; + ::google::protobuf::int64 user_value3_; + ::google::protobuf::int32 zid_; + ::google::protobuf::int32 online_; + ::google::protobuf::int64 base_data_version_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class MFAccountInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.MFAccountInfo) */ { + public: + MFAccountInfo(); + virtual ~MFAccountInfo(); + + MFAccountInfo(const MFAccountInfo& from); + + inline MFAccountInfo& operator=(const MFAccountInfo& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MFAccountInfo(MFAccountInfo&& from) noexcept + : MFAccountInfo() { + *this = ::std::move(from); + } + + inline MFAccountInfo& operator=(MFAccountInfo&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MFAccountInfo& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MFAccountInfo* internal_default_instance() { + return reinterpret_cast( + &_MFAccountInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + void Swap(MFAccountInfo* other); + friend void swap(MFAccountInfo& a, MFAccountInfo& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MFAccountInfo* New() const final { + return CreateMaybeMessage(NULL); + } + + MFAccountInfo* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const MFAccountInfo& from); + void MergeFrom(const MFAccountInfo& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MFAccountInfo* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string user_sign = 2; + bool has_user_sign() const; + void clear_user_sign(); + static const int kUserSignFieldNumber = 2; + const ::std::string& user_sign() const; + void set_user_sign(const ::std::string& value); + #if LANG_CXX11 + void set_user_sign(::std::string&& value); + #endif + void set_user_sign(const char* value); + void set_user_sign(const char* value, size_t size); + ::std::string* mutable_user_sign(); + ::std::string* release_user_sign(); + void set_allocated_user_sign(::std::string* user_sign); + + // optional .cs.MFUserInfo user_info = 1; + bool has_user_info() const; + void clear_user_info(); + static const int kUserInfoFieldNumber = 1; + private: + const ::cs::MFUserInfo& _internal_user_info() const; + public: + const ::cs::MFUserInfo& user_info() const; + ::cs::MFUserInfo* release_user_info(); + ::cs::MFUserInfo* mutable_user_info(); + void set_allocated_user_info(::cs::MFUserInfo* user_info); + + // @@protoc_insertion_point(class_scope:cs.MFAccountInfo) + private: + void set_has_user_info(); + void clear_has_user_info(); + void set_has_user_sign(); + void clear_has_user_sign(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr user_sign_; + ::cs::MFUserInfo* user_info_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class MFUserInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.MFUserInfo) */ { + public: + MFUserInfo(); + virtual ~MFUserInfo(); + + MFUserInfo(const MFUserInfo& from); + + inline MFUserInfo& operator=(const MFUserInfo& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MFUserInfo(MFUserInfo&& from) noexcept + : MFUserInfo() { + *this = ::std::move(from); + } + + inline MFUserInfo& operator=(MFUserInfo&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MFUserInfo& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MFUserInfo* internal_default_instance() { + return reinterpret_cast( + &_MFUserInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + void Swap(MFUserInfo* other); + friend void swap(MFUserInfo& a, MFUserInfo& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MFUserInfo* New() const final { + return CreateMaybeMessage(NULL); + } + + MFUserInfo* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const MFUserInfo& from); + void MergeFrom(const MFUserInfo& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MFUserInfo* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .cs.MFBaseUserData base_data = 1; + bool has_base_data() const; + void clear_base_data(); + static const int kBaseDataFieldNumber = 1; + private: + const ::cs::MFBaseUserData& _internal_base_data() const; + public: + const ::cs::MFBaseUserData& base_data() const; + ::cs::MFBaseUserData* release_base_data(); + ::cs::MFBaseUserData* mutable_base_data(); + void set_allocated_base_data(::cs::MFBaseUserData* base_data); + + // optional int32 is_sys_user = 3; + bool has_is_sys_user() const; + void clear_is_sys_user(); + static const int kIsSysUserFieldNumber = 3; + ::google::protobuf::int32 is_sys_user() const; + void set_is_sys_user(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:cs.MFUserInfo) + private: + void set_has_base_data(); + void clear_has_base_data(); + void set_has_is_sys_user(); + void clear_has_is_sys_user(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::cs::MFBaseUserData* base_data_; + ::google::protobuf::int32 is_sys_user_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class MFUserStatus : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.MFUserStatus) */ { + public: + MFUserStatus(); + virtual ~MFUserStatus(); + + MFUserStatus(const MFUserStatus& from); + + inline MFUserStatus& operator=(const MFUserStatus& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MFUserStatus(MFUserStatus&& from) noexcept + : MFUserStatus() { + *this = ::std::move(from); + } + + inline MFUserStatus& operator=(MFUserStatus&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MFUserStatus& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MFUserStatus* internal_default_instance() { + return reinterpret_cast( + &_MFUserStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + void Swap(MFUserStatus* other); + friend void swap(MFUserStatus& a, MFUserStatus& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MFUserStatus* New() const final { + return CreateMaybeMessage(NULL); + } + + MFUserStatus* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const MFUserStatus& from); + void MergeFrom(const MFUserStatus& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MFUserStatus* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string account_id = 1; + bool has_account_id() const; + void clear_account_id(); + static const int kAccountIdFieldNumber = 1; + const ::std::string& account_id() const; + void set_account_id(const ::std::string& value); + #if LANG_CXX11 + void set_account_id(::std::string&& value); + #endif + void set_account_id(const char* value); + void set_account_id(const char* value, size_t size); + ::std::string* mutable_account_id(); + ::std::string* release_account_id(); + void set_allocated_account_id(::std::string* account_id); + + // optional int32 online = 2; + bool has_online() const; + void clear_online(); + static const int kOnlineFieldNumber = 2; + ::google::protobuf::int32 online() const; + void set_online(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:cs.MFUserStatus) + private: + void set_has_account_id(); + void clear_has_account_id(); + void set_has_online(); + void clear_has_online(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr account_id_; + ::google::protobuf::int32 online_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class MFGuildBasic : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.MFGuildBasic) */ { + public: + MFGuildBasic(); + virtual ~MFGuildBasic(); + + MFGuildBasic(const MFGuildBasic& from); + + inline MFGuildBasic& operator=(const MFGuildBasic& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MFGuildBasic(MFGuildBasic&& from) noexcept + : MFGuildBasic() { + *this = ::std::move(from); + } + + inline MFGuildBasic& operator=(MFGuildBasic&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MFGuildBasic& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MFGuildBasic* internal_default_instance() { + return reinterpret_cast( + &_MFGuildBasic_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + void Swap(MFGuildBasic* other); + friend void swap(MFGuildBasic& a, MFGuildBasic& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MFGuildBasic* New() const final { + return CreateMaybeMessage(NULL); + } + + MFGuildBasic* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const MFGuildBasic& from); + void MergeFrom(const MFGuildBasic& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MFGuildBasic* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string guild_name = 2; + bool has_guild_name() const; + void clear_guild_name(); + static const int kGuildNameFieldNumber = 2; + const ::std::string& guild_name() const; + void set_guild_name(const ::std::string& value); + #if LANG_CXX11 + void set_guild_name(::std::string&& value); + #endif + void set_guild_name(const char* value); + void set_guild_name(const char* value, size_t size); + ::std::string* mutable_guild_name(); + ::std::string* release_guild_name(); + void set_allocated_guild_name(::std::string* guild_name); + + // optional string guild_declaration = 7; + bool has_guild_declaration() const; + void clear_guild_declaration(); + static const int kGuildDeclarationFieldNumber = 7; + const ::std::string& guild_declaration() const; + void set_guild_declaration(const ::std::string& value); + #if LANG_CXX11 + void set_guild_declaration(::std::string&& value); + #endif + void set_guild_declaration(const char* value); + void set_guild_declaration(const char* value, size_t size); + ::std::string* mutable_guild_declaration(); + ::std::string* release_guild_declaration(); + void set_allocated_guild_declaration(::std::string* guild_declaration); + + // optional string owner_id = 8; + bool has_owner_id() const; + void clear_owner_id(); + static const int kOwnerIdFieldNumber = 8; + const ::std::string& owner_id() const; + void set_owner_id(const ::std::string& value); + #if LANG_CXX11 + void set_owner_id(::std::string&& value); + #endif + void set_owner_id(const char* value); + void set_owner_id(const char* value, size_t size); + ::std::string* mutable_owner_id(); + ::std::string* release_owner_id(); + void set_allocated_owner_id(::std::string* owner_id); + + // optional string owner_name = 9; + bool has_owner_name() const; + void clear_owner_name(); + static const int kOwnerNameFieldNumber = 9; + const ::std::string& owner_name() const; + void set_owner_name(const ::std::string& value); + #if LANG_CXX11 + void set_owner_name(::std::string&& value); + #endif + void set_owner_name(const char* value); + void set_owner_name(const char* value, size_t size); + ::std::string* mutable_owner_name(); + ::std::string* release_owner_name(); + void set_allocated_owner_name(::std::string* owner_name); + + // optional string owner_avatar_url = 10; + bool has_owner_avatar_url() const; + void clear_owner_avatar_url(); + static const int kOwnerAvatarUrlFieldNumber = 10; + const ::std::string& owner_avatar_url() const; + void set_owner_avatar_url(const ::std::string& value); + #if LANG_CXX11 + void set_owner_avatar_url(::std::string&& value); + #endif + void set_owner_avatar_url(const char* value); + void set_owner_avatar_url(const char* value, size_t size); + ::std::string* mutable_owner_avatar_url(); + ::std::string* release_owner_avatar_url(); + void set_allocated_owner_avatar_url(::std::string* owner_avatar_url); + + // optional int64 guild_id = 1; + bool has_guild_id() const; + void clear_guild_id(); + static const int kGuildIdFieldNumber = 1; + ::google::protobuf::int64 guild_id() const; + void set_guild_id(::google::protobuf::int64 value); + + // optional double guild_exp = 4; + bool has_guild_exp() const; + void clear_guild_exp(); + static const int kGuildExpFieldNumber = 4; + double guild_exp() const; + void set_guild_exp(double value); + + // optional int32 guild_lv = 3; + bool has_guild_lv() const; + void clear_guild_lv(); + static const int kGuildLvFieldNumber = 3; + ::google::protobuf::int32 guild_lv() const; + void set_guild_lv(::google::protobuf::int32 value); + + // optional int32 guild_badge = 5; + bool has_guild_badge() const; + void clear_guild_badge(); + static const int kGuildBadgeFieldNumber = 5; + ::google::protobuf::int32 guild_badge() const; + void set_guild_badge(::google::protobuf::int32 value); + + // optional int32 member_num = 6; + bool has_member_num() const; + void clear_member_num(); + static const int kMemberNumFieldNumber = 6; + ::google::protobuf::int32 member_num() const; + void set_member_num(::google::protobuf::int32 value); + + // optional int32 join_unlimited = 11; + bool has_join_unlimited() const; + void clear_join_unlimited(); + static const int kJoinUnlimitedFieldNumber = 11; + ::google::protobuf::int32 join_unlimited() const; + void set_join_unlimited(::google::protobuf::int32 value); + + // optional int32 owner_vip_lv = 12 [default = 0]; + bool has_owner_vip_lv() const; + void clear_owner_vip_lv(); + static const int kOwnerVipLvFieldNumber = 12; + ::google::protobuf::int32 owner_vip_lv() const; + void set_owner_vip_lv(::google::protobuf::int32 value); + + // optional int32 owner_head = 13 [default = 0]; + bool has_owner_head() const; + void clear_owner_head(); + static const int kOwnerHeadFieldNumber = 13; + ::google::protobuf::int32 owner_head() const; + void set_owner_head(::google::protobuf::int32 value); + + // optional int32 join_cond1 = 20; + bool has_join_cond1() const; + void clear_join_cond1(); + static const int kJoinCond1FieldNumber = 20; + ::google::protobuf::int32 join_cond1() const; + void set_join_cond1(::google::protobuf::int32 value); + + // optional int32 join_cond2 = 21; + bool has_join_cond2() const; + void clear_join_cond2(); + static const int kJoinCond2FieldNumber = 21; + ::google::protobuf::int32 join_cond2() const; + void set_join_cond2(::google::protobuf::int32 value); + + // optional int32 applyed = 22; + bool has_applyed() const; + void clear_applyed(); + static const int kApplyedFieldNumber = 22; + ::google::protobuf::int32 applyed() const; + void set_applyed(::google::protobuf::int32 value); + + // optional int32 owner_sex = 23; + bool has_owner_sex() const; + void clear_owner_sex(); + static const int kOwnerSexFieldNumber = 23; + ::google::protobuf::int32 owner_sex() const; + void set_owner_sex(::google::protobuf::int32 value); + + // optional int32 _gameid = 100; + bool has__gameid() const; + void clear__gameid(); + static const int kGameidFieldNumber = 100; + ::google::protobuf::int32 _gameid() const; + void set__gameid(::google::protobuf::int32 value); + + // optional int32 _channel = 101; + bool has__channel() const; + void clear__channel(); + static const int kChannelFieldNumber = 101; + ::google::protobuf::int32 _channel() const; + void set__channel(::google::protobuf::int32 value); + + // optional int32 _createtime = 102; + bool has__createtime() const; + void clear__createtime(); + static const int kCreatetimeFieldNumber = 102; + ::google::protobuf::int32 _createtime() const; + void set__createtime(::google::protobuf::int32 value); + + // optional int32 _modifytime = 103; + bool has__modifytime() const; + void clear__modifytime(); + static const int kModifytimeFieldNumber = 103; + ::google::protobuf::int32 _modifytime() const; + void set__modifytime(::google::protobuf::int32 value); + + // optional int64 _name_ext1 = 104; + bool has__name_ext1() const; + void clear__name_ext1(); + static const int kNameExt1FieldNumber = 104; + ::google::protobuf::int64 _name_ext1() const; + void set__name_ext1(::google::protobuf::int64 value); + + // optional int64 _name_ext2 = 105; + bool has__name_ext2() const; + void clear__name_ext2(); + static const int kNameExt2FieldNumber = 105; + ::google::protobuf::int64 _name_ext2() const; + void set__name_ext2(::google::protobuf::int64 value); + + // optional int64 _guild_status = 106; + bool has__guild_status() const; + void clear__guild_status(); + static const int kGuildStatusFieldNumber = 106; + ::google::protobuf::int64 _guild_status() const; + void set__guild_status(::google::protobuf::int64 value); + + // @@protoc_insertion_point(class_scope:cs.MFGuildBasic) + private: + void set_has_guild_id(); + void clear_has_guild_id(); + void set_has_guild_name(); + void clear_has_guild_name(); + void set_has_guild_lv(); + void clear_has_guild_lv(); + void set_has_guild_exp(); + void clear_has_guild_exp(); + void set_has_guild_badge(); + void clear_has_guild_badge(); + void set_has_member_num(); + void clear_has_member_num(); + void set_has_guild_declaration(); + void clear_has_guild_declaration(); + void set_has_owner_id(); + void clear_has_owner_id(); + void set_has_owner_name(); + void clear_has_owner_name(); + void set_has_owner_avatar_url(); + void clear_has_owner_avatar_url(); + void set_has_owner_sex(); + void clear_has_owner_sex(); + void set_has_owner_vip_lv(); + void clear_has_owner_vip_lv(); + void set_has_owner_head(); + void clear_has_owner_head(); + void set_has_join_unlimited(); + void clear_has_join_unlimited(); + void set_has_join_cond1(); + void clear_has_join_cond1(); + void set_has_join_cond2(); + void clear_has_join_cond2(); + void set_has_applyed(); + void clear_has_applyed(); + void set_has__gameid(); + void clear_has__gameid(); + void set_has__channel(); + void clear_has__channel(); + void set_has__createtime(); + void clear_has__createtime(); + void set_has__modifytime(); + void clear_has__modifytime(); + void set_has__name_ext1(); + void clear_has__name_ext1(); + void set_has__name_ext2(); + void clear_has__name_ext2(); + void set_has__guild_status(); + void clear_has__guild_status(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr guild_name_; + ::google::protobuf::internal::ArenaStringPtr guild_declaration_; + ::google::protobuf::internal::ArenaStringPtr owner_id_; + ::google::protobuf::internal::ArenaStringPtr owner_name_; + ::google::protobuf::internal::ArenaStringPtr owner_avatar_url_; + ::google::protobuf::int64 guild_id_; + double guild_exp_; + ::google::protobuf::int32 guild_lv_; + ::google::protobuf::int32 guild_badge_; + ::google::protobuf::int32 member_num_; + ::google::protobuf::int32 join_unlimited_; + ::google::protobuf::int32 owner_vip_lv_; + ::google::protobuf::int32 owner_head_; + ::google::protobuf::int32 join_cond1_; + ::google::protobuf::int32 join_cond2_; + ::google::protobuf::int32 applyed_; + ::google::protobuf::int32 owner_sex_; + ::google::protobuf::int32 _gameid_; + ::google::protobuf::int32 _channel_; + ::google::protobuf::int32 _createtime_; + ::google::protobuf::int32 _modifytime_; + ::google::protobuf::int64 _name_ext1_; + ::google::protobuf::int64 _name_ext2_; + ::google::protobuf::int64 _guild_status_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class MFChatMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.MFChatMsg) */ { + public: + MFChatMsg(); + virtual ~MFChatMsg(); + + MFChatMsg(const MFChatMsg& from); + + inline MFChatMsg& operator=(const MFChatMsg& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MFChatMsg(MFChatMsg&& from) noexcept + : MFChatMsg() { + *this = ::std::move(from); + } + + inline MFChatMsg& operator=(MFChatMsg&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MFChatMsg& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MFChatMsg* internal_default_instance() { + return reinterpret_cast( + &_MFChatMsg_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + void Swap(MFChatMsg* other); + friend void swap(MFChatMsg& a, MFChatMsg& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MFChatMsg* New() const final { + return CreateMaybeMessage(NULL); + } + + MFChatMsg* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const MFChatMsg& from); + void MergeFrom(const MFChatMsg& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MFChatMsg* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string msg_body = 6; + bool has_msg_body() const; + void clear_msg_body(); + static const int kMsgBodyFieldNumber = 6; + const ::std::string& msg_body() const; + void set_msg_body(const ::std::string& value); + #if LANG_CXX11 + void set_msg_body(::std::string&& value); + #endif + void set_msg_body(const char* value); + void set_msg_body(const char* value, size_t size); + ::std::string* mutable_msg_body(); + ::std::string* release_msg_body(); + void set_allocated_msg_body(::std::string* msg_body); + + // optional .cs.MFUserInfo sender = 2; + bool has_sender() const; + void clear_sender(); + static const int kSenderFieldNumber = 2; + private: + const ::cs::MFUserInfo& _internal_sender() const; + public: + const ::cs::MFUserInfo& sender() const; + ::cs::MFUserInfo* release_sender(); + ::cs::MFUserInfo* mutable_sender(); + void set_allocated_sender(::cs::MFUserInfo* sender); + + // optional .cs.MFUserInfo receiver = 3; + bool has_receiver() const; + void clear_receiver(); + static const int kReceiverFieldNumber = 3; + private: + const ::cs::MFUserInfo& _internal_receiver() const; + public: + const ::cs::MFUserInfo& receiver() const; + ::cs::MFUserInfo* release_receiver(); + ::cs::MFUserInfo* mutable_receiver(); + void set_allocated_receiver(::cs::MFUserInfo* receiver); + + // optional int64 msg_uuid = 1; + bool has_msg_uuid() const; + void clear_msg_uuid(); + static const int kMsgUuidFieldNumber = 1; + ::google::protobuf::int64 msg_uuid() const; + void set_msg_uuid(::google::protobuf::int64 value); + + // optional int32 chat_channel = 4; + bool has_chat_channel() const; + void clear_chat_channel(); + static const int kChatChannelFieldNumber = 4; + ::google::protobuf::int32 chat_channel() const; + void set_chat_channel(::google::protobuf::int32 value); + + // optional int32 msg_type = 5; + bool has_msg_type() const; + void clear_msg_type(); + static const int kMsgTypeFieldNumber = 5; + ::google::protobuf::int32 msg_type() const; + void set_msg_type(::google::protobuf::int32 value); + + // optional int32 send_time = 7; + bool has_send_time() const; + void clear_send_time(); + static const int kSendTimeFieldNumber = 7; + ::google::protobuf::int32 send_time() const; + void set_send_time(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:cs.MFChatMsg) + private: + void set_has_msg_uuid(); + void clear_has_msg_uuid(); + void set_has_sender(); + void clear_has_sender(); + void set_has_receiver(); + void clear_has_receiver(); + void set_has_chat_channel(); + void clear_has_chat_channel(); + void set_has_msg_type(); + void clear_has_msg_type(); + void set_has_msg_body(); + void clear_has_msg_body(); + void set_has_send_time(); + void clear_has_send_time(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr msg_body_; + ::cs::MFUserInfo* sender_; + ::cs::MFUserInfo* receiver_; + ::google::protobuf::int64 msg_uuid_; + ::google::protobuf::int32 chat_channel_; + ::google::protobuf::int32 msg_type_; + ::google::protobuf::int32 send_time_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class CMLogin : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.CMLogin) */ { + public: + CMLogin(); + virtual ~CMLogin(); + + CMLogin(const CMLogin& from); + + inline CMLogin& operator=(const CMLogin& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CMLogin(CMLogin&& from) noexcept + : CMLogin() { + *this = ::std::move(from); + } + + inline CMLogin& operator=(CMLogin&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CMLogin& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CMLogin* internal_default_instance() { + return reinterpret_cast( + &_CMLogin_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + void Swap(CMLogin* other); + friend void swap(CMLogin& a, CMLogin& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CMLogin* New() const final { + return CreateMaybeMessage(NULL); + } + + CMLogin* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CMLogin& from); + void MergeFrom(const CMLogin& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMLogin* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string reserved2 = 2; + bool has_reserved2() const; + void clear_reserved2(); + static const int kReserved2FieldNumber = 2; + const ::std::string& reserved2() const; + void set_reserved2(const ::std::string& value); + #if LANG_CXX11 + void set_reserved2(::std::string&& value); + #endif + void set_reserved2(const char* value); + void set_reserved2(const char* value, size_t size); + ::std::string* mutable_reserved2(); + ::std::string* release_reserved2(); + void set_allocated_reserved2(::std::string* reserved2); + + // optional string account_id = 3; + bool has_account_id() const; + void clear_account_id(); + static const int kAccountIdFieldNumber = 3; + const ::std::string& account_id() const; + void set_account_id(const ::std::string& value); + #if LANG_CXX11 + void set_account_id(::std::string&& value); + #endif + void set_account_id(const char* value); + void set_account_id(const char* value, size_t size); + ::std::string* mutable_account_id(); + ::std::string* release_account_id(); + void set_allocated_account_id(::std::string* account_id); + + // optional string session_id = 20; + bool has_session_id() const; + void clear_session_id(); + static const int kSessionIdFieldNumber = 20; + const ::std::string& session_id() const; + void set_session_id(const ::std::string& value); + #if LANG_CXX11 + void set_session_id(::std::string&& value); + #endif + void set_session_id(const char* value); + void set_session_id(const char* value, size_t size); + ::std::string* mutable_session_id(); + ::std::string* release_session_id(); + void set_allocated_session_id(::std::string* session_id); + + // optional int32 reserved1 = 1; + bool has_reserved1() const; + void clear_reserved1(); + static const int kReserved1FieldNumber = 1; + ::google::protobuf::int32 reserved1() const; + void set_reserved1(::google::protobuf::int32 value); + + // optional int32 proto_version = 5; + bool has_proto_version() const; + void clear_proto_version(); + static const int kProtoVersionFieldNumber = 5; + ::google::protobuf::int32 proto_version() const; + void set_proto_version(::google::protobuf::int32 value); + + // optional int32 zid = 10; + bool has_zid() const; + void clear_zid(); + static const int kZidFieldNumber = 10; + ::google::protobuf::int32 zid() const; + void set_zid(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:cs.CMLogin) + private: + void set_has_reserved1(); + void clear_has_reserved1(); + void set_has_reserved2(); + void clear_has_reserved2(); + void set_has_account_id(); + void clear_has_account_id(); + void set_has_session_id(); + void clear_has_session_id(); + void set_has_proto_version(); + void clear_has_proto_version(); + void set_has_zid(); + void clear_has_zid(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr reserved2_; + ::google::protobuf::internal::ArenaStringPtr account_id_; + ::google::protobuf::internal::ArenaStringPtr session_id_; + ::google::protobuf::int32 reserved1_; + ::google::protobuf::int32 proto_version_; + ::google::protobuf::int32 zid_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMLogin : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMLogin) */ { + public: + SMLogin(); + virtual ~SMLogin(); + + SMLogin(const SMLogin& from); + + inline SMLogin& operator=(const SMLogin& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMLogin(SMLogin&& from) noexcept + : SMLogin() { + *this = ::std::move(from); + } + + inline SMLogin& operator=(SMLogin&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMLogin& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMLogin* internal_default_instance() { + return reinterpret_cast( + &_SMLogin_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + void Swap(SMLogin* other); + friend void swap(SMLogin& a, SMLogin& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMLogin* New() const final { + return CreateMaybeMessage(NULL); + } + + SMLogin* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMLogin& from); + void MergeFrom(const SMLogin& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMLogin* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string errmsg = 2; + bool has_errmsg() const; + void clear_errmsg(); + static const int kErrmsgFieldNumber = 2; + const ::std::string& errmsg() const; + void set_errmsg(const ::std::string& value); + #if LANG_CXX11 + void set_errmsg(::std::string&& value); + #endif + void set_errmsg(const char* value); + void set_errmsg(const char* value, size_t size); + ::std::string* mutable_errmsg(); + ::std::string* release_errmsg(); + void set_allocated_errmsg(::std::string* errmsg); + + // optional .cs.MFAccountInfo account_info = 3; + bool has_account_info() const; + void clear_account_info(); + static const int kAccountInfoFieldNumber = 3; + private: + const ::cs::MFAccountInfo& _internal_account_info() const; + public: + const ::cs::MFAccountInfo& account_info() const; + ::cs::MFAccountInfo* release_account_info(); + ::cs::MFAccountInfo* mutable_account_info(); + void set_allocated_account_info(::cs::MFAccountInfo* account_info); + + // optional int32 errcode = 1; + bool has_errcode() const; + void clear_errcode(); + static const int kErrcodeFieldNumber = 1; + ::google::protobuf::int32 errcode() const; + void set_errcode(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:cs.SMLogin) + private: + void set_has_errcode(); + void clear_has_errcode(); + void set_has_errmsg(); + void clear_has_errmsg(); + void set_has_account_info(); + void clear_has_account_info(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr errmsg_; + ::cs::MFAccountInfo* account_info_; + ::google::protobuf::int32 errcode_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class CMSendChatMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.CMSendChatMsg) */ { + public: + CMSendChatMsg(); + virtual ~CMSendChatMsg(); + + CMSendChatMsg(const CMSendChatMsg& from); + + inline CMSendChatMsg& operator=(const CMSendChatMsg& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CMSendChatMsg(CMSendChatMsg&& from) noexcept + : CMSendChatMsg() { + *this = ::std::move(from); + } + + inline CMSendChatMsg& operator=(CMSendChatMsg&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CMSendChatMsg& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CMSendChatMsg* internal_default_instance() { + return reinterpret_cast( + &_CMSendChatMsg_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + void Swap(CMSendChatMsg* other); + friend void swap(CMSendChatMsg& a, CMSendChatMsg& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CMSendChatMsg* New() const final { + return CreateMaybeMessage(NULL); + } + + CMSendChatMsg* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CMSendChatMsg& from); + void MergeFrom(const CMSendChatMsg& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMSendChatMsg* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string members = 5; + int members_size() const; + void clear_members(); + static const int kMembersFieldNumber = 5; + const ::std::string& members(int index) const; + ::std::string* mutable_members(int index); + void set_members(int index, const ::std::string& value); + #if LANG_CXX11 + void set_members(int index, ::std::string&& value); + #endif + void set_members(int index, const char* value); + void set_members(int index, const char* value, size_t size); + ::std::string* add_members(); + void add_members(const ::std::string& value); + #if LANG_CXX11 + void add_members(::std::string&& value); + #endif + void add_members(const char* value); + void add_members(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& members() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_members(); + + // optional string target = 2; + bool has_target() const; + void clear_target(); + static const int kTargetFieldNumber = 2; + const ::std::string& target() const; + void set_target(const ::std::string& value); + #if LANG_CXX11 + void set_target(::std::string&& value); + #endif + void set_target(const char* value); + void set_target(const char* value, size_t size); + ::std::string* mutable_target(); + ::std::string* release_target(); + void set_allocated_target(::std::string* target); + + // optional string msg_body = 4; + bool has_msg_body() const; + void clear_msg_body(); + static const int kMsgBodyFieldNumber = 4; + const ::std::string& msg_body() const; + void set_msg_body(const ::std::string& value); + #if LANG_CXX11 + void set_msg_body(::std::string&& value); + #endif + void set_msg_body(const char* value); + void set_msg_body(const char* value, size_t size); + ::std::string* mutable_msg_body(); + ::std::string* release_msg_body(); + void set_allocated_msg_body(::std::string* msg_body); + + // optional int32 chat_channel = 1; + bool has_chat_channel() const; + void clear_chat_channel(); + static const int kChatChannelFieldNumber = 1; + ::google::protobuf::int32 chat_channel() const; + void set_chat_channel(::google::protobuf::int32 value); + + // optional int32 msg_type = 3; + bool has_msg_type() const; + void clear_msg_type(); + static const int kMsgTypeFieldNumber = 3; + ::google::protobuf::int32 msg_type() const; + void set_msg_type(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:cs.CMSendChatMsg) + private: + void set_has_chat_channel(); + void clear_has_chat_channel(); + void set_has_target(); + void clear_has_target(); + void set_has_msg_type(); + void clear_has_msg_type(); + void set_has_msg_body(); + void clear_has_msg_body(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::std::string> members_; + ::google::protobuf::internal::ArenaStringPtr target_; + ::google::protobuf::internal::ArenaStringPtr msg_body_; + ::google::protobuf::int32 chat_channel_; + ::google::protobuf::int32 msg_type_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class CMReadMsgAndOpenChatNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.CMReadMsgAndOpenChatNotify) */ { + public: + CMReadMsgAndOpenChatNotify(); + virtual ~CMReadMsgAndOpenChatNotify(); + + CMReadMsgAndOpenChatNotify(const CMReadMsgAndOpenChatNotify& from); + + inline CMReadMsgAndOpenChatNotify& operator=(const CMReadMsgAndOpenChatNotify& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CMReadMsgAndOpenChatNotify(CMReadMsgAndOpenChatNotify&& from) noexcept + : CMReadMsgAndOpenChatNotify() { + *this = ::std::move(from); + } + + inline CMReadMsgAndOpenChatNotify& operator=(CMReadMsgAndOpenChatNotify&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CMReadMsgAndOpenChatNotify& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CMReadMsgAndOpenChatNotify* internal_default_instance() { + return reinterpret_cast( + &_CMReadMsgAndOpenChatNotify_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + void Swap(CMReadMsgAndOpenChatNotify* other); + friend void swap(CMReadMsgAndOpenChatNotify& a, CMReadMsgAndOpenChatNotify& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CMReadMsgAndOpenChatNotify* New() const final { + return CreateMaybeMessage(NULL); + } + + CMReadMsgAndOpenChatNotify* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CMReadMsgAndOpenChatNotify& from); + void MergeFrom(const CMReadMsgAndOpenChatNotify& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMReadMsgAndOpenChatNotify* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .cs.MFPairInt64 last_ids = 2; + int last_ids_size() const; + void clear_last_ids(); + static const int kLastIdsFieldNumber = 2; + ::cs::MFPairInt64* mutable_last_ids(int index); + ::google::protobuf::RepeatedPtrField< ::cs::MFPairInt64 >* + mutable_last_ids(); + const ::cs::MFPairInt64& last_ids(int index) const; + ::cs::MFPairInt64* add_last_ids(); + const ::google::protobuf::RepeatedPtrField< ::cs::MFPairInt64 >& + last_ids() const; + + // optional int32 curr_channel = 1; + bool has_curr_channel() const; + void clear_curr_channel(); + static const int kCurrChannelFieldNumber = 1; + ::google::protobuf::int32 curr_channel() const; + void set_curr_channel(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:cs.CMReadMsgAndOpenChatNotify) + private: + void set_has_curr_channel(); + void clear_has_curr_channel(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::cs::MFPairInt64 > last_ids_; + ::google::protobuf::int32 curr_channel_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class CMSetCurrPrivateChatTarget : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.CMSetCurrPrivateChatTarget) */ { + public: + CMSetCurrPrivateChatTarget(); + virtual ~CMSetCurrPrivateChatTarget(); + + CMSetCurrPrivateChatTarget(const CMSetCurrPrivateChatTarget& from); + + inline CMSetCurrPrivateChatTarget& operator=(const CMSetCurrPrivateChatTarget& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CMSetCurrPrivateChatTarget(CMSetCurrPrivateChatTarget&& from) noexcept + : CMSetCurrPrivateChatTarget() { + *this = ::std::move(from); + } + + inline CMSetCurrPrivateChatTarget& operator=(CMSetCurrPrivateChatTarget&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CMSetCurrPrivateChatTarget& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CMSetCurrPrivateChatTarget* internal_default_instance() { + return reinterpret_cast( + &_CMSetCurrPrivateChatTarget_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + void Swap(CMSetCurrPrivateChatTarget* other); + friend void swap(CMSetCurrPrivateChatTarget& a, CMSetCurrPrivateChatTarget& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CMSetCurrPrivateChatTarget* New() const final { + return CreateMaybeMessage(NULL); + } + + CMSetCurrPrivateChatTarget* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CMSetCurrPrivateChatTarget& from); + void MergeFrom(const CMSetCurrPrivateChatTarget& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMSetCurrPrivateChatTarget* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string private_target = 1; + bool has_private_target() const; + void clear_private_target(); + static const int kPrivateTargetFieldNumber = 1; + const ::std::string& private_target() const; + void set_private_target(const ::std::string& value); + #if LANG_CXX11 + void set_private_target(::std::string&& value); + #endif + void set_private_target(const char* value); + void set_private_target(const char* value, size_t size); + ::std::string* mutable_private_target(); + ::std::string* release_private_target(); + void set_allocated_private_target(::std::string* private_target); + + // optional int64 last_id = 2; + bool has_last_id() const; + void clear_last_id(); + static const int kLastIdFieldNumber = 2; + ::google::protobuf::int64 last_id() const; + void set_last_id(::google::protobuf::int64 value); + + // @@protoc_insertion_point(class_scope:cs.CMSetCurrPrivateChatTarget) + private: + void set_has_private_target(); + void clear_has_private_target(); + void set_has_last_id(); + void clear_has_last_id(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr private_target_; + ::google::protobuf::int64 last_id_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class CMCloseChatNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.CMCloseChatNotify) */ { + public: + CMCloseChatNotify(); + virtual ~CMCloseChatNotify(); + + CMCloseChatNotify(const CMCloseChatNotify& from); + + inline CMCloseChatNotify& operator=(const CMCloseChatNotify& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CMCloseChatNotify(CMCloseChatNotify&& from) noexcept + : CMCloseChatNotify() { + *this = ::std::move(from); + } + + inline CMCloseChatNotify& operator=(CMCloseChatNotify&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CMCloseChatNotify& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CMCloseChatNotify* internal_default_instance() { + return reinterpret_cast( + &_CMCloseChatNotify_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + void Swap(CMCloseChatNotify* other); + friend void swap(CMCloseChatNotify& a, CMCloseChatNotify& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CMCloseChatNotify* New() const final { + return CreateMaybeMessage(NULL); + } + + CMCloseChatNotify* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CMCloseChatNotify& from); + void MergeFrom(const CMCloseChatNotify& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMCloseChatNotify* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:cs.CMCloseChatNotify) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class CMSendCustomMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.CMSendCustomMsg) */ { + public: + CMSendCustomMsg(); + virtual ~CMSendCustomMsg(); + + CMSendCustomMsg(const CMSendCustomMsg& from); + + inline CMSendCustomMsg& operator=(const CMSendCustomMsg& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CMSendCustomMsg(CMSendCustomMsg&& from) noexcept + : CMSendCustomMsg() { + *this = ::std::move(from); + } + + inline CMSendCustomMsg& operator=(CMSendCustomMsg&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CMSendCustomMsg& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CMSendCustomMsg* internal_default_instance() { + return reinterpret_cast( + &_CMSendCustomMsg_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + void Swap(CMSendCustomMsg* other); + friend void swap(CMSendCustomMsg& a, CMSendCustomMsg& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CMSendCustomMsg* New() const final { + return CreateMaybeMessage(NULL); + } + + CMSendCustomMsg* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CMSendCustomMsg& from); + void MergeFrom(const CMSendCustomMsg& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CMSendCustomMsg* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string target_list = 1; + int target_list_size() const; + void clear_target_list(); + static const int kTargetListFieldNumber = 1; + const ::std::string& target_list(int index) const; + ::std::string* mutable_target_list(int index); + void set_target_list(int index, const ::std::string& value); + #if LANG_CXX11 + void set_target_list(int index, ::std::string&& value); + #endif + void set_target_list(int index, const char* value); + void set_target_list(int index, const char* value, size_t size); + ::std::string* add_target_list(); + void add_target_list(const ::std::string& value); + #if LANG_CXX11 + void add_target_list(::std::string&& value); + #endif + void add_target_list(const char* value); + void add_target_list(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& target_list() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_target_list(); + + // optional string msg = 2; + bool has_msg() const; + void clear_msg(); + static const int kMsgFieldNumber = 2; + const ::std::string& msg() const; + void set_msg(const ::std::string& value); + #if LANG_CXX11 + void set_msg(::std::string&& value); + #endif + void set_msg(const char* value); + void set_msg(const char* value, size_t size); + ::std::string* mutable_msg(); + ::std::string* release_msg(); + void set_allocated_msg(::std::string* msg); + + // optional int64 param1 = 3; + bool has_param1() const; + void clear_param1(); + static const int kParam1FieldNumber = 3; + ::google::protobuf::int64 param1() const; + void set_param1(::google::protobuf::int64 value); + + // optional int64 param2 = 4; + bool has_param2() const; + void clear_param2(); + static const int kParam2FieldNumber = 4; + ::google::protobuf::int64 param2() const; + void set_param2(::google::protobuf::int64 value); + + // optional int64 param3 = 5; + bool has_param3() const; + void clear_param3(); + static const int kParam3FieldNumber = 5; + ::google::protobuf::int64 param3() const; + void set_param3(::google::protobuf::int64 value); + + // @@protoc_insertion_point(class_scope:cs.CMSendCustomMsg) + private: + void set_has_msg(); + void clear_has_msg(); + void set_has_param1(); + void clear_has_param1(); + void set_has_param2(); + void clear_has_param2(); + void set_has_param3(); + void clear_has_param3(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::std::string> target_list_; + ::google::protobuf::internal::ArenaStringPtr msg_; + ::google::protobuf::int64 param1_; + ::google::protobuf::int64 param2_; + ::google::protobuf::int64 param3_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMUserStatusNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMUserStatusNotify) */ { + public: + SMUserStatusNotify(); + virtual ~SMUserStatusNotify(); + + SMUserStatusNotify(const SMUserStatusNotify& from); + + inline SMUserStatusNotify& operator=(const SMUserStatusNotify& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMUserStatusNotify(SMUserStatusNotify&& from) noexcept + : SMUserStatusNotify() { + *this = ::std::move(from); + } + + inline SMUserStatusNotify& operator=(SMUserStatusNotify&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMUserStatusNotify& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMUserStatusNotify* internal_default_instance() { + return reinterpret_cast( + &_SMUserStatusNotify_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + void Swap(SMUserStatusNotify* other); + friend void swap(SMUserStatusNotify& a, SMUserStatusNotify& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMUserStatusNotify* New() const final { + return CreateMaybeMessage(NULL); + } + + SMUserStatusNotify* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMUserStatusNotify& from); + void MergeFrom(const SMUserStatusNotify& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMUserStatusNotify* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string online_users = 1; + int online_users_size() const; + void clear_online_users(); + static const int kOnlineUsersFieldNumber = 1; + const ::std::string& online_users(int index) const; + ::std::string* mutable_online_users(int index); + void set_online_users(int index, const ::std::string& value); + #if LANG_CXX11 + void set_online_users(int index, ::std::string&& value); + #endif + void set_online_users(int index, const char* value); + void set_online_users(int index, const char* value, size_t size); + ::std::string* add_online_users(); + void add_online_users(const ::std::string& value); + #if LANG_CXX11 + void add_online_users(::std::string&& value); + #endif + void add_online_users(const char* value); + void add_online_users(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& online_users() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_online_users(); + + // repeated string offline_users = 2; + int offline_users_size() const; + void clear_offline_users(); + static const int kOfflineUsersFieldNumber = 2; + const ::std::string& offline_users(int index) const; + ::std::string* mutable_offline_users(int index); + void set_offline_users(int index, const ::std::string& value); + #if LANG_CXX11 + void set_offline_users(int index, ::std::string&& value); + #endif + void set_offline_users(int index, const char* value); + void set_offline_users(int index, const char* value, size_t size); + ::std::string* add_offline_users(); + void add_offline_users(const ::std::string& value); + #if LANG_CXX11 + void add_offline_users(::std::string&& value); + #endif + void add_offline_users(const char* value); + void add_offline_users(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& offline_users() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_offline_users(); + + // @@protoc_insertion_point(class_scope:cs.SMUserStatusNotify) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::std::string> online_users_; + ::google::protobuf::RepeatedPtrField< ::std::string> offline_users_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMChatMsgNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMChatMsgNotify) */ { + public: + SMChatMsgNotify(); + virtual ~SMChatMsgNotify(); + + SMChatMsgNotify(const SMChatMsgNotify& from); + + inline SMChatMsgNotify& operator=(const SMChatMsgNotify& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMChatMsgNotify(SMChatMsgNotify&& from) noexcept + : SMChatMsgNotify() { + *this = ::std::move(from); + } + + inline SMChatMsgNotify& operator=(SMChatMsgNotify&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMChatMsgNotify& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMChatMsgNotify* internal_default_instance() { + return reinterpret_cast( + &_SMChatMsgNotify_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + void Swap(SMChatMsgNotify* other); + friend void swap(SMChatMsgNotify& a, SMChatMsgNotify& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMChatMsgNotify* New() const final { + return CreateMaybeMessage(NULL); + } + + SMChatMsgNotify* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMChatMsgNotify& from); + void MergeFrom(const SMChatMsgNotify& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMChatMsgNotify* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .cs.MFChatMsg msg_list = 1; + int msg_list_size() const; + void clear_msg_list(); + static const int kMsgListFieldNumber = 1; + ::cs::MFChatMsg* mutable_msg_list(int index); + ::google::protobuf::RepeatedPtrField< ::cs::MFChatMsg >* + mutable_msg_list(); + const ::cs::MFChatMsg& msg_list(int index) const; + ::cs::MFChatMsg* add_msg_list(); + const ::google::protobuf::RepeatedPtrField< ::cs::MFChatMsg >& + msg_list() const; + + // @@protoc_insertion_point(class_scope:cs.SMChatMsgNotify) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::cs::MFChatMsg > msg_list_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMCustomMsgNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMCustomMsgNotify) */ { + public: + SMCustomMsgNotify(); + virtual ~SMCustomMsgNotify(); + + SMCustomMsgNotify(const SMCustomMsgNotify& from); + + inline SMCustomMsgNotify& operator=(const SMCustomMsgNotify& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMCustomMsgNotify(SMCustomMsgNotify&& from) noexcept + : SMCustomMsgNotify() { + *this = ::std::move(from); + } + + inline SMCustomMsgNotify& operator=(SMCustomMsgNotify&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMCustomMsgNotify& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMCustomMsgNotify* internal_default_instance() { + return reinterpret_cast( + &_SMCustomMsgNotify_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + void Swap(SMCustomMsgNotify* other); + friend void swap(SMCustomMsgNotify& a, SMCustomMsgNotify& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMCustomMsgNotify* New() const final { + return CreateMaybeMessage(NULL); + } + + SMCustomMsgNotify* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMCustomMsgNotify& from); + void MergeFrom(const SMCustomMsgNotify& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMCustomMsgNotify* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string sender = 1; + bool has_sender() const; + void clear_sender(); + static const int kSenderFieldNumber = 1; + const ::std::string& sender() const; + void set_sender(const ::std::string& value); + #if LANG_CXX11 + void set_sender(::std::string&& value); + #endif + void set_sender(const char* value); + void set_sender(const char* value, size_t size); + ::std::string* mutable_sender(); + ::std::string* release_sender(); + void set_allocated_sender(::std::string* sender); + + // optional string msg = 2; + bool has_msg() const; + void clear_msg(); + static const int kMsgFieldNumber = 2; + const ::std::string& msg() const; + void set_msg(const ::std::string& value); + #if LANG_CXX11 + void set_msg(::std::string&& value); + #endif + void set_msg(const char* value); + void set_msg(const char* value, size_t size); + ::std::string* mutable_msg(); + ::std::string* release_msg(); + void set_allocated_msg(::std::string* msg); + + // optional int64 param1 = 3; + bool has_param1() const; + void clear_param1(); + static const int kParam1FieldNumber = 3; + ::google::protobuf::int64 param1() const; + void set_param1(::google::protobuf::int64 value); + + // optional int64 param2 = 4; + bool has_param2() const; + void clear_param2(); + static const int kParam2FieldNumber = 4; + ::google::protobuf::int64 param2() const; + void set_param2(::google::protobuf::int64 value); + + // optional int64 param3 = 5; + bool has_param3() const; + void clear_param3(); + static const int kParam3FieldNumber = 5; + ::google::protobuf::int64 param3() const; + void set_param3(::google::protobuf::int64 value); + + // @@protoc_insertion_point(class_scope:cs.SMCustomMsgNotify) + private: + void set_has_sender(); + void clear_has_sender(); + void set_has_msg(); + void clear_has_msg(); + void set_has_param1(); + void clear_has_param1(); + void set_has_param2(); + void clear_has_param2(); + void set_has_param3(); + void clear_has_param3(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr sender_; + ::google::protobuf::internal::ArenaStringPtr msg_; + ::google::protobuf::int64 param1_; + ::google::protobuf::int64 param2_; + ::google::protobuf::int64 param3_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMUserInfoUpdate : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMUserInfoUpdate) */ { + public: + SMUserInfoUpdate(); + virtual ~SMUserInfoUpdate(); + + SMUserInfoUpdate(const SMUserInfoUpdate& from); + + inline SMUserInfoUpdate& operator=(const SMUserInfoUpdate& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMUserInfoUpdate(SMUserInfoUpdate&& from) noexcept + : SMUserInfoUpdate() { + *this = ::std::move(from); + } + + inline SMUserInfoUpdate& operator=(SMUserInfoUpdate&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMUserInfoUpdate& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMUserInfoUpdate* internal_default_instance() { + return reinterpret_cast( + &_SMUserInfoUpdate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + void Swap(SMUserInfoUpdate* other); + friend void swap(SMUserInfoUpdate& a, SMUserInfoUpdate& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMUserInfoUpdate* New() const final { + return CreateMaybeMessage(NULL); + } + + SMUserInfoUpdate* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMUserInfoUpdate& from); + void MergeFrom(const SMUserInfoUpdate& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMUserInfoUpdate* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .cs.MFUserInfo user_infos = 1; + int user_infos_size() const; + void clear_user_infos(); + static const int kUserInfosFieldNumber = 1; + ::cs::MFUserInfo* mutable_user_infos(int index); + ::google::protobuf::RepeatedPtrField< ::cs::MFUserInfo >* + mutable_user_infos(); + const ::cs::MFUserInfo& user_infos(int index) const; + ::cs::MFUserInfo* add_user_infos(); + const ::google::protobuf::RepeatedPtrField< ::cs::MFUserInfo >& + user_infos() const; + + // @@protoc_insertion_point(class_scope:cs.SMUserInfoUpdate) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::cs::MFUserInfo > user_infos_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMDeleteFriendNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMDeleteFriendNotify) */ { + public: + SMDeleteFriendNotify(); + virtual ~SMDeleteFriendNotify(); + + SMDeleteFriendNotify(const SMDeleteFriendNotify& from); + + inline SMDeleteFriendNotify& operator=(const SMDeleteFriendNotify& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMDeleteFriendNotify(SMDeleteFriendNotify&& from) noexcept + : SMDeleteFriendNotify() { + *this = ::std::move(from); + } + + inline SMDeleteFriendNotify& operator=(SMDeleteFriendNotify&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMDeleteFriendNotify& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMDeleteFriendNotify* internal_default_instance() { + return reinterpret_cast( + &_SMDeleteFriendNotify_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + void Swap(SMDeleteFriendNotify* other); + friend void swap(SMDeleteFriendNotify& a, SMDeleteFriendNotify& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMDeleteFriendNotify* New() const final { + return CreateMaybeMessage(NULL); + } + + SMDeleteFriendNotify* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMDeleteFriendNotify& from); + void MergeFrom(const SMDeleteFriendNotify& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMDeleteFriendNotify* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string user_list = 1; + int user_list_size() const; + void clear_user_list(); + static const int kUserListFieldNumber = 1; + const ::std::string& user_list(int index) const; + ::std::string* mutable_user_list(int index); + void set_user_list(int index, const ::std::string& value); + #if LANG_CXX11 + void set_user_list(int index, ::std::string&& value); + #endif + void set_user_list(int index, const char* value); + void set_user_list(int index, const char* value, size_t size); + ::std::string* add_user_list(); + void add_user_list(const ::std::string& value); + #if LANG_CXX11 + void add_user_list(::std::string&& value); + #endif + void add_user_list(const char* value); + void add_user_list(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& user_list() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_user_list(); + + // @@protoc_insertion_point(class_scope:cs.SMDeleteFriendNotify) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::std::string> user_list_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMAddBlackListNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMAddBlackListNotify) */ { + public: + SMAddBlackListNotify(); + virtual ~SMAddBlackListNotify(); + + SMAddBlackListNotify(const SMAddBlackListNotify& from); + + inline SMAddBlackListNotify& operator=(const SMAddBlackListNotify& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMAddBlackListNotify(SMAddBlackListNotify&& from) noexcept + : SMAddBlackListNotify() { + *this = ::std::move(from); + } + + inline SMAddBlackListNotify& operator=(SMAddBlackListNotify&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMAddBlackListNotify& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMAddBlackListNotify* internal_default_instance() { + return reinterpret_cast( + &_SMAddBlackListNotify_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + void Swap(SMAddBlackListNotify* other); + friend void swap(SMAddBlackListNotify& a, SMAddBlackListNotify& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMAddBlackListNotify* New() const final { + return CreateMaybeMessage(NULL); + } + + SMAddBlackListNotify* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMAddBlackListNotify& from); + void MergeFrom(const SMAddBlackListNotify& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMAddBlackListNotify* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .cs.MFUserInfo user_infos = 1; + int user_infos_size() const; + void clear_user_infos(); + static const int kUserInfosFieldNumber = 1; + ::cs::MFUserInfo* mutable_user_infos(int index); + ::google::protobuf::RepeatedPtrField< ::cs::MFUserInfo >* + mutable_user_infos(); + const ::cs::MFUserInfo& user_infos(int index) const; + ::cs::MFUserInfo* add_user_infos(); + const ::google::protobuf::RepeatedPtrField< ::cs::MFUserInfo >& + user_infos() const; + + // @@protoc_insertion_point(class_scope:cs.SMAddBlackListNotify) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::cs::MFUserInfo > user_infos_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMDeleteBlackListNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMDeleteBlackListNotify) */ { + public: + SMDeleteBlackListNotify(); + virtual ~SMDeleteBlackListNotify(); + + SMDeleteBlackListNotify(const SMDeleteBlackListNotify& from); + + inline SMDeleteBlackListNotify& operator=(const SMDeleteBlackListNotify& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMDeleteBlackListNotify(SMDeleteBlackListNotify&& from) noexcept + : SMDeleteBlackListNotify() { + *this = ::std::move(from); + } + + inline SMDeleteBlackListNotify& operator=(SMDeleteBlackListNotify&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMDeleteBlackListNotify& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMDeleteBlackListNotify* internal_default_instance() { + return reinterpret_cast( + &_SMDeleteBlackListNotify_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + void Swap(SMDeleteBlackListNotify* other); + friend void swap(SMDeleteBlackListNotify& a, SMDeleteBlackListNotify& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMDeleteBlackListNotify* New() const final { + return CreateMaybeMessage(NULL); + } + + SMDeleteBlackListNotify* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMDeleteBlackListNotify& from); + void MergeFrom(const SMDeleteBlackListNotify& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMDeleteBlackListNotify* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string user_list = 1; + int user_list_size() const; + void clear_user_list(); + static const int kUserListFieldNumber = 1; + const ::std::string& user_list(int index) const; + ::std::string* mutable_user_list(int index); + void set_user_list(int index, const ::std::string& value); + #if LANG_CXX11 + void set_user_list(int index, ::std::string&& value); + #endif + void set_user_list(int index, const char* value); + void set_user_list(int index, const char* value, size_t size); + ::std::string* add_user_list(); + void add_user_list(const ::std::string& value); + #if LANG_CXX11 + void add_user_list(::std::string&& value); + #endif + void add_user_list(const char* value); + void add_user_list(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& user_list() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_user_list(); + + // @@protoc_insertion_point(class_scope:cs.SMDeleteBlackListNotify) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::std::string> user_list_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMUpdateRedPointNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMUpdateRedPointNotify) */ { + public: + SMUpdateRedPointNotify(); + virtual ~SMUpdateRedPointNotify(); + + SMUpdateRedPointNotify(const SMUpdateRedPointNotify& from); + + inline SMUpdateRedPointNotify& operator=(const SMUpdateRedPointNotify& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMUpdateRedPointNotify(SMUpdateRedPointNotify&& from) noexcept + : SMUpdateRedPointNotify() { + *this = ::std::move(from); + } + + inline SMUpdateRedPointNotify& operator=(SMUpdateRedPointNotify&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMUpdateRedPointNotify& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMUpdateRedPointNotify* internal_default_instance() { + return reinterpret_cast( + &_SMUpdateRedPointNotify_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + void Swap(SMUpdateRedPointNotify* other); + friend void swap(SMUpdateRedPointNotify& a, SMUpdateRedPointNotify& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMUpdateRedPointNotify* New() const final { + return CreateMaybeMessage(NULL); + } + + SMUpdateRedPointNotify* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMUpdateRedPointNotify& from); + void MergeFrom(const SMUpdateRedPointNotify& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMUpdateRedPointNotify* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional int32 red_point_flags = 1; + bool has_red_point_flags() const; + void clear_red_point_flags(); + static const int kRedPointFlagsFieldNumber = 1; + ::google::protobuf::int32 red_point_flags() const; + void set_red_point_flags(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:cs.SMUpdateRedPointNotify) + private: + void set_has_red_point_flags(); + void clear_has_red_point_flags(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::int32 red_point_flags_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMUpdateChatRedPointNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMUpdateChatRedPointNotify) */ { + public: + SMUpdateChatRedPointNotify(); + virtual ~SMUpdateChatRedPointNotify(); + + SMUpdateChatRedPointNotify(const SMUpdateChatRedPointNotify& from); + + inline SMUpdateChatRedPointNotify& operator=(const SMUpdateChatRedPointNotify& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMUpdateChatRedPointNotify(SMUpdateChatRedPointNotify&& from) noexcept + : SMUpdateChatRedPointNotify() { + *this = ::std::move(from); + } + + inline SMUpdateChatRedPointNotify& operator=(SMUpdateChatRedPointNotify&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMUpdateChatRedPointNotify& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMUpdateChatRedPointNotify* internal_default_instance() { + return reinterpret_cast( + &_SMUpdateChatRedPointNotify_default_instance_); + } + static constexpr int kIndexInFileMessages = + 27; + + void Swap(SMUpdateChatRedPointNotify* other); + friend void swap(SMUpdateChatRedPointNotify& a, SMUpdateChatRedPointNotify& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMUpdateChatRedPointNotify* New() const final { + return CreateMaybeMessage(NULL); + } + + SMUpdateChatRedPointNotify* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMUpdateChatRedPointNotify& from); + void MergeFrom(const SMUpdateChatRedPointNotify& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMUpdateChatRedPointNotify* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated int32 has_unread_msg_channels = 1; + int has_unread_msg_channels_size() const; + void clear_has_unread_msg_channels(); + static const int kHasUnreadMsgChannelsFieldNumber = 1; + ::google::protobuf::int32 has_unread_msg_channels(int index) const; + void set_has_unread_msg_channels(int index, ::google::protobuf::int32 value); + void add_has_unread_msg_channels(::google::protobuf::int32 value); + const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& + has_unread_msg_channels() const; + ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* + mutable_has_unread_msg_channels(); + + // @@protoc_insertion_point(class_scope:cs.SMUpdateChatRedPointNotify) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedField< ::google::protobuf::int32 > has_unread_msg_channels_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMUpdatePrivateChatRedPointNotify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMUpdatePrivateChatRedPointNotify) */ { + public: + SMUpdatePrivateChatRedPointNotify(); + virtual ~SMUpdatePrivateChatRedPointNotify(); + + SMUpdatePrivateChatRedPointNotify(const SMUpdatePrivateChatRedPointNotify& from); + + inline SMUpdatePrivateChatRedPointNotify& operator=(const SMUpdatePrivateChatRedPointNotify& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMUpdatePrivateChatRedPointNotify(SMUpdatePrivateChatRedPointNotify&& from) noexcept + : SMUpdatePrivateChatRedPointNotify() { + *this = ::std::move(from); + } + + inline SMUpdatePrivateChatRedPointNotify& operator=(SMUpdatePrivateChatRedPointNotify&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMUpdatePrivateChatRedPointNotify& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMUpdatePrivateChatRedPointNotify* internal_default_instance() { + return reinterpret_cast( + &_SMUpdatePrivateChatRedPointNotify_default_instance_); + } + static constexpr int kIndexInFileMessages = + 28; + + void Swap(SMUpdatePrivateChatRedPointNotify* other); + friend void swap(SMUpdatePrivateChatRedPointNotify& a, SMUpdatePrivateChatRedPointNotify& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMUpdatePrivateChatRedPointNotify* New() const final { + return CreateMaybeMessage(NULL); + } + + SMUpdatePrivateChatRedPointNotify* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMUpdatePrivateChatRedPointNotify& from); + void MergeFrom(const SMUpdatePrivateChatRedPointNotify& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMUpdatePrivateChatRedPointNotify* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string has_unread_msg_accounts = 1; + int has_unread_msg_accounts_size() const; + void clear_has_unread_msg_accounts(); + static const int kHasUnreadMsgAccountsFieldNumber = 1; + const ::std::string& has_unread_msg_accounts(int index) const; + ::std::string* mutable_has_unread_msg_accounts(int index); + void set_has_unread_msg_accounts(int index, const ::std::string& value); + #if LANG_CXX11 + void set_has_unread_msg_accounts(int index, ::std::string&& value); + #endif + void set_has_unread_msg_accounts(int index, const char* value); + void set_has_unread_msg_accounts(int index, const char* value, size_t size); + ::std::string* add_has_unread_msg_accounts(); + void add_has_unread_msg_accounts(const ::std::string& value); + #if LANG_CXX11 + void add_has_unread_msg_accounts(::std::string&& value); + #endif + void add_has_unread_msg_accounts(const char* value); + void add_has_unread_msg_accounts(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField< ::std::string>& has_unread_msg_accounts() const; + ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_has_unread_msg_accounts(); + + // @@protoc_insertion_point(class_scope:cs.SMUpdatePrivateChatRedPointNotify) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::std::string> has_unread_msg_accounts_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMUpdateChatChannelLastId : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMUpdateChatChannelLastId) */ { + public: + SMUpdateChatChannelLastId(); + virtual ~SMUpdateChatChannelLastId(); + + SMUpdateChatChannelLastId(const SMUpdateChatChannelLastId& from); + + inline SMUpdateChatChannelLastId& operator=(const SMUpdateChatChannelLastId& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMUpdateChatChannelLastId(SMUpdateChatChannelLastId&& from) noexcept + : SMUpdateChatChannelLastId() { + *this = ::std::move(from); + } + + inline SMUpdateChatChannelLastId& operator=(SMUpdateChatChannelLastId&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMUpdateChatChannelLastId& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMUpdateChatChannelLastId* internal_default_instance() { + return reinterpret_cast( + &_SMUpdateChatChannelLastId_default_instance_); + } + static constexpr int kIndexInFileMessages = + 29; + + void Swap(SMUpdateChatChannelLastId* other); + friend void swap(SMUpdateChatChannelLastId& a, SMUpdateChatChannelLastId& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMUpdateChatChannelLastId* New() const final { + return CreateMaybeMessage(NULL); + } + + SMUpdateChatChannelLastId* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMUpdateChatChannelLastId& from); + void MergeFrom(const SMUpdateChatChannelLastId& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMUpdateChatChannelLastId* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .cs.MFPairInt64 last_ids = 1; + int last_ids_size() const; + void clear_last_ids(); + static const int kLastIdsFieldNumber = 1; + ::cs::MFPairInt64* mutable_last_ids(int index); + ::google::protobuf::RepeatedPtrField< ::cs::MFPairInt64 >* + mutable_last_ids(); + const ::cs::MFPairInt64& last_ids(int index) const; + ::cs::MFPairInt64* add_last_ids(); + const ::google::protobuf::RepeatedPtrField< ::cs::MFPairInt64 >& + last_ids() const; + + // @@protoc_insertion_point(class_scope:cs.SMUpdateChatChannelLastId) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::cs::MFPairInt64 > last_ids_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// ------------------------------------------------------------------- + +class SMShowErrorMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:cs.SMShowErrorMsg) */ { + public: + SMShowErrorMsg(); + virtual ~SMShowErrorMsg(); + + SMShowErrorMsg(const SMShowErrorMsg& from); + + inline SMShowErrorMsg& operator=(const SMShowErrorMsg& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SMShowErrorMsg(SMShowErrorMsg&& from) noexcept + : SMShowErrorMsg() { + *this = ::std::move(from); + } + + inline SMShowErrorMsg& operator=(SMShowErrorMsg&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SMShowErrorMsg& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SMShowErrorMsg* internal_default_instance() { + return reinterpret_cast( + &_SMShowErrorMsg_default_instance_); + } + static constexpr int kIndexInFileMessages = + 30; + + void Swap(SMShowErrorMsg* other); + friend void swap(SMShowErrorMsg& a, SMShowErrorMsg& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SMShowErrorMsg* New() const final { + return CreateMaybeMessage(NULL); + } + + SMShowErrorMsg* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SMShowErrorMsg& from); + void MergeFrom(const SMShowErrorMsg& from); + void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SMShowErrorMsg* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string msg = 1; + bool has_msg() const; + void clear_msg(); + static const int kMsgFieldNumber = 1; + const ::std::string& msg() const; + void set_msg(const ::std::string& value); + #if LANG_CXX11 + void set_msg(::std::string&& value); + #endif + void set_msg(const char* value); + void set_msg(const char* value, size_t size); + ::std::string* mutable_msg(); + ::std::string* release_msg(); + void set_allocated_msg(::std::string* msg); + + // @@protoc_insertion_point(class_scope:cs.SMShowErrorMsg) + private: + void set_has_msg(); + void clear_has_msg(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr msg_; + friend struct ::protobuf_cs_5fproto_2eproto::TableStruct; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CMPing + +// ------------------------------------------------------------------- + +// SMPing + +// optional int32 param1 = 1; +inline bool SMPing::has_param1() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SMPing::set_has_param1() { + _has_bits_[0] |= 0x00000001u; +} +inline void SMPing::clear_has_param1() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SMPing::clear_param1() { + param1_ = 0; + clear_has_param1(); +} +inline ::google::protobuf::int32 SMPing::param1() const { + // @@protoc_insertion_point(field_get:cs.SMPing.param1) + return param1_; +} +inline void SMPing::set_param1(::google::protobuf::int32 value) { + set_has_param1(); + param1_ = value; + // @@protoc_insertion_point(field_set:cs.SMPing.param1) +} + +// ------------------------------------------------------------------- + +// MFStringTuple + +// repeated string values = 1; +inline int MFStringTuple::values_size() const { + return values_.size(); +} +inline void MFStringTuple::clear_values() { + values_.Clear(); +} +inline const ::std::string& MFStringTuple::values(int index) const { + // @@protoc_insertion_point(field_get:cs.MFStringTuple.values) + return values_.Get(index); +} +inline ::std::string* MFStringTuple::mutable_values(int index) { + // @@protoc_insertion_point(field_mutable:cs.MFStringTuple.values) + return values_.Mutable(index); +} +inline void MFStringTuple::set_values(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:cs.MFStringTuple.values) + values_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void MFStringTuple::set_values(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:cs.MFStringTuple.values) + values_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void MFStringTuple::set_values(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + values_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:cs.MFStringTuple.values) +} +inline void MFStringTuple::set_values(int index, const char* value, size_t size) { + values_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:cs.MFStringTuple.values) +} +inline ::std::string* MFStringTuple::add_values() { + // @@protoc_insertion_point(field_add_mutable:cs.MFStringTuple.values) + return values_.Add(); +} +inline void MFStringTuple::add_values(const ::std::string& value) { + values_.Add()->assign(value); + // @@protoc_insertion_point(field_add:cs.MFStringTuple.values) +} +#if LANG_CXX11 +inline void MFStringTuple::add_values(::std::string&& value) { + values_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:cs.MFStringTuple.values) +} +#endif +inline void MFStringTuple::add_values(const char* value) { + GOOGLE_DCHECK(value != NULL); + values_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:cs.MFStringTuple.values) +} +inline void MFStringTuple::add_values(const char* value, size_t size) { + values_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:cs.MFStringTuple.values) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +MFStringTuple::values() const { + // @@protoc_insertion_point(field_list:cs.MFStringTuple.values) + return values_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +MFStringTuple::mutable_values() { + // @@protoc_insertion_point(field_mutable_list:cs.MFStringTuple.values) + return &values_; +} + +// ------------------------------------------------------------------- + +// MFPairInt32 + +// optional int32 key = 1; +inline bool MFPairInt32::has_key() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MFPairInt32::set_has_key() { + _has_bits_[0] |= 0x00000001u; +} +inline void MFPairInt32::clear_has_key() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MFPairInt32::clear_key() { + key_ = 0; + clear_has_key(); +} +inline ::google::protobuf::int32 MFPairInt32::key() const { + // @@protoc_insertion_point(field_get:cs.MFPairInt32.key) + return key_; +} +inline void MFPairInt32::set_key(::google::protobuf::int32 value) { + set_has_key(); + key_ = value; + // @@protoc_insertion_point(field_set:cs.MFPairInt32.key) +} + +// optional int32 val = 2; +inline bool MFPairInt32::has_val() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MFPairInt32::set_has_val() { + _has_bits_[0] |= 0x00000002u; +} +inline void MFPairInt32::clear_has_val() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MFPairInt32::clear_val() { + val_ = 0; + clear_has_val(); +} +inline ::google::protobuf::int32 MFPairInt32::val() const { + // @@protoc_insertion_point(field_get:cs.MFPairInt32.val) + return val_; +} +inline void MFPairInt32::set_val(::google::protobuf::int32 value) { + set_has_val(); + val_ = value; + // @@protoc_insertion_point(field_set:cs.MFPairInt32.val) +} + +// ------------------------------------------------------------------- + +// MFPairInt64 + +// optional int64 key = 1; +inline bool MFPairInt64::has_key() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MFPairInt64::set_has_key() { + _has_bits_[0] |= 0x00000001u; +} +inline void MFPairInt64::clear_has_key() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MFPairInt64::clear_key() { + key_ = GOOGLE_LONGLONG(0); + clear_has_key(); +} +inline ::google::protobuf::int64 MFPairInt64::key() const { + // @@protoc_insertion_point(field_get:cs.MFPairInt64.key) + return key_; +} +inline void MFPairInt64::set_key(::google::protobuf::int64 value) { + set_has_key(); + key_ = value; + // @@protoc_insertion_point(field_set:cs.MFPairInt64.key) +} + +// optional int64 val = 2; +inline bool MFPairInt64::has_val() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MFPairInt64::set_has_val() { + _has_bits_[0] |= 0x00000002u; +} +inline void MFPairInt64::clear_has_val() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MFPairInt64::clear_val() { + val_ = GOOGLE_LONGLONG(0); + clear_has_val(); +} +inline ::google::protobuf::int64 MFPairInt64::val() const { + // @@protoc_insertion_point(field_get:cs.MFPairInt64.val) + return val_; +} +inline void MFPairInt64::set_val(::google::protobuf::int64 value) { + set_has_val(); + val_ = value; + // @@protoc_insertion_point(field_set:cs.MFPairInt64.val) +} + +// ------------------------------------------------------------------- + +// MFPaging + +// optional int32 curr_page = 1; +inline bool MFPaging::has_curr_page() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MFPaging::set_has_curr_page() { + _has_bits_[0] |= 0x00000001u; +} +inline void MFPaging::clear_has_curr_page() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MFPaging::clear_curr_page() { + curr_page_ = 0; + clear_has_curr_page(); +} +inline ::google::protobuf::int32 MFPaging::curr_page() const { + // @@protoc_insertion_point(field_get:cs.MFPaging.curr_page) + return curr_page_; +} +inline void MFPaging::set_curr_page(::google::protobuf::int32 value) { + set_has_curr_page(); + curr_page_ = value; + // @@protoc_insertion_point(field_set:cs.MFPaging.curr_page) +} + +// optional int32 page_size = 2; +inline bool MFPaging::has_page_size() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MFPaging::set_has_page_size() { + _has_bits_[0] |= 0x00000002u; +} +inline void MFPaging::clear_has_page_size() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MFPaging::clear_page_size() { + page_size_ = 0; + clear_has_page_size(); +} +inline ::google::protobuf::int32 MFPaging::page_size() const { + // @@protoc_insertion_point(field_get:cs.MFPaging.page_size) + return page_size_; +} +inline void MFPaging::set_page_size(::google::protobuf::int32 value) { + set_has_page_size(); + page_size_ = value; + // @@protoc_insertion_point(field_set:cs.MFPaging.page_size) +} + +// optional int32 _total_page = 3; +inline bool MFPaging::has__total_page() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MFPaging::set_has__total_page() { + _has_bits_[0] |= 0x00000004u; +} +inline void MFPaging::clear_has__total_page() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MFPaging::clear__total_page() { + _total_page_ = 0; + clear_has__total_page(); +} +inline ::google::protobuf::int32 MFPaging::_total_page() const { + // @@protoc_insertion_point(field_get:cs.MFPaging._total_page) + return _total_page_; +} +inline void MFPaging::set__total_page(::google::protobuf::int32 value) { + set_has__total_page(); + _total_page_ = value; + // @@protoc_insertion_point(field_set:cs.MFPaging._total_page) +} + +// optional int32 _total_count = 4; +inline bool MFPaging::has__total_count() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MFPaging::set_has__total_count() { + _has_bits_[0] |= 0x00000008u; +} +inline void MFPaging::clear_has__total_count() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MFPaging::clear__total_count() { + _total_count_ = 0; + clear_has__total_count(); +} +inline ::google::protobuf::int32 MFPaging::_total_count() const { + // @@protoc_insertion_point(field_get:cs.MFPaging._total_count) + return _total_count_; +} +inline void MFPaging::set__total_count(::google::protobuf::int32 value) { + set_has__total_count(); + _total_count_ = value; + // @@protoc_insertion_point(field_set:cs.MFPaging._total_count) +} + +// ------------------------------------------------------------------- + +// MFBaseUserData + +// optional string account_id = 1; +inline bool MFBaseUserData::has_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MFBaseUserData::set_has_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MFBaseUserData::clear_has_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MFBaseUserData::clear_account_id() { + account_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_account_id(); +} +inline const ::std::string& MFBaseUserData::account_id() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.account_id) + return account_id_.GetNoArena(); +} +inline void MFBaseUserData::set_account_id(const ::std::string& value) { + set_has_account_id(); + account_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.account_id) +} +#if LANG_CXX11 +inline void MFBaseUserData::set_account_id(::std::string&& value) { + set_has_account_id(); + account_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.MFBaseUserData.account_id) +} +#endif +inline void MFBaseUserData::set_account_id(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_account_id(); + account_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.MFBaseUserData.account_id) +} +inline void MFBaseUserData::set_account_id(const char* value, size_t size) { + set_has_account_id(); + account_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.MFBaseUserData.account_id) +} +inline ::std::string* MFBaseUserData::mutable_account_id() { + set_has_account_id(); + // @@protoc_insertion_point(field_mutable:cs.MFBaseUserData.account_id) + return account_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MFBaseUserData::release_account_id() { + // @@protoc_insertion_point(field_release:cs.MFBaseUserData.account_id) + if (!has_account_id()) { + return NULL; + } + clear_has_account_id(); + return account_id_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MFBaseUserData::set_allocated_account_id(::std::string* account_id) { + if (account_id != NULL) { + set_has_account_id(); + } else { + clear_has_account_id(); + } + account_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), account_id); + // @@protoc_insertion_point(field_set_allocated:cs.MFBaseUserData.account_id) +} + +// optional string nickname = 2; +inline bool MFBaseUserData::has_nickname() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MFBaseUserData::set_has_nickname() { + _has_bits_[0] |= 0x00000002u; +} +inline void MFBaseUserData::clear_has_nickname() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MFBaseUserData::clear_nickname() { + nickname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_nickname(); +} +inline const ::std::string& MFBaseUserData::nickname() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.nickname) + return nickname_.GetNoArena(); +} +inline void MFBaseUserData::set_nickname(const ::std::string& value) { + set_has_nickname(); + nickname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.nickname) +} +#if LANG_CXX11 +inline void MFBaseUserData::set_nickname(::std::string&& value) { + set_has_nickname(); + nickname_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.MFBaseUserData.nickname) +} +#endif +inline void MFBaseUserData::set_nickname(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_nickname(); + nickname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.MFBaseUserData.nickname) +} +inline void MFBaseUserData::set_nickname(const char* value, size_t size) { + set_has_nickname(); + nickname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.MFBaseUserData.nickname) +} +inline ::std::string* MFBaseUserData::mutable_nickname() { + set_has_nickname(); + // @@protoc_insertion_point(field_mutable:cs.MFBaseUserData.nickname) + return nickname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MFBaseUserData::release_nickname() { + // @@protoc_insertion_point(field_release:cs.MFBaseUserData.nickname) + if (!has_nickname()) { + return NULL; + } + clear_has_nickname(); + return nickname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MFBaseUserData::set_allocated_nickname(::std::string* nickname) { + if (nickname != NULL) { + set_has_nickname(); + } else { + clear_has_nickname(); + } + nickname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), nickname); + // @@protoc_insertion_point(field_set_allocated:cs.MFBaseUserData.nickname) +} + +// optional string avatar_url = 3; +inline bool MFBaseUserData::has_avatar_url() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MFBaseUserData::set_has_avatar_url() { + _has_bits_[0] |= 0x00000004u; +} +inline void MFBaseUserData::clear_has_avatar_url() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MFBaseUserData::clear_avatar_url() { + avatar_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_avatar_url(); +} +inline const ::std::string& MFBaseUserData::avatar_url() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.avatar_url) + return avatar_url_.GetNoArena(); +} +inline void MFBaseUserData::set_avatar_url(const ::std::string& value) { + set_has_avatar_url(); + avatar_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.avatar_url) +} +#if LANG_CXX11 +inline void MFBaseUserData::set_avatar_url(::std::string&& value) { + set_has_avatar_url(); + avatar_url_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.MFBaseUserData.avatar_url) +} +#endif +inline void MFBaseUserData::set_avatar_url(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_avatar_url(); + avatar_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.MFBaseUserData.avatar_url) +} +inline void MFBaseUserData::set_avatar_url(const char* value, size_t size) { + set_has_avatar_url(); + avatar_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.MFBaseUserData.avatar_url) +} +inline ::std::string* MFBaseUserData::mutable_avatar_url() { + set_has_avatar_url(); + // @@protoc_insertion_point(field_mutable:cs.MFBaseUserData.avatar_url) + return avatar_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MFBaseUserData::release_avatar_url() { + // @@protoc_insertion_point(field_release:cs.MFBaseUserData.avatar_url) + if (!has_avatar_url()) { + return NULL; + } + clear_has_avatar_url(); + return avatar_url_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MFBaseUserData::set_allocated_avatar_url(::std::string* avatar_url) { + if (avatar_url != NULL) { + set_has_avatar_url(); + } else { + clear_has_avatar_url(); + } + avatar_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), avatar_url); + // @@protoc_insertion_point(field_set_allocated:cs.MFBaseUserData.avatar_url) +} + +// optional int32 sex = 4; +inline bool MFBaseUserData::has_sex() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MFBaseUserData::set_has_sex() { + _has_bits_[0] |= 0x00000008u; +} +inline void MFBaseUserData::clear_has_sex() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MFBaseUserData::clear_sex() { + sex_ = 0; + clear_has_sex(); +} +inline ::google::protobuf::int32 MFBaseUserData::sex() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.sex) + return sex_; +} +inline void MFBaseUserData::set_sex(::google::protobuf::int32 value) { + set_has_sex(); + sex_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.sex) +} + +// optional int32 last_login_time = 5; +inline bool MFBaseUserData::has_last_login_time() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void MFBaseUserData::set_has_last_login_time() { + _has_bits_[0] |= 0x00000010u; +} +inline void MFBaseUserData::clear_has_last_login_time() { + _has_bits_[0] &= ~0x00000010u; +} +inline void MFBaseUserData::clear_last_login_time() { + last_login_time_ = 0; + clear_has_last_login_time(); +} +inline ::google::protobuf::int32 MFBaseUserData::last_login_time() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.last_login_time) + return last_login_time_; +} +inline void MFBaseUserData::set_last_login_time(::google::protobuf::int32 value) { + set_has_last_login_time(); + last_login_time_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.last_login_time) +} + +// optional int64 guild_id = 6; +inline bool MFBaseUserData::has_guild_id() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void MFBaseUserData::set_has_guild_id() { + _has_bits_[0] |= 0x00000020u; +} +inline void MFBaseUserData::clear_has_guild_id() { + _has_bits_[0] &= ~0x00000020u; +} +inline void MFBaseUserData::clear_guild_id() { + guild_id_ = GOOGLE_LONGLONG(0); + clear_has_guild_id(); +} +inline ::google::protobuf::int64 MFBaseUserData::guild_id() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.guild_id) + return guild_id_; +} +inline void MFBaseUserData::set_guild_id(::google::protobuf::int64 value) { + set_has_guild_id(); + guild_id_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.guild_id) +} + +// optional int32 guild_job = 7; +inline bool MFBaseUserData::has_guild_job() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void MFBaseUserData::set_has_guild_job() { + _has_bits_[0] |= 0x00000040u; +} +inline void MFBaseUserData::clear_has_guild_job() { + _has_bits_[0] &= ~0x00000040u; +} +inline void MFBaseUserData::clear_guild_job() { + guild_job_ = 0; + clear_has_guild_job(); +} +inline ::google::protobuf::int32 MFBaseUserData::guild_job() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.guild_job) + return guild_job_; +} +inline void MFBaseUserData::set_guild_job(::google::protobuf::int32 value) { + set_has_guild_job(); + guild_job_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.guild_job) +} + +// optional int32 vip_lv = 8 [default = 0]; +inline bool MFBaseUserData::has_vip_lv() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void MFBaseUserData::set_has_vip_lv() { + _has_bits_[0] |= 0x00000080u; +} +inline void MFBaseUserData::clear_has_vip_lv() { + _has_bits_[0] &= ~0x00000080u; +} +inline void MFBaseUserData::clear_vip_lv() { + vip_lv_ = 0; + clear_has_vip_lv(); +} +inline ::google::protobuf::int32 MFBaseUserData::vip_lv() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.vip_lv) + return vip_lv_; +} +inline void MFBaseUserData::set_vip_lv(::google::protobuf::int32 value) { + set_has_vip_lv(); + vip_lv_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.vip_lv) +} + +// optional int32 head = 9 [default = 0]; +inline bool MFBaseUserData::has_head() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void MFBaseUserData::set_has_head() { + _has_bits_[0] |= 0x00000100u; +} +inline void MFBaseUserData::clear_has_head() { + _has_bits_[0] &= ~0x00000100u; +} +inline void MFBaseUserData::clear_head() { + head_ = 0; + clear_has_head(); +} +inline ::google::protobuf::int32 MFBaseUserData::head() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.head) + return head_; +} +inline void MFBaseUserData::set_head(::google::protobuf::int32 value) { + set_has_head(); + head_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.head) +} + +// optional int32 contribute = 10 [default = 0]; +inline bool MFBaseUserData::has_contribute() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void MFBaseUserData::set_has_contribute() { + _has_bits_[0] |= 0x00000200u; +} +inline void MFBaseUserData::clear_has_contribute() { + _has_bits_[0] &= ~0x00000200u; +} +inline void MFBaseUserData::clear_contribute() { + contribute_ = 0; + clear_has_contribute(); +} +inline ::google::protobuf::int32 MFBaseUserData::contribute() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.contribute) + return contribute_; +} +inline void MFBaseUserData::set_contribute(::google::protobuf::int32 value) { + set_has_contribute(); + contribute_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.contribute) +} + +// optional int32 zid = 11 [default = 0]; +inline bool MFBaseUserData::has_zid() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void MFBaseUserData::set_has_zid() { + _has_bits_[0] |= 0x00002000u; +} +inline void MFBaseUserData::clear_has_zid() { + _has_bits_[0] &= ~0x00002000u; +} +inline void MFBaseUserData::clear_zid() { + zid_ = 0; + clear_has_zid(); +} +inline ::google::protobuf::int32 MFBaseUserData::zid() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.zid) + return zid_; +} +inline void MFBaseUserData::set_zid(::google::protobuf::int32 value) { + set_has_zid(); + zid_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.zid) +} + +// optional int64 user_value1 = 50; +inline bool MFBaseUserData::has_user_value1() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void MFBaseUserData::set_has_user_value1() { + _has_bits_[0] |= 0x00000400u; +} +inline void MFBaseUserData::clear_has_user_value1() { + _has_bits_[0] &= ~0x00000400u; +} +inline void MFBaseUserData::clear_user_value1() { + user_value1_ = GOOGLE_LONGLONG(0); + clear_has_user_value1(); +} +inline ::google::protobuf::int64 MFBaseUserData::user_value1() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.user_value1) + return user_value1_; +} +inline void MFBaseUserData::set_user_value1(::google::protobuf::int64 value) { + set_has_user_value1(); + user_value1_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.user_value1) +} + +// optional int64 user_value2 = 51; +inline bool MFBaseUserData::has_user_value2() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void MFBaseUserData::set_has_user_value2() { + _has_bits_[0] |= 0x00000800u; +} +inline void MFBaseUserData::clear_has_user_value2() { + _has_bits_[0] &= ~0x00000800u; +} +inline void MFBaseUserData::clear_user_value2() { + user_value2_ = GOOGLE_LONGLONG(0); + clear_has_user_value2(); +} +inline ::google::protobuf::int64 MFBaseUserData::user_value2() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.user_value2) + return user_value2_; +} +inline void MFBaseUserData::set_user_value2(::google::protobuf::int64 value) { + set_has_user_value2(); + user_value2_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.user_value2) +} + +// optional int64 user_value3 = 52; +inline bool MFBaseUserData::has_user_value3() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void MFBaseUserData::set_has_user_value3() { + _has_bits_[0] |= 0x00001000u; +} +inline void MFBaseUserData::clear_has_user_value3() { + _has_bits_[0] &= ~0x00001000u; +} +inline void MFBaseUserData::clear_user_value3() { + user_value3_ = GOOGLE_LONGLONG(0); + clear_has_user_value3(); +} +inline ::google::protobuf::int64 MFBaseUserData::user_value3() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.user_value3) + return user_value3_; +} +inline void MFBaseUserData::set_user_value3(::google::protobuf::int64 value) { + set_has_user_value3(); + user_value3_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.user_value3) +} + +// optional int64 base_data_version = 100; +inline bool MFBaseUserData::has_base_data_version() const { + return (_has_bits_[0] & 0x00008000u) != 0; +} +inline void MFBaseUserData::set_has_base_data_version() { + _has_bits_[0] |= 0x00008000u; +} +inline void MFBaseUserData::clear_has_base_data_version() { + _has_bits_[0] &= ~0x00008000u; +} +inline void MFBaseUserData::clear_base_data_version() { + base_data_version_ = GOOGLE_LONGLONG(0); + clear_has_base_data_version(); +} +inline ::google::protobuf::int64 MFBaseUserData::base_data_version() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.base_data_version) + return base_data_version_; +} +inline void MFBaseUserData::set_base_data_version(::google::protobuf::int64 value) { + set_has_base_data_version(); + base_data_version_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.base_data_version) +} + +// optional int32 online = 101; +inline bool MFBaseUserData::has_online() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void MFBaseUserData::set_has_online() { + _has_bits_[0] |= 0x00004000u; +} +inline void MFBaseUserData::clear_has_online() { + _has_bits_[0] &= ~0x00004000u; +} +inline void MFBaseUserData::clear_online() { + online_ = 0; + clear_has_online(); +} +inline ::google::protobuf::int32 MFBaseUserData::online() const { + // @@protoc_insertion_point(field_get:cs.MFBaseUserData.online) + return online_; +} +inline void MFBaseUserData::set_online(::google::protobuf::int32 value) { + set_has_online(); + online_ = value; + // @@protoc_insertion_point(field_set:cs.MFBaseUserData.online) +} + +// ------------------------------------------------------------------- + +// MFAccountInfo + +// optional .cs.MFUserInfo user_info = 1; +inline bool MFAccountInfo::has_user_info() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MFAccountInfo::set_has_user_info() { + _has_bits_[0] |= 0x00000002u; +} +inline void MFAccountInfo::clear_has_user_info() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MFAccountInfo::clear_user_info() { + if (user_info_ != NULL) user_info_->Clear(); + clear_has_user_info(); +} +inline const ::cs::MFUserInfo& MFAccountInfo::_internal_user_info() const { + return *user_info_; +} +inline const ::cs::MFUserInfo& MFAccountInfo::user_info() const { + const ::cs::MFUserInfo* p = user_info_; + // @@protoc_insertion_point(field_get:cs.MFAccountInfo.user_info) + return p != NULL ? *p : *reinterpret_cast( + &::cs::_MFUserInfo_default_instance_); +} +inline ::cs::MFUserInfo* MFAccountInfo::release_user_info() { + // @@protoc_insertion_point(field_release:cs.MFAccountInfo.user_info) + clear_has_user_info(); + ::cs::MFUserInfo* temp = user_info_; + user_info_ = NULL; + return temp; +} +inline ::cs::MFUserInfo* MFAccountInfo::mutable_user_info() { + set_has_user_info(); + if (user_info_ == NULL) { + auto* p = CreateMaybeMessage<::cs::MFUserInfo>(GetArenaNoVirtual()); + user_info_ = p; + } + // @@protoc_insertion_point(field_mutable:cs.MFAccountInfo.user_info) + return user_info_; +} +inline void MFAccountInfo::set_allocated_user_info(::cs::MFUserInfo* user_info) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete user_info_; + } + if (user_info) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + user_info = ::google::protobuf::internal::GetOwnedMessage( + message_arena, user_info, submessage_arena); + } + set_has_user_info(); + } else { + clear_has_user_info(); + } + user_info_ = user_info; + // @@protoc_insertion_point(field_set_allocated:cs.MFAccountInfo.user_info) +} + +// optional string user_sign = 2; +inline bool MFAccountInfo::has_user_sign() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MFAccountInfo::set_has_user_sign() { + _has_bits_[0] |= 0x00000001u; +} +inline void MFAccountInfo::clear_has_user_sign() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MFAccountInfo::clear_user_sign() { + user_sign_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_user_sign(); +} +inline const ::std::string& MFAccountInfo::user_sign() const { + // @@protoc_insertion_point(field_get:cs.MFAccountInfo.user_sign) + return user_sign_.GetNoArena(); +} +inline void MFAccountInfo::set_user_sign(const ::std::string& value) { + set_has_user_sign(); + user_sign_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.MFAccountInfo.user_sign) +} +#if LANG_CXX11 +inline void MFAccountInfo::set_user_sign(::std::string&& value) { + set_has_user_sign(); + user_sign_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.MFAccountInfo.user_sign) +} +#endif +inline void MFAccountInfo::set_user_sign(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_user_sign(); + user_sign_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.MFAccountInfo.user_sign) +} +inline void MFAccountInfo::set_user_sign(const char* value, size_t size) { + set_has_user_sign(); + user_sign_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.MFAccountInfo.user_sign) +} +inline ::std::string* MFAccountInfo::mutable_user_sign() { + set_has_user_sign(); + // @@protoc_insertion_point(field_mutable:cs.MFAccountInfo.user_sign) + return user_sign_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MFAccountInfo::release_user_sign() { + // @@protoc_insertion_point(field_release:cs.MFAccountInfo.user_sign) + if (!has_user_sign()) { + return NULL; + } + clear_has_user_sign(); + return user_sign_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MFAccountInfo::set_allocated_user_sign(::std::string* user_sign) { + if (user_sign != NULL) { + set_has_user_sign(); + } else { + clear_has_user_sign(); + } + user_sign_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), user_sign); + // @@protoc_insertion_point(field_set_allocated:cs.MFAccountInfo.user_sign) +} + +// ------------------------------------------------------------------- + +// MFUserInfo + +// optional .cs.MFBaseUserData base_data = 1; +inline bool MFUserInfo::has_base_data() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MFUserInfo::set_has_base_data() { + _has_bits_[0] |= 0x00000001u; +} +inline void MFUserInfo::clear_has_base_data() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MFUserInfo::clear_base_data() { + if (base_data_ != NULL) base_data_->Clear(); + clear_has_base_data(); +} +inline const ::cs::MFBaseUserData& MFUserInfo::_internal_base_data() const { + return *base_data_; +} +inline const ::cs::MFBaseUserData& MFUserInfo::base_data() const { + const ::cs::MFBaseUserData* p = base_data_; + // @@protoc_insertion_point(field_get:cs.MFUserInfo.base_data) + return p != NULL ? *p : *reinterpret_cast( + &::cs::_MFBaseUserData_default_instance_); +} +inline ::cs::MFBaseUserData* MFUserInfo::release_base_data() { + // @@protoc_insertion_point(field_release:cs.MFUserInfo.base_data) + clear_has_base_data(); + ::cs::MFBaseUserData* temp = base_data_; + base_data_ = NULL; + return temp; +} +inline ::cs::MFBaseUserData* MFUserInfo::mutable_base_data() { + set_has_base_data(); + if (base_data_ == NULL) { + auto* p = CreateMaybeMessage<::cs::MFBaseUserData>(GetArenaNoVirtual()); + base_data_ = p; + } + // @@protoc_insertion_point(field_mutable:cs.MFUserInfo.base_data) + return base_data_; +} +inline void MFUserInfo::set_allocated_base_data(::cs::MFBaseUserData* base_data) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete base_data_; + } + if (base_data) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + base_data = ::google::protobuf::internal::GetOwnedMessage( + message_arena, base_data, submessage_arena); + } + set_has_base_data(); + } else { + clear_has_base_data(); + } + base_data_ = base_data; + // @@protoc_insertion_point(field_set_allocated:cs.MFUserInfo.base_data) +} + +// optional int32 is_sys_user = 3; +inline bool MFUserInfo::has_is_sys_user() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MFUserInfo::set_has_is_sys_user() { + _has_bits_[0] |= 0x00000002u; +} +inline void MFUserInfo::clear_has_is_sys_user() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MFUserInfo::clear_is_sys_user() { + is_sys_user_ = 0; + clear_has_is_sys_user(); +} +inline ::google::protobuf::int32 MFUserInfo::is_sys_user() const { + // @@protoc_insertion_point(field_get:cs.MFUserInfo.is_sys_user) + return is_sys_user_; +} +inline void MFUserInfo::set_is_sys_user(::google::protobuf::int32 value) { + set_has_is_sys_user(); + is_sys_user_ = value; + // @@protoc_insertion_point(field_set:cs.MFUserInfo.is_sys_user) +} + +// ------------------------------------------------------------------- + +// MFUserStatus + +// optional string account_id = 1; +inline bool MFUserStatus::has_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MFUserStatus::set_has_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MFUserStatus::clear_has_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MFUserStatus::clear_account_id() { + account_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_account_id(); +} +inline const ::std::string& MFUserStatus::account_id() const { + // @@protoc_insertion_point(field_get:cs.MFUserStatus.account_id) + return account_id_.GetNoArena(); +} +inline void MFUserStatus::set_account_id(const ::std::string& value) { + set_has_account_id(); + account_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.MFUserStatus.account_id) +} +#if LANG_CXX11 +inline void MFUserStatus::set_account_id(::std::string&& value) { + set_has_account_id(); + account_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.MFUserStatus.account_id) +} +#endif +inline void MFUserStatus::set_account_id(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_account_id(); + account_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.MFUserStatus.account_id) +} +inline void MFUserStatus::set_account_id(const char* value, size_t size) { + set_has_account_id(); + account_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.MFUserStatus.account_id) +} +inline ::std::string* MFUserStatus::mutable_account_id() { + set_has_account_id(); + // @@protoc_insertion_point(field_mutable:cs.MFUserStatus.account_id) + return account_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MFUserStatus::release_account_id() { + // @@protoc_insertion_point(field_release:cs.MFUserStatus.account_id) + if (!has_account_id()) { + return NULL; + } + clear_has_account_id(); + return account_id_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MFUserStatus::set_allocated_account_id(::std::string* account_id) { + if (account_id != NULL) { + set_has_account_id(); + } else { + clear_has_account_id(); + } + account_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), account_id); + // @@protoc_insertion_point(field_set_allocated:cs.MFUserStatus.account_id) +} + +// optional int32 online = 2; +inline bool MFUserStatus::has_online() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MFUserStatus::set_has_online() { + _has_bits_[0] |= 0x00000002u; +} +inline void MFUserStatus::clear_has_online() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MFUserStatus::clear_online() { + online_ = 0; + clear_has_online(); +} +inline ::google::protobuf::int32 MFUserStatus::online() const { + // @@protoc_insertion_point(field_get:cs.MFUserStatus.online) + return online_; +} +inline void MFUserStatus::set_online(::google::protobuf::int32 value) { + set_has_online(); + online_ = value; + // @@protoc_insertion_point(field_set:cs.MFUserStatus.online) +} + +// ------------------------------------------------------------------- + +// MFGuildBasic + +// optional int64 guild_id = 1; +inline bool MFGuildBasic::has_guild_id() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void MFGuildBasic::set_has_guild_id() { + _has_bits_[0] |= 0x00000020u; +} +inline void MFGuildBasic::clear_has_guild_id() { + _has_bits_[0] &= ~0x00000020u; +} +inline void MFGuildBasic::clear_guild_id() { + guild_id_ = GOOGLE_LONGLONG(0); + clear_has_guild_id(); +} +inline ::google::protobuf::int64 MFGuildBasic::guild_id() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.guild_id) + return guild_id_; +} +inline void MFGuildBasic::set_guild_id(::google::protobuf::int64 value) { + set_has_guild_id(); + guild_id_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.guild_id) +} + +// optional string guild_name = 2; +inline bool MFGuildBasic::has_guild_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MFGuildBasic::set_has_guild_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void MFGuildBasic::clear_has_guild_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MFGuildBasic::clear_guild_name() { + guild_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_guild_name(); +} +inline const ::std::string& MFGuildBasic::guild_name() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.guild_name) + return guild_name_.GetNoArena(); +} +inline void MFGuildBasic::set_guild_name(const ::std::string& value) { + set_has_guild_name(); + guild_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.guild_name) +} +#if LANG_CXX11 +inline void MFGuildBasic::set_guild_name(::std::string&& value) { + set_has_guild_name(); + guild_name_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.MFGuildBasic.guild_name) +} +#endif +inline void MFGuildBasic::set_guild_name(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_guild_name(); + guild_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.MFGuildBasic.guild_name) +} +inline void MFGuildBasic::set_guild_name(const char* value, size_t size) { + set_has_guild_name(); + guild_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.MFGuildBasic.guild_name) +} +inline ::std::string* MFGuildBasic::mutable_guild_name() { + set_has_guild_name(); + // @@protoc_insertion_point(field_mutable:cs.MFGuildBasic.guild_name) + return guild_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MFGuildBasic::release_guild_name() { + // @@protoc_insertion_point(field_release:cs.MFGuildBasic.guild_name) + if (!has_guild_name()) { + return NULL; + } + clear_has_guild_name(); + return guild_name_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MFGuildBasic::set_allocated_guild_name(::std::string* guild_name) { + if (guild_name != NULL) { + set_has_guild_name(); + } else { + clear_has_guild_name(); + } + guild_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), guild_name); + // @@protoc_insertion_point(field_set_allocated:cs.MFGuildBasic.guild_name) +} + +// optional int32 guild_lv = 3; +inline bool MFGuildBasic::has_guild_lv() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void MFGuildBasic::set_has_guild_lv() { + _has_bits_[0] |= 0x00000080u; +} +inline void MFGuildBasic::clear_has_guild_lv() { + _has_bits_[0] &= ~0x00000080u; +} +inline void MFGuildBasic::clear_guild_lv() { + guild_lv_ = 0; + clear_has_guild_lv(); +} +inline ::google::protobuf::int32 MFGuildBasic::guild_lv() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.guild_lv) + return guild_lv_; +} +inline void MFGuildBasic::set_guild_lv(::google::protobuf::int32 value) { + set_has_guild_lv(); + guild_lv_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.guild_lv) +} + +// optional double guild_exp = 4; +inline bool MFGuildBasic::has_guild_exp() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void MFGuildBasic::set_has_guild_exp() { + _has_bits_[0] |= 0x00000040u; +} +inline void MFGuildBasic::clear_has_guild_exp() { + _has_bits_[0] &= ~0x00000040u; +} +inline void MFGuildBasic::clear_guild_exp() { + guild_exp_ = 0; + clear_has_guild_exp(); +} +inline double MFGuildBasic::guild_exp() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.guild_exp) + return guild_exp_; +} +inline void MFGuildBasic::set_guild_exp(double value) { + set_has_guild_exp(); + guild_exp_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.guild_exp) +} + +// optional int32 guild_badge = 5; +inline bool MFGuildBasic::has_guild_badge() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void MFGuildBasic::set_has_guild_badge() { + _has_bits_[0] |= 0x00000100u; +} +inline void MFGuildBasic::clear_has_guild_badge() { + _has_bits_[0] &= ~0x00000100u; +} +inline void MFGuildBasic::clear_guild_badge() { + guild_badge_ = 0; + clear_has_guild_badge(); +} +inline ::google::protobuf::int32 MFGuildBasic::guild_badge() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.guild_badge) + return guild_badge_; +} +inline void MFGuildBasic::set_guild_badge(::google::protobuf::int32 value) { + set_has_guild_badge(); + guild_badge_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.guild_badge) +} + +// optional int32 member_num = 6; +inline bool MFGuildBasic::has_member_num() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void MFGuildBasic::set_has_member_num() { + _has_bits_[0] |= 0x00000200u; +} +inline void MFGuildBasic::clear_has_member_num() { + _has_bits_[0] &= ~0x00000200u; +} +inline void MFGuildBasic::clear_member_num() { + member_num_ = 0; + clear_has_member_num(); +} +inline ::google::protobuf::int32 MFGuildBasic::member_num() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.member_num) + return member_num_; +} +inline void MFGuildBasic::set_member_num(::google::protobuf::int32 value) { + set_has_member_num(); + member_num_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.member_num) +} + +// optional string guild_declaration = 7; +inline bool MFGuildBasic::has_guild_declaration() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MFGuildBasic::set_has_guild_declaration() { + _has_bits_[0] |= 0x00000002u; +} +inline void MFGuildBasic::clear_has_guild_declaration() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MFGuildBasic::clear_guild_declaration() { + guild_declaration_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_guild_declaration(); +} +inline const ::std::string& MFGuildBasic::guild_declaration() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.guild_declaration) + return guild_declaration_.GetNoArena(); +} +inline void MFGuildBasic::set_guild_declaration(const ::std::string& value) { + set_has_guild_declaration(); + guild_declaration_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.guild_declaration) +} +#if LANG_CXX11 +inline void MFGuildBasic::set_guild_declaration(::std::string&& value) { + set_has_guild_declaration(); + guild_declaration_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.MFGuildBasic.guild_declaration) +} +#endif +inline void MFGuildBasic::set_guild_declaration(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_guild_declaration(); + guild_declaration_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.MFGuildBasic.guild_declaration) +} +inline void MFGuildBasic::set_guild_declaration(const char* value, size_t size) { + set_has_guild_declaration(); + guild_declaration_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.MFGuildBasic.guild_declaration) +} +inline ::std::string* MFGuildBasic::mutable_guild_declaration() { + set_has_guild_declaration(); + // @@protoc_insertion_point(field_mutable:cs.MFGuildBasic.guild_declaration) + return guild_declaration_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MFGuildBasic::release_guild_declaration() { + // @@protoc_insertion_point(field_release:cs.MFGuildBasic.guild_declaration) + if (!has_guild_declaration()) { + return NULL; + } + clear_has_guild_declaration(); + return guild_declaration_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MFGuildBasic::set_allocated_guild_declaration(::std::string* guild_declaration) { + if (guild_declaration != NULL) { + set_has_guild_declaration(); + } else { + clear_has_guild_declaration(); + } + guild_declaration_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), guild_declaration); + // @@protoc_insertion_point(field_set_allocated:cs.MFGuildBasic.guild_declaration) +} + +// optional string owner_id = 8; +inline bool MFGuildBasic::has_owner_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MFGuildBasic::set_has_owner_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void MFGuildBasic::clear_has_owner_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MFGuildBasic::clear_owner_id() { + owner_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_owner_id(); +} +inline const ::std::string& MFGuildBasic::owner_id() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.owner_id) + return owner_id_.GetNoArena(); +} +inline void MFGuildBasic::set_owner_id(const ::std::string& value) { + set_has_owner_id(); + owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.owner_id) +} +#if LANG_CXX11 +inline void MFGuildBasic::set_owner_id(::std::string&& value) { + set_has_owner_id(); + owner_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.MFGuildBasic.owner_id) +} +#endif +inline void MFGuildBasic::set_owner_id(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_owner_id(); + owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.MFGuildBasic.owner_id) +} +inline void MFGuildBasic::set_owner_id(const char* value, size_t size) { + set_has_owner_id(); + owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.MFGuildBasic.owner_id) +} +inline ::std::string* MFGuildBasic::mutable_owner_id() { + set_has_owner_id(); + // @@protoc_insertion_point(field_mutable:cs.MFGuildBasic.owner_id) + return owner_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MFGuildBasic::release_owner_id() { + // @@protoc_insertion_point(field_release:cs.MFGuildBasic.owner_id) + if (!has_owner_id()) { + return NULL; + } + clear_has_owner_id(); + return owner_id_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MFGuildBasic::set_allocated_owner_id(::std::string* owner_id) { + if (owner_id != NULL) { + set_has_owner_id(); + } else { + clear_has_owner_id(); + } + owner_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner_id); + // @@protoc_insertion_point(field_set_allocated:cs.MFGuildBasic.owner_id) +} + +// optional string owner_name = 9; +inline bool MFGuildBasic::has_owner_name() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MFGuildBasic::set_has_owner_name() { + _has_bits_[0] |= 0x00000008u; +} +inline void MFGuildBasic::clear_has_owner_name() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MFGuildBasic::clear_owner_name() { + owner_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_owner_name(); +} +inline const ::std::string& MFGuildBasic::owner_name() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.owner_name) + return owner_name_.GetNoArena(); +} +inline void MFGuildBasic::set_owner_name(const ::std::string& value) { + set_has_owner_name(); + owner_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.owner_name) +} +#if LANG_CXX11 +inline void MFGuildBasic::set_owner_name(::std::string&& value) { + set_has_owner_name(); + owner_name_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.MFGuildBasic.owner_name) +} +#endif +inline void MFGuildBasic::set_owner_name(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_owner_name(); + owner_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.MFGuildBasic.owner_name) +} +inline void MFGuildBasic::set_owner_name(const char* value, size_t size) { + set_has_owner_name(); + owner_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.MFGuildBasic.owner_name) +} +inline ::std::string* MFGuildBasic::mutable_owner_name() { + set_has_owner_name(); + // @@protoc_insertion_point(field_mutable:cs.MFGuildBasic.owner_name) + return owner_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MFGuildBasic::release_owner_name() { + // @@protoc_insertion_point(field_release:cs.MFGuildBasic.owner_name) + if (!has_owner_name()) { + return NULL; + } + clear_has_owner_name(); + return owner_name_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MFGuildBasic::set_allocated_owner_name(::std::string* owner_name) { + if (owner_name != NULL) { + set_has_owner_name(); + } else { + clear_has_owner_name(); + } + owner_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner_name); + // @@protoc_insertion_point(field_set_allocated:cs.MFGuildBasic.owner_name) +} + +// optional string owner_avatar_url = 10; +inline bool MFGuildBasic::has_owner_avatar_url() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void MFGuildBasic::set_has_owner_avatar_url() { + _has_bits_[0] |= 0x00000010u; +} +inline void MFGuildBasic::clear_has_owner_avatar_url() { + _has_bits_[0] &= ~0x00000010u; +} +inline void MFGuildBasic::clear_owner_avatar_url() { + owner_avatar_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_owner_avatar_url(); +} +inline const ::std::string& MFGuildBasic::owner_avatar_url() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.owner_avatar_url) + return owner_avatar_url_.GetNoArena(); +} +inline void MFGuildBasic::set_owner_avatar_url(const ::std::string& value) { + set_has_owner_avatar_url(); + owner_avatar_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.owner_avatar_url) +} +#if LANG_CXX11 +inline void MFGuildBasic::set_owner_avatar_url(::std::string&& value) { + set_has_owner_avatar_url(); + owner_avatar_url_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.MFGuildBasic.owner_avatar_url) +} +#endif +inline void MFGuildBasic::set_owner_avatar_url(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_owner_avatar_url(); + owner_avatar_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.MFGuildBasic.owner_avatar_url) +} +inline void MFGuildBasic::set_owner_avatar_url(const char* value, size_t size) { + set_has_owner_avatar_url(); + owner_avatar_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.MFGuildBasic.owner_avatar_url) +} +inline ::std::string* MFGuildBasic::mutable_owner_avatar_url() { + set_has_owner_avatar_url(); + // @@protoc_insertion_point(field_mutable:cs.MFGuildBasic.owner_avatar_url) + return owner_avatar_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MFGuildBasic::release_owner_avatar_url() { + // @@protoc_insertion_point(field_release:cs.MFGuildBasic.owner_avatar_url) + if (!has_owner_avatar_url()) { + return NULL; + } + clear_has_owner_avatar_url(); + return owner_avatar_url_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MFGuildBasic::set_allocated_owner_avatar_url(::std::string* owner_avatar_url) { + if (owner_avatar_url != NULL) { + set_has_owner_avatar_url(); + } else { + clear_has_owner_avatar_url(); + } + owner_avatar_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner_avatar_url); + // @@protoc_insertion_point(field_set_allocated:cs.MFGuildBasic.owner_avatar_url) +} + +// optional int32 owner_sex = 23; +inline bool MFGuildBasic::has_owner_sex() const { + return (_has_bits_[0] & 0x00010000u) != 0; +} +inline void MFGuildBasic::set_has_owner_sex() { + _has_bits_[0] |= 0x00010000u; +} +inline void MFGuildBasic::clear_has_owner_sex() { + _has_bits_[0] &= ~0x00010000u; +} +inline void MFGuildBasic::clear_owner_sex() { + owner_sex_ = 0; + clear_has_owner_sex(); +} +inline ::google::protobuf::int32 MFGuildBasic::owner_sex() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.owner_sex) + return owner_sex_; +} +inline void MFGuildBasic::set_owner_sex(::google::protobuf::int32 value) { + set_has_owner_sex(); + owner_sex_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.owner_sex) +} + +// optional int32 owner_vip_lv = 12 [default = 0]; +inline bool MFGuildBasic::has_owner_vip_lv() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void MFGuildBasic::set_has_owner_vip_lv() { + _has_bits_[0] |= 0x00000800u; +} +inline void MFGuildBasic::clear_has_owner_vip_lv() { + _has_bits_[0] &= ~0x00000800u; +} +inline void MFGuildBasic::clear_owner_vip_lv() { + owner_vip_lv_ = 0; + clear_has_owner_vip_lv(); +} +inline ::google::protobuf::int32 MFGuildBasic::owner_vip_lv() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.owner_vip_lv) + return owner_vip_lv_; +} +inline void MFGuildBasic::set_owner_vip_lv(::google::protobuf::int32 value) { + set_has_owner_vip_lv(); + owner_vip_lv_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.owner_vip_lv) +} + +// optional int32 owner_head = 13 [default = 0]; +inline bool MFGuildBasic::has_owner_head() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void MFGuildBasic::set_has_owner_head() { + _has_bits_[0] |= 0x00001000u; +} +inline void MFGuildBasic::clear_has_owner_head() { + _has_bits_[0] &= ~0x00001000u; +} +inline void MFGuildBasic::clear_owner_head() { + owner_head_ = 0; + clear_has_owner_head(); +} +inline ::google::protobuf::int32 MFGuildBasic::owner_head() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.owner_head) + return owner_head_; +} +inline void MFGuildBasic::set_owner_head(::google::protobuf::int32 value) { + set_has_owner_head(); + owner_head_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.owner_head) +} + +// optional int32 join_unlimited = 11; +inline bool MFGuildBasic::has_join_unlimited() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void MFGuildBasic::set_has_join_unlimited() { + _has_bits_[0] |= 0x00000400u; +} +inline void MFGuildBasic::clear_has_join_unlimited() { + _has_bits_[0] &= ~0x00000400u; +} +inline void MFGuildBasic::clear_join_unlimited() { + join_unlimited_ = 0; + clear_has_join_unlimited(); +} +inline ::google::protobuf::int32 MFGuildBasic::join_unlimited() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.join_unlimited) + return join_unlimited_; +} +inline void MFGuildBasic::set_join_unlimited(::google::protobuf::int32 value) { + set_has_join_unlimited(); + join_unlimited_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.join_unlimited) +} + +// optional int32 join_cond1 = 20; +inline bool MFGuildBasic::has_join_cond1() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void MFGuildBasic::set_has_join_cond1() { + _has_bits_[0] |= 0x00002000u; +} +inline void MFGuildBasic::clear_has_join_cond1() { + _has_bits_[0] &= ~0x00002000u; +} +inline void MFGuildBasic::clear_join_cond1() { + join_cond1_ = 0; + clear_has_join_cond1(); +} +inline ::google::protobuf::int32 MFGuildBasic::join_cond1() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.join_cond1) + return join_cond1_; +} +inline void MFGuildBasic::set_join_cond1(::google::protobuf::int32 value) { + set_has_join_cond1(); + join_cond1_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.join_cond1) +} + +// optional int32 join_cond2 = 21; +inline bool MFGuildBasic::has_join_cond2() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void MFGuildBasic::set_has_join_cond2() { + _has_bits_[0] |= 0x00004000u; +} +inline void MFGuildBasic::clear_has_join_cond2() { + _has_bits_[0] &= ~0x00004000u; +} +inline void MFGuildBasic::clear_join_cond2() { + join_cond2_ = 0; + clear_has_join_cond2(); +} +inline ::google::protobuf::int32 MFGuildBasic::join_cond2() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.join_cond2) + return join_cond2_; +} +inline void MFGuildBasic::set_join_cond2(::google::protobuf::int32 value) { + set_has_join_cond2(); + join_cond2_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.join_cond2) +} + +// optional int32 applyed = 22; +inline bool MFGuildBasic::has_applyed() const { + return (_has_bits_[0] & 0x00008000u) != 0; +} +inline void MFGuildBasic::set_has_applyed() { + _has_bits_[0] |= 0x00008000u; +} +inline void MFGuildBasic::clear_has_applyed() { + _has_bits_[0] &= ~0x00008000u; +} +inline void MFGuildBasic::clear_applyed() { + applyed_ = 0; + clear_has_applyed(); +} +inline ::google::protobuf::int32 MFGuildBasic::applyed() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic.applyed) + return applyed_; +} +inline void MFGuildBasic::set_applyed(::google::protobuf::int32 value) { + set_has_applyed(); + applyed_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic.applyed) +} + +// optional int32 _gameid = 100; +inline bool MFGuildBasic::has__gameid() const { + return (_has_bits_[0] & 0x00020000u) != 0; +} +inline void MFGuildBasic::set_has__gameid() { + _has_bits_[0] |= 0x00020000u; +} +inline void MFGuildBasic::clear_has__gameid() { + _has_bits_[0] &= ~0x00020000u; +} +inline void MFGuildBasic::clear__gameid() { + _gameid_ = 0; + clear_has__gameid(); +} +inline ::google::protobuf::int32 MFGuildBasic::_gameid() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic._gameid) + return _gameid_; +} +inline void MFGuildBasic::set__gameid(::google::protobuf::int32 value) { + set_has__gameid(); + _gameid_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic._gameid) +} + +// optional int32 _channel = 101; +inline bool MFGuildBasic::has__channel() const { + return (_has_bits_[0] & 0x00040000u) != 0; +} +inline void MFGuildBasic::set_has__channel() { + _has_bits_[0] |= 0x00040000u; +} +inline void MFGuildBasic::clear_has__channel() { + _has_bits_[0] &= ~0x00040000u; +} +inline void MFGuildBasic::clear__channel() { + _channel_ = 0; + clear_has__channel(); +} +inline ::google::protobuf::int32 MFGuildBasic::_channel() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic._channel) + return _channel_; +} +inline void MFGuildBasic::set__channel(::google::protobuf::int32 value) { + set_has__channel(); + _channel_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic._channel) +} + +// optional int32 _createtime = 102; +inline bool MFGuildBasic::has__createtime() const { + return (_has_bits_[0] & 0x00080000u) != 0; +} +inline void MFGuildBasic::set_has__createtime() { + _has_bits_[0] |= 0x00080000u; +} +inline void MFGuildBasic::clear_has__createtime() { + _has_bits_[0] &= ~0x00080000u; +} +inline void MFGuildBasic::clear__createtime() { + _createtime_ = 0; + clear_has__createtime(); +} +inline ::google::protobuf::int32 MFGuildBasic::_createtime() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic._createtime) + return _createtime_; +} +inline void MFGuildBasic::set__createtime(::google::protobuf::int32 value) { + set_has__createtime(); + _createtime_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic._createtime) +} + +// optional int32 _modifytime = 103; +inline bool MFGuildBasic::has__modifytime() const { + return (_has_bits_[0] & 0x00100000u) != 0; +} +inline void MFGuildBasic::set_has__modifytime() { + _has_bits_[0] |= 0x00100000u; +} +inline void MFGuildBasic::clear_has__modifytime() { + _has_bits_[0] &= ~0x00100000u; +} +inline void MFGuildBasic::clear__modifytime() { + _modifytime_ = 0; + clear_has__modifytime(); +} +inline ::google::protobuf::int32 MFGuildBasic::_modifytime() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic._modifytime) + return _modifytime_; +} +inline void MFGuildBasic::set__modifytime(::google::protobuf::int32 value) { + set_has__modifytime(); + _modifytime_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic._modifytime) +} + +// optional int64 _name_ext1 = 104; +inline bool MFGuildBasic::has__name_ext1() const { + return (_has_bits_[0] & 0x00200000u) != 0; +} +inline void MFGuildBasic::set_has__name_ext1() { + _has_bits_[0] |= 0x00200000u; +} +inline void MFGuildBasic::clear_has__name_ext1() { + _has_bits_[0] &= ~0x00200000u; +} +inline void MFGuildBasic::clear__name_ext1() { + _name_ext1_ = GOOGLE_LONGLONG(0); + clear_has__name_ext1(); +} +inline ::google::protobuf::int64 MFGuildBasic::_name_ext1() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic._name_ext1) + return _name_ext1_; +} +inline void MFGuildBasic::set__name_ext1(::google::protobuf::int64 value) { + set_has__name_ext1(); + _name_ext1_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic._name_ext1) +} + +// optional int64 _name_ext2 = 105; +inline bool MFGuildBasic::has__name_ext2() const { + return (_has_bits_[0] & 0x00400000u) != 0; +} +inline void MFGuildBasic::set_has__name_ext2() { + _has_bits_[0] |= 0x00400000u; +} +inline void MFGuildBasic::clear_has__name_ext2() { + _has_bits_[0] &= ~0x00400000u; +} +inline void MFGuildBasic::clear__name_ext2() { + _name_ext2_ = GOOGLE_LONGLONG(0); + clear_has__name_ext2(); +} +inline ::google::protobuf::int64 MFGuildBasic::_name_ext2() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic._name_ext2) + return _name_ext2_; +} +inline void MFGuildBasic::set__name_ext2(::google::protobuf::int64 value) { + set_has__name_ext2(); + _name_ext2_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic._name_ext2) +} + +// optional int64 _guild_status = 106; +inline bool MFGuildBasic::has__guild_status() const { + return (_has_bits_[0] & 0x00800000u) != 0; +} +inline void MFGuildBasic::set_has__guild_status() { + _has_bits_[0] |= 0x00800000u; +} +inline void MFGuildBasic::clear_has__guild_status() { + _has_bits_[0] &= ~0x00800000u; +} +inline void MFGuildBasic::clear__guild_status() { + _guild_status_ = GOOGLE_LONGLONG(0); + clear_has__guild_status(); +} +inline ::google::protobuf::int64 MFGuildBasic::_guild_status() const { + // @@protoc_insertion_point(field_get:cs.MFGuildBasic._guild_status) + return _guild_status_; +} +inline void MFGuildBasic::set__guild_status(::google::protobuf::int64 value) { + set_has__guild_status(); + _guild_status_ = value; + // @@protoc_insertion_point(field_set:cs.MFGuildBasic._guild_status) +} + +// ------------------------------------------------------------------- + +// MFChatMsg + +// optional int64 msg_uuid = 1; +inline bool MFChatMsg::has_msg_uuid() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MFChatMsg::set_has_msg_uuid() { + _has_bits_[0] |= 0x00000008u; +} +inline void MFChatMsg::clear_has_msg_uuid() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MFChatMsg::clear_msg_uuid() { + msg_uuid_ = GOOGLE_LONGLONG(0); + clear_has_msg_uuid(); +} +inline ::google::protobuf::int64 MFChatMsg::msg_uuid() const { + // @@protoc_insertion_point(field_get:cs.MFChatMsg.msg_uuid) + return msg_uuid_; +} +inline void MFChatMsg::set_msg_uuid(::google::protobuf::int64 value) { + set_has_msg_uuid(); + msg_uuid_ = value; + // @@protoc_insertion_point(field_set:cs.MFChatMsg.msg_uuid) +} + +// optional .cs.MFUserInfo sender = 2; +inline bool MFChatMsg::has_sender() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MFChatMsg::set_has_sender() { + _has_bits_[0] |= 0x00000002u; +} +inline void MFChatMsg::clear_has_sender() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MFChatMsg::clear_sender() { + if (sender_ != NULL) sender_->Clear(); + clear_has_sender(); +} +inline const ::cs::MFUserInfo& MFChatMsg::_internal_sender() const { + return *sender_; +} +inline const ::cs::MFUserInfo& MFChatMsg::sender() const { + const ::cs::MFUserInfo* p = sender_; + // @@protoc_insertion_point(field_get:cs.MFChatMsg.sender) + return p != NULL ? *p : *reinterpret_cast( + &::cs::_MFUserInfo_default_instance_); +} +inline ::cs::MFUserInfo* MFChatMsg::release_sender() { + // @@protoc_insertion_point(field_release:cs.MFChatMsg.sender) + clear_has_sender(); + ::cs::MFUserInfo* temp = sender_; + sender_ = NULL; + return temp; +} +inline ::cs::MFUserInfo* MFChatMsg::mutable_sender() { + set_has_sender(); + if (sender_ == NULL) { + auto* p = CreateMaybeMessage<::cs::MFUserInfo>(GetArenaNoVirtual()); + sender_ = p; + } + // @@protoc_insertion_point(field_mutable:cs.MFChatMsg.sender) + return sender_; +} +inline void MFChatMsg::set_allocated_sender(::cs::MFUserInfo* sender) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete sender_; + } + if (sender) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + sender = ::google::protobuf::internal::GetOwnedMessage( + message_arena, sender, submessage_arena); + } + set_has_sender(); + } else { + clear_has_sender(); + } + sender_ = sender; + // @@protoc_insertion_point(field_set_allocated:cs.MFChatMsg.sender) +} + +// optional .cs.MFUserInfo receiver = 3; +inline bool MFChatMsg::has_receiver() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MFChatMsg::set_has_receiver() { + _has_bits_[0] |= 0x00000004u; +} +inline void MFChatMsg::clear_has_receiver() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MFChatMsg::clear_receiver() { + if (receiver_ != NULL) receiver_->Clear(); + clear_has_receiver(); +} +inline const ::cs::MFUserInfo& MFChatMsg::_internal_receiver() const { + return *receiver_; +} +inline const ::cs::MFUserInfo& MFChatMsg::receiver() const { + const ::cs::MFUserInfo* p = receiver_; + // @@protoc_insertion_point(field_get:cs.MFChatMsg.receiver) + return p != NULL ? *p : *reinterpret_cast( + &::cs::_MFUserInfo_default_instance_); +} +inline ::cs::MFUserInfo* MFChatMsg::release_receiver() { + // @@protoc_insertion_point(field_release:cs.MFChatMsg.receiver) + clear_has_receiver(); + ::cs::MFUserInfo* temp = receiver_; + receiver_ = NULL; + return temp; +} +inline ::cs::MFUserInfo* MFChatMsg::mutable_receiver() { + set_has_receiver(); + if (receiver_ == NULL) { + auto* p = CreateMaybeMessage<::cs::MFUserInfo>(GetArenaNoVirtual()); + receiver_ = p; + } + // @@protoc_insertion_point(field_mutable:cs.MFChatMsg.receiver) + return receiver_; +} +inline void MFChatMsg::set_allocated_receiver(::cs::MFUserInfo* receiver) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete receiver_; + } + if (receiver) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + receiver = ::google::protobuf::internal::GetOwnedMessage( + message_arena, receiver, submessage_arena); + } + set_has_receiver(); + } else { + clear_has_receiver(); + } + receiver_ = receiver; + // @@protoc_insertion_point(field_set_allocated:cs.MFChatMsg.receiver) +} + +// optional int32 chat_channel = 4; +inline bool MFChatMsg::has_chat_channel() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void MFChatMsg::set_has_chat_channel() { + _has_bits_[0] |= 0x00000010u; +} +inline void MFChatMsg::clear_has_chat_channel() { + _has_bits_[0] &= ~0x00000010u; +} +inline void MFChatMsg::clear_chat_channel() { + chat_channel_ = 0; + clear_has_chat_channel(); +} +inline ::google::protobuf::int32 MFChatMsg::chat_channel() const { + // @@protoc_insertion_point(field_get:cs.MFChatMsg.chat_channel) + return chat_channel_; +} +inline void MFChatMsg::set_chat_channel(::google::protobuf::int32 value) { + set_has_chat_channel(); + chat_channel_ = value; + // @@protoc_insertion_point(field_set:cs.MFChatMsg.chat_channel) +} + +// optional int32 msg_type = 5; +inline bool MFChatMsg::has_msg_type() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void MFChatMsg::set_has_msg_type() { + _has_bits_[0] |= 0x00000020u; +} +inline void MFChatMsg::clear_has_msg_type() { + _has_bits_[0] &= ~0x00000020u; +} +inline void MFChatMsg::clear_msg_type() { + msg_type_ = 0; + clear_has_msg_type(); +} +inline ::google::protobuf::int32 MFChatMsg::msg_type() const { + // @@protoc_insertion_point(field_get:cs.MFChatMsg.msg_type) + return msg_type_; +} +inline void MFChatMsg::set_msg_type(::google::protobuf::int32 value) { + set_has_msg_type(); + msg_type_ = value; + // @@protoc_insertion_point(field_set:cs.MFChatMsg.msg_type) +} + +// optional string msg_body = 6; +inline bool MFChatMsg::has_msg_body() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MFChatMsg::set_has_msg_body() { + _has_bits_[0] |= 0x00000001u; +} +inline void MFChatMsg::clear_has_msg_body() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MFChatMsg::clear_msg_body() { + msg_body_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_msg_body(); +} +inline const ::std::string& MFChatMsg::msg_body() const { + // @@protoc_insertion_point(field_get:cs.MFChatMsg.msg_body) + return msg_body_.GetNoArena(); +} +inline void MFChatMsg::set_msg_body(const ::std::string& value) { + set_has_msg_body(); + msg_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.MFChatMsg.msg_body) +} +#if LANG_CXX11 +inline void MFChatMsg::set_msg_body(::std::string&& value) { + set_has_msg_body(); + msg_body_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.MFChatMsg.msg_body) +} +#endif +inline void MFChatMsg::set_msg_body(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_msg_body(); + msg_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.MFChatMsg.msg_body) +} +inline void MFChatMsg::set_msg_body(const char* value, size_t size) { + set_has_msg_body(); + msg_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.MFChatMsg.msg_body) +} +inline ::std::string* MFChatMsg::mutable_msg_body() { + set_has_msg_body(); + // @@protoc_insertion_point(field_mutable:cs.MFChatMsg.msg_body) + return msg_body_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* MFChatMsg::release_msg_body() { + // @@protoc_insertion_point(field_release:cs.MFChatMsg.msg_body) + if (!has_msg_body()) { + return NULL; + } + clear_has_msg_body(); + return msg_body_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void MFChatMsg::set_allocated_msg_body(::std::string* msg_body) { + if (msg_body != NULL) { + set_has_msg_body(); + } else { + clear_has_msg_body(); + } + msg_body_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msg_body); + // @@protoc_insertion_point(field_set_allocated:cs.MFChatMsg.msg_body) +} + +// optional int32 send_time = 7; +inline bool MFChatMsg::has_send_time() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void MFChatMsg::set_has_send_time() { + _has_bits_[0] |= 0x00000040u; +} +inline void MFChatMsg::clear_has_send_time() { + _has_bits_[0] &= ~0x00000040u; +} +inline void MFChatMsg::clear_send_time() { + send_time_ = 0; + clear_has_send_time(); +} +inline ::google::protobuf::int32 MFChatMsg::send_time() const { + // @@protoc_insertion_point(field_get:cs.MFChatMsg.send_time) + return send_time_; +} +inline void MFChatMsg::set_send_time(::google::protobuf::int32 value) { + set_has_send_time(); + send_time_ = value; + // @@protoc_insertion_point(field_set:cs.MFChatMsg.send_time) +} + +// ------------------------------------------------------------------- + +// CMLogin + +// optional int32 reserved1 = 1; +inline bool CMLogin::has_reserved1() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CMLogin::set_has_reserved1() { + _has_bits_[0] |= 0x00000008u; +} +inline void CMLogin::clear_has_reserved1() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CMLogin::clear_reserved1() { + reserved1_ = 0; + clear_has_reserved1(); +} +inline ::google::protobuf::int32 CMLogin::reserved1() const { + // @@protoc_insertion_point(field_get:cs.CMLogin.reserved1) + return reserved1_; +} +inline void CMLogin::set_reserved1(::google::protobuf::int32 value) { + set_has_reserved1(); + reserved1_ = value; + // @@protoc_insertion_point(field_set:cs.CMLogin.reserved1) +} + +// optional string reserved2 = 2; +inline bool CMLogin::has_reserved2() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMLogin::set_has_reserved2() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMLogin::clear_has_reserved2() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMLogin::clear_reserved2() { + reserved2_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_reserved2(); +} +inline const ::std::string& CMLogin::reserved2() const { + // @@protoc_insertion_point(field_get:cs.CMLogin.reserved2) + return reserved2_.GetNoArena(); +} +inline void CMLogin::set_reserved2(const ::std::string& value) { + set_has_reserved2(); + reserved2_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.CMLogin.reserved2) +} +#if LANG_CXX11 +inline void CMLogin::set_reserved2(::std::string&& value) { + set_has_reserved2(); + reserved2_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.CMLogin.reserved2) +} +#endif +inline void CMLogin::set_reserved2(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_reserved2(); + reserved2_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.CMLogin.reserved2) +} +inline void CMLogin::set_reserved2(const char* value, size_t size) { + set_has_reserved2(); + reserved2_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.CMLogin.reserved2) +} +inline ::std::string* CMLogin::mutable_reserved2() { + set_has_reserved2(); + // @@protoc_insertion_point(field_mutable:cs.CMLogin.reserved2) + return reserved2_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CMLogin::release_reserved2() { + // @@protoc_insertion_point(field_release:cs.CMLogin.reserved2) + if (!has_reserved2()) { + return NULL; + } + clear_has_reserved2(); + return reserved2_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CMLogin::set_allocated_reserved2(::std::string* reserved2) { + if (reserved2 != NULL) { + set_has_reserved2(); + } else { + clear_has_reserved2(); + } + reserved2_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reserved2); + // @@protoc_insertion_point(field_set_allocated:cs.CMLogin.reserved2) +} + +// optional string account_id = 3; +inline bool CMLogin::has_account_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMLogin::set_has_account_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMLogin::clear_has_account_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMLogin::clear_account_id() { + account_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_account_id(); +} +inline const ::std::string& CMLogin::account_id() const { + // @@protoc_insertion_point(field_get:cs.CMLogin.account_id) + return account_id_.GetNoArena(); +} +inline void CMLogin::set_account_id(const ::std::string& value) { + set_has_account_id(); + account_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.CMLogin.account_id) +} +#if LANG_CXX11 +inline void CMLogin::set_account_id(::std::string&& value) { + set_has_account_id(); + account_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.CMLogin.account_id) +} +#endif +inline void CMLogin::set_account_id(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_account_id(); + account_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.CMLogin.account_id) +} +inline void CMLogin::set_account_id(const char* value, size_t size) { + set_has_account_id(); + account_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.CMLogin.account_id) +} +inline ::std::string* CMLogin::mutable_account_id() { + set_has_account_id(); + // @@protoc_insertion_point(field_mutable:cs.CMLogin.account_id) + return account_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CMLogin::release_account_id() { + // @@protoc_insertion_point(field_release:cs.CMLogin.account_id) + if (!has_account_id()) { + return NULL; + } + clear_has_account_id(); + return account_id_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CMLogin::set_allocated_account_id(::std::string* account_id) { + if (account_id != NULL) { + set_has_account_id(); + } else { + clear_has_account_id(); + } + account_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), account_id); + // @@protoc_insertion_point(field_set_allocated:cs.CMLogin.account_id) +} + +// optional string session_id = 20; +inline bool CMLogin::has_session_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CMLogin::set_has_session_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void CMLogin::clear_has_session_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CMLogin::clear_session_id() { + session_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_session_id(); +} +inline const ::std::string& CMLogin::session_id() const { + // @@protoc_insertion_point(field_get:cs.CMLogin.session_id) + return session_id_.GetNoArena(); +} +inline void CMLogin::set_session_id(const ::std::string& value) { + set_has_session_id(); + session_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.CMLogin.session_id) +} +#if LANG_CXX11 +inline void CMLogin::set_session_id(::std::string&& value) { + set_has_session_id(); + session_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.CMLogin.session_id) +} +#endif +inline void CMLogin::set_session_id(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_session_id(); + session_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.CMLogin.session_id) +} +inline void CMLogin::set_session_id(const char* value, size_t size) { + set_has_session_id(); + session_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.CMLogin.session_id) +} +inline ::std::string* CMLogin::mutable_session_id() { + set_has_session_id(); + // @@protoc_insertion_point(field_mutable:cs.CMLogin.session_id) + return session_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CMLogin::release_session_id() { + // @@protoc_insertion_point(field_release:cs.CMLogin.session_id) + if (!has_session_id()) { + return NULL; + } + clear_has_session_id(); + return session_id_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CMLogin::set_allocated_session_id(::std::string* session_id) { + if (session_id != NULL) { + set_has_session_id(); + } else { + clear_has_session_id(); + } + session_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), session_id); + // @@protoc_insertion_point(field_set_allocated:cs.CMLogin.session_id) +} + +// optional int32 proto_version = 5; +inline bool CMLogin::has_proto_version() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CMLogin::set_has_proto_version() { + _has_bits_[0] |= 0x00000010u; +} +inline void CMLogin::clear_has_proto_version() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CMLogin::clear_proto_version() { + proto_version_ = 0; + clear_has_proto_version(); +} +inline ::google::protobuf::int32 CMLogin::proto_version() const { + // @@protoc_insertion_point(field_get:cs.CMLogin.proto_version) + return proto_version_; +} +inline void CMLogin::set_proto_version(::google::protobuf::int32 value) { + set_has_proto_version(); + proto_version_ = value; + // @@protoc_insertion_point(field_set:cs.CMLogin.proto_version) +} + +// optional int32 zid = 10; +inline bool CMLogin::has_zid() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CMLogin::set_has_zid() { + _has_bits_[0] |= 0x00000020u; +} +inline void CMLogin::clear_has_zid() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CMLogin::clear_zid() { + zid_ = 0; + clear_has_zid(); +} +inline ::google::protobuf::int32 CMLogin::zid() const { + // @@protoc_insertion_point(field_get:cs.CMLogin.zid) + return zid_; +} +inline void CMLogin::set_zid(::google::protobuf::int32 value) { + set_has_zid(); + zid_ = value; + // @@protoc_insertion_point(field_set:cs.CMLogin.zid) +} + +// ------------------------------------------------------------------- + +// SMLogin + +// optional int32 errcode = 1; +inline bool SMLogin::has_errcode() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SMLogin::set_has_errcode() { + _has_bits_[0] |= 0x00000004u; +} +inline void SMLogin::clear_has_errcode() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SMLogin::clear_errcode() { + errcode_ = 0; + clear_has_errcode(); +} +inline ::google::protobuf::int32 SMLogin::errcode() const { + // @@protoc_insertion_point(field_get:cs.SMLogin.errcode) + return errcode_; +} +inline void SMLogin::set_errcode(::google::protobuf::int32 value) { + set_has_errcode(); + errcode_ = value; + // @@protoc_insertion_point(field_set:cs.SMLogin.errcode) +} + +// optional string errmsg = 2; +inline bool SMLogin::has_errmsg() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SMLogin::set_has_errmsg() { + _has_bits_[0] |= 0x00000001u; +} +inline void SMLogin::clear_has_errmsg() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SMLogin::clear_errmsg() { + errmsg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_errmsg(); +} +inline const ::std::string& SMLogin::errmsg() const { + // @@protoc_insertion_point(field_get:cs.SMLogin.errmsg) + return errmsg_.GetNoArena(); +} +inline void SMLogin::set_errmsg(const ::std::string& value) { + set_has_errmsg(); + errmsg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.SMLogin.errmsg) +} +#if LANG_CXX11 +inline void SMLogin::set_errmsg(::std::string&& value) { + set_has_errmsg(); + errmsg_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.SMLogin.errmsg) +} +#endif +inline void SMLogin::set_errmsg(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_errmsg(); + errmsg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.SMLogin.errmsg) +} +inline void SMLogin::set_errmsg(const char* value, size_t size) { + set_has_errmsg(); + errmsg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.SMLogin.errmsg) +} +inline ::std::string* SMLogin::mutable_errmsg() { + set_has_errmsg(); + // @@protoc_insertion_point(field_mutable:cs.SMLogin.errmsg) + return errmsg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* SMLogin::release_errmsg() { + // @@protoc_insertion_point(field_release:cs.SMLogin.errmsg) + if (!has_errmsg()) { + return NULL; + } + clear_has_errmsg(); + return errmsg_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void SMLogin::set_allocated_errmsg(::std::string* errmsg) { + if (errmsg != NULL) { + set_has_errmsg(); + } else { + clear_has_errmsg(); + } + errmsg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), errmsg); + // @@protoc_insertion_point(field_set_allocated:cs.SMLogin.errmsg) +} + +// optional .cs.MFAccountInfo account_info = 3; +inline bool SMLogin::has_account_info() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SMLogin::set_has_account_info() { + _has_bits_[0] |= 0x00000002u; +} +inline void SMLogin::clear_has_account_info() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SMLogin::clear_account_info() { + if (account_info_ != NULL) account_info_->Clear(); + clear_has_account_info(); +} +inline const ::cs::MFAccountInfo& SMLogin::_internal_account_info() const { + return *account_info_; +} +inline const ::cs::MFAccountInfo& SMLogin::account_info() const { + const ::cs::MFAccountInfo* p = account_info_; + // @@protoc_insertion_point(field_get:cs.SMLogin.account_info) + return p != NULL ? *p : *reinterpret_cast( + &::cs::_MFAccountInfo_default_instance_); +} +inline ::cs::MFAccountInfo* SMLogin::release_account_info() { + // @@protoc_insertion_point(field_release:cs.SMLogin.account_info) + clear_has_account_info(); + ::cs::MFAccountInfo* temp = account_info_; + account_info_ = NULL; + return temp; +} +inline ::cs::MFAccountInfo* SMLogin::mutable_account_info() { + set_has_account_info(); + if (account_info_ == NULL) { + auto* p = CreateMaybeMessage<::cs::MFAccountInfo>(GetArenaNoVirtual()); + account_info_ = p; + } + // @@protoc_insertion_point(field_mutable:cs.SMLogin.account_info) + return account_info_; +} +inline void SMLogin::set_allocated_account_info(::cs::MFAccountInfo* account_info) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete account_info_; + } + if (account_info) { + ::google::protobuf::Arena* submessage_arena = NULL; + if (message_arena != submessage_arena) { + account_info = ::google::protobuf::internal::GetOwnedMessage( + message_arena, account_info, submessage_arena); + } + set_has_account_info(); + } else { + clear_has_account_info(); + } + account_info_ = account_info; + // @@protoc_insertion_point(field_set_allocated:cs.SMLogin.account_info) +} + +// ------------------------------------------------------------------- + +// CMSendChatMsg + +// optional int32 chat_channel = 1; +inline bool CMSendChatMsg::has_chat_channel() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CMSendChatMsg::set_has_chat_channel() { + _has_bits_[0] |= 0x00000004u; +} +inline void CMSendChatMsg::clear_has_chat_channel() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CMSendChatMsg::clear_chat_channel() { + chat_channel_ = 0; + clear_has_chat_channel(); +} +inline ::google::protobuf::int32 CMSendChatMsg::chat_channel() const { + // @@protoc_insertion_point(field_get:cs.CMSendChatMsg.chat_channel) + return chat_channel_; +} +inline void CMSendChatMsg::set_chat_channel(::google::protobuf::int32 value) { + set_has_chat_channel(); + chat_channel_ = value; + // @@protoc_insertion_point(field_set:cs.CMSendChatMsg.chat_channel) +} + +// optional string target = 2; +inline bool CMSendChatMsg::has_target() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMSendChatMsg::set_has_target() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMSendChatMsg::clear_has_target() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMSendChatMsg::clear_target() { + target_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_target(); +} +inline const ::std::string& CMSendChatMsg::target() const { + // @@protoc_insertion_point(field_get:cs.CMSendChatMsg.target) + return target_.GetNoArena(); +} +inline void CMSendChatMsg::set_target(const ::std::string& value) { + set_has_target(); + target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.CMSendChatMsg.target) +} +#if LANG_CXX11 +inline void CMSendChatMsg::set_target(::std::string&& value) { + set_has_target(); + target_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.CMSendChatMsg.target) +} +#endif +inline void CMSendChatMsg::set_target(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_target(); + target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.CMSendChatMsg.target) +} +inline void CMSendChatMsg::set_target(const char* value, size_t size) { + set_has_target(); + target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.CMSendChatMsg.target) +} +inline ::std::string* CMSendChatMsg::mutable_target() { + set_has_target(); + // @@protoc_insertion_point(field_mutable:cs.CMSendChatMsg.target) + return target_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CMSendChatMsg::release_target() { + // @@protoc_insertion_point(field_release:cs.CMSendChatMsg.target) + if (!has_target()) { + return NULL; + } + clear_has_target(); + return target_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CMSendChatMsg::set_allocated_target(::std::string* target) { + if (target != NULL) { + set_has_target(); + } else { + clear_has_target(); + } + target_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), target); + // @@protoc_insertion_point(field_set_allocated:cs.CMSendChatMsg.target) +} + +// optional int32 msg_type = 3; +inline bool CMSendChatMsg::has_msg_type() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CMSendChatMsg::set_has_msg_type() { + _has_bits_[0] |= 0x00000008u; +} +inline void CMSendChatMsg::clear_has_msg_type() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CMSendChatMsg::clear_msg_type() { + msg_type_ = 0; + clear_has_msg_type(); +} +inline ::google::protobuf::int32 CMSendChatMsg::msg_type() const { + // @@protoc_insertion_point(field_get:cs.CMSendChatMsg.msg_type) + return msg_type_; +} +inline void CMSendChatMsg::set_msg_type(::google::protobuf::int32 value) { + set_has_msg_type(); + msg_type_ = value; + // @@protoc_insertion_point(field_set:cs.CMSendChatMsg.msg_type) +} + +// optional string msg_body = 4; +inline bool CMSendChatMsg::has_msg_body() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMSendChatMsg::set_has_msg_body() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMSendChatMsg::clear_has_msg_body() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMSendChatMsg::clear_msg_body() { + msg_body_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_msg_body(); +} +inline const ::std::string& CMSendChatMsg::msg_body() const { + // @@protoc_insertion_point(field_get:cs.CMSendChatMsg.msg_body) + return msg_body_.GetNoArena(); +} +inline void CMSendChatMsg::set_msg_body(const ::std::string& value) { + set_has_msg_body(); + msg_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.CMSendChatMsg.msg_body) +} +#if LANG_CXX11 +inline void CMSendChatMsg::set_msg_body(::std::string&& value) { + set_has_msg_body(); + msg_body_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.CMSendChatMsg.msg_body) +} +#endif +inline void CMSendChatMsg::set_msg_body(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_msg_body(); + msg_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.CMSendChatMsg.msg_body) +} +inline void CMSendChatMsg::set_msg_body(const char* value, size_t size) { + set_has_msg_body(); + msg_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.CMSendChatMsg.msg_body) +} +inline ::std::string* CMSendChatMsg::mutable_msg_body() { + set_has_msg_body(); + // @@protoc_insertion_point(field_mutable:cs.CMSendChatMsg.msg_body) + return msg_body_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CMSendChatMsg::release_msg_body() { + // @@protoc_insertion_point(field_release:cs.CMSendChatMsg.msg_body) + if (!has_msg_body()) { + return NULL; + } + clear_has_msg_body(); + return msg_body_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CMSendChatMsg::set_allocated_msg_body(::std::string* msg_body) { + if (msg_body != NULL) { + set_has_msg_body(); + } else { + clear_has_msg_body(); + } + msg_body_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msg_body); + // @@protoc_insertion_point(field_set_allocated:cs.CMSendChatMsg.msg_body) +} + +// repeated string members = 5; +inline int CMSendChatMsg::members_size() const { + return members_.size(); +} +inline void CMSendChatMsg::clear_members() { + members_.Clear(); +} +inline const ::std::string& CMSendChatMsg::members(int index) const { + // @@protoc_insertion_point(field_get:cs.CMSendChatMsg.members) + return members_.Get(index); +} +inline ::std::string* CMSendChatMsg::mutable_members(int index) { + // @@protoc_insertion_point(field_mutable:cs.CMSendChatMsg.members) + return members_.Mutable(index); +} +inline void CMSendChatMsg::set_members(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:cs.CMSendChatMsg.members) + members_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void CMSendChatMsg::set_members(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:cs.CMSendChatMsg.members) + members_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void CMSendChatMsg::set_members(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + members_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:cs.CMSendChatMsg.members) +} +inline void CMSendChatMsg::set_members(int index, const char* value, size_t size) { + members_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:cs.CMSendChatMsg.members) +} +inline ::std::string* CMSendChatMsg::add_members() { + // @@protoc_insertion_point(field_add_mutable:cs.CMSendChatMsg.members) + return members_.Add(); +} +inline void CMSendChatMsg::add_members(const ::std::string& value) { + members_.Add()->assign(value); + // @@protoc_insertion_point(field_add:cs.CMSendChatMsg.members) +} +#if LANG_CXX11 +inline void CMSendChatMsg::add_members(::std::string&& value) { + members_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:cs.CMSendChatMsg.members) +} +#endif +inline void CMSendChatMsg::add_members(const char* value) { + GOOGLE_DCHECK(value != NULL); + members_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:cs.CMSendChatMsg.members) +} +inline void CMSendChatMsg::add_members(const char* value, size_t size) { + members_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:cs.CMSendChatMsg.members) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +CMSendChatMsg::members() const { + // @@protoc_insertion_point(field_list:cs.CMSendChatMsg.members) + return members_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +CMSendChatMsg::mutable_members() { + // @@protoc_insertion_point(field_mutable_list:cs.CMSendChatMsg.members) + return &members_; +} + +// ------------------------------------------------------------------- + +// CMReadMsgAndOpenChatNotify + +// optional int32 curr_channel = 1; +inline bool CMReadMsgAndOpenChatNotify::has_curr_channel() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMReadMsgAndOpenChatNotify::set_has_curr_channel() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMReadMsgAndOpenChatNotify::clear_has_curr_channel() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMReadMsgAndOpenChatNotify::clear_curr_channel() { + curr_channel_ = 0; + clear_has_curr_channel(); +} +inline ::google::protobuf::int32 CMReadMsgAndOpenChatNotify::curr_channel() const { + // @@protoc_insertion_point(field_get:cs.CMReadMsgAndOpenChatNotify.curr_channel) + return curr_channel_; +} +inline void CMReadMsgAndOpenChatNotify::set_curr_channel(::google::protobuf::int32 value) { + set_has_curr_channel(); + curr_channel_ = value; + // @@protoc_insertion_point(field_set:cs.CMReadMsgAndOpenChatNotify.curr_channel) +} + +// repeated .cs.MFPairInt64 last_ids = 2; +inline int CMReadMsgAndOpenChatNotify::last_ids_size() const { + return last_ids_.size(); +} +inline void CMReadMsgAndOpenChatNotify::clear_last_ids() { + last_ids_.Clear(); +} +inline ::cs::MFPairInt64* CMReadMsgAndOpenChatNotify::mutable_last_ids(int index) { + // @@protoc_insertion_point(field_mutable:cs.CMReadMsgAndOpenChatNotify.last_ids) + return last_ids_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::cs::MFPairInt64 >* +CMReadMsgAndOpenChatNotify::mutable_last_ids() { + // @@protoc_insertion_point(field_mutable_list:cs.CMReadMsgAndOpenChatNotify.last_ids) + return &last_ids_; +} +inline const ::cs::MFPairInt64& CMReadMsgAndOpenChatNotify::last_ids(int index) const { + // @@protoc_insertion_point(field_get:cs.CMReadMsgAndOpenChatNotify.last_ids) + return last_ids_.Get(index); +} +inline ::cs::MFPairInt64* CMReadMsgAndOpenChatNotify::add_last_ids() { + // @@protoc_insertion_point(field_add:cs.CMReadMsgAndOpenChatNotify.last_ids) + return last_ids_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::cs::MFPairInt64 >& +CMReadMsgAndOpenChatNotify::last_ids() const { + // @@protoc_insertion_point(field_list:cs.CMReadMsgAndOpenChatNotify.last_ids) + return last_ids_; +} + +// ------------------------------------------------------------------- + +// CMSetCurrPrivateChatTarget + +// optional string private_target = 1; +inline bool CMSetCurrPrivateChatTarget::has_private_target() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMSetCurrPrivateChatTarget::set_has_private_target() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMSetCurrPrivateChatTarget::clear_has_private_target() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMSetCurrPrivateChatTarget::clear_private_target() { + private_target_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_private_target(); +} +inline const ::std::string& CMSetCurrPrivateChatTarget::private_target() const { + // @@protoc_insertion_point(field_get:cs.CMSetCurrPrivateChatTarget.private_target) + return private_target_.GetNoArena(); +} +inline void CMSetCurrPrivateChatTarget::set_private_target(const ::std::string& value) { + set_has_private_target(); + private_target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.CMSetCurrPrivateChatTarget.private_target) +} +#if LANG_CXX11 +inline void CMSetCurrPrivateChatTarget::set_private_target(::std::string&& value) { + set_has_private_target(); + private_target_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.CMSetCurrPrivateChatTarget.private_target) +} +#endif +inline void CMSetCurrPrivateChatTarget::set_private_target(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_private_target(); + private_target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.CMSetCurrPrivateChatTarget.private_target) +} +inline void CMSetCurrPrivateChatTarget::set_private_target(const char* value, size_t size) { + set_has_private_target(); + private_target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.CMSetCurrPrivateChatTarget.private_target) +} +inline ::std::string* CMSetCurrPrivateChatTarget::mutable_private_target() { + set_has_private_target(); + // @@protoc_insertion_point(field_mutable:cs.CMSetCurrPrivateChatTarget.private_target) + return private_target_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CMSetCurrPrivateChatTarget::release_private_target() { + // @@protoc_insertion_point(field_release:cs.CMSetCurrPrivateChatTarget.private_target) + if (!has_private_target()) { + return NULL; + } + clear_has_private_target(); + return private_target_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CMSetCurrPrivateChatTarget::set_allocated_private_target(::std::string* private_target) { + if (private_target != NULL) { + set_has_private_target(); + } else { + clear_has_private_target(); + } + private_target_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), private_target); + // @@protoc_insertion_point(field_set_allocated:cs.CMSetCurrPrivateChatTarget.private_target) +} + +// optional int64 last_id = 2; +inline bool CMSetCurrPrivateChatTarget::has_last_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMSetCurrPrivateChatTarget::set_has_last_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMSetCurrPrivateChatTarget::clear_has_last_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMSetCurrPrivateChatTarget::clear_last_id() { + last_id_ = GOOGLE_LONGLONG(0); + clear_has_last_id(); +} +inline ::google::protobuf::int64 CMSetCurrPrivateChatTarget::last_id() const { + // @@protoc_insertion_point(field_get:cs.CMSetCurrPrivateChatTarget.last_id) + return last_id_; +} +inline void CMSetCurrPrivateChatTarget::set_last_id(::google::protobuf::int64 value) { + set_has_last_id(); + last_id_ = value; + // @@protoc_insertion_point(field_set:cs.CMSetCurrPrivateChatTarget.last_id) +} + +// ------------------------------------------------------------------- + +// CMCloseChatNotify + +// ------------------------------------------------------------------- + +// CMSendCustomMsg + +// repeated string target_list = 1; +inline int CMSendCustomMsg::target_list_size() const { + return target_list_.size(); +} +inline void CMSendCustomMsg::clear_target_list() { + target_list_.Clear(); +} +inline const ::std::string& CMSendCustomMsg::target_list(int index) const { + // @@protoc_insertion_point(field_get:cs.CMSendCustomMsg.target_list) + return target_list_.Get(index); +} +inline ::std::string* CMSendCustomMsg::mutable_target_list(int index) { + // @@protoc_insertion_point(field_mutable:cs.CMSendCustomMsg.target_list) + return target_list_.Mutable(index); +} +inline void CMSendCustomMsg::set_target_list(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:cs.CMSendCustomMsg.target_list) + target_list_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void CMSendCustomMsg::set_target_list(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:cs.CMSendCustomMsg.target_list) + target_list_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void CMSendCustomMsg::set_target_list(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + target_list_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:cs.CMSendCustomMsg.target_list) +} +inline void CMSendCustomMsg::set_target_list(int index, const char* value, size_t size) { + target_list_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:cs.CMSendCustomMsg.target_list) +} +inline ::std::string* CMSendCustomMsg::add_target_list() { + // @@protoc_insertion_point(field_add_mutable:cs.CMSendCustomMsg.target_list) + return target_list_.Add(); +} +inline void CMSendCustomMsg::add_target_list(const ::std::string& value) { + target_list_.Add()->assign(value); + // @@protoc_insertion_point(field_add:cs.CMSendCustomMsg.target_list) +} +#if LANG_CXX11 +inline void CMSendCustomMsg::add_target_list(::std::string&& value) { + target_list_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:cs.CMSendCustomMsg.target_list) +} +#endif +inline void CMSendCustomMsg::add_target_list(const char* value) { + GOOGLE_DCHECK(value != NULL); + target_list_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:cs.CMSendCustomMsg.target_list) +} +inline void CMSendCustomMsg::add_target_list(const char* value, size_t size) { + target_list_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:cs.CMSendCustomMsg.target_list) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +CMSendCustomMsg::target_list() const { + // @@protoc_insertion_point(field_list:cs.CMSendCustomMsg.target_list) + return target_list_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +CMSendCustomMsg::mutable_target_list() { + // @@protoc_insertion_point(field_mutable_list:cs.CMSendCustomMsg.target_list) + return &target_list_; +} + +// optional string msg = 2; +inline bool CMSendCustomMsg::has_msg() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMSendCustomMsg::set_has_msg() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMSendCustomMsg::clear_has_msg() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMSendCustomMsg::clear_msg() { + msg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_msg(); +} +inline const ::std::string& CMSendCustomMsg::msg() const { + // @@protoc_insertion_point(field_get:cs.CMSendCustomMsg.msg) + return msg_.GetNoArena(); +} +inline void CMSendCustomMsg::set_msg(const ::std::string& value) { + set_has_msg(); + msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.CMSendCustomMsg.msg) +} +#if LANG_CXX11 +inline void CMSendCustomMsg::set_msg(::std::string&& value) { + set_has_msg(); + msg_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.CMSendCustomMsg.msg) +} +#endif +inline void CMSendCustomMsg::set_msg(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_msg(); + msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.CMSendCustomMsg.msg) +} +inline void CMSendCustomMsg::set_msg(const char* value, size_t size) { + set_has_msg(); + msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.CMSendCustomMsg.msg) +} +inline ::std::string* CMSendCustomMsg::mutable_msg() { + set_has_msg(); + // @@protoc_insertion_point(field_mutable:cs.CMSendCustomMsg.msg) + return msg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CMSendCustomMsg::release_msg() { + // @@protoc_insertion_point(field_release:cs.CMSendCustomMsg.msg) + if (!has_msg()) { + return NULL; + } + clear_has_msg(); + return msg_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CMSendCustomMsg::set_allocated_msg(::std::string* msg) { + if (msg != NULL) { + set_has_msg(); + } else { + clear_has_msg(); + } + msg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msg); + // @@protoc_insertion_point(field_set_allocated:cs.CMSendCustomMsg.msg) +} + +// optional int64 param1 = 3; +inline bool CMSendCustomMsg::has_param1() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMSendCustomMsg::set_has_param1() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMSendCustomMsg::clear_has_param1() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMSendCustomMsg::clear_param1() { + param1_ = GOOGLE_LONGLONG(0); + clear_has_param1(); +} +inline ::google::protobuf::int64 CMSendCustomMsg::param1() const { + // @@protoc_insertion_point(field_get:cs.CMSendCustomMsg.param1) + return param1_; +} +inline void CMSendCustomMsg::set_param1(::google::protobuf::int64 value) { + set_has_param1(); + param1_ = value; + // @@protoc_insertion_point(field_set:cs.CMSendCustomMsg.param1) +} + +// optional int64 param2 = 4; +inline bool CMSendCustomMsg::has_param2() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CMSendCustomMsg::set_has_param2() { + _has_bits_[0] |= 0x00000004u; +} +inline void CMSendCustomMsg::clear_has_param2() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CMSendCustomMsg::clear_param2() { + param2_ = GOOGLE_LONGLONG(0); + clear_has_param2(); +} +inline ::google::protobuf::int64 CMSendCustomMsg::param2() const { + // @@protoc_insertion_point(field_get:cs.CMSendCustomMsg.param2) + return param2_; +} +inline void CMSendCustomMsg::set_param2(::google::protobuf::int64 value) { + set_has_param2(); + param2_ = value; + // @@protoc_insertion_point(field_set:cs.CMSendCustomMsg.param2) +} + +// optional int64 param3 = 5; +inline bool CMSendCustomMsg::has_param3() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CMSendCustomMsg::set_has_param3() { + _has_bits_[0] |= 0x00000008u; +} +inline void CMSendCustomMsg::clear_has_param3() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CMSendCustomMsg::clear_param3() { + param3_ = GOOGLE_LONGLONG(0); + clear_has_param3(); +} +inline ::google::protobuf::int64 CMSendCustomMsg::param3() const { + // @@protoc_insertion_point(field_get:cs.CMSendCustomMsg.param3) + return param3_; +} +inline void CMSendCustomMsg::set_param3(::google::protobuf::int64 value) { + set_has_param3(); + param3_ = value; + // @@protoc_insertion_point(field_set:cs.CMSendCustomMsg.param3) +} + +// ------------------------------------------------------------------- + +// SMUserStatusNotify + +// repeated string online_users = 1; +inline int SMUserStatusNotify::online_users_size() const { + return online_users_.size(); +} +inline void SMUserStatusNotify::clear_online_users() { + online_users_.Clear(); +} +inline const ::std::string& SMUserStatusNotify::online_users(int index) const { + // @@protoc_insertion_point(field_get:cs.SMUserStatusNotify.online_users) + return online_users_.Get(index); +} +inline ::std::string* SMUserStatusNotify::mutable_online_users(int index) { + // @@protoc_insertion_point(field_mutable:cs.SMUserStatusNotify.online_users) + return online_users_.Mutable(index); +} +inline void SMUserStatusNotify::set_online_users(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:cs.SMUserStatusNotify.online_users) + online_users_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void SMUserStatusNotify::set_online_users(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:cs.SMUserStatusNotify.online_users) + online_users_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void SMUserStatusNotify::set_online_users(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + online_users_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:cs.SMUserStatusNotify.online_users) +} +inline void SMUserStatusNotify::set_online_users(int index, const char* value, size_t size) { + online_users_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:cs.SMUserStatusNotify.online_users) +} +inline ::std::string* SMUserStatusNotify::add_online_users() { + // @@protoc_insertion_point(field_add_mutable:cs.SMUserStatusNotify.online_users) + return online_users_.Add(); +} +inline void SMUserStatusNotify::add_online_users(const ::std::string& value) { + online_users_.Add()->assign(value); + // @@protoc_insertion_point(field_add:cs.SMUserStatusNotify.online_users) +} +#if LANG_CXX11 +inline void SMUserStatusNotify::add_online_users(::std::string&& value) { + online_users_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:cs.SMUserStatusNotify.online_users) +} +#endif +inline void SMUserStatusNotify::add_online_users(const char* value) { + GOOGLE_DCHECK(value != NULL); + online_users_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:cs.SMUserStatusNotify.online_users) +} +inline void SMUserStatusNotify::add_online_users(const char* value, size_t size) { + online_users_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:cs.SMUserStatusNotify.online_users) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +SMUserStatusNotify::online_users() const { + // @@protoc_insertion_point(field_list:cs.SMUserStatusNotify.online_users) + return online_users_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +SMUserStatusNotify::mutable_online_users() { + // @@protoc_insertion_point(field_mutable_list:cs.SMUserStatusNotify.online_users) + return &online_users_; +} + +// repeated string offline_users = 2; +inline int SMUserStatusNotify::offline_users_size() const { + return offline_users_.size(); +} +inline void SMUserStatusNotify::clear_offline_users() { + offline_users_.Clear(); +} +inline const ::std::string& SMUserStatusNotify::offline_users(int index) const { + // @@protoc_insertion_point(field_get:cs.SMUserStatusNotify.offline_users) + return offline_users_.Get(index); +} +inline ::std::string* SMUserStatusNotify::mutable_offline_users(int index) { + // @@protoc_insertion_point(field_mutable:cs.SMUserStatusNotify.offline_users) + return offline_users_.Mutable(index); +} +inline void SMUserStatusNotify::set_offline_users(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:cs.SMUserStatusNotify.offline_users) + offline_users_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void SMUserStatusNotify::set_offline_users(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:cs.SMUserStatusNotify.offline_users) + offline_users_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void SMUserStatusNotify::set_offline_users(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + offline_users_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:cs.SMUserStatusNotify.offline_users) +} +inline void SMUserStatusNotify::set_offline_users(int index, const char* value, size_t size) { + offline_users_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:cs.SMUserStatusNotify.offline_users) +} +inline ::std::string* SMUserStatusNotify::add_offline_users() { + // @@protoc_insertion_point(field_add_mutable:cs.SMUserStatusNotify.offline_users) + return offline_users_.Add(); +} +inline void SMUserStatusNotify::add_offline_users(const ::std::string& value) { + offline_users_.Add()->assign(value); + // @@protoc_insertion_point(field_add:cs.SMUserStatusNotify.offline_users) +} +#if LANG_CXX11 +inline void SMUserStatusNotify::add_offline_users(::std::string&& value) { + offline_users_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:cs.SMUserStatusNotify.offline_users) +} +#endif +inline void SMUserStatusNotify::add_offline_users(const char* value) { + GOOGLE_DCHECK(value != NULL); + offline_users_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:cs.SMUserStatusNotify.offline_users) +} +inline void SMUserStatusNotify::add_offline_users(const char* value, size_t size) { + offline_users_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:cs.SMUserStatusNotify.offline_users) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +SMUserStatusNotify::offline_users() const { + // @@protoc_insertion_point(field_list:cs.SMUserStatusNotify.offline_users) + return offline_users_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +SMUserStatusNotify::mutable_offline_users() { + // @@protoc_insertion_point(field_mutable_list:cs.SMUserStatusNotify.offline_users) + return &offline_users_; +} + +// ------------------------------------------------------------------- + +// SMChatMsgNotify + +// repeated .cs.MFChatMsg msg_list = 1; +inline int SMChatMsgNotify::msg_list_size() const { + return msg_list_.size(); +} +inline void SMChatMsgNotify::clear_msg_list() { + msg_list_.Clear(); +} +inline ::cs::MFChatMsg* SMChatMsgNotify::mutable_msg_list(int index) { + // @@protoc_insertion_point(field_mutable:cs.SMChatMsgNotify.msg_list) + return msg_list_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::cs::MFChatMsg >* +SMChatMsgNotify::mutable_msg_list() { + // @@protoc_insertion_point(field_mutable_list:cs.SMChatMsgNotify.msg_list) + return &msg_list_; +} +inline const ::cs::MFChatMsg& SMChatMsgNotify::msg_list(int index) const { + // @@protoc_insertion_point(field_get:cs.SMChatMsgNotify.msg_list) + return msg_list_.Get(index); +} +inline ::cs::MFChatMsg* SMChatMsgNotify::add_msg_list() { + // @@protoc_insertion_point(field_add:cs.SMChatMsgNotify.msg_list) + return msg_list_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::cs::MFChatMsg >& +SMChatMsgNotify::msg_list() const { + // @@protoc_insertion_point(field_list:cs.SMChatMsgNotify.msg_list) + return msg_list_; +} + +// ------------------------------------------------------------------- + +// SMCustomMsgNotify + +// optional string sender = 1; +inline bool SMCustomMsgNotify::has_sender() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SMCustomMsgNotify::set_has_sender() { + _has_bits_[0] |= 0x00000001u; +} +inline void SMCustomMsgNotify::clear_has_sender() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SMCustomMsgNotify::clear_sender() { + sender_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_sender(); +} +inline const ::std::string& SMCustomMsgNotify::sender() const { + // @@protoc_insertion_point(field_get:cs.SMCustomMsgNotify.sender) + return sender_.GetNoArena(); +} +inline void SMCustomMsgNotify::set_sender(const ::std::string& value) { + set_has_sender(); + sender_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.SMCustomMsgNotify.sender) +} +#if LANG_CXX11 +inline void SMCustomMsgNotify::set_sender(::std::string&& value) { + set_has_sender(); + sender_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.SMCustomMsgNotify.sender) +} +#endif +inline void SMCustomMsgNotify::set_sender(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_sender(); + sender_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.SMCustomMsgNotify.sender) +} +inline void SMCustomMsgNotify::set_sender(const char* value, size_t size) { + set_has_sender(); + sender_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.SMCustomMsgNotify.sender) +} +inline ::std::string* SMCustomMsgNotify::mutable_sender() { + set_has_sender(); + // @@protoc_insertion_point(field_mutable:cs.SMCustomMsgNotify.sender) + return sender_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* SMCustomMsgNotify::release_sender() { + // @@protoc_insertion_point(field_release:cs.SMCustomMsgNotify.sender) + if (!has_sender()) { + return NULL; + } + clear_has_sender(); + return sender_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void SMCustomMsgNotify::set_allocated_sender(::std::string* sender) { + if (sender != NULL) { + set_has_sender(); + } else { + clear_has_sender(); + } + sender_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), sender); + // @@protoc_insertion_point(field_set_allocated:cs.SMCustomMsgNotify.sender) +} + +// optional string msg = 2; +inline bool SMCustomMsgNotify::has_msg() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SMCustomMsgNotify::set_has_msg() { + _has_bits_[0] |= 0x00000002u; +} +inline void SMCustomMsgNotify::clear_has_msg() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SMCustomMsgNotify::clear_msg() { + msg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_msg(); +} +inline const ::std::string& SMCustomMsgNotify::msg() const { + // @@protoc_insertion_point(field_get:cs.SMCustomMsgNotify.msg) + return msg_.GetNoArena(); +} +inline void SMCustomMsgNotify::set_msg(const ::std::string& value) { + set_has_msg(); + msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.SMCustomMsgNotify.msg) +} +#if LANG_CXX11 +inline void SMCustomMsgNotify::set_msg(::std::string&& value) { + set_has_msg(); + msg_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.SMCustomMsgNotify.msg) +} +#endif +inline void SMCustomMsgNotify::set_msg(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_msg(); + msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.SMCustomMsgNotify.msg) +} +inline void SMCustomMsgNotify::set_msg(const char* value, size_t size) { + set_has_msg(); + msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.SMCustomMsgNotify.msg) +} +inline ::std::string* SMCustomMsgNotify::mutable_msg() { + set_has_msg(); + // @@protoc_insertion_point(field_mutable:cs.SMCustomMsgNotify.msg) + return msg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* SMCustomMsgNotify::release_msg() { + // @@protoc_insertion_point(field_release:cs.SMCustomMsgNotify.msg) + if (!has_msg()) { + return NULL; + } + clear_has_msg(); + return msg_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void SMCustomMsgNotify::set_allocated_msg(::std::string* msg) { + if (msg != NULL) { + set_has_msg(); + } else { + clear_has_msg(); + } + msg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msg); + // @@protoc_insertion_point(field_set_allocated:cs.SMCustomMsgNotify.msg) +} + +// optional int64 param1 = 3; +inline bool SMCustomMsgNotify::has_param1() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SMCustomMsgNotify::set_has_param1() { + _has_bits_[0] |= 0x00000004u; +} +inline void SMCustomMsgNotify::clear_has_param1() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SMCustomMsgNotify::clear_param1() { + param1_ = GOOGLE_LONGLONG(0); + clear_has_param1(); +} +inline ::google::protobuf::int64 SMCustomMsgNotify::param1() const { + // @@protoc_insertion_point(field_get:cs.SMCustomMsgNotify.param1) + return param1_; +} +inline void SMCustomMsgNotify::set_param1(::google::protobuf::int64 value) { + set_has_param1(); + param1_ = value; + // @@protoc_insertion_point(field_set:cs.SMCustomMsgNotify.param1) +} + +// optional int64 param2 = 4; +inline bool SMCustomMsgNotify::has_param2() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SMCustomMsgNotify::set_has_param2() { + _has_bits_[0] |= 0x00000008u; +} +inline void SMCustomMsgNotify::clear_has_param2() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SMCustomMsgNotify::clear_param2() { + param2_ = GOOGLE_LONGLONG(0); + clear_has_param2(); +} +inline ::google::protobuf::int64 SMCustomMsgNotify::param2() const { + // @@protoc_insertion_point(field_get:cs.SMCustomMsgNotify.param2) + return param2_; +} +inline void SMCustomMsgNotify::set_param2(::google::protobuf::int64 value) { + set_has_param2(); + param2_ = value; + // @@protoc_insertion_point(field_set:cs.SMCustomMsgNotify.param2) +} + +// optional int64 param3 = 5; +inline bool SMCustomMsgNotify::has_param3() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void SMCustomMsgNotify::set_has_param3() { + _has_bits_[0] |= 0x00000010u; +} +inline void SMCustomMsgNotify::clear_has_param3() { + _has_bits_[0] &= ~0x00000010u; +} +inline void SMCustomMsgNotify::clear_param3() { + param3_ = GOOGLE_LONGLONG(0); + clear_has_param3(); +} +inline ::google::protobuf::int64 SMCustomMsgNotify::param3() const { + // @@protoc_insertion_point(field_get:cs.SMCustomMsgNotify.param3) + return param3_; +} +inline void SMCustomMsgNotify::set_param3(::google::protobuf::int64 value) { + set_has_param3(); + param3_ = value; + // @@protoc_insertion_point(field_set:cs.SMCustomMsgNotify.param3) +} + +// ------------------------------------------------------------------- + +// SMUserInfoUpdate + +// repeated .cs.MFUserInfo user_infos = 1; +inline int SMUserInfoUpdate::user_infos_size() const { + return user_infos_.size(); +} +inline void SMUserInfoUpdate::clear_user_infos() { + user_infos_.Clear(); +} +inline ::cs::MFUserInfo* SMUserInfoUpdate::mutable_user_infos(int index) { + // @@protoc_insertion_point(field_mutable:cs.SMUserInfoUpdate.user_infos) + return user_infos_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::cs::MFUserInfo >* +SMUserInfoUpdate::mutable_user_infos() { + // @@protoc_insertion_point(field_mutable_list:cs.SMUserInfoUpdate.user_infos) + return &user_infos_; +} +inline const ::cs::MFUserInfo& SMUserInfoUpdate::user_infos(int index) const { + // @@protoc_insertion_point(field_get:cs.SMUserInfoUpdate.user_infos) + return user_infos_.Get(index); +} +inline ::cs::MFUserInfo* SMUserInfoUpdate::add_user_infos() { + // @@protoc_insertion_point(field_add:cs.SMUserInfoUpdate.user_infos) + return user_infos_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::cs::MFUserInfo >& +SMUserInfoUpdate::user_infos() const { + // @@protoc_insertion_point(field_list:cs.SMUserInfoUpdate.user_infos) + return user_infos_; +} + +// ------------------------------------------------------------------- + +// SMDeleteFriendNotify + +// repeated string user_list = 1; +inline int SMDeleteFriendNotify::user_list_size() const { + return user_list_.size(); +} +inline void SMDeleteFriendNotify::clear_user_list() { + user_list_.Clear(); +} +inline const ::std::string& SMDeleteFriendNotify::user_list(int index) const { + // @@protoc_insertion_point(field_get:cs.SMDeleteFriendNotify.user_list) + return user_list_.Get(index); +} +inline ::std::string* SMDeleteFriendNotify::mutable_user_list(int index) { + // @@protoc_insertion_point(field_mutable:cs.SMDeleteFriendNotify.user_list) + return user_list_.Mutable(index); +} +inline void SMDeleteFriendNotify::set_user_list(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:cs.SMDeleteFriendNotify.user_list) + user_list_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void SMDeleteFriendNotify::set_user_list(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:cs.SMDeleteFriendNotify.user_list) + user_list_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void SMDeleteFriendNotify::set_user_list(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + user_list_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:cs.SMDeleteFriendNotify.user_list) +} +inline void SMDeleteFriendNotify::set_user_list(int index, const char* value, size_t size) { + user_list_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:cs.SMDeleteFriendNotify.user_list) +} +inline ::std::string* SMDeleteFriendNotify::add_user_list() { + // @@protoc_insertion_point(field_add_mutable:cs.SMDeleteFriendNotify.user_list) + return user_list_.Add(); +} +inline void SMDeleteFriendNotify::add_user_list(const ::std::string& value) { + user_list_.Add()->assign(value); + // @@protoc_insertion_point(field_add:cs.SMDeleteFriendNotify.user_list) +} +#if LANG_CXX11 +inline void SMDeleteFriendNotify::add_user_list(::std::string&& value) { + user_list_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:cs.SMDeleteFriendNotify.user_list) +} +#endif +inline void SMDeleteFriendNotify::add_user_list(const char* value) { + GOOGLE_DCHECK(value != NULL); + user_list_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:cs.SMDeleteFriendNotify.user_list) +} +inline void SMDeleteFriendNotify::add_user_list(const char* value, size_t size) { + user_list_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:cs.SMDeleteFriendNotify.user_list) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +SMDeleteFriendNotify::user_list() const { + // @@protoc_insertion_point(field_list:cs.SMDeleteFriendNotify.user_list) + return user_list_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +SMDeleteFriendNotify::mutable_user_list() { + // @@protoc_insertion_point(field_mutable_list:cs.SMDeleteFriendNotify.user_list) + return &user_list_; +} + +// ------------------------------------------------------------------- + +// SMAddBlackListNotify + +// repeated .cs.MFUserInfo user_infos = 1; +inline int SMAddBlackListNotify::user_infos_size() const { + return user_infos_.size(); +} +inline void SMAddBlackListNotify::clear_user_infos() { + user_infos_.Clear(); +} +inline ::cs::MFUserInfo* SMAddBlackListNotify::mutable_user_infos(int index) { + // @@protoc_insertion_point(field_mutable:cs.SMAddBlackListNotify.user_infos) + return user_infos_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::cs::MFUserInfo >* +SMAddBlackListNotify::mutable_user_infos() { + // @@protoc_insertion_point(field_mutable_list:cs.SMAddBlackListNotify.user_infos) + return &user_infos_; +} +inline const ::cs::MFUserInfo& SMAddBlackListNotify::user_infos(int index) const { + // @@protoc_insertion_point(field_get:cs.SMAddBlackListNotify.user_infos) + return user_infos_.Get(index); +} +inline ::cs::MFUserInfo* SMAddBlackListNotify::add_user_infos() { + // @@protoc_insertion_point(field_add:cs.SMAddBlackListNotify.user_infos) + return user_infos_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::cs::MFUserInfo >& +SMAddBlackListNotify::user_infos() const { + // @@protoc_insertion_point(field_list:cs.SMAddBlackListNotify.user_infos) + return user_infos_; +} + +// ------------------------------------------------------------------- + +// SMDeleteBlackListNotify + +// repeated string user_list = 1; +inline int SMDeleteBlackListNotify::user_list_size() const { + return user_list_.size(); +} +inline void SMDeleteBlackListNotify::clear_user_list() { + user_list_.Clear(); +} +inline const ::std::string& SMDeleteBlackListNotify::user_list(int index) const { + // @@protoc_insertion_point(field_get:cs.SMDeleteBlackListNotify.user_list) + return user_list_.Get(index); +} +inline ::std::string* SMDeleteBlackListNotify::mutable_user_list(int index) { + // @@protoc_insertion_point(field_mutable:cs.SMDeleteBlackListNotify.user_list) + return user_list_.Mutable(index); +} +inline void SMDeleteBlackListNotify::set_user_list(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:cs.SMDeleteBlackListNotify.user_list) + user_list_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void SMDeleteBlackListNotify::set_user_list(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:cs.SMDeleteBlackListNotify.user_list) + user_list_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void SMDeleteBlackListNotify::set_user_list(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + user_list_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:cs.SMDeleteBlackListNotify.user_list) +} +inline void SMDeleteBlackListNotify::set_user_list(int index, const char* value, size_t size) { + user_list_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:cs.SMDeleteBlackListNotify.user_list) +} +inline ::std::string* SMDeleteBlackListNotify::add_user_list() { + // @@protoc_insertion_point(field_add_mutable:cs.SMDeleteBlackListNotify.user_list) + return user_list_.Add(); +} +inline void SMDeleteBlackListNotify::add_user_list(const ::std::string& value) { + user_list_.Add()->assign(value); + // @@protoc_insertion_point(field_add:cs.SMDeleteBlackListNotify.user_list) +} +#if LANG_CXX11 +inline void SMDeleteBlackListNotify::add_user_list(::std::string&& value) { + user_list_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:cs.SMDeleteBlackListNotify.user_list) +} +#endif +inline void SMDeleteBlackListNotify::add_user_list(const char* value) { + GOOGLE_DCHECK(value != NULL); + user_list_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:cs.SMDeleteBlackListNotify.user_list) +} +inline void SMDeleteBlackListNotify::add_user_list(const char* value, size_t size) { + user_list_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:cs.SMDeleteBlackListNotify.user_list) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +SMDeleteBlackListNotify::user_list() const { + // @@protoc_insertion_point(field_list:cs.SMDeleteBlackListNotify.user_list) + return user_list_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +SMDeleteBlackListNotify::mutable_user_list() { + // @@protoc_insertion_point(field_mutable_list:cs.SMDeleteBlackListNotify.user_list) + return &user_list_; +} + +// ------------------------------------------------------------------- + +// SMUpdateRedPointNotify + +// optional int32 red_point_flags = 1; +inline bool SMUpdateRedPointNotify::has_red_point_flags() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SMUpdateRedPointNotify::set_has_red_point_flags() { + _has_bits_[0] |= 0x00000001u; +} +inline void SMUpdateRedPointNotify::clear_has_red_point_flags() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SMUpdateRedPointNotify::clear_red_point_flags() { + red_point_flags_ = 0; + clear_has_red_point_flags(); +} +inline ::google::protobuf::int32 SMUpdateRedPointNotify::red_point_flags() const { + // @@protoc_insertion_point(field_get:cs.SMUpdateRedPointNotify.red_point_flags) + return red_point_flags_; +} +inline void SMUpdateRedPointNotify::set_red_point_flags(::google::protobuf::int32 value) { + set_has_red_point_flags(); + red_point_flags_ = value; + // @@protoc_insertion_point(field_set:cs.SMUpdateRedPointNotify.red_point_flags) +} + +// ------------------------------------------------------------------- + +// SMUpdateChatRedPointNotify + +// repeated int32 has_unread_msg_channels = 1; +inline int SMUpdateChatRedPointNotify::has_unread_msg_channels_size() const { + return has_unread_msg_channels_.size(); +} +inline void SMUpdateChatRedPointNotify::clear_has_unread_msg_channels() { + has_unread_msg_channels_.Clear(); +} +inline ::google::protobuf::int32 SMUpdateChatRedPointNotify::has_unread_msg_channels(int index) const { + // @@protoc_insertion_point(field_get:cs.SMUpdateChatRedPointNotify.has_unread_msg_channels) + return has_unread_msg_channels_.Get(index); +} +inline void SMUpdateChatRedPointNotify::set_has_unread_msg_channels(int index, ::google::protobuf::int32 value) { + has_unread_msg_channels_.Set(index, value); + // @@protoc_insertion_point(field_set:cs.SMUpdateChatRedPointNotify.has_unread_msg_channels) +} +inline void SMUpdateChatRedPointNotify::add_has_unread_msg_channels(::google::protobuf::int32 value) { + has_unread_msg_channels_.Add(value); + // @@protoc_insertion_point(field_add:cs.SMUpdateChatRedPointNotify.has_unread_msg_channels) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& +SMUpdateChatRedPointNotify::has_unread_msg_channels() const { + // @@protoc_insertion_point(field_list:cs.SMUpdateChatRedPointNotify.has_unread_msg_channels) + return has_unread_msg_channels_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* +SMUpdateChatRedPointNotify::mutable_has_unread_msg_channels() { + // @@protoc_insertion_point(field_mutable_list:cs.SMUpdateChatRedPointNotify.has_unread_msg_channels) + return &has_unread_msg_channels_; +} + +// ------------------------------------------------------------------- + +// SMUpdatePrivateChatRedPointNotify + +// repeated string has_unread_msg_accounts = 1; +inline int SMUpdatePrivateChatRedPointNotify::has_unread_msg_accounts_size() const { + return has_unread_msg_accounts_.size(); +} +inline void SMUpdatePrivateChatRedPointNotify::clear_has_unread_msg_accounts() { + has_unread_msg_accounts_.Clear(); +} +inline const ::std::string& SMUpdatePrivateChatRedPointNotify::has_unread_msg_accounts(int index) const { + // @@protoc_insertion_point(field_get:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) + return has_unread_msg_accounts_.Get(index); +} +inline ::std::string* SMUpdatePrivateChatRedPointNotify::mutable_has_unread_msg_accounts(int index) { + // @@protoc_insertion_point(field_mutable:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) + return has_unread_msg_accounts_.Mutable(index); +} +inline void SMUpdatePrivateChatRedPointNotify::set_has_unread_msg_accounts(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) + has_unread_msg_accounts_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void SMUpdatePrivateChatRedPointNotify::set_has_unread_msg_accounts(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) + has_unread_msg_accounts_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void SMUpdatePrivateChatRedPointNotify::set_has_unread_msg_accounts(int index, const char* value) { + GOOGLE_DCHECK(value != NULL); + has_unread_msg_accounts_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) +} +inline void SMUpdatePrivateChatRedPointNotify::set_has_unread_msg_accounts(int index, const char* value, size_t size) { + has_unread_msg_accounts_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) +} +inline ::std::string* SMUpdatePrivateChatRedPointNotify::add_has_unread_msg_accounts() { + // @@protoc_insertion_point(field_add_mutable:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) + return has_unread_msg_accounts_.Add(); +} +inline void SMUpdatePrivateChatRedPointNotify::add_has_unread_msg_accounts(const ::std::string& value) { + has_unread_msg_accounts_.Add()->assign(value); + // @@protoc_insertion_point(field_add:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) +} +#if LANG_CXX11 +inline void SMUpdatePrivateChatRedPointNotify::add_has_unread_msg_accounts(::std::string&& value) { + has_unread_msg_accounts_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) +} +#endif +inline void SMUpdatePrivateChatRedPointNotify::add_has_unread_msg_accounts(const char* value) { + GOOGLE_DCHECK(value != NULL); + has_unread_msg_accounts_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) +} +inline void SMUpdatePrivateChatRedPointNotify::add_has_unread_msg_accounts(const char* value, size_t size) { + has_unread_msg_accounts_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +SMUpdatePrivateChatRedPointNotify::has_unread_msg_accounts() const { + // @@protoc_insertion_point(field_list:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) + return has_unread_msg_accounts_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +SMUpdatePrivateChatRedPointNotify::mutable_has_unread_msg_accounts() { + // @@protoc_insertion_point(field_mutable_list:cs.SMUpdatePrivateChatRedPointNotify.has_unread_msg_accounts) + return &has_unread_msg_accounts_; +} + +// ------------------------------------------------------------------- + +// SMUpdateChatChannelLastId + +// repeated .cs.MFPairInt64 last_ids = 1; +inline int SMUpdateChatChannelLastId::last_ids_size() const { + return last_ids_.size(); +} +inline void SMUpdateChatChannelLastId::clear_last_ids() { + last_ids_.Clear(); +} +inline ::cs::MFPairInt64* SMUpdateChatChannelLastId::mutable_last_ids(int index) { + // @@protoc_insertion_point(field_mutable:cs.SMUpdateChatChannelLastId.last_ids) + return last_ids_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::cs::MFPairInt64 >* +SMUpdateChatChannelLastId::mutable_last_ids() { + // @@protoc_insertion_point(field_mutable_list:cs.SMUpdateChatChannelLastId.last_ids) + return &last_ids_; +} +inline const ::cs::MFPairInt64& SMUpdateChatChannelLastId::last_ids(int index) const { + // @@protoc_insertion_point(field_get:cs.SMUpdateChatChannelLastId.last_ids) + return last_ids_.Get(index); +} +inline ::cs::MFPairInt64* SMUpdateChatChannelLastId::add_last_ids() { + // @@protoc_insertion_point(field_add:cs.SMUpdateChatChannelLastId.last_ids) + return last_ids_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::cs::MFPairInt64 >& +SMUpdateChatChannelLastId::last_ids() const { + // @@protoc_insertion_point(field_list:cs.SMUpdateChatChannelLastId.last_ids) + return last_ids_; +} + +// ------------------------------------------------------------------- + +// SMShowErrorMsg + +// optional string msg = 1; +inline bool SMShowErrorMsg::has_msg() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SMShowErrorMsg::set_has_msg() { + _has_bits_[0] |= 0x00000001u; +} +inline void SMShowErrorMsg::clear_has_msg() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SMShowErrorMsg::clear_msg() { + msg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_msg(); +} +inline const ::std::string& SMShowErrorMsg::msg() const { + // @@protoc_insertion_point(field_get:cs.SMShowErrorMsg.msg) + return msg_.GetNoArena(); +} +inline void SMShowErrorMsg::set_msg(const ::std::string& value) { + set_has_msg(); + msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:cs.SMShowErrorMsg.msg) +} +#if LANG_CXX11 +inline void SMShowErrorMsg::set_msg(::std::string&& value) { + set_has_msg(); + msg_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:cs.SMShowErrorMsg.msg) +} +#endif +inline void SMShowErrorMsg::set_msg(const char* value) { + GOOGLE_DCHECK(value != NULL); + set_has_msg(); + msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:cs.SMShowErrorMsg.msg) +} +inline void SMShowErrorMsg::set_msg(const char* value, size_t size) { + set_has_msg(); + msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:cs.SMShowErrorMsg.msg) +} +inline ::std::string* SMShowErrorMsg::mutable_msg() { + set_has_msg(); + // @@protoc_insertion_point(field_mutable:cs.SMShowErrorMsg.msg) + return msg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* SMShowErrorMsg::release_msg() { + // @@protoc_insertion_point(field_release:cs.SMShowErrorMsg.msg) + if (!has_msg()) { + return NULL; + } + clear_has_msg(); + return msg_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void SMShowErrorMsg::set_allocated_msg(::std::string* msg) { + if (msg != NULL) { + set_has_msg(); + } else { + clear_has_msg(); + } + msg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msg); + // @@protoc_insertion_point(field_set_allocated:cs.SMShowErrorMsg.msg) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace cs + +namespace google { +namespace protobuf { + +template <> struct is_proto_enum< ::cs::Constant_e> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::cs::Constant_e>() { + return ::cs::Constant_e_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_INCLUDED_cs_5fproto_2eproto diff --git a/server/imserver/ss_msgid.pb.cc b/server/imserver/ss_msgid.pb.cc index e69de29..ef030de 100644 --- a/server/imserver/ss_msgid.pb.cc +++ b/server/imserver/ss_msgid.pb.cc @@ -0,0 +1,80 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ss_msgid.proto + +#include "ss_msgid.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// This is a temporary google only hack +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS +#include "third_party/protobuf/version.h" +#endif +// @@protoc_insertion_point(includes) + +namespace ss { +} // namespace ss +namespace protobuf_ss_5fmsgid_2eproto { +void InitDefaults() { +} + +const ::google::protobuf::uint32 TableStruct::offsets[1] = {}; +static const ::google::protobuf::internal::MigrationSchema* schemas = NULL; +static const ::google::protobuf::Message* const* file_default_instances = NULL; + +void protobuf_AssignDescriptors() { + AddDescriptors(); + AssignDescriptors( + "ss_msgid.proto", schemas, file_default_instances, TableStruct::offsets, + NULL, NULL, NULL); +} + +void protobuf_AssignDescriptorsOnce() { + static ::google::protobuf::internal::once_flag once; + ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors); +} + +void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +void AddDescriptorsImpl() { + InitDefaults(); + static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + "\n\016ss_msgid.proto\022\002ss" + }; + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + descriptor, 20); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "ss_msgid.proto", &protobuf_RegisterTypes); +} + +void AddDescriptors() { + static ::google::protobuf::internal::once_flag once; + ::google::protobuf::internal::call_once(once, AddDescriptorsImpl); +} +// Force AddDescriptors() to be called at dynamic initialization time. +struct StaticDescriptorInitializer { + StaticDescriptorInitializer() { + AddDescriptors(); + } +} static_descriptor_initializer; +} // namespace protobuf_ss_5fmsgid_2eproto +namespace ss { + +// @@protoc_insertion_point(namespace_scope) +} // namespace ss +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) diff --git a/server/imserver/ss_msgid.pb.h b/server/imserver/ss_msgid.pb.h index e69de29..5f1892a 100644 --- a/server/imserver/ss_msgid.pb.h +++ b/server/imserver/ss_msgid.pb.h @@ -0,0 +1,72 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ss_msgid.proto + +#ifndef PROTOBUF_INCLUDED_ss_5fmsgid_2eproto +#define PROTOBUF_INCLUDED_ss_5fmsgid_2eproto + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 3006001 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +// @@protoc_insertion_point(includes) +#define PROTOBUF_INTERNAL_EXPORT_protobuf_ss_5fmsgid_2eproto + +namespace protobuf_ss_5fmsgid_2eproto { +// Internal implementation detail -- do not use these members. +struct TableStruct { + static const ::google::protobuf::internal::ParseTableField entries[]; + static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; + static const ::google::protobuf::internal::ParseTable schema[1]; + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors(); +} // namespace protobuf_ss_5fmsgid_2eproto +namespace ss { +} // namespace ss +namespace ss { + +// =================================================================== + + +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) + +} // namespace ss + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_INCLUDED_ss_5fmsgid_2eproto diff --git a/server/imserver/ss_proto.pb.cc b/server/imserver/ss_proto.pb.cc index e69de29..97bfc97 100644 --- a/server/imserver/ss_proto.pb.cc +++ b/server/imserver/ss_proto.pb.cc @@ -0,0 +1,80 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ss_proto.proto + +#include "ss_proto.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// This is a temporary google only hack +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS +#include "third_party/protobuf/version.h" +#endif +// @@protoc_insertion_point(includes) + +namespace ss { +} // namespace ss +namespace protobuf_ss_5fproto_2eproto { +void InitDefaults() { +} + +const ::google::protobuf::uint32 TableStruct::offsets[1] = {}; +static const ::google::protobuf::internal::MigrationSchema* schemas = NULL; +static const ::google::protobuf::Message* const* file_default_instances = NULL; + +void protobuf_AssignDescriptors() { + AddDescriptors(); + AssignDescriptors( + "ss_proto.proto", schemas, file_default_instances, TableStruct::offsets, + NULL, NULL, NULL); +} + +void protobuf_AssignDescriptorsOnce() { + static ::google::protobuf::internal::once_flag once; + ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors); +} + +void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +void AddDescriptorsImpl() { + InitDefaults(); + static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + "\n\016ss_proto.proto\022\002ss" + }; + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + descriptor, 20); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "ss_proto.proto", &protobuf_RegisterTypes); +} + +void AddDescriptors() { + static ::google::protobuf::internal::once_flag once; + ::google::protobuf::internal::call_once(once, AddDescriptorsImpl); +} +// Force AddDescriptors() to be called at dynamic initialization time. +struct StaticDescriptorInitializer { + StaticDescriptorInitializer() { + AddDescriptors(); + } +} static_descriptor_initializer; +} // namespace protobuf_ss_5fproto_2eproto +namespace ss { + +// @@protoc_insertion_point(namespace_scope) +} // namespace ss +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) diff --git a/server/imserver/ss_proto.pb.h b/server/imserver/ss_proto.pb.h index e69de29..89df231 100644 --- a/server/imserver/ss_proto.pb.h +++ b/server/imserver/ss_proto.pb.h @@ -0,0 +1,72 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ss_proto.proto + +#ifndef PROTOBUF_INCLUDED_ss_5fproto_2eproto +#define PROTOBUF_INCLUDED_ss_5fproto_2eproto + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 3006001 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +// @@protoc_insertion_point(includes) +#define PROTOBUF_INTERNAL_EXPORT_protobuf_ss_5fproto_2eproto + +namespace protobuf_ss_5fproto_2eproto { +// Internal implementation detail -- do not use these members. +struct TableStruct { + static const ::google::protobuf::internal::ParseTableField entries[]; + static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; + static const ::google::protobuf::internal::ParseTable schema[1]; + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors(); +} // namespace protobuf_ss_5fproto_2eproto +namespace ss { +} // namespace ss +namespace ss { + +// =================================================================== + + +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) + +} // namespace ss + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_INCLUDED_ss_5fproto_2eproto diff --git a/server/tools/protobuild/ss_msgid.proto b/server/tools/protobuild/ss_msgid.proto new file mode 100644 index 0000000..748ac2b --- /dev/null +++ b/server/tools/protobuild/ss_msgid.proto @@ -0,0 +1 @@ +package ss; \ No newline at end of file diff --git a/server/tools/protobuild/ss_proto.proto b/server/tools/protobuild/ss_proto.proto new file mode 100644 index 0000000..748ac2b --- /dev/null +++ b/server/tools/protobuild/ss_proto.proto @@ -0,0 +1 @@ +package ss; \ No newline at end of file