12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: table.proto
- #include "table.pb.h"
- #include <algorithm>
- #include <google/protobuf/stubs/common.h>
- #include <google/protobuf/stubs/port.h>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/wire_format_lite_inl.h>
- #include <google/protobuf/descriptor.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/reflection_ops.h>
- #include <google/protobuf/wire_format.h>
- // This is a temporary google only hack
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- #include "third_party/protobuf/version.h"
- #endif
- // @@protoc_insertion_point(includes)
- namespace protobuf_table_2eproto {
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_table_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_tb_customer;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_table_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_tb_reply;
- extern PROTOBUF_INTERNAL_EXPORT_protobuf_table_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_tb_type;
- } // namespace protobuf_table_2eproto
- class tb_customerDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<tb_customer>
- _instance;
- } _tb_customer_default_instance_;
- class tb_typeDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<tb_type>
- _instance;
- } _tb_type_default_instance_;
- class tb_replyDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<tb_reply>
- _instance;
- } _tb_reply_default_instance_;
- class rec_customerDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<rec_customer>
- _instance;
- } _rec_customer_default_instance_;
- class rec_typeDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<rec_type>
- _instance;
- } _rec_type_default_instance_;
- class rec_replyDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<rec_reply>
- _instance;
- } _rec_reply_default_instance_;
- class viewDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<view>
- _instance;
- } _view_default_instance_;
- namespace protobuf_table_2eproto {
- static void InitDefaultstb_customer() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_tb_customer_default_instance_;
- new (ptr) ::tb_customer();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::tb_customer::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<0> scc_info_tb_customer =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultstb_customer}, {}};
- static void InitDefaultstb_type() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_tb_type_default_instance_;
- new (ptr) ::tb_type();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::tb_type::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<0> scc_info_tb_type =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultstb_type}, {}};
- static void InitDefaultstb_reply() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_tb_reply_default_instance_;
- new (ptr) ::tb_reply();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::tb_reply::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<0> scc_info_tb_reply =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultstb_reply}, {}};
- static void InitDefaultsrec_customer() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_rec_customer_default_instance_;
- new (ptr) ::rec_customer();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::rec_customer::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<1> scc_info_rec_customer =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsrec_customer}, {
- &protobuf_table_2eproto::scc_info_tb_customer.base,}};
- static void InitDefaultsrec_type() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_rec_type_default_instance_;
- new (ptr) ::rec_type();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::rec_type::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<1> scc_info_rec_type =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsrec_type}, {
- &protobuf_table_2eproto::scc_info_tb_type.base,}};
- static void InitDefaultsrec_reply() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_rec_reply_default_instance_;
- new (ptr) ::rec_reply();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::rec_reply::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<1> scc_info_rec_reply =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsrec_reply}, {
- &protobuf_table_2eproto::scc_info_tb_reply.base,}};
- static void InitDefaultsview() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_view_default_instance_;
- new (ptr) ::view();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::view::InitAsDefaultInstance();
- }
- ::google::protobuf::internal::SCCInfo<0> scc_info_view =
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsview}, {}};
- void InitDefaults() {
- ::google::protobuf::internal::InitSCC(&scc_info_tb_customer.base);
- ::google::protobuf::internal::InitSCC(&scc_info_tb_type.base);
- ::google::protobuf::internal::InitSCC(&scc_info_tb_reply.base);
- ::google::protobuf::internal::InitSCC(&scc_info_rec_customer.base);
- ::google::protobuf::internal::InitSCC(&scc_info_rec_type.base);
- ::google::protobuf::internal::InitSCC(&scc_info_rec_reply.base);
- ::google::protobuf::internal::InitSCC(&scc_info_view.base);
- }
- ::google::protobuf::Metadata file_level_metadata[7];
- const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_name_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_gender_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_phone_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_password_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_old_phone_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_vcode_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_vcode_expiry_time_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_enable_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_gen_time_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, customer_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, type_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, type_name_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, type_gen_time_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, customer_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, type_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_name_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_content_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_gen_time_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_customer, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_customer, customers_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_type, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_type, types_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_reply, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_reply, replys_),
- ~0u, // no _has_bits_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::view, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- };
- static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- { 0, -1, sizeof(::tb_customer)},
- { 15, -1, sizeof(::tb_type)},
- { 24, -1, sizeof(::tb_reply)},
- { 35, -1, sizeof(::rec_customer)},
- { 41, -1, sizeof(::rec_type)},
- { 47, -1, sizeof(::rec_reply)},
- { 53, -1, sizeof(::view)},
- };
- static ::google::protobuf::Message const * const file_default_instances[] = {
- reinterpret_cast<const ::google::protobuf::Message*>(&::_tb_customer_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_tb_type_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_tb_reply_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_rec_customer_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_rec_type_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_rec_reply_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::_view_default_instance_),
- };
- void protobuf_AssignDescriptors() {
- AddDescriptors();
- AssignDescriptors(
- "table.proto", schemas, file_default_instances, TableStruct::offsets,
- file_level_metadata, NULL, NULL);
- }
- void protobuf_AssignDescriptorsOnce() {
- static ::google::protobuf::internal::once_flag once;
- ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
- }
- void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 7);
- }
- void AddDescriptorsImpl() {
- InitDefaults();
- static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- "\n\013table.proto\"\221\002\n\013tb_customer\022\023\n\013custome"
- "r_id\030\001 \001(\t\022\025\n\rcustomer_name\030\002 \001(\t\022\027\n\017cus"
- "tomer_gender\030\003 \001(\010\022\026\n\016customer_phone\030\004 \001"
- "(\t\022\031\n\021customer_password\030\005 \001(\t\022\032\n\022custome"
- "r_old_phone\030\006 \001(\t\022\026\n\016customer_vcode\030\007 \001("
- "\t\022\"\n\032customer_vcode_expiry_time\030\010 \001(\t\022\027\n"
- "\017customer_enable\030\t \001(\010\022\031\n\021customer_gen_t"
- "ime\030\n \001(\t\"Y\n\007tb_type\022\023\n\013customer_id\030\001 \001("
- "\t\022\017\n\007type_id\030\002 \001(\t\022\021\n\ttype_name\030\003 \001(\t\022\025\n"
- "\rtype_gen_time\030\004 \001(\t\"\205\001\n\010tb_reply\022\023\n\013cus"
- "tomer_id\030\001 \001(\t\022\017\n\007type_id\030\002 \001(\t\022\020\n\010reply"
- "_id\030\003 \001(\t\022\022\n\nreply_name\030\004 \001(\t\022\025\n\rreply_c"
- "ontent\030\005 \001(\t\022\026\n\016reply_gen_time\030\006 \001(\t\"/\n\014"
- "rec_customer\022\037\n\tcustomers\030\001 \003(\0132\014.tb_cus"
- "tomer\"#\n\010rec_type\022\027\n\005types\030\001 \003(\0132\010.tb_ty"
- "pe\"&\n\trec_reply\022\031\n\006replys\030\001 \003(\0132\t.tb_rep"
- "ly\"\006\n\004viewb\006proto3"
- };
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- descriptor, 658);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "table.proto", &protobuf_RegisterTypes);
- }
- void AddDescriptors() {
- static ::google::protobuf::internal::once_flag once;
- ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
- }
- // Force AddDescriptors() to be called at dynamic initialization time.
- struct StaticDescriptorInitializer {
- StaticDescriptorInitializer() {
- AddDescriptors();
- }
- } static_descriptor_initializer;
- } // namespace protobuf_table_2eproto
- // ===================================================================
- void tb_customer::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int tb_customer::kCustomerIdFieldNumber;
- const int tb_customer::kCustomerNameFieldNumber;
- const int tb_customer::kCustomerGenderFieldNumber;
- const int tb_customer::kCustomerPhoneFieldNumber;
- const int tb_customer::kCustomerPasswordFieldNumber;
- const int tb_customer::kCustomerOldPhoneFieldNumber;
- const int tb_customer::kCustomerVcodeFieldNumber;
- const int tb_customer::kCustomerVcodeExpiryTimeFieldNumber;
- const int tb_customer::kCustomerEnableFieldNumber;
- const int tb_customer::kCustomerGenTimeFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- tb_customer::tb_customer()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_table_2eproto::scc_info_tb_customer.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:tb_customer)
- }
- tb_customer::tb_customer(const tb_customer& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.customer_id().size() > 0) {
- customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
- }
- customer_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.customer_name().size() > 0) {
- customer_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_name_);
- }
- customer_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.customer_phone().size() > 0) {
- customer_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_phone_);
- }
- customer_password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.customer_password().size() > 0) {
- customer_password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_password_);
- }
- customer_old_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.customer_old_phone().size() > 0) {
- customer_old_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_old_phone_);
- }
- customer_vcode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.customer_vcode().size() > 0) {
- customer_vcode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_);
- }
- customer_vcode_expiry_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.customer_vcode_expiry_time().size() > 0) {
- customer_vcode_expiry_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_expiry_time_);
- }
- customer_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.customer_gen_time().size() > 0) {
- customer_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_gen_time_);
- }
- ::memcpy(&customer_gender_, &from.customer_gender_,
- static_cast<size_t>(reinterpret_cast<char*>(&customer_enable_) -
- reinterpret_cast<char*>(&customer_gender_)) + sizeof(customer_enable_));
- // @@protoc_insertion_point(copy_constructor:tb_customer)
- }
- void tb_customer::SharedCtor() {
- customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_old_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_vcode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_vcode_expiry_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(&customer_gender_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&customer_enable_) -
- reinterpret_cast<char*>(&customer_gender_)) + sizeof(customer_enable_));
- }
- tb_customer::~tb_customer() {
- // @@protoc_insertion_point(destructor:tb_customer)
- SharedDtor();
- }
- void tb_customer::SharedDtor() {
- customer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_phone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_password_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_old_phone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_vcode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_vcode_expiry_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_gen_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void tb_customer::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* tb_customer::descriptor() {
- ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const tb_customer& tb_customer::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_tb_customer.base);
- return *internal_default_instance();
- }
- void tb_customer::Clear() {
- // @@protoc_insertion_point(message_clear_start:tb_customer)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- customer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_password_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_old_phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_vcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_vcode_expiry_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- customer_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(&customer_gender_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&customer_enable_) -
- reinterpret_cast<char*>(&customer_gender_)) + sizeof(customer_enable_));
- _internal_metadata_.Clear();
- }
- bool tb_customer::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:tb_customer)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // string customer_id = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_customer_id()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_id().data(), static_cast<int>(this->customer_id().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_customer.customer_id"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string customer_name = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_customer_name()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_name().data(), static_cast<int>(this->customer_name().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_customer.customer_name"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // bool customer_gender = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
- input, &customer_gender_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string customer_phone = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_customer_phone()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_phone().data(), static_cast<int>(this->customer_phone().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_customer.customer_phone"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string customer_password = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_customer_password()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_password().data(), static_cast<int>(this->customer_password().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_customer.customer_password"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string customer_old_phone = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_customer_old_phone()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_old_phone().data(), static_cast<int>(this->customer_old_phone().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_customer.customer_old_phone"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string customer_vcode = 7;
- case 7: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_customer_vcode()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_vcode().data(), static_cast<int>(this->customer_vcode().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_customer.customer_vcode"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string customer_vcode_expiry_time = 8;
- case 8: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_customer_vcode_expiry_time()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_vcode_expiry_time().data(), static_cast<int>(this->customer_vcode_expiry_time().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_customer.customer_vcode_expiry_time"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // bool customer_enable = 9;
- case 9: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
- input, &customer_enable_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string customer_gen_time = 10;
- case 10: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_customer_gen_time()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_gen_time().data(), static_cast<int>(this->customer_gen_time().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_customer.customer_gen_time"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:tb_customer)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:tb_customer)
- return false;
- #undef DO_
- }
- void tb_customer::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:tb_customer)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // string customer_id = 1;
- if (this->customer_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_id().data(), static_cast<int>(this->customer_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_id");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 1, this->customer_id(), output);
- }
- // string customer_name = 2;
- if (this->customer_name().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_name().data(), static_cast<int>(this->customer_name().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_name");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->customer_name(), output);
- }
- // bool customer_gender = 3;
- if (this->customer_gender() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->customer_gender(), output);
- }
- // string customer_phone = 4;
- if (this->customer_phone().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_phone().data(), static_cast<int>(this->customer_phone().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_phone");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->customer_phone(), output);
- }
- // string customer_password = 5;
- if (this->customer_password().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_password().data(), static_cast<int>(this->customer_password().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_password");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->customer_password(), output);
- }
- // string customer_old_phone = 6;
- if (this->customer_old_phone().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_old_phone().data(), static_cast<int>(this->customer_old_phone().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_old_phone");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 6, this->customer_old_phone(), output);
- }
- // string customer_vcode = 7;
- if (this->customer_vcode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_vcode().data(), static_cast<int>(this->customer_vcode().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_vcode");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 7, this->customer_vcode(), output);
- }
- // string customer_vcode_expiry_time = 8;
- if (this->customer_vcode_expiry_time().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_vcode_expiry_time().data(), static_cast<int>(this->customer_vcode_expiry_time().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_vcode_expiry_time");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 8, this->customer_vcode_expiry_time(), output);
- }
- // bool customer_enable = 9;
- if (this->customer_enable() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->customer_enable(), output);
- }
- // string customer_gen_time = 10;
- if (this->customer_gen_time().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_gen_time().data(), static_cast<int>(this->customer_gen_time().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_gen_time");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 10, this->customer_gen_time(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:tb_customer)
- }
- ::google::protobuf::uint8* tb_customer::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:tb_customer)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // string customer_id = 1;
- if (this->customer_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_id().data(), static_cast<int>(this->customer_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_id");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 1, this->customer_id(), target);
- }
- // string customer_name = 2;
- if (this->customer_name().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_name().data(), static_cast<int>(this->customer_name().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_name");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->customer_name(), target);
- }
- // bool customer_gender = 3;
- if (this->customer_gender() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->customer_gender(), target);
- }
- // string customer_phone = 4;
- if (this->customer_phone().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_phone().data(), static_cast<int>(this->customer_phone().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_phone");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->customer_phone(), target);
- }
- // string customer_password = 5;
- if (this->customer_password().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_password().data(), static_cast<int>(this->customer_password().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_password");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->customer_password(), target);
- }
- // string customer_old_phone = 6;
- if (this->customer_old_phone().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_old_phone().data(), static_cast<int>(this->customer_old_phone().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_old_phone");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 6, this->customer_old_phone(), target);
- }
- // string customer_vcode = 7;
- if (this->customer_vcode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_vcode().data(), static_cast<int>(this->customer_vcode().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_vcode");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 7, this->customer_vcode(), target);
- }
- // string customer_vcode_expiry_time = 8;
- if (this->customer_vcode_expiry_time().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_vcode_expiry_time().data(), static_cast<int>(this->customer_vcode_expiry_time().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_vcode_expiry_time");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 8, this->customer_vcode_expiry_time(), target);
- }
- // bool customer_enable = 9;
- if (this->customer_enable() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->customer_enable(), target);
- }
- // string customer_gen_time = 10;
- if (this->customer_gen_time().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_gen_time().data(), static_cast<int>(this->customer_gen_time().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_customer.customer_gen_time");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 10, this->customer_gen_time(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:tb_customer)
- return target;
- }
- size_t tb_customer::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:tb_customer)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // string customer_id = 1;
- if (this->customer_id().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->customer_id());
- }
- // string customer_name = 2;
- if (this->customer_name().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->customer_name());
- }
- // string customer_phone = 4;
- if (this->customer_phone().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->customer_phone());
- }
- // string customer_password = 5;
- if (this->customer_password().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->customer_password());
- }
- // string customer_old_phone = 6;
- if (this->customer_old_phone().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->customer_old_phone());
- }
- // string customer_vcode = 7;
- if (this->customer_vcode().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->customer_vcode());
- }
- // string customer_vcode_expiry_time = 8;
- if (this->customer_vcode_expiry_time().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->customer_vcode_expiry_time());
- }
- // string customer_gen_time = 10;
- if (this->customer_gen_time().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->customer_gen_time());
- }
- // bool customer_gender = 3;
- if (this->customer_gender() != 0) {
- total_size += 1 + 1;
- }
- // bool customer_enable = 9;
- if (this->customer_enable() != 0) {
- total_size += 1 + 1;
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void tb_customer::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:tb_customer)
- GOOGLE_DCHECK_NE(&from, this);
- const tb_customer* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const tb_customer>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:tb_customer)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:tb_customer)
- MergeFrom(*source);
- }
- }
- void tb_customer::MergeFrom(const tb_customer& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:tb_customer)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.customer_id().size() > 0) {
- customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
- }
- if (from.customer_name().size() > 0) {
- customer_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_name_);
- }
- if (from.customer_phone().size() > 0) {
- customer_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_phone_);
- }
- if (from.customer_password().size() > 0) {
- customer_password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_password_);
- }
- if (from.customer_old_phone().size() > 0) {
- customer_old_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_old_phone_);
- }
- if (from.customer_vcode().size() > 0) {
- customer_vcode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_);
- }
- if (from.customer_vcode_expiry_time().size() > 0) {
- customer_vcode_expiry_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_expiry_time_);
- }
- if (from.customer_gen_time().size() > 0) {
- customer_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_gen_time_);
- }
- if (from.customer_gender() != 0) {
- set_customer_gender(from.customer_gender());
- }
- if (from.customer_enable() != 0) {
- set_customer_enable(from.customer_enable());
- }
- }
- void tb_customer::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:tb_customer)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void tb_customer::CopyFrom(const tb_customer& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:tb_customer)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool tb_customer::IsInitialized() const {
- return true;
- }
- void tb_customer::Swap(tb_customer* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void tb_customer::InternalSwap(tb_customer* other) {
- using std::swap;
- customer_id_.Swap(&other->customer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- customer_name_.Swap(&other->customer_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- customer_phone_.Swap(&other->customer_phone_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- customer_password_.Swap(&other->customer_password_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- customer_old_phone_.Swap(&other->customer_old_phone_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- customer_vcode_.Swap(&other->customer_vcode_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- customer_vcode_expiry_time_.Swap(&other->customer_vcode_expiry_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- customer_gen_time_.Swap(&other->customer_gen_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- swap(customer_gender_, other->customer_gender_);
- swap(customer_enable_, other->customer_enable_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata tb_customer::GetMetadata() const {
- protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void tb_type::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int tb_type::kCustomerIdFieldNumber;
- const int tb_type::kTypeIdFieldNumber;
- const int tb_type::kTypeNameFieldNumber;
- const int tb_type::kTypeGenTimeFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- tb_type::tb_type()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_table_2eproto::scc_info_tb_type.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:tb_type)
- }
- tb_type::tb_type(const tb_type& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.customer_id().size() > 0) {
- customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
- }
- type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.type_id().size() > 0) {
- type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
- }
- type_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.type_name().size() > 0) {
- type_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_name_);
- }
- type_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.type_gen_time().size() > 0) {
- type_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_gen_time_);
- }
- // @@protoc_insertion_point(copy_constructor:tb_type)
- }
- void tb_type::SharedCtor() {
- customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- tb_type::~tb_type() {
- // @@protoc_insertion_point(destructor:tb_type)
- SharedDtor();
- }
- void tb_type::SharedDtor() {
- customer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_gen_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void tb_type::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* tb_type::descriptor() {
- ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const tb_type& tb_type::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_tb_type.base);
- return *internal_default_instance();
- }
- void tb_type::Clear() {
- // @@protoc_insertion_point(message_clear_start:tb_type)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- customer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- _internal_metadata_.Clear();
- }
- bool tb_type::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:tb_type)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // string customer_id = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_customer_id()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_id().data(), static_cast<int>(this->customer_id().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_type.customer_id"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string type_id = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_type_id()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_id().data(), static_cast<int>(this->type_id().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_type.type_id"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string type_name = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_type_name()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_name().data(), static_cast<int>(this->type_name().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_type.type_name"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string type_gen_time = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_type_gen_time()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_gen_time().data(), static_cast<int>(this->type_gen_time().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_type.type_gen_time"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:tb_type)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:tb_type)
- return false;
- #undef DO_
- }
- void tb_type::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:tb_type)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // string customer_id = 1;
- if (this->customer_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_id().data(), static_cast<int>(this->customer_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_type.customer_id");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 1, this->customer_id(), output);
- }
- // string type_id = 2;
- if (this->type_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_id().data(), static_cast<int>(this->type_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_type.type_id");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->type_id(), output);
- }
- // string type_name = 3;
- if (this->type_name().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_name().data(), static_cast<int>(this->type_name().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_type.type_name");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->type_name(), output);
- }
- // string type_gen_time = 4;
- if (this->type_gen_time().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_gen_time().data(), static_cast<int>(this->type_gen_time().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_type.type_gen_time");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->type_gen_time(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:tb_type)
- }
- ::google::protobuf::uint8* tb_type::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:tb_type)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // string customer_id = 1;
- if (this->customer_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_id().data(), static_cast<int>(this->customer_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_type.customer_id");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 1, this->customer_id(), target);
- }
- // string type_id = 2;
- if (this->type_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_id().data(), static_cast<int>(this->type_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_type.type_id");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->type_id(), target);
- }
- // string type_name = 3;
- if (this->type_name().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_name().data(), static_cast<int>(this->type_name().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_type.type_name");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->type_name(), target);
- }
- // string type_gen_time = 4;
- if (this->type_gen_time().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_gen_time().data(), static_cast<int>(this->type_gen_time().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_type.type_gen_time");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->type_gen_time(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:tb_type)
- return target;
- }
- size_t tb_type::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:tb_type)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // string customer_id = 1;
- if (this->customer_id().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->customer_id());
- }
- // string type_id = 2;
- if (this->type_id().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->type_id());
- }
- // string type_name = 3;
- if (this->type_name().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->type_name());
- }
- // string type_gen_time = 4;
- if (this->type_gen_time().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->type_gen_time());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void tb_type::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:tb_type)
- GOOGLE_DCHECK_NE(&from, this);
- const tb_type* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const tb_type>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:tb_type)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:tb_type)
- MergeFrom(*source);
- }
- }
- void tb_type::MergeFrom(const tb_type& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:tb_type)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.customer_id().size() > 0) {
- customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
- }
- if (from.type_id().size() > 0) {
- type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
- }
- if (from.type_name().size() > 0) {
- type_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_name_);
- }
- if (from.type_gen_time().size() > 0) {
- type_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_gen_time_);
- }
- }
- void tb_type::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:tb_type)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void tb_type::CopyFrom(const tb_type& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:tb_type)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool tb_type::IsInitialized() const {
- return true;
- }
- void tb_type::Swap(tb_type* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void tb_type::InternalSwap(tb_type* other) {
- using std::swap;
- customer_id_.Swap(&other->customer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- type_id_.Swap(&other->type_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- type_name_.Swap(&other->type_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- type_gen_time_.Swap(&other->type_gen_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata tb_type::GetMetadata() const {
- protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void tb_reply::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int tb_reply::kCustomerIdFieldNumber;
- const int tb_reply::kTypeIdFieldNumber;
- const int tb_reply::kReplyIdFieldNumber;
- const int tb_reply::kReplyNameFieldNumber;
- const int tb_reply::kReplyContentFieldNumber;
- const int tb_reply::kReplyGenTimeFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- tb_reply::tb_reply()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_table_2eproto::scc_info_tb_reply.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:tb_reply)
- }
- tb_reply::tb_reply(const tb_reply& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.customer_id().size() > 0) {
- customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
- }
- type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.type_id().size() > 0) {
- type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
- }
- reply_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.reply_id().size() > 0) {
- reply_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_id_);
- }
- reply_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.reply_name().size() > 0) {
- reply_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_name_);
- }
- reply_content_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.reply_content().size() > 0) {
- reply_content_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_content_);
- }
- reply_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.reply_gen_time().size() > 0) {
- reply_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_gen_time_);
- }
- // @@protoc_insertion_point(copy_constructor:tb_reply)
- }
- void tb_reply::SharedCtor() {
- customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_content_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- tb_reply::~tb_reply() {
- // @@protoc_insertion_point(destructor:tb_reply)
- SharedDtor();
- }
- void tb_reply::SharedDtor() {
- customer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_content_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_gen_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void tb_reply::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* tb_reply::descriptor() {
- ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const tb_reply& tb_reply::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_tb_reply.base);
- return *internal_default_instance();
- }
- void tb_reply::Clear() {
- // @@protoc_insertion_point(message_clear_start:tb_reply)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- customer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_content_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- reply_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- _internal_metadata_.Clear();
- }
- bool tb_reply::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:tb_reply)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // string customer_id = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_customer_id()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_id().data(), static_cast<int>(this->customer_id().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_reply.customer_id"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string type_id = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_type_id()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_id().data(), static_cast<int>(this->type_id().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_reply.type_id"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string reply_id = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_reply_id()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_id().data(), static_cast<int>(this->reply_id().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_reply.reply_id"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string reply_name = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_reply_name()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_name().data(), static_cast<int>(this->reply_name().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_reply.reply_name"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string reply_content = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_reply_content()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_content().data(), static_cast<int>(this->reply_content().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_reply.reply_content"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // string reply_gen_time = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_reply_gen_time()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_gen_time().data(), static_cast<int>(this->reply_gen_time().length()),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "tb_reply.reply_gen_time"));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:tb_reply)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:tb_reply)
- return false;
- #undef DO_
- }
- void tb_reply::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:tb_reply)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // string customer_id = 1;
- if (this->customer_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_id().data(), static_cast<int>(this->customer_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.customer_id");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 1, this->customer_id(), output);
- }
- // string type_id = 2;
- if (this->type_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_id().data(), static_cast<int>(this->type_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.type_id");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->type_id(), output);
- }
- // string reply_id = 3;
- if (this->reply_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_id().data(), static_cast<int>(this->reply_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.reply_id");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->reply_id(), output);
- }
- // string reply_name = 4;
- if (this->reply_name().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_name().data(), static_cast<int>(this->reply_name().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.reply_name");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->reply_name(), output);
- }
- // string reply_content = 5;
- if (this->reply_content().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_content().data(), static_cast<int>(this->reply_content().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.reply_content");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->reply_content(), output);
- }
- // string reply_gen_time = 6;
- if (this->reply_gen_time().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_gen_time().data(), static_cast<int>(this->reply_gen_time().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.reply_gen_time");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 6, this->reply_gen_time(), output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:tb_reply)
- }
- ::google::protobuf::uint8* tb_reply::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:tb_reply)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // string customer_id = 1;
- if (this->customer_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->customer_id().data(), static_cast<int>(this->customer_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.customer_id");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 1, this->customer_id(), target);
- }
- // string type_id = 2;
- if (this->type_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->type_id().data(), static_cast<int>(this->type_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.type_id");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->type_id(), target);
- }
- // string reply_id = 3;
- if (this->reply_id().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_id().data(), static_cast<int>(this->reply_id().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.reply_id");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->reply_id(), target);
- }
- // string reply_name = 4;
- if (this->reply_name().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_name().data(), static_cast<int>(this->reply_name().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.reply_name");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->reply_name(), target);
- }
- // string reply_content = 5;
- if (this->reply_content().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_content().data(), static_cast<int>(this->reply_content().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.reply_content");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->reply_content(), target);
- }
- // string reply_gen_time = 6;
- if (this->reply_gen_time().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->reply_gen_time().data(), static_cast<int>(this->reply_gen_time().length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "tb_reply.reply_gen_time");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 6, this->reply_gen_time(), target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:tb_reply)
- return target;
- }
- size_t tb_reply::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:tb_reply)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // string customer_id = 1;
- if (this->customer_id().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->customer_id());
- }
- // string type_id = 2;
- if (this->type_id().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->type_id());
- }
- // string reply_id = 3;
- if (this->reply_id().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->reply_id());
- }
- // string reply_name = 4;
- if (this->reply_name().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->reply_name());
- }
- // string reply_content = 5;
- if (this->reply_content().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->reply_content());
- }
- // string reply_gen_time = 6;
- if (this->reply_gen_time().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->reply_gen_time());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void tb_reply::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:tb_reply)
- GOOGLE_DCHECK_NE(&from, this);
- const tb_reply* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const tb_reply>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:tb_reply)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:tb_reply)
- MergeFrom(*source);
- }
- }
- void tb_reply::MergeFrom(const tb_reply& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:tb_reply)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if (from.customer_id().size() > 0) {
- customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
- }
- if (from.type_id().size() > 0) {
- type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
- }
- if (from.reply_id().size() > 0) {
- reply_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_id_);
- }
- if (from.reply_name().size() > 0) {
- reply_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_name_);
- }
- if (from.reply_content().size() > 0) {
- reply_content_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_content_);
- }
- if (from.reply_gen_time().size() > 0) {
- reply_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_gen_time_);
- }
- }
- void tb_reply::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:tb_reply)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void tb_reply::CopyFrom(const tb_reply& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:tb_reply)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool tb_reply::IsInitialized() const {
- return true;
- }
- void tb_reply::Swap(tb_reply* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void tb_reply::InternalSwap(tb_reply* other) {
- using std::swap;
- customer_id_.Swap(&other->customer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- type_id_.Swap(&other->type_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- reply_id_.Swap(&other->reply_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- reply_name_.Swap(&other->reply_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- reply_content_.Swap(&other->reply_content_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- reply_gen_time_.Swap(&other->reply_gen_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- GetArenaNoVirtual());
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata tb_reply::GetMetadata() const {
- protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void rec_customer::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int rec_customer::kCustomersFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- rec_customer::rec_customer()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_table_2eproto::scc_info_rec_customer.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:rec_customer)
- }
- rec_customer::rec_customer(const rec_customer& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- customers_(from.customers_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:rec_customer)
- }
- void rec_customer::SharedCtor() {
- }
- rec_customer::~rec_customer() {
- // @@protoc_insertion_point(destructor:rec_customer)
- SharedDtor();
- }
- void rec_customer::SharedDtor() {
- }
- void rec_customer::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* rec_customer::descriptor() {
- ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const rec_customer& rec_customer::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_rec_customer.base);
- return *internal_default_instance();
- }
- void rec_customer::Clear() {
- // @@protoc_insertion_point(message_clear_start:rec_customer)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- customers_.Clear();
- _internal_metadata_.Clear();
- }
- bool rec_customer::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:rec_customer)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // repeated .tb_customer customers = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, add_customers()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:rec_customer)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:rec_customer)
- return false;
- #undef DO_
- }
- void rec_customer::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:rec_customer)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .tb_customer customers = 1;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->customers_size()); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1,
- this->customers(static_cast<int>(i)),
- output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:rec_customer)
- }
- ::google::protobuf::uint8* rec_customer::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:rec_customer)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .tb_customer customers = 1;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->customers_size()); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, this->customers(static_cast<int>(i)), deterministic, target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:rec_customer)
- return target;
- }
- size_t rec_customer::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:rec_customer)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // repeated .tb_customer customers = 1;
- {
- unsigned int count = static_cast<unsigned int>(this->customers_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- this->customers(static_cast<int>(i)));
- }
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void rec_customer::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:rec_customer)
- GOOGLE_DCHECK_NE(&from, this);
- const rec_customer* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const rec_customer>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:rec_customer)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:rec_customer)
- MergeFrom(*source);
- }
- }
- void rec_customer::MergeFrom(const rec_customer& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:rec_customer)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- customers_.MergeFrom(from.customers_);
- }
- void rec_customer::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:rec_customer)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void rec_customer::CopyFrom(const rec_customer& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:rec_customer)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool rec_customer::IsInitialized() const {
- return true;
- }
- void rec_customer::Swap(rec_customer* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void rec_customer::InternalSwap(rec_customer* other) {
- using std::swap;
- CastToBase(&customers_)->InternalSwap(CastToBase(&other->customers_));
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata rec_customer::GetMetadata() const {
- protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void rec_type::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int rec_type::kTypesFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- rec_type::rec_type()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_table_2eproto::scc_info_rec_type.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:rec_type)
- }
- rec_type::rec_type(const rec_type& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- types_(from.types_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:rec_type)
- }
- void rec_type::SharedCtor() {
- }
- rec_type::~rec_type() {
- // @@protoc_insertion_point(destructor:rec_type)
- SharedDtor();
- }
- void rec_type::SharedDtor() {
- }
- void rec_type::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* rec_type::descriptor() {
- ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const rec_type& rec_type::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_rec_type.base);
- return *internal_default_instance();
- }
- void rec_type::Clear() {
- // @@protoc_insertion_point(message_clear_start:rec_type)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- types_.Clear();
- _internal_metadata_.Clear();
- }
- bool rec_type::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:rec_type)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // repeated .tb_type types = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, add_types()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:rec_type)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:rec_type)
- return false;
- #undef DO_
- }
- void rec_type::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:rec_type)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .tb_type types = 1;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->types_size()); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1,
- this->types(static_cast<int>(i)),
- output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:rec_type)
- }
- ::google::protobuf::uint8* rec_type::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:rec_type)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .tb_type types = 1;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->types_size()); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, this->types(static_cast<int>(i)), deterministic, target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:rec_type)
- return target;
- }
- size_t rec_type::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:rec_type)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // repeated .tb_type types = 1;
- {
- unsigned int count = static_cast<unsigned int>(this->types_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- this->types(static_cast<int>(i)));
- }
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void rec_type::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:rec_type)
- GOOGLE_DCHECK_NE(&from, this);
- const rec_type* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const rec_type>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:rec_type)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:rec_type)
- MergeFrom(*source);
- }
- }
- void rec_type::MergeFrom(const rec_type& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:rec_type)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- types_.MergeFrom(from.types_);
- }
- void rec_type::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:rec_type)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void rec_type::CopyFrom(const rec_type& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:rec_type)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool rec_type::IsInitialized() const {
- return true;
- }
- void rec_type::Swap(rec_type* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void rec_type::InternalSwap(rec_type* other) {
- using std::swap;
- CastToBase(&types_)->InternalSwap(CastToBase(&other->types_));
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata rec_type::GetMetadata() const {
- protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void rec_reply::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int rec_reply::kReplysFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- rec_reply::rec_reply()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_table_2eproto::scc_info_rec_reply.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:rec_reply)
- }
- rec_reply::rec_reply(const rec_reply& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- replys_(from.replys_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:rec_reply)
- }
- void rec_reply::SharedCtor() {
- }
- rec_reply::~rec_reply() {
- // @@protoc_insertion_point(destructor:rec_reply)
- SharedDtor();
- }
- void rec_reply::SharedDtor() {
- }
- void rec_reply::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* rec_reply::descriptor() {
- ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const rec_reply& rec_reply::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_rec_reply.base);
- return *internal_default_instance();
- }
- void rec_reply::Clear() {
- // @@protoc_insertion_point(message_clear_start:rec_reply)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- replys_.Clear();
- _internal_metadata_.Clear();
- }
- bool rec_reply::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:rec_reply)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // repeated .tb_reply replys = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, add_replys()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:rec_reply)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:rec_reply)
- return false;
- #undef DO_
- }
- void rec_reply::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:rec_reply)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .tb_reply replys = 1;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->replys_size()); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1,
- this->replys(static_cast<int>(i)),
- output);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:rec_reply)
- }
- ::google::protobuf::uint8* rec_reply::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:rec_reply)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .tb_reply replys = 1;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->replys_size()); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, this->replys(static_cast<int>(i)), deterministic, target);
- }
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:rec_reply)
- return target;
- }
- size_t rec_reply::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:rec_reply)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- // repeated .tb_reply replys = 1;
- {
- unsigned int count = static_cast<unsigned int>(this->replys_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- this->replys(static_cast<int>(i)));
- }
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void rec_reply::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:rec_reply)
- GOOGLE_DCHECK_NE(&from, this);
- const rec_reply* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const rec_reply>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:rec_reply)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:rec_reply)
- MergeFrom(*source);
- }
- }
- void rec_reply::MergeFrom(const rec_reply& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:rec_reply)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- replys_.MergeFrom(from.replys_);
- }
- void rec_reply::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:rec_reply)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void rec_reply::CopyFrom(const rec_reply& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:rec_reply)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool rec_reply::IsInitialized() const {
- return true;
- }
- void rec_reply::Swap(rec_reply* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void rec_reply::InternalSwap(rec_reply* other) {
- using std::swap;
- CastToBase(&replys_)->InternalSwap(CastToBase(&other->replys_));
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata rec_reply::GetMetadata() const {
- protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void view::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- view::view()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- ::google::protobuf::internal::InitSCC(
- &protobuf_table_2eproto::scc_info_view.base);
- SharedCtor();
- // @@protoc_insertion_point(constructor:view)
- }
- view::view(const view& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:view)
- }
- void view::SharedCtor() {
- }
- view::~view() {
- // @@protoc_insertion_point(destructor:view)
- SharedDtor();
- }
- void view::SharedDtor() {
- }
- void view::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ::google::protobuf::Descriptor* view::descriptor() {
- ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const view& view::default_instance() {
- ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_view.base);
- return *internal_default_instance();
- }
- void view::Clear() {
- // @@protoc_insertion_point(message_clear_start:view)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _internal_metadata_.Clear();
- }
- bool view::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:view)
- for (;;) {
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- }
- success:
- // @@protoc_insertion_point(parse_success:view)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:view)
- return false;
- #undef DO_
- }
- void view::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:view)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
- }
- // @@protoc_insertion_point(serialize_end:view)
- }
- ::google::protobuf::uint8* view::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:view)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:view)
- return target;
- }
- size_t view::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:view)
- size_t total_size = 0;
- if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void view::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:view)
- GOOGLE_DCHECK_NE(&from, this);
- const view* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const view>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:view)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:view)
- MergeFrom(*source);
- }
- }
- void view::MergeFrom(const view& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:view)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- }
- void view::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:view)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void view::CopyFrom(const view& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:view)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool view::IsInitialized() const {
- return true;
- }
- void view::Swap(view* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void view::InternalSwap(view* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- }
- ::google::protobuf::Metadata view::GetMetadata() const {
- protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // @@protoc_insertion_point(namespace_scope)
- namespace google {
- namespace protobuf {
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::tb_customer* Arena::CreateMaybeMessage< ::tb_customer >(Arena* arena) {
- return Arena::CreateInternal< ::tb_customer >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::tb_type* Arena::CreateMaybeMessage< ::tb_type >(Arena* arena) {
- return Arena::CreateInternal< ::tb_type >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::tb_reply* Arena::CreateMaybeMessage< ::tb_reply >(Arena* arena) {
- return Arena::CreateInternal< ::tb_reply >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rec_customer* Arena::CreateMaybeMessage< ::rec_customer >(Arena* arena) {
- return Arena::CreateInternal< ::rec_customer >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rec_type* Arena::CreateMaybeMessage< ::rec_type >(Arena* arena) {
- return Arena::CreateInternal< ::rec_type >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rec_reply* Arena::CreateMaybeMessage< ::rec_reply >(Arena* arena) {
- return Arena::CreateInternal< ::rec_reply >(arena);
- }
- template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::view* Arena::CreateMaybeMessage< ::view >(Arena* arena) {
- return Arena::CreateInternal< ::view >(arena);
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
|