table.pb.cc 112 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: table.proto
  3. #include "table.pb.h"
  4. #include <algorithm>
  5. #include <google/protobuf/stubs/common.h>
  6. #include <google/protobuf/stubs/port.h>
  7. #include <google/protobuf/io/coded_stream.h>
  8. #include <google/protobuf/wire_format_lite_inl.h>
  9. #include <google/protobuf/descriptor.h>
  10. #include <google/protobuf/generated_message_reflection.h>
  11. #include <google/protobuf/reflection_ops.h>
  12. #include <google/protobuf/wire_format.h>
  13. // This is a temporary google only hack
  14. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  15. #include "third_party/protobuf/version.h"
  16. #endif
  17. // @@protoc_insertion_point(includes)
  18. namespace protobuf_table_2eproto {
  19. extern PROTOBUF_INTERNAL_EXPORT_protobuf_table_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_tb_customer;
  20. extern PROTOBUF_INTERNAL_EXPORT_protobuf_table_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_tb_reply;
  21. extern PROTOBUF_INTERNAL_EXPORT_protobuf_table_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_tb_type;
  22. } // namespace protobuf_table_2eproto
  23. class tb_customerDefaultTypeInternal {
  24. public:
  25. ::google::protobuf::internal::ExplicitlyConstructed<tb_customer>
  26. _instance;
  27. } _tb_customer_default_instance_;
  28. class tb_typeDefaultTypeInternal {
  29. public:
  30. ::google::protobuf::internal::ExplicitlyConstructed<tb_type>
  31. _instance;
  32. } _tb_type_default_instance_;
  33. class tb_replyDefaultTypeInternal {
  34. public:
  35. ::google::protobuf::internal::ExplicitlyConstructed<tb_reply>
  36. _instance;
  37. } _tb_reply_default_instance_;
  38. class rec_customerDefaultTypeInternal {
  39. public:
  40. ::google::protobuf::internal::ExplicitlyConstructed<rec_customer>
  41. _instance;
  42. } _rec_customer_default_instance_;
  43. class rec_typeDefaultTypeInternal {
  44. public:
  45. ::google::protobuf::internal::ExplicitlyConstructed<rec_type>
  46. _instance;
  47. } _rec_type_default_instance_;
  48. class rec_replyDefaultTypeInternal {
  49. public:
  50. ::google::protobuf::internal::ExplicitlyConstructed<rec_reply>
  51. _instance;
  52. } _rec_reply_default_instance_;
  53. class viewDefaultTypeInternal {
  54. public:
  55. ::google::protobuf::internal::ExplicitlyConstructed<view>
  56. _instance;
  57. } _view_default_instance_;
  58. namespace protobuf_table_2eproto {
  59. static void InitDefaultstb_customer() {
  60. GOOGLE_PROTOBUF_VERIFY_VERSION;
  61. {
  62. void* ptr = &::_tb_customer_default_instance_;
  63. new (ptr) ::tb_customer();
  64. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  65. }
  66. ::tb_customer::InitAsDefaultInstance();
  67. }
  68. ::google::protobuf::internal::SCCInfo<0> scc_info_tb_customer =
  69. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultstb_customer}, {}};
  70. static void InitDefaultstb_type() {
  71. GOOGLE_PROTOBUF_VERIFY_VERSION;
  72. {
  73. void* ptr = &::_tb_type_default_instance_;
  74. new (ptr) ::tb_type();
  75. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  76. }
  77. ::tb_type::InitAsDefaultInstance();
  78. }
  79. ::google::protobuf::internal::SCCInfo<0> scc_info_tb_type =
  80. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultstb_type}, {}};
  81. static void InitDefaultstb_reply() {
  82. GOOGLE_PROTOBUF_VERIFY_VERSION;
  83. {
  84. void* ptr = &::_tb_reply_default_instance_;
  85. new (ptr) ::tb_reply();
  86. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  87. }
  88. ::tb_reply::InitAsDefaultInstance();
  89. }
  90. ::google::protobuf::internal::SCCInfo<0> scc_info_tb_reply =
  91. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultstb_reply}, {}};
  92. static void InitDefaultsrec_customer() {
  93. GOOGLE_PROTOBUF_VERIFY_VERSION;
  94. {
  95. void* ptr = &::_rec_customer_default_instance_;
  96. new (ptr) ::rec_customer();
  97. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  98. }
  99. ::rec_customer::InitAsDefaultInstance();
  100. }
  101. ::google::protobuf::internal::SCCInfo<1> scc_info_rec_customer =
  102. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsrec_customer}, {
  103. &protobuf_table_2eproto::scc_info_tb_customer.base,}};
  104. static void InitDefaultsrec_type() {
  105. GOOGLE_PROTOBUF_VERIFY_VERSION;
  106. {
  107. void* ptr = &::_rec_type_default_instance_;
  108. new (ptr) ::rec_type();
  109. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  110. }
  111. ::rec_type::InitAsDefaultInstance();
  112. }
  113. ::google::protobuf::internal::SCCInfo<1> scc_info_rec_type =
  114. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsrec_type}, {
  115. &protobuf_table_2eproto::scc_info_tb_type.base,}};
  116. static void InitDefaultsrec_reply() {
  117. GOOGLE_PROTOBUF_VERIFY_VERSION;
  118. {
  119. void* ptr = &::_rec_reply_default_instance_;
  120. new (ptr) ::rec_reply();
  121. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  122. }
  123. ::rec_reply::InitAsDefaultInstance();
  124. }
  125. ::google::protobuf::internal::SCCInfo<1> scc_info_rec_reply =
  126. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsrec_reply}, {
  127. &protobuf_table_2eproto::scc_info_tb_reply.base,}};
  128. static void InitDefaultsview() {
  129. GOOGLE_PROTOBUF_VERIFY_VERSION;
  130. {
  131. void* ptr = &::_view_default_instance_;
  132. new (ptr) ::view();
  133. ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
  134. }
  135. ::view::InitAsDefaultInstance();
  136. }
  137. ::google::protobuf::internal::SCCInfo<0> scc_info_view =
  138. {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsview}, {}};
  139. void InitDefaults() {
  140. ::google::protobuf::internal::InitSCC(&scc_info_tb_customer.base);
  141. ::google::protobuf::internal::InitSCC(&scc_info_tb_type.base);
  142. ::google::protobuf::internal::InitSCC(&scc_info_tb_reply.base);
  143. ::google::protobuf::internal::InitSCC(&scc_info_rec_customer.base);
  144. ::google::protobuf::internal::InitSCC(&scc_info_rec_type.base);
  145. ::google::protobuf::internal::InitSCC(&scc_info_rec_reply.base);
  146. ::google::protobuf::internal::InitSCC(&scc_info_view.base);
  147. }
  148. ::google::protobuf::Metadata file_level_metadata[7];
  149. const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  150. ~0u, // no _has_bits_
  151. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, _internal_metadata_),
  152. ~0u, // no _extensions_
  153. ~0u, // no _oneof_case_
  154. ~0u, // no _weak_field_map_
  155. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_id_),
  156. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_name_),
  157. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_gender_),
  158. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_phone_),
  159. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_password_),
  160. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_old_phone_),
  161. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_vcode_),
  162. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_vcode_expiry_time_),
  163. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_enable_),
  164. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_gen_time_),
  165. ~0u, // no _has_bits_
  166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, _internal_metadata_),
  167. ~0u, // no _extensions_
  168. ~0u, // no _oneof_case_
  169. ~0u, // no _weak_field_map_
  170. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, customer_id_),
  171. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, type_id_),
  172. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, type_name_),
  173. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, type_gen_time_),
  174. ~0u, // no _has_bits_
  175. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, _internal_metadata_),
  176. ~0u, // no _extensions_
  177. ~0u, // no _oneof_case_
  178. ~0u, // no _weak_field_map_
  179. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, customer_id_),
  180. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, type_id_),
  181. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_id_),
  182. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_name_),
  183. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_content_),
  184. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_gen_time_),
  185. ~0u, // no _has_bits_
  186. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_customer, _internal_metadata_),
  187. ~0u, // no _extensions_
  188. ~0u, // no _oneof_case_
  189. ~0u, // no _weak_field_map_
  190. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_customer, customers_),
  191. ~0u, // no _has_bits_
  192. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_type, _internal_metadata_),
  193. ~0u, // no _extensions_
  194. ~0u, // no _oneof_case_
  195. ~0u, // no _weak_field_map_
  196. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_type, types_),
  197. ~0u, // no _has_bits_
  198. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_reply, _internal_metadata_),
  199. ~0u, // no _extensions_
  200. ~0u, // no _oneof_case_
  201. ~0u, // no _weak_field_map_
  202. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_reply, replys_),
  203. ~0u, // no _has_bits_
  204. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::view, _internal_metadata_),
  205. ~0u, // no _extensions_
  206. ~0u, // no _oneof_case_
  207. ~0u, // no _weak_field_map_
  208. };
  209. static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  210. { 0, -1, sizeof(::tb_customer)},
  211. { 15, -1, sizeof(::tb_type)},
  212. { 24, -1, sizeof(::tb_reply)},
  213. { 35, -1, sizeof(::rec_customer)},
  214. { 41, -1, sizeof(::rec_type)},
  215. { 47, -1, sizeof(::rec_reply)},
  216. { 53, -1, sizeof(::view)},
  217. };
  218. static ::google::protobuf::Message const * const file_default_instances[] = {
  219. reinterpret_cast<const ::google::protobuf::Message*>(&::_tb_customer_default_instance_),
  220. reinterpret_cast<const ::google::protobuf::Message*>(&::_tb_type_default_instance_),
  221. reinterpret_cast<const ::google::protobuf::Message*>(&::_tb_reply_default_instance_),
  222. reinterpret_cast<const ::google::protobuf::Message*>(&::_rec_customer_default_instance_),
  223. reinterpret_cast<const ::google::protobuf::Message*>(&::_rec_type_default_instance_),
  224. reinterpret_cast<const ::google::protobuf::Message*>(&::_rec_reply_default_instance_),
  225. reinterpret_cast<const ::google::protobuf::Message*>(&::_view_default_instance_),
  226. };
  227. void protobuf_AssignDescriptors() {
  228. AddDescriptors();
  229. AssignDescriptors(
  230. "table.proto", schemas, file_default_instances, TableStruct::offsets,
  231. file_level_metadata, NULL, NULL);
  232. }
  233. void protobuf_AssignDescriptorsOnce() {
  234. static ::google::protobuf::internal::once_flag once;
  235. ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
  236. }
  237. void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
  238. void protobuf_RegisterTypes(const ::std::string&) {
  239. protobuf_AssignDescriptorsOnce();
  240. ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 7);
  241. }
  242. void AddDescriptorsImpl() {
  243. InitDefaults();
  244. static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  245. "\n\013table.proto\"\221\002\n\013tb_customer\022\023\n\013custome"
  246. "r_id\030\001 \001(\t\022\025\n\rcustomer_name\030\002 \001(\t\022\027\n\017cus"
  247. "tomer_gender\030\003 \001(\010\022\026\n\016customer_phone\030\004 \001"
  248. "(\t\022\031\n\021customer_password\030\005 \001(\t\022\032\n\022custome"
  249. "r_old_phone\030\006 \001(\t\022\026\n\016customer_vcode\030\007 \001("
  250. "\t\022\"\n\032customer_vcode_expiry_time\030\010 \001(\t\022\027\n"
  251. "\017customer_enable\030\t \001(\010\022\031\n\021customer_gen_t"
  252. "ime\030\n \001(\t\"Y\n\007tb_type\022\023\n\013customer_id\030\001 \001("
  253. "\t\022\017\n\007type_id\030\002 \001(\t\022\021\n\ttype_name\030\003 \001(\t\022\025\n"
  254. "\rtype_gen_time\030\004 \001(\t\"\205\001\n\010tb_reply\022\023\n\013cus"
  255. "tomer_id\030\001 \001(\t\022\017\n\007type_id\030\002 \001(\t\022\020\n\010reply"
  256. "_id\030\003 \001(\t\022\022\n\nreply_name\030\004 \001(\t\022\025\n\rreply_c"
  257. "ontent\030\005 \001(\t\022\026\n\016reply_gen_time\030\006 \001(\t\"/\n\014"
  258. "rec_customer\022\037\n\tcustomers\030\001 \003(\0132\014.tb_cus"
  259. "tomer\"#\n\010rec_type\022\027\n\005types\030\001 \003(\0132\010.tb_ty"
  260. "pe\"&\n\trec_reply\022\031\n\006replys\030\001 \003(\0132\t.tb_rep"
  261. "ly\"\006\n\004viewb\006proto3"
  262. };
  263. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  264. descriptor, 658);
  265. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  266. "table.proto", &protobuf_RegisterTypes);
  267. }
  268. void AddDescriptors() {
  269. static ::google::protobuf::internal::once_flag once;
  270. ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
  271. }
  272. // Force AddDescriptors() to be called at dynamic initialization time.
  273. struct StaticDescriptorInitializer {
  274. StaticDescriptorInitializer() {
  275. AddDescriptors();
  276. }
  277. } static_descriptor_initializer;
  278. } // namespace protobuf_table_2eproto
  279. // ===================================================================
  280. void tb_customer::InitAsDefaultInstance() {
  281. }
  282. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  283. const int tb_customer::kCustomerIdFieldNumber;
  284. const int tb_customer::kCustomerNameFieldNumber;
  285. const int tb_customer::kCustomerGenderFieldNumber;
  286. const int tb_customer::kCustomerPhoneFieldNumber;
  287. const int tb_customer::kCustomerPasswordFieldNumber;
  288. const int tb_customer::kCustomerOldPhoneFieldNumber;
  289. const int tb_customer::kCustomerVcodeFieldNumber;
  290. const int tb_customer::kCustomerVcodeExpiryTimeFieldNumber;
  291. const int tb_customer::kCustomerEnableFieldNumber;
  292. const int tb_customer::kCustomerGenTimeFieldNumber;
  293. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  294. tb_customer::tb_customer()
  295. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  296. ::google::protobuf::internal::InitSCC(
  297. &protobuf_table_2eproto::scc_info_tb_customer.base);
  298. SharedCtor();
  299. // @@protoc_insertion_point(constructor:tb_customer)
  300. }
  301. tb_customer::tb_customer(const tb_customer& from)
  302. : ::google::protobuf::Message(),
  303. _internal_metadata_(NULL) {
  304. _internal_metadata_.MergeFrom(from._internal_metadata_);
  305. customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  306. if (from.customer_id().size() > 0) {
  307. customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
  308. }
  309. customer_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  310. if (from.customer_name().size() > 0) {
  311. customer_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_name_);
  312. }
  313. customer_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  314. if (from.customer_phone().size() > 0) {
  315. customer_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_phone_);
  316. }
  317. customer_password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  318. if (from.customer_password().size() > 0) {
  319. customer_password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_password_);
  320. }
  321. customer_old_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  322. if (from.customer_old_phone().size() > 0) {
  323. customer_old_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_old_phone_);
  324. }
  325. customer_vcode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  326. if (from.customer_vcode().size() > 0) {
  327. customer_vcode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_);
  328. }
  329. customer_vcode_expiry_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  330. if (from.customer_vcode_expiry_time().size() > 0) {
  331. customer_vcode_expiry_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_expiry_time_);
  332. }
  333. customer_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  334. if (from.customer_gen_time().size() > 0) {
  335. customer_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_gen_time_);
  336. }
  337. ::memcpy(&customer_gender_, &from.customer_gender_,
  338. static_cast<size_t>(reinterpret_cast<char*>(&customer_enable_) -
  339. reinterpret_cast<char*>(&customer_gender_)) + sizeof(customer_enable_));
  340. // @@protoc_insertion_point(copy_constructor:tb_customer)
  341. }
  342. void tb_customer::SharedCtor() {
  343. customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  344. customer_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  345. customer_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  346. customer_password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  347. customer_old_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  348. customer_vcode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  349. customer_vcode_expiry_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  350. customer_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  351. ::memset(&customer_gender_, 0, static_cast<size_t>(
  352. reinterpret_cast<char*>(&customer_enable_) -
  353. reinterpret_cast<char*>(&customer_gender_)) + sizeof(customer_enable_));
  354. }
  355. tb_customer::~tb_customer() {
  356. // @@protoc_insertion_point(destructor:tb_customer)
  357. SharedDtor();
  358. }
  359. void tb_customer::SharedDtor() {
  360. customer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  361. customer_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  362. customer_phone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  363. customer_password_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  364. customer_old_phone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  365. customer_vcode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  366. customer_vcode_expiry_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  367. customer_gen_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  368. }
  369. void tb_customer::SetCachedSize(int size) const {
  370. _cached_size_.Set(size);
  371. }
  372. const ::google::protobuf::Descriptor* tb_customer::descriptor() {
  373. ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  374. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  375. }
  376. const tb_customer& tb_customer::default_instance() {
  377. ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_tb_customer.base);
  378. return *internal_default_instance();
  379. }
  380. void tb_customer::Clear() {
  381. // @@protoc_insertion_point(message_clear_start:tb_customer)
  382. ::google::protobuf::uint32 cached_has_bits = 0;
  383. // Prevent compiler warnings about cached_has_bits being unused
  384. (void) cached_has_bits;
  385. customer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  386. customer_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  387. customer_phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  388. customer_password_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  389. customer_old_phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  390. customer_vcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  391. customer_vcode_expiry_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  392. customer_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  393. ::memset(&customer_gender_, 0, static_cast<size_t>(
  394. reinterpret_cast<char*>(&customer_enable_) -
  395. reinterpret_cast<char*>(&customer_gender_)) + sizeof(customer_enable_));
  396. _internal_metadata_.Clear();
  397. }
  398. bool tb_customer::MergePartialFromCodedStream(
  399. ::google::protobuf::io::CodedInputStream* input) {
  400. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  401. ::google::protobuf::uint32 tag;
  402. // @@protoc_insertion_point(parse_start:tb_customer)
  403. for (;;) {
  404. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  405. tag = p.first;
  406. if (!p.second) goto handle_unusual;
  407. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  408. // string customer_id = 1;
  409. case 1: {
  410. if (static_cast< ::google::protobuf::uint8>(tag) ==
  411. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  412. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  413. input, this->mutable_customer_id()));
  414. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  415. this->customer_id().data(), static_cast<int>(this->customer_id().length()),
  416. ::google::protobuf::internal::WireFormatLite::PARSE,
  417. "tb_customer.customer_id"));
  418. } else {
  419. goto handle_unusual;
  420. }
  421. break;
  422. }
  423. // string customer_name = 2;
  424. case 2: {
  425. if (static_cast< ::google::protobuf::uint8>(tag) ==
  426. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  427. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  428. input, this->mutable_customer_name()));
  429. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  430. this->customer_name().data(), static_cast<int>(this->customer_name().length()),
  431. ::google::protobuf::internal::WireFormatLite::PARSE,
  432. "tb_customer.customer_name"));
  433. } else {
  434. goto handle_unusual;
  435. }
  436. break;
  437. }
  438. // bool customer_gender = 3;
  439. case 3: {
  440. if (static_cast< ::google::protobuf::uint8>(tag) ==
  441. static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
  442. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  443. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  444. input, &customer_gender_)));
  445. } else {
  446. goto handle_unusual;
  447. }
  448. break;
  449. }
  450. // string customer_phone = 4;
  451. case 4: {
  452. if (static_cast< ::google::protobuf::uint8>(tag) ==
  453. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  454. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  455. input, this->mutable_customer_phone()));
  456. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  457. this->customer_phone().data(), static_cast<int>(this->customer_phone().length()),
  458. ::google::protobuf::internal::WireFormatLite::PARSE,
  459. "tb_customer.customer_phone"));
  460. } else {
  461. goto handle_unusual;
  462. }
  463. break;
  464. }
  465. // string customer_password = 5;
  466. case 5: {
  467. if (static_cast< ::google::protobuf::uint8>(tag) ==
  468. static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
  469. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  470. input, this->mutable_customer_password()));
  471. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  472. this->customer_password().data(), static_cast<int>(this->customer_password().length()),
  473. ::google::protobuf::internal::WireFormatLite::PARSE,
  474. "tb_customer.customer_password"));
  475. } else {
  476. goto handle_unusual;
  477. }
  478. break;
  479. }
  480. // string customer_old_phone = 6;
  481. case 6: {
  482. if (static_cast< ::google::protobuf::uint8>(tag) ==
  483. static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
  484. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  485. input, this->mutable_customer_old_phone()));
  486. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  487. this->customer_old_phone().data(), static_cast<int>(this->customer_old_phone().length()),
  488. ::google::protobuf::internal::WireFormatLite::PARSE,
  489. "tb_customer.customer_old_phone"));
  490. } else {
  491. goto handle_unusual;
  492. }
  493. break;
  494. }
  495. // string customer_vcode = 7;
  496. case 7: {
  497. if (static_cast< ::google::protobuf::uint8>(tag) ==
  498. static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
  499. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  500. input, this->mutable_customer_vcode()));
  501. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  502. this->customer_vcode().data(), static_cast<int>(this->customer_vcode().length()),
  503. ::google::protobuf::internal::WireFormatLite::PARSE,
  504. "tb_customer.customer_vcode"));
  505. } else {
  506. goto handle_unusual;
  507. }
  508. break;
  509. }
  510. // string customer_vcode_expiry_time = 8;
  511. case 8: {
  512. if (static_cast< ::google::protobuf::uint8>(tag) ==
  513. static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
  514. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  515. input, this->mutable_customer_vcode_expiry_time()));
  516. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  517. this->customer_vcode_expiry_time().data(), static_cast<int>(this->customer_vcode_expiry_time().length()),
  518. ::google::protobuf::internal::WireFormatLite::PARSE,
  519. "tb_customer.customer_vcode_expiry_time"));
  520. } else {
  521. goto handle_unusual;
  522. }
  523. break;
  524. }
  525. // bool customer_enable = 9;
  526. case 9: {
  527. if (static_cast< ::google::protobuf::uint8>(tag) ==
  528. static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
  529. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  530. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  531. input, &customer_enable_)));
  532. } else {
  533. goto handle_unusual;
  534. }
  535. break;
  536. }
  537. // string customer_gen_time = 10;
  538. case 10: {
  539. if (static_cast< ::google::protobuf::uint8>(tag) ==
  540. static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
  541. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  542. input, this->mutable_customer_gen_time()));
  543. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  544. this->customer_gen_time().data(), static_cast<int>(this->customer_gen_time().length()),
  545. ::google::protobuf::internal::WireFormatLite::PARSE,
  546. "tb_customer.customer_gen_time"));
  547. } else {
  548. goto handle_unusual;
  549. }
  550. break;
  551. }
  552. default: {
  553. handle_unusual:
  554. if (tag == 0) {
  555. goto success;
  556. }
  557. DO_(::google::protobuf::internal::WireFormat::SkipField(
  558. input, tag, _internal_metadata_.mutable_unknown_fields()));
  559. break;
  560. }
  561. }
  562. }
  563. success:
  564. // @@protoc_insertion_point(parse_success:tb_customer)
  565. return true;
  566. failure:
  567. // @@protoc_insertion_point(parse_failure:tb_customer)
  568. return false;
  569. #undef DO_
  570. }
  571. void tb_customer::SerializeWithCachedSizes(
  572. ::google::protobuf::io::CodedOutputStream* output) const {
  573. // @@protoc_insertion_point(serialize_start:tb_customer)
  574. ::google::protobuf::uint32 cached_has_bits = 0;
  575. (void) cached_has_bits;
  576. // string customer_id = 1;
  577. if (this->customer_id().size() > 0) {
  578. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  579. this->customer_id().data(), static_cast<int>(this->customer_id().length()),
  580. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  581. "tb_customer.customer_id");
  582. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  583. 1, this->customer_id(), output);
  584. }
  585. // string customer_name = 2;
  586. if (this->customer_name().size() > 0) {
  587. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  588. this->customer_name().data(), static_cast<int>(this->customer_name().length()),
  589. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  590. "tb_customer.customer_name");
  591. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  592. 2, this->customer_name(), output);
  593. }
  594. // bool customer_gender = 3;
  595. if (this->customer_gender() != 0) {
  596. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->customer_gender(), output);
  597. }
  598. // string customer_phone = 4;
  599. if (this->customer_phone().size() > 0) {
  600. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  601. this->customer_phone().data(), static_cast<int>(this->customer_phone().length()),
  602. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  603. "tb_customer.customer_phone");
  604. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  605. 4, this->customer_phone(), output);
  606. }
  607. // string customer_password = 5;
  608. if (this->customer_password().size() > 0) {
  609. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  610. this->customer_password().data(), static_cast<int>(this->customer_password().length()),
  611. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  612. "tb_customer.customer_password");
  613. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  614. 5, this->customer_password(), output);
  615. }
  616. // string customer_old_phone = 6;
  617. if (this->customer_old_phone().size() > 0) {
  618. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  619. this->customer_old_phone().data(), static_cast<int>(this->customer_old_phone().length()),
  620. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  621. "tb_customer.customer_old_phone");
  622. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  623. 6, this->customer_old_phone(), output);
  624. }
  625. // string customer_vcode = 7;
  626. if (this->customer_vcode().size() > 0) {
  627. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  628. this->customer_vcode().data(), static_cast<int>(this->customer_vcode().length()),
  629. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  630. "tb_customer.customer_vcode");
  631. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  632. 7, this->customer_vcode(), output);
  633. }
  634. // string customer_vcode_expiry_time = 8;
  635. if (this->customer_vcode_expiry_time().size() > 0) {
  636. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  637. this->customer_vcode_expiry_time().data(), static_cast<int>(this->customer_vcode_expiry_time().length()),
  638. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  639. "tb_customer.customer_vcode_expiry_time");
  640. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  641. 8, this->customer_vcode_expiry_time(), output);
  642. }
  643. // bool customer_enable = 9;
  644. if (this->customer_enable() != 0) {
  645. ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->customer_enable(), output);
  646. }
  647. // string customer_gen_time = 10;
  648. if (this->customer_gen_time().size() > 0) {
  649. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  650. this->customer_gen_time().data(), static_cast<int>(this->customer_gen_time().length()),
  651. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  652. "tb_customer.customer_gen_time");
  653. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  654. 10, this->customer_gen_time(), output);
  655. }
  656. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  657. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  658. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  659. }
  660. // @@protoc_insertion_point(serialize_end:tb_customer)
  661. }
  662. ::google::protobuf::uint8* tb_customer::InternalSerializeWithCachedSizesToArray(
  663. bool deterministic, ::google::protobuf::uint8* target) const {
  664. (void)deterministic; // Unused
  665. // @@protoc_insertion_point(serialize_to_array_start:tb_customer)
  666. ::google::protobuf::uint32 cached_has_bits = 0;
  667. (void) cached_has_bits;
  668. // string customer_id = 1;
  669. if (this->customer_id().size() > 0) {
  670. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  671. this->customer_id().data(), static_cast<int>(this->customer_id().length()),
  672. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  673. "tb_customer.customer_id");
  674. target =
  675. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  676. 1, this->customer_id(), target);
  677. }
  678. // string customer_name = 2;
  679. if (this->customer_name().size() > 0) {
  680. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  681. this->customer_name().data(), static_cast<int>(this->customer_name().length()),
  682. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  683. "tb_customer.customer_name");
  684. target =
  685. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  686. 2, this->customer_name(), target);
  687. }
  688. // bool customer_gender = 3;
  689. if (this->customer_gender() != 0) {
  690. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->customer_gender(), target);
  691. }
  692. // string customer_phone = 4;
  693. if (this->customer_phone().size() > 0) {
  694. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  695. this->customer_phone().data(), static_cast<int>(this->customer_phone().length()),
  696. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  697. "tb_customer.customer_phone");
  698. target =
  699. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  700. 4, this->customer_phone(), target);
  701. }
  702. // string customer_password = 5;
  703. if (this->customer_password().size() > 0) {
  704. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  705. this->customer_password().data(), static_cast<int>(this->customer_password().length()),
  706. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  707. "tb_customer.customer_password");
  708. target =
  709. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  710. 5, this->customer_password(), target);
  711. }
  712. // string customer_old_phone = 6;
  713. if (this->customer_old_phone().size() > 0) {
  714. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  715. this->customer_old_phone().data(), static_cast<int>(this->customer_old_phone().length()),
  716. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  717. "tb_customer.customer_old_phone");
  718. target =
  719. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  720. 6, this->customer_old_phone(), target);
  721. }
  722. // string customer_vcode = 7;
  723. if (this->customer_vcode().size() > 0) {
  724. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  725. this->customer_vcode().data(), static_cast<int>(this->customer_vcode().length()),
  726. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  727. "tb_customer.customer_vcode");
  728. target =
  729. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  730. 7, this->customer_vcode(), target);
  731. }
  732. // string customer_vcode_expiry_time = 8;
  733. if (this->customer_vcode_expiry_time().size() > 0) {
  734. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  735. this->customer_vcode_expiry_time().data(), static_cast<int>(this->customer_vcode_expiry_time().length()),
  736. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  737. "tb_customer.customer_vcode_expiry_time");
  738. target =
  739. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  740. 8, this->customer_vcode_expiry_time(), target);
  741. }
  742. // bool customer_enable = 9;
  743. if (this->customer_enable() != 0) {
  744. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->customer_enable(), target);
  745. }
  746. // string customer_gen_time = 10;
  747. if (this->customer_gen_time().size() > 0) {
  748. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  749. this->customer_gen_time().data(), static_cast<int>(this->customer_gen_time().length()),
  750. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  751. "tb_customer.customer_gen_time");
  752. target =
  753. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  754. 10, this->customer_gen_time(), target);
  755. }
  756. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  757. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  758. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  759. }
  760. // @@protoc_insertion_point(serialize_to_array_end:tb_customer)
  761. return target;
  762. }
  763. size_t tb_customer::ByteSizeLong() const {
  764. // @@protoc_insertion_point(message_byte_size_start:tb_customer)
  765. size_t total_size = 0;
  766. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  767. total_size +=
  768. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  769. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  770. }
  771. // string customer_id = 1;
  772. if (this->customer_id().size() > 0) {
  773. total_size += 1 +
  774. ::google::protobuf::internal::WireFormatLite::StringSize(
  775. this->customer_id());
  776. }
  777. // string customer_name = 2;
  778. if (this->customer_name().size() > 0) {
  779. total_size += 1 +
  780. ::google::protobuf::internal::WireFormatLite::StringSize(
  781. this->customer_name());
  782. }
  783. // string customer_phone = 4;
  784. if (this->customer_phone().size() > 0) {
  785. total_size += 1 +
  786. ::google::protobuf::internal::WireFormatLite::StringSize(
  787. this->customer_phone());
  788. }
  789. // string customer_password = 5;
  790. if (this->customer_password().size() > 0) {
  791. total_size += 1 +
  792. ::google::protobuf::internal::WireFormatLite::StringSize(
  793. this->customer_password());
  794. }
  795. // string customer_old_phone = 6;
  796. if (this->customer_old_phone().size() > 0) {
  797. total_size += 1 +
  798. ::google::protobuf::internal::WireFormatLite::StringSize(
  799. this->customer_old_phone());
  800. }
  801. // string customer_vcode = 7;
  802. if (this->customer_vcode().size() > 0) {
  803. total_size += 1 +
  804. ::google::protobuf::internal::WireFormatLite::StringSize(
  805. this->customer_vcode());
  806. }
  807. // string customer_vcode_expiry_time = 8;
  808. if (this->customer_vcode_expiry_time().size() > 0) {
  809. total_size += 1 +
  810. ::google::protobuf::internal::WireFormatLite::StringSize(
  811. this->customer_vcode_expiry_time());
  812. }
  813. // string customer_gen_time = 10;
  814. if (this->customer_gen_time().size() > 0) {
  815. total_size += 1 +
  816. ::google::protobuf::internal::WireFormatLite::StringSize(
  817. this->customer_gen_time());
  818. }
  819. // bool customer_gender = 3;
  820. if (this->customer_gender() != 0) {
  821. total_size += 1 + 1;
  822. }
  823. // bool customer_enable = 9;
  824. if (this->customer_enable() != 0) {
  825. total_size += 1 + 1;
  826. }
  827. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  828. SetCachedSize(cached_size);
  829. return total_size;
  830. }
  831. void tb_customer::MergeFrom(const ::google::protobuf::Message& from) {
  832. // @@protoc_insertion_point(generalized_merge_from_start:tb_customer)
  833. GOOGLE_DCHECK_NE(&from, this);
  834. const tb_customer* source =
  835. ::google::protobuf::internal::DynamicCastToGenerated<const tb_customer>(
  836. &from);
  837. if (source == NULL) {
  838. // @@protoc_insertion_point(generalized_merge_from_cast_fail:tb_customer)
  839. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  840. } else {
  841. // @@protoc_insertion_point(generalized_merge_from_cast_success:tb_customer)
  842. MergeFrom(*source);
  843. }
  844. }
  845. void tb_customer::MergeFrom(const tb_customer& from) {
  846. // @@protoc_insertion_point(class_specific_merge_from_start:tb_customer)
  847. GOOGLE_DCHECK_NE(&from, this);
  848. _internal_metadata_.MergeFrom(from._internal_metadata_);
  849. ::google::protobuf::uint32 cached_has_bits = 0;
  850. (void) cached_has_bits;
  851. if (from.customer_id().size() > 0) {
  852. customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
  853. }
  854. if (from.customer_name().size() > 0) {
  855. customer_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_name_);
  856. }
  857. if (from.customer_phone().size() > 0) {
  858. customer_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_phone_);
  859. }
  860. if (from.customer_password().size() > 0) {
  861. customer_password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_password_);
  862. }
  863. if (from.customer_old_phone().size() > 0) {
  864. customer_old_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_old_phone_);
  865. }
  866. if (from.customer_vcode().size() > 0) {
  867. customer_vcode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_);
  868. }
  869. if (from.customer_vcode_expiry_time().size() > 0) {
  870. customer_vcode_expiry_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_expiry_time_);
  871. }
  872. if (from.customer_gen_time().size() > 0) {
  873. customer_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_gen_time_);
  874. }
  875. if (from.customer_gender() != 0) {
  876. set_customer_gender(from.customer_gender());
  877. }
  878. if (from.customer_enable() != 0) {
  879. set_customer_enable(from.customer_enable());
  880. }
  881. }
  882. void tb_customer::CopyFrom(const ::google::protobuf::Message& from) {
  883. // @@protoc_insertion_point(generalized_copy_from_start:tb_customer)
  884. if (&from == this) return;
  885. Clear();
  886. MergeFrom(from);
  887. }
  888. void tb_customer::CopyFrom(const tb_customer& from) {
  889. // @@protoc_insertion_point(class_specific_copy_from_start:tb_customer)
  890. if (&from == this) return;
  891. Clear();
  892. MergeFrom(from);
  893. }
  894. bool tb_customer::IsInitialized() const {
  895. return true;
  896. }
  897. void tb_customer::Swap(tb_customer* other) {
  898. if (other == this) return;
  899. InternalSwap(other);
  900. }
  901. void tb_customer::InternalSwap(tb_customer* other) {
  902. using std::swap;
  903. customer_id_.Swap(&other->customer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  904. GetArenaNoVirtual());
  905. customer_name_.Swap(&other->customer_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  906. GetArenaNoVirtual());
  907. customer_phone_.Swap(&other->customer_phone_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  908. GetArenaNoVirtual());
  909. customer_password_.Swap(&other->customer_password_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  910. GetArenaNoVirtual());
  911. customer_old_phone_.Swap(&other->customer_old_phone_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  912. GetArenaNoVirtual());
  913. customer_vcode_.Swap(&other->customer_vcode_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  914. GetArenaNoVirtual());
  915. customer_vcode_expiry_time_.Swap(&other->customer_vcode_expiry_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  916. GetArenaNoVirtual());
  917. customer_gen_time_.Swap(&other->customer_gen_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  918. GetArenaNoVirtual());
  919. swap(customer_gender_, other->customer_gender_);
  920. swap(customer_enable_, other->customer_enable_);
  921. _internal_metadata_.Swap(&other->_internal_metadata_);
  922. }
  923. ::google::protobuf::Metadata tb_customer::GetMetadata() const {
  924. protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  925. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
  926. }
  927. // ===================================================================
  928. void tb_type::InitAsDefaultInstance() {
  929. }
  930. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  931. const int tb_type::kCustomerIdFieldNumber;
  932. const int tb_type::kTypeIdFieldNumber;
  933. const int tb_type::kTypeNameFieldNumber;
  934. const int tb_type::kTypeGenTimeFieldNumber;
  935. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  936. tb_type::tb_type()
  937. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  938. ::google::protobuf::internal::InitSCC(
  939. &protobuf_table_2eproto::scc_info_tb_type.base);
  940. SharedCtor();
  941. // @@protoc_insertion_point(constructor:tb_type)
  942. }
  943. tb_type::tb_type(const tb_type& from)
  944. : ::google::protobuf::Message(),
  945. _internal_metadata_(NULL) {
  946. _internal_metadata_.MergeFrom(from._internal_metadata_);
  947. customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  948. if (from.customer_id().size() > 0) {
  949. customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
  950. }
  951. type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  952. if (from.type_id().size() > 0) {
  953. type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
  954. }
  955. type_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  956. if (from.type_name().size() > 0) {
  957. type_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_name_);
  958. }
  959. type_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  960. if (from.type_gen_time().size() > 0) {
  961. type_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_gen_time_);
  962. }
  963. // @@protoc_insertion_point(copy_constructor:tb_type)
  964. }
  965. void tb_type::SharedCtor() {
  966. customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  967. type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  968. type_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  969. type_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  970. }
  971. tb_type::~tb_type() {
  972. // @@protoc_insertion_point(destructor:tb_type)
  973. SharedDtor();
  974. }
  975. void tb_type::SharedDtor() {
  976. customer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  977. type_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  978. type_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  979. type_gen_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  980. }
  981. void tb_type::SetCachedSize(int size) const {
  982. _cached_size_.Set(size);
  983. }
  984. const ::google::protobuf::Descriptor* tb_type::descriptor() {
  985. ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  986. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  987. }
  988. const tb_type& tb_type::default_instance() {
  989. ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_tb_type.base);
  990. return *internal_default_instance();
  991. }
  992. void tb_type::Clear() {
  993. // @@protoc_insertion_point(message_clear_start:tb_type)
  994. ::google::protobuf::uint32 cached_has_bits = 0;
  995. // Prevent compiler warnings about cached_has_bits being unused
  996. (void) cached_has_bits;
  997. customer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  998. type_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  999. type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1000. type_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1001. _internal_metadata_.Clear();
  1002. }
  1003. bool tb_type::MergePartialFromCodedStream(
  1004. ::google::protobuf::io::CodedInputStream* input) {
  1005. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1006. ::google::protobuf::uint32 tag;
  1007. // @@protoc_insertion_point(parse_start:tb_type)
  1008. for (;;) {
  1009. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1010. tag = p.first;
  1011. if (!p.second) goto handle_unusual;
  1012. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1013. // string customer_id = 1;
  1014. case 1: {
  1015. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1016. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1017. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1018. input, this->mutable_customer_id()));
  1019. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1020. this->customer_id().data(), static_cast<int>(this->customer_id().length()),
  1021. ::google::protobuf::internal::WireFormatLite::PARSE,
  1022. "tb_type.customer_id"));
  1023. } else {
  1024. goto handle_unusual;
  1025. }
  1026. break;
  1027. }
  1028. // string type_id = 2;
  1029. case 2: {
  1030. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1031. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1032. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1033. input, this->mutable_type_id()));
  1034. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1035. this->type_id().data(), static_cast<int>(this->type_id().length()),
  1036. ::google::protobuf::internal::WireFormatLite::PARSE,
  1037. "tb_type.type_id"));
  1038. } else {
  1039. goto handle_unusual;
  1040. }
  1041. break;
  1042. }
  1043. // string type_name = 3;
  1044. case 3: {
  1045. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1046. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  1047. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1048. input, this->mutable_type_name()));
  1049. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1050. this->type_name().data(), static_cast<int>(this->type_name().length()),
  1051. ::google::protobuf::internal::WireFormatLite::PARSE,
  1052. "tb_type.type_name"));
  1053. } else {
  1054. goto handle_unusual;
  1055. }
  1056. break;
  1057. }
  1058. // string type_gen_time = 4;
  1059. case 4: {
  1060. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1061. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  1062. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1063. input, this->mutable_type_gen_time()));
  1064. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1065. this->type_gen_time().data(), static_cast<int>(this->type_gen_time().length()),
  1066. ::google::protobuf::internal::WireFormatLite::PARSE,
  1067. "tb_type.type_gen_time"));
  1068. } else {
  1069. goto handle_unusual;
  1070. }
  1071. break;
  1072. }
  1073. default: {
  1074. handle_unusual:
  1075. if (tag == 0) {
  1076. goto success;
  1077. }
  1078. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1079. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1080. break;
  1081. }
  1082. }
  1083. }
  1084. success:
  1085. // @@protoc_insertion_point(parse_success:tb_type)
  1086. return true;
  1087. failure:
  1088. // @@protoc_insertion_point(parse_failure:tb_type)
  1089. return false;
  1090. #undef DO_
  1091. }
  1092. void tb_type::SerializeWithCachedSizes(
  1093. ::google::protobuf::io::CodedOutputStream* output) const {
  1094. // @@protoc_insertion_point(serialize_start:tb_type)
  1095. ::google::protobuf::uint32 cached_has_bits = 0;
  1096. (void) cached_has_bits;
  1097. // string customer_id = 1;
  1098. if (this->customer_id().size() > 0) {
  1099. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1100. this->customer_id().data(), static_cast<int>(this->customer_id().length()),
  1101. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1102. "tb_type.customer_id");
  1103. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1104. 1, this->customer_id(), output);
  1105. }
  1106. // string type_id = 2;
  1107. if (this->type_id().size() > 0) {
  1108. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1109. this->type_id().data(), static_cast<int>(this->type_id().length()),
  1110. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1111. "tb_type.type_id");
  1112. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1113. 2, this->type_id(), output);
  1114. }
  1115. // string type_name = 3;
  1116. if (this->type_name().size() > 0) {
  1117. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1118. this->type_name().data(), static_cast<int>(this->type_name().length()),
  1119. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1120. "tb_type.type_name");
  1121. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1122. 3, this->type_name(), output);
  1123. }
  1124. // string type_gen_time = 4;
  1125. if (this->type_gen_time().size() > 0) {
  1126. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1127. this->type_gen_time().data(), static_cast<int>(this->type_gen_time().length()),
  1128. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1129. "tb_type.type_gen_time");
  1130. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1131. 4, this->type_gen_time(), output);
  1132. }
  1133. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1134. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1135. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  1136. }
  1137. // @@protoc_insertion_point(serialize_end:tb_type)
  1138. }
  1139. ::google::protobuf::uint8* tb_type::InternalSerializeWithCachedSizesToArray(
  1140. bool deterministic, ::google::protobuf::uint8* target) const {
  1141. (void)deterministic; // Unused
  1142. // @@protoc_insertion_point(serialize_to_array_start:tb_type)
  1143. ::google::protobuf::uint32 cached_has_bits = 0;
  1144. (void) cached_has_bits;
  1145. // string customer_id = 1;
  1146. if (this->customer_id().size() > 0) {
  1147. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1148. this->customer_id().data(), static_cast<int>(this->customer_id().length()),
  1149. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1150. "tb_type.customer_id");
  1151. target =
  1152. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1153. 1, this->customer_id(), target);
  1154. }
  1155. // string type_id = 2;
  1156. if (this->type_id().size() > 0) {
  1157. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1158. this->type_id().data(), static_cast<int>(this->type_id().length()),
  1159. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1160. "tb_type.type_id");
  1161. target =
  1162. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1163. 2, this->type_id(), target);
  1164. }
  1165. // string type_name = 3;
  1166. if (this->type_name().size() > 0) {
  1167. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1168. this->type_name().data(), static_cast<int>(this->type_name().length()),
  1169. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1170. "tb_type.type_name");
  1171. target =
  1172. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1173. 3, this->type_name(), target);
  1174. }
  1175. // string type_gen_time = 4;
  1176. if (this->type_gen_time().size() > 0) {
  1177. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1178. this->type_gen_time().data(), static_cast<int>(this->type_gen_time().length()),
  1179. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1180. "tb_type.type_gen_time");
  1181. target =
  1182. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1183. 4, this->type_gen_time(), target);
  1184. }
  1185. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1186. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1187. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  1188. }
  1189. // @@protoc_insertion_point(serialize_to_array_end:tb_type)
  1190. return target;
  1191. }
  1192. size_t tb_type::ByteSizeLong() const {
  1193. // @@protoc_insertion_point(message_byte_size_start:tb_type)
  1194. size_t total_size = 0;
  1195. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1196. total_size +=
  1197. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1198. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  1199. }
  1200. // string customer_id = 1;
  1201. if (this->customer_id().size() > 0) {
  1202. total_size += 1 +
  1203. ::google::protobuf::internal::WireFormatLite::StringSize(
  1204. this->customer_id());
  1205. }
  1206. // string type_id = 2;
  1207. if (this->type_id().size() > 0) {
  1208. total_size += 1 +
  1209. ::google::protobuf::internal::WireFormatLite::StringSize(
  1210. this->type_id());
  1211. }
  1212. // string type_name = 3;
  1213. if (this->type_name().size() > 0) {
  1214. total_size += 1 +
  1215. ::google::protobuf::internal::WireFormatLite::StringSize(
  1216. this->type_name());
  1217. }
  1218. // string type_gen_time = 4;
  1219. if (this->type_gen_time().size() > 0) {
  1220. total_size += 1 +
  1221. ::google::protobuf::internal::WireFormatLite::StringSize(
  1222. this->type_gen_time());
  1223. }
  1224. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  1225. SetCachedSize(cached_size);
  1226. return total_size;
  1227. }
  1228. void tb_type::MergeFrom(const ::google::protobuf::Message& from) {
  1229. // @@protoc_insertion_point(generalized_merge_from_start:tb_type)
  1230. GOOGLE_DCHECK_NE(&from, this);
  1231. const tb_type* source =
  1232. ::google::protobuf::internal::DynamicCastToGenerated<const tb_type>(
  1233. &from);
  1234. if (source == NULL) {
  1235. // @@protoc_insertion_point(generalized_merge_from_cast_fail:tb_type)
  1236. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1237. } else {
  1238. // @@protoc_insertion_point(generalized_merge_from_cast_success:tb_type)
  1239. MergeFrom(*source);
  1240. }
  1241. }
  1242. void tb_type::MergeFrom(const tb_type& from) {
  1243. // @@protoc_insertion_point(class_specific_merge_from_start:tb_type)
  1244. GOOGLE_DCHECK_NE(&from, this);
  1245. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1246. ::google::protobuf::uint32 cached_has_bits = 0;
  1247. (void) cached_has_bits;
  1248. if (from.customer_id().size() > 0) {
  1249. customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
  1250. }
  1251. if (from.type_id().size() > 0) {
  1252. type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
  1253. }
  1254. if (from.type_name().size() > 0) {
  1255. type_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_name_);
  1256. }
  1257. if (from.type_gen_time().size() > 0) {
  1258. type_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_gen_time_);
  1259. }
  1260. }
  1261. void tb_type::CopyFrom(const ::google::protobuf::Message& from) {
  1262. // @@protoc_insertion_point(generalized_copy_from_start:tb_type)
  1263. if (&from == this) return;
  1264. Clear();
  1265. MergeFrom(from);
  1266. }
  1267. void tb_type::CopyFrom(const tb_type& from) {
  1268. // @@protoc_insertion_point(class_specific_copy_from_start:tb_type)
  1269. if (&from == this) return;
  1270. Clear();
  1271. MergeFrom(from);
  1272. }
  1273. bool tb_type::IsInitialized() const {
  1274. return true;
  1275. }
  1276. void tb_type::Swap(tb_type* other) {
  1277. if (other == this) return;
  1278. InternalSwap(other);
  1279. }
  1280. void tb_type::InternalSwap(tb_type* other) {
  1281. using std::swap;
  1282. customer_id_.Swap(&other->customer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1283. GetArenaNoVirtual());
  1284. type_id_.Swap(&other->type_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1285. GetArenaNoVirtual());
  1286. type_name_.Swap(&other->type_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1287. GetArenaNoVirtual());
  1288. type_gen_time_.Swap(&other->type_gen_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1289. GetArenaNoVirtual());
  1290. _internal_metadata_.Swap(&other->_internal_metadata_);
  1291. }
  1292. ::google::protobuf::Metadata tb_type::GetMetadata() const {
  1293. protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  1294. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
  1295. }
  1296. // ===================================================================
  1297. void tb_reply::InitAsDefaultInstance() {
  1298. }
  1299. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  1300. const int tb_reply::kCustomerIdFieldNumber;
  1301. const int tb_reply::kTypeIdFieldNumber;
  1302. const int tb_reply::kReplyIdFieldNumber;
  1303. const int tb_reply::kReplyNameFieldNumber;
  1304. const int tb_reply::kReplyContentFieldNumber;
  1305. const int tb_reply::kReplyGenTimeFieldNumber;
  1306. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  1307. tb_reply::tb_reply()
  1308. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  1309. ::google::protobuf::internal::InitSCC(
  1310. &protobuf_table_2eproto::scc_info_tb_reply.base);
  1311. SharedCtor();
  1312. // @@protoc_insertion_point(constructor:tb_reply)
  1313. }
  1314. tb_reply::tb_reply(const tb_reply& from)
  1315. : ::google::protobuf::Message(),
  1316. _internal_metadata_(NULL) {
  1317. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1318. customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1319. if (from.customer_id().size() > 0) {
  1320. customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
  1321. }
  1322. type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1323. if (from.type_id().size() > 0) {
  1324. type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
  1325. }
  1326. reply_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1327. if (from.reply_id().size() > 0) {
  1328. reply_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_id_);
  1329. }
  1330. reply_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1331. if (from.reply_name().size() > 0) {
  1332. reply_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_name_);
  1333. }
  1334. reply_content_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1335. if (from.reply_content().size() > 0) {
  1336. reply_content_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_content_);
  1337. }
  1338. reply_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1339. if (from.reply_gen_time().size() > 0) {
  1340. reply_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_gen_time_);
  1341. }
  1342. // @@protoc_insertion_point(copy_constructor:tb_reply)
  1343. }
  1344. void tb_reply::SharedCtor() {
  1345. customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1346. type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1347. reply_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1348. reply_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1349. reply_content_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1350. reply_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1351. }
  1352. tb_reply::~tb_reply() {
  1353. // @@protoc_insertion_point(destructor:tb_reply)
  1354. SharedDtor();
  1355. }
  1356. void tb_reply::SharedDtor() {
  1357. customer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1358. type_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1359. reply_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1360. reply_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1361. reply_content_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1362. reply_gen_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1363. }
  1364. void tb_reply::SetCachedSize(int size) const {
  1365. _cached_size_.Set(size);
  1366. }
  1367. const ::google::protobuf::Descriptor* tb_reply::descriptor() {
  1368. ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  1369. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1370. }
  1371. const tb_reply& tb_reply::default_instance() {
  1372. ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_tb_reply.base);
  1373. return *internal_default_instance();
  1374. }
  1375. void tb_reply::Clear() {
  1376. // @@protoc_insertion_point(message_clear_start:tb_reply)
  1377. ::google::protobuf::uint32 cached_has_bits = 0;
  1378. // Prevent compiler warnings about cached_has_bits being unused
  1379. (void) cached_has_bits;
  1380. customer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1381. type_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1382. reply_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1383. reply_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1384. reply_content_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1385. reply_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1386. _internal_metadata_.Clear();
  1387. }
  1388. bool tb_reply::MergePartialFromCodedStream(
  1389. ::google::protobuf::io::CodedInputStream* input) {
  1390. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1391. ::google::protobuf::uint32 tag;
  1392. // @@protoc_insertion_point(parse_start:tb_reply)
  1393. for (;;) {
  1394. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1395. tag = p.first;
  1396. if (!p.second) goto handle_unusual;
  1397. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1398. // string customer_id = 1;
  1399. case 1: {
  1400. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1401. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1402. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1403. input, this->mutable_customer_id()));
  1404. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1405. this->customer_id().data(), static_cast<int>(this->customer_id().length()),
  1406. ::google::protobuf::internal::WireFormatLite::PARSE,
  1407. "tb_reply.customer_id"));
  1408. } else {
  1409. goto handle_unusual;
  1410. }
  1411. break;
  1412. }
  1413. // string type_id = 2;
  1414. case 2: {
  1415. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1416. static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
  1417. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1418. input, this->mutable_type_id()));
  1419. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1420. this->type_id().data(), static_cast<int>(this->type_id().length()),
  1421. ::google::protobuf::internal::WireFormatLite::PARSE,
  1422. "tb_reply.type_id"));
  1423. } else {
  1424. goto handle_unusual;
  1425. }
  1426. break;
  1427. }
  1428. // string reply_id = 3;
  1429. case 3: {
  1430. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1431. static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
  1432. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1433. input, this->mutable_reply_id()));
  1434. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1435. this->reply_id().data(), static_cast<int>(this->reply_id().length()),
  1436. ::google::protobuf::internal::WireFormatLite::PARSE,
  1437. "tb_reply.reply_id"));
  1438. } else {
  1439. goto handle_unusual;
  1440. }
  1441. break;
  1442. }
  1443. // string reply_name = 4;
  1444. case 4: {
  1445. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1446. static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
  1447. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1448. input, this->mutable_reply_name()));
  1449. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1450. this->reply_name().data(), static_cast<int>(this->reply_name().length()),
  1451. ::google::protobuf::internal::WireFormatLite::PARSE,
  1452. "tb_reply.reply_name"));
  1453. } else {
  1454. goto handle_unusual;
  1455. }
  1456. break;
  1457. }
  1458. // string reply_content = 5;
  1459. case 5: {
  1460. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1461. static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
  1462. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1463. input, this->mutable_reply_content()));
  1464. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1465. this->reply_content().data(), static_cast<int>(this->reply_content().length()),
  1466. ::google::protobuf::internal::WireFormatLite::PARSE,
  1467. "tb_reply.reply_content"));
  1468. } else {
  1469. goto handle_unusual;
  1470. }
  1471. break;
  1472. }
  1473. // string reply_gen_time = 6;
  1474. case 6: {
  1475. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1476. static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
  1477. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1478. input, this->mutable_reply_gen_time()));
  1479. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1480. this->reply_gen_time().data(), static_cast<int>(this->reply_gen_time().length()),
  1481. ::google::protobuf::internal::WireFormatLite::PARSE,
  1482. "tb_reply.reply_gen_time"));
  1483. } else {
  1484. goto handle_unusual;
  1485. }
  1486. break;
  1487. }
  1488. default: {
  1489. handle_unusual:
  1490. if (tag == 0) {
  1491. goto success;
  1492. }
  1493. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1494. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1495. break;
  1496. }
  1497. }
  1498. }
  1499. success:
  1500. // @@protoc_insertion_point(parse_success:tb_reply)
  1501. return true;
  1502. failure:
  1503. // @@protoc_insertion_point(parse_failure:tb_reply)
  1504. return false;
  1505. #undef DO_
  1506. }
  1507. void tb_reply::SerializeWithCachedSizes(
  1508. ::google::protobuf::io::CodedOutputStream* output) const {
  1509. // @@protoc_insertion_point(serialize_start:tb_reply)
  1510. ::google::protobuf::uint32 cached_has_bits = 0;
  1511. (void) cached_has_bits;
  1512. // string customer_id = 1;
  1513. if (this->customer_id().size() > 0) {
  1514. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1515. this->customer_id().data(), static_cast<int>(this->customer_id().length()),
  1516. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1517. "tb_reply.customer_id");
  1518. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1519. 1, this->customer_id(), output);
  1520. }
  1521. // string type_id = 2;
  1522. if (this->type_id().size() > 0) {
  1523. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1524. this->type_id().data(), static_cast<int>(this->type_id().length()),
  1525. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1526. "tb_reply.type_id");
  1527. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1528. 2, this->type_id(), output);
  1529. }
  1530. // string reply_id = 3;
  1531. if (this->reply_id().size() > 0) {
  1532. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1533. this->reply_id().data(), static_cast<int>(this->reply_id().length()),
  1534. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1535. "tb_reply.reply_id");
  1536. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1537. 3, this->reply_id(), output);
  1538. }
  1539. // string reply_name = 4;
  1540. if (this->reply_name().size() > 0) {
  1541. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1542. this->reply_name().data(), static_cast<int>(this->reply_name().length()),
  1543. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1544. "tb_reply.reply_name");
  1545. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1546. 4, this->reply_name(), output);
  1547. }
  1548. // string reply_content = 5;
  1549. if (this->reply_content().size() > 0) {
  1550. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1551. this->reply_content().data(), static_cast<int>(this->reply_content().length()),
  1552. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1553. "tb_reply.reply_content");
  1554. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1555. 5, this->reply_content(), output);
  1556. }
  1557. // string reply_gen_time = 6;
  1558. if (this->reply_gen_time().size() > 0) {
  1559. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1560. this->reply_gen_time().data(), static_cast<int>(this->reply_gen_time().length()),
  1561. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1562. "tb_reply.reply_gen_time");
  1563. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  1564. 6, this->reply_gen_time(), output);
  1565. }
  1566. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1567. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1568. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  1569. }
  1570. // @@protoc_insertion_point(serialize_end:tb_reply)
  1571. }
  1572. ::google::protobuf::uint8* tb_reply::InternalSerializeWithCachedSizesToArray(
  1573. bool deterministic, ::google::protobuf::uint8* target) const {
  1574. (void)deterministic; // Unused
  1575. // @@protoc_insertion_point(serialize_to_array_start:tb_reply)
  1576. ::google::protobuf::uint32 cached_has_bits = 0;
  1577. (void) cached_has_bits;
  1578. // string customer_id = 1;
  1579. if (this->customer_id().size() > 0) {
  1580. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1581. this->customer_id().data(), static_cast<int>(this->customer_id().length()),
  1582. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1583. "tb_reply.customer_id");
  1584. target =
  1585. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1586. 1, this->customer_id(), target);
  1587. }
  1588. // string type_id = 2;
  1589. if (this->type_id().size() > 0) {
  1590. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1591. this->type_id().data(), static_cast<int>(this->type_id().length()),
  1592. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1593. "tb_reply.type_id");
  1594. target =
  1595. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1596. 2, this->type_id(), target);
  1597. }
  1598. // string reply_id = 3;
  1599. if (this->reply_id().size() > 0) {
  1600. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1601. this->reply_id().data(), static_cast<int>(this->reply_id().length()),
  1602. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1603. "tb_reply.reply_id");
  1604. target =
  1605. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1606. 3, this->reply_id(), target);
  1607. }
  1608. // string reply_name = 4;
  1609. if (this->reply_name().size() > 0) {
  1610. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1611. this->reply_name().data(), static_cast<int>(this->reply_name().length()),
  1612. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1613. "tb_reply.reply_name");
  1614. target =
  1615. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1616. 4, this->reply_name(), target);
  1617. }
  1618. // string reply_content = 5;
  1619. if (this->reply_content().size() > 0) {
  1620. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1621. this->reply_content().data(), static_cast<int>(this->reply_content().length()),
  1622. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1623. "tb_reply.reply_content");
  1624. target =
  1625. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1626. 5, this->reply_content(), target);
  1627. }
  1628. // string reply_gen_time = 6;
  1629. if (this->reply_gen_time().size() > 0) {
  1630. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1631. this->reply_gen_time().data(), static_cast<int>(this->reply_gen_time().length()),
  1632. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  1633. "tb_reply.reply_gen_time");
  1634. target =
  1635. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1636. 6, this->reply_gen_time(), target);
  1637. }
  1638. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1639. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1640. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  1641. }
  1642. // @@protoc_insertion_point(serialize_to_array_end:tb_reply)
  1643. return target;
  1644. }
  1645. size_t tb_reply::ByteSizeLong() const {
  1646. // @@protoc_insertion_point(message_byte_size_start:tb_reply)
  1647. size_t total_size = 0;
  1648. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1649. total_size +=
  1650. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1651. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  1652. }
  1653. // string customer_id = 1;
  1654. if (this->customer_id().size() > 0) {
  1655. total_size += 1 +
  1656. ::google::protobuf::internal::WireFormatLite::StringSize(
  1657. this->customer_id());
  1658. }
  1659. // string type_id = 2;
  1660. if (this->type_id().size() > 0) {
  1661. total_size += 1 +
  1662. ::google::protobuf::internal::WireFormatLite::StringSize(
  1663. this->type_id());
  1664. }
  1665. // string reply_id = 3;
  1666. if (this->reply_id().size() > 0) {
  1667. total_size += 1 +
  1668. ::google::protobuf::internal::WireFormatLite::StringSize(
  1669. this->reply_id());
  1670. }
  1671. // string reply_name = 4;
  1672. if (this->reply_name().size() > 0) {
  1673. total_size += 1 +
  1674. ::google::protobuf::internal::WireFormatLite::StringSize(
  1675. this->reply_name());
  1676. }
  1677. // string reply_content = 5;
  1678. if (this->reply_content().size() > 0) {
  1679. total_size += 1 +
  1680. ::google::protobuf::internal::WireFormatLite::StringSize(
  1681. this->reply_content());
  1682. }
  1683. // string reply_gen_time = 6;
  1684. if (this->reply_gen_time().size() > 0) {
  1685. total_size += 1 +
  1686. ::google::protobuf::internal::WireFormatLite::StringSize(
  1687. this->reply_gen_time());
  1688. }
  1689. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  1690. SetCachedSize(cached_size);
  1691. return total_size;
  1692. }
  1693. void tb_reply::MergeFrom(const ::google::protobuf::Message& from) {
  1694. // @@protoc_insertion_point(generalized_merge_from_start:tb_reply)
  1695. GOOGLE_DCHECK_NE(&from, this);
  1696. const tb_reply* source =
  1697. ::google::protobuf::internal::DynamicCastToGenerated<const tb_reply>(
  1698. &from);
  1699. if (source == NULL) {
  1700. // @@protoc_insertion_point(generalized_merge_from_cast_fail:tb_reply)
  1701. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1702. } else {
  1703. // @@protoc_insertion_point(generalized_merge_from_cast_success:tb_reply)
  1704. MergeFrom(*source);
  1705. }
  1706. }
  1707. void tb_reply::MergeFrom(const tb_reply& from) {
  1708. // @@protoc_insertion_point(class_specific_merge_from_start:tb_reply)
  1709. GOOGLE_DCHECK_NE(&from, this);
  1710. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1711. ::google::protobuf::uint32 cached_has_bits = 0;
  1712. (void) cached_has_bits;
  1713. if (from.customer_id().size() > 0) {
  1714. customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
  1715. }
  1716. if (from.type_id().size() > 0) {
  1717. type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
  1718. }
  1719. if (from.reply_id().size() > 0) {
  1720. reply_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_id_);
  1721. }
  1722. if (from.reply_name().size() > 0) {
  1723. reply_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_name_);
  1724. }
  1725. if (from.reply_content().size() > 0) {
  1726. reply_content_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_content_);
  1727. }
  1728. if (from.reply_gen_time().size() > 0) {
  1729. reply_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_gen_time_);
  1730. }
  1731. }
  1732. void tb_reply::CopyFrom(const ::google::protobuf::Message& from) {
  1733. // @@protoc_insertion_point(generalized_copy_from_start:tb_reply)
  1734. if (&from == this) return;
  1735. Clear();
  1736. MergeFrom(from);
  1737. }
  1738. void tb_reply::CopyFrom(const tb_reply& from) {
  1739. // @@protoc_insertion_point(class_specific_copy_from_start:tb_reply)
  1740. if (&from == this) return;
  1741. Clear();
  1742. MergeFrom(from);
  1743. }
  1744. bool tb_reply::IsInitialized() const {
  1745. return true;
  1746. }
  1747. void tb_reply::Swap(tb_reply* other) {
  1748. if (other == this) return;
  1749. InternalSwap(other);
  1750. }
  1751. void tb_reply::InternalSwap(tb_reply* other) {
  1752. using std::swap;
  1753. customer_id_.Swap(&other->customer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1754. GetArenaNoVirtual());
  1755. type_id_.Swap(&other->type_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1756. GetArenaNoVirtual());
  1757. reply_id_.Swap(&other->reply_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1758. GetArenaNoVirtual());
  1759. reply_name_.Swap(&other->reply_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1760. GetArenaNoVirtual());
  1761. reply_content_.Swap(&other->reply_content_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1762. GetArenaNoVirtual());
  1763. reply_gen_time_.Swap(&other->reply_gen_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1764. GetArenaNoVirtual());
  1765. _internal_metadata_.Swap(&other->_internal_metadata_);
  1766. }
  1767. ::google::protobuf::Metadata tb_reply::GetMetadata() const {
  1768. protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  1769. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
  1770. }
  1771. // ===================================================================
  1772. void rec_customer::InitAsDefaultInstance() {
  1773. }
  1774. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  1775. const int rec_customer::kCustomersFieldNumber;
  1776. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  1777. rec_customer::rec_customer()
  1778. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  1779. ::google::protobuf::internal::InitSCC(
  1780. &protobuf_table_2eproto::scc_info_rec_customer.base);
  1781. SharedCtor();
  1782. // @@protoc_insertion_point(constructor:rec_customer)
  1783. }
  1784. rec_customer::rec_customer(const rec_customer& from)
  1785. : ::google::protobuf::Message(),
  1786. _internal_metadata_(NULL),
  1787. customers_(from.customers_) {
  1788. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1789. // @@protoc_insertion_point(copy_constructor:rec_customer)
  1790. }
  1791. void rec_customer::SharedCtor() {
  1792. }
  1793. rec_customer::~rec_customer() {
  1794. // @@protoc_insertion_point(destructor:rec_customer)
  1795. SharedDtor();
  1796. }
  1797. void rec_customer::SharedDtor() {
  1798. }
  1799. void rec_customer::SetCachedSize(int size) const {
  1800. _cached_size_.Set(size);
  1801. }
  1802. const ::google::protobuf::Descriptor* rec_customer::descriptor() {
  1803. ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  1804. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  1805. }
  1806. const rec_customer& rec_customer::default_instance() {
  1807. ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_rec_customer.base);
  1808. return *internal_default_instance();
  1809. }
  1810. void rec_customer::Clear() {
  1811. // @@protoc_insertion_point(message_clear_start:rec_customer)
  1812. ::google::protobuf::uint32 cached_has_bits = 0;
  1813. // Prevent compiler warnings about cached_has_bits being unused
  1814. (void) cached_has_bits;
  1815. customers_.Clear();
  1816. _internal_metadata_.Clear();
  1817. }
  1818. bool rec_customer::MergePartialFromCodedStream(
  1819. ::google::protobuf::io::CodedInputStream* input) {
  1820. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  1821. ::google::protobuf::uint32 tag;
  1822. // @@protoc_insertion_point(parse_start:rec_customer)
  1823. for (;;) {
  1824. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  1825. tag = p.first;
  1826. if (!p.second) goto handle_unusual;
  1827. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1828. // repeated .tb_customer customers = 1;
  1829. case 1: {
  1830. if (static_cast< ::google::protobuf::uint8>(tag) ==
  1831. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  1832. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  1833. input, add_customers()));
  1834. } else {
  1835. goto handle_unusual;
  1836. }
  1837. break;
  1838. }
  1839. default: {
  1840. handle_unusual:
  1841. if (tag == 0) {
  1842. goto success;
  1843. }
  1844. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1845. input, tag, _internal_metadata_.mutable_unknown_fields()));
  1846. break;
  1847. }
  1848. }
  1849. }
  1850. success:
  1851. // @@protoc_insertion_point(parse_success:rec_customer)
  1852. return true;
  1853. failure:
  1854. // @@protoc_insertion_point(parse_failure:rec_customer)
  1855. return false;
  1856. #undef DO_
  1857. }
  1858. void rec_customer::SerializeWithCachedSizes(
  1859. ::google::protobuf::io::CodedOutputStream* output) const {
  1860. // @@protoc_insertion_point(serialize_start:rec_customer)
  1861. ::google::protobuf::uint32 cached_has_bits = 0;
  1862. (void) cached_has_bits;
  1863. // repeated .tb_customer customers = 1;
  1864. for (unsigned int i = 0,
  1865. n = static_cast<unsigned int>(this->customers_size()); i < n; i++) {
  1866. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1867. 1,
  1868. this->customers(static_cast<int>(i)),
  1869. output);
  1870. }
  1871. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1872. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1873. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  1874. }
  1875. // @@protoc_insertion_point(serialize_end:rec_customer)
  1876. }
  1877. ::google::protobuf::uint8* rec_customer::InternalSerializeWithCachedSizesToArray(
  1878. bool deterministic, ::google::protobuf::uint8* target) const {
  1879. (void)deterministic; // Unused
  1880. // @@protoc_insertion_point(serialize_to_array_start:rec_customer)
  1881. ::google::protobuf::uint32 cached_has_bits = 0;
  1882. (void) cached_has_bits;
  1883. // repeated .tb_customer customers = 1;
  1884. for (unsigned int i = 0,
  1885. n = static_cast<unsigned int>(this->customers_size()); i < n; i++) {
  1886. target = ::google::protobuf::internal::WireFormatLite::
  1887. InternalWriteMessageToArray(
  1888. 1, this->customers(static_cast<int>(i)), deterministic, target);
  1889. }
  1890. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1891. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1892. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  1893. }
  1894. // @@protoc_insertion_point(serialize_to_array_end:rec_customer)
  1895. return target;
  1896. }
  1897. size_t rec_customer::ByteSizeLong() const {
  1898. // @@protoc_insertion_point(message_byte_size_start:rec_customer)
  1899. size_t total_size = 0;
  1900. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  1901. total_size +=
  1902. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1903. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  1904. }
  1905. // repeated .tb_customer customers = 1;
  1906. {
  1907. unsigned int count = static_cast<unsigned int>(this->customers_size());
  1908. total_size += 1UL * count;
  1909. for (unsigned int i = 0; i < count; i++) {
  1910. total_size +=
  1911. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1912. this->customers(static_cast<int>(i)));
  1913. }
  1914. }
  1915. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  1916. SetCachedSize(cached_size);
  1917. return total_size;
  1918. }
  1919. void rec_customer::MergeFrom(const ::google::protobuf::Message& from) {
  1920. // @@protoc_insertion_point(generalized_merge_from_start:rec_customer)
  1921. GOOGLE_DCHECK_NE(&from, this);
  1922. const rec_customer* source =
  1923. ::google::protobuf::internal::DynamicCastToGenerated<const rec_customer>(
  1924. &from);
  1925. if (source == NULL) {
  1926. // @@protoc_insertion_point(generalized_merge_from_cast_fail:rec_customer)
  1927. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1928. } else {
  1929. // @@protoc_insertion_point(generalized_merge_from_cast_success:rec_customer)
  1930. MergeFrom(*source);
  1931. }
  1932. }
  1933. void rec_customer::MergeFrom(const rec_customer& from) {
  1934. // @@protoc_insertion_point(class_specific_merge_from_start:rec_customer)
  1935. GOOGLE_DCHECK_NE(&from, this);
  1936. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1937. ::google::protobuf::uint32 cached_has_bits = 0;
  1938. (void) cached_has_bits;
  1939. customers_.MergeFrom(from.customers_);
  1940. }
  1941. void rec_customer::CopyFrom(const ::google::protobuf::Message& from) {
  1942. // @@protoc_insertion_point(generalized_copy_from_start:rec_customer)
  1943. if (&from == this) return;
  1944. Clear();
  1945. MergeFrom(from);
  1946. }
  1947. void rec_customer::CopyFrom(const rec_customer& from) {
  1948. // @@protoc_insertion_point(class_specific_copy_from_start:rec_customer)
  1949. if (&from == this) return;
  1950. Clear();
  1951. MergeFrom(from);
  1952. }
  1953. bool rec_customer::IsInitialized() const {
  1954. return true;
  1955. }
  1956. void rec_customer::Swap(rec_customer* other) {
  1957. if (other == this) return;
  1958. InternalSwap(other);
  1959. }
  1960. void rec_customer::InternalSwap(rec_customer* other) {
  1961. using std::swap;
  1962. CastToBase(&customers_)->InternalSwap(CastToBase(&other->customers_));
  1963. _internal_metadata_.Swap(&other->_internal_metadata_);
  1964. }
  1965. ::google::protobuf::Metadata rec_customer::GetMetadata() const {
  1966. protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  1967. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
  1968. }
  1969. // ===================================================================
  1970. void rec_type::InitAsDefaultInstance() {
  1971. }
  1972. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  1973. const int rec_type::kTypesFieldNumber;
  1974. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  1975. rec_type::rec_type()
  1976. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  1977. ::google::protobuf::internal::InitSCC(
  1978. &protobuf_table_2eproto::scc_info_rec_type.base);
  1979. SharedCtor();
  1980. // @@protoc_insertion_point(constructor:rec_type)
  1981. }
  1982. rec_type::rec_type(const rec_type& from)
  1983. : ::google::protobuf::Message(),
  1984. _internal_metadata_(NULL),
  1985. types_(from.types_) {
  1986. _internal_metadata_.MergeFrom(from._internal_metadata_);
  1987. // @@protoc_insertion_point(copy_constructor:rec_type)
  1988. }
  1989. void rec_type::SharedCtor() {
  1990. }
  1991. rec_type::~rec_type() {
  1992. // @@protoc_insertion_point(destructor:rec_type)
  1993. SharedDtor();
  1994. }
  1995. void rec_type::SharedDtor() {
  1996. }
  1997. void rec_type::SetCachedSize(int size) const {
  1998. _cached_size_.Set(size);
  1999. }
  2000. const ::google::protobuf::Descriptor* rec_type::descriptor() {
  2001. ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  2002. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  2003. }
  2004. const rec_type& rec_type::default_instance() {
  2005. ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_rec_type.base);
  2006. return *internal_default_instance();
  2007. }
  2008. void rec_type::Clear() {
  2009. // @@protoc_insertion_point(message_clear_start:rec_type)
  2010. ::google::protobuf::uint32 cached_has_bits = 0;
  2011. // Prevent compiler warnings about cached_has_bits being unused
  2012. (void) cached_has_bits;
  2013. types_.Clear();
  2014. _internal_metadata_.Clear();
  2015. }
  2016. bool rec_type::MergePartialFromCodedStream(
  2017. ::google::protobuf::io::CodedInputStream* input) {
  2018. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  2019. ::google::protobuf::uint32 tag;
  2020. // @@protoc_insertion_point(parse_start:rec_type)
  2021. for (;;) {
  2022. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  2023. tag = p.first;
  2024. if (!p.second) goto handle_unusual;
  2025. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2026. // repeated .tb_type types = 1;
  2027. case 1: {
  2028. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2029. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  2030. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2031. input, add_types()));
  2032. } else {
  2033. goto handle_unusual;
  2034. }
  2035. break;
  2036. }
  2037. default: {
  2038. handle_unusual:
  2039. if (tag == 0) {
  2040. goto success;
  2041. }
  2042. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2043. input, tag, _internal_metadata_.mutable_unknown_fields()));
  2044. break;
  2045. }
  2046. }
  2047. }
  2048. success:
  2049. // @@protoc_insertion_point(parse_success:rec_type)
  2050. return true;
  2051. failure:
  2052. // @@protoc_insertion_point(parse_failure:rec_type)
  2053. return false;
  2054. #undef DO_
  2055. }
  2056. void rec_type::SerializeWithCachedSizes(
  2057. ::google::protobuf::io::CodedOutputStream* output) const {
  2058. // @@protoc_insertion_point(serialize_start:rec_type)
  2059. ::google::protobuf::uint32 cached_has_bits = 0;
  2060. (void) cached_has_bits;
  2061. // repeated .tb_type types = 1;
  2062. for (unsigned int i = 0,
  2063. n = static_cast<unsigned int>(this->types_size()); i < n; i++) {
  2064. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2065. 1,
  2066. this->types(static_cast<int>(i)),
  2067. output);
  2068. }
  2069. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2070. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2071. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  2072. }
  2073. // @@protoc_insertion_point(serialize_end:rec_type)
  2074. }
  2075. ::google::protobuf::uint8* rec_type::InternalSerializeWithCachedSizesToArray(
  2076. bool deterministic, ::google::protobuf::uint8* target) const {
  2077. (void)deterministic; // Unused
  2078. // @@protoc_insertion_point(serialize_to_array_start:rec_type)
  2079. ::google::protobuf::uint32 cached_has_bits = 0;
  2080. (void) cached_has_bits;
  2081. // repeated .tb_type types = 1;
  2082. for (unsigned int i = 0,
  2083. n = static_cast<unsigned int>(this->types_size()); i < n; i++) {
  2084. target = ::google::protobuf::internal::WireFormatLite::
  2085. InternalWriteMessageToArray(
  2086. 1, this->types(static_cast<int>(i)), deterministic, target);
  2087. }
  2088. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2089. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2090. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  2091. }
  2092. // @@protoc_insertion_point(serialize_to_array_end:rec_type)
  2093. return target;
  2094. }
  2095. size_t rec_type::ByteSizeLong() const {
  2096. // @@protoc_insertion_point(message_byte_size_start:rec_type)
  2097. size_t total_size = 0;
  2098. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2099. total_size +=
  2100. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2101. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  2102. }
  2103. // repeated .tb_type types = 1;
  2104. {
  2105. unsigned int count = static_cast<unsigned int>(this->types_size());
  2106. total_size += 1UL * count;
  2107. for (unsigned int i = 0; i < count; i++) {
  2108. total_size +=
  2109. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2110. this->types(static_cast<int>(i)));
  2111. }
  2112. }
  2113. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  2114. SetCachedSize(cached_size);
  2115. return total_size;
  2116. }
  2117. void rec_type::MergeFrom(const ::google::protobuf::Message& from) {
  2118. // @@protoc_insertion_point(generalized_merge_from_start:rec_type)
  2119. GOOGLE_DCHECK_NE(&from, this);
  2120. const rec_type* source =
  2121. ::google::protobuf::internal::DynamicCastToGenerated<const rec_type>(
  2122. &from);
  2123. if (source == NULL) {
  2124. // @@protoc_insertion_point(generalized_merge_from_cast_fail:rec_type)
  2125. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2126. } else {
  2127. // @@protoc_insertion_point(generalized_merge_from_cast_success:rec_type)
  2128. MergeFrom(*source);
  2129. }
  2130. }
  2131. void rec_type::MergeFrom(const rec_type& from) {
  2132. // @@protoc_insertion_point(class_specific_merge_from_start:rec_type)
  2133. GOOGLE_DCHECK_NE(&from, this);
  2134. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2135. ::google::protobuf::uint32 cached_has_bits = 0;
  2136. (void) cached_has_bits;
  2137. types_.MergeFrom(from.types_);
  2138. }
  2139. void rec_type::CopyFrom(const ::google::protobuf::Message& from) {
  2140. // @@protoc_insertion_point(generalized_copy_from_start:rec_type)
  2141. if (&from == this) return;
  2142. Clear();
  2143. MergeFrom(from);
  2144. }
  2145. void rec_type::CopyFrom(const rec_type& from) {
  2146. // @@protoc_insertion_point(class_specific_copy_from_start:rec_type)
  2147. if (&from == this) return;
  2148. Clear();
  2149. MergeFrom(from);
  2150. }
  2151. bool rec_type::IsInitialized() const {
  2152. return true;
  2153. }
  2154. void rec_type::Swap(rec_type* other) {
  2155. if (other == this) return;
  2156. InternalSwap(other);
  2157. }
  2158. void rec_type::InternalSwap(rec_type* other) {
  2159. using std::swap;
  2160. CastToBase(&types_)->InternalSwap(CastToBase(&other->types_));
  2161. _internal_metadata_.Swap(&other->_internal_metadata_);
  2162. }
  2163. ::google::protobuf::Metadata rec_type::GetMetadata() const {
  2164. protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  2165. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
  2166. }
  2167. // ===================================================================
  2168. void rec_reply::InitAsDefaultInstance() {
  2169. }
  2170. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  2171. const int rec_reply::kReplysFieldNumber;
  2172. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  2173. rec_reply::rec_reply()
  2174. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2175. ::google::protobuf::internal::InitSCC(
  2176. &protobuf_table_2eproto::scc_info_rec_reply.base);
  2177. SharedCtor();
  2178. // @@protoc_insertion_point(constructor:rec_reply)
  2179. }
  2180. rec_reply::rec_reply(const rec_reply& from)
  2181. : ::google::protobuf::Message(),
  2182. _internal_metadata_(NULL),
  2183. replys_(from.replys_) {
  2184. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2185. // @@protoc_insertion_point(copy_constructor:rec_reply)
  2186. }
  2187. void rec_reply::SharedCtor() {
  2188. }
  2189. rec_reply::~rec_reply() {
  2190. // @@protoc_insertion_point(destructor:rec_reply)
  2191. SharedDtor();
  2192. }
  2193. void rec_reply::SharedDtor() {
  2194. }
  2195. void rec_reply::SetCachedSize(int size) const {
  2196. _cached_size_.Set(size);
  2197. }
  2198. const ::google::protobuf::Descriptor* rec_reply::descriptor() {
  2199. ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  2200. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  2201. }
  2202. const rec_reply& rec_reply::default_instance() {
  2203. ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_rec_reply.base);
  2204. return *internal_default_instance();
  2205. }
  2206. void rec_reply::Clear() {
  2207. // @@protoc_insertion_point(message_clear_start:rec_reply)
  2208. ::google::protobuf::uint32 cached_has_bits = 0;
  2209. // Prevent compiler warnings about cached_has_bits being unused
  2210. (void) cached_has_bits;
  2211. replys_.Clear();
  2212. _internal_metadata_.Clear();
  2213. }
  2214. bool rec_reply::MergePartialFromCodedStream(
  2215. ::google::protobuf::io::CodedInputStream* input) {
  2216. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  2217. ::google::protobuf::uint32 tag;
  2218. // @@protoc_insertion_point(parse_start:rec_reply)
  2219. for (;;) {
  2220. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  2221. tag = p.first;
  2222. if (!p.second) goto handle_unusual;
  2223. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2224. // repeated .tb_reply replys = 1;
  2225. case 1: {
  2226. if (static_cast< ::google::protobuf::uint8>(tag) ==
  2227. static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
  2228. DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
  2229. input, add_replys()));
  2230. } else {
  2231. goto handle_unusual;
  2232. }
  2233. break;
  2234. }
  2235. default: {
  2236. handle_unusual:
  2237. if (tag == 0) {
  2238. goto success;
  2239. }
  2240. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2241. input, tag, _internal_metadata_.mutable_unknown_fields()));
  2242. break;
  2243. }
  2244. }
  2245. }
  2246. success:
  2247. // @@protoc_insertion_point(parse_success:rec_reply)
  2248. return true;
  2249. failure:
  2250. // @@protoc_insertion_point(parse_failure:rec_reply)
  2251. return false;
  2252. #undef DO_
  2253. }
  2254. void rec_reply::SerializeWithCachedSizes(
  2255. ::google::protobuf::io::CodedOutputStream* output) const {
  2256. // @@protoc_insertion_point(serialize_start:rec_reply)
  2257. ::google::protobuf::uint32 cached_has_bits = 0;
  2258. (void) cached_has_bits;
  2259. // repeated .tb_reply replys = 1;
  2260. for (unsigned int i = 0,
  2261. n = static_cast<unsigned int>(this->replys_size()); i < n; i++) {
  2262. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2263. 1,
  2264. this->replys(static_cast<int>(i)),
  2265. output);
  2266. }
  2267. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2268. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2269. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  2270. }
  2271. // @@protoc_insertion_point(serialize_end:rec_reply)
  2272. }
  2273. ::google::protobuf::uint8* rec_reply::InternalSerializeWithCachedSizesToArray(
  2274. bool deterministic, ::google::protobuf::uint8* target) const {
  2275. (void)deterministic; // Unused
  2276. // @@protoc_insertion_point(serialize_to_array_start:rec_reply)
  2277. ::google::protobuf::uint32 cached_has_bits = 0;
  2278. (void) cached_has_bits;
  2279. // repeated .tb_reply replys = 1;
  2280. for (unsigned int i = 0,
  2281. n = static_cast<unsigned int>(this->replys_size()); i < n; i++) {
  2282. target = ::google::protobuf::internal::WireFormatLite::
  2283. InternalWriteMessageToArray(
  2284. 1, this->replys(static_cast<int>(i)), deterministic, target);
  2285. }
  2286. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2287. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2288. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  2289. }
  2290. // @@protoc_insertion_point(serialize_to_array_end:rec_reply)
  2291. return target;
  2292. }
  2293. size_t rec_reply::ByteSizeLong() const {
  2294. // @@protoc_insertion_point(message_byte_size_start:rec_reply)
  2295. size_t total_size = 0;
  2296. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2297. total_size +=
  2298. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2299. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  2300. }
  2301. // repeated .tb_reply replys = 1;
  2302. {
  2303. unsigned int count = static_cast<unsigned int>(this->replys_size());
  2304. total_size += 1UL * count;
  2305. for (unsigned int i = 0; i < count; i++) {
  2306. total_size +=
  2307. ::google::protobuf::internal::WireFormatLite::MessageSize(
  2308. this->replys(static_cast<int>(i)));
  2309. }
  2310. }
  2311. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  2312. SetCachedSize(cached_size);
  2313. return total_size;
  2314. }
  2315. void rec_reply::MergeFrom(const ::google::protobuf::Message& from) {
  2316. // @@protoc_insertion_point(generalized_merge_from_start:rec_reply)
  2317. GOOGLE_DCHECK_NE(&from, this);
  2318. const rec_reply* source =
  2319. ::google::protobuf::internal::DynamicCastToGenerated<const rec_reply>(
  2320. &from);
  2321. if (source == NULL) {
  2322. // @@protoc_insertion_point(generalized_merge_from_cast_fail:rec_reply)
  2323. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2324. } else {
  2325. // @@protoc_insertion_point(generalized_merge_from_cast_success:rec_reply)
  2326. MergeFrom(*source);
  2327. }
  2328. }
  2329. void rec_reply::MergeFrom(const rec_reply& from) {
  2330. // @@protoc_insertion_point(class_specific_merge_from_start:rec_reply)
  2331. GOOGLE_DCHECK_NE(&from, this);
  2332. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2333. ::google::protobuf::uint32 cached_has_bits = 0;
  2334. (void) cached_has_bits;
  2335. replys_.MergeFrom(from.replys_);
  2336. }
  2337. void rec_reply::CopyFrom(const ::google::protobuf::Message& from) {
  2338. // @@protoc_insertion_point(generalized_copy_from_start:rec_reply)
  2339. if (&from == this) return;
  2340. Clear();
  2341. MergeFrom(from);
  2342. }
  2343. void rec_reply::CopyFrom(const rec_reply& from) {
  2344. // @@protoc_insertion_point(class_specific_copy_from_start:rec_reply)
  2345. if (&from == this) return;
  2346. Clear();
  2347. MergeFrom(from);
  2348. }
  2349. bool rec_reply::IsInitialized() const {
  2350. return true;
  2351. }
  2352. void rec_reply::Swap(rec_reply* other) {
  2353. if (other == this) return;
  2354. InternalSwap(other);
  2355. }
  2356. void rec_reply::InternalSwap(rec_reply* other) {
  2357. using std::swap;
  2358. CastToBase(&replys_)->InternalSwap(CastToBase(&other->replys_));
  2359. _internal_metadata_.Swap(&other->_internal_metadata_);
  2360. }
  2361. ::google::protobuf::Metadata rec_reply::GetMetadata() const {
  2362. protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  2363. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
  2364. }
  2365. // ===================================================================
  2366. void view::InitAsDefaultInstance() {
  2367. }
  2368. #if !defined(_MSC_VER) || _MSC_VER >= 1900
  2369. #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
  2370. view::view()
  2371. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2372. ::google::protobuf::internal::InitSCC(
  2373. &protobuf_table_2eproto::scc_info_view.base);
  2374. SharedCtor();
  2375. // @@protoc_insertion_point(constructor:view)
  2376. }
  2377. view::view(const view& from)
  2378. : ::google::protobuf::Message(),
  2379. _internal_metadata_(NULL) {
  2380. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2381. // @@protoc_insertion_point(copy_constructor:view)
  2382. }
  2383. void view::SharedCtor() {
  2384. }
  2385. view::~view() {
  2386. // @@protoc_insertion_point(destructor:view)
  2387. SharedDtor();
  2388. }
  2389. void view::SharedDtor() {
  2390. }
  2391. void view::SetCachedSize(int size) const {
  2392. _cached_size_.Set(size);
  2393. }
  2394. const ::google::protobuf::Descriptor* view::descriptor() {
  2395. ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  2396. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
  2397. }
  2398. const view& view::default_instance() {
  2399. ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_view.base);
  2400. return *internal_default_instance();
  2401. }
  2402. void view::Clear() {
  2403. // @@protoc_insertion_point(message_clear_start:view)
  2404. ::google::protobuf::uint32 cached_has_bits = 0;
  2405. // Prevent compiler warnings about cached_has_bits being unused
  2406. (void) cached_has_bits;
  2407. _internal_metadata_.Clear();
  2408. }
  2409. bool view::MergePartialFromCodedStream(
  2410. ::google::protobuf::io::CodedInputStream* input) {
  2411. #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  2412. ::google::protobuf::uint32 tag;
  2413. // @@protoc_insertion_point(parse_start:view)
  2414. for (;;) {
  2415. ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  2416. tag = p.first;
  2417. if (!p.second) goto handle_unusual;
  2418. handle_unusual:
  2419. if (tag == 0) {
  2420. goto success;
  2421. }
  2422. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2423. input, tag, _internal_metadata_.mutable_unknown_fields()));
  2424. }
  2425. success:
  2426. // @@protoc_insertion_point(parse_success:view)
  2427. return true;
  2428. failure:
  2429. // @@protoc_insertion_point(parse_failure:view)
  2430. return false;
  2431. #undef DO_
  2432. }
  2433. void view::SerializeWithCachedSizes(
  2434. ::google::protobuf::io::CodedOutputStream* output) const {
  2435. // @@protoc_insertion_point(serialize_start:view)
  2436. ::google::protobuf::uint32 cached_has_bits = 0;
  2437. (void) cached_has_bits;
  2438. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2439. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2440. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
  2441. }
  2442. // @@protoc_insertion_point(serialize_end:view)
  2443. }
  2444. ::google::protobuf::uint8* view::InternalSerializeWithCachedSizesToArray(
  2445. bool deterministic, ::google::protobuf::uint8* target) const {
  2446. (void)deterministic; // Unused
  2447. // @@protoc_insertion_point(serialize_to_array_start:view)
  2448. ::google::protobuf::uint32 cached_has_bits = 0;
  2449. (void) cached_has_bits;
  2450. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2451. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2452. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
  2453. }
  2454. // @@protoc_insertion_point(serialize_to_array_end:view)
  2455. return target;
  2456. }
  2457. size_t view::ByteSizeLong() const {
  2458. // @@protoc_insertion_point(message_byte_size_start:view)
  2459. size_t total_size = 0;
  2460. if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
  2461. total_size +=
  2462. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2463. (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
  2464. }
  2465. int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  2466. SetCachedSize(cached_size);
  2467. return total_size;
  2468. }
  2469. void view::MergeFrom(const ::google::protobuf::Message& from) {
  2470. // @@protoc_insertion_point(generalized_merge_from_start:view)
  2471. GOOGLE_DCHECK_NE(&from, this);
  2472. const view* source =
  2473. ::google::protobuf::internal::DynamicCastToGenerated<const view>(
  2474. &from);
  2475. if (source == NULL) {
  2476. // @@protoc_insertion_point(generalized_merge_from_cast_fail:view)
  2477. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2478. } else {
  2479. // @@protoc_insertion_point(generalized_merge_from_cast_success:view)
  2480. MergeFrom(*source);
  2481. }
  2482. }
  2483. void view::MergeFrom(const view& from) {
  2484. // @@protoc_insertion_point(class_specific_merge_from_start:view)
  2485. GOOGLE_DCHECK_NE(&from, this);
  2486. _internal_metadata_.MergeFrom(from._internal_metadata_);
  2487. ::google::protobuf::uint32 cached_has_bits = 0;
  2488. (void) cached_has_bits;
  2489. }
  2490. void view::CopyFrom(const ::google::protobuf::Message& from) {
  2491. // @@protoc_insertion_point(generalized_copy_from_start:view)
  2492. if (&from == this) return;
  2493. Clear();
  2494. MergeFrom(from);
  2495. }
  2496. void view::CopyFrom(const view& from) {
  2497. // @@protoc_insertion_point(class_specific_copy_from_start:view)
  2498. if (&from == this) return;
  2499. Clear();
  2500. MergeFrom(from);
  2501. }
  2502. bool view::IsInitialized() const {
  2503. return true;
  2504. }
  2505. void view::Swap(view* other) {
  2506. if (other == this) return;
  2507. InternalSwap(other);
  2508. }
  2509. void view::InternalSwap(view* other) {
  2510. using std::swap;
  2511. _internal_metadata_.Swap(&other->_internal_metadata_);
  2512. }
  2513. ::google::protobuf::Metadata view::GetMetadata() const {
  2514. protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
  2515. return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
  2516. }
  2517. // @@protoc_insertion_point(namespace_scope)
  2518. namespace google {
  2519. namespace protobuf {
  2520. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::tb_customer* Arena::CreateMaybeMessage< ::tb_customer >(Arena* arena) {
  2521. return Arena::CreateInternal< ::tb_customer >(arena);
  2522. }
  2523. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::tb_type* Arena::CreateMaybeMessage< ::tb_type >(Arena* arena) {
  2524. return Arena::CreateInternal< ::tb_type >(arena);
  2525. }
  2526. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::tb_reply* Arena::CreateMaybeMessage< ::tb_reply >(Arena* arena) {
  2527. return Arena::CreateInternal< ::tb_reply >(arena);
  2528. }
  2529. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rec_customer* Arena::CreateMaybeMessage< ::rec_customer >(Arena* arena) {
  2530. return Arena::CreateInternal< ::rec_customer >(arena);
  2531. }
  2532. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rec_type* Arena::CreateMaybeMessage< ::rec_type >(Arena* arena) {
  2533. return Arena::CreateInternal< ::rec_type >(arena);
  2534. }
  2535. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rec_reply* Arena::CreateMaybeMessage< ::rec_reply >(Arena* arena) {
  2536. return Arena::CreateInternal< ::rec_reply >(arena);
  2537. }
  2538. template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::view* Arena::CreateMaybeMessage< ::view >(Arena* arena) {
  2539. return Arena::CreateInternal< ::view >(arena);
  2540. }
  2541. } // namespace protobuf
  2542. } // namespace google
  2543. // @@protoc_insertion_point(global_scope)