login.pb.h 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: login.proto
  3. #ifndef PROTOBUF_INCLUDED_login_2eproto
  4. #define PROTOBUF_INCLUDED_login_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  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 3006001 < 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/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/unknown_field_set.h>
  28. // @@protoc_insertion_point(includes)
  29. #define PROTOBUF_INTERNAL_EXPORT_protobuf_login_2eproto
  30. namespace protobuf_login_2eproto {
  31. // Internal implementation detail -- do not use these members.
  32. struct TableStruct {
  33. static const ::google::protobuf::internal::ParseTableField entries[];
  34. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  35. static const ::google::protobuf::internal::ParseTable schema[4];
  36. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  37. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  38. static const ::google::protobuf::uint32 offsets[];
  39. };
  40. void AddDescriptors();
  41. } // namespace protobuf_login_2eproto
  42. class login;
  43. class loginDefaultTypeInternal;
  44. extern loginDefaultTypeInternal _login_default_instance_;
  45. class rdetail;
  46. class rdetailDefaultTypeInternal;
  47. extern rdetailDefaultTypeInternal _rdetail_default_instance_;
  48. class rtype;
  49. class rtypeDefaultTypeInternal;
  50. extern rtypeDefaultTypeInternal _rtype_default_instance_;
  51. class userInfo;
  52. class userInfoDefaultTypeInternal;
  53. extern userInfoDefaultTypeInternal _userInfo_default_instance_;
  54. namespace google {
  55. namespace protobuf {
  56. template<> ::login* Arena::CreateMaybeMessage<::login>(Arena*);
  57. template<> ::rdetail* Arena::CreateMaybeMessage<::rdetail>(Arena*);
  58. template<> ::rtype* Arena::CreateMaybeMessage<::rtype>(Arena*);
  59. template<> ::userInfo* Arena::CreateMaybeMessage<::userInfo>(Arena*);
  60. } // namespace protobuf
  61. } // namespace google
  62. // ===================================================================
  63. class login : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:login) */ {
  64. public:
  65. login();
  66. virtual ~login();
  67. login(const login& from);
  68. inline login& operator=(const login& from) {
  69. CopyFrom(from);
  70. return *this;
  71. }
  72. #if LANG_CXX11
  73. login(login&& from) noexcept
  74. : login() {
  75. *this = ::std::move(from);
  76. }
  77. inline login& operator=(login&& from) noexcept {
  78. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  79. if (this != &from) InternalSwap(&from);
  80. } else {
  81. CopyFrom(from);
  82. }
  83. return *this;
  84. }
  85. #endif
  86. static const ::google::protobuf::Descriptor* descriptor();
  87. static const login& default_instance();
  88. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  89. static inline const login* internal_default_instance() {
  90. return reinterpret_cast<const login*>(
  91. &_login_default_instance_);
  92. }
  93. static constexpr int kIndexInFileMessages =
  94. 0;
  95. void Swap(login* other);
  96. friend void swap(login& a, login& b) {
  97. a.Swap(&b);
  98. }
  99. // implements Message ----------------------------------------------
  100. inline login* New() const final {
  101. return CreateMaybeMessage<login>(NULL);
  102. }
  103. login* New(::google::protobuf::Arena* arena) const final {
  104. return CreateMaybeMessage<login>(arena);
  105. }
  106. void CopyFrom(const ::google::protobuf::Message& from) final;
  107. void MergeFrom(const ::google::protobuf::Message& from) final;
  108. void CopyFrom(const login& from);
  109. void MergeFrom(const login& from);
  110. void Clear() final;
  111. bool IsInitialized() const final;
  112. size_t ByteSizeLong() const final;
  113. bool MergePartialFromCodedStream(
  114. ::google::protobuf::io::CodedInputStream* input) final;
  115. void SerializeWithCachedSizes(
  116. ::google::protobuf::io::CodedOutputStream* output) const final;
  117. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  118. bool deterministic, ::google::protobuf::uint8* target) const final;
  119. int GetCachedSize() const final { return _cached_size_.Get(); }
  120. private:
  121. void SharedCtor();
  122. void SharedDtor();
  123. void SetCachedSize(int size) const final;
  124. void InternalSwap(login* other);
  125. private:
  126. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  127. return NULL;
  128. }
  129. inline void* MaybeArenaPtr() const {
  130. return NULL;
  131. }
  132. public:
  133. ::google::protobuf::Metadata GetMetadata() const final;
  134. // nested types ----------------------------------------------------
  135. // accessors -------------------------------------------------------
  136. // string phone = 1;
  137. void clear_phone();
  138. static const int kPhoneFieldNumber = 1;
  139. const ::std::string& phone() const;
  140. void set_phone(const ::std::string& value);
  141. #if LANG_CXX11
  142. void set_phone(::std::string&& value);
  143. #endif
  144. void set_phone(const char* value);
  145. void set_phone(const char* value, size_t size);
  146. ::std::string* mutable_phone();
  147. ::std::string* release_phone();
  148. void set_allocated_phone(::std::string* phone);
  149. // string passwrod = 2;
  150. void clear_passwrod();
  151. static const int kPasswrodFieldNumber = 2;
  152. const ::std::string& passwrod() const;
  153. void set_passwrod(const ::std::string& value);
  154. #if LANG_CXX11
  155. void set_passwrod(::std::string&& value);
  156. #endif
  157. void set_passwrod(const char* value);
  158. void set_passwrod(const char* value, size_t size);
  159. ::std::string* mutable_passwrod();
  160. ::std::string* release_passwrod();
  161. void set_allocated_passwrod(::std::string* passwrod);
  162. // string macAddr = 3;
  163. void clear_macaddr();
  164. static const int kMacAddrFieldNumber = 3;
  165. const ::std::string& macaddr() const;
  166. void set_macaddr(const ::std::string& value);
  167. #if LANG_CXX11
  168. void set_macaddr(::std::string&& value);
  169. #endif
  170. void set_macaddr(const char* value);
  171. void set_macaddr(const char* value, size_t size);
  172. ::std::string* mutable_macaddr();
  173. ::std::string* release_macaddr();
  174. void set_allocated_macaddr(::std::string* macaddr);
  175. // @@protoc_insertion_point(class_scope:login)
  176. private:
  177. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  178. ::google::protobuf::internal::ArenaStringPtr phone_;
  179. ::google::protobuf::internal::ArenaStringPtr passwrod_;
  180. ::google::protobuf::internal::ArenaStringPtr macaddr_;
  181. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  182. friend struct ::protobuf_login_2eproto::TableStruct;
  183. };
  184. // -------------------------------------------------------------------
  185. class userInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:userInfo) */ {
  186. public:
  187. userInfo();
  188. virtual ~userInfo();
  189. userInfo(const userInfo& from);
  190. inline userInfo& operator=(const userInfo& from) {
  191. CopyFrom(from);
  192. return *this;
  193. }
  194. #if LANG_CXX11
  195. userInfo(userInfo&& from) noexcept
  196. : userInfo() {
  197. *this = ::std::move(from);
  198. }
  199. inline userInfo& operator=(userInfo&& from) noexcept {
  200. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  201. if (this != &from) InternalSwap(&from);
  202. } else {
  203. CopyFrom(from);
  204. }
  205. return *this;
  206. }
  207. #endif
  208. static const ::google::protobuf::Descriptor* descriptor();
  209. static const userInfo& default_instance();
  210. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  211. static inline const userInfo* internal_default_instance() {
  212. return reinterpret_cast<const userInfo*>(
  213. &_userInfo_default_instance_);
  214. }
  215. static constexpr int kIndexInFileMessages =
  216. 1;
  217. void Swap(userInfo* other);
  218. friend void swap(userInfo& a, userInfo& b) {
  219. a.Swap(&b);
  220. }
  221. // implements Message ----------------------------------------------
  222. inline userInfo* New() const final {
  223. return CreateMaybeMessage<userInfo>(NULL);
  224. }
  225. userInfo* New(::google::protobuf::Arena* arena) const final {
  226. return CreateMaybeMessage<userInfo>(arena);
  227. }
  228. void CopyFrom(const ::google::protobuf::Message& from) final;
  229. void MergeFrom(const ::google::protobuf::Message& from) final;
  230. void CopyFrom(const userInfo& from);
  231. void MergeFrom(const userInfo& from);
  232. void Clear() final;
  233. bool IsInitialized() const final;
  234. size_t ByteSizeLong() const final;
  235. bool MergePartialFromCodedStream(
  236. ::google::protobuf::io::CodedInputStream* input) final;
  237. void SerializeWithCachedSizes(
  238. ::google::protobuf::io::CodedOutputStream* output) const final;
  239. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  240. bool deterministic, ::google::protobuf::uint8* target) const final;
  241. int GetCachedSize() const final { return _cached_size_.Get(); }
  242. private:
  243. void SharedCtor();
  244. void SharedDtor();
  245. void SetCachedSize(int size) const final;
  246. void InternalSwap(userInfo* other);
  247. private:
  248. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  249. return NULL;
  250. }
  251. inline void* MaybeArenaPtr() const {
  252. return NULL;
  253. }
  254. public:
  255. ::google::protobuf::Metadata GetMetadata() const final;
  256. // nested types ----------------------------------------------------
  257. // accessors -------------------------------------------------------
  258. // repeated .rtype reply = 5;
  259. int reply_size() const;
  260. void clear_reply();
  261. static const int kReplyFieldNumber = 5;
  262. ::rtype* mutable_reply(int index);
  263. ::google::protobuf::RepeatedPtrField< ::rtype >*
  264. mutable_reply();
  265. const ::rtype& reply(int index) const;
  266. ::rtype* add_reply();
  267. const ::google::protobuf::RepeatedPtrField< ::rtype >&
  268. reply() const;
  269. // string id = 1;
  270. void clear_id();
  271. static const int kIdFieldNumber = 1;
  272. const ::std::string& id() const;
  273. void set_id(const ::std::string& value);
  274. #if LANG_CXX11
  275. void set_id(::std::string&& value);
  276. #endif
  277. void set_id(const char* value);
  278. void set_id(const char* value, size_t size);
  279. ::std::string* mutable_id();
  280. ::std::string* release_id();
  281. void set_allocated_id(::std::string* id);
  282. // string name = 2;
  283. void clear_name();
  284. static const int kNameFieldNumber = 2;
  285. const ::std::string& name() const;
  286. void set_name(const ::std::string& value);
  287. #if LANG_CXX11
  288. void set_name(::std::string&& value);
  289. #endif
  290. void set_name(const char* value);
  291. void set_name(const char* value, size_t size);
  292. ::std::string* mutable_name();
  293. ::std::string* release_name();
  294. void set_allocated_name(::std::string* name);
  295. // string phone = 4;
  296. void clear_phone();
  297. static const int kPhoneFieldNumber = 4;
  298. const ::std::string& phone() const;
  299. void set_phone(const ::std::string& value);
  300. #if LANG_CXX11
  301. void set_phone(::std::string&& value);
  302. #endif
  303. void set_phone(const char* value);
  304. void set_phone(const char* value, size_t size);
  305. ::std::string* mutable_phone();
  306. ::std::string* release_phone();
  307. void set_allocated_phone(::std::string* phone);
  308. // bool gender = 3;
  309. void clear_gender();
  310. static const int kGenderFieldNumber = 3;
  311. bool gender() const;
  312. void set_gender(bool value);
  313. // @@protoc_insertion_point(class_scope:userInfo)
  314. private:
  315. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  316. ::google::protobuf::RepeatedPtrField< ::rtype > reply_;
  317. ::google::protobuf::internal::ArenaStringPtr id_;
  318. ::google::protobuf::internal::ArenaStringPtr name_;
  319. ::google::protobuf::internal::ArenaStringPtr phone_;
  320. bool gender_;
  321. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  322. friend struct ::protobuf_login_2eproto::TableStruct;
  323. };
  324. // -------------------------------------------------------------------
  325. class rtype : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rtype) */ {
  326. public:
  327. rtype();
  328. virtual ~rtype();
  329. rtype(const rtype& from);
  330. inline rtype& operator=(const rtype& from) {
  331. CopyFrom(from);
  332. return *this;
  333. }
  334. #if LANG_CXX11
  335. rtype(rtype&& from) noexcept
  336. : rtype() {
  337. *this = ::std::move(from);
  338. }
  339. inline rtype& operator=(rtype&& from) noexcept {
  340. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  341. if (this != &from) InternalSwap(&from);
  342. } else {
  343. CopyFrom(from);
  344. }
  345. return *this;
  346. }
  347. #endif
  348. static const ::google::protobuf::Descriptor* descriptor();
  349. static const rtype& default_instance();
  350. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  351. static inline const rtype* internal_default_instance() {
  352. return reinterpret_cast<const rtype*>(
  353. &_rtype_default_instance_);
  354. }
  355. static constexpr int kIndexInFileMessages =
  356. 2;
  357. void Swap(rtype* other);
  358. friend void swap(rtype& a, rtype& b) {
  359. a.Swap(&b);
  360. }
  361. // implements Message ----------------------------------------------
  362. inline rtype* New() const final {
  363. return CreateMaybeMessage<rtype>(NULL);
  364. }
  365. rtype* New(::google::protobuf::Arena* arena) const final {
  366. return CreateMaybeMessage<rtype>(arena);
  367. }
  368. void CopyFrom(const ::google::protobuf::Message& from) final;
  369. void MergeFrom(const ::google::protobuf::Message& from) final;
  370. void CopyFrom(const rtype& from);
  371. void MergeFrom(const rtype& from);
  372. void Clear() final;
  373. bool IsInitialized() const final;
  374. size_t ByteSizeLong() const final;
  375. bool MergePartialFromCodedStream(
  376. ::google::protobuf::io::CodedInputStream* input) final;
  377. void SerializeWithCachedSizes(
  378. ::google::protobuf::io::CodedOutputStream* output) const final;
  379. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  380. bool deterministic, ::google::protobuf::uint8* target) const final;
  381. int GetCachedSize() const final { return _cached_size_.Get(); }
  382. private:
  383. void SharedCtor();
  384. void SharedDtor();
  385. void SetCachedSize(int size) const final;
  386. void InternalSwap(rtype* other);
  387. private:
  388. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  389. return NULL;
  390. }
  391. inline void* MaybeArenaPtr() const {
  392. return NULL;
  393. }
  394. public:
  395. ::google::protobuf::Metadata GetMetadata() const final;
  396. // nested types ----------------------------------------------------
  397. // accessors -------------------------------------------------------
  398. // repeated .rdetail detail = 3;
  399. int detail_size() const;
  400. void clear_detail();
  401. static const int kDetailFieldNumber = 3;
  402. ::rdetail* mutable_detail(int index);
  403. ::google::protobuf::RepeatedPtrField< ::rdetail >*
  404. mutable_detail();
  405. const ::rdetail& detail(int index) const;
  406. ::rdetail* add_detail();
  407. const ::google::protobuf::RepeatedPtrField< ::rdetail >&
  408. detail() const;
  409. // string id = 1;
  410. void clear_id();
  411. static const int kIdFieldNumber = 1;
  412. const ::std::string& id() const;
  413. void set_id(const ::std::string& value);
  414. #if LANG_CXX11
  415. void set_id(::std::string&& value);
  416. #endif
  417. void set_id(const char* value);
  418. void set_id(const char* value, size_t size);
  419. ::std::string* mutable_id();
  420. ::std::string* release_id();
  421. void set_allocated_id(::std::string* id);
  422. // string name = 2;
  423. void clear_name();
  424. static const int kNameFieldNumber = 2;
  425. const ::std::string& name() const;
  426. void set_name(const ::std::string& value);
  427. #if LANG_CXX11
  428. void set_name(::std::string&& value);
  429. #endif
  430. void set_name(const char* value);
  431. void set_name(const char* value, size_t size);
  432. ::std::string* mutable_name();
  433. ::std::string* release_name();
  434. void set_allocated_name(::std::string* name);
  435. // @@protoc_insertion_point(class_scope:rtype)
  436. private:
  437. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  438. ::google::protobuf::RepeatedPtrField< ::rdetail > detail_;
  439. ::google::protobuf::internal::ArenaStringPtr id_;
  440. ::google::protobuf::internal::ArenaStringPtr name_;
  441. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  442. friend struct ::protobuf_login_2eproto::TableStruct;
  443. };
  444. // -------------------------------------------------------------------
  445. class rdetail : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rdetail) */ {
  446. public:
  447. rdetail();
  448. virtual ~rdetail();
  449. rdetail(const rdetail& from);
  450. inline rdetail& operator=(const rdetail& from) {
  451. CopyFrom(from);
  452. return *this;
  453. }
  454. #if LANG_CXX11
  455. rdetail(rdetail&& from) noexcept
  456. : rdetail() {
  457. *this = ::std::move(from);
  458. }
  459. inline rdetail& operator=(rdetail&& from) noexcept {
  460. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  461. if (this != &from) InternalSwap(&from);
  462. } else {
  463. CopyFrom(from);
  464. }
  465. return *this;
  466. }
  467. #endif
  468. static const ::google::protobuf::Descriptor* descriptor();
  469. static const rdetail& default_instance();
  470. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  471. static inline const rdetail* internal_default_instance() {
  472. return reinterpret_cast<const rdetail*>(
  473. &_rdetail_default_instance_);
  474. }
  475. static constexpr int kIndexInFileMessages =
  476. 3;
  477. void Swap(rdetail* other);
  478. friend void swap(rdetail& a, rdetail& b) {
  479. a.Swap(&b);
  480. }
  481. // implements Message ----------------------------------------------
  482. inline rdetail* New() const final {
  483. return CreateMaybeMessage<rdetail>(NULL);
  484. }
  485. rdetail* New(::google::protobuf::Arena* arena) const final {
  486. return CreateMaybeMessage<rdetail>(arena);
  487. }
  488. void CopyFrom(const ::google::protobuf::Message& from) final;
  489. void MergeFrom(const ::google::protobuf::Message& from) final;
  490. void CopyFrom(const rdetail& from);
  491. void MergeFrom(const rdetail& from);
  492. void Clear() final;
  493. bool IsInitialized() const final;
  494. size_t ByteSizeLong() const final;
  495. bool MergePartialFromCodedStream(
  496. ::google::protobuf::io::CodedInputStream* input) final;
  497. void SerializeWithCachedSizes(
  498. ::google::protobuf::io::CodedOutputStream* output) const final;
  499. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  500. bool deterministic, ::google::protobuf::uint8* target) const final;
  501. int GetCachedSize() const final { return _cached_size_.Get(); }
  502. private:
  503. void SharedCtor();
  504. void SharedDtor();
  505. void SetCachedSize(int size) const final;
  506. void InternalSwap(rdetail* other);
  507. private:
  508. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  509. return NULL;
  510. }
  511. inline void* MaybeArenaPtr() const {
  512. return NULL;
  513. }
  514. public:
  515. ::google::protobuf::Metadata GetMetadata() const final;
  516. // nested types ----------------------------------------------------
  517. // accessors -------------------------------------------------------
  518. // string id = 1;
  519. void clear_id();
  520. static const int kIdFieldNumber = 1;
  521. const ::std::string& id() const;
  522. void set_id(const ::std::string& value);
  523. #if LANG_CXX11
  524. void set_id(::std::string&& value);
  525. #endif
  526. void set_id(const char* value);
  527. void set_id(const char* value, size_t size);
  528. ::std::string* mutable_id();
  529. ::std::string* release_id();
  530. void set_allocated_id(::std::string* id);
  531. // string name = 2;
  532. void clear_name();
  533. static const int kNameFieldNumber = 2;
  534. const ::std::string& name() const;
  535. void set_name(const ::std::string& value);
  536. #if LANG_CXX11
  537. void set_name(::std::string&& value);
  538. #endif
  539. void set_name(const char* value);
  540. void set_name(const char* value, size_t size);
  541. ::std::string* mutable_name();
  542. ::std::string* release_name();
  543. void set_allocated_name(::std::string* name);
  544. // string content = 3;
  545. void clear_content();
  546. static const int kContentFieldNumber = 3;
  547. const ::std::string& content() const;
  548. void set_content(const ::std::string& value);
  549. #if LANG_CXX11
  550. void set_content(::std::string&& value);
  551. #endif
  552. void set_content(const char* value);
  553. void set_content(const char* value, size_t size);
  554. ::std::string* mutable_content();
  555. ::std::string* release_content();
  556. void set_allocated_content(::std::string* content);
  557. // @@protoc_insertion_point(class_scope:rdetail)
  558. private:
  559. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  560. ::google::protobuf::internal::ArenaStringPtr id_;
  561. ::google::protobuf::internal::ArenaStringPtr name_;
  562. ::google::protobuf::internal::ArenaStringPtr content_;
  563. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  564. friend struct ::protobuf_login_2eproto::TableStruct;
  565. };
  566. // ===================================================================
  567. // ===================================================================
  568. #ifdef __GNUC__
  569. #pragma GCC diagnostic push
  570. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  571. #endif // __GNUC__
  572. // login
  573. // string phone = 1;
  574. inline void login::clear_phone() {
  575. phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  576. }
  577. inline const ::std::string& login::phone() const {
  578. // @@protoc_insertion_point(field_get:login.phone)
  579. return phone_.GetNoArena();
  580. }
  581. inline void login::set_phone(const ::std::string& value) {
  582. phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  583. // @@protoc_insertion_point(field_set:login.phone)
  584. }
  585. #if LANG_CXX11
  586. inline void login::set_phone(::std::string&& value) {
  587. phone_.SetNoArena(
  588. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  589. // @@protoc_insertion_point(field_set_rvalue:login.phone)
  590. }
  591. #endif
  592. inline void login::set_phone(const char* value) {
  593. GOOGLE_DCHECK(value != NULL);
  594. phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  595. // @@protoc_insertion_point(field_set_char:login.phone)
  596. }
  597. inline void login::set_phone(const char* value, size_t size) {
  598. phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  599. ::std::string(reinterpret_cast<const char*>(value), size));
  600. // @@protoc_insertion_point(field_set_pointer:login.phone)
  601. }
  602. inline ::std::string* login::mutable_phone() {
  603. // @@protoc_insertion_point(field_mutable:login.phone)
  604. return phone_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  605. }
  606. inline ::std::string* login::release_phone() {
  607. // @@protoc_insertion_point(field_release:login.phone)
  608. return phone_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  609. }
  610. inline void login::set_allocated_phone(::std::string* phone) {
  611. if (phone != NULL) {
  612. } else {
  613. }
  614. phone_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), phone);
  615. // @@protoc_insertion_point(field_set_allocated:login.phone)
  616. }
  617. // string passwrod = 2;
  618. inline void login::clear_passwrod() {
  619. passwrod_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  620. }
  621. inline const ::std::string& login::passwrod() const {
  622. // @@protoc_insertion_point(field_get:login.passwrod)
  623. return passwrod_.GetNoArena();
  624. }
  625. inline void login::set_passwrod(const ::std::string& value) {
  626. passwrod_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  627. // @@protoc_insertion_point(field_set:login.passwrod)
  628. }
  629. #if LANG_CXX11
  630. inline void login::set_passwrod(::std::string&& value) {
  631. passwrod_.SetNoArena(
  632. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  633. // @@protoc_insertion_point(field_set_rvalue:login.passwrod)
  634. }
  635. #endif
  636. inline void login::set_passwrod(const char* value) {
  637. GOOGLE_DCHECK(value != NULL);
  638. passwrod_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  639. // @@protoc_insertion_point(field_set_char:login.passwrod)
  640. }
  641. inline void login::set_passwrod(const char* value, size_t size) {
  642. passwrod_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  643. ::std::string(reinterpret_cast<const char*>(value), size));
  644. // @@protoc_insertion_point(field_set_pointer:login.passwrod)
  645. }
  646. inline ::std::string* login::mutable_passwrod() {
  647. // @@protoc_insertion_point(field_mutable:login.passwrod)
  648. return passwrod_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  649. }
  650. inline ::std::string* login::release_passwrod() {
  651. // @@protoc_insertion_point(field_release:login.passwrod)
  652. return passwrod_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  653. }
  654. inline void login::set_allocated_passwrod(::std::string* passwrod) {
  655. if (passwrod != NULL) {
  656. } else {
  657. }
  658. passwrod_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), passwrod);
  659. // @@protoc_insertion_point(field_set_allocated:login.passwrod)
  660. }
  661. // string macAddr = 3;
  662. inline void login::clear_macaddr() {
  663. macaddr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  664. }
  665. inline const ::std::string& login::macaddr() const {
  666. // @@protoc_insertion_point(field_get:login.macAddr)
  667. return macaddr_.GetNoArena();
  668. }
  669. inline void login::set_macaddr(const ::std::string& value) {
  670. macaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  671. // @@protoc_insertion_point(field_set:login.macAddr)
  672. }
  673. #if LANG_CXX11
  674. inline void login::set_macaddr(::std::string&& value) {
  675. macaddr_.SetNoArena(
  676. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  677. // @@protoc_insertion_point(field_set_rvalue:login.macAddr)
  678. }
  679. #endif
  680. inline void login::set_macaddr(const char* value) {
  681. GOOGLE_DCHECK(value != NULL);
  682. macaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  683. // @@protoc_insertion_point(field_set_char:login.macAddr)
  684. }
  685. inline void login::set_macaddr(const char* value, size_t size) {
  686. macaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  687. ::std::string(reinterpret_cast<const char*>(value), size));
  688. // @@protoc_insertion_point(field_set_pointer:login.macAddr)
  689. }
  690. inline ::std::string* login::mutable_macaddr() {
  691. // @@protoc_insertion_point(field_mutable:login.macAddr)
  692. return macaddr_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  693. }
  694. inline ::std::string* login::release_macaddr() {
  695. // @@protoc_insertion_point(field_release:login.macAddr)
  696. return macaddr_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  697. }
  698. inline void login::set_allocated_macaddr(::std::string* macaddr) {
  699. if (macaddr != NULL) {
  700. } else {
  701. }
  702. macaddr_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), macaddr);
  703. // @@protoc_insertion_point(field_set_allocated:login.macAddr)
  704. }
  705. // -------------------------------------------------------------------
  706. // userInfo
  707. // string id = 1;
  708. inline void userInfo::clear_id() {
  709. id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  710. }
  711. inline const ::std::string& userInfo::id() const {
  712. // @@protoc_insertion_point(field_get:userInfo.id)
  713. return id_.GetNoArena();
  714. }
  715. inline void userInfo::set_id(const ::std::string& value) {
  716. id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  717. // @@protoc_insertion_point(field_set:userInfo.id)
  718. }
  719. #if LANG_CXX11
  720. inline void userInfo::set_id(::std::string&& value) {
  721. id_.SetNoArena(
  722. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  723. // @@protoc_insertion_point(field_set_rvalue:userInfo.id)
  724. }
  725. #endif
  726. inline void userInfo::set_id(const char* value) {
  727. GOOGLE_DCHECK(value != NULL);
  728. id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  729. // @@protoc_insertion_point(field_set_char:userInfo.id)
  730. }
  731. inline void userInfo::set_id(const char* value, size_t size) {
  732. id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  733. ::std::string(reinterpret_cast<const char*>(value), size));
  734. // @@protoc_insertion_point(field_set_pointer:userInfo.id)
  735. }
  736. inline ::std::string* userInfo::mutable_id() {
  737. // @@protoc_insertion_point(field_mutable:userInfo.id)
  738. return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  739. }
  740. inline ::std::string* userInfo::release_id() {
  741. // @@protoc_insertion_point(field_release:userInfo.id)
  742. return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  743. }
  744. inline void userInfo::set_allocated_id(::std::string* id) {
  745. if (id != NULL) {
  746. } else {
  747. }
  748. id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
  749. // @@protoc_insertion_point(field_set_allocated:userInfo.id)
  750. }
  751. // string name = 2;
  752. inline void userInfo::clear_name() {
  753. name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  754. }
  755. inline const ::std::string& userInfo::name() const {
  756. // @@protoc_insertion_point(field_get:userInfo.name)
  757. return name_.GetNoArena();
  758. }
  759. inline void userInfo::set_name(const ::std::string& value) {
  760. name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  761. // @@protoc_insertion_point(field_set:userInfo.name)
  762. }
  763. #if LANG_CXX11
  764. inline void userInfo::set_name(::std::string&& value) {
  765. name_.SetNoArena(
  766. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  767. // @@protoc_insertion_point(field_set_rvalue:userInfo.name)
  768. }
  769. #endif
  770. inline void userInfo::set_name(const char* value) {
  771. GOOGLE_DCHECK(value != NULL);
  772. name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  773. // @@protoc_insertion_point(field_set_char:userInfo.name)
  774. }
  775. inline void userInfo::set_name(const char* value, size_t size) {
  776. name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  777. ::std::string(reinterpret_cast<const char*>(value), size));
  778. // @@protoc_insertion_point(field_set_pointer:userInfo.name)
  779. }
  780. inline ::std::string* userInfo::mutable_name() {
  781. // @@protoc_insertion_point(field_mutable:userInfo.name)
  782. return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  783. }
  784. inline ::std::string* userInfo::release_name() {
  785. // @@protoc_insertion_point(field_release:userInfo.name)
  786. return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  787. }
  788. inline void userInfo::set_allocated_name(::std::string* name) {
  789. if (name != NULL) {
  790. } else {
  791. }
  792. name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
  793. // @@protoc_insertion_point(field_set_allocated:userInfo.name)
  794. }
  795. // bool gender = 3;
  796. inline void userInfo::clear_gender() {
  797. gender_ = false;
  798. }
  799. inline bool userInfo::gender() const {
  800. // @@protoc_insertion_point(field_get:userInfo.gender)
  801. return gender_;
  802. }
  803. inline void userInfo::set_gender(bool value) {
  804. gender_ = value;
  805. // @@protoc_insertion_point(field_set:userInfo.gender)
  806. }
  807. // string phone = 4;
  808. inline void userInfo::clear_phone() {
  809. phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  810. }
  811. inline const ::std::string& userInfo::phone() const {
  812. // @@protoc_insertion_point(field_get:userInfo.phone)
  813. return phone_.GetNoArena();
  814. }
  815. inline void userInfo::set_phone(const ::std::string& value) {
  816. phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  817. // @@protoc_insertion_point(field_set:userInfo.phone)
  818. }
  819. #if LANG_CXX11
  820. inline void userInfo::set_phone(::std::string&& value) {
  821. phone_.SetNoArena(
  822. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  823. // @@protoc_insertion_point(field_set_rvalue:userInfo.phone)
  824. }
  825. #endif
  826. inline void userInfo::set_phone(const char* value) {
  827. GOOGLE_DCHECK(value != NULL);
  828. phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  829. // @@protoc_insertion_point(field_set_char:userInfo.phone)
  830. }
  831. inline void userInfo::set_phone(const char* value, size_t size) {
  832. phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  833. ::std::string(reinterpret_cast<const char*>(value), size));
  834. // @@protoc_insertion_point(field_set_pointer:userInfo.phone)
  835. }
  836. inline ::std::string* userInfo::mutable_phone() {
  837. // @@protoc_insertion_point(field_mutable:userInfo.phone)
  838. return phone_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  839. }
  840. inline ::std::string* userInfo::release_phone() {
  841. // @@protoc_insertion_point(field_release:userInfo.phone)
  842. return phone_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  843. }
  844. inline void userInfo::set_allocated_phone(::std::string* phone) {
  845. if (phone != NULL) {
  846. } else {
  847. }
  848. phone_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), phone);
  849. // @@protoc_insertion_point(field_set_allocated:userInfo.phone)
  850. }
  851. // repeated .rtype reply = 5;
  852. inline int userInfo::reply_size() const {
  853. return reply_.size();
  854. }
  855. inline void userInfo::clear_reply() {
  856. reply_.Clear();
  857. }
  858. inline ::rtype* userInfo::mutable_reply(int index) {
  859. // @@protoc_insertion_point(field_mutable:userInfo.reply)
  860. return reply_.Mutable(index);
  861. }
  862. inline ::google::protobuf::RepeatedPtrField< ::rtype >*
  863. userInfo::mutable_reply() {
  864. // @@protoc_insertion_point(field_mutable_list:userInfo.reply)
  865. return &reply_;
  866. }
  867. inline const ::rtype& userInfo::reply(int index) const {
  868. // @@protoc_insertion_point(field_get:userInfo.reply)
  869. return reply_.Get(index);
  870. }
  871. inline ::rtype* userInfo::add_reply() {
  872. // @@protoc_insertion_point(field_add:userInfo.reply)
  873. return reply_.Add();
  874. }
  875. inline const ::google::protobuf::RepeatedPtrField< ::rtype >&
  876. userInfo::reply() const {
  877. // @@protoc_insertion_point(field_list:userInfo.reply)
  878. return reply_;
  879. }
  880. // -------------------------------------------------------------------
  881. // rtype
  882. // string id = 1;
  883. inline void rtype::clear_id() {
  884. id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  885. }
  886. inline const ::std::string& rtype::id() const {
  887. // @@protoc_insertion_point(field_get:rtype.id)
  888. return id_.GetNoArena();
  889. }
  890. inline void rtype::set_id(const ::std::string& value) {
  891. id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  892. // @@protoc_insertion_point(field_set:rtype.id)
  893. }
  894. #if LANG_CXX11
  895. inline void rtype::set_id(::std::string&& value) {
  896. id_.SetNoArena(
  897. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  898. // @@protoc_insertion_point(field_set_rvalue:rtype.id)
  899. }
  900. #endif
  901. inline void rtype::set_id(const char* value) {
  902. GOOGLE_DCHECK(value != NULL);
  903. id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  904. // @@protoc_insertion_point(field_set_char:rtype.id)
  905. }
  906. inline void rtype::set_id(const char* value, size_t size) {
  907. id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  908. ::std::string(reinterpret_cast<const char*>(value), size));
  909. // @@protoc_insertion_point(field_set_pointer:rtype.id)
  910. }
  911. inline ::std::string* rtype::mutable_id() {
  912. // @@protoc_insertion_point(field_mutable:rtype.id)
  913. return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  914. }
  915. inline ::std::string* rtype::release_id() {
  916. // @@protoc_insertion_point(field_release:rtype.id)
  917. return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  918. }
  919. inline void rtype::set_allocated_id(::std::string* id) {
  920. if (id != NULL) {
  921. } else {
  922. }
  923. id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
  924. // @@protoc_insertion_point(field_set_allocated:rtype.id)
  925. }
  926. // string name = 2;
  927. inline void rtype::clear_name() {
  928. name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  929. }
  930. inline const ::std::string& rtype::name() const {
  931. // @@protoc_insertion_point(field_get:rtype.name)
  932. return name_.GetNoArena();
  933. }
  934. inline void rtype::set_name(const ::std::string& value) {
  935. name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  936. // @@protoc_insertion_point(field_set:rtype.name)
  937. }
  938. #if LANG_CXX11
  939. inline void rtype::set_name(::std::string&& value) {
  940. name_.SetNoArena(
  941. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  942. // @@protoc_insertion_point(field_set_rvalue:rtype.name)
  943. }
  944. #endif
  945. inline void rtype::set_name(const char* value) {
  946. GOOGLE_DCHECK(value != NULL);
  947. name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  948. // @@protoc_insertion_point(field_set_char:rtype.name)
  949. }
  950. inline void rtype::set_name(const char* value, size_t size) {
  951. name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  952. ::std::string(reinterpret_cast<const char*>(value), size));
  953. // @@protoc_insertion_point(field_set_pointer:rtype.name)
  954. }
  955. inline ::std::string* rtype::mutable_name() {
  956. // @@protoc_insertion_point(field_mutable:rtype.name)
  957. return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  958. }
  959. inline ::std::string* rtype::release_name() {
  960. // @@protoc_insertion_point(field_release:rtype.name)
  961. return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  962. }
  963. inline void rtype::set_allocated_name(::std::string* name) {
  964. if (name != NULL) {
  965. } else {
  966. }
  967. name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
  968. // @@protoc_insertion_point(field_set_allocated:rtype.name)
  969. }
  970. // repeated .rdetail detail = 3;
  971. inline int rtype::detail_size() const {
  972. return detail_.size();
  973. }
  974. inline void rtype::clear_detail() {
  975. detail_.Clear();
  976. }
  977. inline ::rdetail* rtype::mutable_detail(int index) {
  978. // @@protoc_insertion_point(field_mutable:rtype.detail)
  979. return detail_.Mutable(index);
  980. }
  981. inline ::google::protobuf::RepeatedPtrField< ::rdetail >*
  982. rtype::mutable_detail() {
  983. // @@protoc_insertion_point(field_mutable_list:rtype.detail)
  984. return &detail_;
  985. }
  986. inline const ::rdetail& rtype::detail(int index) const {
  987. // @@protoc_insertion_point(field_get:rtype.detail)
  988. return detail_.Get(index);
  989. }
  990. inline ::rdetail* rtype::add_detail() {
  991. // @@protoc_insertion_point(field_add:rtype.detail)
  992. return detail_.Add();
  993. }
  994. inline const ::google::protobuf::RepeatedPtrField< ::rdetail >&
  995. rtype::detail() const {
  996. // @@protoc_insertion_point(field_list:rtype.detail)
  997. return detail_;
  998. }
  999. // -------------------------------------------------------------------
  1000. // rdetail
  1001. // string id = 1;
  1002. inline void rdetail::clear_id() {
  1003. id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1004. }
  1005. inline const ::std::string& rdetail::id() const {
  1006. // @@protoc_insertion_point(field_get:rdetail.id)
  1007. return id_.GetNoArena();
  1008. }
  1009. inline void rdetail::set_id(const ::std::string& value) {
  1010. id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1011. // @@protoc_insertion_point(field_set:rdetail.id)
  1012. }
  1013. #if LANG_CXX11
  1014. inline void rdetail::set_id(::std::string&& value) {
  1015. id_.SetNoArena(
  1016. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1017. // @@protoc_insertion_point(field_set_rvalue:rdetail.id)
  1018. }
  1019. #endif
  1020. inline void rdetail::set_id(const char* value) {
  1021. GOOGLE_DCHECK(value != NULL);
  1022. id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1023. // @@protoc_insertion_point(field_set_char:rdetail.id)
  1024. }
  1025. inline void rdetail::set_id(const char* value, size_t size) {
  1026. id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1027. ::std::string(reinterpret_cast<const char*>(value), size));
  1028. // @@protoc_insertion_point(field_set_pointer:rdetail.id)
  1029. }
  1030. inline ::std::string* rdetail::mutable_id() {
  1031. // @@protoc_insertion_point(field_mutable:rdetail.id)
  1032. return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1033. }
  1034. inline ::std::string* rdetail::release_id() {
  1035. // @@protoc_insertion_point(field_release:rdetail.id)
  1036. return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1037. }
  1038. inline void rdetail::set_allocated_id(::std::string* id) {
  1039. if (id != NULL) {
  1040. } else {
  1041. }
  1042. id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
  1043. // @@protoc_insertion_point(field_set_allocated:rdetail.id)
  1044. }
  1045. // string name = 2;
  1046. inline void rdetail::clear_name() {
  1047. name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1048. }
  1049. inline const ::std::string& rdetail::name() const {
  1050. // @@protoc_insertion_point(field_get:rdetail.name)
  1051. return name_.GetNoArena();
  1052. }
  1053. inline void rdetail::set_name(const ::std::string& value) {
  1054. name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1055. // @@protoc_insertion_point(field_set:rdetail.name)
  1056. }
  1057. #if LANG_CXX11
  1058. inline void rdetail::set_name(::std::string&& value) {
  1059. name_.SetNoArena(
  1060. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1061. // @@protoc_insertion_point(field_set_rvalue:rdetail.name)
  1062. }
  1063. #endif
  1064. inline void rdetail::set_name(const char* value) {
  1065. GOOGLE_DCHECK(value != NULL);
  1066. name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1067. // @@protoc_insertion_point(field_set_char:rdetail.name)
  1068. }
  1069. inline void rdetail::set_name(const char* value, size_t size) {
  1070. name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1071. ::std::string(reinterpret_cast<const char*>(value), size));
  1072. // @@protoc_insertion_point(field_set_pointer:rdetail.name)
  1073. }
  1074. inline ::std::string* rdetail::mutable_name() {
  1075. // @@protoc_insertion_point(field_mutable:rdetail.name)
  1076. return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1077. }
  1078. inline ::std::string* rdetail::release_name() {
  1079. // @@protoc_insertion_point(field_release:rdetail.name)
  1080. return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1081. }
  1082. inline void rdetail::set_allocated_name(::std::string* name) {
  1083. if (name != NULL) {
  1084. } else {
  1085. }
  1086. name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
  1087. // @@protoc_insertion_point(field_set_allocated:rdetail.name)
  1088. }
  1089. // string content = 3;
  1090. inline void rdetail::clear_content() {
  1091. content_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1092. }
  1093. inline const ::std::string& rdetail::content() const {
  1094. // @@protoc_insertion_point(field_get:rdetail.content)
  1095. return content_.GetNoArena();
  1096. }
  1097. inline void rdetail::set_content(const ::std::string& value) {
  1098. content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1099. // @@protoc_insertion_point(field_set:rdetail.content)
  1100. }
  1101. #if LANG_CXX11
  1102. inline void rdetail::set_content(::std::string&& value) {
  1103. content_.SetNoArena(
  1104. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1105. // @@protoc_insertion_point(field_set_rvalue:rdetail.content)
  1106. }
  1107. #endif
  1108. inline void rdetail::set_content(const char* value) {
  1109. GOOGLE_DCHECK(value != NULL);
  1110. content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1111. // @@protoc_insertion_point(field_set_char:rdetail.content)
  1112. }
  1113. inline void rdetail::set_content(const char* value, size_t size) {
  1114. content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1115. ::std::string(reinterpret_cast<const char*>(value), size));
  1116. // @@protoc_insertion_point(field_set_pointer:rdetail.content)
  1117. }
  1118. inline ::std::string* rdetail::mutable_content() {
  1119. // @@protoc_insertion_point(field_mutable:rdetail.content)
  1120. return content_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1121. }
  1122. inline ::std::string* rdetail::release_content() {
  1123. // @@protoc_insertion_point(field_release:rdetail.content)
  1124. return content_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1125. }
  1126. inline void rdetail::set_allocated_content(::std::string* content) {
  1127. if (content != NULL) {
  1128. } else {
  1129. }
  1130. content_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), content);
  1131. // @@protoc_insertion_point(field_set_allocated:rdetail.content)
  1132. }
  1133. #ifdef __GNUC__
  1134. #pragma GCC diagnostic pop
  1135. #endif // __GNUC__
  1136. // -------------------------------------------------------------------
  1137. // -------------------------------------------------------------------
  1138. // -------------------------------------------------------------------
  1139. // @@protoc_insertion_point(namespace_scope)
  1140. // @@protoc_insertion_point(global_scope)
  1141. #endif // PROTOBUF_INCLUDED_login_2eproto