client2world_bind_phone.pb.h 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: client2world_bind_phone.proto
  3. #ifndef PROTOBUF_client2world_5fbind_5fphone_2eproto__INCLUDED
  4. #define PROTOBUF_client2world_5fbind_5fphone_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 2005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/generated_message_util.h>
  18. #include <google/protobuf/message.h>
  19. #include <google/protobuf/repeated_field.h>
  20. #include <google/protobuf/extension_set.h>
  21. #include <google/protobuf/unknown_field_set.h>
  22. #include "client2world_msg_type.pb.h"
  23. #include "msg_type_def.pb.h"
  24. #include "msg_info_def.pb.h"
  25. // @@protoc_insertion_point(includes)
  26. namespace client2world_protocols {
  27. // Internal implementation detail -- do not call these.
  28. void protobuf_AddDesc_client2world_5fbind_5fphone_2eproto();
  29. void protobuf_AssignDesc_client2world_5fbind_5fphone_2eproto();
  30. void protobuf_ShutdownFile_client2world_5fbind_5fphone_2eproto();
  31. class packetc2w_req_bind_phone;
  32. class packetw2c_req_bind_phone_result;
  33. class packetc2w_req_verify_code;
  34. class packetw2c_req_verify_code_result;
  35. class packetc2w_req_verify_id_card;
  36. class packetw2c_req_verify_id_card_result;
  37. // ===================================================================
  38. class packetc2w_req_bind_phone : public ::google::protobuf::Message {
  39. public:
  40. packetc2w_req_bind_phone();
  41. virtual ~packetc2w_req_bind_phone();
  42. packetc2w_req_bind_phone(const packetc2w_req_bind_phone& from);
  43. inline packetc2w_req_bind_phone& operator=(const packetc2w_req_bind_phone& from) {
  44. CopyFrom(from);
  45. return *this;
  46. }
  47. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  48. return _unknown_fields_;
  49. }
  50. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  51. return &_unknown_fields_;
  52. }
  53. static const ::google::protobuf::Descriptor* descriptor();
  54. static const packetc2w_req_bind_phone& default_instance();
  55. void Swap(packetc2w_req_bind_phone* other);
  56. // implements Message ----------------------------------------------
  57. packetc2w_req_bind_phone* New() const;
  58. void CopyFrom(const ::google::protobuf::Message& from);
  59. void MergeFrom(const ::google::protobuf::Message& from);
  60. void CopyFrom(const packetc2w_req_bind_phone& from);
  61. void MergeFrom(const packetc2w_req_bind_phone& from);
  62. void Clear();
  63. bool IsInitialized() const;
  64. int ByteSize() const;
  65. bool MergePartialFromCodedStream(
  66. ::google::protobuf::io::CodedInputStream* input);
  67. void SerializeWithCachedSizes(
  68. ::google::protobuf::io::CodedOutputStream* output) const;
  69. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  70. int GetCachedSize() const { return _cached_size_; }
  71. private:
  72. void SharedCtor();
  73. void SharedDtor();
  74. void SetCachedSize(int size) const;
  75. public:
  76. ::google::protobuf::Metadata GetMetadata() const;
  77. // nested types ----------------------------------------------------
  78. // accessors -------------------------------------------------------
  79. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_bind_phone];
  80. inline bool has_packet_id() const;
  81. inline void clear_packet_id();
  82. static const int kPacketIdFieldNumber = 1;
  83. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  84. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  85. // optional string phone = 2;
  86. inline bool has_phone() const;
  87. inline void clear_phone();
  88. static const int kPhoneFieldNumber = 2;
  89. inline const ::std::string& phone() const;
  90. inline void set_phone(const ::std::string& value);
  91. inline void set_phone(const char* value);
  92. inline void set_phone(const char* value, size_t size);
  93. inline ::std::string* mutable_phone();
  94. inline ::std::string* release_phone();
  95. inline void set_allocated_phone(::std::string* phone);
  96. // optional int32 bindType = 3;
  97. inline bool has_bindtype() const;
  98. inline void clear_bindtype();
  99. static const int kBindTypeFieldNumber = 3;
  100. inline ::google::protobuf::int32 bindtype() const;
  101. inline void set_bindtype(::google::protobuf::int32 value);
  102. // optional string newPwd = 4;
  103. inline bool has_newpwd() const;
  104. inline void clear_newpwd();
  105. static const int kNewPwdFieldNumber = 4;
  106. inline const ::std::string& newpwd() const;
  107. inline void set_newpwd(const ::std::string& value);
  108. inline void set_newpwd(const char* value);
  109. inline void set_newpwd(const char* value, size_t size);
  110. inline ::std::string* mutable_newpwd();
  111. inline ::std::string* release_newpwd();
  112. inline void set_allocated_newpwd(::std::string* newpwd);
  113. // optional string name = 5;
  114. inline bool has_name() const;
  115. inline void clear_name();
  116. static const int kNameFieldNumber = 5;
  117. inline const ::std::string& name() const;
  118. inline void set_name(const ::std::string& value);
  119. inline void set_name(const char* value);
  120. inline void set_name(const char* value, size_t size);
  121. inline ::std::string* mutable_name();
  122. inline ::std::string* release_name();
  123. inline void set_allocated_name(::std::string* name);
  124. // optional string QQ = 6;
  125. inline bool has_qq() const;
  126. inline void clear_qq();
  127. static const int kQQFieldNumber = 6;
  128. inline const ::std::string& qq() const;
  129. inline void set_qq(const ::std::string& value);
  130. inline void set_qq(const char* value);
  131. inline void set_qq(const char* value, size_t size);
  132. inline ::std::string* mutable_qq();
  133. inline ::std::string* release_qq();
  134. inline void set_allocated_qq(::std::string* qq);
  135. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_bind_phone)
  136. private:
  137. inline void set_has_packet_id();
  138. inline void clear_has_packet_id();
  139. inline void set_has_phone();
  140. inline void clear_has_phone();
  141. inline void set_has_bindtype();
  142. inline void clear_has_bindtype();
  143. inline void set_has_newpwd();
  144. inline void clear_has_newpwd();
  145. inline void set_has_name();
  146. inline void clear_has_name();
  147. inline void set_has_qq();
  148. inline void clear_has_qq();
  149. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  150. ::std::string* phone_;
  151. int packet_id_;
  152. ::google::protobuf::int32 bindtype_;
  153. ::std::string* newpwd_;
  154. ::std::string* name_;
  155. ::std::string* qq_;
  156. mutable int _cached_size_;
  157. ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
  158. friend void protobuf_AddDesc_client2world_5fbind_5fphone_2eproto();
  159. friend void protobuf_AssignDesc_client2world_5fbind_5fphone_2eproto();
  160. friend void protobuf_ShutdownFile_client2world_5fbind_5fphone_2eproto();
  161. void InitAsDefaultInstance();
  162. static packetc2w_req_bind_phone* default_instance_;
  163. };
  164. // -------------------------------------------------------------------
  165. class packetw2c_req_bind_phone_result : public ::google::protobuf::Message {
  166. public:
  167. packetw2c_req_bind_phone_result();
  168. virtual ~packetw2c_req_bind_phone_result();
  169. packetw2c_req_bind_phone_result(const packetw2c_req_bind_phone_result& from);
  170. inline packetw2c_req_bind_phone_result& operator=(const packetw2c_req_bind_phone_result& from) {
  171. CopyFrom(from);
  172. return *this;
  173. }
  174. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  175. return _unknown_fields_;
  176. }
  177. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  178. return &_unknown_fields_;
  179. }
  180. static const ::google::protobuf::Descriptor* descriptor();
  181. static const packetw2c_req_bind_phone_result& default_instance();
  182. void Swap(packetw2c_req_bind_phone_result* other);
  183. // implements Message ----------------------------------------------
  184. packetw2c_req_bind_phone_result* New() const;
  185. void CopyFrom(const ::google::protobuf::Message& from);
  186. void MergeFrom(const ::google::protobuf::Message& from);
  187. void CopyFrom(const packetw2c_req_bind_phone_result& from);
  188. void MergeFrom(const packetw2c_req_bind_phone_result& from);
  189. void Clear();
  190. bool IsInitialized() const;
  191. int ByteSize() const;
  192. bool MergePartialFromCodedStream(
  193. ::google::protobuf::io::CodedInputStream* input);
  194. void SerializeWithCachedSizes(
  195. ::google::protobuf::io::CodedOutputStream* output) const;
  196. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  197. int GetCachedSize() const { return _cached_size_; }
  198. private:
  199. void SharedCtor();
  200. void SharedDtor();
  201. void SetCachedSize(int size) const;
  202. public:
  203. ::google::protobuf::Metadata GetMetadata() const;
  204. // nested types ----------------------------------------------------
  205. // accessors -------------------------------------------------------
  206. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_bind_phone_result];
  207. inline bool has_packet_id() const;
  208. inline void clear_packet_id();
  209. static const int kPacketIdFieldNumber = 1;
  210. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  211. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  212. // optional int32 result = 2;
  213. inline bool has_result() const;
  214. inline void clear_result();
  215. static const int kResultFieldNumber = 2;
  216. inline ::google::protobuf::int32 result() const;
  217. inline void set_result(::google::protobuf::int32 value);
  218. // optional int32 bindType = 3;
  219. inline bool has_bindtype() const;
  220. inline void clear_bindtype();
  221. static const int kBindTypeFieldNumber = 3;
  222. inline ::google::protobuf::int32 bindtype() const;
  223. inline void set_bindtype(::google::protobuf::int32 value);
  224. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_bind_phone_result)
  225. private:
  226. inline void set_has_packet_id();
  227. inline void clear_has_packet_id();
  228. inline void set_has_result();
  229. inline void clear_has_result();
  230. inline void set_has_bindtype();
  231. inline void clear_has_bindtype();
  232. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  233. int packet_id_;
  234. ::google::protobuf::int32 result_;
  235. ::google::protobuf::int32 bindtype_;
  236. mutable int _cached_size_;
  237. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  238. friend void protobuf_AddDesc_client2world_5fbind_5fphone_2eproto();
  239. friend void protobuf_AssignDesc_client2world_5fbind_5fphone_2eproto();
  240. friend void protobuf_ShutdownFile_client2world_5fbind_5fphone_2eproto();
  241. void InitAsDefaultInstance();
  242. static packetw2c_req_bind_phone_result* default_instance_;
  243. };
  244. // -------------------------------------------------------------------
  245. class packetc2w_req_verify_code : public ::google::protobuf::Message {
  246. public:
  247. packetc2w_req_verify_code();
  248. virtual ~packetc2w_req_verify_code();
  249. packetc2w_req_verify_code(const packetc2w_req_verify_code& from);
  250. inline packetc2w_req_verify_code& operator=(const packetc2w_req_verify_code& from) {
  251. CopyFrom(from);
  252. return *this;
  253. }
  254. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  255. return _unknown_fields_;
  256. }
  257. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  258. return &_unknown_fields_;
  259. }
  260. static const ::google::protobuf::Descriptor* descriptor();
  261. static const packetc2w_req_verify_code& default_instance();
  262. void Swap(packetc2w_req_verify_code* other);
  263. // implements Message ----------------------------------------------
  264. packetc2w_req_verify_code* New() const;
  265. void CopyFrom(const ::google::protobuf::Message& from);
  266. void MergeFrom(const ::google::protobuf::Message& from);
  267. void CopyFrom(const packetc2w_req_verify_code& from);
  268. void MergeFrom(const packetc2w_req_verify_code& from);
  269. void Clear();
  270. bool IsInitialized() const;
  271. int ByteSize() const;
  272. bool MergePartialFromCodedStream(
  273. ::google::protobuf::io::CodedInputStream* input);
  274. void SerializeWithCachedSizes(
  275. ::google::protobuf::io::CodedOutputStream* output) const;
  276. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  277. int GetCachedSize() const { return _cached_size_; }
  278. private:
  279. void SharedCtor();
  280. void SharedDtor();
  281. void SetCachedSize(int size) const;
  282. public:
  283. ::google::protobuf::Metadata GetMetadata() const;
  284. // nested types ----------------------------------------------------
  285. // accessors -------------------------------------------------------
  286. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_verify_code];
  287. inline bool has_packet_id() const;
  288. inline void clear_packet_id();
  289. static const int kPacketIdFieldNumber = 1;
  290. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  291. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  292. // optional string code = 2;
  293. inline bool has_code() const;
  294. inline void clear_code();
  295. static const int kCodeFieldNumber = 2;
  296. inline const ::std::string& code() const;
  297. inline void set_code(const ::std::string& value);
  298. inline void set_code(const char* value);
  299. inline void set_code(const char* value, size_t size);
  300. inline ::std::string* mutable_code();
  301. inline ::std::string* release_code();
  302. inline void set_allocated_code(::std::string* code);
  303. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_verify_code)
  304. private:
  305. inline void set_has_packet_id();
  306. inline void clear_has_packet_id();
  307. inline void set_has_code();
  308. inline void clear_has_code();
  309. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  310. ::std::string* code_;
  311. int packet_id_;
  312. mutable int _cached_size_;
  313. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  314. friend void protobuf_AddDesc_client2world_5fbind_5fphone_2eproto();
  315. friend void protobuf_AssignDesc_client2world_5fbind_5fphone_2eproto();
  316. friend void protobuf_ShutdownFile_client2world_5fbind_5fphone_2eproto();
  317. void InitAsDefaultInstance();
  318. static packetc2w_req_verify_code* default_instance_;
  319. };
  320. // -------------------------------------------------------------------
  321. class packetw2c_req_verify_code_result : public ::google::protobuf::Message {
  322. public:
  323. packetw2c_req_verify_code_result();
  324. virtual ~packetw2c_req_verify_code_result();
  325. packetw2c_req_verify_code_result(const packetw2c_req_verify_code_result& from);
  326. inline packetw2c_req_verify_code_result& operator=(const packetw2c_req_verify_code_result& from) {
  327. CopyFrom(from);
  328. return *this;
  329. }
  330. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  331. return _unknown_fields_;
  332. }
  333. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  334. return &_unknown_fields_;
  335. }
  336. static const ::google::protobuf::Descriptor* descriptor();
  337. static const packetw2c_req_verify_code_result& default_instance();
  338. void Swap(packetw2c_req_verify_code_result* other);
  339. // implements Message ----------------------------------------------
  340. packetw2c_req_verify_code_result* New() const;
  341. void CopyFrom(const ::google::protobuf::Message& from);
  342. void MergeFrom(const ::google::protobuf::Message& from);
  343. void CopyFrom(const packetw2c_req_verify_code_result& from);
  344. void MergeFrom(const packetw2c_req_verify_code_result& from);
  345. void Clear();
  346. bool IsInitialized() const;
  347. int ByteSize() const;
  348. bool MergePartialFromCodedStream(
  349. ::google::protobuf::io::CodedInputStream* input);
  350. void SerializeWithCachedSizes(
  351. ::google::protobuf::io::CodedOutputStream* output) const;
  352. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  353. int GetCachedSize() const { return _cached_size_; }
  354. private:
  355. void SharedCtor();
  356. void SharedDtor();
  357. void SetCachedSize(int size) const;
  358. public:
  359. ::google::protobuf::Metadata GetMetadata() const;
  360. // nested types ----------------------------------------------------
  361. // accessors -------------------------------------------------------
  362. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_verify_code_result];
  363. inline bool has_packet_id() const;
  364. inline void clear_packet_id();
  365. static const int kPacketIdFieldNumber = 1;
  366. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  367. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  368. // optional int32 result = 2;
  369. inline bool has_result() const;
  370. inline void clear_result();
  371. static const int kResultFieldNumber = 2;
  372. inline ::google::protobuf::int32 result() const;
  373. inline void set_result(::google::protobuf::int32 value);
  374. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_verify_code_result)
  375. private:
  376. inline void set_has_packet_id();
  377. inline void clear_has_packet_id();
  378. inline void set_has_result();
  379. inline void clear_has_result();
  380. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  381. int packet_id_;
  382. ::google::protobuf::int32 result_;
  383. mutable int _cached_size_;
  384. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  385. friend void protobuf_AddDesc_client2world_5fbind_5fphone_2eproto();
  386. friend void protobuf_AssignDesc_client2world_5fbind_5fphone_2eproto();
  387. friend void protobuf_ShutdownFile_client2world_5fbind_5fphone_2eproto();
  388. void InitAsDefaultInstance();
  389. static packetw2c_req_verify_code_result* default_instance_;
  390. };
  391. // -------------------------------------------------------------------
  392. class packetc2w_req_verify_id_card : public ::google::protobuf::Message {
  393. public:
  394. packetc2w_req_verify_id_card();
  395. virtual ~packetc2w_req_verify_id_card();
  396. packetc2w_req_verify_id_card(const packetc2w_req_verify_id_card& from);
  397. inline packetc2w_req_verify_id_card& operator=(const packetc2w_req_verify_id_card& from) {
  398. CopyFrom(from);
  399. return *this;
  400. }
  401. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  402. return _unknown_fields_;
  403. }
  404. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  405. return &_unknown_fields_;
  406. }
  407. static const ::google::protobuf::Descriptor* descriptor();
  408. static const packetc2w_req_verify_id_card& default_instance();
  409. void Swap(packetc2w_req_verify_id_card* other);
  410. // implements Message ----------------------------------------------
  411. packetc2w_req_verify_id_card* New() const;
  412. void CopyFrom(const ::google::protobuf::Message& from);
  413. void MergeFrom(const ::google::protobuf::Message& from);
  414. void CopyFrom(const packetc2w_req_verify_id_card& from);
  415. void MergeFrom(const packetc2w_req_verify_id_card& from);
  416. void Clear();
  417. bool IsInitialized() const;
  418. int ByteSize() const;
  419. bool MergePartialFromCodedStream(
  420. ::google::protobuf::io::CodedInputStream* input);
  421. void SerializeWithCachedSizes(
  422. ::google::protobuf::io::CodedOutputStream* output) const;
  423. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  424. int GetCachedSize() const { return _cached_size_; }
  425. private:
  426. void SharedCtor();
  427. void SharedDtor();
  428. void SetCachedSize(int size) const;
  429. public:
  430. ::google::protobuf::Metadata GetMetadata() const;
  431. // nested types ----------------------------------------------------
  432. // accessors -------------------------------------------------------
  433. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_verify_id_card];
  434. inline bool has_packet_id() const;
  435. inline void clear_packet_id();
  436. static const int kPacketIdFieldNumber = 1;
  437. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  438. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  439. // optional string name = 2;
  440. inline bool has_name() const;
  441. inline void clear_name();
  442. static const int kNameFieldNumber = 2;
  443. inline const ::std::string& name() const;
  444. inline void set_name(const ::std::string& value);
  445. inline void set_name(const char* value);
  446. inline void set_name(const char* value, size_t size);
  447. inline ::std::string* mutable_name();
  448. inline ::std::string* release_name();
  449. inline void set_allocated_name(::std::string* name);
  450. // optional string idnumber = 3;
  451. inline bool has_idnumber() const;
  452. inline void clear_idnumber();
  453. static const int kIdnumberFieldNumber = 3;
  454. inline const ::std::string& idnumber() const;
  455. inline void set_idnumber(const ::std::string& value);
  456. inline void set_idnumber(const char* value);
  457. inline void set_idnumber(const char* value, size_t size);
  458. inline ::std::string* mutable_idnumber();
  459. inline ::std::string* release_idnumber();
  460. inline void set_allocated_idnumber(::std::string* idnumber);
  461. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_verify_id_card)
  462. private:
  463. inline void set_has_packet_id();
  464. inline void clear_has_packet_id();
  465. inline void set_has_name();
  466. inline void clear_has_name();
  467. inline void set_has_idnumber();
  468. inline void clear_has_idnumber();
  469. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  470. ::std::string* name_;
  471. ::std::string* idnumber_;
  472. int packet_id_;
  473. mutable int _cached_size_;
  474. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  475. friend void protobuf_AddDesc_client2world_5fbind_5fphone_2eproto();
  476. friend void protobuf_AssignDesc_client2world_5fbind_5fphone_2eproto();
  477. friend void protobuf_ShutdownFile_client2world_5fbind_5fphone_2eproto();
  478. void InitAsDefaultInstance();
  479. static packetc2w_req_verify_id_card* default_instance_;
  480. };
  481. // -------------------------------------------------------------------
  482. class packetw2c_req_verify_id_card_result : public ::google::protobuf::Message {
  483. public:
  484. packetw2c_req_verify_id_card_result();
  485. virtual ~packetw2c_req_verify_id_card_result();
  486. packetw2c_req_verify_id_card_result(const packetw2c_req_verify_id_card_result& from);
  487. inline packetw2c_req_verify_id_card_result& operator=(const packetw2c_req_verify_id_card_result& from) {
  488. CopyFrom(from);
  489. return *this;
  490. }
  491. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  492. return _unknown_fields_;
  493. }
  494. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  495. return &_unknown_fields_;
  496. }
  497. static const ::google::protobuf::Descriptor* descriptor();
  498. static const packetw2c_req_verify_id_card_result& default_instance();
  499. void Swap(packetw2c_req_verify_id_card_result* other);
  500. // implements Message ----------------------------------------------
  501. packetw2c_req_verify_id_card_result* New() const;
  502. void CopyFrom(const ::google::protobuf::Message& from);
  503. void MergeFrom(const ::google::protobuf::Message& from);
  504. void CopyFrom(const packetw2c_req_verify_id_card_result& from);
  505. void MergeFrom(const packetw2c_req_verify_id_card_result& from);
  506. void Clear();
  507. bool IsInitialized() const;
  508. int ByteSize() const;
  509. bool MergePartialFromCodedStream(
  510. ::google::protobuf::io::CodedInputStream* input);
  511. void SerializeWithCachedSizes(
  512. ::google::protobuf::io::CodedOutputStream* output) const;
  513. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  514. int GetCachedSize() const { return _cached_size_; }
  515. private:
  516. void SharedCtor();
  517. void SharedDtor();
  518. void SetCachedSize(int size) const;
  519. public:
  520. ::google::protobuf::Metadata GetMetadata() const;
  521. // nested types ----------------------------------------------------
  522. // accessors -------------------------------------------------------
  523. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_verify_id_card_result];
  524. inline bool has_packet_id() const;
  525. inline void clear_packet_id();
  526. static const int kPacketIdFieldNumber = 1;
  527. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  528. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  529. // optional int32 result = 2;
  530. inline bool has_result() const;
  531. inline void clear_result();
  532. static const int kResultFieldNumber = 2;
  533. inline ::google::protobuf::int32 result() const;
  534. inline void set_result(::google::protobuf::int32 value);
  535. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_verify_id_card_result)
  536. private:
  537. inline void set_has_packet_id();
  538. inline void clear_has_packet_id();
  539. inline void set_has_result();
  540. inline void clear_has_result();
  541. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  542. int packet_id_;
  543. ::google::protobuf::int32 result_;
  544. mutable int _cached_size_;
  545. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  546. friend void protobuf_AddDesc_client2world_5fbind_5fphone_2eproto();
  547. friend void protobuf_AssignDesc_client2world_5fbind_5fphone_2eproto();
  548. friend void protobuf_ShutdownFile_client2world_5fbind_5fphone_2eproto();
  549. void InitAsDefaultInstance();
  550. static packetw2c_req_verify_id_card_result* default_instance_;
  551. };
  552. // ===================================================================
  553. // ===================================================================
  554. // packetc2w_req_bind_phone
  555. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_bind_phone];
  556. inline bool packetc2w_req_bind_phone::has_packet_id() const {
  557. return (_has_bits_[0] & 0x00000001u) != 0;
  558. }
  559. inline void packetc2w_req_bind_phone::set_has_packet_id() {
  560. _has_bits_[0] |= 0x00000001u;
  561. }
  562. inline void packetc2w_req_bind_phone::clear_has_packet_id() {
  563. _has_bits_[0] &= ~0x00000001u;
  564. }
  565. inline void packetc2w_req_bind_phone::clear_packet_id() {
  566. packet_id_ = 5039;
  567. clear_has_packet_id();
  568. }
  569. inline ::client2world_protocols::e_server_msg_type packetc2w_req_bind_phone::packet_id() const {
  570. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  571. }
  572. inline void packetc2w_req_bind_phone::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  573. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  574. set_has_packet_id();
  575. packet_id_ = value;
  576. }
  577. // optional string phone = 2;
  578. inline bool packetc2w_req_bind_phone::has_phone() const {
  579. return (_has_bits_[0] & 0x00000002u) != 0;
  580. }
  581. inline void packetc2w_req_bind_phone::set_has_phone() {
  582. _has_bits_[0] |= 0x00000002u;
  583. }
  584. inline void packetc2w_req_bind_phone::clear_has_phone() {
  585. _has_bits_[0] &= ~0x00000002u;
  586. }
  587. inline void packetc2w_req_bind_phone::clear_phone() {
  588. if (phone_ != &::google::protobuf::internal::kEmptyString) {
  589. phone_->clear();
  590. }
  591. clear_has_phone();
  592. }
  593. inline const ::std::string& packetc2w_req_bind_phone::phone() const {
  594. return *phone_;
  595. }
  596. inline void packetc2w_req_bind_phone::set_phone(const ::std::string& value) {
  597. set_has_phone();
  598. if (phone_ == &::google::protobuf::internal::kEmptyString) {
  599. phone_ = new ::std::string;
  600. }
  601. phone_->assign(value);
  602. }
  603. inline void packetc2w_req_bind_phone::set_phone(const char* value) {
  604. set_has_phone();
  605. if (phone_ == &::google::protobuf::internal::kEmptyString) {
  606. phone_ = new ::std::string;
  607. }
  608. phone_->assign(value);
  609. }
  610. inline void packetc2w_req_bind_phone::set_phone(const char* value, size_t size) {
  611. set_has_phone();
  612. if (phone_ == &::google::protobuf::internal::kEmptyString) {
  613. phone_ = new ::std::string;
  614. }
  615. phone_->assign(reinterpret_cast<const char*>(value), size);
  616. }
  617. inline ::std::string* packetc2w_req_bind_phone::mutable_phone() {
  618. set_has_phone();
  619. if (phone_ == &::google::protobuf::internal::kEmptyString) {
  620. phone_ = new ::std::string;
  621. }
  622. return phone_;
  623. }
  624. inline ::std::string* packetc2w_req_bind_phone::release_phone() {
  625. clear_has_phone();
  626. if (phone_ == &::google::protobuf::internal::kEmptyString) {
  627. return NULL;
  628. } else {
  629. ::std::string* temp = phone_;
  630. phone_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  631. return temp;
  632. }
  633. }
  634. inline void packetc2w_req_bind_phone::set_allocated_phone(::std::string* phone) {
  635. if (phone_ != &::google::protobuf::internal::kEmptyString) {
  636. delete phone_;
  637. }
  638. if (phone) {
  639. set_has_phone();
  640. phone_ = phone;
  641. } else {
  642. clear_has_phone();
  643. phone_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  644. }
  645. }
  646. // optional int32 bindType = 3;
  647. inline bool packetc2w_req_bind_phone::has_bindtype() const {
  648. return (_has_bits_[0] & 0x00000004u) != 0;
  649. }
  650. inline void packetc2w_req_bind_phone::set_has_bindtype() {
  651. _has_bits_[0] |= 0x00000004u;
  652. }
  653. inline void packetc2w_req_bind_phone::clear_has_bindtype() {
  654. _has_bits_[0] &= ~0x00000004u;
  655. }
  656. inline void packetc2w_req_bind_phone::clear_bindtype() {
  657. bindtype_ = 0;
  658. clear_has_bindtype();
  659. }
  660. inline ::google::protobuf::int32 packetc2w_req_bind_phone::bindtype() const {
  661. return bindtype_;
  662. }
  663. inline void packetc2w_req_bind_phone::set_bindtype(::google::protobuf::int32 value) {
  664. set_has_bindtype();
  665. bindtype_ = value;
  666. }
  667. // optional string newPwd = 4;
  668. inline bool packetc2w_req_bind_phone::has_newpwd() const {
  669. return (_has_bits_[0] & 0x00000008u) != 0;
  670. }
  671. inline void packetc2w_req_bind_phone::set_has_newpwd() {
  672. _has_bits_[0] |= 0x00000008u;
  673. }
  674. inline void packetc2w_req_bind_phone::clear_has_newpwd() {
  675. _has_bits_[0] &= ~0x00000008u;
  676. }
  677. inline void packetc2w_req_bind_phone::clear_newpwd() {
  678. if (newpwd_ != &::google::protobuf::internal::kEmptyString) {
  679. newpwd_->clear();
  680. }
  681. clear_has_newpwd();
  682. }
  683. inline const ::std::string& packetc2w_req_bind_phone::newpwd() const {
  684. return *newpwd_;
  685. }
  686. inline void packetc2w_req_bind_phone::set_newpwd(const ::std::string& value) {
  687. set_has_newpwd();
  688. if (newpwd_ == &::google::protobuf::internal::kEmptyString) {
  689. newpwd_ = new ::std::string;
  690. }
  691. newpwd_->assign(value);
  692. }
  693. inline void packetc2w_req_bind_phone::set_newpwd(const char* value) {
  694. set_has_newpwd();
  695. if (newpwd_ == &::google::protobuf::internal::kEmptyString) {
  696. newpwd_ = new ::std::string;
  697. }
  698. newpwd_->assign(value);
  699. }
  700. inline void packetc2w_req_bind_phone::set_newpwd(const char* value, size_t size) {
  701. set_has_newpwd();
  702. if (newpwd_ == &::google::protobuf::internal::kEmptyString) {
  703. newpwd_ = new ::std::string;
  704. }
  705. newpwd_->assign(reinterpret_cast<const char*>(value), size);
  706. }
  707. inline ::std::string* packetc2w_req_bind_phone::mutable_newpwd() {
  708. set_has_newpwd();
  709. if (newpwd_ == &::google::protobuf::internal::kEmptyString) {
  710. newpwd_ = new ::std::string;
  711. }
  712. return newpwd_;
  713. }
  714. inline ::std::string* packetc2w_req_bind_phone::release_newpwd() {
  715. clear_has_newpwd();
  716. if (newpwd_ == &::google::protobuf::internal::kEmptyString) {
  717. return NULL;
  718. } else {
  719. ::std::string* temp = newpwd_;
  720. newpwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  721. return temp;
  722. }
  723. }
  724. inline void packetc2w_req_bind_phone::set_allocated_newpwd(::std::string* newpwd) {
  725. if (newpwd_ != &::google::protobuf::internal::kEmptyString) {
  726. delete newpwd_;
  727. }
  728. if (newpwd) {
  729. set_has_newpwd();
  730. newpwd_ = newpwd;
  731. } else {
  732. clear_has_newpwd();
  733. newpwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  734. }
  735. }
  736. // optional string name = 5;
  737. inline bool packetc2w_req_bind_phone::has_name() const {
  738. return (_has_bits_[0] & 0x00000010u) != 0;
  739. }
  740. inline void packetc2w_req_bind_phone::set_has_name() {
  741. _has_bits_[0] |= 0x00000010u;
  742. }
  743. inline void packetc2w_req_bind_phone::clear_has_name() {
  744. _has_bits_[0] &= ~0x00000010u;
  745. }
  746. inline void packetc2w_req_bind_phone::clear_name() {
  747. if (name_ != &::google::protobuf::internal::kEmptyString) {
  748. name_->clear();
  749. }
  750. clear_has_name();
  751. }
  752. inline const ::std::string& packetc2w_req_bind_phone::name() const {
  753. return *name_;
  754. }
  755. inline void packetc2w_req_bind_phone::set_name(const ::std::string& value) {
  756. set_has_name();
  757. if (name_ == &::google::protobuf::internal::kEmptyString) {
  758. name_ = new ::std::string;
  759. }
  760. name_->assign(value);
  761. }
  762. inline void packetc2w_req_bind_phone::set_name(const char* value) {
  763. set_has_name();
  764. if (name_ == &::google::protobuf::internal::kEmptyString) {
  765. name_ = new ::std::string;
  766. }
  767. name_->assign(value);
  768. }
  769. inline void packetc2w_req_bind_phone::set_name(const char* value, size_t size) {
  770. set_has_name();
  771. if (name_ == &::google::protobuf::internal::kEmptyString) {
  772. name_ = new ::std::string;
  773. }
  774. name_->assign(reinterpret_cast<const char*>(value), size);
  775. }
  776. inline ::std::string* packetc2w_req_bind_phone::mutable_name() {
  777. set_has_name();
  778. if (name_ == &::google::protobuf::internal::kEmptyString) {
  779. name_ = new ::std::string;
  780. }
  781. return name_;
  782. }
  783. inline ::std::string* packetc2w_req_bind_phone::release_name() {
  784. clear_has_name();
  785. if (name_ == &::google::protobuf::internal::kEmptyString) {
  786. return NULL;
  787. } else {
  788. ::std::string* temp = name_;
  789. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  790. return temp;
  791. }
  792. }
  793. inline void packetc2w_req_bind_phone::set_allocated_name(::std::string* name) {
  794. if (name_ != &::google::protobuf::internal::kEmptyString) {
  795. delete name_;
  796. }
  797. if (name) {
  798. set_has_name();
  799. name_ = name;
  800. } else {
  801. clear_has_name();
  802. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  803. }
  804. }
  805. // optional string QQ = 6;
  806. inline bool packetc2w_req_bind_phone::has_qq() const {
  807. return (_has_bits_[0] & 0x00000020u) != 0;
  808. }
  809. inline void packetc2w_req_bind_phone::set_has_qq() {
  810. _has_bits_[0] |= 0x00000020u;
  811. }
  812. inline void packetc2w_req_bind_phone::clear_has_qq() {
  813. _has_bits_[0] &= ~0x00000020u;
  814. }
  815. inline void packetc2w_req_bind_phone::clear_qq() {
  816. if (qq_ != &::google::protobuf::internal::kEmptyString) {
  817. qq_->clear();
  818. }
  819. clear_has_qq();
  820. }
  821. inline const ::std::string& packetc2w_req_bind_phone::qq() const {
  822. return *qq_;
  823. }
  824. inline void packetc2w_req_bind_phone::set_qq(const ::std::string& value) {
  825. set_has_qq();
  826. if (qq_ == &::google::protobuf::internal::kEmptyString) {
  827. qq_ = new ::std::string;
  828. }
  829. qq_->assign(value);
  830. }
  831. inline void packetc2w_req_bind_phone::set_qq(const char* value) {
  832. set_has_qq();
  833. if (qq_ == &::google::protobuf::internal::kEmptyString) {
  834. qq_ = new ::std::string;
  835. }
  836. qq_->assign(value);
  837. }
  838. inline void packetc2w_req_bind_phone::set_qq(const char* value, size_t size) {
  839. set_has_qq();
  840. if (qq_ == &::google::protobuf::internal::kEmptyString) {
  841. qq_ = new ::std::string;
  842. }
  843. qq_->assign(reinterpret_cast<const char*>(value), size);
  844. }
  845. inline ::std::string* packetc2w_req_bind_phone::mutable_qq() {
  846. set_has_qq();
  847. if (qq_ == &::google::protobuf::internal::kEmptyString) {
  848. qq_ = new ::std::string;
  849. }
  850. return qq_;
  851. }
  852. inline ::std::string* packetc2w_req_bind_phone::release_qq() {
  853. clear_has_qq();
  854. if (qq_ == &::google::protobuf::internal::kEmptyString) {
  855. return NULL;
  856. } else {
  857. ::std::string* temp = qq_;
  858. qq_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  859. return temp;
  860. }
  861. }
  862. inline void packetc2w_req_bind_phone::set_allocated_qq(::std::string* qq) {
  863. if (qq_ != &::google::protobuf::internal::kEmptyString) {
  864. delete qq_;
  865. }
  866. if (qq) {
  867. set_has_qq();
  868. qq_ = qq;
  869. } else {
  870. clear_has_qq();
  871. qq_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  872. }
  873. }
  874. // -------------------------------------------------------------------
  875. // packetw2c_req_bind_phone_result
  876. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_bind_phone_result];
  877. inline bool packetw2c_req_bind_phone_result::has_packet_id() const {
  878. return (_has_bits_[0] & 0x00000001u) != 0;
  879. }
  880. inline void packetw2c_req_bind_phone_result::set_has_packet_id() {
  881. _has_bits_[0] |= 0x00000001u;
  882. }
  883. inline void packetw2c_req_bind_phone_result::clear_has_packet_id() {
  884. _has_bits_[0] &= ~0x00000001u;
  885. }
  886. inline void packetw2c_req_bind_phone_result::clear_packet_id() {
  887. packet_id_ = 7542;
  888. clear_has_packet_id();
  889. }
  890. inline ::client2world_protocols::e_server_msg_type packetw2c_req_bind_phone_result::packet_id() const {
  891. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  892. }
  893. inline void packetw2c_req_bind_phone_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  894. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  895. set_has_packet_id();
  896. packet_id_ = value;
  897. }
  898. // optional int32 result = 2;
  899. inline bool packetw2c_req_bind_phone_result::has_result() const {
  900. return (_has_bits_[0] & 0x00000002u) != 0;
  901. }
  902. inline void packetw2c_req_bind_phone_result::set_has_result() {
  903. _has_bits_[0] |= 0x00000002u;
  904. }
  905. inline void packetw2c_req_bind_phone_result::clear_has_result() {
  906. _has_bits_[0] &= ~0x00000002u;
  907. }
  908. inline void packetw2c_req_bind_phone_result::clear_result() {
  909. result_ = 0;
  910. clear_has_result();
  911. }
  912. inline ::google::protobuf::int32 packetw2c_req_bind_phone_result::result() const {
  913. return result_;
  914. }
  915. inline void packetw2c_req_bind_phone_result::set_result(::google::protobuf::int32 value) {
  916. set_has_result();
  917. result_ = value;
  918. }
  919. // optional int32 bindType = 3;
  920. inline bool packetw2c_req_bind_phone_result::has_bindtype() const {
  921. return (_has_bits_[0] & 0x00000004u) != 0;
  922. }
  923. inline void packetw2c_req_bind_phone_result::set_has_bindtype() {
  924. _has_bits_[0] |= 0x00000004u;
  925. }
  926. inline void packetw2c_req_bind_phone_result::clear_has_bindtype() {
  927. _has_bits_[0] &= ~0x00000004u;
  928. }
  929. inline void packetw2c_req_bind_phone_result::clear_bindtype() {
  930. bindtype_ = 0;
  931. clear_has_bindtype();
  932. }
  933. inline ::google::protobuf::int32 packetw2c_req_bind_phone_result::bindtype() const {
  934. return bindtype_;
  935. }
  936. inline void packetw2c_req_bind_phone_result::set_bindtype(::google::protobuf::int32 value) {
  937. set_has_bindtype();
  938. bindtype_ = value;
  939. }
  940. // -------------------------------------------------------------------
  941. // packetc2w_req_verify_code
  942. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_verify_code];
  943. inline bool packetc2w_req_verify_code::has_packet_id() const {
  944. return (_has_bits_[0] & 0x00000001u) != 0;
  945. }
  946. inline void packetc2w_req_verify_code::set_has_packet_id() {
  947. _has_bits_[0] |= 0x00000001u;
  948. }
  949. inline void packetc2w_req_verify_code::clear_has_packet_id() {
  950. _has_bits_[0] &= ~0x00000001u;
  951. }
  952. inline void packetc2w_req_verify_code::clear_packet_id() {
  953. packet_id_ = 5040;
  954. clear_has_packet_id();
  955. }
  956. inline ::client2world_protocols::e_server_msg_type packetc2w_req_verify_code::packet_id() const {
  957. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  958. }
  959. inline void packetc2w_req_verify_code::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  960. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  961. set_has_packet_id();
  962. packet_id_ = value;
  963. }
  964. // optional string code = 2;
  965. inline bool packetc2w_req_verify_code::has_code() const {
  966. return (_has_bits_[0] & 0x00000002u) != 0;
  967. }
  968. inline void packetc2w_req_verify_code::set_has_code() {
  969. _has_bits_[0] |= 0x00000002u;
  970. }
  971. inline void packetc2w_req_verify_code::clear_has_code() {
  972. _has_bits_[0] &= ~0x00000002u;
  973. }
  974. inline void packetc2w_req_verify_code::clear_code() {
  975. if (code_ != &::google::protobuf::internal::kEmptyString) {
  976. code_->clear();
  977. }
  978. clear_has_code();
  979. }
  980. inline const ::std::string& packetc2w_req_verify_code::code() const {
  981. return *code_;
  982. }
  983. inline void packetc2w_req_verify_code::set_code(const ::std::string& value) {
  984. set_has_code();
  985. if (code_ == &::google::protobuf::internal::kEmptyString) {
  986. code_ = new ::std::string;
  987. }
  988. code_->assign(value);
  989. }
  990. inline void packetc2w_req_verify_code::set_code(const char* value) {
  991. set_has_code();
  992. if (code_ == &::google::protobuf::internal::kEmptyString) {
  993. code_ = new ::std::string;
  994. }
  995. code_->assign(value);
  996. }
  997. inline void packetc2w_req_verify_code::set_code(const char* value, size_t size) {
  998. set_has_code();
  999. if (code_ == &::google::protobuf::internal::kEmptyString) {
  1000. code_ = new ::std::string;
  1001. }
  1002. code_->assign(reinterpret_cast<const char*>(value), size);
  1003. }
  1004. inline ::std::string* packetc2w_req_verify_code::mutable_code() {
  1005. set_has_code();
  1006. if (code_ == &::google::protobuf::internal::kEmptyString) {
  1007. code_ = new ::std::string;
  1008. }
  1009. return code_;
  1010. }
  1011. inline ::std::string* packetc2w_req_verify_code::release_code() {
  1012. clear_has_code();
  1013. if (code_ == &::google::protobuf::internal::kEmptyString) {
  1014. return NULL;
  1015. } else {
  1016. ::std::string* temp = code_;
  1017. code_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1018. return temp;
  1019. }
  1020. }
  1021. inline void packetc2w_req_verify_code::set_allocated_code(::std::string* code) {
  1022. if (code_ != &::google::protobuf::internal::kEmptyString) {
  1023. delete code_;
  1024. }
  1025. if (code) {
  1026. set_has_code();
  1027. code_ = code;
  1028. } else {
  1029. clear_has_code();
  1030. code_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1031. }
  1032. }
  1033. // -------------------------------------------------------------------
  1034. // packetw2c_req_verify_code_result
  1035. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_verify_code_result];
  1036. inline bool packetw2c_req_verify_code_result::has_packet_id() const {
  1037. return (_has_bits_[0] & 0x00000001u) != 0;
  1038. }
  1039. inline void packetw2c_req_verify_code_result::set_has_packet_id() {
  1040. _has_bits_[0] |= 0x00000001u;
  1041. }
  1042. inline void packetw2c_req_verify_code_result::clear_has_packet_id() {
  1043. _has_bits_[0] &= ~0x00000001u;
  1044. }
  1045. inline void packetw2c_req_verify_code_result::clear_packet_id() {
  1046. packet_id_ = 7543;
  1047. clear_has_packet_id();
  1048. }
  1049. inline ::client2world_protocols::e_server_msg_type packetw2c_req_verify_code_result::packet_id() const {
  1050. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  1051. }
  1052. inline void packetw2c_req_verify_code_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  1053. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  1054. set_has_packet_id();
  1055. packet_id_ = value;
  1056. }
  1057. // optional int32 result = 2;
  1058. inline bool packetw2c_req_verify_code_result::has_result() const {
  1059. return (_has_bits_[0] & 0x00000002u) != 0;
  1060. }
  1061. inline void packetw2c_req_verify_code_result::set_has_result() {
  1062. _has_bits_[0] |= 0x00000002u;
  1063. }
  1064. inline void packetw2c_req_verify_code_result::clear_has_result() {
  1065. _has_bits_[0] &= ~0x00000002u;
  1066. }
  1067. inline void packetw2c_req_verify_code_result::clear_result() {
  1068. result_ = 0;
  1069. clear_has_result();
  1070. }
  1071. inline ::google::protobuf::int32 packetw2c_req_verify_code_result::result() const {
  1072. return result_;
  1073. }
  1074. inline void packetw2c_req_verify_code_result::set_result(::google::protobuf::int32 value) {
  1075. set_has_result();
  1076. result_ = value;
  1077. }
  1078. // -------------------------------------------------------------------
  1079. // packetc2w_req_verify_id_card
  1080. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_verify_id_card];
  1081. inline bool packetc2w_req_verify_id_card::has_packet_id() const {
  1082. return (_has_bits_[0] & 0x00000001u) != 0;
  1083. }
  1084. inline void packetc2w_req_verify_id_card::set_has_packet_id() {
  1085. _has_bits_[0] |= 0x00000001u;
  1086. }
  1087. inline void packetc2w_req_verify_id_card::clear_has_packet_id() {
  1088. _has_bits_[0] &= ~0x00000001u;
  1089. }
  1090. inline void packetc2w_req_verify_id_card::clear_packet_id() {
  1091. packet_id_ = 5061;
  1092. clear_has_packet_id();
  1093. }
  1094. inline ::client2world_protocols::e_server_msg_type packetc2w_req_verify_id_card::packet_id() const {
  1095. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  1096. }
  1097. inline void packetc2w_req_verify_id_card::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  1098. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  1099. set_has_packet_id();
  1100. packet_id_ = value;
  1101. }
  1102. // optional string name = 2;
  1103. inline bool packetc2w_req_verify_id_card::has_name() const {
  1104. return (_has_bits_[0] & 0x00000002u) != 0;
  1105. }
  1106. inline void packetc2w_req_verify_id_card::set_has_name() {
  1107. _has_bits_[0] |= 0x00000002u;
  1108. }
  1109. inline void packetc2w_req_verify_id_card::clear_has_name() {
  1110. _has_bits_[0] &= ~0x00000002u;
  1111. }
  1112. inline void packetc2w_req_verify_id_card::clear_name() {
  1113. if (name_ != &::google::protobuf::internal::kEmptyString) {
  1114. name_->clear();
  1115. }
  1116. clear_has_name();
  1117. }
  1118. inline const ::std::string& packetc2w_req_verify_id_card::name() const {
  1119. return *name_;
  1120. }
  1121. inline void packetc2w_req_verify_id_card::set_name(const ::std::string& value) {
  1122. set_has_name();
  1123. if (name_ == &::google::protobuf::internal::kEmptyString) {
  1124. name_ = new ::std::string;
  1125. }
  1126. name_->assign(value);
  1127. }
  1128. inline void packetc2w_req_verify_id_card::set_name(const char* value) {
  1129. set_has_name();
  1130. if (name_ == &::google::protobuf::internal::kEmptyString) {
  1131. name_ = new ::std::string;
  1132. }
  1133. name_->assign(value);
  1134. }
  1135. inline void packetc2w_req_verify_id_card::set_name(const char* value, size_t size) {
  1136. set_has_name();
  1137. if (name_ == &::google::protobuf::internal::kEmptyString) {
  1138. name_ = new ::std::string;
  1139. }
  1140. name_->assign(reinterpret_cast<const char*>(value), size);
  1141. }
  1142. inline ::std::string* packetc2w_req_verify_id_card::mutable_name() {
  1143. set_has_name();
  1144. if (name_ == &::google::protobuf::internal::kEmptyString) {
  1145. name_ = new ::std::string;
  1146. }
  1147. return name_;
  1148. }
  1149. inline ::std::string* packetc2w_req_verify_id_card::release_name() {
  1150. clear_has_name();
  1151. if (name_ == &::google::protobuf::internal::kEmptyString) {
  1152. return NULL;
  1153. } else {
  1154. ::std::string* temp = name_;
  1155. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1156. return temp;
  1157. }
  1158. }
  1159. inline void packetc2w_req_verify_id_card::set_allocated_name(::std::string* name) {
  1160. if (name_ != &::google::protobuf::internal::kEmptyString) {
  1161. delete name_;
  1162. }
  1163. if (name) {
  1164. set_has_name();
  1165. name_ = name;
  1166. } else {
  1167. clear_has_name();
  1168. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1169. }
  1170. }
  1171. // optional string idnumber = 3;
  1172. inline bool packetc2w_req_verify_id_card::has_idnumber() const {
  1173. return (_has_bits_[0] & 0x00000004u) != 0;
  1174. }
  1175. inline void packetc2w_req_verify_id_card::set_has_idnumber() {
  1176. _has_bits_[0] |= 0x00000004u;
  1177. }
  1178. inline void packetc2w_req_verify_id_card::clear_has_idnumber() {
  1179. _has_bits_[0] &= ~0x00000004u;
  1180. }
  1181. inline void packetc2w_req_verify_id_card::clear_idnumber() {
  1182. if (idnumber_ != &::google::protobuf::internal::kEmptyString) {
  1183. idnumber_->clear();
  1184. }
  1185. clear_has_idnumber();
  1186. }
  1187. inline const ::std::string& packetc2w_req_verify_id_card::idnumber() const {
  1188. return *idnumber_;
  1189. }
  1190. inline void packetc2w_req_verify_id_card::set_idnumber(const ::std::string& value) {
  1191. set_has_idnumber();
  1192. if (idnumber_ == &::google::protobuf::internal::kEmptyString) {
  1193. idnumber_ = new ::std::string;
  1194. }
  1195. idnumber_->assign(value);
  1196. }
  1197. inline void packetc2w_req_verify_id_card::set_idnumber(const char* value) {
  1198. set_has_idnumber();
  1199. if (idnumber_ == &::google::protobuf::internal::kEmptyString) {
  1200. idnumber_ = new ::std::string;
  1201. }
  1202. idnumber_->assign(value);
  1203. }
  1204. inline void packetc2w_req_verify_id_card::set_idnumber(const char* value, size_t size) {
  1205. set_has_idnumber();
  1206. if (idnumber_ == &::google::protobuf::internal::kEmptyString) {
  1207. idnumber_ = new ::std::string;
  1208. }
  1209. idnumber_->assign(reinterpret_cast<const char*>(value), size);
  1210. }
  1211. inline ::std::string* packetc2w_req_verify_id_card::mutable_idnumber() {
  1212. set_has_idnumber();
  1213. if (idnumber_ == &::google::protobuf::internal::kEmptyString) {
  1214. idnumber_ = new ::std::string;
  1215. }
  1216. return idnumber_;
  1217. }
  1218. inline ::std::string* packetc2w_req_verify_id_card::release_idnumber() {
  1219. clear_has_idnumber();
  1220. if (idnumber_ == &::google::protobuf::internal::kEmptyString) {
  1221. return NULL;
  1222. } else {
  1223. ::std::string* temp = idnumber_;
  1224. idnumber_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1225. return temp;
  1226. }
  1227. }
  1228. inline void packetc2w_req_verify_id_card::set_allocated_idnumber(::std::string* idnumber) {
  1229. if (idnumber_ != &::google::protobuf::internal::kEmptyString) {
  1230. delete idnumber_;
  1231. }
  1232. if (idnumber) {
  1233. set_has_idnumber();
  1234. idnumber_ = idnumber;
  1235. } else {
  1236. clear_has_idnumber();
  1237. idnumber_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1238. }
  1239. }
  1240. // -------------------------------------------------------------------
  1241. // packetw2c_req_verify_id_card_result
  1242. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_verify_id_card_result];
  1243. inline bool packetw2c_req_verify_id_card_result::has_packet_id() const {
  1244. return (_has_bits_[0] & 0x00000001u) != 0;
  1245. }
  1246. inline void packetw2c_req_verify_id_card_result::set_has_packet_id() {
  1247. _has_bits_[0] |= 0x00000001u;
  1248. }
  1249. inline void packetw2c_req_verify_id_card_result::clear_has_packet_id() {
  1250. _has_bits_[0] &= ~0x00000001u;
  1251. }
  1252. inline void packetw2c_req_verify_id_card_result::clear_packet_id() {
  1253. packet_id_ = 7565;
  1254. clear_has_packet_id();
  1255. }
  1256. inline ::client2world_protocols::e_server_msg_type packetw2c_req_verify_id_card_result::packet_id() const {
  1257. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  1258. }
  1259. inline void packetw2c_req_verify_id_card_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  1260. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  1261. set_has_packet_id();
  1262. packet_id_ = value;
  1263. }
  1264. // optional int32 result = 2;
  1265. inline bool packetw2c_req_verify_id_card_result::has_result() const {
  1266. return (_has_bits_[0] & 0x00000002u) != 0;
  1267. }
  1268. inline void packetw2c_req_verify_id_card_result::set_has_result() {
  1269. _has_bits_[0] |= 0x00000002u;
  1270. }
  1271. inline void packetw2c_req_verify_id_card_result::clear_has_result() {
  1272. _has_bits_[0] &= ~0x00000002u;
  1273. }
  1274. inline void packetw2c_req_verify_id_card_result::clear_result() {
  1275. result_ = 0;
  1276. clear_has_result();
  1277. }
  1278. inline ::google::protobuf::int32 packetw2c_req_verify_id_card_result::result() const {
  1279. return result_;
  1280. }
  1281. inline void packetw2c_req_verify_id_card_result::set_result(::google::protobuf::int32 value) {
  1282. set_has_result();
  1283. result_ = value;
  1284. }
  1285. // @@protoc_insertion_point(namespace_scope)
  1286. } // namespace client2world_protocols
  1287. #ifndef SWIG
  1288. namespace google {
  1289. namespace protobuf {
  1290. } // namespace google
  1291. } // namespace protobuf
  1292. #endif // SWIG
  1293. // @@protoc_insertion_point(global_scope)
  1294. #endif // PROTOBUF_client2world_5fbind_5fphone_2eproto__INCLUDED