table.pb.h 81 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: table.proto
  3. #ifndef PROTOBUF_INCLUDED_table_2eproto
  4. #define PROTOBUF_INCLUDED_table_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_table_2eproto
  30. namespace protobuf_table_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[7];
  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_table_2eproto
  42. class rec_customer;
  43. class rec_customerDefaultTypeInternal;
  44. extern rec_customerDefaultTypeInternal _rec_customer_default_instance_;
  45. class rec_reply;
  46. class rec_replyDefaultTypeInternal;
  47. extern rec_replyDefaultTypeInternal _rec_reply_default_instance_;
  48. class rec_type;
  49. class rec_typeDefaultTypeInternal;
  50. extern rec_typeDefaultTypeInternal _rec_type_default_instance_;
  51. class tb_customer;
  52. class tb_customerDefaultTypeInternal;
  53. extern tb_customerDefaultTypeInternal _tb_customer_default_instance_;
  54. class tb_reply;
  55. class tb_replyDefaultTypeInternal;
  56. extern tb_replyDefaultTypeInternal _tb_reply_default_instance_;
  57. class tb_type;
  58. class tb_typeDefaultTypeInternal;
  59. extern tb_typeDefaultTypeInternal _tb_type_default_instance_;
  60. class view;
  61. class viewDefaultTypeInternal;
  62. extern viewDefaultTypeInternal _view_default_instance_;
  63. namespace google {
  64. namespace protobuf {
  65. template<> ::rec_customer* Arena::CreateMaybeMessage<::rec_customer>(Arena*);
  66. template<> ::rec_reply* Arena::CreateMaybeMessage<::rec_reply>(Arena*);
  67. template<> ::rec_type* Arena::CreateMaybeMessage<::rec_type>(Arena*);
  68. template<> ::tb_customer* Arena::CreateMaybeMessage<::tb_customer>(Arena*);
  69. template<> ::tb_reply* Arena::CreateMaybeMessage<::tb_reply>(Arena*);
  70. template<> ::tb_type* Arena::CreateMaybeMessage<::tb_type>(Arena*);
  71. template<> ::view* Arena::CreateMaybeMessage<::view>(Arena*);
  72. } // namespace protobuf
  73. } // namespace google
  74. // ===================================================================
  75. class tb_customer : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:tb_customer) */ {
  76. public:
  77. tb_customer();
  78. virtual ~tb_customer();
  79. tb_customer(const tb_customer& from);
  80. inline tb_customer& operator=(const tb_customer& from) {
  81. CopyFrom(from);
  82. return *this;
  83. }
  84. #if LANG_CXX11
  85. tb_customer(tb_customer&& from) noexcept
  86. : tb_customer() {
  87. *this = ::std::move(from);
  88. }
  89. inline tb_customer& operator=(tb_customer&& from) noexcept {
  90. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  91. if (this != &from) InternalSwap(&from);
  92. } else {
  93. CopyFrom(from);
  94. }
  95. return *this;
  96. }
  97. #endif
  98. static const ::google::protobuf::Descriptor* descriptor();
  99. static const tb_customer& default_instance();
  100. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  101. static inline const tb_customer* internal_default_instance() {
  102. return reinterpret_cast<const tb_customer*>(
  103. &_tb_customer_default_instance_);
  104. }
  105. static constexpr int kIndexInFileMessages =
  106. 0;
  107. void Swap(tb_customer* other);
  108. friend void swap(tb_customer& a, tb_customer& b) {
  109. a.Swap(&b);
  110. }
  111. // implements Message ----------------------------------------------
  112. inline tb_customer* New() const final {
  113. return CreateMaybeMessage<tb_customer>(NULL);
  114. }
  115. tb_customer* New(::google::protobuf::Arena* arena) const final {
  116. return CreateMaybeMessage<tb_customer>(arena);
  117. }
  118. void CopyFrom(const ::google::protobuf::Message& from) final;
  119. void MergeFrom(const ::google::protobuf::Message& from) final;
  120. void CopyFrom(const tb_customer& from);
  121. void MergeFrom(const tb_customer& from);
  122. void Clear() final;
  123. bool IsInitialized() const final;
  124. size_t ByteSizeLong() const final;
  125. bool MergePartialFromCodedStream(
  126. ::google::protobuf::io::CodedInputStream* input) final;
  127. void SerializeWithCachedSizes(
  128. ::google::protobuf::io::CodedOutputStream* output) const final;
  129. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  130. bool deterministic, ::google::protobuf::uint8* target) const final;
  131. int GetCachedSize() const final { return _cached_size_.Get(); }
  132. private:
  133. void SharedCtor();
  134. void SharedDtor();
  135. void SetCachedSize(int size) const final;
  136. void InternalSwap(tb_customer* other);
  137. private:
  138. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  139. return NULL;
  140. }
  141. inline void* MaybeArenaPtr() const {
  142. return NULL;
  143. }
  144. public:
  145. ::google::protobuf::Metadata GetMetadata() const final;
  146. // nested types ----------------------------------------------------
  147. // accessors -------------------------------------------------------
  148. // string customer_id = 1;
  149. void clear_customer_id();
  150. static const int kCustomerIdFieldNumber = 1;
  151. const ::std::string& customer_id() const;
  152. void set_customer_id(const ::std::string& value);
  153. #if LANG_CXX11
  154. void set_customer_id(::std::string&& value);
  155. #endif
  156. void set_customer_id(const char* value);
  157. void set_customer_id(const char* value, size_t size);
  158. ::std::string* mutable_customer_id();
  159. ::std::string* release_customer_id();
  160. void set_allocated_customer_id(::std::string* customer_id);
  161. // string customer_name = 2;
  162. void clear_customer_name();
  163. static const int kCustomerNameFieldNumber = 2;
  164. const ::std::string& customer_name() const;
  165. void set_customer_name(const ::std::string& value);
  166. #if LANG_CXX11
  167. void set_customer_name(::std::string&& value);
  168. #endif
  169. void set_customer_name(const char* value);
  170. void set_customer_name(const char* value, size_t size);
  171. ::std::string* mutable_customer_name();
  172. ::std::string* release_customer_name();
  173. void set_allocated_customer_name(::std::string* customer_name);
  174. // string customer_phone = 4;
  175. void clear_customer_phone();
  176. static const int kCustomerPhoneFieldNumber = 4;
  177. const ::std::string& customer_phone() const;
  178. void set_customer_phone(const ::std::string& value);
  179. #if LANG_CXX11
  180. void set_customer_phone(::std::string&& value);
  181. #endif
  182. void set_customer_phone(const char* value);
  183. void set_customer_phone(const char* value, size_t size);
  184. ::std::string* mutable_customer_phone();
  185. ::std::string* release_customer_phone();
  186. void set_allocated_customer_phone(::std::string* customer_phone);
  187. // string customer_password = 5;
  188. void clear_customer_password();
  189. static const int kCustomerPasswordFieldNumber = 5;
  190. const ::std::string& customer_password() const;
  191. void set_customer_password(const ::std::string& value);
  192. #if LANG_CXX11
  193. void set_customer_password(::std::string&& value);
  194. #endif
  195. void set_customer_password(const char* value);
  196. void set_customer_password(const char* value, size_t size);
  197. ::std::string* mutable_customer_password();
  198. ::std::string* release_customer_password();
  199. void set_allocated_customer_password(::std::string* customer_password);
  200. // string customer_old_phone = 6;
  201. void clear_customer_old_phone();
  202. static const int kCustomerOldPhoneFieldNumber = 6;
  203. const ::std::string& customer_old_phone() const;
  204. void set_customer_old_phone(const ::std::string& value);
  205. #if LANG_CXX11
  206. void set_customer_old_phone(::std::string&& value);
  207. #endif
  208. void set_customer_old_phone(const char* value);
  209. void set_customer_old_phone(const char* value, size_t size);
  210. ::std::string* mutable_customer_old_phone();
  211. ::std::string* release_customer_old_phone();
  212. void set_allocated_customer_old_phone(::std::string* customer_old_phone);
  213. // string customer_vcode = 7;
  214. void clear_customer_vcode();
  215. static const int kCustomerVcodeFieldNumber = 7;
  216. const ::std::string& customer_vcode() const;
  217. void set_customer_vcode(const ::std::string& value);
  218. #if LANG_CXX11
  219. void set_customer_vcode(::std::string&& value);
  220. #endif
  221. void set_customer_vcode(const char* value);
  222. void set_customer_vcode(const char* value, size_t size);
  223. ::std::string* mutable_customer_vcode();
  224. ::std::string* release_customer_vcode();
  225. void set_allocated_customer_vcode(::std::string* customer_vcode);
  226. // string customer_vcode_expiry_time = 8;
  227. void clear_customer_vcode_expiry_time();
  228. static const int kCustomerVcodeExpiryTimeFieldNumber = 8;
  229. const ::std::string& customer_vcode_expiry_time() const;
  230. void set_customer_vcode_expiry_time(const ::std::string& value);
  231. #if LANG_CXX11
  232. void set_customer_vcode_expiry_time(::std::string&& value);
  233. #endif
  234. void set_customer_vcode_expiry_time(const char* value);
  235. void set_customer_vcode_expiry_time(const char* value, size_t size);
  236. ::std::string* mutable_customer_vcode_expiry_time();
  237. ::std::string* release_customer_vcode_expiry_time();
  238. void set_allocated_customer_vcode_expiry_time(::std::string* customer_vcode_expiry_time);
  239. // string customer_gen_time = 10;
  240. void clear_customer_gen_time();
  241. static const int kCustomerGenTimeFieldNumber = 10;
  242. const ::std::string& customer_gen_time() const;
  243. void set_customer_gen_time(const ::std::string& value);
  244. #if LANG_CXX11
  245. void set_customer_gen_time(::std::string&& value);
  246. #endif
  247. void set_customer_gen_time(const char* value);
  248. void set_customer_gen_time(const char* value, size_t size);
  249. ::std::string* mutable_customer_gen_time();
  250. ::std::string* release_customer_gen_time();
  251. void set_allocated_customer_gen_time(::std::string* customer_gen_time);
  252. // bool customer_gender = 3;
  253. void clear_customer_gender();
  254. static const int kCustomerGenderFieldNumber = 3;
  255. bool customer_gender() const;
  256. void set_customer_gender(bool value);
  257. // bool customer_enable = 9;
  258. void clear_customer_enable();
  259. static const int kCustomerEnableFieldNumber = 9;
  260. bool customer_enable() const;
  261. void set_customer_enable(bool value);
  262. // @@protoc_insertion_point(class_scope:tb_customer)
  263. private:
  264. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  265. ::google::protobuf::internal::ArenaStringPtr customer_id_;
  266. ::google::protobuf::internal::ArenaStringPtr customer_name_;
  267. ::google::protobuf::internal::ArenaStringPtr customer_phone_;
  268. ::google::protobuf::internal::ArenaStringPtr customer_password_;
  269. ::google::protobuf::internal::ArenaStringPtr customer_old_phone_;
  270. ::google::protobuf::internal::ArenaStringPtr customer_vcode_;
  271. ::google::protobuf::internal::ArenaStringPtr customer_vcode_expiry_time_;
  272. ::google::protobuf::internal::ArenaStringPtr customer_gen_time_;
  273. bool customer_gender_;
  274. bool customer_enable_;
  275. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  276. friend struct ::protobuf_table_2eproto::TableStruct;
  277. };
  278. // -------------------------------------------------------------------
  279. class tb_type : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:tb_type) */ {
  280. public:
  281. tb_type();
  282. virtual ~tb_type();
  283. tb_type(const tb_type& from);
  284. inline tb_type& operator=(const tb_type& from) {
  285. CopyFrom(from);
  286. return *this;
  287. }
  288. #if LANG_CXX11
  289. tb_type(tb_type&& from) noexcept
  290. : tb_type() {
  291. *this = ::std::move(from);
  292. }
  293. inline tb_type& operator=(tb_type&& from) noexcept {
  294. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  295. if (this != &from) InternalSwap(&from);
  296. } else {
  297. CopyFrom(from);
  298. }
  299. return *this;
  300. }
  301. #endif
  302. static const ::google::protobuf::Descriptor* descriptor();
  303. static const tb_type& default_instance();
  304. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  305. static inline const tb_type* internal_default_instance() {
  306. return reinterpret_cast<const tb_type*>(
  307. &_tb_type_default_instance_);
  308. }
  309. static constexpr int kIndexInFileMessages =
  310. 1;
  311. void Swap(tb_type* other);
  312. friend void swap(tb_type& a, tb_type& b) {
  313. a.Swap(&b);
  314. }
  315. // implements Message ----------------------------------------------
  316. inline tb_type* New() const final {
  317. return CreateMaybeMessage<tb_type>(NULL);
  318. }
  319. tb_type* New(::google::protobuf::Arena* arena) const final {
  320. return CreateMaybeMessage<tb_type>(arena);
  321. }
  322. void CopyFrom(const ::google::protobuf::Message& from) final;
  323. void MergeFrom(const ::google::protobuf::Message& from) final;
  324. void CopyFrom(const tb_type& from);
  325. void MergeFrom(const tb_type& from);
  326. void Clear() final;
  327. bool IsInitialized() const final;
  328. size_t ByteSizeLong() const final;
  329. bool MergePartialFromCodedStream(
  330. ::google::protobuf::io::CodedInputStream* input) final;
  331. void SerializeWithCachedSizes(
  332. ::google::protobuf::io::CodedOutputStream* output) const final;
  333. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  334. bool deterministic, ::google::protobuf::uint8* target) const final;
  335. int GetCachedSize() const final { return _cached_size_.Get(); }
  336. private:
  337. void SharedCtor();
  338. void SharedDtor();
  339. void SetCachedSize(int size) const final;
  340. void InternalSwap(tb_type* other);
  341. private:
  342. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  343. return NULL;
  344. }
  345. inline void* MaybeArenaPtr() const {
  346. return NULL;
  347. }
  348. public:
  349. ::google::protobuf::Metadata GetMetadata() const final;
  350. // nested types ----------------------------------------------------
  351. // accessors -------------------------------------------------------
  352. // string customer_id = 1;
  353. void clear_customer_id();
  354. static const int kCustomerIdFieldNumber = 1;
  355. const ::std::string& customer_id() const;
  356. void set_customer_id(const ::std::string& value);
  357. #if LANG_CXX11
  358. void set_customer_id(::std::string&& value);
  359. #endif
  360. void set_customer_id(const char* value);
  361. void set_customer_id(const char* value, size_t size);
  362. ::std::string* mutable_customer_id();
  363. ::std::string* release_customer_id();
  364. void set_allocated_customer_id(::std::string* customer_id);
  365. // string type_id = 2;
  366. void clear_type_id();
  367. static const int kTypeIdFieldNumber = 2;
  368. const ::std::string& type_id() const;
  369. void set_type_id(const ::std::string& value);
  370. #if LANG_CXX11
  371. void set_type_id(::std::string&& value);
  372. #endif
  373. void set_type_id(const char* value);
  374. void set_type_id(const char* value, size_t size);
  375. ::std::string* mutable_type_id();
  376. ::std::string* release_type_id();
  377. void set_allocated_type_id(::std::string* type_id);
  378. // string type_name = 3;
  379. void clear_type_name();
  380. static const int kTypeNameFieldNumber = 3;
  381. const ::std::string& type_name() const;
  382. void set_type_name(const ::std::string& value);
  383. #if LANG_CXX11
  384. void set_type_name(::std::string&& value);
  385. #endif
  386. void set_type_name(const char* value);
  387. void set_type_name(const char* value, size_t size);
  388. ::std::string* mutable_type_name();
  389. ::std::string* release_type_name();
  390. void set_allocated_type_name(::std::string* type_name);
  391. // string type_gen_time = 4;
  392. void clear_type_gen_time();
  393. static const int kTypeGenTimeFieldNumber = 4;
  394. const ::std::string& type_gen_time() const;
  395. void set_type_gen_time(const ::std::string& value);
  396. #if LANG_CXX11
  397. void set_type_gen_time(::std::string&& value);
  398. #endif
  399. void set_type_gen_time(const char* value);
  400. void set_type_gen_time(const char* value, size_t size);
  401. ::std::string* mutable_type_gen_time();
  402. ::std::string* release_type_gen_time();
  403. void set_allocated_type_gen_time(::std::string* type_gen_time);
  404. // @@protoc_insertion_point(class_scope:tb_type)
  405. private:
  406. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  407. ::google::protobuf::internal::ArenaStringPtr customer_id_;
  408. ::google::protobuf::internal::ArenaStringPtr type_id_;
  409. ::google::protobuf::internal::ArenaStringPtr type_name_;
  410. ::google::protobuf::internal::ArenaStringPtr type_gen_time_;
  411. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  412. friend struct ::protobuf_table_2eproto::TableStruct;
  413. };
  414. // -------------------------------------------------------------------
  415. class tb_reply : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:tb_reply) */ {
  416. public:
  417. tb_reply();
  418. virtual ~tb_reply();
  419. tb_reply(const tb_reply& from);
  420. inline tb_reply& operator=(const tb_reply& from) {
  421. CopyFrom(from);
  422. return *this;
  423. }
  424. #if LANG_CXX11
  425. tb_reply(tb_reply&& from) noexcept
  426. : tb_reply() {
  427. *this = ::std::move(from);
  428. }
  429. inline tb_reply& operator=(tb_reply&& from) noexcept {
  430. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  431. if (this != &from) InternalSwap(&from);
  432. } else {
  433. CopyFrom(from);
  434. }
  435. return *this;
  436. }
  437. #endif
  438. static const ::google::protobuf::Descriptor* descriptor();
  439. static const tb_reply& default_instance();
  440. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  441. static inline const tb_reply* internal_default_instance() {
  442. return reinterpret_cast<const tb_reply*>(
  443. &_tb_reply_default_instance_);
  444. }
  445. static constexpr int kIndexInFileMessages =
  446. 2;
  447. void Swap(tb_reply* other);
  448. friend void swap(tb_reply& a, tb_reply& b) {
  449. a.Swap(&b);
  450. }
  451. // implements Message ----------------------------------------------
  452. inline tb_reply* New() const final {
  453. return CreateMaybeMessage<tb_reply>(NULL);
  454. }
  455. tb_reply* New(::google::protobuf::Arena* arena) const final {
  456. return CreateMaybeMessage<tb_reply>(arena);
  457. }
  458. void CopyFrom(const ::google::protobuf::Message& from) final;
  459. void MergeFrom(const ::google::protobuf::Message& from) final;
  460. void CopyFrom(const tb_reply& from);
  461. void MergeFrom(const tb_reply& from);
  462. void Clear() final;
  463. bool IsInitialized() const final;
  464. size_t ByteSizeLong() const final;
  465. bool MergePartialFromCodedStream(
  466. ::google::protobuf::io::CodedInputStream* input) final;
  467. void SerializeWithCachedSizes(
  468. ::google::protobuf::io::CodedOutputStream* output) const final;
  469. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  470. bool deterministic, ::google::protobuf::uint8* target) const final;
  471. int GetCachedSize() const final { return _cached_size_.Get(); }
  472. private:
  473. void SharedCtor();
  474. void SharedDtor();
  475. void SetCachedSize(int size) const final;
  476. void InternalSwap(tb_reply* other);
  477. private:
  478. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  479. return NULL;
  480. }
  481. inline void* MaybeArenaPtr() const {
  482. return NULL;
  483. }
  484. public:
  485. ::google::protobuf::Metadata GetMetadata() const final;
  486. // nested types ----------------------------------------------------
  487. // accessors -------------------------------------------------------
  488. // string type_id = 1;
  489. void clear_type_id();
  490. static const int kTypeIdFieldNumber = 1;
  491. const ::std::string& type_id() const;
  492. void set_type_id(const ::std::string& value);
  493. #if LANG_CXX11
  494. void set_type_id(::std::string&& value);
  495. #endif
  496. void set_type_id(const char* value);
  497. void set_type_id(const char* value, size_t size);
  498. ::std::string* mutable_type_id();
  499. ::std::string* release_type_id();
  500. void set_allocated_type_id(::std::string* type_id);
  501. // string reply_name = 2;
  502. void clear_reply_name();
  503. static const int kReplyNameFieldNumber = 2;
  504. const ::std::string& reply_name() const;
  505. void set_reply_name(const ::std::string& value);
  506. #if LANG_CXX11
  507. void set_reply_name(::std::string&& value);
  508. #endif
  509. void set_reply_name(const char* value);
  510. void set_reply_name(const char* value, size_t size);
  511. ::std::string* mutable_reply_name();
  512. ::std::string* release_reply_name();
  513. void set_allocated_reply_name(::std::string* reply_name);
  514. // string reply_content = 3;
  515. void clear_reply_content();
  516. static const int kReplyContentFieldNumber = 3;
  517. const ::std::string& reply_content() const;
  518. void set_reply_content(const ::std::string& value);
  519. #if LANG_CXX11
  520. void set_reply_content(::std::string&& value);
  521. #endif
  522. void set_reply_content(const char* value);
  523. void set_reply_content(const char* value, size_t size);
  524. ::std::string* mutable_reply_content();
  525. ::std::string* release_reply_content();
  526. void set_allocated_reply_content(::std::string* reply_content);
  527. // string reply_gen_time = 4;
  528. void clear_reply_gen_time();
  529. static const int kReplyGenTimeFieldNumber = 4;
  530. const ::std::string& reply_gen_time() const;
  531. void set_reply_gen_time(const ::std::string& value);
  532. #if LANG_CXX11
  533. void set_reply_gen_time(::std::string&& value);
  534. #endif
  535. void set_reply_gen_time(const char* value);
  536. void set_reply_gen_time(const char* value, size_t size);
  537. ::std::string* mutable_reply_gen_time();
  538. ::std::string* release_reply_gen_time();
  539. void set_allocated_reply_gen_time(::std::string* reply_gen_time);
  540. // @@protoc_insertion_point(class_scope:tb_reply)
  541. private:
  542. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  543. ::google::protobuf::internal::ArenaStringPtr type_id_;
  544. ::google::protobuf::internal::ArenaStringPtr reply_name_;
  545. ::google::protobuf::internal::ArenaStringPtr reply_content_;
  546. ::google::protobuf::internal::ArenaStringPtr reply_gen_time_;
  547. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  548. friend struct ::protobuf_table_2eproto::TableStruct;
  549. };
  550. // -------------------------------------------------------------------
  551. class rec_customer : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rec_customer) */ {
  552. public:
  553. rec_customer();
  554. virtual ~rec_customer();
  555. rec_customer(const rec_customer& from);
  556. inline rec_customer& operator=(const rec_customer& from) {
  557. CopyFrom(from);
  558. return *this;
  559. }
  560. #if LANG_CXX11
  561. rec_customer(rec_customer&& from) noexcept
  562. : rec_customer() {
  563. *this = ::std::move(from);
  564. }
  565. inline rec_customer& operator=(rec_customer&& from) noexcept {
  566. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  567. if (this != &from) InternalSwap(&from);
  568. } else {
  569. CopyFrom(from);
  570. }
  571. return *this;
  572. }
  573. #endif
  574. static const ::google::protobuf::Descriptor* descriptor();
  575. static const rec_customer& default_instance();
  576. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  577. static inline const rec_customer* internal_default_instance() {
  578. return reinterpret_cast<const rec_customer*>(
  579. &_rec_customer_default_instance_);
  580. }
  581. static constexpr int kIndexInFileMessages =
  582. 3;
  583. void Swap(rec_customer* other);
  584. friend void swap(rec_customer& a, rec_customer& b) {
  585. a.Swap(&b);
  586. }
  587. // implements Message ----------------------------------------------
  588. inline rec_customer* New() const final {
  589. return CreateMaybeMessage<rec_customer>(NULL);
  590. }
  591. rec_customer* New(::google::protobuf::Arena* arena) const final {
  592. return CreateMaybeMessage<rec_customer>(arena);
  593. }
  594. void CopyFrom(const ::google::protobuf::Message& from) final;
  595. void MergeFrom(const ::google::protobuf::Message& from) final;
  596. void CopyFrom(const rec_customer& from);
  597. void MergeFrom(const rec_customer& from);
  598. void Clear() final;
  599. bool IsInitialized() const final;
  600. size_t ByteSizeLong() const final;
  601. bool MergePartialFromCodedStream(
  602. ::google::protobuf::io::CodedInputStream* input) final;
  603. void SerializeWithCachedSizes(
  604. ::google::protobuf::io::CodedOutputStream* output) const final;
  605. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  606. bool deterministic, ::google::protobuf::uint8* target) const final;
  607. int GetCachedSize() const final { return _cached_size_.Get(); }
  608. private:
  609. void SharedCtor();
  610. void SharedDtor();
  611. void SetCachedSize(int size) const final;
  612. void InternalSwap(rec_customer* other);
  613. private:
  614. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  615. return NULL;
  616. }
  617. inline void* MaybeArenaPtr() const {
  618. return NULL;
  619. }
  620. public:
  621. ::google::protobuf::Metadata GetMetadata() const final;
  622. // nested types ----------------------------------------------------
  623. // accessors -------------------------------------------------------
  624. // repeated .tb_customer customers = 1;
  625. int customers_size() const;
  626. void clear_customers();
  627. static const int kCustomersFieldNumber = 1;
  628. ::tb_customer* mutable_customers(int index);
  629. ::google::protobuf::RepeatedPtrField< ::tb_customer >*
  630. mutable_customers();
  631. const ::tb_customer& customers(int index) const;
  632. ::tb_customer* add_customers();
  633. const ::google::protobuf::RepeatedPtrField< ::tb_customer >&
  634. customers() const;
  635. // @@protoc_insertion_point(class_scope:rec_customer)
  636. private:
  637. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  638. ::google::protobuf::RepeatedPtrField< ::tb_customer > customers_;
  639. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  640. friend struct ::protobuf_table_2eproto::TableStruct;
  641. };
  642. // -------------------------------------------------------------------
  643. class rec_type : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rec_type) */ {
  644. public:
  645. rec_type();
  646. virtual ~rec_type();
  647. rec_type(const rec_type& from);
  648. inline rec_type& operator=(const rec_type& from) {
  649. CopyFrom(from);
  650. return *this;
  651. }
  652. #if LANG_CXX11
  653. rec_type(rec_type&& from) noexcept
  654. : rec_type() {
  655. *this = ::std::move(from);
  656. }
  657. inline rec_type& operator=(rec_type&& from) noexcept {
  658. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  659. if (this != &from) InternalSwap(&from);
  660. } else {
  661. CopyFrom(from);
  662. }
  663. return *this;
  664. }
  665. #endif
  666. static const ::google::protobuf::Descriptor* descriptor();
  667. static const rec_type& default_instance();
  668. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  669. static inline const rec_type* internal_default_instance() {
  670. return reinterpret_cast<const rec_type*>(
  671. &_rec_type_default_instance_);
  672. }
  673. static constexpr int kIndexInFileMessages =
  674. 4;
  675. void Swap(rec_type* other);
  676. friend void swap(rec_type& a, rec_type& b) {
  677. a.Swap(&b);
  678. }
  679. // implements Message ----------------------------------------------
  680. inline rec_type* New() const final {
  681. return CreateMaybeMessage<rec_type>(NULL);
  682. }
  683. rec_type* New(::google::protobuf::Arena* arena) const final {
  684. return CreateMaybeMessage<rec_type>(arena);
  685. }
  686. void CopyFrom(const ::google::protobuf::Message& from) final;
  687. void MergeFrom(const ::google::protobuf::Message& from) final;
  688. void CopyFrom(const rec_type& from);
  689. void MergeFrom(const rec_type& from);
  690. void Clear() final;
  691. bool IsInitialized() const final;
  692. size_t ByteSizeLong() const final;
  693. bool MergePartialFromCodedStream(
  694. ::google::protobuf::io::CodedInputStream* input) final;
  695. void SerializeWithCachedSizes(
  696. ::google::protobuf::io::CodedOutputStream* output) const final;
  697. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  698. bool deterministic, ::google::protobuf::uint8* target) const final;
  699. int GetCachedSize() const final { return _cached_size_.Get(); }
  700. private:
  701. void SharedCtor();
  702. void SharedDtor();
  703. void SetCachedSize(int size) const final;
  704. void InternalSwap(rec_type* other);
  705. private:
  706. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  707. return NULL;
  708. }
  709. inline void* MaybeArenaPtr() const {
  710. return NULL;
  711. }
  712. public:
  713. ::google::protobuf::Metadata GetMetadata() const final;
  714. // nested types ----------------------------------------------------
  715. // accessors -------------------------------------------------------
  716. // repeated .tb_type types = 1;
  717. int types_size() const;
  718. void clear_types();
  719. static const int kTypesFieldNumber = 1;
  720. ::tb_type* mutable_types(int index);
  721. ::google::protobuf::RepeatedPtrField< ::tb_type >*
  722. mutable_types();
  723. const ::tb_type& types(int index) const;
  724. ::tb_type* add_types();
  725. const ::google::protobuf::RepeatedPtrField< ::tb_type >&
  726. types() const;
  727. // @@protoc_insertion_point(class_scope:rec_type)
  728. private:
  729. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  730. ::google::protobuf::RepeatedPtrField< ::tb_type > types_;
  731. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  732. friend struct ::protobuf_table_2eproto::TableStruct;
  733. };
  734. // -------------------------------------------------------------------
  735. class rec_reply : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rec_reply) */ {
  736. public:
  737. rec_reply();
  738. virtual ~rec_reply();
  739. rec_reply(const rec_reply& from);
  740. inline rec_reply& operator=(const rec_reply& from) {
  741. CopyFrom(from);
  742. return *this;
  743. }
  744. #if LANG_CXX11
  745. rec_reply(rec_reply&& from) noexcept
  746. : rec_reply() {
  747. *this = ::std::move(from);
  748. }
  749. inline rec_reply& operator=(rec_reply&& from) noexcept {
  750. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  751. if (this != &from) InternalSwap(&from);
  752. } else {
  753. CopyFrom(from);
  754. }
  755. return *this;
  756. }
  757. #endif
  758. static const ::google::protobuf::Descriptor* descriptor();
  759. static const rec_reply& default_instance();
  760. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  761. static inline const rec_reply* internal_default_instance() {
  762. return reinterpret_cast<const rec_reply*>(
  763. &_rec_reply_default_instance_);
  764. }
  765. static constexpr int kIndexInFileMessages =
  766. 5;
  767. void Swap(rec_reply* other);
  768. friend void swap(rec_reply& a, rec_reply& b) {
  769. a.Swap(&b);
  770. }
  771. // implements Message ----------------------------------------------
  772. inline rec_reply* New() const final {
  773. return CreateMaybeMessage<rec_reply>(NULL);
  774. }
  775. rec_reply* New(::google::protobuf::Arena* arena) const final {
  776. return CreateMaybeMessage<rec_reply>(arena);
  777. }
  778. void CopyFrom(const ::google::protobuf::Message& from) final;
  779. void MergeFrom(const ::google::protobuf::Message& from) final;
  780. void CopyFrom(const rec_reply& from);
  781. void MergeFrom(const rec_reply& from);
  782. void Clear() final;
  783. bool IsInitialized() const final;
  784. size_t ByteSizeLong() const final;
  785. bool MergePartialFromCodedStream(
  786. ::google::protobuf::io::CodedInputStream* input) final;
  787. void SerializeWithCachedSizes(
  788. ::google::protobuf::io::CodedOutputStream* output) const final;
  789. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  790. bool deterministic, ::google::protobuf::uint8* target) const final;
  791. int GetCachedSize() const final { return _cached_size_.Get(); }
  792. private:
  793. void SharedCtor();
  794. void SharedDtor();
  795. void SetCachedSize(int size) const final;
  796. void InternalSwap(rec_reply* other);
  797. private:
  798. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  799. return NULL;
  800. }
  801. inline void* MaybeArenaPtr() const {
  802. return NULL;
  803. }
  804. public:
  805. ::google::protobuf::Metadata GetMetadata() const final;
  806. // nested types ----------------------------------------------------
  807. // accessors -------------------------------------------------------
  808. // repeated .tb_reply replys = 1;
  809. int replys_size() const;
  810. void clear_replys();
  811. static const int kReplysFieldNumber = 1;
  812. ::tb_reply* mutable_replys(int index);
  813. ::google::protobuf::RepeatedPtrField< ::tb_reply >*
  814. mutable_replys();
  815. const ::tb_reply& replys(int index) const;
  816. ::tb_reply* add_replys();
  817. const ::google::protobuf::RepeatedPtrField< ::tb_reply >&
  818. replys() const;
  819. // @@protoc_insertion_point(class_scope:rec_reply)
  820. private:
  821. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  822. ::google::protobuf::RepeatedPtrField< ::tb_reply > replys_;
  823. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  824. friend struct ::protobuf_table_2eproto::TableStruct;
  825. };
  826. // -------------------------------------------------------------------
  827. class view : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:view) */ {
  828. public:
  829. view();
  830. virtual ~view();
  831. view(const view& from);
  832. inline view& operator=(const view& from) {
  833. CopyFrom(from);
  834. return *this;
  835. }
  836. #if LANG_CXX11
  837. view(view&& from) noexcept
  838. : view() {
  839. *this = ::std::move(from);
  840. }
  841. inline view& operator=(view&& from) noexcept {
  842. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  843. if (this != &from) InternalSwap(&from);
  844. } else {
  845. CopyFrom(from);
  846. }
  847. return *this;
  848. }
  849. #endif
  850. static const ::google::protobuf::Descriptor* descriptor();
  851. static const view& default_instance();
  852. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  853. static inline const view* internal_default_instance() {
  854. return reinterpret_cast<const view*>(
  855. &_view_default_instance_);
  856. }
  857. static constexpr int kIndexInFileMessages =
  858. 6;
  859. void Swap(view* other);
  860. friend void swap(view& a, view& b) {
  861. a.Swap(&b);
  862. }
  863. // implements Message ----------------------------------------------
  864. inline view* New() const final {
  865. return CreateMaybeMessage<view>(NULL);
  866. }
  867. view* New(::google::protobuf::Arena* arena) const final {
  868. return CreateMaybeMessage<view>(arena);
  869. }
  870. void CopyFrom(const ::google::protobuf::Message& from) final;
  871. void MergeFrom(const ::google::protobuf::Message& from) final;
  872. void CopyFrom(const view& from);
  873. void MergeFrom(const view& from);
  874. void Clear() final;
  875. bool IsInitialized() const final;
  876. size_t ByteSizeLong() const final;
  877. bool MergePartialFromCodedStream(
  878. ::google::protobuf::io::CodedInputStream* input) final;
  879. void SerializeWithCachedSizes(
  880. ::google::protobuf::io::CodedOutputStream* output) const final;
  881. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  882. bool deterministic, ::google::protobuf::uint8* target) const final;
  883. int GetCachedSize() const final { return _cached_size_.Get(); }
  884. private:
  885. void SharedCtor();
  886. void SharedDtor();
  887. void SetCachedSize(int size) const final;
  888. void InternalSwap(view* other);
  889. private:
  890. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  891. return NULL;
  892. }
  893. inline void* MaybeArenaPtr() const {
  894. return NULL;
  895. }
  896. public:
  897. ::google::protobuf::Metadata GetMetadata() const final;
  898. // nested types ----------------------------------------------------
  899. // accessors -------------------------------------------------------
  900. // .tb_customer customer = 1;
  901. bool has_customer() const;
  902. void clear_customer();
  903. static const int kCustomerFieldNumber = 1;
  904. private:
  905. const ::tb_customer& _internal_customer() const;
  906. public:
  907. const ::tb_customer& customer() const;
  908. ::tb_customer* release_customer();
  909. ::tb_customer* mutable_customer();
  910. void set_allocated_customer(::tb_customer* customer);
  911. // .rec_type types = 2;
  912. bool has_types() const;
  913. void clear_types();
  914. static const int kTypesFieldNumber = 2;
  915. private:
  916. const ::rec_type& _internal_types() const;
  917. public:
  918. const ::rec_type& types() const;
  919. ::rec_type* release_types();
  920. ::rec_type* mutable_types();
  921. void set_allocated_types(::rec_type* types);
  922. // .rec_reply replys = 3;
  923. bool has_replys() const;
  924. void clear_replys();
  925. static const int kReplysFieldNumber = 3;
  926. private:
  927. const ::rec_reply& _internal_replys() const;
  928. public:
  929. const ::rec_reply& replys() const;
  930. ::rec_reply* release_replys();
  931. ::rec_reply* mutable_replys();
  932. void set_allocated_replys(::rec_reply* replys);
  933. // @@protoc_insertion_point(class_scope:view)
  934. private:
  935. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  936. ::tb_customer* customer_;
  937. ::rec_type* types_;
  938. ::rec_reply* replys_;
  939. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  940. friend struct ::protobuf_table_2eproto::TableStruct;
  941. };
  942. // ===================================================================
  943. // ===================================================================
  944. #ifdef __GNUC__
  945. #pragma GCC diagnostic push
  946. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  947. #endif // __GNUC__
  948. // tb_customer
  949. // string customer_id = 1;
  950. inline void tb_customer::clear_customer_id() {
  951. customer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  952. }
  953. inline const ::std::string& tb_customer::customer_id() const {
  954. // @@protoc_insertion_point(field_get:tb_customer.customer_id)
  955. return customer_id_.GetNoArena();
  956. }
  957. inline void tb_customer::set_customer_id(const ::std::string& value) {
  958. customer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  959. // @@protoc_insertion_point(field_set:tb_customer.customer_id)
  960. }
  961. #if LANG_CXX11
  962. inline void tb_customer::set_customer_id(::std::string&& value) {
  963. customer_id_.SetNoArena(
  964. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  965. // @@protoc_insertion_point(field_set_rvalue:tb_customer.customer_id)
  966. }
  967. #endif
  968. inline void tb_customer::set_customer_id(const char* value) {
  969. GOOGLE_DCHECK(value != NULL);
  970. customer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  971. // @@protoc_insertion_point(field_set_char:tb_customer.customer_id)
  972. }
  973. inline void tb_customer::set_customer_id(const char* value, size_t size) {
  974. customer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  975. ::std::string(reinterpret_cast<const char*>(value), size));
  976. // @@protoc_insertion_point(field_set_pointer:tb_customer.customer_id)
  977. }
  978. inline ::std::string* tb_customer::mutable_customer_id() {
  979. // @@protoc_insertion_point(field_mutable:tb_customer.customer_id)
  980. return customer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  981. }
  982. inline ::std::string* tb_customer::release_customer_id() {
  983. // @@protoc_insertion_point(field_release:tb_customer.customer_id)
  984. return customer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  985. }
  986. inline void tb_customer::set_allocated_customer_id(::std::string* customer_id) {
  987. if (customer_id != NULL) {
  988. } else {
  989. }
  990. customer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), customer_id);
  991. // @@protoc_insertion_point(field_set_allocated:tb_customer.customer_id)
  992. }
  993. // string customer_name = 2;
  994. inline void tb_customer::clear_customer_name() {
  995. customer_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  996. }
  997. inline const ::std::string& tb_customer::customer_name() const {
  998. // @@protoc_insertion_point(field_get:tb_customer.customer_name)
  999. return customer_name_.GetNoArena();
  1000. }
  1001. inline void tb_customer::set_customer_name(const ::std::string& value) {
  1002. customer_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1003. // @@protoc_insertion_point(field_set:tb_customer.customer_name)
  1004. }
  1005. #if LANG_CXX11
  1006. inline void tb_customer::set_customer_name(::std::string&& value) {
  1007. customer_name_.SetNoArena(
  1008. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1009. // @@protoc_insertion_point(field_set_rvalue:tb_customer.customer_name)
  1010. }
  1011. #endif
  1012. inline void tb_customer::set_customer_name(const char* value) {
  1013. GOOGLE_DCHECK(value != NULL);
  1014. customer_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1015. // @@protoc_insertion_point(field_set_char:tb_customer.customer_name)
  1016. }
  1017. inline void tb_customer::set_customer_name(const char* value, size_t size) {
  1018. customer_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1019. ::std::string(reinterpret_cast<const char*>(value), size));
  1020. // @@protoc_insertion_point(field_set_pointer:tb_customer.customer_name)
  1021. }
  1022. inline ::std::string* tb_customer::mutable_customer_name() {
  1023. // @@protoc_insertion_point(field_mutable:tb_customer.customer_name)
  1024. return customer_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1025. }
  1026. inline ::std::string* tb_customer::release_customer_name() {
  1027. // @@protoc_insertion_point(field_release:tb_customer.customer_name)
  1028. return customer_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1029. }
  1030. inline void tb_customer::set_allocated_customer_name(::std::string* customer_name) {
  1031. if (customer_name != NULL) {
  1032. } else {
  1033. }
  1034. customer_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), customer_name);
  1035. // @@protoc_insertion_point(field_set_allocated:tb_customer.customer_name)
  1036. }
  1037. // bool customer_gender = 3;
  1038. inline void tb_customer::clear_customer_gender() {
  1039. customer_gender_ = false;
  1040. }
  1041. inline bool tb_customer::customer_gender() const {
  1042. // @@protoc_insertion_point(field_get:tb_customer.customer_gender)
  1043. return customer_gender_;
  1044. }
  1045. inline void tb_customer::set_customer_gender(bool value) {
  1046. customer_gender_ = value;
  1047. // @@protoc_insertion_point(field_set:tb_customer.customer_gender)
  1048. }
  1049. // string customer_phone = 4;
  1050. inline void tb_customer::clear_customer_phone() {
  1051. customer_phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1052. }
  1053. inline const ::std::string& tb_customer::customer_phone() const {
  1054. // @@protoc_insertion_point(field_get:tb_customer.customer_phone)
  1055. return customer_phone_.GetNoArena();
  1056. }
  1057. inline void tb_customer::set_customer_phone(const ::std::string& value) {
  1058. customer_phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1059. // @@protoc_insertion_point(field_set:tb_customer.customer_phone)
  1060. }
  1061. #if LANG_CXX11
  1062. inline void tb_customer::set_customer_phone(::std::string&& value) {
  1063. customer_phone_.SetNoArena(
  1064. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1065. // @@protoc_insertion_point(field_set_rvalue:tb_customer.customer_phone)
  1066. }
  1067. #endif
  1068. inline void tb_customer::set_customer_phone(const char* value) {
  1069. GOOGLE_DCHECK(value != NULL);
  1070. customer_phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1071. // @@protoc_insertion_point(field_set_char:tb_customer.customer_phone)
  1072. }
  1073. inline void tb_customer::set_customer_phone(const char* value, size_t size) {
  1074. customer_phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1075. ::std::string(reinterpret_cast<const char*>(value), size));
  1076. // @@protoc_insertion_point(field_set_pointer:tb_customer.customer_phone)
  1077. }
  1078. inline ::std::string* tb_customer::mutable_customer_phone() {
  1079. // @@protoc_insertion_point(field_mutable:tb_customer.customer_phone)
  1080. return customer_phone_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1081. }
  1082. inline ::std::string* tb_customer::release_customer_phone() {
  1083. // @@protoc_insertion_point(field_release:tb_customer.customer_phone)
  1084. return customer_phone_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1085. }
  1086. inline void tb_customer::set_allocated_customer_phone(::std::string* customer_phone) {
  1087. if (customer_phone != NULL) {
  1088. } else {
  1089. }
  1090. customer_phone_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), customer_phone);
  1091. // @@protoc_insertion_point(field_set_allocated:tb_customer.customer_phone)
  1092. }
  1093. // string customer_password = 5;
  1094. inline void tb_customer::clear_customer_password() {
  1095. customer_password_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1096. }
  1097. inline const ::std::string& tb_customer::customer_password() const {
  1098. // @@protoc_insertion_point(field_get:tb_customer.customer_password)
  1099. return customer_password_.GetNoArena();
  1100. }
  1101. inline void tb_customer::set_customer_password(const ::std::string& value) {
  1102. customer_password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1103. // @@protoc_insertion_point(field_set:tb_customer.customer_password)
  1104. }
  1105. #if LANG_CXX11
  1106. inline void tb_customer::set_customer_password(::std::string&& value) {
  1107. customer_password_.SetNoArena(
  1108. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1109. // @@protoc_insertion_point(field_set_rvalue:tb_customer.customer_password)
  1110. }
  1111. #endif
  1112. inline void tb_customer::set_customer_password(const char* value) {
  1113. GOOGLE_DCHECK(value != NULL);
  1114. customer_password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1115. // @@protoc_insertion_point(field_set_char:tb_customer.customer_password)
  1116. }
  1117. inline void tb_customer::set_customer_password(const char* value, size_t size) {
  1118. customer_password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1119. ::std::string(reinterpret_cast<const char*>(value), size));
  1120. // @@protoc_insertion_point(field_set_pointer:tb_customer.customer_password)
  1121. }
  1122. inline ::std::string* tb_customer::mutable_customer_password() {
  1123. // @@protoc_insertion_point(field_mutable:tb_customer.customer_password)
  1124. return customer_password_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1125. }
  1126. inline ::std::string* tb_customer::release_customer_password() {
  1127. // @@protoc_insertion_point(field_release:tb_customer.customer_password)
  1128. return customer_password_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1129. }
  1130. inline void tb_customer::set_allocated_customer_password(::std::string* customer_password) {
  1131. if (customer_password != NULL) {
  1132. } else {
  1133. }
  1134. customer_password_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), customer_password);
  1135. // @@protoc_insertion_point(field_set_allocated:tb_customer.customer_password)
  1136. }
  1137. // string customer_old_phone = 6;
  1138. inline void tb_customer::clear_customer_old_phone() {
  1139. customer_old_phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1140. }
  1141. inline const ::std::string& tb_customer::customer_old_phone() const {
  1142. // @@protoc_insertion_point(field_get:tb_customer.customer_old_phone)
  1143. return customer_old_phone_.GetNoArena();
  1144. }
  1145. inline void tb_customer::set_customer_old_phone(const ::std::string& value) {
  1146. customer_old_phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1147. // @@protoc_insertion_point(field_set:tb_customer.customer_old_phone)
  1148. }
  1149. #if LANG_CXX11
  1150. inline void tb_customer::set_customer_old_phone(::std::string&& value) {
  1151. customer_old_phone_.SetNoArena(
  1152. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1153. // @@protoc_insertion_point(field_set_rvalue:tb_customer.customer_old_phone)
  1154. }
  1155. #endif
  1156. inline void tb_customer::set_customer_old_phone(const char* value) {
  1157. GOOGLE_DCHECK(value != NULL);
  1158. customer_old_phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1159. // @@protoc_insertion_point(field_set_char:tb_customer.customer_old_phone)
  1160. }
  1161. inline void tb_customer::set_customer_old_phone(const char* value, size_t size) {
  1162. customer_old_phone_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1163. ::std::string(reinterpret_cast<const char*>(value), size));
  1164. // @@protoc_insertion_point(field_set_pointer:tb_customer.customer_old_phone)
  1165. }
  1166. inline ::std::string* tb_customer::mutable_customer_old_phone() {
  1167. // @@protoc_insertion_point(field_mutable:tb_customer.customer_old_phone)
  1168. return customer_old_phone_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1169. }
  1170. inline ::std::string* tb_customer::release_customer_old_phone() {
  1171. // @@protoc_insertion_point(field_release:tb_customer.customer_old_phone)
  1172. return customer_old_phone_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1173. }
  1174. inline void tb_customer::set_allocated_customer_old_phone(::std::string* customer_old_phone) {
  1175. if (customer_old_phone != NULL) {
  1176. } else {
  1177. }
  1178. customer_old_phone_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), customer_old_phone);
  1179. // @@protoc_insertion_point(field_set_allocated:tb_customer.customer_old_phone)
  1180. }
  1181. // string customer_vcode = 7;
  1182. inline void tb_customer::clear_customer_vcode() {
  1183. customer_vcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1184. }
  1185. inline const ::std::string& tb_customer::customer_vcode() const {
  1186. // @@protoc_insertion_point(field_get:tb_customer.customer_vcode)
  1187. return customer_vcode_.GetNoArena();
  1188. }
  1189. inline void tb_customer::set_customer_vcode(const ::std::string& value) {
  1190. customer_vcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1191. // @@protoc_insertion_point(field_set:tb_customer.customer_vcode)
  1192. }
  1193. #if LANG_CXX11
  1194. inline void tb_customer::set_customer_vcode(::std::string&& value) {
  1195. customer_vcode_.SetNoArena(
  1196. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1197. // @@protoc_insertion_point(field_set_rvalue:tb_customer.customer_vcode)
  1198. }
  1199. #endif
  1200. inline void tb_customer::set_customer_vcode(const char* value) {
  1201. GOOGLE_DCHECK(value != NULL);
  1202. customer_vcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1203. // @@protoc_insertion_point(field_set_char:tb_customer.customer_vcode)
  1204. }
  1205. inline void tb_customer::set_customer_vcode(const char* value, size_t size) {
  1206. customer_vcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1207. ::std::string(reinterpret_cast<const char*>(value), size));
  1208. // @@protoc_insertion_point(field_set_pointer:tb_customer.customer_vcode)
  1209. }
  1210. inline ::std::string* tb_customer::mutable_customer_vcode() {
  1211. // @@protoc_insertion_point(field_mutable:tb_customer.customer_vcode)
  1212. return customer_vcode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1213. }
  1214. inline ::std::string* tb_customer::release_customer_vcode() {
  1215. // @@protoc_insertion_point(field_release:tb_customer.customer_vcode)
  1216. return customer_vcode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1217. }
  1218. inline void tb_customer::set_allocated_customer_vcode(::std::string* customer_vcode) {
  1219. if (customer_vcode != NULL) {
  1220. } else {
  1221. }
  1222. customer_vcode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), customer_vcode);
  1223. // @@protoc_insertion_point(field_set_allocated:tb_customer.customer_vcode)
  1224. }
  1225. // string customer_vcode_expiry_time = 8;
  1226. inline void tb_customer::clear_customer_vcode_expiry_time() {
  1227. customer_vcode_expiry_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1228. }
  1229. inline const ::std::string& tb_customer::customer_vcode_expiry_time() const {
  1230. // @@protoc_insertion_point(field_get:tb_customer.customer_vcode_expiry_time)
  1231. return customer_vcode_expiry_time_.GetNoArena();
  1232. }
  1233. inline void tb_customer::set_customer_vcode_expiry_time(const ::std::string& value) {
  1234. customer_vcode_expiry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1235. // @@protoc_insertion_point(field_set:tb_customer.customer_vcode_expiry_time)
  1236. }
  1237. #if LANG_CXX11
  1238. inline void tb_customer::set_customer_vcode_expiry_time(::std::string&& value) {
  1239. customer_vcode_expiry_time_.SetNoArena(
  1240. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1241. // @@protoc_insertion_point(field_set_rvalue:tb_customer.customer_vcode_expiry_time)
  1242. }
  1243. #endif
  1244. inline void tb_customer::set_customer_vcode_expiry_time(const char* value) {
  1245. GOOGLE_DCHECK(value != NULL);
  1246. customer_vcode_expiry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1247. // @@protoc_insertion_point(field_set_char:tb_customer.customer_vcode_expiry_time)
  1248. }
  1249. inline void tb_customer::set_customer_vcode_expiry_time(const char* value, size_t size) {
  1250. customer_vcode_expiry_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1251. ::std::string(reinterpret_cast<const char*>(value), size));
  1252. // @@protoc_insertion_point(field_set_pointer:tb_customer.customer_vcode_expiry_time)
  1253. }
  1254. inline ::std::string* tb_customer::mutable_customer_vcode_expiry_time() {
  1255. // @@protoc_insertion_point(field_mutable:tb_customer.customer_vcode_expiry_time)
  1256. return customer_vcode_expiry_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1257. }
  1258. inline ::std::string* tb_customer::release_customer_vcode_expiry_time() {
  1259. // @@protoc_insertion_point(field_release:tb_customer.customer_vcode_expiry_time)
  1260. return customer_vcode_expiry_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1261. }
  1262. inline void tb_customer::set_allocated_customer_vcode_expiry_time(::std::string* customer_vcode_expiry_time) {
  1263. if (customer_vcode_expiry_time != NULL) {
  1264. } else {
  1265. }
  1266. customer_vcode_expiry_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), customer_vcode_expiry_time);
  1267. // @@protoc_insertion_point(field_set_allocated:tb_customer.customer_vcode_expiry_time)
  1268. }
  1269. // bool customer_enable = 9;
  1270. inline void tb_customer::clear_customer_enable() {
  1271. customer_enable_ = false;
  1272. }
  1273. inline bool tb_customer::customer_enable() const {
  1274. // @@protoc_insertion_point(field_get:tb_customer.customer_enable)
  1275. return customer_enable_;
  1276. }
  1277. inline void tb_customer::set_customer_enable(bool value) {
  1278. customer_enable_ = value;
  1279. // @@protoc_insertion_point(field_set:tb_customer.customer_enable)
  1280. }
  1281. // string customer_gen_time = 10;
  1282. inline void tb_customer::clear_customer_gen_time() {
  1283. customer_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1284. }
  1285. inline const ::std::string& tb_customer::customer_gen_time() const {
  1286. // @@protoc_insertion_point(field_get:tb_customer.customer_gen_time)
  1287. return customer_gen_time_.GetNoArena();
  1288. }
  1289. inline void tb_customer::set_customer_gen_time(const ::std::string& value) {
  1290. customer_gen_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1291. // @@protoc_insertion_point(field_set:tb_customer.customer_gen_time)
  1292. }
  1293. #if LANG_CXX11
  1294. inline void tb_customer::set_customer_gen_time(::std::string&& value) {
  1295. customer_gen_time_.SetNoArena(
  1296. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1297. // @@protoc_insertion_point(field_set_rvalue:tb_customer.customer_gen_time)
  1298. }
  1299. #endif
  1300. inline void tb_customer::set_customer_gen_time(const char* value) {
  1301. GOOGLE_DCHECK(value != NULL);
  1302. customer_gen_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1303. // @@protoc_insertion_point(field_set_char:tb_customer.customer_gen_time)
  1304. }
  1305. inline void tb_customer::set_customer_gen_time(const char* value, size_t size) {
  1306. customer_gen_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1307. ::std::string(reinterpret_cast<const char*>(value), size));
  1308. // @@protoc_insertion_point(field_set_pointer:tb_customer.customer_gen_time)
  1309. }
  1310. inline ::std::string* tb_customer::mutable_customer_gen_time() {
  1311. // @@protoc_insertion_point(field_mutable:tb_customer.customer_gen_time)
  1312. return customer_gen_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1313. }
  1314. inline ::std::string* tb_customer::release_customer_gen_time() {
  1315. // @@protoc_insertion_point(field_release:tb_customer.customer_gen_time)
  1316. return customer_gen_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1317. }
  1318. inline void tb_customer::set_allocated_customer_gen_time(::std::string* customer_gen_time) {
  1319. if (customer_gen_time != NULL) {
  1320. } else {
  1321. }
  1322. customer_gen_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), customer_gen_time);
  1323. // @@protoc_insertion_point(field_set_allocated:tb_customer.customer_gen_time)
  1324. }
  1325. // -------------------------------------------------------------------
  1326. // tb_type
  1327. // string customer_id = 1;
  1328. inline void tb_type::clear_customer_id() {
  1329. customer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1330. }
  1331. inline const ::std::string& tb_type::customer_id() const {
  1332. // @@protoc_insertion_point(field_get:tb_type.customer_id)
  1333. return customer_id_.GetNoArena();
  1334. }
  1335. inline void tb_type::set_customer_id(const ::std::string& value) {
  1336. customer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1337. // @@protoc_insertion_point(field_set:tb_type.customer_id)
  1338. }
  1339. #if LANG_CXX11
  1340. inline void tb_type::set_customer_id(::std::string&& value) {
  1341. customer_id_.SetNoArena(
  1342. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1343. // @@protoc_insertion_point(field_set_rvalue:tb_type.customer_id)
  1344. }
  1345. #endif
  1346. inline void tb_type::set_customer_id(const char* value) {
  1347. GOOGLE_DCHECK(value != NULL);
  1348. customer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1349. // @@protoc_insertion_point(field_set_char:tb_type.customer_id)
  1350. }
  1351. inline void tb_type::set_customer_id(const char* value, size_t size) {
  1352. customer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1353. ::std::string(reinterpret_cast<const char*>(value), size));
  1354. // @@protoc_insertion_point(field_set_pointer:tb_type.customer_id)
  1355. }
  1356. inline ::std::string* tb_type::mutable_customer_id() {
  1357. // @@protoc_insertion_point(field_mutable:tb_type.customer_id)
  1358. return customer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1359. }
  1360. inline ::std::string* tb_type::release_customer_id() {
  1361. // @@protoc_insertion_point(field_release:tb_type.customer_id)
  1362. return customer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1363. }
  1364. inline void tb_type::set_allocated_customer_id(::std::string* customer_id) {
  1365. if (customer_id != NULL) {
  1366. } else {
  1367. }
  1368. customer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), customer_id);
  1369. // @@protoc_insertion_point(field_set_allocated:tb_type.customer_id)
  1370. }
  1371. // string type_id = 2;
  1372. inline void tb_type::clear_type_id() {
  1373. type_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1374. }
  1375. inline const ::std::string& tb_type::type_id() const {
  1376. // @@protoc_insertion_point(field_get:tb_type.type_id)
  1377. return type_id_.GetNoArena();
  1378. }
  1379. inline void tb_type::set_type_id(const ::std::string& value) {
  1380. type_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1381. // @@protoc_insertion_point(field_set:tb_type.type_id)
  1382. }
  1383. #if LANG_CXX11
  1384. inline void tb_type::set_type_id(::std::string&& value) {
  1385. type_id_.SetNoArena(
  1386. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1387. // @@protoc_insertion_point(field_set_rvalue:tb_type.type_id)
  1388. }
  1389. #endif
  1390. inline void tb_type::set_type_id(const char* value) {
  1391. GOOGLE_DCHECK(value != NULL);
  1392. type_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1393. // @@protoc_insertion_point(field_set_char:tb_type.type_id)
  1394. }
  1395. inline void tb_type::set_type_id(const char* value, size_t size) {
  1396. type_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1397. ::std::string(reinterpret_cast<const char*>(value), size));
  1398. // @@protoc_insertion_point(field_set_pointer:tb_type.type_id)
  1399. }
  1400. inline ::std::string* tb_type::mutable_type_id() {
  1401. // @@protoc_insertion_point(field_mutable:tb_type.type_id)
  1402. return type_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1403. }
  1404. inline ::std::string* tb_type::release_type_id() {
  1405. // @@protoc_insertion_point(field_release:tb_type.type_id)
  1406. return type_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1407. }
  1408. inline void tb_type::set_allocated_type_id(::std::string* type_id) {
  1409. if (type_id != NULL) {
  1410. } else {
  1411. }
  1412. type_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_id);
  1413. // @@protoc_insertion_point(field_set_allocated:tb_type.type_id)
  1414. }
  1415. // string type_name = 3;
  1416. inline void tb_type::clear_type_name() {
  1417. type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1418. }
  1419. inline const ::std::string& tb_type::type_name() const {
  1420. // @@protoc_insertion_point(field_get:tb_type.type_name)
  1421. return type_name_.GetNoArena();
  1422. }
  1423. inline void tb_type::set_type_name(const ::std::string& value) {
  1424. type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1425. // @@protoc_insertion_point(field_set:tb_type.type_name)
  1426. }
  1427. #if LANG_CXX11
  1428. inline void tb_type::set_type_name(::std::string&& value) {
  1429. type_name_.SetNoArena(
  1430. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1431. // @@protoc_insertion_point(field_set_rvalue:tb_type.type_name)
  1432. }
  1433. #endif
  1434. inline void tb_type::set_type_name(const char* value) {
  1435. GOOGLE_DCHECK(value != NULL);
  1436. type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1437. // @@protoc_insertion_point(field_set_char:tb_type.type_name)
  1438. }
  1439. inline void tb_type::set_type_name(const char* value, size_t size) {
  1440. type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1441. ::std::string(reinterpret_cast<const char*>(value), size));
  1442. // @@protoc_insertion_point(field_set_pointer:tb_type.type_name)
  1443. }
  1444. inline ::std::string* tb_type::mutable_type_name() {
  1445. // @@protoc_insertion_point(field_mutable:tb_type.type_name)
  1446. return type_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1447. }
  1448. inline ::std::string* tb_type::release_type_name() {
  1449. // @@protoc_insertion_point(field_release:tb_type.type_name)
  1450. return type_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1451. }
  1452. inline void tb_type::set_allocated_type_name(::std::string* type_name) {
  1453. if (type_name != NULL) {
  1454. } else {
  1455. }
  1456. type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_name);
  1457. // @@protoc_insertion_point(field_set_allocated:tb_type.type_name)
  1458. }
  1459. // string type_gen_time = 4;
  1460. inline void tb_type::clear_type_gen_time() {
  1461. type_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1462. }
  1463. inline const ::std::string& tb_type::type_gen_time() const {
  1464. // @@protoc_insertion_point(field_get:tb_type.type_gen_time)
  1465. return type_gen_time_.GetNoArena();
  1466. }
  1467. inline void tb_type::set_type_gen_time(const ::std::string& value) {
  1468. type_gen_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1469. // @@protoc_insertion_point(field_set:tb_type.type_gen_time)
  1470. }
  1471. #if LANG_CXX11
  1472. inline void tb_type::set_type_gen_time(::std::string&& value) {
  1473. type_gen_time_.SetNoArena(
  1474. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1475. // @@protoc_insertion_point(field_set_rvalue:tb_type.type_gen_time)
  1476. }
  1477. #endif
  1478. inline void tb_type::set_type_gen_time(const char* value) {
  1479. GOOGLE_DCHECK(value != NULL);
  1480. type_gen_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1481. // @@protoc_insertion_point(field_set_char:tb_type.type_gen_time)
  1482. }
  1483. inline void tb_type::set_type_gen_time(const char* value, size_t size) {
  1484. type_gen_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1485. ::std::string(reinterpret_cast<const char*>(value), size));
  1486. // @@protoc_insertion_point(field_set_pointer:tb_type.type_gen_time)
  1487. }
  1488. inline ::std::string* tb_type::mutable_type_gen_time() {
  1489. // @@protoc_insertion_point(field_mutable:tb_type.type_gen_time)
  1490. return type_gen_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1491. }
  1492. inline ::std::string* tb_type::release_type_gen_time() {
  1493. // @@protoc_insertion_point(field_release:tb_type.type_gen_time)
  1494. return type_gen_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1495. }
  1496. inline void tb_type::set_allocated_type_gen_time(::std::string* type_gen_time) {
  1497. if (type_gen_time != NULL) {
  1498. } else {
  1499. }
  1500. type_gen_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_gen_time);
  1501. // @@protoc_insertion_point(field_set_allocated:tb_type.type_gen_time)
  1502. }
  1503. // -------------------------------------------------------------------
  1504. // tb_reply
  1505. // string type_id = 1;
  1506. inline void tb_reply::clear_type_id() {
  1507. type_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1508. }
  1509. inline const ::std::string& tb_reply::type_id() const {
  1510. // @@protoc_insertion_point(field_get:tb_reply.type_id)
  1511. return type_id_.GetNoArena();
  1512. }
  1513. inline void tb_reply::set_type_id(const ::std::string& value) {
  1514. type_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1515. // @@protoc_insertion_point(field_set:tb_reply.type_id)
  1516. }
  1517. #if LANG_CXX11
  1518. inline void tb_reply::set_type_id(::std::string&& value) {
  1519. type_id_.SetNoArena(
  1520. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1521. // @@protoc_insertion_point(field_set_rvalue:tb_reply.type_id)
  1522. }
  1523. #endif
  1524. inline void tb_reply::set_type_id(const char* value) {
  1525. GOOGLE_DCHECK(value != NULL);
  1526. type_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1527. // @@protoc_insertion_point(field_set_char:tb_reply.type_id)
  1528. }
  1529. inline void tb_reply::set_type_id(const char* value, size_t size) {
  1530. type_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1531. ::std::string(reinterpret_cast<const char*>(value), size));
  1532. // @@protoc_insertion_point(field_set_pointer:tb_reply.type_id)
  1533. }
  1534. inline ::std::string* tb_reply::mutable_type_id() {
  1535. // @@protoc_insertion_point(field_mutable:tb_reply.type_id)
  1536. return type_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1537. }
  1538. inline ::std::string* tb_reply::release_type_id() {
  1539. // @@protoc_insertion_point(field_release:tb_reply.type_id)
  1540. return type_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1541. }
  1542. inline void tb_reply::set_allocated_type_id(::std::string* type_id) {
  1543. if (type_id != NULL) {
  1544. } else {
  1545. }
  1546. type_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_id);
  1547. // @@protoc_insertion_point(field_set_allocated:tb_reply.type_id)
  1548. }
  1549. // string reply_name = 2;
  1550. inline void tb_reply::clear_reply_name() {
  1551. reply_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1552. }
  1553. inline const ::std::string& tb_reply::reply_name() const {
  1554. // @@protoc_insertion_point(field_get:tb_reply.reply_name)
  1555. return reply_name_.GetNoArena();
  1556. }
  1557. inline void tb_reply::set_reply_name(const ::std::string& value) {
  1558. reply_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1559. // @@protoc_insertion_point(field_set:tb_reply.reply_name)
  1560. }
  1561. #if LANG_CXX11
  1562. inline void tb_reply::set_reply_name(::std::string&& value) {
  1563. reply_name_.SetNoArena(
  1564. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1565. // @@protoc_insertion_point(field_set_rvalue:tb_reply.reply_name)
  1566. }
  1567. #endif
  1568. inline void tb_reply::set_reply_name(const char* value) {
  1569. GOOGLE_DCHECK(value != NULL);
  1570. reply_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1571. // @@protoc_insertion_point(field_set_char:tb_reply.reply_name)
  1572. }
  1573. inline void tb_reply::set_reply_name(const char* value, size_t size) {
  1574. reply_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1575. ::std::string(reinterpret_cast<const char*>(value), size));
  1576. // @@protoc_insertion_point(field_set_pointer:tb_reply.reply_name)
  1577. }
  1578. inline ::std::string* tb_reply::mutable_reply_name() {
  1579. // @@protoc_insertion_point(field_mutable:tb_reply.reply_name)
  1580. return reply_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1581. }
  1582. inline ::std::string* tb_reply::release_reply_name() {
  1583. // @@protoc_insertion_point(field_release:tb_reply.reply_name)
  1584. return reply_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1585. }
  1586. inline void tb_reply::set_allocated_reply_name(::std::string* reply_name) {
  1587. if (reply_name != NULL) {
  1588. } else {
  1589. }
  1590. reply_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reply_name);
  1591. // @@protoc_insertion_point(field_set_allocated:tb_reply.reply_name)
  1592. }
  1593. // string reply_content = 3;
  1594. inline void tb_reply::clear_reply_content() {
  1595. reply_content_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1596. }
  1597. inline const ::std::string& tb_reply::reply_content() const {
  1598. // @@protoc_insertion_point(field_get:tb_reply.reply_content)
  1599. return reply_content_.GetNoArena();
  1600. }
  1601. inline void tb_reply::set_reply_content(const ::std::string& value) {
  1602. reply_content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1603. // @@protoc_insertion_point(field_set:tb_reply.reply_content)
  1604. }
  1605. #if LANG_CXX11
  1606. inline void tb_reply::set_reply_content(::std::string&& value) {
  1607. reply_content_.SetNoArena(
  1608. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1609. // @@protoc_insertion_point(field_set_rvalue:tb_reply.reply_content)
  1610. }
  1611. #endif
  1612. inline void tb_reply::set_reply_content(const char* value) {
  1613. GOOGLE_DCHECK(value != NULL);
  1614. reply_content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1615. // @@protoc_insertion_point(field_set_char:tb_reply.reply_content)
  1616. }
  1617. inline void tb_reply::set_reply_content(const char* value, size_t size) {
  1618. reply_content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1619. ::std::string(reinterpret_cast<const char*>(value), size));
  1620. // @@protoc_insertion_point(field_set_pointer:tb_reply.reply_content)
  1621. }
  1622. inline ::std::string* tb_reply::mutable_reply_content() {
  1623. // @@protoc_insertion_point(field_mutable:tb_reply.reply_content)
  1624. return reply_content_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1625. }
  1626. inline ::std::string* tb_reply::release_reply_content() {
  1627. // @@protoc_insertion_point(field_release:tb_reply.reply_content)
  1628. return reply_content_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1629. }
  1630. inline void tb_reply::set_allocated_reply_content(::std::string* reply_content) {
  1631. if (reply_content != NULL) {
  1632. } else {
  1633. }
  1634. reply_content_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reply_content);
  1635. // @@protoc_insertion_point(field_set_allocated:tb_reply.reply_content)
  1636. }
  1637. // string reply_gen_time = 4;
  1638. inline void tb_reply::clear_reply_gen_time() {
  1639. reply_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1640. }
  1641. inline const ::std::string& tb_reply::reply_gen_time() const {
  1642. // @@protoc_insertion_point(field_get:tb_reply.reply_gen_time)
  1643. return reply_gen_time_.GetNoArena();
  1644. }
  1645. inline void tb_reply::set_reply_gen_time(const ::std::string& value) {
  1646. reply_gen_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1647. // @@protoc_insertion_point(field_set:tb_reply.reply_gen_time)
  1648. }
  1649. #if LANG_CXX11
  1650. inline void tb_reply::set_reply_gen_time(::std::string&& value) {
  1651. reply_gen_time_.SetNoArena(
  1652. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1653. // @@protoc_insertion_point(field_set_rvalue:tb_reply.reply_gen_time)
  1654. }
  1655. #endif
  1656. inline void tb_reply::set_reply_gen_time(const char* value) {
  1657. GOOGLE_DCHECK(value != NULL);
  1658. reply_gen_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1659. // @@protoc_insertion_point(field_set_char:tb_reply.reply_gen_time)
  1660. }
  1661. inline void tb_reply::set_reply_gen_time(const char* value, size_t size) {
  1662. reply_gen_time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1663. ::std::string(reinterpret_cast<const char*>(value), size));
  1664. // @@protoc_insertion_point(field_set_pointer:tb_reply.reply_gen_time)
  1665. }
  1666. inline ::std::string* tb_reply::mutable_reply_gen_time() {
  1667. // @@protoc_insertion_point(field_mutable:tb_reply.reply_gen_time)
  1668. return reply_gen_time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1669. }
  1670. inline ::std::string* tb_reply::release_reply_gen_time() {
  1671. // @@protoc_insertion_point(field_release:tb_reply.reply_gen_time)
  1672. return reply_gen_time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1673. }
  1674. inline void tb_reply::set_allocated_reply_gen_time(::std::string* reply_gen_time) {
  1675. if (reply_gen_time != NULL) {
  1676. } else {
  1677. }
  1678. reply_gen_time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reply_gen_time);
  1679. // @@protoc_insertion_point(field_set_allocated:tb_reply.reply_gen_time)
  1680. }
  1681. // -------------------------------------------------------------------
  1682. // rec_customer
  1683. // repeated .tb_customer customers = 1;
  1684. inline int rec_customer::customers_size() const {
  1685. return customers_.size();
  1686. }
  1687. inline void rec_customer::clear_customers() {
  1688. customers_.Clear();
  1689. }
  1690. inline ::tb_customer* rec_customer::mutable_customers(int index) {
  1691. // @@protoc_insertion_point(field_mutable:rec_customer.customers)
  1692. return customers_.Mutable(index);
  1693. }
  1694. inline ::google::protobuf::RepeatedPtrField< ::tb_customer >*
  1695. rec_customer::mutable_customers() {
  1696. // @@protoc_insertion_point(field_mutable_list:rec_customer.customers)
  1697. return &customers_;
  1698. }
  1699. inline const ::tb_customer& rec_customer::customers(int index) const {
  1700. // @@protoc_insertion_point(field_get:rec_customer.customers)
  1701. return customers_.Get(index);
  1702. }
  1703. inline ::tb_customer* rec_customer::add_customers() {
  1704. // @@protoc_insertion_point(field_add:rec_customer.customers)
  1705. return customers_.Add();
  1706. }
  1707. inline const ::google::protobuf::RepeatedPtrField< ::tb_customer >&
  1708. rec_customer::customers() const {
  1709. // @@protoc_insertion_point(field_list:rec_customer.customers)
  1710. return customers_;
  1711. }
  1712. // -------------------------------------------------------------------
  1713. // rec_type
  1714. // repeated .tb_type types = 1;
  1715. inline int rec_type::types_size() const {
  1716. return types_.size();
  1717. }
  1718. inline void rec_type::clear_types() {
  1719. types_.Clear();
  1720. }
  1721. inline ::tb_type* rec_type::mutable_types(int index) {
  1722. // @@protoc_insertion_point(field_mutable:rec_type.types)
  1723. return types_.Mutable(index);
  1724. }
  1725. inline ::google::protobuf::RepeatedPtrField< ::tb_type >*
  1726. rec_type::mutable_types() {
  1727. // @@protoc_insertion_point(field_mutable_list:rec_type.types)
  1728. return &types_;
  1729. }
  1730. inline const ::tb_type& rec_type::types(int index) const {
  1731. // @@protoc_insertion_point(field_get:rec_type.types)
  1732. return types_.Get(index);
  1733. }
  1734. inline ::tb_type* rec_type::add_types() {
  1735. // @@protoc_insertion_point(field_add:rec_type.types)
  1736. return types_.Add();
  1737. }
  1738. inline const ::google::protobuf::RepeatedPtrField< ::tb_type >&
  1739. rec_type::types() const {
  1740. // @@protoc_insertion_point(field_list:rec_type.types)
  1741. return types_;
  1742. }
  1743. // -------------------------------------------------------------------
  1744. // rec_reply
  1745. // repeated .tb_reply replys = 1;
  1746. inline int rec_reply::replys_size() const {
  1747. return replys_.size();
  1748. }
  1749. inline void rec_reply::clear_replys() {
  1750. replys_.Clear();
  1751. }
  1752. inline ::tb_reply* rec_reply::mutable_replys(int index) {
  1753. // @@protoc_insertion_point(field_mutable:rec_reply.replys)
  1754. return replys_.Mutable(index);
  1755. }
  1756. inline ::google::protobuf::RepeatedPtrField< ::tb_reply >*
  1757. rec_reply::mutable_replys() {
  1758. // @@protoc_insertion_point(field_mutable_list:rec_reply.replys)
  1759. return &replys_;
  1760. }
  1761. inline const ::tb_reply& rec_reply::replys(int index) const {
  1762. // @@protoc_insertion_point(field_get:rec_reply.replys)
  1763. return replys_.Get(index);
  1764. }
  1765. inline ::tb_reply* rec_reply::add_replys() {
  1766. // @@protoc_insertion_point(field_add:rec_reply.replys)
  1767. return replys_.Add();
  1768. }
  1769. inline const ::google::protobuf::RepeatedPtrField< ::tb_reply >&
  1770. rec_reply::replys() const {
  1771. // @@protoc_insertion_point(field_list:rec_reply.replys)
  1772. return replys_;
  1773. }
  1774. // -------------------------------------------------------------------
  1775. // view
  1776. // .tb_customer customer = 1;
  1777. inline bool view::has_customer() const {
  1778. return this != internal_default_instance() && customer_ != NULL;
  1779. }
  1780. inline void view::clear_customer() {
  1781. if (GetArenaNoVirtual() == NULL && customer_ != NULL) {
  1782. delete customer_;
  1783. }
  1784. customer_ = NULL;
  1785. }
  1786. inline const ::tb_customer& view::_internal_customer() const {
  1787. return *customer_;
  1788. }
  1789. inline const ::tb_customer& view::customer() const {
  1790. const ::tb_customer* p = customer_;
  1791. // @@protoc_insertion_point(field_get:view.customer)
  1792. return p != NULL ? *p : *reinterpret_cast<const ::tb_customer*>(
  1793. &::_tb_customer_default_instance_);
  1794. }
  1795. inline ::tb_customer* view::release_customer() {
  1796. // @@protoc_insertion_point(field_release:view.customer)
  1797. ::tb_customer* temp = customer_;
  1798. customer_ = NULL;
  1799. return temp;
  1800. }
  1801. inline ::tb_customer* view::mutable_customer() {
  1802. if (customer_ == NULL) {
  1803. auto* p = CreateMaybeMessage<::tb_customer>(GetArenaNoVirtual());
  1804. customer_ = p;
  1805. }
  1806. // @@protoc_insertion_point(field_mutable:view.customer)
  1807. return customer_;
  1808. }
  1809. inline void view::set_allocated_customer(::tb_customer* customer) {
  1810. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1811. if (message_arena == NULL) {
  1812. delete customer_;
  1813. }
  1814. if (customer) {
  1815. ::google::protobuf::Arena* submessage_arena = NULL;
  1816. if (message_arena != submessage_arena) {
  1817. customer = ::google::protobuf::internal::GetOwnedMessage(
  1818. message_arena, customer, submessage_arena);
  1819. }
  1820. } else {
  1821. }
  1822. customer_ = customer;
  1823. // @@protoc_insertion_point(field_set_allocated:view.customer)
  1824. }
  1825. // .rec_type types = 2;
  1826. inline bool view::has_types() const {
  1827. return this != internal_default_instance() && types_ != NULL;
  1828. }
  1829. inline void view::clear_types() {
  1830. if (GetArenaNoVirtual() == NULL && types_ != NULL) {
  1831. delete types_;
  1832. }
  1833. types_ = NULL;
  1834. }
  1835. inline const ::rec_type& view::_internal_types() const {
  1836. return *types_;
  1837. }
  1838. inline const ::rec_type& view::types() const {
  1839. const ::rec_type* p = types_;
  1840. // @@protoc_insertion_point(field_get:view.types)
  1841. return p != NULL ? *p : *reinterpret_cast<const ::rec_type*>(
  1842. &::_rec_type_default_instance_);
  1843. }
  1844. inline ::rec_type* view::release_types() {
  1845. // @@protoc_insertion_point(field_release:view.types)
  1846. ::rec_type* temp = types_;
  1847. types_ = NULL;
  1848. return temp;
  1849. }
  1850. inline ::rec_type* view::mutable_types() {
  1851. if (types_ == NULL) {
  1852. auto* p = CreateMaybeMessage<::rec_type>(GetArenaNoVirtual());
  1853. types_ = p;
  1854. }
  1855. // @@protoc_insertion_point(field_mutable:view.types)
  1856. return types_;
  1857. }
  1858. inline void view::set_allocated_types(::rec_type* types) {
  1859. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1860. if (message_arena == NULL) {
  1861. delete types_;
  1862. }
  1863. if (types) {
  1864. ::google::protobuf::Arena* submessage_arena = NULL;
  1865. if (message_arena != submessage_arena) {
  1866. types = ::google::protobuf::internal::GetOwnedMessage(
  1867. message_arena, types, submessage_arena);
  1868. }
  1869. } else {
  1870. }
  1871. types_ = types;
  1872. // @@protoc_insertion_point(field_set_allocated:view.types)
  1873. }
  1874. // .rec_reply replys = 3;
  1875. inline bool view::has_replys() const {
  1876. return this != internal_default_instance() && replys_ != NULL;
  1877. }
  1878. inline void view::clear_replys() {
  1879. if (GetArenaNoVirtual() == NULL && replys_ != NULL) {
  1880. delete replys_;
  1881. }
  1882. replys_ = NULL;
  1883. }
  1884. inline const ::rec_reply& view::_internal_replys() const {
  1885. return *replys_;
  1886. }
  1887. inline const ::rec_reply& view::replys() const {
  1888. const ::rec_reply* p = replys_;
  1889. // @@protoc_insertion_point(field_get:view.replys)
  1890. return p != NULL ? *p : *reinterpret_cast<const ::rec_reply*>(
  1891. &::_rec_reply_default_instance_);
  1892. }
  1893. inline ::rec_reply* view::release_replys() {
  1894. // @@protoc_insertion_point(field_release:view.replys)
  1895. ::rec_reply* temp = replys_;
  1896. replys_ = NULL;
  1897. return temp;
  1898. }
  1899. inline ::rec_reply* view::mutable_replys() {
  1900. if (replys_ == NULL) {
  1901. auto* p = CreateMaybeMessage<::rec_reply>(GetArenaNoVirtual());
  1902. replys_ = p;
  1903. }
  1904. // @@protoc_insertion_point(field_mutable:view.replys)
  1905. return replys_;
  1906. }
  1907. inline void view::set_allocated_replys(::rec_reply* replys) {
  1908. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1909. if (message_arena == NULL) {
  1910. delete replys_;
  1911. }
  1912. if (replys) {
  1913. ::google::protobuf::Arena* submessage_arena = NULL;
  1914. if (message_arena != submessage_arena) {
  1915. replys = ::google::protobuf::internal::GetOwnedMessage(
  1916. message_arena, replys, submessage_arena);
  1917. }
  1918. } else {
  1919. }
  1920. replys_ = replys;
  1921. // @@protoc_insertion_point(field_set_allocated:view.replys)
  1922. }
  1923. #ifdef __GNUC__
  1924. #pragma GCC diagnostic pop
  1925. #endif // __GNUC__
  1926. // -------------------------------------------------------------------
  1927. // -------------------------------------------------------------------
  1928. // -------------------------------------------------------------------
  1929. // -------------------------------------------------------------------
  1930. // -------------------------------------------------------------------
  1931. // -------------------------------------------------------------------
  1932. // @@protoc_insertion_point(namespace_scope)
  1933. // @@protoc_insertion_point(global_scope)
  1934. #endif // PROTOBUF_INCLUDED_table_2eproto