Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25890 lines
911 KiB

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: steammessages.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "steammessages.pb.h"
  5. #include <algorithm>
  6. #include <google/protobuf/stubs/common.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // @@protoc_insertion_point(includes)
  15. namespace {
  16. const ::google::protobuf::Descriptor* CMsgProtoBufHeader_descriptor_ = NULL;
  17. const ::google::protobuf::internal::GeneratedMessageReflection*
  18. CMsgProtoBufHeader_reflection_ = NULL;
  19. const ::google::protobuf::Descriptor* CMsgWebAPIKey_descriptor_ = NULL;
  20. const ::google::protobuf::internal::GeneratedMessageReflection*
  21. CMsgWebAPIKey_reflection_ = NULL;
  22. const ::google::protobuf::Descriptor* CMsgHttpRequest_descriptor_ = NULL;
  23. const ::google::protobuf::internal::GeneratedMessageReflection*
  24. CMsgHttpRequest_reflection_ = NULL;
  25. const ::google::protobuf::Descriptor* CMsgHttpRequest_RequestHeader_descriptor_ = NULL;
  26. const ::google::protobuf::internal::GeneratedMessageReflection*
  27. CMsgHttpRequest_RequestHeader_reflection_ = NULL;
  28. const ::google::protobuf::Descriptor* CMsgHttpRequest_QueryParam_descriptor_ = NULL;
  29. const ::google::protobuf::internal::GeneratedMessageReflection*
  30. CMsgHttpRequest_QueryParam_reflection_ = NULL;
  31. const ::google::protobuf::Descriptor* CMsgWebAPIRequest_descriptor_ = NULL;
  32. const ::google::protobuf::internal::GeneratedMessageReflection*
  33. CMsgWebAPIRequest_reflection_ = NULL;
  34. const ::google::protobuf::Descriptor* CMsgHttpResponse_descriptor_ = NULL;
  35. const ::google::protobuf::internal::GeneratedMessageReflection*
  36. CMsgHttpResponse_reflection_ = NULL;
  37. const ::google::protobuf::Descriptor* CMsgHttpResponse_ResponseHeader_descriptor_ = NULL;
  38. const ::google::protobuf::internal::GeneratedMessageReflection*
  39. CMsgHttpResponse_ResponseHeader_reflection_ = NULL;
  40. const ::google::protobuf::Descriptor* CMsgAMFindAccounts_descriptor_ = NULL;
  41. const ::google::protobuf::internal::GeneratedMessageReflection*
  42. CMsgAMFindAccounts_reflection_ = NULL;
  43. const ::google::protobuf::Descriptor* CMsgAMFindAccountsResponse_descriptor_ = NULL;
  44. const ::google::protobuf::internal::GeneratedMessageReflection*
  45. CMsgAMFindAccountsResponse_reflection_ = NULL;
  46. const ::google::protobuf::Descriptor* CMsgNotifyWatchdog_descriptor_ = NULL;
  47. const ::google::protobuf::internal::GeneratedMessageReflection*
  48. CMsgNotifyWatchdog_reflection_ = NULL;
  49. const ::google::protobuf::Descriptor* CMsgAMGetLicenses_descriptor_ = NULL;
  50. const ::google::protobuf::internal::GeneratedMessageReflection*
  51. CMsgAMGetLicenses_reflection_ = NULL;
  52. const ::google::protobuf::Descriptor* CMsgPackageLicense_descriptor_ = NULL;
  53. const ::google::protobuf::internal::GeneratedMessageReflection*
  54. CMsgPackageLicense_reflection_ = NULL;
  55. const ::google::protobuf::Descriptor* CMsgAMGetLicensesResponse_descriptor_ = NULL;
  56. const ::google::protobuf::internal::GeneratedMessageReflection*
  57. CMsgAMGetLicensesResponse_reflection_ = NULL;
  58. const ::google::protobuf::Descriptor* CMsgAMGetUserGameStats_descriptor_ = NULL;
  59. const ::google::protobuf::internal::GeneratedMessageReflection*
  60. CMsgAMGetUserGameStats_reflection_ = NULL;
  61. const ::google::protobuf::Descriptor* CMsgAMGetUserGameStatsResponse_descriptor_ = NULL;
  62. const ::google::protobuf::internal::GeneratedMessageReflection*
  63. CMsgAMGetUserGameStatsResponse_reflection_ = NULL;
  64. const ::google::protobuf::Descriptor* CMsgAMGetUserGameStatsResponse_Stats_descriptor_ = NULL;
  65. const ::google::protobuf::internal::GeneratedMessageReflection*
  66. CMsgAMGetUserGameStatsResponse_Stats_reflection_ = NULL;
  67. const ::google::protobuf::Descriptor* CMsgAMGetUserGameStatsResponse_Achievement_Blocks_descriptor_ = NULL;
  68. const ::google::protobuf::internal::GeneratedMessageReflection*
  69. CMsgAMGetUserGameStatsResponse_Achievement_Blocks_reflection_ = NULL;
  70. const ::google::protobuf::Descriptor* CMsgGCGetCommandList_descriptor_ = NULL;
  71. const ::google::protobuf::internal::GeneratedMessageReflection*
  72. CMsgGCGetCommandList_reflection_ = NULL;
  73. const ::google::protobuf::Descriptor* CMsgGCGetCommandListResponse_descriptor_ = NULL;
  74. const ::google::protobuf::internal::GeneratedMessageReflection*
  75. CMsgGCGetCommandListResponse_reflection_ = NULL;
  76. const ::google::protobuf::Descriptor* CGCMsgMemCachedGet_descriptor_ = NULL;
  77. const ::google::protobuf::internal::GeneratedMessageReflection*
  78. CGCMsgMemCachedGet_reflection_ = NULL;
  79. const ::google::protobuf::Descriptor* CGCMsgMemCachedGetResponse_descriptor_ = NULL;
  80. const ::google::protobuf::internal::GeneratedMessageReflection*
  81. CGCMsgMemCachedGetResponse_reflection_ = NULL;
  82. const ::google::protobuf::Descriptor* CGCMsgMemCachedGetResponse_ValueTag_descriptor_ = NULL;
  83. const ::google::protobuf::internal::GeneratedMessageReflection*
  84. CGCMsgMemCachedGetResponse_ValueTag_reflection_ = NULL;
  85. const ::google::protobuf::Descriptor* CGCMsgMemCachedSet_descriptor_ = NULL;
  86. const ::google::protobuf::internal::GeneratedMessageReflection*
  87. CGCMsgMemCachedSet_reflection_ = NULL;
  88. const ::google::protobuf::Descriptor* CGCMsgMemCachedSet_KeyPair_descriptor_ = NULL;
  89. const ::google::protobuf::internal::GeneratedMessageReflection*
  90. CGCMsgMemCachedSet_KeyPair_reflection_ = NULL;
  91. const ::google::protobuf::Descriptor* CGCMsgMemCachedDelete_descriptor_ = NULL;
  92. const ::google::protobuf::internal::GeneratedMessageReflection*
  93. CGCMsgMemCachedDelete_reflection_ = NULL;
  94. const ::google::protobuf::Descriptor* CGCMsgMemCachedStats_descriptor_ = NULL;
  95. const ::google::protobuf::internal::GeneratedMessageReflection*
  96. CGCMsgMemCachedStats_reflection_ = NULL;
  97. const ::google::protobuf::Descriptor* CGCMsgMemCachedStatsResponse_descriptor_ = NULL;
  98. const ::google::protobuf::internal::GeneratedMessageReflection*
  99. CGCMsgMemCachedStatsResponse_reflection_ = NULL;
  100. const ::google::protobuf::Descriptor* CGCMsgSQLStats_descriptor_ = NULL;
  101. const ::google::protobuf::internal::GeneratedMessageReflection*
  102. CGCMsgSQLStats_reflection_ = NULL;
  103. const ::google::protobuf::Descriptor* CGCMsgSQLStatsResponse_descriptor_ = NULL;
  104. const ::google::protobuf::internal::GeneratedMessageReflection*
  105. CGCMsgSQLStatsResponse_reflection_ = NULL;
  106. const ::google::protobuf::Descriptor* CMsgAMAddFreeLicense_descriptor_ = NULL;
  107. const ::google::protobuf::internal::GeneratedMessageReflection*
  108. CMsgAMAddFreeLicense_reflection_ = NULL;
  109. const ::google::protobuf::Descriptor* CMsgAMAddFreeLicenseResponse_descriptor_ = NULL;
  110. const ::google::protobuf::internal::GeneratedMessageReflection*
  111. CMsgAMAddFreeLicenseResponse_reflection_ = NULL;
  112. const ::google::protobuf::Descriptor* CGCMsgGetIPLocation_descriptor_ = NULL;
  113. const ::google::protobuf::internal::GeneratedMessageReflection*
  114. CGCMsgGetIPLocation_reflection_ = NULL;
  115. const ::google::protobuf::Descriptor* CIPLocationInfo_descriptor_ = NULL;
  116. const ::google::protobuf::internal::GeneratedMessageReflection*
  117. CIPLocationInfo_reflection_ = NULL;
  118. const ::google::protobuf::Descriptor* CGCMsgGetIPLocationResponse_descriptor_ = NULL;
  119. const ::google::protobuf::internal::GeneratedMessageReflection*
  120. CGCMsgGetIPLocationResponse_reflection_ = NULL;
  121. const ::google::protobuf::Descriptor* CGCMsgSystemStatsSchema_descriptor_ = NULL;
  122. const ::google::protobuf::internal::GeneratedMessageReflection*
  123. CGCMsgSystemStatsSchema_reflection_ = NULL;
  124. const ::google::protobuf::Descriptor* CGCMsgGetSystemStats_descriptor_ = NULL;
  125. const ::google::protobuf::internal::GeneratedMessageReflection*
  126. CGCMsgGetSystemStats_reflection_ = NULL;
  127. const ::google::protobuf::Descriptor* CGCMsgGetSystemStatsResponse_descriptor_ = NULL;
  128. const ::google::protobuf::internal::GeneratedMessageReflection*
  129. CGCMsgGetSystemStatsResponse_reflection_ = NULL;
  130. const ::google::protobuf::Descriptor* CMsgAMSendEmail_descriptor_ = NULL;
  131. const ::google::protobuf::internal::GeneratedMessageReflection*
  132. CMsgAMSendEmail_reflection_ = NULL;
  133. const ::google::protobuf::Descriptor* CMsgAMSendEmail_ReplacementToken_descriptor_ = NULL;
  134. const ::google::protobuf::internal::GeneratedMessageReflection*
  135. CMsgAMSendEmail_ReplacementToken_reflection_ = NULL;
  136. const ::google::protobuf::Descriptor* CMsgAMSendEmail_PersonaNameReplacementToken_descriptor_ = NULL;
  137. const ::google::protobuf::internal::GeneratedMessageReflection*
  138. CMsgAMSendEmail_PersonaNameReplacementToken_reflection_ = NULL;
  139. const ::google::protobuf::Descriptor* CMsgAMSendEmailResponse_descriptor_ = NULL;
  140. const ::google::protobuf::internal::GeneratedMessageReflection*
  141. CMsgAMSendEmailResponse_reflection_ = NULL;
  142. const ::google::protobuf::Descriptor* CMsgGCGetEmailTemplate_descriptor_ = NULL;
  143. const ::google::protobuf::internal::GeneratedMessageReflection*
  144. CMsgGCGetEmailTemplate_reflection_ = NULL;
  145. const ::google::protobuf::Descriptor* CMsgGCGetEmailTemplateResponse_descriptor_ = NULL;
  146. const ::google::protobuf::internal::GeneratedMessageReflection*
  147. CMsgGCGetEmailTemplateResponse_reflection_ = NULL;
  148. const ::google::protobuf::Descriptor* CMsgAMGrantGuestPasses2_descriptor_ = NULL;
  149. const ::google::protobuf::internal::GeneratedMessageReflection*
  150. CMsgAMGrantGuestPasses2_reflection_ = NULL;
  151. const ::google::protobuf::Descriptor* CMsgAMGrantGuestPasses2Response_descriptor_ = NULL;
  152. const ::google::protobuf::internal::GeneratedMessageReflection*
  153. CMsgAMGrantGuestPasses2Response_reflection_ = NULL;
  154. const ::google::protobuf::Descriptor* CGCSystemMsg_GetAccountDetails_descriptor_ = NULL;
  155. const ::google::protobuf::internal::GeneratedMessageReflection*
  156. CGCSystemMsg_GetAccountDetails_reflection_ = NULL;
  157. const ::google::protobuf::Descriptor* CGCSystemMsg_GetAccountDetails_Response_descriptor_ = NULL;
  158. const ::google::protobuf::internal::GeneratedMessageReflection*
  159. CGCSystemMsg_GetAccountDetails_Response_reflection_ = NULL;
  160. const ::google::protobuf::Descriptor* CMsgGCGetPersonaNames_descriptor_ = NULL;
  161. const ::google::protobuf::internal::GeneratedMessageReflection*
  162. CMsgGCGetPersonaNames_reflection_ = NULL;
  163. const ::google::protobuf::Descriptor* CMsgGCGetPersonaNames_Response_descriptor_ = NULL;
  164. const ::google::protobuf::internal::GeneratedMessageReflection*
  165. CMsgGCGetPersonaNames_Response_reflection_ = NULL;
  166. const ::google::protobuf::Descriptor* CMsgGCGetPersonaNames_Response_PersonaName_descriptor_ = NULL;
  167. const ::google::protobuf::internal::GeneratedMessageReflection*
  168. CMsgGCGetPersonaNames_Response_PersonaName_reflection_ = NULL;
  169. const ::google::protobuf::Descriptor* CMsgGCCheckFriendship_descriptor_ = NULL;
  170. const ::google::protobuf::internal::GeneratedMessageReflection*
  171. CMsgGCCheckFriendship_reflection_ = NULL;
  172. const ::google::protobuf::Descriptor* CMsgGCCheckFriendship_Response_descriptor_ = NULL;
  173. const ::google::protobuf::internal::GeneratedMessageReflection*
  174. CMsgGCCheckFriendship_Response_reflection_ = NULL;
  175. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetDirectory_descriptor_ = NULL;
  176. const ::google::protobuf::internal::GeneratedMessageReflection*
  177. CMsgGCMsgMasterSetDirectory_reflection_ = NULL;
  178. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetDirectory_SubGC_descriptor_ = NULL;
  179. const ::google::protobuf::internal::GeneratedMessageReflection*
  180. CMsgGCMsgMasterSetDirectory_SubGC_reflection_ = NULL;
  181. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetDirectory_Response_descriptor_ = NULL;
  182. const ::google::protobuf::internal::GeneratedMessageReflection*
  183. CMsgGCMsgMasterSetDirectory_Response_reflection_ = NULL;
  184. const ::google::protobuf::Descriptor* CMsgGCMsgWebAPIJobRequestForwardResponse_descriptor_ = NULL;
  185. const ::google::protobuf::internal::GeneratedMessageReflection*
  186. CMsgGCMsgWebAPIJobRequestForwardResponse_reflection_ = NULL;
  187. const ::google::protobuf::Descriptor* CGCSystemMsg_GetPurchaseTrust_Request_descriptor_ = NULL;
  188. const ::google::protobuf::internal::GeneratedMessageReflection*
  189. CGCSystemMsg_GetPurchaseTrust_Request_reflection_ = NULL;
  190. const ::google::protobuf::Descriptor* CGCSystemMsg_GetPurchaseTrust_Response_descriptor_ = NULL;
  191. const ::google::protobuf::internal::GeneratedMessageReflection*
  192. CGCSystemMsg_GetPurchaseTrust_Response_reflection_ = NULL;
  193. const ::google::protobuf::Descriptor* CMsgGCHAccountVacStatusChange_descriptor_ = NULL;
  194. const ::google::protobuf::internal::GeneratedMessageReflection*
  195. CMsgGCHAccountVacStatusChange_reflection_ = NULL;
  196. const ::google::protobuf::Descriptor* CMsgGCGetPartnerAccountLink_descriptor_ = NULL;
  197. const ::google::protobuf::internal::GeneratedMessageReflection*
  198. CMsgGCGetPartnerAccountLink_reflection_ = NULL;
  199. const ::google::protobuf::Descriptor* CMsgGCGetPartnerAccountLink_Response_descriptor_ = NULL;
  200. const ::google::protobuf::internal::GeneratedMessageReflection*
  201. CMsgGCGetPartnerAccountLink_Response_reflection_ = NULL;
  202. const ::google::protobuf::Descriptor* CMsgGCRoutingInfo_descriptor_ = NULL;
  203. const ::google::protobuf::internal::GeneratedMessageReflection*
  204. CMsgGCRoutingInfo_reflection_ = NULL;
  205. const ::google::protobuf::EnumDescriptor* CMsgGCRoutingInfo_RoutingMethod_descriptor_ = NULL;
  206. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetWebAPIRouting_descriptor_ = NULL;
  207. const ::google::protobuf::internal::GeneratedMessageReflection*
  208. CMsgGCMsgMasterSetWebAPIRouting_reflection_ = NULL;
  209. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetWebAPIRouting_Entry_descriptor_ = NULL;
  210. const ::google::protobuf::internal::GeneratedMessageReflection*
  211. CMsgGCMsgMasterSetWebAPIRouting_Entry_reflection_ = NULL;
  212. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetClientMsgRouting_descriptor_ = NULL;
  213. const ::google::protobuf::internal::GeneratedMessageReflection*
  214. CMsgGCMsgMasterSetClientMsgRouting_reflection_ = NULL;
  215. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetClientMsgRouting_Entry_descriptor_ = NULL;
  216. const ::google::protobuf::internal::GeneratedMessageReflection*
  217. CMsgGCMsgMasterSetClientMsgRouting_Entry_reflection_ = NULL;
  218. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetWebAPIRouting_Response_descriptor_ = NULL;
  219. const ::google::protobuf::internal::GeneratedMessageReflection*
  220. CMsgGCMsgMasterSetWebAPIRouting_Response_reflection_ = NULL;
  221. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetClientMsgRouting_Response_descriptor_ = NULL;
  222. const ::google::protobuf::internal::GeneratedMessageReflection*
  223. CMsgGCMsgMasterSetClientMsgRouting_Response_reflection_ = NULL;
  224. const ::google::protobuf::Descriptor* CMsgGCMsgSetOptions_descriptor_ = NULL;
  225. const ::google::protobuf::internal::GeneratedMessageReflection*
  226. CMsgGCMsgSetOptions_reflection_ = NULL;
  227. const ::google::protobuf::Descriptor* CMsgGCMsgSetOptions_MessageRange_descriptor_ = NULL;
  228. const ::google::protobuf::internal::GeneratedMessageReflection*
  229. CMsgGCMsgSetOptions_MessageRange_reflection_ = NULL;
  230. const ::google::protobuf::EnumDescriptor* CMsgGCMsgSetOptions_Option_descriptor_ = NULL;
  231. const ::google::protobuf::Descriptor* CMsgGCHUpdateSession_descriptor_ = NULL;
  232. const ::google::protobuf::internal::GeneratedMessageReflection*
  233. CMsgGCHUpdateSession_reflection_ = NULL;
  234. const ::google::protobuf::Descriptor* CMsgGCHUpdateSession_ExtraField_descriptor_ = NULL;
  235. const ::google::protobuf::internal::GeneratedMessageReflection*
  236. CMsgGCHUpdateSession_ExtraField_reflection_ = NULL;
  237. const ::google::protobuf::Descriptor* CMsgNotificationOfSuspiciousActivity_descriptor_ = NULL;
  238. const ::google::protobuf::internal::GeneratedMessageReflection*
  239. CMsgNotificationOfSuspiciousActivity_reflection_ = NULL;
  240. const ::google::protobuf::Descriptor* CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_descriptor_ = NULL;
  241. const ::google::protobuf::internal::GeneratedMessageReflection*
  242. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_reflection_ = NULL;
  243. const ::google::protobuf::EnumDescriptor* GCProtoBufMsgSrc_descriptor_ = NULL;
  244. } // namespace
  245. void protobuf_AssignDesc_steammessages_2eproto() {
  246. protobuf_AddDesc_steammessages_2eproto();
  247. const ::google::protobuf::FileDescriptor* file =
  248. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  249. "steammessages.proto");
  250. GOOGLE_CHECK(file != NULL);
  251. CMsgProtoBufHeader_descriptor_ = file->message_type(0);
  252. static const int CMsgProtoBufHeader_offsets_[10] = {
  253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, client_steam_id_),
  254. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, client_session_id_),
  255. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, source_app_id_),
  256. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, job_id_source_),
  257. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, job_id_target_),
  258. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, target_job_name_),
  259. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, eresult_),
  260. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, error_message_),
  261. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, gc_msg_src_),
  262. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, gc_dir_index_source_),
  263. };
  264. CMsgProtoBufHeader_reflection_ =
  265. new ::google::protobuf::internal::GeneratedMessageReflection(
  266. CMsgProtoBufHeader_descriptor_,
  267. CMsgProtoBufHeader::default_instance_,
  268. CMsgProtoBufHeader_offsets_,
  269. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, _has_bits_[0]),
  270. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgProtoBufHeader, _unknown_fields_),
  271. -1,
  272. ::google::protobuf::DescriptorPool::generated_pool(),
  273. ::google::protobuf::MessageFactory::generated_factory(),
  274. sizeof(CMsgProtoBufHeader));
  275. CMsgWebAPIKey_descriptor_ = file->message_type(1);
  276. static const int CMsgWebAPIKey_offsets_[5] = {
  277. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIKey, status_),
  278. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIKey, account_id_),
  279. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIKey, publisher_group_id_),
  280. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIKey, key_id_),
  281. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIKey, domain_),
  282. };
  283. CMsgWebAPIKey_reflection_ =
  284. new ::google::protobuf::internal::GeneratedMessageReflection(
  285. CMsgWebAPIKey_descriptor_,
  286. CMsgWebAPIKey::default_instance_,
  287. CMsgWebAPIKey_offsets_,
  288. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIKey, _has_bits_[0]),
  289. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIKey, _unknown_fields_),
  290. -1,
  291. ::google::protobuf::DescriptorPool::generated_pool(),
  292. ::google::protobuf::MessageFactory::generated_factory(),
  293. sizeof(CMsgWebAPIKey));
  294. CMsgHttpRequest_descriptor_ = file->message_type(2);
  295. static const int CMsgHttpRequest_offsets_[8] = {
  296. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest, request_method_),
  297. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest, hostname_),
  298. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest, url_),
  299. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest, headers_),
  300. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest, get_params_),
  301. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest, post_params_),
  302. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest, body_),
  303. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest, absolute_timeout_),
  304. };
  305. CMsgHttpRequest_reflection_ =
  306. new ::google::protobuf::internal::GeneratedMessageReflection(
  307. CMsgHttpRequest_descriptor_,
  308. CMsgHttpRequest::default_instance_,
  309. CMsgHttpRequest_offsets_,
  310. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest, _has_bits_[0]),
  311. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest, _unknown_fields_),
  312. -1,
  313. ::google::protobuf::DescriptorPool::generated_pool(),
  314. ::google::protobuf::MessageFactory::generated_factory(),
  315. sizeof(CMsgHttpRequest));
  316. CMsgHttpRequest_RequestHeader_descriptor_ = CMsgHttpRequest_descriptor_->nested_type(0);
  317. static const int CMsgHttpRequest_RequestHeader_offsets_[2] = {
  318. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest_RequestHeader, name_),
  319. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest_RequestHeader, value_),
  320. };
  321. CMsgHttpRequest_RequestHeader_reflection_ =
  322. new ::google::protobuf::internal::GeneratedMessageReflection(
  323. CMsgHttpRequest_RequestHeader_descriptor_,
  324. CMsgHttpRequest_RequestHeader::default_instance_,
  325. CMsgHttpRequest_RequestHeader_offsets_,
  326. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest_RequestHeader, _has_bits_[0]),
  327. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest_RequestHeader, _unknown_fields_),
  328. -1,
  329. ::google::protobuf::DescriptorPool::generated_pool(),
  330. ::google::protobuf::MessageFactory::generated_factory(),
  331. sizeof(CMsgHttpRequest_RequestHeader));
  332. CMsgHttpRequest_QueryParam_descriptor_ = CMsgHttpRequest_descriptor_->nested_type(1);
  333. static const int CMsgHttpRequest_QueryParam_offsets_[2] = {
  334. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest_QueryParam, name_),
  335. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest_QueryParam, value_),
  336. };
  337. CMsgHttpRequest_QueryParam_reflection_ =
  338. new ::google::protobuf::internal::GeneratedMessageReflection(
  339. CMsgHttpRequest_QueryParam_descriptor_,
  340. CMsgHttpRequest_QueryParam::default_instance_,
  341. CMsgHttpRequest_QueryParam_offsets_,
  342. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest_QueryParam, _has_bits_[0]),
  343. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpRequest_QueryParam, _unknown_fields_),
  344. -1,
  345. ::google::protobuf::DescriptorPool::generated_pool(),
  346. ::google::protobuf::MessageFactory::generated_factory(),
  347. sizeof(CMsgHttpRequest_QueryParam));
  348. CMsgWebAPIRequest_descriptor_ = file->message_type(3);
  349. static const int CMsgWebAPIRequest_offsets_[7] = {
  350. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIRequest, unused_job_name_),
  351. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIRequest, interface_name_),
  352. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIRequest, method_name_),
  353. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIRequest, version_),
  354. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIRequest, api_key_),
  355. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIRequest, request_),
  356. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIRequest, routing_app_id_),
  357. };
  358. CMsgWebAPIRequest_reflection_ =
  359. new ::google::protobuf::internal::GeneratedMessageReflection(
  360. CMsgWebAPIRequest_descriptor_,
  361. CMsgWebAPIRequest::default_instance_,
  362. CMsgWebAPIRequest_offsets_,
  363. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIRequest, _has_bits_[0]),
  364. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgWebAPIRequest, _unknown_fields_),
  365. -1,
  366. ::google::protobuf::DescriptorPool::generated_pool(),
  367. ::google::protobuf::MessageFactory::generated_factory(),
  368. sizeof(CMsgWebAPIRequest));
  369. CMsgHttpResponse_descriptor_ = file->message_type(4);
  370. static const int CMsgHttpResponse_offsets_[3] = {
  371. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpResponse, status_code_),
  372. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpResponse, headers_),
  373. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpResponse, body_),
  374. };
  375. CMsgHttpResponse_reflection_ =
  376. new ::google::protobuf::internal::GeneratedMessageReflection(
  377. CMsgHttpResponse_descriptor_,
  378. CMsgHttpResponse::default_instance_,
  379. CMsgHttpResponse_offsets_,
  380. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpResponse, _has_bits_[0]),
  381. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpResponse, _unknown_fields_),
  382. -1,
  383. ::google::protobuf::DescriptorPool::generated_pool(),
  384. ::google::protobuf::MessageFactory::generated_factory(),
  385. sizeof(CMsgHttpResponse));
  386. CMsgHttpResponse_ResponseHeader_descriptor_ = CMsgHttpResponse_descriptor_->nested_type(0);
  387. static const int CMsgHttpResponse_ResponseHeader_offsets_[2] = {
  388. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpResponse_ResponseHeader, name_),
  389. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpResponse_ResponseHeader, value_),
  390. };
  391. CMsgHttpResponse_ResponseHeader_reflection_ =
  392. new ::google::protobuf::internal::GeneratedMessageReflection(
  393. CMsgHttpResponse_ResponseHeader_descriptor_,
  394. CMsgHttpResponse_ResponseHeader::default_instance_,
  395. CMsgHttpResponse_ResponseHeader_offsets_,
  396. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpResponse_ResponseHeader, _has_bits_[0]),
  397. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgHttpResponse_ResponseHeader, _unknown_fields_),
  398. -1,
  399. ::google::protobuf::DescriptorPool::generated_pool(),
  400. ::google::protobuf::MessageFactory::generated_factory(),
  401. sizeof(CMsgHttpResponse_ResponseHeader));
  402. CMsgAMFindAccounts_descriptor_ = file->message_type(5);
  403. static const int CMsgAMFindAccounts_offsets_[2] = {
  404. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMFindAccounts, search_type_),
  405. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMFindAccounts, search_string_),
  406. };
  407. CMsgAMFindAccounts_reflection_ =
  408. new ::google::protobuf::internal::GeneratedMessageReflection(
  409. CMsgAMFindAccounts_descriptor_,
  410. CMsgAMFindAccounts::default_instance_,
  411. CMsgAMFindAccounts_offsets_,
  412. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMFindAccounts, _has_bits_[0]),
  413. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMFindAccounts, _unknown_fields_),
  414. -1,
  415. ::google::protobuf::DescriptorPool::generated_pool(),
  416. ::google::protobuf::MessageFactory::generated_factory(),
  417. sizeof(CMsgAMFindAccounts));
  418. CMsgAMFindAccountsResponse_descriptor_ = file->message_type(6);
  419. static const int CMsgAMFindAccountsResponse_offsets_[1] = {
  420. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMFindAccountsResponse, steam_id_),
  421. };
  422. CMsgAMFindAccountsResponse_reflection_ =
  423. new ::google::protobuf::internal::GeneratedMessageReflection(
  424. CMsgAMFindAccountsResponse_descriptor_,
  425. CMsgAMFindAccountsResponse::default_instance_,
  426. CMsgAMFindAccountsResponse_offsets_,
  427. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMFindAccountsResponse, _has_bits_[0]),
  428. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMFindAccountsResponse, _unknown_fields_),
  429. -1,
  430. ::google::protobuf::DescriptorPool::generated_pool(),
  431. ::google::protobuf::MessageFactory::generated_factory(),
  432. sizeof(CMsgAMFindAccountsResponse));
  433. CMsgNotifyWatchdog_descriptor_ = file->message_type(7);
  434. static const int CMsgNotifyWatchdog_offsets_[7] = {
  435. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotifyWatchdog, source_),
  436. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotifyWatchdog, alert_type_),
  437. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotifyWatchdog, alert_destination_),
  438. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotifyWatchdog, critical_),
  439. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotifyWatchdog, time_),
  440. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotifyWatchdog, appid_),
  441. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotifyWatchdog, text_),
  442. };
  443. CMsgNotifyWatchdog_reflection_ =
  444. new ::google::protobuf::internal::GeneratedMessageReflection(
  445. CMsgNotifyWatchdog_descriptor_,
  446. CMsgNotifyWatchdog::default_instance_,
  447. CMsgNotifyWatchdog_offsets_,
  448. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotifyWatchdog, _has_bits_[0]),
  449. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotifyWatchdog, _unknown_fields_),
  450. -1,
  451. ::google::protobuf::DescriptorPool::generated_pool(),
  452. ::google::protobuf::MessageFactory::generated_factory(),
  453. sizeof(CMsgNotifyWatchdog));
  454. CMsgAMGetLicenses_descriptor_ = file->message_type(8);
  455. static const int CMsgAMGetLicenses_offsets_[1] = {
  456. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetLicenses, steamid_),
  457. };
  458. CMsgAMGetLicenses_reflection_ =
  459. new ::google::protobuf::internal::GeneratedMessageReflection(
  460. CMsgAMGetLicenses_descriptor_,
  461. CMsgAMGetLicenses::default_instance_,
  462. CMsgAMGetLicenses_offsets_,
  463. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetLicenses, _has_bits_[0]),
  464. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetLicenses, _unknown_fields_),
  465. -1,
  466. ::google::protobuf::DescriptorPool::generated_pool(),
  467. ::google::protobuf::MessageFactory::generated_factory(),
  468. sizeof(CMsgAMGetLicenses));
  469. CMsgPackageLicense_descriptor_ = file->message_type(9);
  470. static const int CMsgPackageLicense_offsets_[3] = {
  471. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPackageLicense, package_id_),
  472. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPackageLicense, time_created_),
  473. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPackageLicense, owner_id_),
  474. };
  475. CMsgPackageLicense_reflection_ =
  476. new ::google::protobuf::internal::GeneratedMessageReflection(
  477. CMsgPackageLicense_descriptor_,
  478. CMsgPackageLicense::default_instance_,
  479. CMsgPackageLicense_offsets_,
  480. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPackageLicense, _has_bits_[0]),
  481. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPackageLicense, _unknown_fields_),
  482. -1,
  483. ::google::protobuf::DescriptorPool::generated_pool(),
  484. ::google::protobuf::MessageFactory::generated_factory(),
  485. sizeof(CMsgPackageLicense));
  486. CMsgAMGetLicensesResponse_descriptor_ = file->message_type(10);
  487. static const int CMsgAMGetLicensesResponse_offsets_[2] = {
  488. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetLicensesResponse, license_),
  489. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetLicensesResponse, result_),
  490. };
  491. CMsgAMGetLicensesResponse_reflection_ =
  492. new ::google::protobuf::internal::GeneratedMessageReflection(
  493. CMsgAMGetLicensesResponse_descriptor_,
  494. CMsgAMGetLicensesResponse::default_instance_,
  495. CMsgAMGetLicensesResponse_offsets_,
  496. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetLicensesResponse, _has_bits_[0]),
  497. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetLicensesResponse, _unknown_fields_),
  498. -1,
  499. ::google::protobuf::DescriptorPool::generated_pool(),
  500. ::google::protobuf::MessageFactory::generated_factory(),
  501. sizeof(CMsgAMGetLicensesResponse));
  502. CMsgAMGetUserGameStats_descriptor_ = file->message_type(11);
  503. static const int CMsgAMGetUserGameStats_offsets_[3] = {
  504. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStats, steam_id_),
  505. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStats, game_id_),
  506. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStats, stats_),
  507. };
  508. CMsgAMGetUserGameStats_reflection_ =
  509. new ::google::protobuf::internal::GeneratedMessageReflection(
  510. CMsgAMGetUserGameStats_descriptor_,
  511. CMsgAMGetUserGameStats::default_instance_,
  512. CMsgAMGetUserGameStats_offsets_,
  513. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStats, _has_bits_[0]),
  514. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStats, _unknown_fields_),
  515. -1,
  516. ::google::protobuf::DescriptorPool::generated_pool(),
  517. ::google::protobuf::MessageFactory::generated_factory(),
  518. sizeof(CMsgAMGetUserGameStats));
  519. CMsgAMGetUserGameStatsResponse_descriptor_ = file->message_type(12);
  520. static const int CMsgAMGetUserGameStatsResponse_offsets_[5] = {
  521. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse, steam_id_),
  522. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse, game_id_),
  523. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse, eresult_),
  524. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse, stats_),
  525. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse, achievement_blocks_),
  526. };
  527. CMsgAMGetUserGameStatsResponse_reflection_ =
  528. new ::google::protobuf::internal::GeneratedMessageReflection(
  529. CMsgAMGetUserGameStatsResponse_descriptor_,
  530. CMsgAMGetUserGameStatsResponse::default_instance_,
  531. CMsgAMGetUserGameStatsResponse_offsets_,
  532. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse, _has_bits_[0]),
  533. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse, _unknown_fields_),
  534. -1,
  535. ::google::protobuf::DescriptorPool::generated_pool(),
  536. ::google::protobuf::MessageFactory::generated_factory(),
  537. sizeof(CMsgAMGetUserGameStatsResponse));
  538. CMsgAMGetUserGameStatsResponse_Stats_descriptor_ = CMsgAMGetUserGameStatsResponse_descriptor_->nested_type(0);
  539. static const int CMsgAMGetUserGameStatsResponse_Stats_offsets_[2] = {
  540. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse_Stats, stat_id_),
  541. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse_Stats, stat_value_),
  542. };
  543. CMsgAMGetUserGameStatsResponse_Stats_reflection_ =
  544. new ::google::protobuf::internal::GeneratedMessageReflection(
  545. CMsgAMGetUserGameStatsResponse_Stats_descriptor_,
  546. CMsgAMGetUserGameStatsResponse_Stats::default_instance_,
  547. CMsgAMGetUserGameStatsResponse_Stats_offsets_,
  548. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse_Stats, _has_bits_[0]),
  549. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse_Stats, _unknown_fields_),
  550. -1,
  551. ::google::protobuf::DescriptorPool::generated_pool(),
  552. ::google::protobuf::MessageFactory::generated_factory(),
  553. sizeof(CMsgAMGetUserGameStatsResponse_Stats));
  554. CMsgAMGetUserGameStatsResponse_Achievement_Blocks_descriptor_ = CMsgAMGetUserGameStatsResponse_descriptor_->nested_type(1);
  555. static const int CMsgAMGetUserGameStatsResponse_Achievement_Blocks_offsets_[3] = {
  556. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse_Achievement_Blocks, achievement_id_),
  557. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse_Achievement_Blocks, achievement_bit_id_),
  558. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse_Achievement_Blocks, unlock_time_),
  559. };
  560. CMsgAMGetUserGameStatsResponse_Achievement_Blocks_reflection_ =
  561. new ::google::protobuf::internal::GeneratedMessageReflection(
  562. CMsgAMGetUserGameStatsResponse_Achievement_Blocks_descriptor_,
  563. CMsgAMGetUserGameStatsResponse_Achievement_Blocks::default_instance_,
  564. CMsgAMGetUserGameStatsResponse_Achievement_Blocks_offsets_,
  565. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse_Achievement_Blocks, _has_bits_[0]),
  566. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGetUserGameStatsResponse_Achievement_Blocks, _unknown_fields_),
  567. -1,
  568. ::google::protobuf::DescriptorPool::generated_pool(),
  569. ::google::protobuf::MessageFactory::generated_factory(),
  570. sizeof(CMsgAMGetUserGameStatsResponse_Achievement_Blocks));
  571. CMsgGCGetCommandList_descriptor_ = file->message_type(13);
  572. static const int CMsgGCGetCommandList_offsets_[2] = {
  573. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetCommandList, app_id_),
  574. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetCommandList, command_prefix_),
  575. };
  576. CMsgGCGetCommandList_reflection_ =
  577. new ::google::protobuf::internal::GeneratedMessageReflection(
  578. CMsgGCGetCommandList_descriptor_,
  579. CMsgGCGetCommandList::default_instance_,
  580. CMsgGCGetCommandList_offsets_,
  581. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetCommandList, _has_bits_[0]),
  582. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetCommandList, _unknown_fields_),
  583. -1,
  584. ::google::protobuf::DescriptorPool::generated_pool(),
  585. ::google::protobuf::MessageFactory::generated_factory(),
  586. sizeof(CMsgGCGetCommandList));
  587. CMsgGCGetCommandListResponse_descriptor_ = file->message_type(14);
  588. static const int CMsgGCGetCommandListResponse_offsets_[1] = {
  589. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetCommandListResponse, command_name_),
  590. };
  591. CMsgGCGetCommandListResponse_reflection_ =
  592. new ::google::protobuf::internal::GeneratedMessageReflection(
  593. CMsgGCGetCommandListResponse_descriptor_,
  594. CMsgGCGetCommandListResponse::default_instance_,
  595. CMsgGCGetCommandListResponse_offsets_,
  596. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetCommandListResponse, _has_bits_[0]),
  597. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetCommandListResponse, _unknown_fields_),
  598. -1,
  599. ::google::protobuf::DescriptorPool::generated_pool(),
  600. ::google::protobuf::MessageFactory::generated_factory(),
  601. sizeof(CMsgGCGetCommandListResponse));
  602. CGCMsgMemCachedGet_descriptor_ = file->message_type(15);
  603. static const int CGCMsgMemCachedGet_offsets_[1] = {
  604. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedGet, keys_),
  605. };
  606. CGCMsgMemCachedGet_reflection_ =
  607. new ::google::protobuf::internal::GeneratedMessageReflection(
  608. CGCMsgMemCachedGet_descriptor_,
  609. CGCMsgMemCachedGet::default_instance_,
  610. CGCMsgMemCachedGet_offsets_,
  611. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedGet, _has_bits_[0]),
  612. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedGet, _unknown_fields_),
  613. -1,
  614. ::google::protobuf::DescriptorPool::generated_pool(),
  615. ::google::protobuf::MessageFactory::generated_factory(),
  616. sizeof(CGCMsgMemCachedGet));
  617. CGCMsgMemCachedGetResponse_descriptor_ = file->message_type(16);
  618. static const int CGCMsgMemCachedGetResponse_offsets_[1] = {
  619. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedGetResponse, values_),
  620. };
  621. CGCMsgMemCachedGetResponse_reflection_ =
  622. new ::google::protobuf::internal::GeneratedMessageReflection(
  623. CGCMsgMemCachedGetResponse_descriptor_,
  624. CGCMsgMemCachedGetResponse::default_instance_,
  625. CGCMsgMemCachedGetResponse_offsets_,
  626. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedGetResponse, _has_bits_[0]),
  627. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedGetResponse, _unknown_fields_),
  628. -1,
  629. ::google::protobuf::DescriptorPool::generated_pool(),
  630. ::google::protobuf::MessageFactory::generated_factory(),
  631. sizeof(CGCMsgMemCachedGetResponse));
  632. CGCMsgMemCachedGetResponse_ValueTag_descriptor_ = CGCMsgMemCachedGetResponse_descriptor_->nested_type(0);
  633. static const int CGCMsgMemCachedGetResponse_ValueTag_offsets_[2] = {
  634. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedGetResponse_ValueTag, found_),
  635. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedGetResponse_ValueTag, value_),
  636. };
  637. CGCMsgMemCachedGetResponse_ValueTag_reflection_ =
  638. new ::google::protobuf::internal::GeneratedMessageReflection(
  639. CGCMsgMemCachedGetResponse_ValueTag_descriptor_,
  640. CGCMsgMemCachedGetResponse_ValueTag::default_instance_,
  641. CGCMsgMemCachedGetResponse_ValueTag_offsets_,
  642. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedGetResponse_ValueTag, _has_bits_[0]),
  643. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedGetResponse_ValueTag, _unknown_fields_),
  644. -1,
  645. ::google::protobuf::DescriptorPool::generated_pool(),
  646. ::google::protobuf::MessageFactory::generated_factory(),
  647. sizeof(CGCMsgMemCachedGetResponse_ValueTag));
  648. CGCMsgMemCachedSet_descriptor_ = file->message_type(17);
  649. static const int CGCMsgMemCachedSet_offsets_[1] = {
  650. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedSet, keys_),
  651. };
  652. CGCMsgMemCachedSet_reflection_ =
  653. new ::google::protobuf::internal::GeneratedMessageReflection(
  654. CGCMsgMemCachedSet_descriptor_,
  655. CGCMsgMemCachedSet::default_instance_,
  656. CGCMsgMemCachedSet_offsets_,
  657. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedSet, _has_bits_[0]),
  658. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedSet, _unknown_fields_),
  659. -1,
  660. ::google::protobuf::DescriptorPool::generated_pool(),
  661. ::google::protobuf::MessageFactory::generated_factory(),
  662. sizeof(CGCMsgMemCachedSet));
  663. CGCMsgMemCachedSet_KeyPair_descriptor_ = CGCMsgMemCachedSet_descriptor_->nested_type(0);
  664. static const int CGCMsgMemCachedSet_KeyPair_offsets_[2] = {
  665. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedSet_KeyPair, name_),
  666. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedSet_KeyPair, value_),
  667. };
  668. CGCMsgMemCachedSet_KeyPair_reflection_ =
  669. new ::google::protobuf::internal::GeneratedMessageReflection(
  670. CGCMsgMemCachedSet_KeyPair_descriptor_,
  671. CGCMsgMemCachedSet_KeyPair::default_instance_,
  672. CGCMsgMemCachedSet_KeyPair_offsets_,
  673. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedSet_KeyPair, _has_bits_[0]),
  674. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedSet_KeyPair, _unknown_fields_),
  675. -1,
  676. ::google::protobuf::DescriptorPool::generated_pool(),
  677. ::google::protobuf::MessageFactory::generated_factory(),
  678. sizeof(CGCMsgMemCachedSet_KeyPair));
  679. CGCMsgMemCachedDelete_descriptor_ = file->message_type(18);
  680. static const int CGCMsgMemCachedDelete_offsets_[1] = {
  681. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedDelete, keys_),
  682. };
  683. CGCMsgMemCachedDelete_reflection_ =
  684. new ::google::protobuf::internal::GeneratedMessageReflection(
  685. CGCMsgMemCachedDelete_descriptor_,
  686. CGCMsgMemCachedDelete::default_instance_,
  687. CGCMsgMemCachedDelete_offsets_,
  688. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedDelete, _has_bits_[0]),
  689. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedDelete, _unknown_fields_),
  690. -1,
  691. ::google::protobuf::DescriptorPool::generated_pool(),
  692. ::google::protobuf::MessageFactory::generated_factory(),
  693. sizeof(CGCMsgMemCachedDelete));
  694. CGCMsgMemCachedStats_descriptor_ = file->message_type(19);
  695. static const int CGCMsgMemCachedStats_offsets_[1] = {
  696. };
  697. CGCMsgMemCachedStats_reflection_ =
  698. new ::google::protobuf::internal::GeneratedMessageReflection(
  699. CGCMsgMemCachedStats_descriptor_,
  700. CGCMsgMemCachedStats::default_instance_,
  701. CGCMsgMemCachedStats_offsets_,
  702. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStats, _has_bits_[0]),
  703. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStats, _unknown_fields_),
  704. -1,
  705. ::google::protobuf::DescriptorPool::generated_pool(),
  706. ::google::protobuf::MessageFactory::generated_factory(),
  707. sizeof(CGCMsgMemCachedStats));
  708. CGCMsgMemCachedStatsResponse_descriptor_ = file->message_type(20);
  709. static const int CGCMsgMemCachedStatsResponse_offsets_[14] = {
  710. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, curr_connections_),
  711. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, cmd_get_),
  712. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, cmd_set_),
  713. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, cmd_flush_),
  714. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, get_hits_),
  715. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, get_misses_),
  716. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, delete_hits_),
  717. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, delete_misses_),
  718. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, bytes_read_),
  719. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, bytes_written_),
  720. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, limit_maxbytes_),
  721. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, curr_items_),
  722. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, evictions_),
  723. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, bytes_),
  724. };
  725. CGCMsgMemCachedStatsResponse_reflection_ =
  726. new ::google::protobuf::internal::GeneratedMessageReflection(
  727. CGCMsgMemCachedStatsResponse_descriptor_,
  728. CGCMsgMemCachedStatsResponse::default_instance_,
  729. CGCMsgMemCachedStatsResponse_offsets_,
  730. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, _has_bits_[0]),
  731. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgMemCachedStatsResponse, _unknown_fields_),
  732. -1,
  733. ::google::protobuf::DescriptorPool::generated_pool(),
  734. ::google::protobuf::MessageFactory::generated_factory(),
  735. sizeof(CGCMsgMemCachedStatsResponse));
  736. CGCMsgSQLStats_descriptor_ = file->message_type(21);
  737. static const int CGCMsgSQLStats_offsets_[1] = {
  738. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStats, schema_catalog_),
  739. };
  740. CGCMsgSQLStats_reflection_ =
  741. new ::google::protobuf::internal::GeneratedMessageReflection(
  742. CGCMsgSQLStats_descriptor_,
  743. CGCMsgSQLStats::default_instance_,
  744. CGCMsgSQLStats_offsets_,
  745. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStats, _has_bits_[0]),
  746. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStats, _unknown_fields_),
  747. -1,
  748. ::google::protobuf::DescriptorPool::generated_pool(),
  749. ::google::protobuf::MessageFactory::generated_factory(),
  750. sizeof(CGCMsgSQLStats));
  751. CGCMsgSQLStatsResponse_descriptor_ = file->message_type(22);
  752. static const int CGCMsgSQLStatsResponse_offsets_[9] = {
  753. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStatsResponse, threads_),
  754. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStatsResponse, threads_connected_),
  755. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStatsResponse, threads_active_),
  756. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStatsResponse, operations_submitted_),
  757. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStatsResponse, prepared_statements_executed_),
  758. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStatsResponse, non_prepared_statements_executed_),
  759. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStatsResponse, deadlock_retries_),
  760. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStatsResponse, operations_timed_out_in_queue_),
  761. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStatsResponse, errors_),
  762. };
  763. CGCMsgSQLStatsResponse_reflection_ =
  764. new ::google::protobuf::internal::GeneratedMessageReflection(
  765. CGCMsgSQLStatsResponse_descriptor_,
  766. CGCMsgSQLStatsResponse::default_instance_,
  767. CGCMsgSQLStatsResponse_offsets_,
  768. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStatsResponse, _has_bits_[0]),
  769. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSQLStatsResponse, _unknown_fields_),
  770. -1,
  771. ::google::protobuf::DescriptorPool::generated_pool(),
  772. ::google::protobuf::MessageFactory::generated_factory(),
  773. sizeof(CGCMsgSQLStatsResponse));
  774. CMsgAMAddFreeLicense_descriptor_ = file->message_type(23);
  775. static const int CMsgAMAddFreeLicense_offsets_[4] = {
  776. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMAddFreeLicense, steamid_),
  777. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMAddFreeLicense, ip_public_),
  778. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMAddFreeLicense, packageid_),
  779. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMAddFreeLicense, store_country_code_),
  780. };
  781. CMsgAMAddFreeLicense_reflection_ =
  782. new ::google::protobuf::internal::GeneratedMessageReflection(
  783. CMsgAMAddFreeLicense_descriptor_,
  784. CMsgAMAddFreeLicense::default_instance_,
  785. CMsgAMAddFreeLicense_offsets_,
  786. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMAddFreeLicense, _has_bits_[0]),
  787. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMAddFreeLicense, _unknown_fields_),
  788. -1,
  789. ::google::protobuf::DescriptorPool::generated_pool(),
  790. ::google::protobuf::MessageFactory::generated_factory(),
  791. sizeof(CMsgAMAddFreeLicense));
  792. CMsgAMAddFreeLicenseResponse_descriptor_ = file->message_type(24);
  793. static const int CMsgAMAddFreeLicenseResponse_offsets_[3] = {
  794. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMAddFreeLicenseResponse, eresult_),
  795. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMAddFreeLicenseResponse, purchase_result_detail_),
  796. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMAddFreeLicenseResponse, transid_),
  797. };
  798. CMsgAMAddFreeLicenseResponse_reflection_ =
  799. new ::google::protobuf::internal::GeneratedMessageReflection(
  800. CMsgAMAddFreeLicenseResponse_descriptor_,
  801. CMsgAMAddFreeLicenseResponse::default_instance_,
  802. CMsgAMAddFreeLicenseResponse_offsets_,
  803. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMAddFreeLicenseResponse, _has_bits_[0]),
  804. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMAddFreeLicenseResponse, _unknown_fields_),
  805. -1,
  806. ::google::protobuf::DescriptorPool::generated_pool(),
  807. ::google::protobuf::MessageFactory::generated_factory(),
  808. sizeof(CMsgAMAddFreeLicenseResponse));
  809. CGCMsgGetIPLocation_descriptor_ = file->message_type(25);
  810. static const int CGCMsgGetIPLocation_offsets_[1] = {
  811. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetIPLocation, ips_),
  812. };
  813. CGCMsgGetIPLocation_reflection_ =
  814. new ::google::protobuf::internal::GeneratedMessageReflection(
  815. CGCMsgGetIPLocation_descriptor_,
  816. CGCMsgGetIPLocation::default_instance_,
  817. CGCMsgGetIPLocation_offsets_,
  818. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetIPLocation, _has_bits_[0]),
  819. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetIPLocation, _unknown_fields_),
  820. -1,
  821. ::google::protobuf::DescriptorPool::generated_pool(),
  822. ::google::protobuf::MessageFactory::generated_factory(),
  823. sizeof(CGCMsgGetIPLocation));
  824. CIPLocationInfo_descriptor_ = file->message_type(26);
  825. static const int CIPLocationInfo_offsets_[6] = {
  826. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CIPLocationInfo, ip_),
  827. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CIPLocationInfo, latitude_),
  828. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CIPLocationInfo, longitude_),
  829. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CIPLocationInfo, country_),
  830. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CIPLocationInfo, state_),
  831. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CIPLocationInfo, city_),
  832. };
  833. CIPLocationInfo_reflection_ =
  834. new ::google::protobuf::internal::GeneratedMessageReflection(
  835. CIPLocationInfo_descriptor_,
  836. CIPLocationInfo::default_instance_,
  837. CIPLocationInfo_offsets_,
  838. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CIPLocationInfo, _has_bits_[0]),
  839. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CIPLocationInfo, _unknown_fields_),
  840. -1,
  841. ::google::protobuf::DescriptorPool::generated_pool(),
  842. ::google::protobuf::MessageFactory::generated_factory(),
  843. sizeof(CIPLocationInfo));
  844. CGCMsgGetIPLocationResponse_descriptor_ = file->message_type(27);
  845. static const int CGCMsgGetIPLocationResponse_offsets_[1] = {
  846. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetIPLocationResponse, infos_),
  847. };
  848. CGCMsgGetIPLocationResponse_reflection_ =
  849. new ::google::protobuf::internal::GeneratedMessageReflection(
  850. CGCMsgGetIPLocationResponse_descriptor_,
  851. CGCMsgGetIPLocationResponse::default_instance_,
  852. CGCMsgGetIPLocationResponse_offsets_,
  853. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetIPLocationResponse, _has_bits_[0]),
  854. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetIPLocationResponse, _unknown_fields_),
  855. -1,
  856. ::google::protobuf::DescriptorPool::generated_pool(),
  857. ::google::protobuf::MessageFactory::generated_factory(),
  858. sizeof(CGCMsgGetIPLocationResponse));
  859. CGCMsgSystemStatsSchema_descriptor_ = file->message_type(28);
  860. static const int CGCMsgSystemStatsSchema_offsets_[2] = {
  861. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSystemStatsSchema, gc_app_id_),
  862. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSystemStatsSchema, schema_kv_),
  863. };
  864. CGCMsgSystemStatsSchema_reflection_ =
  865. new ::google::protobuf::internal::GeneratedMessageReflection(
  866. CGCMsgSystemStatsSchema_descriptor_,
  867. CGCMsgSystemStatsSchema::default_instance_,
  868. CGCMsgSystemStatsSchema_offsets_,
  869. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSystemStatsSchema, _has_bits_[0]),
  870. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgSystemStatsSchema, _unknown_fields_),
  871. -1,
  872. ::google::protobuf::DescriptorPool::generated_pool(),
  873. ::google::protobuf::MessageFactory::generated_factory(),
  874. sizeof(CGCMsgSystemStatsSchema));
  875. CGCMsgGetSystemStats_descriptor_ = file->message_type(29);
  876. static const int CGCMsgGetSystemStats_offsets_[1] = {
  877. };
  878. CGCMsgGetSystemStats_reflection_ =
  879. new ::google::protobuf::internal::GeneratedMessageReflection(
  880. CGCMsgGetSystemStats_descriptor_,
  881. CGCMsgGetSystemStats::default_instance_,
  882. CGCMsgGetSystemStats_offsets_,
  883. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStats, _has_bits_[0]),
  884. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStats, _unknown_fields_),
  885. -1,
  886. ::google::protobuf::DescriptorPool::generated_pool(),
  887. ::google::protobuf::MessageFactory::generated_factory(),
  888. sizeof(CGCMsgGetSystemStats));
  889. CGCMsgGetSystemStatsResponse_descriptor_ = file->message_type(30);
  890. static const int CGCMsgGetSystemStatsResponse_offsets_[13] = {
  891. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, gc_app_id_),
  892. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, stats_kv_),
  893. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, active_jobs_),
  894. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, yielding_jobs_),
  895. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, user_sessions_),
  896. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, game_server_sessions_),
  897. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, socaches_),
  898. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, socaches_to_unload_),
  899. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, socaches_loading_),
  900. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, writeback_queue_),
  901. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, steamid_locks_),
  902. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, logon_queue_),
  903. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, logon_jobs_),
  904. };
  905. CGCMsgGetSystemStatsResponse_reflection_ =
  906. new ::google::protobuf::internal::GeneratedMessageReflection(
  907. CGCMsgGetSystemStatsResponse_descriptor_,
  908. CGCMsgGetSystemStatsResponse::default_instance_,
  909. CGCMsgGetSystemStatsResponse_offsets_,
  910. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, _has_bits_[0]),
  911. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCMsgGetSystemStatsResponse, _unknown_fields_),
  912. -1,
  913. ::google::protobuf::DescriptorPool::generated_pool(),
  914. ::google::protobuf::MessageFactory::generated_factory(),
  915. sizeof(CGCMsgGetSystemStatsResponse));
  916. CMsgAMSendEmail_descriptor_ = file->message_type(31);
  917. static const int CMsgAMSendEmail_offsets_[6] = {
  918. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail, steamid_),
  919. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail, email_msg_type_),
  920. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail, email_format_),
  921. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail, persona_name_tokens_),
  922. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail, source_gc_),
  923. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail, tokens_),
  924. };
  925. CMsgAMSendEmail_reflection_ =
  926. new ::google::protobuf::internal::GeneratedMessageReflection(
  927. CMsgAMSendEmail_descriptor_,
  928. CMsgAMSendEmail::default_instance_,
  929. CMsgAMSendEmail_offsets_,
  930. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail, _has_bits_[0]),
  931. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail, _unknown_fields_),
  932. -1,
  933. ::google::protobuf::DescriptorPool::generated_pool(),
  934. ::google::protobuf::MessageFactory::generated_factory(),
  935. sizeof(CMsgAMSendEmail));
  936. CMsgAMSendEmail_ReplacementToken_descriptor_ = CMsgAMSendEmail_descriptor_->nested_type(0);
  937. static const int CMsgAMSendEmail_ReplacementToken_offsets_[2] = {
  938. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail_ReplacementToken, token_name_),
  939. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail_ReplacementToken, token_value_),
  940. };
  941. CMsgAMSendEmail_ReplacementToken_reflection_ =
  942. new ::google::protobuf::internal::GeneratedMessageReflection(
  943. CMsgAMSendEmail_ReplacementToken_descriptor_,
  944. CMsgAMSendEmail_ReplacementToken::default_instance_,
  945. CMsgAMSendEmail_ReplacementToken_offsets_,
  946. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail_ReplacementToken, _has_bits_[0]),
  947. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail_ReplacementToken, _unknown_fields_),
  948. -1,
  949. ::google::protobuf::DescriptorPool::generated_pool(),
  950. ::google::protobuf::MessageFactory::generated_factory(),
  951. sizeof(CMsgAMSendEmail_ReplacementToken));
  952. CMsgAMSendEmail_PersonaNameReplacementToken_descriptor_ = CMsgAMSendEmail_descriptor_->nested_type(1);
  953. static const int CMsgAMSendEmail_PersonaNameReplacementToken_offsets_[2] = {
  954. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail_PersonaNameReplacementToken, steamid_),
  955. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail_PersonaNameReplacementToken, token_name_),
  956. };
  957. CMsgAMSendEmail_PersonaNameReplacementToken_reflection_ =
  958. new ::google::protobuf::internal::GeneratedMessageReflection(
  959. CMsgAMSendEmail_PersonaNameReplacementToken_descriptor_,
  960. CMsgAMSendEmail_PersonaNameReplacementToken::default_instance_,
  961. CMsgAMSendEmail_PersonaNameReplacementToken_offsets_,
  962. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail_PersonaNameReplacementToken, _has_bits_[0]),
  963. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmail_PersonaNameReplacementToken, _unknown_fields_),
  964. -1,
  965. ::google::protobuf::DescriptorPool::generated_pool(),
  966. ::google::protobuf::MessageFactory::generated_factory(),
  967. sizeof(CMsgAMSendEmail_PersonaNameReplacementToken));
  968. CMsgAMSendEmailResponse_descriptor_ = file->message_type(32);
  969. static const int CMsgAMSendEmailResponse_offsets_[1] = {
  970. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmailResponse, eresult_),
  971. };
  972. CMsgAMSendEmailResponse_reflection_ =
  973. new ::google::protobuf::internal::GeneratedMessageReflection(
  974. CMsgAMSendEmailResponse_descriptor_,
  975. CMsgAMSendEmailResponse::default_instance_,
  976. CMsgAMSendEmailResponse_offsets_,
  977. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmailResponse, _has_bits_[0]),
  978. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMSendEmailResponse, _unknown_fields_),
  979. -1,
  980. ::google::protobuf::DescriptorPool::generated_pool(),
  981. ::google::protobuf::MessageFactory::generated_factory(),
  982. sizeof(CMsgAMSendEmailResponse));
  983. CMsgGCGetEmailTemplate_descriptor_ = file->message_type(33);
  984. static const int CMsgGCGetEmailTemplate_offsets_[4] = {
  985. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetEmailTemplate, app_id_),
  986. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetEmailTemplate, email_msg_type_),
  987. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetEmailTemplate, email_lang_),
  988. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetEmailTemplate, email_format_),
  989. };
  990. CMsgGCGetEmailTemplate_reflection_ =
  991. new ::google::protobuf::internal::GeneratedMessageReflection(
  992. CMsgGCGetEmailTemplate_descriptor_,
  993. CMsgGCGetEmailTemplate::default_instance_,
  994. CMsgGCGetEmailTemplate_offsets_,
  995. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetEmailTemplate, _has_bits_[0]),
  996. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetEmailTemplate, _unknown_fields_),
  997. -1,
  998. ::google::protobuf::DescriptorPool::generated_pool(),
  999. ::google::protobuf::MessageFactory::generated_factory(),
  1000. sizeof(CMsgGCGetEmailTemplate));
  1001. CMsgGCGetEmailTemplateResponse_descriptor_ = file->message_type(34);
  1002. static const int CMsgGCGetEmailTemplateResponse_offsets_[3] = {
  1003. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetEmailTemplateResponse, eresult_),
  1004. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetEmailTemplateResponse, template_exists_),
  1005. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetEmailTemplateResponse, template__),
  1006. };
  1007. CMsgGCGetEmailTemplateResponse_reflection_ =
  1008. new ::google::protobuf::internal::GeneratedMessageReflection(
  1009. CMsgGCGetEmailTemplateResponse_descriptor_,
  1010. CMsgGCGetEmailTemplateResponse::default_instance_,
  1011. CMsgGCGetEmailTemplateResponse_offsets_,
  1012. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetEmailTemplateResponse, _has_bits_[0]),
  1013. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetEmailTemplateResponse, _unknown_fields_),
  1014. -1,
  1015. ::google::protobuf::DescriptorPool::generated_pool(),
  1016. ::google::protobuf::MessageFactory::generated_factory(),
  1017. sizeof(CMsgGCGetEmailTemplateResponse));
  1018. CMsgAMGrantGuestPasses2_descriptor_ = file->message_type(35);
  1019. static const int CMsgAMGrantGuestPasses2_offsets_[5] = {
  1020. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGrantGuestPasses2, steam_id_),
  1021. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGrantGuestPasses2, package_id_),
  1022. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGrantGuestPasses2, passes_to_grant_),
  1023. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGrantGuestPasses2, days_to_expiration_),
  1024. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGrantGuestPasses2, action_),
  1025. };
  1026. CMsgAMGrantGuestPasses2_reflection_ =
  1027. new ::google::protobuf::internal::GeneratedMessageReflection(
  1028. CMsgAMGrantGuestPasses2_descriptor_,
  1029. CMsgAMGrantGuestPasses2::default_instance_,
  1030. CMsgAMGrantGuestPasses2_offsets_,
  1031. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGrantGuestPasses2, _has_bits_[0]),
  1032. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGrantGuestPasses2, _unknown_fields_),
  1033. -1,
  1034. ::google::protobuf::DescriptorPool::generated_pool(),
  1035. ::google::protobuf::MessageFactory::generated_factory(),
  1036. sizeof(CMsgAMGrantGuestPasses2));
  1037. CMsgAMGrantGuestPasses2Response_descriptor_ = file->message_type(36);
  1038. static const int CMsgAMGrantGuestPasses2Response_offsets_[2] = {
  1039. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGrantGuestPasses2Response, eresult_),
  1040. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGrantGuestPasses2Response, passes_granted_),
  1041. };
  1042. CMsgAMGrantGuestPasses2Response_reflection_ =
  1043. new ::google::protobuf::internal::GeneratedMessageReflection(
  1044. CMsgAMGrantGuestPasses2Response_descriptor_,
  1045. CMsgAMGrantGuestPasses2Response::default_instance_,
  1046. CMsgAMGrantGuestPasses2Response_offsets_,
  1047. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGrantGuestPasses2Response, _has_bits_[0]),
  1048. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgAMGrantGuestPasses2Response, _unknown_fields_),
  1049. -1,
  1050. ::google::protobuf::DescriptorPool::generated_pool(),
  1051. ::google::protobuf::MessageFactory::generated_factory(),
  1052. sizeof(CMsgAMGrantGuestPasses2Response));
  1053. CGCSystemMsg_GetAccountDetails_descriptor_ = file->message_type(37);
  1054. static const int CGCSystemMsg_GetAccountDetails_offsets_[2] = {
  1055. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails, steamid_),
  1056. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails, appid_),
  1057. };
  1058. CGCSystemMsg_GetAccountDetails_reflection_ =
  1059. new ::google::protobuf::internal::GeneratedMessageReflection(
  1060. CGCSystemMsg_GetAccountDetails_descriptor_,
  1061. CGCSystemMsg_GetAccountDetails::default_instance_,
  1062. CGCSystemMsg_GetAccountDetails_offsets_,
  1063. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails, _has_bits_[0]),
  1064. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails, _unknown_fields_),
  1065. -1,
  1066. ::google::protobuf::DescriptorPool::generated_pool(),
  1067. ::google::protobuf::MessageFactory::generated_factory(),
  1068. sizeof(CGCSystemMsg_GetAccountDetails));
  1069. CGCSystemMsg_GetAccountDetails_Response_descriptor_ = file->message_type(38);
  1070. static const int CGCSystemMsg_GetAccountDetails_Response_offsets_[31] = {
  1071. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, eresult_deprecated_),
  1072. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, account_name_),
  1073. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, persona_name_),
  1074. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_profile_public_),
  1075. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_inventory_public_),
  1076. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_vac_banned_),
  1077. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_cyber_cafe_),
  1078. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_school_account_),
  1079. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_limited_),
  1080. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_subscribed_),
  1081. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, package_),
  1082. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_free_trial_account_),
  1083. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, free_trial_expiration_),
  1084. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_low_violence_),
  1085. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_account_locked_down_),
  1086. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_community_banned_),
  1087. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_trade_banned_),
  1088. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, trade_ban_expiration_),
  1089. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, accountid_),
  1090. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, suspension_end_time_),
  1091. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, currency_),
  1092. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, steam_level_),
  1093. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, friend_count_),
  1094. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, account_creation_time_),
  1095. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_steamguard_enabled_),
  1096. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_phone_verified_),
  1097. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_two_factor_auth_enabled_),
  1098. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, two_factor_enabled_time_),
  1099. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, phone_verification_time_),
  1100. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, phone_id_),
  1101. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, is_phone_identifying_),
  1102. };
  1103. CGCSystemMsg_GetAccountDetails_Response_reflection_ =
  1104. new ::google::protobuf::internal::GeneratedMessageReflection(
  1105. CGCSystemMsg_GetAccountDetails_Response_descriptor_,
  1106. CGCSystemMsg_GetAccountDetails_Response::default_instance_,
  1107. CGCSystemMsg_GetAccountDetails_Response_offsets_,
  1108. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, _has_bits_[0]),
  1109. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetAccountDetails_Response, _unknown_fields_),
  1110. -1,
  1111. ::google::protobuf::DescriptorPool::generated_pool(),
  1112. ::google::protobuf::MessageFactory::generated_factory(),
  1113. sizeof(CGCSystemMsg_GetAccountDetails_Response));
  1114. CMsgGCGetPersonaNames_descriptor_ = file->message_type(39);
  1115. static const int CMsgGCGetPersonaNames_offsets_[1] = {
  1116. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPersonaNames, steamids_),
  1117. };
  1118. CMsgGCGetPersonaNames_reflection_ =
  1119. new ::google::protobuf::internal::GeneratedMessageReflection(
  1120. CMsgGCGetPersonaNames_descriptor_,
  1121. CMsgGCGetPersonaNames::default_instance_,
  1122. CMsgGCGetPersonaNames_offsets_,
  1123. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPersonaNames, _has_bits_[0]),
  1124. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPersonaNames, _unknown_fields_),
  1125. -1,
  1126. ::google::protobuf::DescriptorPool::generated_pool(),
  1127. ::google::protobuf::MessageFactory::generated_factory(),
  1128. sizeof(CMsgGCGetPersonaNames));
  1129. CMsgGCGetPersonaNames_Response_descriptor_ = file->message_type(40);
  1130. static const int CMsgGCGetPersonaNames_Response_offsets_[2] = {
  1131. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPersonaNames_Response, succeeded_lookups_),
  1132. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPersonaNames_Response, failed_lookup_steamids_),
  1133. };
  1134. CMsgGCGetPersonaNames_Response_reflection_ =
  1135. new ::google::protobuf::internal::GeneratedMessageReflection(
  1136. CMsgGCGetPersonaNames_Response_descriptor_,
  1137. CMsgGCGetPersonaNames_Response::default_instance_,
  1138. CMsgGCGetPersonaNames_Response_offsets_,
  1139. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPersonaNames_Response, _has_bits_[0]),
  1140. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPersonaNames_Response, _unknown_fields_),
  1141. -1,
  1142. ::google::protobuf::DescriptorPool::generated_pool(),
  1143. ::google::protobuf::MessageFactory::generated_factory(),
  1144. sizeof(CMsgGCGetPersonaNames_Response));
  1145. CMsgGCGetPersonaNames_Response_PersonaName_descriptor_ = CMsgGCGetPersonaNames_Response_descriptor_->nested_type(0);
  1146. static const int CMsgGCGetPersonaNames_Response_PersonaName_offsets_[2] = {
  1147. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPersonaNames_Response_PersonaName, steamid_),
  1148. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPersonaNames_Response_PersonaName, persona_name_),
  1149. };
  1150. CMsgGCGetPersonaNames_Response_PersonaName_reflection_ =
  1151. new ::google::protobuf::internal::GeneratedMessageReflection(
  1152. CMsgGCGetPersonaNames_Response_PersonaName_descriptor_,
  1153. CMsgGCGetPersonaNames_Response_PersonaName::default_instance_,
  1154. CMsgGCGetPersonaNames_Response_PersonaName_offsets_,
  1155. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPersonaNames_Response_PersonaName, _has_bits_[0]),
  1156. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPersonaNames_Response_PersonaName, _unknown_fields_),
  1157. -1,
  1158. ::google::protobuf::DescriptorPool::generated_pool(),
  1159. ::google::protobuf::MessageFactory::generated_factory(),
  1160. sizeof(CMsgGCGetPersonaNames_Response_PersonaName));
  1161. CMsgGCCheckFriendship_descriptor_ = file->message_type(41);
  1162. static const int CMsgGCCheckFriendship_offsets_[2] = {
  1163. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCheckFriendship, steamid_left_),
  1164. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCheckFriendship, steamid_right_),
  1165. };
  1166. CMsgGCCheckFriendship_reflection_ =
  1167. new ::google::protobuf::internal::GeneratedMessageReflection(
  1168. CMsgGCCheckFriendship_descriptor_,
  1169. CMsgGCCheckFriendship::default_instance_,
  1170. CMsgGCCheckFriendship_offsets_,
  1171. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCheckFriendship, _has_bits_[0]),
  1172. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCheckFriendship, _unknown_fields_),
  1173. -1,
  1174. ::google::protobuf::DescriptorPool::generated_pool(),
  1175. ::google::protobuf::MessageFactory::generated_factory(),
  1176. sizeof(CMsgGCCheckFriendship));
  1177. CMsgGCCheckFriendship_Response_descriptor_ = file->message_type(42);
  1178. static const int CMsgGCCheckFriendship_Response_offsets_[2] = {
  1179. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCheckFriendship_Response, success_),
  1180. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCheckFriendship_Response, found_friendship_),
  1181. };
  1182. CMsgGCCheckFriendship_Response_reflection_ =
  1183. new ::google::protobuf::internal::GeneratedMessageReflection(
  1184. CMsgGCCheckFriendship_Response_descriptor_,
  1185. CMsgGCCheckFriendship_Response::default_instance_,
  1186. CMsgGCCheckFriendship_Response_offsets_,
  1187. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCheckFriendship_Response, _has_bits_[0]),
  1188. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCCheckFriendship_Response, _unknown_fields_),
  1189. -1,
  1190. ::google::protobuf::DescriptorPool::generated_pool(),
  1191. ::google::protobuf::MessageFactory::generated_factory(),
  1192. sizeof(CMsgGCCheckFriendship_Response));
  1193. CMsgGCMsgMasterSetDirectory_descriptor_ = file->message_type(43);
  1194. static const int CMsgGCMsgMasterSetDirectory_offsets_[2] = {
  1195. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory, master_dir_index_),
  1196. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory, dir_),
  1197. };
  1198. CMsgGCMsgMasterSetDirectory_reflection_ =
  1199. new ::google::protobuf::internal::GeneratedMessageReflection(
  1200. CMsgGCMsgMasterSetDirectory_descriptor_,
  1201. CMsgGCMsgMasterSetDirectory::default_instance_,
  1202. CMsgGCMsgMasterSetDirectory_offsets_,
  1203. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory, _has_bits_[0]),
  1204. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory, _unknown_fields_),
  1205. -1,
  1206. ::google::protobuf::DescriptorPool::generated_pool(),
  1207. ::google::protobuf::MessageFactory::generated_factory(),
  1208. sizeof(CMsgGCMsgMasterSetDirectory));
  1209. CMsgGCMsgMasterSetDirectory_SubGC_descriptor_ = CMsgGCMsgMasterSetDirectory_descriptor_->nested_type(0);
  1210. static const int CMsgGCMsgMasterSetDirectory_SubGC_offsets_[5] = {
  1211. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory_SubGC, dir_index_),
  1212. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory_SubGC, name_),
  1213. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory_SubGC, box_),
  1214. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory_SubGC, command_line_),
  1215. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory_SubGC, gc_binary_),
  1216. };
  1217. CMsgGCMsgMasterSetDirectory_SubGC_reflection_ =
  1218. new ::google::protobuf::internal::GeneratedMessageReflection(
  1219. CMsgGCMsgMasterSetDirectory_SubGC_descriptor_,
  1220. CMsgGCMsgMasterSetDirectory_SubGC::default_instance_,
  1221. CMsgGCMsgMasterSetDirectory_SubGC_offsets_,
  1222. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory_SubGC, _has_bits_[0]),
  1223. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory_SubGC, _unknown_fields_),
  1224. -1,
  1225. ::google::protobuf::DescriptorPool::generated_pool(),
  1226. ::google::protobuf::MessageFactory::generated_factory(),
  1227. sizeof(CMsgGCMsgMasterSetDirectory_SubGC));
  1228. CMsgGCMsgMasterSetDirectory_Response_descriptor_ = file->message_type(44);
  1229. static const int CMsgGCMsgMasterSetDirectory_Response_offsets_[1] = {
  1230. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory_Response, eresult_),
  1231. };
  1232. CMsgGCMsgMasterSetDirectory_Response_reflection_ =
  1233. new ::google::protobuf::internal::GeneratedMessageReflection(
  1234. CMsgGCMsgMasterSetDirectory_Response_descriptor_,
  1235. CMsgGCMsgMasterSetDirectory_Response::default_instance_,
  1236. CMsgGCMsgMasterSetDirectory_Response_offsets_,
  1237. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory_Response, _has_bits_[0]),
  1238. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetDirectory_Response, _unknown_fields_),
  1239. -1,
  1240. ::google::protobuf::DescriptorPool::generated_pool(),
  1241. ::google::protobuf::MessageFactory::generated_factory(),
  1242. sizeof(CMsgGCMsgMasterSetDirectory_Response));
  1243. CMsgGCMsgWebAPIJobRequestForwardResponse_descriptor_ = file->message_type(45);
  1244. static const int CMsgGCMsgWebAPIJobRequestForwardResponse_offsets_[1] = {
  1245. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgWebAPIJobRequestForwardResponse, dir_index_),
  1246. };
  1247. CMsgGCMsgWebAPIJobRequestForwardResponse_reflection_ =
  1248. new ::google::protobuf::internal::GeneratedMessageReflection(
  1249. CMsgGCMsgWebAPIJobRequestForwardResponse_descriptor_,
  1250. CMsgGCMsgWebAPIJobRequestForwardResponse::default_instance_,
  1251. CMsgGCMsgWebAPIJobRequestForwardResponse_offsets_,
  1252. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgWebAPIJobRequestForwardResponse, _has_bits_[0]),
  1253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgWebAPIJobRequestForwardResponse, _unknown_fields_),
  1254. -1,
  1255. ::google::protobuf::DescriptorPool::generated_pool(),
  1256. ::google::protobuf::MessageFactory::generated_factory(),
  1257. sizeof(CMsgGCMsgWebAPIJobRequestForwardResponse));
  1258. CGCSystemMsg_GetPurchaseTrust_Request_descriptor_ = file->message_type(46);
  1259. static const int CGCSystemMsg_GetPurchaseTrust_Request_offsets_[1] = {
  1260. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetPurchaseTrust_Request, steamid_),
  1261. };
  1262. CGCSystemMsg_GetPurchaseTrust_Request_reflection_ =
  1263. new ::google::protobuf::internal::GeneratedMessageReflection(
  1264. CGCSystemMsg_GetPurchaseTrust_Request_descriptor_,
  1265. CGCSystemMsg_GetPurchaseTrust_Request::default_instance_,
  1266. CGCSystemMsg_GetPurchaseTrust_Request_offsets_,
  1267. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetPurchaseTrust_Request, _has_bits_[0]),
  1268. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetPurchaseTrust_Request, _unknown_fields_),
  1269. -1,
  1270. ::google::protobuf::DescriptorPool::generated_pool(),
  1271. ::google::protobuf::MessageFactory::generated_factory(),
  1272. sizeof(CGCSystemMsg_GetPurchaseTrust_Request));
  1273. CGCSystemMsg_GetPurchaseTrust_Response_descriptor_ = file->message_type(47);
  1274. static const int CGCSystemMsg_GetPurchaseTrust_Response_offsets_[4] = {
  1275. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetPurchaseTrust_Response, has_prior_purchase_history_),
  1276. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetPurchaseTrust_Response, has_no_recent_password_resets_),
  1277. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetPurchaseTrust_Response, is_wallet_cash_trusted_),
  1278. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetPurchaseTrust_Response, time_all_trusted_),
  1279. };
  1280. CGCSystemMsg_GetPurchaseTrust_Response_reflection_ =
  1281. new ::google::protobuf::internal::GeneratedMessageReflection(
  1282. CGCSystemMsg_GetPurchaseTrust_Response_descriptor_,
  1283. CGCSystemMsg_GetPurchaseTrust_Response::default_instance_,
  1284. CGCSystemMsg_GetPurchaseTrust_Response_offsets_,
  1285. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetPurchaseTrust_Response, _has_bits_[0]),
  1286. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CGCSystemMsg_GetPurchaseTrust_Response, _unknown_fields_),
  1287. -1,
  1288. ::google::protobuf::DescriptorPool::generated_pool(),
  1289. ::google::protobuf::MessageFactory::generated_factory(),
  1290. sizeof(CGCSystemMsg_GetPurchaseTrust_Response));
  1291. CMsgGCHAccountVacStatusChange_descriptor_ = file->message_type(48);
  1292. static const int CMsgGCHAccountVacStatusChange_offsets_[5] = {
  1293. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHAccountVacStatusChange, steam_id_),
  1294. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHAccountVacStatusChange, app_id_),
  1295. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHAccountVacStatusChange, rtime_vacban_starts_),
  1296. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHAccountVacStatusChange, is_banned_now_),
  1297. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHAccountVacStatusChange, is_banned_future_),
  1298. };
  1299. CMsgGCHAccountVacStatusChange_reflection_ =
  1300. new ::google::protobuf::internal::GeneratedMessageReflection(
  1301. CMsgGCHAccountVacStatusChange_descriptor_,
  1302. CMsgGCHAccountVacStatusChange::default_instance_,
  1303. CMsgGCHAccountVacStatusChange_offsets_,
  1304. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHAccountVacStatusChange, _has_bits_[0]),
  1305. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHAccountVacStatusChange, _unknown_fields_),
  1306. -1,
  1307. ::google::protobuf::DescriptorPool::generated_pool(),
  1308. ::google::protobuf::MessageFactory::generated_factory(),
  1309. sizeof(CMsgGCHAccountVacStatusChange));
  1310. CMsgGCGetPartnerAccountLink_descriptor_ = file->message_type(49);
  1311. static const int CMsgGCGetPartnerAccountLink_offsets_[1] = {
  1312. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPartnerAccountLink, steamid_),
  1313. };
  1314. CMsgGCGetPartnerAccountLink_reflection_ =
  1315. new ::google::protobuf::internal::GeneratedMessageReflection(
  1316. CMsgGCGetPartnerAccountLink_descriptor_,
  1317. CMsgGCGetPartnerAccountLink::default_instance_,
  1318. CMsgGCGetPartnerAccountLink_offsets_,
  1319. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPartnerAccountLink, _has_bits_[0]),
  1320. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPartnerAccountLink, _unknown_fields_),
  1321. -1,
  1322. ::google::protobuf::DescriptorPool::generated_pool(),
  1323. ::google::protobuf::MessageFactory::generated_factory(),
  1324. sizeof(CMsgGCGetPartnerAccountLink));
  1325. CMsgGCGetPartnerAccountLink_Response_descriptor_ = file->message_type(50);
  1326. static const int CMsgGCGetPartnerAccountLink_Response_offsets_[2] = {
  1327. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPartnerAccountLink_Response, pwid_),
  1328. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPartnerAccountLink_Response, nexonid_),
  1329. };
  1330. CMsgGCGetPartnerAccountLink_Response_reflection_ =
  1331. new ::google::protobuf::internal::GeneratedMessageReflection(
  1332. CMsgGCGetPartnerAccountLink_Response_descriptor_,
  1333. CMsgGCGetPartnerAccountLink_Response::default_instance_,
  1334. CMsgGCGetPartnerAccountLink_Response_offsets_,
  1335. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPartnerAccountLink_Response, _has_bits_[0]),
  1336. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCGetPartnerAccountLink_Response, _unknown_fields_),
  1337. -1,
  1338. ::google::protobuf::DescriptorPool::generated_pool(),
  1339. ::google::protobuf::MessageFactory::generated_factory(),
  1340. sizeof(CMsgGCGetPartnerAccountLink_Response));
  1341. CMsgGCRoutingInfo_descriptor_ = file->message_type(51);
  1342. static const int CMsgGCRoutingInfo_offsets_[5] = {
  1343. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRoutingInfo, dir_index_),
  1344. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRoutingInfo, method_),
  1345. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRoutingInfo, fallback_),
  1346. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRoutingInfo, protobuf_field_),
  1347. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRoutingInfo, webapi_param_),
  1348. };
  1349. CMsgGCRoutingInfo_reflection_ =
  1350. new ::google::protobuf::internal::GeneratedMessageReflection(
  1351. CMsgGCRoutingInfo_descriptor_,
  1352. CMsgGCRoutingInfo::default_instance_,
  1353. CMsgGCRoutingInfo_offsets_,
  1354. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRoutingInfo, _has_bits_[0]),
  1355. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCRoutingInfo, _unknown_fields_),
  1356. -1,
  1357. ::google::protobuf::DescriptorPool::generated_pool(),
  1358. ::google::protobuf::MessageFactory::generated_factory(),
  1359. sizeof(CMsgGCRoutingInfo));
  1360. CMsgGCRoutingInfo_RoutingMethod_descriptor_ = CMsgGCRoutingInfo_descriptor_->enum_type(0);
  1361. CMsgGCMsgMasterSetWebAPIRouting_descriptor_ = file->message_type(52);
  1362. static const int CMsgGCMsgMasterSetWebAPIRouting_offsets_[1] = {
  1363. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetWebAPIRouting, entries_),
  1364. };
  1365. CMsgGCMsgMasterSetWebAPIRouting_reflection_ =
  1366. new ::google::protobuf::internal::GeneratedMessageReflection(
  1367. CMsgGCMsgMasterSetWebAPIRouting_descriptor_,
  1368. CMsgGCMsgMasterSetWebAPIRouting::default_instance_,
  1369. CMsgGCMsgMasterSetWebAPIRouting_offsets_,
  1370. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetWebAPIRouting, _has_bits_[0]),
  1371. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetWebAPIRouting, _unknown_fields_),
  1372. -1,
  1373. ::google::protobuf::DescriptorPool::generated_pool(),
  1374. ::google::protobuf::MessageFactory::generated_factory(),
  1375. sizeof(CMsgGCMsgMasterSetWebAPIRouting));
  1376. CMsgGCMsgMasterSetWebAPIRouting_Entry_descriptor_ = CMsgGCMsgMasterSetWebAPIRouting_descriptor_->nested_type(0);
  1377. static const int CMsgGCMsgMasterSetWebAPIRouting_Entry_offsets_[3] = {
  1378. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetWebAPIRouting_Entry, interface_name_),
  1379. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetWebAPIRouting_Entry, method_name_),
  1380. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetWebAPIRouting_Entry, routing_),
  1381. };
  1382. CMsgGCMsgMasterSetWebAPIRouting_Entry_reflection_ =
  1383. new ::google::protobuf::internal::GeneratedMessageReflection(
  1384. CMsgGCMsgMasterSetWebAPIRouting_Entry_descriptor_,
  1385. CMsgGCMsgMasterSetWebAPIRouting_Entry::default_instance_,
  1386. CMsgGCMsgMasterSetWebAPIRouting_Entry_offsets_,
  1387. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetWebAPIRouting_Entry, _has_bits_[0]),
  1388. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetWebAPIRouting_Entry, _unknown_fields_),
  1389. -1,
  1390. ::google::protobuf::DescriptorPool::generated_pool(),
  1391. ::google::protobuf::MessageFactory::generated_factory(),
  1392. sizeof(CMsgGCMsgMasterSetWebAPIRouting_Entry));
  1393. CMsgGCMsgMasterSetClientMsgRouting_descriptor_ = file->message_type(53);
  1394. static const int CMsgGCMsgMasterSetClientMsgRouting_offsets_[1] = {
  1395. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetClientMsgRouting, entries_),
  1396. };
  1397. CMsgGCMsgMasterSetClientMsgRouting_reflection_ =
  1398. new ::google::protobuf::internal::GeneratedMessageReflection(
  1399. CMsgGCMsgMasterSetClientMsgRouting_descriptor_,
  1400. CMsgGCMsgMasterSetClientMsgRouting::default_instance_,
  1401. CMsgGCMsgMasterSetClientMsgRouting_offsets_,
  1402. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetClientMsgRouting, _has_bits_[0]),
  1403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetClientMsgRouting, _unknown_fields_),
  1404. -1,
  1405. ::google::protobuf::DescriptorPool::generated_pool(),
  1406. ::google::protobuf::MessageFactory::generated_factory(),
  1407. sizeof(CMsgGCMsgMasterSetClientMsgRouting));
  1408. CMsgGCMsgMasterSetClientMsgRouting_Entry_descriptor_ = CMsgGCMsgMasterSetClientMsgRouting_descriptor_->nested_type(0);
  1409. static const int CMsgGCMsgMasterSetClientMsgRouting_Entry_offsets_[2] = {
  1410. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetClientMsgRouting_Entry, msg_type_),
  1411. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetClientMsgRouting_Entry, routing_),
  1412. };
  1413. CMsgGCMsgMasterSetClientMsgRouting_Entry_reflection_ =
  1414. new ::google::protobuf::internal::GeneratedMessageReflection(
  1415. CMsgGCMsgMasterSetClientMsgRouting_Entry_descriptor_,
  1416. CMsgGCMsgMasterSetClientMsgRouting_Entry::default_instance_,
  1417. CMsgGCMsgMasterSetClientMsgRouting_Entry_offsets_,
  1418. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetClientMsgRouting_Entry, _has_bits_[0]),
  1419. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetClientMsgRouting_Entry, _unknown_fields_),
  1420. -1,
  1421. ::google::protobuf::DescriptorPool::generated_pool(),
  1422. ::google::protobuf::MessageFactory::generated_factory(),
  1423. sizeof(CMsgGCMsgMasterSetClientMsgRouting_Entry));
  1424. CMsgGCMsgMasterSetWebAPIRouting_Response_descriptor_ = file->message_type(54);
  1425. static const int CMsgGCMsgMasterSetWebAPIRouting_Response_offsets_[1] = {
  1426. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetWebAPIRouting_Response, eresult_),
  1427. };
  1428. CMsgGCMsgMasterSetWebAPIRouting_Response_reflection_ =
  1429. new ::google::protobuf::internal::GeneratedMessageReflection(
  1430. CMsgGCMsgMasterSetWebAPIRouting_Response_descriptor_,
  1431. CMsgGCMsgMasterSetWebAPIRouting_Response::default_instance_,
  1432. CMsgGCMsgMasterSetWebAPIRouting_Response_offsets_,
  1433. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetWebAPIRouting_Response, _has_bits_[0]),
  1434. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetWebAPIRouting_Response, _unknown_fields_),
  1435. -1,
  1436. ::google::protobuf::DescriptorPool::generated_pool(),
  1437. ::google::protobuf::MessageFactory::generated_factory(),
  1438. sizeof(CMsgGCMsgMasterSetWebAPIRouting_Response));
  1439. CMsgGCMsgMasterSetClientMsgRouting_Response_descriptor_ = file->message_type(55);
  1440. static const int CMsgGCMsgMasterSetClientMsgRouting_Response_offsets_[1] = {
  1441. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetClientMsgRouting_Response, eresult_),
  1442. };
  1443. CMsgGCMsgMasterSetClientMsgRouting_Response_reflection_ =
  1444. new ::google::protobuf::internal::GeneratedMessageReflection(
  1445. CMsgGCMsgMasterSetClientMsgRouting_Response_descriptor_,
  1446. CMsgGCMsgMasterSetClientMsgRouting_Response::default_instance_,
  1447. CMsgGCMsgMasterSetClientMsgRouting_Response_offsets_,
  1448. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetClientMsgRouting_Response, _has_bits_[0]),
  1449. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgMasterSetClientMsgRouting_Response, _unknown_fields_),
  1450. -1,
  1451. ::google::protobuf::DescriptorPool::generated_pool(),
  1452. ::google::protobuf::MessageFactory::generated_factory(),
  1453. sizeof(CMsgGCMsgMasterSetClientMsgRouting_Response));
  1454. CMsgGCMsgSetOptions_descriptor_ = file->message_type(56);
  1455. static const int CMsgGCMsgSetOptions_offsets_[2] = {
  1456. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgSetOptions, options_),
  1457. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgSetOptions, client_msg_ranges_),
  1458. };
  1459. CMsgGCMsgSetOptions_reflection_ =
  1460. new ::google::protobuf::internal::GeneratedMessageReflection(
  1461. CMsgGCMsgSetOptions_descriptor_,
  1462. CMsgGCMsgSetOptions::default_instance_,
  1463. CMsgGCMsgSetOptions_offsets_,
  1464. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgSetOptions, _has_bits_[0]),
  1465. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgSetOptions, _unknown_fields_),
  1466. -1,
  1467. ::google::protobuf::DescriptorPool::generated_pool(),
  1468. ::google::protobuf::MessageFactory::generated_factory(),
  1469. sizeof(CMsgGCMsgSetOptions));
  1470. CMsgGCMsgSetOptions_MessageRange_descriptor_ = CMsgGCMsgSetOptions_descriptor_->nested_type(0);
  1471. static const int CMsgGCMsgSetOptions_MessageRange_offsets_[2] = {
  1472. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgSetOptions_MessageRange, low_),
  1473. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgSetOptions_MessageRange, high_),
  1474. };
  1475. CMsgGCMsgSetOptions_MessageRange_reflection_ =
  1476. new ::google::protobuf::internal::GeneratedMessageReflection(
  1477. CMsgGCMsgSetOptions_MessageRange_descriptor_,
  1478. CMsgGCMsgSetOptions_MessageRange::default_instance_,
  1479. CMsgGCMsgSetOptions_MessageRange_offsets_,
  1480. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgSetOptions_MessageRange, _has_bits_[0]),
  1481. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCMsgSetOptions_MessageRange, _unknown_fields_),
  1482. -1,
  1483. ::google::protobuf::DescriptorPool::generated_pool(),
  1484. ::google::protobuf::MessageFactory::generated_factory(),
  1485. sizeof(CMsgGCMsgSetOptions_MessageRange));
  1486. CMsgGCMsgSetOptions_Option_descriptor_ = CMsgGCMsgSetOptions_descriptor_->enum_type(0);
  1487. CMsgGCHUpdateSession_descriptor_ = file->message_type(57);
  1488. static const int CMsgGCHUpdateSession_offsets_[9] = {
  1489. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession, steam_id_),
  1490. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession, app_id_),
  1491. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession, online_),
  1492. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession, server_steam_id_),
  1493. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession, server_addr_),
  1494. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession, server_port_),
  1495. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession, os_type_),
  1496. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession, client_addr_),
  1497. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession, extra_fields_),
  1498. };
  1499. CMsgGCHUpdateSession_reflection_ =
  1500. new ::google::protobuf::internal::GeneratedMessageReflection(
  1501. CMsgGCHUpdateSession_descriptor_,
  1502. CMsgGCHUpdateSession::default_instance_,
  1503. CMsgGCHUpdateSession_offsets_,
  1504. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession, _has_bits_[0]),
  1505. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession, _unknown_fields_),
  1506. -1,
  1507. ::google::protobuf::DescriptorPool::generated_pool(),
  1508. ::google::protobuf::MessageFactory::generated_factory(),
  1509. sizeof(CMsgGCHUpdateSession));
  1510. CMsgGCHUpdateSession_ExtraField_descriptor_ = CMsgGCHUpdateSession_descriptor_->nested_type(0);
  1511. static const int CMsgGCHUpdateSession_ExtraField_offsets_[2] = {
  1512. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession_ExtraField, name_),
  1513. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession_ExtraField, value_),
  1514. };
  1515. CMsgGCHUpdateSession_ExtraField_reflection_ =
  1516. new ::google::protobuf::internal::GeneratedMessageReflection(
  1517. CMsgGCHUpdateSession_ExtraField_descriptor_,
  1518. CMsgGCHUpdateSession_ExtraField::default_instance_,
  1519. CMsgGCHUpdateSession_ExtraField_offsets_,
  1520. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession_ExtraField, _has_bits_[0]),
  1521. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgGCHUpdateSession_ExtraField, _unknown_fields_),
  1522. -1,
  1523. ::google::protobuf::DescriptorPool::generated_pool(),
  1524. ::google::protobuf::MessageFactory::generated_factory(),
  1525. sizeof(CMsgGCHUpdateSession_ExtraField));
  1526. CMsgNotificationOfSuspiciousActivity_descriptor_ = file->message_type(58);
  1527. static const int CMsgNotificationOfSuspiciousActivity_offsets_[3] = {
  1528. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotificationOfSuspiciousActivity, steamid_),
  1529. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotificationOfSuspiciousActivity, appid_),
  1530. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotificationOfSuspiciousActivity, multiple_instances_),
  1531. };
  1532. CMsgNotificationOfSuspiciousActivity_reflection_ =
  1533. new ::google::protobuf::internal::GeneratedMessageReflection(
  1534. CMsgNotificationOfSuspiciousActivity_descriptor_,
  1535. CMsgNotificationOfSuspiciousActivity::default_instance_,
  1536. CMsgNotificationOfSuspiciousActivity_offsets_,
  1537. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotificationOfSuspiciousActivity, _has_bits_[0]),
  1538. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotificationOfSuspiciousActivity, _unknown_fields_),
  1539. -1,
  1540. ::google::protobuf::DescriptorPool::generated_pool(),
  1541. ::google::protobuf::MessageFactory::generated_factory(),
  1542. sizeof(CMsgNotificationOfSuspiciousActivity));
  1543. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_descriptor_ = CMsgNotificationOfSuspiciousActivity_descriptor_->nested_type(0);
  1544. static const int CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_offsets_[2] = {
  1545. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotificationOfSuspiciousActivity_MultipleGameInstances, app_instance_count_),
  1546. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotificationOfSuspiciousActivity_MultipleGameInstances, other_steamids_),
  1547. };
  1548. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_reflection_ =
  1549. new ::google::protobuf::internal::GeneratedMessageReflection(
  1550. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_descriptor_,
  1551. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::default_instance_,
  1552. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_offsets_,
  1553. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotificationOfSuspiciousActivity_MultipleGameInstances, _has_bits_[0]),
  1554. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgNotificationOfSuspiciousActivity_MultipleGameInstances, _unknown_fields_),
  1555. -1,
  1556. ::google::protobuf::DescriptorPool::generated_pool(),
  1557. ::google::protobuf::MessageFactory::generated_factory(),
  1558. sizeof(CMsgNotificationOfSuspiciousActivity_MultipleGameInstances));
  1559. GCProtoBufMsgSrc_descriptor_ = file->enum_type(0);
  1560. }
  1561. namespace {
  1562. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  1563. inline void protobuf_AssignDescriptorsOnce() {
  1564. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  1565. &protobuf_AssignDesc_steammessages_2eproto);
  1566. }
  1567. void protobuf_RegisterTypes(const ::std::string&) {
  1568. protobuf_AssignDescriptorsOnce();
  1569. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1570. CMsgProtoBufHeader_descriptor_, &CMsgProtoBufHeader::default_instance());
  1571. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1572. CMsgWebAPIKey_descriptor_, &CMsgWebAPIKey::default_instance());
  1573. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1574. CMsgHttpRequest_descriptor_, &CMsgHttpRequest::default_instance());
  1575. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1576. CMsgHttpRequest_RequestHeader_descriptor_, &CMsgHttpRequest_RequestHeader::default_instance());
  1577. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1578. CMsgHttpRequest_QueryParam_descriptor_, &CMsgHttpRequest_QueryParam::default_instance());
  1579. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1580. CMsgWebAPIRequest_descriptor_, &CMsgWebAPIRequest::default_instance());
  1581. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1582. CMsgHttpResponse_descriptor_, &CMsgHttpResponse::default_instance());
  1583. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1584. CMsgHttpResponse_ResponseHeader_descriptor_, &CMsgHttpResponse_ResponseHeader::default_instance());
  1585. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1586. CMsgAMFindAccounts_descriptor_, &CMsgAMFindAccounts::default_instance());
  1587. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1588. CMsgAMFindAccountsResponse_descriptor_, &CMsgAMFindAccountsResponse::default_instance());
  1589. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1590. CMsgNotifyWatchdog_descriptor_, &CMsgNotifyWatchdog::default_instance());
  1591. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1592. CMsgAMGetLicenses_descriptor_, &CMsgAMGetLicenses::default_instance());
  1593. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1594. CMsgPackageLicense_descriptor_, &CMsgPackageLicense::default_instance());
  1595. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1596. CMsgAMGetLicensesResponse_descriptor_, &CMsgAMGetLicensesResponse::default_instance());
  1597. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1598. CMsgAMGetUserGameStats_descriptor_, &CMsgAMGetUserGameStats::default_instance());
  1599. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1600. CMsgAMGetUserGameStatsResponse_descriptor_, &CMsgAMGetUserGameStatsResponse::default_instance());
  1601. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1602. CMsgAMGetUserGameStatsResponse_Stats_descriptor_, &CMsgAMGetUserGameStatsResponse_Stats::default_instance());
  1603. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1604. CMsgAMGetUserGameStatsResponse_Achievement_Blocks_descriptor_, &CMsgAMGetUserGameStatsResponse_Achievement_Blocks::default_instance());
  1605. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1606. CMsgGCGetCommandList_descriptor_, &CMsgGCGetCommandList::default_instance());
  1607. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1608. CMsgGCGetCommandListResponse_descriptor_, &CMsgGCGetCommandListResponse::default_instance());
  1609. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1610. CGCMsgMemCachedGet_descriptor_, &CGCMsgMemCachedGet::default_instance());
  1611. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1612. CGCMsgMemCachedGetResponse_descriptor_, &CGCMsgMemCachedGetResponse::default_instance());
  1613. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1614. CGCMsgMemCachedGetResponse_ValueTag_descriptor_, &CGCMsgMemCachedGetResponse_ValueTag::default_instance());
  1615. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1616. CGCMsgMemCachedSet_descriptor_, &CGCMsgMemCachedSet::default_instance());
  1617. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1618. CGCMsgMemCachedSet_KeyPair_descriptor_, &CGCMsgMemCachedSet_KeyPair::default_instance());
  1619. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1620. CGCMsgMemCachedDelete_descriptor_, &CGCMsgMemCachedDelete::default_instance());
  1621. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1622. CGCMsgMemCachedStats_descriptor_, &CGCMsgMemCachedStats::default_instance());
  1623. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1624. CGCMsgMemCachedStatsResponse_descriptor_, &CGCMsgMemCachedStatsResponse::default_instance());
  1625. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1626. CGCMsgSQLStats_descriptor_, &CGCMsgSQLStats::default_instance());
  1627. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1628. CGCMsgSQLStatsResponse_descriptor_, &CGCMsgSQLStatsResponse::default_instance());
  1629. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1630. CMsgAMAddFreeLicense_descriptor_, &CMsgAMAddFreeLicense::default_instance());
  1631. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1632. CMsgAMAddFreeLicenseResponse_descriptor_, &CMsgAMAddFreeLicenseResponse::default_instance());
  1633. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1634. CGCMsgGetIPLocation_descriptor_, &CGCMsgGetIPLocation::default_instance());
  1635. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1636. CIPLocationInfo_descriptor_, &CIPLocationInfo::default_instance());
  1637. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1638. CGCMsgGetIPLocationResponse_descriptor_, &CGCMsgGetIPLocationResponse::default_instance());
  1639. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1640. CGCMsgSystemStatsSchema_descriptor_, &CGCMsgSystemStatsSchema::default_instance());
  1641. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1642. CGCMsgGetSystemStats_descriptor_, &CGCMsgGetSystemStats::default_instance());
  1643. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1644. CGCMsgGetSystemStatsResponse_descriptor_, &CGCMsgGetSystemStatsResponse::default_instance());
  1645. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1646. CMsgAMSendEmail_descriptor_, &CMsgAMSendEmail::default_instance());
  1647. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1648. CMsgAMSendEmail_ReplacementToken_descriptor_, &CMsgAMSendEmail_ReplacementToken::default_instance());
  1649. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1650. CMsgAMSendEmail_PersonaNameReplacementToken_descriptor_, &CMsgAMSendEmail_PersonaNameReplacementToken::default_instance());
  1651. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1652. CMsgAMSendEmailResponse_descriptor_, &CMsgAMSendEmailResponse::default_instance());
  1653. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1654. CMsgGCGetEmailTemplate_descriptor_, &CMsgGCGetEmailTemplate::default_instance());
  1655. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1656. CMsgGCGetEmailTemplateResponse_descriptor_, &CMsgGCGetEmailTemplateResponse::default_instance());
  1657. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1658. CMsgAMGrantGuestPasses2_descriptor_, &CMsgAMGrantGuestPasses2::default_instance());
  1659. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1660. CMsgAMGrantGuestPasses2Response_descriptor_, &CMsgAMGrantGuestPasses2Response::default_instance());
  1661. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1662. CGCSystemMsg_GetAccountDetails_descriptor_, &CGCSystemMsg_GetAccountDetails::default_instance());
  1663. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1664. CGCSystemMsg_GetAccountDetails_Response_descriptor_, &CGCSystemMsg_GetAccountDetails_Response::default_instance());
  1665. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1666. CMsgGCGetPersonaNames_descriptor_, &CMsgGCGetPersonaNames::default_instance());
  1667. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1668. CMsgGCGetPersonaNames_Response_descriptor_, &CMsgGCGetPersonaNames_Response::default_instance());
  1669. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1670. CMsgGCGetPersonaNames_Response_PersonaName_descriptor_, &CMsgGCGetPersonaNames_Response_PersonaName::default_instance());
  1671. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1672. CMsgGCCheckFriendship_descriptor_, &CMsgGCCheckFriendship::default_instance());
  1673. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1674. CMsgGCCheckFriendship_Response_descriptor_, &CMsgGCCheckFriendship_Response::default_instance());
  1675. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1676. CMsgGCMsgMasterSetDirectory_descriptor_, &CMsgGCMsgMasterSetDirectory::default_instance());
  1677. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1678. CMsgGCMsgMasterSetDirectory_SubGC_descriptor_, &CMsgGCMsgMasterSetDirectory_SubGC::default_instance());
  1679. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1680. CMsgGCMsgMasterSetDirectory_Response_descriptor_, &CMsgGCMsgMasterSetDirectory_Response::default_instance());
  1681. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1682. CMsgGCMsgWebAPIJobRequestForwardResponse_descriptor_, &CMsgGCMsgWebAPIJobRequestForwardResponse::default_instance());
  1683. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1684. CGCSystemMsg_GetPurchaseTrust_Request_descriptor_, &CGCSystemMsg_GetPurchaseTrust_Request::default_instance());
  1685. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1686. CGCSystemMsg_GetPurchaseTrust_Response_descriptor_, &CGCSystemMsg_GetPurchaseTrust_Response::default_instance());
  1687. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1688. CMsgGCHAccountVacStatusChange_descriptor_, &CMsgGCHAccountVacStatusChange::default_instance());
  1689. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1690. CMsgGCGetPartnerAccountLink_descriptor_, &CMsgGCGetPartnerAccountLink::default_instance());
  1691. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1692. CMsgGCGetPartnerAccountLink_Response_descriptor_, &CMsgGCGetPartnerAccountLink_Response::default_instance());
  1693. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1694. CMsgGCRoutingInfo_descriptor_, &CMsgGCRoutingInfo::default_instance());
  1695. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1696. CMsgGCMsgMasterSetWebAPIRouting_descriptor_, &CMsgGCMsgMasterSetWebAPIRouting::default_instance());
  1697. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1698. CMsgGCMsgMasterSetWebAPIRouting_Entry_descriptor_, &CMsgGCMsgMasterSetWebAPIRouting_Entry::default_instance());
  1699. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1700. CMsgGCMsgMasterSetClientMsgRouting_descriptor_, &CMsgGCMsgMasterSetClientMsgRouting::default_instance());
  1701. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1702. CMsgGCMsgMasterSetClientMsgRouting_Entry_descriptor_, &CMsgGCMsgMasterSetClientMsgRouting_Entry::default_instance());
  1703. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1704. CMsgGCMsgMasterSetWebAPIRouting_Response_descriptor_, &CMsgGCMsgMasterSetWebAPIRouting_Response::default_instance());
  1705. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1706. CMsgGCMsgMasterSetClientMsgRouting_Response_descriptor_, &CMsgGCMsgMasterSetClientMsgRouting_Response::default_instance());
  1707. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1708. CMsgGCMsgSetOptions_descriptor_, &CMsgGCMsgSetOptions::default_instance());
  1709. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1710. CMsgGCMsgSetOptions_MessageRange_descriptor_, &CMsgGCMsgSetOptions_MessageRange::default_instance());
  1711. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1712. CMsgGCHUpdateSession_descriptor_, &CMsgGCHUpdateSession::default_instance());
  1713. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1714. CMsgGCHUpdateSession_ExtraField_descriptor_, &CMsgGCHUpdateSession_ExtraField::default_instance());
  1715. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1716. CMsgNotificationOfSuspiciousActivity_descriptor_, &CMsgNotificationOfSuspiciousActivity::default_instance());
  1717. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1718. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_descriptor_, &CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::default_instance());
  1719. }
  1720. } // namespace
  1721. void protobuf_ShutdownFile_steammessages_2eproto() {
  1722. delete CMsgProtoBufHeader::default_instance_;
  1723. delete CMsgProtoBufHeader_reflection_;
  1724. delete CMsgWebAPIKey::default_instance_;
  1725. delete CMsgWebAPIKey_reflection_;
  1726. delete CMsgHttpRequest::default_instance_;
  1727. delete CMsgHttpRequest_reflection_;
  1728. delete CMsgHttpRequest_RequestHeader::default_instance_;
  1729. delete CMsgHttpRequest_RequestHeader_reflection_;
  1730. delete CMsgHttpRequest_QueryParam::default_instance_;
  1731. delete CMsgHttpRequest_QueryParam_reflection_;
  1732. delete CMsgWebAPIRequest::default_instance_;
  1733. delete CMsgWebAPIRequest_reflection_;
  1734. delete CMsgHttpResponse::default_instance_;
  1735. delete CMsgHttpResponse_reflection_;
  1736. delete CMsgHttpResponse_ResponseHeader::default_instance_;
  1737. delete CMsgHttpResponse_ResponseHeader_reflection_;
  1738. delete CMsgAMFindAccounts::default_instance_;
  1739. delete CMsgAMFindAccounts_reflection_;
  1740. delete CMsgAMFindAccountsResponse::default_instance_;
  1741. delete CMsgAMFindAccountsResponse_reflection_;
  1742. delete CMsgNotifyWatchdog::default_instance_;
  1743. delete CMsgNotifyWatchdog_reflection_;
  1744. delete CMsgAMGetLicenses::default_instance_;
  1745. delete CMsgAMGetLicenses_reflection_;
  1746. delete CMsgPackageLicense::default_instance_;
  1747. delete CMsgPackageLicense_reflection_;
  1748. delete CMsgAMGetLicensesResponse::default_instance_;
  1749. delete CMsgAMGetLicensesResponse_reflection_;
  1750. delete CMsgAMGetUserGameStats::default_instance_;
  1751. delete CMsgAMGetUserGameStats_reflection_;
  1752. delete CMsgAMGetUserGameStatsResponse::default_instance_;
  1753. delete CMsgAMGetUserGameStatsResponse_reflection_;
  1754. delete CMsgAMGetUserGameStatsResponse_Stats::default_instance_;
  1755. delete CMsgAMGetUserGameStatsResponse_Stats_reflection_;
  1756. delete CMsgAMGetUserGameStatsResponse_Achievement_Blocks::default_instance_;
  1757. delete CMsgAMGetUserGameStatsResponse_Achievement_Blocks_reflection_;
  1758. delete CMsgGCGetCommandList::default_instance_;
  1759. delete CMsgGCGetCommandList_reflection_;
  1760. delete CMsgGCGetCommandListResponse::default_instance_;
  1761. delete CMsgGCGetCommandListResponse_reflection_;
  1762. delete CGCMsgMemCachedGet::default_instance_;
  1763. delete CGCMsgMemCachedGet_reflection_;
  1764. delete CGCMsgMemCachedGetResponse::default_instance_;
  1765. delete CGCMsgMemCachedGetResponse_reflection_;
  1766. delete CGCMsgMemCachedGetResponse_ValueTag::default_instance_;
  1767. delete CGCMsgMemCachedGetResponse_ValueTag_reflection_;
  1768. delete CGCMsgMemCachedSet::default_instance_;
  1769. delete CGCMsgMemCachedSet_reflection_;
  1770. delete CGCMsgMemCachedSet_KeyPair::default_instance_;
  1771. delete CGCMsgMemCachedSet_KeyPair_reflection_;
  1772. delete CGCMsgMemCachedDelete::default_instance_;
  1773. delete CGCMsgMemCachedDelete_reflection_;
  1774. delete CGCMsgMemCachedStats::default_instance_;
  1775. delete CGCMsgMemCachedStats_reflection_;
  1776. delete CGCMsgMemCachedStatsResponse::default_instance_;
  1777. delete CGCMsgMemCachedStatsResponse_reflection_;
  1778. delete CGCMsgSQLStats::default_instance_;
  1779. delete CGCMsgSQLStats_reflection_;
  1780. delete CGCMsgSQLStatsResponse::default_instance_;
  1781. delete CGCMsgSQLStatsResponse_reflection_;
  1782. delete CMsgAMAddFreeLicense::default_instance_;
  1783. delete CMsgAMAddFreeLicense_reflection_;
  1784. delete CMsgAMAddFreeLicenseResponse::default_instance_;
  1785. delete CMsgAMAddFreeLicenseResponse_reflection_;
  1786. delete CGCMsgGetIPLocation::default_instance_;
  1787. delete CGCMsgGetIPLocation_reflection_;
  1788. delete CIPLocationInfo::default_instance_;
  1789. delete CIPLocationInfo_reflection_;
  1790. delete CGCMsgGetIPLocationResponse::default_instance_;
  1791. delete CGCMsgGetIPLocationResponse_reflection_;
  1792. delete CGCMsgSystemStatsSchema::default_instance_;
  1793. delete CGCMsgSystemStatsSchema_reflection_;
  1794. delete CGCMsgGetSystemStats::default_instance_;
  1795. delete CGCMsgGetSystemStats_reflection_;
  1796. delete CGCMsgGetSystemStatsResponse::default_instance_;
  1797. delete CGCMsgGetSystemStatsResponse_reflection_;
  1798. delete CMsgAMSendEmail::default_instance_;
  1799. delete CMsgAMSendEmail_reflection_;
  1800. delete CMsgAMSendEmail_ReplacementToken::default_instance_;
  1801. delete CMsgAMSendEmail_ReplacementToken_reflection_;
  1802. delete CMsgAMSendEmail_PersonaNameReplacementToken::default_instance_;
  1803. delete CMsgAMSendEmail_PersonaNameReplacementToken_reflection_;
  1804. delete CMsgAMSendEmailResponse::default_instance_;
  1805. delete CMsgAMSendEmailResponse_reflection_;
  1806. delete CMsgGCGetEmailTemplate::default_instance_;
  1807. delete CMsgGCGetEmailTemplate_reflection_;
  1808. delete CMsgGCGetEmailTemplateResponse::default_instance_;
  1809. delete CMsgGCGetEmailTemplateResponse_reflection_;
  1810. delete CMsgAMGrantGuestPasses2::default_instance_;
  1811. delete CMsgAMGrantGuestPasses2_reflection_;
  1812. delete CMsgAMGrantGuestPasses2Response::default_instance_;
  1813. delete CMsgAMGrantGuestPasses2Response_reflection_;
  1814. delete CGCSystemMsg_GetAccountDetails::default_instance_;
  1815. delete CGCSystemMsg_GetAccountDetails_reflection_;
  1816. delete CGCSystemMsg_GetAccountDetails_Response::default_instance_;
  1817. delete CGCSystemMsg_GetAccountDetails_Response_reflection_;
  1818. delete CMsgGCGetPersonaNames::default_instance_;
  1819. delete CMsgGCGetPersonaNames_reflection_;
  1820. delete CMsgGCGetPersonaNames_Response::default_instance_;
  1821. delete CMsgGCGetPersonaNames_Response_reflection_;
  1822. delete CMsgGCGetPersonaNames_Response_PersonaName::default_instance_;
  1823. delete CMsgGCGetPersonaNames_Response_PersonaName_reflection_;
  1824. delete CMsgGCCheckFriendship::default_instance_;
  1825. delete CMsgGCCheckFriendship_reflection_;
  1826. delete CMsgGCCheckFriendship_Response::default_instance_;
  1827. delete CMsgGCCheckFriendship_Response_reflection_;
  1828. delete CMsgGCMsgMasterSetDirectory::default_instance_;
  1829. delete CMsgGCMsgMasterSetDirectory_reflection_;
  1830. delete CMsgGCMsgMasterSetDirectory_SubGC::default_instance_;
  1831. delete CMsgGCMsgMasterSetDirectory_SubGC_reflection_;
  1832. delete CMsgGCMsgMasterSetDirectory_Response::default_instance_;
  1833. delete CMsgGCMsgMasterSetDirectory_Response_reflection_;
  1834. delete CMsgGCMsgWebAPIJobRequestForwardResponse::default_instance_;
  1835. delete CMsgGCMsgWebAPIJobRequestForwardResponse_reflection_;
  1836. delete CGCSystemMsg_GetPurchaseTrust_Request::default_instance_;
  1837. delete CGCSystemMsg_GetPurchaseTrust_Request_reflection_;
  1838. delete CGCSystemMsg_GetPurchaseTrust_Response::default_instance_;
  1839. delete CGCSystemMsg_GetPurchaseTrust_Response_reflection_;
  1840. delete CMsgGCHAccountVacStatusChange::default_instance_;
  1841. delete CMsgGCHAccountVacStatusChange_reflection_;
  1842. delete CMsgGCGetPartnerAccountLink::default_instance_;
  1843. delete CMsgGCGetPartnerAccountLink_reflection_;
  1844. delete CMsgGCGetPartnerAccountLink_Response::default_instance_;
  1845. delete CMsgGCGetPartnerAccountLink_Response_reflection_;
  1846. delete CMsgGCRoutingInfo::default_instance_;
  1847. delete CMsgGCRoutingInfo_reflection_;
  1848. delete CMsgGCMsgMasterSetWebAPIRouting::default_instance_;
  1849. delete CMsgGCMsgMasterSetWebAPIRouting_reflection_;
  1850. delete CMsgGCMsgMasterSetWebAPIRouting_Entry::default_instance_;
  1851. delete CMsgGCMsgMasterSetWebAPIRouting_Entry_reflection_;
  1852. delete CMsgGCMsgMasterSetClientMsgRouting::default_instance_;
  1853. delete CMsgGCMsgMasterSetClientMsgRouting_reflection_;
  1854. delete CMsgGCMsgMasterSetClientMsgRouting_Entry::default_instance_;
  1855. delete CMsgGCMsgMasterSetClientMsgRouting_Entry_reflection_;
  1856. delete CMsgGCMsgMasterSetWebAPIRouting_Response::default_instance_;
  1857. delete CMsgGCMsgMasterSetWebAPIRouting_Response_reflection_;
  1858. delete CMsgGCMsgMasterSetClientMsgRouting_Response::default_instance_;
  1859. delete CMsgGCMsgMasterSetClientMsgRouting_Response_reflection_;
  1860. delete CMsgGCMsgSetOptions::default_instance_;
  1861. delete CMsgGCMsgSetOptions_reflection_;
  1862. delete CMsgGCMsgSetOptions_MessageRange::default_instance_;
  1863. delete CMsgGCMsgSetOptions_MessageRange_reflection_;
  1864. delete CMsgGCHUpdateSession::default_instance_;
  1865. delete CMsgGCHUpdateSession_reflection_;
  1866. delete CMsgGCHUpdateSession_ExtraField::default_instance_;
  1867. delete CMsgGCHUpdateSession_ExtraField_reflection_;
  1868. delete CMsgNotificationOfSuspiciousActivity::default_instance_;
  1869. delete CMsgNotificationOfSuspiciousActivity_reflection_;
  1870. delete CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::default_instance_;
  1871. delete CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_reflection_;
  1872. }
  1873. void protobuf_AddDesc_steammessages_2eproto() {
  1874. static bool already_here = false;
  1875. if (already_here) return;
  1876. already_here = true;
  1877. GOOGLE_PROTOBUF_VERIFY_VERSION;
  1878. ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  1879. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  1880. "\n\023steammessages.proto\032 google/protobuf/d"
  1881. "escriptor.proto\"\317\002\n\022CMsgProtoBufHeader\022\027"
  1882. "\n\017client_steam_id\030\001 \001(\006\022\031\n\021client_sessio"
  1883. "n_id\030\002 \001(\005\022\025\n\rsource_app_id\030\003 \001(\r\022+\n\rjob"
  1884. "_id_source\030\n \001(\006:\02418446744073709551615\022+"
  1885. "\n\rjob_id_target\030\013 \001(\006:\02418446744073709551"
  1886. "615\022\027\n\017target_job_name\030\014 \001(\t\022\022\n\007eresult\030"
  1887. "\r \001(\005:\0012\022\025\n\rerror_message\030\016 \001(\t\022&\n\ngc_ms"
  1888. "g_src\030\310\001 \001(\0162\021.GCProtoBufMsgSrc\022\034\n\023gc_di"
  1889. "r_index_source\030\311\001 \001(\r:\n\200\246\035\200\002\210\246\035\200\010\"z\n\rCMs"
  1890. "gWebAPIKey\022\023\n\006status\030\001 \001(\r:\003255\022\025\n\naccou"
  1891. "nt_id\030\002 \001(\r:\0010\022\035\n\022publisher_group_id\030\003 \001"
  1892. "(\r:\0010\022\016\n\006key_id\030\004 \001(\r\022\016\n\006domain\030\005 \001(\t\"\335\002"
  1893. "\n\017CMsgHttpRequest\022\026\n\016request_method\030\001 \001("
  1894. "\r\022\020\n\010hostname\030\002 \001(\t\022\013\n\003url\030\003 \001(\t\022/\n\007head"
  1895. "ers\030\004 \003(\0132\036.CMsgHttpRequest.RequestHeade"
  1896. "r\022/\n\nget_params\030\005 \003(\0132\033.CMsgHttpRequest."
  1897. "QueryParam\0220\n\013post_params\030\006 \003(\0132\033.CMsgHt"
  1898. "tpRequest.QueryParam\022\014\n\004body\030\007 \001(\014\022\030\n\020ab"
  1899. "solute_timeout\030\010 \001(\r\032,\n\rRequestHeader\022\014\n"
  1900. "\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\032)\n\nQueryParam"
  1901. "\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\014\"\306\001\n\021CMsgWe"
  1902. "bAPIRequest\022\027\n\017UNUSED_job_name\030\001 \001(\t\022\026\n\016"
  1903. "interface_name\030\002 \001(\t\022\023\n\013method_name\030\003 \001("
  1904. "\t\022\017\n\007version\030\004 \001(\r\022\037\n\007api_key\030\005 \001(\0132\016.CM"
  1905. "sgWebAPIKey\022!\n\007request\030\006 \001(\0132\020.CMsgHttpR"
  1906. "equest\022\026\n\016routing_app_id\030\007 \001(\r\"\227\001\n\020CMsgH"
  1907. "ttpResponse\022\023\n\013status_code\030\001 \001(\r\0221\n\007head"
  1908. "ers\030\002 \003(\0132 .CMsgHttpResponse.ResponseHea"
  1909. "der\022\014\n\004body\030\003 \001(\014\032-\n\016ResponseHeader\022\014\n\004n"
  1910. "ame\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"@\n\022CMsgAMFindAc"
  1911. "counts\022\023\n\013search_type\030\001 \001(\r\022\025\n\rsearch_st"
  1912. "ring\030\002 \001(\t\".\n\032CMsgAMFindAccountsResponse"
  1913. "\022\020\n\010steam_id\030\001 \003(\006\"\220\001\n\022CMsgNotifyWatchdo"
  1914. "g\022\016\n\006source\030\001 \001(\r\022\022\n\nalert_type\030\002 \001(\r\022\031\n"
  1915. "\021alert_destination\030\003 \001(\r\022\020\n\010critical\030\004 \001"
  1916. "(\010\022\014\n\004time\030\005 \001(\r\022\r\n\005appid\030\006 \001(\r\022\014\n\004text\030"
  1917. "\007 \001(\t\"$\n\021CMsgAMGetLicenses\022\017\n\007steamid\030\001 "
  1918. "\001(\006\"P\n\022CMsgPackageLicense\022\022\n\npackage_id\030"
  1919. "\001 \001(\r\022\024\n\014time_created\030\002 \001(\r\022\020\n\010owner_id\030"
  1920. "\003 \001(\r\"Q\n\031CMsgAMGetLicensesResponse\022$\n\007li"
  1921. "cense\030\001 \003(\0132\023.CMsgPackageLicense\022\016\n\006resu"
  1922. "lt\030\002 \001(\r\"J\n\026CMsgAMGetUserGameStats\022\020\n\010st"
  1923. "eam_id\030\001 \001(\006\022\017\n\007game_id\030\002 \001(\006\022\r\n\005stats\030\003"
  1924. " \003(\r\"\352\002\n\036CMsgAMGetUserGameStatsResponse\022"
  1925. "\020\n\010steam_id\030\001 \001(\006\022\017\n\007game_id\030\002 \001(\006\022\022\n\007er"
  1926. "esult\030\003 \001(\005:\0012\0224\n\005stats\030\004 \003(\0132%.CMsgAMGe"
  1927. "tUserGameStatsResponse.Stats\022N\n\022achievem"
  1928. "ent_blocks\030\005 \003(\01322.CMsgAMGetUserGameStat"
  1929. "sResponse.Achievement_Blocks\032,\n\005Stats\022\017\n"
  1930. "\007stat_id\030\001 \001(\r\022\022\n\nstat_value\030\002 \001(\r\032]\n\022Ac"
  1931. "hievement_Blocks\022\026\n\016achievement_id\030\001 \001(\r"
  1932. "\022\032\n\022achievement_bit_id\030\002 \001(\r\022\023\n\013unlock_t"
  1933. "ime\030\003 \001(\007\">\n\024CMsgGCGetCommandList\022\016\n\006app"
  1934. "_id\030\001 \001(\r\022\026\n\016command_prefix\030\002 \001(\t\"4\n\034CMs"
  1935. "gGCGetCommandListResponse\022\024\n\014command_nam"
  1936. "e\030\001 \003(\t\"\"\n\022CGCMsgMemCachedGet\022\014\n\004keys\030\001 "
  1937. "\003(\t\"|\n\032CGCMsgMemCachedGetResponse\0224\n\006val"
  1938. "ues\030\001 \003(\0132$.CGCMsgMemCachedGetResponse.V"
  1939. "alueTag\032(\n\010ValueTag\022\r\n\005found\030\001 \001(\010\022\r\n\005va"
  1940. "lue\030\002 \001(\014\"g\n\022CGCMsgMemCachedSet\022)\n\004keys\030"
  1941. "\001 \003(\0132\033.CGCMsgMemCachedSet.KeyPair\032&\n\007Ke"
  1942. "yPair\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\014\"%\n\025CG"
  1943. "CMsgMemCachedDelete\022\014\n\004keys\030\001 \003(\t\"\026\n\024CGC"
  1944. "MsgMemCachedStats\"\270\002\n\034CGCMsgMemCachedSta"
  1945. "tsResponse\022\030\n\020curr_connections\030\001 \001(\004\022\017\n\007"
  1946. "cmd_get\030\002 \001(\004\022\017\n\007cmd_set\030\003 \001(\004\022\021\n\tcmd_fl"
  1947. "ush\030\004 \001(\004\022\020\n\010get_hits\030\005 \001(\004\022\022\n\nget_misse"
  1948. "s\030\006 \001(\004\022\023\n\013delete_hits\030\007 \001(\004\022\025\n\rdelete_m"
  1949. "isses\030\010 \001(\004\022\022\n\nbytes_read\030\t \001(\004\022\025\n\rbytes"
  1950. "_written\030\n \001(\004\022\026\n\016limit_maxbytes\030\013 \001(\004\022\022"
  1951. "\n\ncurr_items\030\014 \001(\004\022\021\n\tevictions\030\r \001(\004\022\r\n"
  1952. "\005bytes\030\016 \001(\004\"(\n\016CGCMsgSQLStats\022\026\n\016schema"
  1953. "_catalog\030\001 \001(\r\"\233\002\n\026CGCMsgSQLStatsRespons"
  1954. "e\022\017\n\007threads\030\001 \001(\r\022\031\n\021threads_connected\030"
  1955. "\002 \001(\r\022\026\n\016threads_active\030\003 \001(\r\022\034\n\024operati"
  1956. "ons_submitted\030\004 \001(\r\022$\n\034prepared_statemen"
  1957. "ts_executed\030\005 \001(\r\022(\n non_prepared_statem"
  1958. "ents_executed\030\006 \001(\r\022\030\n\020deadlock_retries\030"
  1959. "\007 \001(\r\022%\n\035operations_timed_out_in_queue\030\010"
  1960. " \001(\r\022\016\n\006errors\030\t \001(\r\"i\n\024CMsgAMAddFreeLic"
  1961. "ense\022\017\n\007steamid\030\001 \001(\006\022\021\n\tip_public\030\002 \001(\r"
  1962. "\022\021\n\tpackageid\030\003 \001(\r\022\032\n\022store_country_cod"
  1963. "e\030\004 \001(\t\"c\n\034CMsgAMAddFreeLicenseResponse\022"
  1964. "\022\n\007eresult\030\001 \001(\005:\0012\022\036\n\026purchase_result_d"
  1965. "etail\030\002 \001(\005\022\017\n\007transid\030\003 \001(\006\"\"\n\023CGCMsgGe"
  1966. "tIPLocation\022\013\n\003ips\030\001 \003(\007\"p\n\017CIPLocationI"
  1967. "nfo\022\n\n\002ip\030\001 \001(\r\022\020\n\010latitude\030\002 \001(\002\022\021\n\tlon"
  1968. "gitude\030\003 \001(\002\022\017\n\007country\030\004 \001(\t\022\r\n\005state\030\005"
  1969. " \001(\t\022\014\n\004city\030\006 \001(\t\">\n\033CGCMsgGetIPLocatio"
  1970. "nResponse\022\037\n\005infos\030\001 \003(\0132\020.CIPLocationIn"
  1971. "fo\"\?\n\027CGCMsgSystemStatsSchema\022\021\n\tgc_app_"
  1972. "id\030\001 \001(\r\022\021\n\tschema_kv\030\002 \001(\014\"\026\n\024CGCMsgGet"
  1973. "SystemStats\"\305\002\n\034CGCMsgGetSystemStatsResp"
  1974. "onse\022\021\n\tgc_app_id\030\001 \001(\r\022\020\n\010stats_kv\030\002 \001("
  1975. "\014\022\023\n\013active_jobs\030\003 \001(\r\022\025\n\ryielding_jobs\030"
  1976. "\004 \001(\r\022\025\n\ruser_sessions\030\005 \001(\r\022\034\n\024game_ser"
  1977. "ver_sessions\030\006 \001(\r\022\020\n\010socaches\030\007 \001(\r\022\032\n\022"
  1978. "socaches_to_unload\030\010 \001(\r\022\030\n\020socaches_loa"
  1979. "ding\030\t \001(\r\022\027\n\017writeback_queue\030\n \001(\r\022\025\n\rs"
  1980. "teamid_locks\030\013 \001(\r\022\023\n\013logon_queue\030\014 \001(\r\022"
  1981. "\022\n\nlogon_jobs\030\r \001(\r\"\342\002\n\017CMsgAMSendEmail\022"
  1982. "\017\n\007steamid\030\001 \001(\006\022\026\n\016email_msg_type\030\002 \001(\r"
  1983. "\022\024\n\014email_format\030\003 \001(\r\022I\n\023persona_name_t"
  1984. "okens\030\005 \003(\0132,.CMsgAMSendEmail.PersonaNam"
  1985. "eReplacementToken\022\021\n\tsource_gc\030\006 \001(\r\0221\n\006"
  1986. "tokens\030\007 \003(\0132!.CMsgAMSendEmail.Replaceme"
  1987. "ntToken\032;\n\020ReplacementToken\022\022\n\ntoken_nam"
  1988. "e\030\001 \001(\t\022\023\n\013token_value\030\002 \001(\t\032B\n\033PersonaN"
  1989. "ameReplacementToken\022\017\n\007steamid\030\001 \001(\006\022\022\n\n"
  1990. "token_name\030\002 \001(\t\"-\n\027CMsgAMSendEmailRespo"
  1991. "nse\022\022\n\007eresult\030\001 \001(\r:\0012\"j\n\026CMsgGCGetEmai"
  1992. "lTemplate\022\016\n\006app_id\030\001 \001(\r\022\026\n\016email_msg_t"
  1993. "ype\030\002 \001(\r\022\022\n\nemail_lang\030\003 \001(\005\022\024\n\014email_f"
  1994. "ormat\030\004 \001(\005\"_\n\036CMsgGCGetEmailTemplateRes"
  1995. "ponse\022\022\n\007eresult\030\001 \001(\r:\0012\022\027\n\017template_ex"
  1996. "ists\030\002 \001(\010\022\020\n\010template\030\003 \001(\t\"\204\001\n\027CMsgAMG"
  1997. "rantGuestPasses2\022\020\n\010steam_id\030\001 \001(\006\022\022\n\npa"
  1998. "ckage_id\030\002 \001(\r\022\027\n\017passes_to_grant\030\003 \001(\005\022"
  1999. "\032\n\022days_to_expiration\030\004 \001(\005\022\016\n\006action\030\005 "
  2000. "\001(\005\"P\n\037CMsgAMGrantGuestPasses2Response\022\022"
  2001. "\n\007eresult\030\001 \001(\005:\0012\022\031\n\016passes_granted\030\002 \001"
  2002. "(\005:\0010\"L\n\036CGCSystemMsg_GetAccountDetails\022"
  2003. "\017\n\007steamid\030\001 \001(\006\022\r\n\005appid\030\002 \001(\r:\n\200\246\035\200\001\210\246"
  2004. "\035\200\004\"\344\006\n\'CGCSystemMsg_GetAccountDetails_R"
  2005. "esponse\022\035\n\022eresult_deprecated\030\001 \001(\r:\0012\022\024"
  2006. "\n\014account_name\030\002 \001(\t\022\024\n\014persona_name\030\003 \001"
  2007. "(\t\022\031\n\021is_profile_public\030\004 \001(\010\022\033\n\023is_inve"
  2008. "ntory_public\030\005 \001(\010\022\025\n\ris_vac_banned\030\007 \001("
  2009. "\010\022\025\n\ris_cyber_cafe\030\010 \001(\010\022\031\n\021is_school_ac"
  2010. "count\030\t \001(\010\022\022\n\nis_limited\030\n \001(\010\022\025\n\ris_su"
  2011. "bscribed\030\013 \001(\010\022\017\n\007package\030\014 \001(\r\022\035\n\025is_fr"
  2012. "ee_trial_account\030\r \001(\010\022\035\n\025free_trial_exp"
  2013. "iration\030\016 \001(\r\022\027\n\017is_low_violence\030\017 \001(\010\022\036"
  2014. "\n\026is_account_locked_down\030\020 \001(\010\022\033\n\023is_com"
  2015. "munity_banned\030\021 \001(\010\022\027\n\017is_trade_banned\030\022"
  2016. " \001(\010\022\034\n\024trade_ban_expiration\030\023 \001(\r\022\021\n\tac"
  2017. "countid\030\024 \001(\r\022\033\n\023suspension_end_time\030\025 \001"
  2018. "(\r\022\020\n\010currency\030\026 \001(\t\022\023\n\013steam_level\030\027 \001("
  2019. "\r\022\024\n\014friend_count\030\030 \001(\r\022\035\n\025account_creat"
  2020. "ion_time\030\031 \001(\r\022\035\n\025is_steamguard_enabled\030"
  2021. "\033 \001(\010\022\031\n\021is_phone_verified\030\034 \001(\010\022\"\n\032is_t"
  2022. "wo_factor_auth_enabled\030\035 \001(\010\022\037\n\027two_fact"
  2023. "or_enabled_time\030\036 \001(\r\022\037\n\027phone_verificat"
  2024. "ion_time\030\037 \001(\r\022\020\n\010phone_id\030! \001(\004\022\034\n\024is_p"
  2025. "hone_identifying\030\" \001(\010:\n\200\246\035\200\001\210\246\035\200\004\")\n\025CM"
  2026. "sgGCGetPersonaNames\022\020\n\010steamids\030\001 \003(\006\"\276\001"
  2027. "\n\036CMsgGCGetPersonaNames_Response\022F\n\021succ"
  2028. "eeded_lookups\030\001 \003(\0132+.CMsgGCGetPersonaNa"
  2029. "mes_Response.PersonaName\022\036\n\026failed_looku"
  2030. "p_steamids\030\002 \003(\006\0324\n\013PersonaName\022\017\n\007steam"
  2031. "id\030\001 \001(\006\022\024\n\014persona_name\030\002 \001(\t\"D\n\025CMsgGC"
  2032. "CheckFriendship\022\024\n\014steamid_left\030\001 \001(\006\022\025\n"
  2033. "\rsteamid_right\030\002 \001(\006\"K\n\036CMsgGCCheckFrien"
  2034. "dship_Response\022\017\n\007success\030\001 \001(\010\022\030\n\020found"
  2035. "_friendship\030\002 \001(\010\"\310\001\n\033CMsgGCMsgMasterSet"
  2036. "Directory\022\030\n\020master_dir_index\030\001 \001(\r\022/\n\003d"
  2037. "ir\030\002 \003(\0132\".CMsgGCMsgMasterSetDirectory.S"
  2038. "ubGC\032^\n\005SubGC\022\021\n\tdir_index\030\001 \001(\r\022\014\n\004name"
  2039. "\030\002 \001(\t\022\013\n\003box\030\003 \001(\t\022\024\n\014command_line\030\004 \001("
  2040. "\t\022\021\n\tgc_binary\030\005 \001(\t\":\n$CMsgGCMsgMasterS"
  2041. "etDirectory_Response\022\022\n\007eresult\030\001 \001(\005:\0012"
  2042. "\"=\n(CMsgGCMsgWebAPIJobRequestForwardResp"
  2043. "onse\022\021\n\tdir_index\030\001 \001(\r\"8\n%CGCSystemMsg_"
  2044. "GetPurchaseTrust_Request\022\017\n\007steamid\030\001 \001("
  2045. "\006\"\255\001\n&CGCSystemMsg_GetPurchaseTrust_Resp"
  2046. "onse\022\"\n\032has_prior_purchase_history\030\001 \001(\010"
  2047. "\022%\n\035has_no_recent_password_resets\030\002 \001(\010\022"
  2048. "\036\n\026is_wallet_cash_trusted\030\003 \001(\010\022\030\n\020time_"
  2049. "all_trusted\030\004 \001(\r\"\217\001\n\035CMsgGCHAccountVacS"
  2050. "tatusChange\022\020\n\010steam_id\030\001 \001(\006\022\016\n\006app_id\030"
  2051. "\002 \001(\r\022\033\n\023rtime_vacban_starts\030\003 \001(\r\022\025\n\ris"
  2052. "_banned_now\030\004 \001(\010\022\030\n\020is_banned_future\030\005 "
  2053. "\001(\010\".\n\033CMsgGCGetPartnerAccountLink\022\017\n\007st"
  2054. "eamid\030\001 \001(\006\"E\n$CMsgGCGetPartnerAccountLi"
  2055. "nk_Response\022\014\n\004pwid\030\001 \001(\r\022\017\n\007nexonid\030\002 \001"
  2056. "(\r\"\275\002\n\021CMsgGCRoutingInfo\022\021\n\tdir_index\030\001 "
  2057. "\003(\r\0228\n\006method\030\002 \001(\0162 .CMsgGCRoutingInfo."
  2058. "RoutingMethod:\006RANDOM\022;\n\010fallback\030\003 \001(\0162"
  2059. " .CMsgGCRoutingInfo.RoutingMethod:\007DISCA"
  2060. "RD\022\026\n\016protobuf_field\030\004 \001(\r\022\024\n\014webapi_par"
  2061. "am\030\005 \001(\t\"p\n\rRoutingMethod\022\n\n\006RANDOM\020\000\022\013\n"
  2062. "\007DISCARD\020\001\022\022\n\016CLIENT_STEAMID\020\002\022\031\n\025PROTOB"
  2063. "UF_FIELD_UINT64\020\003\022\027\n\023WEBAPI_PARAM_UINT64"
  2064. "\020\004\"\265\001\n\037CMsgGCMsgMasterSetWebAPIRouting\0227"
  2065. "\n\007entries\030\001 \003(\0132&.CMsgGCMsgMasterSetWebA"
  2066. "PIRouting.Entry\032Y\n\005Entry\022\026\n\016interface_na"
  2067. "me\030\001 \001(\t\022\023\n\013method_name\030\002 \001(\t\022#\n\007routing"
  2068. "\030\003 \001(\0132\022.CMsgGCRoutingInfo\"\240\001\n\"CMsgGCMsg"
  2069. "MasterSetClientMsgRouting\022:\n\007entries\030\001 \003"
  2070. "(\0132).CMsgGCMsgMasterSetClientMsgRouting."
  2071. "Entry\032>\n\005Entry\022\020\n\010msg_type\030\001 \001(\r\022#\n\007rout"
  2072. "ing\030\002 \001(\0132\022.CMsgGCRoutingInfo\">\n(CMsgGCM"
  2073. "sgMasterSetWebAPIRouting_Response\022\022\n\007ere"
  2074. "sult\030\001 \001(\005:\0012\"A\n+CMsgGCMsgMasterSetClien"
  2075. "tMsgRouting_Response\022\022\n\007eresult\030\001 \001(\005:\0012"
  2076. "\"\234\002\n\023CMsgGCMsgSetOptions\022,\n\007options\030\001 \003("
  2077. "\0162\033.CMsgGCMsgSetOptions.Option\022<\n\021client"
  2078. "_msg_ranges\030\002 \003(\0132!.CMsgGCMsgSetOptions."
  2079. "MessageRange\032)\n\014MessageRange\022\013\n\003low\030\001 \002("
  2080. "\r\022\014\n\004high\030\002 \002(\r\"n\n\006Option\022\030\n\024NOTIFY_USER"
  2081. "_SESSIONS\020\000\022\032\n\026NOTIFY_SERVER_SESSIONS\020\001\022"
  2082. "\027\n\023NOTIFY_ACHIEVEMENTS\020\002\022\025\n\021NOTIFY_VAC_A"
  2083. "CTION\020\003\"\224\002\n\024CMsgGCHUpdateSession\022\020\n\010stea"
  2084. "m_id\030\001 \001(\006\022\016\n\006app_id\030\002 \001(\r\022\016\n\006online\030\003 \001"
  2085. "(\010\022\027\n\017server_steam_id\030\004 \001(\006\022\023\n\013server_ad"
  2086. "dr\030\005 \001(\r\022\023\n\013server_port\030\006 \001(\r\022\017\n\007os_type"
  2087. "\030\007 \001(\r\022\023\n\013client_addr\030\010 \001(\r\0226\n\014extra_fie"
  2088. "lds\030\t \003(\0132 .CMsgGCHUpdateSession.ExtraFi"
  2089. "eld\032)\n\nExtraField\022\014\n\004name\030\001 \001(\t\022\r\n\005value"
  2090. "\030\002 \001(\t\"\354\001\n$CMsgNotificationOfSuspiciousA"
  2091. "ctivity\022\017\n\007steamid\030\001 \001(\006\022\r\n\005appid\030\002 \001(\r\022"
  2092. "W\n\022multiple_instances\030\003 \001(\0132;.CMsgNotifi"
  2093. "cationOfSuspiciousActivity.MultipleGameI"
  2094. "nstances\032K\n\025MultipleGameInstances\022\032\n\022app"
  2095. "_instance_count\030\001 \001(\r\022\026\n\016other_steamids\030"
  2096. "\002 \003(\006*\266\001\n\020GCProtoBufMsgSrc\022 \n\034GCProtoBuf"
  2097. "MsgSrc_Unspecified\020\000\022\037\n\033GCProtoBufMsgSrc"
  2098. "_FromSystem\020\001\022 \n\034GCProtoBufMsgSrc_FromSt"
  2099. "eamID\020\002\022\033\n\027GCProtoBufMsgSrc_FromGC\020\003\022 \n\034"
  2100. "GCProtoBufMsgSrc_ReplySystem\020\004:9\n\tkey_fi"
  2101. "eld\022\035.google.protobuf.FieldOptions\030\340\324\003 \001"
  2102. "(\010:\005false:A\n\022msgpool_soft_limit\022\037.google"
  2103. ".protobuf.MessageOptions\030\340\324\003 \001(\005:\00232:B\n\022"
  2104. "msgpool_hard_limit\022\037.google.protobuf.Mes"
  2105. "sageOptions\030\341\324\003 \001(\005:\003384B\005H\001\200\001\000", 9031);
  2106. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  2107. "steammessages.proto", &protobuf_RegisterTypes);
  2108. CMsgProtoBufHeader::default_instance_ = new CMsgProtoBufHeader();
  2109. CMsgWebAPIKey::default_instance_ = new CMsgWebAPIKey();
  2110. CMsgHttpRequest::default_instance_ = new CMsgHttpRequest();
  2111. CMsgHttpRequest_RequestHeader::default_instance_ = new CMsgHttpRequest_RequestHeader();
  2112. CMsgHttpRequest_QueryParam::default_instance_ = new CMsgHttpRequest_QueryParam();
  2113. CMsgWebAPIRequest::default_instance_ = new CMsgWebAPIRequest();
  2114. CMsgHttpResponse::default_instance_ = new CMsgHttpResponse();
  2115. CMsgHttpResponse_ResponseHeader::default_instance_ = new CMsgHttpResponse_ResponseHeader();
  2116. CMsgAMFindAccounts::default_instance_ = new CMsgAMFindAccounts();
  2117. CMsgAMFindAccountsResponse::default_instance_ = new CMsgAMFindAccountsResponse();
  2118. CMsgNotifyWatchdog::default_instance_ = new CMsgNotifyWatchdog();
  2119. CMsgAMGetLicenses::default_instance_ = new CMsgAMGetLicenses();
  2120. CMsgPackageLicense::default_instance_ = new CMsgPackageLicense();
  2121. CMsgAMGetLicensesResponse::default_instance_ = new CMsgAMGetLicensesResponse();
  2122. CMsgAMGetUserGameStats::default_instance_ = new CMsgAMGetUserGameStats();
  2123. CMsgAMGetUserGameStatsResponse::default_instance_ = new CMsgAMGetUserGameStatsResponse();
  2124. CMsgAMGetUserGameStatsResponse_Stats::default_instance_ = new CMsgAMGetUserGameStatsResponse_Stats();
  2125. CMsgAMGetUserGameStatsResponse_Achievement_Blocks::default_instance_ = new CMsgAMGetUserGameStatsResponse_Achievement_Blocks();
  2126. CMsgGCGetCommandList::default_instance_ = new CMsgGCGetCommandList();
  2127. CMsgGCGetCommandListResponse::default_instance_ = new CMsgGCGetCommandListResponse();
  2128. CGCMsgMemCachedGet::default_instance_ = new CGCMsgMemCachedGet();
  2129. CGCMsgMemCachedGetResponse::default_instance_ = new CGCMsgMemCachedGetResponse();
  2130. CGCMsgMemCachedGetResponse_ValueTag::default_instance_ = new CGCMsgMemCachedGetResponse_ValueTag();
  2131. CGCMsgMemCachedSet::default_instance_ = new CGCMsgMemCachedSet();
  2132. CGCMsgMemCachedSet_KeyPair::default_instance_ = new CGCMsgMemCachedSet_KeyPair();
  2133. CGCMsgMemCachedDelete::default_instance_ = new CGCMsgMemCachedDelete();
  2134. CGCMsgMemCachedStats::default_instance_ = new CGCMsgMemCachedStats();
  2135. CGCMsgMemCachedStatsResponse::default_instance_ = new CGCMsgMemCachedStatsResponse();
  2136. CGCMsgSQLStats::default_instance_ = new CGCMsgSQLStats();
  2137. CGCMsgSQLStatsResponse::default_instance_ = new CGCMsgSQLStatsResponse();
  2138. CMsgAMAddFreeLicense::default_instance_ = new CMsgAMAddFreeLicense();
  2139. CMsgAMAddFreeLicenseResponse::default_instance_ = new CMsgAMAddFreeLicenseResponse();
  2140. CGCMsgGetIPLocation::default_instance_ = new CGCMsgGetIPLocation();
  2141. CIPLocationInfo::default_instance_ = new CIPLocationInfo();
  2142. CGCMsgGetIPLocationResponse::default_instance_ = new CGCMsgGetIPLocationResponse();
  2143. CGCMsgSystemStatsSchema::default_instance_ = new CGCMsgSystemStatsSchema();
  2144. CGCMsgGetSystemStats::default_instance_ = new CGCMsgGetSystemStats();
  2145. CGCMsgGetSystemStatsResponse::default_instance_ = new CGCMsgGetSystemStatsResponse();
  2146. CMsgAMSendEmail::default_instance_ = new CMsgAMSendEmail();
  2147. CMsgAMSendEmail_ReplacementToken::default_instance_ = new CMsgAMSendEmail_ReplacementToken();
  2148. CMsgAMSendEmail_PersonaNameReplacementToken::default_instance_ = new CMsgAMSendEmail_PersonaNameReplacementToken();
  2149. CMsgAMSendEmailResponse::default_instance_ = new CMsgAMSendEmailResponse();
  2150. CMsgGCGetEmailTemplate::default_instance_ = new CMsgGCGetEmailTemplate();
  2151. CMsgGCGetEmailTemplateResponse::default_instance_ = new CMsgGCGetEmailTemplateResponse();
  2152. CMsgAMGrantGuestPasses2::default_instance_ = new CMsgAMGrantGuestPasses2();
  2153. CMsgAMGrantGuestPasses2Response::default_instance_ = new CMsgAMGrantGuestPasses2Response();
  2154. CGCSystemMsg_GetAccountDetails::default_instance_ = new CGCSystemMsg_GetAccountDetails();
  2155. CGCSystemMsg_GetAccountDetails_Response::default_instance_ = new CGCSystemMsg_GetAccountDetails_Response();
  2156. CMsgGCGetPersonaNames::default_instance_ = new CMsgGCGetPersonaNames();
  2157. CMsgGCGetPersonaNames_Response::default_instance_ = new CMsgGCGetPersonaNames_Response();
  2158. CMsgGCGetPersonaNames_Response_PersonaName::default_instance_ = new CMsgGCGetPersonaNames_Response_PersonaName();
  2159. CMsgGCCheckFriendship::default_instance_ = new CMsgGCCheckFriendship();
  2160. CMsgGCCheckFriendship_Response::default_instance_ = new CMsgGCCheckFriendship_Response();
  2161. CMsgGCMsgMasterSetDirectory::default_instance_ = new CMsgGCMsgMasterSetDirectory();
  2162. CMsgGCMsgMasterSetDirectory_SubGC::default_instance_ = new CMsgGCMsgMasterSetDirectory_SubGC();
  2163. CMsgGCMsgMasterSetDirectory_Response::default_instance_ = new CMsgGCMsgMasterSetDirectory_Response();
  2164. CMsgGCMsgWebAPIJobRequestForwardResponse::default_instance_ = new CMsgGCMsgWebAPIJobRequestForwardResponse();
  2165. CGCSystemMsg_GetPurchaseTrust_Request::default_instance_ = new CGCSystemMsg_GetPurchaseTrust_Request();
  2166. CGCSystemMsg_GetPurchaseTrust_Response::default_instance_ = new CGCSystemMsg_GetPurchaseTrust_Response();
  2167. CMsgGCHAccountVacStatusChange::default_instance_ = new CMsgGCHAccountVacStatusChange();
  2168. CMsgGCGetPartnerAccountLink::default_instance_ = new CMsgGCGetPartnerAccountLink();
  2169. CMsgGCGetPartnerAccountLink_Response::default_instance_ = new CMsgGCGetPartnerAccountLink_Response();
  2170. CMsgGCRoutingInfo::default_instance_ = new CMsgGCRoutingInfo();
  2171. CMsgGCMsgMasterSetWebAPIRouting::default_instance_ = new CMsgGCMsgMasterSetWebAPIRouting();
  2172. CMsgGCMsgMasterSetWebAPIRouting_Entry::default_instance_ = new CMsgGCMsgMasterSetWebAPIRouting_Entry();
  2173. CMsgGCMsgMasterSetClientMsgRouting::default_instance_ = new CMsgGCMsgMasterSetClientMsgRouting();
  2174. CMsgGCMsgMasterSetClientMsgRouting_Entry::default_instance_ = new CMsgGCMsgMasterSetClientMsgRouting_Entry();
  2175. CMsgGCMsgMasterSetWebAPIRouting_Response::default_instance_ = new CMsgGCMsgMasterSetWebAPIRouting_Response();
  2176. CMsgGCMsgMasterSetClientMsgRouting_Response::default_instance_ = new CMsgGCMsgMasterSetClientMsgRouting_Response();
  2177. CMsgGCMsgSetOptions::default_instance_ = new CMsgGCMsgSetOptions();
  2178. CMsgGCMsgSetOptions_MessageRange::default_instance_ = new CMsgGCMsgSetOptions_MessageRange();
  2179. CMsgGCHUpdateSession::default_instance_ = new CMsgGCHUpdateSession();
  2180. CMsgGCHUpdateSession_ExtraField::default_instance_ = new CMsgGCHUpdateSession_ExtraField();
  2181. CMsgNotificationOfSuspiciousActivity::default_instance_ = new CMsgNotificationOfSuspiciousActivity();
  2182. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::default_instance_ = new CMsgNotificationOfSuspiciousActivity_MultipleGameInstances();
  2183. ::google::protobuf::internal::ExtensionSet::RegisterExtension(
  2184. &::google::protobuf::FieldOptions::default_instance(),
  2185. 60000, 8, false, false);
  2186. ::google::protobuf::internal::ExtensionSet::RegisterExtension(
  2187. &::google::protobuf::MessageOptions::default_instance(),
  2188. 60000, 5, false, false);
  2189. ::google::protobuf::internal::ExtensionSet::RegisterExtension(
  2190. &::google::protobuf::MessageOptions::default_instance(),
  2191. 60001, 5, false, false);
  2192. CMsgProtoBufHeader::default_instance_->InitAsDefaultInstance();
  2193. CMsgWebAPIKey::default_instance_->InitAsDefaultInstance();
  2194. CMsgHttpRequest::default_instance_->InitAsDefaultInstance();
  2195. CMsgHttpRequest_RequestHeader::default_instance_->InitAsDefaultInstance();
  2196. CMsgHttpRequest_QueryParam::default_instance_->InitAsDefaultInstance();
  2197. CMsgWebAPIRequest::default_instance_->InitAsDefaultInstance();
  2198. CMsgHttpResponse::default_instance_->InitAsDefaultInstance();
  2199. CMsgHttpResponse_ResponseHeader::default_instance_->InitAsDefaultInstance();
  2200. CMsgAMFindAccounts::default_instance_->InitAsDefaultInstance();
  2201. CMsgAMFindAccountsResponse::default_instance_->InitAsDefaultInstance();
  2202. CMsgNotifyWatchdog::default_instance_->InitAsDefaultInstance();
  2203. CMsgAMGetLicenses::default_instance_->InitAsDefaultInstance();
  2204. CMsgPackageLicense::default_instance_->InitAsDefaultInstance();
  2205. CMsgAMGetLicensesResponse::default_instance_->InitAsDefaultInstance();
  2206. CMsgAMGetUserGameStats::default_instance_->InitAsDefaultInstance();
  2207. CMsgAMGetUserGameStatsResponse::default_instance_->InitAsDefaultInstance();
  2208. CMsgAMGetUserGameStatsResponse_Stats::default_instance_->InitAsDefaultInstance();
  2209. CMsgAMGetUserGameStatsResponse_Achievement_Blocks::default_instance_->InitAsDefaultInstance();
  2210. CMsgGCGetCommandList::default_instance_->InitAsDefaultInstance();
  2211. CMsgGCGetCommandListResponse::default_instance_->InitAsDefaultInstance();
  2212. CGCMsgMemCachedGet::default_instance_->InitAsDefaultInstance();
  2213. CGCMsgMemCachedGetResponse::default_instance_->InitAsDefaultInstance();
  2214. CGCMsgMemCachedGetResponse_ValueTag::default_instance_->InitAsDefaultInstance();
  2215. CGCMsgMemCachedSet::default_instance_->InitAsDefaultInstance();
  2216. CGCMsgMemCachedSet_KeyPair::default_instance_->InitAsDefaultInstance();
  2217. CGCMsgMemCachedDelete::default_instance_->InitAsDefaultInstance();
  2218. CGCMsgMemCachedStats::default_instance_->InitAsDefaultInstance();
  2219. CGCMsgMemCachedStatsResponse::default_instance_->InitAsDefaultInstance();
  2220. CGCMsgSQLStats::default_instance_->InitAsDefaultInstance();
  2221. CGCMsgSQLStatsResponse::default_instance_->InitAsDefaultInstance();
  2222. CMsgAMAddFreeLicense::default_instance_->InitAsDefaultInstance();
  2223. CMsgAMAddFreeLicenseResponse::default_instance_->InitAsDefaultInstance();
  2224. CGCMsgGetIPLocation::default_instance_->InitAsDefaultInstance();
  2225. CIPLocationInfo::default_instance_->InitAsDefaultInstance();
  2226. CGCMsgGetIPLocationResponse::default_instance_->InitAsDefaultInstance();
  2227. CGCMsgSystemStatsSchema::default_instance_->InitAsDefaultInstance();
  2228. CGCMsgGetSystemStats::default_instance_->InitAsDefaultInstance();
  2229. CGCMsgGetSystemStatsResponse::default_instance_->InitAsDefaultInstance();
  2230. CMsgAMSendEmail::default_instance_->InitAsDefaultInstance();
  2231. CMsgAMSendEmail_ReplacementToken::default_instance_->InitAsDefaultInstance();
  2232. CMsgAMSendEmail_PersonaNameReplacementToken::default_instance_->InitAsDefaultInstance();
  2233. CMsgAMSendEmailResponse::default_instance_->InitAsDefaultInstance();
  2234. CMsgGCGetEmailTemplate::default_instance_->InitAsDefaultInstance();
  2235. CMsgGCGetEmailTemplateResponse::default_instance_->InitAsDefaultInstance();
  2236. CMsgAMGrantGuestPasses2::default_instance_->InitAsDefaultInstance();
  2237. CMsgAMGrantGuestPasses2Response::default_instance_->InitAsDefaultInstance();
  2238. CGCSystemMsg_GetAccountDetails::default_instance_->InitAsDefaultInstance();
  2239. CGCSystemMsg_GetAccountDetails_Response::default_instance_->InitAsDefaultInstance();
  2240. CMsgGCGetPersonaNames::default_instance_->InitAsDefaultInstance();
  2241. CMsgGCGetPersonaNames_Response::default_instance_->InitAsDefaultInstance();
  2242. CMsgGCGetPersonaNames_Response_PersonaName::default_instance_->InitAsDefaultInstance();
  2243. CMsgGCCheckFriendship::default_instance_->InitAsDefaultInstance();
  2244. CMsgGCCheckFriendship_Response::default_instance_->InitAsDefaultInstance();
  2245. CMsgGCMsgMasterSetDirectory::default_instance_->InitAsDefaultInstance();
  2246. CMsgGCMsgMasterSetDirectory_SubGC::default_instance_->InitAsDefaultInstance();
  2247. CMsgGCMsgMasterSetDirectory_Response::default_instance_->InitAsDefaultInstance();
  2248. CMsgGCMsgWebAPIJobRequestForwardResponse::default_instance_->InitAsDefaultInstance();
  2249. CGCSystemMsg_GetPurchaseTrust_Request::default_instance_->InitAsDefaultInstance();
  2250. CGCSystemMsg_GetPurchaseTrust_Response::default_instance_->InitAsDefaultInstance();
  2251. CMsgGCHAccountVacStatusChange::default_instance_->InitAsDefaultInstance();
  2252. CMsgGCGetPartnerAccountLink::default_instance_->InitAsDefaultInstance();
  2253. CMsgGCGetPartnerAccountLink_Response::default_instance_->InitAsDefaultInstance();
  2254. CMsgGCRoutingInfo::default_instance_->InitAsDefaultInstance();
  2255. CMsgGCMsgMasterSetWebAPIRouting::default_instance_->InitAsDefaultInstance();
  2256. CMsgGCMsgMasterSetWebAPIRouting_Entry::default_instance_->InitAsDefaultInstance();
  2257. CMsgGCMsgMasterSetClientMsgRouting::default_instance_->InitAsDefaultInstance();
  2258. CMsgGCMsgMasterSetClientMsgRouting_Entry::default_instance_->InitAsDefaultInstance();
  2259. CMsgGCMsgMasterSetWebAPIRouting_Response::default_instance_->InitAsDefaultInstance();
  2260. CMsgGCMsgMasterSetClientMsgRouting_Response::default_instance_->InitAsDefaultInstance();
  2261. CMsgGCMsgSetOptions::default_instance_->InitAsDefaultInstance();
  2262. CMsgGCMsgSetOptions_MessageRange::default_instance_->InitAsDefaultInstance();
  2263. CMsgGCHUpdateSession::default_instance_->InitAsDefaultInstance();
  2264. CMsgGCHUpdateSession_ExtraField::default_instance_->InitAsDefaultInstance();
  2265. CMsgNotificationOfSuspiciousActivity::default_instance_->InitAsDefaultInstance();
  2266. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::default_instance_->InitAsDefaultInstance();
  2267. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_steammessages_2eproto);
  2268. }
  2269. // Force AddDescriptors() to be called at static initialization time.
  2270. struct StaticDescriptorInitializer_steammessages_2eproto {
  2271. StaticDescriptorInitializer_steammessages_2eproto() {
  2272. protobuf_AddDesc_steammessages_2eproto();
  2273. }
  2274. } static_descriptor_initializer_steammessages_2eproto_;
  2275. const ::google::protobuf::EnumDescriptor* GCProtoBufMsgSrc_descriptor() {
  2276. protobuf_AssignDescriptorsOnce();
  2277. return GCProtoBufMsgSrc_descriptor_;
  2278. }
  2279. bool GCProtoBufMsgSrc_IsValid(int value) {
  2280. switch(value) {
  2281. case 0:
  2282. case 1:
  2283. case 2:
  2284. case 3:
  2285. case 4:
  2286. return true;
  2287. default:
  2288. return false;
  2289. }
  2290. }
  2291. // ===================================================================
  2292. #ifndef _MSC_VER
  2293. const int CMsgProtoBufHeader::kClientSteamIdFieldNumber;
  2294. const int CMsgProtoBufHeader::kClientSessionIdFieldNumber;
  2295. const int CMsgProtoBufHeader::kSourceAppIdFieldNumber;
  2296. const int CMsgProtoBufHeader::kJobIdSourceFieldNumber;
  2297. const int CMsgProtoBufHeader::kJobIdTargetFieldNumber;
  2298. const int CMsgProtoBufHeader::kTargetJobNameFieldNumber;
  2299. const int CMsgProtoBufHeader::kEresultFieldNumber;
  2300. const int CMsgProtoBufHeader::kErrorMessageFieldNumber;
  2301. const int CMsgProtoBufHeader::kGcMsgSrcFieldNumber;
  2302. const int CMsgProtoBufHeader::kGcDirIndexSourceFieldNumber;
  2303. #endif // !_MSC_VER
  2304. CMsgProtoBufHeader::CMsgProtoBufHeader()
  2305. : ::google::protobuf::Message() {
  2306. SharedCtor();
  2307. }
  2308. void CMsgProtoBufHeader::InitAsDefaultInstance() {
  2309. }
  2310. CMsgProtoBufHeader::CMsgProtoBufHeader(const CMsgProtoBufHeader& from)
  2311. : ::google::protobuf::Message() {
  2312. SharedCtor();
  2313. MergeFrom(from);
  2314. }
  2315. void CMsgProtoBufHeader::SharedCtor() {
  2316. _cached_size_ = 0;
  2317. client_steam_id_ = GOOGLE_ULONGLONG(0);
  2318. client_session_id_ = 0;
  2319. source_app_id_ = 0u;
  2320. job_id_source_ = GOOGLE_ULONGLONG(18446744073709551615);
  2321. job_id_target_ = GOOGLE_ULONGLONG(18446744073709551615);
  2322. target_job_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  2323. eresult_ = 2;
  2324. error_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  2325. gc_msg_src_ = 0;
  2326. gc_dir_index_source_ = 0u;
  2327. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2328. }
  2329. CMsgProtoBufHeader::~CMsgProtoBufHeader() {
  2330. SharedDtor();
  2331. }
  2332. void CMsgProtoBufHeader::SharedDtor() {
  2333. if (target_job_name_ != &::google::protobuf::internal::kEmptyString) {
  2334. delete target_job_name_;
  2335. }
  2336. if (error_message_ != &::google::protobuf::internal::kEmptyString) {
  2337. delete error_message_;
  2338. }
  2339. if (this != default_instance_) {
  2340. }
  2341. }
  2342. void CMsgProtoBufHeader::SetCachedSize(int size) const {
  2343. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2344. _cached_size_ = size;
  2345. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2346. }
  2347. const ::google::protobuf::Descriptor* CMsgProtoBufHeader::descriptor() {
  2348. protobuf_AssignDescriptorsOnce();
  2349. return CMsgProtoBufHeader_descriptor_;
  2350. }
  2351. const CMsgProtoBufHeader& CMsgProtoBufHeader::default_instance() {
  2352. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  2353. return *default_instance_;
  2354. }
  2355. CMsgProtoBufHeader* CMsgProtoBufHeader::default_instance_ = NULL;
  2356. CMsgProtoBufHeader* CMsgProtoBufHeader::New() const {
  2357. return new CMsgProtoBufHeader;
  2358. }
  2359. void CMsgProtoBufHeader::Clear() {
  2360. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2361. client_steam_id_ = GOOGLE_ULONGLONG(0);
  2362. client_session_id_ = 0;
  2363. source_app_id_ = 0u;
  2364. job_id_source_ = GOOGLE_ULONGLONG(18446744073709551615);
  2365. job_id_target_ = GOOGLE_ULONGLONG(18446744073709551615);
  2366. if (has_target_job_name()) {
  2367. if (target_job_name_ != &::google::protobuf::internal::kEmptyString) {
  2368. target_job_name_->clear();
  2369. }
  2370. }
  2371. eresult_ = 2;
  2372. if (has_error_message()) {
  2373. if (error_message_ != &::google::protobuf::internal::kEmptyString) {
  2374. error_message_->clear();
  2375. }
  2376. }
  2377. }
  2378. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  2379. gc_msg_src_ = 0;
  2380. gc_dir_index_source_ = 0u;
  2381. }
  2382. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2383. mutable_unknown_fields()->Clear();
  2384. }
  2385. bool CMsgProtoBufHeader::MergePartialFromCodedStream(
  2386. ::google::protobuf::io::CodedInputStream* input) {
  2387. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2388. ::google::protobuf::uint32 tag;
  2389. while ((tag = input->ReadTag()) != 0) {
  2390. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2391. // optional fixed64 client_steam_id = 1;
  2392. case 1: {
  2393. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2394. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  2395. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2396. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  2397. input, &client_steam_id_)));
  2398. set_has_client_steam_id();
  2399. } else {
  2400. goto handle_uninterpreted;
  2401. }
  2402. if (input->ExpectTag(16)) goto parse_client_session_id;
  2403. break;
  2404. }
  2405. // optional int32 client_session_id = 2;
  2406. case 2: {
  2407. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2408. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2409. parse_client_session_id:
  2410. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2411. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2412. input, &client_session_id_)));
  2413. set_has_client_session_id();
  2414. } else {
  2415. goto handle_uninterpreted;
  2416. }
  2417. if (input->ExpectTag(24)) goto parse_source_app_id;
  2418. break;
  2419. }
  2420. // optional uint32 source_app_id = 3;
  2421. case 3: {
  2422. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2423. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2424. parse_source_app_id:
  2425. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2426. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  2427. input, &source_app_id_)));
  2428. set_has_source_app_id();
  2429. } else {
  2430. goto handle_uninterpreted;
  2431. }
  2432. if (input->ExpectTag(81)) goto parse_job_id_source;
  2433. break;
  2434. }
  2435. // optional fixed64 job_id_source = 10 [default = 18446744073709551615];
  2436. case 10: {
  2437. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2438. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  2439. parse_job_id_source:
  2440. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2441. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  2442. input, &job_id_source_)));
  2443. set_has_job_id_source();
  2444. } else {
  2445. goto handle_uninterpreted;
  2446. }
  2447. if (input->ExpectTag(89)) goto parse_job_id_target;
  2448. break;
  2449. }
  2450. // optional fixed64 job_id_target = 11 [default = 18446744073709551615];
  2451. case 11: {
  2452. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2453. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  2454. parse_job_id_target:
  2455. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2456. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  2457. input, &job_id_target_)));
  2458. set_has_job_id_target();
  2459. } else {
  2460. goto handle_uninterpreted;
  2461. }
  2462. if (input->ExpectTag(98)) goto parse_target_job_name;
  2463. break;
  2464. }
  2465. // optional string target_job_name = 12;
  2466. case 12: {
  2467. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2468. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2469. parse_target_job_name:
  2470. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2471. input, this->mutable_target_job_name()));
  2472. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2473. this->target_job_name().data(), this->target_job_name().length(),
  2474. ::google::protobuf::internal::WireFormat::PARSE);
  2475. } else {
  2476. goto handle_uninterpreted;
  2477. }
  2478. if (input->ExpectTag(104)) goto parse_eresult;
  2479. break;
  2480. }
  2481. // optional int32 eresult = 13 [default = 2];
  2482. case 13: {
  2483. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2484. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2485. parse_eresult:
  2486. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2487. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2488. input, &eresult_)));
  2489. set_has_eresult();
  2490. } else {
  2491. goto handle_uninterpreted;
  2492. }
  2493. if (input->ExpectTag(114)) goto parse_error_message;
  2494. break;
  2495. }
  2496. // optional string error_message = 14;
  2497. case 14: {
  2498. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2499. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2500. parse_error_message:
  2501. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2502. input, this->mutable_error_message()));
  2503. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2504. this->error_message().data(), this->error_message().length(),
  2505. ::google::protobuf::internal::WireFormat::PARSE);
  2506. } else {
  2507. goto handle_uninterpreted;
  2508. }
  2509. if (input->ExpectTag(1600)) goto parse_gc_msg_src;
  2510. break;
  2511. }
  2512. // optional .GCProtoBufMsgSrc gc_msg_src = 200;
  2513. case 200: {
  2514. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2515. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2516. parse_gc_msg_src:
  2517. int value;
  2518. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2519. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2520. input, &value)));
  2521. if (::GCProtoBufMsgSrc_IsValid(value)) {
  2522. set_gc_msg_src(static_cast< ::GCProtoBufMsgSrc >(value));
  2523. } else {
  2524. mutable_unknown_fields()->AddVarint(200, value);
  2525. }
  2526. } else {
  2527. goto handle_uninterpreted;
  2528. }
  2529. if (input->ExpectTag(1608)) goto parse_gc_dir_index_source;
  2530. break;
  2531. }
  2532. // optional uint32 gc_dir_index_source = 201;
  2533. case 201: {
  2534. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2535. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2536. parse_gc_dir_index_source:
  2537. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2538. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  2539. input, &gc_dir_index_source_)));
  2540. set_has_gc_dir_index_source();
  2541. } else {
  2542. goto handle_uninterpreted;
  2543. }
  2544. if (input->ExpectAtEnd()) return true;
  2545. break;
  2546. }
  2547. default: {
  2548. handle_uninterpreted:
  2549. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2550. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2551. return true;
  2552. }
  2553. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2554. input, tag, mutable_unknown_fields()));
  2555. break;
  2556. }
  2557. }
  2558. }
  2559. return true;
  2560. #undef DO_
  2561. }
  2562. void CMsgProtoBufHeader::SerializeWithCachedSizes(
  2563. ::google::protobuf::io::CodedOutputStream* output) const {
  2564. // optional fixed64 client_steam_id = 1;
  2565. if (has_client_steam_id()) {
  2566. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->client_steam_id(), output);
  2567. }
  2568. // optional int32 client_session_id = 2;
  2569. if (has_client_session_id()) {
  2570. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->client_session_id(), output);
  2571. }
  2572. // optional uint32 source_app_id = 3;
  2573. if (has_source_app_id()) {
  2574. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->source_app_id(), output);
  2575. }
  2576. // optional fixed64 job_id_source = 10 [default = 18446744073709551615];
  2577. if (has_job_id_source()) {
  2578. ::google::protobuf::internal::WireFormatLite::WriteFixed64(10, this->job_id_source(), output);
  2579. }
  2580. // optional fixed64 job_id_target = 11 [default = 18446744073709551615];
  2581. if (has_job_id_target()) {
  2582. ::google::protobuf::internal::WireFormatLite::WriteFixed64(11, this->job_id_target(), output);
  2583. }
  2584. // optional string target_job_name = 12;
  2585. if (has_target_job_name()) {
  2586. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2587. this->target_job_name().data(), this->target_job_name().length(),
  2588. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2589. ::google::protobuf::internal::WireFormatLite::WriteString(
  2590. 12, this->target_job_name(), output);
  2591. }
  2592. // optional int32 eresult = 13 [default = 2];
  2593. if (has_eresult()) {
  2594. ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->eresult(), output);
  2595. }
  2596. // optional string error_message = 14;
  2597. if (has_error_message()) {
  2598. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2599. this->error_message().data(), this->error_message().length(),
  2600. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2601. ::google::protobuf::internal::WireFormatLite::WriteString(
  2602. 14, this->error_message(), output);
  2603. }
  2604. // optional .GCProtoBufMsgSrc gc_msg_src = 200;
  2605. if (has_gc_msg_src()) {
  2606. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2607. 200, this->gc_msg_src(), output);
  2608. }
  2609. // optional uint32 gc_dir_index_source = 201;
  2610. if (has_gc_dir_index_source()) {
  2611. ::google::protobuf::internal::WireFormatLite::WriteUInt32(201, this->gc_dir_index_source(), output);
  2612. }
  2613. if (!unknown_fields().empty()) {
  2614. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2615. unknown_fields(), output);
  2616. }
  2617. }
  2618. ::google::protobuf::uint8* CMsgProtoBufHeader::SerializeWithCachedSizesToArray(
  2619. ::google::protobuf::uint8* target) const {
  2620. // optional fixed64 client_steam_id = 1;
  2621. if (has_client_steam_id()) {
  2622. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->client_steam_id(), target);
  2623. }
  2624. // optional int32 client_session_id = 2;
  2625. if (has_client_session_id()) {
  2626. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->client_session_id(), target);
  2627. }
  2628. // optional uint32 source_app_id = 3;
  2629. if (has_source_app_id()) {
  2630. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->source_app_id(), target);
  2631. }
  2632. // optional fixed64 job_id_source = 10 [default = 18446744073709551615];
  2633. if (has_job_id_source()) {
  2634. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(10, this->job_id_source(), target);
  2635. }
  2636. // optional fixed64 job_id_target = 11 [default = 18446744073709551615];
  2637. if (has_job_id_target()) {
  2638. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(11, this->job_id_target(), target);
  2639. }
  2640. // optional string target_job_name = 12;
  2641. if (has_target_job_name()) {
  2642. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2643. this->target_job_name().data(), this->target_job_name().length(),
  2644. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2645. target =
  2646. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2647. 12, this->target_job_name(), target);
  2648. }
  2649. // optional int32 eresult = 13 [default = 2];
  2650. if (has_eresult()) {
  2651. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->eresult(), target);
  2652. }
  2653. // optional string error_message = 14;
  2654. if (has_error_message()) {
  2655. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2656. this->error_message().data(), this->error_message().length(),
  2657. ::google::protobuf::internal::WireFormat::SERIALIZE);
  2658. target =
  2659. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2660. 14, this->error_message(), target);
  2661. }
  2662. // optional .GCProtoBufMsgSrc gc_msg_src = 200;
  2663. if (has_gc_msg_src()) {
  2664. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2665. 200, this->gc_msg_src(), target);
  2666. }
  2667. // optional uint32 gc_dir_index_source = 201;
  2668. if (has_gc_dir_index_source()) {
  2669. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(201, this->gc_dir_index_source(), target);
  2670. }
  2671. if (!unknown_fields().empty()) {
  2672. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2673. unknown_fields(), target);
  2674. }
  2675. return target;
  2676. }
  2677. int CMsgProtoBufHeader::ByteSize() const {
  2678. int total_size = 0;
  2679. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2680. // optional fixed64 client_steam_id = 1;
  2681. if (has_client_steam_id()) {
  2682. total_size += 1 + 8;
  2683. }
  2684. // optional int32 client_session_id = 2;
  2685. if (has_client_session_id()) {
  2686. total_size += 1 +
  2687. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2688. this->client_session_id());
  2689. }
  2690. // optional uint32 source_app_id = 3;
  2691. if (has_source_app_id()) {
  2692. total_size += 1 +
  2693. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  2694. this->source_app_id());
  2695. }
  2696. // optional fixed64 job_id_source = 10 [default = 18446744073709551615];
  2697. if (has_job_id_source()) {
  2698. total_size += 1 + 8;
  2699. }
  2700. // optional fixed64 job_id_target = 11 [default = 18446744073709551615];
  2701. if (has_job_id_target()) {
  2702. total_size += 1 + 8;
  2703. }
  2704. // optional string target_job_name = 12;
  2705. if (has_target_job_name()) {
  2706. total_size += 1 +
  2707. ::google::protobuf::internal::WireFormatLite::StringSize(
  2708. this->target_job_name());
  2709. }
  2710. // optional int32 eresult = 13 [default = 2];
  2711. if (has_eresult()) {
  2712. total_size += 1 +
  2713. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2714. this->eresult());
  2715. }
  2716. // optional string error_message = 14;
  2717. if (has_error_message()) {
  2718. total_size += 1 +
  2719. ::google::protobuf::internal::WireFormatLite::StringSize(
  2720. this->error_message());
  2721. }
  2722. }
  2723. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  2724. // optional .GCProtoBufMsgSrc gc_msg_src = 200;
  2725. if (has_gc_msg_src()) {
  2726. total_size += 2 +
  2727. ::google::protobuf::internal::WireFormatLite::EnumSize(this->gc_msg_src());
  2728. }
  2729. // optional uint32 gc_dir_index_source = 201;
  2730. if (has_gc_dir_index_source()) {
  2731. total_size += 2 +
  2732. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  2733. this->gc_dir_index_source());
  2734. }
  2735. }
  2736. if (!unknown_fields().empty()) {
  2737. total_size +=
  2738. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2739. unknown_fields());
  2740. }
  2741. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2742. _cached_size_ = total_size;
  2743. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2744. return total_size;
  2745. }
  2746. void CMsgProtoBufHeader::MergeFrom(const ::google::protobuf::Message& from) {
  2747. GOOGLE_CHECK_NE(&from, this);
  2748. const CMsgProtoBufHeader* source =
  2749. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgProtoBufHeader*>(
  2750. &from);
  2751. if (source == NULL) {
  2752. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2753. } else {
  2754. MergeFrom(*source);
  2755. }
  2756. }
  2757. void CMsgProtoBufHeader::MergeFrom(const CMsgProtoBufHeader& from) {
  2758. GOOGLE_CHECK_NE(&from, this);
  2759. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2760. if (from.has_client_steam_id()) {
  2761. set_client_steam_id(from.client_steam_id());
  2762. }
  2763. if (from.has_client_session_id()) {
  2764. set_client_session_id(from.client_session_id());
  2765. }
  2766. if (from.has_source_app_id()) {
  2767. set_source_app_id(from.source_app_id());
  2768. }
  2769. if (from.has_job_id_source()) {
  2770. set_job_id_source(from.job_id_source());
  2771. }
  2772. if (from.has_job_id_target()) {
  2773. set_job_id_target(from.job_id_target());
  2774. }
  2775. if (from.has_target_job_name()) {
  2776. set_target_job_name(from.target_job_name());
  2777. }
  2778. if (from.has_eresult()) {
  2779. set_eresult(from.eresult());
  2780. }
  2781. if (from.has_error_message()) {
  2782. set_error_message(from.error_message());
  2783. }
  2784. }
  2785. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  2786. if (from.has_gc_msg_src()) {
  2787. set_gc_msg_src(from.gc_msg_src());
  2788. }
  2789. if (from.has_gc_dir_index_source()) {
  2790. set_gc_dir_index_source(from.gc_dir_index_source());
  2791. }
  2792. }
  2793. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2794. }
  2795. void CMsgProtoBufHeader::CopyFrom(const ::google::protobuf::Message& from) {
  2796. if (&from == this) return;
  2797. Clear();
  2798. MergeFrom(from);
  2799. }
  2800. void CMsgProtoBufHeader::CopyFrom(const CMsgProtoBufHeader& from) {
  2801. if (&from == this) return;
  2802. Clear();
  2803. MergeFrom(from);
  2804. }
  2805. bool CMsgProtoBufHeader::IsInitialized() const {
  2806. return true;
  2807. }
  2808. void CMsgProtoBufHeader::Swap(CMsgProtoBufHeader* other) {
  2809. if (other != this) {
  2810. std::swap(client_steam_id_, other->client_steam_id_);
  2811. std::swap(client_session_id_, other->client_session_id_);
  2812. std::swap(source_app_id_, other->source_app_id_);
  2813. std::swap(job_id_source_, other->job_id_source_);
  2814. std::swap(job_id_target_, other->job_id_target_);
  2815. std::swap(target_job_name_, other->target_job_name_);
  2816. std::swap(eresult_, other->eresult_);
  2817. std::swap(error_message_, other->error_message_);
  2818. std::swap(gc_msg_src_, other->gc_msg_src_);
  2819. std::swap(gc_dir_index_source_, other->gc_dir_index_source_);
  2820. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2821. _unknown_fields_.Swap(&other->_unknown_fields_);
  2822. std::swap(_cached_size_, other->_cached_size_);
  2823. }
  2824. }
  2825. ::google::protobuf::Metadata CMsgProtoBufHeader::GetMetadata() const {
  2826. protobuf_AssignDescriptorsOnce();
  2827. ::google::protobuf::Metadata metadata;
  2828. metadata.descriptor = CMsgProtoBufHeader_descriptor_;
  2829. metadata.reflection = CMsgProtoBufHeader_reflection_;
  2830. return metadata;
  2831. }
  2832. // ===================================================================
  2833. #ifndef _MSC_VER
  2834. const int CMsgWebAPIKey::kStatusFieldNumber;
  2835. const int CMsgWebAPIKey::kAccountIdFieldNumber;
  2836. const int CMsgWebAPIKey::kPublisherGroupIdFieldNumber;
  2837. const int CMsgWebAPIKey::kKeyIdFieldNumber;
  2838. const int CMsgWebAPIKey::kDomainFieldNumber;
  2839. #endif // !_MSC_VER
  2840. CMsgWebAPIKey::CMsgWebAPIKey()
  2841. : ::google::protobuf::Message() {
  2842. SharedCtor();
  2843. }
  2844. void CMsgWebAPIKey::InitAsDefaultInstance() {
  2845. }
  2846. CMsgWebAPIKey::CMsgWebAPIKey(const CMsgWebAPIKey& from)
  2847. : ::google::protobuf::Message() {
  2848. SharedCtor();
  2849. MergeFrom(from);
  2850. }
  2851. void CMsgWebAPIKey::SharedCtor() {
  2852. _cached_size_ = 0;
  2853. status_ = 255u;
  2854. account_id_ = 0u;
  2855. publisher_group_id_ = 0u;
  2856. key_id_ = 0u;
  2857. domain_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  2858. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2859. }
  2860. CMsgWebAPIKey::~CMsgWebAPIKey() {
  2861. SharedDtor();
  2862. }
  2863. void CMsgWebAPIKey::SharedDtor() {
  2864. if (domain_ != &::google::protobuf::internal::kEmptyString) {
  2865. delete domain_;
  2866. }
  2867. if (this != default_instance_) {
  2868. }
  2869. }
  2870. void CMsgWebAPIKey::SetCachedSize(int size) const {
  2871. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2872. _cached_size_ = size;
  2873. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2874. }
  2875. const ::google::protobuf::Descriptor* CMsgWebAPIKey::descriptor() {
  2876. protobuf_AssignDescriptorsOnce();
  2877. return CMsgWebAPIKey_descriptor_;
  2878. }
  2879. const CMsgWebAPIKey& CMsgWebAPIKey::default_instance() {
  2880. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  2881. return *default_instance_;
  2882. }
  2883. CMsgWebAPIKey* CMsgWebAPIKey::default_instance_ = NULL;
  2884. CMsgWebAPIKey* CMsgWebAPIKey::New() const {
  2885. return new CMsgWebAPIKey;
  2886. }
  2887. void CMsgWebAPIKey::Clear() {
  2888. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2889. status_ = 255u;
  2890. account_id_ = 0u;
  2891. publisher_group_id_ = 0u;
  2892. key_id_ = 0u;
  2893. if (has_domain()) {
  2894. if (domain_ != &::google::protobuf::internal::kEmptyString) {
  2895. domain_->clear();
  2896. }
  2897. }
  2898. }
  2899. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2900. mutable_unknown_fields()->Clear();
  2901. }
  2902. bool CMsgWebAPIKey::MergePartialFromCodedStream(
  2903. ::google::protobuf::io::CodedInputStream* input) {
  2904. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2905. ::google::protobuf::uint32 tag;
  2906. while ((tag = input->ReadTag()) != 0) {
  2907. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2908. // optional uint32 status = 1 [default = 255];
  2909. case 1: {
  2910. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2911. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2912. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2913. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  2914. input, &status_)));
  2915. set_has_status();
  2916. } else {
  2917. goto handle_uninterpreted;
  2918. }
  2919. if (input->ExpectTag(16)) goto parse_account_id;
  2920. break;
  2921. }
  2922. // optional uint32 account_id = 2 [default = 0];
  2923. case 2: {
  2924. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2925. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2926. parse_account_id:
  2927. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2928. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  2929. input, &account_id_)));
  2930. set_has_account_id();
  2931. } else {
  2932. goto handle_uninterpreted;
  2933. }
  2934. if (input->ExpectTag(24)) goto parse_publisher_group_id;
  2935. break;
  2936. }
  2937. // optional uint32 publisher_group_id = 3 [default = 0];
  2938. case 3: {
  2939. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2940. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2941. parse_publisher_group_id:
  2942. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2943. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  2944. input, &publisher_group_id_)));
  2945. set_has_publisher_group_id();
  2946. } else {
  2947. goto handle_uninterpreted;
  2948. }
  2949. if (input->ExpectTag(32)) goto parse_key_id;
  2950. break;
  2951. }
  2952. // optional uint32 key_id = 4;
  2953. case 4: {
  2954. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2955. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2956. parse_key_id:
  2957. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2958. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  2959. input, &key_id_)));
  2960. set_has_key_id();
  2961. } else {
  2962. goto handle_uninterpreted;
  2963. }
  2964. if (input->ExpectTag(42)) goto parse_domain;
  2965. break;
  2966. }
  2967. // optional string domain = 5;
  2968. case 5: {
  2969. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2970. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2971. parse_domain:
  2972. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2973. input, this->mutable_domain()));
  2974. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  2975. this->domain().data(), this->domain().length(),
  2976. ::google::protobuf::internal::WireFormat::PARSE);
  2977. } else {
  2978. goto handle_uninterpreted;
  2979. }
  2980. if (input->ExpectAtEnd()) return true;
  2981. break;
  2982. }
  2983. default: {
  2984. handle_uninterpreted:
  2985. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2986. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2987. return true;
  2988. }
  2989. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2990. input, tag, mutable_unknown_fields()));
  2991. break;
  2992. }
  2993. }
  2994. }
  2995. return true;
  2996. #undef DO_
  2997. }
  2998. void CMsgWebAPIKey::SerializeWithCachedSizes(
  2999. ::google::protobuf::io::CodedOutputStream* output) const {
  3000. // optional uint32 status = 1 [default = 255];
  3001. if (has_status()) {
  3002. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->status(), output);
  3003. }
  3004. // optional uint32 account_id = 2 [default = 0];
  3005. if (has_account_id()) {
  3006. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->account_id(), output);
  3007. }
  3008. // optional uint32 publisher_group_id = 3 [default = 0];
  3009. if (has_publisher_group_id()) {
  3010. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->publisher_group_id(), output);
  3011. }
  3012. // optional uint32 key_id = 4;
  3013. if (has_key_id()) {
  3014. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->key_id(), output);
  3015. }
  3016. // optional string domain = 5;
  3017. if (has_domain()) {
  3018. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3019. this->domain().data(), this->domain().length(),
  3020. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3021. ::google::protobuf::internal::WireFormatLite::WriteString(
  3022. 5, this->domain(), output);
  3023. }
  3024. if (!unknown_fields().empty()) {
  3025. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3026. unknown_fields(), output);
  3027. }
  3028. }
  3029. ::google::protobuf::uint8* CMsgWebAPIKey::SerializeWithCachedSizesToArray(
  3030. ::google::protobuf::uint8* target) const {
  3031. // optional uint32 status = 1 [default = 255];
  3032. if (has_status()) {
  3033. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->status(), target);
  3034. }
  3035. // optional uint32 account_id = 2 [default = 0];
  3036. if (has_account_id()) {
  3037. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->account_id(), target);
  3038. }
  3039. // optional uint32 publisher_group_id = 3 [default = 0];
  3040. if (has_publisher_group_id()) {
  3041. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->publisher_group_id(), target);
  3042. }
  3043. // optional uint32 key_id = 4;
  3044. if (has_key_id()) {
  3045. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->key_id(), target);
  3046. }
  3047. // optional string domain = 5;
  3048. if (has_domain()) {
  3049. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3050. this->domain().data(), this->domain().length(),
  3051. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3052. target =
  3053. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3054. 5, this->domain(), target);
  3055. }
  3056. if (!unknown_fields().empty()) {
  3057. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3058. unknown_fields(), target);
  3059. }
  3060. return target;
  3061. }
  3062. int CMsgWebAPIKey::ByteSize() const {
  3063. int total_size = 0;
  3064. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3065. // optional uint32 status = 1 [default = 255];
  3066. if (has_status()) {
  3067. total_size += 1 +
  3068. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3069. this->status());
  3070. }
  3071. // optional uint32 account_id = 2 [default = 0];
  3072. if (has_account_id()) {
  3073. total_size += 1 +
  3074. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3075. this->account_id());
  3076. }
  3077. // optional uint32 publisher_group_id = 3 [default = 0];
  3078. if (has_publisher_group_id()) {
  3079. total_size += 1 +
  3080. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3081. this->publisher_group_id());
  3082. }
  3083. // optional uint32 key_id = 4;
  3084. if (has_key_id()) {
  3085. total_size += 1 +
  3086. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3087. this->key_id());
  3088. }
  3089. // optional string domain = 5;
  3090. if (has_domain()) {
  3091. total_size += 1 +
  3092. ::google::protobuf::internal::WireFormatLite::StringSize(
  3093. this->domain());
  3094. }
  3095. }
  3096. if (!unknown_fields().empty()) {
  3097. total_size +=
  3098. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3099. unknown_fields());
  3100. }
  3101. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3102. _cached_size_ = total_size;
  3103. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3104. return total_size;
  3105. }
  3106. void CMsgWebAPIKey::MergeFrom(const ::google::protobuf::Message& from) {
  3107. GOOGLE_CHECK_NE(&from, this);
  3108. const CMsgWebAPIKey* source =
  3109. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgWebAPIKey*>(
  3110. &from);
  3111. if (source == NULL) {
  3112. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3113. } else {
  3114. MergeFrom(*source);
  3115. }
  3116. }
  3117. void CMsgWebAPIKey::MergeFrom(const CMsgWebAPIKey& from) {
  3118. GOOGLE_CHECK_NE(&from, this);
  3119. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3120. if (from.has_status()) {
  3121. set_status(from.status());
  3122. }
  3123. if (from.has_account_id()) {
  3124. set_account_id(from.account_id());
  3125. }
  3126. if (from.has_publisher_group_id()) {
  3127. set_publisher_group_id(from.publisher_group_id());
  3128. }
  3129. if (from.has_key_id()) {
  3130. set_key_id(from.key_id());
  3131. }
  3132. if (from.has_domain()) {
  3133. set_domain(from.domain());
  3134. }
  3135. }
  3136. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3137. }
  3138. void CMsgWebAPIKey::CopyFrom(const ::google::protobuf::Message& from) {
  3139. if (&from == this) return;
  3140. Clear();
  3141. MergeFrom(from);
  3142. }
  3143. void CMsgWebAPIKey::CopyFrom(const CMsgWebAPIKey& from) {
  3144. if (&from == this) return;
  3145. Clear();
  3146. MergeFrom(from);
  3147. }
  3148. bool CMsgWebAPIKey::IsInitialized() const {
  3149. return true;
  3150. }
  3151. void CMsgWebAPIKey::Swap(CMsgWebAPIKey* other) {
  3152. if (other != this) {
  3153. std::swap(status_, other->status_);
  3154. std::swap(account_id_, other->account_id_);
  3155. std::swap(publisher_group_id_, other->publisher_group_id_);
  3156. std::swap(key_id_, other->key_id_);
  3157. std::swap(domain_, other->domain_);
  3158. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3159. _unknown_fields_.Swap(&other->_unknown_fields_);
  3160. std::swap(_cached_size_, other->_cached_size_);
  3161. }
  3162. }
  3163. ::google::protobuf::Metadata CMsgWebAPIKey::GetMetadata() const {
  3164. protobuf_AssignDescriptorsOnce();
  3165. ::google::protobuf::Metadata metadata;
  3166. metadata.descriptor = CMsgWebAPIKey_descriptor_;
  3167. metadata.reflection = CMsgWebAPIKey_reflection_;
  3168. return metadata;
  3169. }
  3170. // ===================================================================
  3171. #ifndef _MSC_VER
  3172. const int CMsgHttpRequest_RequestHeader::kNameFieldNumber;
  3173. const int CMsgHttpRequest_RequestHeader::kValueFieldNumber;
  3174. #endif // !_MSC_VER
  3175. CMsgHttpRequest_RequestHeader::CMsgHttpRequest_RequestHeader()
  3176. : ::google::protobuf::Message() {
  3177. SharedCtor();
  3178. }
  3179. void CMsgHttpRequest_RequestHeader::InitAsDefaultInstance() {
  3180. }
  3181. CMsgHttpRequest_RequestHeader::CMsgHttpRequest_RequestHeader(const CMsgHttpRequest_RequestHeader& from)
  3182. : ::google::protobuf::Message() {
  3183. SharedCtor();
  3184. MergeFrom(from);
  3185. }
  3186. void CMsgHttpRequest_RequestHeader::SharedCtor() {
  3187. _cached_size_ = 0;
  3188. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3189. value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3190. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3191. }
  3192. CMsgHttpRequest_RequestHeader::~CMsgHttpRequest_RequestHeader() {
  3193. SharedDtor();
  3194. }
  3195. void CMsgHttpRequest_RequestHeader::SharedDtor() {
  3196. if (name_ != &::google::protobuf::internal::kEmptyString) {
  3197. delete name_;
  3198. }
  3199. if (value_ != &::google::protobuf::internal::kEmptyString) {
  3200. delete value_;
  3201. }
  3202. if (this != default_instance_) {
  3203. }
  3204. }
  3205. void CMsgHttpRequest_RequestHeader::SetCachedSize(int size) const {
  3206. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3207. _cached_size_ = size;
  3208. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3209. }
  3210. const ::google::protobuf::Descriptor* CMsgHttpRequest_RequestHeader::descriptor() {
  3211. protobuf_AssignDescriptorsOnce();
  3212. return CMsgHttpRequest_RequestHeader_descriptor_;
  3213. }
  3214. const CMsgHttpRequest_RequestHeader& CMsgHttpRequest_RequestHeader::default_instance() {
  3215. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  3216. return *default_instance_;
  3217. }
  3218. CMsgHttpRequest_RequestHeader* CMsgHttpRequest_RequestHeader::default_instance_ = NULL;
  3219. CMsgHttpRequest_RequestHeader* CMsgHttpRequest_RequestHeader::New() const {
  3220. return new CMsgHttpRequest_RequestHeader;
  3221. }
  3222. void CMsgHttpRequest_RequestHeader::Clear() {
  3223. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3224. if (has_name()) {
  3225. if (name_ != &::google::protobuf::internal::kEmptyString) {
  3226. name_->clear();
  3227. }
  3228. }
  3229. if (has_value()) {
  3230. if (value_ != &::google::protobuf::internal::kEmptyString) {
  3231. value_->clear();
  3232. }
  3233. }
  3234. }
  3235. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3236. mutable_unknown_fields()->Clear();
  3237. }
  3238. bool CMsgHttpRequest_RequestHeader::MergePartialFromCodedStream(
  3239. ::google::protobuf::io::CodedInputStream* input) {
  3240. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3241. ::google::protobuf::uint32 tag;
  3242. while ((tag = input->ReadTag()) != 0) {
  3243. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3244. // optional string name = 1;
  3245. case 1: {
  3246. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3247. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3248. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3249. input, this->mutable_name()));
  3250. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3251. this->name().data(), this->name().length(),
  3252. ::google::protobuf::internal::WireFormat::PARSE);
  3253. } else {
  3254. goto handle_uninterpreted;
  3255. }
  3256. if (input->ExpectTag(18)) goto parse_value;
  3257. break;
  3258. }
  3259. // optional string value = 2;
  3260. case 2: {
  3261. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3262. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3263. parse_value:
  3264. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3265. input, this->mutable_value()));
  3266. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3267. this->value().data(), this->value().length(),
  3268. ::google::protobuf::internal::WireFormat::PARSE);
  3269. } else {
  3270. goto handle_uninterpreted;
  3271. }
  3272. if (input->ExpectAtEnd()) return true;
  3273. break;
  3274. }
  3275. default: {
  3276. handle_uninterpreted:
  3277. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3278. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3279. return true;
  3280. }
  3281. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3282. input, tag, mutable_unknown_fields()));
  3283. break;
  3284. }
  3285. }
  3286. }
  3287. return true;
  3288. #undef DO_
  3289. }
  3290. void CMsgHttpRequest_RequestHeader::SerializeWithCachedSizes(
  3291. ::google::protobuf::io::CodedOutputStream* output) const {
  3292. // optional string name = 1;
  3293. if (has_name()) {
  3294. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3295. this->name().data(), this->name().length(),
  3296. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3297. ::google::protobuf::internal::WireFormatLite::WriteString(
  3298. 1, this->name(), output);
  3299. }
  3300. // optional string value = 2;
  3301. if (has_value()) {
  3302. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3303. this->value().data(), this->value().length(),
  3304. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3305. ::google::protobuf::internal::WireFormatLite::WriteString(
  3306. 2, this->value(), output);
  3307. }
  3308. if (!unknown_fields().empty()) {
  3309. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3310. unknown_fields(), output);
  3311. }
  3312. }
  3313. ::google::protobuf::uint8* CMsgHttpRequest_RequestHeader::SerializeWithCachedSizesToArray(
  3314. ::google::protobuf::uint8* target) const {
  3315. // optional string name = 1;
  3316. if (has_name()) {
  3317. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3318. this->name().data(), this->name().length(),
  3319. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3320. target =
  3321. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3322. 1, this->name(), target);
  3323. }
  3324. // optional string value = 2;
  3325. if (has_value()) {
  3326. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3327. this->value().data(), this->value().length(),
  3328. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3329. target =
  3330. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3331. 2, this->value(), target);
  3332. }
  3333. if (!unknown_fields().empty()) {
  3334. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3335. unknown_fields(), target);
  3336. }
  3337. return target;
  3338. }
  3339. int CMsgHttpRequest_RequestHeader::ByteSize() const {
  3340. int total_size = 0;
  3341. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3342. // optional string name = 1;
  3343. if (has_name()) {
  3344. total_size += 1 +
  3345. ::google::protobuf::internal::WireFormatLite::StringSize(
  3346. this->name());
  3347. }
  3348. // optional string value = 2;
  3349. if (has_value()) {
  3350. total_size += 1 +
  3351. ::google::protobuf::internal::WireFormatLite::StringSize(
  3352. this->value());
  3353. }
  3354. }
  3355. if (!unknown_fields().empty()) {
  3356. total_size +=
  3357. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3358. unknown_fields());
  3359. }
  3360. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3361. _cached_size_ = total_size;
  3362. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3363. return total_size;
  3364. }
  3365. void CMsgHttpRequest_RequestHeader::MergeFrom(const ::google::protobuf::Message& from) {
  3366. GOOGLE_CHECK_NE(&from, this);
  3367. const CMsgHttpRequest_RequestHeader* source =
  3368. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgHttpRequest_RequestHeader*>(
  3369. &from);
  3370. if (source == NULL) {
  3371. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3372. } else {
  3373. MergeFrom(*source);
  3374. }
  3375. }
  3376. void CMsgHttpRequest_RequestHeader::MergeFrom(const CMsgHttpRequest_RequestHeader& from) {
  3377. GOOGLE_CHECK_NE(&from, this);
  3378. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3379. if (from.has_name()) {
  3380. set_name(from.name());
  3381. }
  3382. if (from.has_value()) {
  3383. set_value(from.value());
  3384. }
  3385. }
  3386. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3387. }
  3388. void CMsgHttpRequest_RequestHeader::CopyFrom(const ::google::protobuf::Message& from) {
  3389. if (&from == this) return;
  3390. Clear();
  3391. MergeFrom(from);
  3392. }
  3393. void CMsgHttpRequest_RequestHeader::CopyFrom(const CMsgHttpRequest_RequestHeader& from) {
  3394. if (&from == this) return;
  3395. Clear();
  3396. MergeFrom(from);
  3397. }
  3398. bool CMsgHttpRequest_RequestHeader::IsInitialized() const {
  3399. return true;
  3400. }
  3401. void CMsgHttpRequest_RequestHeader::Swap(CMsgHttpRequest_RequestHeader* other) {
  3402. if (other != this) {
  3403. std::swap(name_, other->name_);
  3404. std::swap(value_, other->value_);
  3405. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3406. _unknown_fields_.Swap(&other->_unknown_fields_);
  3407. std::swap(_cached_size_, other->_cached_size_);
  3408. }
  3409. }
  3410. ::google::protobuf::Metadata CMsgHttpRequest_RequestHeader::GetMetadata() const {
  3411. protobuf_AssignDescriptorsOnce();
  3412. ::google::protobuf::Metadata metadata;
  3413. metadata.descriptor = CMsgHttpRequest_RequestHeader_descriptor_;
  3414. metadata.reflection = CMsgHttpRequest_RequestHeader_reflection_;
  3415. return metadata;
  3416. }
  3417. // -------------------------------------------------------------------
  3418. #ifndef _MSC_VER
  3419. const int CMsgHttpRequest_QueryParam::kNameFieldNumber;
  3420. const int CMsgHttpRequest_QueryParam::kValueFieldNumber;
  3421. #endif // !_MSC_VER
  3422. CMsgHttpRequest_QueryParam::CMsgHttpRequest_QueryParam()
  3423. : ::google::protobuf::Message() {
  3424. SharedCtor();
  3425. }
  3426. void CMsgHttpRequest_QueryParam::InitAsDefaultInstance() {
  3427. }
  3428. CMsgHttpRequest_QueryParam::CMsgHttpRequest_QueryParam(const CMsgHttpRequest_QueryParam& from)
  3429. : ::google::protobuf::Message() {
  3430. SharedCtor();
  3431. MergeFrom(from);
  3432. }
  3433. void CMsgHttpRequest_QueryParam::SharedCtor() {
  3434. _cached_size_ = 0;
  3435. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3436. value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3437. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3438. }
  3439. CMsgHttpRequest_QueryParam::~CMsgHttpRequest_QueryParam() {
  3440. SharedDtor();
  3441. }
  3442. void CMsgHttpRequest_QueryParam::SharedDtor() {
  3443. if (name_ != &::google::protobuf::internal::kEmptyString) {
  3444. delete name_;
  3445. }
  3446. if (value_ != &::google::protobuf::internal::kEmptyString) {
  3447. delete value_;
  3448. }
  3449. if (this != default_instance_) {
  3450. }
  3451. }
  3452. void CMsgHttpRequest_QueryParam::SetCachedSize(int size) const {
  3453. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3454. _cached_size_ = size;
  3455. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3456. }
  3457. const ::google::protobuf::Descriptor* CMsgHttpRequest_QueryParam::descriptor() {
  3458. protobuf_AssignDescriptorsOnce();
  3459. return CMsgHttpRequest_QueryParam_descriptor_;
  3460. }
  3461. const CMsgHttpRequest_QueryParam& CMsgHttpRequest_QueryParam::default_instance() {
  3462. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  3463. return *default_instance_;
  3464. }
  3465. CMsgHttpRequest_QueryParam* CMsgHttpRequest_QueryParam::default_instance_ = NULL;
  3466. CMsgHttpRequest_QueryParam* CMsgHttpRequest_QueryParam::New() const {
  3467. return new CMsgHttpRequest_QueryParam;
  3468. }
  3469. void CMsgHttpRequest_QueryParam::Clear() {
  3470. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3471. if (has_name()) {
  3472. if (name_ != &::google::protobuf::internal::kEmptyString) {
  3473. name_->clear();
  3474. }
  3475. }
  3476. if (has_value()) {
  3477. if (value_ != &::google::protobuf::internal::kEmptyString) {
  3478. value_->clear();
  3479. }
  3480. }
  3481. }
  3482. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3483. mutable_unknown_fields()->Clear();
  3484. }
  3485. bool CMsgHttpRequest_QueryParam::MergePartialFromCodedStream(
  3486. ::google::protobuf::io::CodedInputStream* input) {
  3487. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3488. ::google::protobuf::uint32 tag;
  3489. while ((tag = input->ReadTag()) != 0) {
  3490. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3491. // optional string name = 1;
  3492. case 1: {
  3493. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3494. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3495. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3496. input, this->mutable_name()));
  3497. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3498. this->name().data(), this->name().length(),
  3499. ::google::protobuf::internal::WireFormat::PARSE);
  3500. } else {
  3501. goto handle_uninterpreted;
  3502. }
  3503. if (input->ExpectTag(18)) goto parse_value;
  3504. break;
  3505. }
  3506. // optional bytes value = 2;
  3507. case 2: {
  3508. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3509. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3510. parse_value:
  3511. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  3512. input, this->mutable_value()));
  3513. } else {
  3514. goto handle_uninterpreted;
  3515. }
  3516. if (input->ExpectAtEnd()) return true;
  3517. break;
  3518. }
  3519. default: {
  3520. handle_uninterpreted:
  3521. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3522. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3523. return true;
  3524. }
  3525. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3526. input, tag, mutable_unknown_fields()));
  3527. break;
  3528. }
  3529. }
  3530. }
  3531. return true;
  3532. #undef DO_
  3533. }
  3534. void CMsgHttpRequest_QueryParam::SerializeWithCachedSizes(
  3535. ::google::protobuf::io::CodedOutputStream* output) const {
  3536. // optional string name = 1;
  3537. if (has_name()) {
  3538. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3539. this->name().data(), this->name().length(),
  3540. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3541. ::google::protobuf::internal::WireFormatLite::WriteString(
  3542. 1, this->name(), output);
  3543. }
  3544. // optional bytes value = 2;
  3545. if (has_value()) {
  3546. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  3547. 2, this->value(), output);
  3548. }
  3549. if (!unknown_fields().empty()) {
  3550. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3551. unknown_fields(), output);
  3552. }
  3553. }
  3554. ::google::protobuf::uint8* CMsgHttpRequest_QueryParam::SerializeWithCachedSizesToArray(
  3555. ::google::protobuf::uint8* target) const {
  3556. // optional string name = 1;
  3557. if (has_name()) {
  3558. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3559. this->name().data(), this->name().length(),
  3560. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3561. target =
  3562. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3563. 1, this->name(), target);
  3564. }
  3565. // optional bytes value = 2;
  3566. if (has_value()) {
  3567. target =
  3568. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  3569. 2, this->value(), target);
  3570. }
  3571. if (!unknown_fields().empty()) {
  3572. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3573. unknown_fields(), target);
  3574. }
  3575. return target;
  3576. }
  3577. int CMsgHttpRequest_QueryParam::ByteSize() const {
  3578. int total_size = 0;
  3579. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3580. // optional string name = 1;
  3581. if (has_name()) {
  3582. total_size += 1 +
  3583. ::google::protobuf::internal::WireFormatLite::StringSize(
  3584. this->name());
  3585. }
  3586. // optional bytes value = 2;
  3587. if (has_value()) {
  3588. total_size += 1 +
  3589. ::google::protobuf::internal::WireFormatLite::BytesSize(
  3590. this->value());
  3591. }
  3592. }
  3593. if (!unknown_fields().empty()) {
  3594. total_size +=
  3595. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3596. unknown_fields());
  3597. }
  3598. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3599. _cached_size_ = total_size;
  3600. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3601. return total_size;
  3602. }
  3603. void CMsgHttpRequest_QueryParam::MergeFrom(const ::google::protobuf::Message& from) {
  3604. GOOGLE_CHECK_NE(&from, this);
  3605. const CMsgHttpRequest_QueryParam* source =
  3606. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgHttpRequest_QueryParam*>(
  3607. &from);
  3608. if (source == NULL) {
  3609. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3610. } else {
  3611. MergeFrom(*source);
  3612. }
  3613. }
  3614. void CMsgHttpRequest_QueryParam::MergeFrom(const CMsgHttpRequest_QueryParam& from) {
  3615. GOOGLE_CHECK_NE(&from, this);
  3616. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3617. if (from.has_name()) {
  3618. set_name(from.name());
  3619. }
  3620. if (from.has_value()) {
  3621. set_value(from.value());
  3622. }
  3623. }
  3624. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3625. }
  3626. void CMsgHttpRequest_QueryParam::CopyFrom(const ::google::protobuf::Message& from) {
  3627. if (&from == this) return;
  3628. Clear();
  3629. MergeFrom(from);
  3630. }
  3631. void CMsgHttpRequest_QueryParam::CopyFrom(const CMsgHttpRequest_QueryParam& from) {
  3632. if (&from == this) return;
  3633. Clear();
  3634. MergeFrom(from);
  3635. }
  3636. bool CMsgHttpRequest_QueryParam::IsInitialized() const {
  3637. return true;
  3638. }
  3639. void CMsgHttpRequest_QueryParam::Swap(CMsgHttpRequest_QueryParam* other) {
  3640. if (other != this) {
  3641. std::swap(name_, other->name_);
  3642. std::swap(value_, other->value_);
  3643. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3644. _unknown_fields_.Swap(&other->_unknown_fields_);
  3645. std::swap(_cached_size_, other->_cached_size_);
  3646. }
  3647. }
  3648. ::google::protobuf::Metadata CMsgHttpRequest_QueryParam::GetMetadata() const {
  3649. protobuf_AssignDescriptorsOnce();
  3650. ::google::protobuf::Metadata metadata;
  3651. metadata.descriptor = CMsgHttpRequest_QueryParam_descriptor_;
  3652. metadata.reflection = CMsgHttpRequest_QueryParam_reflection_;
  3653. return metadata;
  3654. }
  3655. // -------------------------------------------------------------------
  3656. #ifndef _MSC_VER
  3657. const int CMsgHttpRequest::kRequestMethodFieldNumber;
  3658. const int CMsgHttpRequest::kHostnameFieldNumber;
  3659. const int CMsgHttpRequest::kUrlFieldNumber;
  3660. const int CMsgHttpRequest::kHeadersFieldNumber;
  3661. const int CMsgHttpRequest::kGetParamsFieldNumber;
  3662. const int CMsgHttpRequest::kPostParamsFieldNumber;
  3663. const int CMsgHttpRequest::kBodyFieldNumber;
  3664. const int CMsgHttpRequest::kAbsoluteTimeoutFieldNumber;
  3665. #endif // !_MSC_VER
  3666. CMsgHttpRequest::CMsgHttpRequest()
  3667. : ::google::protobuf::Message() {
  3668. SharedCtor();
  3669. }
  3670. void CMsgHttpRequest::InitAsDefaultInstance() {
  3671. }
  3672. CMsgHttpRequest::CMsgHttpRequest(const CMsgHttpRequest& from)
  3673. : ::google::protobuf::Message() {
  3674. SharedCtor();
  3675. MergeFrom(from);
  3676. }
  3677. void CMsgHttpRequest::SharedCtor() {
  3678. _cached_size_ = 0;
  3679. request_method_ = 0u;
  3680. hostname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3681. url_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3682. body_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3683. absolute_timeout_ = 0u;
  3684. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3685. }
  3686. CMsgHttpRequest::~CMsgHttpRequest() {
  3687. SharedDtor();
  3688. }
  3689. void CMsgHttpRequest::SharedDtor() {
  3690. if (hostname_ != &::google::protobuf::internal::kEmptyString) {
  3691. delete hostname_;
  3692. }
  3693. if (url_ != &::google::protobuf::internal::kEmptyString) {
  3694. delete url_;
  3695. }
  3696. if (body_ != &::google::protobuf::internal::kEmptyString) {
  3697. delete body_;
  3698. }
  3699. if (this != default_instance_) {
  3700. }
  3701. }
  3702. void CMsgHttpRequest::SetCachedSize(int size) const {
  3703. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3704. _cached_size_ = size;
  3705. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3706. }
  3707. const ::google::protobuf::Descriptor* CMsgHttpRequest::descriptor() {
  3708. protobuf_AssignDescriptorsOnce();
  3709. return CMsgHttpRequest_descriptor_;
  3710. }
  3711. const CMsgHttpRequest& CMsgHttpRequest::default_instance() {
  3712. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  3713. return *default_instance_;
  3714. }
  3715. CMsgHttpRequest* CMsgHttpRequest::default_instance_ = NULL;
  3716. CMsgHttpRequest* CMsgHttpRequest::New() const {
  3717. return new CMsgHttpRequest;
  3718. }
  3719. void CMsgHttpRequest::Clear() {
  3720. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3721. request_method_ = 0u;
  3722. if (has_hostname()) {
  3723. if (hostname_ != &::google::protobuf::internal::kEmptyString) {
  3724. hostname_->clear();
  3725. }
  3726. }
  3727. if (has_url()) {
  3728. if (url_ != &::google::protobuf::internal::kEmptyString) {
  3729. url_->clear();
  3730. }
  3731. }
  3732. if (has_body()) {
  3733. if (body_ != &::google::protobuf::internal::kEmptyString) {
  3734. body_->clear();
  3735. }
  3736. }
  3737. absolute_timeout_ = 0u;
  3738. }
  3739. headers_.Clear();
  3740. get_params_.Clear();
  3741. post_params_.Clear();
  3742. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3743. mutable_unknown_fields()->Clear();
  3744. }
  3745. bool CMsgHttpRequest::MergePartialFromCodedStream(
  3746. ::google::protobuf::io::CodedInputStream* input) {
  3747. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3748. ::google::protobuf::uint32 tag;
  3749. while ((tag = input->ReadTag()) != 0) {
  3750. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3751. // optional uint32 request_method = 1;
  3752. case 1: {
  3753. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3754. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3755. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3756. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3757. input, &request_method_)));
  3758. set_has_request_method();
  3759. } else {
  3760. goto handle_uninterpreted;
  3761. }
  3762. if (input->ExpectTag(18)) goto parse_hostname;
  3763. break;
  3764. }
  3765. // optional string hostname = 2;
  3766. case 2: {
  3767. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3768. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3769. parse_hostname:
  3770. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3771. input, this->mutable_hostname()));
  3772. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3773. this->hostname().data(), this->hostname().length(),
  3774. ::google::protobuf::internal::WireFormat::PARSE);
  3775. } else {
  3776. goto handle_uninterpreted;
  3777. }
  3778. if (input->ExpectTag(26)) goto parse_url;
  3779. break;
  3780. }
  3781. // optional string url = 3;
  3782. case 3: {
  3783. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3784. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3785. parse_url:
  3786. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3787. input, this->mutable_url()));
  3788. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3789. this->url().data(), this->url().length(),
  3790. ::google::protobuf::internal::WireFormat::PARSE);
  3791. } else {
  3792. goto handle_uninterpreted;
  3793. }
  3794. if (input->ExpectTag(34)) goto parse_headers;
  3795. break;
  3796. }
  3797. // repeated .CMsgHttpRequest.RequestHeader headers = 4;
  3798. case 4: {
  3799. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3800. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3801. parse_headers:
  3802. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3803. input, add_headers()));
  3804. } else {
  3805. goto handle_uninterpreted;
  3806. }
  3807. if (input->ExpectTag(34)) goto parse_headers;
  3808. if (input->ExpectTag(42)) goto parse_get_params;
  3809. break;
  3810. }
  3811. // repeated .CMsgHttpRequest.QueryParam get_params = 5;
  3812. case 5: {
  3813. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3814. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3815. parse_get_params:
  3816. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3817. input, add_get_params()));
  3818. } else {
  3819. goto handle_uninterpreted;
  3820. }
  3821. if (input->ExpectTag(42)) goto parse_get_params;
  3822. if (input->ExpectTag(50)) goto parse_post_params;
  3823. break;
  3824. }
  3825. // repeated .CMsgHttpRequest.QueryParam post_params = 6;
  3826. case 6: {
  3827. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3828. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3829. parse_post_params:
  3830. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3831. input, add_post_params()));
  3832. } else {
  3833. goto handle_uninterpreted;
  3834. }
  3835. if (input->ExpectTag(50)) goto parse_post_params;
  3836. if (input->ExpectTag(58)) goto parse_body;
  3837. break;
  3838. }
  3839. // optional bytes body = 7;
  3840. case 7: {
  3841. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3842. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3843. parse_body:
  3844. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  3845. input, this->mutable_body()));
  3846. } else {
  3847. goto handle_uninterpreted;
  3848. }
  3849. if (input->ExpectTag(64)) goto parse_absolute_timeout;
  3850. break;
  3851. }
  3852. // optional uint32 absolute_timeout = 8;
  3853. case 8: {
  3854. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3855. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3856. parse_absolute_timeout:
  3857. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3858. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  3859. input, &absolute_timeout_)));
  3860. set_has_absolute_timeout();
  3861. } else {
  3862. goto handle_uninterpreted;
  3863. }
  3864. if (input->ExpectAtEnd()) return true;
  3865. break;
  3866. }
  3867. default: {
  3868. handle_uninterpreted:
  3869. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3870. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3871. return true;
  3872. }
  3873. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3874. input, tag, mutable_unknown_fields()));
  3875. break;
  3876. }
  3877. }
  3878. }
  3879. return true;
  3880. #undef DO_
  3881. }
  3882. void CMsgHttpRequest::SerializeWithCachedSizes(
  3883. ::google::protobuf::io::CodedOutputStream* output) const {
  3884. // optional uint32 request_method = 1;
  3885. if (has_request_method()) {
  3886. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->request_method(), output);
  3887. }
  3888. // optional string hostname = 2;
  3889. if (has_hostname()) {
  3890. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3891. this->hostname().data(), this->hostname().length(),
  3892. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3893. ::google::protobuf::internal::WireFormatLite::WriteString(
  3894. 2, this->hostname(), output);
  3895. }
  3896. // optional string url = 3;
  3897. if (has_url()) {
  3898. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3899. this->url().data(), this->url().length(),
  3900. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3901. ::google::protobuf::internal::WireFormatLite::WriteString(
  3902. 3, this->url(), output);
  3903. }
  3904. // repeated .CMsgHttpRequest.RequestHeader headers = 4;
  3905. for (int i = 0; i < this->headers_size(); i++) {
  3906. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3907. 4, this->headers(i), output);
  3908. }
  3909. // repeated .CMsgHttpRequest.QueryParam get_params = 5;
  3910. for (int i = 0; i < this->get_params_size(); i++) {
  3911. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3912. 5, this->get_params(i), output);
  3913. }
  3914. // repeated .CMsgHttpRequest.QueryParam post_params = 6;
  3915. for (int i = 0; i < this->post_params_size(); i++) {
  3916. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3917. 6, this->post_params(i), output);
  3918. }
  3919. // optional bytes body = 7;
  3920. if (has_body()) {
  3921. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  3922. 7, this->body(), output);
  3923. }
  3924. // optional uint32 absolute_timeout = 8;
  3925. if (has_absolute_timeout()) {
  3926. ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->absolute_timeout(), output);
  3927. }
  3928. if (!unknown_fields().empty()) {
  3929. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3930. unknown_fields(), output);
  3931. }
  3932. }
  3933. ::google::protobuf::uint8* CMsgHttpRequest::SerializeWithCachedSizesToArray(
  3934. ::google::protobuf::uint8* target) const {
  3935. // optional uint32 request_method = 1;
  3936. if (has_request_method()) {
  3937. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->request_method(), target);
  3938. }
  3939. // optional string hostname = 2;
  3940. if (has_hostname()) {
  3941. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3942. this->hostname().data(), this->hostname().length(),
  3943. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3944. target =
  3945. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3946. 2, this->hostname(), target);
  3947. }
  3948. // optional string url = 3;
  3949. if (has_url()) {
  3950. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3951. this->url().data(), this->url().length(),
  3952. ::google::protobuf::internal::WireFormat::SERIALIZE);
  3953. target =
  3954. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3955. 3, this->url(), target);
  3956. }
  3957. // repeated .CMsgHttpRequest.RequestHeader headers = 4;
  3958. for (int i = 0; i < this->headers_size(); i++) {
  3959. target = ::google::protobuf::internal::WireFormatLite::
  3960. WriteMessageNoVirtualToArray(
  3961. 4, this->headers(i), target);
  3962. }
  3963. // repeated .CMsgHttpRequest.QueryParam get_params = 5;
  3964. for (int i = 0; i < this->get_params_size(); i++) {
  3965. target = ::google::protobuf::internal::WireFormatLite::
  3966. WriteMessageNoVirtualToArray(
  3967. 5, this->get_params(i), target);
  3968. }
  3969. // repeated .CMsgHttpRequest.QueryParam post_params = 6;
  3970. for (int i = 0; i < this->post_params_size(); i++) {
  3971. target = ::google::protobuf::internal::WireFormatLite::
  3972. WriteMessageNoVirtualToArray(
  3973. 6, this->post_params(i), target);
  3974. }
  3975. // optional bytes body = 7;
  3976. if (has_body()) {
  3977. target =
  3978. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  3979. 7, this->body(), target);
  3980. }
  3981. // optional uint32 absolute_timeout = 8;
  3982. if (has_absolute_timeout()) {
  3983. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(8, this->absolute_timeout(), target);
  3984. }
  3985. if (!unknown_fields().empty()) {
  3986. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3987. unknown_fields(), target);
  3988. }
  3989. return target;
  3990. }
  3991. int CMsgHttpRequest::ByteSize() const {
  3992. int total_size = 0;
  3993. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3994. // optional uint32 request_method = 1;
  3995. if (has_request_method()) {
  3996. total_size += 1 +
  3997. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  3998. this->request_method());
  3999. }
  4000. // optional string hostname = 2;
  4001. if (has_hostname()) {
  4002. total_size += 1 +
  4003. ::google::protobuf::internal::WireFormatLite::StringSize(
  4004. this->hostname());
  4005. }
  4006. // optional string url = 3;
  4007. if (has_url()) {
  4008. total_size += 1 +
  4009. ::google::protobuf::internal::WireFormatLite::StringSize(
  4010. this->url());
  4011. }
  4012. // optional bytes body = 7;
  4013. if (has_body()) {
  4014. total_size += 1 +
  4015. ::google::protobuf::internal::WireFormatLite::BytesSize(
  4016. this->body());
  4017. }
  4018. // optional uint32 absolute_timeout = 8;
  4019. if (has_absolute_timeout()) {
  4020. total_size += 1 +
  4021. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  4022. this->absolute_timeout());
  4023. }
  4024. }
  4025. // repeated .CMsgHttpRequest.RequestHeader headers = 4;
  4026. total_size += 1 * this->headers_size();
  4027. for (int i = 0; i < this->headers_size(); i++) {
  4028. total_size +=
  4029. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4030. this->headers(i));
  4031. }
  4032. // repeated .CMsgHttpRequest.QueryParam get_params = 5;
  4033. total_size += 1 * this->get_params_size();
  4034. for (int i = 0; i < this->get_params_size(); i++) {
  4035. total_size +=
  4036. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4037. this->get_params(i));
  4038. }
  4039. // repeated .CMsgHttpRequest.QueryParam post_params = 6;
  4040. total_size += 1 * this->post_params_size();
  4041. for (int i = 0; i < this->post_params_size(); i++) {
  4042. total_size +=
  4043. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4044. this->post_params(i));
  4045. }
  4046. if (!unknown_fields().empty()) {
  4047. total_size +=
  4048. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4049. unknown_fields());
  4050. }
  4051. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4052. _cached_size_ = total_size;
  4053. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4054. return total_size;
  4055. }
  4056. void CMsgHttpRequest::MergeFrom(const ::google::protobuf::Message& from) {
  4057. GOOGLE_CHECK_NE(&from, this);
  4058. const CMsgHttpRequest* source =
  4059. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgHttpRequest*>(
  4060. &from);
  4061. if (source == NULL) {
  4062. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4063. } else {
  4064. MergeFrom(*source);
  4065. }
  4066. }
  4067. void CMsgHttpRequest::MergeFrom(const CMsgHttpRequest& from) {
  4068. GOOGLE_CHECK_NE(&from, this);
  4069. headers_.MergeFrom(from.headers_);
  4070. get_params_.MergeFrom(from.get_params_);
  4071. post_params_.MergeFrom(from.post_params_);
  4072. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4073. if (from.has_request_method()) {
  4074. set_request_method(from.request_method());
  4075. }
  4076. if (from.has_hostname()) {
  4077. set_hostname(from.hostname());
  4078. }
  4079. if (from.has_url()) {
  4080. set_url(from.url());
  4081. }
  4082. if (from.has_body()) {
  4083. set_body(from.body());
  4084. }
  4085. if (from.has_absolute_timeout()) {
  4086. set_absolute_timeout(from.absolute_timeout());
  4087. }
  4088. }
  4089. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4090. }
  4091. void CMsgHttpRequest::CopyFrom(const ::google::protobuf::Message& from) {
  4092. if (&from == this) return;
  4093. Clear();
  4094. MergeFrom(from);
  4095. }
  4096. void CMsgHttpRequest::CopyFrom(const CMsgHttpRequest& from) {
  4097. if (&from == this) return;
  4098. Clear();
  4099. MergeFrom(from);
  4100. }
  4101. bool CMsgHttpRequest::IsInitialized() const {
  4102. return true;
  4103. }
  4104. void CMsgHttpRequest::Swap(CMsgHttpRequest* other) {
  4105. if (other != this) {
  4106. std::swap(request_method_, other->request_method_);
  4107. std::swap(hostname_, other->hostname_);
  4108. std::swap(url_, other->url_);
  4109. headers_.Swap(&other->headers_);
  4110. get_params_.Swap(&other->get_params_);
  4111. post_params_.Swap(&other->post_params_);
  4112. std::swap(body_, other->body_);
  4113. std::swap(absolute_timeout_, other->absolute_timeout_);
  4114. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4115. _unknown_fields_.Swap(&other->_unknown_fields_);
  4116. std::swap(_cached_size_, other->_cached_size_);
  4117. }
  4118. }
  4119. ::google::protobuf::Metadata CMsgHttpRequest::GetMetadata() const {
  4120. protobuf_AssignDescriptorsOnce();
  4121. ::google::protobuf::Metadata metadata;
  4122. metadata.descriptor = CMsgHttpRequest_descriptor_;
  4123. metadata.reflection = CMsgHttpRequest_reflection_;
  4124. return metadata;
  4125. }
  4126. // ===================================================================
  4127. #ifndef _MSC_VER
  4128. const int CMsgWebAPIRequest::kUNUSEDJobNameFieldNumber;
  4129. const int CMsgWebAPIRequest::kInterfaceNameFieldNumber;
  4130. const int CMsgWebAPIRequest::kMethodNameFieldNumber;
  4131. const int CMsgWebAPIRequest::kVersionFieldNumber;
  4132. const int CMsgWebAPIRequest::kApiKeyFieldNumber;
  4133. const int CMsgWebAPIRequest::kRequestFieldNumber;
  4134. const int CMsgWebAPIRequest::kRoutingAppIdFieldNumber;
  4135. #endif // !_MSC_VER
  4136. CMsgWebAPIRequest::CMsgWebAPIRequest()
  4137. : ::google::protobuf::Message() {
  4138. SharedCtor();
  4139. }
  4140. void CMsgWebAPIRequest::InitAsDefaultInstance() {
  4141. api_key_ = const_cast< ::CMsgWebAPIKey*>(&::CMsgWebAPIKey::default_instance());
  4142. request_ = const_cast< ::CMsgHttpRequest*>(&::CMsgHttpRequest::default_instance());
  4143. }
  4144. CMsgWebAPIRequest::CMsgWebAPIRequest(const CMsgWebAPIRequest& from)
  4145. : ::google::protobuf::Message() {
  4146. SharedCtor();
  4147. MergeFrom(from);
  4148. }
  4149. void CMsgWebAPIRequest::SharedCtor() {
  4150. _cached_size_ = 0;
  4151. unused_job_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4152. interface_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4153. method_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4154. version_ = 0u;
  4155. api_key_ = NULL;
  4156. request_ = NULL;
  4157. routing_app_id_ = 0u;
  4158. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4159. }
  4160. CMsgWebAPIRequest::~CMsgWebAPIRequest() {
  4161. SharedDtor();
  4162. }
  4163. void CMsgWebAPIRequest::SharedDtor() {
  4164. if (unused_job_name_ != &::google::protobuf::internal::kEmptyString) {
  4165. delete unused_job_name_;
  4166. }
  4167. if (interface_name_ != &::google::protobuf::internal::kEmptyString) {
  4168. delete interface_name_;
  4169. }
  4170. if (method_name_ != &::google::protobuf::internal::kEmptyString) {
  4171. delete method_name_;
  4172. }
  4173. if (this != default_instance_) {
  4174. delete api_key_;
  4175. delete request_;
  4176. }
  4177. }
  4178. void CMsgWebAPIRequest::SetCachedSize(int size) const {
  4179. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4180. _cached_size_ = size;
  4181. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4182. }
  4183. const ::google::protobuf::Descriptor* CMsgWebAPIRequest::descriptor() {
  4184. protobuf_AssignDescriptorsOnce();
  4185. return CMsgWebAPIRequest_descriptor_;
  4186. }
  4187. const CMsgWebAPIRequest& CMsgWebAPIRequest::default_instance() {
  4188. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  4189. return *default_instance_;
  4190. }
  4191. CMsgWebAPIRequest* CMsgWebAPIRequest::default_instance_ = NULL;
  4192. CMsgWebAPIRequest* CMsgWebAPIRequest::New() const {
  4193. return new CMsgWebAPIRequest;
  4194. }
  4195. void CMsgWebAPIRequest::Clear() {
  4196. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4197. if (has_unused_job_name()) {
  4198. if (unused_job_name_ != &::google::protobuf::internal::kEmptyString) {
  4199. unused_job_name_->clear();
  4200. }
  4201. }
  4202. if (has_interface_name()) {
  4203. if (interface_name_ != &::google::protobuf::internal::kEmptyString) {
  4204. interface_name_->clear();
  4205. }
  4206. }
  4207. if (has_method_name()) {
  4208. if (method_name_ != &::google::protobuf::internal::kEmptyString) {
  4209. method_name_->clear();
  4210. }
  4211. }
  4212. version_ = 0u;
  4213. if (has_api_key()) {
  4214. if (api_key_ != NULL) api_key_->::CMsgWebAPIKey::Clear();
  4215. }
  4216. if (has_request()) {
  4217. if (request_ != NULL) request_->::CMsgHttpRequest::Clear();
  4218. }
  4219. routing_app_id_ = 0u;
  4220. }
  4221. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4222. mutable_unknown_fields()->Clear();
  4223. }
  4224. bool CMsgWebAPIRequest::MergePartialFromCodedStream(
  4225. ::google::protobuf::io::CodedInputStream* input) {
  4226. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4227. ::google::protobuf::uint32 tag;
  4228. while ((tag = input->ReadTag()) != 0) {
  4229. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4230. // optional string UNUSED_job_name = 1;
  4231. case 1: {
  4232. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4233. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4234. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4235. input, this->mutable_unused_job_name()));
  4236. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4237. this->unused_job_name().data(), this->unused_job_name().length(),
  4238. ::google::protobuf::internal::WireFormat::PARSE);
  4239. } else {
  4240. goto handle_uninterpreted;
  4241. }
  4242. if (input->ExpectTag(18)) goto parse_interface_name;
  4243. break;
  4244. }
  4245. // optional string interface_name = 2;
  4246. case 2: {
  4247. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4248. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4249. parse_interface_name:
  4250. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4251. input, this->mutable_interface_name()));
  4252. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4253. this->interface_name().data(), this->interface_name().length(),
  4254. ::google::protobuf::internal::WireFormat::PARSE);
  4255. } else {
  4256. goto handle_uninterpreted;
  4257. }
  4258. if (input->ExpectTag(26)) goto parse_method_name;
  4259. break;
  4260. }
  4261. // optional string method_name = 3;
  4262. case 3: {
  4263. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4264. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4265. parse_method_name:
  4266. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4267. input, this->mutable_method_name()));
  4268. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4269. this->method_name().data(), this->method_name().length(),
  4270. ::google::protobuf::internal::WireFormat::PARSE);
  4271. } else {
  4272. goto handle_uninterpreted;
  4273. }
  4274. if (input->ExpectTag(32)) goto parse_version;
  4275. break;
  4276. }
  4277. // optional uint32 version = 4;
  4278. case 4: {
  4279. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4280. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4281. parse_version:
  4282. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4283. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  4284. input, &version_)));
  4285. set_has_version();
  4286. } else {
  4287. goto handle_uninterpreted;
  4288. }
  4289. if (input->ExpectTag(42)) goto parse_api_key;
  4290. break;
  4291. }
  4292. // optional .CMsgWebAPIKey api_key = 5;
  4293. case 5: {
  4294. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4295. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4296. parse_api_key:
  4297. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4298. input, mutable_api_key()));
  4299. } else {
  4300. goto handle_uninterpreted;
  4301. }
  4302. if (input->ExpectTag(50)) goto parse_request;
  4303. break;
  4304. }
  4305. // optional .CMsgHttpRequest request = 6;
  4306. case 6: {
  4307. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4308. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4309. parse_request:
  4310. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4311. input, mutable_request()));
  4312. } else {
  4313. goto handle_uninterpreted;
  4314. }
  4315. if (input->ExpectTag(56)) goto parse_routing_app_id;
  4316. break;
  4317. }
  4318. // optional uint32 routing_app_id = 7;
  4319. case 7: {
  4320. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4321. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4322. parse_routing_app_id:
  4323. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4324. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  4325. input, &routing_app_id_)));
  4326. set_has_routing_app_id();
  4327. } else {
  4328. goto handle_uninterpreted;
  4329. }
  4330. if (input->ExpectAtEnd()) return true;
  4331. break;
  4332. }
  4333. default: {
  4334. handle_uninterpreted:
  4335. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4336. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4337. return true;
  4338. }
  4339. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4340. input, tag, mutable_unknown_fields()));
  4341. break;
  4342. }
  4343. }
  4344. }
  4345. return true;
  4346. #undef DO_
  4347. }
  4348. void CMsgWebAPIRequest::SerializeWithCachedSizes(
  4349. ::google::protobuf::io::CodedOutputStream* output) const {
  4350. // optional string UNUSED_job_name = 1;
  4351. if (has_unused_job_name()) {
  4352. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4353. this->unused_job_name().data(), this->unused_job_name().length(),
  4354. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4355. ::google::protobuf::internal::WireFormatLite::WriteString(
  4356. 1, this->unused_job_name(), output);
  4357. }
  4358. // optional string interface_name = 2;
  4359. if (has_interface_name()) {
  4360. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4361. this->interface_name().data(), this->interface_name().length(),
  4362. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4363. ::google::protobuf::internal::WireFormatLite::WriteString(
  4364. 2, this->interface_name(), output);
  4365. }
  4366. // optional string method_name = 3;
  4367. if (has_method_name()) {
  4368. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4369. this->method_name().data(), this->method_name().length(),
  4370. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4371. ::google::protobuf::internal::WireFormatLite::WriteString(
  4372. 3, this->method_name(), output);
  4373. }
  4374. // optional uint32 version = 4;
  4375. if (has_version()) {
  4376. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->version(), output);
  4377. }
  4378. // optional .CMsgWebAPIKey api_key = 5;
  4379. if (has_api_key()) {
  4380. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4381. 5, this->api_key(), output);
  4382. }
  4383. // optional .CMsgHttpRequest request = 6;
  4384. if (has_request()) {
  4385. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4386. 6, this->request(), output);
  4387. }
  4388. // optional uint32 routing_app_id = 7;
  4389. if (has_routing_app_id()) {
  4390. ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->routing_app_id(), output);
  4391. }
  4392. if (!unknown_fields().empty()) {
  4393. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4394. unknown_fields(), output);
  4395. }
  4396. }
  4397. ::google::protobuf::uint8* CMsgWebAPIRequest::SerializeWithCachedSizesToArray(
  4398. ::google::protobuf::uint8* target) const {
  4399. // optional string UNUSED_job_name = 1;
  4400. if (has_unused_job_name()) {
  4401. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4402. this->unused_job_name().data(), this->unused_job_name().length(),
  4403. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4404. target =
  4405. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4406. 1, this->unused_job_name(), target);
  4407. }
  4408. // optional string interface_name = 2;
  4409. if (has_interface_name()) {
  4410. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4411. this->interface_name().data(), this->interface_name().length(),
  4412. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4413. target =
  4414. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4415. 2, this->interface_name(), target);
  4416. }
  4417. // optional string method_name = 3;
  4418. if (has_method_name()) {
  4419. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4420. this->method_name().data(), this->method_name().length(),
  4421. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4422. target =
  4423. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4424. 3, this->method_name(), target);
  4425. }
  4426. // optional uint32 version = 4;
  4427. if (has_version()) {
  4428. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->version(), target);
  4429. }
  4430. // optional .CMsgWebAPIKey api_key = 5;
  4431. if (has_api_key()) {
  4432. target = ::google::protobuf::internal::WireFormatLite::
  4433. WriteMessageNoVirtualToArray(
  4434. 5, this->api_key(), target);
  4435. }
  4436. // optional .CMsgHttpRequest request = 6;
  4437. if (has_request()) {
  4438. target = ::google::protobuf::internal::WireFormatLite::
  4439. WriteMessageNoVirtualToArray(
  4440. 6, this->request(), target);
  4441. }
  4442. // optional uint32 routing_app_id = 7;
  4443. if (has_routing_app_id()) {
  4444. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->routing_app_id(), target);
  4445. }
  4446. if (!unknown_fields().empty()) {
  4447. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4448. unknown_fields(), target);
  4449. }
  4450. return target;
  4451. }
  4452. int CMsgWebAPIRequest::ByteSize() const {
  4453. int total_size = 0;
  4454. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4455. // optional string UNUSED_job_name = 1;
  4456. if (has_unused_job_name()) {
  4457. total_size += 1 +
  4458. ::google::protobuf::internal::WireFormatLite::StringSize(
  4459. this->unused_job_name());
  4460. }
  4461. // optional string interface_name = 2;
  4462. if (has_interface_name()) {
  4463. total_size += 1 +
  4464. ::google::protobuf::internal::WireFormatLite::StringSize(
  4465. this->interface_name());
  4466. }
  4467. // optional string method_name = 3;
  4468. if (has_method_name()) {
  4469. total_size += 1 +
  4470. ::google::protobuf::internal::WireFormatLite::StringSize(
  4471. this->method_name());
  4472. }
  4473. // optional uint32 version = 4;
  4474. if (has_version()) {
  4475. total_size += 1 +
  4476. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  4477. this->version());
  4478. }
  4479. // optional .CMsgWebAPIKey api_key = 5;
  4480. if (has_api_key()) {
  4481. total_size += 1 +
  4482. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4483. this->api_key());
  4484. }
  4485. // optional .CMsgHttpRequest request = 6;
  4486. if (has_request()) {
  4487. total_size += 1 +
  4488. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4489. this->request());
  4490. }
  4491. // optional uint32 routing_app_id = 7;
  4492. if (has_routing_app_id()) {
  4493. total_size += 1 +
  4494. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  4495. this->routing_app_id());
  4496. }
  4497. }
  4498. if (!unknown_fields().empty()) {
  4499. total_size +=
  4500. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4501. unknown_fields());
  4502. }
  4503. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4504. _cached_size_ = total_size;
  4505. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4506. return total_size;
  4507. }
  4508. void CMsgWebAPIRequest::MergeFrom(const ::google::protobuf::Message& from) {
  4509. GOOGLE_CHECK_NE(&from, this);
  4510. const CMsgWebAPIRequest* source =
  4511. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgWebAPIRequest*>(
  4512. &from);
  4513. if (source == NULL) {
  4514. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4515. } else {
  4516. MergeFrom(*source);
  4517. }
  4518. }
  4519. void CMsgWebAPIRequest::MergeFrom(const CMsgWebAPIRequest& from) {
  4520. GOOGLE_CHECK_NE(&from, this);
  4521. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4522. if (from.has_unused_job_name()) {
  4523. set_unused_job_name(from.unused_job_name());
  4524. }
  4525. if (from.has_interface_name()) {
  4526. set_interface_name(from.interface_name());
  4527. }
  4528. if (from.has_method_name()) {
  4529. set_method_name(from.method_name());
  4530. }
  4531. if (from.has_version()) {
  4532. set_version(from.version());
  4533. }
  4534. if (from.has_api_key()) {
  4535. mutable_api_key()->::CMsgWebAPIKey::MergeFrom(from.api_key());
  4536. }
  4537. if (from.has_request()) {
  4538. mutable_request()->::CMsgHttpRequest::MergeFrom(from.request());
  4539. }
  4540. if (from.has_routing_app_id()) {
  4541. set_routing_app_id(from.routing_app_id());
  4542. }
  4543. }
  4544. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4545. }
  4546. void CMsgWebAPIRequest::CopyFrom(const ::google::protobuf::Message& from) {
  4547. if (&from == this) return;
  4548. Clear();
  4549. MergeFrom(from);
  4550. }
  4551. void CMsgWebAPIRequest::CopyFrom(const CMsgWebAPIRequest& from) {
  4552. if (&from == this) return;
  4553. Clear();
  4554. MergeFrom(from);
  4555. }
  4556. bool CMsgWebAPIRequest::IsInitialized() const {
  4557. return true;
  4558. }
  4559. void CMsgWebAPIRequest::Swap(CMsgWebAPIRequest* other) {
  4560. if (other != this) {
  4561. std::swap(unused_job_name_, other->unused_job_name_);
  4562. std::swap(interface_name_, other->interface_name_);
  4563. std::swap(method_name_, other->method_name_);
  4564. std::swap(version_, other->version_);
  4565. std::swap(api_key_, other->api_key_);
  4566. std::swap(request_, other->request_);
  4567. std::swap(routing_app_id_, other->routing_app_id_);
  4568. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4569. _unknown_fields_.Swap(&other->_unknown_fields_);
  4570. std::swap(_cached_size_, other->_cached_size_);
  4571. }
  4572. }
  4573. ::google::protobuf::Metadata CMsgWebAPIRequest::GetMetadata() const {
  4574. protobuf_AssignDescriptorsOnce();
  4575. ::google::protobuf::Metadata metadata;
  4576. metadata.descriptor = CMsgWebAPIRequest_descriptor_;
  4577. metadata.reflection = CMsgWebAPIRequest_reflection_;
  4578. return metadata;
  4579. }
  4580. // ===================================================================
  4581. #ifndef _MSC_VER
  4582. const int CMsgHttpResponse_ResponseHeader::kNameFieldNumber;
  4583. const int CMsgHttpResponse_ResponseHeader::kValueFieldNumber;
  4584. #endif // !_MSC_VER
  4585. CMsgHttpResponse_ResponseHeader::CMsgHttpResponse_ResponseHeader()
  4586. : ::google::protobuf::Message() {
  4587. SharedCtor();
  4588. }
  4589. void CMsgHttpResponse_ResponseHeader::InitAsDefaultInstance() {
  4590. }
  4591. CMsgHttpResponse_ResponseHeader::CMsgHttpResponse_ResponseHeader(const CMsgHttpResponse_ResponseHeader& from)
  4592. : ::google::protobuf::Message() {
  4593. SharedCtor();
  4594. MergeFrom(from);
  4595. }
  4596. void CMsgHttpResponse_ResponseHeader::SharedCtor() {
  4597. _cached_size_ = 0;
  4598. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4599. value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4600. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4601. }
  4602. CMsgHttpResponse_ResponseHeader::~CMsgHttpResponse_ResponseHeader() {
  4603. SharedDtor();
  4604. }
  4605. void CMsgHttpResponse_ResponseHeader::SharedDtor() {
  4606. if (name_ != &::google::protobuf::internal::kEmptyString) {
  4607. delete name_;
  4608. }
  4609. if (value_ != &::google::protobuf::internal::kEmptyString) {
  4610. delete value_;
  4611. }
  4612. if (this != default_instance_) {
  4613. }
  4614. }
  4615. void CMsgHttpResponse_ResponseHeader::SetCachedSize(int size) const {
  4616. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4617. _cached_size_ = size;
  4618. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4619. }
  4620. const ::google::protobuf::Descriptor* CMsgHttpResponse_ResponseHeader::descriptor() {
  4621. protobuf_AssignDescriptorsOnce();
  4622. return CMsgHttpResponse_ResponseHeader_descriptor_;
  4623. }
  4624. const CMsgHttpResponse_ResponseHeader& CMsgHttpResponse_ResponseHeader::default_instance() {
  4625. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  4626. return *default_instance_;
  4627. }
  4628. CMsgHttpResponse_ResponseHeader* CMsgHttpResponse_ResponseHeader::default_instance_ = NULL;
  4629. CMsgHttpResponse_ResponseHeader* CMsgHttpResponse_ResponseHeader::New() const {
  4630. return new CMsgHttpResponse_ResponseHeader;
  4631. }
  4632. void CMsgHttpResponse_ResponseHeader::Clear() {
  4633. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4634. if (has_name()) {
  4635. if (name_ != &::google::protobuf::internal::kEmptyString) {
  4636. name_->clear();
  4637. }
  4638. }
  4639. if (has_value()) {
  4640. if (value_ != &::google::protobuf::internal::kEmptyString) {
  4641. value_->clear();
  4642. }
  4643. }
  4644. }
  4645. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4646. mutable_unknown_fields()->Clear();
  4647. }
  4648. bool CMsgHttpResponse_ResponseHeader::MergePartialFromCodedStream(
  4649. ::google::protobuf::io::CodedInputStream* input) {
  4650. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4651. ::google::protobuf::uint32 tag;
  4652. while ((tag = input->ReadTag()) != 0) {
  4653. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4654. // optional string name = 1;
  4655. case 1: {
  4656. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4657. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4658. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4659. input, this->mutable_name()));
  4660. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4661. this->name().data(), this->name().length(),
  4662. ::google::protobuf::internal::WireFormat::PARSE);
  4663. } else {
  4664. goto handle_uninterpreted;
  4665. }
  4666. if (input->ExpectTag(18)) goto parse_value;
  4667. break;
  4668. }
  4669. // optional string value = 2;
  4670. case 2: {
  4671. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4672. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4673. parse_value:
  4674. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4675. input, this->mutable_value()));
  4676. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4677. this->value().data(), this->value().length(),
  4678. ::google::protobuf::internal::WireFormat::PARSE);
  4679. } else {
  4680. goto handle_uninterpreted;
  4681. }
  4682. if (input->ExpectAtEnd()) return true;
  4683. break;
  4684. }
  4685. default: {
  4686. handle_uninterpreted:
  4687. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4688. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4689. return true;
  4690. }
  4691. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4692. input, tag, mutable_unknown_fields()));
  4693. break;
  4694. }
  4695. }
  4696. }
  4697. return true;
  4698. #undef DO_
  4699. }
  4700. void CMsgHttpResponse_ResponseHeader::SerializeWithCachedSizes(
  4701. ::google::protobuf::io::CodedOutputStream* output) const {
  4702. // optional string name = 1;
  4703. if (has_name()) {
  4704. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4705. this->name().data(), this->name().length(),
  4706. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4707. ::google::protobuf::internal::WireFormatLite::WriteString(
  4708. 1, this->name(), output);
  4709. }
  4710. // optional string value = 2;
  4711. if (has_value()) {
  4712. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4713. this->value().data(), this->value().length(),
  4714. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4715. ::google::protobuf::internal::WireFormatLite::WriteString(
  4716. 2, this->value(), output);
  4717. }
  4718. if (!unknown_fields().empty()) {
  4719. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4720. unknown_fields(), output);
  4721. }
  4722. }
  4723. ::google::protobuf::uint8* CMsgHttpResponse_ResponseHeader::SerializeWithCachedSizesToArray(
  4724. ::google::protobuf::uint8* target) const {
  4725. // optional string name = 1;
  4726. if (has_name()) {
  4727. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4728. this->name().data(), this->name().length(),
  4729. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4730. target =
  4731. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4732. 1, this->name(), target);
  4733. }
  4734. // optional string value = 2;
  4735. if (has_value()) {
  4736. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4737. this->value().data(), this->value().length(),
  4738. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4739. target =
  4740. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4741. 2, this->value(), target);
  4742. }
  4743. if (!unknown_fields().empty()) {
  4744. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4745. unknown_fields(), target);
  4746. }
  4747. return target;
  4748. }
  4749. int CMsgHttpResponse_ResponseHeader::ByteSize() const {
  4750. int total_size = 0;
  4751. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4752. // optional string name = 1;
  4753. if (has_name()) {
  4754. total_size += 1 +
  4755. ::google::protobuf::internal::WireFormatLite::StringSize(
  4756. this->name());
  4757. }
  4758. // optional string value = 2;
  4759. if (has_value()) {
  4760. total_size += 1 +
  4761. ::google::protobuf::internal::WireFormatLite::StringSize(
  4762. this->value());
  4763. }
  4764. }
  4765. if (!unknown_fields().empty()) {
  4766. total_size +=
  4767. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4768. unknown_fields());
  4769. }
  4770. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4771. _cached_size_ = total_size;
  4772. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4773. return total_size;
  4774. }
  4775. void CMsgHttpResponse_ResponseHeader::MergeFrom(const ::google::protobuf::Message& from) {
  4776. GOOGLE_CHECK_NE(&from, this);
  4777. const CMsgHttpResponse_ResponseHeader* source =
  4778. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgHttpResponse_ResponseHeader*>(
  4779. &from);
  4780. if (source == NULL) {
  4781. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4782. } else {
  4783. MergeFrom(*source);
  4784. }
  4785. }
  4786. void CMsgHttpResponse_ResponseHeader::MergeFrom(const CMsgHttpResponse_ResponseHeader& from) {
  4787. GOOGLE_CHECK_NE(&from, this);
  4788. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4789. if (from.has_name()) {
  4790. set_name(from.name());
  4791. }
  4792. if (from.has_value()) {
  4793. set_value(from.value());
  4794. }
  4795. }
  4796. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4797. }
  4798. void CMsgHttpResponse_ResponseHeader::CopyFrom(const ::google::protobuf::Message& from) {
  4799. if (&from == this) return;
  4800. Clear();
  4801. MergeFrom(from);
  4802. }
  4803. void CMsgHttpResponse_ResponseHeader::CopyFrom(const CMsgHttpResponse_ResponseHeader& from) {
  4804. if (&from == this) return;
  4805. Clear();
  4806. MergeFrom(from);
  4807. }
  4808. bool CMsgHttpResponse_ResponseHeader::IsInitialized() const {
  4809. return true;
  4810. }
  4811. void CMsgHttpResponse_ResponseHeader::Swap(CMsgHttpResponse_ResponseHeader* other) {
  4812. if (other != this) {
  4813. std::swap(name_, other->name_);
  4814. std::swap(value_, other->value_);
  4815. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4816. _unknown_fields_.Swap(&other->_unknown_fields_);
  4817. std::swap(_cached_size_, other->_cached_size_);
  4818. }
  4819. }
  4820. ::google::protobuf::Metadata CMsgHttpResponse_ResponseHeader::GetMetadata() const {
  4821. protobuf_AssignDescriptorsOnce();
  4822. ::google::protobuf::Metadata metadata;
  4823. metadata.descriptor = CMsgHttpResponse_ResponseHeader_descriptor_;
  4824. metadata.reflection = CMsgHttpResponse_ResponseHeader_reflection_;
  4825. return metadata;
  4826. }
  4827. // -------------------------------------------------------------------
  4828. #ifndef _MSC_VER
  4829. const int CMsgHttpResponse::kStatusCodeFieldNumber;
  4830. const int CMsgHttpResponse::kHeadersFieldNumber;
  4831. const int CMsgHttpResponse::kBodyFieldNumber;
  4832. #endif // !_MSC_VER
  4833. CMsgHttpResponse::CMsgHttpResponse()
  4834. : ::google::protobuf::Message() {
  4835. SharedCtor();
  4836. }
  4837. void CMsgHttpResponse::InitAsDefaultInstance() {
  4838. }
  4839. CMsgHttpResponse::CMsgHttpResponse(const CMsgHttpResponse& from)
  4840. : ::google::protobuf::Message() {
  4841. SharedCtor();
  4842. MergeFrom(from);
  4843. }
  4844. void CMsgHttpResponse::SharedCtor() {
  4845. _cached_size_ = 0;
  4846. status_code_ = 0u;
  4847. body_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4848. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4849. }
  4850. CMsgHttpResponse::~CMsgHttpResponse() {
  4851. SharedDtor();
  4852. }
  4853. void CMsgHttpResponse::SharedDtor() {
  4854. if (body_ != &::google::protobuf::internal::kEmptyString) {
  4855. delete body_;
  4856. }
  4857. if (this != default_instance_) {
  4858. }
  4859. }
  4860. void CMsgHttpResponse::SetCachedSize(int size) const {
  4861. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4862. _cached_size_ = size;
  4863. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4864. }
  4865. const ::google::protobuf::Descriptor* CMsgHttpResponse::descriptor() {
  4866. protobuf_AssignDescriptorsOnce();
  4867. return CMsgHttpResponse_descriptor_;
  4868. }
  4869. const CMsgHttpResponse& CMsgHttpResponse::default_instance() {
  4870. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  4871. return *default_instance_;
  4872. }
  4873. CMsgHttpResponse* CMsgHttpResponse::default_instance_ = NULL;
  4874. CMsgHttpResponse* CMsgHttpResponse::New() const {
  4875. return new CMsgHttpResponse;
  4876. }
  4877. void CMsgHttpResponse::Clear() {
  4878. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4879. status_code_ = 0u;
  4880. if (has_body()) {
  4881. if (body_ != &::google::protobuf::internal::kEmptyString) {
  4882. body_->clear();
  4883. }
  4884. }
  4885. }
  4886. headers_.Clear();
  4887. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4888. mutable_unknown_fields()->Clear();
  4889. }
  4890. bool CMsgHttpResponse::MergePartialFromCodedStream(
  4891. ::google::protobuf::io::CodedInputStream* input) {
  4892. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4893. ::google::protobuf::uint32 tag;
  4894. while ((tag = input->ReadTag()) != 0) {
  4895. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4896. // optional uint32 status_code = 1;
  4897. case 1: {
  4898. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4899. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4900. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4901. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  4902. input, &status_code_)));
  4903. set_has_status_code();
  4904. } else {
  4905. goto handle_uninterpreted;
  4906. }
  4907. if (input->ExpectTag(18)) goto parse_headers;
  4908. break;
  4909. }
  4910. // repeated .CMsgHttpResponse.ResponseHeader headers = 2;
  4911. case 2: {
  4912. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4913. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4914. parse_headers:
  4915. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4916. input, add_headers()));
  4917. } else {
  4918. goto handle_uninterpreted;
  4919. }
  4920. if (input->ExpectTag(18)) goto parse_headers;
  4921. if (input->ExpectTag(26)) goto parse_body;
  4922. break;
  4923. }
  4924. // optional bytes body = 3;
  4925. case 3: {
  4926. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4927. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4928. parse_body:
  4929. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  4930. input, this->mutable_body()));
  4931. } else {
  4932. goto handle_uninterpreted;
  4933. }
  4934. if (input->ExpectAtEnd()) return true;
  4935. break;
  4936. }
  4937. default: {
  4938. handle_uninterpreted:
  4939. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4940. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4941. return true;
  4942. }
  4943. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4944. input, tag, mutable_unknown_fields()));
  4945. break;
  4946. }
  4947. }
  4948. }
  4949. return true;
  4950. #undef DO_
  4951. }
  4952. void CMsgHttpResponse::SerializeWithCachedSizes(
  4953. ::google::protobuf::io::CodedOutputStream* output) const {
  4954. // optional uint32 status_code = 1;
  4955. if (has_status_code()) {
  4956. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->status_code(), output);
  4957. }
  4958. // repeated .CMsgHttpResponse.ResponseHeader headers = 2;
  4959. for (int i = 0; i < this->headers_size(); i++) {
  4960. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4961. 2, this->headers(i), output);
  4962. }
  4963. // optional bytes body = 3;
  4964. if (has_body()) {
  4965. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  4966. 3, this->body(), output);
  4967. }
  4968. if (!unknown_fields().empty()) {
  4969. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4970. unknown_fields(), output);
  4971. }
  4972. }
  4973. ::google::protobuf::uint8* CMsgHttpResponse::SerializeWithCachedSizesToArray(
  4974. ::google::protobuf::uint8* target) const {
  4975. // optional uint32 status_code = 1;
  4976. if (has_status_code()) {
  4977. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->status_code(), target);
  4978. }
  4979. // repeated .CMsgHttpResponse.ResponseHeader headers = 2;
  4980. for (int i = 0; i < this->headers_size(); i++) {
  4981. target = ::google::protobuf::internal::WireFormatLite::
  4982. WriteMessageNoVirtualToArray(
  4983. 2, this->headers(i), target);
  4984. }
  4985. // optional bytes body = 3;
  4986. if (has_body()) {
  4987. target =
  4988. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  4989. 3, this->body(), target);
  4990. }
  4991. if (!unknown_fields().empty()) {
  4992. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4993. unknown_fields(), target);
  4994. }
  4995. return target;
  4996. }
  4997. int CMsgHttpResponse::ByteSize() const {
  4998. int total_size = 0;
  4999. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5000. // optional uint32 status_code = 1;
  5001. if (has_status_code()) {
  5002. total_size += 1 +
  5003. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5004. this->status_code());
  5005. }
  5006. // optional bytes body = 3;
  5007. if (has_body()) {
  5008. total_size += 1 +
  5009. ::google::protobuf::internal::WireFormatLite::BytesSize(
  5010. this->body());
  5011. }
  5012. }
  5013. // repeated .CMsgHttpResponse.ResponseHeader headers = 2;
  5014. total_size += 1 * this->headers_size();
  5015. for (int i = 0; i < this->headers_size(); i++) {
  5016. total_size +=
  5017. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  5018. this->headers(i));
  5019. }
  5020. if (!unknown_fields().empty()) {
  5021. total_size +=
  5022. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5023. unknown_fields());
  5024. }
  5025. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5026. _cached_size_ = total_size;
  5027. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5028. return total_size;
  5029. }
  5030. void CMsgHttpResponse::MergeFrom(const ::google::protobuf::Message& from) {
  5031. GOOGLE_CHECK_NE(&from, this);
  5032. const CMsgHttpResponse* source =
  5033. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgHttpResponse*>(
  5034. &from);
  5035. if (source == NULL) {
  5036. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5037. } else {
  5038. MergeFrom(*source);
  5039. }
  5040. }
  5041. void CMsgHttpResponse::MergeFrom(const CMsgHttpResponse& from) {
  5042. GOOGLE_CHECK_NE(&from, this);
  5043. headers_.MergeFrom(from.headers_);
  5044. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5045. if (from.has_status_code()) {
  5046. set_status_code(from.status_code());
  5047. }
  5048. if (from.has_body()) {
  5049. set_body(from.body());
  5050. }
  5051. }
  5052. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5053. }
  5054. void CMsgHttpResponse::CopyFrom(const ::google::protobuf::Message& from) {
  5055. if (&from == this) return;
  5056. Clear();
  5057. MergeFrom(from);
  5058. }
  5059. void CMsgHttpResponse::CopyFrom(const CMsgHttpResponse& from) {
  5060. if (&from == this) return;
  5061. Clear();
  5062. MergeFrom(from);
  5063. }
  5064. bool CMsgHttpResponse::IsInitialized() const {
  5065. return true;
  5066. }
  5067. void CMsgHttpResponse::Swap(CMsgHttpResponse* other) {
  5068. if (other != this) {
  5069. std::swap(status_code_, other->status_code_);
  5070. headers_.Swap(&other->headers_);
  5071. std::swap(body_, other->body_);
  5072. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5073. _unknown_fields_.Swap(&other->_unknown_fields_);
  5074. std::swap(_cached_size_, other->_cached_size_);
  5075. }
  5076. }
  5077. ::google::protobuf::Metadata CMsgHttpResponse::GetMetadata() const {
  5078. protobuf_AssignDescriptorsOnce();
  5079. ::google::protobuf::Metadata metadata;
  5080. metadata.descriptor = CMsgHttpResponse_descriptor_;
  5081. metadata.reflection = CMsgHttpResponse_reflection_;
  5082. return metadata;
  5083. }
  5084. // ===================================================================
  5085. #ifndef _MSC_VER
  5086. const int CMsgAMFindAccounts::kSearchTypeFieldNumber;
  5087. const int CMsgAMFindAccounts::kSearchStringFieldNumber;
  5088. #endif // !_MSC_VER
  5089. CMsgAMFindAccounts::CMsgAMFindAccounts()
  5090. : ::google::protobuf::Message() {
  5091. SharedCtor();
  5092. }
  5093. void CMsgAMFindAccounts::InitAsDefaultInstance() {
  5094. }
  5095. CMsgAMFindAccounts::CMsgAMFindAccounts(const CMsgAMFindAccounts& from)
  5096. : ::google::protobuf::Message() {
  5097. SharedCtor();
  5098. MergeFrom(from);
  5099. }
  5100. void CMsgAMFindAccounts::SharedCtor() {
  5101. _cached_size_ = 0;
  5102. search_type_ = 0u;
  5103. search_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  5104. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5105. }
  5106. CMsgAMFindAccounts::~CMsgAMFindAccounts() {
  5107. SharedDtor();
  5108. }
  5109. void CMsgAMFindAccounts::SharedDtor() {
  5110. if (search_string_ != &::google::protobuf::internal::kEmptyString) {
  5111. delete search_string_;
  5112. }
  5113. if (this != default_instance_) {
  5114. }
  5115. }
  5116. void CMsgAMFindAccounts::SetCachedSize(int size) const {
  5117. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5118. _cached_size_ = size;
  5119. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5120. }
  5121. const ::google::protobuf::Descriptor* CMsgAMFindAccounts::descriptor() {
  5122. protobuf_AssignDescriptorsOnce();
  5123. return CMsgAMFindAccounts_descriptor_;
  5124. }
  5125. const CMsgAMFindAccounts& CMsgAMFindAccounts::default_instance() {
  5126. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  5127. return *default_instance_;
  5128. }
  5129. CMsgAMFindAccounts* CMsgAMFindAccounts::default_instance_ = NULL;
  5130. CMsgAMFindAccounts* CMsgAMFindAccounts::New() const {
  5131. return new CMsgAMFindAccounts;
  5132. }
  5133. void CMsgAMFindAccounts::Clear() {
  5134. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5135. search_type_ = 0u;
  5136. if (has_search_string()) {
  5137. if (search_string_ != &::google::protobuf::internal::kEmptyString) {
  5138. search_string_->clear();
  5139. }
  5140. }
  5141. }
  5142. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5143. mutable_unknown_fields()->Clear();
  5144. }
  5145. bool CMsgAMFindAccounts::MergePartialFromCodedStream(
  5146. ::google::protobuf::io::CodedInputStream* input) {
  5147. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5148. ::google::protobuf::uint32 tag;
  5149. while ((tag = input->ReadTag()) != 0) {
  5150. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5151. // optional uint32 search_type = 1;
  5152. case 1: {
  5153. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5154. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5155. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5156. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5157. input, &search_type_)));
  5158. set_has_search_type();
  5159. } else {
  5160. goto handle_uninterpreted;
  5161. }
  5162. if (input->ExpectTag(18)) goto parse_search_string;
  5163. break;
  5164. }
  5165. // optional string search_string = 2;
  5166. case 2: {
  5167. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5168. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5169. parse_search_string:
  5170. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5171. input, this->mutable_search_string()));
  5172. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5173. this->search_string().data(), this->search_string().length(),
  5174. ::google::protobuf::internal::WireFormat::PARSE);
  5175. } else {
  5176. goto handle_uninterpreted;
  5177. }
  5178. if (input->ExpectAtEnd()) return true;
  5179. break;
  5180. }
  5181. default: {
  5182. handle_uninterpreted:
  5183. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5184. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5185. return true;
  5186. }
  5187. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5188. input, tag, mutable_unknown_fields()));
  5189. break;
  5190. }
  5191. }
  5192. }
  5193. return true;
  5194. #undef DO_
  5195. }
  5196. void CMsgAMFindAccounts::SerializeWithCachedSizes(
  5197. ::google::protobuf::io::CodedOutputStream* output) const {
  5198. // optional uint32 search_type = 1;
  5199. if (has_search_type()) {
  5200. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->search_type(), output);
  5201. }
  5202. // optional string search_string = 2;
  5203. if (has_search_string()) {
  5204. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5205. this->search_string().data(), this->search_string().length(),
  5206. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5207. ::google::protobuf::internal::WireFormatLite::WriteString(
  5208. 2, this->search_string(), output);
  5209. }
  5210. if (!unknown_fields().empty()) {
  5211. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5212. unknown_fields(), output);
  5213. }
  5214. }
  5215. ::google::protobuf::uint8* CMsgAMFindAccounts::SerializeWithCachedSizesToArray(
  5216. ::google::protobuf::uint8* target) const {
  5217. // optional uint32 search_type = 1;
  5218. if (has_search_type()) {
  5219. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->search_type(), target);
  5220. }
  5221. // optional string search_string = 2;
  5222. if (has_search_string()) {
  5223. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5224. this->search_string().data(), this->search_string().length(),
  5225. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5226. target =
  5227. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5228. 2, this->search_string(), target);
  5229. }
  5230. if (!unknown_fields().empty()) {
  5231. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5232. unknown_fields(), target);
  5233. }
  5234. return target;
  5235. }
  5236. int CMsgAMFindAccounts::ByteSize() const {
  5237. int total_size = 0;
  5238. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5239. // optional uint32 search_type = 1;
  5240. if (has_search_type()) {
  5241. total_size += 1 +
  5242. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5243. this->search_type());
  5244. }
  5245. // optional string search_string = 2;
  5246. if (has_search_string()) {
  5247. total_size += 1 +
  5248. ::google::protobuf::internal::WireFormatLite::StringSize(
  5249. this->search_string());
  5250. }
  5251. }
  5252. if (!unknown_fields().empty()) {
  5253. total_size +=
  5254. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5255. unknown_fields());
  5256. }
  5257. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5258. _cached_size_ = total_size;
  5259. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5260. return total_size;
  5261. }
  5262. void CMsgAMFindAccounts::MergeFrom(const ::google::protobuf::Message& from) {
  5263. GOOGLE_CHECK_NE(&from, this);
  5264. const CMsgAMFindAccounts* source =
  5265. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMFindAccounts*>(
  5266. &from);
  5267. if (source == NULL) {
  5268. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5269. } else {
  5270. MergeFrom(*source);
  5271. }
  5272. }
  5273. void CMsgAMFindAccounts::MergeFrom(const CMsgAMFindAccounts& from) {
  5274. GOOGLE_CHECK_NE(&from, this);
  5275. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5276. if (from.has_search_type()) {
  5277. set_search_type(from.search_type());
  5278. }
  5279. if (from.has_search_string()) {
  5280. set_search_string(from.search_string());
  5281. }
  5282. }
  5283. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5284. }
  5285. void CMsgAMFindAccounts::CopyFrom(const ::google::protobuf::Message& from) {
  5286. if (&from == this) return;
  5287. Clear();
  5288. MergeFrom(from);
  5289. }
  5290. void CMsgAMFindAccounts::CopyFrom(const CMsgAMFindAccounts& from) {
  5291. if (&from == this) return;
  5292. Clear();
  5293. MergeFrom(from);
  5294. }
  5295. bool CMsgAMFindAccounts::IsInitialized() const {
  5296. return true;
  5297. }
  5298. void CMsgAMFindAccounts::Swap(CMsgAMFindAccounts* other) {
  5299. if (other != this) {
  5300. std::swap(search_type_, other->search_type_);
  5301. std::swap(search_string_, other->search_string_);
  5302. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5303. _unknown_fields_.Swap(&other->_unknown_fields_);
  5304. std::swap(_cached_size_, other->_cached_size_);
  5305. }
  5306. }
  5307. ::google::protobuf::Metadata CMsgAMFindAccounts::GetMetadata() const {
  5308. protobuf_AssignDescriptorsOnce();
  5309. ::google::protobuf::Metadata metadata;
  5310. metadata.descriptor = CMsgAMFindAccounts_descriptor_;
  5311. metadata.reflection = CMsgAMFindAccounts_reflection_;
  5312. return metadata;
  5313. }
  5314. // ===================================================================
  5315. #ifndef _MSC_VER
  5316. const int CMsgAMFindAccountsResponse::kSteamIdFieldNumber;
  5317. #endif // !_MSC_VER
  5318. CMsgAMFindAccountsResponse::CMsgAMFindAccountsResponse()
  5319. : ::google::protobuf::Message() {
  5320. SharedCtor();
  5321. }
  5322. void CMsgAMFindAccountsResponse::InitAsDefaultInstance() {
  5323. }
  5324. CMsgAMFindAccountsResponse::CMsgAMFindAccountsResponse(const CMsgAMFindAccountsResponse& from)
  5325. : ::google::protobuf::Message() {
  5326. SharedCtor();
  5327. MergeFrom(from);
  5328. }
  5329. void CMsgAMFindAccountsResponse::SharedCtor() {
  5330. _cached_size_ = 0;
  5331. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5332. }
  5333. CMsgAMFindAccountsResponse::~CMsgAMFindAccountsResponse() {
  5334. SharedDtor();
  5335. }
  5336. void CMsgAMFindAccountsResponse::SharedDtor() {
  5337. if (this != default_instance_) {
  5338. }
  5339. }
  5340. void CMsgAMFindAccountsResponse::SetCachedSize(int size) const {
  5341. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5342. _cached_size_ = size;
  5343. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5344. }
  5345. const ::google::protobuf::Descriptor* CMsgAMFindAccountsResponse::descriptor() {
  5346. protobuf_AssignDescriptorsOnce();
  5347. return CMsgAMFindAccountsResponse_descriptor_;
  5348. }
  5349. const CMsgAMFindAccountsResponse& CMsgAMFindAccountsResponse::default_instance() {
  5350. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  5351. return *default_instance_;
  5352. }
  5353. CMsgAMFindAccountsResponse* CMsgAMFindAccountsResponse::default_instance_ = NULL;
  5354. CMsgAMFindAccountsResponse* CMsgAMFindAccountsResponse::New() const {
  5355. return new CMsgAMFindAccountsResponse;
  5356. }
  5357. void CMsgAMFindAccountsResponse::Clear() {
  5358. steam_id_.Clear();
  5359. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5360. mutable_unknown_fields()->Clear();
  5361. }
  5362. bool CMsgAMFindAccountsResponse::MergePartialFromCodedStream(
  5363. ::google::protobuf::io::CodedInputStream* input) {
  5364. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5365. ::google::protobuf::uint32 tag;
  5366. while ((tag = input->ReadTag()) != 0) {
  5367. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5368. // repeated fixed64 steam_id = 1;
  5369. case 1: {
  5370. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5371. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  5372. parse_steam_id:
  5373. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  5374. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  5375. 1, 9, input, this->mutable_steam_id())));
  5376. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  5377. == ::google::protobuf::internal::WireFormatLite::
  5378. WIRETYPE_LENGTH_DELIMITED) {
  5379. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  5380. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  5381. input, this->mutable_steam_id())));
  5382. } else {
  5383. goto handle_uninterpreted;
  5384. }
  5385. if (input->ExpectTag(9)) goto parse_steam_id;
  5386. if (input->ExpectAtEnd()) return true;
  5387. break;
  5388. }
  5389. default: {
  5390. handle_uninterpreted:
  5391. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5392. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5393. return true;
  5394. }
  5395. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5396. input, tag, mutable_unknown_fields()));
  5397. break;
  5398. }
  5399. }
  5400. }
  5401. return true;
  5402. #undef DO_
  5403. }
  5404. void CMsgAMFindAccountsResponse::SerializeWithCachedSizes(
  5405. ::google::protobuf::io::CodedOutputStream* output) const {
  5406. // repeated fixed64 steam_id = 1;
  5407. for (int i = 0; i < this->steam_id_size(); i++) {
  5408. ::google::protobuf::internal::WireFormatLite::WriteFixed64(
  5409. 1, this->steam_id(i), output);
  5410. }
  5411. if (!unknown_fields().empty()) {
  5412. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5413. unknown_fields(), output);
  5414. }
  5415. }
  5416. ::google::protobuf::uint8* CMsgAMFindAccountsResponse::SerializeWithCachedSizesToArray(
  5417. ::google::protobuf::uint8* target) const {
  5418. // repeated fixed64 steam_id = 1;
  5419. for (int i = 0; i < this->steam_id_size(); i++) {
  5420. target = ::google::protobuf::internal::WireFormatLite::
  5421. WriteFixed64ToArray(1, this->steam_id(i), target);
  5422. }
  5423. if (!unknown_fields().empty()) {
  5424. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5425. unknown_fields(), target);
  5426. }
  5427. return target;
  5428. }
  5429. int CMsgAMFindAccountsResponse::ByteSize() const {
  5430. int total_size = 0;
  5431. // repeated fixed64 steam_id = 1;
  5432. {
  5433. int data_size = 0;
  5434. data_size = 8 * this->steam_id_size();
  5435. total_size += 1 * this->steam_id_size() + data_size;
  5436. }
  5437. if (!unknown_fields().empty()) {
  5438. total_size +=
  5439. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5440. unknown_fields());
  5441. }
  5442. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5443. _cached_size_ = total_size;
  5444. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5445. return total_size;
  5446. }
  5447. void CMsgAMFindAccountsResponse::MergeFrom(const ::google::protobuf::Message& from) {
  5448. GOOGLE_CHECK_NE(&from, this);
  5449. const CMsgAMFindAccountsResponse* source =
  5450. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMFindAccountsResponse*>(
  5451. &from);
  5452. if (source == NULL) {
  5453. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5454. } else {
  5455. MergeFrom(*source);
  5456. }
  5457. }
  5458. void CMsgAMFindAccountsResponse::MergeFrom(const CMsgAMFindAccountsResponse& from) {
  5459. GOOGLE_CHECK_NE(&from, this);
  5460. steam_id_.MergeFrom(from.steam_id_);
  5461. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5462. }
  5463. void CMsgAMFindAccountsResponse::CopyFrom(const ::google::protobuf::Message& from) {
  5464. if (&from == this) return;
  5465. Clear();
  5466. MergeFrom(from);
  5467. }
  5468. void CMsgAMFindAccountsResponse::CopyFrom(const CMsgAMFindAccountsResponse& from) {
  5469. if (&from == this) return;
  5470. Clear();
  5471. MergeFrom(from);
  5472. }
  5473. bool CMsgAMFindAccountsResponse::IsInitialized() const {
  5474. return true;
  5475. }
  5476. void CMsgAMFindAccountsResponse::Swap(CMsgAMFindAccountsResponse* other) {
  5477. if (other != this) {
  5478. steam_id_.Swap(&other->steam_id_);
  5479. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5480. _unknown_fields_.Swap(&other->_unknown_fields_);
  5481. std::swap(_cached_size_, other->_cached_size_);
  5482. }
  5483. }
  5484. ::google::protobuf::Metadata CMsgAMFindAccountsResponse::GetMetadata() const {
  5485. protobuf_AssignDescriptorsOnce();
  5486. ::google::protobuf::Metadata metadata;
  5487. metadata.descriptor = CMsgAMFindAccountsResponse_descriptor_;
  5488. metadata.reflection = CMsgAMFindAccountsResponse_reflection_;
  5489. return metadata;
  5490. }
  5491. // ===================================================================
  5492. #ifndef _MSC_VER
  5493. const int CMsgNotifyWatchdog::kSourceFieldNumber;
  5494. const int CMsgNotifyWatchdog::kAlertTypeFieldNumber;
  5495. const int CMsgNotifyWatchdog::kAlertDestinationFieldNumber;
  5496. const int CMsgNotifyWatchdog::kCriticalFieldNumber;
  5497. const int CMsgNotifyWatchdog::kTimeFieldNumber;
  5498. const int CMsgNotifyWatchdog::kAppidFieldNumber;
  5499. const int CMsgNotifyWatchdog::kTextFieldNumber;
  5500. #endif // !_MSC_VER
  5501. CMsgNotifyWatchdog::CMsgNotifyWatchdog()
  5502. : ::google::protobuf::Message() {
  5503. SharedCtor();
  5504. }
  5505. void CMsgNotifyWatchdog::InitAsDefaultInstance() {
  5506. }
  5507. CMsgNotifyWatchdog::CMsgNotifyWatchdog(const CMsgNotifyWatchdog& from)
  5508. : ::google::protobuf::Message() {
  5509. SharedCtor();
  5510. MergeFrom(from);
  5511. }
  5512. void CMsgNotifyWatchdog::SharedCtor() {
  5513. _cached_size_ = 0;
  5514. source_ = 0u;
  5515. alert_type_ = 0u;
  5516. alert_destination_ = 0u;
  5517. critical_ = false;
  5518. time_ = 0u;
  5519. appid_ = 0u;
  5520. text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  5521. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5522. }
  5523. CMsgNotifyWatchdog::~CMsgNotifyWatchdog() {
  5524. SharedDtor();
  5525. }
  5526. void CMsgNotifyWatchdog::SharedDtor() {
  5527. if (text_ != &::google::protobuf::internal::kEmptyString) {
  5528. delete text_;
  5529. }
  5530. if (this != default_instance_) {
  5531. }
  5532. }
  5533. void CMsgNotifyWatchdog::SetCachedSize(int size) const {
  5534. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5535. _cached_size_ = size;
  5536. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5537. }
  5538. const ::google::protobuf::Descriptor* CMsgNotifyWatchdog::descriptor() {
  5539. protobuf_AssignDescriptorsOnce();
  5540. return CMsgNotifyWatchdog_descriptor_;
  5541. }
  5542. const CMsgNotifyWatchdog& CMsgNotifyWatchdog::default_instance() {
  5543. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  5544. return *default_instance_;
  5545. }
  5546. CMsgNotifyWatchdog* CMsgNotifyWatchdog::default_instance_ = NULL;
  5547. CMsgNotifyWatchdog* CMsgNotifyWatchdog::New() const {
  5548. return new CMsgNotifyWatchdog;
  5549. }
  5550. void CMsgNotifyWatchdog::Clear() {
  5551. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5552. source_ = 0u;
  5553. alert_type_ = 0u;
  5554. alert_destination_ = 0u;
  5555. critical_ = false;
  5556. time_ = 0u;
  5557. appid_ = 0u;
  5558. if (has_text()) {
  5559. if (text_ != &::google::protobuf::internal::kEmptyString) {
  5560. text_->clear();
  5561. }
  5562. }
  5563. }
  5564. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5565. mutable_unknown_fields()->Clear();
  5566. }
  5567. bool CMsgNotifyWatchdog::MergePartialFromCodedStream(
  5568. ::google::protobuf::io::CodedInputStream* input) {
  5569. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5570. ::google::protobuf::uint32 tag;
  5571. while ((tag = input->ReadTag()) != 0) {
  5572. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5573. // optional uint32 source = 1;
  5574. case 1: {
  5575. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5576. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5577. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5578. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5579. input, &source_)));
  5580. set_has_source();
  5581. } else {
  5582. goto handle_uninterpreted;
  5583. }
  5584. if (input->ExpectTag(16)) goto parse_alert_type;
  5585. break;
  5586. }
  5587. // optional uint32 alert_type = 2;
  5588. case 2: {
  5589. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5590. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5591. parse_alert_type:
  5592. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5593. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5594. input, &alert_type_)));
  5595. set_has_alert_type();
  5596. } else {
  5597. goto handle_uninterpreted;
  5598. }
  5599. if (input->ExpectTag(24)) goto parse_alert_destination;
  5600. break;
  5601. }
  5602. // optional uint32 alert_destination = 3;
  5603. case 3: {
  5604. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5605. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5606. parse_alert_destination:
  5607. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5608. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5609. input, &alert_destination_)));
  5610. set_has_alert_destination();
  5611. } else {
  5612. goto handle_uninterpreted;
  5613. }
  5614. if (input->ExpectTag(32)) goto parse_critical;
  5615. break;
  5616. }
  5617. // optional bool critical = 4;
  5618. case 4: {
  5619. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5620. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5621. parse_critical:
  5622. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5623. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  5624. input, &critical_)));
  5625. set_has_critical();
  5626. } else {
  5627. goto handle_uninterpreted;
  5628. }
  5629. if (input->ExpectTag(40)) goto parse_time;
  5630. break;
  5631. }
  5632. // optional uint32 time = 5;
  5633. case 5: {
  5634. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5635. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5636. parse_time:
  5637. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5638. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5639. input, &time_)));
  5640. set_has_time();
  5641. } else {
  5642. goto handle_uninterpreted;
  5643. }
  5644. if (input->ExpectTag(48)) goto parse_appid;
  5645. break;
  5646. }
  5647. // optional uint32 appid = 6;
  5648. case 6: {
  5649. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5650. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5651. parse_appid:
  5652. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5653. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  5654. input, &appid_)));
  5655. set_has_appid();
  5656. } else {
  5657. goto handle_uninterpreted;
  5658. }
  5659. if (input->ExpectTag(58)) goto parse_text;
  5660. break;
  5661. }
  5662. // optional string text = 7;
  5663. case 7: {
  5664. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5665. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5666. parse_text:
  5667. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5668. input, this->mutable_text()));
  5669. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5670. this->text().data(), this->text().length(),
  5671. ::google::protobuf::internal::WireFormat::PARSE);
  5672. } else {
  5673. goto handle_uninterpreted;
  5674. }
  5675. if (input->ExpectAtEnd()) return true;
  5676. break;
  5677. }
  5678. default: {
  5679. handle_uninterpreted:
  5680. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5681. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5682. return true;
  5683. }
  5684. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5685. input, tag, mutable_unknown_fields()));
  5686. break;
  5687. }
  5688. }
  5689. }
  5690. return true;
  5691. #undef DO_
  5692. }
  5693. void CMsgNotifyWatchdog::SerializeWithCachedSizes(
  5694. ::google::protobuf::io::CodedOutputStream* output) const {
  5695. // optional uint32 source = 1;
  5696. if (has_source()) {
  5697. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->source(), output);
  5698. }
  5699. // optional uint32 alert_type = 2;
  5700. if (has_alert_type()) {
  5701. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->alert_type(), output);
  5702. }
  5703. // optional uint32 alert_destination = 3;
  5704. if (has_alert_destination()) {
  5705. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->alert_destination(), output);
  5706. }
  5707. // optional bool critical = 4;
  5708. if (has_critical()) {
  5709. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->critical(), output);
  5710. }
  5711. // optional uint32 time = 5;
  5712. if (has_time()) {
  5713. ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->time(), output);
  5714. }
  5715. // optional uint32 appid = 6;
  5716. if (has_appid()) {
  5717. ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->appid(), output);
  5718. }
  5719. // optional string text = 7;
  5720. if (has_text()) {
  5721. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5722. this->text().data(), this->text().length(),
  5723. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5724. ::google::protobuf::internal::WireFormatLite::WriteString(
  5725. 7, this->text(), output);
  5726. }
  5727. if (!unknown_fields().empty()) {
  5728. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5729. unknown_fields(), output);
  5730. }
  5731. }
  5732. ::google::protobuf::uint8* CMsgNotifyWatchdog::SerializeWithCachedSizesToArray(
  5733. ::google::protobuf::uint8* target) const {
  5734. // optional uint32 source = 1;
  5735. if (has_source()) {
  5736. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->source(), target);
  5737. }
  5738. // optional uint32 alert_type = 2;
  5739. if (has_alert_type()) {
  5740. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->alert_type(), target);
  5741. }
  5742. // optional uint32 alert_destination = 3;
  5743. if (has_alert_destination()) {
  5744. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->alert_destination(), target);
  5745. }
  5746. // optional bool critical = 4;
  5747. if (has_critical()) {
  5748. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->critical(), target);
  5749. }
  5750. // optional uint32 time = 5;
  5751. if (has_time()) {
  5752. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->time(), target);
  5753. }
  5754. // optional uint32 appid = 6;
  5755. if (has_appid()) {
  5756. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->appid(), target);
  5757. }
  5758. // optional string text = 7;
  5759. if (has_text()) {
  5760. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5761. this->text().data(), this->text().length(),
  5762. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5763. target =
  5764. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5765. 7, this->text(), target);
  5766. }
  5767. if (!unknown_fields().empty()) {
  5768. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5769. unknown_fields(), target);
  5770. }
  5771. return target;
  5772. }
  5773. int CMsgNotifyWatchdog::ByteSize() const {
  5774. int total_size = 0;
  5775. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5776. // optional uint32 source = 1;
  5777. if (has_source()) {
  5778. total_size += 1 +
  5779. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5780. this->source());
  5781. }
  5782. // optional uint32 alert_type = 2;
  5783. if (has_alert_type()) {
  5784. total_size += 1 +
  5785. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5786. this->alert_type());
  5787. }
  5788. // optional uint32 alert_destination = 3;
  5789. if (has_alert_destination()) {
  5790. total_size += 1 +
  5791. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5792. this->alert_destination());
  5793. }
  5794. // optional bool critical = 4;
  5795. if (has_critical()) {
  5796. total_size += 1 + 1;
  5797. }
  5798. // optional uint32 time = 5;
  5799. if (has_time()) {
  5800. total_size += 1 +
  5801. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5802. this->time());
  5803. }
  5804. // optional uint32 appid = 6;
  5805. if (has_appid()) {
  5806. total_size += 1 +
  5807. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  5808. this->appid());
  5809. }
  5810. // optional string text = 7;
  5811. if (has_text()) {
  5812. total_size += 1 +
  5813. ::google::protobuf::internal::WireFormatLite::StringSize(
  5814. this->text());
  5815. }
  5816. }
  5817. if (!unknown_fields().empty()) {
  5818. total_size +=
  5819. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5820. unknown_fields());
  5821. }
  5822. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5823. _cached_size_ = total_size;
  5824. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5825. return total_size;
  5826. }
  5827. void CMsgNotifyWatchdog::MergeFrom(const ::google::protobuf::Message& from) {
  5828. GOOGLE_CHECK_NE(&from, this);
  5829. const CMsgNotifyWatchdog* source =
  5830. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgNotifyWatchdog*>(
  5831. &from);
  5832. if (source == NULL) {
  5833. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5834. } else {
  5835. MergeFrom(*source);
  5836. }
  5837. }
  5838. void CMsgNotifyWatchdog::MergeFrom(const CMsgNotifyWatchdog& from) {
  5839. GOOGLE_CHECK_NE(&from, this);
  5840. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5841. if (from.has_source()) {
  5842. set_source(from.source());
  5843. }
  5844. if (from.has_alert_type()) {
  5845. set_alert_type(from.alert_type());
  5846. }
  5847. if (from.has_alert_destination()) {
  5848. set_alert_destination(from.alert_destination());
  5849. }
  5850. if (from.has_critical()) {
  5851. set_critical(from.critical());
  5852. }
  5853. if (from.has_time()) {
  5854. set_time(from.time());
  5855. }
  5856. if (from.has_appid()) {
  5857. set_appid(from.appid());
  5858. }
  5859. if (from.has_text()) {
  5860. set_text(from.text());
  5861. }
  5862. }
  5863. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5864. }
  5865. void CMsgNotifyWatchdog::CopyFrom(const ::google::protobuf::Message& from) {
  5866. if (&from == this) return;
  5867. Clear();
  5868. MergeFrom(from);
  5869. }
  5870. void CMsgNotifyWatchdog::CopyFrom(const CMsgNotifyWatchdog& from) {
  5871. if (&from == this) return;
  5872. Clear();
  5873. MergeFrom(from);
  5874. }
  5875. bool CMsgNotifyWatchdog::IsInitialized() const {
  5876. return true;
  5877. }
  5878. void CMsgNotifyWatchdog::Swap(CMsgNotifyWatchdog* other) {
  5879. if (other != this) {
  5880. std::swap(source_, other->source_);
  5881. std::swap(alert_type_, other->alert_type_);
  5882. std::swap(alert_destination_, other->alert_destination_);
  5883. std::swap(critical_, other->critical_);
  5884. std::swap(time_, other->time_);
  5885. std::swap(appid_, other->appid_);
  5886. std::swap(text_, other->text_);
  5887. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5888. _unknown_fields_.Swap(&other->_unknown_fields_);
  5889. std::swap(_cached_size_, other->_cached_size_);
  5890. }
  5891. }
  5892. ::google::protobuf::Metadata CMsgNotifyWatchdog::GetMetadata() const {
  5893. protobuf_AssignDescriptorsOnce();
  5894. ::google::protobuf::Metadata metadata;
  5895. metadata.descriptor = CMsgNotifyWatchdog_descriptor_;
  5896. metadata.reflection = CMsgNotifyWatchdog_reflection_;
  5897. return metadata;
  5898. }
  5899. // ===================================================================
  5900. #ifndef _MSC_VER
  5901. const int CMsgAMGetLicenses::kSteamidFieldNumber;
  5902. #endif // !_MSC_VER
  5903. CMsgAMGetLicenses::CMsgAMGetLicenses()
  5904. : ::google::protobuf::Message() {
  5905. SharedCtor();
  5906. }
  5907. void CMsgAMGetLicenses::InitAsDefaultInstance() {
  5908. }
  5909. CMsgAMGetLicenses::CMsgAMGetLicenses(const CMsgAMGetLicenses& from)
  5910. : ::google::protobuf::Message() {
  5911. SharedCtor();
  5912. MergeFrom(from);
  5913. }
  5914. void CMsgAMGetLicenses::SharedCtor() {
  5915. _cached_size_ = 0;
  5916. steamid_ = GOOGLE_ULONGLONG(0);
  5917. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5918. }
  5919. CMsgAMGetLicenses::~CMsgAMGetLicenses() {
  5920. SharedDtor();
  5921. }
  5922. void CMsgAMGetLicenses::SharedDtor() {
  5923. if (this != default_instance_) {
  5924. }
  5925. }
  5926. void CMsgAMGetLicenses::SetCachedSize(int size) const {
  5927. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5928. _cached_size_ = size;
  5929. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5930. }
  5931. const ::google::protobuf::Descriptor* CMsgAMGetLicenses::descriptor() {
  5932. protobuf_AssignDescriptorsOnce();
  5933. return CMsgAMGetLicenses_descriptor_;
  5934. }
  5935. const CMsgAMGetLicenses& CMsgAMGetLicenses::default_instance() {
  5936. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  5937. return *default_instance_;
  5938. }
  5939. CMsgAMGetLicenses* CMsgAMGetLicenses::default_instance_ = NULL;
  5940. CMsgAMGetLicenses* CMsgAMGetLicenses::New() const {
  5941. return new CMsgAMGetLicenses;
  5942. }
  5943. void CMsgAMGetLicenses::Clear() {
  5944. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5945. steamid_ = GOOGLE_ULONGLONG(0);
  5946. }
  5947. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5948. mutable_unknown_fields()->Clear();
  5949. }
  5950. bool CMsgAMGetLicenses::MergePartialFromCodedStream(
  5951. ::google::protobuf::io::CodedInputStream* input) {
  5952. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5953. ::google::protobuf::uint32 tag;
  5954. while ((tag = input->ReadTag()) != 0) {
  5955. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5956. // optional fixed64 steamid = 1;
  5957. case 1: {
  5958. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5959. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  5960. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5961. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  5962. input, &steamid_)));
  5963. set_has_steamid();
  5964. } else {
  5965. goto handle_uninterpreted;
  5966. }
  5967. if (input->ExpectAtEnd()) return true;
  5968. break;
  5969. }
  5970. default: {
  5971. handle_uninterpreted:
  5972. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5973. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5974. return true;
  5975. }
  5976. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5977. input, tag, mutable_unknown_fields()));
  5978. break;
  5979. }
  5980. }
  5981. }
  5982. return true;
  5983. #undef DO_
  5984. }
  5985. void CMsgAMGetLicenses::SerializeWithCachedSizes(
  5986. ::google::protobuf::io::CodedOutputStream* output) const {
  5987. // optional fixed64 steamid = 1;
  5988. if (has_steamid()) {
  5989. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steamid(), output);
  5990. }
  5991. if (!unknown_fields().empty()) {
  5992. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5993. unknown_fields(), output);
  5994. }
  5995. }
  5996. ::google::protobuf::uint8* CMsgAMGetLicenses::SerializeWithCachedSizesToArray(
  5997. ::google::protobuf::uint8* target) const {
  5998. // optional fixed64 steamid = 1;
  5999. if (has_steamid()) {
  6000. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steamid(), target);
  6001. }
  6002. if (!unknown_fields().empty()) {
  6003. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6004. unknown_fields(), target);
  6005. }
  6006. return target;
  6007. }
  6008. int CMsgAMGetLicenses::ByteSize() const {
  6009. int total_size = 0;
  6010. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6011. // optional fixed64 steamid = 1;
  6012. if (has_steamid()) {
  6013. total_size += 1 + 8;
  6014. }
  6015. }
  6016. if (!unknown_fields().empty()) {
  6017. total_size +=
  6018. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6019. unknown_fields());
  6020. }
  6021. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6022. _cached_size_ = total_size;
  6023. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6024. return total_size;
  6025. }
  6026. void CMsgAMGetLicenses::MergeFrom(const ::google::protobuf::Message& from) {
  6027. GOOGLE_CHECK_NE(&from, this);
  6028. const CMsgAMGetLicenses* source =
  6029. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMGetLicenses*>(
  6030. &from);
  6031. if (source == NULL) {
  6032. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6033. } else {
  6034. MergeFrom(*source);
  6035. }
  6036. }
  6037. void CMsgAMGetLicenses::MergeFrom(const CMsgAMGetLicenses& from) {
  6038. GOOGLE_CHECK_NE(&from, this);
  6039. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6040. if (from.has_steamid()) {
  6041. set_steamid(from.steamid());
  6042. }
  6043. }
  6044. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6045. }
  6046. void CMsgAMGetLicenses::CopyFrom(const ::google::protobuf::Message& from) {
  6047. if (&from == this) return;
  6048. Clear();
  6049. MergeFrom(from);
  6050. }
  6051. void CMsgAMGetLicenses::CopyFrom(const CMsgAMGetLicenses& from) {
  6052. if (&from == this) return;
  6053. Clear();
  6054. MergeFrom(from);
  6055. }
  6056. bool CMsgAMGetLicenses::IsInitialized() const {
  6057. return true;
  6058. }
  6059. void CMsgAMGetLicenses::Swap(CMsgAMGetLicenses* other) {
  6060. if (other != this) {
  6061. std::swap(steamid_, other->steamid_);
  6062. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6063. _unknown_fields_.Swap(&other->_unknown_fields_);
  6064. std::swap(_cached_size_, other->_cached_size_);
  6065. }
  6066. }
  6067. ::google::protobuf::Metadata CMsgAMGetLicenses::GetMetadata() const {
  6068. protobuf_AssignDescriptorsOnce();
  6069. ::google::protobuf::Metadata metadata;
  6070. metadata.descriptor = CMsgAMGetLicenses_descriptor_;
  6071. metadata.reflection = CMsgAMGetLicenses_reflection_;
  6072. return metadata;
  6073. }
  6074. // ===================================================================
  6075. #ifndef _MSC_VER
  6076. const int CMsgPackageLicense::kPackageIdFieldNumber;
  6077. const int CMsgPackageLicense::kTimeCreatedFieldNumber;
  6078. const int CMsgPackageLicense::kOwnerIdFieldNumber;
  6079. #endif // !_MSC_VER
  6080. CMsgPackageLicense::CMsgPackageLicense()
  6081. : ::google::protobuf::Message() {
  6082. SharedCtor();
  6083. }
  6084. void CMsgPackageLicense::InitAsDefaultInstance() {
  6085. }
  6086. CMsgPackageLicense::CMsgPackageLicense(const CMsgPackageLicense& from)
  6087. : ::google::protobuf::Message() {
  6088. SharedCtor();
  6089. MergeFrom(from);
  6090. }
  6091. void CMsgPackageLicense::SharedCtor() {
  6092. _cached_size_ = 0;
  6093. package_id_ = 0u;
  6094. time_created_ = 0u;
  6095. owner_id_ = 0u;
  6096. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6097. }
  6098. CMsgPackageLicense::~CMsgPackageLicense() {
  6099. SharedDtor();
  6100. }
  6101. void CMsgPackageLicense::SharedDtor() {
  6102. if (this != default_instance_) {
  6103. }
  6104. }
  6105. void CMsgPackageLicense::SetCachedSize(int size) const {
  6106. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6107. _cached_size_ = size;
  6108. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6109. }
  6110. const ::google::protobuf::Descriptor* CMsgPackageLicense::descriptor() {
  6111. protobuf_AssignDescriptorsOnce();
  6112. return CMsgPackageLicense_descriptor_;
  6113. }
  6114. const CMsgPackageLicense& CMsgPackageLicense::default_instance() {
  6115. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  6116. return *default_instance_;
  6117. }
  6118. CMsgPackageLicense* CMsgPackageLicense::default_instance_ = NULL;
  6119. CMsgPackageLicense* CMsgPackageLicense::New() const {
  6120. return new CMsgPackageLicense;
  6121. }
  6122. void CMsgPackageLicense::Clear() {
  6123. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6124. package_id_ = 0u;
  6125. time_created_ = 0u;
  6126. owner_id_ = 0u;
  6127. }
  6128. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6129. mutable_unknown_fields()->Clear();
  6130. }
  6131. bool CMsgPackageLicense::MergePartialFromCodedStream(
  6132. ::google::protobuf::io::CodedInputStream* input) {
  6133. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6134. ::google::protobuf::uint32 tag;
  6135. while ((tag = input->ReadTag()) != 0) {
  6136. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6137. // optional uint32 package_id = 1;
  6138. case 1: {
  6139. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6140. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6141. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6142. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6143. input, &package_id_)));
  6144. set_has_package_id();
  6145. } else {
  6146. goto handle_uninterpreted;
  6147. }
  6148. if (input->ExpectTag(16)) goto parse_time_created;
  6149. break;
  6150. }
  6151. // optional uint32 time_created = 2;
  6152. case 2: {
  6153. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6154. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6155. parse_time_created:
  6156. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6157. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6158. input, &time_created_)));
  6159. set_has_time_created();
  6160. } else {
  6161. goto handle_uninterpreted;
  6162. }
  6163. if (input->ExpectTag(24)) goto parse_owner_id;
  6164. break;
  6165. }
  6166. // optional uint32 owner_id = 3;
  6167. case 3: {
  6168. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6169. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6170. parse_owner_id:
  6171. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6172. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6173. input, &owner_id_)));
  6174. set_has_owner_id();
  6175. } else {
  6176. goto handle_uninterpreted;
  6177. }
  6178. if (input->ExpectAtEnd()) return true;
  6179. break;
  6180. }
  6181. default: {
  6182. handle_uninterpreted:
  6183. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6184. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6185. return true;
  6186. }
  6187. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6188. input, tag, mutable_unknown_fields()));
  6189. break;
  6190. }
  6191. }
  6192. }
  6193. return true;
  6194. #undef DO_
  6195. }
  6196. void CMsgPackageLicense::SerializeWithCachedSizes(
  6197. ::google::protobuf::io::CodedOutputStream* output) const {
  6198. // optional uint32 package_id = 1;
  6199. if (has_package_id()) {
  6200. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->package_id(), output);
  6201. }
  6202. // optional uint32 time_created = 2;
  6203. if (has_time_created()) {
  6204. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->time_created(), output);
  6205. }
  6206. // optional uint32 owner_id = 3;
  6207. if (has_owner_id()) {
  6208. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->owner_id(), output);
  6209. }
  6210. if (!unknown_fields().empty()) {
  6211. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6212. unknown_fields(), output);
  6213. }
  6214. }
  6215. ::google::protobuf::uint8* CMsgPackageLicense::SerializeWithCachedSizesToArray(
  6216. ::google::protobuf::uint8* target) const {
  6217. // optional uint32 package_id = 1;
  6218. if (has_package_id()) {
  6219. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->package_id(), target);
  6220. }
  6221. // optional uint32 time_created = 2;
  6222. if (has_time_created()) {
  6223. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->time_created(), target);
  6224. }
  6225. // optional uint32 owner_id = 3;
  6226. if (has_owner_id()) {
  6227. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->owner_id(), target);
  6228. }
  6229. if (!unknown_fields().empty()) {
  6230. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6231. unknown_fields(), target);
  6232. }
  6233. return target;
  6234. }
  6235. int CMsgPackageLicense::ByteSize() const {
  6236. int total_size = 0;
  6237. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6238. // optional uint32 package_id = 1;
  6239. if (has_package_id()) {
  6240. total_size += 1 +
  6241. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6242. this->package_id());
  6243. }
  6244. // optional uint32 time_created = 2;
  6245. if (has_time_created()) {
  6246. total_size += 1 +
  6247. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6248. this->time_created());
  6249. }
  6250. // optional uint32 owner_id = 3;
  6251. if (has_owner_id()) {
  6252. total_size += 1 +
  6253. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6254. this->owner_id());
  6255. }
  6256. }
  6257. if (!unknown_fields().empty()) {
  6258. total_size +=
  6259. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6260. unknown_fields());
  6261. }
  6262. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6263. _cached_size_ = total_size;
  6264. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6265. return total_size;
  6266. }
  6267. void CMsgPackageLicense::MergeFrom(const ::google::protobuf::Message& from) {
  6268. GOOGLE_CHECK_NE(&from, this);
  6269. const CMsgPackageLicense* source =
  6270. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgPackageLicense*>(
  6271. &from);
  6272. if (source == NULL) {
  6273. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6274. } else {
  6275. MergeFrom(*source);
  6276. }
  6277. }
  6278. void CMsgPackageLicense::MergeFrom(const CMsgPackageLicense& from) {
  6279. GOOGLE_CHECK_NE(&from, this);
  6280. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6281. if (from.has_package_id()) {
  6282. set_package_id(from.package_id());
  6283. }
  6284. if (from.has_time_created()) {
  6285. set_time_created(from.time_created());
  6286. }
  6287. if (from.has_owner_id()) {
  6288. set_owner_id(from.owner_id());
  6289. }
  6290. }
  6291. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6292. }
  6293. void CMsgPackageLicense::CopyFrom(const ::google::protobuf::Message& from) {
  6294. if (&from == this) return;
  6295. Clear();
  6296. MergeFrom(from);
  6297. }
  6298. void CMsgPackageLicense::CopyFrom(const CMsgPackageLicense& from) {
  6299. if (&from == this) return;
  6300. Clear();
  6301. MergeFrom(from);
  6302. }
  6303. bool CMsgPackageLicense::IsInitialized() const {
  6304. return true;
  6305. }
  6306. void CMsgPackageLicense::Swap(CMsgPackageLicense* other) {
  6307. if (other != this) {
  6308. std::swap(package_id_, other->package_id_);
  6309. std::swap(time_created_, other->time_created_);
  6310. std::swap(owner_id_, other->owner_id_);
  6311. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6312. _unknown_fields_.Swap(&other->_unknown_fields_);
  6313. std::swap(_cached_size_, other->_cached_size_);
  6314. }
  6315. }
  6316. ::google::protobuf::Metadata CMsgPackageLicense::GetMetadata() const {
  6317. protobuf_AssignDescriptorsOnce();
  6318. ::google::protobuf::Metadata metadata;
  6319. metadata.descriptor = CMsgPackageLicense_descriptor_;
  6320. metadata.reflection = CMsgPackageLicense_reflection_;
  6321. return metadata;
  6322. }
  6323. // ===================================================================
  6324. #ifndef _MSC_VER
  6325. const int CMsgAMGetLicensesResponse::kLicenseFieldNumber;
  6326. const int CMsgAMGetLicensesResponse::kResultFieldNumber;
  6327. #endif // !_MSC_VER
  6328. CMsgAMGetLicensesResponse::CMsgAMGetLicensesResponse()
  6329. : ::google::protobuf::Message() {
  6330. SharedCtor();
  6331. }
  6332. void CMsgAMGetLicensesResponse::InitAsDefaultInstance() {
  6333. }
  6334. CMsgAMGetLicensesResponse::CMsgAMGetLicensesResponse(const CMsgAMGetLicensesResponse& from)
  6335. : ::google::protobuf::Message() {
  6336. SharedCtor();
  6337. MergeFrom(from);
  6338. }
  6339. void CMsgAMGetLicensesResponse::SharedCtor() {
  6340. _cached_size_ = 0;
  6341. result_ = 0u;
  6342. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6343. }
  6344. CMsgAMGetLicensesResponse::~CMsgAMGetLicensesResponse() {
  6345. SharedDtor();
  6346. }
  6347. void CMsgAMGetLicensesResponse::SharedDtor() {
  6348. if (this != default_instance_) {
  6349. }
  6350. }
  6351. void CMsgAMGetLicensesResponse::SetCachedSize(int size) const {
  6352. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6353. _cached_size_ = size;
  6354. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6355. }
  6356. const ::google::protobuf::Descriptor* CMsgAMGetLicensesResponse::descriptor() {
  6357. protobuf_AssignDescriptorsOnce();
  6358. return CMsgAMGetLicensesResponse_descriptor_;
  6359. }
  6360. const CMsgAMGetLicensesResponse& CMsgAMGetLicensesResponse::default_instance() {
  6361. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  6362. return *default_instance_;
  6363. }
  6364. CMsgAMGetLicensesResponse* CMsgAMGetLicensesResponse::default_instance_ = NULL;
  6365. CMsgAMGetLicensesResponse* CMsgAMGetLicensesResponse::New() const {
  6366. return new CMsgAMGetLicensesResponse;
  6367. }
  6368. void CMsgAMGetLicensesResponse::Clear() {
  6369. if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  6370. result_ = 0u;
  6371. }
  6372. license_.Clear();
  6373. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6374. mutable_unknown_fields()->Clear();
  6375. }
  6376. bool CMsgAMGetLicensesResponse::MergePartialFromCodedStream(
  6377. ::google::protobuf::io::CodedInputStream* input) {
  6378. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6379. ::google::protobuf::uint32 tag;
  6380. while ((tag = input->ReadTag()) != 0) {
  6381. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6382. // repeated .CMsgPackageLicense license = 1;
  6383. case 1: {
  6384. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6385. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6386. parse_license:
  6387. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  6388. input, add_license()));
  6389. } else {
  6390. goto handle_uninterpreted;
  6391. }
  6392. if (input->ExpectTag(10)) goto parse_license;
  6393. if (input->ExpectTag(16)) goto parse_result;
  6394. break;
  6395. }
  6396. // optional uint32 result = 2;
  6397. case 2: {
  6398. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6399. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6400. parse_result:
  6401. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6402. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6403. input, &result_)));
  6404. set_has_result();
  6405. } else {
  6406. goto handle_uninterpreted;
  6407. }
  6408. if (input->ExpectAtEnd()) return true;
  6409. break;
  6410. }
  6411. default: {
  6412. handle_uninterpreted:
  6413. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6414. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6415. return true;
  6416. }
  6417. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6418. input, tag, mutable_unknown_fields()));
  6419. break;
  6420. }
  6421. }
  6422. }
  6423. return true;
  6424. #undef DO_
  6425. }
  6426. void CMsgAMGetLicensesResponse::SerializeWithCachedSizes(
  6427. ::google::protobuf::io::CodedOutputStream* output) const {
  6428. // repeated .CMsgPackageLicense license = 1;
  6429. for (int i = 0; i < this->license_size(); i++) {
  6430. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  6431. 1, this->license(i), output);
  6432. }
  6433. // optional uint32 result = 2;
  6434. if (has_result()) {
  6435. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->result(), output);
  6436. }
  6437. if (!unknown_fields().empty()) {
  6438. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6439. unknown_fields(), output);
  6440. }
  6441. }
  6442. ::google::protobuf::uint8* CMsgAMGetLicensesResponse::SerializeWithCachedSizesToArray(
  6443. ::google::protobuf::uint8* target) const {
  6444. // repeated .CMsgPackageLicense license = 1;
  6445. for (int i = 0; i < this->license_size(); i++) {
  6446. target = ::google::protobuf::internal::WireFormatLite::
  6447. WriteMessageNoVirtualToArray(
  6448. 1, this->license(i), target);
  6449. }
  6450. // optional uint32 result = 2;
  6451. if (has_result()) {
  6452. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->result(), target);
  6453. }
  6454. if (!unknown_fields().empty()) {
  6455. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6456. unknown_fields(), target);
  6457. }
  6458. return target;
  6459. }
  6460. int CMsgAMGetLicensesResponse::ByteSize() const {
  6461. int total_size = 0;
  6462. if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  6463. // optional uint32 result = 2;
  6464. if (has_result()) {
  6465. total_size += 1 +
  6466. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6467. this->result());
  6468. }
  6469. }
  6470. // repeated .CMsgPackageLicense license = 1;
  6471. total_size += 1 * this->license_size();
  6472. for (int i = 0; i < this->license_size(); i++) {
  6473. total_size +=
  6474. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  6475. this->license(i));
  6476. }
  6477. if (!unknown_fields().empty()) {
  6478. total_size +=
  6479. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6480. unknown_fields());
  6481. }
  6482. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6483. _cached_size_ = total_size;
  6484. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6485. return total_size;
  6486. }
  6487. void CMsgAMGetLicensesResponse::MergeFrom(const ::google::protobuf::Message& from) {
  6488. GOOGLE_CHECK_NE(&from, this);
  6489. const CMsgAMGetLicensesResponse* source =
  6490. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMGetLicensesResponse*>(
  6491. &from);
  6492. if (source == NULL) {
  6493. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6494. } else {
  6495. MergeFrom(*source);
  6496. }
  6497. }
  6498. void CMsgAMGetLicensesResponse::MergeFrom(const CMsgAMGetLicensesResponse& from) {
  6499. GOOGLE_CHECK_NE(&from, this);
  6500. license_.MergeFrom(from.license_);
  6501. if (from._has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  6502. if (from.has_result()) {
  6503. set_result(from.result());
  6504. }
  6505. }
  6506. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6507. }
  6508. void CMsgAMGetLicensesResponse::CopyFrom(const ::google::protobuf::Message& from) {
  6509. if (&from == this) return;
  6510. Clear();
  6511. MergeFrom(from);
  6512. }
  6513. void CMsgAMGetLicensesResponse::CopyFrom(const CMsgAMGetLicensesResponse& from) {
  6514. if (&from == this) return;
  6515. Clear();
  6516. MergeFrom(from);
  6517. }
  6518. bool CMsgAMGetLicensesResponse::IsInitialized() const {
  6519. return true;
  6520. }
  6521. void CMsgAMGetLicensesResponse::Swap(CMsgAMGetLicensesResponse* other) {
  6522. if (other != this) {
  6523. license_.Swap(&other->license_);
  6524. std::swap(result_, other->result_);
  6525. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6526. _unknown_fields_.Swap(&other->_unknown_fields_);
  6527. std::swap(_cached_size_, other->_cached_size_);
  6528. }
  6529. }
  6530. ::google::protobuf::Metadata CMsgAMGetLicensesResponse::GetMetadata() const {
  6531. protobuf_AssignDescriptorsOnce();
  6532. ::google::protobuf::Metadata metadata;
  6533. metadata.descriptor = CMsgAMGetLicensesResponse_descriptor_;
  6534. metadata.reflection = CMsgAMGetLicensesResponse_reflection_;
  6535. return metadata;
  6536. }
  6537. // ===================================================================
  6538. #ifndef _MSC_VER
  6539. const int CMsgAMGetUserGameStats::kSteamIdFieldNumber;
  6540. const int CMsgAMGetUserGameStats::kGameIdFieldNumber;
  6541. const int CMsgAMGetUserGameStats::kStatsFieldNumber;
  6542. #endif // !_MSC_VER
  6543. CMsgAMGetUserGameStats::CMsgAMGetUserGameStats()
  6544. : ::google::protobuf::Message() {
  6545. SharedCtor();
  6546. }
  6547. void CMsgAMGetUserGameStats::InitAsDefaultInstance() {
  6548. }
  6549. CMsgAMGetUserGameStats::CMsgAMGetUserGameStats(const CMsgAMGetUserGameStats& from)
  6550. : ::google::protobuf::Message() {
  6551. SharedCtor();
  6552. MergeFrom(from);
  6553. }
  6554. void CMsgAMGetUserGameStats::SharedCtor() {
  6555. _cached_size_ = 0;
  6556. steam_id_ = GOOGLE_ULONGLONG(0);
  6557. game_id_ = GOOGLE_ULONGLONG(0);
  6558. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6559. }
  6560. CMsgAMGetUserGameStats::~CMsgAMGetUserGameStats() {
  6561. SharedDtor();
  6562. }
  6563. void CMsgAMGetUserGameStats::SharedDtor() {
  6564. if (this != default_instance_) {
  6565. }
  6566. }
  6567. void CMsgAMGetUserGameStats::SetCachedSize(int size) const {
  6568. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6569. _cached_size_ = size;
  6570. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6571. }
  6572. const ::google::protobuf::Descriptor* CMsgAMGetUserGameStats::descriptor() {
  6573. protobuf_AssignDescriptorsOnce();
  6574. return CMsgAMGetUserGameStats_descriptor_;
  6575. }
  6576. const CMsgAMGetUserGameStats& CMsgAMGetUserGameStats::default_instance() {
  6577. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  6578. return *default_instance_;
  6579. }
  6580. CMsgAMGetUserGameStats* CMsgAMGetUserGameStats::default_instance_ = NULL;
  6581. CMsgAMGetUserGameStats* CMsgAMGetUserGameStats::New() const {
  6582. return new CMsgAMGetUserGameStats;
  6583. }
  6584. void CMsgAMGetUserGameStats::Clear() {
  6585. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6586. steam_id_ = GOOGLE_ULONGLONG(0);
  6587. game_id_ = GOOGLE_ULONGLONG(0);
  6588. }
  6589. stats_.Clear();
  6590. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6591. mutable_unknown_fields()->Clear();
  6592. }
  6593. bool CMsgAMGetUserGameStats::MergePartialFromCodedStream(
  6594. ::google::protobuf::io::CodedInputStream* input) {
  6595. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6596. ::google::protobuf::uint32 tag;
  6597. while ((tag = input->ReadTag()) != 0) {
  6598. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6599. // optional fixed64 steam_id = 1;
  6600. case 1: {
  6601. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6602. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  6603. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6604. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  6605. input, &steam_id_)));
  6606. set_has_steam_id();
  6607. } else {
  6608. goto handle_uninterpreted;
  6609. }
  6610. if (input->ExpectTag(17)) goto parse_game_id;
  6611. break;
  6612. }
  6613. // optional fixed64 game_id = 2;
  6614. case 2: {
  6615. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6616. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  6617. parse_game_id:
  6618. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6619. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  6620. input, &game_id_)));
  6621. set_has_game_id();
  6622. } else {
  6623. goto handle_uninterpreted;
  6624. }
  6625. if (input->ExpectTag(24)) goto parse_stats;
  6626. break;
  6627. }
  6628. // repeated uint32 stats = 3;
  6629. case 3: {
  6630. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6631. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6632. parse_stats:
  6633. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  6634. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6635. 1, 24, input, this->mutable_stats())));
  6636. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  6637. == ::google::protobuf::internal::WireFormatLite::
  6638. WIRETYPE_LENGTH_DELIMITED) {
  6639. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  6640. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6641. input, this->mutable_stats())));
  6642. } else {
  6643. goto handle_uninterpreted;
  6644. }
  6645. if (input->ExpectTag(24)) goto parse_stats;
  6646. if (input->ExpectAtEnd()) return true;
  6647. break;
  6648. }
  6649. default: {
  6650. handle_uninterpreted:
  6651. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6652. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6653. return true;
  6654. }
  6655. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6656. input, tag, mutable_unknown_fields()));
  6657. break;
  6658. }
  6659. }
  6660. }
  6661. return true;
  6662. #undef DO_
  6663. }
  6664. void CMsgAMGetUserGameStats::SerializeWithCachedSizes(
  6665. ::google::protobuf::io::CodedOutputStream* output) const {
  6666. // optional fixed64 steam_id = 1;
  6667. if (has_steam_id()) {
  6668. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steam_id(), output);
  6669. }
  6670. // optional fixed64 game_id = 2;
  6671. if (has_game_id()) {
  6672. ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->game_id(), output);
  6673. }
  6674. // repeated uint32 stats = 3;
  6675. for (int i = 0; i < this->stats_size(); i++) {
  6676. ::google::protobuf::internal::WireFormatLite::WriteUInt32(
  6677. 3, this->stats(i), output);
  6678. }
  6679. if (!unknown_fields().empty()) {
  6680. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6681. unknown_fields(), output);
  6682. }
  6683. }
  6684. ::google::protobuf::uint8* CMsgAMGetUserGameStats::SerializeWithCachedSizesToArray(
  6685. ::google::protobuf::uint8* target) const {
  6686. // optional fixed64 steam_id = 1;
  6687. if (has_steam_id()) {
  6688. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steam_id(), target);
  6689. }
  6690. // optional fixed64 game_id = 2;
  6691. if (has_game_id()) {
  6692. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->game_id(), target);
  6693. }
  6694. // repeated uint32 stats = 3;
  6695. for (int i = 0; i < this->stats_size(); i++) {
  6696. target = ::google::protobuf::internal::WireFormatLite::
  6697. WriteUInt32ToArray(3, this->stats(i), target);
  6698. }
  6699. if (!unknown_fields().empty()) {
  6700. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6701. unknown_fields(), target);
  6702. }
  6703. return target;
  6704. }
  6705. int CMsgAMGetUserGameStats::ByteSize() const {
  6706. int total_size = 0;
  6707. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6708. // optional fixed64 steam_id = 1;
  6709. if (has_steam_id()) {
  6710. total_size += 1 + 8;
  6711. }
  6712. // optional fixed64 game_id = 2;
  6713. if (has_game_id()) {
  6714. total_size += 1 + 8;
  6715. }
  6716. }
  6717. // repeated uint32 stats = 3;
  6718. {
  6719. int data_size = 0;
  6720. for (int i = 0; i < this->stats_size(); i++) {
  6721. data_size += ::google::protobuf::internal::WireFormatLite::
  6722. UInt32Size(this->stats(i));
  6723. }
  6724. total_size += 1 * this->stats_size() + data_size;
  6725. }
  6726. if (!unknown_fields().empty()) {
  6727. total_size +=
  6728. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6729. unknown_fields());
  6730. }
  6731. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6732. _cached_size_ = total_size;
  6733. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6734. return total_size;
  6735. }
  6736. void CMsgAMGetUserGameStats::MergeFrom(const ::google::protobuf::Message& from) {
  6737. GOOGLE_CHECK_NE(&from, this);
  6738. const CMsgAMGetUserGameStats* source =
  6739. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMGetUserGameStats*>(
  6740. &from);
  6741. if (source == NULL) {
  6742. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6743. } else {
  6744. MergeFrom(*source);
  6745. }
  6746. }
  6747. void CMsgAMGetUserGameStats::MergeFrom(const CMsgAMGetUserGameStats& from) {
  6748. GOOGLE_CHECK_NE(&from, this);
  6749. stats_.MergeFrom(from.stats_);
  6750. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6751. if (from.has_steam_id()) {
  6752. set_steam_id(from.steam_id());
  6753. }
  6754. if (from.has_game_id()) {
  6755. set_game_id(from.game_id());
  6756. }
  6757. }
  6758. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6759. }
  6760. void CMsgAMGetUserGameStats::CopyFrom(const ::google::protobuf::Message& from) {
  6761. if (&from == this) return;
  6762. Clear();
  6763. MergeFrom(from);
  6764. }
  6765. void CMsgAMGetUserGameStats::CopyFrom(const CMsgAMGetUserGameStats& from) {
  6766. if (&from == this) return;
  6767. Clear();
  6768. MergeFrom(from);
  6769. }
  6770. bool CMsgAMGetUserGameStats::IsInitialized() const {
  6771. return true;
  6772. }
  6773. void CMsgAMGetUserGameStats::Swap(CMsgAMGetUserGameStats* other) {
  6774. if (other != this) {
  6775. std::swap(steam_id_, other->steam_id_);
  6776. std::swap(game_id_, other->game_id_);
  6777. stats_.Swap(&other->stats_);
  6778. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6779. _unknown_fields_.Swap(&other->_unknown_fields_);
  6780. std::swap(_cached_size_, other->_cached_size_);
  6781. }
  6782. }
  6783. ::google::protobuf::Metadata CMsgAMGetUserGameStats::GetMetadata() const {
  6784. protobuf_AssignDescriptorsOnce();
  6785. ::google::protobuf::Metadata metadata;
  6786. metadata.descriptor = CMsgAMGetUserGameStats_descriptor_;
  6787. metadata.reflection = CMsgAMGetUserGameStats_reflection_;
  6788. return metadata;
  6789. }
  6790. // ===================================================================
  6791. #ifndef _MSC_VER
  6792. const int CMsgAMGetUserGameStatsResponse_Stats::kStatIdFieldNumber;
  6793. const int CMsgAMGetUserGameStatsResponse_Stats::kStatValueFieldNumber;
  6794. #endif // !_MSC_VER
  6795. CMsgAMGetUserGameStatsResponse_Stats::CMsgAMGetUserGameStatsResponse_Stats()
  6796. : ::google::protobuf::Message() {
  6797. SharedCtor();
  6798. }
  6799. void CMsgAMGetUserGameStatsResponse_Stats::InitAsDefaultInstance() {
  6800. }
  6801. CMsgAMGetUserGameStatsResponse_Stats::CMsgAMGetUserGameStatsResponse_Stats(const CMsgAMGetUserGameStatsResponse_Stats& from)
  6802. : ::google::protobuf::Message() {
  6803. SharedCtor();
  6804. MergeFrom(from);
  6805. }
  6806. void CMsgAMGetUserGameStatsResponse_Stats::SharedCtor() {
  6807. _cached_size_ = 0;
  6808. stat_id_ = 0u;
  6809. stat_value_ = 0u;
  6810. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6811. }
  6812. CMsgAMGetUserGameStatsResponse_Stats::~CMsgAMGetUserGameStatsResponse_Stats() {
  6813. SharedDtor();
  6814. }
  6815. void CMsgAMGetUserGameStatsResponse_Stats::SharedDtor() {
  6816. if (this != default_instance_) {
  6817. }
  6818. }
  6819. void CMsgAMGetUserGameStatsResponse_Stats::SetCachedSize(int size) const {
  6820. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6821. _cached_size_ = size;
  6822. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6823. }
  6824. const ::google::protobuf::Descriptor* CMsgAMGetUserGameStatsResponse_Stats::descriptor() {
  6825. protobuf_AssignDescriptorsOnce();
  6826. return CMsgAMGetUserGameStatsResponse_Stats_descriptor_;
  6827. }
  6828. const CMsgAMGetUserGameStatsResponse_Stats& CMsgAMGetUserGameStatsResponse_Stats::default_instance() {
  6829. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  6830. return *default_instance_;
  6831. }
  6832. CMsgAMGetUserGameStatsResponse_Stats* CMsgAMGetUserGameStatsResponse_Stats::default_instance_ = NULL;
  6833. CMsgAMGetUserGameStatsResponse_Stats* CMsgAMGetUserGameStatsResponse_Stats::New() const {
  6834. return new CMsgAMGetUserGameStatsResponse_Stats;
  6835. }
  6836. void CMsgAMGetUserGameStatsResponse_Stats::Clear() {
  6837. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6838. stat_id_ = 0u;
  6839. stat_value_ = 0u;
  6840. }
  6841. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6842. mutable_unknown_fields()->Clear();
  6843. }
  6844. bool CMsgAMGetUserGameStatsResponse_Stats::MergePartialFromCodedStream(
  6845. ::google::protobuf::io::CodedInputStream* input) {
  6846. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6847. ::google::protobuf::uint32 tag;
  6848. while ((tag = input->ReadTag()) != 0) {
  6849. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6850. // optional uint32 stat_id = 1;
  6851. case 1: {
  6852. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6853. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6854. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6855. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6856. input, &stat_id_)));
  6857. set_has_stat_id();
  6858. } else {
  6859. goto handle_uninterpreted;
  6860. }
  6861. if (input->ExpectTag(16)) goto parse_stat_value;
  6862. break;
  6863. }
  6864. // optional uint32 stat_value = 2;
  6865. case 2: {
  6866. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6867. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6868. parse_stat_value:
  6869. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6870. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  6871. input, &stat_value_)));
  6872. set_has_stat_value();
  6873. } else {
  6874. goto handle_uninterpreted;
  6875. }
  6876. if (input->ExpectAtEnd()) return true;
  6877. break;
  6878. }
  6879. default: {
  6880. handle_uninterpreted:
  6881. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6882. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6883. return true;
  6884. }
  6885. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6886. input, tag, mutable_unknown_fields()));
  6887. break;
  6888. }
  6889. }
  6890. }
  6891. return true;
  6892. #undef DO_
  6893. }
  6894. void CMsgAMGetUserGameStatsResponse_Stats::SerializeWithCachedSizes(
  6895. ::google::protobuf::io::CodedOutputStream* output) const {
  6896. // optional uint32 stat_id = 1;
  6897. if (has_stat_id()) {
  6898. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->stat_id(), output);
  6899. }
  6900. // optional uint32 stat_value = 2;
  6901. if (has_stat_value()) {
  6902. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->stat_value(), output);
  6903. }
  6904. if (!unknown_fields().empty()) {
  6905. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6906. unknown_fields(), output);
  6907. }
  6908. }
  6909. ::google::protobuf::uint8* CMsgAMGetUserGameStatsResponse_Stats::SerializeWithCachedSizesToArray(
  6910. ::google::protobuf::uint8* target) const {
  6911. // optional uint32 stat_id = 1;
  6912. if (has_stat_id()) {
  6913. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->stat_id(), target);
  6914. }
  6915. // optional uint32 stat_value = 2;
  6916. if (has_stat_value()) {
  6917. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->stat_value(), target);
  6918. }
  6919. if (!unknown_fields().empty()) {
  6920. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6921. unknown_fields(), target);
  6922. }
  6923. return target;
  6924. }
  6925. int CMsgAMGetUserGameStatsResponse_Stats::ByteSize() const {
  6926. int total_size = 0;
  6927. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6928. // optional uint32 stat_id = 1;
  6929. if (has_stat_id()) {
  6930. total_size += 1 +
  6931. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6932. this->stat_id());
  6933. }
  6934. // optional uint32 stat_value = 2;
  6935. if (has_stat_value()) {
  6936. total_size += 1 +
  6937. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  6938. this->stat_value());
  6939. }
  6940. }
  6941. if (!unknown_fields().empty()) {
  6942. total_size +=
  6943. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6944. unknown_fields());
  6945. }
  6946. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6947. _cached_size_ = total_size;
  6948. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6949. return total_size;
  6950. }
  6951. void CMsgAMGetUserGameStatsResponse_Stats::MergeFrom(const ::google::protobuf::Message& from) {
  6952. GOOGLE_CHECK_NE(&from, this);
  6953. const CMsgAMGetUserGameStatsResponse_Stats* source =
  6954. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMGetUserGameStatsResponse_Stats*>(
  6955. &from);
  6956. if (source == NULL) {
  6957. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6958. } else {
  6959. MergeFrom(*source);
  6960. }
  6961. }
  6962. void CMsgAMGetUserGameStatsResponse_Stats::MergeFrom(const CMsgAMGetUserGameStatsResponse_Stats& from) {
  6963. GOOGLE_CHECK_NE(&from, this);
  6964. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6965. if (from.has_stat_id()) {
  6966. set_stat_id(from.stat_id());
  6967. }
  6968. if (from.has_stat_value()) {
  6969. set_stat_value(from.stat_value());
  6970. }
  6971. }
  6972. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6973. }
  6974. void CMsgAMGetUserGameStatsResponse_Stats::CopyFrom(const ::google::protobuf::Message& from) {
  6975. if (&from == this) return;
  6976. Clear();
  6977. MergeFrom(from);
  6978. }
  6979. void CMsgAMGetUserGameStatsResponse_Stats::CopyFrom(const CMsgAMGetUserGameStatsResponse_Stats& from) {
  6980. if (&from == this) return;
  6981. Clear();
  6982. MergeFrom(from);
  6983. }
  6984. bool CMsgAMGetUserGameStatsResponse_Stats::IsInitialized() const {
  6985. return true;
  6986. }
  6987. void CMsgAMGetUserGameStatsResponse_Stats::Swap(CMsgAMGetUserGameStatsResponse_Stats* other) {
  6988. if (other != this) {
  6989. std::swap(stat_id_, other->stat_id_);
  6990. std::swap(stat_value_, other->stat_value_);
  6991. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6992. _unknown_fields_.Swap(&other->_unknown_fields_);
  6993. std::swap(_cached_size_, other->_cached_size_);
  6994. }
  6995. }
  6996. ::google::protobuf::Metadata CMsgAMGetUserGameStatsResponse_Stats::GetMetadata() const {
  6997. protobuf_AssignDescriptorsOnce();
  6998. ::google::protobuf::Metadata metadata;
  6999. metadata.descriptor = CMsgAMGetUserGameStatsResponse_Stats_descriptor_;
  7000. metadata.reflection = CMsgAMGetUserGameStatsResponse_Stats_reflection_;
  7001. return metadata;
  7002. }
  7003. // -------------------------------------------------------------------
  7004. #ifndef _MSC_VER
  7005. const int CMsgAMGetUserGameStatsResponse_Achievement_Blocks::kAchievementIdFieldNumber;
  7006. const int CMsgAMGetUserGameStatsResponse_Achievement_Blocks::kAchievementBitIdFieldNumber;
  7007. const int CMsgAMGetUserGameStatsResponse_Achievement_Blocks::kUnlockTimeFieldNumber;
  7008. #endif // !_MSC_VER
  7009. CMsgAMGetUserGameStatsResponse_Achievement_Blocks::CMsgAMGetUserGameStatsResponse_Achievement_Blocks()
  7010. : ::google::protobuf::Message() {
  7011. SharedCtor();
  7012. }
  7013. void CMsgAMGetUserGameStatsResponse_Achievement_Blocks::InitAsDefaultInstance() {
  7014. }
  7015. CMsgAMGetUserGameStatsResponse_Achievement_Blocks::CMsgAMGetUserGameStatsResponse_Achievement_Blocks(const CMsgAMGetUserGameStatsResponse_Achievement_Blocks& from)
  7016. : ::google::protobuf::Message() {
  7017. SharedCtor();
  7018. MergeFrom(from);
  7019. }
  7020. void CMsgAMGetUserGameStatsResponse_Achievement_Blocks::SharedCtor() {
  7021. _cached_size_ = 0;
  7022. achievement_id_ = 0u;
  7023. achievement_bit_id_ = 0u;
  7024. unlock_time_ = 0u;
  7025. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7026. }
  7027. CMsgAMGetUserGameStatsResponse_Achievement_Blocks::~CMsgAMGetUserGameStatsResponse_Achievement_Blocks() {
  7028. SharedDtor();
  7029. }
  7030. void CMsgAMGetUserGameStatsResponse_Achievement_Blocks::SharedDtor() {
  7031. if (this != default_instance_) {
  7032. }
  7033. }
  7034. void CMsgAMGetUserGameStatsResponse_Achievement_Blocks::SetCachedSize(int size) const {
  7035. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7036. _cached_size_ = size;
  7037. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7038. }
  7039. const ::google::protobuf::Descriptor* CMsgAMGetUserGameStatsResponse_Achievement_Blocks::descriptor() {
  7040. protobuf_AssignDescriptorsOnce();
  7041. return CMsgAMGetUserGameStatsResponse_Achievement_Blocks_descriptor_;
  7042. }
  7043. const CMsgAMGetUserGameStatsResponse_Achievement_Blocks& CMsgAMGetUserGameStatsResponse_Achievement_Blocks::default_instance() {
  7044. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  7045. return *default_instance_;
  7046. }
  7047. CMsgAMGetUserGameStatsResponse_Achievement_Blocks* CMsgAMGetUserGameStatsResponse_Achievement_Blocks::default_instance_ = NULL;
  7048. CMsgAMGetUserGameStatsResponse_Achievement_Blocks* CMsgAMGetUserGameStatsResponse_Achievement_Blocks::New() const {
  7049. return new CMsgAMGetUserGameStatsResponse_Achievement_Blocks;
  7050. }
  7051. void CMsgAMGetUserGameStatsResponse_Achievement_Blocks::Clear() {
  7052. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7053. achievement_id_ = 0u;
  7054. achievement_bit_id_ = 0u;
  7055. unlock_time_ = 0u;
  7056. }
  7057. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7058. mutable_unknown_fields()->Clear();
  7059. }
  7060. bool CMsgAMGetUserGameStatsResponse_Achievement_Blocks::MergePartialFromCodedStream(
  7061. ::google::protobuf::io::CodedInputStream* input) {
  7062. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7063. ::google::protobuf::uint32 tag;
  7064. while ((tag = input->ReadTag()) != 0) {
  7065. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7066. // optional uint32 achievement_id = 1;
  7067. case 1: {
  7068. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7069. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7070. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7071. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  7072. input, &achievement_id_)));
  7073. set_has_achievement_id();
  7074. } else {
  7075. goto handle_uninterpreted;
  7076. }
  7077. if (input->ExpectTag(16)) goto parse_achievement_bit_id;
  7078. break;
  7079. }
  7080. // optional uint32 achievement_bit_id = 2;
  7081. case 2: {
  7082. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7083. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7084. parse_achievement_bit_id:
  7085. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7086. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  7087. input, &achievement_bit_id_)));
  7088. set_has_achievement_bit_id();
  7089. } else {
  7090. goto handle_uninterpreted;
  7091. }
  7092. if (input->ExpectTag(29)) goto parse_unlock_time;
  7093. break;
  7094. }
  7095. // optional fixed32 unlock_time = 3;
  7096. case 3: {
  7097. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7098. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  7099. parse_unlock_time:
  7100. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7101. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  7102. input, &unlock_time_)));
  7103. set_has_unlock_time();
  7104. } else {
  7105. goto handle_uninterpreted;
  7106. }
  7107. if (input->ExpectAtEnd()) return true;
  7108. break;
  7109. }
  7110. default: {
  7111. handle_uninterpreted:
  7112. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7113. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7114. return true;
  7115. }
  7116. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7117. input, tag, mutable_unknown_fields()));
  7118. break;
  7119. }
  7120. }
  7121. }
  7122. return true;
  7123. #undef DO_
  7124. }
  7125. void CMsgAMGetUserGameStatsResponse_Achievement_Blocks::SerializeWithCachedSizes(
  7126. ::google::protobuf::io::CodedOutputStream* output) const {
  7127. // optional uint32 achievement_id = 1;
  7128. if (has_achievement_id()) {
  7129. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->achievement_id(), output);
  7130. }
  7131. // optional uint32 achievement_bit_id = 2;
  7132. if (has_achievement_bit_id()) {
  7133. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->achievement_bit_id(), output);
  7134. }
  7135. // optional fixed32 unlock_time = 3;
  7136. if (has_unlock_time()) {
  7137. ::google::protobuf::internal::WireFormatLite::WriteFixed32(3, this->unlock_time(), output);
  7138. }
  7139. if (!unknown_fields().empty()) {
  7140. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7141. unknown_fields(), output);
  7142. }
  7143. }
  7144. ::google::protobuf::uint8* CMsgAMGetUserGameStatsResponse_Achievement_Blocks::SerializeWithCachedSizesToArray(
  7145. ::google::protobuf::uint8* target) const {
  7146. // optional uint32 achievement_id = 1;
  7147. if (has_achievement_id()) {
  7148. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->achievement_id(), target);
  7149. }
  7150. // optional uint32 achievement_bit_id = 2;
  7151. if (has_achievement_bit_id()) {
  7152. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->achievement_bit_id(), target);
  7153. }
  7154. // optional fixed32 unlock_time = 3;
  7155. if (has_unlock_time()) {
  7156. target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(3, this->unlock_time(), target);
  7157. }
  7158. if (!unknown_fields().empty()) {
  7159. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7160. unknown_fields(), target);
  7161. }
  7162. return target;
  7163. }
  7164. int CMsgAMGetUserGameStatsResponse_Achievement_Blocks::ByteSize() const {
  7165. int total_size = 0;
  7166. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7167. // optional uint32 achievement_id = 1;
  7168. if (has_achievement_id()) {
  7169. total_size += 1 +
  7170. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  7171. this->achievement_id());
  7172. }
  7173. // optional uint32 achievement_bit_id = 2;
  7174. if (has_achievement_bit_id()) {
  7175. total_size += 1 +
  7176. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  7177. this->achievement_bit_id());
  7178. }
  7179. // optional fixed32 unlock_time = 3;
  7180. if (has_unlock_time()) {
  7181. total_size += 1 + 4;
  7182. }
  7183. }
  7184. if (!unknown_fields().empty()) {
  7185. total_size +=
  7186. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7187. unknown_fields());
  7188. }
  7189. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7190. _cached_size_ = total_size;
  7191. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7192. return total_size;
  7193. }
  7194. void CMsgAMGetUserGameStatsResponse_Achievement_Blocks::MergeFrom(const ::google::protobuf::Message& from) {
  7195. GOOGLE_CHECK_NE(&from, this);
  7196. const CMsgAMGetUserGameStatsResponse_Achievement_Blocks* source =
  7197. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMGetUserGameStatsResponse_Achievement_Blocks*>(
  7198. &from);
  7199. if (source == NULL) {
  7200. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7201. } else {
  7202. MergeFrom(*source);
  7203. }
  7204. }
  7205. void CMsgAMGetUserGameStatsResponse_Achievement_Blocks::MergeFrom(const CMsgAMGetUserGameStatsResponse_Achievement_Blocks& from) {
  7206. GOOGLE_CHECK_NE(&from, this);
  7207. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7208. if (from.has_achievement_id()) {
  7209. set_achievement_id(from.achievement_id());
  7210. }
  7211. if (from.has_achievement_bit_id()) {
  7212. set_achievement_bit_id(from.achievement_bit_id());
  7213. }
  7214. if (from.has_unlock_time()) {
  7215. set_unlock_time(from.unlock_time());
  7216. }
  7217. }
  7218. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7219. }
  7220. void CMsgAMGetUserGameStatsResponse_Achievement_Blocks::CopyFrom(const ::google::protobuf::Message& from) {
  7221. if (&from == this) return;
  7222. Clear();
  7223. MergeFrom(from);
  7224. }
  7225. void CMsgAMGetUserGameStatsResponse_Achievement_Blocks::CopyFrom(const CMsgAMGetUserGameStatsResponse_Achievement_Blocks& from) {
  7226. if (&from == this) return;
  7227. Clear();
  7228. MergeFrom(from);
  7229. }
  7230. bool CMsgAMGetUserGameStatsResponse_Achievement_Blocks::IsInitialized() const {
  7231. return true;
  7232. }
  7233. void CMsgAMGetUserGameStatsResponse_Achievement_Blocks::Swap(CMsgAMGetUserGameStatsResponse_Achievement_Blocks* other) {
  7234. if (other != this) {
  7235. std::swap(achievement_id_, other->achievement_id_);
  7236. std::swap(achievement_bit_id_, other->achievement_bit_id_);
  7237. std::swap(unlock_time_, other->unlock_time_);
  7238. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7239. _unknown_fields_.Swap(&other->_unknown_fields_);
  7240. std::swap(_cached_size_, other->_cached_size_);
  7241. }
  7242. }
  7243. ::google::protobuf::Metadata CMsgAMGetUserGameStatsResponse_Achievement_Blocks::GetMetadata() const {
  7244. protobuf_AssignDescriptorsOnce();
  7245. ::google::protobuf::Metadata metadata;
  7246. metadata.descriptor = CMsgAMGetUserGameStatsResponse_Achievement_Blocks_descriptor_;
  7247. metadata.reflection = CMsgAMGetUserGameStatsResponse_Achievement_Blocks_reflection_;
  7248. return metadata;
  7249. }
  7250. // -------------------------------------------------------------------
  7251. #ifndef _MSC_VER
  7252. const int CMsgAMGetUserGameStatsResponse::kSteamIdFieldNumber;
  7253. const int CMsgAMGetUserGameStatsResponse::kGameIdFieldNumber;
  7254. const int CMsgAMGetUserGameStatsResponse::kEresultFieldNumber;
  7255. const int CMsgAMGetUserGameStatsResponse::kStatsFieldNumber;
  7256. const int CMsgAMGetUserGameStatsResponse::kAchievementBlocksFieldNumber;
  7257. #endif // !_MSC_VER
  7258. CMsgAMGetUserGameStatsResponse::CMsgAMGetUserGameStatsResponse()
  7259. : ::google::protobuf::Message() {
  7260. SharedCtor();
  7261. }
  7262. void CMsgAMGetUserGameStatsResponse::InitAsDefaultInstance() {
  7263. }
  7264. CMsgAMGetUserGameStatsResponse::CMsgAMGetUserGameStatsResponse(const CMsgAMGetUserGameStatsResponse& from)
  7265. : ::google::protobuf::Message() {
  7266. SharedCtor();
  7267. MergeFrom(from);
  7268. }
  7269. void CMsgAMGetUserGameStatsResponse::SharedCtor() {
  7270. _cached_size_ = 0;
  7271. steam_id_ = GOOGLE_ULONGLONG(0);
  7272. game_id_ = GOOGLE_ULONGLONG(0);
  7273. eresult_ = 2;
  7274. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7275. }
  7276. CMsgAMGetUserGameStatsResponse::~CMsgAMGetUserGameStatsResponse() {
  7277. SharedDtor();
  7278. }
  7279. void CMsgAMGetUserGameStatsResponse::SharedDtor() {
  7280. if (this != default_instance_) {
  7281. }
  7282. }
  7283. void CMsgAMGetUserGameStatsResponse::SetCachedSize(int size) const {
  7284. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7285. _cached_size_ = size;
  7286. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7287. }
  7288. const ::google::protobuf::Descriptor* CMsgAMGetUserGameStatsResponse::descriptor() {
  7289. protobuf_AssignDescriptorsOnce();
  7290. return CMsgAMGetUserGameStatsResponse_descriptor_;
  7291. }
  7292. const CMsgAMGetUserGameStatsResponse& CMsgAMGetUserGameStatsResponse::default_instance() {
  7293. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  7294. return *default_instance_;
  7295. }
  7296. CMsgAMGetUserGameStatsResponse* CMsgAMGetUserGameStatsResponse::default_instance_ = NULL;
  7297. CMsgAMGetUserGameStatsResponse* CMsgAMGetUserGameStatsResponse::New() const {
  7298. return new CMsgAMGetUserGameStatsResponse;
  7299. }
  7300. void CMsgAMGetUserGameStatsResponse::Clear() {
  7301. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7302. steam_id_ = GOOGLE_ULONGLONG(0);
  7303. game_id_ = GOOGLE_ULONGLONG(0);
  7304. eresult_ = 2;
  7305. }
  7306. stats_.Clear();
  7307. achievement_blocks_.Clear();
  7308. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7309. mutable_unknown_fields()->Clear();
  7310. }
  7311. bool CMsgAMGetUserGameStatsResponse::MergePartialFromCodedStream(
  7312. ::google::protobuf::io::CodedInputStream* input) {
  7313. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7314. ::google::protobuf::uint32 tag;
  7315. while ((tag = input->ReadTag()) != 0) {
  7316. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7317. // optional fixed64 steam_id = 1;
  7318. case 1: {
  7319. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7320. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  7321. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7322. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  7323. input, &steam_id_)));
  7324. set_has_steam_id();
  7325. } else {
  7326. goto handle_uninterpreted;
  7327. }
  7328. if (input->ExpectTag(17)) goto parse_game_id;
  7329. break;
  7330. }
  7331. // optional fixed64 game_id = 2;
  7332. case 2: {
  7333. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7334. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  7335. parse_game_id:
  7336. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7337. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  7338. input, &game_id_)));
  7339. set_has_game_id();
  7340. } else {
  7341. goto handle_uninterpreted;
  7342. }
  7343. if (input->ExpectTag(24)) goto parse_eresult;
  7344. break;
  7345. }
  7346. // optional int32 eresult = 3 [default = 2];
  7347. case 3: {
  7348. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7349. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7350. parse_eresult:
  7351. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7352. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7353. input, &eresult_)));
  7354. set_has_eresult();
  7355. } else {
  7356. goto handle_uninterpreted;
  7357. }
  7358. if (input->ExpectTag(34)) goto parse_stats;
  7359. break;
  7360. }
  7361. // repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
  7362. case 4: {
  7363. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7364. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7365. parse_stats:
  7366. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  7367. input, add_stats()));
  7368. } else {
  7369. goto handle_uninterpreted;
  7370. }
  7371. if (input->ExpectTag(34)) goto parse_stats;
  7372. if (input->ExpectTag(42)) goto parse_achievement_blocks;
  7373. break;
  7374. }
  7375. // repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
  7376. case 5: {
  7377. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7378. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7379. parse_achievement_blocks:
  7380. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  7381. input, add_achievement_blocks()));
  7382. } else {
  7383. goto handle_uninterpreted;
  7384. }
  7385. if (input->ExpectTag(42)) goto parse_achievement_blocks;
  7386. if (input->ExpectAtEnd()) return true;
  7387. break;
  7388. }
  7389. default: {
  7390. handle_uninterpreted:
  7391. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7392. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7393. return true;
  7394. }
  7395. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7396. input, tag, mutable_unknown_fields()));
  7397. break;
  7398. }
  7399. }
  7400. }
  7401. return true;
  7402. #undef DO_
  7403. }
  7404. void CMsgAMGetUserGameStatsResponse::SerializeWithCachedSizes(
  7405. ::google::protobuf::io::CodedOutputStream* output) const {
  7406. // optional fixed64 steam_id = 1;
  7407. if (has_steam_id()) {
  7408. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steam_id(), output);
  7409. }
  7410. // optional fixed64 game_id = 2;
  7411. if (has_game_id()) {
  7412. ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->game_id(), output);
  7413. }
  7414. // optional int32 eresult = 3 [default = 2];
  7415. if (has_eresult()) {
  7416. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->eresult(), output);
  7417. }
  7418. // repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
  7419. for (int i = 0; i < this->stats_size(); i++) {
  7420. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  7421. 4, this->stats(i), output);
  7422. }
  7423. // repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
  7424. for (int i = 0; i < this->achievement_blocks_size(); i++) {
  7425. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  7426. 5, this->achievement_blocks(i), output);
  7427. }
  7428. if (!unknown_fields().empty()) {
  7429. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7430. unknown_fields(), output);
  7431. }
  7432. }
  7433. ::google::protobuf::uint8* CMsgAMGetUserGameStatsResponse::SerializeWithCachedSizesToArray(
  7434. ::google::protobuf::uint8* target) const {
  7435. // optional fixed64 steam_id = 1;
  7436. if (has_steam_id()) {
  7437. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steam_id(), target);
  7438. }
  7439. // optional fixed64 game_id = 2;
  7440. if (has_game_id()) {
  7441. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->game_id(), target);
  7442. }
  7443. // optional int32 eresult = 3 [default = 2];
  7444. if (has_eresult()) {
  7445. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->eresult(), target);
  7446. }
  7447. // repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
  7448. for (int i = 0; i < this->stats_size(); i++) {
  7449. target = ::google::protobuf::internal::WireFormatLite::
  7450. WriteMessageNoVirtualToArray(
  7451. 4, this->stats(i), target);
  7452. }
  7453. // repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
  7454. for (int i = 0; i < this->achievement_blocks_size(); i++) {
  7455. target = ::google::protobuf::internal::WireFormatLite::
  7456. WriteMessageNoVirtualToArray(
  7457. 5, this->achievement_blocks(i), target);
  7458. }
  7459. if (!unknown_fields().empty()) {
  7460. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7461. unknown_fields(), target);
  7462. }
  7463. return target;
  7464. }
  7465. int CMsgAMGetUserGameStatsResponse::ByteSize() const {
  7466. int total_size = 0;
  7467. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7468. // optional fixed64 steam_id = 1;
  7469. if (has_steam_id()) {
  7470. total_size += 1 + 8;
  7471. }
  7472. // optional fixed64 game_id = 2;
  7473. if (has_game_id()) {
  7474. total_size += 1 + 8;
  7475. }
  7476. // optional int32 eresult = 3 [default = 2];
  7477. if (has_eresult()) {
  7478. total_size += 1 +
  7479. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7480. this->eresult());
  7481. }
  7482. }
  7483. // repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
  7484. total_size += 1 * this->stats_size();
  7485. for (int i = 0; i < this->stats_size(); i++) {
  7486. total_size +=
  7487. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  7488. this->stats(i));
  7489. }
  7490. // repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
  7491. total_size += 1 * this->achievement_blocks_size();
  7492. for (int i = 0; i < this->achievement_blocks_size(); i++) {
  7493. total_size +=
  7494. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  7495. this->achievement_blocks(i));
  7496. }
  7497. if (!unknown_fields().empty()) {
  7498. total_size +=
  7499. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7500. unknown_fields());
  7501. }
  7502. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7503. _cached_size_ = total_size;
  7504. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7505. return total_size;
  7506. }
  7507. void CMsgAMGetUserGameStatsResponse::MergeFrom(const ::google::protobuf::Message& from) {
  7508. GOOGLE_CHECK_NE(&from, this);
  7509. const CMsgAMGetUserGameStatsResponse* source =
  7510. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMGetUserGameStatsResponse*>(
  7511. &from);
  7512. if (source == NULL) {
  7513. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7514. } else {
  7515. MergeFrom(*source);
  7516. }
  7517. }
  7518. void CMsgAMGetUserGameStatsResponse::MergeFrom(const CMsgAMGetUserGameStatsResponse& from) {
  7519. GOOGLE_CHECK_NE(&from, this);
  7520. stats_.MergeFrom(from.stats_);
  7521. achievement_blocks_.MergeFrom(from.achievement_blocks_);
  7522. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7523. if (from.has_steam_id()) {
  7524. set_steam_id(from.steam_id());
  7525. }
  7526. if (from.has_game_id()) {
  7527. set_game_id(from.game_id());
  7528. }
  7529. if (from.has_eresult()) {
  7530. set_eresult(from.eresult());
  7531. }
  7532. }
  7533. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7534. }
  7535. void CMsgAMGetUserGameStatsResponse::CopyFrom(const ::google::protobuf::Message& from) {
  7536. if (&from == this) return;
  7537. Clear();
  7538. MergeFrom(from);
  7539. }
  7540. void CMsgAMGetUserGameStatsResponse::CopyFrom(const CMsgAMGetUserGameStatsResponse& from) {
  7541. if (&from == this) return;
  7542. Clear();
  7543. MergeFrom(from);
  7544. }
  7545. bool CMsgAMGetUserGameStatsResponse::IsInitialized() const {
  7546. return true;
  7547. }
  7548. void CMsgAMGetUserGameStatsResponse::Swap(CMsgAMGetUserGameStatsResponse* other) {
  7549. if (other != this) {
  7550. std::swap(steam_id_, other->steam_id_);
  7551. std::swap(game_id_, other->game_id_);
  7552. std::swap(eresult_, other->eresult_);
  7553. stats_.Swap(&other->stats_);
  7554. achievement_blocks_.Swap(&other->achievement_blocks_);
  7555. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7556. _unknown_fields_.Swap(&other->_unknown_fields_);
  7557. std::swap(_cached_size_, other->_cached_size_);
  7558. }
  7559. }
  7560. ::google::protobuf::Metadata CMsgAMGetUserGameStatsResponse::GetMetadata() const {
  7561. protobuf_AssignDescriptorsOnce();
  7562. ::google::protobuf::Metadata metadata;
  7563. metadata.descriptor = CMsgAMGetUserGameStatsResponse_descriptor_;
  7564. metadata.reflection = CMsgAMGetUserGameStatsResponse_reflection_;
  7565. return metadata;
  7566. }
  7567. // ===================================================================
  7568. #ifndef _MSC_VER
  7569. const int CMsgGCGetCommandList::kAppIdFieldNumber;
  7570. const int CMsgGCGetCommandList::kCommandPrefixFieldNumber;
  7571. #endif // !_MSC_VER
  7572. CMsgGCGetCommandList::CMsgGCGetCommandList()
  7573. : ::google::protobuf::Message() {
  7574. SharedCtor();
  7575. }
  7576. void CMsgGCGetCommandList::InitAsDefaultInstance() {
  7577. }
  7578. CMsgGCGetCommandList::CMsgGCGetCommandList(const CMsgGCGetCommandList& from)
  7579. : ::google::protobuf::Message() {
  7580. SharedCtor();
  7581. MergeFrom(from);
  7582. }
  7583. void CMsgGCGetCommandList::SharedCtor() {
  7584. _cached_size_ = 0;
  7585. app_id_ = 0u;
  7586. command_prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  7587. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7588. }
  7589. CMsgGCGetCommandList::~CMsgGCGetCommandList() {
  7590. SharedDtor();
  7591. }
  7592. void CMsgGCGetCommandList::SharedDtor() {
  7593. if (command_prefix_ != &::google::protobuf::internal::kEmptyString) {
  7594. delete command_prefix_;
  7595. }
  7596. if (this != default_instance_) {
  7597. }
  7598. }
  7599. void CMsgGCGetCommandList::SetCachedSize(int size) const {
  7600. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7601. _cached_size_ = size;
  7602. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7603. }
  7604. const ::google::protobuf::Descriptor* CMsgGCGetCommandList::descriptor() {
  7605. protobuf_AssignDescriptorsOnce();
  7606. return CMsgGCGetCommandList_descriptor_;
  7607. }
  7608. const CMsgGCGetCommandList& CMsgGCGetCommandList::default_instance() {
  7609. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  7610. return *default_instance_;
  7611. }
  7612. CMsgGCGetCommandList* CMsgGCGetCommandList::default_instance_ = NULL;
  7613. CMsgGCGetCommandList* CMsgGCGetCommandList::New() const {
  7614. return new CMsgGCGetCommandList;
  7615. }
  7616. void CMsgGCGetCommandList::Clear() {
  7617. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7618. app_id_ = 0u;
  7619. if (has_command_prefix()) {
  7620. if (command_prefix_ != &::google::protobuf::internal::kEmptyString) {
  7621. command_prefix_->clear();
  7622. }
  7623. }
  7624. }
  7625. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7626. mutable_unknown_fields()->Clear();
  7627. }
  7628. bool CMsgGCGetCommandList::MergePartialFromCodedStream(
  7629. ::google::protobuf::io::CodedInputStream* input) {
  7630. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7631. ::google::protobuf::uint32 tag;
  7632. while ((tag = input->ReadTag()) != 0) {
  7633. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7634. // optional uint32 app_id = 1;
  7635. case 1: {
  7636. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7637. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7638. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7639. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  7640. input, &app_id_)));
  7641. set_has_app_id();
  7642. } else {
  7643. goto handle_uninterpreted;
  7644. }
  7645. if (input->ExpectTag(18)) goto parse_command_prefix;
  7646. break;
  7647. }
  7648. // optional string command_prefix = 2;
  7649. case 2: {
  7650. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7651. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7652. parse_command_prefix:
  7653. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7654. input, this->mutable_command_prefix()));
  7655. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7656. this->command_prefix().data(), this->command_prefix().length(),
  7657. ::google::protobuf::internal::WireFormat::PARSE);
  7658. } else {
  7659. goto handle_uninterpreted;
  7660. }
  7661. if (input->ExpectAtEnd()) return true;
  7662. break;
  7663. }
  7664. default: {
  7665. handle_uninterpreted:
  7666. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7667. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7668. return true;
  7669. }
  7670. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7671. input, tag, mutable_unknown_fields()));
  7672. break;
  7673. }
  7674. }
  7675. }
  7676. return true;
  7677. #undef DO_
  7678. }
  7679. void CMsgGCGetCommandList::SerializeWithCachedSizes(
  7680. ::google::protobuf::io::CodedOutputStream* output) const {
  7681. // optional uint32 app_id = 1;
  7682. if (has_app_id()) {
  7683. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->app_id(), output);
  7684. }
  7685. // optional string command_prefix = 2;
  7686. if (has_command_prefix()) {
  7687. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7688. this->command_prefix().data(), this->command_prefix().length(),
  7689. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7690. ::google::protobuf::internal::WireFormatLite::WriteString(
  7691. 2, this->command_prefix(), output);
  7692. }
  7693. if (!unknown_fields().empty()) {
  7694. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7695. unknown_fields(), output);
  7696. }
  7697. }
  7698. ::google::protobuf::uint8* CMsgGCGetCommandList::SerializeWithCachedSizesToArray(
  7699. ::google::protobuf::uint8* target) const {
  7700. // optional uint32 app_id = 1;
  7701. if (has_app_id()) {
  7702. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->app_id(), target);
  7703. }
  7704. // optional string command_prefix = 2;
  7705. if (has_command_prefix()) {
  7706. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7707. this->command_prefix().data(), this->command_prefix().length(),
  7708. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7709. target =
  7710. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7711. 2, this->command_prefix(), target);
  7712. }
  7713. if (!unknown_fields().empty()) {
  7714. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7715. unknown_fields(), target);
  7716. }
  7717. return target;
  7718. }
  7719. int CMsgGCGetCommandList::ByteSize() const {
  7720. int total_size = 0;
  7721. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7722. // optional uint32 app_id = 1;
  7723. if (has_app_id()) {
  7724. total_size += 1 +
  7725. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  7726. this->app_id());
  7727. }
  7728. // optional string command_prefix = 2;
  7729. if (has_command_prefix()) {
  7730. total_size += 1 +
  7731. ::google::protobuf::internal::WireFormatLite::StringSize(
  7732. this->command_prefix());
  7733. }
  7734. }
  7735. if (!unknown_fields().empty()) {
  7736. total_size +=
  7737. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7738. unknown_fields());
  7739. }
  7740. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7741. _cached_size_ = total_size;
  7742. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7743. return total_size;
  7744. }
  7745. void CMsgGCGetCommandList::MergeFrom(const ::google::protobuf::Message& from) {
  7746. GOOGLE_CHECK_NE(&from, this);
  7747. const CMsgGCGetCommandList* source =
  7748. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCGetCommandList*>(
  7749. &from);
  7750. if (source == NULL) {
  7751. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7752. } else {
  7753. MergeFrom(*source);
  7754. }
  7755. }
  7756. void CMsgGCGetCommandList::MergeFrom(const CMsgGCGetCommandList& from) {
  7757. GOOGLE_CHECK_NE(&from, this);
  7758. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7759. if (from.has_app_id()) {
  7760. set_app_id(from.app_id());
  7761. }
  7762. if (from.has_command_prefix()) {
  7763. set_command_prefix(from.command_prefix());
  7764. }
  7765. }
  7766. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7767. }
  7768. void CMsgGCGetCommandList::CopyFrom(const ::google::protobuf::Message& from) {
  7769. if (&from == this) return;
  7770. Clear();
  7771. MergeFrom(from);
  7772. }
  7773. void CMsgGCGetCommandList::CopyFrom(const CMsgGCGetCommandList& from) {
  7774. if (&from == this) return;
  7775. Clear();
  7776. MergeFrom(from);
  7777. }
  7778. bool CMsgGCGetCommandList::IsInitialized() const {
  7779. return true;
  7780. }
  7781. void CMsgGCGetCommandList::Swap(CMsgGCGetCommandList* other) {
  7782. if (other != this) {
  7783. std::swap(app_id_, other->app_id_);
  7784. std::swap(command_prefix_, other->command_prefix_);
  7785. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7786. _unknown_fields_.Swap(&other->_unknown_fields_);
  7787. std::swap(_cached_size_, other->_cached_size_);
  7788. }
  7789. }
  7790. ::google::protobuf::Metadata CMsgGCGetCommandList::GetMetadata() const {
  7791. protobuf_AssignDescriptorsOnce();
  7792. ::google::protobuf::Metadata metadata;
  7793. metadata.descriptor = CMsgGCGetCommandList_descriptor_;
  7794. metadata.reflection = CMsgGCGetCommandList_reflection_;
  7795. return metadata;
  7796. }
  7797. // ===================================================================
  7798. #ifndef _MSC_VER
  7799. const int CMsgGCGetCommandListResponse::kCommandNameFieldNumber;
  7800. #endif // !_MSC_VER
  7801. CMsgGCGetCommandListResponse::CMsgGCGetCommandListResponse()
  7802. : ::google::protobuf::Message() {
  7803. SharedCtor();
  7804. }
  7805. void CMsgGCGetCommandListResponse::InitAsDefaultInstance() {
  7806. }
  7807. CMsgGCGetCommandListResponse::CMsgGCGetCommandListResponse(const CMsgGCGetCommandListResponse& from)
  7808. : ::google::protobuf::Message() {
  7809. SharedCtor();
  7810. MergeFrom(from);
  7811. }
  7812. void CMsgGCGetCommandListResponse::SharedCtor() {
  7813. _cached_size_ = 0;
  7814. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7815. }
  7816. CMsgGCGetCommandListResponse::~CMsgGCGetCommandListResponse() {
  7817. SharedDtor();
  7818. }
  7819. void CMsgGCGetCommandListResponse::SharedDtor() {
  7820. if (this != default_instance_) {
  7821. }
  7822. }
  7823. void CMsgGCGetCommandListResponse::SetCachedSize(int size) const {
  7824. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7825. _cached_size_ = size;
  7826. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7827. }
  7828. const ::google::protobuf::Descriptor* CMsgGCGetCommandListResponse::descriptor() {
  7829. protobuf_AssignDescriptorsOnce();
  7830. return CMsgGCGetCommandListResponse_descriptor_;
  7831. }
  7832. const CMsgGCGetCommandListResponse& CMsgGCGetCommandListResponse::default_instance() {
  7833. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  7834. return *default_instance_;
  7835. }
  7836. CMsgGCGetCommandListResponse* CMsgGCGetCommandListResponse::default_instance_ = NULL;
  7837. CMsgGCGetCommandListResponse* CMsgGCGetCommandListResponse::New() const {
  7838. return new CMsgGCGetCommandListResponse;
  7839. }
  7840. void CMsgGCGetCommandListResponse::Clear() {
  7841. command_name_.Clear();
  7842. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7843. mutable_unknown_fields()->Clear();
  7844. }
  7845. bool CMsgGCGetCommandListResponse::MergePartialFromCodedStream(
  7846. ::google::protobuf::io::CodedInputStream* input) {
  7847. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7848. ::google::protobuf::uint32 tag;
  7849. while ((tag = input->ReadTag()) != 0) {
  7850. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7851. // repeated string command_name = 1;
  7852. case 1: {
  7853. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7854. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7855. parse_command_name:
  7856. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7857. input, this->add_command_name()));
  7858. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7859. this->command_name(this->command_name_size() - 1).data(),
  7860. this->command_name(this->command_name_size() - 1).length(),
  7861. ::google::protobuf::internal::WireFormat::PARSE);
  7862. } else {
  7863. goto handle_uninterpreted;
  7864. }
  7865. if (input->ExpectTag(10)) goto parse_command_name;
  7866. if (input->ExpectAtEnd()) return true;
  7867. break;
  7868. }
  7869. default: {
  7870. handle_uninterpreted:
  7871. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7872. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7873. return true;
  7874. }
  7875. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7876. input, tag, mutable_unknown_fields()));
  7877. break;
  7878. }
  7879. }
  7880. }
  7881. return true;
  7882. #undef DO_
  7883. }
  7884. void CMsgGCGetCommandListResponse::SerializeWithCachedSizes(
  7885. ::google::protobuf::io::CodedOutputStream* output) const {
  7886. // repeated string command_name = 1;
  7887. for (int i = 0; i < this->command_name_size(); i++) {
  7888. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7889. this->command_name(i).data(), this->command_name(i).length(),
  7890. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7891. ::google::protobuf::internal::WireFormatLite::WriteString(
  7892. 1, this->command_name(i), output);
  7893. }
  7894. if (!unknown_fields().empty()) {
  7895. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7896. unknown_fields(), output);
  7897. }
  7898. }
  7899. ::google::protobuf::uint8* CMsgGCGetCommandListResponse::SerializeWithCachedSizesToArray(
  7900. ::google::protobuf::uint8* target) const {
  7901. // repeated string command_name = 1;
  7902. for (int i = 0; i < this->command_name_size(); i++) {
  7903. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  7904. this->command_name(i).data(), this->command_name(i).length(),
  7905. ::google::protobuf::internal::WireFormat::SERIALIZE);
  7906. target = ::google::protobuf::internal::WireFormatLite::
  7907. WriteStringToArray(1, this->command_name(i), target);
  7908. }
  7909. if (!unknown_fields().empty()) {
  7910. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7911. unknown_fields(), target);
  7912. }
  7913. return target;
  7914. }
  7915. int CMsgGCGetCommandListResponse::ByteSize() const {
  7916. int total_size = 0;
  7917. // repeated string command_name = 1;
  7918. total_size += 1 * this->command_name_size();
  7919. for (int i = 0; i < this->command_name_size(); i++) {
  7920. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  7921. this->command_name(i));
  7922. }
  7923. if (!unknown_fields().empty()) {
  7924. total_size +=
  7925. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7926. unknown_fields());
  7927. }
  7928. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7929. _cached_size_ = total_size;
  7930. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7931. return total_size;
  7932. }
  7933. void CMsgGCGetCommandListResponse::MergeFrom(const ::google::protobuf::Message& from) {
  7934. GOOGLE_CHECK_NE(&from, this);
  7935. const CMsgGCGetCommandListResponse* source =
  7936. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCGetCommandListResponse*>(
  7937. &from);
  7938. if (source == NULL) {
  7939. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7940. } else {
  7941. MergeFrom(*source);
  7942. }
  7943. }
  7944. void CMsgGCGetCommandListResponse::MergeFrom(const CMsgGCGetCommandListResponse& from) {
  7945. GOOGLE_CHECK_NE(&from, this);
  7946. command_name_.MergeFrom(from.command_name_);
  7947. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7948. }
  7949. void CMsgGCGetCommandListResponse::CopyFrom(const ::google::protobuf::Message& from) {
  7950. if (&from == this) return;
  7951. Clear();
  7952. MergeFrom(from);
  7953. }
  7954. void CMsgGCGetCommandListResponse::CopyFrom(const CMsgGCGetCommandListResponse& from) {
  7955. if (&from == this) return;
  7956. Clear();
  7957. MergeFrom(from);
  7958. }
  7959. bool CMsgGCGetCommandListResponse::IsInitialized() const {
  7960. return true;
  7961. }
  7962. void CMsgGCGetCommandListResponse::Swap(CMsgGCGetCommandListResponse* other) {
  7963. if (other != this) {
  7964. command_name_.Swap(&other->command_name_);
  7965. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7966. _unknown_fields_.Swap(&other->_unknown_fields_);
  7967. std::swap(_cached_size_, other->_cached_size_);
  7968. }
  7969. }
  7970. ::google::protobuf::Metadata CMsgGCGetCommandListResponse::GetMetadata() const {
  7971. protobuf_AssignDescriptorsOnce();
  7972. ::google::protobuf::Metadata metadata;
  7973. metadata.descriptor = CMsgGCGetCommandListResponse_descriptor_;
  7974. metadata.reflection = CMsgGCGetCommandListResponse_reflection_;
  7975. return metadata;
  7976. }
  7977. // ===================================================================
  7978. #ifndef _MSC_VER
  7979. const int CGCMsgMemCachedGet::kKeysFieldNumber;
  7980. #endif // !_MSC_VER
  7981. CGCMsgMemCachedGet::CGCMsgMemCachedGet()
  7982. : ::google::protobuf::Message() {
  7983. SharedCtor();
  7984. }
  7985. void CGCMsgMemCachedGet::InitAsDefaultInstance() {
  7986. }
  7987. CGCMsgMemCachedGet::CGCMsgMemCachedGet(const CGCMsgMemCachedGet& from)
  7988. : ::google::protobuf::Message() {
  7989. SharedCtor();
  7990. MergeFrom(from);
  7991. }
  7992. void CGCMsgMemCachedGet::SharedCtor() {
  7993. _cached_size_ = 0;
  7994. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7995. }
  7996. CGCMsgMemCachedGet::~CGCMsgMemCachedGet() {
  7997. SharedDtor();
  7998. }
  7999. void CGCMsgMemCachedGet::SharedDtor() {
  8000. if (this != default_instance_) {
  8001. }
  8002. }
  8003. void CGCMsgMemCachedGet::SetCachedSize(int size) const {
  8004. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8005. _cached_size_ = size;
  8006. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8007. }
  8008. const ::google::protobuf::Descriptor* CGCMsgMemCachedGet::descriptor() {
  8009. protobuf_AssignDescriptorsOnce();
  8010. return CGCMsgMemCachedGet_descriptor_;
  8011. }
  8012. const CGCMsgMemCachedGet& CGCMsgMemCachedGet::default_instance() {
  8013. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  8014. return *default_instance_;
  8015. }
  8016. CGCMsgMemCachedGet* CGCMsgMemCachedGet::default_instance_ = NULL;
  8017. CGCMsgMemCachedGet* CGCMsgMemCachedGet::New() const {
  8018. return new CGCMsgMemCachedGet;
  8019. }
  8020. void CGCMsgMemCachedGet::Clear() {
  8021. keys_.Clear();
  8022. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8023. mutable_unknown_fields()->Clear();
  8024. }
  8025. bool CGCMsgMemCachedGet::MergePartialFromCodedStream(
  8026. ::google::protobuf::io::CodedInputStream* input) {
  8027. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8028. ::google::protobuf::uint32 tag;
  8029. while ((tag = input->ReadTag()) != 0) {
  8030. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8031. // repeated string keys = 1;
  8032. case 1: {
  8033. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8034. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8035. parse_keys:
  8036. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  8037. input, this->add_keys()));
  8038. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8039. this->keys(this->keys_size() - 1).data(),
  8040. this->keys(this->keys_size() - 1).length(),
  8041. ::google::protobuf::internal::WireFormat::PARSE);
  8042. } else {
  8043. goto handle_uninterpreted;
  8044. }
  8045. if (input->ExpectTag(10)) goto parse_keys;
  8046. if (input->ExpectAtEnd()) return true;
  8047. break;
  8048. }
  8049. default: {
  8050. handle_uninterpreted:
  8051. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8052. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8053. return true;
  8054. }
  8055. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8056. input, tag, mutable_unknown_fields()));
  8057. break;
  8058. }
  8059. }
  8060. }
  8061. return true;
  8062. #undef DO_
  8063. }
  8064. void CGCMsgMemCachedGet::SerializeWithCachedSizes(
  8065. ::google::protobuf::io::CodedOutputStream* output) const {
  8066. // repeated string keys = 1;
  8067. for (int i = 0; i < this->keys_size(); i++) {
  8068. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8069. this->keys(i).data(), this->keys(i).length(),
  8070. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8071. ::google::protobuf::internal::WireFormatLite::WriteString(
  8072. 1, this->keys(i), output);
  8073. }
  8074. if (!unknown_fields().empty()) {
  8075. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8076. unknown_fields(), output);
  8077. }
  8078. }
  8079. ::google::protobuf::uint8* CGCMsgMemCachedGet::SerializeWithCachedSizesToArray(
  8080. ::google::protobuf::uint8* target) const {
  8081. // repeated string keys = 1;
  8082. for (int i = 0; i < this->keys_size(); i++) {
  8083. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8084. this->keys(i).data(), this->keys(i).length(),
  8085. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8086. target = ::google::protobuf::internal::WireFormatLite::
  8087. WriteStringToArray(1, this->keys(i), target);
  8088. }
  8089. if (!unknown_fields().empty()) {
  8090. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8091. unknown_fields(), target);
  8092. }
  8093. return target;
  8094. }
  8095. int CGCMsgMemCachedGet::ByteSize() const {
  8096. int total_size = 0;
  8097. // repeated string keys = 1;
  8098. total_size += 1 * this->keys_size();
  8099. for (int i = 0; i < this->keys_size(); i++) {
  8100. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  8101. this->keys(i));
  8102. }
  8103. if (!unknown_fields().empty()) {
  8104. total_size +=
  8105. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8106. unknown_fields());
  8107. }
  8108. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8109. _cached_size_ = total_size;
  8110. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8111. return total_size;
  8112. }
  8113. void CGCMsgMemCachedGet::MergeFrom(const ::google::protobuf::Message& from) {
  8114. GOOGLE_CHECK_NE(&from, this);
  8115. const CGCMsgMemCachedGet* source =
  8116. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgMemCachedGet*>(
  8117. &from);
  8118. if (source == NULL) {
  8119. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8120. } else {
  8121. MergeFrom(*source);
  8122. }
  8123. }
  8124. void CGCMsgMemCachedGet::MergeFrom(const CGCMsgMemCachedGet& from) {
  8125. GOOGLE_CHECK_NE(&from, this);
  8126. keys_.MergeFrom(from.keys_);
  8127. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8128. }
  8129. void CGCMsgMemCachedGet::CopyFrom(const ::google::protobuf::Message& from) {
  8130. if (&from == this) return;
  8131. Clear();
  8132. MergeFrom(from);
  8133. }
  8134. void CGCMsgMemCachedGet::CopyFrom(const CGCMsgMemCachedGet& from) {
  8135. if (&from == this) return;
  8136. Clear();
  8137. MergeFrom(from);
  8138. }
  8139. bool CGCMsgMemCachedGet::IsInitialized() const {
  8140. return true;
  8141. }
  8142. void CGCMsgMemCachedGet::Swap(CGCMsgMemCachedGet* other) {
  8143. if (other != this) {
  8144. keys_.Swap(&other->keys_);
  8145. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8146. _unknown_fields_.Swap(&other->_unknown_fields_);
  8147. std::swap(_cached_size_, other->_cached_size_);
  8148. }
  8149. }
  8150. ::google::protobuf::Metadata CGCMsgMemCachedGet::GetMetadata() const {
  8151. protobuf_AssignDescriptorsOnce();
  8152. ::google::protobuf::Metadata metadata;
  8153. metadata.descriptor = CGCMsgMemCachedGet_descriptor_;
  8154. metadata.reflection = CGCMsgMemCachedGet_reflection_;
  8155. return metadata;
  8156. }
  8157. // ===================================================================
  8158. #ifndef _MSC_VER
  8159. const int CGCMsgMemCachedGetResponse_ValueTag::kFoundFieldNumber;
  8160. const int CGCMsgMemCachedGetResponse_ValueTag::kValueFieldNumber;
  8161. #endif // !_MSC_VER
  8162. CGCMsgMemCachedGetResponse_ValueTag::CGCMsgMemCachedGetResponse_ValueTag()
  8163. : ::google::protobuf::Message() {
  8164. SharedCtor();
  8165. }
  8166. void CGCMsgMemCachedGetResponse_ValueTag::InitAsDefaultInstance() {
  8167. }
  8168. CGCMsgMemCachedGetResponse_ValueTag::CGCMsgMemCachedGetResponse_ValueTag(const CGCMsgMemCachedGetResponse_ValueTag& from)
  8169. : ::google::protobuf::Message() {
  8170. SharedCtor();
  8171. MergeFrom(from);
  8172. }
  8173. void CGCMsgMemCachedGetResponse_ValueTag::SharedCtor() {
  8174. _cached_size_ = 0;
  8175. found_ = false;
  8176. value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8177. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8178. }
  8179. CGCMsgMemCachedGetResponse_ValueTag::~CGCMsgMemCachedGetResponse_ValueTag() {
  8180. SharedDtor();
  8181. }
  8182. void CGCMsgMemCachedGetResponse_ValueTag::SharedDtor() {
  8183. if (value_ != &::google::protobuf::internal::kEmptyString) {
  8184. delete value_;
  8185. }
  8186. if (this != default_instance_) {
  8187. }
  8188. }
  8189. void CGCMsgMemCachedGetResponse_ValueTag::SetCachedSize(int size) const {
  8190. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8191. _cached_size_ = size;
  8192. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8193. }
  8194. const ::google::protobuf::Descriptor* CGCMsgMemCachedGetResponse_ValueTag::descriptor() {
  8195. protobuf_AssignDescriptorsOnce();
  8196. return CGCMsgMemCachedGetResponse_ValueTag_descriptor_;
  8197. }
  8198. const CGCMsgMemCachedGetResponse_ValueTag& CGCMsgMemCachedGetResponse_ValueTag::default_instance() {
  8199. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  8200. return *default_instance_;
  8201. }
  8202. CGCMsgMemCachedGetResponse_ValueTag* CGCMsgMemCachedGetResponse_ValueTag::default_instance_ = NULL;
  8203. CGCMsgMemCachedGetResponse_ValueTag* CGCMsgMemCachedGetResponse_ValueTag::New() const {
  8204. return new CGCMsgMemCachedGetResponse_ValueTag;
  8205. }
  8206. void CGCMsgMemCachedGetResponse_ValueTag::Clear() {
  8207. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8208. found_ = false;
  8209. if (has_value()) {
  8210. if (value_ != &::google::protobuf::internal::kEmptyString) {
  8211. value_->clear();
  8212. }
  8213. }
  8214. }
  8215. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8216. mutable_unknown_fields()->Clear();
  8217. }
  8218. bool CGCMsgMemCachedGetResponse_ValueTag::MergePartialFromCodedStream(
  8219. ::google::protobuf::io::CodedInputStream* input) {
  8220. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8221. ::google::protobuf::uint32 tag;
  8222. while ((tag = input->ReadTag()) != 0) {
  8223. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8224. // optional bool found = 1;
  8225. case 1: {
  8226. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8227. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8228. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8229. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  8230. input, &found_)));
  8231. set_has_found();
  8232. } else {
  8233. goto handle_uninterpreted;
  8234. }
  8235. if (input->ExpectTag(18)) goto parse_value;
  8236. break;
  8237. }
  8238. // optional bytes value = 2;
  8239. case 2: {
  8240. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8241. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8242. parse_value:
  8243. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  8244. input, this->mutable_value()));
  8245. } else {
  8246. goto handle_uninterpreted;
  8247. }
  8248. if (input->ExpectAtEnd()) return true;
  8249. break;
  8250. }
  8251. default: {
  8252. handle_uninterpreted:
  8253. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8254. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8255. return true;
  8256. }
  8257. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8258. input, tag, mutable_unknown_fields()));
  8259. break;
  8260. }
  8261. }
  8262. }
  8263. return true;
  8264. #undef DO_
  8265. }
  8266. void CGCMsgMemCachedGetResponse_ValueTag::SerializeWithCachedSizes(
  8267. ::google::protobuf::io::CodedOutputStream* output) const {
  8268. // optional bool found = 1;
  8269. if (has_found()) {
  8270. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->found(), output);
  8271. }
  8272. // optional bytes value = 2;
  8273. if (has_value()) {
  8274. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  8275. 2, this->value(), output);
  8276. }
  8277. if (!unknown_fields().empty()) {
  8278. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8279. unknown_fields(), output);
  8280. }
  8281. }
  8282. ::google::protobuf::uint8* CGCMsgMemCachedGetResponse_ValueTag::SerializeWithCachedSizesToArray(
  8283. ::google::protobuf::uint8* target) const {
  8284. // optional bool found = 1;
  8285. if (has_found()) {
  8286. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->found(), target);
  8287. }
  8288. // optional bytes value = 2;
  8289. if (has_value()) {
  8290. target =
  8291. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  8292. 2, this->value(), target);
  8293. }
  8294. if (!unknown_fields().empty()) {
  8295. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8296. unknown_fields(), target);
  8297. }
  8298. return target;
  8299. }
  8300. int CGCMsgMemCachedGetResponse_ValueTag::ByteSize() const {
  8301. int total_size = 0;
  8302. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8303. // optional bool found = 1;
  8304. if (has_found()) {
  8305. total_size += 1 + 1;
  8306. }
  8307. // optional bytes value = 2;
  8308. if (has_value()) {
  8309. total_size += 1 +
  8310. ::google::protobuf::internal::WireFormatLite::BytesSize(
  8311. this->value());
  8312. }
  8313. }
  8314. if (!unknown_fields().empty()) {
  8315. total_size +=
  8316. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8317. unknown_fields());
  8318. }
  8319. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8320. _cached_size_ = total_size;
  8321. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8322. return total_size;
  8323. }
  8324. void CGCMsgMemCachedGetResponse_ValueTag::MergeFrom(const ::google::protobuf::Message& from) {
  8325. GOOGLE_CHECK_NE(&from, this);
  8326. const CGCMsgMemCachedGetResponse_ValueTag* source =
  8327. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgMemCachedGetResponse_ValueTag*>(
  8328. &from);
  8329. if (source == NULL) {
  8330. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8331. } else {
  8332. MergeFrom(*source);
  8333. }
  8334. }
  8335. void CGCMsgMemCachedGetResponse_ValueTag::MergeFrom(const CGCMsgMemCachedGetResponse_ValueTag& from) {
  8336. GOOGLE_CHECK_NE(&from, this);
  8337. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8338. if (from.has_found()) {
  8339. set_found(from.found());
  8340. }
  8341. if (from.has_value()) {
  8342. set_value(from.value());
  8343. }
  8344. }
  8345. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8346. }
  8347. void CGCMsgMemCachedGetResponse_ValueTag::CopyFrom(const ::google::protobuf::Message& from) {
  8348. if (&from == this) return;
  8349. Clear();
  8350. MergeFrom(from);
  8351. }
  8352. void CGCMsgMemCachedGetResponse_ValueTag::CopyFrom(const CGCMsgMemCachedGetResponse_ValueTag& from) {
  8353. if (&from == this) return;
  8354. Clear();
  8355. MergeFrom(from);
  8356. }
  8357. bool CGCMsgMemCachedGetResponse_ValueTag::IsInitialized() const {
  8358. return true;
  8359. }
  8360. void CGCMsgMemCachedGetResponse_ValueTag::Swap(CGCMsgMemCachedGetResponse_ValueTag* other) {
  8361. if (other != this) {
  8362. std::swap(found_, other->found_);
  8363. std::swap(value_, other->value_);
  8364. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8365. _unknown_fields_.Swap(&other->_unknown_fields_);
  8366. std::swap(_cached_size_, other->_cached_size_);
  8367. }
  8368. }
  8369. ::google::protobuf::Metadata CGCMsgMemCachedGetResponse_ValueTag::GetMetadata() const {
  8370. protobuf_AssignDescriptorsOnce();
  8371. ::google::protobuf::Metadata metadata;
  8372. metadata.descriptor = CGCMsgMemCachedGetResponse_ValueTag_descriptor_;
  8373. metadata.reflection = CGCMsgMemCachedGetResponse_ValueTag_reflection_;
  8374. return metadata;
  8375. }
  8376. // -------------------------------------------------------------------
  8377. #ifndef _MSC_VER
  8378. const int CGCMsgMemCachedGetResponse::kValuesFieldNumber;
  8379. #endif // !_MSC_VER
  8380. CGCMsgMemCachedGetResponse::CGCMsgMemCachedGetResponse()
  8381. : ::google::protobuf::Message() {
  8382. SharedCtor();
  8383. }
  8384. void CGCMsgMemCachedGetResponse::InitAsDefaultInstance() {
  8385. }
  8386. CGCMsgMemCachedGetResponse::CGCMsgMemCachedGetResponse(const CGCMsgMemCachedGetResponse& from)
  8387. : ::google::protobuf::Message() {
  8388. SharedCtor();
  8389. MergeFrom(from);
  8390. }
  8391. void CGCMsgMemCachedGetResponse::SharedCtor() {
  8392. _cached_size_ = 0;
  8393. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8394. }
  8395. CGCMsgMemCachedGetResponse::~CGCMsgMemCachedGetResponse() {
  8396. SharedDtor();
  8397. }
  8398. void CGCMsgMemCachedGetResponse::SharedDtor() {
  8399. if (this != default_instance_) {
  8400. }
  8401. }
  8402. void CGCMsgMemCachedGetResponse::SetCachedSize(int size) const {
  8403. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8404. _cached_size_ = size;
  8405. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8406. }
  8407. const ::google::protobuf::Descriptor* CGCMsgMemCachedGetResponse::descriptor() {
  8408. protobuf_AssignDescriptorsOnce();
  8409. return CGCMsgMemCachedGetResponse_descriptor_;
  8410. }
  8411. const CGCMsgMemCachedGetResponse& CGCMsgMemCachedGetResponse::default_instance() {
  8412. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  8413. return *default_instance_;
  8414. }
  8415. CGCMsgMemCachedGetResponse* CGCMsgMemCachedGetResponse::default_instance_ = NULL;
  8416. CGCMsgMemCachedGetResponse* CGCMsgMemCachedGetResponse::New() const {
  8417. return new CGCMsgMemCachedGetResponse;
  8418. }
  8419. void CGCMsgMemCachedGetResponse::Clear() {
  8420. values_.Clear();
  8421. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8422. mutable_unknown_fields()->Clear();
  8423. }
  8424. bool CGCMsgMemCachedGetResponse::MergePartialFromCodedStream(
  8425. ::google::protobuf::io::CodedInputStream* input) {
  8426. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8427. ::google::protobuf::uint32 tag;
  8428. while ((tag = input->ReadTag()) != 0) {
  8429. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8430. // repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
  8431. case 1: {
  8432. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8433. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8434. parse_values:
  8435. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8436. input, add_values()));
  8437. } else {
  8438. goto handle_uninterpreted;
  8439. }
  8440. if (input->ExpectTag(10)) goto parse_values;
  8441. if (input->ExpectAtEnd()) return true;
  8442. break;
  8443. }
  8444. default: {
  8445. handle_uninterpreted:
  8446. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8447. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8448. return true;
  8449. }
  8450. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8451. input, tag, mutable_unknown_fields()));
  8452. break;
  8453. }
  8454. }
  8455. }
  8456. return true;
  8457. #undef DO_
  8458. }
  8459. void CGCMsgMemCachedGetResponse::SerializeWithCachedSizes(
  8460. ::google::protobuf::io::CodedOutputStream* output) const {
  8461. // repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
  8462. for (int i = 0; i < this->values_size(); i++) {
  8463. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8464. 1, this->values(i), output);
  8465. }
  8466. if (!unknown_fields().empty()) {
  8467. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8468. unknown_fields(), output);
  8469. }
  8470. }
  8471. ::google::protobuf::uint8* CGCMsgMemCachedGetResponse::SerializeWithCachedSizesToArray(
  8472. ::google::protobuf::uint8* target) const {
  8473. // repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
  8474. for (int i = 0; i < this->values_size(); i++) {
  8475. target = ::google::protobuf::internal::WireFormatLite::
  8476. WriteMessageNoVirtualToArray(
  8477. 1, this->values(i), target);
  8478. }
  8479. if (!unknown_fields().empty()) {
  8480. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8481. unknown_fields(), target);
  8482. }
  8483. return target;
  8484. }
  8485. int CGCMsgMemCachedGetResponse::ByteSize() const {
  8486. int total_size = 0;
  8487. // repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
  8488. total_size += 1 * this->values_size();
  8489. for (int i = 0; i < this->values_size(); i++) {
  8490. total_size +=
  8491. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  8492. this->values(i));
  8493. }
  8494. if (!unknown_fields().empty()) {
  8495. total_size +=
  8496. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8497. unknown_fields());
  8498. }
  8499. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8500. _cached_size_ = total_size;
  8501. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8502. return total_size;
  8503. }
  8504. void CGCMsgMemCachedGetResponse::MergeFrom(const ::google::protobuf::Message& from) {
  8505. GOOGLE_CHECK_NE(&from, this);
  8506. const CGCMsgMemCachedGetResponse* source =
  8507. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgMemCachedGetResponse*>(
  8508. &from);
  8509. if (source == NULL) {
  8510. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8511. } else {
  8512. MergeFrom(*source);
  8513. }
  8514. }
  8515. void CGCMsgMemCachedGetResponse::MergeFrom(const CGCMsgMemCachedGetResponse& from) {
  8516. GOOGLE_CHECK_NE(&from, this);
  8517. values_.MergeFrom(from.values_);
  8518. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8519. }
  8520. void CGCMsgMemCachedGetResponse::CopyFrom(const ::google::protobuf::Message& from) {
  8521. if (&from == this) return;
  8522. Clear();
  8523. MergeFrom(from);
  8524. }
  8525. void CGCMsgMemCachedGetResponse::CopyFrom(const CGCMsgMemCachedGetResponse& from) {
  8526. if (&from == this) return;
  8527. Clear();
  8528. MergeFrom(from);
  8529. }
  8530. bool CGCMsgMemCachedGetResponse::IsInitialized() const {
  8531. return true;
  8532. }
  8533. void CGCMsgMemCachedGetResponse::Swap(CGCMsgMemCachedGetResponse* other) {
  8534. if (other != this) {
  8535. values_.Swap(&other->values_);
  8536. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8537. _unknown_fields_.Swap(&other->_unknown_fields_);
  8538. std::swap(_cached_size_, other->_cached_size_);
  8539. }
  8540. }
  8541. ::google::protobuf::Metadata CGCMsgMemCachedGetResponse::GetMetadata() const {
  8542. protobuf_AssignDescriptorsOnce();
  8543. ::google::protobuf::Metadata metadata;
  8544. metadata.descriptor = CGCMsgMemCachedGetResponse_descriptor_;
  8545. metadata.reflection = CGCMsgMemCachedGetResponse_reflection_;
  8546. return metadata;
  8547. }
  8548. // ===================================================================
  8549. #ifndef _MSC_VER
  8550. const int CGCMsgMemCachedSet_KeyPair::kNameFieldNumber;
  8551. const int CGCMsgMemCachedSet_KeyPair::kValueFieldNumber;
  8552. #endif // !_MSC_VER
  8553. CGCMsgMemCachedSet_KeyPair::CGCMsgMemCachedSet_KeyPair()
  8554. : ::google::protobuf::Message() {
  8555. SharedCtor();
  8556. }
  8557. void CGCMsgMemCachedSet_KeyPair::InitAsDefaultInstance() {
  8558. }
  8559. CGCMsgMemCachedSet_KeyPair::CGCMsgMemCachedSet_KeyPair(const CGCMsgMemCachedSet_KeyPair& from)
  8560. : ::google::protobuf::Message() {
  8561. SharedCtor();
  8562. MergeFrom(from);
  8563. }
  8564. void CGCMsgMemCachedSet_KeyPair::SharedCtor() {
  8565. _cached_size_ = 0;
  8566. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8567. value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8568. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8569. }
  8570. CGCMsgMemCachedSet_KeyPair::~CGCMsgMemCachedSet_KeyPair() {
  8571. SharedDtor();
  8572. }
  8573. void CGCMsgMemCachedSet_KeyPair::SharedDtor() {
  8574. if (name_ != &::google::protobuf::internal::kEmptyString) {
  8575. delete name_;
  8576. }
  8577. if (value_ != &::google::protobuf::internal::kEmptyString) {
  8578. delete value_;
  8579. }
  8580. if (this != default_instance_) {
  8581. }
  8582. }
  8583. void CGCMsgMemCachedSet_KeyPair::SetCachedSize(int size) const {
  8584. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8585. _cached_size_ = size;
  8586. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8587. }
  8588. const ::google::protobuf::Descriptor* CGCMsgMemCachedSet_KeyPair::descriptor() {
  8589. protobuf_AssignDescriptorsOnce();
  8590. return CGCMsgMemCachedSet_KeyPair_descriptor_;
  8591. }
  8592. const CGCMsgMemCachedSet_KeyPair& CGCMsgMemCachedSet_KeyPair::default_instance() {
  8593. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  8594. return *default_instance_;
  8595. }
  8596. CGCMsgMemCachedSet_KeyPair* CGCMsgMemCachedSet_KeyPair::default_instance_ = NULL;
  8597. CGCMsgMemCachedSet_KeyPair* CGCMsgMemCachedSet_KeyPair::New() const {
  8598. return new CGCMsgMemCachedSet_KeyPair;
  8599. }
  8600. void CGCMsgMemCachedSet_KeyPair::Clear() {
  8601. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8602. if (has_name()) {
  8603. if (name_ != &::google::protobuf::internal::kEmptyString) {
  8604. name_->clear();
  8605. }
  8606. }
  8607. if (has_value()) {
  8608. if (value_ != &::google::protobuf::internal::kEmptyString) {
  8609. value_->clear();
  8610. }
  8611. }
  8612. }
  8613. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8614. mutable_unknown_fields()->Clear();
  8615. }
  8616. bool CGCMsgMemCachedSet_KeyPair::MergePartialFromCodedStream(
  8617. ::google::protobuf::io::CodedInputStream* input) {
  8618. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8619. ::google::protobuf::uint32 tag;
  8620. while ((tag = input->ReadTag()) != 0) {
  8621. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8622. // optional string name = 1;
  8623. case 1: {
  8624. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8625. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8626. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  8627. input, this->mutable_name()));
  8628. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8629. this->name().data(), this->name().length(),
  8630. ::google::protobuf::internal::WireFormat::PARSE);
  8631. } else {
  8632. goto handle_uninterpreted;
  8633. }
  8634. if (input->ExpectTag(18)) goto parse_value;
  8635. break;
  8636. }
  8637. // optional bytes value = 2;
  8638. case 2: {
  8639. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8640. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8641. parse_value:
  8642. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  8643. input, this->mutable_value()));
  8644. } else {
  8645. goto handle_uninterpreted;
  8646. }
  8647. if (input->ExpectAtEnd()) return true;
  8648. break;
  8649. }
  8650. default: {
  8651. handle_uninterpreted:
  8652. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8653. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8654. return true;
  8655. }
  8656. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8657. input, tag, mutable_unknown_fields()));
  8658. break;
  8659. }
  8660. }
  8661. }
  8662. return true;
  8663. #undef DO_
  8664. }
  8665. void CGCMsgMemCachedSet_KeyPair::SerializeWithCachedSizes(
  8666. ::google::protobuf::io::CodedOutputStream* output) const {
  8667. // optional string name = 1;
  8668. if (has_name()) {
  8669. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8670. this->name().data(), this->name().length(),
  8671. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8672. ::google::protobuf::internal::WireFormatLite::WriteString(
  8673. 1, this->name(), output);
  8674. }
  8675. // optional bytes value = 2;
  8676. if (has_value()) {
  8677. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  8678. 2, this->value(), output);
  8679. }
  8680. if (!unknown_fields().empty()) {
  8681. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8682. unknown_fields(), output);
  8683. }
  8684. }
  8685. ::google::protobuf::uint8* CGCMsgMemCachedSet_KeyPair::SerializeWithCachedSizesToArray(
  8686. ::google::protobuf::uint8* target) const {
  8687. // optional string name = 1;
  8688. if (has_name()) {
  8689. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8690. this->name().data(), this->name().length(),
  8691. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8692. target =
  8693. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  8694. 1, this->name(), target);
  8695. }
  8696. // optional bytes value = 2;
  8697. if (has_value()) {
  8698. target =
  8699. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  8700. 2, this->value(), target);
  8701. }
  8702. if (!unknown_fields().empty()) {
  8703. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8704. unknown_fields(), target);
  8705. }
  8706. return target;
  8707. }
  8708. int CGCMsgMemCachedSet_KeyPair::ByteSize() const {
  8709. int total_size = 0;
  8710. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8711. // optional string name = 1;
  8712. if (has_name()) {
  8713. total_size += 1 +
  8714. ::google::protobuf::internal::WireFormatLite::StringSize(
  8715. this->name());
  8716. }
  8717. // optional bytes value = 2;
  8718. if (has_value()) {
  8719. total_size += 1 +
  8720. ::google::protobuf::internal::WireFormatLite::BytesSize(
  8721. this->value());
  8722. }
  8723. }
  8724. if (!unknown_fields().empty()) {
  8725. total_size +=
  8726. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8727. unknown_fields());
  8728. }
  8729. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8730. _cached_size_ = total_size;
  8731. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8732. return total_size;
  8733. }
  8734. void CGCMsgMemCachedSet_KeyPair::MergeFrom(const ::google::protobuf::Message& from) {
  8735. GOOGLE_CHECK_NE(&from, this);
  8736. const CGCMsgMemCachedSet_KeyPair* source =
  8737. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgMemCachedSet_KeyPair*>(
  8738. &from);
  8739. if (source == NULL) {
  8740. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8741. } else {
  8742. MergeFrom(*source);
  8743. }
  8744. }
  8745. void CGCMsgMemCachedSet_KeyPair::MergeFrom(const CGCMsgMemCachedSet_KeyPair& from) {
  8746. GOOGLE_CHECK_NE(&from, this);
  8747. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8748. if (from.has_name()) {
  8749. set_name(from.name());
  8750. }
  8751. if (from.has_value()) {
  8752. set_value(from.value());
  8753. }
  8754. }
  8755. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8756. }
  8757. void CGCMsgMemCachedSet_KeyPair::CopyFrom(const ::google::protobuf::Message& from) {
  8758. if (&from == this) return;
  8759. Clear();
  8760. MergeFrom(from);
  8761. }
  8762. void CGCMsgMemCachedSet_KeyPair::CopyFrom(const CGCMsgMemCachedSet_KeyPair& from) {
  8763. if (&from == this) return;
  8764. Clear();
  8765. MergeFrom(from);
  8766. }
  8767. bool CGCMsgMemCachedSet_KeyPair::IsInitialized() const {
  8768. return true;
  8769. }
  8770. void CGCMsgMemCachedSet_KeyPair::Swap(CGCMsgMemCachedSet_KeyPair* other) {
  8771. if (other != this) {
  8772. std::swap(name_, other->name_);
  8773. std::swap(value_, other->value_);
  8774. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8775. _unknown_fields_.Swap(&other->_unknown_fields_);
  8776. std::swap(_cached_size_, other->_cached_size_);
  8777. }
  8778. }
  8779. ::google::protobuf::Metadata CGCMsgMemCachedSet_KeyPair::GetMetadata() const {
  8780. protobuf_AssignDescriptorsOnce();
  8781. ::google::protobuf::Metadata metadata;
  8782. metadata.descriptor = CGCMsgMemCachedSet_KeyPair_descriptor_;
  8783. metadata.reflection = CGCMsgMemCachedSet_KeyPair_reflection_;
  8784. return metadata;
  8785. }
  8786. // -------------------------------------------------------------------
  8787. #ifndef _MSC_VER
  8788. const int CGCMsgMemCachedSet::kKeysFieldNumber;
  8789. #endif // !_MSC_VER
  8790. CGCMsgMemCachedSet::CGCMsgMemCachedSet()
  8791. : ::google::protobuf::Message() {
  8792. SharedCtor();
  8793. }
  8794. void CGCMsgMemCachedSet::InitAsDefaultInstance() {
  8795. }
  8796. CGCMsgMemCachedSet::CGCMsgMemCachedSet(const CGCMsgMemCachedSet& from)
  8797. : ::google::protobuf::Message() {
  8798. SharedCtor();
  8799. MergeFrom(from);
  8800. }
  8801. void CGCMsgMemCachedSet::SharedCtor() {
  8802. _cached_size_ = 0;
  8803. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8804. }
  8805. CGCMsgMemCachedSet::~CGCMsgMemCachedSet() {
  8806. SharedDtor();
  8807. }
  8808. void CGCMsgMemCachedSet::SharedDtor() {
  8809. if (this != default_instance_) {
  8810. }
  8811. }
  8812. void CGCMsgMemCachedSet::SetCachedSize(int size) const {
  8813. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8814. _cached_size_ = size;
  8815. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8816. }
  8817. const ::google::protobuf::Descriptor* CGCMsgMemCachedSet::descriptor() {
  8818. protobuf_AssignDescriptorsOnce();
  8819. return CGCMsgMemCachedSet_descriptor_;
  8820. }
  8821. const CGCMsgMemCachedSet& CGCMsgMemCachedSet::default_instance() {
  8822. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  8823. return *default_instance_;
  8824. }
  8825. CGCMsgMemCachedSet* CGCMsgMemCachedSet::default_instance_ = NULL;
  8826. CGCMsgMemCachedSet* CGCMsgMemCachedSet::New() const {
  8827. return new CGCMsgMemCachedSet;
  8828. }
  8829. void CGCMsgMemCachedSet::Clear() {
  8830. keys_.Clear();
  8831. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8832. mutable_unknown_fields()->Clear();
  8833. }
  8834. bool CGCMsgMemCachedSet::MergePartialFromCodedStream(
  8835. ::google::protobuf::io::CodedInputStream* input) {
  8836. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8837. ::google::protobuf::uint32 tag;
  8838. while ((tag = input->ReadTag()) != 0) {
  8839. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8840. // repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
  8841. case 1: {
  8842. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8843. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8844. parse_keys:
  8845. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8846. input, add_keys()));
  8847. } else {
  8848. goto handle_uninterpreted;
  8849. }
  8850. if (input->ExpectTag(10)) goto parse_keys;
  8851. if (input->ExpectAtEnd()) return true;
  8852. break;
  8853. }
  8854. default: {
  8855. handle_uninterpreted:
  8856. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8857. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8858. return true;
  8859. }
  8860. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8861. input, tag, mutable_unknown_fields()));
  8862. break;
  8863. }
  8864. }
  8865. }
  8866. return true;
  8867. #undef DO_
  8868. }
  8869. void CGCMsgMemCachedSet::SerializeWithCachedSizes(
  8870. ::google::protobuf::io::CodedOutputStream* output) const {
  8871. // repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
  8872. for (int i = 0; i < this->keys_size(); i++) {
  8873. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8874. 1, this->keys(i), output);
  8875. }
  8876. if (!unknown_fields().empty()) {
  8877. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8878. unknown_fields(), output);
  8879. }
  8880. }
  8881. ::google::protobuf::uint8* CGCMsgMemCachedSet::SerializeWithCachedSizesToArray(
  8882. ::google::protobuf::uint8* target) const {
  8883. // repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
  8884. for (int i = 0; i < this->keys_size(); i++) {
  8885. target = ::google::protobuf::internal::WireFormatLite::
  8886. WriteMessageNoVirtualToArray(
  8887. 1, this->keys(i), target);
  8888. }
  8889. if (!unknown_fields().empty()) {
  8890. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8891. unknown_fields(), target);
  8892. }
  8893. return target;
  8894. }
  8895. int CGCMsgMemCachedSet::ByteSize() const {
  8896. int total_size = 0;
  8897. // repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
  8898. total_size += 1 * this->keys_size();
  8899. for (int i = 0; i < this->keys_size(); i++) {
  8900. total_size +=
  8901. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  8902. this->keys(i));
  8903. }
  8904. if (!unknown_fields().empty()) {
  8905. total_size +=
  8906. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8907. unknown_fields());
  8908. }
  8909. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8910. _cached_size_ = total_size;
  8911. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8912. return total_size;
  8913. }
  8914. void CGCMsgMemCachedSet::MergeFrom(const ::google::protobuf::Message& from) {
  8915. GOOGLE_CHECK_NE(&from, this);
  8916. const CGCMsgMemCachedSet* source =
  8917. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgMemCachedSet*>(
  8918. &from);
  8919. if (source == NULL) {
  8920. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8921. } else {
  8922. MergeFrom(*source);
  8923. }
  8924. }
  8925. void CGCMsgMemCachedSet::MergeFrom(const CGCMsgMemCachedSet& from) {
  8926. GOOGLE_CHECK_NE(&from, this);
  8927. keys_.MergeFrom(from.keys_);
  8928. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8929. }
  8930. void CGCMsgMemCachedSet::CopyFrom(const ::google::protobuf::Message& from) {
  8931. if (&from == this) return;
  8932. Clear();
  8933. MergeFrom(from);
  8934. }
  8935. void CGCMsgMemCachedSet::CopyFrom(const CGCMsgMemCachedSet& from) {
  8936. if (&from == this) return;
  8937. Clear();
  8938. MergeFrom(from);
  8939. }
  8940. bool CGCMsgMemCachedSet::IsInitialized() const {
  8941. return true;
  8942. }
  8943. void CGCMsgMemCachedSet::Swap(CGCMsgMemCachedSet* other) {
  8944. if (other != this) {
  8945. keys_.Swap(&other->keys_);
  8946. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8947. _unknown_fields_.Swap(&other->_unknown_fields_);
  8948. std::swap(_cached_size_, other->_cached_size_);
  8949. }
  8950. }
  8951. ::google::protobuf::Metadata CGCMsgMemCachedSet::GetMetadata() const {
  8952. protobuf_AssignDescriptorsOnce();
  8953. ::google::protobuf::Metadata metadata;
  8954. metadata.descriptor = CGCMsgMemCachedSet_descriptor_;
  8955. metadata.reflection = CGCMsgMemCachedSet_reflection_;
  8956. return metadata;
  8957. }
  8958. // ===================================================================
  8959. #ifndef _MSC_VER
  8960. const int CGCMsgMemCachedDelete::kKeysFieldNumber;
  8961. #endif // !_MSC_VER
  8962. CGCMsgMemCachedDelete::CGCMsgMemCachedDelete()
  8963. : ::google::protobuf::Message() {
  8964. SharedCtor();
  8965. }
  8966. void CGCMsgMemCachedDelete::InitAsDefaultInstance() {
  8967. }
  8968. CGCMsgMemCachedDelete::CGCMsgMemCachedDelete(const CGCMsgMemCachedDelete& from)
  8969. : ::google::protobuf::Message() {
  8970. SharedCtor();
  8971. MergeFrom(from);
  8972. }
  8973. void CGCMsgMemCachedDelete::SharedCtor() {
  8974. _cached_size_ = 0;
  8975. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8976. }
  8977. CGCMsgMemCachedDelete::~CGCMsgMemCachedDelete() {
  8978. SharedDtor();
  8979. }
  8980. void CGCMsgMemCachedDelete::SharedDtor() {
  8981. if (this != default_instance_) {
  8982. }
  8983. }
  8984. void CGCMsgMemCachedDelete::SetCachedSize(int size) const {
  8985. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8986. _cached_size_ = size;
  8987. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8988. }
  8989. const ::google::protobuf::Descriptor* CGCMsgMemCachedDelete::descriptor() {
  8990. protobuf_AssignDescriptorsOnce();
  8991. return CGCMsgMemCachedDelete_descriptor_;
  8992. }
  8993. const CGCMsgMemCachedDelete& CGCMsgMemCachedDelete::default_instance() {
  8994. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  8995. return *default_instance_;
  8996. }
  8997. CGCMsgMemCachedDelete* CGCMsgMemCachedDelete::default_instance_ = NULL;
  8998. CGCMsgMemCachedDelete* CGCMsgMemCachedDelete::New() const {
  8999. return new CGCMsgMemCachedDelete;
  9000. }
  9001. void CGCMsgMemCachedDelete::Clear() {
  9002. keys_.Clear();
  9003. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9004. mutable_unknown_fields()->Clear();
  9005. }
  9006. bool CGCMsgMemCachedDelete::MergePartialFromCodedStream(
  9007. ::google::protobuf::io::CodedInputStream* input) {
  9008. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9009. ::google::protobuf::uint32 tag;
  9010. while ((tag = input->ReadTag()) != 0) {
  9011. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9012. // repeated string keys = 1;
  9013. case 1: {
  9014. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9015. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9016. parse_keys:
  9017. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  9018. input, this->add_keys()));
  9019. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9020. this->keys(this->keys_size() - 1).data(),
  9021. this->keys(this->keys_size() - 1).length(),
  9022. ::google::protobuf::internal::WireFormat::PARSE);
  9023. } else {
  9024. goto handle_uninterpreted;
  9025. }
  9026. if (input->ExpectTag(10)) goto parse_keys;
  9027. if (input->ExpectAtEnd()) return true;
  9028. break;
  9029. }
  9030. default: {
  9031. handle_uninterpreted:
  9032. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9033. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9034. return true;
  9035. }
  9036. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9037. input, tag, mutable_unknown_fields()));
  9038. break;
  9039. }
  9040. }
  9041. }
  9042. return true;
  9043. #undef DO_
  9044. }
  9045. void CGCMsgMemCachedDelete::SerializeWithCachedSizes(
  9046. ::google::protobuf::io::CodedOutputStream* output) const {
  9047. // repeated string keys = 1;
  9048. for (int i = 0; i < this->keys_size(); i++) {
  9049. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9050. this->keys(i).data(), this->keys(i).length(),
  9051. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9052. ::google::protobuf::internal::WireFormatLite::WriteString(
  9053. 1, this->keys(i), output);
  9054. }
  9055. if (!unknown_fields().empty()) {
  9056. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9057. unknown_fields(), output);
  9058. }
  9059. }
  9060. ::google::protobuf::uint8* CGCMsgMemCachedDelete::SerializeWithCachedSizesToArray(
  9061. ::google::protobuf::uint8* target) const {
  9062. // repeated string keys = 1;
  9063. for (int i = 0; i < this->keys_size(); i++) {
  9064. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9065. this->keys(i).data(), this->keys(i).length(),
  9066. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9067. target = ::google::protobuf::internal::WireFormatLite::
  9068. WriteStringToArray(1, this->keys(i), target);
  9069. }
  9070. if (!unknown_fields().empty()) {
  9071. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9072. unknown_fields(), target);
  9073. }
  9074. return target;
  9075. }
  9076. int CGCMsgMemCachedDelete::ByteSize() const {
  9077. int total_size = 0;
  9078. // repeated string keys = 1;
  9079. total_size += 1 * this->keys_size();
  9080. for (int i = 0; i < this->keys_size(); i++) {
  9081. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  9082. this->keys(i));
  9083. }
  9084. if (!unknown_fields().empty()) {
  9085. total_size +=
  9086. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9087. unknown_fields());
  9088. }
  9089. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9090. _cached_size_ = total_size;
  9091. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9092. return total_size;
  9093. }
  9094. void CGCMsgMemCachedDelete::MergeFrom(const ::google::protobuf::Message& from) {
  9095. GOOGLE_CHECK_NE(&from, this);
  9096. const CGCMsgMemCachedDelete* source =
  9097. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgMemCachedDelete*>(
  9098. &from);
  9099. if (source == NULL) {
  9100. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9101. } else {
  9102. MergeFrom(*source);
  9103. }
  9104. }
  9105. void CGCMsgMemCachedDelete::MergeFrom(const CGCMsgMemCachedDelete& from) {
  9106. GOOGLE_CHECK_NE(&from, this);
  9107. keys_.MergeFrom(from.keys_);
  9108. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9109. }
  9110. void CGCMsgMemCachedDelete::CopyFrom(const ::google::protobuf::Message& from) {
  9111. if (&from == this) return;
  9112. Clear();
  9113. MergeFrom(from);
  9114. }
  9115. void CGCMsgMemCachedDelete::CopyFrom(const CGCMsgMemCachedDelete& from) {
  9116. if (&from == this) return;
  9117. Clear();
  9118. MergeFrom(from);
  9119. }
  9120. bool CGCMsgMemCachedDelete::IsInitialized() const {
  9121. return true;
  9122. }
  9123. void CGCMsgMemCachedDelete::Swap(CGCMsgMemCachedDelete* other) {
  9124. if (other != this) {
  9125. keys_.Swap(&other->keys_);
  9126. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9127. _unknown_fields_.Swap(&other->_unknown_fields_);
  9128. std::swap(_cached_size_, other->_cached_size_);
  9129. }
  9130. }
  9131. ::google::protobuf::Metadata CGCMsgMemCachedDelete::GetMetadata() const {
  9132. protobuf_AssignDescriptorsOnce();
  9133. ::google::protobuf::Metadata metadata;
  9134. metadata.descriptor = CGCMsgMemCachedDelete_descriptor_;
  9135. metadata.reflection = CGCMsgMemCachedDelete_reflection_;
  9136. return metadata;
  9137. }
  9138. // ===================================================================
  9139. #ifndef _MSC_VER
  9140. #endif // !_MSC_VER
  9141. CGCMsgMemCachedStats::CGCMsgMemCachedStats()
  9142. : ::google::protobuf::Message() {
  9143. SharedCtor();
  9144. }
  9145. void CGCMsgMemCachedStats::InitAsDefaultInstance() {
  9146. }
  9147. CGCMsgMemCachedStats::CGCMsgMemCachedStats(const CGCMsgMemCachedStats& from)
  9148. : ::google::protobuf::Message() {
  9149. SharedCtor();
  9150. MergeFrom(from);
  9151. }
  9152. void CGCMsgMemCachedStats::SharedCtor() {
  9153. _cached_size_ = 0;
  9154. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9155. }
  9156. CGCMsgMemCachedStats::~CGCMsgMemCachedStats() {
  9157. SharedDtor();
  9158. }
  9159. void CGCMsgMemCachedStats::SharedDtor() {
  9160. if (this != default_instance_) {
  9161. }
  9162. }
  9163. void CGCMsgMemCachedStats::SetCachedSize(int size) const {
  9164. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9165. _cached_size_ = size;
  9166. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9167. }
  9168. const ::google::protobuf::Descriptor* CGCMsgMemCachedStats::descriptor() {
  9169. protobuf_AssignDescriptorsOnce();
  9170. return CGCMsgMemCachedStats_descriptor_;
  9171. }
  9172. const CGCMsgMemCachedStats& CGCMsgMemCachedStats::default_instance() {
  9173. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  9174. return *default_instance_;
  9175. }
  9176. CGCMsgMemCachedStats* CGCMsgMemCachedStats::default_instance_ = NULL;
  9177. CGCMsgMemCachedStats* CGCMsgMemCachedStats::New() const {
  9178. return new CGCMsgMemCachedStats;
  9179. }
  9180. void CGCMsgMemCachedStats::Clear() {
  9181. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9182. mutable_unknown_fields()->Clear();
  9183. }
  9184. bool CGCMsgMemCachedStats::MergePartialFromCodedStream(
  9185. ::google::protobuf::io::CodedInputStream* input) {
  9186. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9187. ::google::protobuf::uint32 tag;
  9188. while ((tag = input->ReadTag()) != 0) {
  9189. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9190. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9191. return true;
  9192. }
  9193. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9194. input, tag, mutable_unknown_fields()));
  9195. }
  9196. return true;
  9197. #undef DO_
  9198. }
  9199. void CGCMsgMemCachedStats::SerializeWithCachedSizes(
  9200. ::google::protobuf::io::CodedOutputStream* output) const {
  9201. if (!unknown_fields().empty()) {
  9202. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9203. unknown_fields(), output);
  9204. }
  9205. }
  9206. ::google::protobuf::uint8* CGCMsgMemCachedStats::SerializeWithCachedSizesToArray(
  9207. ::google::protobuf::uint8* target) const {
  9208. if (!unknown_fields().empty()) {
  9209. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9210. unknown_fields(), target);
  9211. }
  9212. return target;
  9213. }
  9214. int CGCMsgMemCachedStats::ByteSize() const {
  9215. int total_size = 0;
  9216. if (!unknown_fields().empty()) {
  9217. total_size +=
  9218. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9219. unknown_fields());
  9220. }
  9221. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9222. _cached_size_ = total_size;
  9223. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9224. return total_size;
  9225. }
  9226. void CGCMsgMemCachedStats::MergeFrom(const ::google::protobuf::Message& from) {
  9227. GOOGLE_CHECK_NE(&from, this);
  9228. const CGCMsgMemCachedStats* source =
  9229. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgMemCachedStats*>(
  9230. &from);
  9231. if (source == NULL) {
  9232. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9233. } else {
  9234. MergeFrom(*source);
  9235. }
  9236. }
  9237. void CGCMsgMemCachedStats::MergeFrom(const CGCMsgMemCachedStats& from) {
  9238. GOOGLE_CHECK_NE(&from, this);
  9239. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9240. }
  9241. void CGCMsgMemCachedStats::CopyFrom(const ::google::protobuf::Message& from) {
  9242. if (&from == this) return;
  9243. Clear();
  9244. MergeFrom(from);
  9245. }
  9246. void CGCMsgMemCachedStats::CopyFrom(const CGCMsgMemCachedStats& from) {
  9247. if (&from == this) return;
  9248. Clear();
  9249. MergeFrom(from);
  9250. }
  9251. bool CGCMsgMemCachedStats::IsInitialized() const {
  9252. return true;
  9253. }
  9254. void CGCMsgMemCachedStats::Swap(CGCMsgMemCachedStats* other) {
  9255. if (other != this) {
  9256. _unknown_fields_.Swap(&other->_unknown_fields_);
  9257. std::swap(_cached_size_, other->_cached_size_);
  9258. }
  9259. }
  9260. ::google::protobuf::Metadata CGCMsgMemCachedStats::GetMetadata() const {
  9261. protobuf_AssignDescriptorsOnce();
  9262. ::google::protobuf::Metadata metadata;
  9263. metadata.descriptor = CGCMsgMemCachedStats_descriptor_;
  9264. metadata.reflection = CGCMsgMemCachedStats_reflection_;
  9265. return metadata;
  9266. }
  9267. // ===================================================================
  9268. #ifndef _MSC_VER
  9269. const int CGCMsgMemCachedStatsResponse::kCurrConnectionsFieldNumber;
  9270. const int CGCMsgMemCachedStatsResponse::kCmdGetFieldNumber;
  9271. const int CGCMsgMemCachedStatsResponse::kCmdSetFieldNumber;
  9272. const int CGCMsgMemCachedStatsResponse::kCmdFlushFieldNumber;
  9273. const int CGCMsgMemCachedStatsResponse::kGetHitsFieldNumber;
  9274. const int CGCMsgMemCachedStatsResponse::kGetMissesFieldNumber;
  9275. const int CGCMsgMemCachedStatsResponse::kDeleteHitsFieldNumber;
  9276. const int CGCMsgMemCachedStatsResponse::kDeleteMissesFieldNumber;
  9277. const int CGCMsgMemCachedStatsResponse::kBytesReadFieldNumber;
  9278. const int CGCMsgMemCachedStatsResponse::kBytesWrittenFieldNumber;
  9279. const int CGCMsgMemCachedStatsResponse::kLimitMaxbytesFieldNumber;
  9280. const int CGCMsgMemCachedStatsResponse::kCurrItemsFieldNumber;
  9281. const int CGCMsgMemCachedStatsResponse::kEvictionsFieldNumber;
  9282. const int CGCMsgMemCachedStatsResponse::kBytesFieldNumber;
  9283. #endif // !_MSC_VER
  9284. CGCMsgMemCachedStatsResponse::CGCMsgMemCachedStatsResponse()
  9285. : ::google::protobuf::Message() {
  9286. SharedCtor();
  9287. }
  9288. void CGCMsgMemCachedStatsResponse::InitAsDefaultInstance() {
  9289. }
  9290. CGCMsgMemCachedStatsResponse::CGCMsgMemCachedStatsResponse(const CGCMsgMemCachedStatsResponse& from)
  9291. : ::google::protobuf::Message() {
  9292. SharedCtor();
  9293. MergeFrom(from);
  9294. }
  9295. void CGCMsgMemCachedStatsResponse::SharedCtor() {
  9296. _cached_size_ = 0;
  9297. curr_connections_ = GOOGLE_ULONGLONG(0);
  9298. cmd_get_ = GOOGLE_ULONGLONG(0);
  9299. cmd_set_ = GOOGLE_ULONGLONG(0);
  9300. cmd_flush_ = GOOGLE_ULONGLONG(0);
  9301. get_hits_ = GOOGLE_ULONGLONG(0);
  9302. get_misses_ = GOOGLE_ULONGLONG(0);
  9303. delete_hits_ = GOOGLE_ULONGLONG(0);
  9304. delete_misses_ = GOOGLE_ULONGLONG(0);
  9305. bytes_read_ = GOOGLE_ULONGLONG(0);
  9306. bytes_written_ = GOOGLE_ULONGLONG(0);
  9307. limit_maxbytes_ = GOOGLE_ULONGLONG(0);
  9308. curr_items_ = GOOGLE_ULONGLONG(0);
  9309. evictions_ = GOOGLE_ULONGLONG(0);
  9310. bytes_ = GOOGLE_ULONGLONG(0);
  9311. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9312. }
  9313. CGCMsgMemCachedStatsResponse::~CGCMsgMemCachedStatsResponse() {
  9314. SharedDtor();
  9315. }
  9316. void CGCMsgMemCachedStatsResponse::SharedDtor() {
  9317. if (this != default_instance_) {
  9318. }
  9319. }
  9320. void CGCMsgMemCachedStatsResponse::SetCachedSize(int size) const {
  9321. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9322. _cached_size_ = size;
  9323. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9324. }
  9325. const ::google::protobuf::Descriptor* CGCMsgMemCachedStatsResponse::descriptor() {
  9326. protobuf_AssignDescriptorsOnce();
  9327. return CGCMsgMemCachedStatsResponse_descriptor_;
  9328. }
  9329. const CGCMsgMemCachedStatsResponse& CGCMsgMemCachedStatsResponse::default_instance() {
  9330. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  9331. return *default_instance_;
  9332. }
  9333. CGCMsgMemCachedStatsResponse* CGCMsgMemCachedStatsResponse::default_instance_ = NULL;
  9334. CGCMsgMemCachedStatsResponse* CGCMsgMemCachedStatsResponse::New() const {
  9335. return new CGCMsgMemCachedStatsResponse;
  9336. }
  9337. void CGCMsgMemCachedStatsResponse::Clear() {
  9338. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9339. curr_connections_ = GOOGLE_ULONGLONG(0);
  9340. cmd_get_ = GOOGLE_ULONGLONG(0);
  9341. cmd_set_ = GOOGLE_ULONGLONG(0);
  9342. cmd_flush_ = GOOGLE_ULONGLONG(0);
  9343. get_hits_ = GOOGLE_ULONGLONG(0);
  9344. get_misses_ = GOOGLE_ULONGLONG(0);
  9345. delete_hits_ = GOOGLE_ULONGLONG(0);
  9346. delete_misses_ = GOOGLE_ULONGLONG(0);
  9347. }
  9348. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  9349. bytes_read_ = GOOGLE_ULONGLONG(0);
  9350. bytes_written_ = GOOGLE_ULONGLONG(0);
  9351. limit_maxbytes_ = GOOGLE_ULONGLONG(0);
  9352. curr_items_ = GOOGLE_ULONGLONG(0);
  9353. evictions_ = GOOGLE_ULONGLONG(0);
  9354. bytes_ = GOOGLE_ULONGLONG(0);
  9355. }
  9356. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9357. mutable_unknown_fields()->Clear();
  9358. }
  9359. bool CGCMsgMemCachedStatsResponse::MergePartialFromCodedStream(
  9360. ::google::protobuf::io::CodedInputStream* input) {
  9361. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9362. ::google::protobuf::uint32 tag;
  9363. while ((tag = input->ReadTag()) != 0) {
  9364. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9365. // optional uint64 curr_connections = 1;
  9366. case 1: {
  9367. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9368. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9369. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9370. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9371. input, &curr_connections_)));
  9372. set_has_curr_connections();
  9373. } else {
  9374. goto handle_uninterpreted;
  9375. }
  9376. if (input->ExpectTag(16)) goto parse_cmd_get;
  9377. break;
  9378. }
  9379. // optional uint64 cmd_get = 2;
  9380. case 2: {
  9381. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9382. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9383. parse_cmd_get:
  9384. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9385. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9386. input, &cmd_get_)));
  9387. set_has_cmd_get();
  9388. } else {
  9389. goto handle_uninterpreted;
  9390. }
  9391. if (input->ExpectTag(24)) goto parse_cmd_set;
  9392. break;
  9393. }
  9394. // optional uint64 cmd_set = 3;
  9395. case 3: {
  9396. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9397. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9398. parse_cmd_set:
  9399. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9400. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9401. input, &cmd_set_)));
  9402. set_has_cmd_set();
  9403. } else {
  9404. goto handle_uninterpreted;
  9405. }
  9406. if (input->ExpectTag(32)) goto parse_cmd_flush;
  9407. break;
  9408. }
  9409. // optional uint64 cmd_flush = 4;
  9410. case 4: {
  9411. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9412. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9413. parse_cmd_flush:
  9414. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9415. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9416. input, &cmd_flush_)));
  9417. set_has_cmd_flush();
  9418. } else {
  9419. goto handle_uninterpreted;
  9420. }
  9421. if (input->ExpectTag(40)) goto parse_get_hits;
  9422. break;
  9423. }
  9424. // optional uint64 get_hits = 5;
  9425. case 5: {
  9426. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9427. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9428. parse_get_hits:
  9429. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9430. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9431. input, &get_hits_)));
  9432. set_has_get_hits();
  9433. } else {
  9434. goto handle_uninterpreted;
  9435. }
  9436. if (input->ExpectTag(48)) goto parse_get_misses;
  9437. break;
  9438. }
  9439. // optional uint64 get_misses = 6;
  9440. case 6: {
  9441. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9442. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9443. parse_get_misses:
  9444. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9445. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9446. input, &get_misses_)));
  9447. set_has_get_misses();
  9448. } else {
  9449. goto handle_uninterpreted;
  9450. }
  9451. if (input->ExpectTag(56)) goto parse_delete_hits;
  9452. break;
  9453. }
  9454. // optional uint64 delete_hits = 7;
  9455. case 7: {
  9456. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9457. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9458. parse_delete_hits:
  9459. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9460. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9461. input, &delete_hits_)));
  9462. set_has_delete_hits();
  9463. } else {
  9464. goto handle_uninterpreted;
  9465. }
  9466. if (input->ExpectTag(64)) goto parse_delete_misses;
  9467. break;
  9468. }
  9469. // optional uint64 delete_misses = 8;
  9470. case 8: {
  9471. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9472. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9473. parse_delete_misses:
  9474. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9475. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9476. input, &delete_misses_)));
  9477. set_has_delete_misses();
  9478. } else {
  9479. goto handle_uninterpreted;
  9480. }
  9481. if (input->ExpectTag(72)) goto parse_bytes_read;
  9482. break;
  9483. }
  9484. // optional uint64 bytes_read = 9;
  9485. case 9: {
  9486. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9487. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9488. parse_bytes_read:
  9489. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9490. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9491. input, &bytes_read_)));
  9492. set_has_bytes_read();
  9493. } else {
  9494. goto handle_uninterpreted;
  9495. }
  9496. if (input->ExpectTag(80)) goto parse_bytes_written;
  9497. break;
  9498. }
  9499. // optional uint64 bytes_written = 10;
  9500. case 10: {
  9501. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9502. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9503. parse_bytes_written:
  9504. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9505. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9506. input, &bytes_written_)));
  9507. set_has_bytes_written();
  9508. } else {
  9509. goto handle_uninterpreted;
  9510. }
  9511. if (input->ExpectTag(88)) goto parse_limit_maxbytes;
  9512. break;
  9513. }
  9514. // optional uint64 limit_maxbytes = 11;
  9515. case 11: {
  9516. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9517. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9518. parse_limit_maxbytes:
  9519. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9520. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9521. input, &limit_maxbytes_)));
  9522. set_has_limit_maxbytes();
  9523. } else {
  9524. goto handle_uninterpreted;
  9525. }
  9526. if (input->ExpectTag(96)) goto parse_curr_items;
  9527. break;
  9528. }
  9529. // optional uint64 curr_items = 12;
  9530. case 12: {
  9531. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9532. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9533. parse_curr_items:
  9534. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9535. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9536. input, &curr_items_)));
  9537. set_has_curr_items();
  9538. } else {
  9539. goto handle_uninterpreted;
  9540. }
  9541. if (input->ExpectTag(104)) goto parse_evictions;
  9542. break;
  9543. }
  9544. // optional uint64 evictions = 13;
  9545. case 13: {
  9546. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9547. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9548. parse_evictions:
  9549. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9550. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9551. input, &evictions_)));
  9552. set_has_evictions();
  9553. } else {
  9554. goto handle_uninterpreted;
  9555. }
  9556. if (input->ExpectTag(112)) goto parse_bytes;
  9557. break;
  9558. }
  9559. // optional uint64 bytes = 14;
  9560. case 14: {
  9561. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9562. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9563. parse_bytes:
  9564. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9565. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  9566. input, &bytes_)));
  9567. set_has_bytes();
  9568. } else {
  9569. goto handle_uninterpreted;
  9570. }
  9571. if (input->ExpectAtEnd()) return true;
  9572. break;
  9573. }
  9574. default: {
  9575. handle_uninterpreted:
  9576. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9577. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9578. return true;
  9579. }
  9580. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9581. input, tag, mutable_unknown_fields()));
  9582. break;
  9583. }
  9584. }
  9585. }
  9586. return true;
  9587. #undef DO_
  9588. }
  9589. void CGCMsgMemCachedStatsResponse::SerializeWithCachedSizes(
  9590. ::google::protobuf::io::CodedOutputStream* output) const {
  9591. // optional uint64 curr_connections = 1;
  9592. if (has_curr_connections()) {
  9593. ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->curr_connections(), output);
  9594. }
  9595. // optional uint64 cmd_get = 2;
  9596. if (has_cmd_get()) {
  9597. ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->cmd_get(), output);
  9598. }
  9599. // optional uint64 cmd_set = 3;
  9600. if (has_cmd_set()) {
  9601. ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->cmd_set(), output);
  9602. }
  9603. // optional uint64 cmd_flush = 4;
  9604. if (has_cmd_flush()) {
  9605. ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->cmd_flush(), output);
  9606. }
  9607. // optional uint64 get_hits = 5;
  9608. if (has_get_hits()) {
  9609. ::google::protobuf::internal::WireFormatLite::WriteUInt64(5, this->get_hits(), output);
  9610. }
  9611. // optional uint64 get_misses = 6;
  9612. if (has_get_misses()) {
  9613. ::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->get_misses(), output);
  9614. }
  9615. // optional uint64 delete_hits = 7;
  9616. if (has_delete_hits()) {
  9617. ::google::protobuf::internal::WireFormatLite::WriteUInt64(7, this->delete_hits(), output);
  9618. }
  9619. // optional uint64 delete_misses = 8;
  9620. if (has_delete_misses()) {
  9621. ::google::protobuf::internal::WireFormatLite::WriteUInt64(8, this->delete_misses(), output);
  9622. }
  9623. // optional uint64 bytes_read = 9;
  9624. if (has_bytes_read()) {
  9625. ::google::protobuf::internal::WireFormatLite::WriteUInt64(9, this->bytes_read(), output);
  9626. }
  9627. // optional uint64 bytes_written = 10;
  9628. if (has_bytes_written()) {
  9629. ::google::protobuf::internal::WireFormatLite::WriteUInt64(10, this->bytes_written(), output);
  9630. }
  9631. // optional uint64 limit_maxbytes = 11;
  9632. if (has_limit_maxbytes()) {
  9633. ::google::protobuf::internal::WireFormatLite::WriteUInt64(11, this->limit_maxbytes(), output);
  9634. }
  9635. // optional uint64 curr_items = 12;
  9636. if (has_curr_items()) {
  9637. ::google::protobuf::internal::WireFormatLite::WriteUInt64(12, this->curr_items(), output);
  9638. }
  9639. // optional uint64 evictions = 13;
  9640. if (has_evictions()) {
  9641. ::google::protobuf::internal::WireFormatLite::WriteUInt64(13, this->evictions(), output);
  9642. }
  9643. // optional uint64 bytes = 14;
  9644. if (has_bytes()) {
  9645. ::google::protobuf::internal::WireFormatLite::WriteUInt64(14, this->bytes(), output);
  9646. }
  9647. if (!unknown_fields().empty()) {
  9648. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9649. unknown_fields(), output);
  9650. }
  9651. }
  9652. ::google::protobuf::uint8* CGCMsgMemCachedStatsResponse::SerializeWithCachedSizesToArray(
  9653. ::google::protobuf::uint8* target) const {
  9654. // optional uint64 curr_connections = 1;
  9655. if (has_curr_connections()) {
  9656. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->curr_connections(), target);
  9657. }
  9658. // optional uint64 cmd_get = 2;
  9659. if (has_cmd_get()) {
  9660. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->cmd_get(), target);
  9661. }
  9662. // optional uint64 cmd_set = 3;
  9663. if (has_cmd_set()) {
  9664. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->cmd_set(), target);
  9665. }
  9666. // optional uint64 cmd_flush = 4;
  9667. if (has_cmd_flush()) {
  9668. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->cmd_flush(), target);
  9669. }
  9670. // optional uint64 get_hits = 5;
  9671. if (has_get_hits()) {
  9672. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(5, this->get_hits(), target);
  9673. }
  9674. // optional uint64 get_misses = 6;
  9675. if (has_get_misses()) {
  9676. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->get_misses(), target);
  9677. }
  9678. // optional uint64 delete_hits = 7;
  9679. if (has_delete_hits()) {
  9680. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(7, this->delete_hits(), target);
  9681. }
  9682. // optional uint64 delete_misses = 8;
  9683. if (has_delete_misses()) {
  9684. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(8, this->delete_misses(), target);
  9685. }
  9686. // optional uint64 bytes_read = 9;
  9687. if (has_bytes_read()) {
  9688. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(9, this->bytes_read(), target);
  9689. }
  9690. // optional uint64 bytes_written = 10;
  9691. if (has_bytes_written()) {
  9692. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(10, this->bytes_written(), target);
  9693. }
  9694. // optional uint64 limit_maxbytes = 11;
  9695. if (has_limit_maxbytes()) {
  9696. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(11, this->limit_maxbytes(), target);
  9697. }
  9698. // optional uint64 curr_items = 12;
  9699. if (has_curr_items()) {
  9700. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(12, this->curr_items(), target);
  9701. }
  9702. // optional uint64 evictions = 13;
  9703. if (has_evictions()) {
  9704. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(13, this->evictions(), target);
  9705. }
  9706. // optional uint64 bytes = 14;
  9707. if (has_bytes()) {
  9708. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(14, this->bytes(), target);
  9709. }
  9710. if (!unknown_fields().empty()) {
  9711. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9712. unknown_fields(), target);
  9713. }
  9714. return target;
  9715. }
  9716. int CGCMsgMemCachedStatsResponse::ByteSize() const {
  9717. int total_size = 0;
  9718. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9719. // optional uint64 curr_connections = 1;
  9720. if (has_curr_connections()) {
  9721. total_size += 1 +
  9722. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9723. this->curr_connections());
  9724. }
  9725. // optional uint64 cmd_get = 2;
  9726. if (has_cmd_get()) {
  9727. total_size += 1 +
  9728. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9729. this->cmd_get());
  9730. }
  9731. // optional uint64 cmd_set = 3;
  9732. if (has_cmd_set()) {
  9733. total_size += 1 +
  9734. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9735. this->cmd_set());
  9736. }
  9737. // optional uint64 cmd_flush = 4;
  9738. if (has_cmd_flush()) {
  9739. total_size += 1 +
  9740. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9741. this->cmd_flush());
  9742. }
  9743. // optional uint64 get_hits = 5;
  9744. if (has_get_hits()) {
  9745. total_size += 1 +
  9746. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9747. this->get_hits());
  9748. }
  9749. // optional uint64 get_misses = 6;
  9750. if (has_get_misses()) {
  9751. total_size += 1 +
  9752. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9753. this->get_misses());
  9754. }
  9755. // optional uint64 delete_hits = 7;
  9756. if (has_delete_hits()) {
  9757. total_size += 1 +
  9758. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9759. this->delete_hits());
  9760. }
  9761. // optional uint64 delete_misses = 8;
  9762. if (has_delete_misses()) {
  9763. total_size += 1 +
  9764. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9765. this->delete_misses());
  9766. }
  9767. }
  9768. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  9769. // optional uint64 bytes_read = 9;
  9770. if (has_bytes_read()) {
  9771. total_size += 1 +
  9772. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9773. this->bytes_read());
  9774. }
  9775. // optional uint64 bytes_written = 10;
  9776. if (has_bytes_written()) {
  9777. total_size += 1 +
  9778. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9779. this->bytes_written());
  9780. }
  9781. // optional uint64 limit_maxbytes = 11;
  9782. if (has_limit_maxbytes()) {
  9783. total_size += 1 +
  9784. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9785. this->limit_maxbytes());
  9786. }
  9787. // optional uint64 curr_items = 12;
  9788. if (has_curr_items()) {
  9789. total_size += 1 +
  9790. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9791. this->curr_items());
  9792. }
  9793. // optional uint64 evictions = 13;
  9794. if (has_evictions()) {
  9795. total_size += 1 +
  9796. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9797. this->evictions());
  9798. }
  9799. // optional uint64 bytes = 14;
  9800. if (has_bytes()) {
  9801. total_size += 1 +
  9802. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  9803. this->bytes());
  9804. }
  9805. }
  9806. if (!unknown_fields().empty()) {
  9807. total_size +=
  9808. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9809. unknown_fields());
  9810. }
  9811. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9812. _cached_size_ = total_size;
  9813. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9814. return total_size;
  9815. }
  9816. void CGCMsgMemCachedStatsResponse::MergeFrom(const ::google::protobuf::Message& from) {
  9817. GOOGLE_CHECK_NE(&from, this);
  9818. const CGCMsgMemCachedStatsResponse* source =
  9819. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgMemCachedStatsResponse*>(
  9820. &from);
  9821. if (source == NULL) {
  9822. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9823. } else {
  9824. MergeFrom(*source);
  9825. }
  9826. }
  9827. void CGCMsgMemCachedStatsResponse::MergeFrom(const CGCMsgMemCachedStatsResponse& from) {
  9828. GOOGLE_CHECK_NE(&from, this);
  9829. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9830. if (from.has_curr_connections()) {
  9831. set_curr_connections(from.curr_connections());
  9832. }
  9833. if (from.has_cmd_get()) {
  9834. set_cmd_get(from.cmd_get());
  9835. }
  9836. if (from.has_cmd_set()) {
  9837. set_cmd_set(from.cmd_set());
  9838. }
  9839. if (from.has_cmd_flush()) {
  9840. set_cmd_flush(from.cmd_flush());
  9841. }
  9842. if (from.has_get_hits()) {
  9843. set_get_hits(from.get_hits());
  9844. }
  9845. if (from.has_get_misses()) {
  9846. set_get_misses(from.get_misses());
  9847. }
  9848. if (from.has_delete_hits()) {
  9849. set_delete_hits(from.delete_hits());
  9850. }
  9851. if (from.has_delete_misses()) {
  9852. set_delete_misses(from.delete_misses());
  9853. }
  9854. }
  9855. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  9856. if (from.has_bytes_read()) {
  9857. set_bytes_read(from.bytes_read());
  9858. }
  9859. if (from.has_bytes_written()) {
  9860. set_bytes_written(from.bytes_written());
  9861. }
  9862. if (from.has_limit_maxbytes()) {
  9863. set_limit_maxbytes(from.limit_maxbytes());
  9864. }
  9865. if (from.has_curr_items()) {
  9866. set_curr_items(from.curr_items());
  9867. }
  9868. if (from.has_evictions()) {
  9869. set_evictions(from.evictions());
  9870. }
  9871. if (from.has_bytes()) {
  9872. set_bytes(from.bytes());
  9873. }
  9874. }
  9875. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9876. }
  9877. void CGCMsgMemCachedStatsResponse::CopyFrom(const ::google::protobuf::Message& from) {
  9878. if (&from == this) return;
  9879. Clear();
  9880. MergeFrom(from);
  9881. }
  9882. void CGCMsgMemCachedStatsResponse::CopyFrom(const CGCMsgMemCachedStatsResponse& from) {
  9883. if (&from == this) return;
  9884. Clear();
  9885. MergeFrom(from);
  9886. }
  9887. bool CGCMsgMemCachedStatsResponse::IsInitialized() const {
  9888. return true;
  9889. }
  9890. void CGCMsgMemCachedStatsResponse::Swap(CGCMsgMemCachedStatsResponse* other) {
  9891. if (other != this) {
  9892. std::swap(curr_connections_, other->curr_connections_);
  9893. std::swap(cmd_get_, other->cmd_get_);
  9894. std::swap(cmd_set_, other->cmd_set_);
  9895. std::swap(cmd_flush_, other->cmd_flush_);
  9896. std::swap(get_hits_, other->get_hits_);
  9897. std::swap(get_misses_, other->get_misses_);
  9898. std::swap(delete_hits_, other->delete_hits_);
  9899. std::swap(delete_misses_, other->delete_misses_);
  9900. std::swap(bytes_read_, other->bytes_read_);
  9901. std::swap(bytes_written_, other->bytes_written_);
  9902. std::swap(limit_maxbytes_, other->limit_maxbytes_);
  9903. std::swap(curr_items_, other->curr_items_);
  9904. std::swap(evictions_, other->evictions_);
  9905. std::swap(bytes_, other->bytes_);
  9906. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9907. _unknown_fields_.Swap(&other->_unknown_fields_);
  9908. std::swap(_cached_size_, other->_cached_size_);
  9909. }
  9910. }
  9911. ::google::protobuf::Metadata CGCMsgMemCachedStatsResponse::GetMetadata() const {
  9912. protobuf_AssignDescriptorsOnce();
  9913. ::google::protobuf::Metadata metadata;
  9914. metadata.descriptor = CGCMsgMemCachedStatsResponse_descriptor_;
  9915. metadata.reflection = CGCMsgMemCachedStatsResponse_reflection_;
  9916. return metadata;
  9917. }
  9918. // ===================================================================
  9919. #ifndef _MSC_VER
  9920. const int CGCMsgSQLStats::kSchemaCatalogFieldNumber;
  9921. #endif // !_MSC_VER
  9922. CGCMsgSQLStats::CGCMsgSQLStats()
  9923. : ::google::protobuf::Message() {
  9924. SharedCtor();
  9925. }
  9926. void CGCMsgSQLStats::InitAsDefaultInstance() {
  9927. }
  9928. CGCMsgSQLStats::CGCMsgSQLStats(const CGCMsgSQLStats& from)
  9929. : ::google::protobuf::Message() {
  9930. SharedCtor();
  9931. MergeFrom(from);
  9932. }
  9933. void CGCMsgSQLStats::SharedCtor() {
  9934. _cached_size_ = 0;
  9935. schema_catalog_ = 0u;
  9936. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9937. }
  9938. CGCMsgSQLStats::~CGCMsgSQLStats() {
  9939. SharedDtor();
  9940. }
  9941. void CGCMsgSQLStats::SharedDtor() {
  9942. if (this != default_instance_) {
  9943. }
  9944. }
  9945. void CGCMsgSQLStats::SetCachedSize(int size) const {
  9946. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9947. _cached_size_ = size;
  9948. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9949. }
  9950. const ::google::protobuf::Descriptor* CGCMsgSQLStats::descriptor() {
  9951. protobuf_AssignDescriptorsOnce();
  9952. return CGCMsgSQLStats_descriptor_;
  9953. }
  9954. const CGCMsgSQLStats& CGCMsgSQLStats::default_instance() {
  9955. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  9956. return *default_instance_;
  9957. }
  9958. CGCMsgSQLStats* CGCMsgSQLStats::default_instance_ = NULL;
  9959. CGCMsgSQLStats* CGCMsgSQLStats::New() const {
  9960. return new CGCMsgSQLStats;
  9961. }
  9962. void CGCMsgSQLStats::Clear() {
  9963. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9964. schema_catalog_ = 0u;
  9965. }
  9966. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9967. mutable_unknown_fields()->Clear();
  9968. }
  9969. bool CGCMsgSQLStats::MergePartialFromCodedStream(
  9970. ::google::protobuf::io::CodedInputStream* input) {
  9971. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9972. ::google::protobuf::uint32 tag;
  9973. while ((tag = input->ReadTag()) != 0) {
  9974. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9975. // optional uint32 schema_catalog = 1;
  9976. case 1: {
  9977. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9978. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9979. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9980. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  9981. input, &schema_catalog_)));
  9982. set_has_schema_catalog();
  9983. } else {
  9984. goto handle_uninterpreted;
  9985. }
  9986. if (input->ExpectAtEnd()) return true;
  9987. break;
  9988. }
  9989. default: {
  9990. handle_uninterpreted:
  9991. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9992. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9993. return true;
  9994. }
  9995. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9996. input, tag, mutable_unknown_fields()));
  9997. break;
  9998. }
  9999. }
  10000. }
  10001. return true;
  10002. #undef DO_
  10003. }
  10004. void CGCMsgSQLStats::SerializeWithCachedSizes(
  10005. ::google::protobuf::io::CodedOutputStream* output) const {
  10006. // optional uint32 schema_catalog = 1;
  10007. if (has_schema_catalog()) {
  10008. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->schema_catalog(), output);
  10009. }
  10010. if (!unknown_fields().empty()) {
  10011. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10012. unknown_fields(), output);
  10013. }
  10014. }
  10015. ::google::protobuf::uint8* CGCMsgSQLStats::SerializeWithCachedSizesToArray(
  10016. ::google::protobuf::uint8* target) const {
  10017. // optional uint32 schema_catalog = 1;
  10018. if (has_schema_catalog()) {
  10019. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->schema_catalog(), target);
  10020. }
  10021. if (!unknown_fields().empty()) {
  10022. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10023. unknown_fields(), target);
  10024. }
  10025. return target;
  10026. }
  10027. int CGCMsgSQLStats::ByteSize() const {
  10028. int total_size = 0;
  10029. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10030. // optional uint32 schema_catalog = 1;
  10031. if (has_schema_catalog()) {
  10032. total_size += 1 +
  10033. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10034. this->schema_catalog());
  10035. }
  10036. }
  10037. if (!unknown_fields().empty()) {
  10038. total_size +=
  10039. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10040. unknown_fields());
  10041. }
  10042. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10043. _cached_size_ = total_size;
  10044. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10045. return total_size;
  10046. }
  10047. void CGCMsgSQLStats::MergeFrom(const ::google::protobuf::Message& from) {
  10048. GOOGLE_CHECK_NE(&from, this);
  10049. const CGCMsgSQLStats* source =
  10050. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgSQLStats*>(
  10051. &from);
  10052. if (source == NULL) {
  10053. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10054. } else {
  10055. MergeFrom(*source);
  10056. }
  10057. }
  10058. void CGCMsgSQLStats::MergeFrom(const CGCMsgSQLStats& from) {
  10059. GOOGLE_CHECK_NE(&from, this);
  10060. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10061. if (from.has_schema_catalog()) {
  10062. set_schema_catalog(from.schema_catalog());
  10063. }
  10064. }
  10065. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10066. }
  10067. void CGCMsgSQLStats::CopyFrom(const ::google::protobuf::Message& from) {
  10068. if (&from == this) return;
  10069. Clear();
  10070. MergeFrom(from);
  10071. }
  10072. void CGCMsgSQLStats::CopyFrom(const CGCMsgSQLStats& from) {
  10073. if (&from == this) return;
  10074. Clear();
  10075. MergeFrom(from);
  10076. }
  10077. bool CGCMsgSQLStats::IsInitialized() const {
  10078. return true;
  10079. }
  10080. void CGCMsgSQLStats::Swap(CGCMsgSQLStats* other) {
  10081. if (other != this) {
  10082. std::swap(schema_catalog_, other->schema_catalog_);
  10083. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10084. _unknown_fields_.Swap(&other->_unknown_fields_);
  10085. std::swap(_cached_size_, other->_cached_size_);
  10086. }
  10087. }
  10088. ::google::protobuf::Metadata CGCMsgSQLStats::GetMetadata() const {
  10089. protobuf_AssignDescriptorsOnce();
  10090. ::google::protobuf::Metadata metadata;
  10091. metadata.descriptor = CGCMsgSQLStats_descriptor_;
  10092. metadata.reflection = CGCMsgSQLStats_reflection_;
  10093. return metadata;
  10094. }
  10095. // ===================================================================
  10096. #ifndef _MSC_VER
  10097. const int CGCMsgSQLStatsResponse::kThreadsFieldNumber;
  10098. const int CGCMsgSQLStatsResponse::kThreadsConnectedFieldNumber;
  10099. const int CGCMsgSQLStatsResponse::kThreadsActiveFieldNumber;
  10100. const int CGCMsgSQLStatsResponse::kOperationsSubmittedFieldNumber;
  10101. const int CGCMsgSQLStatsResponse::kPreparedStatementsExecutedFieldNumber;
  10102. const int CGCMsgSQLStatsResponse::kNonPreparedStatementsExecutedFieldNumber;
  10103. const int CGCMsgSQLStatsResponse::kDeadlockRetriesFieldNumber;
  10104. const int CGCMsgSQLStatsResponse::kOperationsTimedOutInQueueFieldNumber;
  10105. const int CGCMsgSQLStatsResponse::kErrorsFieldNumber;
  10106. #endif // !_MSC_VER
  10107. CGCMsgSQLStatsResponse::CGCMsgSQLStatsResponse()
  10108. : ::google::protobuf::Message() {
  10109. SharedCtor();
  10110. }
  10111. void CGCMsgSQLStatsResponse::InitAsDefaultInstance() {
  10112. }
  10113. CGCMsgSQLStatsResponse::CGCMsgSQLStatsResponse(const CGCMsgSQLStatsResponse& from)
  10114. : ::google::protobuf::Message() {
  10115. SharedCtor();
  10116. MergeFrom(from);
  10117. }
  10118. void CGCMsgSQLStatsResponse::SharedCtor() {
  10119. _cached_size_ = 0;
  10120. threads_ = 0u;
  10121. threads_connected_ = 0u;
  10122. threads_active_ = 0u;
  10123. operations_submitted_ = 0u;
  10124. prepared_statements_executed_ = 0u;
  10125. non_prepared_statements_executed_ = 0u;
  10126. deadlock_retries_ = 0u;
  10127. operations_timed_out_in_queue_ = 0u;
  10128. errors_ = 0u;
  10129. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10130. }
  10131. CGCMsgSQLStatsResponse::~CGCMsgSQLStatsResponse() {
  10132. SharedDtor();
  10133. }
  10134. void CGCMsgSQLStatsResponse::SharedDtor() {
  10135. if (this != default_instance_) {
  10136. }
  10137. }
  10138. void CGCMsgSQLStatsResponse::SetCachedSize(int size) const {
  10139. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10140. _cached_size_ = size;
  10141. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10142. }
  10143. const ::google::protobuf::Descriptor* CGCMsgSQLStatsResponse::descriptor() {
  10144. protobuf_AssignDescriptorsOnce();
  10145. return CGCMsgSQLStatsResponse_descriptor_;
  10146. }
  10147. const CGCMsgSQLStatsResponse& CGCMsgSQLStatsResponse::default_instance() {
  10148. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  10149. return *default_instance_;
  10150. }
  10151. CGCMsgSQLStatsResponse* CGCMsgSQLStatsResponse::default_instance_ = NULL;
  10152. CGCMsgSQLStatsResponse* CGCMsgSQLStatsResponse::New() const {
  10153. return new CGCMsgSQLStatsResponse;
  10154. }
  10155. void CGCMsgSQLStatsResponse::Clear() {
  10156. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10157. threads_ = 0u;
  10158. threads_connected_ = 0u;
  10159. threads_active_ = 0u;
  10160. operations_submitted_ = 0u;
  10161. prepared_statements_executed_ = 0u;
  10162. non_prepared_statements_executed_ = 0u;
  10163. deadlock_retries_ = 0u;
  10164. operations_timed_out_in_queue_ = 0u;
  10165. }
  10166. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  10167. errors_ = 0u;
  10168. }
  10169. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10170. mutable_unknown_fields()->Clear();
  10171. }
  10172. bool CGCMsgSQLStatsResponse::MergePartialFromCodedStream(
  10173. ::google::protobuf::io::CodedInputStream* input) {
  10174. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10175. ::google::protobuf::uint32 tag;
  10176. while ((tag = input->ReadTag()) != 0) {
  10177. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10178. // optional uint32 threads = 1;
  10179. case 1: {
  10180. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10181. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10182. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10183. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10184. input, &threads_)));
  10185. set_has_threads();
  10186. } else {
  10187. goto handle_uninterpreted;
  10188. }
  10189. if (input->ExpectTag(16)) goto parse_threads_connected;
  10190. break;
  10191. }
  10192. // optional uint32 threads_connected = 2;
  10193. case 2: {
  10194. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10195. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10196. parse_threads_connected:
  10197. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10198. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10199. input, &threads_connected_)));
  10200. set_has_threads_connected();
  10201. } else {
  10202. goto handle_uninterpreted;
  10203. }
  10204. if (input->ExpectTag(24)) goto parse_threads_active;
  10205. break;
  10206. }
  10207. // optional uint32 threads_active = 3;
  10208. case 3: {
  10209. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10210. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10211. parse_threads_active:
  10212. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10213. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10214. input, &threads_active_)));
  10215. set_has_threads_active();
  10216. } else {
  10217. goto handle_uninterpreted;
  10218. }
  10219. if (input->ExpectTag(32)) goto parse_operations_submitted;
  10220. break;
  10221. }
  10222. // optional uint32 operations_submitted = 4;
  10223. case 4: {
  10224. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10225. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10226. parse_operations_submitted:
  10227. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10228. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10229. input, &operations_submitted_)));
  10230. set_has_operations_submitted();
  10231. } else {
  10232. goto handle_uninterpreted;
  10233. }
  10234. if (input->ExpectTag(40)) goto parse_prepared_statements_executed;
  10235. break;
  10236. }
  10237. // optional uint32 prepared_statements_executed = 5;
  10238. case 5: {
  10239. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10240. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10241. parse_prepared_statements_executed:
  10242. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10243. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10244. input, &prepared_statements_executed_)));
  10245. set_has_prepared_statements_executed();
  10246. } else {
  10247. goto handle_uninterpreted;
  10248. }
  10249. if (input->ExpectTag(48)) goto parse_non_prepared_statements_executed;
  10250. break;
  10251. }
  10252. // optional uint32 non_prepared_statements_executed = 6;
  10253. case 6: {
  10254. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10255. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10256. parse_non_prepared_statements_executed:
  10257. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10258. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10259. input, &non_prepared_statements_executed_)));
  10260. set_has_non_prepared_statements_executed();
  10261. } else {
  10262. goto handle_uninterpreted;
  10263. }
  10264. if (input->ExpectTag(56)) goto parse_deadlock_retries;
  10265. break;
  10266. }
  10267. // optional uint32 deadlock_retries = 7;
  10268. case 7: {
  10269. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10270. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10271. parse_deadlock_retries:
  10272. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10273. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10274. input, &deadlock_retries_)));
  10275. set_has_deadlock_retries();
  10276. } else {
  10277. goto handle_uninterpreted;
  10278. }
  10279. if (input->ExpectTag(64)) goto parse_operations_timed_out_in_queue;
  10280. break;
  10281. }
  10282. // optional uint32 operations_timed_out_in_queue = 8;
  10283. case 8: {
  10284. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10285. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10286. parse_operations_timed_out_in_queue:
  10287. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10288. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10289. input, &operations_timed_out_in_queue_)));
  10290. set_has_operations_timed_out_in_queue();
  10291. } else {
  10292. goto handle_uninterpreted;
  10293. }
  10294. if (input->ExpectTag(72)) goto parse_errors;
  10295. break;
  10296. }
  10297. // optional uint32 errors = 9;
  10298. case 9: {
  10299. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10300. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10301. parse_errors:
  10302. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10303. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10304. input, &errors_)));
  10305. set_has_errors();
  10306. } else {
  10307. goto handle_uninterpreted;
  10308. }
  10309. if (input->ExpectAtEnd()) return true;
  10310. break;
  10311. }
  10312. default: {
  10313. handle_uninterpreted:
  10314. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10315. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10316. return true;
  10317. }
  10318. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10319. input, tag, mutable_unknown_fields()));
  10320. break;
  10321. }
  10322. }
  10323. }
  10324. return true;
  10325. #undef DO_
  10326. }
  10327. void CGCMsgSQLStatsResponse::SerializeWithCachedSizes(
  10328. ::google::protobuf::io::CodedOutputStream* output) const {
  10329. // optional uint32 threads = 1;
  10330. if (has_threads()) {
  10331. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->threads(), output);
  10332. }
  10333. // optional uint32 threads_connected = 2;
  10334. if (has_threads_connected()) {
  10335. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->threads_connected(), output);
  10336. }
  10337. // optional uint32 threads_active = 3;
  10338. if (has_threads_active()) {
  10339. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->threads_active(), output);
  10340. }
  10341. // optional uint32 operations_submitted = 4;
  10342. if (has_operations_submitted()) {
  10343. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->operations_submitted(), output);
  10344. }
  10345. // optional uint32 prepared_statements_executed = 5;
  10346. if (has_prepared_statements_executed()) {
  10347. ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->prepared_statements_executed(), output);
  10348. }
  10349. // optional uint32 non_prepared_statements_executed = 6;
  10350. if (has_non_prepared_statements_executed()) {
  10351. ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->non_prepared_statements_executed(), output);
  10352. }
  10353. // optional uint32 deadlock_retries = 7;
  10354. if (has_deadlock_retries()) {
  10355. ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->deadlock_retries(), output);
  10356. }
  10357. // optional uint32 operations_timed_out_in_queue = 8;
  10358. if (has_operations_timed_out_in_queue()) {
  10359. ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->operations_timed_out_in_queue(), output);
  10360. }
  10361. // optional uint32 errors = 9;
  10362. if (has_errors()) {
  10363. ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->errors(), output);
  10364. }
  10365. if (!unknown_fields().empty()) {
  10366. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10367. unknown_fields(), output);
  10368. }
  10369. }
  10370. ::google::protobuf::uint8* CGCMsgSQLStatsResponse::SerializeWithCachedSizesToArray(
  10371. ::google::protobuf::uint8* target) const {
  10372. // optional uint32 threads = 1;
  10373. if (has_threads()) {
  10374. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->threads(), target);
  10375. }
  10376. // optional uint32 threads_connected = 2;
  10377. if (has_threads_connected()) {
  10378. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->threads_connected(), target);
  10379. }
  10380. // optional uint32 threads_active = 3;
  10381. if (has_threads_active()) {
  10382. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->threads_active(), target);
  10383. }
  10384. // optional uint32 operations_submitted = 4;
  10385. if (has_operations_submitted()) {
  10386. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->operations_submitted(), target);
  10387. }
  10388. // optional uint32 prepared_statements_executed = 5;
  10389. if (has_prepared_statements_executed()) {
  10390. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->prepared_statements_executed(), target);
  10391. }
  10392. // optional uint32 non_prepared_statements_executed = 6;
  10393. if (has_non_prepared_statements_executed()) {
  10394. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->non_prepared_statements_executed(), target);
  10395. }
  10396. // optional uint32 deadlock_retries = 7;
  10397. if (has_deadlock_retries()) {
  10398. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->deadlock_retries(), target);
  10399. }
  10400. // optional uint32 operations_timed_out_in_queue = 8;
  10401. if (has_operations_timed_out_in_queue()) {
  10402. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(8, this->operations_timed_out_in_queue(), target);
  10403. }
  10404. // optional uint32 errors = 9;
  10405. if (has_errors()) {
  10406. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(9, this->errors(), target);
  10407. }
  10408. if (!unknown_fields().empty()) {
  10409. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10410. unknown_fields(), target);
  10411. }
  10412. return target;
  10413. }
  10414. int CGCMsgSQLStatsResponse::ByteSize() const {
  10415. int total_size = 0;
  10416. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10417. // optional uint32 threads = 1;
  10418. if (has_threads()) {
  10419. total_size += 1 +
  10420. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10421. this->threads());
  10422. }
  10423. // optional uint32 threads_connected = 2;
  10424. if (has_threads_connected()) {
  10425. total_size += 1 +
  10426. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10427. this->threads_connected());
  10428. }
  10429. // optional uint32 threads_active = 3;
  10430. if (has_threads_active()) {
  10431. total_size += 1 +
  10432. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10433. this->threads_active());
  10434. }
  10435. // optional uint32 operations_submitted = 4;
  10436. if (has_operations_submitted()) {
  10437. total_size += 1 +
  10438. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10439. this->operations_submitted());
  10440. }
  10441. // optional uint32 prepared_statements_executed = 5;
  10442. if (has_prepared_statements_executed()) {
  10443. total_size += 1 +
  10444. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10445. this->prepared_statements_executed());
  10446. }
  10447. // optional uint32 non_prepared_statements_executed = 6;
  10448. if (has_non_prepared_statements_executed()) {
  10449. total_size += 1 +
  10450. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10451. this->non_prepared_statements_executed());
  10452. }
  10453. // optional uint32 deadlock_retries = 7;
  10454. if (has_deadlock_retries()) {
  10455. total_size += 1 +
  10456. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10457. this->deadlock_retries());
  10458. }
  10459. // optional uint32 operations_timed_out_in_queue = 8;
  10460. if (has_operations_timed_out_in_queue()) {
  10461. total_size += 1 +
  10462. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10463. this->operations_timed_out_in_queue());
  10464. }
  10465. }
  10466. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  10467. // optional uint32 errors = 9;
  10468. if (has_errors()) {
  10469. total_size += 1 +
  10470. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10471. this->errors());
  10472. }
  10473. }
  10474. if (!unknown_fields().empty()) {
  10475. total_size +=
  10476. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10477. unknown_fields());
  10478. }
  10479. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10480. _cached_size_ = total_size;
  10481. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10482. return total_size;
  10483. }
  10484. void CGCMsgSQLStatsResponse::MergeFrom(const ::google::protobuf::Message& from) {
  10485. GOOGLE_CHECK_NE(&from, this);
  10486. const CGCMsgSQLStatsResponse* source =
  10487. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgSQLStatsResponse*>(
  10488. &from);
  10489. if (source == NULL) {
  10490. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10491. } else {
  10492. MergeFrom(*source);
  10493. }
  10494. }
  10495. void CGCMsgSQLStatsResponse::MergeFrom(const CGCMsgSQLStatsResponse& from) {
  10496. GOOGLE_CHECK_NE(&from, this);
  10497. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10498. if (from.has_threads()) {
  10499. set_threads(from.threads());
  10500. }
  10501. if (from.has_threads_connected()) {
  10502. set_threads_connected(from.threads_connected());
  10503. }
  10504. if (from.has_threads_active()) {
  10505. set_threads_active(from.threads_active());
  10506. }
  10507. if (from.has_operations_submitted()) {
  10508. set_operations_submitted(from.operations_submitted());
  10509. }
  10510. if (from.has_prepared_statements_executed()) {
  10511. set_prepared_statements_executed(from.prepared_statements_executed());
  10512. }
  10513. if (from.has_non_prepared_statements_executed()) {
  10514. set_non_prepared_statements_executed(from.non_prepared_statements_executed());
  10515. }
  10516. if (from.has_deadlock_retries()) {
  10517. set_deadlock_retries(from.deadlock_retries());
  10518. }
  10519. if (from.has_operations_timed_out_in_queue()) {
  10520. set_operations_timed_out_in_queue(from.operations_timed_out_in_queue());
  10521. }
  10522. }
  10523. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  10524. if (from.has_errors()) {
  10525. set_errors(from.errors());
  10526. }
  10527. }
  10528. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10529. }
  10530. void CGCMsgSQLStatsResponse::CopyFrom(const ::google::protobuf::Message& from) {
  10531. if (&from == this) return;
  10532. Clear();
  10533. MergeFrom(from);
  10534. }
  10535. void CGCMsgSQLStatsResponse::CopyFrom(const CGCMsgSQLStatsResponse& from) {
  10536. if (&from == this) return;
  10537. Clear();
  10538. MergeFrom(from);
  10539. }
  10540. bool CGCMsgSQLStatsResponse::IsInitialized() const {
  10541. return true;
  10542. }
  10543. void CGCMsgSQLStatsResponse::Swap(CGCMsgSQLStatsResponse* other) {
  10544. if (other != this) {
  10545. std::swap(threads_, other->threads_);
  10546. std::swap(threads_connected_, other->threads_connected_);
  10547. std::swap(threads_active_, other->threads_active_);
  10548. std::swap(operations_submitted_, other->operations_submitted_);
  10549. std::swap(prepared_statements_executed_, other->prepared_statements_executed_);
  10550. std::swap(non_prepared_statements_executed_, other->non_prepared_statements_executed_);
  10551. std::swap(deadlock_retries_, other->deadlock_retries_);
  10552. std::swap(operations_timed_out_in_queue_, other->operations_timed_out_in_queue_);
  10553. std::swap(errors_, other->errors_);
  10554. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10555. _unknown_fields_.Swap(&other->_unknown_fields_);
  10556. std::swap(_cached_size_, other->_cached_size_);
  10557. }
  10558. }
  10559. ::google::protobuf::Metadata CGCMsgSQLStatsResponse::GetMetadata() const {
  10560. protobuf_AssignDescriptorsOnce();
  10561. ::google::protobuf::Metadata metadata;
  10562. metadata.descriptor = CGCMsgSQLStatsResponse_descriptor_;
  10563. metadata.reflection = CGCMsgSQLStatsResponse_reflection_;
  10564. return metadata;
  10565. }
  10566. // ===================================================================
  10567. #ifndef _MSC_VER
  10568. const int CMsgAMAddFreeLicense::kSteamidFieldNumber;
  10569. const int CMsgAMAddFreeLicense::kIpPublicFieldNumber;
  10570. const int CMsgAMAddFreeLicense::kPackageidFieldNumber;
  10571. const int CMsgAMAddFreeLicense::kStoreCountryCodeFieldNumber;
  10572. #endif // !_MSC_VER
  10573. CMsgAMAddFreeLicense::CMsgAMAddFreeLicense()
  10574. : ::google::protobuf::Message() {
  10575. SharedCtor();
  10576. }
  10577. void CMsgAMAddFreeLicense::InitAsDefaultInstance() {
  10578. }
  10579. CMsgAMAddFreeLicense::CMsgAMAddFreeLicense(const CMsgAMAddFreeLicense& from)
  10580. : ::google::protobuf::Message() {
  10581. SharedCtor();
  10582. MergeFrom(from);
  10583. }
  10584. void CMsgAMAddFreeLicense::SharedCtor() {
  10585. _cached_size_ = 0;
  10586. steamid_ = GOOGLE_ULONGLONG(0);
  10587. ip_public_ = 0u;
  10588. packageid_ = 0u;
  10589. store_country_code_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  10590. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10591. }
  10592. CMsgAMAddFreeLicense::~CMsgAMAddFreeLicense() {
  10593. SharedDtor();
  10594. }
  10595. void CMsgAMAddFreeLicense::SharedDtor() {
  10596. if (store_country_code_ != &::google::protobuf::internal::kEmptyString) {
  10597. delete store_country_code_;
  10598. }
  10599. if (this != default_instance_) {
  10600. }
  10601. }
  10602. void CMsgAMAddFreeLicense::SetCachedSize(int size) const {
  10603. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10604. _cached_size_ = size;
  10605. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10606. }
  10607. const ::google::protobuf::Descriptor* CMsgAMAddFreeLicense::descriptor() {
  10608. protobuf_AssignDescriptorsOnce();
  10609. return CMsgAMAddFreeLicense_descriptor_;
  10610. }
  10611. const CMsgAMAddFreeLicense& CMsgAMAddFreeLicense::default_instance() {
  10612. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  10613. return *default_instance_;
  10614. }
  10615. CMsgAMAddFreeLicense* CMsgAMAddFreeLicense::default_instance_ = NULL;
  10616. CMsgAMAddFreeLicense* CMsgAMAddFreeLicense::New() const {
  10617. return new CMsgAMAddFreeLicense;
  10618. }
  10619. void CMsgAMAddFreeLicense::Clear() {
  10620. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10621. steamid_ = GOOGLE_ULONGLONG(0);
  10622. ip_public_ = 0u;
  10623. packageid_ = 0u;
  10624. if (has_store_country_code()) {
  10625. if (store_country_code_ != &::google::protobuf::internal::kEmptyString) {
  10626. store_country_code_->clear();
  10627. }
  10628. }
  10629. }
  10630. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10631. mutable_unknown_fields()->Clear();
  10632. }
  10633. bool CMsgAMAddFreeLicense::MergePartialFromCodedStream(
  10634. ::google::protobuf::io::CodedInputStream* input) {
  10635. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10636. ::google::protobuf::uint32 tag;
  10637. while ((tag = input->ReadTag()) != 0) {
  10638. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10639. // optional fixed64 steamid = 1;
  10640. case 1: {
  10641. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10642. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  10643. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10644. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  10645. input, &steamid_)));
  10646. set_has_steamid();
  10647. } else {
  10648. goto handle_uninterpreted;
  10649. }
  10650. if (input->ExpectTag(16)) goto parse_ip_public;
  10651. break;
  10652. }
  10653. // optional uint32 ip_public = 2;
  10654. case 2: {
  10655. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10656. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10657. parse_ip_public:
  10658. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10659. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10660. input, &ip_public_)));
  10661. set_has_ip_public();
  10662. } else {
  10663. goto handle_uninterpreted;
  10664. }
  10665. if (input->ExpectTag(24)) goto parse_packageid;
  10666. break;
  10667. }
  10668. // optional uint32 packageid = 3;
  10669. case 3: {
  10670. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10671. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10672. parse_packageid:
  10673. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10674. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  10675. input, &packageid_)));
  10676. set_has_packageid();
  10677. } else {
  10678. goto handle_uninterpreted;
  10679. }
  10680. if (input->ExpectTag(34)) goto parse_store_country_code;
  10681. break;
  10682. }
  10683. // optional string store_country_code = 4;
  10684. case 4: {
  10685. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10686. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  10687. parse_store_country_code:
  10688. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  10689. input, this->mutable_store_country_code()));
  10690. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10691. this->store_country_code().data(), this->store_country_code().length(),
  10692. ::google::protobuf::internal::WireFormat::PARSE);
  10693. } else {
  10694. goto handle_uninterpreted;
  10695. }
  10696. if (input->ExpectAtEnd()) return true;
  10697. break;
  10698. }
  10699. default: {
  10700. handle_uninterpreted:
  10701. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10702. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10703. return true;
  10704. }
  10705. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10706. input, tag, mutable_unknown_fields()));
  10707. break;
  10708. }
  10709. }
  10710. }
  10711. return true;
  10712. #undef DO_
  10713. }
  10714. void CMsgAMAddFreeLicense::SerializeWithCachedSizes(
  10715. ::google::protobuf::io::CodedOutputStream* output) const {
  10716. // optional fixed64 steamid = 1;
  10717. if (has_steamid()) {
  10718. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steamid(), output);
  10719. }
  10720. // optional uint32 ip_public = 2;
  10721. if (has_ip_public()) {
  10722. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->ip_public(), output);
  10723. }
  10724. // optional uint32 packageid = 3;
  10725. if (has_packageid()) {
  10726. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->packageid(), output);
  10727. }
  10728. // optional string store_country_code = 4;
  10729. if (has_store_country_code()) {
  10730. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10731. this->store_country_code().data(), this->store_country_code().length(),
  10732. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10733. ::google::protobuf::internal::WireFormatLite::WriteString(
  10734. 4, this->store_country_code(), output);
  10735. }
  10736. if (!unknown_fields().empty()) {
  10737. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10738. unknown_fields(), output);
  10739. }
  10740. }
  10741. ::google::protobuf::uint8* CMsgAMAddFreeLicense::SerializeWithCachedSizesToArray(
  10742. ::google::protobuf::uint8* target) const {
  10743. // optional fixed64 steamid = 1;
  10744. if (has_steamid()) {
  10745. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steamid(), target);
  10746. }
  10747. // optional uint32 ip_public = 2;
  10748. if (has_ip_public()) {
  10749. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->ip_public(), target);
  10750. }
  10751. // optional uint32 packageid = 3;
  10752. if (has_packageid()) {
  10753. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->packageid(), target);
  10754. }
  10755. // optional string store_country_code = 4;
  10756. if (has_store_country_code()) {
  10757. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10758. this->store_country_code().data(), this->store_country_code().length(),
  10759. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10760. target =
  10761. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  10762. 4, this->store_country_code(), target);
  10763. }
  10764. if (!unknown_fields().empty()) {
  10765. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10766. unknown_fields(), target);
  10767. }
  10768. return target;
  10769. }
  10770. int CMsgAMAddFreeLicense::ByteSize() const {
  10771. int total_size = 0;
  10772. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10773. // optional fixed64 steamid = 1;
  10774. if (has_steamid()) {
  10775. total_size += 1 + 8;
  10776. }
  10777. // optional uint32 ip_public = 2;
  10778. if (has_ip_public()) {
  10779. total_size += 1 +
  10780. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10781. this->ip_public());
  10782. }
  10783. // optional uint32 packageid = 3;
  10784. if (has_packageid()) {
  10785. total_size += 1 +
  10786. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  10787. this->packageid());
  10788. }
  10789. // optional string store_country_code = 4;
  10790. if (has_store_country_code()) {
  10791. total_size += 1 +
  10792. ::google::protobuf::internal::WireFormatLite::StringSize(
  10793. this->store_country_code());
  10794. }
  10795. }
  10796. if (!unknown_fields().empty()) {
  10797. total_size +=
  10798. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10799. unknown_fields());
  10800. }
  10801. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10802. _cached_size_ = total_size;
  10803. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10804. return total_size;
  10805. }
  10806. void CMsgAMAddFreeLicense::MergeFrom(const ::google::protobuf::Message& from) {
  10807. GOOGLE_CHECK_NE(&from, this);
  10808. const CMsgAMAddFreeLicense* source =
  10809. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMAddFreeLicense*>(
  10810. &from);
  10811. if (source == NULL) {
  10812. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10813. } else {
  10814. MergeFrom(*source);
  10815. }
  10816. }
  10817. void CMsgAMAddFreeLicense::MergeFrom(const CMsgAMAddFreeLicense& from) {
  10818. GOOGLE_CHECK_NE(&from, this);
  10819. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10820. if (from.has_steamid()) {
  10821. set_steamid(from.steamid());
  10822. }
  10823. if (from.has_ip_public()) {
  10824. set_ip_public(from.ip_public());
  10825. }
  10826. if (from.has_packageid()) {
  10827. set_packageid(from.packageid());
  10828. }
  10829. if (from.has_store_country_code()) {
  10830. set_store_country_code(from.store_country_code());
  10831. }
  10832. }
  10833. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10834. }
  10835. void CMsgAMAddFreeLicense::CopyFrom(const ::google::protobuf::Message& from) {
  10836. if (&from == this) return;
  10837. Clear();
  10838. MergeFrom(from);
  10839. }
  10840. void CMsgAMAddFreeLicense::CopyFrom(const CMsgAMAddFreeLicense& from) {
  10841. if (&from == this) return;
  10842. Clear();
  10843. MergeFrom(from);
  10844. }
  10845. bool CMsgAMAddFreeLicense::IsInitialized() const {
  10846. return true;
  10847. }
  10848. void CMsgAMAddFreeLicense::Swap(CMsgAMAddFreeLicense* other) {
  10849. if (other != this) {
  10850. std::swap(steamid_, other->steamid_);
  10851. std::swap(ip_public_, other->ip_public_);
  10852. std::swap(packageid_, other->packageid_);
  10853. std::swap(store_country_code_, other->store_country_code_);
  10854. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10855. _unknown_fields_.Swap(&other->_unknown_fields_);
  10856. std::swap(_cached_size_, other->_cached_size_);
  10857. }
  10858. }
  10859. ::google::protobuf::Metadata CMsgAMAddFreeLicense::GetMetadata() const {
  10860. protobuf_AssignDescriptorsOnce();
  10861. ::google::protobuf::Metadata metadata;
  10862. metadata.descriptor = CMsgAMAddFreeLicense_descriptor_;
  10863. metadata.reflection = CMsgAMAddFreeLicense_reflection_;
  10864. return metadata;
  10865. }
  10866. // ===================================================================
  10867. #ifndef _MSC_VER
  10868. const int CMsgAMAddFreeLicenseResponse::kEresultFieldNumber;
  10869. const int CMsgAMAddFreeLicenseResponse::kPurchaseResultDetailFieldNumber;
  10870. const int CMsgAMAddFreeLicenseResponse::kTransidFieldNumber;
  10871. #endif // !_MSC_VER
  10872. CMsgAMAddFreeLicenseResponse::CMsgAMAddFreeLicenseResponse()
  10873. : ::google::protobuf::Message() {
  10874. SharedCtor();
  10875. }
  10876. void CMsgAMAddFreeLicenseResponse::InitAsDefaultInstance() {
  10877. }
  10878. CMsgAMAddFreeLicenseResponse::CMsgAMAddFreeLicenseResponse(const CMsgAMAddFreeLicenseResponse& from)
  10879. : ::google::protobuf::Message() {
  10880. SharedCtor();
  10881. MergeFrom(from);
  10882. }
  10883. void CMsgAMAddFreeLicenseResponse::SharedCtor() {
  10884. _cached_size_ = 0;
  10885. eresult_ = 2;
  10886. purchase_result_detail_ = 0;
  10887. transid_ = GOOGLE_ULONGLONG(0);
  10888. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10889. }
  10890. CMsgAMAddFreeLicenseResponse::~CMsgAMAddFreeLicenseResponse() {
  10891. SharedDtor();
  10892. }
  10893. void CMsgAMAddFreeLicenseResponse::SharedDtor() {
  10894. if (this != default_instance_) {
  10895. }
  10896. }
  10897. void CMsgAMAddFreeLicenseResponse::SetCachedSize(int size) const {
  10898. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10899. _cached_size_ = size;
  10900. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10901. }
  10902. const ::google::protobuf::Descriptor* CMsgAMAddFreeLicenseResponse::descriptor() {
  10903. protobuf_AssignDescriptorsOnce();
  10904. return CMsgAMAddFreeLicenseResponse_descriptor_;
  10905. }
  10906. const CMsgAMAddFreeLicenseResponse& CMsgAMAddFreeLicenseResponse::default_instance() {
  10907. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  10908. return *default_instance_;
  10909. }
  10910. CMsgAMAddFreeLicenseResponse* CMsgAMAddFreeLicenseResponse::default_instance_ = NULL;
  10911. CMsgAMAddFreeLicenseResponse* CMsgAMAddFreeLicenseResponse::New() const {
  10912. return new CMsgAMAddFreeLicenseResponse;
  10913. }
  10914. void CMsgAMAddFreeLicenseResponse::Clear() {
  10915. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10916. eresult_ = 2;
  10917. purchase_result_detail_ = 0;
  10918. transid_ = GOOGLE_ULONGLONG(0);
  10919. }
  10920. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10921. mutable_unknown_fields()->Clear();
  10922. }
  10923. bool CMsgAMAddFreeLicenseResponse::MergePartialFromCodedStream(
  10924. ::google::protobuf::io::CodedInputStream* input) {
  10925. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10926. ::google::protobuf::uint32 tag;
  10927. while ((tag = input->ReadTag()) != 0) {
  10928. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10929. // optional int32 eresult = 1 [default = 2];
  10930. case 1: {
  10931. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10932. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10933. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10934. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10935. input, &eresult_)));
  10936. set_has_eresult();
  10937. } else {
  10938. goto handle_uninterpreted;
  10939. }
  10940. if (input->ExpectTag(16)) goto parse_purchase_result_detail;
  10941. break;
  10942. }
  10943. // optional int32 purchase_result_detail = 2;
  10944. case 2: {
  10945. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10946. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10947. parse_purchase_result_detail:
  10948. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10949. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10950. input, &purchase_result_detail_)));
  10951. set_has_purchase_result_detail();
  10952. } else {
  10953. goto handle_uninterpreted;
  10954. }
  10955. if (input->ExpectTag(25)) goto parse_transid;
  10956. break;
  10957. }
  10958. // optional fixed64 transid = 3;
  10959. case 3: {
  10960. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10961. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  10962. parse_transid:
  10963. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10964. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  10965. input, &transid_)));
  10966. set_has_transid();
  10967. } else {
  10968. goto handle_uninterpreted;
  10969. }
  10970. if (input->ExpectAtEnd()) return true;
  10971. break;
  10972. }
  10973. default: {
  10974. handle_uninterpreted:
  10975. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10976. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10977. return true;
  10978. }
  10979. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10980. input, tag, mutable_unknown_fields()));
  10981. break;
  10982. }
  10983. }
  10984. }
  10985. return true;
  10986. #undef DO_
  10987. }
  10988. void CMsgAMAddFreeLicenseResponse::SerializeWithCachedSizes(
  10989. ::google::protobuf::io::CodedOutputStream* output) const {
  10990. // optional int32 eresult = 1 [default = 2];
  10991. if (has_eresult()) {
  10992. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->eresult(), output);
  10993. }
  10994. // optional int32 purchase_result_detail = 2;
  10995. if (has_purchase_result_detail()) {
  10996. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->purchase_result_detail(), output);
  10997. }
  10998. // optional fixed64 transid = 3;
  10999. if (has_transid()) {
  11000. ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->transid(), output);
  11001. }
  11002. if (!unknown_fields().empty()) {
  11003. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11004. unknown_fields(), output);
  11005. }
  11006. }
  11007. ::google::protobuf::uint8* CMsgAMAddFreeLicenseResponse::SerializeWithCachedSizesToArray(
  11008. ::google::protobuf::uint8* target) const {
  11009. // optional int32 eresult = 1 [default = 2];
  11010. if (has_eresult()) {
  11011. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->eresult(), target);
  11012. }
  11013. // optional int32 purchase_result_detail = 2;
  11014. if (has_purchase_result_detail()) {
  11015. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->purchase_result_detail(), target);
  11016. }
  11017. // optional fixed64 transid = 3;
  11018. if (has_transid()) {
  11019. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->transid(), target);
  11020. }
  11021. if (!unknown_fields().empty()) {
  11022. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11023. unknown_fields(), target);
  11024. }
  11025. return target;
  11026. }
  11027. int CMsgAMAddFreeLicenseResponse::ByteSize() const {
  11028. int total_size = 0;
  11029. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11030. // optional int32 eresult = 1 [default = 2];
  11031. if (has_eresult()) {
  11032. total_size += 1 +
  11033. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11034. this->eresult());
  11035. }
  11036. // optional int32 purchase_result_detail = 2;
  11037. if (has_purchase_result_detail()) {
  11038. total_size += 1 +
  11039. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11040. this->purchase_result_detail());
  11041. }
  11042. // optional fixed64 transid = 3;
  11043. if (has_transid()) {
  11044. total_size += 1 + 8;
  11045. }
  11046. }
  11047. if (!unknown_fields().empty()) {
  11048. total_size +=
  11049. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11050. unknown_fields());
  11051. }
  11052. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11053. _cached_size_ = total_size;
  11054. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11055. return total_size;
  11056. }
  11057. void CMsgAMAddFreeLicenseResponse::MergeFrom(const ::google::protobuf::Message& from) {
  11058. GOOGLE_CHECK_NE(&from, this);
  11059. const CMsgAMAddFreeLicenseResponse* source =
  11060. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMAddFreeLicenseResponse*>(
  11061. &from);
  11062. if (source == NULL) {
  11063. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11064. } else {
  11065. MergeFrom(*source);
  11066. }
  11067. }
  11068. void CMsgAMAddFreeLicenseResponse::MergeFrom(const CMsgAMAddFreeLicenseResponse& from) {
  11069. GOOGLE_CHECK_NE(&from, this);
  11070. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11071. if (from.has_eresult()) {
  11072. set_eresult(from.eresult());
  11073. }
  11074. if (from.has_purchase_result_detail()) {
  11075. set_purchase_result_detail(from.purchase_result_detail());
  11076. }
  11077. if (from.has_transid()) {
  11078. set_transid(from.transid());
  11079. }
  11080. }
  11081. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11082. }
  11083. void CMsgAMAddFreeLicenseResponse::CopyFrom(const ::google::protobuf::Message& from) {
  11084. if (&from == this) return;
  11085. Clear();
  11086. MergeFrom(from);
  11087. }
  11088. void CMsgAMAddFreeLicenseResponse::CopyFrom(const CMsgAMAddFreeLicenseResponse& from) {
  11089. if (&from == this) return;
  11090. Clear();
  11091. MergeFrom(from);
  11092. }
  11093. bool CMsgAMAddFreeLicenseResponse::IsInitialized() const {
  11094. return true;
  11095. }
  11096. void CMsgAMAddFreeLicenseResponse::Swap(CMsgAMAddFreeLicenseResponse* other) {
  11097. if (other != this) {
  11098. std::swap(eresult_, other->eresult_);
  11099. std::swap(purchase_result_detail_, other->purchase_result_detail_);
  11100. std::swap(transid_, other->transid_);
  11101. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11102. _unknown_fields_.Swap(&other->_unknown_fields_);
  11103. std::swap(_cached_size_, other->_cached_size_);
  11104. }
  11105. }
  11106. ::google::protobuf::Metadata CMsgAMAddFreeLicenseResponse::GetMetadata() const {
  11107. protobuf_AssignDescriptorsOnce();
  11108. ::google::protobuf::Metadata metadata;
  11109. metadata.descriptor = CMsgAMAddFreeLicenseResponse_descriptor_;
  11110. metadata.reflection = CMsgAMAddFreeLicenseResponse_reflection_;
  11111. return metadata;
  11112. }
  11113. // ===================================================================
  11114. #ifndef _MSC_VER
  11115. const int CGCMsgGetIPLocation::kIpsFieldNumber;
  11116. #endif // !_MSC_VER
  11117. CGCMsgGetIPLocation::CGCMsgGetIPLocation()
  11118. : ::google::protobuf::Message() {
  11119. SharedCtor();
  11120. }
  11121. void CGCMsgGetIPLocation::InitAsDefaultInstance() {
  11122. }
  11123. CGCMsgGetIPLocation::CGCMsgGetIPLocation(const CGCMsgGetIPLocation& from)
  11124. : ::google::protobuf::Message() {
  11125. SharedCtor();
  11126. MergeFrom(from);
  11127. }
  11128. void CGCMsgGetIPLocation::SharedCtor() {
  11129. _cached_size_ = 0;
  11130. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11131. }
  11132. CGCMsgGetIPLocation::~CGCMsgGetIPLocation() {
  11133. SharedDtor();
  11134. }
  11135. void CGCMsgGetIPLocation::SharedDtor() {
  11136. if (this != default_instance_) {
  11137. }
  11138. }
  11139. void CGCMsgGetIPLocation::SetCachedSize(int size) const {
  11140. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11141. _cached_size_ = size;
  11142. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11143. }
  11144. const ::google::protobuf::Descriptor* CGCMsgGetIPLocation::descriptor() {
  11145. protobuf_AssignDescriptorsOnce();
  11146. return CGCMsgGetIPLocation_descriptor_;
  11147. }
  11148. const CGCMsgGetIPLocation& CGCMsgGetIPLocation::default_instance() {
  11149. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  11150. return *default_instance_;
  11151. }
  11152. CGCMsgGetIPLocation* CGCMsgGetIPLocation::default_instance_ = NULL;
  11153. CGCMsgGetIPLocation* CGCMsgGetIPLocation::New() const {
  11154. return new CGCMsgGetIPLocation;
  11155. }
  11156. void CGCMsgGetIPLocation::Clear() {
  11157. ips_.Clear();
  11158. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11159. mutable_unknown_fields()->Clear();
  11160. }
  11161. bool CGCMsgGetIPLocation::MergePartialFromCodedStream(
  11162. ::google::protobuf::io::CodedInputStream* input) {
  11163. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11164. ::google::protobuf::uint32 tag;
  11165. while ((tag = input->ReadTag()) != 0) {
  11166. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11167. // repeated fixed32 ips = 1;
  11168. case 1: {
  11169. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11170. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  11171. parse_ips:
  11172. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  11173. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  11174. 1, 13, input, this->mutable_ips())));
  11175. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  11176. == ::google::protobuf::internal::WireFormatLite::
  11177. WIRETYPE_LENGTH_DELIMITED) {
  11178. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  11179. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
  11180. input, this->mutable_ips())));
  11181. } else {
  11182. goto handle_uninterpreted;
  11183. }
  11184. if (input->ExpectTag(13)) goto parse_ips;
  11185. if (input->ExpectAtEnd()) return true;
  11186. break;
  11187. }
  11188. default: {
  11189. handle_uninterpreted:
  11190. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11191. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11192. return true;
  11193. }
  11194. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11195. input, tag, mutable_unknown_fields()));
  11196. break;
  11197. }
  11198. }
  11199. }
  11200. return true;
  11201. #undef DO_
  11202. }
  11203. void CGCMsgGetIPLocation::SerializeWithCachedSizes(
  11204. ::google::protobuf::io::CodedOutputStream* output) const {
  11205. // repeated fixed32 ips = 1;
  11206. for (int i = 0; i < this->ips_size(); i++) {
  11207. ::google::protobuf::internal::WireFormatLite::WriteFixed32(
  11208. 1, this->ips(i), output);
  11209. }
  11210. if (!unknown_fields().empty()) {
  11211. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11212. unknown_fields(), output);
  11213. }
  11214. }
  11215. ::google::protobuf::uint8* CGCMsgGetIPLocation::SerializeWithCachedSizesToArray(
  11216. ::google::protobuf::uint8* target) const {
  11217. // repeated fixed32 ips = 1;
  11218. for (int i = 0; i < this->ips_size(); i++) {
  11219. target = ::google::protobuf::internal::WireFormatLite::
  11220. WriteFixed32ToArray(1, this->ips(i), target);
  11221. }
  11222. if (!unknown_fields().empty()) {
  11223. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11224. unknown_fields(), target);
  11225. }
  11226. return target;
  11227. }
  11228. int CGCMsgGetIPLocation::ByteSize() const {
  11229. int total_size = 0;
  11230. // repeated fixed32 ips = 1;
  11231. {
  11232. int data_size = 0;
  11233. data_size = 4 * this->ips_size();
  11234. total_size += 1 * this->ips_size() + data_size;
  11235. }
  11236. if (!unknown_fields().empty()) {
  11237. total_size +=
  11238. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11239. unknown_fields());
  11240. }
  11241. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11242. _cached_size_ = total_size;
  11243. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11244. return total_size;
  11245. }
  11246. void CGCMsgGetIPLocation::MergeFrom(const ::google::protobuf::Message& from) {
  11247. GOOGLE_CHECK_NE(&from, this);
  11248. const CGCMsgGetIPLocation* source =
  11249. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgGetIPLocation*>(
  11250. &from);
  11251. if (source == NULL) {
  11252. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11253. } else {
  11254. MergeFrom(*source);
  11255. }
  11256. }
  11257. void CGCMsgGetIPLocation::MergeFrom(const CGCMsgGetIPLocation& from) {
  11258. GOOGLE_CHECK_NE(&from, this);
  11259. ips_.MergeFrom(from.ips_);
  11260. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11261. }
  11262. void CGCMsgGetIPLocation::CopyFrom(const ::google::protobuf::Message& from) {
  11263. if (&from == this) return;
  11264. Clear();
  11265. MergeFrom(from);
  11266. }
  11267. void CGCMsgGetIPLocation::CopyFrom(const CGCMsgGetIPLocation& from) {
  11268. if (&from == this) return;
  11269. Clear();
  11270. MergeFrom(from);
  11271. }
  11272. bool CGCMsgGetIPLocation::IsInitialized() const {
  11273. return true;
  11274. }
  11275. void CGCMsgGetIPLocation::Swap(CGCMsgGetIPLocation* other) {
  11276. if (other != this) {
  11277. ips_.Swap(&other->ips_);
  11278. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11279. _unknown_fields_.Swap(&other->_unknown_fields_);
  11280. std::swap(_cached_size_, other->_cached_size_);
  11281. }
  11282. }
  11283. ::google::protobuf::Metadata CGCMsgGetIPLocation::GetMetadata() const {
  11284. protobuf_AssignDescriptorsOnce();
  11285. ::google::protobuf::Metadata metadata;
  11286. metadata.descriptor = CGCMsgGetIPLocation_descriptor_;
  11287. metadata.reflection = CGCMsgGetIPLocation_reflection_;
  11288. return metadata;
  11289. }
  11290. // ===================================================================
  11291. #ifndef _MSC_VER
  11292. const int CIPLocationInfo::kIpFieldNumber;
  11293. const int CIPLocationInfo::kLatitudeFieldNumber;
  11294. const int CIPLocationInfo::kLongitudeFieldNumber;
  11295. const int CIPLocationInfo::kCountryFieldNumber;
  11296. const int CIPLocationInfo::kStateFieldNumber;
  11297. const int CIPLocationInfo::kCityFieldNumber;
  11298. #endif // !_MSC_VER
  11299. CIPLocationInfo::CIPLocationInfo()
  11300. : ::google::protobuf::Message() {
  11301. SharedCtor();
  11302. }
  11303. void CIPLocationInfo::InitAsDefaultInstance() {
  11304. }
  11305. CIPLocationInfo::CIPLocationInfo(const CIPLocationInfo& from)
  11306. : ::google::protobuf::Message() {
  11307. SharedCtor();
  11308. MergeFrom(from);
  11309. }
  11310. void CIPLocationInfo::SharedCtor() {
  11311. _cached_size_ = 0;
  11312. ip_ = 0u;
  11313. latitude_ = 0;
  11314. longitude_ = 0;
  11315. country_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11316. state_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11317. city_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11318. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11319. }
  11320. CIPLocationInfo::~CIPLocationInfo() {
  11321. SharedDtor();
  11322. }
  11323. void CIPLocationInfo::SharedDtor() {
  11324. if (country_ != &::google::protobuf::internal::kEmptyString) {
  11325. delete country_;
  11326. }
  11327. if (state_ != &::google::protobuf::internal::kEmptyString) {
  11328. delete state_;
  11329. }
  11330. if (city_ != &::google::protobuf::internal::kEmptyString) {
  11331. delete city_;
  11332. }
  11333. if (this != default_instance_) {
  11334. }
  11335. }
  11336. void CIPLocationInfo::SetCachedSize(int size) const {
  11337. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11338. _cached_size_ = size;
  11339. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11340. }
  11341. const ::google::protobuf::Descriptor* CIPLocationInfo::descriptor() {
  11342. protobuf_AssignDescriptorsOnce();
  11343. return CIPLocationInfo_descriptor_;
  11344. }
  11345. const CIPLocationInfo& CIPLocationInfo::default_instance() {
  11346. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  11347. return *default_instance_;
  11348. }
  11349. CIPLocationInfo* CIPLocationInfo::default_instance_ = NULL;
  11350. CIPLocationInfo* CIPLocationInfo::New() const {
  11351. return new CIPLocationInfo;
  11352. }
  11353. void CIPLocationInfo::Clear() {
  11354. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11355. ip_ = 0u;
  11356. latitude_ = 0;
  11357. longitude_ = 0;
  11358. if (has_country()) {
  11359. if (country_ != &::google::protobuf::internal::kEmptyString) {
  11360. country_->clear();
  11361. }
  11362. }
  11363. if (has_state()) {
  11364. if (state_ != &::google::protobuf::internal::kEmptyString) {
  11365. state_->clear();
  11366. }
  11367. }
  11368. if (has_city()) {
  11369. if (city_ != &::google::protobuf::internal::kEmptyString) {
  11370. city_->clear();
  11371. }
  11372. }
  11373. }
  11374. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11375. mutable_unknown_fields()->Clear();
  11376. }
  11377. bool CIPLocationInfo::MergePartialFromCodedStream(
  11378. ::google::protobuf::io::CodedInputStream* input) {
  11379. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11380. ::google::protobuf::uint32 tag;
  11381. while ((tag = input->ReadTag()) != 0) {
  11382. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11383. // optional uint32 ip = 1;
  11384. case 1: {
  11385. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11386. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11387. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11388. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  11389. input, &ip_)));
  11390. set_has_ip();
  11391. } else {
  11392. goto handle_uninterpreted;
  11393. }
  11394. if (input->ExpectTag(21)) goto parse_latitude;
  11395. break;
  11396. }
  11397. // optional float latitude = 2;
  11398. case 2: {
  11399. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11400. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  11401. parse_latitude:
  11402. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11403. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  11404. input, &latitude_)));
  11405. set_has_latitude();
  11406. } else {
  11407. goto handle_uninterpreted;
  11408. }
  11409. if (input->ExpectTag(29)) goto parse_longitude;
  11410. break;
  11411. }
  11412. // optional float longitude = 3;
  11413. case 3: {
  11414. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11415. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
  11416. parse_longitude:
  11417. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11418. float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
  11419. input, &longitude_)));
  11420. set_has_longitude();
  11421. } else {
  11422. goto handle_uninterpreted;
  11423. }
  11424. if (input->ExpectTag(34)) goto parse_country;
  11425. break;
  11426. }
  11427. // optional string country = 4;
  11428. case 4: {
  11429. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11430. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11431. parse_country:
  11432. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  11433. input, this->mutable_country()));
  11434. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11435. this->country().data(), this->country().length(),
  11436. ::google::protobuf::internal::WireFormat::PARSE);
  11437. } else {
  11438. goto handle_uninterpreted;
  11439. }
  11440. if (input->ExpectTag(42)) goto parse_state;
  11441. break;
  11442. }
  11443. // optional string state = 5;
  11444. case 5: {
  11445. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11446. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11447. parse_state:
  11448. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  11449. input, this->mutable_state()));
  11450. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11451. this->state().data(), this->state().length(),
  11452. ::google::protobuf::internal::WireFormat::PARSE);
  11453. } else {
  11454. goto handle_uninterpreted;
  11455. }
  11456. if (input->ExpectTag(50)) goto parse_city;
  11457. break;
  11458. }
  11459. // optional string city = 6;
  11460. case 6: {
  11461. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11462. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11463. parse_city:
  11464. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  11465. input, this->mutable_city()));
  11466. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11467. this->city().data(), this->city().length(),
  11468. ::google::protobuf::internal::WireFormat::PARSE);
  11469. } else {
  11470. goto handle_uninterpreted;
  11471. }
  11472. if (input->ExpectAtEnd()) return true;
  11473. break;
  11474. }
  11475. default: {
  11476. handle_uninterpreted:
  11477. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11478. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11479. return true;
  11480. }
  11481. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11482. input, tag, mutable_unknown_fields()));
  11483. break;
  11484. }
  11485. }
  11486. }
  11487. return true;
  11488. #undef DO_
  11489. }
  11490. void CIPLocationInfo::SerializeWithCachedSizes(
  11491. ::google::protobuf::io::CodedOutputStream* output) const {
  11492. // optional uint32 ip = 1;
  11493. if (has_ip()) {
  11494. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->ip(), output);
  11495. }
  11496. // optional float latitude = 2;
  11497. if (has_latitude()) {
  11498. ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->latitude(), output);
  11499. }
  11500. // optional float longitude = 3;
  11501. if (has_longitude()) {
  11502. ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->longitude(), output);
  11503. }
  11504. // optional string country = 4;
  11505. if (has_country()) {
  11506. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11507. this->country().data(), this->country().length(),
  11508. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11509. ::google::protobuf::internal::WireFormatLite::WriteString(
  11510. 4, this->country(), output);
  11511. }
  11512. // optional string state = 5;
  11513. if (has_state()) {
  11514. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11515. this->state().data(), this->state().length(),
  11516. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11517. ::google::protobuf::internal::WireFormatLite::WriteString(
  11518. 5, this->state(), output);
  11519. }
  11520. // optional string city = 6;
  11521. if (has_city()) {
  11522. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11523. this->city().data(), this->city().length(),
  11524. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11525. ::google::protobuf::internal::WireFormatLite::WriteString(
  11526. 6, this->city(), output);
  11527. }
  11528. if (!unknown_fields().empty()) {
  11529. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11530. unknown_fields(), output);
  11531. }
  11532. }
  11533. ::google::protobuf::uint8* CIPLocationInfo::SerializeWithCachedSizesToArray(
  11534. ::google::protobuf::uint8* target) const {
  11535. // optional uint32 ip = 1;
  11536. if (has_ip()) {
  11537. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->ip(), target);
  11538. }
  11539. // optional float latitude = 2;
  11540. if (has_latitude()) {
  11541. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->latitude(), target);
  11542. }
  11543. // optional float longitude = 3;
  11544. if (has_longitude()) {
  11545. target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->longitude(), target);
  11546. }
  11547. // optional string country = 4;
  11548. if (has_country()) {
  11549. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11550. this->country().data(), this->country().length(),
  11551. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11552. target =
  11553. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  11554. 4, this->country(), target);
  11555. }
  11556. // optional string state = 5;
  11557. if (has_state()) {
  11558. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11559. this->state().data(), this->state().length(),
  11560. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11561. target =
  11562. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  11563. 5, this->state(), target);
  11564. }
  11565. // optional string city = 6;
  11566. if (has_city()) {
  11567. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  11568. this->city().data(), this->city().length(),
  11569. ::google::protobuf::internal::WireFormat::SERIALIZE);
  11570. target =
  11571. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  11572. 6, this->city(), target);
  11573. }
  11574. if (!unknown_fields().empty()) {
  11575. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11576. unknown_fields(), target);
  11577. }
  11578. return target;
  11579. }
  11580. int CIPLocationInfo::ByteSize() const {
  11581. int total_size = 0;
  11582. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11583. // optional uint32 ip = 1;
  11584. if (has_ip()) {
  11585. total_size += 1 +
  11586. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  11587. this->ip());
  11588. }
  11589. // optional float latitude = 2;
  11590. if (has_latitude()) {
  11591. total_size += 1 + 4;
  11592. }
  11593. // optional float longitude = 3;
  11594. if (has_longitude()) {
  11595. total_size += 1 + 4;
  11596. }
  11597. // optional string country = 4;
  11598. if (has_country()) {
  11599. total_size += 1 +
  11600. ::google::protobuf::internal::WireFormatLite::StringSize(
  11601. this->country());
  11602. }
  11603. // optional string state = 5;
  11604. if (has_state()) {
  11605. total_size += 1 +
  11606. ::google::protobuf::internal::WireFormatLite::StringSize(
  11607. this->state());
  11608. }
  11609. // optional string city = 6;
  11610. if (has_city()) {
  11611. total_size += 1 +
  11612. ::google::protobuf::internal::WireFormatLite::StringSize(
  11613. this->city());
  11614. }
  11615. }
  11616. if (!unknown_fields().empty()) {
  11617. total_size +=
  11618. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11619. unknown_fields());
  11620. }
  11621. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11622. _cached_size_ = total_size;
  11623. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11624. return total_size;
  11625. }
  11626. void CIPLocationInfo::MergeFrom(const ::google::protobuf::Message& from) {
  11627. GOOGLE_CHECK_NE(&from, this);
  11628. const CIPLocationInfo* source =
  11629. ::google::protobuf::internal::dynamic_cast_if_available<const CIPLocationInfo*>(
  11630. &from);
  11631. if (source == NULL) {
  11632. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11633. } else {
  11634. MergeFrom(*source);
  11635. }
  11636. }
  11637. void CIPLocationInfo::MergeFrom(const CIPLocationInfo& from) {
  11638. GOOGLE_CHECK_NE(&from, this);
  11639. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11640. if (from.has_ip()) {
  11641. set_ip(from.ip());
  11642. }
  11643. if (from.has_latitude()) {
  11644. set_latitude(from.latitude());
  11645. }
  11646. if (from.has_longitude()) {
  11647. set_longitude(from.longitude());
  11648. }
  11649. if (from.has_country()) {
  11650. set_country(from.country());
  11651. }
  11652. if (from.has_state()) {
  11653. set_state(from.state());
  11654. }
  11655. if (from.has_city()) {
  11656. set_city(from.city());
  11657. }
  11658. }
  11659. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11660. }
  11661. void CIPLocationInfo::CopyFrom(const ::google::protobuf::Message& from) {
  11662. if (&from == this) return;
  11663. Clear();
  11664. MergeFrom(from);
  11665. }
  11666. void CIPLocationInfo::CopyFrom(const CIPLocationInfo& from) {
  11667. if (&from == this) return;
  11668. Clear();
  11669. MergeFrom(from);
  11670. }
  11671. bool CIPLocationInfo::IsInitialized() const {
  11672. return true;
  11673. }
  11674. void CIPLocationInfo::Swap(CIPLocationInfo* other) {
  11675. if (other != this) {
  11676. std::swap(ip_, other->ip_);
  11677. std::swap(latitude_, other->latitude_);
  11678. std::swap(longitude_, other->longitude_);
  11679. std::swap(country_, other->country_);
  11680. std::swap(state_, other->state_);
  11681. std::swap(city_, other->city_);
  11682. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11683. _unknown_fields_.Swap(&other->_unknown_fields_);
  11684. std::swap(_cached_size_, other->_cached_size_);
  11685. }
  11686. }
  11687. ::google::protobuf::Metadata CIPLocationInfo::GetMetadata() const {
  11688. protobuf_AssignDescriptorsOnce();
  11689. ::google::protobuf::Metadata metadata;
  11690. metadata.descriptor = CIPLocationInfo_descriptor_;
  11691. metadata.reflection = CIPLocationInfo_reflection_;
  11692. return metadata;
  11693. }
  11694. // ===================================================================
  11695. #ifndef _MSC_VER
  11696. const int CGCMsgGetIPLocationResponse::kInfosFieldNumber;
  11697. #endif // !_MSC_VER
  11698. CGCMsgGetIPLocationResponse::CGCMsgGetIPLocationResponse()
  11699. : ::google::protobuf::Message() {
  11700. SharedCtor();
  11701. }
  11702. void CGCMsgGetIPLocationResponse::InitAsDefaultInstance() {
  11703. }
  11704. CGCMsgGetIPLocationResponse::CGCMsgGetIPLocationResponse(const CGCMsgGetIPLocationResponse& from)
  11705. : ::google::protobuf::Message() {
  11706. SharedCtor();
  11707. MergeFrom(from);
  11708. }
  11709. void CGCMsgGetIPLocationResponse::SharedCtor() {
  11710. _cached_size_ = 0;
  11711. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11712. }
  11713. CGCMsgGetIPLocationResponse::~CGCMsgGetIPLocationResponse() {
  11714. SharedDtor();
  11715. }
  11716. void CGCMsgGetIPLocationResponse::SharedDtor() {
  11717. if (this != default_instance_) {
  11718. }
  11719. }
  11720. void CGCMsgGetIPLocationResponse::SetCachedSize(int size) const {
  11721. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11722. _cached_size_ = size;
  11723. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11724. }
  11725. const ::google::protobuf::Descriptor* CGCMsgGetIPLocationResponse::descriptor() {
  11726. protobuf_AssignDescriptorsOnce();
  11727. return CGCMsgGetIPLocationResponse_descriptor_;
  11728. }
  11729. const CGCMsgGetIPLocationResponse& CGCMsgGetIPLocationResponse::default_instance() {
  11730. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  11731. return *default_instance_;
  11732. }
  11733. CGCMsgGetIPLocationResponse* CGCMsgGetIPLocationResponse::default_instance_ = NULL;
  11734. CGCMsgGetIPLocationResponse* CGCMsgGetIPLocationResponse::New() const {
  11735. return new CGCMsgGetIPLocationResponse;
  11736. }
  11737. void CGCMsgGetIPLocationResponse::Clear() {
  11738. infos_.Clear();
  11739. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11740. mutable_unknown_fields()->Clear();
  11741. }
  11742. bool CGCMsgGetIPLocationResponse::MergePartialFromCodedStream(
  11743. ::google::protobuf::io::CodedInputStream* input) {
  11744. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11745. ::google::protobuf::uint32 tag;
  11746. while ((tag = input->ReadTag()) != 0) {
  11747. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11748. // repeated .CIPLocationInfo infos = 1;
  11749. case 1: {
  11750. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11751. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11752. parse_infos:
  11753. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  11754. input, add_infos()));
  11755. } else {
  11756. goto handle_uninterpreted;
  11757. }
  11758. if (input->ExpectTag(10)) goto parse_infos;
  11759. if (input->ExpectAtEnd()) return true;
  11760. break;
  11761. }
  11762. default: {
  11763. handle_uninterpreted:
  11764. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11765. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11766. return true;
  11767. }
  11768. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11769. input, tag, mutable_unknown_fields()));
  11770. break;
  11771. }
  11772. }
  11773. }
  11774. return true;
  11775. #undef DO_
  11776. }
  11777. void CGCMsgGetIPLocationResponse::SerializeWithCachedSizes(
  11778. ::google::protobuf::io::CodedOutputStream* output) const {
  11779. // repeated .CIPLocationInfo infos = 1;
  11780. for (int i = 0; i < this->infos_size(); i++) {
  11781. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  11782. 1, this->infos(i), output);
  11783. }
  11784. if (!unknown_fields().empty()) {
  11785. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11786. unknown_fields(), output);
  11787. }
  11788. }
  11789. ::google::protobuf::uint8* CGCMsgGetIPLocationResponse::SerializeWithCachedSizesToArray(
  11790. ::google::protobuf::uint8* target) const {
  11791. // repeated .CIPLocationInfo infos = 1;
  11792. for (int i = 0; i < this->infos_size(); i++) {
  11793. target = ::google::protobuf::internal::WireFormatLite::
  11794. WriteMessageNoVirtualToArray(
  11795. 1, this->infos(i), target);
  11796. }
  11797. if (!unknown_fields().empty()) {
  11798. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11799. unknown_fields(), target);
  11800. }
  11801. return target;
  11802. }
  11803. int CGCMsgGetIPLocationResponse::ByteSize() const {
  11804. int total_size = 0;
  11805. // repeated .CIPLocationInfo infos = 1;
  11806. total_size += 1 * this->infos_size();
  11807. for (int i = 0; i < this->infos_size(); i++) {
  11808. total_size +=
  11809. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  11810. this->infos(i));
  11811. }
  11812. if (!unknown_fields().empty()) {
  11813. total_size +=
  11814. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11815. unknown_fields());
  11816. }
  11817. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11818. _cached_size_ = total_size;
  11819. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11820. return total_size;
  11821. }
  11822. void CGCMsgGetIPLocationResponse::MergeFrom(const ::google::protobuf::Message& from) {
  11823. GOOGLE_CHECK_NE(&from, this);
  11824. const CGCMsgGetIPLocationResponse* source =
  11825. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgGetIPLocationResponse*>(
  11826. &from);
  11827. if (source == NULL) {
  11828. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11829. } else {
  11830. MergeFrom(*source);
  11831. }
  11832. }
  11833. void CGCMsgGetIPLocationResponse::MergeFrom(const CGCMsgGetIPLocationResponse& from) {
  11834. GOOGLE_CHECK_NE(&from, this);
  11835. infos_.MergeFrom(from.infos_);
  11836. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11837. }
  11838. void CGCMsgGetIPLocationResponse::CopyFrom(const ::google::protobuf::Message& from) {
  11839. if (&from == this) return;
  11840. Clear();
  11841. MergeFrom(from);
  11842. }
  11843. void CGCMsgGetIPLocationResponse::CopyFrom(const CGCMsgGetIPLocationResponse& from) {
  11844. if (&from == this) return;
  11845. Clear();
  11846. MergeFrom(from);
  11847. }
  11848. bool CGCMsgGetIPLocationResponse::IsInitialized() const {
  11849. return true;
  11850. }
  11851. void CGCMsgGetIPLocationResponse::Swap(CGCMsgGetIPLocationResponse* other) {
  11852. if (other != this) {
  11853. infos_.Swap(&other->infos_);
  11854. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11855. _unknown_fields_.Swap(&other->_unknown_fields_);
  11856. std::swap(_cached_size_, other->_cached_size_);
  11857. }
  11858. }
  11859. ::google::protobuf::Metadata CGCMsgGetIPLocationResponse::GetMetadata() const {
  11860. protobuf_AssignDescriptorsOnce();
  11861. ::google::protobuf::Metadata metadata;
  11862. metadata.descriptor = CGCMsgGetIPLocationResponse_descriptor_;
  11863. metadata.reflection = CGCMsgGetIPLocationResponse_reflection_;
  11864. return metadata;
  11865. }
  11866. // ===================================================================
  11867. #ifndef _MSC_VER
  11868. const int CGCMsgSystemStatsSchema::kGcAppIdFieldNumber;
  11869. const int CGCMsgSystemStatsSchema::kSchemaKvFieldNumber;
  11870. #endif // !_MSC_VER
  11871. CGCMsgSystemStatsSchema::CGCMsgSystemStatsSchema()
  11872. : ::google::protobuf::Message() {
  11873. SharedCtor();
  11874. }
  11875. void CGCMsgSystemStatsSchema::InitAsDefaultInstance() {
  11876. }
  11877. CGCMsgSystemStatsSchema::CGCMsgSystemStatsSchema(const CGCMsgSystemStatsSchema& from)
  11878. : ::google::protobuf::Message() {
  11879. SharedCtor();
  11880. MergeFrom(from);
  11881. }
  11882. void CGCMsgSystemStatsSchema::SharedCtor() {
  11883. _cached_size_ = 0;
  11884. gc_app_id_ = 0u;
  11885. schema_kv_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  11886. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11887. }
  11888. CGCMsgSystemStatsSchema::~CGCMsgSystemStatsSchema() {
  11889. SharedDtor();
  11890. }
  11891. void CGCMsgSystemStatsSchema::SharedDtor() {
  11892. if (schema_kv_ != &::google::protobuf::internal::kEmptyString) {
  11893. delete schema_kv_;
  11894. }
  11895. if (this != default_instance_) {
  11896. }
  11897. }
  11898. void CGCMsgSystemStatsSchema::SetCachedSize(int size) const {
  11899. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11900. _cached_size_ = size;
  11901. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11902. }
  11903. const ::google::protobuf::Descriptor* CGCMsgSystemStatsSchema::descriptor() {
  11904. protobuf_AssignDescriptorsOnce();
  11905. return CGCMsgSystemStatsSchema_descriptor_;
  11906. }
  11907. const CGCMsgSystemStatsSchema& CGCMsgSystemStatsSchema::default_instance() {
  11908. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  11909. return *default_instance_;
  11910. }
  11911. CGCMsgSystemStatsSchema* CGCMsgSystemStatsSchema::default_instance_ = NULL;
  11912. CGCMsgSystemStatsSchema* CGCMsgSystemStatsSchema::New() const {
  11913. return new CGCMsgSystemStatsSchema;
  11914. }
  11915. void CGCMsgSystemStatsSchema::Clear() {
  11916. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11917. gc_app_id_ = 0u;
  11918. if (has_schema_kv()) {
  11919. if (schema_kv_ != &::google::protobuf::internal::kEmptyString) {
  11920. schema_kv_->clear();
  11921. }
  11922. }
  11923. }
  11924. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11925. mutable_unknown_fields()->Clear();
  11926. }
  11927. bool CGCMsgSystemStatsSchema::MergePartialFromCodedStream(
  11928. ::google::protobuf::io::CodedInputStream* input) {
  11929. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11930. ::google::protobuf::uint32 tag;
  11931. while ((tag = input->ReadTag()) != 0) {
  11932. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11933. // optional uint32 gc_app_id = 1;
  11934. case 1: {
  11935. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11936. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11937. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11938. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  11939. input, &gc_app_id_)));
  11940. set_has_gc_app_id();
  11941. } else {
  11942. goto handle_uninterpreted;
  11943. }
  11944. if (input->ExpectTag(18)) goto parse_schema_kv;
  11945. break;
  11946. }
  11947. // optional bytes schema_kv = 2;
  11948. case 2: {
  11949. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11950. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11951. parse_schema_kv:
  11952. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  11953. input, this->mutable_schema_kv()));
  11954. } else {
  11955. goto handle_uninterpreted;
  11956. }
  11957. if (input->ExpectAtEnd()) return true;
  11958. break;
  11959. }
  11960. default: {
  11961. handle_uninterpreted:
  11962. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11963. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11964. return true;
  11965. }
  11966. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11967. input, tag, mutable_unknown_fields()));
  11968. break;
  11969. }
  11970. }
  11971. }
  11972. return true;
  11973. #undef DO_
  11974. }
  11975. void CGCMsgSystemStatsSchema::SerializeWithCachedSizes(
  11976. ::google::protobuf::io::CodedOutputStream* output) const {
  11977. // optional uint32 gc_app_id = 1;
  11978. if (has_gc_app_id()) {
  11979. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gc_app_id(), output);
  11980. }
  11981. // optional bytes schema_kv = 2;
  11982. if (has_schema_kv()) {
  11983. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  11984. 2, this->schema_kv(), output);
  11985. }
  11986. if (!unknown_fields().empty()) {
  11987. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11988. unknown_fields(), output);
  11989. }
  11990. }
  11991. ::google::protobuf::uint8* CGCMsgSystemStatsSchema::SerializeWithCachedSizesToArray(
  11992. ::google::protobuf::uint8* target) const {
  11993. // optional uint32 gc_app_id = 1;
  11994. if (has_gc_app_id()) {
  11995. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->gc_app_id(), target);
  11996. }
  11997. // optional bytes schema_kv = 2;
  11998. if (has_schema_kv()) {
  11999. target =
  12000. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  12001. 2, this->schema_kv(), target);
  12002. }
  12003. if (!unknown_fields().empty()) {
  12004. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12005. unknown_fields(), target);
  12006. }
  12007. return target;
  12008. }
  12009. int CGCMsgSystemStatsSchema::ByteSize() const {
  12010. int total_size = 0;
  12011. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12012. // optional uint32 gc_app_id = 1;
  12013. if (has_gc_app_id()) {
  12014. total_size += 1 +
  12015. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12016. this->gc_app_id());
  12017. }
  12018. // optional bytes schema_kv = 2;
  12019. if (has_schema_kv()) {
  12020. total_size += 1 +
  12021. ::google::protobuf::internal::WireFormatLite::BytesSize(
  12022. this->schema_kv());
  12023. }
  12024. }
  12025. if (!unknown_fields().empty()) {
  12026. total_size +=
  12027. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12028. unknown_fields());
  12029. }
  12030. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12031. _cached_size_ = total_size;
  12032. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12033. return total_size;
  12034. }
  12035. void CGCMsgSystemStatsSchema::MergeFrom(const ::google::protobuf::Message& from) {
  12036. GOOGLE_CHECK_NE(&from, this);
  12037. const CGCMsgSystemStatsSchema* source =
  12038. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgSystemStatsSchema*>(
  12039. &from);
  12040. if (source == NULL) {
  12041. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12042. } else {
  12043. MergeFrom(*source);
  12044. }
  12045. }
  12046. void CGCMsgSystemStatsSchema::MergeFrom(const CGCMsgSystemStatsSchema& from) {
  12047. GOOGLE_CHECK_NE(&from, this);
  12048. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12049. if (from.has_gc_app_id()) {
  12050. set_gc_app_id(from.gc_app_id());
  12051. }
  12052. if (from.has_schema_kv()) {
  12053. set_schema_kv(from.schema_kv());
  12054. }
  12055. }
  12056. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12057. }
  12058. void CGCMsgSystemStatsSchema::CopyFrom(const ::google::protobuf::Message& from) {
  12059. if (&from == this) return;
  12060. Clear();
  12061. MergeFrom(from);
  12062. }
  12063. void CGCMsgSystemStatsSchema::CopyFrom(const CGCMsgSystemStatsSchema& from) {
  12064. if (&from == this) return;
  12065. Clear();
  12066. MergeFrom(from);
  12067. }
  12068. bool CGCMsgSystemStatsSchema::IsInitialized() const {
  12069. return true;
  12070. }
  12071. void CGCMsgSystemStatsSchema::Swap(CGCMsgSystemStatsSchema* other) {
  12072. if (other != this) {
  12073. std::swap(gc_app_id_, other->gc_app_id_);
  12074. std::swap(schema_kv_, other->schema_kv_);
  12075. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12076. _unknown_fields_.Swap(&other->_unknown_fields_);
  12077. std::swap(_cached_size_, other->_cached_size_);
  12078. }
  12079. }
  12080. ::google::protobuf::Metadata CGCMsgSystemStatsSchema::GetMetadata() const {
  12081. protobuf_AssignDescriptorsOnce();
  12082. ::google::protobuf::Metadata metadata;
  12083. metadata.descriptor = CGCMsgSystemStatsSchema_descriptor_;
  12084. metadata.reflection = CGCMsgSystemStatsSchema_reflection_;
  12085. return metadata;
  12086. }
  12087. // ===================================================================
  12088. #ifndef _MSC_VER
  12089. #endif // !_MSC_VER
  12090. CGCMsgGetSystemStats::CGCMsgGetSystemStats()
  12091. : ::google::protobuf::Message() {
  12092. SharedCtor();
  12093. }
  12094. void CGCMsgGetSystemStats::InitAsDefaultInstance() {
  12095. }
  12096. CGCMsgGetSystemStats::CGCMsgGetSystemStats(const CGCMsgGetSystemStats& from)
  12097. : ::google::protobuf::Message() {
  12098. SharedCtor();
  12099. MergeFrom(from);
  12100. }
  12101. void CGCMsgGetSystemStats::SharedCtor() {
  12102. _cached_size_ = 0;
  12103. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12104. }
  12105. CGCMsgGetSystemStats::~CGCMsgGetSystemStats() {
  12106. SharedDtor();
  12107. }
  12108. void CGCMsgGetSystemStats::SharedDtor() {
  12109. if (this != default_instance_) {
  12110. }
  12111. }
  12112. void CGCMsgGetSystemStats::SetCachedSize(int size) const {
  12113. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12114. _cached_size_ = size;
  12115. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12116. }
  12117. const ::google::protobuf::Descriptor* CGCMsgGetSystemStats::descriptor() {
  12118. protobuf_AssignDescriptorsOnce();
  12119. return CGCMsgGetSystemStats_descriptor_;
  12120. }
  12121. const CGCMsgGetSystemStats& CGCMsgGetSystemStats::default_instance() {
  12122. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  12123. return *default_instance_;
  12124. }
  12125. CGCMsgGetSystemStats* CGCMsgGetSystemStats::default_instance_ = NULL;
  12126. CGCMsgGetSystemStats* CGCMsgGetSystemStats::New() const {
  12127. return new CGCMsgGetSystemStats;
  12128. }
  12129. void CGCMsgGetSystemStats::Clear() {
  12130. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12131. mutable_unknown_fields()->Clear();
  12132. }
  12133. bool CGCMsgGetSystemStats::MergePartialFromCodedStream(
  12134. ::google::protobuf::io::CodedInputStream* input) {
  12135. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12136. ::google::protobuf::uint32 tag;
  12137. while ((tag = input->ReadTag()) != 0) {
  12138. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12139. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12140. return true;
  12141. }
  12142. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12143. input, tag, mutable_unknown_fields()));
  12144. }
  12145. return true;
  12146. #undef DO_
  12147. }
  12148. void CGCMsgGetSystemStats::SerializeWithCachedSizes(
  12149. ::google::protobuf::io::CodedOutputStream* output) const {
  12150. if (!unknown_fields().empty()) {
  12151. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12152. unknown_fields(), output);
  12153. }
  12154. }
  12155. ::google::protobuf::uint8* CGCMsgGetSystemStats::SerializeWithCachedSizesToArray(
  12156. ::google::protobuf::uint8* target) const {
  12157. if (!unknown_fields().empty()) {
  12158. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12159. unknown_fields(), target);
  12160. }
  12161. return target;
  12162. }
  12163. int CGCMsgGetSystemStats::ByteSize() const {
  12164. int total_size = 0;
  12165. if (!unknown_fields().empty()) {
  12166. total_size +=
  12167. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12168. unknown_fields());
  12169. }
  12170. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12171. _cached_size_ = total_size;
  12172. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12173. return total_size;
  12174. }
  12175. void CGCMsgGetSystemStats::MergeFrom(const ::google::protobuf::Message& from) {
  12176. GOOGLE_CHECK_NE(&from, this);
  12177. const CGCMsgGetSystemStats* source =
  12178. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgGetSystemStats*>(
  12179. &from);
  12180. if (source == NULL) {
  12181. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12182. } else {
  12183. MergeFrom(*source);
  12184. }
  12185. }
  12186. void CGCMsgGetSystemStats::MergeFrom(const CGCMsgGetSystemStats& from) {
  12187. GOOGLE_CHECK_NE(&from, this);
  12188. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12189. }
  12190. void CGCMsgGetSystemStats::CopyFrom(const ::google::protobuf::Message& from) {
  12191. if (&from == this) return;
  12192. Clear();
  12193. MergeFrom(from);
  12194. }
  12195. void CGCMsgGetSystemStats::CopyFrom(const CGCMsgGetSystemStats& from) {
  12196. if (&from == this) return;
  12197. Clear();
  12198. MergeFrom(from);
  12199. }
  12200. bool CGCMsgGetSystemStats::IsInitialized() const {
  12201. return true;
  12202. }
  12203. void CGCMsgGetSystemStats::Swap(CGCMsgGetSystemStats* other) {
  12204. if (other != this) {
  12205. _unknown_fields_.Swap(&other->_unknown_fields_);
  12206. std::swap(_cached_size_, other->_cached_size_);
  12207. }
  12208. }
  12209. ::google::protobuf::Metadata CGCMsgGetSystemStats::GetMetadata() const {
  12210. protobuf_AssignDescriptorsOnce();
  12211. ::google::protobuf::Metadata metadata;
  12212. metadata.descriptor = CGCMsgGetSystemStats_descriptor_;
  12213. metadata.reflection = CGCMsgGetSystemStats_reflection_;
  12214. return metadata;
  12215. }
  12216. // ===================================================================
  12217. #ifndef _MSC_VER
  12218. const int CGCMsgGetSystemStatsResponse::kGcAppIdFieldNumber;
  12219. const int CGCMsgGetSystemStatsResponse::kStatsKvFieldNumber;
  12220. const int CGCMsgGetSystemStatsResponse::kActiveJobsFieldNumber;
  12221. const int CGCMsgGetSystemStatsResponse::kYieldingJobsFieldNumber;
  12222. const int CGCMsgGetSystemStatsResponse::kUserSessionsFieldNumber;
  12223. const int CGCMsgGetSystemStatsResponse::kGameServerSessionsFieldNumber;
  12224. const int CGCMsgGetSystemStatsResponse::kSocachesFieldNumber;
  12225. const int CGCMsgGetSystemStatsResponse::kSocachesToUnloadFieldNumber;
  12226. const int CGCMsgGetSystemStatsResponse::kSocachesLoadingFieldNumber;
  12227. const int CGCMsgGetSystemStatsResponse::kWritebackQueueFieldNumber;
  12228. const int CGCMsgGetSystemStatsResponse::kSteamidLocksFieldNumber;
  12229. const int CGCMsgGetSystemStatsResponse::kLogonQueueFieldNumber;
  12230. const int CGCMsgGetSystemStatsResponse::kLogonJobsFieldNumber;
  12231. #endif // !_MSC_VER
  12232. CGCMsgGetSystemStatsResponse::CGCMsgGetSystemStatsResponse()
  12233. : ::google::protobuf::Message() {
  12234. SharedCtor();
  12235. }
  12236. void CGCMsgGetSystemStatsResponse::InitAsDefaultInstance() {
  12237. }
  12238. CGCMsgGetSystemStatsResponse::CGCMsgGetSystemStatsResponse(const CGCMsgGetSystemStatsResponse& from)
  12239. : ::google::protobuf::Message() {
  12240. SharedCtor();
  12241. MergeFrom(from);
  12242. }
  12243. void CGCMsgGetSystemStatsResponse::SharedCtor() {
  12244. _cached_size_ = 0;
  12245. gc_app_id_ = 0u;
  12246. stats_kv_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  12247. active_jobs_ = 0u;
  12248. yielding_jobs_ = 0u;
  12249. user_sessions_ = 0u;
  12250. game_server_sessions_ = 0u;
  12251. socaches_ = 0u;
  12252. socaches_to_unload_ = 0u;
  12253. socaches_loading_ = 0u;
  12254. writeback_queue_ = 0u;
  12255. steamid_locks_ = 0u;
  12256. logon_queue_ = 0u;
  12257. logon_jobs_ = 0u;
  12258. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12259. }
  12260. CGCMsgGetSystemStatsResponse::~CGCMsgGetSystemStatsResponse() {
  12261. SharedDtor();
  12262. }
  12263. void CGCMsgGetSystemStatsResponse::SharedDtor() {
  12264. if (stats_kv_ != &::google::protobuf::internal::kEmptyString) {
  12265. delete stats_kv_;
  12266. }
  12267. if (this != default_instance_) {
  12268. }
  12269. }
  12270. void CGCMsgGetSystemStatsResponse::SetCachedSize(int size) const {
  12271. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12272. _cached_size_ = size;
  12273. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12274. }
  12275. const ::google::protobuf::Descriptor* CGCMsgGetSystemStatsResponse::descriptor() {
  12276. protobuf_AssignDescriptorsOnce();
  12277. return CGCMsgGetSystemStatsResponse_descriptor_;
  12278. }
  12279. const CGCMsgGetSystemStatsResponse& CGCMsgGetSystemStatsResponse::default_instance() {
  12280. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  12281. return *default_instance_;
  12282. }
  12283. CGCMsgGetSystemStatsResponse* CGCMsgGetSystemStatsResponse::default_instance_ = NULL;
  12284. CGCMsgGetSystemStatsResponse* CGCMsgGetSystemStatsResponse::New() const {
  12285. return new CGCMsgGetSystemStatsResponse;
  12286. }
  12287. void CGCMsgGetSystemStatsResponse::Clear() {
  12288. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12289. gc_app_id_ = 0u;
  12290. if (has_stats_kv()) {
  12291. if (stats_kv_ != &::google::protobuf::internal::kEmptyString) {
  12292. stats_kv_->clear();
  12293. }
  12294. }
  12295. active_jobs_ = 0u;
  12296. yielding_jobs_ = 0u;
  12297. user_sessions_ = 0u;
  12298. game_server_sessions_ = 0u;
  12299. socaches_ = 0u;
  12300. socaches_to_unload_ = 0u;
  12301. }
  12302. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  12303. socaches_loading_ = 0u;
  12304. writeback_queue_ = 0u;
  12305. steamid_locks_ = 0u;
  12306. logon_queue_ = 0u;
  12307. logon_jobs_ = 0u;
  12308. }
  12309. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12310. mutable_unknown_fields()->Clear();
  12311. }
  12312. bool CGCMsgGetSystemStatsResponse::MergePartialFromCodedStream(
  12313. ::google::protobuf::io::CodedInputStream* input) {
  12314. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12315. ::google::protobuf::uint32 tag;
  12316. while ((tag = input->ReadTag()) != 0) {
  12317. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12318. // optional uint32 gc_app_id = 1;
  12319. case 1: {
  12320. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12321. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12322. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12323. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12324. input, &gc_app_id_)));
  12325. set_has_gc_app_id();
  12326. } else {
  12327. goto handle_uninterpreted;
  12328. }
  12329. if (input->ExpectTag(18)) goto parse_stats_kv;
  12330. break;
  12331. }
  12332. // optional bytes stats_kv = 2;
  12333. case 2: {
  12334. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12335. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12336. parse_stats_kv:
  12337. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  12338. input, this->mutable_stats_kv()));
  12339. } else {
  12340. goto handle_uninterpreted;
  12341. }
  12342. if (input->ExpectTag(24)) goto parse_active_jobs;
  12343. break;
  12344. }
  12345. // optional uint32 active_jobs = 3;
  12346. case 3: {
  12347. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12348. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12349. parse_active_jobs:
  12350. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12351. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12352. input, &active_jobs_)));
  12353. set_has_active_jobs();
  12354. } else {
  12355. goto handle_uninterpreted;
  12356. }
  12357. if (input->ExpectTag(32)) goto parse_yielding_jobs;
  12358. break;
  12359. }
  12360. // optional uint32 yielding_jobs = 4;
  12361. case 4: {
  12362. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12363. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12364. parse_yielding_jobs:
  12365. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12366. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12367. input, &yielding_jobs_)));
  12368. set_has_yielding_jobs();
  12369. } else {
  12370. goto handle_uninterpreted;
  12371. }
  12372. if (input->ExpectTag(40)) goto parse_user_sessions;
  12373. break;
  12374. }
  12375. // optional uint32 user_sessions = 5;
  12376. case 5: {
  12377. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12378. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12379. parse_user_sessions:
  12380. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12381. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12382. input, &user_sessions_)));
  12383. set_has_user_sessions();
  12384. } else {
  12385. goto handle_uninterpreted;
  12386. }
  12387. if (input->ExpectTag(48)) goto parse_game_server_sessions;
  12388. break;
  12389. }
  12390. // optional uint32 game_server_sessions = 6;
  12391. case 6: {
  12392. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12393. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12394. parse_game_server_sessions:
  12395. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12396. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12397. input, &game_server_sessions_)));
  12398. set_has_game_server_sessions();
  12399. } else {
  12400. goto handle_uninterpreted;
  12401. }
  12402. if (input->ExpectTag(56)) goto parse_socaches;
  12403. break;
  12404. }
  12405. // optional uint32 socaches = 7;
  12406. case 7: {
  12407. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12408. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12409. parse_socaches:
  12410. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12411. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12412. input, &socaches_)));
  12413. set_has_socaches();
  12414. } else {
  12415. goto handle_uninterpreted;
  12416. }
  12417. if (input->ExpectTag(64)) goto parse_socaches_to_unload;
  12418. break;
  12419. }
  12420. // optional uint32 socaches_to_unload = 8;
  12421. case 8: {
  12422. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12423. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12424. parse_socaches_to_unload:
  12425. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12426. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12427. input, &socaches_to_unload_)));
  12428. set_has_socaches_to_unload();
  12429. } else {
  12430. goto handle_uninterpreted;
  12431. }
  12432. if (input->ExpectTag(72)) goto parse_socaches_loading;
  12433. break;
  12434. }
  12435. // optional uint32 socaches_loading = 9;
  12436. case 9: {
  12437. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12438. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12439. parse_socaches_loading:
  12440. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12441. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12442. input, &socaches_loading_)));
  12443. set_has_socaches_loading();
  12444. } else {
  12445. goto handle_uninterpreted;
  12446. }
  12447. if (input->ExpectTag(80)) goto parse_writeback_queue;
  12448. break;
  12449. }
  12450. // optional uint32 writeback_queue = 10;
  12451. case 10: {
  12452. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12453. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12454. parse_writeback_queue:
  12455. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12456. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12457. input, &writeback_queue_)));
  12458. set_has_writeback_queue();
  12459. } else {
  12460. goto handle_uninterpreted;
  12461. }
  12462. if (input->ExpectTag(88)) goto parse_steamid_locks;
  12463. break;
  12464. }
  12465. // optional uint32 steamid_locks = 11;
  12466. case 11: {
  12467. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12468. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12469. parse_steamid_locks:
  12470. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12471. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12472. input, &steamid_locks_)));
  12473. set_has_steamid_locks();
  12474. } else {
  12475. goto handle_uninterpreted;
  12476. }
  12477. if (input->ExpectTag(96)) goto parse_logon_queue;
  12478. break;
  12479. }
  12480. // optional uint32 logon_queue = 12;
  12481. case 12: {
  12482. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12483. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12484. parse_logon_queue:
  12485. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12486. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12487. input, &logon_queue_)));
  12488. set_has_logon_queue();
  12489. } else {
  12490. goto handle_uninterpreted;
  12491. }
  12492. if (input->ExpectTag(104)) goto parse_logon_jobs;
  12493. break;
  12494. }
  12495. // optional uint32 logon_jobs = 13;
  12496. case 13: {
  12497. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12498. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12499. parse_logon_jobs:
  12500. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12501. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  12502. input, &logon_jobs_)));
  12503. set_has_logon_jobs();
  12504. } else {
  12505. goto handle_uninterpreted;
  12506. }
  12507. if (input->ExpectAtEnd()) return true;
  12508. break;
  12509. }
  12510. default: {
  12511. handle_uninterpreted:
  12512. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12513. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12514. return true;
  12515. }
  12516. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12517. input, tag, mutable_unknown_fields()));
  12518. break;
  12519. }
  12520. }
  12521. }
  12522. return true;
  12523. #undef DO_
  12524. }
  12525. void CGCMsgGetSystemStatsResponse::SerializeWithCachedSizes(
  12526. ::google::protobuf::io::CodedOutputStream* output) const {
  12527. // optional uint32 gc_app_id = 1;
  12528. if (has_gc_app_id()) {
  12529. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gc_app_id(), output);
  12530. }
  12531. // optional bytes stats_kv = 2;
  12532. if (has_stats_kv()) {
  12533. ::google::protobuf::internal::WireFormatLite::WriteBytes(
  12534. 2, this->stats_kv(), output);
  12535. }
  12536. // optional uint32 active_jobs = 3;
  12537. if (has_active_jobs()) {
  12538. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->active_jobs(), output);
  12539. }
  12540. // optional uint32 yielding_jobs = 4;
  12541. if (has_yielding_jobs()) {
  12542. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->yielding_jobs(), output);
  12543. }
  12544. // optional uint32 user_sessions = 5;
  12545. if (has_user_sessions()) {
  12546. ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->user_sessions(), output);
  12547. }
  12548. // optional uint32 game_server_sessions = 6;
  12549. if (has_game_server_sessions()) {
  12550. ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->game_server_sessions(), output);
  12551. }
  12552. // optional uint32 socaches = 7;
  12553. if (has_socaches()) {
  12554. ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->socaches(), output);
  12555. }
  12556. // optional uint32 socaches_to_unload = 8;
  12557. if (has_socaches_to_unload()) {
  12558. ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->socaches_to_unload(), output);
  12559. }
  12560. // optional uint32 socaches_loading = 9;
  12561. if (has_socaches_loading()) {
  12562. ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->socaches_loading(), output);
  12563. }
  12564. // optional uint32 writeback_queue = 10;
  12565. if (has_writeback_queue()) {
  12566. ::google::protobuf::internal::WireFormatLite::WriteUInt32(10, this->writeback_queue(), output);
  12567. }
  12568. // optional uint32 steamid_locks = 11;
  12569. if (has_steamid_locks()) {
  12570. ::google::protobuf::internal::WireFormatLite::WriteUInt32(11, this->steamid_locks(), output);
  12571. }
  12572. // optional uint32 logon_queue = 12;
  12573. if (has_logon_queue()) {
  12574. ::google::protobuf::internal::WireFormatLite::WriteUInt32(12, this->logon_queue(), output);
  12575. }
  12576. // optional uint32 logon_jobs = 13;
  12577. if (has_logon_jobs()) {
  12578. ::google::protobuf::internal::WireFormatLite::WriteUInt32(13, this->logon_jobs(), output);
  12579. }
  12580. if (!unknown_fields().empty()) {
  12581. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12582. unknown_fields(), output);
  12583. }
  12584. }
  12585. ::google::protobuf::uint8* CGCMsgGetSystemStatsResponse::SerializeWithCachedSizesToArray(
  12586. ::google::protobuf::uint8* target) const {
  12587. // optional uint32 gc_app_id = 1;
  12588. if (has_gc_app_id()) {
  12589. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->gc_app_id(), target);
  12590. }
  12591. // optional bytes stats_kv = 2;
  12592. if (has_stats_kv()) {
  12593. target =
  12594. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  12595. 2, this->stats_kv(), target);
  12596. }
  12597. // optional uint32 active_jobs = 3;
  12598. if (has_active_jobs()) {
  12599. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->active_jobs(), target);
  12600. }
  12601. // optional uint32 yielding_jobs = 4;
  12602. if (has_yielding_jobs()) {
  12603. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->yielding_jobs(), target);
  12604. }
  12605. // optional uint32 user_sessions = 5;
  12606. if (has_user_sessions()) {
  12607. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->user_sessions(), target);
  12608. }
  12609. // optional uint32 game_server_sessions = 6;
  12610. if (has_game_server_sessions()) {
  12611. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->game_server_sessions(), target);
  12612. }
  12613. // optional uint32 socaches = 7;
  12614. if (has_socaches()) {
  12615. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->socaches(), target);
  12616. }
  12617. // optional uint32 socaches_to_unload = 8;
  12618. if (has_socaches_to_unload()) {
  12619. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(8, this->socaches_to_unload(), target);
  12620. }
  12621. // optional uint32 socaches_loading = 9;
  12622. if (has_socaches_loading()) {
  12623. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(9, this->socaches_loading(), target);
  12624. }
  12625. // optional uint32 writeback_queue = 10;
  12626. if (has_writeback_queue()) {
  12627. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(10, this->writeback_queue(), target);
  12628. }
  12629. // optional uint32 steamid_locks = 11;
  12630. if (has_steamid_locks()) {
  12631. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(11, this->steamid_locks(), target);
  12632. }
  12633. // optional uint32 logon_queue = 12;
  12634. if (has_logon_queue()) {
  12635. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(12, this->logon_queue(), target);
  12636. }
  12637. // optional uint32 logon_jobs = 13;
  12638. if (has_logon_jobs()) {
  12639. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(13, this->logon_jobs(), target);
  12640. }
  12641. if (!unknown_fields().empty()) {
  12642. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12643. unknown_fields(), target);
  12644. }
  12645. return target;
  12646. }
  12647. int CGCMsgGetSystemStatsResponse::ByteSize() const {
  12648. int total_size = 0;
  12649. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12650. // optional uint32 gc_app_id = 1;
  12651. if (has_gc_app_id()) {
  12652. total_size += 1 +
  12653. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12654. this->gc_app_id());
  12655. }
  12656. // optional bytes stats_kv = 2;
  12657. if (has_stats_kv()) {
  12658. total_size += 1 +
  12659. ::google::protobuf::internal::WireFormatLite::BytesSize(
  12660. this->stats_kv());
  12661. }
  12662. // optional uint32 active_jobs = 3;
  12663. if (has_active_jobs()) {
  12664. total_size += 1 +
  12665. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12666. this->active_jobs());
  12667. }
  12668. // optional uint32 yielding_jobs = 4;
  12669. if (has_yielding_jobs()) {
  12670. total_size += 1 +
  12671. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12672. this->yielding_jobs());
  12673. }
  12674. // optional uint32 user_sessions = 5;
  12675. if (has_user_sessions()) {
  12676. total_size += 1 +
  12677. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12678. this->user_sessions());
  12679. }
  12680. // optional uint32 game_server_sessions = 6;
  12681. if (has_game_server_sessions()) {
  12682. total_size += 1 +
  12683. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12684. this->game_server_sessions());
  12685. }
  12686. // optional uint32 socaches = 7;
  12687. if (has_socaches()) {
  12688. total_size += 1 +
  12689. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12690. this->socaches());
  12691. }
  12692. // optional uint32 socaches_to_unload = 8;
  12693. if (has_socaches_to_unload()) {
  12694. total_size += 1 +
  12695. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12696. this->socaches_to_unload());
  12697. }
  12698. }
  12699. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  12700. // optional uint32 socaches_loading = 9;
  12701. if (has_socaches_loading()) {
  12702. total_size += 1 +
  12703. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12704. this->socaches_loading());
  12705. }
  12706. // optional uint32 writeback_queue = 10;
  12707. if (has_writeback_queue()) {
  12708. total_size += 1 +
  12709. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12710. this->writeback_queue());
  12711. }
  12712. // optional uint32 steamid_locks = 11;
  12713. if (has_steamid_locks()) {
  12714. total_size += 1 +
  12715. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12716. this->steamid_locks());
  12717. }
  12718. // optional uint32 logon_queue = 12;
  12719. if (has_logon_queue()) {
  12720. total_size += 1 +
  12721. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12722. this->logon_queue());
  12723. }
  12724. // optional uint32 logon_jobs = 13;
  12725. if (has_logon_jobs()) {
  12726. total_size += 1 +
  12727. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  12728. this->logon_jobs());
  12729. }
  12730. }
  12731. if (!unknown_fields().empty()) {
  12732. total_size +=
  12733. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12734. unknown_fields());
  12735. }
  12736. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12737. _cached_size_ = total_size;
  12738. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12739. return total_size;
  12740. }
  12741. void CGCMsgGetSystemStatsResponse::MergeFrom(const ::google::protobuf::Message& from) {
  12742. GOOGLE_CHECK_NE(&from, this);
  12743. const CGCMsgGetSystemStatsResponse* source =
  12744. ::google::protobuf::internal::dynamic_cast_if_available<const CGCMsgGetSystemStatsResponse*>(
  12745. &from);
  12746. if (source == NULL) {
  12747. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12748. } else {
  12749. MergeFrom(*source);
  12750. }
  12751. }
  12752. void CGCMsgGetSystemStatsResponse::MergeFrom(const CGCMsgGetSystemStatsResponse& from) {
  12753. GOOGLE_CHECK_NE(&from, this);
  12754. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12755. if (from.has_gc_app_id()) {
  12756. set_gc_app_id(from.gc_app_id());
  12757. }
  12758. if (from.has_stats_kv()) {
  12759. set_stats_kv(from.stats_kv());
  12760. }
  12761. if (from.has_active_jobs()) {
  12762. set_active_jobs(from.active_jobs());
  12763. }
  12764. if (from.has_yielding_jobs()) {
  12765. set_yielding_jobs(from.yielding_jobs());
  12766. }
  12767. if (from.has_user_sessions()) {
  12768. set_user_sessions(from.user_sessions());
  12769. }
  12770. if (from.has_game_server_sessions()) {
  12771. set_game_server_sessions(from.game_server_sessions());
  12772. }
  12773. if (from.has_socaches()) {
  12774. set_socaches(from.socaches());
  12775. }
  12776. if (from.has_socaches_to_unload()) {
  12777. set_socaches_to_unload(from.socaches_to_unload());
  12778. }
  12779. }
  12780. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  12781. if (from.has_socaches_loading()) {
  12782. set_socaches_loading(from.socaches_loading());
  12783. }
  12784. if (from.has_writeback_queue()) {
  12785. set_writeback_queue(from.writeback_queue());
  12786. }
  12787. if (from.has_steamid_locks()) {
  12788. set_steamid_locks(from.steamid_locks());
  12789. }
  12790. if (from.has_logon_queue()) {
  12791. set_logon_queue(from.logon_queue());
  12792. }
  12793. if (from.has_logon_jobs()) {
  12794. set_logon_jobs(from.logon_jobs());
  12795. }
  12796. }
  12797. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12798. }
  12799. void CGCMsgGetSystemStatsResponse::CopyFrom(const ::google::protobuf::Message& from) {
  12800. if (&from == this) return;
  12801. Clear();
  12802. MergeFrom(from);
  12803. }
  12804. void CGCMsgGetSystemStatsResponse::CopyFrom(const CGCMsgGetSystemStatsResponse& from) {
  12805. if (&from == this) return;
  12806. Clear();
  12807. MergeFrom(from);
  12808. }
  12809. bool CGCMsgGetSystemStatsResponse::IsInitialized() const {
  12810. return true;
  12811. }
  12812. void CGCMsgGetSystemStatsResponse::Swap(CGCMsgGetSystemStatsResponse* other) {
  12813. if (other != this) {
  12814. std::swap(gc_app_id_, other->gc_app_id_);
  12815. std::swap(stats_kv_, other->stats_kv_);
  12816. std::swap(active_jobs_, other->active_jobs_);
  12817. std::swap(yielding_jobs_, other->yielding_jobs_);
  12818. std::swap(user_sessions_, other->user_sessions_);
  12819. std::swap(game_server_sessions_, other->game_server_sessions_);
  12820. std::swap(socaches_, other->socaches_);
  12821. std::swap(socaches_to_unload_, other->socaches_to_unload_);
  12822. std::swap(socaches_loading_, other->socaches_loading_);
  12823. std::swap(writeback_queue_, other->writeback_queue_);
  12824. std::swap(steamid_locks_, other->steamid_locks_);
  12825. std::swap(logon_queue_, other->logon_queue_);
  12826. std::swap(logon_jobs_, other->logon_jobs_);
  12827. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12828. _unknown_fields_.Swap(&other->_unknown_fields_);
  12829. std::swap(_cached_size_, other->_cached_size_);
  12830. }
  12831. }
  12832. ::google::protobuf::Metadata CGCMsgGetSystemStatsResponse::GetMetadata() const {
  12833. protobuf_AssignDescriptorsOnce();
  12834. ::google::protobuf::Metadata metadata;
  12835. metadata.descriptor = CGCMsgGetSystemStatsResponse_descriptor_;
  12836. metadata.reflection = CGCMsgGetSystemStatsResponse_reflection_;
  12837. return metadata;
  12838. }
  12839. // ===================================================================
  12840. #ifndef _MSC_VER
  12841. const int CMsgAMSendEmail_ReplacementToken::kTokenNameFieldNumber;
  12842. const int CMsgAMSendEmail_ReplacementToken::kTokenValueFieldNumber;
  12843. #endif // !_MSC_VER
  12844. CMsgAMSendEmail_ReplacementToken::CMsgAMSendEmail_ReplacementToken()
  12845. : ::google::protobuf::Message() {
  12846. SharedCtor();
  12847. }
  12848. void CMsgAMSendEmail_ReplacementToken::InitAsDefaultInstance() {
  12849. }
  12850. CMsgAMSendEmail_ReplacementToken::CMsgAMSendEmail_ReplacementToken(const CMsgAMSendEmail_ReplacementToken& from)
  12851. : ::google::protobuf::Message() {
  12852. SharedCtor();
  12853. MergeFrom(from);
  12854. }
  12855. void CMsgAMSendEmail_ReplacementToken::SharedCtor() {
  12856. _cached_size_ = 0;
  12857. token_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  12858. token_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  12859. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12860. }
  12861. CMsgAMSendEmail_ReplacementToken::~CMsgAMSendEmail_ReplacementToken() {
  12862. SharedDtor();
  12863. }
  12864. void CMsgAMSendEmail_ReplacementToken::SharedDtor() {
  12865. if (token_name_ != &::google::protobuf::internal::kEmptyString) {
  12866. delete token_name_;
  12867. }
  12868. if (token_value_ != &::google::protobuf::internal::kEmptyString) {
  12869. delete token_value_;
  12870. }
  12871. if (this != default_instance_) {
  12872. }
  12873. }
  12874. void CMsgAMSendEmail_ReplacementToken::SetCachedSize(int size) const {
  12875. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12876. _cached_size_ = size;
  12877. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12878. }
  12879. const ::google::protobuf::Descriptor* CMsgAMSendEmail_ReplacementToken::descriptor() {
  12880. protobuf_AssignDescriptorsOnce();
  12881. return CMsgAMSendEmail_ReplacementToken_descriptor_;
  12882. }
  12883. const CMsgAMSendEmail_ReplacementToken& CMsgAMSendEmail_ReplacementToken::default_instance() {
  12884. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  12885. return *default_instance_;
  12886. }
  12887. CMsgAMSendEmail_ReplacementToken* CMsgAMSendEmail_ReplacementToken::default_instance_ = NULL;
  12888. CMsgAMSendEmail_ReplacementToken* CMsgAMSendEmail_ReplacementToken::New() const {
  12889. return new CMsgAMSendEmail_ReplacementToken;
  12890. }
  12891. void CMsgAMSendEmail_ReplacementToken::Clear() {
  12892. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12893. if (has_token_name()) {
  12894. if (token_name_ != &::google::protobuf::internal::kEmptyString) {
  12895. token_name_->clear();
  12896. }
  12897. }
  12898. if (has_token_value()) {
  12899. if (token_value_ != &::google::protobuf::internal::kEmptyString) {
  12900. token_value_->clear();
  12901. }
  12902. }
  12903. }
  12904. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12905. mutable_unknown_fields()->Clear();
  12906. }
  12907. bool CMsgAMSendEmail_ReplacementToken::MergePartialFromCodedStream(
  12908. ::google::protobuf::io::CodedInputStream* input) {
  12909. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12910. ::google::protobuf::uint32 tag;
  12911. while ((tag = input->ReadTag()) != 0) {
  12912. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12913. // optional string token_name = 1;
  12914. case 1: {
  12915. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12916. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12917. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12918. input, this->mutable_token_name()));
  12919. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12920. this->token_name().data(), this->token_name().length(),
  12921. ::google::protobuf::internal::WireFormat::PARSE);
  12922. } else {
  12923. goto handle_uninterpreted;
  12924. }
  12925. if (input->ExpectTag(18)) goto parse_token_value;
  12926. break;
  12927. }
  12928. // optional string token_value = 2;
  12929. case 2: {
  12930. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12931. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12932. parse_token_value:
  12933. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12934. input, this->mutable_token_value()));
  12935. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12936. this->token_value().data(), this->token_value().length(),
  12937. ::google::protobuf::internal::WireFormat::PARSE);
  12938. } else {
  12939. goto handle_uninterpreted;
  12940. }
  12941. if (input->ExpectAtEnd()) return true;
  12942. break;
  12943. }
  12944. default: {
  12945. handle_uninterpreted:
  12946. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12947. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12948. return true;
  12949. }
  12950. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12951. input, tag, mutable_unknown_fields()));
  12952. break;
  12953. }
  12954. }
  12955. }
  12956. return true;
  12957. #undef DO_
  12958. }
  12959. void CMsgAMSendEmail_ReplacementToken::SerializeWithCachedSizes(
  12960. ::google::protobuf::io::CodedOutputStream* output) const {
  12961. // optional string token_name = 1;
  12962. if (has_token_name()) {
  12963. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12964. this->token_name().data(), this->token_name().length(),
  12965. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12966. ::google::protobuf::internal::WireFormatLite::WriteString(
  12967. 1, this->token_name(), output);
  12968. }
  12969. // optional string token_value = 2;
  12970. if (has_token_value()) {
  12971. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12972. this->token_value().data(), this->token_value().length(),
  12973. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12974. ::google::protobuf::internal::WireFormatLite::WriteString(
  12975. 2, this->token_value(), output);
  12976. }
  12977. if (!unknown_fields().empty()) {
  12978. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12979. unknown_fields(), output);
  12980. }
  12981. }
  12982. ::google::protobuf::uint8* CMsgAMSendEmail_ReplacementToken::SerializeWithCachedSizesToArray(
  12983. ::google::protobuf::uint8* target) const {
  12984. // optional string token_name = 1;
  12985. if (has_token_name()) {
  12986. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12987. this->token_name().data(), this->token_name().length(),
  12988. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12989. target =
  12990. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12991. 1, this->token_name(), target);
  12992. }
  12993. // optional string token_value = 2;
  12994. if (has_token_value()) {
  12995. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  12996. this->token_value().data(), this->token_value().length(),
  12997. ::google::protobuf::internal::WireFormat::SERIALIZE);
  12998. target =
  12999. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  13000. 2, this->token_value(), target);
  13001. }
  13002. if (!unknown_fields().empty()) {
  13003. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13004. unknown_fields(), target);
  13005. }
  13006. return target;
  13007. }
  13008. int CMsgAMSendEmail_ReplacementToken::ByteSize() const {
  13009. int total_size = 0;
  13010. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13011. // optional string token_name = 1;
  13012. if (has_token_name()) {
  13013. total_size += 1 +
  13014. ::google::protobuf::internal::WireFormatLite::StringSize(
  13015. this->token_name());
  13016. }
  13017. // optional string token_value = 2;
  13018. if (has_token_value()) {
  13019. total_size += 1 +
  13020. ::google::protobuf::internal::WireFormatLite::StringSize(
  13021. this->token_value());
  13022. }
  13023. }
  13024. if (!unknown_fields().empty()) {
  13025. total_size +=
  13026. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13027. unknown_fields());
  13028. }
  13029. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13030. _cached_size_ = total_size;
  13031. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13032. return total_size;
  13033. }
  13034. void CMsgAMSendEmail_ReplacementToken::MergeFrom(const ::google::protobuf::Message& from) {
  13035. GOOGLE_CHECK_NE(&from, this);
  13036. const CMsgAMSendEmail_ReplacementToken* source =
  13037. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMSendEmail_ReplacementToken*>(
  13038. &from);
  13039. if (source == NULL) {
  13040. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13041. } else {
  13042. MergeFrom(*source);
  13043. }
  13044. }
  13045. void CMsgAMSendEmail_ReplacementToken::MergeFrom(const CMsgAMSendEmail_ReplacementToken& from) {
  13046. GOOGLE_CHECK_NE(&from, this);
  13047. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13048. if (from.has_token_name()) {
  13049. set_token_name(from.token_name());
  13050. }
  13051. if (from.has_token_value()) {
  13052. set_token_value(from.token_value());
  13053. }
  13054. }
  13055. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13056. }
  13057. void CMsgAMSendEmail_ReplacementToken::CopyFrom(const ::google::protobuf::Message& from) {
  13058. if (&from == this) return;
  13059. Clear();
  13060. MergeFrom(from);
  13061. }
  13062. void CMsgAMSendEmail_ReplacementToken::CopyFrom(const CMsgAMSendEmail_ReplacementToken& from) {
  13063. if (&from == this) return;
  13064. Clear();
  13065. MergeFrom(from);
  13066. }
  13067. bool CMsgAMSendEmail_ReplacementToken::IsInitialized() const {
  13068. return true;
  13069. }
  13070. void CMsgAMSendEmail_ReplacementToken::Swap(CMsgAMSendEmail_ReplacementToken* other) {
  13071. if (other != this) {
  13072. std::swap(token_name_, other->token_name_);
  13073. std::swap(token_value_, other->token_value_);
  13074. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13075. _unknown_fields_.Swap(&other->_unknown_fields_);
  13076. std::swap(_cached_size_, other->_cached_size_);
  13077. }
  13078. }
  13079. ::google::protobuf::Metadata CMsgAMSendEmail_ReplacementToken::GetMetadata() const {
  13080. protobuf_AssignDescriptorsOnce();
  13081. ::google::protobuf::Metadata metadata;
  13082. metadata.descriptor = CMsgAMSendEmail_ReplacementToken_descriptor_;
  13083. metadata.reflection = CMsgAMSendEmail_ReplacementToken_reflection_;
  13084. return metadata;
  13085. }
  13086. // -------------------------------------------------------------------
  13087. #ifndef _MSC_VER
  13088. const int CMsgAMSendEmail_PersonaNameReplacementToken::kSteamidFieldNumber;
  13089. const int CMsgAMSendEmail_PersonaNameReplacementToken::kTokenNameFieldNumber;
  13090. #endif // !_MSC_VER
  13091. CMsgAMSendEmail_PersonaNameReplacementToken::CMsgAMSendEmail_PersonaNameReplacementToken()
  13092. : ::google::protobuf::Message() {
  13093. SharedCtor();
  13094. }
  13095. void CMsgAMSendEmail_PersonaNameReplacementToken::InitAsDefaultInstance() {
  13096. }
  13097. CMsgAMSendEmail_PersonaNameReplacementToken::CMsgAMSendEmail_PersonaNameReplacementToken(const CMsgAMSendEmail_PersonaNameReplacementToken& from)
  13098. : ::google::protobuf::Message() {
  13099. SharedCtor();
  13100. MergeFrom(from);
  13101. }
  13102. void CMsgAMSendEmail_PersonaNameReplacementToken::SharedCtor() {
  13103. _cached_size_ = 0;
  13104. steamid_ = GOOGLE_ULONGLONG(0);
  13105. token_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  13106. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13107. }
  13108. CMsgAMSendEmail_PersonaNameReplacementToken::~CMsgAMSendEmail_PersonaNameReplacementToken() {
  13109. SharedDtor();
  13110. }
  13111. void CMsgAMSendEmail_PersonaNameReplacementToken::SharedDtor() {
  13112. if (token_name_ != &::google::protobuf::internal::kEmptyString) {
  13113. delete token_name_;
  13114. }
  13115. if (this != default_instance_) {
  13116. }
  13117. }
  13118. void CMsgAMSendEmail_PersonaNameReplacementToken::SetCachedSize(int size) const {
  13119. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13120. _cached_size_ = size;
  13121. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13122. }
  13123. const ::google::protobuf::Descriptor* CMsgAMSendEmail_PersonaNameReplacementToken::descriptor() {
  13124. protobuf_AssignDescriptorsOnce();
  13125. return CMsgAMSendEmail_PersonaNameReplacementToken_descriptor_;
  13126. }
  13127. const CMsgAMSendEmail_PersonaNameReplacementToken& CMsgAMSendEmail_PersonaNameReplacementToken::default_instance() {
  13128. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  13129. return *default_instance_;
  13130. }
  13131. CMsgAMSendEmail_PersonaNameReplacementToken* CMsgAMSendEmail_PersonaNameReplacementToken::default_instance_ = NULL;
  13132. CMsgAMSendEmail_PersonaNameReplacementToken* CMsgAMSendEmail_PersonaNameReplacementToken::New() const {
  13133. return new CMsgAMSendEmail_PersonaNameReplacementToken;
  13134. }
  13135. void CMsgAMSendEmail_PersonaNameReplacementToken::Clear() {
  13136. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13137. steamid_ = GOOGLE_ULONGLONG(0);
  13138. if (has_token_name()) {
  13139. if (token_name_ != &::google::protobuf::internal::kEmptyString) {
  13140. token_name_->clear();
  13141. }
  13142. }
  13143. }
  13144. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13145. mutable_unknown_fields()->Clear();
  13146. }
  13147. bool CMsgAMSendEmail_PersonaNameReplacementToken::MergePartialFromCodedStream(
  13148. ::google::protobuf::io::CodedInputStream* input) {
  13149. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13150. ::google::protobuf::uint32 tag;
  13151. while ((tag = input->ReadTag()) != 0) {
  13152. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13153. // optional fixed64 steamid = 1;
  13154. case 1: {
  13155. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13156. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  13157. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13158. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  13159. input, &steamid_)));
  13160. set_has_steamid();
  13161. } else {
  13162. goto handle_uninterpreted;
  13163. }
  13164. if (input->ExpectTag(18)) goto parse_token_name;
  13165. break;
  13166. }
  13167. // optional string token_name = 2;
  13168. case 2: {
  13169. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13170. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13171. parse_token_name:
  13172. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13173. input, this->mutable_token_name()));
  13174. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13175. this->token_name().data(), this->token_name().length(),
  13176. ::google::protobuf::internal::WireFormat::PARSE);
  13177. } else {
  13178. goto handle_uninterpreted;
  13179. }
  13180. if (input->ExpectAtEnd()) return true;
  13181. break;
  13182. }
  13183. default: {
  13184. handle_uninterpreted:
  13185. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13186. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13187. return true;
  13188. }
  13189. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13190. input, tag, mutable_unknown_fields()));
  13191. break;
  13192. }
  13193. }
  13194. }
  13195. return true;
  13196. #undef DO_
  13197. }
  13198. void CMsgAMSendEmail_PersonaNameReplacementToken::SerializeWithCachedSizes(
  13199. ::google::protobuf::io::CodedOutputStream* output) const {
  13200. // optional fixed64 steamid = 1;
  13201. if (has_steamid()) {
  13202. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steamid(), output);
  13203. }
  13204. // optional string token_name = 2;
  13205. if (has_token_name()) {
  13206. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13207. this->token_name().data(), this->token_name().length(),
  13208. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13209. ::google::protobuf::internal::WireFormatLite::WriteString(
  13210. 2, this->token_name(), output);
  13211. }
  13212. if (!unknown_fields().empty()) {
  13213. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13214. unknown_fields(), output);
  13215. }
  13216. }
  13217. ::google::protobuf::uint8* CMsgAMSendEmail_PersonaNameReplacementToken::SerializeWithCachedSizesToArray(
  13218. ::google::protobuf::uint8* target) const {
  13219. // optional fixed64 steamid = 1;
  13220. if (has_steamid()) {
  13221. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steamid(), target);
  13222. }
  13223. // optional string token_name = 2;
  13224. if (has_token_name()) {
  13225. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  13226. this->token_name().data(), this->token_name().length(),
  13227. ::google::protobuf::internal::WireFormat::SERIALIZE);
  13228. target =
  13229. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  13230. 2, this->token_name(), target);
  13231. }
  13232. if (!unknown_fields().empty()) {
  13233. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13234. unknown_fields(), target);
  13235. }
  13236. return target;
  13237. }
  13238. int CMsgAMSendEmail_PersonaNameReplacementToken::ByteSize() const {
  13239. int total_size = 0;
  13240. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13241. // optional fixed64 steamid = 1;
  13242. if (has_steamid()) {
  13243. total_size += 1 + 8;
  13244. }
  13245. // optional string token_name = 2;
  13246. if (has_token_name()) {
  13247. total_size += 1 +
  13248. ::google::protobuf::internal::WireFormatLite::StringSize(
  13249. this->token_name());
  13250. }
  13251. }
  13252. if (!unknown_fields().empty()) {
  13253. total_size +=
  13254. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13255. unknown_fields());
  13256. }
  13257. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13258. _cached_size_ = total_size;
  13259. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13260. return total_size;
  13261. }
  13262. void CMsgAMSendEmail_PersonaNameReplacementToken::MergeFrom(const ::google::protobuf::Message& from) {
  13263. GOOGLE_CHECK_NE(&from, this);
  13264. const CMsgAMSendEmail_PersonaNameReplacementToken* source =
  13265. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMSendEmail_PersonaNameReplacementToken*>(
  13266. &from);
  13267. if (source == NULL) {
  13268. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13269. } else {
  13270. MergeFrom(*source);
  13271. }
  13272. }
  13273. void CMsgAMSendEmail_PersonaNameReplacementToken::MergeFrom(const CMsgAMSendEmail_PersonaNameReplacementToken& from) {
  13274. GOOGLE_CHECK_NE(&from, this);
  13275. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13276. if (from.has_steamid()) {
  13277. set_steamid(from.steamid());
  13278. }
  13279. if (from.has_token_name()) {
  13280. set_token_name(from.token_name());
  13281. }
  13282. }
  13283. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13284. }
  13285. void CMsgAMSendEmail_PersonaNameReplacementToken::CopyFrom(const ::google::protobuf::Message& from) {
  13286. if (&from == this) return;
  13287. Clear();
  13288. MergeFrom(from);
  13289. }
  13290. void CMsgAMSendEmail_PersonaNameReplacementToken::CopyFrom(const CMsgAMSendEmail_PersonaNameReplacementToken& from) {
  13291. if (&from == this) return;
  13292. Clear();
  13293. MergeFrom(from);
  13294. }
  13295. bool CMsgAMSendEmail_PersonaNameReplacementToken::IsInitialized() const {
  13296. return true;
  13297. }
  13298. void CMsgAMSendEmail_PersonaNameReplacementToken::Swap(CMsgAMSendEmail_PersonaNameReplacementToken* other) {
  13299. if (other != this) {
  13300. std::swap(steamid_, other->steamid_);
  13301. std::swap(token_name_, other->token_name_);
  13302. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13303. _unknown_fields_.Swap(&other->_unknown_fields_);
  13304. std::swap(_cached_size_, other->_cached_size_);
  13305. }
  13306. }
  13307. ::google::protobuf::Metadata CMsgAMSendEmail_PersonaNameReplacementToken::GetMetadata() const {
  13308. protobuf_AssignDescriptorsOnce();
  13309. ::google::protobuf::Metadata metadata;
  13310. metadata.descriptor = CMsgAMSendEmail_PersonaNameReplacementToken_descriptor_;
  13311. metadata.reflection = CMsgAMSendEmail_PersonaNameReplacementToken_reflection_;
  13312. return metadata;
  13313. }
  13314. // -------------------------------------------------------------------
  13315. #ifndef _MSC_VER
  13316. const int CMsgAMSendEmail::kSteamidFieldNumber;
  13317. const int CMsgAMSendEmail::kEmailMsgTypeFieldNumber;
  13318. const int CMsgAMSendEmail::kEmailFormatFieldNumber;
  13319. const int CMsgAMSendEmail::kPersonaNameTokensFieldNumber;
  13320. const int CMsgAMSendEmail::kSourceGcFieldNumber;
  13321. const int CMsgAMSendEmail::kTokensFieldNumber;
  13322. #endif // !_MSC_VER
  13323. CMsgAMSendEmail::CMsgAMSendEmail()
  13324. : ::google::protobuf::Message() {
  13325. SharedCtor();
  13326. }
  13327. void CMsgAMSendEmail::InitAsDefaultInstance() {
  13328. }
  13329. CMsgAMSendEmail::CMsgAMSendEmail(const CMsgAMSendEmail& from)
  13330. : ::google::protobuf::Message() {
  13331. SharedCtor();
  13332. MergeFrom(from);
  13333. }
  13334. void CMsgAMSendEmail::SharedCtor() {
  13335. _cached_size_ = 0;
  13336. steamid_ = GOOGLE_ULONGLONG(0);
  13337. email_msg_type_ = 0u;
  13338. email_format_ = 0u;
  13339. source_gc_ = 0u;
  13340. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13341. }
  13342. CMsgAMSendEmail::~CMsgAMSendEmail() {
  13343. SharedDtor();
  13344. }
  13345. void CMsgAMSendEmail::SharedDtor() {
  13346. if (this != default_instance_) {
  13347. }
  13348. }
  13349. void CMsgAMSendEmail::SetCachedSize(int size) const {
  13350. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13351. _cached_size_ = size;
  13352. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13353. }
  13354. const ::google::protobuf::Descriptor* CMsgAMSendEmail::descriptor() {
  13355. protobuf_AssignDescriptorsOnce();
  13356. return CMsgAMSendEmail_descriptor_;
  13357. }
  13358. const CMsgAMSendEmail& CMsgAMSendEmail::default_instance() {
  13359. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  13360. return *default_instance_;
  13361. }
  13362. CMsgAMSendEmail* CMsgAMSendEmail::default_instance_ = NULL;
  13363. CMsgAMSendEmail* CMsgAMSendEmail::New() const {
  13364. return new CMsgAMSendEmail;
  13365. }
  13366. void CMsgAMSendEmail::Clear() {
  13367. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13368. steamid_ = GOOGLE_ULONGLONG(0);
  13369. email_msg_type_ = 0u;
  13370. email_format_ = 0u;
  13371. source_gc_ = 0u;
  13372. }
  13373. persona_name_tokens_.Clear();
  13374. tokens_.Clear();
  13375. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13376. mutable_unknown_fields()->Clear();
  13377. }
  13378. bool CMsgAMSendEmail::MergePartialFromCodedStream(
  13379. ::google::protobuf::io::CodedInputStream* input) {
  13380. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13381. ::google::protobuf::uint32 tag;
  13382. while ((tag = input->ReadTag()) != 0) {
  13383. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13384. // optional fixed64 steamid = 1;
  13385. case 1: {
  13386. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13387. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  13388. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13389. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  13390. input, &steamid_)));
  13391. set_has_steamid();
  13392. } else {
  13393. goto handle_uninterpreted;
  13394. }
  13395. if (input->ExpectTag(16)) goto parse_email_msg_type;
  13396. break;
  13397. }
  13398. // optional uint32 email_msg_type = 2;
  13399. case 2: {
  13400. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13401. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13402. parse_email_msg_type:
  13403. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13404. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13405. input, &email_msg_type_)));
  13406. set_has_email_msg_type();
  13407. } else {
  13408. goto handle_uninterpreted;
  13409. }
  13410. if (input->ExpectTag(24)) goto parse_email_format;
  13411. break;
  13412. }
  13413. // optional uint32 email_format = 3;
  13414. case 3: {
  13415. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13416. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13417. parse_email_format:
  13418. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13419. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13420. input, &email_format_)));
  13421. set_has_email_format();
  13422. } else {
  13423. goto handle_uninterpreted;
  13424. }
  13425. if (input->ExpectTag(42)) goto parse_persona_name_tokens;
  13426. break;
  13427. }
  13428. // repeated .CMsgAMSendEmail.PersonaNameReplacementToken persona_name_tokens = 5;
  13429. case 5: {
  13430. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13431. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13432. parse_persona_name_tokens:
  13433. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  13434. input, add_persona_name_tokens()));
  13435. } else {
  13436. goto handle_uninterpreted;
  13437. }
  13438. if (input->ExpectTag(42)) goto parse_persona_name_tokens;
  13439. if (input->ExpectTag(48)) goto parse_source_gc;
  13440. break;
  13441. }
  13442. // optional uint32 source_gc = 6;
  13443. case 6: {
  13444. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13445. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13446. parse_source_gc:
  13447. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13448. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13449. input, &source_gc_)));
  13450. set_has_source_gc();
  13451. } else {
  13452. goto handle_uninterpreted;
  13453. }
  13454. if (input->ExpectTag(58)) goto parse_tokens;
  13455. break;
  13456. }
  13457. // repeated .CMsgAMSendEmail.ReplacementToken tokens = 7;
  13458. case 7: {
  13459. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13460. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13461. parse_tokens:
  13462. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  13463. input, add_tokens()));
  13464. } else {
  13465. goto handle_uninterpreted;
  13466. }
  13467. if (input->ExpectTag(58)) goto parse_tokens;
  13468. if (input->ExpectAtEnd()) return true;
  13469. break;
  13470. }
  13471. default: {
  13472. handle_uninterpreted:
  13473. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13474. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13475. return true;
  13476. }
  13477. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13478. input, tag, mutable_unknown_fields()));
  13479. break;
  13480. }
  13481. }
  13482. }
  13483. return true;
  13484. #undef DO_
  13485. }
  13486. void CMsgAMSendEmail::SerializeWithCachedSizes(
  13487. ::google::protobuf::io::CodedOutputStream* output) const {
  13488. // optional fixed64 steamid = 1;
  13489. if (has_steamid()) {
  13490. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steamid(), output);
  13491. }
  13492. // optional uint32 email_msg_type = 2;
  13493. if (has_email_msg_type()) {
  13494. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->email_msg_type(), output);
  13495. }
  13496. // optional uint32 email_format = 3;
  13497. if (has_email_format()) {
  13498. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->email_format(), output);
  13499. }
  13500. // repeated .CMsgAMSendEmail.PersonaNameReplacementToken persona_name_tokens = 5;
  13501. for (int i = 0; i < this->persona_name_tokens_size(); i++) {
  13502. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  13503. 5, this->persona_name_tokens(i), output);
  13504. }
  13505. // optional uint32 source_gc = 6;
  13506. if (has_source_gc()) {
  13507. ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->source_gc(), output);
  13508. }
  13509. // repeated .CMsgAMSendEmail.ReplacementToken tokens = 7;
  13510. for (int i = 0; i < this->tokens_size(); i++) {
  13511. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  13512. 7, this->tokens(i), output);
  13513. }
  13514. if (!unknown_fields().empty()) {
  13515. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13516. unknown_fields(), output);
  13517. }
  13518. }
  13519. ::google::protobuf::uint8* CMsgAMSendEmail::SerializeWithCachedSizesToArray(
  13520. ::google::protobuf::uint8* target) const {
  13521. // optional fixed64 steamid = 1;
  13522. if (has_steamid()) {
  13523. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steamid(), target);
  13524. }
  13525. // optional uint32 email_msg_type = 2;
  13526. if (has_email_msg_type()) {
  13527. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->email_msg_type(), target);
  13528. }
  13529. // optional uint32 email_format = 3;
  13530. if (has_email_format()) {
  13531. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->email_format(), target);
  13532. }
  13533. // repeated .CMsgAMSendEmail.PersonaNameReplacementToken persona_name_tokens = 5;
  13534. for (int i = 0; i < this->persona_name_tokens_size(); i++) {
  13535. target = ::google::protobuf::internal::WireFormatLite::
  13536. WriteMessageNoVirtualToArray(
  13537. 5, this->persona_name_tokens(i), target);
  13538. }
  13539. // optional uint32 source_gc = 6;
  13540. if (has_source_gc()) {
  13541. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->source_gc(), target);
  13542. }
  13543. // repeated .CMsgAMSendEmail.ReplacementToken tokens = 7;
  13544. for (int i = 0; i < this->tokens_size(); i++) {
  13545. target = ::google::protobuf::internal::WireFormatLite::
  13546. WriteMessageNoVirtualToArray(
  13547. 7, this->tokens(i), target);
  13548. }
  13549. if (!unknown_fields().empty()) {
  13550. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13551. unknown_fields(), target);
  13552. }
  13553. return target;
  13554. }
  13555. int CMsgAMSendEmail::ByteSize() const {
  13556. int total_size = 0;
  13557. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13558. // optional fixed64 steamid = 1;
  13559. if (has_steamid()) {
  13560. total_size += 1 + 8;
  13561. }
  13562. // optional uint32 email_msg_type = 2;
  13563. if (has_email_msg_type()) {
  13564. total_size += 1 +
  13565. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  13566. this->email_msg_type());
  13567. }
  13568. // optional uint32 email_format = 3;
  13569. if (has_email_format()) {
  13570. total_size += 1 +
  13571. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  13572. this->email_format());
  13573. }
  13574. // optional uint32 source_gc = 6;
  13575. if (has_source_gc()) {
  13576. total_size += 1 +
  13577. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  13578. this->source_gc());
  13579. }
  13580. }
  13581. // repeated .CMsgAMSendEmail.PersonaNameReplacementToken persona_name_tokens = 5;
  13582. total_size += 1 * this->persona_name_tokens_size();
  13583. for (int i = 0; i < this->persona_name_tokens_size(); i++) {
  13584. total_size +=
  13585. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  13586. this->persona_name_tokens(i));
  13587. }
  13588. // repeated .CMsgAMSendEmail.ReplacementToken tokens = 7;
  13589. total_size += 1 * this->tokens_size();
  13590. for (int i = 0; i < this->tokens_size(); i++) {
  13591. total_size +=
  13592. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  13593. this->tokens(i));
  13594. }
  13595. if (!unknown_fields().empty()) {
  13596. total_size +=
  13597. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13598. unknown_fields());
  13599. }
  13600. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13601. _cached_size_ = total_size;
  13602. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13603. return total_size;
  13604. }
  13605. void CMsgAMSendEmail::MergeFrom(const ::google::protobuf::Message& from) {
  13606. GOOGLE_CHECK_NE(&from, this);
  13607. const CMsgAMSendEmail* source =
  13608. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMSendEmail*>(
  13609. &from);
  13610. if (source == NULL) {
  13611. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13612. } else {
  13613. MergeFrom(*source);
  13614. }
  13615. }
  13616. void CMsgAMSendEmail::MergeFrom(const CMsgAMSendEmail& from) {
  13617. GOOGLE_CHECK_NE(&from, this);
  13618. persona_name_tokens_.MergeFrom(from.persona_name_tokens_);
  13619. tokens_.MergeFrom(from.tokens_);
  13620. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13621. if (from.has_steamid()) {
  13622. set_steamid(from.steamid());
  13623. }
  13624. if (from.has_email_msg_type()) {
  13625. set_email_msg_type(from.email_msg_type());
  13626. }
  13627. if (from.has_email_format()) {
  13628. set_email_format(from.email_format());
  13629. }
  13630. if (from.has_source_gc()) {
  13631. set_source_gc(from.source_gc());
  13632. }
  13633. }
  13634. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13635. }
  13636. void CMsgAMSendEmail::CopyFrom(const ::google::protobuf::Message& from) {
  13637. if (&from == this) return;
  13638. Clear();
  13639. MergeFrom(from);
  13640. }
  13641. void CMsgAMSendEmail::CopyFrom(const CMsgAMSendEmail& from) {
  13642. if (&from == this) return;
  13643. Clear();
  13644. MergeFrom(from);
  13645. }
  13646. bool CMsgAMSendEmail::IsInitialized() const {
  13647. return true;
  13648. }
  13649. void CMsgAMSendEmail::Swap(CMsgAMSendEmail* other) {
  13650. if (other != this) {
  13651. std::swap(steamid_, other->steamid_);
  13652. std::swap(email_msg_type_, other->email_msg_type_);
  13653. std::swap(email_format_, other->email_format_);
  13654. persona_name_tokens_.Swap(&other->persona_name_tokens_);
  13655. std::swap(source_gc_, other->source_gc_);
  13656. tokens_.Swap(&other->tokens_);
  13657. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13658. _unknown_fields_.Swap(&other->_unknown_fields_);
  13659. std::swap(_cached_size_, other->_cached_size_);
  13660. }
  13661. }
  13662. ::google::protobuf::Metadata CMsgAMSendEmail::GetMetadata() const {
  13663. protobuf_AssignDescriptorsOnce();
  13664. ::google::protobuf::Metadata metadata;
  13665. metadata.descriptor = CMsgAMSendEmail_descriptor_;
  13666. metadata.reflection = CMsgAMSendEmail_reflection_;
  13667. return metadata;
  13668. }
  13669. // ===================================================================
  13670. #ifndef _MSC_VER
  13671. const int CMsgAMSendEmailResponse::kEresultFieldNumber;
  13672. #endif // !_MSC_VER
  13673. CMsgAMSendEmailResponse::CMsgAMSendEmailResponse()
  13674. : ::google::protobuf::Message() {
  13675. SharedCtor();
  13676. }
  13677. void CMsgAMSendEmailResponse::InitAsDefaultInstance() {
  13678. }
  13679. CMsgAMSendEmailResponse::CMsgAMSendEmailResponse(const CMsgAMSendEmailResponse& from)
  13680. : ::google::protobuf::Message() {
  13681. SharedCtor();
  13682. MergeFrom(from);
  13683. }
  13684. void CMsgAMSendEmailResponse::SharedCtor() {
  13685. _cached_size_ = 0;
  13686. eresult_ = 2u;
  13687. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13688. }
  13689. CMsgAMSendEmailResponse::~CMsgAMSendEmailResponse() {
  13690. SharedDtor();
  13691. }
  13692. void CMsgAMSendEmailResponse::SharedDtor() {
  13693. if (this != default_instance_) {
  13694. }
  13695. }
  13696. void CMsgAMSendEmailResponse::SetCachedSize(int size) const {
  13697. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13698. _cached_size_ = size;
  13699. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13700. }
  13701. const ::google::protobuf::Descriptor* CMsgAMSendEmailResponse::descriptor() {
  13702. protobuf_AssignDescriptorsOnce();
  13703. return CMsgAMSendEmailResponse_descriptor_;
  13704. }
  13705. const CMsgAMSendEmailResponse& CMsgAMSendEmailResponse::default_instance() {
  13706. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  13707. return *default_instance_;
  13708. }
  13709. CMsgAMSendEmailResponse* CMsgAMSendEmailResponse::default_instance_ = NULL;
  13710. CMsgAMSendEmailResponse* CMsgAMSendEmailResponse::New() const {
  13711. return new CMsgAMSendEmailResponse;
  13712. }
  13713. void CMsgAMSendEmailResponse::Clear() {
  13714. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13715. eresult_ = 2u;
  13716. }
  13717. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13718. mutable_unknown_fields()->Clear();
  13719. }
  13720. bool CMsgAMSendEmailResponse::MergePartialFromCodedStream(
  13721. ::google::protobuf::io::CodedInputStream* input) {
  13722. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13723. ::google::protobuf::uint32 tag;
  13724. while ((tag = input->ReadTag()) != 0) {
  13725. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13726. // optional uint32 eresult = 1 [default = 2];
  13727. case 1: {
  13728. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13729. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13730. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13731. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13732. input, &eresult_)));
  13733. set_has_eresult();
  13734. } else {
  13735. goto handle_uninterpreted;
  13736. }
  13737. if (input->ExpectAtEnd()) return true;
  13738. break;
  13739. }
  13740. default: {
  13741. handle_uninterpreted:
  13742. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13743. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13744. return true;
  13745. }
  13746. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13747. input, tag, mutable_unknown_fields()));
  13748. break;
  13749. }
  13750. }
  13751. }
  13752. return true;
  13753. #undef DO_
  13754. }
  13755. void CMsgAMSendEmailResponse::SerializeWithCachedSizes(
  13756. ::google::protobuf::io::CodedOutputStream* output) const {
  13757. // optional uint32 eresult = 1 [default = 2];
  13758. if (has_eresult()) {
  13759. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->eresult(), output);
  13760. }
  13761. if (!unknown_fields().empty()) {
  13762. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13763. unknown_fields(), output);
  13764. }
  13765. }
  13766. ::google::protobuf::uint8* CMsgAMSendEmailResponse::SerializeWithCachedSizesToArray(
  13767. ::google::protobuf::uint8* target) const {
  13768. // optional uint32 eresult = 1 [default = 2];
  13769. if (has_eresult()) {
  13770. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->eresult(), target);
  13771. }
  13772. if (!unknown_fields().empty()) {
  13773. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13774. unknown_fields(), target);
  13775. }
  13776. return target;
  13777. }
  13778. int CMsgAMSendEmailResponse::ByteSize() const {
  13779. int total_size = 0;
  13780. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13781. // optional uint32 eresult = 1 [default = 2];
  13782. if (has_eresult()) {
  13783. total_size += 1 +
  13784. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  13785. this->eresult());
  13786. }
  13787. }
  13788. if (!unknown_fields().empty()) {
  13789. total_size +=
  13790. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13791. unknown_fields());
  13792. }
  13793. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13794. _cached_size_ = total_size;
  13795. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13796. return total_size;
  13797. }
  13798. void CMsgAMSendEmailResponse::MergeFrom(const ::google::protobuf::Message& from) {
  13799. GOOGLE_CHECK_NE(&from, this);
  13800. const CMsgAMSendEmailResponse* source =
  13801. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMSendEmailResponse*>(
  13802. &from);
  13803. if (source == NULL) {
  13804. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13805. } else {
  13806. MergeFrom(*source);
  13807. }
  13808. }
  13809. void CMsgAMSendEmailResponse::MergeFrom(const CMsgAMSendEmailResponse& from) {
  13810. GOOGLE_CHECK_NE(&from, this);
  13811. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13812. if (from.has_eresult()) {
  13813. set_eresult(from.eresult());
  13814. }
  13815. }
  13816. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13817. }
  13818. void CMsgAMSendEmailResponse::CopyFrom(const ::google::protobuf::Message& from) {
  13819. if (&from == this) return;
  13820. Clear();
  13821. MergeFrom(from);
  13822. }
  13823. void CMsgAMSendEmailResponse::CopyFrom(const CMsgAMSendEmailResponse& from) {
  13824. if (&from == this) return;
  13825. Clear();
  13826. MergeFrom(from);
  13827. }
  13828. bool CMsgAMSendEmailResponse::IsInitialized() const {
  13829. return true;
  13830. }
  13831. void CMsgAMSendEmailResponse::Swap(CMsgAMSendEmailResponse* other) {
  13832. if (other != this) {
  13833. std::swap(eresult_, other->eresult_);
  13834. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13835. _unknown_fields_.Swap(&other->_unknown_fields_);
  13836. std::swap(_cached_size_, other->_cached_size_);
  13837. }
  13838. }
  13839. ::google::protobuf::Metadata CMsgAMSendEmailResponse::GetMetadata() const {
  13840. protobuf_AssignDescriptorsOnce();
  13841. ::google::protobuf::Metadata metadata;
  13842. metadata.descriptor = CMsgAMSendEmailResponse_descriptor_;
  13843. metadata.reflection = CMsgAMSendEmailResponse_reflection_;
  13844. return metadata;
  13845. }
  13846. // ===================================================================
  13847. #ifndef _MSC_VER
  13848. const int CMsgGCGetEmailTemplate::kAppIdFieldNumber;
  13849. const int CMsgGCGetEmailTemplate::kEmailMsgTypeFieldNumber;
  13850. const int CMsgGCGetEmailTemplate::kEmailLangFieldNumber;
  13851. const int CMsgGCGetEmailTemplate::kEmailFormatFieldNumber;
  13852. #endif // !_MSC_VER
  13853. CMsgGCGetEmailTemplate::CMsgGCGetEmailTemplate()
  13854. : ::google::protobuf::Message() {
  13855. SharedCtor();
  13856. }
  13857. void CMsgGCGetEmailTemplate::InitAsDefaultInstance() {
  13858. }
  13859. CMsgGCGetEmailTemplate::CMsgGCGetEmailTemplate(const CMsgGCGetEmailTemplate& from)
  13860. : ::google::protobuf::Message() {
  13861. SharedCtor();
  13862. MergeFrom(from);
  13863. }
  13864. void CMsgGCGetEmailTemplate::SharedCtor() {
  13865. _cached_size_ = 0;
  13866. app_id_ = 0u;
  13867. email_msg_type_ = 0u;
  13868. email_lang_ = 0;
  13869. email_format_ = 0;
  13870. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13871. }
  13872. CMsgGCGetEmailTemplate::~CMsgGCGetEmailTemplate() {
  13873. SharedDtor();
  13874. }
  13875. void CMsgGCGetEmailTemplate::SharedDtor() {
  13876. if (this != default_instance_) {
  13877. }
  13878. }
  13879. void CMsgGCGetEmailTemplate::SetCachedSize(int size) const {
  13880. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13881. _cached_size_ = size;
  13882. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13883. }
  13884. const ::google::protobuf::Descriptor* CMsgGCGetEmailTemplate::descriptor() {
  13885. protobuf_AssignDescriptorsOnce();
  13886. return CMsgGCGetEmailTemplate_descriptor_;
  13887. }
  13888. const CMsgGCGetEmailTemplate& CMsgGCGetEmailTemplate::default_instance() {
  13889. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  13890. return *default_instance_;
  13891. }
  13892. CMsgGCGetEmailTemplate* CMsgGCGetEmailTemplate::default_instance_ = NULL;
  13893. CMsgGCGetEmailTemplate* CMsgGCGetEmailTemplate::New() const {
  13894. return new CMsgGCGetEmailTemplate;
  13895. }
  13896. void CMsgGCGetEmailTemplate::Clear() {
  13897. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13898. app_id_ = 0u;
  13899. email_msg_type_ = 0u;
  13900. email_lang_ = 0;
  13901. email_format_ = 0;
  13902. }
  13903. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13904. mutable_unknown_fields()->Clear();
  13905. }
  13906. bool CMsgGCGetEmailTemplate::MergePartialFromCodedStream(
  13907. ::google::protobuf::io::CodedInputStream* input) {
  13908. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13909. ::google::protobuf::uint32 tag;
  13910. while ((tag = input->ReadTag()) != 0) {
  13911. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13912. // optional uint32 app_id = 1;
  13913. case 1: {
  13914. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13915. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13916. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13917. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13918. input, &app_id_)));
  13919. set_has_app_id();
  13920. } else {
  13921. goto handle_uninterpreted;
  13922. }
  13923. if (input->ExpectTag(16)) goto parse_email_msg_type;
  13924. break;
  13925. }
  13926. // optional uint32 email_msg_type = 2;
  13927. case 2: {
  13928. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13929. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13930. parse_email_msg_type:
  13931. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13932. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  13933. input, &email_msg_type_)));
  13934. set_has_email_msg_type();
  13935. } else {
  13936. goto handle_uninterpreted;
  13937. }
  13938. if (input->ExpectTag(24)) goto parse_email_lang;
  13939. break;
  13940. }
  13941. // optional int32 email_lang = 3;
  13942. case 3: {
  13943. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13944. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13945. parse_email_lang:
  13946. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13947. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13948. input, &email_lang_)));
  13949. set_has_email_lang();
  13950. } else {
  13951. goto handle_uninterpreted;
  13952. }
  13953. if (input->ExpectTag(32)) goto parse_email_format;
  13954. break;
  13955. }
  13956. // optional int32 email_format = 4;
  13957. case 4: {
  13958. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13959. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13960. parse_email_format:
  13961. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13962. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13963. input, &email_format_)));
  13964. set_has_email_format();
  13965. } else {
  13966. goto handle_uninterpreted;
  13967. }
  13968. if (input->ExpectAtEnd()) return true;
  13969. break;
  13970. }
  13971. default: {
  13972. handle_uninterpreted:
  13973. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13974. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13975. return true;
  13976. }
  13977. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13978. input, tag, mutable_unknown_fields()));
  13979. break;
  13980. }
  13981. }
  13982. }
  13983. return true;
  13984. #undef DO_
  13985. }
  13986. void CMsgGCGetEmailTemplate::SerializeWithCachedSizes(
  13987. ::google::protobuf::io::CodedOutputStream* output) const {
  13988. // optional uint32 app_id = 1;
  13989. if (has_app_id()) {
  13990. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->app_id(), output);
  13991. }
  13992. // optional uint32 email_msg_type = 2;
  13993. if (has_email_msg_type()) {
  13994. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->email_msg_type(), output);
  13995. }
  13996. // optional int32 email_lang = 3;
  13997. if (has_email_lang()) {
  13998. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->email_lang(), output);
  13999. }
  14000. // optional int32 email_format = 4;
  14001. if (has_email_format()) {
  14002. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->email_format(), output);
  14003. }
  14004. if (!unknown_fields().empty()) {
  14005. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14006. unknown_fields(), output);
  14007. }
  14008. }
  14009. ::google::protobuf::uint8* CMsgGCGetEmailTemplate::SerializeWithCachedSizesToArray(
  14010. ::google::protobuf::uint8* target) const {
  14011. // optional uint32 app_id = 1;
  14012. if (has_app_id()) {
  14013. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->app_id(), target);
  14014. }
  14015. // optional uint32 email_msg_type = 2;
  14016. if (has_email_msg_type()) {
  14017. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->email_msg_type(), target);
  14018. }
  14019. // optional int32 email_lang = 3;
  14020. if (has_email_lang()) {
  14021. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->email_lang(), target);
  14022. }
  14023. // optional int32 email_format = 4;
  14024. if (has_email_format()) {
  14025. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->email_format(), target);
  14026. }
  14027. if (!unknown_fields().empty()) {
  14028. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14029. unknown_fields(), target);
  14030. }
  14031. return target;
  14032. }
  14033. int CMsgGCGetEmailTemplate::ByteSize() const {
  14034. int total_size = 0;
  14035. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14036. // optional uint32 app_id = 1;
  14037. if (has_app_id()) {
  14038. total_size += 1 +
  14039. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  14040. this->app_id());
  14041. }
  14042. // optional uint32 email_msg_type = 2;
  14043. if (has_email_msg_type()) {
  14044. total_size += 1 +
  14045. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  14046. this->email_msg_type());
  14047. }
  14048. // optional int32 email_lang = 3;
  14049. if (has_email_lang()) {
  14050. total_size += 1 +
  14051. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14052. this->email_lang());
  14053. }
  14054. // optional int32 email_format = 4;
  14055. if (has_email_format()) {
  14056. total_size += 1 +
  14057. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14058. this->email_format());
  14059. }
  14060. }
  14061. if (!unknown_fields().empty()) {
  14062. total_size +=
  14063. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14064. unknown_fields());
  14065. }
  14066. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14067. _cached_size_ = total_size;
  14068. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14069. return total_size;
  14070. }
  14071. void CMsgGCGetEmailTemplate::MergeFrom(const ::google::protobuf::Message& from) {
  14072. GOOGLE_CHECK_NE(&from, this);
  14073. const CMsgGCGetEmailTemplate* source =
  14074. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCGetEmailTemplate*>(
  14075. &from);
  14076. if (source == NULL) {
  14077. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14078. } else {
  14079. MergeFrom(*source);
  14080. }
  14081. }
  14082. void CMsgGCGetEmailTemplate::MergeFrom(const CMsgGCGetEmailTemplate& from) {
  14083. GOOGLE_CHECK_NE(&from, this);
  14084. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14085. if (from.has_app_id()) {
  14086. set_app_id(from.app_id());
  14087. }
  14088. if (from.has_email_msg_type()) {
  14089. set_email_msg_type(from.email_msg_type());
  14090. }
  14091. if (from.has_email_lang()) {
  14092. set_email_lang(from.email_lang());
  14093. }
  14094. if (from.has_email_format()) {
  14095. set_email_format(from.email_format());
  14096. }
  14097. }
  14098. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14099. }
  14100. void CMsgGCGetEmailTemplate::CopyFrom(const ::google::protobuf::Message& from) {
  14101. if (&from == this) return;
  14102. Clear();
  14103. MergeFrom(from);
  14104. }
  14105. void CMsgGCGetEmailTemplate::CopyFrom(const CMsgGCGetEmailTemplate& from) {
  14106. if (&from == this) return;
  14107. Clear();
  14108. MergeFrom(from);
  14109. }
  14110. bool CMsgGCGetEmailTemplate::IsInitialized() const {
  14111. return true;
  14112. }
  14113. void CMsgGCGetEmailTemplate::Swap(CMsgGCGetEmailTemplate* other) {
  14114. if (other != this) {
  14115. std::swap(app_id_, other->app_id_);
  14116. std::swap(email_msg_type_, other->email_msg_type_);
  14117. std::swap(email_lang_, other->email_lang_);
  14118. std::swap(email_format_, other->email_format_);
  14119. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14120. _unknown_fields_.Swap(&other->_unknown_fields_);
  14121. std::swap(_cached_size_, other->_cached_size_);
  14122. }
  14123. }
  14124. ::google::protobuf::Metadata CMsgGCGetEmailTemplate::GetMetadata() const {
  14125. protobuf_AssignDescriptorsOnce();
  14126. ::google::protobuf::Metadata metadata;
  14127. metadata.descriptor = CMsgGCGetEmailTemplate_descriptor_;
  14128. metadata.reflection = CMsgGCGetEmailTemplate_reflection_;
  14129. return metadata;
  14130. }
  14131. // ===================================================================
  14132. #ifndef _MSC_VER
  14133. const int CMsgGCGetEmailTemplateResponse::kEresultFieldNumber;
  14134. const int CMsgGCGetEmailTemplateResponse::kTemplateExistsFieldNumber;
  14135. const int CMsgGCGetEmailTemplateResponse::kTemplateFieldNumber;
  14136. #endif // !_MSC_VER
  14137. CMsgGCGetEmailTemplateResponse::CMsgGCGetEmailTemplateResponse()
  14138. : ::google::protobuf::Message() {
  14139. SharedCtor();
  14140. }
  14141. void CMsgGCGetEmailTemplateResponse::InitAsDefaultInstance() {
  14142. }
  14143. CMsgGCGetEmailTemplateResponse::CMsgGCGetEmailTemplateResponse(const CMsgGCGetEmailTemplateResponse& from)
  14144. : ::google::protobuf::Message() {
  14145. SharedCtor();
  14146. MergeFrom(from);
  14147. }
  14148. void CMsgGCGetEmailTemplateResponse::SharedCtor() {
  14149. _cached_size_ = 0;
  14150. eresult_ = 2u;
  14151. template_exists_ = false;
  14152. template__ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  14153. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14154. }
  14155. CMsgGCGetEmailTemplateResponse::~CMsgGCGetEmailTemplateResponse() {
  14156. SharedDtor();
  14157. }
  14158. void CMsgGCGetEmailTemplateResponse::SharedDtor() {
  14159. if (template__ != &::google::protobuf::internal::kEmptyString) {
  14160. delete template__;
  14161. }
  14162. if (this != default_instance_) {
  14163. }
  14164. }
  14165. void CMsgGCGetEmailTemplateResponse::SetCachedSize(int size) const {
  14166. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14167. _cached_size_ = size;
  14168. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14169. }
  14170. const ::google::protobuf::Descriptor* CMsgGCGetEmailTemplateResponse::descriptor() {
  14171. protobuf_AssignDescriptorsOnce();
  14172. return CMsgGCGetEmailTemplateResponse_descriptor_;
  14173. }
  14174. const CMsgGCGetEmailTemplateResponse& CMsgGCGetEmailTemplateResponse::default_instance() {
  14175. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  14176. return *default_instance_;
  14177. }
  14178. CMsgGCGetEmailTemplateResponse* CMsgGCGetEmailTemplateResponse::default_instance_ = NULL;
  14179. CMsgGCGetEmailTemplateResponse* CMsgGCGetEmailTemplateResponse::New() const {
  14180. return new CMsgGCGetEmailTemplateResponse;
  14181. }
  14182. void CMsgGCGetEmailTemplateResponse::Clear() {
  14183. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14184. eresult_ = 2u;
  14185. template_exists_ = false;
  14186. if (has_template_()) {
  14187. if (template__ != &::google::protobuf::internal::kEmptyString) {
  14188. template__->clear();
  14189. }
  14190. }
  14191. }
  14192. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14193. mutable_unknown_fields()->Clear();
  14194. }
  14195. bool CMsgGCGetEmailTemplateResponse::MergePartialFromCodedStream(
  14196. ::google::protobuf::io::CodedInputStream* input) {
  14197. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14198. ::google::protobuf::uint32 tag;
  14199. while ((tag = input->ReadTag()) != 0) {
  14200. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14201. // optional uint32 eresult = 1 [default = 2];
  14202. case 1: {
  14203. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14204. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14205. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14206. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  14207. input, &eresult_)));
  14208. set_has_eresult();
  14209. } else {
  14210. goto handle_uninterpreted;
  14211. }
  14212. if (input->ExpectTag(16)) goto parse_template_exists;
  14213. break;
  14214. }
  14215. // optional bool template_exists = 2;
  14216. case 2: {
  14217. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14218. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14219. parse_template_exists:
  14220. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14221. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  14222. input, &template_exists_)));
  14223. set_has_template_exists();
  14224. } else {
  14225. goto handle_uninterpreted;
  14226. }
  14227. if (input->ExpectTag(26)) goto parse_template;
  14228. break;
  14229. }
  14230. // optional string template = 3;
  14231. case 3: {
  14232. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14233. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14234. parse_template:
  14235. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  14236. input, this->mutable_template_()));
  14237. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14238. this->template_().data(), this->template_().length(),
  14239. ::google::protobuf::internal::WireFormat::PARSE);
  14240. } else {
  14241. goto handle_uninterpreted;
  14242. }
  14243. if (input->ExpectAtEnd()) return true;
  14244. break;
  14245. }
  14246. default: {
  14247. handle_uninterpreted:
  14248. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14249. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14250. return true;
  14251. }
  14252. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14253. input, tag, mutable_unknown_fields()));
  14254. break;
  14255. }
  14256. }
  14257. }
  14258. return true;
  14259. #undef DO_
  14260. }
  14261. void CMsgGCGetEmailTemplateResponse::SerializeWithCachedSizes(
  14262. ::google::protobuf::io::CodedOutputStream* output) const {
  14263. // optional uint32 eresult = 1 [default = 2];
  14264. if (has_eresult()) {
  14265. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->eresult(), output);
  14266. }
  14267. // optional bool template_exists = 2;
  14268. if (has_template_exists()) {
  14269. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->template_exists(), output);
  14270. }
  14271. // optional string template = 3;
  14272. if (has_template_()) {
  14273. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14274. this->template_().data(), this->template_().length(),
  14275. ::google::protobuf::internal::WireFormat::SERIALIZE);
  14276. ::google::protobuf::internal::WireFormatLite::WriteString(
  14277. 3, this->template_(), output);
  14278. }
  14279. if (!unknown_fields().empty()) {
  14280. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14281. unknown_fields(), output);
  14282. }
  14283. }
  14284. ::google::protobuf::uint8* CMsgGCGetEmailTemplateResponse::SerializeWithCachedSizesToArray(
  14285. ::google::protobuf::uint8* target) const {
  14286. // optional uint32 eresult = 1 [default = 2];
  14287. if (has_eresult()) {
  14288. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->eresult(), target);
  14289. }
  14290. // optional bool template_exists = 2;
  14291. if (has_template_exists()) {
  14292. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->template_exists(), target);
  14293. }
  14294. // optional string template = 3;
  14295. if (has_template_()) {
  14296. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  14297. this->template_().data(), this->template_().length(),
  14298. ::google::protobuf::internal::WireFormat::SERIALIZE);
  14299. target =
  14300. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  14301. 3, this->template_(), target);
  14302. }
  14303. if (!unknown_fields().empty()) {
  14304. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14305. unknown_fields(), target);
  14306. }
  14307. return target;
  14308. }
  14309. int CMsgGCGetEmailTemplateResponse::ByteSize() const {
  14310. int total_size = 0;
  14311. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14312. // optional uint32 eresult = 1 [default = 2];
  14313. if (has_eresult()) {
  14314. total_size += 1 +
  14315. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  14316. this->eresult());
  14317. }
  14318. // optional bool template_exists = 2;
  14319. if (has_template_exists()) {
  14320. total_size += 1 + 1;
  14321. }
  14322. // optional string template = 3;
  14323. if (has_template_()) {
  14324. total_size += 1 +
  14325. ::google::protobuf::internal::WireFormatLite::StringSize(
  14326. this->template_());
  14327. }
  14328. }
  14329. if (!unknown_fields().empty()) {
  14330. total_size +=
  14331. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14332. unknown_fields());
  14333. }
  14334. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14335. _cached_size_ = total_size;
  14336. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14337. return total_size;
  14338. }
  14339. void CMsgGCGetEmailTemplateResponse::MergeFrom(const ::google::protobuf::Message& from) {
  14340. GOOGLE_CHECK_NE(&from, this);
  14341. const CMsgGCGetEmailTemplateResponse* source =
  14342. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCGetEmailTemplateResponse*>(
  14343. &from);
  14344. if (source == NULL) {
  14345. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14346. } else {
  14347. MergeFrom(*source);
  14348. }
  14349. }
  14350. void CMsgGCGetEmailTemplateResponse::MergeFrom(const CMsgGCGetEmailTemplateResponse& from) {
  14351. GOOGLE_CHECK_NE(&from, this);
  14352. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14353. if (from.has_eresult()) {
  14354. set_eresult(from.eresult());
  14355. }
  14356. if (from.has_template_exists()) {
  14357. set_template_exists(from.template_exists());
  14358. }
  14359. if (from.has_template_()) {
  14360. set_template_(from.template_());
  14361. }
  14362. }
  14363. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14364. }
  14365. void CMsgGCGetEmailTemplateResponse::CopyFrom(const ::google::protobuf::Message& from) {
  14366. if (&from == this) return;
  14367. Clear();
  14368. MergeFrom(from);
  14369. }
  14370. void CMsgGCGetEmailTemplateResponse::CopyFrom(const CMsgGCGetEmailTemplateResponse& from) {
  14371. if (&from == this) return;
  14372. Clear();
  14373. MergeFrom(from);
  14374. }
  14375. bool CMsgGCGetEmailTemplateResponse::IsInitialized() const {
  14376. return true;
  14377. }
  14378. void CMsgGCGetEmailTemplateResponse::Swap(CMsgGCGetEmailTemplateResponse* other) {
  14379. if (other != this) {
  14380. std::swap(eresult_, other->eresult_);
  14381. std::swap(template_exists_, other->template_exists_);
  14382. std::swap(template__, other->template__);
  14383. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14384. _unknown_fields_.Swap(&other->_unknown_fields_);
  14385. std::swap(_cached_size_, other->_cached_size_);
  14386. }
  14387. }
  14388. ::google::protobuf::Metadata CMsgGCGetEmailTemplateResponse::GetMetadata() const {
  14389. protobuf_AssignDescriptorsOnce();
  14390. ::google::protobuf::Metadata metadata;
  14391. metadata.descriptor = CMsgGCGetEmailTemplateResponse_descriptor_;
  14392. metadata.reflection = CMsgGCGetEmailTemplateResponse_reflection_;
  14393. return metadata;
  14394. }
  14395. // ===================================================================
  14396. #ifndef _MSC_VER
  14397. const int CMsgAMGrantGuestPasses2::kSteamIdFieldNumber;
  14398. const int CMsgAMGrantGuestPasses2::kPackageIdFieldNumber;
  14399. const int CMsgAMGrantGuestPasses2::kPassesToGrantFieldNumber;
  14400. const int CMsgAMGrantGuestPasses2::kDaysToExpirationFieldNumber;
  14401. const int CMsgAMGrantGuestPasses2::kActionFieldNumber;
  14402. #endif // !_MSC_VER
  14403. CMsgAMGrantGuestPasses2::CMsgAMGrantGuestPasses2()
  14404. : ::google::protobuf::Message() {
  14405. SharedCtor();
  14406. }
  14407. void CMsgAMGrantGuestPasses2::InitAsDefaultInstance() {
  14408. }
  14409. CMsgAMGrantGuestPasses2::CMsgAMGrantGuestPasses2(const CMsgAMGrantGuestPasses2& from)
  14410. : ::google::protobuf::Message() {
  14411. SharedCtor();
  14412. MergeFrom(from);
  14413. }
  14414. void CMsgAMGrantGuestPasses2::SharedCtor() {
  14415. _cached_size_ = 0;
  14416. steam_id_ = GOOGLE_ULONGLONG(0);
  14417. package_id_ = 0u;
  14418. passes_to_grant_ = 0;
  14419. days_to_expiration_ = 0;
  14420. action_ = 0;
  14421. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14422. }
  14423. CMsgAMGrantGuestPasses2::~CMsgAMGrantGuestPasses2() {
  14424. SharedDtor();
  14425. }
  14426. void CMsgAMGrantGuestPasses2::SharedDtor() {
  14427. if (this != default_instance_) {
  14428. }
  14429. }
  14430. void CMsgAMGrantGuestPasses2::SetCachedSize(int size) const {
  14431. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14432. _cached_size_ = size;
  14433. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14434. }
  14435. const ::google::protobuf::Descriptor* CMsgAMGrantGuestPasses2::descriptor() {
  14436. protobuf_AssignDescriptorsOnce();
  14437. return CMsgAMGrantGuestPasses2_descriptor_;
  14438. }
  14439. const CMsgAMGrantGuestPasses2& CMsgAMGrantGuestPasses2::default_instance() {
  14440. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  14441. return *default_instance_;
  14442. }
  14443. CMsgAMGrantGuestPasses2* CMsgAMGrantGuestPasses2::default_instance_ = NULL;
  14444. CMsgAMGrantGuestPasses2* CMsgAMGrantGuestPasses2::New() const {
  14445. return new CMsgAMGrantGuestPasses2;
  14446. }
  14447. void CMsgAMGrantGuestPasses2::Clear() {
  14448. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14449. steam_id_ = GOOGLE_ULONGLONG(0);
  14450. package_id_ = 0u;
  14451. passes_to_grant_ = 0;
  14452. days_to_expiration_ = 0;
  14453. action_ = 0;
  14454. }
  14455. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14456. mutable_unknown_fields()->Clear();
  14457. }
  14458. bool CMsgAMGrantGuestPasses2::MergePartialFromCodedStream(
  14459. ::google::protobuf::io::CodedInputStream* input) {
  14460. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14461. ::google::protobuf::uint32 tag;
  14462. while ((tag = input->ReadTag()) != 0) {
  14463. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14464. // optional fixed64 steam_id = 1;
  14465. case 1: {
  14466. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14467. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  14468. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14469. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  14470. input, &steam_id_)));
  14471. set_has_steam_id();
  14472. } else {
  14473. goto handle_uninterpreted;
  14474. }
  14475. if (input->ExpectTag(16)) goto parse_package_id;
  14476. break;
  14477. }
  14478. // optional uint32 package_id = 2;
  14479. case 2: {
  14480. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14481. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14482. parse_package_id:
  14483. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14484. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  14485. input, &package_id_)));
  14486. set_has_package_id();
  14487. } else {
  14488. goto handle_uninterpreted;
  14489. }
  14490. if (input->ExpectTag(24)) goto parse_passes_to_grant;
  14491. break;
  14492. }
  14493. // optional int32 passes_to_grant = 3;
  14494. case 3: {
  14495. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14496. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14497. parse_passes_to_grant:
  14498. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14499. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14500. input, &passes_to_grant_)));
  14501. set_has_passes_to_grant();
  14502. } else {
  14503. goto handle_uninterpreted;
  14504. }
  14505. if (input->ExpectTag(32)) goto parse_days_to_expiration;
  14506. break;
  14507. }
  14508. // optional int32 days_to_expiration = 4;
  14509. case 4: {
  14510. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14511. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14512. parse_days_to_expiration:
  14513. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14514. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14515. input, &days_to_expiration_)));
  14516. set_has_days_to_expiration();
  14517. } else {
  14518. goto handle_uninterpreted;
  14519. }
  14520. if (input->ExpectTag(40)) goto parse_action;
  14521. break;
  14522. }
  14523. // optional int32 action = 5;
  14524. case 5: {
  14525. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14526. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14527. parse_action:
  14528. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14529. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14530. input, &action_)));
  14531. set_has_action();
  14532. } else {
  14533. goto handle_uninterpreted;
  14534. }
  14535. if (input->ExpectAtEnd()) return true;
  14536. break;
  14537. }
  14538. default: {
  14539. handle_uninterpreted:
  14540. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14541. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14542. return true;
  14543. }
  14544. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14545. input, tag, mutable_unknown_fields()));
  14546. break;
  14547. }
  14548. }
  14549. }
  14550. return true;
  14551. #undef DO_
  14552. }
  14553. void CMsgAMGrantGuestPasses2::SerializeWithCachedSizes(
  14554. ::google::protobuf::io::CodedOutputStream* output) const {
  14555. // optional fixed64 steam_id = 1;
  14556. if (has_steam_id()) {
  14557. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steam_id(), output);
  14558. }
  14559. // optional uint32 package_id = 2;
  14560. if (has_package_id()) {
  14561. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->package_id(), output);
  14562. }
  14563. // optional int32 passes_to_grant = 3;
  14564. if (has_passes_to_grant()) {
  14565. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->passes_to_grant(), output);
  14566. }
  14567. // optional int32 days_to_expiration = 4;
  14568. if (has_days_to_expiration()) {
  14569. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->days_to_expiration(), output);
  14570. }
  14571. // optional int32 action = 5;
  14572. if (has_action()) {
  14573. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->action(), output);
  14574. }
  14575. if (!unknown_fields().empty()) {
  14576. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14577. unknown_fields(), output);
  14578. }
  14579. }
  14580. ::google::protobuf::uint8* CMsgAMGrantGuestPasses2::SerializeWithCachedSizesToArray(
  14581. ::google::protobuf::uint8* target) const {
  14582. // optional fixed64 steam_id = 1;
  14583. if (has_steam_id()) {
  14584. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steam_id(), target);
  14585. }
  14586. // optional uint32 package_id = 2;
  14587. if (has_package_id()) {
  14588. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->package_id(), target);
  14589. }
  14590. // optional int32 passes_to_grant = 3;
  14591. if (has_passes_to_grant()) {
  14592. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->passes_to_grant(), target);
  14593. }
  14594. // optional int32 days_to_expiration = 4;
  14595. if (has_days_to_expiration()) {
  14596. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->days_to_expiration(), target);
  14597. }
  14598. // optional int32 action = 5;
  14599. if (has_action()) {
  14600. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->action(), target);
  14601. }
  14602. if (!unknown_fields().empty()) {
  14603. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14604. unknown_fields(), target);
  14605. }
  14606. return target;
  14607. }
  14608. int CMsgAMGrantGuestPasses2::ByteSize() const {
  14609. int total_size = 0;
  14610. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14611. // optional fixed64 steam_id = 1;
  14612. if (has_steam_id()) {
  14613. total_size += 1 + 8;
  14614. }
  14615. // optional uint32 package_id = 2;
  14616. if (has_package_id()) {
  14617. total_size += 1 +
  14618. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  14619. this->package_id());
  14620. }
  14621. // optional int32 passes_to_grant = 3;
  14622. if (has_passes_to_grant()) {
  14623. total_size += 1 +
  14624. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14625. this->passes_to_grant());
  14626. }
  14627. // optional int32 days_to_expiration = 4;
  14628. if (has_days_to_expiration()) {
  14629. total_size += 1 +
  14630. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14631. this->days_to_expiration());
  14632. }
  14633. // optional int32 action = 5;
  14634. if (has_action()) {
  14635. total_size += 1 +
  14636. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14637. this->action());
  14638. }
  14639. }
  14640. if (!unknown_fields().empty()) {
  14641. total_size +=
  14642. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14643. unknown_fields());
  14644. }
  14645. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14646. _cached_size_ = total_size;
  14647. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14648. return total_size;
  14649. }
  14650. void CMsgAMGrantGuestPasses2::MergeFrom(const ::google::protobuf::Message& from) {
  14651. GOOGLE_CHECK_NE(&from, this);
  14652. const CMsgAMGrantGuestPasses2* source =
  14653. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMGrantGuestPasses2*>(
  14654. &from);
  14655. if (source == NULL) {
  14656. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14657. } else {
  14658. MergeFrom(*source);
  14659. }
  14660. }
  14661. void CMsgAMGrantGuestPasses2::MergeFrom(const CMsgAMGrantGuestPasses2& from) {
  14662. GOOGLE_CHECK_NE(&from, this);
  14663. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14664. if (from.has_steam_id()) {
  14665. set_steam_id(from.steam_id());
  14666. }
  14667. if (from.has_package_id()) {
  14668. set_package_id(from.package_id());
  14669. }
  14670. if (from.has_passes_to_grant()) {
  14671. set_passes_to_grant(from.passes_to_grant());
  14672. }
  14673. if (from.has_days_to_expiration()) {
  14674. set_days_to_expiration(from.days_to_expiration());
  14675. }
  14676. if (from.has_action()) {
  14677. set_action(from.action());
  14678. }
  14679. }
  14680. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14681. }
  14682. void CMsgAMGrantGuestPasses2::CopyFrom(const ::google::protobuf::Message& from) {
  14683. if (&from == this) return;
  14684. Clear();
  14685. MergeFrom(from);
  14686. }
  14687. void CMsgAMGrantGuestPasses2::CopyFrom(const CMsgAMGrantGuestPasses2& from) {
  14688. if (&from == this) return;
  14689. Clear();
  14690. MergeFrom(from);
  14691. }
  14692. bool CMsgAMGrantGuestPasses2::IsInitialized() const {
  14693. return true;
  14694. }
  14695. void CMsgAMGrantGuestPasses2::Swap(CMsgAMGrantGuestPasses2* other) {
  14696. if (other != this) {
  14697. std::swap(steam_id_, other->steam_id_);
  14698. std::swap(package_id_, other->package_id_);
  14699. std::swap(passes_to_grant_, other->passes_to_grant_);
  14700. std::swap(days_to_expiration_, other->days_to_expiration_);
  14701. std::swap(action_, other->action_);
  14702. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14703. _unknown_fields_.Swap(&other->_unknown_fields_);
  14704. std::swap(_cached_size_, other->_cached_size_);
  14705. }
  14706. }
  14707. ::google::protobuf::Metadata CMsgAMGrantGuestPasses2::GetMetadata() const {
  14708. protobuf_AssignDescriptorsOnce();
  14709. ::google::protobuf::Metadata metadata;
  14710. metadata.descriptor = CMsgAMGrantGuestPasses2_descriptor_;
  14711. metadata.reflection = CMsgAMGrantGuestPasses2_reflection_;
  14712. return metadata;
  14713. }
  14714. // ===================================================================
  14715. #ifndef _MSC_VER
  14716. const int CMsgAMGrantGuestPasses2Response::kEresultFieldNumber;
  14717. const int CMsgAMGrantGuestPasses2Response::kPassesGrantedFieldNumber;
  14718. #endif // !_MSC_VER
  14719. CMsgAMGrantGuestPasses2Response::CMsgAMGrantGuestPasses2Response()
  14720. : ::google::protobuf::Message() {
  14721. SharedCtor();
  14722. }
  14723. void CMsgAMGrantGuestPasses2Response::InitAsDefaultInstance() {
  14724. }
  14725. CMsgAMGrantGuestPasses2Response::CMsgAMGrantGuestPasses2Response(const CMsgAMGrantGuestPasses2Response& from)
  14726. : ::google::protobuf::Message() {
  14727. SharedCtor();
  14728. MergeFrom(from);
  14729. }
  14730. void CMsgAMGrantGuestPasses2Response::SharedCtor() {
  14731. _cached_size_ = 0;
  14732. eresult_ = 2;
  14733. passes_granted_ = 0;
  14734. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14735. }
  14736. CMsgAMGrantGuestPasses2Response::~CMsgAMGrantGuestPasses2Response() {
  14737. SharedDtor();
  14738. }
  14739. void CMsgAMGrantGuestPasses2Response::SharedDtor() {
  14740. if (this != default_instance_) {
  14741. }
  14742. }
  14743. void CMsgAMGrantGuestPasses2Response::SetCachedSize(int size) const {
  14744. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14745. _cached_size_ = size;
  14746. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14747. }
  14748. const ::google::protobuf::Descriptor* CMsgAMGrantGuestPasses2Response::descriptor() {
  14749. protobuf_AssignDescriptorsOnce();
  14750. return CMsgAMGrantGuestPasses2Response_descriptor_;
  14751. }
  14752. const CMsgAMGrantGuestPasses2Response& CMsgAMGrantGuestPasses2Response::default_instance() {
  14753. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  14754. return *default_instance_;
  14755. }
  14756. CMsgAMGrantGuestPasses2Response* CMsgAMGrantGuestPasses2Response::default_instance_ = NULL;
  14757. CMsgAMGrantGuestPasses2Response* CMsgAMGrantGuestPasses2Response::New() const {
  14758. return new CMsgAMGrantGuestPasses2Response;
  14759. }
  14760. void CMsgAMGrantGuestPasses2Response::Clear() {
  14761. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14762. eresult_ = 2;
  14763. passes_granted_ = 0;
  14764. }
  14765. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14766. mutable_unknown_fields()->Clear();
  14767. }
  14768. bool CMsgAMGrantGuestPasses2Response::MergePartialFromCodedStream(
  14769. ::google::protobuf::io::CodedInputStream* input) {
  14770. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14771. ::google::protobuf::uint32 tag;
  14772. while ((tag = input->ReadTag()) != 0) {
  14773. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14774. // optional int32 eresult = 1 [default = 2];
  14775. case 1: {
  14776. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14777. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14778. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14779. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14780. input, &eresult_)));
  14781. set_has_eresult();
  14782. } else {
  14783. goto handle_uninterpreted;
  14784. }
  14785. if (input->ExpectTag(16)) goto parse_passes_granted;
  14786. break;
  14787. }
  14788. // optional int32 passes_granted = 2 [default = 0];
  14789. case 2: {
  14790. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14791. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14792. parse_passes_granted:
  14793. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14794. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14795. input, &passes_granted_)));
  14796. set_has_passes_granted();
  14797. } else {
  14798. goto handle_uninterpreted;
  14799. }
  14800. if (input->ExpectAtEnd()) return true;
  14801. break;
  14802. }
  14803. default: {
  14804. handle_uninterpreted:
  14805. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14806. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14807. return true;
  14808. }
  14809. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14810. input, tag, mutable_unknown_fields()));
  14811. break;
  14812. }
  14813. }
  14814. }
  14815. return true;
  14816. #undef DO_
  14817. }
  14818. void CMsgAMGrantGuestPasses2Response::SerializeWithCachedSizes(
  14819. ::google::protobuf::io::CodedOutputStream* output) const {
  14820. // optional int32 eresult = 1 [default = 2];
  14821. if (has_eresult()) {
  14822. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->eresult(), output);
  14823. }
  14824. // optional int32 passes_granted = 2 [default = 0];
  14825. if (has_passes_granted()) {
  14826. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->passes_granted(), output);
  14827. }
  14828. if (!unknown_fields().empty()) {
  14829. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14830. unknown_fields(), output);
  14831. }
  14832. }
  14833. ::google::protobuf::uint8* CMsgAMGrantGuestPasses2Response::SerializeWithCachedSizesToArray(
  14834. ::google::protobuf::uint8* target) const {
  14835. // optional int32 eresult = 1 [default = 2];
  14836. if (has_eresult()) {
  14837. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->eresult(), target);
  14838. }
  14839. // optional int32 passes_granted = 2 [default = 0];
  14840. if (has_passes_granted()) {
  14841. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->passes_granted(), target);
  14842. }
  14843. if (!unknown_fields().empty()) {
  14844. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14845. unknown_fields(), target);
  14846. }
  14847. return target;
  14848. }
  14849. int CMsgAMGrantGuestPasses2Response::ByteSize() const {
  14850. int total_size = 0;
  14851. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14852. // optional int32 eresult = 1 [default = 2];
  14853. if (has_eresult()) {
  14854. total_size += 1 +
  14855. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14856. this->eresult());
  14857. }
  14858. // optional int32 passes_granted = 2 [default = 0];
  14859. if (has_passes_granted()) {
  14860. total_size += 1 +
  14861. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14862. this->passes_granted());
  14863. }
  14864. }
  14865. if (!unknown_fields().empty()) {
  14866. total_size +=
  14867. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14868. unknown_fields());
  14869. }
  14870. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14871. _cached_size_ = total_size;
  14872. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14873. return total_size;
  14874. }
  14875. void CMsgAMGrantGuestPasses2Response::MergeFrom(const ::google::protobuf::Message& from) {
  14876. GOOGLE_CHECK_NE(&from, this);
  14877. const CMsgAMGrantGuestPasses2Response* source =
  14878. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgAMGrantGuestPasses2Response*>(
  14879. &from);
  14880. if (source == NULL) {
  14881. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14882. } else {
  14883. MergeFrom(*source);
  14884. }
  14885. }
  14886. void CMsgAMGrantGuestPasses2Response::MergeFrom(const CMsgAMGrantGuestPasses2Response& from) {
  14887. GOOGLE_CHECK_NE(&from, this);
  14888. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14889. if (from.has_eresult()) {
  14890. set_eresult(from.eresult());
  14891. }
  14892. if (from.has_passes_granted()) {
  14893. set_passes_granted(from.passes_granted());
  14894. }
  14895. }
  14896. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14897. }
  14898. void CMsgAMGrantGuestPasses2Response::CopyFrom(const ::google::protobuf::Message& from) {
  14899. if (&from == this) return;
  14900. Clear();
  14901. MergeFrom(from);
  14902. }
  14903. void CMsgAMGrantGuestPasses2Response::CopyFrom(const CMsgAMGrantGuestPasses2Response& from) {
  14904. if (&from == this) return;
  14905. Clear();
  14906. MergeFrom(from);
  14907. }
  14908. bool CMsgAMGrantGuestPasses2Response::IsInitialized() const {
  14909. return true;
  14910. }
  14911. void CMsgAMGrantGuestPasses2Response::Swap(CMsgAMGrantGuestPasses2Response* other) {
  14912. if (other != this) {
  14913. std::swap(eresult_, other->eresult_);
  14914. std::swap(passes_granted_, other->passes_granted_);
  14915. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14916. _unknown_fields_.Swap(&other->_unknown_fields_);
  14917. std::swap(_cached_size_, other->_cached_size_);
  14918. }
  14919. }
  14920. ::google::protobuf::Metadata CMsgAMGrantGuestPasses2Response::GetMetadata() const {
  14921. protobuf_AssignDescriptorsOnce();
  14922. ::google::protobuf::Metadata metadata;
  14923. metadata.descriptor = CMsgAMGrantGuestPasses2Response_descriptor_;
  14924. metadata.reflection = CMsgAMGrantGuestPasses2Response_reflection_;
  14925. return metadata;
  14926. }
  14927. // ===================================================================
  14928. #ifndef _MSC_VER
  14929. const int CGCSystemMsg_GetAccountDetails::kSteamidFieldNumber;
  14930. const int CGCSystemMsg_GetAccountDetails::kAppidFieldNumber;
  14931. #endif // !_MSC_VER
  14932. CGCSystemMsg_GetAccountDetails::CGCSystemMsg_GetAccountDetails()
  14933. : ::google::protobuf::Message() {
  14934. SharedCtor();
  14935. }
  14936. void CGCSystemMsg_GetAccountDetails::InitAsDefaultInstance() {
  14937. }
  14938. CGCSystemMsg_GetAccountDetails::CGCSystemMsg_GetAccountDetails(const CGCSystemMsg_GetAccountDetails& from)
  14939. : ::google::protobuf::Message() {
  14940. SharedCtor();
  14941. MergeFrom(from);
  14942. }
  14943. void CGCSystemMsg_GetAccountDetails::SharedCtor() {
  14944. _cached_size_ = 0;
  14945. steamid_ = GOOGLE_ULONGLONG(0);
  14946. appid_ = 0u;
  14947. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14948. }
  14949. CGCSystemMsg_GetAccountDetails::~CGCSystemMsg_GetAccountDetails() {
  14950. SharedDtor();
  14951. }
  14952. void CGCSystemMsg_GetAccountDetails::SharedDtor() {
  14953. if (this != default_instance_) {
  14954. }
  14955. }
  14956. void CGCSystemMsg_GetAccountDetails::SetCachedSize(int size) const {
  14957. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14958. _cached_size_ = size;
  14959. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14960. }
  14961. const ::google::protobuf::Descriptor* CGCSystemMsg_GetAccountDetails::descriptor() {
  14962. protobuf_AssignDescriptorsOnce();
  14963. return CGCSystemMsg_GetAccountDetails_descriptor_;
  14964. }
  14965. const CGCSystemMsg_GetAccountDetails& CGCSystemMsg_GetAccountDetails::default_instance() {
  14966. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  14967. return *default_instance_;
  14968. }
  14969. CGCSystemMsg_GetAccountDetails* CGCSystemMsg_GetAccountDetails::default_instance_ = NULL;
  14970. CGCSystemMsg_GetAccountDetails* CGCSystemMsg_GetAccountDetails::New() const {
  14971. return new CGCSystemMsg_GetAccountDetails;
  14972. }
  14973. void CGCSystemMsg_GetAccountDetails::Clear() {
  14974. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14975. steamid_ = GOOGLE_ULONGLONG(0);
  14976. appid_ = 0u;
  14977. }
  14978. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14979. mutable_unknown_fields()->Clear();
  14980. }
  14981. bool CGCSystemMsg_GetAccountDetails::MergePartialFromCodedStream(
  14982. ::google::protobuf::io::CodedInputStream* input) {
  14983. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14984. ::google::protobuf::uint32 tag;
  14985. while ((tag = input->ReadTag()) != 0) {
  14986. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14987. // optional fixed64 steamid = 1;
  14988. case 1: {
  14989. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14990. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  14991. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14992. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  14993. input, &steamid_)));
  14994. set_has_steamid();
  14995. } else {
  14996. goto handle_uninterpreted;
  14997. }
  14998. if (input->ExpectTag(16)) goto parse_appid;
  14999. break;
  15000. }
  15001. // optional uint32 appid = 2;
  15002. case 2: {
  15003. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15004. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15005. parse_appid:
  15006. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15007. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15008. input, &appid_)));
  15009. set_has_appid();
  15010. } else {
  15011. goto handle_uninterpreted;
  15012. }
  15013. if (input->ExpectAtEnd()) return true;
  15014. break;
  15015. }
  15016. default: {
  15017. handle_uninterpreted:
  15018. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15019. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15020. return true;
  15021. }
  15022. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15023. input, tag, mutable_unknown_fields()));
  15024. break;
  15025. }
  15026. }
  15027. }
  15028. return true;
  15029. #undef DO_
  15030. }
  15031. void CGCSystemMsg_GetAccountDetails::SerializeWithCachedSizes(
  15032. ::google::protobuf::io::CodedOutputStream* output) const {
  15033. // optional fixed64 steamid = 1;
  15034. if (has_steamid()) {
  15035. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steamid(), output);
  15036. }
  15037. // optional uint32 appid = 2;
  15038. if (has_appid()) {
  15039. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->appid(), output);
  15040. }
  15041. if (!unknown_fields().empty()) {
  15042. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15043. unknown_fields(), output);
  15044. }
  15045. }
  15046. ::google::protobuf::uint8* CGCSystemMsg_GetAccountDetails::SerializeWithCachedSizesToArray(
  15047. ::google::protobuf::uint8* target) const {
  15048. // optional fixed64 steamid = 1;
  15049. if (has_steamid()) {
  15050. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steamid(), target);
  15051. }
  15052. // optional uint32 appid = 2;
  15053. if (has_appid()) {
  15054. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->appid(), target);
  15055. }
  15056. if (!unknown_fields().empty()) {
  15057. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15058. unknown_fields(), target);
  15059. }
  15060. return target;
  15061. }
  15062. int CGCSystemMsg_GetAccountDetails::ByteSize() const {
  15063. int total_size = 0;
  15064. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15065. // optional fixed64 steamid = 1;
  15066. if (has_steamid()) {
  15067. total_size += 1 + 8;
  15068. }
  15069. // optional uint32 appid = 2;
  15070. if (has_appid()) {
  15071. total_size += 1 +
  15072. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  15073. this->appid());
  15074. }
  15075. }
  15076. if (!unknown_fields().empty()) {
  15077. total_size +=
  15078. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15079. unknown_fields());
  15080. }
  15081. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15082. _cached_size_ = total_size;
  15083. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15084. return total_size;
  15085. }
  15086. void CGCSystemMsg_GetAccountDetails::MergeFrom(const ::google::protobuf::Message& from) {
  15087. GOOGLE_CHECK_NE(&from, this);
  15088. const CGCSystemMsg_GetAccountDetails* source =
  15089. ::google::protobuf::internal::dynamic_cast_if_available<const CGCSystemMsg_GetAccountDetails*>(
  15090. &from);
  15091. if (source == NULL) {
  15092. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15093. } else {
  15094. MergeFrom(*source);
  15095. }
  15096. }
  15097. void CGCSystemMsg_GetAccountDetails::MergeFrom(const CGCSystemMsg_GetAccountDetails& from) {
  15098. GOOGLE_CHECK_NE(&from, this);
  15099. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15100. if (from.has_steamid()) {
  15101. set_steamid(from.steamid());
  15102. }
  15103. if (from.has_appid()) {
  15104. set_appid(from.appid());
  15105. }
  15106. }
  15107. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15108. }
  15109. void CGCSystemMsg_GetAccountDetails::CopyFrom(const ::google::protobuf::Message& from) {
  15110. if (&from == this) return;
  15111. Clear();
  15112. MergeFrom(from);
  15113. }
  15114. void CGCSystemMsg_GetAccountDetails::CopyFrom(const CGCSystemMsg_GetAccountDetails& from) {
  15115. if (&from == this) return;
  15116. Clear();
  15117. MergeFrom(from);
  15118. }
  15119. bool CGCSystemMsg_GetAccountDetails::IsInitialized() const {
  15120. return true;
  15121. }
  15122. void CGCSystemMsg_GetAccountDetails::Swap(CGCSystemMsg_GetAccountDetails* other) {
  15123. if (other != this) {
  15124. std::swap(steamid_, other->steamid_);
  15125. std::swap(appid_, other->appid_);
  15126. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15127. _unknown_fields_.Swap(&other->_unknown_fields_);
  15128. std::swap(_cached_size_, other->_cached_size_);
  15129. }
  15130. }
  15131. ::google::protobuf::Metadata CGCSystemMsg_GetAccountDetails::GetMetadata() const {
  15132. protobuf_AssignDescriptorsOnce();
  15133. ::google::protobuf::Metadata metadata;
  15134. metadata.descriptor = CGCSystemMsg_GetAccountDetails_descriptor_;
  15135. metadata.reflection = CGCSystemMsg_GetAccountDetails_reflection_;
  15136. return metadata;
  15137. }
  15138. // ===================================================================
  15139. #ifndef _MSC_VER
  15140. const int CGCSystemMsg_GetAccountDetails_Response::kEresultDeprecatedFieldNumber;
  15141. const int CGCSystemMsg_GetAccountDetails_Response::kAccountNameFieldNumber;
  15142. const int CGCSystemMsg_GetAccountDetails_Response::kPersonaNameFieldNumber;
  15143. const int CGCSystemMsg_GetAccountDetails_Response::kIsProfilePublicFieldNumber;
  15144. const int CGCSystemMsg_GetAccountDetails_Response::kIsInventoryPublicFieldNumber;
  15145. const int CGCSystemMsg_GetAccountDetails_Response::kIsVacBannedFieldNumber;
  15146. const int CGCSystemMsg_GetAccountDetails_Response::kIsCyberCafeFieldNumber;
  15147. const int CGCSystemMsg_GetAccountDetails_Response::kIsSchoolAccountFieldNumber;
  15148. const int CGCSystemMsg_GetAccountDetails_Response::kIsLimitedFieldNumber;
  15149. const int CGCSystemMsg_GetAccountDetails_Response::kIsSubscribedFieldNumber;
  15150. const int CGCSystemMsg_GetAccountDetails_Response::kPackageFieldNumber;
  15151. const int CGCSystemMsg_GetAccountDetails_Response::kIsFreeTrialAccountFieldNumber;
  15152. const int CGCSystemMsg_GetAccountDetails_Response::kFreeTrialExpirationFieldNumber;
  15153. const int CGCSystemMsg_GetAccountDetails_Response::kIsLowViolenceFieldNumber;
  15154. const int CGCSystemMsg_GetAccountDetails_Response::kIsAccountLockedDownFieldNumber;
  15155. const int CGCSystemMsg_GetAccountDetails_Response::kIsCommunityBannedFieldNumber;
  15156. const int CGCSystemMsg_GetAccountDetails_Response::kIsTradeBannedFieldNumber;
  15157. const int CGCSystemMsg_GetAccountDetails_Response::kTradeBanExpirationFieldNumber;
  15158. const int CGCSystemMsg_GetAccountDetails_Response::kAccountidFieldNumber;
  15159. const int CGCSystemMsg_GetAccountDetails_Response::kSuspensionEndTimeFieldNumber;
  15160. const int CGCSystemMsg_GetAccountDetails_Response::kCurrencyFieldNumber;
  15161. const int CGCSystemMsg_GetAccountDetails_Response::kSteamLevelFieldNumber;
  15162. const int CGCSystemMsg_GetAccountDetails_Response::kFriendCountFieldNumber;
  15163. const int CGCSystemMsg_GetAccountDetails_Response::kAccountCreationTimeFieldNumber;
  15164. const int CGCSystemMsg_GetAccountDetails_Response::kIsSteamguardEnabledFieldNumber;
  15165. const int CGCSystemMsg_GetAccountDetails_Response::kIsPhoneVerifiedFieldNumber;
  15166. const int CGCSystemMsg_GetAccountDetails_Response::kIsTwoFactorAuthEnabledFieldNumber;
  15167. const int CGCSystemMsg_GetAccountDetails_Response::kTwoFactorEnabledTimeFieldNumber;
  15168. const int CGCSystemMsg_GetAccountDetails_Response::kPhoneVerificationTimeFieldNumber;
  15169. const int CGCSystemMsg_GetAccountDetails_Response::kPhoneIdFieldNumber;
  15170. const int CGCSystemMsg_GetAccountDetails_Response::kIsPhoneIdentifyingFieldNumber;
  15171. #endif // !_MSC_VER
  15172. CGCSystemMsg_GetAccountDetails_Response::CGCSystemMsg_GetAccountDetails_Response()
  15173. : ::google::protobuf::Message() {
  15174. SharedCtor();
  15175. }
  15176. void CGCSystemMsg_GetAccountDetails_Response::InitAsDefaultInstance() {
  15177. }
  15178. CGCSystemMsg_GetAccountDetails_Response::CGCSystemMsg_GetAccountDetails_Response(const CGCSystemMsg_GetAccountDetails_Response& from)
  15179. : ::google::protobuf::Message() {
  15180. SharedCtor();
  15181. MergeFrom(from);
  15182. }
  15183. void CGCSystemMsg_GetAccountDetails_Response::SharedCtor() {
  15184. _cached_size_ = 0;
  15185. eresult_deprecated_ = 2u;
  15186. account_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15187. persona_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15188. is_profile_public_ = false;
  15189. is_inventory_public_ = false;
  15190. is_vac_banned_ = false;
  15191. is_cyber_cafe_ = false;
  15192. is_school_account_ = false;
  15193. is_limited_ = false;
  15194. is_subscribed_ = false;
  15195. package_ = 0u;
  15196. is_free_trial_account_ = false;
  15197. free_trial_expiration_ = 0u;
  15198. is_low_violence_ = false;
  15199. is_account_locked_down_ = false;
  15200. is_community_banned_ = false;
  15201. is_trade_banned_ = false;
  15202. trade_ban_expiration_ = 0u;
  15203. accountid_ = 0u;
  15204. suspension_end_time_ = 0u;
  15205. currency_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  15206. steam_level_ = 0u;
  15207. friend_count_ = 0u;
  15208. account_creation_time_ = 0u;
  15209. is_steamguard_enabled_ = false;
  15210. is_phone_verified_ = false;
  15211. is_two_factor_auth_enabled_ = false;
  15212. two_factor_enabled_time_ = 0u;
  15213. phone_verification_time_ = 0u;
  15214. phone_id_ = GOOGLE_ULONGLONG(0);
  15215. is_phone_identifying_ = false;
  15216. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15217. }
  15218. CGCSystemMsg_GetAccountDetails_Response::~CGCSystemMsg_GetAccountDetails_Response() {
  15219. SharedDtor();
  15220. }
  15221. void CGCSystemMsg_GetAccountDetails_Response::SharedDtor() {
  15222. if (account_name_ != &::google::protobuf::internal::kEmptyString) {
  15223. delete account_name_;
  15224. }
  15225. if (persona_name_ != &::google::protobuf::internal::kEmptyString) {
  15226. delete persona_name_;
  15227. }
  15228. if (currency_ != &::google::protobuf::internal::kEmptyString) {
  15229. delete currency_;
  15230. }
  15231. if (this != default_instance_) {
  15232. }
  15233. }
  15234. void CGCSystemMsg_GetAccountDetails_Response::SetCachedSize(int size) const {
  15235. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15236. _cached_size_ = size;
  15237. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15238. }
  15239. const ::google::protobuf::Descriptor* CGCSystemMsg_GetAccountDetails_Response::descriptor() {
  15240. protobuf_AssignDescriptorsOnce();
  15241. return CGCSystemMsg_GetAccountDetails_Response_descriptor_;
  15242. }
  15243. const CGCSystemMsg_GetAccountDetails_Response& CGCSystemMsg_GetAccountDetails_Response::default_instance() {
  15244. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  15245. return *default_instance_;
  15246. }
  15247. CGCSystemMsg_GetAccountDetails_Response* CGCSystemMsg_GetAccountDetails_Response::default_instance_ = NULL;
  15248. CGCSystemMsg_GetAccountDetails_Response* CGCSystemMsg_GetAccountDetails_Response::New() const {
  15249. return new CGCSystemMsg_GetAccountDetails_Response;
  15250. }
  15251. void CGCSystemMsg_GetAccountDetails_Response::Clear() {
  15252. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15253. eresult_deprecated_ = 2u;
  15254. if (has_account_name()) {
  15255. if (account_name_ != &::google::protobuf::internal::kEmptyString) {
  15256. account_name_->clear();
  15257. }
  15258. }
  15259. if (has_persona_name()) {
  15260. if (persona_name_ != &::google::protobuf::internal::kEmptyString) {
  15261. persona_name_->clear();
  15262. }
  15263. }
  15264. is_profile_public_ = false;
  15265. is_inventory_public_ = false;
  15266. is_vac_banned_ = false;
  15267. is_cyber_cafe_ = false;
  15268. is_school_account_ = false;
  15269. }
  15270. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  15271. is_limited_ = false;
  15272. is_subscribed_ = false;
  15273. package_ = 0u;
  15274. is_free_trial_account_ = false;
  15275. free_trial_expiration_ = 0u;
  15276. is_low_violence_ = false;
  15277. is_account_locked_down_ = false;
  15278. is_community_banned_ = false;
  15279. }
  15280. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  15281. is_trade_banned_ = false;
  15282. trade_ban_expiration_ = 0u;
  15283. accountid_ = 0u;
  15284. suspension_end_time_ = 0u;
  15285. if (has_currency()) {
  15286. if (currency_ != &::google::protobuf::internal::kEmptyString) {
  15287. currency_->clear();
  15288. }
  15289. }
  15290. steam_level_ = 0u;
  15291. friend_count_ = 0u;
  15292. account_creation_time_ = 0u;
  15293. }
  15294. if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) {
  15295. is_steamguard_enabled_ = false;
  15296. is_phone_verified_ = false;
  15297. is_two_factor_auth_enabled_ = false;
  15298. two_factor_enabled_time_ = 0u;
  15299. phone_verification_time_ = 0u;
  15300. phone_id_ = GOOGLE_ULONGLONG(0);
  15301. is_phone_identifying_ = false;
  15302. }
  15303. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15304. mutable_unknown_fields()->Clear();
  15305. }
  15306. bool CGCSystemMsg_GetAccountDetails_Response::MergePartialFromCodedStream(
  15307. ::google::protobuf::io::CodedInputStream* input) {
  15308. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15309. ::google::protobuf::uint32 tag;
  15310. while ((tag = input->ReadTag()) != 0) {
  15311. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15312. // optional uint32 eresult_deprecated = 1 [default = 2];
  15313. case 1: {
  15314. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15315. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15316. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15317. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15318. input, &eresult_deprecated_)));
  15319. set_has_eresult_deprecated();
  15320. } else {
  15321. goto handle_uninterpreted;
  15322. }
  15323. if (input->ExpectTag(18)) goto parse_account_name;
  15324. break;
  15325. }
  15326. // optional string account_name = 2;
  15327. case 2: {
  15328. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15329. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15330. parse_account_name:
  15331. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15332. input, this->mutable_account_name()));
  15333. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15334. this->account_name().data(), this->account_name().length(),
  15335. ::google::protobuf::internal::WireFormat::PARSE);
  15336. } else {
  15337. goto handle_uninterpreted;
  15338. }
  15339. if (input->ExpectTag(26)) goto parse_persona_name;
  15340. break;
  15341. }
  15342. // optional string persona_name = 3;
  15343. case 3: {
  15344. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15345. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15346. parse_persona_name:
  15347. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15348. input, this->mutable_persona_name()));
  15349. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15350. this->persona_name().data(), this->persona_name().length(),
  15351. ::google::protobuf::internal::WireFormat::PARSE);
  15352. } else {
  15353. goto handle_uninterpreted;
  15354. }
  15355. if (input->ExpectTag(32)) goto parse_is_profile_public;
  15356. break;
  15357. }
  15358. // optional bool is_profile_public = 4;
  15359. case 4: {
  15360. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15361. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15362. parse_is_profile_public:
  15363. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15364. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15365. input, &is_profile_public_)));
  15366. set_has_is_profile_public();
  15367. } else {
  15368. goto handle_uninterpreted;
  15369. }
  15370. if (input->ExpectTag(40)) goto parse_is_inventory_public;
  15371. break;
  15372. }
  15373. // optional bool is_inventory_public = 5;
  15374. case 5: {
  15375. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15376. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15377. parse_is_inventory_public:
  15378. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15379. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15380. input, &is_inventory_public_)));
  15381. set_has_is_inventory_public();
  15382. } else {
  15383. goto handle_uninterpreted;
  15384. }
  15385. if (input->ExpectTag(56)) goto parse_is_vac_banned;
  15386. break;
  15387. }
  15388. // optional bool is_vac_banned = 7;
  15389. case 7: {
  15390. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15391. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15392. parse_is_vac_banned:
  15393. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15394. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15395. input, &is_vac_banned_)));
  15396. set_has_is_vac_banned();
  15397. } else {
  15398. goto handle_uninterpreted;
  15399. }
  15400. if (input->ExpectTag(64)) goto parse_is_cyber_cafe;
  15401. break;
  15402. }
  15403. // optional bool is_cyber_cafe = 8;
  15404. case 8: {
  15405. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15406. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15407. parse_is_cyber_cafe:
  15408. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15409. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15410. input, &is_cyber_cafe_)));
  15411. set_has_is_cyber_cafe();
  15412. } else {
  15413. goto handle_uninterpreted;
  15414. }
  15415. if (input->ExpectTag(72)) goto parse_is_school_account;
  15416. break;
  15417. }
  15418. // optional bool is_school_account = 9;
  15419. case 9: {
  15420. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15421. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15422. parse_is_school_account:
  15423. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15424. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15425. input, &is_school_account_)));
  15426. set_has_is_school_account();
  15427. } else {
  15428. goto handle_uninterpreted;
  15429. }
  15430. if (input->ExpectTag(80)) goto parse_is_limited;
  15431. break;
  15432. }
  15433. // optional bool is_limited = 10;
  15434. case 10: {
  15435. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15436. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15437. parse_is_limited:
  15438. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15439. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15440. input, &is_limited_)));
  15441. set_has_is_limited();
  15442. } else {
  15443. goto handle_uninterpreted;
  15444. }
  15445. if (input->ExpectTag(88)) goto parse_is_subscribed;
  15446. break;
  15447. }
  15448. // optional bool is_subscribed = 11;
  15449. case 11: {
  15450. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15451. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15452. parse_is_subscribed:
  15453. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15454. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15455. input, &is_subscribed_)));
  15456. set_has_is_subscribed();
  15457. } else {
  15458. goto handle_uninterpreted;
  15459. }
  15460. if (input->ExpectTag(96)) goto parse_package;
  15461. break;
  15462. }
  15463. // optional uint32 package = 12;
  15464. case 12: {
  15465. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15466. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15467. parse_package:
  15468. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15469. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15470. input, &package_)));
  15471. set_has_package();
  15472. } else {
  15473. goto handle_uninterpreted;
  15474. }
  15475. if (input->ExpectTag(104)) goto parse_is_free_trial_account;
  15476. break;
  15477. }
  15478. // optional bool is_free_trial_account = 13;
  15479. case 13: {
  15480. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15481. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15482. parse_is_free_trial_account:
  15483. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15484. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15485. input, &is_free_trial_account_)));
  15486. set_has_is_free_trial_account();
  15487. } else {
  15488. goto handle_uninterpreted;
  15489. }
  15490. if (input->ExpectTag(112)) goto parse_free_trial_expiration;
  15491. break;
  15492. }
  15493. // optional uint32 free_trial_expiration = 14;
  15494. case 14: {
  15495. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15496. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15497. parse_free_trial_expiration:
  15498. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15499. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15500. input, &free_trial_expiration_)));
  15501. set_has_free_trial_expiration();
  15502. } else {
  15503. goto handle_uninterpreted;
  15504. }
  15505. if (input->ExpectTag(120)) goto parse_is_low_violence;
  15506. break;
  15507. }
  15508. // optional bool is_low_violence = 15;
  15509. case 15: {
  15510. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15511. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15512. parse_is_low_violence:
  15513. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15514. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15515. input, &is_low_violence_)));
  15516. set_has_is_low_violence();
  15517. } else {
  15518. goto handle_uninterpreted;
  15519. }
  15520. if (input->ExpectTag(128)) goto parse_is_account_locked_down;
  15521. break;
  15522. }
  15523. // optional bool is_account_locked_down = 16;
  15524. case 16: {
  15525. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15526. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15527. parse_is_account_locked_down:
  15528. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15529. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15530. input, &is_account_locked_down_)));
  15531. set_has_is_account_locked_down();
  15532. } else {
  15533. goto handle_uninterpreted;
  15534. }
  15535. if (input->ExpectTag(136)) goto parse_is_community_banned;
  15536. break;
  15537. }
  15538. // optional bool is_community_banned = 17;
  15539. case 17: {
  15540. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15541. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15542. parse_is_community_banned:
  15543. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15544. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15545. input, &is_community_banned_)));
  15546. set_has_is_community_banned();
  15547. } else {
  15548. goto handle_uninterpreted;
  15549. }
  15550. if (input->ExpectTag(144)) goto parse_is_trade_banned;
  15551. break;
  15552. }
  15553. // optional bool is_trade_banned = 18;
  15554. case 18: {
  15555. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15556. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15557. parse_is_trade_banned:
  15558. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15559. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15560. input, &is_trade_banned_)));
  15561. set_has_is_trade_banned();
  15562. } else {
  15563. goto handle_uninterpreted;
  15564. }
  15565. if (input->ExpectTag(152)) goto parse_trade_ban_expiration;
  15566. break;
  15567. }
  15568. // optional uint32 trade_ban_expiration = 19;
  15569. case 19: {
  15570. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15571. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15572. parse_trade_ban_expiration:
  15573. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15574. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15575. input, &trade_ban_expiration_)));
  15576. set_has_trade_ban_expiration();
  15577. } else {
  15578. goto handle_uninterpreted;
  15579. }
  15580. if (input->ExpectTag(160)) goto parse_accountid;
  15581. break;
  15582. }
  15583. // optional uint32 accountid = 20;
  15584. case 20: {
  15585. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15586. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15587. parse_accountid:
  15588. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15589. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15590. input, &accountid_)));
  15591. set_has_accountid();
  15592. } else {
  15593. goto handle_uninterpreted;
  15594. }
  15595. if (input->ExpectTag(168)) goto parse_suspension_end_time;
  15596. break;
  15597. }
  15598. // optional uint32 suspension_end_time = 21;
  15599. case 21: {
  15600. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15601. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15602. parse_suspension_end_time:
  15603. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15604. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15605. input, &suspension_end_time_)));
  15606. set_has_suspension_end_time();
  15607. } else {
  15608. goto handle_uninterpreted;
  15609. }
  15610. if (input->ExpectTag(178)) goto parse_currency;
  15611. break;
  15612. }
  15613. // optional string currency = 22;
  15614. case 22: {
  15615. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15616. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15617. parse_currency:
  15618. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15619. input, this->mutable_currency()));
  15620. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15621. this->currency().data(), this->currency().length(),
  15622. ::google::protobuf::internal::WireFormat::PARSE);
  15623. } else {
  15624. goto handle_uninterpreted;
  15625. }
  15626. if (input->ExpectTag(184)) goto parse_steam_level;
  15627. break;
  15628. }
  15629. // optional uint32 steam_level = 23;
  15630. case 23: {
  15631. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15632. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15633. parse_steam_level:
  15634. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15635. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15636. input, &steam_level_)));
  15637. set_has_steam_level();
  15638. } else {
  15639. goto handle_uninterpreted;
  15640. }
  15641. if (input->ExpectTag(192)) goto parse_friend_count;
  15642. break;
  15643. }
  15644. // optional uint32 friend_count = 24;
  15645. case 24: {
  15646. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15647. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15648. parse_friend_count:
  15649. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15650. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15651. input, &friend_count_)));
  15652. set_has_friend_count();
  15653. } else {
  15654. goto handle_uninterpreted;
  15655. }
  15656. if (input->ExpectTag(200)) goto parse_account_creation_time;
  15657. break;
  15658. }
  15659. // optional uint32 account_creation_time = 25;
  15660. case 25: {
  15661. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15662. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15663. parse_account_creation_time:
  15664. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15665. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15666. input, &account_creation_time_)));
  15667. set_has_account_creation_time();
  15668. } else {
  15669. goto handle_uninterpreted;
  15670. }
  15671. if (input->ExpectTag(216)) goto parse_is_steamguard_enabled;
  15672. break;
  15673. }
  15674. // optional bool is_steamguard_enabled = 27;
  15675. case 27: {
  15676. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15677. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15678. parse_is_steamguard_enabled:
  15679. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15680. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15681. input, &is_steamguard_enabled_)));
  15682. set_has_is_steamguard_enabled();
  15683. } else {
  15684. goto handle_uninterpreted;
  15685. }
  15686. if (input->ExpectTag(224)) goto parse_is_phone_verified;
  15687. break;
  15688. }
  15689. // optional bool is_phone_verified = 28;
  15690. case 28: {
  15691. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15692. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15693. parse_is_phone_verified:
  15694. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15695. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15696. input, &is_phone_verified_)));
  15697. set_has_is_phone_verified();
  15698. } else {
  15699. goto handle_uninterpreted;
  15700. }
  15701. if (input->ExpectTag(232)) goto parse_is_two_factor_auth_enabled;
  15702. break;
  15703. }
  15704. // optional bool is_two_factor_auth_enabled = 29;
  15705. case 29: {
  15706. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15707. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15708. parse_is_two_factor_auth_enabled:
  15709. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15710. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15711. input, &is_two_factor_auth_enabled_)));
  15712. set_has_is_two_factor_auth_enabled();
  15713. } else {
  15714. goto handle_uninterpreted;
  15715. }
  15716. if (input->ExpectTag(240)) goto parse_two_factor_enabled_time;
  15717. break;
  15718. }
  15719. // optional uint32 two_factor_enabled_time = 30;
  15720. case 30: {
  15721. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15722. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15723. parse_two_factor_enabled_time:
  15724. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15725. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15726. input, &two_factor_enabled_time_)));
  15727. set_has_two_factor_enabled_time();
  15728. } else {
  15729. goto handle_uninterpreted;
  15730. }
  15731. if (input->ExpectTag(248)) goto parse_phone_verification_time;
  15732. break;
  15733. }
  15734. // optional uint32 phone_verification_time = 31;
  15735. case 31: {
  15736. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15737. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15738. parse_phone_verification_time:
  15739. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15740. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  15741. input, &phone_verification_time_)));
  15742. set_has_phone_verification_time();
  15743. } else {
  15744. goto handle_uninterpreted;
  15745. }
  15746. if (input->ExpectTag(264)) goto parse_phone_id;
  15747. break;
  15748. }
  15749. // optional uint64 phone_id = 33;
  15750. case 33: {
  15751. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15752. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15753. parse_phone_id:
  15754. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15755. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
  15756. input, &phone_id_)));
  15757. set_has_phone_id();
  15758. } else {
  15759. goto handle_uninterpreted;
  15760. }
  15761. if (input->ExpectTag(272)) goto parse_is_phone_identifying;
  15762. break;
  15763. }
  15764. // optional bool is_phone_identifying = 34;
  15765. case 34: {
  15766. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15767. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15768. parse_is_phone_identifying:
  15769. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15770. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15771. input, &is_phone_identifying_)));
  15772. set_has_is_phone_identifying();
  15773. } else {
  15774. goto handle_uninterpreted;
  15775. }
  15776. if (input->ExpectAtEnd()) return true;
  15777. break;
  15778. }
  15779. default: {
  15780. handle_uninterpreted:
  15781. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15782. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15783. return true;
  15784. }
  15785. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15786. input, tag, mutable_unknown_fields()));
  15787. break;
  15788. }
  15789. }
  15790. }
  15791. return true;
  15792. #undef DO_
  15793. }
  15794. void CGCSystemMsg_GetAccountDetails_Response::SerializeWithCachedSizes(
  15795. ::google::protobuf::io::CodedOutputStream* output) const {
  15796. // optional uint32 eresult_deprecated = 1 [default = 2];
  15797. if (has_eresult_deprecated()) {
  15798. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->eresult_deprecated(), output);
  15799. }
  15800. // optional string account_name = 2;
  15801. if (has_account_name()) {
  15802. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15803. this->account_name().data(), this->account_name().length(),
  15804. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15805. ::google::protobuf::internal::WireFormatLite::WriteString(
  15806. 2, this->account_name(), output);
  15807. }
  15808. // optional string persona_name = 3;
  15809. if (has_persona_name()) {
  15810. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15811. this->persona_name().data(), this->persona_name().length(),
  15812. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15813. ::google::protobuf::internal::WireFormatLite::WriteString(
  15814. 3, this->persona_name(), output);
  15815. }
  15816. // optional bool is_profile_public = 4;
  15817. if (has_is_profile_public()) {
  15818. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_profile_public(), output);
  15819. }
  15820. // optional bool is_inventory_public = 5;
  15821. if (has_is_inventory_public()) {
  15822. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->is_inventory_public(), output);
  15823. }
  15824. // optional bool is_vac_banned = 7;
  15825. if (has_is_vac_banned()) {
  15826. ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->is_vac_banned(), output);
  15827. }
  15828. // optional bool is_cyber_cafe = 8;
  15829. if (has_is_cyber_cafe()) {
  15830. ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->is_cyber_cafe(), output);
  15831. }
  15832. // optional bool is_school_account = 9;
  15833. if (has_is_school_account()) {
  15834. ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->is_school_account(), output);
  15835. }
  15836. // optional bool is_limited = 10;
  15837. if (has_is_limited()) {
  15838. ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->is_limited(), output);
  15839. }
  15840. // optional bool is_subscribed = 11;
  15841. if (has_is_subscribed()) {
  15842. ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->is_subscribed(), output);
  15843. }
  15844. // optional uint32 package = 12;
  15845. if (has_package()) {
  15846. ::google::protobuf::internal::WireFormatLite::WriteUInt32(12, this->package(), output);
  15847. }
  15848. // optional bool is_free_trial_account = 13;
  15849. if (has_is_free_trial_account()) {
  15850. ::google::protobuf::internal::WireFormatLite::WriteBool(13, this->is_free_trial_account(), output);
  15851. }
  15852. // optional uint32 free_trial_expiration = 14;
  15853. if (has_free_trial_expiration()) {
  15854. ::google::protobuf::internal::WireFormatLite::WriteUInt32(14, this->free_trial_expiration(), output);
  15855. }
  15856. // optional bool is_low_violence = 15;
  15857. if (has_is_low_violence()) {
  15858. ::google::protobuf::internal::WireFormatLite::WriteBool(15, this->is_low_violence(), output);
  15859. }
  15860. // optional bool is_account_locked_down = 16;
  15861. if (has_is_account_locked_down()) {
  15862. ::google::protobuf::internal::WireFormatLite::WriteBool(16, this->is_account_locked_down(), output);
  15863. }
  15864. // optional bool is_community_banned = 17;
  15865. if (has_is_community_banned()) {
  15866. ::google::protobuf::internal::WireFormatLite::WriteBool(17, this->is_community_banned(), output);
  15867. }
  15868. // optional bool is_trade_banned = 18;
  15869. if (has_is_trade_banned()) {
  15870. ::google::protobuf::internal::WireFormatLite::WriteBool(18, this->is_trade_banned(), output);
  15871. }
  15872. // optional uint32 trade_ban_expiration = 19;
  15873. if (has_trade_ban_expiration()) {
  15874. ::google::protobuf::internal::WireFormatLite::WriteUInt32(19, this->trade_ban_expiration(), output);
  15875. }
  15876. // optional uint32 accountid = 20;
  15877. if (has_accountid()) {
  15878. ::google::protobuf::internal::WireFormatLite::WriteUInt32(20, this->accountid(), output);
  15879. }
  15880. // optional uint32 suspension_end_time = 21;
  15881. if (has_suspension_end_time()) {
  15882. ::google::protobuf::internal::WireFormatLite::WriteUInt32(21, this->suspension_end_time(), output);
  15883. }
  15884. // optional string currency = 22;
  15885. if (has_currency()) {
  15886. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15887. this->currency().data(), this->currency().length(),
  15888. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15889. ::google::protobuf::internal::WireFormatLite::WriteString(
  15890. 22, this->currency(), output);
  15891. }
  15892. // optional uint32 steam_level = 23;
  15893. if (has_steam_level()) {
  15894. ::google::protobuf::internal::WireFormatLite::WriteUInt32(23, this->steam_level(), output);
  15895. }
  15896. // optional uint32 friend_count = 24;
  15897. if (has_friend_count()) {
  15898. ::google::protobuf::internal::WireFormatLite::WriteUInt32(24, this->friend_count(), output);
  15899. }
  15900. // optional uint32 account_creation_time = 25;
  15901. if (has_account_creation_time()) {
  15902. ::google::protobuf::internal::WireFormatLite::WriteUInt32(25, this->account_creation_time(), output);
  15903. }
  15904. // optional bool is_steamguard_enabled = 27;
  15905. if (has_is_steamguard_enabled()) {
  15906. ::google::protobuf::internal::WireFormatLite::WriteBool(27, this->is_steamguard_enabled(), output);
  15907. }
  15908. // optional bool is_phone_verified = 28;
  15909. if (has_is_phone_verified()) {
  15910. ::google::protobuf::internal::WireFormatLite::WriteBool(28, this->is_phone_verified(), output);
  15911. }
  15912. // optional bool is_two_factor_auth_enabled = 29;
  15913. if (has_is_two_factor_auth_enabled()) {
  15914. ::google::protobuf::internal::WireFormatLite::WriteBool(29, this->is_two_factor_auth_enabled(), output);
  15915. }
  15916. // optional uint32 two_factor_enabled_time = 30;
  15917. if (has_two_factor_enabled_time()) {
  15918. ::google::protobuf::internal::WireFormatLite::WriteUInt32(30, this->two_factor_enabled_time(), output);
  15919. }
  15920. // optional uint32 phone_verification_time = 31;
  15921. if (has_phone_verification_time()) {
  15922. ::google::protobuf::internal::WireFormatLite::WriteUInt32(31, this->phone_verification_time(), output);
  15923. }
  15924. // optional uint64 phone_id = 33;
  15925. if (has_phone_id()) {
  15926. ::google::protobuf::internal::WireFormatLite::WriteUInt64(33, this->phone_id(), output);
  15927. }
  15928. // optional bool is_phone_identifying = 34;
  15929. if (has_is_phone_identifying()) {
  15930. ::google::protobuf::internal::WireFormatLite::WriteBool(34, this->is_phone_identifying(), output);
  15931. }
  15932. if (!unknown_fields().empty()) {
  15933. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15934. unknown_fields(), output);
  15935. }
  15936. }
  15937. ::google::protobuf::uint8* CGCSystemMsg_GetAccountDetails_Response::SerializeWithCachedSizesToArray(
  15938. ::google::protobuf::uint8* target) const {
  15939. // optional uint32 eresult_deprecated = 1 [default = 2];
  15940. if (has_eresult_deprecated()) {
  15941. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->eresult_deprecated(), target);
  15942. }
  15943. // optional string account_name = 2;
  15944. if (has_account_name()) {
  15945. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15946. this->account_name().data(), this->account_name().length(),
  15947. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15948. target =
  15949. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15950. 2, this->account_name(), target);
  15951. }
  15952. // optional string persona_name = 3;
  15953. if (has_persona_name()) {
  15954. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  15955. this->persona_name().data(), this->persona_name().length(),
  15956. ::google::protobuf::internal::WireFormat::SERIALIZE);
  15957. target =
  15958. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15959. 3, this->persona_name(), target);
  15960. }
  15961. // optional bool is_profile_public = 4;
  15962. if (has_is_profile_public()) {
  15963. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_profile_public(), target);
  15964. }
  15965. // optional bool is_inventory_public = 5;
  15966. if (has_is_inventory_public()) {
  15967. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->is_inventory_public(), target);
  15968. }
  15969. // optional bool is_vac_banned = 7;
  15970. if (has_is_vac_banned()) {
  15971. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->is_vac_banned(), target);
  15972. }
  15973. // optional bool is_cyber_cafe = 8;
  15974. if (has_is_cyber_cafe()) {
  15975. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->is_cyber_cafe(), target);
  15976. }
  15977. // optional bool is_school_account = 9;
  15978. if (has_is_school_account()) {
  15979. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->is_school_account(), target);
  15980. }
  15981. // optional bool is_limited = 10;
  15982. if (has_is_limited()) {
  15983. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->is_limited(), target);
  15984. }
  15985. // optional bool is_subscribed = 11;
  15986. if (has_is_subscribed()) {
  15987. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11, this->is_subscribed(), target);
  15988. }
  15989. // optional uint32 package = 12;
  15990. if (has_package()) {
  15991. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(12, this->package(), target);
  15992. }
  15993. // optional bool is_free_trial_account = 13;
  15994. if (has_is_free_trial_account()) {
  15995. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(13, this->is_free_trial_account(), target);
  15996. }
  15997. // optional uint32 free_trial_expiration = 14;
  15998. if (has_free_trial_expiration()) {
  15999. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(14, this->free_trial_expiration(), target);
  16000. }
  16001. // optional bool is_low_violence = 15;
  16002. if (has_is_low_violence()) {
  16003. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(15, this->is_low_violence(), target);
  16004. }
  16005. // optional bool is_account_locked_down = 16;
  16006. if (has_is_account_locked_down()) {
  16007. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16, this->is_account_locked_down(), target);
  16008. }
  16009. // optional bool is_community_banned = 17;
  16010. if (has_is_community_banned()) {
  16011. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->is_community_banned(), target);
  16012. }
  16013. // optional bool is_trade_banned = 18;
  16014. if (has_is_trade_banned()) {
  16015. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(18, this->is_trade_banned(), target);
  16016. }
  16017. // optional uint32 trade_ban_expiration = 19;
  16018. if (has_trade_ban_expiration()) {
  16019. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(19, this->trade_ban_expiration(), target);
  16020. }
  16021. // optional uint32 accountid = 20;
  16022. if (has_accountid()) {
  16023. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(20, this->accountid(), target);
  16024. }
  16025. // optional uint32 suspension_end_time = 21;
  16026. if (has_suspension_end_time()) {
  16027. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(21, this->suspension_end_time(), target);
  16028. }
  16029. // optional string currency = 22;
  16030. if (has_currency()) {
  16031. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  16032. this->currency().data(), this->currency().length(),
  16033. ::google::protobuf::internal::WireFormat::SERIALIZE);
  16034. target =
  16035. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  16036. 22, this->currency(), target);
  16037. }
  16038. // optional uint32 steam_level = 23;
  16039. if (has_steam_level()) {
  16040. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(23, this->steam_level(), target);
  16041. }
  16042. // optional uint32 friend_count = 24;
  16043. if (has_friend_count()) {
  16044. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(24, this->friend_count(), target);
  16045. }
  16046. // optional uint32 account_creation_time = 25;
  16047. if (has_account_creation_time()) {
  16048. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(25, this->account_creation_time(), target);
  16049. }
  16050. // optional bool is_steamguard_enabled = 27;
  16051. if (has_is_steamguard_enabled()) {
  16052. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(27, this->is_steamguard_enabled(), target);
  16053. }
  16054. // optional bool is_phone_verified = 28;
  16055. if (has_is_phone_verified()) {
  16056. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(28, this->is_phone_verified(), target);
  16057. }
  16058. // optional bool is_two_factor_auth_enabled = 29;
  16059. if (has_is_two_factor_auth_enabled()) {
  16060. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(29, this->is_two_factor_auth_enabled(), target);
  16061. }
  16062. // optional uint32 two_factor_enabled_time = 30;
  16063. if (has_two_factor_enabled_time()) {
  16064. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(30, this->two_factor_enabled_time(), target);
  16065. }
  16066. // optional uint32 phone_verification_time = 31;
  16067. if (has_phone_verification_time()) {
  16068. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(31, this->phone_verification_time(), target);
  16069. }
  16070. // optional uint64 phone_id = 33;
  16071. if (has_phone_id()) {
  16072. target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(33, this->phone_id(), target);
  16073. }
  16074. // optional bool is_phone_identifying = 34;
  16075. if (has_is_phone_identifying()) {
  16076. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(34, this->is_phone_identifying(), target);
  16077. }
  16078. if (!unknown_fields().empty()) {
  16079. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16080. unknown_fields(), target);
  16081. }
  16082. return target;
  16083. }
  16084. int CGCSystemMsg_GetAccountDetails_Response::ByteSize() const {
  16085. int total_size = 0;
  16086. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16087. // optional uint32 eresult_deprecated = 1 [default = 2];
  16088. if (has_eresult_deprecated()) {
  16089. total_size += 1 +
  16090. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16091. this->eresult_deprecated());
  16092. }
  16093. // optional string account_name = 2;
  16094. if (has_account_name()) {
  16095. total_size += 1 +
  16096. ::google::protobuf::internal::WireFormatLite::StringSize(
  16097. this->account_name());
  16098. }
  16099. // optional string persona_name = 3;
  16100. if (has_persona_name()) {
  16101. total_size += 1 +
  16102. ::google::protobuf::internal::WireFormatLite::StringSize(
  16103. this->persona_name());
  16104. }
  16105. // optional bool is_profile_public = 4;
  16106. if (has_is_profile_public()) {
  16107. total_size += 1 + 1;
  16108. }
  16109. // optional bool is_inventory_public = 5;
  16110. if (has_is_inventory_public()) {
  16111. total_size += 1 + 1;
  16112. }
  16113. // optional bool is_vac_banned = 7;
  16114. if (has_is_vac_banned()) {
  16115. total_size += 1 + 1;
  16116. }
  16117. // optional bool is_cyber_cafe = 8;
  16118. if (has_is_cyber_cafe()) {
  16119. total_size += 1 + 1;
  16120. }
  16121. // optional bool is_school_account = 9;
  16122. if (has_is_school_account()) {
  16123. total_size += 1 + 1;
  16124. }
  16125. }
  16126. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  16127. // optional bool is_limited = 10;
  16128. if (has_is_limited()) {
  16129. total_size += 1 + 1;
  16130. }
  16131. // optional bool is_subscribed = 11;
  16132. if (has_is_subscribed()) {
  16133. total_size += 1 + 1;
  16134. }
  16135. // optional uint32 package = 12;
  16136. if (has_package()) {
  16137. total_size += 1 +
  16138. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16139. this->package());
  16140. }
  16141. // optional bool is_free_trial_account = 13;
  16142. if (has_is_free_trial_account()) {
  16143. total_size += 1 + 1;
  16144. }
  16145. // optional uint32 free_trial_expiration = 14;
  16146. if (has_free_trial_expiration()) {
  16147. total_size += 1 +
  16148. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16149. this->free_trial_expiration());
  16150. }
  16151. // optional bool is_low_violence = 15;
  16152. if (has_is_low_violence()) {
  16153. total_size += 1 + 1;
  16154. }
  16155. // optional bool is_account_locked_down = 16;
  16156. if (has_is_account_locked_down()) {
  16157. total_size += 2 + 1;
  16158. }
  16159. // optional bool is_community_banned = 17;
  16160. if (has_is_community_banned()) {
  16161. total_size += 2 + 1;
  16162. }
  16163. }
  16164. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  16165. // optional bool is_trade_banned = 18;
  16166. if (has_is_trade_banned()) {
  16167. total_size += 2 + 1;
  16168. }
  16169. // optional uint32 trade_ban_expiration = 19;
  16170. if (has_trade_ban_expiration()) {
  16171. total_size += 2 +
  16172. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16173. this->trade_ban_expiration());
  16174. }
  16175. // optional uint32 accountid = 20;
  16176. if (has_accountid()) {
  16177. total_size += 2 +
  16178. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16179. this->accountid());
  16180. }
  16181. // optional uint32 suspension_end_time = 21;
  16182. if (has_suspension_end_time()) {
  16183. total_size += 2 +
  16184. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16185. this->suspension_end_time());
  16186. }
  16187. // optional string currency = 22;
  16188. if (has_currency()) {
  16189. total_size += 2 +
  16190. ::google::protobuf::internal::WireFormatLite::StringSize(
  16191. this->currency());
  16192. }
  16193. // optional uint32 steam_level = 23;
  16194. if (has_steam_level()) {
  16195. total_size += 2 +
  16196. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16197. this->steam_level());
  16198. }
  16199. // optional uint32 friend_count = 24;
  16200. if (has_friend_count()) {
  16201. total_size += 2 +
  16202. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16203. this->friend_count());
  16204. }
  16205. // optional uint32 account_creation_time = 25;
  16206. if (has_account_creation_time()) {
  16207. total_size += 2 +
  16208. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16209. this->account_creation_time());
  16210. }
  16211. }
  16212. if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) {
  16213. // optional bool is_steamguard_enabled = 27;
  16214. if (has_is_steamguard_enabled()) {
  16215. total_size += 2 + 1;
  16216. }
  16217. // optional bool is_phone_verified = 28;
  16218. if (has_is_phone_verified()) {
  16219. total_size += 2 + 1;
  16220. }
  16221. // optional bool is_two_factor_auth_enabled = 29;
  16222. if (has_is_two_factor_auth_enabled()) {
  16223. total_size += 2 + 1;
  16224. }
  16225. // optional uint32 two_factor_enabled_time = 30;
  16226. if (has_two_factor_enabled_time()) {
  16227. total_size += 2 +
  16228. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16229. this->two_factor_enabled_time());
  16230. }
  16231. // optional uint32 phone_verification_time = 31;
  16232. if (has_phone_verification_time()) {
  16233. total_size += 2 +
  16234. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  16235. this->phone_verification_time());
  16236. }
  16237. // optional uint64 phone_id = 33;
  16238. if (has_phone_id()) {
  16239. total_size += 2 +
  16240. ::google::protobuf::internal::WireFormatLite::UInt64Size(
  16241. this->phone_id());
  16242. }
  16243. // optional bool is_phone_identifying = 34;
  16244. if (has_is_phone_identifying()) {
  16245. total_size += 2 + 1;
  16246. }
  16247. }
  16248. if (!unknown_fields().empty()) {
  16249. total_size +=
  16250. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16251. unknown_fields());
  16252. }
  16253. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16254. _cached_size_ = total_size;
  16255. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16256. return total_size;
  16257. }
  16258. void CGCSystemMsg_GetAccountDetails_Response::MergeFrom(const ::google::protobuf::Message& from) {
  16259. GOOGLE_CHECK_NE(&from, this);
  16260. const CGCSystemMsg_GetAccountDetails_Response* source =
  16261. ::google::protobuf::internal::dynamic_cast_if_available<const CGCSystemMsg_GetAccountDetails_Response*>(
  16262. &from);
  16263. if (source == NULL) {
  16264. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16265. } else {
  16266. MergeFrom(*source);
  16267. }
  16268. }
  16269. void CGCSystemMsg_GetAccountDetails_Response::MergeFrom(const CGCSystemMsg_GetAccountDetails_Response& from) {
  16270. GOOGLE_CHECK_NE(&from, this);
  16271. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16272. if (from.has_eresult_deprecated()) {
  16273. set_eresult_deprecated(from.eresult_deprecated());
  16274. }
  16275. if (from.has_account_name()) {
  16276. set_account_name(from.account_name());
  16277. }
  16278. if (from.has_persona_name()) {
  16279. set_persona_name(from.persona_name());
  16280. }
  16281. if (from.has_is_profile_public()) {
  16282. set_is_profile_public(from.is_profile_public());
  16283. }
  16284. if (from.has_is_inventory_public()) {
  16285. set_is_inventory_public(from.is_inventory_public());
  16286. }
  16287. if (from.has_is_vac_banned()) {
  16288. set_is_vac_banned(from.is_vac_banned());
  16289. }
  16290. if (from.has_is_cyber_cafe()) {
  16291. set_is_cyber_cafe(from.is_cyber_cafe());
  16292. }
  16293. if (from.has_is_school_account()) {
  16294. set_is_school_account(from.is_school_account());
  16295. }
  16296. }
  16297. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  16298. if (from.has_is_limited()) {
  16299. set_is_limited(from.is_limited());
  16300. }
  16301. if (from.has_is_subscribed()) {
  16302. set_is_subscribed(from.is_subscribed());
  16303. }
  16304. if (from.has_package()) {
  16305. set_package(from.package());
  16306. }
  16307. if (from.has_is_free_trial_account()) {
  16308. set_is_free_trial_account(from.is_free_trial_account());
  16309. }
  16310. if (from.has_free_trial_expiration()) {
  16311. set_free_trial_expiration(from.free_trial_expiration());
  16312. }
  16313. if (from.has_is_low_violence()) {
  16314. set_is_low_violence(from.is_low_violence());
  16315. }
  16316. if (from.has_is_account_locked_down()) {
  16317. set_is_account_locked_down(from.is_account_locked_down());
  16318. }
  16319. if (from.has_is_community_banned()) {
  16320. set_is_community_banned(from.is_community_banned());
  16321. }
  16322. }
  16323. if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  16324. if (from.has_is_trade_banned()) {
  16325. set_is_trade_banned(from.is_trade_banned());
  16326. }
  16327. if (from.has_trade_ban_expiration()) {
  16328. set_trade_ban_expiration(from.trade_ban_expiration());
  16329. }
  16330. if (from.has_accountid()) {
  16331. set_accountid(from.accountid());
  16332. }
  16333. if (from.has_suspension_end_time()) {
  16334. set_suspension_end_time(from.suspension_end_time());
  16335. }
  16336. if (from.has_currency()) {
  16337. set_currency(from.currency());
  16338. }
  16339. if (from.has_steam_level()) {
  16340. set_steam_level(from.steam_level());
  16341. }
  16342. if (from.has_friend_count()) {
  16343. set_friend_count(from.friend_count());
  16344. }
  16345. if (from.has_account_creation_time()) {
  16346. set_account_creation_time(from.account_creation_time());
  16347. }
  16348. }
  16349. if (from._has_bits_[24 / 32] & (0xffu << (24 % 32))) {
  16350. if (from.has_is_steamguard_enabled()) {
  16351. set_is_steamguard_enabled(from.is_steamguard_enabled());
  16352. }
  16353. if (from.has_is_phone_verified()) {
  16354. set_is_phone_verified(from.is_phone_verified());
  16355. }
  16356. if (from.has_is_two_factor_auth_enabled()) {
  16357. set_is_two_factor_auth_enabled(from.is_two_factor_auth_enabled());
  16358. }
  16359. if (from.has_two_factor_enabled_time()) {
  16360. set_two_factor_enabled_time(from.two_factor_enabled_time());
  16361. }
  16362. if (from.has_phone_verification_time()) {
  16363. set_phone_verification_time(from.phone_verification_time());
  16364. }
  16365. if (from.has_phone_id()) {
  16366. set_phone_id(from.phone_id());
  16367. }
  16368. if (from.has_is_phone_identifying()) {
  16369. set_is_phone_identifying(from.is_phone_identifying());
  16370. }
  16371. }
  16372. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16373. }
  16374. void CGCSystemMsg_GetAccountDetails_Response::CopyFrom(const ::google::protobuf::Message& from) {
  16375. if (&from == this) return;
  16376. Clear();
  16377. MergeFrom(from);
  16378. }
  16379. void CGCSystemMsg_GetAccountDetails_Response::CopyFrom(const CGCSystemMsg_GetAccountDetails_Response& from) {
  16380. if (&from == this) return;
  16381. Clear();
  16382. MergeFrom(from);
  16383. }
  16384. bool CGCSystemMsg_GetAccountDetails_Response::IsInitialized() const {
  16385. return true;
  16386. }
  16387. void CGCSystemMsg_GetAccountDetails_Response::Swap(CGCSystemMsg_GetAccountDetails_Response* other) {
  16388. if (other != this) {
  16389. std::swap(eresult_deprecated_, other->eresult_deprecated_);
  16390. std::swap(account_name_, other->account_name_);
  16391. std::swap(persona_name_, other->persona_name_);
  16392. std::swap(is_profile_public_, other->is_profile_public_);
  16393. std::swap(is_inventory_public_, other->is_inventory_public_);
  16394. std::swap(is_vac_banned_, other->is_vac_banned_);
  16395. std::swap(is_cyber_cafe_, other->is_cyber_cafe_);
  16396. std::swap(is_school_account_, other->is_school_account_);
  16397. std::swap(is_limited_, other->is_limited_);
  16398. std::swap(is_subscribed_, other->is_subscribed_);
  16399. std::swap(package_, other->package_);
  16400. std::swap(is_free_trial_account_, other->is_free_trial_account_);
  16401. std::swap(free_trial_expiration_, other->free_trial_expiration_);
  16402. std::swap(is_low_violence_, other->is_low_violence_);
  16403. std::swap(is_account_locked_down_, other->is_account_locked_down_);
  16404. std::swap(is_community_banned_, other->is_community_banned_);
  16405. std::swap(is_trade_banned_, other->is_trade_banned_);
  16406. std::swap(trade_ban_expiration_, other->trade_ban_expiration_);
  16407. std::swap(accountid_, other->accountid_);
  16408. std::swap(suspension_end_time_, other->suspension_end_time_);
  16409. std::swap(currency_, other->currency_);
  16410. std::swap(steam_level_, other->steam_level_);
  16411. std::swap(friend_count_, other->friend_count_);
  16412. std::swap(account_creation_time_, other->account_creation_time_);
  16413. std::swap(is_steamguard_enabled_, other->is_steamguard_enabled_);
  16414. std::swap(is_phone_verified_, other->is_phone_verified_);
  16415. std::swap(is_two_factor_auth_enabled_, other->is_two_factor_auth_enabled_);
  16416. std::swap(two_factor_enabled_time_, other->two_factor_enabled_time_);
  16417. std::swap(phone_verification_time_, other->phone_verification_time_);
  16418. std::swap(phone_id_, other->phone_id_);
  16419. std::swap(is_phone_identifying_, other->is_phone_identifying_);
  16420. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16421. _unknown_fields_.Swap(&other->_unknown_fields_);
  16422. std::swap(_cached_size_, other->_cached_size_);
  16423. }
  16424. }
  16425. ::google::protobuf::Metadata CGCSystemMsg_GetAccountDetails_Response::GetMetadata() const {
  16426. protobuf_AssignDescriptorsOnce();
  16427. ::google::protobuf::Metadata metadata;
  16428. metadata.descriptor = CGCSystemMsg_GetAccountDetails_Response_descriptor_;
  16429. metadata.reflection = CGCSystemMsg_GetAccountDetails_Response_reflection_;
  16430. return metadata;
  16431. }
  16432. // ===================================================================
  16433. #ifndef _MSC_VER
  16434. const int CMsgGCGetPersonaNames::kSteamidsFieldNumber;
  16435. #endif // !_MSC_VER
  16436. CMsgGCGetPersonaNames::CMsgGCGetPersonaNames()
  16437. : ::google::protobuf::Message() {
  16438. SharedCtor();
  16439. }
  16440. void CMsgGCGetPersonaNames::InitAsDefaultInstance() {
  16441. }
  16442. CMsgGCGetPersonaNames::CMsgGCGetPersonaNames(const CMsgGCGetPersonaNames& from)
  16443. : ::google::protobuf::Message() {
  16444. SharedCtor();
  16445. MergeFrom(from);
  16446. }
  16447. void CMsgGCGetPersonaNames::SharedCtor() {
  16448. _cached_size_ = 0;
  16449. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16450. }
  16451. CMsgGCGetPersonaNames::~CMsgGCGetPersonaNames() {
  16452. SharedDtor();
  16453. }
  16454. void CMsgGCGetPersonaNames::SharedDtor() {
  16455. if (this != default_instance_) {
  16456. }
  16457. }
  16458. void CMsgGCGetPersonaNames::SetCachedSize(int size) const {
  16459. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16460. _cached_size_ = size;
  16461. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16462. }
  16463. const ::google::protobuf::Descriptor* CMsgGCGetPersonaNames::descriptor() {
  16464. protobuf_AssignDescriptorsOnce();
  16465. return CMsgGCGetPersonaNames_descriptor_;
  16466. }
  16467. const CMsgGCGetPersonaNames& CMsgGCGetPersonaNames::default_instance() {
  16468. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  16469. return *default_instance_;
  16470. }
  16471. CMsgGCGetPersonaNames* CMsgGCGetPersonaNames::default_instance_ = NULL;
  16472. CMsgGCGetPersonaNames* CMsgGCGetPersonaNames::New() const {
  16473. return new CMsgGCGetPersonaNames;
  16474. }
  16475. void CMsgGCGetPersonaNames::Clear() {
  16476. steamids_.Clear();
  16477. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16478. mutable_unknown_fields()->Clear();
  16479. }
  16480. bool CMsgGCGetPersonaNames::MergePartialFromCodedStream(
  16481. ::google::protobuf::io::CodedInputStream* input) {
  16482. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16483. ::google::protobuf::uint32 tag;
  16484. while ((tag = input->ReadTag()) != 0) {
  16485. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16486. // repeated fixed64 steamids = 1;
  16487. case 1: {
  16488. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16489. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  16490. parse_steamids:
  16491. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  16492. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  16493. 1, 9, input, this->mutable_steamids())));
  16494. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  16495. == ::google::protobuf::internal::WireFormatLite::
  16496. WIRETYPE_LENGTH_DELIMITED) {
  16497. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  16498. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  16499. input, this->mutable_steamids())));
  16500. } else {
  16501. goto handle_uninterpreted;
  16502. }
  16503. if (input->ExpectTag(9)) goto parse_steamids;
  16504. if (input->ExpectAtEnd()) return true;
  16505. break;
  16506. }
  16507. default: {
  16508. handle_uninterpreted:
  16509. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16510. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16511. return true;
  16512. }
  16513. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16514. input, tag, mutable_unknown_fields()));
  16515. break;
  16516. }
  16517. }
  16518. }
  16519. return true;
  16520. #undef DO_
  16521. }
  16522. void CMsgGCGetPersonaNames::SerializeWithCachedSizes(
  16523. ::google::protobuf::io::CodedOutputStream* output) const {
  16524. // repeated fixed64 steamids = 1;
  16525. for (int i = 0; i < this->steamids_size(); i++) {
  16526. ::google::protobuf::internal::WireFormatLite::WriteFixed64(
  16527. 1, this->steamids(i), output);
  16528. }
  16529. if (!unknown_fields().empty()) {
  16530. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16531. unknown_fields(), output);
  16532. }
  16533. }
  16534. ::google::protobuf::uint8* CMsgGCGetPersonaNames::SerializeWithCachedSizesToArray(
  16535. ::google::protobuf::uint8* target) const {
  16536. // repeated fixed64 steamids = 1;
  16537. for (int i = 0; i < this->steamids_size(); i++) {
  16538. target = ::google::protobuf::internal::WireFormatLite::
  16539. WriteFixed64ToArray(1, this->steamids(i), target);
  16540. }
  16541. if (!unknown_fields().empty()) {
  16542. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16543. unknown_fields(), target);
  16544. }
  16545. return target;
  16546. }
  16547. int CMsgGCGetPersonaNames::ByteSize() const {
  16548. int total_size = 0;
  16549. // repeated fixed64 steamids = 1;
  16550. {
  16551. int data_size = 0;
  16552. data_size = 8 * this->steamids_size();
  16553. total_size += 1 * this->steamids_size() + data_size;
  16554. }
  16555. if (!unknown_fields().empty()) {
  16556. total_size +=
  16557. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16558. unknown_fields());
  16559. }
  16560. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16561. _cached_size_ = total_size;
  16562. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16563. return total_size;
  16564. }
  16565. void CMsgGCGetPersonaNames::MergeFrom(const ::google::protobuf::Message& from) {
  16566. GOOGLE_CHECK_NE(&from, this);
  16567. const CMsgGCGetPersonaNames* source =
  16568. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCGetPersonaNames*>(
  16569. &from);
  16570. if (source == NULL) {
  16571. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16572. } else {
  16573. MergeFrom(*source);
  16574. }
  16575. }
  16576. void CMsgGCGetPersonaNames::MergeFrom(const CMsgGCGetPersonaNames& from) {
  16577. GOOGLE_CHECK_NE(&from, this);
  16578. steamids_.MergeFrom(from.steamids_);
  16579. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16580. }
  16581. void CMsgGCGetPersonaNames::CopyFrom(const ::google::protobuf::Message& from) {
  16582. if (&from == this) return;
  16583. Clear();
  16584. MergeFrom(from);
  16585. }
  16586. void CMsgGCGetPersonaNames::CopyFrom(const CMsgGCGetPersonaNames& from) {
  16587. if (&from == this) return;
  16588. Clear();
  16589. MergeFrom(from);
  16590. }
  16591. bool CMsgGCGetPersonaNames::IsInitialized() const {
  16592. return true;
  16593. }
  16594. void CMsgGCGetPersonaNames::Swap(CMsgGCGetPersonaNames* other) {
  16595. if (other != this) {
  16596. steamids_.Swap(&other->steamids_);
  16597. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16598. _unknown_fields_.Swap(&other->_unknown_fields_);
  16599. std::swap(_cached_size_, other->_cached_size_);
  16600. }
  16601. }
  16602. ::google::protobuf::Metadata CMsgGCGetPersonaNames::GetMetadata() const {
  16603. protobuf_AssignDescriptorsOnce();
  16604. ::google::protobuf::Metadata metadata;
  16605. metadata.descriptor = CMsgGCGetPersonaNames_descriptor_;
  16606. metadata.reflection = CMsgGCGetPersonaNames_reflection_;
  16607. return metadata;
  16608. }
  16609. // ===================================================================
  16610. #ifndef _MSC_VER
  16611. const int CMsgGCGetPersonaNames_Response_PersonaName::kSteamidFieldNumber;
  16612. const int CMsgGCGetPersonaNames_Response_PersonaName::kPersonaNameFieldNumber;
  16613. #endif // !_MSC_VER
  16614. CMsgGCGetPersonaNames_Response_PersonaName::CMsgGCGetPersonaNames_Response_PersonaName()
  16615. : ::google::protobuf::Message() {
  16616. SharedCtor();
  16617. }
  16618. void CMsgGCGetPersonaNames_Response_PersonaName::InitAsDefaultInstance() {
  16619. }
  16620. CMsgGCGetPersonaNames_Response_PersonaName::CMsgGCGetPersonaNames_Response_PersonaName(const CMsgGCGetPersonaNames_Response_PersonaName& from)
  16621. : ::google::protobuf::Message() {
  16622. SharedCtor();
  16623. MergeFrom(from);
  16624. }
  16625. void CMsgGCGetPersonaNames_Response_PersonaName::SharedCtor() {
  16626. _cached_size_ = 0;
  16627. steamid_ = GOOGLE_ULONGLONG(0);
  16628. persona_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  16629. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16630. }
  16631. CMsgGCGetPersonaNames_Response_PersonaName::~CMsgGCGetPersonaNames_Response_PersonaName() {
  16632. SharedDtor();
  16633. }
  16634. void CMsgGCGetPersonaNames_Response_PersonaName::SharedDtor() {
  16635. if (persona_name_ != &::google::protobuf::internal::kEmptyString) {
  16636. delete persona_name_;
  16637. }
  16638. if (this != default_instance_) {
  16639. }
  16640. }
  16641. void CMsgGCGetPersonaNames_Response_PersonaName::SetCachedSize(int size) const {
  16642. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16643. _cached_size_ = size;
  16644. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16645. }
  16646. const ::google::protobuf::Descriptor* CMsgGCGetPersonaNames_Response_PersonaName::descriptor() {
  16647. protobuf_AssignDescriptorsOnce();
  16648. return CMsgGCGetPersonaNames_Response_PersonaName_descriptor_;
  16649. }
  16650. const CMsgGCGetPersonaNames_Response_PersonaName& CMsgGCGetPersonaNames_Response_PersonaName::default_instance() {
  16651. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  16652. return *default_instance_;
  16653. }
  16654. CMsgGCGetPersonaNames_Response_PersonaName* CMsgGCGetPersonaNames_Response_PersonaName::default_instance_ = NULL;
  16655. CMsgGCGetPersonaNames_Response_PersonaName* CMsgGCGetPersonaNames_Response_PersonaName::New() const {
  16656. return new CMsgGCGetPersonaNames_Response_PersonaName;
  16657. }
  16658. void CMsgGCGetPersonaNames_Response_PersonaName::Clear() {
  16659. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16660. steamid_ = GOOGLE_ULONGLONG(0);
  16661. if (has_persona_name()) {
  16662. if (persona_name_ != &::google::protobuf::internal::kEmptyString) {
  16663. persona_name_->clear();
  16664. }
  16665. }
  16666. }
  16667. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16668. mutable_unknown_fields()->Clear();
  16669. }
  16670. bool CMsgGCGetPersonaNames_Response_PersonaName::MergePartialFromCodedStream(
  16671. ::google::protobuf::io::CodedInputStream* input) {
  16672. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16673. ::google::protobuf::uint32 tag;
  16674. while ((tag = input->ReadTag()) != 0) {
  16675. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16676. // optional fixed64 steamid = 1;
  16677. case 1: {
  16678. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16679. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  16680. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16681. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  16682. input, &steamid_)));
  16683. set_has_steamid();
  16684. } else {
  16685. goto handle_uninterpreted;
  16686. }
  16687. if (input->ExpectTag(18)) goto parse_persona_name;
  16688. break;
  16689. }
  16690. // optional string persona_name = 2;
  16691. case 2: {
  16692. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16693. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  16694. parse_persona_name:
  16695. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  16696. input, this->mutable_persona_name()));
  16697. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  16698. this->persona_name().data(), this->persona_name().length(),
  16699. ::google::protobuf::internal::WireFormat::PARSE);
  16700. } else {
  16701. goto handle_uninterpreted;
  16702. }
  16703. if (input->ExpectAtEnd()) return true;
  16704. break;
  16705. }
  16706. default: {
  16707. handle_uninterpreted:
  16708. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16709. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16710. return true;
  16711. }
  16712. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16713. input, tag, mutable_unknown_fields()));
  16714. break;
  16715. }
  16716. }
  16717. }
  16718. return true;
  16719. #undef DO_
  16720. }
  16721. void CMsgGCGetPersonaNames_Response_PersonaName::SerializeWithCachedSizes(
  16722. ::google::protobuf::io::CodedOutputStream* output) const {
  16723. // optional fixed64 steamid = 1;
  16724. if (has_steamid()) {
  16725. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steamid(), output);
  16726. }
  16727. // optional string persona_name = 2;
  16728. if (has_persona_name()) {
  16729. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  16730. this->persona_name().data(), this->persona_name().length(),
  16731. ::google::protobuf::internal::WireFormat::SERIALIZE);
  16732. ::google::protobuf::internal::WireFormatLite::WriteString(
  16733. 2, this->persona_name(), output);
  16734. }
  16735. if (!unknown_fields().empty()) {
  16736. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16737. unknown_fields(), output);
  16738. }
  16739. }
  16740. ::google::protobuf::uint8* CMsgGCGetPersonaNames_Response_PersonaName::SerializeWithCachedSizesToArray(
  16741. ::google::protobuf::uint8* target) const {
  16742. // optional fixed64 steamid = 1;
  16743. if (has_steamid()) {
  16744. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steamid(), target);
  16745. }
  16746. // optional string persona_name = 2;
  16747. if (has_persona_name()) {
  16748. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  16749. this->persona_name().data(), this->persona_name().length(),
  16750. ::google::protobuf::internal::WireFormat::SERIALIZE);
  16751. target =
  16752. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  16753. 2, this->persona_name(), target);
  16754. }
  16755. if (!unknown_fields().empty()) {
  16756. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16757. unknown_fields(), target);
  16758. }
  16759. return target;
  16760. }
  16761. int CMsgGCGetPersonaNames_Response_PersonaName::ByteSize() const {
  16762. int total_size = 0;
  16763. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16764. // optional fixed64 steamid = 1;
  16765. if (has_steamid()) {
  16766. total_size += 1 + 8;
  16767. }
  16768. // optional string persona_name = 2;
  16769. if (has_persona_name()) {
  16770. total_size += 1 +
  16771. ::google::protobuf::internal::WireFormatLite::StringSize(
  16772. this->persona_name());
  16773. }
  16774. }
  16775. if (!unknown_fields().empty()) {
  16776. total_size +=
  16777. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16778. unknown_fields());
  16779. }
  16780. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16781. _cached_size_ = total_size;
  16782. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16783. return total_size;
  16784. }
  16785. void CMsgGCGetPersonaNames_Response_PersonaName::MergeFrom(const ::google::protobuf::Message& from) {
  16786. GOOGLE_CHECK_NE(&from, this);
  16787. const CMsgGCGetPersonaNames_Response_PersonaName* source =
  16788. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCGetPersonaNames_Response_PersonaName*>(
  16789. &from);
  16790. if (source == NULL) {
  16791. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16792. } else {
  16793. MergeFrom(*source);
  16794. }
  16795. }
  16796. void CMsgGCGetPersonaNames_Response_PersonaName::MergeFrom(const CMsgGCGetPersonaNames_Response_PersonaName& from) {
  16797. GOOGLE_CHECK_NE(&from, this);
  16798. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16799. if (from.has_steamid()) {
  16800. set_steamid(from.steamid());
  16801. }
  16802. if (from.has_persona_name()) {
  16803. set_persona_name(from.persona_name());
  16804. }
  16805. }
  16806. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16807. }
  16808. void CMsgGCGetPersonaNames_Response_PersonaName::CopyFrom(const ::google::protobuf::Message& from) {
  16809. if (&from == this) return;
  16810. Clear();
  16811. MergeFrom(from);
  16812. }
  16813. void CMsgGCGetPersonaNames_Response_PersonaName::CopyFrom(const CMsgGCGetPersonaNames_Response_PersonaName& from) {
  16814. if (&from == this) return;
  16815. Clear();
  16816. MergeFrom(from);
  16817. }
  16818. bool CMsgGCGetPersonaNames_Response_PersonaName::IsInitialized() const {
  16819. return true;
  16820. }
  16821. void CMsgGCGetPersonaNames_Response_PersonaName::Swap(CMsgGCGetPersonaNames_Response_PersonaName* other) {
  16822. if (other != this) {
  16823. std::swap(steamid_, other->steamid_);
  16824. std::swap(persona_name_, other->persona_name_);
  16825. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16826. _unknown_fields_.Swap(&other->_unknown_fields_);
  16827. std::swap(_cached_size_, other->_cached_size_);
  16828. }
  16829. }
  16830. ::google::protobuf::Metadata CMsgGCGetPersonaNames_Response_PersonaName::GetMetadata() const {
  16831. protobuf_AssignDescriptorsOnce();
  16832. ::google::protobuf::Metadata metadata;
  16833. metadata.descriptor = CMsgGCGetPersonaNames_Response_PersonaName_descriptor_;
  16834. metadata.reflection = CMsgGCGetPersonaNames_Response_PersonaName_reflection_;
  16835. return metadata;
  16836. }
  16837. // -------------------------------------------------------------------
  16838. #ifndef _MSC_VER
  16839. const int CMsgGCGetPersonaNames_Response::kSucceededLookupsFieldNumber;
  16840. const int CMsgGCGetPersonaNames_Response::kFailedLookupSteamidsFieldNumber;
  16841. #endif // !_MSC_VER
  16842. CMsgGCGetPersonaNames_Response::CMsgGCGetPersonaNames_Response()
  16843. : ::google::protobuf::Message() {
  16844. SharedCtor();
  16845. }
  16846. void CMsgGCGetPersonaNames_Response::InitAsDefaultInstance() {
  16847. }
  16848. CMsgGCGetPersonaNames_Response::CMsgGCGetPersonaNames_Response(const CMsgGCGetPersonaNames_Response& from)
  16849. : ::google::protobuf::Message() {
  16850. SharedCtor();
  16851. MergeFrom(from);
  16852. }
  16853. void CMsgGCGetPersonaNames_Response::SharedCtor() {
  16854. _cached_size_ = 0;
  16855. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16856. }
  16857. CMsgGCGetPersonaNames_Response::~CMsgGCGetPersonaNames_Response() {
  16858. SharedDtor();
  16859. }
  16860. void CMsgGCGetPersonaNames_Response::SharedDtor() {
  16861. if (this != default_instance_) {
  16862. }
  16863. }
  16864. void CMsgGCGetPersonaNames_Response::SetCachedSize(int size) const {
  16865. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16866. _cached_size_ = size;
  16867. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16868. }
  16869. const ::google::protobuf::Descriptor* CMsgGCGetPersonaNames_Response::descriptor() {
  16870. protobuf_AssignDescriptorsOnce();
  16871. return CMsgGCGetPersonaNames_Response_descriptor_;
  16872. }
  16873. const CMsgGCGetPersonaNames_Response& CMsgGCGetPersonaNames_Response::default_instance() {
  16874. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  16875. return *default_instance_;
  16876. }
  16877. CMsgGCGetPersonaNames_Response* CMsgGCGetPersonaNames_Response::default_instance_ = NULL;
  16878. CMsgGCGetPersonaNames_Response* CMsgGCGetPersonaNames_Response::New() const {
  16879. return new CMsgGCGetPersonaNames_Response;
  16880. }
  16881. void CMsgGCGetPersonaNames_Response::Clear() {
  16882. succeeded_lookups_.Clear();
  16883. failed_lookup_steamids_.Clear();
  16884. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16885. mutable_unknown_fields()->Clear();
  16886. }
  16887. bool CMsgGCGetPersonaNames_Response::MergePartialFromCodedStream(
  16888. ::google::protobuf::io::CodedInputStream* input) {
  16889. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16890. ::google::protobuf::uint32 tag;
  16891. while ((tag = input->ReadTag()) != 0) {
  16892. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16893. // repeated .CMsgGCGetPersonaNames_Response.PersonaName succeeded_lookups = 1;
  16894. case 1: {
  16895. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16896. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  16897. parse_succeeded_lookups:
  16898. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  16899. input, add_succeeded_lookups()));
  16900. } else {
  16901. goto handle_uninterpreted;
  16902. }
  16903. if (input->ExpectTag(10)) goto parse_succeeded_lookups;
  16904. if (input->ExpectTag(17)) goto parse_failed_lookup_steamids;
  16905. break;
  16906. }
  16907. // repeated fixed64 failed_lookup_steamids = 2;
  16908. case 2: {
  16909. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16910. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  16911. parse_failed_lookup_steamids:
  16912. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  16913. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  16914. 1, 17, input, this->mutable_failed_lookup_steamids())));
  16915. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  16916. == ::google::protobuf::internal::WireFormatLite::
  16917. WIRETYPE_LENGTH_DELIMITED) {
  16918. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  16919. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  16920. input, this->mutable_failed_lookup_steamids())));
  16921. } else {
  16922. goto handle_uninterpreted;
  16923. }
  16924. if (input->ExpectTag(17)) goto parse_failed_lookup_steamids;
  16925. if (input->ExpectAtEnd()) return true;
  16926. break;
  16927. }
  16928. default: {
  16929. handle_uninterpreted:
  16930. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16931. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16932. return true;
  16933. }
  16934. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16935. input, tag, mutable_unknown_fields()));
  16936. break;
  16937. }
  16938. }
  16939. }
  16940. return true;
  16941. #undef DO_
  16942. }
  16943. void CMsgGCGetPersonaNames_Response::SerializeWithCachedSizes(
  16944. ::google::protobuf::io::CodedOutputStream* output) const {
  16945. // repeated .CMsgGCGetPersonaNames_Response.PersonaName succeeded_lookups = 1;
  16946. for (int i = 0; i < this->succeeded_lookups_size(); i++) {
  16947. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  16948. 1, this->succeeded_lookups(i), output);
  16949. }
  16950. // repeated fixed64 failed_lookup_steamids = 2;
  16951. for (int i = 0; i < this->failed_lookup_steamids_size(); i++) {
  16952. ::google::protobuf::internal::WireFormatLite::WriteFixed64(
  16953. 2, this->failed_lookup_steamids(i), output);
  16954. }
  16955. if (!unknown_fields().empty()) {
  16956. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16957. unknown_fields(), output);
  16958. }
  16959. }
  16960. ::google::protobuf::uint8* CMsgGCGetPersonaNames_Response::SerializeWithCachedSizesToArray(
  16961. ::google::protobuf::uint8* target) const {
  16962. // repeated .CMsgGCGetPersonaNames_Response.PersonaName succeeded_lookups = 1;
  16963. for (int i = 0; i < this->succeeded_lookups_size(); i++) {
  16964. target = ::google::protobuf::internal::WireFormatLite::
  16965. WriteMessageNoVirtualToArray(
  16966. 1, this->succeeded_lookups(i), target);
  16967. }
  16968. // repeated fixed64 failed_lookup_steamids = 2;
  16969. for (int i = 0; i < this->failed_lookup_steamids_size(); i++) {
  16970. target = ::google::protobuf::internal::WireFormatLite::
  16971. WriteFixed64ToArray(2, this->failed_lookup_steamids(i), target);
  16972. }
  16973. if (!unknown_fields().empty()) {
  16974. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16975. unknown_fields(), target);
  16976. }
  16977. return target;
  16978. }
  16979. int CMsgGCGetPersonaNames_Response::ByteSize() const {
  16980. int total_size = 0;
  16981. // repeated .CMsgGCGetPersonaNames_Response.PersonaName succeeded_lookups = 1;
  16982. total_size += 1 * this->succeeded_lookups_size();
  16983. for (int i = 0; i < this->succeeded_lookups_size(); i++) {
  16984. total_size +=
  16985. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  16986. this->succeeded_lookups(i));
  16987. }
  16988. // repeated fixed64 failed_lookup_steamids = 2;
  16989. {
  16990. int data_size = 0;
  16991. data_size = 8 * this->failed_lookup_steamids_size();
  16992. total_size += 1 * this->failed_lookup_steamids_size() + data_size;
  16993. }
  16994. if (!unknown_fields().empty()) {
  16995. total_size +=
  16996. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16997. unknown_fields());
  16998. }
  16999. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17000. _cached_size_ = total_size;
  17001. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17002. return total_size;
  17003. }
  17004. void CMsgGCGetPersonaNames_Response::MergeFrom(const ::google::protobuf::Message& from) {
  17005. GOOGLE_CHECK_NE(&from, this);
  17006. const CMsgGCGetPersonaNames_Response* source =
  17007. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCGetPersonaNames_Response*>(
  17008. &from);
  17009. if (source == NULL) {
  17010. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17011. } else {
  17012. MergeFrom(*source);
  17013. }
  17014. }
  17015. void CMsgGCGetPersonaNames_Response::MergeFrom(const CMsgGCGetPersonaNames_Response& from) {
  17016. GOOGLE_CHECK_NE(&from, this);
  17017. succeeded_lookups_.MergeFrom(from.succeeded_lookups_);
  17018. failed_lookup_steamids_.MergeFrom(from.failed_lookup_steamids_);
  17019. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17020. }
  17021. void CMsgGCGetPersonaNames_Response::CopyFrom(const ::google::protobuf::Message& from) {
  17022. if (&from == this) return;
  17023. Clear();
  17024. MergeFrom(from);
  17025. }
  17026. void CMsgGCGetPersonaNames_Response::CopyFrom(const CMsgGCGetPersonaNames_Response& from) {
  17027. if (&from == this) return;
  17028. Clear();
  17029. MergeFrom(from);
  17030. }
  17031. bool CMsgGCGetPersonaNames_Response::IsInitialized() const {
  17032. return true;
  17033. }
  17034. void CMsgGCGetPersonaNames_Response::Swap(CMsgGCGetPersonaNames_Response* other) {
  17035. if (other != this) {
  17036. succeeded_lookups_.Swap(&other->succeeded_lookups_);
  17037. failed_lookup_steamids_.Swap(&other->failed_lookup_steamids_);
  17038. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17039. _unknown_fields_.Swap(&other->_unknown_fields_);
  17040. std::swap(_cached_size_, other->_cached_size_);
  17041. }
  17042. }
  17043. ::google::protobuf::Metadata CMsgGCGetPersonaNames_Response::GetMetadata() const {
  17044. protobuf_AssignDescriptorsOnce();
  17045. ::google::protobuf::Metadata metadata;
  17046. metadata.descriptor = CMsgGCGetPersonaNames_Response_descriptor_;
  17047. metadata.reflection = CMsgGCGetPersonaNames_Response_reflection_;
  17048. return metadata;
  17049. }
  17050. // ===================================================================
  17051. #ifndef _MSC_VER
  17052. const int CMsgGCCheckFriendship::kSteamidLeftFieldNumber;
  17053. const int CMsgGCCheckFriendship::kSteamidRightFieldNumber;
  17054. #endif // !_MSC_VER
  17055. CMsgGCCheckFriendship::CMsgGCCheckFriendship()
  17056. : ::google::protobuf::Message() {
  17057. SharedCtor();
  17058. }
  17059. void CMsgGCCheckFriendship::InitAsDefaultInstance() {
  17060. }
  17061. CMsgGCCheckFriendship::CMsgGCCheckFriendship(const CMsgGCCheckFriendship& from)
  17062. : ::google::protobuf::Message() {
  17063. SharedCtor();
  17064. MergeFrom(from);
  17065. }
  17066. void CMsgGCCheckFriendship::SharedCtor() {
  17067. _cached_size_ = 0;
  17068. steamid_left_ = GOOGLE_ULONGLONG(0);
  17069. steamid_right_ = GOOGLE_ULONGLONG(0);
  17070. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17071. }
  17072. CMsgGCCheckFriendship::~CMsgGCCheckFriendship() {
  17073. SharedDtor();
  17074. }
  17075. void CMsgGCCheckFriendship::SharedDtor() {
  17076. if (this != default_instance_) {
  17077. }
  17078. }
  17079. void CMsgGCCheckFriendship::SetCachedSize(int size) const {
  17080. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17081. _cached_size_ = size;
  17082. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17083. }
  17084. const ::google::protobuf::Descriptor* CMsgGCCheckFriendship::descriptor() {
  17085. protobuf_AssignDescriptorsOnce();
  17086. return CMsgGCCheckFriendship_descriptor_;
  17087. }
  17088. const CMsgGCCheckFriendship& CMsgGCCheckFriendship::default_instance() {
  17089. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  17090. return *default_instance_;
  17091. }
  17092. CMsgGCCheckFriendship* CMsgGCCheckFriendship::default_instance_ = NULL;
  17093. CMsgGCCheckFriendship* CMsgGCCheckFriendship::New() const {
  17094. return new CMsgGCCheckFriendship;
  17095. }
  17096. void CMsgGCCheckFriendship::Clear() {
  17097. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17098. steamid_left_ = GOOGLE_ULONGLONG(0);
  17099. steamid_right_ = GOOGLE_ULONGLONG(0);
  17100. }
  17101. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17102. mutable_unknown_fields()->Clear();
  17103. }
  17104. bool CMsgGCCheckFriendship::MergePartialFromCodedStream(
  17105. ::google::protobuf::io::CodedInputStream* input) {
  17106. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17107. ::google::protobuf::uint32 tag;
  17108. while ((tag = input->ReadTag()) != 0) {
  17109. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17110. // optional fixed64 steamid_left = 1;
  17111. case 1: {
  17112. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17113. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  17114. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17115. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  17116. input, &steamid_left_)));
  17117. set_has_steamid_left();
  17118. } else {
  17119. goto handle_uninterpreted;
  17120. }
  17121. if (input->ExpectTag(17)) goto parse_steamid_right;
  17122. break;
  17123. }
  17124. // optional fixed64 steamid_right = 2;
  17125. case 2: {
  17126. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17127. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  17128. parse_steamid_right:
  17129. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17130. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  17131. input, &steamid_right_)));
  17132. set_has_steamid_right();
  17133. } else {
  17134. goto handle_uninterpreted;
  17135. }
  17136. if (input->ExpectAtEnd()) return true;
  17137. break;
  17138. }
  17139. default: {
  17140. handle_uninterpreted:
  17141. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17142. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17143. return true;
  17144. }
  17145. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17146. input, tag, mutable_unknown_fields()));
  17147. break;
  17148. }
  17149. }
  17150. }
  17151. return true;
  17152. #undef DO_
  17153. }
  17154. void CMsgGCCheckFriendship::SerializeWithCachedSizes(
  17155. ::google::protobuf::io::CodedOutputStream* output) const {
  17156. // optional fixed64 steamid_left = 1;
  17157. if (has_steamid_left()) {
  17158. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steamid_left(), output);
  17159. }
  17160. // optional fixed64 steamid_right = 2;
  17161. if (has_steamid_right()) {
  17162. ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->steamid_right(), output);
  17163. }
  17164. if (!unknown_fields().empty()) {
  17165. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17166. unknown_fields(), output);
  17167. }
  17168. }
  17169. ::google::protobuf::uint8* CMsgGCCheckFriendship::SerializeWithCachedSizesToArray(
  17170. ::google::protobuf::uint8* target) const {
  17171. // optional fixed64 steamid_left = 1;
  17172. if (has_steamid_left()) {
  17173. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steamid_left(), target);
  17174. }
  17175. // optional fixed64 steamid_right = 2;
  17176. if (has_steamid_right()) {
  17177. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->steamid_right(), target);
  17178. }
  17179. if (!unknown_fields().empty()) {
  17180. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17181. unknown_fields(), target);
  17182. }
  17183. return target;
  17184. }
  17185. int CMsgGCCheckFriendship::ByteSize() const {
  17186. int total_size = 0;
  17187. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17188. // optional fixed64 steamid_left = 1;
  17189. if (has_steamid_left()) {
  17190. total_size += 1 + 8;
  17191. }
  17192. // optional fixed64 steamid_right = 2;
  17193. if (has_steamid_right()) {
  17194. total_size += 1 + 8;
  17195. }
  17196. }
  17197. if (!unknown_fields().empty()) {
  17198. total_size +=
  17199. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17200. unknown_fields());
  17201. }
  17202. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17203. _cached_size_ = total_size;
  17204. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17205. return total_size;
  17206. }
  17207. void CMsgGCCheckFriendship::MergeFrom(const ::google::protobuf::Message& from) {
  17208. GOOGLE_CHECK_NE(&from, this);
  17209. const CMsgGCCheckFriendship* source =
  17210. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCCheckFriendship*>(
  17211. &from);
  17212. if (source == NULL) {
  17213. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17214. } else {
  17215. MergeFrom(*source);
  17216. }
  17217. }
  17218. void CMsgGCCheckFriendship::MergeFrom(const CMsgGCCheckFriendship& from) {
  17219. GOOGLE_CHECK_NE(&from, this);
  17220. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17221. if (from.has_steamid_left()) {
  17222. set_steamid_left(from.steamid_left());
  17223. }
  17224. if (from.has_steamid_right()) {
  17225. set_steamid_right(from.steamid_right());
  17226. }
  17227. }
  17228. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17229. }
  17230. void CMsgGCCheckFriendship::CopyFrom(const ::google::protobuf::Message& from) {
  17231. if (&from == this) return;
  17232. Clear();
  17233. MergeFrom(from);
  17234. }
  17235. void CMsgGCCheckFriendship::CopyFrom(const CMsgGCCheckFriendship& from) {
  17236. if (&from == this) return;
  17237. Clear();
  17238. MergeFrom(from);
  17239. }
  17240. bool CMsgGCCheckFriendship::IsInitialized() const {
  17241. return true;
  17242. }
  17243. void CMsgGCCheckFriendship::Swap(CMsgGCCheckFriendship* other) {
  17244. if (other != this) {
  17245. std::swap(steamid_left_, other->steamid_left_);
  17246. std::swap(steamid_right_, other->steamid_right_);
  17247. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17248. _unknown_fields_.Swap(&other->_unknown_fields_);
  17249. std::swap(_cached_size_, other->_cached_size_);
  17250. }
  17251. }
  17252. ::google::protobuf::Metadata CMsgGCCheckFriendship::GetMetadata() const {
  17253. protobuf_AssignDescriptorsOnce();
  17254. ::google::protobuf::Metadata metadata;
  17255. metadata.descriptor = CMsgGCCheckFriendship_descriptor_;
  17256. metadata.reflection = CMsgGCCheckFriendship_reflection_;
  17257. return metadata;
  17258. }
  17259. // ===================================================================
  17260. #ifndef _MSC_VER
  17261. const int CMsgGCCheckFriendship_Response::kSuccessFieldNumber;
  17262. const int CMsgGCCheckFriendship_Response::kFoundFriendshipFieldNumber;
  17263. #endif // !_MSC_VER
  17264. CMsgGCCheckFriendship_Response::CMsgGCCheckFriendship_Response()
  17265. : ::google::protobuf::Message() {
  17266. SharedCtor();
  17267. }
  17268. void CMsgGCCheckFriendship_Response::InitAsDefaultInstance() {
  17269. }
  17270. CMsgGCCheckFriendship_Response::CMsgGCCheckFriendship_Response(const CMsgGCCheckFriendship_Response& from)
  17271. : ::google::protobuf::Message() {
  17272. SharedCtor();
  17273. MergeFrom(from);
  17274. }
  17275. void CMsgGCCheckFriendship_Response::SharedCtor() {
  17276. _cached_size_ = 0;
  17277. success_ = false;
  17278. found_friendship_ = false;
  17279. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17280. }
  17281. CMsgGCCheckFriendship_Response::~CMsgGCCheckFriendship_Response() {
  17282. SharedDtor();
  17283. }
  17284. void CMsgGCCheckFriendship_Response::SharedDtor() {
  17285. if (this != default_instance_) {
  17286. }
  17287. }
  17288. void CMsgGCCheckFriendship_Response::SetCachedSize(int size) const {
  17289. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17290. _cached_size_ = size;
  17291. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17292. }
  17293. const ::google::protobuf::Descriptor* CMsgGCCheckFriendship_Response::descriptor() {
  17294. protobuf_AssignDescriptorsOnce();
  17295. return CMsgGCCheckFriendship_Response_descriptor_;
  17296. }
  17297. const CMsgGCCheckFriendship_Response& CMsgGCCheckFriendship_Response::default_instance() {
  17298. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  17299. return *default_instance_;
  17300. }
  17301. CMsgGCCheckFriendship_Response* CMsgGCCheckFriendship_Response::default_instance_ = NULL;
  17302. CMsgGCCheckFriendship_Response* CMsgGCCheckFriendship_Response::New() const {
  17303. return new CMsgGCCheckFriendship_Response;
  17304. }
  17305. void CMsgGCCheckFriendship_Response::Clear() {
  17306. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17307. success_ = false;
  17308. found_friendship_ = false;
  17309. }
  17310. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17311. mutable_unknown_fields()->Clear();
  17312. }
  17313. bool CMsgGCCheckFriendship_Response::MergePartialFromCodedStream(
  17314. ::google::protobuf::io::CodedInputStream* input) {
  17315. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17316. ::google::protobuf::uint32 tag;
  17317. while ((tag = input->ReadTag()) != 0) {
  17318. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17319. // optional bool success = 1;
  17320. case 1: {
  17321. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17322. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17323. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17324. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  17325. input, &success_)));
  17326. set_has_success();
  17327. } else {
  17328. goto handle_uninterpreted;
  17329. }
  17330. if (input->ExpectTag(16)) goto parse_found_friendship;
  17331. break;
  17332. }
  17333. // optional bool found_friendship = 2;
  17334. case 2: {
  17335. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17336. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17337. parse_found_friendship:
  17338. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17339. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  17340. input, &found_friendship_)));
  17341. set_has_found_friendship();
  17342. } else {
  17343. goto handle_uninterpreted;
  17344. }
  17345. if (input->ExpectAtEnd()) return true;
  17346. break;
  17347. }
  17348. default: {
  17349. handle_uninterpreted:
  17350. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17351. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17352. return true;
  17353. }
  17354. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17355. input, tag, mutable_unknown_fields()));
  17356. break;
  17357. }
  17358. }
  17359. }
  17360. return true;
  17361. #undef DO_
  17362. }
  17363. void CMsgGCCheckFriendship_Response::SerializeWithCachedSizes(
  17364. ::google::protobuf::io::CodedOutputStream* output) const {
  17365. // optional bool success = 1;
  17366. if (has_success()) {
  17367. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->success(), output);
  17368. }
  17369. // optional bool found_friendship = 2;
  17370. if (has_found_friendship()) {
  17371. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->found_friendship(), output);
  17372. }
  17373. if (!unknown_fields().empty()) {
  17374. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17375. unknown_fields(), output);
  17376. }
  17377. }
  17378. ::google::protobuf::uint8* CMsgGCCheckFriendship_Response::SerializeWithCachedSizesToArray(
  17379. ::google::protobuf::uint8* target) const {
  17380. // optional bool success = 1;
  17381. if (has_success()) {
  17382. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->success(), target);
  17383. }
  17384. // optional bool found_friendship = 2;
  17385. if (has_found_friendship()) {
  17386. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->found_friendship(), target);
  17387. }
  17388. if (!unknown_fields().empty()) {
  17389. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17390. unknown_fields(), target);
  17391. }
  17392. return target;
  17393. }
  17394. int CMsgGCCheckFriendship_Response::ByteSize() const {
  17395. int total_size = 0;
  17396. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17397. // optional bool success = 1;
  17398. if (has_success()) {
  17399. total_size += 1 + 1;
  17400. }
  17401. // optional bool found_friendship = 2;
  17402. if (has_found_friendship()) {
  17403. total_size += 1 + 1;
  17404. }
  17405. }
  17406. if (!unknown_fields().empty()) {
  17407. total_size +=
  17408. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17409. unknown_fields());
  17410. }
  17411. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17412. _cached_size_ = total_size;
  17413. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17414. return total_size;
  17415. }
  17416. void CMsgGCCheckFriendship_Response::MergeFrom(const ::google::protobuf::Message& from) {
  17417. GOOGLE_CHECK_NE(&from, this);
  17418. const CMsgGCCheckFriendship_Response* source =
  17419. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCCheckFriendship_Response*>(
  17420. &from);
  17421. if (source == NULL) {
  17422. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17423. } else {
  17424. MergeFrom(*source);
  17425. }
  17426. }
  17427. void CMsgGCCheckFriendship_Response::MergeFrom(const CMsgGCCheckFriendship_Response& from) {
  17428. GOOGLE_CHECK_NE(&from, this);
  17429. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17430. if (from.has_success()) {
  17431. set_success(from.success());
  17432. }
  17433. if (from.has_found_friendship()) {
  17434. set_found_friendship(from.found_friendship());
  17435. }
  17436. }
  17437. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17438. }
  17439. void CMsgGCCheckFriendship_Response::CopyFrom(const ::google::protobuf::Message& from) {
  17440. if (&from == this) return;
  17441. Clear();
  17442. MergeFrom(from);
  17443. }
  17444. void CMsgGCCheckFriendship_Response::CopyFrom(const CMsgGCCheckFriendship_Response& from) {
  17445. if (&from == this) return;
  17446. Clear();
  17447. MergeFrom(from);
  17448. }
  17449. bool CMsgGCCheckFriendship_Response::IsInitialized() const {
  17450. return true;
  17451. }
  17452. void CMsgGCCheckFriendship_Response::Swap(CMsgGCCheckFriendship_Response* other) {
  17453. if (other != this) {
  17454. std::swap(success_, other->success_);
  17455. std::swap(found_friendship_, other->found_friendship_);
  17456. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17457. _unknown_fields_.Swap(&other->_unknown_fields_);
  17458. std::swap(_cached_size_, other->_cached_size_);
  17459. }
  17460. }
  17461. ::google::protobuf::Metadata CMsgGCCheckFriendship_Response::GetMetadata() const {
  17462. protobuf_AssignDescriptorsOnce();
  17463. ::google::protobuf::Metadata metadata;
  17464. metadata.descriptor = CMsgGCCheckFriendship_Response_descriptor_;
  17465. metadata.reflection = CMsgGCCheckFriendship_Response_reflection_;
  17466. return metadata;
  17467. }
  17468. // ===================================================================
  17469. #ifndef _MSC_VER
  17470. const int CMsgGCMsgMasterSetDirectory_SubGC::kDirIndexFieldNumber;
  17471. const int CMsgGCMsgMasterSetDirectory_SubGC::kNameFieldNumber;
  17472. const int CMsgGCMsgMasterSetDirectory_SubGC::kBoxFieldNumber;
  17473. const int CMsgGCMsgMasterSetDirectory_SubGC::kCommandLineFieldNumber;
  17474. const int CMsgGCMsgMasterSetDirectory_SubGC::kGcBinaryFieldNumber;
  17475. #endif // !_MSC_VER
  17476. CMsgGCMsgMasterSetDirectory_SubGC::CMsgGCMsgMasterSetDirectory_SubGC()
  17477. : ::google::protobuf::Message() {
  17478. SharedCtor();
  17479. }
  17480. void CMsgGCMsgMasterSetDirectory_SubGC::InitAsDefaultInstance() {
  17481. }
  17482. CMsgGCMsgMasterSetDirectory_SubGC::CMsgGCMsgMasterSetDirectory_SubGC(const CMsgGCMsgMasterSetDirectory_SubGC& from)
  17483. : ::google::protobuf::Message() {
  17484. SharedCtor();
  17485. MergeFrom(from);
  17486. }
  17487. void CMsgGCMsgMasterSetDirectory_SubGC::SharedCtor() {
  17488. _cached_size_ = 0;
  17489. dir_index_ = 0u;
  17490. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  17491. box_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  17492. command_line_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  17493. gc_binary_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  17494. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17495. }
  17496. CMsgGCMsgMasterSetDirectory_SubGC::~CMsgGCMsgMasterSetDirectory_SubGC() {
  17497. SharedDtor();
  17498. }
  17499. void CMsgGCMsgMasterSetDirectory_SubGC::SharedDtor() {
  17500. if (name_ != &::google::protobuf::internal::kEmptyString) {
  17501. delete name_;
  17502. }
  17503. if (box_ != &::google::protobuf::internal::kEmptyString) {
  17504. delete box_;
  17505. }
  17506. if (command_line_ != &::google::protobuf::internal::kEmptyString) {
  17507. delete command_line_;
  17508. }
  17509. if (gc_binary_ != &::google::protobuf::internal::kEmptyString) {
  17510. delete gc_binary_;
  17511. }
  17512. if (this != default_instance_) {
  17513. }
  17514. }
  17515. void CMsgGCMsgMasterSetDirectory_SubGC::SetCachedSize(int size) const {
  17516. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17517. _cached_size_ = size;
  17518. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17519. }
  17520. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetDirectory_SubGC::descriptor() {
  17521. protobuf_AssignDescriptorsOnce();
  17522. return CMsgGCMsgMasterSetDirectory_SubGC_descriptor_;
  17523. }
  17524. const CMsgGCMsgMasterSetDirectory_SubGC& CMsgGCMsgMasterSetDirectory_SubGC::default_instance() {
  17525. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  17526. return *default_instance_;
  17527. }
  17528. CMsgGCMsgMasterSetDirectory_SubGC* CMsgGCMsgMasterSetDirectory_SubGC::default_instance_ = NULL;
  17529. CMsgGCMsgMasterSetDirectory_SubGC* CMsgGCMsgMasterSetDirectory_SubGC::New() const {
  17530. return new CMsgGCMsgMasterSetDirectory_SubGC;
  17531. }
  17532. void CMsgGCMsgMasterSetDirectory_SubGC::Clear() {
  17533. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17534. dir_index_ = 0u;
  17535. if (has_name()) {
  17536. if (name_ != &::google::protobuf::internal::kEmptyString) {
  17537. name_->clear();
  17538. }
  17539. }
  17540. if (has_box()) {
  17541. if (box_ != &::google::protobuf::internal::kEmptyString) {
  17542. box_->clear();
  17543. }
  17544. }
  17545. if (has_command_line()) {
  17546. if (command_line_ != &::google::protobuf::internal::kEmptyString) {
  17547. command_line_->clear();
  17548. }
  17549. }
  17550. if (has_gc_binary()) {
  17551. if (gc_binary_ != &::google::protobuf::internal::kEmptyString) {
  17552. gc_binary_->clear();
  17553. }
  17554. }
  17555. }
  17556. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17557. mutable_unknown_fields()->Clear();
  17558. }
  17559. bool CMsgGCMsgMasterSetDirectory_SubGC::MergePartialFromCodedStream(
  17560. ::google::protobuf::io::CodedInputStream* input) {
  17561. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17562. ::google::protobuf::uint32 tag;
  17563. while ((tag = input->ReadTag()) != 0) {
  17564. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17565. // optional uint32 dir_index = 1;
  17566. case 1: {
  17567. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17568. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17569. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17570. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  17571. input, &dir_index_)));
  17572. set_has_dir_index();
  17573. } else {
  17574. goto handle_uninterpreted;
  17575. }
  17576. if (input->ExpectTag(18)) goto parse_name;
  17577. break;
  17578. }
  17579. // optional string name = 2;
  17580. case 2: {
  17581. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17582. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  17583. parse_name:
  17584. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  17585. input, this->mutable_name()));
  17586. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17587. this->name().data(), this->name().length(),
  17588. ::google::protobuf::internal::WireFormat::PARSE);
  17589. } else {
  17590. goto handle_uninterpreted;
  17591. }
  17592. if (input->ExpectTag(26)) goto parse_box;
  17593. break;
  17594. }
  17595. // optional string box = 3;
  17596. case 3: {
  17597. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17598. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  17599. parse_box:
  17600. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  17601. input, this->mutable_box()));
  17602. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17603. this->box().data(), this->box().length(),
  17604. ::google::protobuf::internal::WireFormat::PARSE);
  17605. } else {
  17606. goto handle_uninterpreted;
  17607. }
  17608. if (input->ExpectTag(34)) goto parse_command_line;
  17609. break;
  17610. }
  17611. // optional string command_line = 4;
  17612. case 4: {
  17613. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17614. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  17615. parse_command_line:
  17616. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  17617. input, this->mutable_command_line()));
  17618. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17619. this->command_line().data(), this->command_line().length(),
  17620. ::google::protobuf::internal::WireFormat::PARSE);
  17621. } else {
  17622. goto handle_uninterpreted;
  17623. }
  17624. if (input->ExpectTag(42)) goto parse_gc_binary;
  17625. break;
  17626. }
  17627. // optional string gc_binary = 5;
  17628. case 5: {
  17629. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17630. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  17631. parse_gc_binary:
  17632. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  17633. input, this->mutable_gc_binary()));
  17634. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17635. this->gc_binary().data(), this->gc_binary().length(),
  17636. ::google::protobuf::internal::WireFormat::PARSE);
  17637. } else {
  17638. goto handle_uninterpreted;
  17639. }
  17640. if (input->ExpectAtEnd()) return true;
  17641. break;
  17642. }
  17643. default: {
  17644. handle_uninterpreted:
  17645. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17646. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17647. return true;
  17648. }
  17649. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17650. input, tag, mutable_unknown_fields()));
  17651. break;
  17652. }
  17653. }
  17654. }
  17655. return true;
  17656. #undef DO_
  17657. }
  17658. void CMsgGCMsgMasterSetDirectory_SubGC::SerializeWithCachedSizes(
  17659. ::google::protobuf::io::CodedOutputStream* output) const {
  17660. // optional uint32 dir_index = 1;
  17661. if (has_dir_index()) {
  17662. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->dir_index(), output);
  17663. }
  17664. // optional string name = 2;
  17665. if (has_name()) {
  17666. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17667. this->name().data(), this->name().length(),
  17668. ::google::protobuf::internal::WireFormat::SERIALIZE);
  17669. ::google::protobuf::internal::WireFormatLite::WriteString(
  17670. 2, this->name(), output);
  17671. }
  17672. // optional string box = 3;
  17673. if (has_box()) {
  17674. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17675. this->box().data(), this->box().length(),
  17676. ::google::protobuf::internal::WireFormat::SERIALIZE);
  17677. ::google::protobuf::internal::WireFormatLite::WriteString(
  17678. 3, this->box(), output);
  17679. }
  17680. // optional string command_line = 4;
  17681. if (has_command_line()) {
  17682. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17683. this->command_line().data(), this->command_line().length(),
  17684. ::google::protobuf::internal::WireFormat::SERIALIZE);
  17685. ::google::protobuf::internal::WireFormatLite::WriteString(
  17686. 4, this->command_line(), output);
  17687. }
  17688. // optional string gc_binary = 5;
  17689. if (has_gc_binary()) {
  17690. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17691. this->gc_binary().data(), this->gc_binary().length(),
  17692. ::google::protobuf::internal::WireFormat::SERIALIZE);
  17693. ::google::protobuf::internal::WireFormatLite::WriteString(
  17694. 5, this->gc_binary(), output);
  17695. }
  17696. if (!unknown_fields().empty()) {
  17697. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17698. unknown_fields(), output);
  17699. }
  17700. }
  17701. ::google::protobuf::uint8* CMsgGCMsgMasterSetDirectory_SubGC::SerializeWithCachedSizesToArray(
  17702. ::google::protobuf::uint8* target) const {
  17703. // optional uint32 dir_index = 1;
  17704. if (has_dir_index()) {
  17705. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->dir_index(), target);
  17706. }
  17707. // optional string name = 2;
  17708. if (has_name()) {
  17709. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17710. this->name().data(), this->name().length(),
  17711. ::google::protobuf::internal::WireFormat::SERIALIZE);
  17712. target =
  17713. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  17714. 2, this->name(), target);
  17715. }
  17716. // optional string box = 3;
  17717. if (has_box()) {
  17718. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17719. this->box().data(), this->box().length(),
  17720. ::google::protobuf::internal::WireFormat::SERIALIZE);
  17721. target =
  17722. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  17723. 3, this->box(), target);
  17724. }
  17725. // optional string command_line = 4;
  17726. if (has_command_line()) {
  17727. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17728. this->command_line().data(), this->command_line().length(),
  17729. ::google::protobuf::internal::WireFormat::SERIALIZE);
  17730. target =
  17731. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  17732. 4, this->command_line(), target);
  17733. }
  17734. // optional string gc_binary = 5;
  17735. if (has_gc_binary()) {
  17736. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17737. this->gc_binary().data(), this->gc_binary().length(),
  17738. ::google::protobuf::internal::WireFormat::SERIALIZE);
  17739. target =
  17740. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  17741. 5, this->gc_binary(), target);
  17742. }
  17743. if (!unknown_fields().empty()) {
  17744. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17745. unknown_fields(), target);
  17746. }
  17747. return target;
  17748. }
  17749. int CMsgGCMsgMasterSetDirectory_SubGC::ByteSize() const {
  17750. int total_size = 0;
  17751. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17752. // optional uint32 dir_index = 1;
  17753. if (has_dir_index()) {
  17754. total_size += 1 +
  17755. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  17756. this->dir_index());
  17757. }
  17758. // optional string name = 2;
  17759. if (has_name()) {
  17760. total_size += 1 +
  17761. ::google::protobuf::internal::WireFormatLite::StringSize(
  17762. this->name());
  17763. }
  17764. // optional string box = 3;
  17765. if (has_box()) {
  17766. total_size += 1 +
  17767. ::google::protobuf::internal::WireFormatLite::StringSize(
  17768. this->box());
  17769. }
  17770. // optional string command_line = 4;
  17771. if (has_command_line()) {
  17772. total_size += 1 +
  17773. ::google::protobuf::internal::WireFormatLite::StringSize(
  17774. this->command_line());
  17775. }
  17776. // optional string gc_binary = 5;
  17777. if (has_gc_binary()) {
  17778. total_size += 1 +
  17779. ::google::protobuf::internal::WireFormatLite::StringSize(
  17780. this->gc_binary());
  17781. }
  17782. }
  17783. if (!unknown_fields().empty()) {
  17784. total_size +=
  17785. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17786. unknown_fields());
  17787. }
  17788. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17789. _cached_size_ = total_size;
  17790. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17791. return total_size;
  17792. }
  17793. void CMsgGCMsgMasterSetDirectory_SubGC::MergeFrom(const ::google::protobuf::Message& from) {
  17794. GOOGLE_CHECK_NE(&from, this);
  17795. const CMsgGCMsgMasterSetDirectory_SubGC* source =
  17796. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgMasterSetDirectory_SubGC*>(
  17797. &from);
  17798. if (source == NULL) {
  17799. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17800. } else {
  17801. MergeFrom(*source);
  17802. }
  17803. }
  17804. void CMsgGCMsgMasterSetDirectory_SubGC::MergeFrom(const CMsgGCMsgMasterSetDirectory_SubGC& from) {
  17805. GOOGLE_CHECK_NE(&from, this);
  17806. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17807. if (from.has_dir_index()) {
  17808. set_dir_index(from.dir_index());
  17809. }
  17810. if (from.has_name()) {
  17811. set_name(from.name());
  17812. }
  17813. if (from.has_box()) {
  17814. set_box(from.box());
  17815. }
  17816. if (from.has_command_line()) {
  17817. set_command_line(from.command_line());
  17818. }
  17819. if (from.has_gc_binary()) {
  17820. set_gc_binary(from.gc_binary());
  17821. }
  17822. }
  17823. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17824. }
  17825. void CMsgGCMsgMasterSetDirectory_SubGC::CopyFrom(const ::google::protobuf::Message& from) {
  17826. if (&from == this) return;
  17827. Clear();
  17828. MergeFrom(from);
  17829. }
  17830. void CMsgGCMsgMasterSetDirectory_SubGC::CopyFrom(const CMsgGCMsgMasterSetDirectory_SubGC& from) {
  17831. if (&from == this) return;
  17832. Clear();
  17833. MergeFrom(from);
  17834. }
  17835. bool CMsgGCMsgMasterSetDirectory_SubGC::IsInitialized() const {
  17836. return true;
  17837. }
  17838. void CMsgGCMsgMasterSetDirectory_SubGC::Swap(CMsgGCMsgMasterSetDirectory_SubGC* other) {
  17839. if (other != this) {
  17840. std::swap(dir_index_, other->dir_index_);
  17841. std::swap(name_, other->name_);
  17842. std::swap(box_, other->box_);
  17843. std::swap(command_line_, other->command_line_);
  17844. std::swap(gc_binary_, other->gc_binary_);
  17845. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17846. _unknown_fields_.Swap(&other->_unknown_fields_);
  17847. std::swap(_cached_size_, other->_cached_size_);
  17848. }
  17849. }
  17850. ::google::protobuf::Metadata CMsgGCMsgMasterSetDirectory_SubGC::GetMetadata() const {
  17851. protobuf_AssignDescriptorsOnce();
  17852. ::google::protobuf::Metadata metadata;
  17853. metadata.descriptor = CMsgGCMsgMasterSetDirectory_SubGC_descriptor_;
  17854. metadata.reflection = CMsgGCMsgMasterSetDirectory_SubGC_reflection_;
  17855. return metadata;
  17856. }
  17857. // -------------------------------------------------------------------
  17858. #ifndef _MSC_VER
  17859. const int CMsgGCMsgMasterSetDirectory::kMasterDirIndexFieldNumber;
  17860. const int CMsgGCMsgMasterSetDirectory::kDirFieldNumber;
  17861. #endif // !_MSC_VER
  17862. CMsgGCMsgMasterSetDirectory::CMsgGCMsgMasterSetDirectory()
  17863. : ::google::protobuf::Message() {
  17864. SharedCtor();
  17865. }
  17866. void CMsgGCMsgMasterSetDirectory::InitAsDefaultInstance() {
  17867. }
  17868. CMsgGCMsgMasterSetDirectory::CMsgGCMsgMasterSetDirectory(const CMsgGCMsgMasterSetDirectory& from)
  17869. : ::google::protobuf::Message() {
  17870. SharedCtor();
  17871. MergeFrom(from);
  17872. }
  17873. void CMsgGCMsgMasterSetDirectory::SharedCtor() {
  17874. _cached_size_ = 0;
  17875. master_dir_index_ = 0u;
  17876. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17877. }
  17878. CMsgGCMsgMasterSetDirectory::~CMsgGCMsgMasterSetDirectory() {
  17879. SharedDtor();
  17880. }
  17881. void CMsgGCMsgMasterSetDirectory::SharedDtor() {
  17882. if (this != default_instance_) {
  17883. }
  17884. }
  17885. void CMsgGCMsgMasterSetDirectory::SetCachedSize(int size) const {
  17886. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17887. _cached_size_ = size;
  17888. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17889. }
  17890. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetDirectory::descriptor() {
  17891. protobuf_AssignDescriptorsOnce();
  17892. return CMsgGCMsgMasterSetDirectory_descriptor_;
  17893. }
  17894. const CMsgGCMsgMasterSetDirectory& CMsgGCMsgMasterSetDirectory::default_instance() {
  17895. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  17896. return *default_instance_;
  17897. }
  17898. CMsgGCMsgMasterSetDirectory* CMsgGCMsgMasterSetDirectory::default_instance_ = NULL;
  17899. CMsgGCMsgMasterSetDirectory* CMsgGCMsgMasterSetDirectory::New() const {
  17900. return new CMsgGCMsgMasterSetDirectory;
  17901. }
  17902. void CMsgGCMsgMasterSetDirectory::Clear() {
  17903. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17904. master_dir_index_ = 0u;
  17905. }
  17906. dir_.Clear();
  17907. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17908. mutable_unknown_fields()->Clear();
  17909. }
  17910. bool CMsgGCMsgMasterSetDirectory::MergePartialFromCodedStream(
  17911. ::google::protobuf::io::CodedInputStream* input) {
  17912. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17913. ::google::protobuf::uint32 tag;
  17914. while ((tag = input->ReadTag()) != 0) {
  17915. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17916. // optional uint32 master_dir_index = 1;
  17917. case 1: {
  17918. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17919. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17920. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17921. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  17922. input, &master_dir_index_)));
  17923. set_has_master_dir_index();
  17924. } else {
  17925. goto handle_uninterpreted;
  17926. }
  17927. if (input->ExpectTag(18)) goto parse_dir;
  17928. break;
  17929. }
  17930. // repeated .CMsgGCMsgMasterSetDirectory.SubGC dir = 2;
  17931. case 2: {
  17932. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17933. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  17934. parse_dir:
  17935. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  17936. input, add_dir()));
  17937. } else {
  17938. goto handle_uninterpreted;
  17939. }
  17940. if (input->ExpectTag(18)) goto parse_dir;
  17941. if (input->ExpectAtEnd()) return true;
  17942. break;
  17943. }
  17944. default: {
  17945. handle_uninterpreted:
  17946. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17947. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17948. return true;
  17949. }
  17950. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17951. input, tag, mutable_unknown_fields()));
  17952. break;
  17953. }
  17954. }
  17955. }
  17956. return true;
  17957. #undef DO_
  17958. }
  17959. void CMsgGCMsgMasterSetDirectory::SerializeWithCachedSizes(
  17960. ::google::protobuf::io::CodedOutputStream* output) const {
  17961. // optional uint32 master_dir_index = 1;
  17962. if (has_master_dir_index()) {
  17963. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->master_dir_index(), output);
  17964. }
  17965. // repeated .CMsgGCMsgMasterSetDirectory.SubGC dir = 2;
  17966. for (int i = 0; i < this->dir_size(); i++) {
  17967. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  17968. 2, this->dir(i), output);
  17969. }
  17970. if (!unknown_fields().empty()) {
  17971. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17972. unknown_fields(), output);
  17973. }
  17974. }
  17975. ::google::protobuf::uint8* CMsgGCMsgMasterSetDirectory::SerializeWithCachedSizesToArray(
  17976. ::google::protobuf::uint8* target) const {
  17977. // optional uint32 master_dir_index = 1;
  17978. if (has_master_dir_index()) {
  17979. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->master_dir_index(), target);
  17980. }
  17981. // repeated .CMsgGCMsgMasterSetDirectory.SubGC dir = 2;
  17982. for (int i = 0; i < this->dir_size(); i++) {
  17983. target = ::google::protobuf::internal::WireFormatLite::
  17984. WriteMessageNoVirtualToArray(
  17985. 2, this->dir(i), target);
  17986. }
  17987. if (!unknown_fields().empty()) {
  17988. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17989. unknown_fields(), target);
  17990. }
  17991. return target;
  17992. }
  17993. int CMsgGCMsgMasterSetDirectory::ByteSize() const {
  17994. int total_size = 0;
  17995. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17996. // optional uint32 master_dir_index = 1;
  17997. if (has_master_dir_index()) {
  17998. total_size += 1 +
  17999. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  18000. this->master_dir_index());
  18001. }
  18002. }
  18003. // repeated .CMsgGCMsgMasterSetDirectory.SubGC dir = 2;
  18004. total_size += 1 * this->dir_size();
  18005. for (int i = 0; i < this->dir_size(); i++) {
  18006. total_size +=
  18007. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  18008. this->dir(i));
  18009. }
  18010. if (!unknown_fields().empty()) {
  18011. total_size +=
  18012. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18013. unknown_fields());
  18014. }
  18015. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18016. _cached_size_ = total_size;
  18017. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18018. return total_size;
  18019. }
  18020. void CMsgGCMsgMasterSetDirectory::MergeFrom(const ::google::protobuf::Message& from) {
  18021. GOOGLE_CHECK_NE(&from, this);
  18022. const CMsgGCMsgMasterSetDirectory* source =
  18023. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgMasterSetDirectory*>(
  18024. &from);
  18025. if (source == NULL) {
  18026. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18027. } else {
  18028. MergeFrom(*source);
  18029. }
  18030. }
  18031. void CMsgGCMsgMasterSetDirectory::MergeFrom(const CMsgGCMsgMasterSetDirectory& from) {
  18032. GOOGLE_CHECK_NE(&from, this);
  18033. dir_.MergeFrom(from.dir_);
  18034. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18035. if (from.has_master_dir_index()) {
  18036. set_master_dir_index(from.master_dir_index());
  18037. }
  18038. }
  18039. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18040. }
  18041. void CMsgGCMsgMasterSetDirectory::CopyFrom(const ::google::protobuf::Message& from) {
  18042. if (&from == this) return;
  18043. Clear();
  18044. MergeFrom(from);
  18045. }
  18046. void CMsgGCMsgMasterSetDirectory::CopyFrom(const CMsgGCMsgMasterSetDirectory& from) {
  18047. if (&from == this) return;
  18048. Clear();
  18049. MergeFrom(from);
  18050. }
  18051. bool CMsgGCMsgMasterSetDirectory::IsInitialized() const {
  18052. return true;
  18053. }
  18054. void CMsgGCMsgMasterSetDirectory::Swap(CMsgGCMsgMasterSetDirectory* other) {
  18055. if (other != this) {
  18056. std::swap(master_dir_index_, other->master_dir_index_);
  18057. dir_.Swap(&other->dir_);
  18058. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18059. _unknown_fields_.Swap(&other->_unknown_fields_);
  18060. std::swap(_cached_size_, other->_cached_size_);
  18061. }
  18062. }
  18063. ::google::protobuf::Metadata CMsgGCMsgMasterSetDirectory::GetMetadata() const {
  18064. protobuf_AssignDescriptorsOnce();
  18065. ::google::protobuf::Metadata metadata;
  18066. metadata.descriptor = CMsgGCMsgMasterSetDirectory_descriptor_;
  18067. metadata.reflection = CMsgGCMsgMasterSetDirectory_reflection_;
  18068. return metadata;
  18069. }
  18070. // ===================================================================
  18071. #ifndef _MSC_VER
  18072. const int CMsgGCMsgMasterSetDirectory_Response::kEresultFieldNumber;
  18073. #endif // !_MSC_VER
  18074. CMsgGCMsgMasterSetDirectory_Response::CMsgGCMsgMasterSetDirectory_Response()
  18075. : ::google::protobuf::Message() {
  18076. SharedCtor();
  18077. }
  18078. void CMsgGCMsgMasterSetDirectory_Response::InitAsDefaultInstance() {
  18079. }
  18080. CMsgGCMsgMasterSetDirectory_Response::CMsgGCMsgMasterSetDirectory_Response(const CMsgGCMsgMasterSetDirectory_Response& from)
  18081. : ::google::protobuf::Message() {
  18082. SharedCtor();
  18083. MergeFrom(from);
  18084. }
  18085. void CMsgGCMsgMasterSetDirectory_Response::SharedCtor() {
  18086. _cached_size_ = 0;
  18087. eresult_ = 2;
  18088. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18089. }
  18090. CMsgGCMsgMasterSetDirectory_Response::~CMsgGCMsgMasterSetDirectory_Response() {
  18091. SharedDtor();
  18092. }
  18093. void CMsgGCMsgMasterSetDirectory_Response::SharedDtor() {
  18094. if (this != default_instance_) {
  18095. }
  18096. }
  18097. void CMsgGCMsgMasterSetDirectory_Response::SetCachedSize(int size) const {
  18098. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18099. _cached_size_ = size;
  18100. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18101. }
  18102. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetDirectory_Response::descriptor() {
  18103. protobuf_AssignDescriptorsOnce();
  18104. return CMsgGCMsgMasterSetDirectory_Response_descriptor_;
  18105. }
  18106. const CMsgGCMsgMasterSetDirectory_Response& CMsgGCMsgMasterSetDirectory_Response::default_instance() {
  18107. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  18108. return *default_instance_;
  18109. }
  18110. CMsgGCMsgMasterSetDirectory_Response* CMsgGCMsgMasterSetDirectory_Response::default_instance_ = NULL;
  18111. CMsgGCMsgMasterSetDirectory_Response* CMsgGCMsgMasterSetDirectory_Response::New() const {
  18112. return new CMsgGCMsgMasterSetDirectory_Response;
  18113. }
  18114. void CMsgGCMsgMasterSetDirectory_Response::Clear() {
  18115. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18116. eresult_ = 2;
  18117. }
  18118. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18119. mutable_unknown_fields()->Clear();
  18120. }
  18121. bool CMsgGCMsgMasterSetDirectory_Response::MergePartialFromCodedStream(
  18122. ::google::protobuf::io::CodedInputStream* input) {
  18123. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18124. ::google::protobuf::uint32 tag;
  18125. while ((tag = input->ReadTag()) != 0) {
  18126. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18127. // optional int32 eresult = 1 [default = 2];
  18128. case 1: {
  18129. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18130. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18131. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18132. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18133. input, &eresult_)));
  18134. set_has_eresult();
  18135. } else {
  18136. goto handle_uninterpreted;
  18137. }
  18138. if (input->ExpectAtEnd()) return true;
  18139. break;
  18140. }
  18141. default: {
  18142. handle_uninterpreted:
  18143. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18144. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18145. return true;
  18146. }
  18147. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18148. input, tag, mutable_unknown_fields()));
  18149. break;
  18150. }
  18151. }
  18152. }
  18153. return true;
  18154. #undef DO_
  18155. }
  18156. void CMsgGCMsgMasterSetDirectory_Response::SerializeWithCachedSizes(
  18157. ::google::protobuf::io::CodedOutputStream* output) const {
  18158. // optional int32 eresult = 1 [default = 2];
  18159. if (has_eresult()) {
  18160. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->eresult(), output);
  18161. }
  18162. if (!unknown_fields().empty()) {
  18163. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18164. unknown_fields(), output);
  18165. }
  18166. }
  18167. ::google::protobuf::uint8* CMsgGCMsgMasterSetDirectory_Response::SerializeWithCachedSizesToArray(
  18168. ::google::protobuf::uint8* target) const {
  18169. // optional int32 eresult = 1 [default = 2];
  18170. if (has_eresult()) {
  18171. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->eresult(), target);
  18172. }
  18173. if (!unknown_fields().empty()) {
  18174. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18175. unknown_fields(), target);
  18176. }
  18177. return target;
  18178. }
  18179. int CMsgGCMsgMasterSetDirectory_Response::ByteSize() const {
  18180. int total_size = 0;
  18181. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18182. // optional int32 eresult = 1 [default = 2];
  18183. if (has_eresult()) {
  18184. total_size += 1 +
  18185. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18186. this->eresult());
  18187. }
  18188. }
  18189. if (!unknown_fields().empty()) {
  18190. total_size +=
  18191. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18192. unknown_fields());
  18193. }
  18194. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18195. _cached_size_ = total_size;
  18196. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18197. return total_size;
  18198. }
  18199. void CMsgGCMsgMasterSetDirectory_Response::MergeFrom(const ::google::protobuf::Message& from) {
  18200. GOOGLE_CHECK_NE(&from, this);
  18201. const CMsgGCMsgMasterSetDirectory_Response* source =
  18202. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgMasterSetDirectory_Response*>(
  18203. &from);
  18204. if (source == NULL) {
  18205. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18206. } else {
  18207. MergeFrom(*source);
  18208. }
  18209. }
  18210. void CMsgGCMsgMasterSetDirectory_Response::MergeFrom(const CMsgGCMsgMasterSetDirectory_Response& from) {
  18211. GOOGLE_CHECK_NE(&from, this);
  18212. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18213. if (from.has_eresult()) {
  18214. set_eresult(from.eresult());
  18215. }
  18216. }
  18217. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18218. }
  18219. void CMsgGCMsgMasterSetDirectory_Response::CopyFrom(const ::google::protobuf::Message& from) {
  18220. if (&from == this) return;
  18221. Clear();
  18222. MergeFrom(from);
  18223. }
  18224. void CMsgGCMsgMasterSetDirectory_Response::CopyFrom(const CMsgGCMsgMasterSetDirectory_Response& from) {
  18225. if (&from == this) return;
  18226. Clear();
  18227. MergeFrom(from);
  18228. }
  18229. bool CMsgGCMsgMasterSetDirectory_Response::IsInitialized() const {
  18230. return true;
  18231. }
  18232. void CMsgGCMsgMasterSetDirectory_Response::Swap(CMsgGCMsgMasterSetDirectory_Response* other) {
  18233. if (other != this) {
  18234. std::swap(eresult_, other->eresult_);
  18235. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18236. _unknown_fields_.Swap(&other->_unknown_fields_);
  18237. std::swap(_cached_size_, other->_cached_size_);
  18238. }
  18239. }
  18240. ::google::protobuf::Metadata CMsgGCMsgMasterSetDirectory_Response::GetMetadata() const {
  18241. protobuf_AssignDescriptorsOnce();
  18242. ::google::protobuf::Metadata metadata;
  18243. metadata.descriptor = CMsgGCMsgMasterSetDirectory_Response_descriptor_;
  18244. metadata.reflection = CMsgGCMsgMasterSetDirectory_Response_reflection_;
  18245. return metadata;
  18246. }
  18247. // ===================================================================
  18248. #ifndef _MSC_VER
  18249. const int CMsgGCMsgWebAPIJobRequestForwardResponse::kDirIndexFieldNumber;
  18250. #endif // !_MSC_VER
  18251. CMsgGCMsgWebAPIJobRequestForwardResponse::CMsgGCMsgWebAPIJobRequestForwardResponse()
  18252. : ::google::protobuf::Message() {
  18253. SharedCtor();
  18254. }
  18255. void CMsgGCMsgWebAPIJobRequestForwardResponse::InitAsDefaultInstance() {
  18256. }
  18257. CMsgGCMsgWebAPIJobRequestForwardResponse::CMsgGCMsgWebAPIJobRequestForwardResponse(const CMsgGCMsgWebAPIJobRequestForwardResponse& from)
  18258. : ::google::protobuf::Message() {
  18259. SharedCtor();
  18260. MergeFrom(from);
  18261. }
  18262. void CMsgGCMsgWebAPIJobRequestForwardResponse::SharedCtor() {
  18263. _cached_size_ = 0;
  18264. dir_index_ = 0u;
  18265. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18266. }
  18267. CMsgGCMsgWebAPIJobRequestForwardResponse::~CMsgGCMsgWebAPIJobRequestForwardResponse() {
  18268. SharedDtor();
  18269. }
  18270. void CMsgGCMsgWebAPIJobRequestForwardResponse::SharedDtor() {
  18271. if (this != default_instance_) {
  18272. }
  18273. }
  18274. void CMsgGCMsgWebAPIJobRequestForwardResponse::SetCachedSize(int size) const {
  18275. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18276. _cached_size_ = size;
  18277. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18278. }
  18279. const ::google::protobuf::Descriptor* CMsgGCMsgWebAPIJobRequestForwardResponse::descriptor() {
  18280. protobuf_AssignDescriptorsOnce();
  18281. return CMsgGCMsgWebAPIJobRequestForwardResponse_descriptor_;
  18282. }
  18283. const CMsgGCMsgWebAPIJobRequestForwardResponse& CMsgGCMsgWebAPIJobRequestForwardResponse::default_instance() {
  18284. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  18285. return *default_instance_;
  18286. }
  18287. CMsgGCMsgWebAPIJobRequestForwardResponse* CMsgGCMsgWebAPIJobRequestForwardResponse::default_instance_ = NULL;
  18288. CMsgGCMsgWebAPIJobRequestForwardResponse* CMsgGCMsgWebAPIJobRequestForwardResponse::New() const {
  18289. return new CMsgGCMsgWebAPIJobRequestForwardResponse;
  18290. }
  18291. void CMsgGCMsgWebAPIJobRequestForwardResponse::Clear() {
  18292. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18293. dir_index_ = 0u;
  18294. }
  18295. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18296. mutable_unknown_fields()->Clear();
  18297. }
  18298. bool CMsgGCMsgWebAPIJobRequestForwardResponse::MergePartialFromCodedStream(
  18299. ::google::protobuf::io::CodedInputStream* input) {
  18300. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18301. ::google::protobuf::uint32 tag;
  18302. while ((tag = input->ReadTag()) != 0) {
  18303. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18304. // optional uint32 dir_index = 1;
  18305. case 1: {
  18306. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18307. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18308. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18309. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  18310. input, &dir_index_)));
  18311. set_has_dir_index();
  18312. } else {
  18313. goto handle_uninterpreted;
  18314. }
  18315. if (input->ExpectAtEnd()) return true;
  18316. break;
  18317. }
  18318. default: {
  18319. handle_uninterpreted:
  18320. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18321. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18322. return true;
  18323. }
  18324. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18325. input, tag, mutable_unknown_fields()));
  18326. break;
  18327. }
  18328. }
  18329. }
  18330. return true;
  18331. #undef DO_
  18332. }
  18333. void CMsgGCMsgWebAPIJobRequestForwardResponse::SerializeWithCachedSizes(
  18334. ::google::protobuf::io::CodedOutputStream* output) const {
  18335. // optional uint32 dir_index = 1;
  18336. if (has_dir_index()) {
  18337. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->dir_index(), output);
  18338. }
  18339. if (!unknown_fields().empty()) {
  18340. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18341. unknown_fields(), output);
  18342. }
  18343. }
  18344. ::google::protobuf::uint8* CMsgGCMsgWebAPIJobRequestForwardResponse::SerializeWithCachedSizesToArray(
  18345. ::google::protobuf::uint8* target) const {
  18346. // optional uint32 dir_index = 1;
  18347. if (has_dir_index()) {
  18348. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->dir_index(), target);
  18349. }
  18350. if (!unknown_fields().empty()) {
  18351. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18352. unknown_fields(), target);
  18353. }
  18354. return target;
  18355. }
  18356. int CMsgGCMsgWebAPIJobRequestForwardResponse::ByteSize() const {
  18357. int total_size = 0;
  18358. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18359. // optional uint32 dir_index = 1;
  18360. if (has_dir_index()) {
  18361. total_size += 1 +
  18362. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  18363. this->dir_index());
  18364. }
  18365. }
  18366. if (!unknown_fields().empty()) {
  18367. total_size +=
  18368. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18369. unknown_fields());
  18370. }
  18371. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18372. _cached_size_ = total_size;
  18373. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18374. return total_size;
  18375. }
  18376. void CMsgGCMsgWebAPIJobRequestForwardResponse::MergeFrom(const ::google::protobuf::Message& from) {
  18377. GOOGLE_CHECK_NE(&from, this);
  18378. const CMsgGCMsgWebAPIJobRequestForwardResponse* source =
  18379. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgWebAPIJobRequestForwardResponse*>(
  18380. &from);
  18381. if (source == NULL) {
  18382. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18383. } else {
  18384. MergeFrom(*source);
  18385. }
  18386. }
  18387. void CMsgGCMsgWebAPIJobRequestForwardResponse::MergeFrom(const CMsgGCMsgWebAPIJobRequestForwardResponse& from) {
  18388. GOOGLE_CHECK_NE(&from, this);
  18389. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18390. if (from.has_dir_index()) {
  18391. set_dir_index(from.dir_index());
  18392. }
  18393. }
  18394. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18395. }
  18396. void CMsgGCMsgWebAPIJobRequestForwardResponse::CopyFrom(const ::google::protobuf::Message& from) {
  18397. if (&from == this) return;
  18398. Clear();
  18399. MergeFrom(from);
  18400. }
  18401. void CMsgGCMsgWebAPIJobRequestForwardResponse::CopyFrom(const CMsgGCMsgWebAPIJobRequestForwardResponse& from) {
  18402. if (&from == this) return;
  18403. Clear();
  18404. MergeFrom(from);
  18405. }
  18406. bool CMsgGCMsgWebAPIJobRequestForwardResponse::IsInitialized() const {
  18407. return true;
  18408. }
  18409. void CMsgGCMsgWebAPIJobRequestForwardResponse::Swap(CMsgGCMsgWebAPIJobRequestForwardResponse* other) {
  18410. if (other != this) {
  18411. std::swap(dir_index_, other->dir_index_);
  18412. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18413. _unknown_fields_.Swap(&other->_unknown_fields_);
  18414. std::swap(_cached_size_, other->_cached_size_);
  18415. }
  18416. }
  18417. ::google::protobuf::Metadata CMsgGCMsgWebAPIJobRequestForwardResponse::GetMetadata() const {
  18418. protobuf_AssignDescriptorsOnce();
  18419. ::google::protobuf::Metadata metadata;
  18420. metadata.descriptor = CMsgGCMsgWebAPIJobRequestForwardResponse_descriptor_;
  18421. metadata.reflection = CMsgGCMsgWebAPIJobRequestForwardResponse_reflection_;
  18422. return metadata;
  18423. }
  18424. // ===================================================================
  18425. #ifndef _MSC_VER
  18426. const int CGCSystemMsg_GetPurchaseTrust_Request::kSteamidFieldNumber;
  18427. #endif // !_MSC_VER
  18428. CGCSystemMsg_GetPurchaseTrust_Request::CGCSystemMsg_GetPurchaseTrust_Request()
  18429. : ::google::protobuf::Message() {
  18430. SharedCtor();
  18431. }
  18432. void CGCSystemMsg_GetPurchaseTrust_Request::InitAsDefaultInstance() {
  18433. }
  18434. CGCSystemMsg_GetPurchaseTrust_Request::CGCSystemMsg_GetPurchaseTrust_Request(const CGCSystemMsg_GetPurchaseTrust_Request& from)
  18435. : ::google::protobuf::Message() {
  18436. SharedCtor();
  18437. MergeFrom(from);
  18438. }
  18439. void CGCSystemMsg_GetPurchaseTrust_Request::SharedCtor() {
  18440. _cached_size_ = 0;
  18441. steamid_ = GOOGLE_ULONGLONG(0);
  18442. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18443. }
  18444. CGCSystemMsg_GetPurchaseTrust_Request::~CGCSystemMsg_GetPurchaseTrust_Request() {
  18445. SharedDtor();
  18446. }
  18447. void CGCSystemMsg_GetPurchaseTrust_Request::SharedDtor() {
  18448. if (this != default_instance_) {
  18449. }
  18450. }
  18451. void CGCSystemMsg_GetPurchaseTrust_Request::SetCachedSize(int size) const {
  18452. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18453. _cached_size_ = size;
  18454. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18455. }
  18456. const ::google::protobuf::Descriptor* CGCSystemMsg_GetPurchaseTrust_Request::descriptor() {
  18457. protobuf_AssignDescriptorsOnce();
  18458. return CGCSystemMsg_GetPurchaseTrust_Request_descriptor_;
  18459. }
  18460. const CGCSystemMsg_GetPurchaseTrust_Request& CGCSystemMsg_GetPurchaseTrust_Request::default_instance() {
  18461. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  18462. return *default_instance_;
  18463. }
  18464. CGCSystemMsg_GetPurchaseTrust_Request* CGCSystemMsg_GetPurchaseTrust_Request::default_instance_ = NULL;
  18465. CGCSystemMsg_GetPurchaseTrust_Request* CGCSystemMsg_GetPurchaseTrust_Request::New() const {
  18466. return new CGCSystemMsg_GetPurchaseTrust_Request;
  18467. }
  18468. void CGCSystemMsg_GetPurchaseTrust_Request::Clear() {
  18469. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18470. steamid_ = GOOGLE_ULONGLONG(0);
  18471. }
  18472. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18473. mutable_unknown_fields()->Clear();
  18474. }
  18475. bool CGCSystemMsg_GetPurchaseTrust_Request::MergePartialFromCodedStream(
  18476. ::google::protobuf::io::CodedInputStream* input) {
  18477. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18478. ::google::protobuf::uint32 tag;
  18479. while ((tag = input->ReadTag()) != 0) {
  18480. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18481. // optional fixed64 steamid = 1;
  18482. case 1: {
  18483. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18484. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  18485. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18486. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  18487. input, &steamid_)));
  18488. set_has_steamid();
  18489. } else {
  18490. goto handle_uninterpreted;
  18491. }
  18492. if (input->ExpectAtEnd()) return true;
  18493. break;
  18494. }
  18495. default: {
  18496. handle_uninterpreted:
  18497. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18498. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18499. return true;
  18500. }
  18501. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18502. input, tag, mutable_unknown_fields()));
  18503. break;
  18504. }
  18505. }
  18506. }
  18507. return true;
  18508. #undef DO_
  18509. }
  18510. void CGCSystemMsg_GetPurchaseTrust_Request::SerializeWithCachedSizes(
  18511. ::google::protobuf::io::CodedOutputStream* output) const {
  18512. // optional fixed64 steamid = 1;
  18513. if (has_steamid()) {
  18514. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steamid(), output);
  18515. }
  18516. if (!unknown_fields().empty()) {
  18517. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18518. unknown_fields(), output);
  18519. }
  18520. }
  18521. ::google::protobuf::uint8* CGCSystemMsg_GetPurchaseTrust_Request::SerializeWithCachedSizesToArray(
  18522. ::google::protobuf::uint8* target) const {
  18523. // optional fixed64 steamid = 1;
  18524. if (has_steamid()) {
  18525. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steamid(), target);
  18526. }
  18527. if (!unknown_fields().empty()) {
  18528. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18529. unknown_fields(), target);
  18530. }
  18531. return target;
  18532. }
  18533. int CGCSystemMsg_GetPurchaseTrust_Request::ByteSize() const {
  18534. int total_size = 0;
  18535. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18536. // optional fixed64 steamid = 1;
  18537. if (has_steamid()) {
  18538. total_size += 1 + 8;
  18539. }
  18540. }
  18541. if (!unknown_fields().empty()) {
  18542. total_size +=
  18543. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18544. unknown_fields());
  18545. }
  18546. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18547. _cached_size_ = total_size;
  18548. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18549. return total_size;
  18550. }
  18551. void CGCSystemMsg_GetPurchaseTrust_Request::MergeFrom(const ::google::protobuf::Message& from) {
  18552. GOOGLE_CHECK_NE(&from, this);
  18553. const CGCSystemMsg_GetPurchaseTrust_Request* source =
  18554. ::google::protobuf::internal::dynamic_cast_if_available<const CGCSystemMsg_GetPurchaseTrust_Request*>(
  18555. &from);
  18556. if (source == NULL) {
  18557. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18558. } else {
  18559. MergeFrom(*source);
  18560. }
  18561. }
  18562. void CGCSystemMsg_GetPurchaseTrust_Request::MergeFrom(const CGCSystemMsg_GetPurchaseTrust_Request& from) {
  18563. GOOGLE_CHECK_NE(&from, this);
  18564. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18565. if (from.has_steamid()) {
  18566. set_steamid(from.steamid());
  18567. }
  18568. }
  18569. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18570. }
  18571. void CGCSystemMsg_GetPurchaseTrust_Request::CopyFrom(const ::google::protobuf::Message& from) {
  18572. if (&from == this) return;
  18573. Clear();
  18574. MergeFrom(from);
  18575. }
  18576. void CGCSystemMsg_GetPurchaseTrust_Request::CopyFrom(const CGCSystemMsg_GetPurchaseTrust_Request& from) {
  18577. if (&from == this) return;
  18578. Clear();
  18579. MergeFrom(from);
  18580. }
  18581. bool CGCSystemMsg_GetPurchaseTrust_Request::IsInitialized() const {
  18582. return true;
  18583. }
  18584. void CGCSystemMsg_GetPurchaseTrust_Request::Swap(CGCSystemMsg_GetPurchaseTrust_Request* other) {
  18585. if (other != this) {
  18586. std::swap(steamid_, other->steamid_);
  18587. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18588. _unknown_fields_.Swap(&other->_unknown_fields_);
  18589. std::swap(_cached_size_, other->_cached_size_);
  18590. }
  18591. }
  18592. ::google::protobuf::Metadata CGCSystemMsg_GetPurchaseTrust_Request::GetMetadata() const {
  18593. protobuf_AssignDescriptorsOnce();
  18594. ::google::protobuf::Metadata metadata;
  18595. metadata.descriptor = CGCSystemMsg_GetPurchaseTrust_Request_descriptor_;
  18596. metadata.reflection = CGCSystemMsg_GetPurchaseTrust_Request_reflection_;
  18597. return metadata;
  18598. }
  18599. // ===================================================================
  18600. #ifndef _MSC_VER
  18601. const int CGCSystemMsg_GetPurchaseTrust_Response::kHasPriorPurchaseHistoryFieldNumber;
  18602. const int CGCSystemMsg_GetPurchaseTrust_Response::kHasNoRecentPasswordResetsFieldNumber;
  18603. const int CGCSystemMsg_GetPurchaseTrust_Response::kIsWalletCashTrustedFieldNumber;
  18604. const int CGCSystemMsg_GetPurchaseTrust_Response::kTimeAllTrustedFieldNumber;
  18605. #endif // !_MSC_VER
  18606. CGCSystemMsg_GetPurchaseTrust_Response::CGCSystemMsg_GetPurchaseTrust_Response()
  18607. : ::google::protobuf::Message() {
  18608. SharedCtor();
  18609. }
  18610. void CGCSystemMsg_GetPurchaseTrust_Response::InitAsDefaultInstance() {
  18611. }
  18612. CGCSystemMsg_GetPurchaseTrust_Response::CGCSystemMsg_GetPurchaseTrust_Response(const CGCSystemMsg_GetPurchaseTrust_Response& from)
  18613. : ::google::protobuf::Message() {
  18614. SharedCtor();
  18615. MergeFrom(from);
  18616. }
  18617. void CGCSystemMsg_GetPurchaseTrust_Response::SharedCtor() {
  18618. _cached_size_ = 0;
  18619. has_prior_purchase_history_ = false;
  18620. has_no_recent_password_resets_ = false;
  18621. is_wallet_cash_trusted_ = false;
  18622. time_all_trusted_ = 0u;
  18623. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18624. }
  18625. CGCSystemMsg_GetPurchaseTrust_Response::~CGCSystemMsg_GetPurchaseTrust_Response() {
  18626. SharedDtor();
  18627. }
  18628. void CGCSystemMsg_GetPurchaseTrust_Response::SharedDtor() {
  18629. if (this != default_instance_) {
  18630. }
  18631. }
  18632. void CGCSystemMsg_GetPurchaseTrust_Response::SetCachedSize(int size) const {
  18633. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18634. _cached_size_ = size;
  18635. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18636. }
  18637. const ::google::protobuf::Descriptor* CGCSystemMsg_GetPurchaseTrust_Response::descriptor() {
  18638. protobuf_AssignDescriptorsOnce();
  18639. return CGCSystemMsg_GetPurchaseTrust_Response_descriptor_;
  18640. }
  18641. const CGCSystemMsg_GetPurchaseTrust_Response& CGCSystemMsg_GetPurchaseTrust_Response::default_instance() {
  18642. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  18643. return *default_instance_;
  18644. }
  18645. CGCSystemMsg_GetPurchaseTrust_Response* CGCSystemMsg_GetPurchaseTrust_Response::default_instance_ = NULL;
  18646. CGCSystemMsg_GetPurchaseTrust_Response* CGCSystemMsg_GetPurchaseTrust_Response::New() const {
  18647. return new CGCSystemMsg_GetPurchaseTrust_Response;
  18648. }
  18649. void CGCSystemMsg_GetPurchaseTrust_Response::Clear() {
  18650. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18651. has_prior_purchase_history_ = false;
  18652. has_no_recent_password_resets_ = false;
  18653. is_wallet_cash_trusted_ = false;
  18654. time_all_trusted_ = 0u;
  18655. }
  18656. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18657. mutable_unknown_fields()->Clear();
  18658. }
  18659. bool CGCSystemMsg_GetPurchaseTrust_Response::MergePartialFromCodedStream(
  18660. ::google::protobuf::io::CodedInputStream* input) {
  18661. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18662. ::google::protobuf::uint32 tag;
  18663. while ((tag = input->ReadTag()) != 0) {
  18664. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18665. // optional bool has_prior_purchase_history = 1;
  18666. case 1: {
  18667. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18668. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18669. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18670. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  18671. input, &has_prior_purchase_history_)));
  18672. set_has_has_prior_purchase_history();
  18673. } else {
  18674. goto handle_uninterpreted;
  18675. }
  18676. if (input->ExpectTag(16)) goto parse_has_no_recent_password_resets;
  18677. break;
  18678. }
  18679. // optional bool has_no_recent_password_resets = 2;
  18680. case 2: {
  18681. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18682. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18683. parse_has_no_recent_password_resets:
  18684. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18685. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  18686. input, &has_no_recent_password_resets_)));
  18687. set_has_has_no_recent_password_resets();
  18688. } else {
  18689. goto handle_uninterpreted;
  18690. }
  18691. if (input->ExpectTag(24)) goto parse_is_wallet_cash_trusted;
  18692. break;
  18693. }
  18694. // optional bool is_wallet_cash_trusted = 3;
  18695. case 3: {
  18696. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18697. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18698. parse_is_wallet_cash_trusted:
  18699. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18700. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  18701. input, &is_wallet_cash_trusted_)));
  18702. set_has_is_wallet_cash_trusted();
  18703. } else {
  18704. goto handle_uninterpreted;
  18705. }
  18706. if (input->ExpectTag(32)) goto parse_time_all_trusted;
  18707. break;
  18708. }
  18709. // optional uint32 time_all_trusted = 4;
  18710. case 4: {
  18711. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18712. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18713. parse_time_all_trusted:
  18714. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18715. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  18716. input, &time_all_trusted_)));
  18717. set_has_time_all_trusted();
  18718. } else {
  18719. goto handle_uninterpreted;
  18720. }
  18721. if (input->ExpectAtEnd()) return true;
  18722. break;
  18723. }
  18724. default: {
  18725. handle_uninterpreted:
  18726. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18727. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18728. return true;
  18729. }
  18730. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18731. input, tag, mutable_unknown_fields()));
  18732. break;
  18733. }
  18734. }
  18735. }
  18736. return true;
  18737. #undef DO_
  18738. }
  18739. void CGCSystemMsg_GetPurchaseTrust_Response::SerializeWithCachedSizes(
  18740. ::google::protobuf::io::CodedOutputStream* output) const {
  18741. // optional bool has_prior_purchase_history = 1;
  18742. if (has_has_prior_purchase_history()) {
  18743. ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->has_prior_purchase_history(), output);
  18744. }
  18745. // optional bool has_no_recent_password_resets = 2;
  18746. if (has_has_no_recent_password_resets()) {
  18747. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->has_no_recent_password_resets(), output);
  18748. }
  18749. // optional bool is_wallet_cash_trusted = 3;
  18750. if (has_is_wallet_cash_trusted()) {
  18751. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_wallet_cash_trusted(), output);
  18752. }
  18753. // optional uint32 time_all_trusted = 4;
  18754. if (has_time_all_trusted()) {
  18755. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->time_all_trusted(), output);
  18756. }
  18757. if (!unknown_fields().empty()) {
  18758. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18759. unknown_fields(), output);
  18760. }
  18761. }
  18762. ::google::protobuf::uint8* CGCSystemMsg_GetPurchaseTrust_Response::SerializeWithCachedSizesToArray(
  18763. ::google::protobuf::uint8* target) const {
  18764. // optional bool has_prior_purchase_history = 1;
  18765. if (has_has_prior_purchase_history()) {
  18766. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->has_prior_purchase_history(), target);
  18767. }
  18768. // optional bool has_no_recent_password_resets = 2;
  18769. if (has_has_no_recent_password_resets()) {
  18770. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->has_no_recent_password_resets(), target);
  18771. }
  18772. // optional bool is_wallet_cash_trusted = 3;
  18773. if (has_is_wallet_cash_trusted()) {
  18774. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_wallet_cash_trusted(), target);
  18775. }
  18776. // optional uint32 time_all_trusted = 4;
  18777. if (has_time_all_trusted()) {
  18778. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->time_all_trusted(), target);
  18779. }
  18780. if (!unknown_fields().empty()) {
  18781. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18782. unknown_fields(), target);
  18783. }
  18784. return target;
  18785. }
  18786. int CGCSystemMsg_GetPurchaseTrust_Response::ByteSize() const {
  18787. int total_size = 0;
  18788. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18789. // optional bool has_prior_purchase_history = 1;
  18790. if (has_has_prior_purchase_history()) {
  18791. total_size += 1 + 1;
  18792. }
  18793. // optional bool has_no_recent_password_resets = 2;
  18794. if (has_has_no_recent_password_resets()) {
  18795. total_size += 1 + 1;
  18796. }
  18797. // optional bool is_wallet_cash_trusted = 3;
  18798. if (has_is_wallet_cash_trusted()) {
  18799. total_size += 1 + 1;
  18800. }
  18801. // optional uint32 time_all_trusted = 4;
  18802. if (has_time_all_trusted()) {
  18803. total_size += 1 +
  18804. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  18805. this->time_all_trusted());
  18806. }
  18807. }
  18808. if (!unknown_fields().empty()) {
  18809. total_size +=
  18810. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18811. unknown_fields());
  18812. }
  18813. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18814. _cached_size_ = total_size;
  18815. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18816. return total_size;
  18817. }
  18818. void CGCSystemMsg_GetPurchaseTrust_Response::MergeFrom(const ::google::protobuf::Message& from) {
  18819. GOOGLE_CHECK_NE(&from, this);
  18820. const CGCSystemMsg_GetPurchaseTrust_Response* source =
  18821. ::google::protobuf::internal::dynamic_cast_if_available<const CGCSystemMsg_GetPurchaseTrust_Response*>(
  18822. &from);
  18823. if (source == NULL) {
  18824. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18825. } else {
  18826. MergeFrom(*source);
  18827. }
  18828. }
  18829. void CGCSystemMsg_GetPurchaseTrust_Response::MergeFrom(const CGCSystemMsg_GetPurchaseTrust_Response& from) {
  18830. GOOGLE_CHECK_NE(&from, this);
  18831. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18832. if (from.has_has_prior_purchase_history()) {
  18833. set_has_prior_purchase_history(from.has_prior_purchase_history());
  18834. }
  18835. if (from.has_has_no_recent_password_resets()) {
  18836. set_has_no_recent_password_resets(from.has_no_recent_password_resets());
  18837. }
  18838. if (from.has_is_wallet_cash_trusted()) {
  18839. set_is_wallet_cash_trusted(from.is_wallet_cash_trusted());
  18840. }
  18841. if (from.has_time_all_trusted()) {
  18842. set_time_all_trusted(from.time_all_trusted());
  18843. }
  18844. }
  18845. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18846. }
  18847. void CGCSystemMsg_GetPurchaseTrust_Response::CopyFrom(const ::google::protobuf::Message& from) {
  18848. if (&from == this) return;
  18849. Clear();
  18850. MergeFrom(from);
  18851. }
  18852. void CGCSystemMsg_GetPurchaseTrust_Response::CopyFrom(const CGCSystemMsg_GetPurchaseTrust_Response& from) {
  18853. if (&from == this) return;
  18854. Clear();
  18855. MergeFrom(from);
  18856. }
  18857. bool CGCSystemMsg_GetPurchaseTrust_Response::IsInitialized() const {
  18858. return true;
  18859. }
  18860. void CGCSystemMsg_GetPurchaseTrust_Response::Swap(CGCSystemMsg_GetPurchaseTrust_Response* other) {
  18861. if (other != this) {
  18862. std::swap(has_prior_purchase_history_, other->has_prior_purchase_history_);
  18863. std::swap(has_no_recent_password_resets_, other->has_no_recent_password_resets_);
  18864. std::swap(is_wallet_cash_trusted_, other->is_wallet_cash_trusted_);
  18865. std::swap(time_all_trusted_, other->time_all_trusted_);
  18866. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18867. _unknown_fields_.Swap(&other->_unknown_fields_);
  18868. std::swap(_cached_size_, other->_cached_size_);
  18869. }
  18870. }
  18871. ::google::protobuf::Metadata CGCSystemMsg_GetPurchaseTrust_Response::GetMetadata() const {
  18872. protobuf_AssignDescriptorsOnce();
  18873. ::google::protobuf::Metadata metadata;
  18874. metadata.descriptor = CGCSystemMsg_GetPurchaseTrust_Response_descriptor_;
  18875. metadata.reflection = CGCSystemMsg_GetPurchaseTrust_Response_reflection_;
  18876. return metadata;
  18877. }
  18878. // ===================================================================
  18879. #ifndef _MSC_VER
  18880. const int CMsgGCHAccountVacStatusChange::kSteamIdFieldNumber;
  18881. const int CMsgGCHAccountVacStatusChange::kAppIdFieldNumber;
  18882. const int CMsgGCHAccountVacStatusChange::kRtimeVacbanStartsFieldNumber;
  18883. const int CMsgGCHAccountVacStatusChange::kIsBannedNowFieldNumber;
  18884. const int CMsgGCHAccountVacStatusChange::kIsBannedFutureFieldNumber;
  18885. #endif // !_MSC_VER
  18886. CMsgGCHAccountVacStatusChange::CMsgGCHAccountVacStatusChange()
  18887. : ::google::protobuf::Message() {
  18888. SharedCtor();
  18889. }
  18890. void CMsgGCHAccountVacStatusChange::InitAsDefaultInstance() {
  18891. }
  18892. CMsgGCHAccountVacStatusChange::CMsgGCHAccountVacStatusChange(const CMsgGCHAccountVacStatusChange& from)
  18893. : ::google::protobuf::Message() {
  18894. SharedCtor();
  18895. MergeFrom(from);
  18896. }
  18897. void CMsgGCHAccountVacStatusChange::SharedCtor() {
  18898. _cached_size_ = 0;
  18899. steam_id_ = GOOGLE_ULONGLONG(0);
  18900. app_id_ = 0u;
  18901. rtime_vacban_starts_ = 0u;
  18902. is_banned_now_ = false;
  18903. is_banned_future_ = false;
  18904. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18905. }
  18906. CMsgGCHAccountVacStatusChange::~CMsgGCHAccountVacStatusChange() {
  18907. SharedDtor();
  18908. }
  18909. void CMsgGCHAccountVacStatusChange::SharedDtor() {
  18910. if (this != default_instance_) {
  18911. }
  18912. }
  18913. void CMsgGCHAccountVacStatusChange::SetCachedSize(int size) const {
  18914. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18915. _cached_size_ = size;
  18916. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18917. }
  18918. const ::google::protobuf::Descriptor* CMsgGCHAccountVacStatusChange::descriptor() {
  18919. protobuf_AssignDescriptorsOnce();
  18920. return CMsgGCHAccountVacStatusChange_descriptor_;
  18921. }
  18922. const CMsgGCHAccountVacStatusChange& CMsgGCHAccountVacStatusChange::default_instance() {
  18923. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  18924. return *default_instance_;
  18925. }
  18926. CMsgGCHAccountVacStatusChange* CMsgGCHAccountVacStatusChange::default_instance_ = NULL;
  18927. CMsgGCHAccountVacStatusChange* CMsgGCHAccountVacStatusChange::New() const {
  18928. return new CMsgGCHAccountVacStatusChange;
  18929. }
  18930. void CMsgGCHAccountVacStatusChange::Clear() {
  18931. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18932. steam_id_ = GOOGLE_ULONGLONG(0);
  18933. app_id_ = 0u;
  18934. rtime_vacban_starts_ = 0u;
  18935. is_banned_now_ = false;
  18936. is_banned_future_ = false;
  18937. }
  18938. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18939. mutable_unknown_fields()->Clear();
  18940. }
  18941. bool CMsgGCHAccountVacStatusChange::MergePartialFromCodedStream(
  18942. ::google::protobuf::io::CodedInputStream* input) {
  18943. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18944. ::google::protobuf::uint32 tag;
  18945. while ((tag = input->ReadTag()) != 0) {
  18946. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18947. // optional fixed64 steam_id = 1;
  18948. case 1: {
  18949. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18950. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  18951. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18952. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  18953. input, &steam_id_)));
  18954. set_has_steam_id();
  18955. } else {
  18956. goto handle_uninterpreted;
  18957. }
  18958. if (input->ExpectTag(16)) goto parse_app_id;
  18959. break;
  18960. }
  18961. // optional uint32 app_id = 2;
  18962. case 2: {
  18963. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18964. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18965. parse_app_id:
  18966. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18967. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  18968. input, &app_id_)));
  18969. set_has_app_id();
  18970. } else {
  18971. goto handle_uninterpreted;
  18972. }
  18973. if (input->ExpectTag(24)) goto parse_rtime_vacban_starts;
  18974. break;
  18975. }
  18976. // optional uint32 rtime_vacban_starts = 3;
  18977. case 3: {
  18978. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18979. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18980. parse_rtime_vacban_starts:
  18981. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18982. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  18983. input, &rtime_vacban_starts_)));
  18984. set_has_rtime_vacban_starts();
  18985. } else {
  18986. goto handle_uninterpreted;
  18987. }
  18988. if (input->ExpectTag(32)) goto parse_is_banned_now;
  18989. break;
  18990. }
  18991. // optional bool is_banned_now = 4;
  18992. case 4: {
  18993. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18994. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18995. parse_is_banned_now:
  18996. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18997. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  18998. input, &is_banned_now_)));
  18999. set_has_is_banned_now();
  19000. } else {
  19001. goto handle_uninterpreted;
  19002. }
  19003. if (input->ExpectTag(40)) goto parse_is_banned_future;
  19004. break;
  19005. }
  19006. // optional bool is_banned_future = 5;
  19007. case 5: {
  19008. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19009. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19010. parse_is_banned_future:
  19011. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19012. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  19013. input, &is_banned_future_)));
  19014. set_has_is_banned_future();
  19015. } else {
  19016. goto handle_uninterpreted;
  19017. }
  19018. if (input->ExpectAtEnd()) return true;
  19019. break;
  19020. }
  19021. default: {
  19022. handle_uninterpreted:
  19023. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19024. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19025. return true;
  19026. }
  19027. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19028. input, tag, mutable_unknown_fields()));
  19029. break;
  19030. }
  19031. }
  19032. }
  19033. return true;
  19034. #undef DO_
  19035. }
  19036. void CMsgGCHAccountVacStatusChange::SerializeWithCachedSizes(
  19037. ::google::protobuf::io::CodedOutputStream* output) const {
  19038. // optional fixed64 steam_id = 1;
  19039. if (has_steam_id()) {
  19040. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steam_id(), output);
  19041. }
  19042. // optional uint32 app_id = 2;
  19043. if (has_app_id()) {
  19044. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->app_id(), output);
  19045. }
  19046. // optional uint32 rtime_vacban_starts = 3;
  19047. if (has_rtime_vacban_starts()) {
  19048. ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->rtime_vacban_starts(), output);
  19049. }
  19050. // optional bool is_banned_now = 4;
  19051. if (has_is_banned_now()) {
  19052. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_banned_now(), output);
  19053. }
  19054. // optional bool is_banned_future = 5;
  19055. if (has_is_banned_future()) {
  19056. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->is_banned_future(), output);
  19057. }
  19058. if (!unknown_fields().empty()) {
  19059. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19060. unknown_fields(), output);
  19061. }
  19062. }
  19063. ::google::protobuf::uint8* CMsgGCHAccountVacStatusChange::SerializeWithCachedSizesToArray(
  19064. ::google::protobuf::uint8* target) const {
  19065. // optional fixed64 steam_id = 1;
  19066. if (has_steam_id()) {
  19067. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steam_id(), target);
  19068. }
  19069. // optional uint32 app_id = 2;
  19070. if (has_app_id()) {
  19071. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->app_id(), target);
  19072. }
  19073. // optional uint32 rtime_vacban_starts = 3;
  19074. if (has_rtime_vacban_starts()) {
  19075. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->rtime_vacban_starts(), target);
  19076. }
  19077. // optional bool is_banned_now = 4;
  19078. if (has_is_banned_now()) {
  19079. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_banned_now(), target);
  19080. }
  19081. // optional bool is_banned_future = 5;
  19082. if (has_is_banned_future()) {
  19083. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->is_banned_future(), target);
  19084. }
  19085. if (!unknown_fields().empty()) {
  19086. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19087. unknown_fields(), target);
  19088. }
  19089. return target;
  19090. }
  19091. int CMsgGCHAccountVacStatusChange::ByteSize() const {
  19092. int total_size = 0;
  19093. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19094. // optional fixed64 steam_id = 1;
  19095. if (has_steam_id()) {
  19096. total_size += 1 + 8;
  19097. }
  19098. // optional uint32 app_id = 2;
  19099. if (has_app_id()) {
  19100. total_size += 1 +
  19101. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19102. this->app_id());
  19103. }
  19104. // optional uint32 rtime_vacban_starts = 3;
  19105. if (has_rtime_vacban_starts()) {
  19106. total_size += 1 +
  19107. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19108. this->rtime_vacban_starts());
  19109. }
  19110. // optional bool is_banned_now = 4;
  19111. if (has_is_banned_now()) {
  19112. total_size += 1 + 1;
  19113. }
  19114. // optional bool is_banned_future = 5;
  19115. if (has_is_banned_future()) {
  19116. total_size += 1 + 1;
  19117. }
  19118. }
  19119. if (!unknown_fields().empty()) {
  19120. total_size +=
  19121. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19122. unknown_fields());
  19123. }
  19124. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19125. _cached_size_ = total_size;
  19126. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19127. return total_size;
  19128. }
  19129. void CMsgGCHAccountVacStatusChange::MergeFrom(const ::google::protobuf::Message& from) {
  19130. GOOGLE_CHECK_NE(&from, this);
  19131. const CMsgGCHAccountVacStatusChange* source =
  19132. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCHAccountVacStatusChange*>(
  19133. &from);
  19134. if (source == NULL) {
  19135. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19136. } else {
  19137. MergeFrom(*source);
  19138. }
  19139. }
  19140. void CMsgGCHAccountVacStatusChange::MergeFrom(const CMsgGCHAccountVacStatusChange& from) {
  19141. GOOGLE_CHECK_NE(&from, this);
  19142. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19143. if (from.has_steam_id()) {
  19144. set_steam_id(from.steam_id());
  19145. }
  19146. if (from.has_app_id()) {
  19147. set_app_id(from.app_id());
  19148. }
  19149. if (from.has_rtime_vacban_starts()) {
  19150. set_rtime_vacban_starts(from.rtime_vacban_starts());
  19151. }
  19152. if (from.has_is_banned_now()) {
  19153. set_is_banned_now(from.is_banned_now());
  19154. }
  19155. if (from.has_is_banned_future()) {
  19156. set_is_banned_future(from.is_banned_future());
  19157. }
  19158. }
  19159. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19160. }
  19161. void CMsgGCHAccountVacStatusChange::CopyFrom(const ::google::protobuf::Message& from) {
  19162. if (&from == this) return;
  19163. Clear();
  19164. MergeFrom(from);
  19165. }
  19166. void CMsgGCHAccountVacStatusChange::CopyFrom(const CMsgGCHAccountVacStatusChange& from) {
  19167. if (&from == this) return;
  19168. Clear();
  19169. MergeFrom(from);
  19170. }
  19171. bool CMsgGCHAccountVacStatusChange::IsInitialized() const {
  19172. return true;
  19173. }
  19174. void CMsgGCHAccountVacStatusChange::Swap(CMsgGCHAccountVacStatusChange* other) {
  19175. if (other != this) {
  19176. std::swap(steam_id_, other->steam_id_);
  19177. std::swap(app_id_, other->app_id_);
  19178. std::swap(rtime_vacban_starts_, other->rtime_vacban_starts_);
  19179. std::swap(is_banned_now_, other->is_banned_now_);
  19180. std::swap(is_banned_future_, other->is_banned_future_);
  19181. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19182. _unknown_fields_.Swap(&other->_unknown_fields_);
  19183. std::swap(_cached_size_, other->_cached_size_);
  19184. }
  19185. }
  19186. ::google::protobuf::Metadata CMsgGCHAccountVacStatusChange::GetMetadata() const {
  19187. protobuf_AssignDescriptorsOnce();
  19188. ::google::protobuf::Metadata metadata;
  19189. metadata.descriptor = CMsgGCHAccountVacStatusChange_descriptor_;
  19190. metadata.reflection = CMsgGCHAccountVacStatusChange_reflection_;
  19191. return metadata;
  19192. }
  19193. // ===================================================================
  19194. #ifndef _MSC_VER
  19195. const int CMsgGCGetPartnerAccountLink::kSteamidFieldNumber;
  19196. #endif // !_MSC_VER
  19197. CMsgGCGetPartnerAccountLink::CMsgGCGetPartnerAccountLink()
  19198. : ::google::protobuf::Message() {
  19199. SharedCtor();
  19200. }
  19201. void CMsgGCGetPartnerAccountLink::InitAsDefaultInstance() {
  19202. }
  19203. CMsgGCGetPartnerAccountLink::CMsgGCGetPartnerAccountLink(const CMsgGCGetPartnerAccountLink& from)
  19204. : ::google::protobuf::Message() {
  19205. SharedCtor();
  19206. MergeFrom(from);
  19207. }
  19208. void CMsgGCGetPartnerAccountLink::SharedCtor() {
  19209. _cached_size_ = 0;
  19210. steamid_ = GOOGLE_ULONGLONG(0);
  19211. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19212. }
  19213. CMsgGCGetPartnerAccountLink::~CMsgGCGetPartnerAccountLink() {
  19214. SharedDtor();
  19215. }
  19216. void CMsgGCGetPartnerAccountLink::SharedDtor() {
  19217. if (this != default_instance_) {
  19218. }
  19219. }
  19220. void CMsgGCGetPartnerAccountLink::SetCachedSize(int size) const {
  19221. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19222. _cached_size_ = size;
  19223. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19224. }
  19225. const ::google::protobuf::Descriptor* CMsgGCGetPartnerAccountLink::descriptor() {
  19226. protobuf_AssignDescriptorsOnce();
  19227. return CMsgGCGetPartnerAccountLink_descriptor_;
  19228. }
  19229. const CMsgGCGetPartnerAccountLink& CMsgGCGetPartnerAccountLink::default_instance() {
  19230. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  19231. return *default_instance_;
  19232. }
  19233. CMsgGCGetPartnerAccountLink* CMsgGCGetPartnerAccountLink::default_instance_ = NULL;
  19234. CMsgGCGetPartnerAccountLink* CMsgGCGetPartnerAccountLink::New() const {
  19235. return new CMsgGCGetPartnerAccountLink;
  19236. }
  19237. void CMsgGCGetPartnerAccountLink::Clear() {
  19238. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19239. steamid_ = GOOGLE_ULONGLONG(0);
  19240. }
  19241. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19242. mutable_unknown_fields()->Clear();
  19243. }
  19244. bool CMsgGCGetPartnerAccountLink::MergePartialFromCodedStream(
  19245. ::google::protobuf::io::CodedInputStream* input) {
  19246. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19247. ::google::protobuf::uint32 tag;
  19248. while ((tag = input->ReadTag()) != 0) {
  19249. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19250. // optional fixed64 steamid = 1;
  19251. case 1: {
  19252. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19253. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  19254. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19255. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  19256. input, &steamid_)));
  19257. set_has_steamid();
  19258. } else {
  19259. goto handle_uninterpreted;
  19260. }
  19261. if (input->ExpectAtEnd()) return true;
  19262. break;
  19263. }
  19264. default: {
  19265. handle_uninterpreted:
  19266. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19267. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19268. return true;
  19269. }
  19270. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19271. input, tag, mutable_unknown_fields()));
  19272. break;
  19273. }
  19274. }
  19275. }
  19276. return true;
  19277. #undef DO_
  19278. }
  19279. void CMsgGCGetPartnerAccountLink::SerializeWithCachedSizes(
  19280. ::google::protobuf::io::CodedOutputStream* output) const {
  19281. // optional fixed64 steamid = 1;
  19282. if (has_steamid()) {
  19283. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steamid(), output);
  19284. }
  19285. if (!unknown_fields().empty()) {
  19286. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19287. unknown_fields(), output);
  19288. }
  19289. }
  19290. ::google::protobuf::uint8* CMsgGCGetPartnerAccountLink::SerializeWithCachedSizesToArray(
  19291. ::google::protobuf::uint8* target) const {
  19292. // optional fixed64 steamid = 1;
  19293. if (has_steamid()) {
  19294. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steamid(), target);
  19295. }
  19296. if (!unknown_fields().empty()) {
  19297. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19298. unknown_fields(), target);
  19299. }
  19300. return target;
  19301. }
  19302. int CMsgGCGetPartnerAccountLink::ByteSize() const {
  19303. int total_size = 0;
  19304. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19305. // optional fixed64 steamid = 1;
  19306. if (has_steamid()) {
  19307. total_size += 1 + 8;
  19308. }
  19309. }
  19310. if (!unknown_fields().empty()) {
  19311. total_size +=
  19312. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19313. unknown_fields());
  19314. }
  19315. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19316. _cached_size_ = total_size;
  19317. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19318. return total_size;
  19319. }
  19320. void CMsgGCGetPartnerAccountLink::MergeFrom(const ::google::protobuf::Message& from) {
  19321. GOOGLE_CHECK_NE(&from, this);
  19322. const CMsgGCGetPartnerAccountLink* source =
  19323. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCGetPartnerAccountLink*>(
  19324. &from);
  19325. if (source == NULL) {
  19326. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19327. } else {
  19328. MergeFrom(*source);
  19329. }
  19330. }
  19331. void CMsgGCGetPartnerAccountLink::MergeFrom(const CMsgGCGetPartnerAccountLink& from) {
  19332. GOOGLE_CHECK_NE(&from, this);
  19333. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19334. if (from.has_steamid()) {
  19335. set_steamid(from.steamid());
  19336. }
  19337. }
  19338. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19339. }
  19340. void CMsgGCGetPartnerAccountLink::CopyFrom(const ::google::protobuf::Message& from) {
  19341. if (&from == this) return;
  19342. Clear();
  19343. MergeFrom(from);
  19344. }
  19345. void CMsgGCGetPartnerAccountLink::CopyFrom(const CMsgGCGetPartnerAccountLink& from) {
  19346. if (&from == this) return;
  19347. Clear();
  19348. MergeFrom(from);
  19349. }
  19350. bool CMsgGCGetPartnerAccountLink::IsInitialized() const {
  19351. return true;
  19352. }
  19353. void CMsgGCGetPartnerAccountLink::Swap(CMsgGCGetPartnerAccountLink* other) {
  19354. if (other != this) {
  19355. std::swap(steamid_, other->steamid_);
  19356. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19357. _unknown_fields_.Swap(&other->_unknown_fields_);
  19358. std::swap(_cached_size_, other->_cached_size_);
  19359. }
  19360. }
  19361. ::google::protobuf::Metadata CMsgGCGetPartnerAccountLink::GetMetadata() const {
  19362. protobuf_AssignDescriptorsOnce();
  19363. ::google::protobuf::Metadata metadata;
  19364. metadata.descriptor = CMsgGCGetPartnerAccountLink_descriptor_;
  19365. metadata.reflection = CMsgGCGetPartnerAccountLink_reflection_;
  19366. return metadata;
  19367. }
  19368. // ===================================================================
  19369. #ifndef _MSC_VER
  19370. const int CMsgGCGetPartnerAccountLink_Response::kPwidFieldNumber;
  19371. const int CMsgGCGetPartnerAccountLink_Response::kNexonidFieldNumber;
  19372. #endif // !_MSC_VER
  19373. CMsgGCGetPartnerAccountLink_Response::CMsgGCGetPartnerAccountLink_Response()
  19374. : ::google::protobuf::Message() {
  19375. SharedCtor();
  19376. }
  19377. void CMsgGCGetPartnerAccountLink_Response::InitAsDefaultInstance() {
  19378. }
  19379. CMsgGCGetPartnerAccountLink_Response::CMsgGCGetPartnerAccountLink_Response(const CMsgGCGetPartnerAccountLink_Response& from)
  19380. : ::google::protobuf::Message() {
  19381. SharedCtor();
  19382. MergeFrom(from);
  19383. }
  19384. void CMsgGCGetPartnerAccountLink_Response::SharedCtor() {
  19385. _cached_size_ = 0;
  19386. pwid_ = 0u;
  19387. nexonid_ = 0u;
  19388. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19389. }
  19390. CMsgGCGetPartnerAccountLink_Response::~CMsgGCGetPartnerAccountLink_Response() {
  19391. SharedDtor();
  19392. }
  19393. void CMsgGCGetPartnerAccountLink_Response::SharedDtor() {
  19394. if (this != default_instance_) {
  19395. }
  19396. }
  19397. void CMsgGCGetPartnerAccountLink_Response::SetCachedSize(int size) const {
  19398. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19399. _cached_size_ = size;
  19400. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19401. }
  19402. const ::google::protobuf::Descriptor* CMsgGCGetPartnerAccountLink_Response::descriptor() {
  19403. protobuf_AssignDescriptorsOnce();
  19404. return CMsgGCGetPartnerAccountLink_Response_descriptor_;
  19405. }
  19406. const CMsgGCGetPartnerAccountLink_Response& CMsgGCGetPartnerAccountLink_Response::default_instance() {
  19407. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  19408. return *default_instance_;
  19409. }
  19410. CMsgGCGetPartnerAccountLink_Response* CMsgGCGetPartnerAccountLink_Response::default_instance_ = NULL;
  19411. CMsgGCGetPartnerAccountLink_Response* CMsgGCGetPartnerAccountLink_Response::New() const {
  19412. return new CMsgGCGetPartnerAccountLink_Response;
  19413. }
  19414. void CMsgGCGetPartnerAccountLink_Response::Clear() {
  19415. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19416. pwid_ = 0u;
  19417. nexonid_ = 0u;
  19418. }
  19419. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19420. mutable_unknown_fields()->Clear();
  19421. }
  19422. bool CMsgGCGetPartnerAccountLink_Response::MergePartialFromCodedStream(
  19423. ::google::protobuf::io::CodedInputStream* input) {
  19424. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19425. ::google::protobuf::uint32 tag;
  19426. while ((tag = input->ReadTag()) != 0) {
  19427. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19428. // optional uint32 pwid = 1;
  19429. case 1: {
  19430. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19431. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19432. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19433. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19434. input, &pwid_)));
  19435. set_has_pwid();
  19436. } else {
  19437. goto handle_uninterpreted;
  19438. }
  19439. if (input->ExpectTag(16)) goto parse_nexonid;
  19440. break;
  19441. }
  19442. // optional uint32 nexonid = 2;
  19443. case 2: {
  19444. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19445. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19446. parse_nexonid:
  19447. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19448. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19449. input, &nexonid_)));
  19450. set_has_nexonid();
  19451. } else {
  19452. goto handle_uninterpreted;
  19453. }
  19454. if (input->ExpectAtEnd()) return true;
  19455. break;
  19456. }
  19457. default: {
  19458. handle_uninterpreted:
  19459. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19460. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19461. return true;
  19462. }
  19463. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19464. input, tag, mutable_unknown_fields()));
  19465. break;
  19466. }
  19467. }
  19468. }
  19469. return true;
  19470. #undef DO_
  19471. }
  19472. void CMsgGCGetPartnerAccountLink_Response::SerializeWithCachedSizes(
  19473. ::google::protobuf::io::CodedOutputStream* output) const {
  19474. // optional uint32 pwid = 1;
  19475. if (has_pwid()) {
  19476. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->pwid(), output);
  19477. }
  19478. // optional uint32 nexonid = 2;
  19479. if (has_nexonid()) {
  19480. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->nexonid(), output);
  19481. }
  19482. if (!unknown_fields().empty()) {
  19483. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19484. unknown_fields(), output);
  19485. }
  19486. }
  19487. ::google::protobuf::uint8* CMsgGCGetPartnerAccountLink_Response::SerializeWithCachedSizesToArray(
  19488. ::google::protobuf::uint8* target) const {
  19489. // optional uint32 pwid = 1;
  19490. if (has_pwid()) {
  19491. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->pwid(), target);
  19492. }
  19493. // optional uint32 nexonid = 2;
  19494. if (has_nexonid()) {
  19495. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->nexonid(), target);
  19496. }
  19497. if (!unknown_fields().empty()) {
  19498. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19499. unknown_fields(), target);
  19500. }
  19501. return target;
  19502. }
  19503. int CMsgGCGetPartnerAccountLink_Response::ByteSize() const {
  19504. int total_size = 0;
  19505. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19506. // optional uint32 pwid = 1;
  19507. if (has_pwid()) {
  19508. total_size += 1 +
  19509. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19510. this->pwid());
  19511. }
  19512. // optional uint32 nexonid = 2;
  19513. if (has_nexonid()) {
  19514. total_size += 1 +
  19515. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19516. this->nexonid());
  19517. }
  19518. }
  19519. if (!unknown_fields().empty()) {
  19520. total_size +=
  19521. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19522. unknown_fields());
  19523. }
  19524. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19525. _cached_size_ = total_size;
  19526. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19527. return total_size;
  19528. }
  19529. void CMsgGCGetPartnerAccountLink_Response::MergeFrom(const ::google::protobuf::Message& from) {
  19530. GOOGLE_CHECK_NE(&from, this);
  19531. const CMsgGCGetPartnerAccountLink_Response* source =
  19532. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCGetPartnerAccountLink_Response*>(
  19533. &from);
  19534. if (source == NULL) {
  19535. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19536. } else {
  19537. MergeFrom(*source);
  19538. }
  19539. }
  19540. void CMsgGCGetPartnerAccountLink_Response::MergeFrom(const CMsgGCGetPartnerAccountLink_Response& from) {
  19541. GOOGLE_CHECK_NE(&from, this);
  19542. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19543. if (from.has_pwid()) {
  19544. set_pwid(from.pwid());
  19545. }
  19546. if (from.has_nexonid()) {
  19547. set_nexonid(from.nexonid());
  19548. }
  19549. }
  19550. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19551. }
  19552. void CMsgGCGetPartnerAccountLink_Response::CopyFrom(const ::google::protobuf::Message& from) {
  19553. if (&from == this) return;
  19554. Clear();
  19555. MergeFrom(from);
  19556. }
  19557. void CMsgGCGetPartnerAccountLink_Response::CopyFrom(const CMsgGCGetPartnerAccountLink_Response& from) {
  19558. if (&from == this) return;
  19559. Clear();
  19560. MergeFrom(from);
  19561. }
  19562. bool CMsgGCGetPartnerAccountLink_Response::IsInitialized() const {
  19563. return true;
  19564. }
  19565. void CMsgGCGetPartnerAccountLink_Response::Swap(CMsgGCGetPartnerAccountLink_Response* other) {
  19566. if (other != this) {
  19567. std::swap(pwid_, other->pwid_);
  19568. std::swap(nexonid_, other->nexonid_);
  19569. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19570. _unknown_fields_.Swap(&other->_unknown_fields_);
  19571. std::swap(_cached_size_, other->_cached_size_);
  19572. }
  19573. }
  19574. ::google::protobuf::Metadata CMsgGCGetPartnerAccountLink_Response::GetMetadata() const {
  19575. protobuf_AssignDescriptorsOnce();
  19576. ::google::protobuf::Metadata metadata;
  19577. metadata.descriptor = CMsgGCGetPartnerAccountLink_Response_descriptor_;
  19578. metadata.reflection = CMsgGCGetPartnerAccountLink_Response_reflection_;
  19579. return metadata;
  19580. }
  19581. // ===================================================================
  19582. const ::google::protobuf::EnumDescriptor* CMsgGCRoutingInfo_RoutingMethod_descriptor() {
  19583. protobuf_AssignDescriptorsOnce();
  19584. return CMsgGCRoutingInfo_RoutingMethod_descriptor_;
  19585. }
  19586. bool CMsgGCRoutingInfo_RoutingMethod_IsValid(int value) {
  19587. switch(value) {
  19588. case 0:
  19589. case 1:
  19590. case 2:
  19591. case 3:
  19592. case 4:
  19593. return true;
  19594. default:
  19595. return false;
  19596. }
  19597. }
  19598. #ifndef _MSC_VER
  19599. const CMsgGCRoutingInfo_RoutingMethod CMsgGCRoutingInfo::RANDOM;
  19600. const CMsgGCRoutingInfo_RoutingMethod CMsgGCRoutingInfo::DISCARD;
  19601. const CMsgGCRoutingInfo_RoutingMethod CMsgGCRoutingInfo::CLIENT_STEAMID;
  19602. const CMsgGCRoutingInfo_RoutingMethod CMsgGCRoutingInfo::PROTOBUF_FIELD_UINT64;
  19603. const CMsgGCRoutingInfo_RoutingMethod CMsgGCRoutingInfo::WEBAPI_PARAM_UINT64;
  19604. const CMsgGCRoutingInfo_RoutingMethod CMsgGCRoutingInfo::RoutingMethod_MIN;
  19605. const CMsgGCRoutingInfo_RoutingMethod CMsgGCRoutingInfo::RoutingMethod_MAX;
  19606. const int CMsgGCRoutingInfo::RoutingMethod_ARRAYSIZE;
  19607. #endif // _MSC_VER
  19608. #ifndef _MSC_VER
  19609. const int CMsgGCRoutingInfo::kDirIndexFieldNumber;
  19610. const int CMsgGCRoutingInfo::kMethodFieldNumber;
  19611. const int CMsgGCRoutingInfo::kFallbackFieldNumber;
  19612. const int CMsgGCRoutingInfo::kProtobufFieldFieldNumber;
  19613. const int CMsgGCRoutingInfo::kWebapiParamFieldNumber;
  19614. #endif // !_MSC_VER
  19615. CMsgGCRoutingInfo::CMsgGCRoutingInfo()
  19616. : ::google::protobuf::Message() {
  19617. SharedCtor();
  19618. }
  19619. void CMsgGCRoutingInfo::InitAsDefaultInstance() {
  19620. }
  19621. CMsgGCRoutingInfo::CMsgGCRoutingInfo(const CMsgGCRoutingInfo& from)
  19622. : ::google::protobuf::Message() {
  19623. SharedCtor();
  19624. MergeFrom(from);
  19625. }
  19626. void CMsgGCRoutingInfo::SharedCtor() {
  19627. _cached_size_ = 0;
  19628. method_ = 0;
  19629. fallback_ = 1;
  19630. protobuf_field_ = 0u;
  19631. webapi_param_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  19632. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19633. }
  19634. CMsgGCRoutingInfo::~CMsgGCRoutingInfo() {
  19635. SharedDtor();
  19636. }
  19637. void CMsgGCRoutingInfo::SharedDtor() {
  19638. if (webapi_param_ != &::google::protobuf::internal::kEmptyString) {
  19639. delete webapi_param_;
  19640. }
  19641. if (this != default_instance_) {
  19642. }
  19643. }
  19644. void CMsgGCRoutingInfo::SetCachedSize(int size) const {
  19645. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19646. _cached_size_ = size;
  19647. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19648. }
  19649. const ::google::protobuf::Descriptor* CMsgGCRoutingInfo::descriptor() {
  19650. protobuf_AssignDescriptorsOnce();
  19651. return CMsgGCRoutingInfo_descriptor_;
  19652. }
  19653. const CMsgGCRoutingInfo& CMsgGCRoutingInfo::default_instance() {
  19654. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  19655. return *default_instance_;
  19656. }
  19657. CMsgGCRoutingInfo* CMsgGCRoutingInfo::default_instance_ = NULL;
  19658. CMsgGCRoutingInfo* CMsgGCRoutingInfo::New() const {
  19659. return new CMsgGCRoutingInfo;
  19660. }
  19661. void CMsgGCRoutingInfo::Clear() {
  19662. if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  19663. method_ = 0;
  19664. fallback_ = 1;
  19665. protobuf_field_ = 0u;
  19666. if (has_webapi_param()) {
  19667. if (webapi_param_ != &::google::protobuf::internal::kEmptyString) {
  19668. webapi_param_->clear();
  19669. }
  19670. }
  19671. }
  19672. dir_index_.Clear();
  19673. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19674. mutable_unknown_fields()->Clear();
  19675. }
  19676. bool CMsgGCRoutingInfo::MergePartialFromCodedStream(
  19677. ::google::protobuf::io::CodedInputStream* input) {
  19678. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19679. ::google::protobuf::uint32 tag;
  19680. while ((tag = input->ReadTag()) != 0) {
  19681. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19682. // repeated uint32 dir_index = 1;
  19683. case 1: {
  19684. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19685. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19686. parse_dir_index:
  19687. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  19688. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19689. 1, 8, input, this->mutable_dir_index())));
  19690. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  19691. == ::google::protobuf::internal::WireFormatLite::
  19692. WIRETYPE_LENGTH_DELIMITED) {
  19693. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  19694. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19695. input, this->mutable_dir_index())));
  19696. } else {
  19697. goto handle_uninterpreted;
  19698. }
  19699. if (input->ExpectTag(8)) goto parse_dir_index;
  19700. if (input->ExpectTag(16)) goto parse_method;
  19701. break;
  19702. }
  19703. // optional .CMsgGCRoutingInfo.RoutingMethod method = 2 [default = RANDOM];
  19704. case 2: {
  19705. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19706. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19707. parse_method:
  19708. int value;
  19709. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19710. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19711. input, &value)));
  19712. if (::CMsgGCRoutingInfo_RoutingMethod_IsValid(value)) {
  19713. set_method(static_cast< ::CMsgGCRoutingInfo_RoutingMethod >(value));
  19714. } else {
  19715. mutable_unknown_fields()->AddVarint(2, value);
  19716. }
  19717. } else {
  19718. goto handle_uninterpreted;
  19719. }
  19720. if (input->ExpectTag(24)) goto parse_fallback;
  19721. break;
  19722. }
  19723. // optional .CMsgGCRoutingInfo.RoutingMethod fallback = 3 [default = DISCARD];
  19724. case 3: {
  19725. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19726. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19727. parse_fallback:
  19728. int value;
  19729. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19730. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19731. input, &value)));
  19732. if (::CMsgGCRoutingInfo_RoutingMethod_IsValid(value)) {
  19733. set_fallback(static_cast< ::CMsgGCRoutingInfo_RoutingMethod >(value));
  19734. } else {
  19735. mutable_unknown_fields()->AddVarint(3, value);
  19736. }
  19737. } else {
  19738. goto handle_uninterpreted;
  19739. }
  19740. if (input->ExpectTag(32)) goto parse_protobuf_field;
  19741. break;
  19742. }
  19743. // optional uint32 protobuf_field = 4;
  19744. case 4: {
  19745. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19746. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19747. parse_protobuf_field:
  19748. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19749. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  19750. input, &protobuf_field_)));
  19751. set_has_protobuf_field();
  19752. } else {
  19753. goto handle_uninterpreted;
  19754. }
  19755. if (input->ExpectTag(42)) goto parse_webapi_param;
  19756. break;
  19757. }
  19758. // optional string webapi_param = 5;
  19759. case 5: {
  19760. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19761. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  19762. parse_webapi_param:
  19763. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  19764. input, this->mutable_webapi_param()));
  19765. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  19766. this->webapi_param().data(), this->webapi_param().length(),
  19767. ::google::protobuf::internal::WireFormat::PARSE);
  19768. } else {
  19769. goto handle_uninterpreted;
  19770. }
  19771. if (input->ExpectAtEnd()) return true;
  19772. break;
  19773. }
  19774. default: {
  19775. handle_uninterpreted:
  19776. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19777. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19778. return true;
  19779. }
  19780. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19781. input, tag, mutable_unknown_fields()));
  19782. break;
  19783. }
  19784. }
  19785. }
  19786. return true;
  19787. #undef DO_
  19788. }
  19789. void CMsgGCRoutingInfo::SerializeWithCachedSizes(
  19790. ::google::protobuf::io::CodedOutputStream* output) const {
  19791. // repeated uint32 dir_index = 1;
  19792. for (int i = 0; i < this->dir_index_size(); i++) {
  19793. ::google::protobuf::internal::WireFormatLite::WriteUInt32(
  19794. 1, this->dir_index(i), output);
  19795. }
  19796. // optional .CMsgGCRoutingInfo.RoutingMethod method = 2 [default = RANDOM];
  19797. if (has_method()) {
  19798. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19799. 2, this->method(), output);
  19800. }
  19801. // optional .CMsgGCRoutingInfo.RoutingMethod fallback = 3 [default = DISCARD];
  19802. if (has_fallback()) {
  19803. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19804. 3, this->fallback(), output);
  19805. }
  19806. // optional uint32 protobuf_field = 4;
  19807. if (has_protobuf_field()) {
  19808. ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->protobuf_field(), output);
  19809. }
  19810. // optional string webapi_param = 5;
  19811. if (has_webapi_param()) {
  19812. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  19813. this->webapi_param().data(), this->webapi_param().length(),
  19814. ::google::protobuf::internal::WireFormat::SERIALIZE);
  19815. ::google::protobuf::internal::WireFormatLite::WriteString(
  19816. 5, this->webapi_param(), output);
  19817. }
  19818. if (!unknown_fields().empty()) {
  19819. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19820. unknown_fields(), output);
  19821. }
  19822. }
  19823. ::google::protobuf::uint8* CMsgGCRoutingInfo::SerializeWithCachedSizesToArray(
  19824. ::google::protobuf::uint8* target) const {
  19825. // repeated uint32 dir_index = 1;
  19826. for (int i = 0; i < this->dir_index_size(); i++) {
  19827. target = ::google::protobuf::internal::WireFormatLite::
  19828. WriteUInt32ToArray(1, this->dir_index(i), target);
  19829. }
  19830. // optional .CMsgGCRoutingInfo.RoutingMethod method = 2 [default = RANDOM];
  19831. if (has_method()) {
  19832. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19833. 2, this->method(), target);
  19834. }
  19835. // optional .CMsgGCRoutingInfo.RoutingMethod fallback = 3 [default = DISCARD];
  19836. if (has_fallback()) {
  19837. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19838. 3, this->fallback(), target);
  19839. }
  19840. // optional uint32 protobuf_field = 4;
  19841. if (has_protobuf_field()) {
  19842. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->protobuf_field(), target);
  19843. }
  19844. // optional string webapi_param = 5;
  19845. if (has_webapi_param()) {
  19846. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  19847. this->webapi_param().data(), this->webapi_param().length(),
  19848. ::google::protobuf::internal::WireFormat::SERIALIZE);
  19849. target =
  19850. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  19851. 5, this->webapi_param(), target);
  19852. }
  19853. if (!unknown_fields().empty()) {
  19854. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19855. unknown_fields(), target);
  19856. }
  19857. return target;
  19858. }
  19859. int CMsgGCRoutingInfo::ByteSize() const {
  19860. int total_size = 0;
  19861. if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  19862. // optional .CMsgGCRoutingInfo.RoutingMethod method = 2 [default = RANDOM];
  19863. if (has_method()) {
  19864. total_size += 1 +
  19865. ::google::protobuf::internal::WireFormatLite::EnumSize(this->method());
  19866. }
  19867. // optional .CMsgGCRoutingInfo.RoutingMethod fallback = 3 [default = DISCARD];
  19868. if (has_fallback()) {
  19869. total_size += 1 +
  19870. ::google::protobuf::internal::WireFormatLite::EnumSize(this->fallback());
  19871. }
  19872. // optional uint32 protobuf_field = 4;
  19873. if (has_protobuf_field()) {
  19874. total_size += 1 +
  19875. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  19876. this->protobuf_field());
  19877. }
  19878. // optional string webapi_param = 5;
  19879. if (has_webapi_param()) {
  19880. total_size += 1 +
  19881. ::google::protobuf::internal::WireFormatLite::StringSize(
  19882. this->webapi_param());
  19883. }
  19884. }
  19885. // repeated uint32 dir_index = 1;
  19886. {
  19887. int data_size = 0;
  19888. for (int i = 0; i < this->dir_index_size(); i++) {
  19889. data_size += ::google::protobuf::internal::WireFormatLite::
  19890. UInt32Size(this->dir_index(i));
  19891. }
  19892. total_size += 1 * this->dir_index_size() + data_size;
  19893. }
  19894. if (!unknown_fields().empty()) {
  19895. total_size +=
  19896. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19897. unknown_fields());
  19898. }
  19899. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19900. _cached_size_ = total_size;
  19901. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19902. return total_size;
  19903. }
  19904. void CMsgGCRoutingInfo::MergeFrom(const ::google::protobuf::Message& from) {
  19905. GOOGLE_CHECK_NE(&from, this);
  19906. const CMsgGCRoutingInfo* source =
  19907. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCRoutingInfo*>(
  19908. &from);
  19909. if (source == NULL) {
  19910. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19911. } else {
  19912. MergeFrom(*source);
  19913. }
  19914. }
  19915. void CMsgGCRoutingInfo::MergeFrom(const CMsgGCRoutingInfo& from) {
  19916. GOOGLE_CHECK_NE(&from, this);
  19917. dir_index_.MergeFrom(from.dir_index_);
  19918. if (from._has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  19919. if (from.has_method()) {
  19920. set_method(from.method());
  19921. }
  19922. if (from.has_fallback()) {
  19923. set_fallback(from.fallback());
  19924. }
  19925. if (from.has_protobuf_field()) {
  19926. set_protobuf_field(from.protobuf_field());
  19927. }
  19928. if (from.has_webapi_param()) {
  19929. set_webapi_param(from.webapi_param());
  19930. }
  19931. }
  19932. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19933. }
  19934. void CMsgGCRoutingInfo::CopyFrom(const ::google::protobuf::Message& from) {
  19935. if (&from == this) return;
  19936. Clear();
  19937. MergeFrom(from);
  19938. }
  19939. void CMsgGCRoutingInfo::CopyFrom(const CMsgGCRoutingInfo& from) {
  19940. if (&from == this) return;
  19941. Clear();
  19942. MergeFrom(from);
  19943. }
  19944. bool CMsgGCRoutingInfo::IsInitialized() const {
  19945. return true;
  19946. }
  19947. void CMsgGCRoutingInfo::Swap(CMsgGCRoutingInfo* other) {
  19948. if (other != this) {
  19949. dir_index_.Swap(&other->dir_index_);
  19950. std::swap(method_, other->method_);
  19951. std::swap(fallback_, other->fallback_);
  19952. std::swap(protobuf_field_, other->protobuf_field_);
  19953. std::swap(webapi_param_, other->webapi_param_);
  19954. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19955. _unknown_fields_.Swap(&other->_unknown_fields_);
  19956. std::swap(_cached_size_, other->_cached_size_);
  19957. }
  19958. }
  19959. ::google::protobuf::Metadata CMsgGCRoutingInfo::GetMetadata() const {
  19960. protobuf_AssignDescriptorsOnce();
  19961. ::google::protobuf::Metadata metadata;
  19962. metadata.descriptor = CMsgGCRoutingInfo_descriptor_;
  19963. metadata.reflection = CMsgGCRoutingInfo_reflection_;
  19964. return metadata;
  19965. }
  19966. // ===================================================================
  19967. #ifndef _MSC_VER
  19968. const int CMsgGCMsgMasterSetWebAPIRouting_Entry::kInterfaceNameFieldNumber;
  19969. const int CMsgGCMsgMasterSetWebAPIRouting_Entry::kMethodNameFieldNumber;
  19970. const int CMsgGCMsgMasterSetWebAPIRouting_Entry::kRoutingFieldNumber;
  19971. #endif // !_MSC_VER
  19972. CMsgGCMsgMasterSetWebAPIRouting_Entry::CMsgGCMsgMasterSetWebAPIRouting_Entry()
  19973. : ::google::protobuf::Message() {
  19974. SharedCtor();
  19975. }
  19976. void CMsgGCMsgMasterSetWebAPIRouting_Entry::InitAsDefaultInstance() {
  19977. routing_ = const_cast< ::CMsgGCRoutingInfo*>(&::CMsgGCRoutingInfo::default_instance());
  19978. }
  19979. CMsgGCMsgMasterSetWebAPIRouting_Entry::CMsgGCMsgMasterSetWebAPIRouting_Entry(const CMsgGCMsgMasterSetWebAPIRouting_Entry& from)
  19980. : ::google::protobuf::Message() {
  19981. SharedCtor();
  19982. MergeFrom(from);
  19983. }
  19984. void CMsgGCMsgMasterSetWebAPIRouting_Entry::SharedCtor() {
  19985. _cached_size_ = 0;
  19986. interface_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  19987. method_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  19988. routing_ = NULL;
  19989. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19990. }
  19991. CMsgGCMsgMasterSetWebAPIRouting_Entry::~CMsgGCMsgMasterSetWebAPIRouting_Entry() {
  19992. SharedDtor();
  19993. }
  19994. void CMsgGCMsgMasterSetWebAPIRouting_Entry::SharedDtor() {
  19995. if (interface_name_ != &::google::protobuf::internal::kEmptyString) {
  19996. delete interface_name_;
  19997. }
  19998. if (method_name_ != &::google::protobuf::internal::kEmptyString) {
  19999. delete method_name_;
  20000. }
  20001. if (this != default_instance_) {
  20002. delete routing_;
  20003. }
  20004. }
  20005. void CMsgGCMsgMasterSetWebAPIRouting_Entry::SetCachedSize(int size) const {
  20006. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20007. _cached_size_ = size;
  20008. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20009. }
  20010. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetWebAPIRouting_Entry::descriptor() {
  20011. protobuf_AssignDescriptorsOnce();
  20012. return CMsgGCMsgMasterSetWebAPIRouting_Entry_descriptor_;
  20013. }
  20014. const CMsgGCMsgMasterSetWebAPIRouting_Entry& CMsgGCMsgMasterSetWebAPIRouting_Entry::default_instance() {
  20015. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  20016. return *default_instance_;
  20017. }
  20018. CMsgGCMsgMasterSetWebAPIRouting_Entry* CMsgGCMsgMasterSetWebAPIRouting_Entry::default_instance_ = NULL;
  20019. CMsgGCMsgMasterSetWebAPIRouting_Entry* CMsgGCMsgMasterSetWebAPIRouting_Entry::New() const {
  20020. return new CMsgGCMsgMasterSetWebAPIRouting_Entry;
  20021. }
  20022. void CMsgGCMsgMasterSetWebAPIRouting_Entry::Clear() {
  20023. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20024. if (has_interface_name()) {
  20025. if (interface_name_ != &::google::protobuf::internal::kEmptyString) {
  20026. interface_name_->clear();
  20027. }
  20028. }
  20029. if (has_method_name()) {
  20030. if (method_name_ != &::google::protobuf::internal::kEmptyString) {
  20031. method_name_->clear();
  20032. }
  20033. }
  20034. if (has_routing()) {
  20035. if (routing_ != NULL) routing_->::CMsgGCRoutingInfo::Clear();
  20036. }
  20037. }
  20038. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20039. mutable_unknown_fields()->Clear();
  20040. }
  20041. bool CMsgGCMsgMasterSetWebAPIRouting_Entry::MergePartialFromCodedStream(
  20042. ::google::protobuf::io::CodedInputStream* input) {
  20043. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20044. ::google::protobuf::uint32 tag;
  20045. while ((tag = input->ReadTag()) != 0) {
  20046. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20047. // optional string interface_name = 1;
  20048. case 1: {
  20049. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20050. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  20051. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  20052. input, this->mutable_interface_name()));
  20053. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20054. this->interface_name().data(), this->interface_name().length(),
  20055. ::google::protobuf::internal::WireFormat::PARSE);
  20056. } else {
  20057. goto handle_uninterpreted;
  20058. }
  20059. if (input->ExpectTag(18)) goto parse_method_name;
  20060. break;
  20061. }
  20062. // optional string method_name = 2;
  20063. case 2: {
  20064. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20065. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  20066. parse_method_name:
  20067. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  20068. input, this->mutable_method_name()));
  20069. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20070. this->method_name().data(), this->method_name().length(),
  20071. ::google::protobuf::internal::WireFormat::PARSE);
  20072. } else {
  20073. goto handle_uninterpreted;
  20074. }
  20075. if (input->ExpectTag(26)) goto parse_routing;
  20076. break;
  20077. }
  20078. // optional .CMsgGCRoutingInfo routing = 3;
  20079. case 3: {
  20080. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20081. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  20082. parse_routing:
  20083. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  20084. input, mutable_routing()));
  20085. } else {
  20086. goto handle_uninterpreted;
  20087. }
  20088. if (input->ExpectAtEnd()) return true;
  20089. break;
  20090. }
  20091. default: {
  20092. handle_uninterpreted:
  20093. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20094. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20095. return true;
  20096. }
  20097. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20098. input, tag, mutable_unknown_fields()));
  20099. break;
  20100. }
  20101. }
  20102. }
  20103. return true;
  20104. #undef DO_
  20105. }
  20106. void CMsgGCMsgMasterSetWebAPIRouting_Entry::SerializeWithCachedSizes(
  20107. ::google::protobuf::io::CodedOutputStream* output) const {
  20108. // optional string interface_name = 1;
  20109. if (has_interface_name()) {
  20110. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20111. this->interface_name().data(), this->interface_name().length(),
  20112. ::google::protobuf::internal::WireFormat::SERIALIZE);
  20113. ::google::protobuf::internal::WireFormatLite::WriteString(
  20114. 1, this->interface_name(), output);
  20115. }
  20116. // optional string method_name = 2;
  20117. if (has_method_name()) {
  20118. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20119. this->method_name().data(), this->method_name().length(),
  20120. ::google::protobuf::internal::WireFormat::SERIALIZE);
  20121. ::google::protobuf::internal::WireFormatLite::WriteString(
  20122. 2, this->method_name(), output);
  20123. }
  20124. // optional .CMsgGCRoutingInfo routing = 3;
  20125. if (has_routing()) {
  20126. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  20127. 3, this->routing(), output);
  20128. }
  20129. if (!unknown_fields().empty()) {
  20130. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20131. unknown_fields(), output);
  20132. }
  20133. }
  20134. ::google::protobuf::uint8* CMsgGCMsgMasterSetWebAPIRouting_Entry::SerializeWithCachedSizesToArray(
  20135. ::google::protobuf::uint8* target) const {
  20136. // optional string interface_name = 1;
  20137. if (has_interface_name()) {
  20138. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20139. this->interface_name().data(), this->interface_name().length(),
  20140. ::google::protobuf::internal::WireFormat::SERIALIZE);
  20141. target =
  20142. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  20143. 1, this->interface_name(), target);
  20144. }
  20145. // optional string method_name = 2;
  20146. if (has_method_name()) {
  20147. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20148. this->method_name().data(), this->method_name().length(),
  20149. ::google::protobuf::internal::WireFormat::SERIALIZE);
  20150. target =
  20151. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  20152. 2, this->method_name(), target);
  20153. }
  20154. // optional .CMsgGCRoutingInfo routing = 3;
  20155. if (has_routing()) {
  20156. target = ::google::protobuf::internal::WireFormatLite::
  20157. WriteMessageNoVirtualToArray(
  20158. 3, this->routing(), target);
  20159. }
  20160. if (!unknown_fields().empty()) {
  20161. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20162. unknown_fields(), target);
  20163. }
  20164. return target;
  20165. }
  20166. int CMsgGCMsgMasterSetWebAPIRouting_Entry::ByteSize() const {
  20167. int total_size = 0;
  20168. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20169. // optional string interface_name = 1;
  20170. if (has_interface_name()) {
  20171. total_size += 1 +
  20172. ::google::protobuf::internal::WireFormatLite::StringSize(
  20173. this->interface_name());
  20174. }
  20175. // optional string method_name = 2;
  20176. if (has_method_name()) {
  20177. total_size += 1 +
  20178. ::google::protobuf::internal::WireFormatLite::StringSize(
  20179. this->method_name());
  20180. }
  20181. // optional .CMsgGCRoutingInfo routing = 3;
  20182. if (has_routing()) {
  20183. total_size += 1 +
  20184. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  20185. this->routing());
  20186. }
  20187. }
  20188. if (!unknown_fields().empty()) {
  20189. total_size +=
  20190. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20191. unknown_fields());
  20192. }
  20193. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20194. _cached_size_ = total_size;
  20195. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20196. return total_size;
  20197. }
  20198. void CMsgGCMsgMasterSetWebAPIRouting_Entry::MergeFrom(const ::google::protobuf::Message& from) {
  20199. GOOGLE_CHECK_NE(&from, this);
  20200. const CMsgGCMsgMasterSetWebAPIRouting_Entry* source =
  20201. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgMasterSetWebAPIRouting_Entry*>(
  20202. &from);
  20203. if (source == NULL) {
  20204. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20205. } else {
  20206. MergeFrom(*source);
  20207. }
  20208. }
  20209. void CMsgGCMsgMasterSetWebAPIRouting_Entry::MergeFrom(const CMsgGCMsgMasterSetWebAPIRouting_Entry& from) {
  20210. GOOGLE_CHECK_NE(&from, this);
  20211. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20212. if (from.has_interface_name()) {
  20213. set_interface_name(from.interface_name());
  20214. }
  20215. if (from.has_method_name()) {
  20216. set_method_name(from.method_name());
  20217. }
  20218. if (from.has_routing()) {
  20219. mutable_routing()->::CMsgGCRoutingInfo::MergeFrom(from.routing());
  20220. }
  20221. }
  20222. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20223. }
  20224. void CMsgGCMsgMasterSetWebAPIRouting_Entry::CopyFrom(const ::google::protobuf::Message& from) {
  20225. if (&from == this) return;
  20226. Clear();
  20227. MergeFrom(from);
  20228. }
  20229. void CMsgGCMsgMasterSetWebAPIRouting_Entry::CopyFrom(const CMsgGCMsgMasterSetWebAPIRouting_Entry& from) {
  20230. if (&from == this) return;
  20231. Clear();
  20232. MergeFrom(from);
  20233. }
  20234. bool CMsgGCMsgMasterSetWebAPIRouting_Entry::IsInitialized() const {
  20235. return true;
  20236. }
  20237. void CMsgGCMsgMasterSetWebAPIRouting_Entry::Swap(CMsgGCMsgMasterSetWebAPIRouting_Entry* other) {
  20238. if (other != this) {
  20239. std::swap(interface_name_, other->interface_name_);
  20240. std::swap(method_name_, other->method_name_);
  20241. std::swap(routing_, other->routing_);
  20242. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20243. _unknown_fields_.Swap(&other->_unknown_fields_);
  20244. std::swap(_cached_size_, other->_cached_size_);
  20245. }
  20246. }
  20247. ::google::protobuf::Metadata CMsgGCMsgMasterSetWebAPIRouting_Entry::GetMetadata() const {
  20248. protobuf_AssignDescriptorsOnce();
  20249. ::google::protobuf::Metadata metadata;
  20250. metadata.descriptor = CMsgGCMsgMasterSetWebAPIRouting_Entry_descriptor_;
  20251. metadata.reflection = CMsgGCMsgMasterSetWebAPIRouting_Entry_reflection_;
  20252. return metadata;
  20253. }
  20254. // -------------------------------------------------------------------
  20255. #ifndef _MSC_VER
  20256. const int CMsgGCMsgMasterSetWebAPIRouting::kEntriesFieldNumber;
  20257. #endif // !_MSC_VER
  20258. CMsgGCMsgMasterSetWebAPIRouting::CMsgGCMsgMasterSetWebAPIRouting()
  20259. : ::google::protobuf::Message() {
  20260. SharedCtor();
  20261. }
  20262. void CMsgGCMsgMasterSetWebAPIRouting::InitAsDefaultInstance() {
  20263. }
  20264. CMsgGCMsgMasterSetWebAPIRouting::CMsgGCMsgMasterSetWebAPIRouting(const CMsgGCMsgMasterSetWebAPIRouting& from)
  20265. : ::google::protobuf::Message() {
  20266. SharedCtor();
  20267. MergeFrom(from);
  20268. }
  20269. void CMsgGCMsgMasterSetWebAPIRouting::SharedCtor() {
  20270. _cached_size_ = 0;
  20271. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20272. }
  20273. CMsgGCMsgMasterSetWebAPIRouting::~CMsgGCMsgMasterSetWebAPIRouting() {
  20274. SharedDtor();
  20275. }
  20276. void CMsgGCMsgMasterSetWebAPIRouting::SharedDtor() {
  20277. if (this != default_instance_) {
  20278. }
  20279. }
  20280. void CMsgGCMsgMasterSetWebAPIRouting::SetCachedSize(int size) const {
  20281. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20282. _cached_size_ = size;
  20283. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20284. }
  20285. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetWebAPIRouting::descriptor() {
  20286. protobuf_AssignDescriptorsOnce();
  20287. return CMsgGCMsgMasterSetWebAPIRouting_descriptor_;
  20288. }
  20289. const CMsgGCMsgMasterSetWebAPIRouting& CMsgGCMsgMasterSetWebAPIRouting::default_instance() {
  20290. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  20291. return *default_instance_;
  20292. }
  20293. CMsgGCMsgMasterSetWebAPIRouting* CMsgGCMsgMasterSetWebAPIRouting::default_instance_ = NULL;
  20294. CMsgGCMsgMasterSetWebAPIRouting* CMsgGCMsgMasterSetWebAPIRouting::New() const {
  20295. return new CMsgGCMsgMasterSetWebAPIRouting;
  20296. }
  20297. void CMsgGCMsgMasterSetWebAPIRouting::Clear() {
  20298. entries_.Clear();
  20299. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20300. mutable_unknown_fields()->Clear();
  20301. }
  20302. bool CMsgGCMsgMasterSetWebAPIRouting::MergePartialFromCodedStream(
  20303. ::google::protobuf::io::CodedInputStream* input) {
  20304. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20305. ::google::protobuf::uint32 tag;
  20306. while ((tag = input->ReadTag()) != 0) {
  20307. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20308. // repeated .CMsgGCMsgMasterSetWebAPIRouting.Entry entries = 1;
  20309. case 1: {
  20310. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20311. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  20312. parse_entries:
  20313. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  20314. input, add_entries()));
  20315. } else {
  20316. goto handle_uninterpreted;
  20317. }
  20318. if (input->ExpectTag(10)) goto parse_entries;
  20319. if (input->ExpectAtEnd()) return true;
  20320. break;
  20321. }
  20322. default: {
  20323. handle_uninterpreted:
  20324. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20325. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20326. return true;
  20327. }
  20328. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20329. input, tag, mutable_unknown_fields()));
  20330. break;
  20331. }
  20332. }
  20333. }
  20334. return true;
  20335. #undef DO_
  20336. }
  20337. void CMsgGCMsgMasterSetWebAPIRouting::SerializeWithCachedSizes(
  20338. ::google::protobuf::io::CodedOutputStream* output) const {
  20339. // repeated .CMsgGCMsgMasterSetWebAPIRouting.Entry entries = 1;
  20340. for (int i = 0; i < this->entries_size(); i++) {
  20341. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  20342. 1, this->entries(i), output);
  20343. }
  20344. if (!unknown_fields().empty()) {
  20345. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20346. unknown_fields(), output);
  20347. }
  20348. }
  20349. ::google::protobuf::uint8* CMsgGCMsgMasterSetWebAPIRouting::SerializeWithCachedSizesToArray(
  20350. ::google::protobuf::uint8* target) const {
  20351. // repeated .CMsgGCMsgMasterSetWebAPIRouting.Entry entries = 1;
  20352. for (int i = 0; i < this->entries_size(); i++) {
  20353. target = ::google::protobuf::internal::WireFormatLite::
  20354. WriteMessageNoVirtualToArray(
  20355. 1, this->entries(i), target);
  20356. }
  20357. if (!unknown_fields().empty()) {
  20358. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20359. unknown_fields(), target);
  20360. }
  20361. return target;
  20362. }
  20363. int CMsgGCMsgMasterSetWebAPIRouting::ByteSize() const {
  20364. int total_size = 0;
  20365. // repeated .CMsgGCMsgMasterSetWebAPIRouting.Entry entries = 1;
  20366. total_size += 1 * this->entries_size();
  20367. for (int i = 0; i < this->entries_size(); i++) {
  20368. total_size +=
  20369. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  20370. this->entries(i));
  20371. }
  20372. if (!unknown_fields().empty()) {
  20373. total_size +=
  20374. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20375. unknown_fields());
  20376. }
  20377. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20378. _cached_size_ = total_size;
  20379. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20380. return total_size;
  20381. }
  20382. void CMsgGCMsgMasterSetWebAPIRouting::MergeFrom(const ::google::protobuf::Message& from) {
  20383. GOOGLE_CHECK_NE(&from, this);
  20384. const CMsgGCMsgMasterSetWebAPIRouting* source =
  20385. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgMasterSetWebAPIRouting*>(
  20386. &from);
  20387. if (source == NULL) {
  20388. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20389. } else {
  20390. MergeFrom(*source);
  20391. }
  20392. }
  20393. void CMsgGCMsgMasterSetWebAPIRouting::MergeFrom(const CMsgGCMsgMasterSetWebAPIRouting& from) {
  20394. GOOGLE_CHECK_NE(&from, this);
  20395. entries_.MergeFrom(from.entries_);
  20396. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20397. }
  20398. void CMsgGCMsgMasterSetWebAPIRouting::CopyFrom(const ::google::protobuf::Message& from) {
  20399. if (&from == this) return;
  20400. Clear();
  20401. MergeFrom(from);
  20402. }
  20403. void CMsgGCMsgMasterSetWebAPIRouting::CopyFrom(const CMsgGCMsgMasterSetWebAPIRouting& from) {
  20404. if (&from == this) return;
  20405. Clear();
  20406. MergeFrom(from);
  20407. }
  20408. bool CMsgGCMsgMasterSetWebAPIRouting::IsInitialized() const {
  20409. return true;
  20410. }
  20411. void CMsgGCMsgMasterSetWebAPIRouting::Swap(CMsgGCMsgMasterSetWebAPIRouting* other) {
  20412. if (other != this) {
  20413. entries_.Swap(&other->entries_);
  20414. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20415. _unknown_fields_.Swap(&other->_unknown_fields_);
  20416. std::swap(_cached_size_, other->_cached_size_);
  20417. }
  20418. }
  20419. ::google::protobuf::Metadata CMsgGCMsgMasterSetWebAPIRouting::GetMetadata() const {
  20420. protobuf_AssignDescriptorsOnce();
  20421. ::google::protobuf::Metadata metadata;
  20422. metadata.descriptor = CMsgGCMsgMasterSetWebAPIRouting_descriptor_;
  20423. metadata.reflection = CMsgGCMsgMasterSetWebAPIRouting_reflection_;
  20424. return metadata;
  20425. }
  20426. // ===================================================================
  20427. #ifndef _MSC_VER
  20428. const int CMsgGCMsgMasterSetClientMsgRouting_Entry::kMsgTypeFieldNumber;
  20429. const int CMsgGCMsgMasterSetClientMsgRouting_Entry::kRoutingFieldNumber;
  20430. #endif // !_MSC_VER
  20431. CMsgGCMsgMasterSetClientMsgRouting_Entry::CMsgGCMsgMasterSetClientMsgRouting_Entry()
  20432. : ::google::protobuf::Message() {
  20433. SharedCtor();
  20434. }
  20435. void CMsgGCMsgMasterSetClientMsgRouting_Entry::InitAsDefaultInstance() {
  20436. routing_ = const_cast< ::CMsgGCRoutingInfo*>(&::CMsgGCRoutingInfo::default_instance());
  20437. }
  20438. CMsgGCMsgMasterSetClientMsgRouting_Entry::CMsgGCMsgMasterSetClientMsgRouting_Entry(const CMsgGCMsgMasterSetClientMsgRouting_Entry& from)
  20439. : ::google::protobuf::Message() {
  20440. SharedCtor();
  20441. MergeFrom(from);
  20442. }
  20443. void CMsgGCMsgMasterSetClientMsgRouting_Entry::SharedCtor() {
  20444. _cached_size_ = 0;
  20445. msg_type_ = 0u;
  20446. routing_ = NULL;
  20447. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20448. }
  20449. CMsgGCMsgMasterSetClientMsgRouting_Entry::~CMsgGCMsgMasterSetClientMsgRouting_Entry() {
  20450. SharedDtor();
  20451. }
  20452. void CMsgGCMsgMasterSetClientMsgRouting_Entry::SharedDtor() {
  20453. if (this != default_instance_) {
  20454. delete routing_;
  20455. }
  20456. }
  20457. void CMsgGCMsgMasterSetClientMsgRouting_Entry::SetCachedSize(int size) const {
  20458. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20459. _cached_size_ = size;
  20460. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20461. }
  20462. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetClientMsgRouting_Entry::descriptor() {
  20463. protobuf_AssignDescriptorsOnce();
  20464. return CMsgGCMsgMasterSetClientMsgRouting_Entry_descriptor_;
  20465. }
  20466. const CMsgGCMsgMasterSetClientMsgRouting_Entry& CMsgGCMsgMasterSetClientMsgRouting_Entry::default_instance() {
  20467. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  20468. return *default_instance_;
  20469. }
  20470. CMsgGCMsgMasterSetClientMsgRouting_Entry* CMsgGCMsgMasterSetClientMsgRouting_Entry::default_instance_ = NULL;
  20471. CMsgGCMsgMasterSetClientMsgRouting_Entry* CMsgGCMsgMasterSetClientMsgRouting_Entry::New() const {
  20472. return new CMsgGCMsgMasterSetClientMsgRouting_Entry;
  20473. }
  20474. void CMsgGCMsgMasterSetClientMsgRouting_Entry::Clear() {
  20475. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20476. msg_type_ = 0u;
  20477. if (has_routing()) {
  20478. if (routing_ != NULL) routing_->::CMsgGCRoutingInfo::Clear();
  20479. }
  20480. }
  20481. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20482. mutable_unknown_fields()->Clear();
  20483. }
  20484. bool CMsgGCMsgMasterSetClientMsgRouting_Entry::MergePartialFromCodedStream(
  20485. ::google::protobuf::io::CodedInputStream* input) {
  20486. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20487. ::google::protobuf::uint32 tag;
  20488. while ((tag = input->ReadTag()) != 0) {
  20489. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20490. // optional uint32 msg_type = 1;
  20491. case 1: {
  20492. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20493. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20494. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20495. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  20496. input, &msg_type_)));
  20497. set_has_msg_type();
  20498. } else {
  20499. goto handle_uninterpreted;
  20500. }
  20501. if (input->ExpectTag(18)) goto parse_routing;
  20502. break;
  20503. }
  20504. // optional .CMsgGCRoutingInfo routing = 2;
  20505. case 2: {
  20506. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20507. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  20508. parse_routing:
  20509. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  20510. input, mutable_routing()));
  20511. } else {
  20512. goto handle_uninterpreted;
  20513. }
  20514. if (input->ExpectAtEnd()) return true;
  20515. break;
  20516. }
  20517. default: {
  20518. handle_uninterpreted:
  20519. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20520. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20521. return true;
  20522. }
  20523. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20524. input, tag, mutable_unknown_fields()));
  20525. break;
  20526. }
  20527. }
  20528. }
  20529. return true;
  20530. #undef DO_
  20531. }
  20532. void CMsgGCMsgMasterSetClientMsgRouting_Entry::SerializeWithCachedSizes(
  20533. ::google::protobuf::io::CodedOutputStream* output) const {
  20534. // optional uint32 msg_type = 1;
  20535. if (has_msg_type()) {
  20536. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->msg_type(), output);
  20537. }
  20538. // optional .CMsgGCRoutingInfo routing = 2;
  20539. if (has_routing()) {
  20540. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  20541. 2, this->routing(), output);
  20542. }
  20543. if (!unknown_fields().empty()) {
  20544. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20545. unknown_fields(), output);
  20546. }
  20547. }
  20548. ::google::protobuf::uint8* CMsgGCMsgMasterSetClientMsgRouting_Entry::SerializeWithCachedSizesToArray(
  20549. ::google::protobuf::uint8* target) const {
  20550. // optional uint32 msg_type = 1;
  20551. if (has_msg_type()) {
  20552. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->msg_type(), target);
  20553. }
  20554. // optional .CMsgGCRoutingInfo routing = 2;
  20555. if (has_routing()) {
  20556. target = ::google::protobuf::internal::WireFormatLite::
  20557. WriteMessageNoVirtualToArray(
  20558. 2, this->routing(), target);
  20559. }
  20560. if (!unknown_fields().empty()) {
  20561. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20562. unknown_fields(), target);
  20563. }
  20564. return target;
  20565. }
  20566. int CMsgGCMsgMasterSetClientMsgRouting_Entry::ByteSize() const {
  20567. int total_size = 0;
  20568. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20569. // optional uint32 msg_type = 1;
  20570. if (has_msg_type()) {
  20571. total_size += 1 +
  20572. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  20573. this->msg_type());
  20574. }
  20575. // optional .CMsgGCRoutingInfo routing = 2;
  20576. if (has_routing()) {
  20577. total_size += 1 +
  20578. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  20579. this->routing());
  20580. }
  20581. }
  20582. if (!unknown_fields().empty()) {
  20583. total_size +=
  20584. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20585. unknown_fields());
  20586. }
  20587. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20588. _cached_size_ = total_size;
  20589. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20590. return total_size;
  20591. }
  20592. void CMsgGCMsgMasterSetClientMsgRouting_Entry::MergeFrom(const ::google::protobuf::Message& from) {
  20593. GOOGLE_CHECK_NE(&from, this);
  20594. const CMsgGCMsgMasterSetClientMsgRouting_Entry* source =
  20595. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgMasterSetClientMsgRouting_Entry*>(
  20596. &from);
  20597. if (source == NULL) {
  20598. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20599. } else {
  20600. MergeFrom(*source);
  20601. }
  20602. }
  20603. void CMsgGCMsgMasterSetClientMsgRouting_Entry::MergeFrom(const CMsgGCMsgMasterSetClientMsgRouting_Entry& from) {
  20604. GOOGLE_CHECK_NE(&from, this);
  20605. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20606. if (from.has_msg_type()) {
  20607. set_msg_type(from.msg_type());
  20608. }
  20609. if (from.has_routing()) {
  20610. mutable_routing()->::CMsgGCRoutingInfo::MergeFrom(from.routing());
  20611. }
  20612. }
  20613. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20614. }
  20615. void CMsgGCMsgMasterSetClientMsgRouting_Entry::CopyFrom(const ::google::protobuf::Message& from) {
  20616. if (&from == this) return;
  20617. Clear();
  20618. MergeFrom(from);
  20619. }
  20620. void CMsgGCMsgMasterSetClientMsgRouting_Entry::CopyFrom(const CMsgGCMsgMasterSetClientMsgRouting_Entry& from) {
  20621. if (&from == this) return;
  20622. Clear();
  20623. MergeFrom(from);
  20624. }
  20625. bool CMsgGCMsgMasterSetClientMsgRouting_Entry::IsInitialized() const {
  20626. return true;
  20627. }
  20628. void CMsgGCMsgMasterSetClientMsgRouting_Entry::Swap(CMsgGCMsgMasterSetClientMsgRouting_Entry* other) {
  20629. if (other != this) {
  20630. std::swap(msg_type_, other->msg_type_);
  20631. std::swap(routing_, other->routing_);
  20632. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20633. _unknown_fields_.Swap(&other->_unknown_fields_);
  20634. std::swap(_cached_size_, other->_cached_size_);
  20635. }
  20636. }
  20637. ::google::protobuf::Metadata CMsgGCMsgMasterSetClientMsgRouting_Entry::GetMetadata() const {
  20638. protobuf_AssignDescriptorsOnce();
  20639. ::google::protobuf::Metadata metadata;
  20640. metadata.descriptor = CMsgGCMsgMasterSetClientMsgRouting_Entry_descriptor_;
  20641. metadata.reflection = CMsgGCMsgMasterSetClientMsgRouting_Entry_reflection_;
  20642. return metadata;
  20643. }
  20644. // -------------------------------------------------------------------
  20645. #ifndef _MSC_VER
  20646. const int CMsgGCMsgMasterSetClientMsgRouting::kEntriesFieldNumber;
  20647. #endif // !_MSC_VER
  20648. CMsgGCMsgMasterSetClientMsgRouting::CMsgGCMsgMasterSetClientMsgRouting()
  20649. : ::google::protobuf::Message() {
  20650. SharedCtor();
  20651. }
  20652. void CMsgGCMsgMasterSetClientMsgRouting::InitAsDefaultInstance() {
  20653. }
  20654. CMsgGCMsgMasterSetClientMsgRouting::CMsgGCMsgMasterSetClientMsgRouting(const CMsgGCMsgMasterSetClientMsgRouting& from)
  20655. : ::google::protobuf::Message() {
  20656. SharedCtor();
  20657. MergeFrom(from);
  20658. }
  20659. void CMsgGCMsgMasterSetClientMsgRouting::SharedCtor() {
  20660. _cached_size_ = 0;
  20661. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20662. }
  20663. CMsgGCMsgMasterSetClientMsgRouting::~CMsgGCMsgMasterSetClientMsgRouting() {
  20664. SharedDtor();
  20665. }
  20666. void CMsgGCMsgMasterSetClientMsgRouting::SharedDtor() {
  20667. if (this != default_instance_) {
  20668. }
  20669. }
  20670. void CMsgGCMsgMasterSetClientMsgRouting::SetCachedSize(int size) const {
  20671. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20672. _cached_size_ = size;
  20673. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20674. }
  20675. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetClientMsgRouting::descriptor() {
  20676. protobuf_AssignDescriptorsOnce();
  20677. return CMsgGCMsgMasterSetClientMsgRouting_descriptor_;
  20678. }
  20679. const CMsgGCMsgMasterSetClientMsgRouting& CMsgGCMsgMasterSetClientMsgRouting::default_instance() {
  20680. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  20681. return *default_instance_;
  20682. }
  20683. CMsgGCMsgMasterSetClientMsgRouting* CMsgGCMsgMasterSetClientMsgRouting::default_instance_ = NULL;
  20684. CMsgGCMsgMasterSetClientMsgRouting* CMsgGCMsgMasterSetClientMsgRouting::New() const {
  20685. return new CMsgGCMsgMasterSetClientMsgRouting;
  20686. }
  20687. void CMsgGCMsgMasterSetClientMsgRouting::Clear() {
  20688. entries_.Clear();
  20689. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20690. mutable_unknown_fields()->Clear();
  20691. }
  20692. bool CMsgGCMsgMasterSetClientMsgRouting::MergePartialFromCodedStream(
  20693. ::google::protobuf::io::CodedInputStream* input) {
  20694. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20695. ::google::protobuf::uint32 tag;
  20696. while ((tag = input->ReadTag()) != 0) {
  20697. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20698. // repeated .CMsgGCMsgMasterSetClientMsgRouting.Entry entries = 1;
  20699. case 1: {
  20700. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20701. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  20702. parse_entries:
  20703. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  20704. input, add_entries()));
  20705. } else {
  20706. goto handle_uninterpreted;
  20707. }
  20708. if (input->ExpectTag(10)) goto parse_entries;
  20709. if (input->ExpectAtEnd()) return true;
  20710. break;
  20711. }
  20712. default: {
  20713. handle_uninterpreted:
  20714. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20715. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20716. return true;
  20717. }
  20718. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20719. input, tag, mutable_unknown_fields()));
  20720. break;
  20721. }
  20722. }
  20723. }
  20724. return true;
  20725. #undef DO_
  20726. }
  20727. void CMsgGCMsgMasterSetClientMsgRouting::SerializeWithCachedSizes(
  20728. ::google::protobuf::io::CodedOutputStream* output) const {
  20729. // repeated .CMsgGCMsgMasterSetClientMsgRouting.Entry entries = 1;
  20730. for (int i = 0; i < this->entries_size(); i++) {
  20731. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  20732. 1, this->entries(i), output);
  20733. }
  20734. if (!unknown_fields().empty()) {
  20735. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20736. unknown_fields(), output);
  20737. }
  20738. }
  20739. ::google::protobuf::uint8* CMsgGCMsgMasterSetClientMsgRouting::SerializeWithCachedSizesToArray(
  20740. ::google::protobuf::uint8* target) const {
  20741. // repeated .CMsgGCMsgMasterSetClientMsgRouting.Entry entries = 1;
  20742. for (int i = 0; i < this->entries_size(); i++) {
  20743. target = ::google::protobuf::internal::WireFormatLite::
  20744. WriteMessageNoVirtualToArray(
  20745. 1, this->entries(i), target);
  20746. }
  20747. if (!unknown_fields().empty()) {
  20748. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20749. unknown_fields(), target);
  20750. }
  20751. return target;
  20752. }
  20753. int CMsgGCMsgMasterSetClientMsgRouting::ByteSize() const {
  20754. int total_size = 0;
  20755. // repeated .CMsgGCMsgMasterSetClientMsgRouting.Entry entries = 1;
  20756. total_size += 1 * this->entries_size();
  20757. for (int i = 0; i < this->entries_size(); i++) {
  20758. total_size +=
  20759. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  20760. this->entries(i));
  20761. }
  20762. if (!unknown_fields().empty()) {
  20763. total_size +=
  20764. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20765. unknown_fields());
  20766. }
  20767. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20768. _cached_size_ = total_size;
  20769. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20770. return total_size;
  20771. }
  20772. void CMsgGCMsgMasterSetClientMsgRouting::MergeFrom(const ::google::protobuf::Message& from) {
  20773. GOOGLE_CHECK_NE(&from, this);
  20774. const CMsgGCMsgMasterSetClientMsgRouting* source =
  20775. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgMasterSetClientMsgRouting*>(
  20776. &from);
  20777. if (source == NULL) {
  20778. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20779. } else {
  20780. MergeFrom(*source);
  20781. }
  20782. }
  20783. void CMsgGCMsgMasterSetClientMsgRouting::MergeFrom(const CMsgGCMsgMasterSetClientMsgRouting& from) {
  20784. GOOGLE_CHECK_NE(&from, this);
  20785. entries_.MergeFrom(from.entries_);
  20786. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20787. }
  20788. void CMsgGCMsgMasterSetClientMsgRouting::CopyFrom(const ::google::protobuf::Message& from) {
  20789. if (&from == this) return;
  20790. Clear();
  20791. MergeFrom(from);
  20792. }
  20793. void CMsgGCMsgMasterSetClientMsgRouting::CopyFrom(const CMsgGCMsgMasterSetClientMsgRouting& from) {
  20794. if (&from == this) return;
  20795. Clear();
  20796. MergeFrom(from);
  20797. }
  20798. bool CMsgGCMsgMasterSetClientMsgRouting::IsInitialized() const {
  20799. return true;
  20800. }
  20801. void CMsgGCMsgMasterSetClientMsgRouting::Swap(CMsgGCMsgMasterSetClientMsgRouting* other) {
  20802. if (other != this) {
  20803. entries_.Swap(&other->entries_);
  20804. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20805. _unknown_fields_.Swap(&other->_unknown_fields_);
  20806. std::swap(_cached_size_, other->_cached_size_);
  20807. }
  20808. }
  20809. ::google::protobuf::Metadata CMsgGCMsgMasterSetClientMsgRouting::GetMetadata() const {
  20810. protobuf_AssignDescriptorsOnce();
  20811. ::google::protobuf::Metadata metadata;
  20812. metadata.descriptor = CMsgGCMsgMasterSetClientMsgRouting_descriptor_;
  20813. metadata.reflection = CMsgGCMsgMasterSetClientMsgRouting_reflection_;
  20814. return metadata;
  20815. }
  20816. // ===================================================================
  20817. #ifndef _MSC_VER
  20818. const int CMsgGCMsgMasterSetWebAPIRouting_Response::kEresultFieldNumber;
  20819. #endif // !_MSC_VER
  20820. CMsgGCMsgMasterSetWebAPIRouting_Response::CMsgGCMsgMasterSetWebAPIRouting_Response()
  20821. : ::google::protobuf::Message() {
  20822. SharedCtor();
  20823. }
  20824. void CMsgGCMsgMasterSetWebAPIRouting_Response::InitAsDefaultInstance() {
  20825. }
  20826. CMsgGCMsgMasterSetWebAPIRouting_Response::CMsgGCMsgMasterSetWebAPIRouting_Response(const CMsgGCMsgMasterSetWebAPIRouting_Response& from)
  20827. : ::google::protobuf::Message() {
  20828. SharedCtor();
  20829. MergeFrom(from);
  20830. }
  20831. void CMsgGCMsgMasterSetWebAPIRouting_Response::SharedCtor() {
  20832. _cached_size_ = 0;
  20833. eresult_ = 2;
  20834. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20835. }
  20836. CMsgGCMsgMasterSetWebAPIRouting_Response::~CMsgGCMsgMasterSetWebAPIRouting_Response() {
  20837. SharedDtor();
  20838. }
  20839. void CMsgGCMsgMasterSetWebAPIRouting_Response::SharedDtor() {
  20840. if (this != default_instance_) {
  20841. }
  20842. }
  20843. void CMsgGCMsgMasterSetWebAPIRouting_Response::SetCachedSize(int size) const {
  20844. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20845. _cached_size_ = size;
  20846. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20847. }
  20848. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetWebAPIRouting_Response::descriptor() {
  20849. protobuf_AssignDescriptorsOnce();
  20850. return CMsgGCMsgMasterSetWebAPIRouting_Response_descriptor_;
  20851. }
  20852. const CMsgGCMsgMasterSetWebAPIRouting_Response& CMsgGCMsgMasterSetWebAPIRouting_Response::default_instance() {
  20853. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  20854. return *default_instance_;
  20855. }
  20856. CMsgGCMsgMasterSetWebAPIRouting_Response* CMsgGCMsgMasterSetWebAPIRouting_Response::default_instance_ = NULL;
  20857. CMsgGCMsgMasterSetWebAPIRouting_Response* CMsgGCMsgMasterSetWebAPIRouting_Response::New() const {
  20858. return new CMsgGCMsgMasterSetWebAPIRouting_Response;
  20859. }
  20860. void CMsgGCMsgMasterSetWebAPIRouting_Response::Clear() {
  20861. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20862. eresult_ = 2;
  20863. }
  20864. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20865. mutable_unknown_fields()->Clear();
  20866. }
  20867. bool CMsgGCMsgMasterSetWebAPIRouting_Response::MergePartialFromCodedStream(
  20868. ::google::protobuf::io::CodedInputStream* input) {
  20869. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20870. ::google::protobuf::uint32 tag;
  20871. while ((tag = input->ReadTag()) != 0) {
  20872. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20873. // optional int32 eresult = 1 [default = 2];
  20874. case 1: {
  20875. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20876. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20877. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20878. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20879. input, &eresult_)));
  20880. set_has_eresult();
  20881. } else {
  20882. goto handle_uninterpreted;
  20883. }
  20884. if (input->ExpectAtEnd()) return true;
  20885. break;
  20886. }
  20887. default: {
  20888. handle_uninterpreted:
  20889. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20890. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20891. return true;
  20892. }
  20893. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20894. input, tag, mutable_unknown_fields()));
  20895. break;
  20896. }
  20897. }
  20898. }
  20899. return true;
  20900. #undef DO_
  20901. }
  20902. void CMsgGCMsgMasterSetWebAPIRouting_Response::SerializeWithCachedSizes(
  20903. ::google::protobuf::io::CodedOutputStream* output) const {
  20904. // optional int32 eresult = 1 [default = 2];
  20905. if (has_eresult()) {
  20906. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->eresult(), output);
  20907. }
  20908. if (!unknown_fields().empty()) {
  20909. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20910. unknown_fields(), output);
  20911. }
  20912. }
  20913. ::google::protobuf::uint8* CMsgGCMsgMasterSetWebAPIRouting_Response::SerializeWithCachedSizesToArray(
  20914. ::google::protobuf::uint8* target) const {
  20915. // optional int32 eresult = 1 [default = 2];
  20916. if (has_eresult()) {
  20917. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->eresult(), target);
  20918. }
  20919. if (!unknown_fields().empty()) {
  20920. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20921. unknown_fields(), target);
  20922. }
  20923. return target;
  20924. }
  20925. int CMsgGCMsgMasterSetWebAPIRouting_Response::ByteSize() const {
  20926. int total_size = 0;
  20927. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20928. // optional int32 eresult = 1 [default = 2];
  20929. if (has_eresult()) {
  20930. total_size += 1 +
  20931. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20932. this->eresult());
  20933. }
  20934. }
  20935. if (!unknown_fields().empty()) {
  20936. total_size +=
  20937. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20938. unknown_fields());
  20939. }
  20940. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20941. _cached_size_ = total_size;
  20942. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20943. return total_size;
  20944. }
  20945. void CMsgGCMsgMasterSetWebAPIRouting_Response::MergeFrom(const ::google::protobuf::Message& from) {
  20946. GOOGLE_CHECK_NE(&from, this);
  20947. const CMsgGCMsgMasterSetWebAPIRouting_Response* source =
  20948. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgMasterSetWebAPIRouting_Response*>(
  20949. &from);
  20950. if (source == NULL) {
  20951. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20952. } else {
  20953. MergeFrom(*source);
  20954. }
  20955. }
  20956. void CMsgGCMsgMasterSetWebAPIRouting_Response::MergeFrom(const CMsgGCMsgMasterSetWebAPIRouting_Response& from) {
  20957. GOOGLE_CHECK_NE(&from, this);
  20958. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20959. if (from.has_eresult()) {
  20960. set_eresult(from.eresult());
  20961. }
  20962. }
  20963. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20964. }
  20965. void CMsgGCMsgMasterSetWebAPIRouting_Response::CopyFrom(const ::google::protobuf::Message& from) {
  20966. if (&from == this) return;
  20967. Clear();
  20968. MergeFrom(from);
  20969. }
  20970. void CMsgGCMsgMasterSetWebAPIRouting_Response::CopyFrom(const CMsgGCMsgMasterSetWebAPIRouting_Response& from) {
  20971. if (&from == this) return;
  20972. Clear();
  20973. MergeFrom(from);
  20974. }
  20975. bool CMsgGCMsgMasterSetWebAPIRouting_Response::IsInitialized() const {
  20976. return true;
  20977. }
  20978. void CMsgGCMsgMasterSetWebAPIRouting_Response::Swap(CMsgGCMsgMasterSetWebAPIRouting_Response* other) {
  20979. if (other != this) {
  20980. std::swap(eresult_, other->eresult_);
  20981. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20982. _unknown_fields_.Swap(&other->_unknown_fields_);
  20983. std::swap(_cached_size_, other->_cached_size_);
  20984. }
  20985. }
  20986. ::google::protobuf::Metadata CMsgGCMsgMasterSetWebAPIRouting_Response::GetMetadata() const {
  20987. protobuf_AssignDescriptorsOnce();
  20988. ::google::protobuf::Metadata metadata;
  20989. metadata.descriptor = CMsgGCMsgMasterSetWebAPIRouting_Response_descriptor_;
  20990. metadata.reflection = CMsgGCMsgMasterSetWebAPIRouting_Response_reflection_;
  20991. return metadata;
  20992. }
  20993. // ===================================================================
  20994. #ifndef _MSC_VER
  20995. const int CMsgGCMsgMasterSetClientMsgRouting_Response::kEresultFieldNumber;
  20996. #endif // !_MSC_VER
  20997. CMsgGCMsgMasterSetClientMsgRouting_Response::CMsgGCMsgMasterSetClientMsgRouting_Response()
  20998. : ::google::protobuf::Message() {
  20999. SharedCtor();
  21000. }
  21001. void CMsgGCMsgMasterSetClientMsgRouting_Response::InitAsDefaultInstance() {
  21002. }
  21003. CMsgGCMsgMasterSetClientMsgRouting_Response::CMsgGCMsgMasterSetClientMsgRouting_Response(const CMsgGCMsgMasterSetClientMsgRouting_Response& from)
  21004. : ::google::protobuf::Message() {
  21005. SharedCtor();
  21006. MergeFrom(from);
  21007. }
  21008. void CMsgGCMsgMasterSetClientMsgRouting_Response::SharedCtor() {
  21009. _cached_size_ = 0;
  21010. eresult_ = 2;
  21011. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21012. }
  21013. CMsgGCMsgMasterSetClientMsgRouting_Response::~CMsgGCMsgMasterSetClientMsgRouting_Response() {
  21014. SharedDtor();
  21015. }
  21016. void CMsgGCMsgMasterSetClientMsgRouting_Response::SharedDtor() {
  21017. if (this != default_instance_) {
  21018. }
  21019. }
  21020. void CMsgGCMsgMasterSetClientMsgRouting_Response::SetCachedSize(int size) const {
  21021. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21022. _cached_size_ = size;
  21023. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21024. }
  21025. const ::google::protobuf::Descriptor* CMsgGCMsgMasterSetClientMsgRouting_Response::descriptor() {
  21026. protobuf_AssignDescriptorsOnce();
  21027. return CMsgGCMsgMasterSetClientMsgRouting_Response_descriptor_;
  21028. }
  21029. const CMsgGCMsgMasterSetClientMsgRouting_Response& CMsgGCMsgMasterSetClientMsgRouting_Response::default_instance() {
  21030. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  21031. return *default_instance_;
  21032. }
  21033. CMsgGCMsgMasterSetClientMsgRouting_Response* CMsgGCMsgMasterSetClientMsgRouting_Response::default_instance_ = NULL;
  21034. CMsgGCMsgMasterSetClientMsgRouting_Response* CMsgGCMsgMasterSetClientMsgRouting_Response::New() const {
  21035. return new CMsgGCMsgMasterSetClientMsgRouting_Response;
  21036. }
  21037. void CMsgGCMsgMasterSetClientMsgRouting_Response::Clear() {
  21038. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21039. eresult_ = 2;
  21040. }
  21041. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21042. mutable_unknown_fields()->Clear();
  21043. }
  21044. bool CMsgGCMsgMasterSetClientMsgRouting_Response::MergePartialFromCodedStream(
  21045. ::google::protobuf::io::CodedInputStream* input) {
  21046. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21047. ::google::protobuf::uint32 tag;
  21048. while ((tag = input->ReadTag()) != 0) {
  21049. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21050. // optional int32 eresult = 1 [default = 2];
  21051. case 1: {
  21052. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21053. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21054. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21055. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21056. input, &eresult_)));
  21057. set_has_eresult();
  21058. } else {
  21059. goto handle_uninterpreted;
  21060. }
  21061. if (input->ExpectAtEnd()) return true;
  21062. break;
  21063. }
  21064. default: {
  21065. handle_uninterpreted:
  21066. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21067. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21068. return true;
  21069. }
  21070. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21071. input, tag, mutable_unknown_fields()));
  21072. break;
  21073. }
  21074. }
  21075. }
  21076. return true;
  21077. #undef DO_
  21078. }
  21079. void CMsgGCMsgMasterSetClientMsgRouting_Response::SerializeWithCachedSizes(
  21080. ::google::protobuf::io::CodedOutputStream* output) const {
  21081. // optional int32 eresult = 1 [default = 2];
  21082. if (has_eresult()) {
  21083. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->eresult(), output);
  21084. }
  21085. if (!unknown_fields().empty()) {
  21086. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21087. unknown_fields(), output);
  21088. }
  21089. }
  21090. ::google::protobuf::uint8* CMsgGCMsgMasterSetClientMsgRouting_Response::SerializeWithCachedSizesToArray(
  21091. ::google::protobuf::uint8* target) const {
  21092. // optional int32 eresult = 1 [default = 2];
  21093. if (has_eresult()) {
  21094. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->eresult(), target);
  21095. }
  21096. if (!unknown_fields().empty()) {
  21097. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21098. unknown_fields(), target);
  21099. }
  21100. return target;
  21101. }
  21102. int CMsgGCMsgMasterSetClientMsgRouting_Response::ByteSize() const {
  21103. int total_size = 0;
  21104. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21105. // optional int32 eresult = 1 [default = 2];
  21106. if (has_eresult()) {
  21107. total_size += 1 +
  21108. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21109. this->eresult());
  21110. }
  21111. }
  21112. if (!unknown_fields().empty()) {
  21113. total_size +=
  21114. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21115. unknown_fields());
  21116. }
  21117. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21118. _cached_size_ = total_size;
  21119. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21120. return total_size;
  21121. }
  21122. void CMsgGCMsgMasterSetClientMsgRouting_Response::MergeFrom(const ::google::protobuf::Message& from) {
  21123. GOOGLE_CHECK_NE(&from, this);
  21124. const CMsgGCMsgMasterSetClientMsgRouting_Response* source =
  21125. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgMasterSetClientMsgRouting_Response*>(
  21126. &from);
  21127. if (source == NULL) {
  21128. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21129. } else {
  21130. MergeFrom(*source);
  21131. }
  21132. }
  21133. void CMsgGCMsgMasterSetClientMsgRouting_Response::MergeFrom(const CMsgGCMsgMasterSetClientMsgRouting_Response& from) {
  21134. GOOGLE_CHECK_NE(&from, this);
  21135. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21136. if (from.has_eresult()) {
  21137. set_eresult(from.eresult());
  21138. }
  21139. }
  21140. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21141. }
  21142. void CMsgGCMsgMasterSetClientMsgRouting_Response::CopyFrom(const ::google::protobuf::Message& from) {
  21143. if (&from == this) return;
  21144. Clear();
  21145. MergeFrom(from);
  21146. }
  21147. void CMsgGCMsgMasterSetClientMsgRouting_Response::CopyFrom(const CMsgGCMsgMasterSetClientMsgRouting_Response& from) {
  21148. if (&from == this) return;
  21149. Clear();
  21150. MergeFrom(from);
  21151. }
  21152. bool CMsgGCMsgMasterSetClientMsgRouting_Response::IsInitialized() const {
  21153. return true;
  21154. }
  21155. void CMsgGCMsgMasterSetClientMsgRouting_Response::Swap(CMsgGCMsgMasterSetClientMsgRouting_Response* other) {
  21156. if (other != this) {
  21157. std::swap(eresult_, other->eresult_);
  21158. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21159. _unknown_fields_.Swap(&other->_unknown_fields_);
  21160. std::swap(_cached_size_, other->_cached_size_);
  21161. }
  21162. }
  21163. ::google::protobuf::Metadata CMsgGCMsgMasterSetClientMsgRouting_Response::GetMetadata() const {
  21164. protobuf_AssignDescriptorsOnce();
  21165. ::google::protobuf::Metadata metadata;
  21166. metadata.descriptor = CMsgGCMsgMasterSetClientMsgRouting_Response_descriptor_;
  21167. metadata.reflection = CMsgGCMsgMasterSetClientMsgRouting_Response_reflection_;
  21168. return metadata;
  21169. }
  21170. // ===================================================================
  21171. const ::google::protobuf::EnumDescriptor* CMsgGCMsgSetOptions_Option_descriptor() {
  21172. protobuf_AssignDescriptorsOnce();
  21173. return CMsgGCMsgSetOptions_Option_descriptor_;
  21174. }
  21175. bool CMsgGCMsgSetOptions_Option_IsValid(int value) {
  21176. switch(value) {
  21177. case 0:
  21178. case 1:
  21179. case 2:
  21180. case 3:
  21181. return true;
  21182. default:
  21183. return false;
  21184. }
  21185. }
  21186. #ifndef _MSC_VER
  21187. const CMsgGCMsgSetOptions_Option CMsgGCMsgSetOptions::NOTIFY_USER_SESSIONS;
  21188. const CMsgGCMsgSetOptions_Option CMsgGCMsgSetOptions::NOTIFY_SERVER_SESSIONS;
  21189. const CMsgGCMsgSetOptions_Option CMsgGCMsgSetOptions::NOTIFY_ACHIEVEMENTS;
  21190. const CMsgGCMsgSetOptions_Option CMsgGCMsgSetOptions::NOTIFY_VAC_ACTION;
  21191. const CMsgGCMsgSetOptions_Option CMsgGCMsgSetOptions::Option_MIN;
  21192. const CMsgGCMsgSetOptions_Option CMsgGCMsgSetOptions::Option_MAX;
  21193. const int CMsgGCMsgSetOptions::Option_ARRAYSIZE;
  21194. #endif // _MSC_VER
  21195. #ifndef _MSC_VER
  21196. const int CMsgGCMsgSetOptions_MessageRange::kLowFieldNumber;
  21197. const int CMsgGCMsgSetOptions_MessageRange::kHighFieldNumber;
  21198. #endif // !_MSC_VER
  21199. CMsgGCMsgSetOptions_MessageRange::CMsgGCMsgSetOptions_MessageRange()
  21200. : ::google::protobuf::Message() {
  21201. SharedCtor();
  21202. }
  21203. void CMsgGCMsgSetOptions_MessageRange::InitAsDefaultInstance() {
  21204. }
  21205. CMsgGCMsgSetOptions_MessageRange::CMsgGCMsgSetOptions_MessageRange(const CMsgGCMsgSetOptions_MessageRange& from)
  21206. : ::google::protobuf::Message() {
  21207. SharedCtor();
  21208. MergeFrom(from);
  21209. }
  21210. void CMsgGCMsgSetOptions_MessageRange::SharedCtor() {
  21211. _cached_size_ = 0;
  21212. low_ = 0u;
  21213. high_ = 0u;
  21214. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21215. }
  21216. CMsgGCMsgSetOptions_MessageRange::~CMsgGCMsgSetOptions_MessageRange() {
  21217. SharedDtor();
  21218. }
  21219. void CMsgGCMsgSetOptions_MessageRange::SharedDtor() {
  21220. if (this != default_instance_) {
  21221. }
  21222. }
  21223. void CMsgGCMsgSetOptions_MessageRange::SetCachedSize(int size) const {
  21224. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21225. _cached_size_ = size;
  21226. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21227. }
  21228. const ::google::protobuf::Descriptor* CMsgGCMsgSetOptions_MessageRange::descriptor() {
  21229. protobuf_AssignDescriptorsOnce();
  21230. return CMsgGCMsgSetOptions_MessageRange_descriptor_;
  21231. }
  21232. const CMsgGCMsgSetOptions_MessageRange& CMsgGCMsgSetOptions_MessageRange::default_instance() {
  21233. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  21234. return *default_instance_;
  21235. }
  21236. CMsgGCMsgSetOptions_MessageRange* CMsgGCMsgSetOptions_MessageRange::default_instance_ = NULL;
  21237. CMsgGCMsgSetOptions_MessageRange* CMsgGCMsgSetOptions_MessageRange::New() const {
  21238. return new CMsgGCMsgSetOptions_MessageRange;
  21239. }
  21240. void CMsgGCMsgSetOptions_MessageRange::Clear() {
  21241. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21242. low_ = 0u;
  21243. high_ = 0u;
  21244. }
  21245. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21246. mutable_unknown_fields()->Clear();
  21247. }
  21248. bool CMsgGCMsgSetOptions_MessageRange::MergePartialFromCodedStream(
  21249. ::google::protobuf::io::CodedInputStream* input) {
  21250. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21251. ::google::protobuf::uint32 tag;
  21252. while ((tag = input->ReadTag()) != 0) {
  21253. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21254. // required uint32 low = 1;
  21255. case 1: {
  21256. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21257. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21258. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21259. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  21260. input, &low_)));
  21261. set_has_low();
  21262. } else {
  21263. goto handle_uninterpreted;
  21264. }
  21265. if (input->ExpectTag(16)) goto parse_high;
  21266. break;
  21267. }
  21268. // required uint32 high = 2;
  21269. case 2: {
  21270. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21271. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21272. parse_high:
  21273. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21274. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  21275. input, &high_)));
  21276. set_has_high();
  21277. } else {
  21278. goto handle_uninterpreted;
  21279. }
  21280. if (input->ExpectAtEnd()) return true;
  21281. break;
  21282. }
  21283. default: {
  21284. handle_uninterpreted:
  21285. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21286. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21287. return true;
  21288. }
  21289. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21290. input, tag, mutable_unknown_fields()));
  21291. break;
  21292. }
  21293. }
  21294. }
  21295. return true;
  21296. #undef DO_
  21297. }
  21298. void CMsgGCMsgSetOptions_MessageRange::SerializeWithCachedSizes(
  21299. ::google::protobuf::io::CodedOutputStream* output) const {
  21300. // required uint32 low = 1;
  21301. if (has_low()) {
  21302. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->low(), output);
  21303. }
  21304. // required uint32 high = 2;
  21305. if (has_high()) {
  21306. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->high(), output);
  21307. }
  21308. if (!unknown_fields().empty()) {
  21309. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21310. unknown_fields(), output);
  21311. }
  21312. }
  21313. ::google::protobuf::uint8* CMsgGCMsgSetOptions_MessageRange::SerializeWithCachedSizesToArray(
  21314. ::google::protobuf::uint8* target) const {
  21315. // required uint32 low = 1;
  21316. if (has_low()) {
  21317. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->low(), target);
  21318. }
  21319. // required uint32 high = 2;
  21320. if (has_high()) {
  21321. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->high(), target);
  21322. }
  21323. if (!unknown_fields().empty()) {
  21324. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21325. unknown_fields(), target);
  21326. }
  21327. return target;
  21328. }
  21329. int CMsgGCMsgSetOptions_MessageRange::ByteSize() const {
  21330. int total_size = 0;
  21331. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21332. // required uint32 low = 1;
  21333. if (has_low()) {
  21334. total_size += 1 +
  21335. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  21336. this->low());
  21337. }
  21338. // required uint32 high = 2;
  21339. if (has_high()) {
  21340. total_size += 1 +
  21341. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  21342. this->high());
  21343. }
  21344. }
  21345. if (!unknown_fields().empty()) {
  21346. total_size +=
  21347. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21348. unknown_fields());
  21349. }
  21350. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21351. _cached_size_ = total_size;
  21352. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21353. return total_size;
  21354. }
  21355. void CMsgGCMsgSetOptions_MessageRange::MergeFrom(const ::google::protobuf::Message& from) {
  21356. GOOGLE_CHECK_NE(&from, this);
  21357. const CMsgGCMsgSetOptions_MessageRange* source =
  21358. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgSetOptions_MessageRange*>(
  21359. &from);
  21360. if (source == NULL) {
  21361. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21362. } else {
  21363. MergeFrom(*source);
  21364. }
  21365. }
  21366. void CMsgGCMsgSetOptions_MessageRange::MergeFrom(const CMsgGCMsgSetOptions_MessageRange& from) {
  21367. GOOGLE_CHECK_NE(&from, this);
  21368. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21369. if (from.has_low()) {
  21370. set_low(from.low());
  21371. }
  21372. if (from.has_high()) {
  21373. set_high(from.high());
  21374. }
  21375. }
  21376. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21377. }
  21378. void CMsgGCMsgSetOptions_MessageRange::CopyFrom(const ::google::protobuf::Message& from) {
  21379. if (&from == this) return;
  21380. Clear();
  21381. MergeFrom(from);
  21382. }
  21383. void CMsgGCMsgSetOptions_MessageRange::CopyFrom(const CMsgGCMsgSetOptions_MessageRange& from) {
  21384. if (&from == this) return;
  21385. Clear();
  21386. MergeFrom(from);
  21387. }
  21388. bool CMsgGCMsgSetOptions_MessageRange::IsInitialized() const {
  21389. if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
  21390. return true;
  21391. }
  21392. void CMsgGCMsgSetOptions_MessageRange::Swap(CMsgGCMsgSetOptions_MessageRange* other) {
  21393. if (other != this) {
  21394. std::swap(low_, other->low_);
  21395. std::swap(high_, other->high_);
  21396. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21397. _unknown_fields_.Swap(&other->_unknown_fields_);
  21398. std::swap(_cached_size_, other->_cached_size_);
  21399. }
  21400. }
  21401. ::google::protobuf::Metadata CMsgGCMsgSetOptions_MessageRange::GetMetadata() const {
  21402. protobuf_AssignDescriptorsOnce();
  21403. ::google::protobuf::Metadata metadata;
  21404. metadata.descriptor = CMsgGCMsgSetOptions_MessageRange_descriptor_;
  21405. metadata.reflection = CMsgGCMsgSetOptions_MessageRange_reflection_;
  21406. return metadata;
  21407. }
  21408. // -------------------------------------------------------------------
  21409. #ifndef _MSC_VER
  21410. const int CMsgGCMsgSetOptions::kOptionsFieldNumber;
  21411. const int CMsgGCMsgSetOptions::kClientMsgRangesFieldNumber;
  21412. #endif // !_MSC_VER
  21413. CMsgGCMsgSetOptions::CMsgGCMsgSetOptions()
  21414. : ::google::protobuf::Message() {
  21415. SharedCtor();
  21416. }
  21417. void CMsgGCMsgSetOptions::InitAsDefaultInstance() {
  21418. }
  21419. CMsgGCMsgSetOptions::CMsgGCMsgSetOptions(const CMsgGCMsgSetOptions& from)
  21420. : ::google::protobuf::Message() {
  21421. SharedCtor();
  21422. MergeFrom(from);
  21423. }
  21424. void CMsgGCMsgSetOptions::SharedCtor() {
  21425. _cached_size_ = 0;
  21426. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21427. }
  21428. CMsgGCMsgSetOptions::~CMsgGCMsgSetOptions() {
  21429. SharedDtor();
  21430. }
  21431. void CMsgGCMsgSetOptions::SharedDtor() {
  21432. if (this != default_instance_) {
  21433. }
  21434. }
  21435. void CMsgGCMsgSetOptions::SetCachedSize(int size) const {
  21436. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21437. _cached_size_ = size;
  21438. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21439. }
  21440. const ::google::protobuf::Descriptor* CMsgGCMsgSetOptions::descriptor() {
  21441. protobuf_AssignDescriptorsOnce();
  21442. return CMsgGCMsgSetOptions_descriptor_;
  21443. }
  21444. const CMsgGCMsgSetOptions& CMsgGCMsgSetOptions::default_instance() {
  21445. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  21446. return *default_instance_;
  21447. }
  21448. CMsgGCMsgSetOptions* CMsgGCMsgSetOptions::default_instance_ = NULL;
  21449. CMsgGCMsgSetOptions* CMsgGCMsgSetOptions::New() const {
  21450. return new CMsgGCMsgSetOptions;
  21451. }
  21452. void CMsgGCMsgSetOptions::Clear() {
  21453. options_.Clear();
  21454. client_msg_ranges_.Clear();
  21455. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21456. mutable_unknown_fields()->Clear();
  21457. }
  21458. bool CMsgGCMsgSetOptions::MergePartialFromCodedStream(
  21459. ::google::protobuf::io::CodedInputStream* input) {
  21460. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21461. ::google::protobuf::uint32 tag;
  21462. while ((tag = input->ReadTag()) != 0) {
  21463. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21464. // repeated .CMsgGCMsgSetOptions.Option options = 1;
  21465. case 1: {
  21466. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21467. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21468. parse_options:
  21469. int value;
  21470. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21471. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  21472. input, &value)));
  21473. if (::CMsgGCMsgSetOptions_Option_IsValid(value)) {
  21474. add_options(static_cast< ::CMsgGCMsgSetOptions_Option >(value));
  21475. } else {
  21476. mutable_unknown_fields()->AddVarint(1, value);
  21477. }
  21478. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  21479. == ::google::protobuf::internal::WireFormatLite::
  21480. WIRETYPE_LENGTH_DELIMITED) {
  21481. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedEnumNoInline(
  21482. input,
  21483. &::CMsgGCMsgSetOptions_Option_IsValid,
  21484. this->mutable_options())));
  21485. } else {
  21486. goto handle_uninterpreted;
  21487. }
  21488. if (input->ExpectTag(8)) goto parse_options;
  21489. if (input->ExpectTag(18)) goto parse_client_msg_ranges;
  21490. break;
  21491. }
  21492. // repeated .CMsgGCMsgSetOptions.MessageRange client_msg_ranges = 2;
  21493. case 2: {
  21494. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21495. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  21496. parse_client_msg_ranges:
  21497. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  21498. input, add_client_msg_ranges()));
  21499. } else {
  21500. goto handle_uninterpreted;
  21501. }
  21502. if (input->ExpectTag(18)) goto parse_client_msg_ranges;
  21503. if (input->ExpectAtEnd()) return true;
  21504. break;
  21505. }
  21506. default: {
  21507. handle_uninterpreted:
  21508. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21509. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21510. return true;
  21511. }
  21512. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21513. input, tag, mutable_unknown_fields()));
  21514. break;
  21515. }
  21516. }
  21517. }
  21518. return true;
  21519. #undef DO_
  21520. }
  21521. void CMsgGCMsgSetOptions::SerializeWithCachedSizes(
  21522. ::google::protobuf::io::CodedOutputStream* output) const {
  21523. // repeated .CMsgGCMsgSetOptions.Option options = 1;
  21524. for (int i = 0; i < this->options_size(); i++) {
  21525. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  21526. 1, this->options(i), output);
  21527. }
  21528. // repeated .CMsgGCMsgSetOptions.MessageRange client_msg_ranges = 2;
  21529. for (int i = 0; i < this->client_msg_ranges_size(); i++) {
  21530. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  21531. 2, this->client_msg_ranges(i), output);
  21532. }
  21533. if (!unknown_fields().empty()) {
  21534. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21535. unknown_fields(), output);
  21536. }
  21537. }
  21538. ::google::protobuf::uint8* CMsgGCMsgSetOptions::SerializeWithCachedSizesToArray(
  21539. ::google::protobuf::uint8* target) const {
  21540. // repeated .CMsgGCMsgSetOptions.Option options = 1;
  21541. for (int i = 0; i < this->options_size(); i++) {
  21542. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  21543. 1, this->options(i), target);
  21544. }
  21545. // repeated .CMsgGCMsgSetOptions.MessageRange client_msg_ranges = 2;
  21546. for (int i = 0; i < this->client_msg_ranges_size(); i++) {
  21547. target = ::google::protobuf::internal::WireFormatLite::
  21548. WriteMessageNoVirtualToArray(
  21549. 2, this->client_msg_ranges(i), target);
  21550. }
  21551. if (!unknown_fields().empty()) {
  21552. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21553. unknown_fields(), target);
  21554. }
  21555. return target;
  21556. }
  21557. int CMsgGCMsgSetOptions::ByteSize() const {
  21558. int total_size = 0;
  21559. // repeated .CMsgGCMsgSetOptions.Option options = 1;
  21560. {
  21561. int data_size = 0;
  21562. for (int i = 0; i < this->options_size(); i++) {
  21563. data_size += ::google::protobuf::internal::WireFormatLite::EnumSize(
  21564. this->options(i));
  21565. }
  21566. total_size += 1 * this->options_size() + data_size;
  21567. }
  21568. // repeated .CMsgGCMsgSetOptions.MessageRange client_msg_ranges = 2;
  21569. total_size += 1 * this->client_msg_ranges_size();
  21570. for (int i = 0; i < this->client_msg_ranges_size(); i++) {
  21571. total_size +=
  21572. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  21573. this->client_msg_ranges(i));
  21574. }
  21575. if (!unknown_fields().empty()) {
  21576. total_size +=
  21577. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21578. unknown_fields());
  21579. }
  21580. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21581. _cached_size_ = total_size;
  21582. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21583. return total_size;
  21584. }
  21585. void CMsgGCMsgSetOptions::MergeFrom(const ::google::protobuf::Message& from) {
  21586. GOOGLE_CHECK_NE(&from, this);
  21587. const CMsgGCMsgSetOptions* source =
  21588. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCMsgSetOptions*>(
  21589. &from);
  21590. if (source == NULL) {
  21591. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21592. } else {
  21593. MergeFrom(*source);
  21594. }
  21595. }
  21596. void CMsgGCMsgSetOptions::MergeFrom(const CMsgGCMsgSetOptions& from) {
  21597. GOOGLE_CHECK_NE(&from, this);
  21598. options_.MergeFrom(from.options_);
  21599. client_msg_ranges_.MergeFrom(from.client_msg_ranges_);
  21600. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21601. }
  21602. void CMsgGCMsgSetOptions::CopyFrom(const ::google::protobuf::Message& from) {
  21603. if (&from == this) return;
  21604. Clear();
  21605. MergeFrom(from);
  21606. }
  21607. void CMsgGCMsgSetOptions::CopyFrom(const CMsgGCMsgSetOptions& from) {
  21608. if (&from == this) return;
  21609. Clear();
  21610. MergeFrom(from);
  21611. }
  21612. bool CMsgGCMsgSetOptions::IsInitialized() const {
  21613. for (int i = 0; i < client_msg_ranges_size(); i++) {
  21614. if (!this->client_msg_ranges(i).IsInitialized()) return false;
  21615. }
  21616. return true;
  21617. }
  21618. void CMsgGCMsgSetOptions::Swap(CMsgGCMsgSetOptions* other) {
  21619. if (other != this) {
  21620. options_.Swap(&other->options_);
  21621. client_msg_ranges_.Swap(&other->client_msg_ranges_);
  21622. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21623. _unknown_fields_.Swap(&other->_unknown_fields_);
  21624. std::swap(_cached_size_, other->_cached_size_);
  21625. }
  21626. }
  21627. ::google::protobuf::Metadata CMsgGCMsgSetOptions::GetMetadata() const {
  21628. protobuf_AssignDescriptorsOnce();
  21629. ::google::protobuf::Metadata metadata;
  21630. metadata.descriptor = CMsgGCMsgSetOptions_descriptor_;
  21631. metadata.reflection = CMsgGCMsgSetOptions_reflection_;
  21632. return metadata;
  21633. }
  21634. // ===================================================================
  21635. #ifndef _MSC_VER
  21636. const int CMsgGCHUpdateSession_ExtraField::kNameFieldNumber;
  21637. const int CMsgGCHUpdateSession_ExtraField::kValueFieldNumber;
  21638. #endif // !_MSC_VER
  21639. CMsgGCHUpdateSession_ExtraField::CMsgGCHUpdateSession_ExtraField()
  21640. : ::google::protobuf::Message() {
  21641. SharedCtor();
  21642. }
  21643. void CMsgGCHUpdateSession_ExtraField::InitAsDefaultInstance() {
  21644. }
  21645. CMsgGCHUpdateSession_ExtraField::CMsgGCHUpdateSession_ExtraField(const CMsgGCHUpdateSession_ExtraField& from)
  21646. : ::google::protobuf::Message() {
  21647. SharedCtor();
  21648. MergeFrom(from);
  21649. }
  21650. void CMsgGCHUpdateSession_ExtraField::SharedCtor() {
  21651. _cached_size_ = 0;
  21652. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  21653. value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  21654. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21655. }
  21656. CMsgGCHUpdateSession_ExtraField::~CMsgGCHUpdateSession_ExtraField() {
  21657. SharedDtor();
  21658. }
  21659. void CMsgGCHUpdateSession_ExtraField::SharedDtor() {
  21660. if (name_ != &::google::protobuf::internal::kEmptyString) {
  21661. delete name_;
  21662. }
  21663. if (value_ != &::google::protobuf::internal::kEmptyString) {
  21664. delete value_;
  21665. }
  21666. if (this != default_instance_) {
  21667. }
  21668. }
  21669. void CMsgGCHUpdateSession_ExtraField::SetCachedSize(int size) const {
  21670. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21671. _cached_size_ = size;
  21672. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21673. }
  21674. const ::google::protobuf::Descriptor* CMsgGCHUpdateSession_ExtraField::descriptor() {
  21675. protobuf_AssignDescriptorsOnce();
  21676. return CMsgGCHUpdateSession_ExtraField_descriptor_;
  21677. }
  21678. const CMsgGCHUpdateSession_ExtraField& CMsgGCHUpdateSession_ExtraField::default_instance() {
  21679. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  21680. return *default_instance_;
  21681. }
  21682. CMsgGCHUpdateSession_ExtraField* CMsgGCHUpdateSession_ExtraField::default_instance_ = NULL;
  21683. CMsgGCHUpdateSession_ExtraField* CMsgGCHUpdateSession_ExtraField::New() const {
  21684. return new CMsgGCHUpdateSession_ExtraField;
  21685. }
  21686. void CMsgGCHUpdateSession_ExtraField::Clear() {
  21687. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21688. if (has_name()) {
  21689. if (name_ != &::google::protobuf::internal::kEmptyString) {
  21690. name_->clear();
  21691. }
  21692. }
  21693. if (has_value()) {
  21694. if (value_ != &::google::protobuf::internal::kEmptyString) {
  21695. value_->clear();
  21696. }
  21697. }
  21698. }
  21699. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21700. mutable_unknown_fields()->Clear();
  21701. }
  21702. bool CMsgGCHUpdateSession_ExtraField::MergePartialFromCodedStream(
  21703. ::google::protobuf::io::CodedInputStream* input) {
  21704. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21705. ::google::protobuf::uint32 tag;
  21706. while ((tag = input->ReadTag()) != 0) {
  21707. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21708. // optional string name = 1;
  21709. case 1: {
  21710. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21711. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  21712. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  21713. input, this->mutable_name()));
  21714. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  21715. this->name().data(), this->name().length(),
  21716. ::google::protobuf::internal::WireFormat::PARSE);
  21717. } else {
  21718. goto handle_uninterpreted;
  21719. }
  21720. if (input->ExpectTag(18)) goto parse_value;
  21721. break;
  21722. }
  21723. // optional string value = 2;
  21724. case 2: {
  21725. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21726. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  21727. parse_value:
  21728. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  21729. input, this->mutable_value()));
  21730. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  21731. this->value().data(), this->value().length(),
  21732. ::google::protobuf::internal::WireFormat::PARSE);
  21733. } else {
  21734. goto handle_uninterpreted;
  21735. }
  21736. if (input->ExpectAtEnd()) return true;
  21737. break;
  21738. }
  21739. default: {
  21740. handle_uninterpreted:
  21741. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21742. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21743. return true;
  21744. }
  21745. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21746. input, tag, mutable_unknown_fields()));
  21747. break;
  21748. }
  21749. }
  21750. }
  21751. return true;
  21752. #undef DO_
  21753. }
  21754. void CMsgGCHUpdateSession_ExtraField::SerializeWithCachedSizes(
  21755. ::google::protobuf::io::CodedOutputStream* output) const {
  21756. // optional string name = 1;
  21757. if (has_name()) {
  21758. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  21759. this->name().data(), this->name().length(),
  21760. ::google::protobuf::internal::WireFormat::SERIALIZE);
  21761. ::google::protobuf::internal::WireFormatLite::WriteString(
  21762. 1, this->name(), output);
  21763. }
  21764. // optional string value = 2;
  21765. if (has_value()) {
  21766. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  21767. this->value().data(), this->value().length(),
  21768. ::google::protobuf::internal::WireFormat::SERIALIZE);
  21769. ::google::protobuf::internal::WireFormatLite::WriteString(
  21770. 2, this->value(), output);
  21771. }
  21772. if (!unknown_fields().empty()) {
  21773. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21774. unknown_fields(), output);
  21775. }
  21776. }
  21777. ::google::protobuf::uint8* CMsgGCHUpdateSession_ExtraField::SerializeWithCachedSizesToArray(
  21778. ::google::protobuf::uint8* target) const {
  21779. // optional string name = 1;
  21780. if (has_name()) {
  21781. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  21782. this->name().data(), this->name().length(),
  21783. ::google::protobuf::internal::WireFormat::SERIALIZE);
  21784. target =
  21785. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  21786. 1, this->name(), target);
  21787. }
  21788. // optional string value = 2;
  21789. if (has_value()) {
  21790. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  21791. this->value().data(), this->value().length(),
  21792. ::google::protobuf::internal::WireFormat::SERIALIZE);
  21793. target =
  21794. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  21795. 2, this->value(), target);
  21796. }
  21797. if (!unknown_fields().empty()) {
  21798. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21799. unknown_fields(), target);
  21800. }
  21801. return target;
  21802. }
  21803. int CMsgGCHUpdateSession_ExtraField::ByteSize() const {
  21804. int total_size = 0;
  21805. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21806. // optional string name = 1;
  21807. if (has_name()) {
  21808. total_size += 1 +
  21809. ::google::protobuf::internal::WireFormatLite::StringSize(
  21810. this->name());
  21811. }
  21812. // optional string value = 2;
  21813. if (has_value()) {
  21814. total_size += 1 +
  21815. ::google::protobuf::internal::WireFormatLite::StringSize(
  21816. this->value());
  21817. }
  21818. }
  21819. if (!unknown_fields().empty()) {
  21820. total_size +=
  21821. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21822. unknown_fields());
  21823. }
  21824. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21825. _cached_size_ = total_size;
  21826. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21827. return total_size;
  21828. }
  21829. void CMsgGCHUpdateSession_ExtraField::MergeFrom(const ::google::protobuf::Message& from) {
  21830. GOOGLE_CHECK_NE(&from, this);
  21831. const CMsgGCHUpdateSession_ExtraField* source =
  21832. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCHUpdateSession_ExtraField*>(
  21833. &from);
  21834. if (source == NULL) {
  21835. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21836. } else {
  21837. MergeFrom(*source);
  21838. }
  21839. }
  21840. void CMsgGCHUpdateSession_ExtraField::MergeFrom(const CMsgGCHUpdateSession_ExtraField& from) {
  21841. GOOGLE_CHECK_NE(&from, this);
  21842. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21843. if (from.has_name()) {
  21844. set_name(from.name());
  21845. }
  21846. if (from.has_value()) {
  21847. set_value(from.value());
  21848. }
  21849. }
  21850. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21851. }
  21852. void CMsgGCHUpdateSession_ExtraField::CopyFrom(const ::google::protobuf::Message& from) {
  21853. if (&from == this) return;
  21854. Clear();
  21855. MergeFrom(from);
  21856. }
  21857. void CMsgGCHUpdateSession_ExtraField::CopyFrom(const CMsgGCHUpdateSession_ExtraField& from) {
  21858. if (&from == this) return;
  21859. Clear();
  21860. MergeFrom(from);
  21861. }
  21862. bool CMsgGCHUpdateSession_ExtraField::IsInitialized() const {
  21863. return true;
  21864. }
  21865. void CMsgGCHUpdateSession_ExtraField::Swap(CMsgGCHUpdateSession_ExtraField* other) {
  21866. if (other != this) {
  21867. std::swap(name_, other->name_);
  21868. std::swap(value_, other->value_);
  21869. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21870. _unknown_fields_.Swap(&other->_unknown_fields_);
  21871. std::swap(_cached_size_, other->_cached_size_);
  21872. }
  21873. }
  21874. ::google::protobuf::Metadata CMsgGCHUpdateSession_ExtraField::GetMetadata() const {
  21875. protobuf_AssignDescriptorsOnce();
  21876. ::google::protobuf::Metadata metadata;
  21877. metadata.descriptor = CMsgGCHUpdateSession_ExtraField_descriptor_;
  21878. metadata.reflection = CMsgGCHUpdateSession_ExtraField_reflection_;
  21879. return metadata;
  21880. }
  21881. // -------------------------------------------------------------------
  21882. #ifndef _MSC_VER
  21883. const int CMsgGCHUpdateSession::kSteamIdFieldNumber;
  21884. const int CMsgGCHUpdateSession::kAppIdFieldNumber;
  21885. const int CMsgGCHUpdateSession::kOnlineFieldNumber;
  21886. const int CMsgGCHUpdateSession::kServerSteamIdFieldNumber;
  21887. const int CMsgGCHUpdateSession::kServerAddrFieldNumber;
  21888. const int CMsgGCHUpdateSession::kServerPortFieldNumber;
  21889. const int CMsgGCHUpdateSession::kOsTypeFieldNumber;
  21890. const int CMsgGCHUpdateSession::kClientAddrFieldNumber;
  21891. const int CMsgGCHUpdateSession::kExtraFieldsFieldNumber;
  21892. #endif // !_MSC_VER
  21893. CMsgGCHUpdateSession::CMsgGCHUpdateSession()
  21894. : ::google::protobuf::Message() {
  21895. SharedCtor();
  21896. }
  21897. void CMsgGCHUpdateSession::InitAsDefaultInstance() {
  21898. }
  21899. CMsgGCHUpdateSession::CMsgGCHUpdateSession(const CMsgGCHUpdateSession& from)
  21900. : ::google::protobuf::Message() {
  21901. SharedCtor();
  21902. MergeFrom(from);
  21903. }
  21904. void CMsgGCHUpdateSession::SharedCtor() {
  21905. _cached_size_ = 0;
  21906. steam_id_ = GOOGLE_ULONGLONG(0);
  21907. app_id_ = 0u;
  21908. online_ = false;
  21909. server_steam_id_ = GOOGLE_ULONGLONG(0);
  21910. server_addr_ = 0u;
  21911. server_port_ = 0u;
  21912. os_type_ = 0u;
  21913. client_addr_ = 0u;
  21914. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21915. }
  21916. CMsgGCHUpdateSession::~CMsgGCHUpdateSession() {
  21917. SharedDtor();
  21918. }
  21919. void CMsgGCHUpdateSession::SharedDtor() {
  21920. if (this != default_instance_) {
  21921. }
  21922. }
  21923. void CMsgGCHUpdateSession::SetCachedSize(int size) const {
  21924. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21925. _cached_size_ = size;
  21926. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21927. }
  21928. const ::google::protobuf::Descriptor* CMsgGCHUpdateSession::descriptor() {
  21929. protobuf_AssignDescriptorsOnce();
  21930. return CMsgGCHUpdateSession_descriptor_;
  21931. }
  21932. const CMsgGCHUpdateSession& CMsgGCHUpdateSession::default_instance() {
  21933. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  21934. return *default_instance_;
  21935. }
  21936. CMsgGCHUpdateSession* CMsgGCHUpdateSession::default_instance_ = NULL;
  21937. CMsgGCHUpdateSession* CMsgGCHUpdateSession::New() const {
  21938. return new CMsgGCHUpdateSession;
  21939. }
  21940. void CMsgGCHUpdateSession::Clear() {
  21941. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21942. steam_id_ = GOOGLE_ULONGLONG(0);
  21943. app_id_ = 0u;
  21944. online_ = false;
  21945. server_steam_id_ = GOOGLE_ULONGLONG(0);
  21946. server_addr_ = 0u;
  21947. server_port_ = 0u;
  21948. os_type_ = 0u;
  21949. client_addr_ = 0u;
  21950. }
  21951. extra_fields_.Clear();
  21952. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21953. mutable_unknown_fields()->Clear();
  21954. }
  21955. bool CMsgGCHUpdateSession::MergePartialFromCodedStream(
  21956. ::google::protobuf::io::CodedInputStream* input) {
  21957. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21958. ::google::protobuf::uint32 tag;
  21959. while ((tag = input->ReadTag()) != 0) {
  21960. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21961. // optional fixed64 steam_id = 1;
  21962. case 1: {
  21963. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21964. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  21965. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21966. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  21967. input, &steam_id_)));
  21968. set_has_steam_id();
  21969. } else {
  21970. goto handle_uninterpreted;
  21971. }
  21972. if (input->ExpectTag(16)) goto parse_app_id;
  21973. break;
  21974. }
  21975. // optional uint32 app_id = 2;
  21976. case 2: {
  21977. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21978. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21979. parse_app_id:
  21980. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21981. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  21982. input, &app_id_)));
  21983. set_has_app_id();
  21984. } else {
  21985. goto handle_uninterpreted;
  21986. }
  21987. if (input->ExpectTag(24)) goto parse_online;
  21988. break;
  21989. }
  21990. // optional bool online = 3;
  21991. case 3: {
  21992. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21993. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21994. parse_online:
  21995. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21996. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  21997. input, &online_)));
  21998. set_has_online();
  21999. } else {
  22000. goto handle_uninterpreted;
  22001. }
  22002. if (input->ExpectTag(33)) goto parse_server_steam_id;
  22003. break;
  22004. }
  22005. // optional fixed64 server_steam_id = 4;
  22006. case 4: {
  22007. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22008. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  22009. parse_server_steam_id:
  22010. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22011. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  22012. input, &server_steam_id_)));
  22013. set_has_server_steam_id();
  22014. } else {
  22015. goto handle_uninterpreted;
  22016. }
  22017. if (input->ExpectTag(40)) goto parse_server_addr;
  22018. break;
  22019. }
  22020. // optional uint32 server_addr = 5;
  22021. case 5: {
  22022. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22023. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22024. parse_server_addr:
  22025. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22026. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  22027. input, &server_addr_)));
  22028. set_has_server_addr();
  22029. } else {
  22030. goto handle_uninterpreted;
  22031. }
  22032. if (input->ExpectTag(48)) goto parse_server_port;
  22033. break;
  22034. }
  22035. // optional uint32 server_port = 6;
  22036. case 6: {
  22037. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22038. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22039. parse_server_port:
  22040. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22041. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  22042. input, &server_port_)));
  22043. set_has_server_port();
  22044. } else {
  22045. goto handle_uninterpreted;
  22046. }
  22047. if (input->ExpectTag(56)) goto parse_os_type;
  22048. break;
  22049. }
  22050. // optional uint32 os_type = 7;
  22051. case 7: {
  22052. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22053. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22054. parse_os_type:
  22055. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22056. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  22057. input, &os_type_)));
  22058. set_has_os_type();
  22059. } else {
  22060. goto handle_uninterpreted;
  22061. }
  22062. if (input->ExpectTag(64)) goto parse_client_addr;
  22063. break;
  22064. }
  22065. // optional uint32 client_addr = 8;
  22066. case 8: {
  22067. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22068. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22069. parse_client_addr:
  22070. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22071. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  22072. input, &client_addr_)));
  22073. set_has_client_addr();
  22074. } else {
  22075. goto handle_uninterpreted;
  22076. }
  22077. if (input->ExpectTag(74)) goto parse_extra_fields;
  22078. break;
  22079. }
  22080. // repeated .CMsgGCHUpdateSession.ExtraField extra_fields = 9;
  22081. case 9: {
  22082. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22083. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  22084. parse_extra_fields:
  22085. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  22086. input, add_extra_fields()));
  22087. } else {
  22088. goto handle_uninterpreted;
  22089. }
  22090. if (input->ExpectTag(74)) goto parse_extra_fields;
  22091. if (input->ExpectAtEnd()) return true;
  22092. break;
  22093. }
  22094. default: {
  22095. handle_uninterpreted:
  22096. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22097. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22098. return true;
  22099. }
  22100. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22101. input, tag, mutable_unknown_fields()));
  22102. break;
  22103. }
  22104. }
  22105. }
  22106. return true;
  22107. #undef DO_
  22108. }
  22109. void CMsgGCHUpdateSession::SerializeWithCachedSizes(
  22110. ::google::protobuf::io::CodedOutputStream* output) const {
  22111. // optional fixed64 steam_id = 1;
  22112. if (has_steam_id()) {
  22113. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steam_id(), output);
  22114. }
  22115. // optional uint32 app_id = 2;
  22116. if (has_app_id()) {
  22117. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->app_id(), output);
  22118. }
  22119. // optional bool online = 3;
  22120. if (has_online()) {
  22121. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->online(), output);
  22122. }
  22123. // optional fixed64 server_steam_id = 4;
  22124. if (has_server_steam_id()) {
  22125. ::google::protobuf::internal::WireFormatLite::WriteFixed64(4, this->server_steam_id(), output);
  22126. }
  22127. // optional uint32 server_addr = 5;
  22128. if (has_server_addr()) {
  22129. ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->server_addr(), output);
  22130. }
  22131. // optional uint32 server_port = 6;
  22132. if (has_server_port()) {
  22133. ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->server_port(), output);
  22134. }
  22135. // optional uint32 os_type = 7;
  22136. if (has_os_type()) {
  22137. ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->os_type(), output);
  22138. }
  22139. // optional uint32 client_addr = 8;
  22140. if (has_client_addr()) {
  22141. ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->client_addr(), output);
  22142. }
  22143. // repeated .CMsgGCHUpdateSession.ExtraField extra_fields = 9;
  22144. for (int i = 0; i < this->extra_fields_size(); i++) {
  22145. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  22146. 9, this->extra_fields(i), output);
  22147. }
  22148. if (!unknown_fields().empty()) {
  22149. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  22150. unknown_fields(), output);
  22151. }
  22152. }
  22153. ::google::protobuf::uint8* CMsgGCHUpdateSession::SerializeWithCachedSizesToArray(
  22154. ::google::protobuf::uint8* target) const {
  22155. // optional fixed64 steam_id = 1;
  22156. if (has_steam_id()) {
  22157. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steam_id(), target);
  22158. }
  22159. // optional uint32 app_id = 2;
  22160. if (has_app_id()) {
  22161. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->app_id(), target);
  22162. }
  22163. // optional bool online = 3;
  22164. if (has_online()) {
  22165. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->online(), target);
  22166. }
  22167. // optional fixed64 server_steam_id = 4;
  22168. if (has_server_steam_id()) {
  22169. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(4, this->server_steam_id(), target);
  22170. }
  22171. // optional uint32 server_addr = 5;
  22172. if (has_server_addr()) {
  22173. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->server_addr(), target);
  22174. }
  22175. // optional uint32 server_port = 6;
  22176. if (has_server_port()) {
  22177. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->server_port(), target);
  22178. }
  22179. // optional uint32 os_type = 7;
  22180. if (has_os_type()) {
  22181. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->os_type(), target);
  22182. }
  22183. // optional uint32 client_addr = 8;
  22184. if (has_client_addr()) {
  22185. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(8, this->client_addr(), target);
  22186. }
  22187. // repeated .CMsgGCHUpdateSession.ExtraField extra_fields = 9;
  22188. for (int i = 0; i < this->extra_fields_size(); i++) {
  22189. target = ::google::protobuf::internal::WireFormatLite::
  22190. WriteMessageNoVirtualToArray(
  22191. 9, this->extra_fields(i), target);
  22192. }
  22193. if (!unknown_fields().empty()) {
  22194. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  22195. unknown_fields(), target);
  22196. }
  22197. return target;
  22198. }
  22199. int CMsgGCHUpdateSession::ByteSize() const {
  22200. int total_size = 0;
  22201. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22202. // optional fixed64 steam_id = 1;
  22203. if (has_steam_id()) {
  22204. total_size += 1 + 8;
  22205. }
  22206. // optional uint32 app_id = 2;
  22207. if (has_app_id()) {
  22208. total_size += 1 +
  22209. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22210. this->app_id());
  22211. }
  22212. // optional bool online = 3;
  22213. if (has_online()) {
  22214. total_size += 1 + 1;
  22215. }
  22216. // optional fixed64 server_steam_id = 4;
  22217. if (has_server_steam_id()) {
  22218. total_size += 1 + 8;
  22219. }
  22220. // optional uint32 server_addr = 5;
  22221. if (has_server_addr()) {
  22222. total_size += 1 +
  22223. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22224. this->server_addr());
  22225. }
  22226. // optional uint32 server_port = 6;
  22227. if (has_server_port()) {
  22228. total_size += 1 +
  22229. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22230. this->server_port());
  22231. }
  22232. // optional uint32 os_type = 7;
  22233. if (has_os_type()) {
  22234. total_size += 1 +
  22235. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22236. this->os_type());
  22237. }
  22238. // optional uint32 client_addr = 8;
  22239. if (has_client_addr()) {
  22240. total_size += 1 +
  22241. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22242. this->client_addr());
  22243. }
  22244. }
  22245. // repeated .CMsgGCHUpdateSession.ExtraField extra_fields = 9;
  22246. total_size += 1 * this->extra_fields_size();
  22247. for (int i = 0; i < this->extra_fields_size(); i++) {
  22248. total_size +=
  22249. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  22250. this->extra_fields(i));
  22251. }
  22252. if (!unknown_fields().empty()) {
  22253. total_size +=
  22254. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  22255. unknown_fields());
  22256. }
  22257. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22258. _cached_size_ = total_size;
  22259. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22260. return total_size;
  22261. }
  22262. void CMsgGCHUpdateSession::MergeFrom(const ::google::protobuf::Message& from) {
  22263. GOOGLE_CHECK_NE(&from, this);
  22264. const CMsgGCHUpdateSession* source =
  22265. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgGCHUpdateSession*>(
  22266. &from);
  22267. if (source == NULL) {
  22268. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22269. } else {
  22270. MergeFrom(*source);
  22271. }
  22272. }
  22273. void CMsgGCHUpdateSession::MergeFrom(const CMsgGCHUpdateSession& from) {
  22274. GOOGLE_CHECK_NE(&from, this);
  22275. extra_fields_.MergeFrom(from.extra_fields_);
  22276. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22277. if (from.has_steam_id()) {
  22278. set_steam_id(from.steam_id());
  22279. }
  22280. if (from.has_app_id()) {
  22281. set_app_id(from.app_id());
  22282. }
  22283. if (from.has_online()) {
  22284. set_online(from.online());
  22285. }
  22286. if (from.has_server_steam_id()) {
  22287. set_server_steam_id(from.server_steam_id());
  22288. }
  22289. if (from.has_server_addr()) {
  22290. set_server_addr(from.server_addr());
  22291. }
  22292. if (from.has_server_port()) {
  22293. set_server_port(from.server_port());
  22294. }
  22295. if (from.has_os_type()) {
  22296. set_os_type(from.os_type());
  22297. }
  22298. if (from.has_client_addr()) {
  22299. set_client_addr(from.client_addr());
  22300. }
  22301. }
  22302. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22303. }
  22304. void CMsgGCHUpdateSession::CopyFrom(const ::google::protobuf::Message& from) {
  22305. if (&from == this) return;
  22306. Clear();
  22307. MergeFrom(from);
  22308. }
  22309. void CMsgGCHUpdateSession::CopyFrom(const CMsgGCHUpdateSession& from) {
  22310. if (&from == this) return;
  22311. Clear();
  22312. MergeFrom(from);
  22313. }
  22314. bool CMsgGCHUpdateSession::IsInitialized() const {
  22315. return true;
  22316. }
  22317. void CMsgGCHUpdateSession::Swap(CMsgGCHUpdateSession* other) {
  22318. if (other != this) {
  22319. std::swap(steam_id_, other->steam_id_);
  22320. std::swap(app_id_, other->app_id_);
  22321. std::swap(online_, other->online_);
  22322. std::swap(server_steam_id_, other->server_steam_id_);
  22323. std::swap(server_addr_, other->server_addr_);
  22324. std::swap(server_port_, other->server_port_);
  22325. std::swap(os_type_, other->os_type_);
  22326. std::swap(client_addr_, other->client_addr_);
  22327. extra_fields_.Swap(&other->extra_fields_);
  22328. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22329. _unknown_fields_.Swap(&other->_unknown_fields_);
  22330. std::swap(_cached_size_, other->_cached_size_);
  22331. }
  22332. }
  22333. ::google::protobuf::Metadata CMsgGCHUpdateSession::GetMetadata() const {
  22334. protobuf_AssignDescriptorsOnce();
  22335. ::google::protobuf::Metadata metadata;
  22336. metadata.descriptor = CMsgGCHUpdateSession_descriptor_;
  22337. metadata.reflection = CMsgGCHUpdateSession_reflection_;
  22338. return metadata;
  22339. }
  22340. // ===================================================================
  22341. #ifndef _MSC_VER
  22342. const int CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::kAppInstanceCountFieldNumber;
  22343. const int CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::kOtherSteamidsFieldNumber;
  22344. #endif // !_MSC_VER
  22345. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::CMsgNotificationOfSuspiciousActivity_MultipleGameInstances()
  22346. : ::google::protobuf::Message() {
  22347. SharedCtor();
  22348. }
  22349. void CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::InitAsDefaultInstance() {
  22350. }
  22351. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::CMsgNotificationOfSuspiciousActivity_MultipleGameInstances(const CMsgNotificationOfSuspiciousActivity_MultipleGameInstances& from)
  22352. : ::google::protobuf::Message() {
  22353. SharedCtor();
  22354. MergeFrom(from);
  22355. }
  22356. void CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::SharedCtor() {
  22357. _cached_size_ = 0;
  22358. app_instance_count_ = 0u;
  22359. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22360. }
  22361. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::~CMsgNotificationOfSuspiciousActivity_MultipleGameInstances() {
  22362. SharedDtor();
  22363. }
  22364. void CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::SharedDtor() {
  22365. if (this != default_instance_) {
  22366. }
  22367. }
  22368. void CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::SetCachedSize(int size) const {
  22369. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22370. _cached_size_ = size;
  22371. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22372. }
  22373. const ::google::protobuf::Descriptor* CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::descriptor() {
  22374. protobuf_AssignDescriptorsOnce();
  22375. return CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_descriptor_;
  22376. }
  22377. const CMsgNotificationOfSuspiciousActivity_MultipleGameInstances& CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::default_instance() {
  22378. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  22379. return *default_instance_;
  22380. }
  22381. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances* CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::default_instance_ = NULL;
  22382. CMsgNotificationOfSuspiciousActivity_MultipleGameInstances* CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::New() const {
  22383. return new CMsgNotificationOfSuspiciousActivity_MultipleGameInstances;
  22384. }
  22385. void CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::Clear() {
  22386. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22387. app_instance_count_ = 0u;
  22388. }
  22389. other_steamids_.Clear();
  22390. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22391. mutable_unknown_fields()->Clear();
  22392. }
  22393. bool CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::MergePartialFromCodedStream(
  22394. ::google::protobuf::io::CodedInputStream* input) {
  22395. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  22396. ::google::protobuf::uint32 tag;
  22397. while ((tag = input->ReadTag()) != 0) {
  22398. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22399. // optional uint32 app_instance_count = 1;
  22400. case 1: {
  22401. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22402. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22403. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22404. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  22405. input, &app_instance_count_)));
  22406. set_has_app_instance_count();
  22407. } else {
  22408. goto handle_uninterpreted;
  22409. }
  22410. if (input->ExpectTag(17)) goto parse_other_steamids;
  22411. break;
  22412. }
  22413. // repeated fixed64 other_steamids = 2;
  22414. case 2: {
  22415. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22416. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  22417. parse_other_steamids:
  22418. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  22419. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  22420. 1, 17, input, this->mutable_other_steamids())));
  22421. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  22422. == ::google::protobuf::internal::WireFormatLite::
  22423. WIRETYPE_LENGTH_DELIMITED) {
  22424. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  22425. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  22426. input, this->mutable_other_steamids())));
  22427. } else {
  22428. goto handle_uninterpreted;
  22429. }
  22430. if (input->ExpectTag(17)) goto parse_other_steamids;
  22431. if (input->ExpectAtEnd()) return true;
  22432. break;
  22433. }
  22434. default: {
  22435. handle_uninterpreted:
  22436. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22437. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22438. return true;
  22439. }
  22440. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22441. input, tag, mutable_unknown_fields()));
  22442. break;
  22443. }
  22444. }
  22445. }
  22446. return true;
  22447. #undef DO_
  22448. }
  22449. void CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::SerializeWithCachedSizes(
  22450. ::google::protobuf::io::CodedOutputStream* output) const {
  22451. // optional uint32 app_instance_count = 1;
  22452. if (has_app_instance_count()) {
  22453. ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->app_instance_count(), output);
  22454. }
  22455. // repeated fixed64 other_steamids = 2;
  22456. for (int i = 0; i < this->other_steamids_size(); i++) {
  22457. ::google::protobuf::internal::WireFormatLite::WriteFixed64(
  22458. 2, this->other_steamids(i), output);
  22459. }
  22460. if (!unknown_fields().empty()) {
  22461. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  22462. unknown_fields(), output);
  22463. }
  22464. }
  22465. ::google::protobuf::uint8* CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::SerializeWithCachedSizesToArray(
  22466. ::google::protobuf::uint8* target) const {
  22467. // optional uint32 app_instance_count = 1;
  22468. if (has_app_instance_count()) {
  22469. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->app_instance_count(), target);
  22470. }
  22471. // repeated fixed64 other_steamids = 2;
  22472. for (int i = 0; i < this->other_steamids_size(); i++) {
  22473. target = ::google::protobuf::internal::WireFormatLite::
  22474. WriteFixed64ToArray(2, this->other_steamids(i), target);
  22475. }
  22476. if (!unknown_fields().empty()) {
  22477. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  22478. unknown_fields(), target);
  22479. }
  22480. return target;
  22481. }
  22482. int CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::ByteSize() const {
  22483. int total_size = 0;
  22484. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22485. // optional uint32 app_instance_count = 1;
  22486. if (has_app_instance_count()) {
  22487. total_size += 1 +
  22488. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22489. this->app_instance_count());
  22490. }
  22491. }
  22492. // repeated fixed64 other_steamids = 2;
  22493. {
  22494. int data_size = 0;
  22495. data_size = 8 * this->other_steamids_size();
  22496. total_size += 1 * this->other_steamids_size() + data_size;
  22497. }
  22498. if (!unknown_fields().empty()) {
  22499. total_size +=
  22500. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  22501. unknown_fields());
  22502. }
  22503. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22504. _cached_size_ = total_size;
  22505. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22506. return total_size;
  22507. }
  22508. void CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::MergeFrom(const ::google::protobuf::Message& from) {
  22509. GOOGLE_CHECK_NE(&from, this);
  22510. const CMsgNotificationOfSuspiciousActivity_MultipleGameInstances* source =
  22511. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgNotificationOfSuspiciousActivity_MultipleGameInstances*>(
  22512. &from);
  22513. if (source == NULL) {
  22514. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22515. } else {
  22516. MergeFrom(*source);
  22517. }
  22518. }
  22519. void CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::MergeFrom(const CMsgNotificationOfSuspiciousActivity_MultipleGameInstances& from) {
  22520. GOOGLE_CHECK_NE(&from, this);
  22521. other_steamids_.MergeFrom(from.other_steamids_);
  22522. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22523. if (from.has_app_instance_count()) {
  22524. set_app_instance_count(from.app_instance_count());
  22525. }
  22526. }
  22527. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22528. }
  22529. void CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::CopyFrom(const ::google::protobuf::Message& from) {
  22530. if (&from == this) return;
  22531. Clear();
  22532. MergeFrom(from);
  22533. }
  22534. void CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::CopyFrom(const CMsgNotificationOfSuspiciousActivity_MultipleGameInstances& from) {
  22535. if (&from == this) return;
  22536. Clear();
  22537. MergeFrom(from);
  22538. }
  22539. bool CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::IsInitialized() const {
  22540. return true;
  22541. }
  22542. void CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::Swap(CMsgNotificationOfSuspiciousActivity_MultipleGameInstances* other) {
  22543. if (other != this) {
  22544. std::swap(app_instance_count_, other->app_instance_count_);
  22545. other_steamids_.Swap(&other->other_steamids_);
  22546. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22547. _unknown_fields_.Swap(&other->_unknown_fields_);
  22548. std::swap(_cached_size_, other->_cached_size_);
  22549. }
  22550. }
  22551. ::google::protobuf::Metadata CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::GetMetadata() const {
  22552. protobuf_AssignDescriptorsOnce();
  22553. ::google::protobuf::Metadata metadata;
  22554. metadata.descriptor = CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_descriptor_;
  22555. metadata.reflection = CMsgNotificationOfSuspiciousActivity_MultipleGameInstances_reflection_;
  22556. return metadata;
  22557. }
  22558. // -------------------------------------------------------------------
  22559. #ifndef _MSC_VER
  22560. const int CMsgNotificationOfSuspiciousActivity::kSteamidFieldNumber;
  22561. const int CMsgNotificationOfSuspiciousActivity::kAppidFieldNumber;
  22562. const int CMsgNotificationOfSuspiciousActivity::kMultipleInstancesFieldNumber;
  22563. #endif // !_MSC_VER
  22564. CMsgNotificationOfSuspiciousActivity::CMsgNotificationOfSuspiciousActivity()
  22565. : ::google::protobuf::Message() {
  22566. SharedCtor();
  22567. }
  22568. void CMsgNotificationOfSuspiciousActivity::InitAsDefaultInstance() {
  22569. multiple_instances_ = const_cast< ::CMsgNotificationOfSuspiciousActivity_MultipleGameInstances*>(&::CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::default_instance());
  22570. }
  22571. CMsgNotificationOfSuspiciousActivity::CMsgNotificationOfSuspiciousActivity(const CMsgNotificationOfSuspiciousActivity& from)
  22572. : ::google::protobuf::Message() {
  22573. SharedCtor();
  22574. MergeFrom(from);
  22575. }
  22576. void CMsgNotificationOfSuspiciousActivity::SharedCtor() {
  22577. _cached_size_ = 0;
  22578. steamid_ = GOOGLE_ULONGLONG(0);
  22579. appid_ = 0u;
  22580. multiple_instances_ = NULL;
  22581. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22582. }
  22583. CMsgNotificationOfSuspiciousActivity::~CMsgNotificationOfSuspiciousActivity() {
  22584. SharedDtor();
  22585. }
  22586. void CMsgNotificationOfSuspiciousActivity::SharedDtor() {
  22587. if (this != default_instance_) {
  22588. delete multiple_instances_;
  22589. }
  22590. }
  22591. void CMsgNotificationOfSuspiciousActivity::SetCachedSize(int size) const {
  22592. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22593. _cached_size_ = size;
  22594. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22595. }
  22596. const ::google::protobuf::Descriptor* CMsgNotificationOfSuspiciousActivity::descriptor() {
  22597. protobuf_AssignDescriptorsOnce();
  22598. return CMsgNotificationOfSuspiciousActivity_descriptor_;
  22599. }
  22600. const CMsgNotificationOfSuspiciousActivity& CMsgNotificationOfSuspiciousActivity::default_instance() {
  22601. if (default_instance_ == NULL) protobuf_AddDesc_steammessages_2eproto();
  22602. return *default_instance_;
  22603. }
  22604. CMsgNotificationOfSuspiciousActivity* CMsgNotificationOfSuspiciousActivity::default_instance_ = NULL;
  22605. CMsgNotificationOfSuspiciousActivity* CMsgNotificationOfSuspiciousActivity::New() const {
  22606. return new CMsgNotificationOfSuspiciousActivity;
  22607. }
  22608. void CMsgNotificationOfSuspiciousActivity::Clear() {
  22609. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22610. steamid_ = GOOGLE_ULONGLONG(0);
  22611. appid_ = 0u;
  22612. if (has_multiple_instances()) {
  22613. if (multiple_instances_ != NULL) multiple_instances_->::CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::Clear();
  22614. }
  22615. }
  22616. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22617. mutable_unknown_fields()->Clear();
  22618. }
  22619. bool CMsgNotificationOfSuspiciousActivity::MergePartialFromCodedStream(
  22620. ::google::protobuf::io::CodedInputStream* input) {
  22621. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  22622. ::google::protobuf::uint32 tag;
  22623. while ((tag = input->ReadTag()) != 0) {
  22624. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22625. // optional fixed64 steamid = 1;
  22626. case 1: {
  22627. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22628. ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
  22629. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22630. ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
  22631. input, &steamid_)));
  22632. set_has_steamid();
  22633. } else {
  22634. goto handle_uninterpreted;
  22635. }
  22636. if (input->ExpectTag(16)) goto parse_appid;
  22637. break;
  22638. }
  22639. // optional uint32 appid = 2;
  22640. case 2: {
  22641. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22642. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22643. parse_appid:
  22644. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22645. ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
  22646. input, &appid_)));
  22647. set_has_appid();
  22648. } else {
  22649. goto handle_uninterpreted;
  22650. }
  22651. if (input->ExpectTag(26)) goto parse_multiple_instances;
  22652. break;
  22653. }
  22654. // optional .CMsgNotificationOfSuspiciousActivity.MultipleGameInstances multiple_instances = 3;
  22655. case 3: {
  22656. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22657. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  22658. parse_multiple_instances:
  22659. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  22660. input, mutable_multiple_instances()));
  22661. } else {
  22662. goto handle_uninterpreted;
  22663. }
  22664. if (input->ExpectAtEnd()) return true;
  22665. break;
  22666. }
  22667. default: {
  22668. handle_uninterpreted:
  22669. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22670. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22671. return true;
  22672. }
  22673. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22674. input, tag, mutable_unknown_fields()));
  22675. break;
  22676. }
  22677. }
  22678. }
  22679. return true;
  22680. #undef DO_
  22681. }
  22682. void CMsgNotificationOfSuspiciousActivity::SerializeWithCachedSizes(
  22683. ::google::protobuf::io::CodedOutputStream* output) const {
  22684. // optional fixed64 steamid = 1;
  22685. if (has_steamid()) {
  22686. ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->steamid(), output);
  22687. }
  22688. // optional uint32 appid = 2;
  22689. if (has_appid()) {
  22690. ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->appid(), output);
  22691. }
  22692. // optional .CMsgNotificationOfSuspiciousActivity.MultipleGameInstances multiple_instances = 3;
  22693. if (has_multiple_instances()) {
  22694. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  22695. 3, this->multiple_instances(), output);
  22696. }
  22697. if (!unknown_fields().empty()) {
  22698. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  22699. unknown_fields(), output);
  22700. }
  22701. }
  22702. ::google::protobuf::uint8* CMsgNotificationOfSuspiciousActivity::SerializeWithCachedSizesToArray(
  22703. ::google::protobuf::uint8* target) const {
  22704. // optional fixed64 steamid = 1;
  22705. if (has_steamid()) {
  22706. target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->steamid(), target);
  22707. }
  22708. // optional uint32 appid = 2;
  22709. if (has_appid()) {
  22710. target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->appid(), target);
  22711. }
  22712. // optional .CMsgNotificationOfSuspiciousActivity.MultipleGameInstances multiple_instances = 3;
  22713. if (has_multiple_instances()) {
  22714. target = ::google::protobuf::internal::WireFormatLite::
  22715. WriteMessageNoVirtualToArray(
  22716. 3, this->multiple_instances(), target);
  22717. }
  22718. if (!unknown_fields().empty()) {
  22719. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  22720. unknown_fields(), target);
  22721. }
  22722. return target;
  22723. }
  22724. int CMsgNotificationOfSuspiciousActivity::ByteSize() const {
  22725. int total_size = 0;
  22726. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22727. // optional fixed64 steamid = 1;
  22728. if (has_steamid()) {
  22729. total_size += 1 + 8;
  22730. }
  22731. // optional uint32 appid = 2;
  22732. if (has_appid()) {
  22733. total_size += 1 +
  22734. ::google::protobuf::internal::WireFormatLite::UInt32Size(
  22735. this->appid());
  22736. }
  22737. // optional .CMsgNotificationOfSuspiciousActivity.MultipleGameInstances multiple_instances = 3;
  22738. if (has_multiple_instances()) {
  22739. total_size += 1 +
  22740. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  22741. this->multiple_instances());
  22742. }
  22743. }
  22744. if (!unknown_fields().empty()) {
  22745. total_size +=
  22746. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  22747. unknown_fields());
  22748. }
  22749. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22750. _cached_size_ = total_size;
  22751. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22752. return total_size;
  22753. }
  22754. void CMsgNotificationOfSuspiciousActivity::MergeFrom(const ::google::protobuf::Message& from) {
  22755. GOOGLE_CHECK_NE(&from, this);
  22756. const CMsgNotificationOfSuspiciousActivity* source =
  22757. ::google::protobuf::internal::dynamic_cast_if_available<const CMsgNotificationOfSuspiciousActivity*>(
  22758. &from);
  22759. if (source == NULL) {
  22760. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22761. } else {
  22762. MergeFrom(*source);
  22763. }
  22764. }
  22765. void CMsgNotificationOfSuspiciousActivity::MergeFrom(const CMsgNotificationOfSuspiciousActivity& from) {
  22766. GOOGLE_CHECK_NE(&from, this);
  22767. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22768. if (from.has_steamid()) {
  22769. set_steamid(from.steamid());
  22770. }
  22771. if (from.has_appid()) {
  22772. set_appid(from.appid());
  22773. }
  22774. if (from.has_multiple_instances()) {
  22775. mutable_multiple_instances()->::CMsgNotificationOfSuspiciousActivity_MultipleGameInstances::MergeFrom(from.multiple_instances());
  22776. }
  22777. }
  22778. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22779. }
  22780. void CMsgNotificationOfSuspiciousActivity::CopyFrom(const ::google::protobuf::Message& from) {
  22781. if (&from == this) return;
  22782. Clear();
  22783. MergeFrom(from);
  22784. }
  22785. void CMsgNotificationOfSuspiciousActivity::CopyFrom(const CMsgNotificationOfSuspiciousActivity& from) {
  22786. if (&from == this) return;
  22787. Clear();
  22788. MergeFrom(from);
  22789. }
  22790. bool CMsgNotificationOfSuspiciousActivity::IsInitialized() const {
  22791. return true;
  22792. }
  22793. void CMsgNotificationOfSuspiciousActivity::Swap(CMsgNotificationOfSuspiciousActivity* other) {
  22794. if (other != this) {
  22795. std::swap(steamid_, other->steamid_);
  22796. std::swap(appid_, other->appid_);
  22797. std::swap(multiple_instances_, other->multiple_instances_);
  22798. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22799. _unknown_fields_.Swap(&other->_unknown_fields_);
  22800. std::swap(_cached_size_, other->_cached_size_);
  22801. }
  22802. }
  22803. ::google::protobuf::Metadata CMsgNotificationOfSuspiciousActivity::GetMetadata() const {
  22804. protobuf_AssignDescriptorsOnce();
  22805. ::google::protobuf::Metadata metadata;
  22806. metadata.descriptor = CMsgNotificationOfSuspiciousActivity_descriptor_;
  22807. metadata.reflection = CMsgNotificationOfSuspiciousActivity_reflection_;
  22808. return metadata;
  22809. }
  22810. ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
  22811. ::google::protobuf::internal::PrimitiveTypeTraits< bool >, 8, false >
  22812. key_field(kKeyFieldFieldNumber, false);
  22813. ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions,
  22814. ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::int32 >, 5, false >
  22815. msgpool_soft_limit(kMsgpoolSoftLimitFieldNumber, 32);
  22816. ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions,
  22817. ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::int32 >, 5, false >
  22818. msgpool_hard_limit(kMsgpoolHardLimitFieldNumber, 384);
  22819. // @@protoc_insertion_point(namespace_scope)
  22820. // @@protoc_insertion_point(global_scope)