common.pb.cc 998 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: common.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "common.pb.h"
  5. #include <algorithm>
  6. #include <google/protobuf/stubs/common.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // @@protoc_insertion_point(includes)
  15. namespace XPhonePlus {
  16. namespace {
  17. const ::google::protobuf::Descriptor* XPhone_BaseResponse_descriptor_ = NULL;
  18. const ::google::protobuf::internal::GeneratedMessageReflection*
  19. XPhone_BaseResponse_reflection_ = NULL;
  20. const ::google::protobuf::Descriptor* XPhone_MsgBase_descriptor_ = NULL;
  21. const ::google::protobuf::internal::GeneratedMessageReflection*
  22. XPhone_MsgBase_reflection_ = NULL;
  23. const ::google::protobuf::Descriptor* XPhone_ReqHead_descriptor_ = NULL;
  24. const ::google::protobuf::internal::GeneratedMessageReflection*
  25. XPhone_ReqHead_reflection_ = NULL;
  26. const ::google::protobuf::Descriptor* XPhone_GetDeviceInfo_descriptor_ = NULL;
  27. const ::google::protobuf::internal::GeneratedMessageReflection*
  28. XPhone_GetDeviceInfo_reflection_ = NULL;
  29. const ::google::protobuf::Descriptor* XPhone_DeviceInfo_descriptor_ = NULL;
  30. const ::google::protobuf::internal::GeneratedMessageReflection*
  31. XPhone_DeviceInfo_reflection_ = NULL;
  32. const ::google::protobuf::Descriptor* XPhone_SendFile_descriptor_ = NULL;
  33. const ::google::protobuf::internal::GeneratedMessageReflection*
  34. XPhone_SendFile_reflection_ = NULL;
  35. const ::google::protobuf::Descriptor* XPhone_LocationSetting_descriptor_ = NULL;
  36. const ::google::protobuf::internal::GeneratedMessageReflection*
  37. XPhone_LocationSetting_reflection_ = NULL;
  38. const ::google::protobuf::Descriptor* XPhone_AddNearbySetting_descriptor_ = NULL;
  39. const ::google::protobuf::internal::GeneratedMessageReflection*
  40. XPhone_AddNearbySetting_reflection_ = NULL;
  41. const ::google::protobuf::Descriptor* XPhone_AddressBookSetting_descriptor_ = NULL;
  42. const ::google::protobuf::internal::GeneratedMessageReflection*
  43. XPhone_AddressBookSetting_reflection_ = NULL;
  44. const ::google::protobuf::Descriptor* XPhone_RadarSetting_descriptor_ = NULL;
  45. const ::google::protobuf::internal::GeneratedMessageReflection*
  46. XPhone_RadarSetting_reflection_ = NULL;
  47. const ::google::protobuf::Descriptor* XPhone_YaoyiyaoSetting_descriptor_ = NULL;
  48. const ::google::protobuf::internal::GeneratedMessageReflection*
  49. XPhone_YaoyiyaoSetting_reflection_ = NULL;
  50. const ::google::protobuf::Descriptor* XPhone_AutoReplyMsg_descriptor_ = NULL;
  51. const ::google::protobuf::internal::GeneratedMessageReflection*
  52. XPhone_AutoReplyMsg_reflection_ = NULL;
  53. const ::google::protobuf::Descriptor* XPhone_AutoReplySetting_descriptor_ = NULL;
  54. const ::google::protobuf::internal::GeneratedMessageReflection*
  55. XPhone_AutoReplySetting_reflection_ = NULL;
  56. const ::google::protobuf::Descriptor* XPhone_FunctionSwitch_descriptor_ = NULL;
  57. const ::google::protobuf::internal::GeneratedMessageReflection*
  58. XPhone_FunctionSwitch_reflection_ = NULL;
  59. const ::google::protobuf::Descriptor* XPhone_SnsMsg_descriptor_ = NULL;
  60. const ::google::protobuf::internal::GeneratedMessageReflection*
  61. XPhone_SnsMsg_reflection_ = NULL;
  62. const ::google::protobuf::Descriptor* XPhone_SnsSetting_descriptor_ = NULL;
  63. const ::google::protobuf::internal::GeneratedMessageReflection*
  64. XPhone_SnsSetting_reflection_ = NULL;
  65. const ::google::protobuf::Descriptor* XPhone_ChatroomMsgSetting_descriptor_ = NULL;
  66. const ::google::protobuf::internal::GeneratedMessageReflection*
  67. XPhone_ChatroomMsgSetting_reflection_ = NULL;
  68. const ::google::protobuf::Descriptor* XPhone_ContactMsgSetting_descriptor_ = NULL;
  69. const ::google::protobuf::internal::GeneratedMessageReflection*
  70. XPhone_ContactMsgSetting_reflection_ = NULL;
  71. const ::google::protobuf::Descriptor* XPhone_AddChatroomMemberSetting_descriptor_ = NULL;
  72. const ::google::protobuf::internal::GeneratedMessageReflection*
  73. XPhone_AddChatroomMemberSetting_reflection_ = NULL;
  74. const ::google::protobuf::Descriptor* XPhone_Array_descriptor_ = NULL;
  75. const ::google::protobuf::internal::GeneratedMessageReflection*
  76. XPhone_Array_reflection_ = NULL;
  77. const ::google::protobuf::Descriptor* XPhone_LocalTaskParam_descriptor_ = NULL;
  78. const ::google::protobuf::internal::GeneratedMessageReflection*
  79. XPhone_LocalTaskParam_reflection_ = NULL;
  80. const ::google::protobuf::Descriptor* XPhone_LocalTaskParam_ParamsEntry_descriptor_ = NULL;
  81. const ::google::protobuf::Descriptor* XPhone_TaskReq_descriptor_ = NULL;
  82. const ::google::protobuf::internal::GeneratedMessageReflection*
  83. XPhone_TaskReq_reflection_ = NULL;
  84. const ::google::protobuf::Descriptor* XPhone_TaskRsp_descriptor_ = NULL;
  85. const ::google::protobuf::internal::GeneratedMessageReflection*
  86. XPhone_TaskRsp_reflection_ = NULL;
  87. const ::google::protobuf::Descriptor* XPhone_ContactInfo_descriptor_ = NULL;
  88. const ::google::protobuf::internal::GeneratedMessageReflection*
  89. XPhone_ContactInfo_reflection_ = NULL;
  90. const ::google::protobuf::Descriptor* XPhone_ContactInfoRsp_descriptor_ = NULL;
  91. const ::google::protobuf::internal::GeneratedMessageReflection*
  92. XPhone_ContactInfoRsp_reflection_ = NULL;
  93. const ::google::protobuf::Descriptor* XPhone_ChatRoomInfoReq_descriptor_ = NULL;
  94. const ::google::protobuf::internal::GeneratedMessageReflection*
  95. XPhone_ChatRoomInfoReq_reflection_ = NULL;
  96. const ::google::protobuf::Descriptor* XPhone_ChatRoomInfo_descriptor_ = NULL;
  97. const ::google::protobuf::internal::GeneratedMessageReflection*
  98. XPhone_ChatRoomInfo_reflection_ = NULL;
  99. const ::google::protobuf::Descriptor* XPhone_ChatroomInfoRsp_descriptor_ = NULL;
  100. const ::google::protobuf::internal::GeneratedMessageReflection*
  101. XPhone_ChatroomInfoRsp_reflection_ = NULL;
  102. const ::google::protobuf::Descriptor* XPhone_LoginUserinfo_descriptor_ = NULL;
  103. const ::google::protobuf::internal::GeneratedMessageReflection*
  104. XPhone_LoginUserinfo_reflection_ = NULL;
  105. const ::google::protobuf::Descriptor* XPhone_RecvChatMsg_descriptor_ = NULL;
  106. const ::google::protobuf::internal::GeneratedMessageReflection*
  107. XPhone_RecvChatMsg_reflection_ = NULL;
  108. const ::google::protobuf::Descriptor* XPhone_ChatMsg_descriptor_ = NULL;
  109. const ::google::protobuf::internal::GeneratedMessageReflection*
  110. XPhone_ChatMsg_reflection_ = NULL;
  111. const ::google::protobuf::Descriptor* XPhone_SendChatMsg_descriptor_ = NULL;
  112. const ::google::protobuf::internal::GeneratedMessageReflection*
  113. XPhone_SendChatMsg_reflection_ = NULL;
  114. const ::google::protobuf::Descriptor* XPhone_ImportContact_descriptor_ = NULL;
  115. const ::google::protobuf::internal::GeneratedMessageReflection*
  116. XPhone_ImportContact_reflection_ = NULL;
  117. const ::google::protobuf::Descriptor* XPhone_OpenActivity_descriptor_ = NULL;
  118. const ::google::protobuf::internal::GeneratedMessageReflection*
  119. XPhone_OpenActivity_reflection_ = NULL;
  120. const ::google::protobuf::Descriptor* XPhone_RestoreWeichatShot_descriptor_ = NULL;
  121. const ::google::protobuf::internal::GeneratedMessageReflection*
  122. XPhone_RestoreWeichatShot_reflection_ = NULL;
  123. const ::google::protobuf::Descriptor* XPhone_AllLoginUsers_descriptor_ = NULL;
  124. const ::google::protobuf::internal::GeneratedMessageReflection*
  125. XPhone_AllLoginUsers_reflection_ = NULL;
  126. const ::google::protobuf::Descriptor* XPhone_SystemLoginReq_descriptor_ = NULL;
  127. const ::google::protobuf::internal::GeneratedMessageReflection*
  128. XPhone_SystemLoginReq_reflection_ = NULL;
  129. const ::google::protobuf::Descriptor* XPhone_SystemLoginRsp_descriptor_ = NULL;
  130. const ::google::protobuf::internal::GeneratedMessageReflection*
  131. XPhone_SystemLoginRsp_reflection_ = NULL;
  132. const ::google::protobuf::Descriptor* XPhone_SystemUpdateReq_descriptor_ = NULL;
  133. const ::google::protobuf::internal::GeneratedMessageReflection*
  134. XPhone_SystemUpdateReq_reflection_ = NULL;
  135. const ::google::protobuf::Descriptor* XPhone_SystemUpdateRsp_descriptor_ = NULL;
  136. const ::google::protobuf::internal::GeneratedMessageReflection*
  137. XPhone_SystemUpdateRsp_reflection_ = NULL;
  138. const ::google::protobuf::Descriptor* XPhone_TextInput_descriptor_ = NULL;
  139. const ::google::protobuf::internal::GeneratedMessageReflection*
  140. XPhone_TextInput_reflection_ = NULL;
  141. const ::google::protobuf::Descriptor* XPhone_NoticeReq_descriptor_ = NULL;
  142. const ::google::protobuf::internal::GeneratedMessageReflection*
  143. XPhone_NoticeReq_reflection_ = NULL;
  144. const ::google::protobuf::Descriptor* XPhone_NoticeRsp_descriptor_ = NULL;
  145. const ::google::protobuf::internal::GeneratedMessageReflection*
  146. XPhone_NoticeRsp_reflection_ = NULL;
  147. const ::google::protobuf::Descriptor* XPhone_Test_descriptor_ = NULL;
  148. const ::google::protobuf::internal::GeneratedMessageReflection*
  149. XPhone_Test_reflection_ = NULL;
  150. const ::google::protobuf::Descriptor* XPhone_Setting_descriptor_ = NULL;
  151. const ::google::protobuf::internal::GeneratedMessageReflection*
  152. XPhone_Setting_reflection_ = NULL;
  153. const ::google::protobuf::Descriptor* XPhone_CheckClientReq_descriptor_ = NULL;
  154. const ::google::protobuf::internal::GeneratedMessageReflection*
  155. XPhone_CheckClientReq_reflection_ = NULL;
  156. const ::google::protobuf::Descriptor* XPhone_CheckClientRsp_descriptor_ = NULL;
  157. const ::google::protobuf::internal::GeneratedMessageReflection*
  158. XPhone_CheckClientRsp_reflection_ = NULL;
  159. const ::google::protobuf::Descriptor* XPhone_ImportWeichat_descriptor_ = NULL;
  160. const ::google::protobuf::internal::GeneratedMessageReflection*
  161. XPhone_ImportWeichat_reflection_ = NULL;
  162. const ::google::protobuf::Descriptor* XPhone_ImportQQ_descriptor_ = NULL;
  163. const ::google::protobuf::internal::GeneratedMessageReflection*
  164. XPhone_ImportQQ_reflection_ = NULL;
  165. const ::google::protobuf::Descriptor* XPhone_ImportGongZhong_descriptor_ = NULL;
  166. const ::google::protobuf::internal::GeneratedMessageReflection*
  167. XPhone_ImportGongZhong_reflection_ = NULL;
  168. const ::google::protobuf::Descriptor* XPhone_WifiConnect_descriptor_ = NULL;
  169. const ::google::protobuf::internal::GeneratedMessageReflection*
  170. XPhone_WifiConnect_reflection_ = NULL;
  171. const ::google::protobuf::Descriptor* XPhone_AdbCommandReq_descriptor_ = NULL;
  172. const ::google::protobuf::internal::GeneratedMessageReflection*
  173. XPhone_AdbCommandReq_reflection_ = NULL;
  174. const ::google::protobuf::Descriptor* XPhone_AdbCommandRsp_descriptor_ = NULL;
  175. const ::google::protobuf::internal::GeneratedMessageReflection*
  176. XPhone_AdbCommandRsp_reflection_ = NULL;
  177. const ::google::protobuf::Descriptor* XPhone_CaijiAddressIDReq_descriptor_ = NULL;
  178. const ::google::protobuf::internal::GeneratedMessageReflection*
  179. XPhone_CaijiAddressIDReq_reflection_ = NULL;
  180. const ::google::protobuf::Descriptor* XPhone_CaijiNearbyIDReq_descriptor_ = NULL;
  181. const ::google::protobuf::internal::GeneratedMessageReflection*
  182. XPhone_CaijiNearbyIDReq_reflection_ = NULL;
  183. const ::google::protobuf::Descriptor* XPhone_CaijiFriendIDReq_descriptor_ = NULL;
  184. const ::google::protobuf::internal::GeneratedMessageReflection*
  185. XPhone_CaijiFriendIDReq_reflection_ = NULL;
  186. const ::google::protobuf::Descriptor* XPhone_IDInfo_descriptor_ = NULL;
  187. const ::google::protobuf::internal::GeneratedMessageReflection*
  188. XPhone_IDInfo_reflection_ = NULL;
  189. const ::google::protobuf::Descriptor* XPhone_CaijiIDRsp_descriptor_ = NULL;
  190. const ::google::protobuf::internal::GeneratedMessageReflection*
  191. XPhone_CaijiIDRsp_reflection_ = NULL;
  192. const ::google::protobuf::EnumDescriptor* XPhone_DeviceChange_descriptor_ = NULL;
  193. const ::google::protobuf::EnumDescriptor* XPhone_TaskAction_descriptor_ = NULL;
  194. const ::google::protobuf::EnumDescriptor* XPhone_TaskStatus_descriptor_ = NULL;
  195. const ::google::protobuf::EnumDescriptor* XPhone_TaskType_descriptor_ = NULL;
  196. const ::google::protobuf::EnumDescriptor* XPhone_MsgType_descriptor_ = NULL;
  197. } // namespace
  198. void protobuf_AssignDesc_common_2eproto() {
  199. protobuf_AddDesc_common_2eproto();
  200. const ::google::protobuf::FileDescriptor* file =
  201. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  202. "common.proto");
  203. GOOGLE_CHECK(file != NULL);
  204. XPhone_BaseResponse_descriptor_ = file->message_type(0);
  205. static const int XPhone_BaseResponse_offsets_[2] = {
  206. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_BaseResponse, msgtype_),
  207. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_BaseResponse, ierrorcode_),
  208. };
  209. XPhone_BaseResponse_reflection_ =
  210. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  211. XPhone_BaseResponse_descriptor_,
  212. XPhone_BaseResponse::default_instance_,
  213. XPhone_BaseResponse_offsets_,
  214. -1,
  215. -1,
  216. -1,
  217. sizeof(XPhone_BaseResponse),
  218. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_BaseResponse, _internal_metadata_),
  219. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_BaseResponse, _is_default_instance_));
  220. XPhone_MsgBase_descriptor_ = file->message_type(1);
  221. static const int XPhone_MsgBase_offsets_[1] = {
  222. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_MsgBase, msgtype_),
  223. };
  224. XPhone_MsgBase_reflection_ =
  225. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  226. XPhone_MsgBase_descriptor_,
  227. XPhone_MsgBase::default_instance_,
  228. XPhone_MsgBase_offsets_,
  229. -1,
  230. -1,
  231. -1,
  232. sizeof(XPhone_MsgBase),
  233. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_MsgBase, _internal_metadata_),
  234. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_MsgBase, _is_default_instance_));
  235. XPhone_ReqHead_descriptor_ = file->message_type(2);
  236. static const int XPhone_ReqHead_offsets_[1] = {
  237. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ReqHead, head_),
  238. };
  239. XPhone_ReqHead_reflection_ =
  240. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  241. XPhone_ReqHead_descriptor_,
  242. XPhone_ReqHead::default_instance_,
  243. XPhone_ReqHead_offsets_,
  244. -1,
  245. -1,
  246. -1,
  247. sizeof(XPhone_ReqHead),
  248. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ReqHead, _internal_metadata_),
  249. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ReqHead, _is_default_instance_));
  250. XPhone_GetDeviceInfo_descriptor_ = file->message_type(3);
  251. static const int XPhone_GetDeviceInfo_offsets_[2] = {
  252. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_GetDeviceInfo, head_),
  253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_GetDeviceInfo, stridentify_),
  254. };
  255. XPhone_GetDeviceInfo_reflection_ =
  256. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  257. XPhone_GetDeviceInfo_descriptor_,
  258. XPhone_GetDeviceInfo::default_instance_,
  259. XPhone_GetDeviceInfo_offsets_,
  260. -1,
  261. -1,
  262. -1,
  263. sizeof(XPhone_GetDeviceInfo),
  264. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_GetDeviceInfo, _internal_metadata_),
  265. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_GetDeviceInfo, _is_default_instance_));
  266. XPhone_DeviceInfo_descriptor_ = file->message_type(4);
  267. static const int XPhone_DeviceInfo_offsets_[8] = {
  268. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, head_),
  269. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strdevicename_),
  270. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strbrand_),
  271. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strmodel_),
  272. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strresolution_),
  273. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strimei_),
  274. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, isdkverid_),
  275. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strcpuarchive_),
  276. };
  277. XPhone_DeviceInfo_reflection_ =
  278. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  279. XPhone_DeviceInfo_descriptor_,
  280. XPhone_DeviceInfo::default_instance_,
  281. XPhone_DeviceInfo_offsets_,
  282. -1,
  283. -1,
  284. -1,
  285. sizeof(XPhone_DeviceInfo),
  286. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, _internal_metadata_),
  287. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, _is_default_instance_));
  288. XPhone_SendFile_descriptor_ = file->message_type(5);
  289. static const int XPhone_SendFile_offsets_[3] = {
  290. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendFile, head_),
  291. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendFile, strfilepath_),
  292. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendFile, filecontent_),
  293. };
  294. XPhone_SendFile_reflection_ =
  295. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  296. XPhone_SendFile_descriptor_,
  297. XPhone_SendFile::default_instance_,
  298. XPhone_SendFile_offsets_,
  299. -1,
  300. -1,
  301. -1,
  302. sizeof(XPhone_SendFile),
  303. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendFile, _internal_metadata_),
  304. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendFile, _is_default_instance_));
  305. XPhone_LocationSetting_descriptor_ = file->message_type(6);
  306. static const int XPhone_LocationSetting_offsets_[5] = {
  307. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, head_),
  308. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, bstart_),
  309. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, strlocation_),
  310. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, longtitude_),
  311. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, latitude_),
  312. };
  313. XPhone_LocationSetting_reflection_ =
  314. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  315. XPhone_LocationSetting_descriptor_,
  316. XPhone_LocationSetting::default_instance_,
  317. XPhone_LocationSetting_offsets_,
  318. -1,
  319. -1,
  320. -1,
  321. sizeof(XPhone_LocationSetting),
  322. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, _internal_metadata_),
  323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, _is_default_instance_));
  324. XPhone_AddNearbySetting_descriptor_ = file->message_type(7);
  325. static const int XPhone_AddNearbySetting_offsets_[6] = {
  326. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, head_),
  327. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, addname_),
  328. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, strintroduce_),
  329. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, addinterval_),
  330. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, sex_),
  331. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, addcount_),
  332. };
  333. XPhone_AddNearbySetting_reflection_ =
  334. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  335. XPhone_AddNearbySetting_descriptor_,
  336. XPhone_AddNearbySetting::default_instance_,
  337. XPhone_AddNearbySetting_offsets_,
  338. -1,
  339. -1,
  340. -1,
  341. sizeof(XPhone_AddNearbySetting),
  342. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, _internal_metadata_),
  343. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, _is_default_instance_));
  344. XPhone_AddressBookSetting_descriptor_ = file->message_type(8);
  345. static const int XPhone_AddressBookSetting_offsets_[5] = {
  346. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, head_),
  347. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, addcount_),
  348. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, addinterval_),
  349. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, isex_),
  350. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, strintroduce_),
  351. };
  352. XPhone_AddressBookSetting_reflection_ =
  353. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  354. XPhone_AddressBookSetting_descriptor_,
  355. XPhone_AddressBookSetting::default_instance_,
  356. XPhone_AddressBookSetting_offsets_,
  357. -1,
  358. -1,
  359. -1,
  360. sizeof(XPhone_AddressBookSetting),
  361. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, _internal_metadata_),
  362. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, _is_default_instance_));
  363. XPhone_RadarSetting_descriptor_ = file->message_type(9);
  364. static const int XPhone_RadarSetting_offsets_[2] = {
  365. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RadarSetting, head_),
  366. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RadarSetting, scantime_),
  367. };
  368. XPhone_RadarSetting_reflection_ =
  369. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  370. XPhone_RadarSetting_descriptor_,
  371. XPhone_RadarSetting::default_instance_,
  372. XPhone_RadarSetting_offsets_,
  373. -1,
  374. -1,
  375. -1,
  376. sizeof(XPhone_RadarSetting),
  377. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RadarSetting, _internal_metadata_),
  378. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RadarSetting, _is_default_instance_));
  379. XPhone_YaoyiyaoSetting_descriptor_ = file->message_type(10);
  380. static const int XPhone_YaoyiyaoSetting_offsets_[6] = {
  381. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, head_),
  382. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, totaltime_),
  383. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, intrval_),
  384. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, addname_),
  385. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, strintroduce_),
  386. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, addfriend_),
  387. };
  388. XPhone_YaoyiyaoSetting_reflection_ =
  389. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  390. XPhone_YaoyiyaoSetting_descriptor_,
  391. XPhone_YaoyiyaoSetting::default_instance_,
  392. XPhone_YaoyiyaoSetting_offsets_,
  393. -1,
  394. -1,
  395. -1,
  396. sizeof(XPhone_YaoyiyaoSetting),
  397. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, _internal_metadata_),
  398. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, _is_default_instance_));
  399. XPhone_AutoReplyMsg_descriptor_ = file->message_type(11);
  400. static const int XPhone_AutoReplyMsg_offsets_[3] = {
  401. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplyMsg, type_),
  402. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplyMsg, strkeyword_),
  403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplyMsg, strresponse_),
  404. };
  405. XPhone_AutoReplyMsg_reflection_ =
  406. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  407. XPhone_AutoReplyMsg_descriptor_,
  408. XPhone_AutoReplyMsg::default_instance_,
  409. XPhone_AutoReplyMsg_offsets_,
  410. -1,
  411. -1,
  412. -1,
  413. sizeof(XPhone_AutoReplyMsg),
  414. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplyMsg, _internal_metadata_),
  415. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplyMsg, _is_default_instance_));
  416. XPhone_AutoReplySetting_descriptor_ = file->message_type(12);
  417. static const int XPhone_AutoReplySetting_offsets_[8] = {
  418. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, head_),
  419. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, forbiddenforground_),
  420. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, delay_),
  421. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, strcommoncontent_),
  422. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, maxreply_),
  423. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, strstarttime_),
  424. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, strendtime_),
  425. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, msglist_),
  426. };
  427. XPhone_AutoReplySetting_reflection_ =
  428. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  429. XPhone_AutoReplySetting_descriptor_,
  430. XPhone_AutoReplySetting::default_instance_,
  431. XPhone_AutoReplySetting_offsets_,
  432. -1,
  433. -1,
  434. -1,
  435. sizeof(XPhone_AutoReplySetting),
  436. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, _internal_metadata_),
  437. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, _is_default_instance_));
  438. XPhone_FunctionSwitch_descriptor_ = file->message_type(13);
  439. static const int XPhone_FunctionSwitch_offsets_[3] = {
  440. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_FunctionSwitch, head_),
  441. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_FunctionSwitch, tasktype_),
  442. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_FunctionSwitch, action_),
  443. };
  444. XPhone_FunctionSwitch_reflection_ =
  445. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  446. XPhone_FunctionSwitch_descriptor_,
  447. XPhone_FunctionSwitch::default_instance_,
  448. XPhone_FunctionSwitch_offsets_,
  449. -1,
  450. -1,
  451. -1,
  452. sizeof(XPhone_FunctionSwitch),
  453. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_FunctionSwitch, _internal_metadata_),
  454. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_FunctionSwitch, _is_default_instance_));
  455. XPhone_SnsMsg_descriptor_ = file->message_type(14);
  456. static const int XPhone_SnsMsg_offsets_[5] = {
  457. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, snstype_),
  458. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, strtitle_),
  459. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, strtext_),
  460. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, strlinker_),
  461. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, piclist_),
  462. };
  463. XPhone_SnsMsg_reflection_ =
  464. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  465. XPhone_SnsMsg_descriptor_,
  466. XPhone_SnsMsg::default_instance_,
  467. XPhone_SnsMsg_offsets_,
  468. -1,
  469. -1,
  470. -1,
  471. sizeof(XPhone_SnsMsg),
  472. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, _internal_metadata_),
  473. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, _is_default_instance_));
  474. XPhone_SnsSetting_descriptor_ = file->message_type(15);
  475. static const int XPhone_SnsSetting_offsets_[3] = {
  476. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsSetting, head_),
  477. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsSetting, sendintrval_),
  478. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsSetting, snslist_),
  479. };
  480. XPhone_SnsSetting_reflection_ =
  481. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  482. XPhone_SnsSetting_descriptor_,
  483. XPhone_SnsSetting::default_instance_,
  484. XPhone_SnsSetting_offsets_,
  485. -1,
  486. -1,
  487. -1,
  488. sizeof(XPhone_SnsSetting),
  489. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsSetting, _internal_metadata_),
  490. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsSetting, _is_default_instance_));
  491. XPhone_ChatroomMsgSetting_descriptor_ = file->message_type(16);
  492. static const int XPhone_ChatroomMsgSetting_offsets_[3] = {
  493. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomMsgSetting, head_),
  494. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomMsgSetting, sendintrval_),
  495. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomMsgSetting, lists_),
  496. };
  497. XPhone_ChatroomMsgSetting_reflection_ =
  498. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  499. XPhone_ChatroomMsgSetting_descriptor_,
  500. XPhone_ChatroomMsgSetting::default_instance_,
  501. XPhone_ChatroomMsgSetting_offsets_,
  502. -1,
  503. -1,
  504. -1,
  505. sizeof(XPhone_ChatroomMsgSetting),
  506. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomMsgSetting, _internal_metadata_),
  507. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomMsgSetting, _is_default_instance_));
  508. XPhone_ContactMsgSetting_descriptor_ = file->message_type(17);
  509. static const int XPhone_ContactMsgSetting_offsets_[4] = {
  510. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, head_),
  511. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, sendintrval_),
  512. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, deletezombie_),
  513. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, lists_),
  514. };
  515. XPhone_ContactMsgSetting_reflection_ =
  516. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  517. XPhone_ContactMsgSetting_descriptor_,
  518. XPhone_ContactMsgSetting::default_instance_,
  519. XPhone_ContactMsgSetting_offsets_,
  520. -1,
  521. -1,
  522. -1,
  523. sizeof(XPhone_ContactMsgSetting),
  524. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, _internal_metadata_),
  525. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, _is_default_instance_));
  526. XPhone_AddChatroomMemberSetting_descriptor_ = file->message_type(18);
  527. static const int XPhone_AddChatroomMemberSetting_offsets_[4] = {
  528. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, head_),
  529. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, addintrval_),
  530. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, strintroduce_),
  531. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, addcount_),
  532. };
  533. XPhone_AddChatroomMemberSetting_reflection_ =
  534. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  535. XPhone_AddChatroomMemberSetting_descriptor_,
  536. XPhone_AddChatroomMemberSetting::default_instance_,
  537. XPhone_AddChatroomMemberSetting_offsets_,
  538. -1,
  539. -1,
  540. -1,
  541. sizeof(XPhone_AddChatroomMemberSetting),
  542. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, _internal_metadata_),
  543. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, _is_default_instance_));
  544. XPhone_Array_descriptor_ = file->message_type(19);
  545. static const int XPhone_Array_offsets_[1] = {
  546. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Array, array_),
  547. };
  548. XPhone_Array_reflection_ =
  549. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  550. XPhone_Array_descriptor_,
  551. XPhone_Array::default_instance_,
  552. XPhone_Array_offsets_,
  553. -1,
  554. -1,
  555. -1,
  556. sizeof(XPhone_Array),
  557. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Array, _internal_metadata_),
  558. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Array, _is_default_instance_));
  559. XPhone_LocalTaskParam_descriptor_ = file->message_type(20);
  560. static const int XPhone_LocalTaskParam_offsets_[1] = {
  561. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocalTaskParam, params_),
  562. };
  563. XPhone_LocalTaskParam_reflection_ =
  564. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  565. XPhone_LocalTaskParam_descriptor_,
  566. XPhone_LocalTaskParam::default_instance_,
  567. XPhone_LocalTaskParam_offsets_,
  568. -1,
  569. -1,
  570. -1,
  571. sizeof(XPhone_LocalTaskParam),
  572. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocalTaskParam, _internal_metadata_),
  573. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocalTaskParam, _is_default_instance_));
  574. XPhone_LocalTaskParam_ParamsEntry_descriptor_ = XPhone_LocalTaskParam_descriptor_->nested_type(0);
  575. XPhone_TaskReq_descriptor_ = file->message_type(21);
  576. static const int XPhone_TaskReq_offsets_[6] = {
  577. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, head_),
  578. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, taskid_),
  579. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, tasktype_),
  580. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, action_),
  581. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, delay_),
  582. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, params_),
  583. };
  584. XPhone_TaskReq_reflection_ =
  585. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  586. XPhone_TaskReq_descriptor_,
  587. XPhone_TaskReq::default_instance_,
  588. XPhone_TaskReq_offsets_,
  589. -1,
  590. -1,
  591. -1,
  592. sizeof(XPhone_TaskReq),
  593. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, _internal_metadata_),
  594. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, _is_default_instance_));
  595. XPhone_TaskRsp_descriptor_ = file->message_type(22);
  596. static const int XPhone_TaskRsp_offsets_[4] = {
  597. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, head_),
  598. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, taskid_),
  599. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, tasktype_),
  600. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, taskstatus_),
  601. };
  602. XPhone_TaskRsp_reflection_ =
  603. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  604. XPhone_TaskRsp_descriptor_,
  605. XPhone_TaskRsp::default_instance_,
  606. XPhone_TaskRsp_offsets_,
  607. -1,
  608. -1,
  609. -1,
  610. sizeof(XPhone_TaskRsp),
  611. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, _internal_metadata_),
  612. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, _is_default_instance_));
  613. XPhone_ContactInfo_descriptor_ = file->message_type(23);
  614. static const int XPhone_ContactInfo_offsets_[5] = {
  615. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, strusername_),
  616. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, strnickername_),
  617. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, strweichat_),
  618. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, strsignature_),
  619. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, isex_),
  620. };
  621. XPhone_ContactInfo_reflection_ =
  622. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  623. XPhone_ContactInfo_descriptor_,
  624. XPhone_ContactInfo::default_instance_,
  625. XPhone_ContactInfo_offsets_,
  626. -1,
  627. -1,
  628. -1,
  629. sizeof(XPhone_ContactInfo),
  630. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, _internal_metadata_),
  631. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, _is_default_instance_));
  632. XPhone_ContactInfoRsp_descriptor_ = file->message_type(24);
  633. static const int XPhone_ContactInfoRsp_offsets_[2] = {
  634. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfoRsp, head_),
  635. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfoRsp, contactlist_),
  636. };
  637. XPhone_ContactInfoRsp_reflection_ =
  638. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  639. XPhone_ContactInfoRsp_descriptor_,
  640. XPhone_ContactInfoRsp::default_instance_,
  641. XPhone_ContactInfoRsp_offsets_,
  642. -1,
  643. -1,
  644. -1,
  645. sizeof(XPhone_ContactInfoRsp),
  646. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfoRsp, _internal_metadata_),
  647. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfoRsp, _is_default_instance_));
  648. XPhone_ChatRoomInfoReq_descriptor_ = file->message_type(25);
  649. static const int XPhone_ChatRoomInfoReq_offsets_[2] = {
  650. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfoReq, head_),
  651. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfoReq, bfriend_),
  652. };
  653. XPhone_ChatRoomInfoReq_reflection_ =
  654. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  655. XPhone_ChatRoomInfoReq_descriptor_,
  656. XPhone_ChatRoomInfoReq::default_instance_,
  657. XPhone_ChatRoomInfoReq_offsets_,
  658. -1,
  659. -1,
  660. -1,
  661. sizeof(XPhone_ChatRoomInfoReq),
  662. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfoReq, _internal_metadata_),
  663. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfoReq, _is_default_instance_));
  664. XPhone_ChatRoomInfo_descriptor_ = file->message_type(26);
  665. static const int XPhone_ChatRoomInfo_offsets_[4] = {
  666. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, chatroomid_),
  667. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, chatroomname_),
  668. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, chatroomowner_),
  669. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, members_),
  670. };
  671. XPhone_ChatRoomInfo_reflection_ =
  672. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  673. XPhone_ChatRoomInfo_descriptor_,
  674. XPhone_ChatRoomInfo::default_instance_,
  675. XPhone_ChatRoomInfo_offsets_,
  676. -1,
  677. -1,
  678. -1,
  679. sizeof(XPhone_ChatRoomInfo),
  680. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, _internal_metadata_),
  681. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, _is_default_instance_));
  682. XPhone_ChatroomInfoRsp_descriptor_ = file->message_type(27);
  683. static const int XPhone_ChatroomInfoRsp_offsets_[2] = {
  684. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomInfoRsp, head_),
  685. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomInfoRsp, roomlist_),
  686. };
  687. XPhone_ChatroomInfoRsp_reflection_ =
  688. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  689. XPhone_ChatroomInfoRsp_descriptor_,
  690. XPhone_ChatroomInfoRsp::default_instance_,
  691. XPhone_ChatroomInfoRsp_offsets_,
  692. -1,
  693. -1,
  694. -1,
  695. sizeof(XPhone_ChatroomInfoRsp),
  696. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomInfoRsp, _internal_metadata_),
  697. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomInfoRsp, _is_default_instance_));
  698. XPhone_LoginUserinfo_descriptor_ = file->message_type(28);
  699. static const int XPhone_LoginUserinfo_offsets_[4] = {
  700. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, head_),
  701. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, strnickername_),
  702. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, strusername_),
  703. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, strweichat_),
  704. };
  705. XPhone_LoginUserinfo_reflection_ =
  706. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  707. XPhone_LoginUserinfo_descriptor_,
  708. XPhone_LoginUserinfo::default_instance_,
  709. XPhone_LoginUserinfo_offsets_,
  710. -1,
  711. -1,
  712. -1,
  713. sizeof(XPhone_LoginUserinfo),
  714. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, _internal_metadata_),
  715. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, _is_default_instance_));
  716. XPhone_RecvChatMsg_descriptor_ = file->message_type(29);
  717. static const int XPhone_RecvChatMsg_offsets_[3] = {
  718. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RecvChatMsg, head_),
  719. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RecvChatMsg, strtablename_),
  720. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RecvChatMsg, strmsgcontent_),
  721. };
  722. XPhone_RecvChatMsg_reflection_ =
  723. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  724. XPhone_RecvChatMsg_descriptor_,
  725. XPhone_RecvChatMsg::default_instance_,
  726. XPhone_RecvChatMsg_offsets_,
  727. -1,
  728. -1,
  729. -1,
  730. sizeof(XPhone_RecvChatMsg),
  731. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RecvChatMsg, _internal_metadata_),
  732. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RecvChatMsg, _is_default_instance_));
  733. XPhone_ChatMsg_descriptor_ = file->message_type(30);
  734. static const int XPhone_ChatMsg_offsets_[8] = {
  735. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, head_),
  736. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, issend_),
  737. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, strtalker_),
  738. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, type_),
  739. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, strcontent_),
  740. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, icratetime_),
  741. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, istatus_),
  742. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, strshowname_),
  743. };
  744. XPhone_ChatMsg_reflection_ =
  745. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  746. XPhone_ChatMsg_descriptor_,
  747. XPhone_ChatMsg::default_instance_,
  748. XPhone_ChatMsg_offsets_,
  749. -1,
  750. -1,
  751. -1,
  752. sizeof(XPhone_ChatMsg),
  753. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, _internal_metadata_),
  754. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, _is_default_instance_));
  755. XPhone_SendChatMsg_descriptor_ = file->message_type(31);
  756. static const int XPhone_SendChatMsg_offsets_[4] = {
  757. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, head_),
  758. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, strtalker_),
  759. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, type_),
  760. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, strcontent_),
  761. };
  762. XPhone_SendChatMsg_reflection_ =
  763. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  764. XPhone_SendChatMsg_descriptor_,
  765. XPhone_SendChatMsg::default_instance_,
  766. XPhone_SendChatMsg_offsets_,
  767. -1,
  768. -1,
  769. -1,
  770. sizeof(XPhone_SendChatMsg),
  771. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, _internal_metadata_),
  772. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, _is_default_instance_));
  773. XPhone_ImportContact_descriptor_ = file->message_type(32);
  774. static const int XPhone_ImportContact_offsets_[3] = {
  775. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportContact, head_),
  776. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportContact, phonenumbers_),
  777. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportContact, clearcontacts_),
  778. };
  779. XPhone_ImportContact_reflection_ =
  780. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  781. XPhone_ImportContact_descriptor_,
  782. XPhone_ImportContact::default_instance_,
  783. XPhone_ImportContact_offsets_,
  784. -1,
  785. -1,
  786. -1,
  787. sizeof(XPhone_ImportContact),
  788. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportContact, _internal_metadata_),
  789. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportContact, _is_default_instance_));
  790. XPhone_OpenActivity_descriptor_ = file->message_type(33);
  791. static const int XPhone_OpenActivity_offsets_[2] = {
  792. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_OpenActivity, head_),
  793. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_OpenActivity, stractivityname_),
  794. };
  795. XPhone_OpenActivity_reflection_ =
  796. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  797. XPhone_OpenActivity_descriptor_,
  798. XPhone_OpenActivity::default_instance_,
  799. XPhone_OpenActivity_offsets_,
  800. -1,
  801. -1,
  802. -1,
  803. sizeof(XPhone_OpenActivity),
  804. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_OpenActivity, _internal_metadata_),
  805. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_OpenActivity, _is_default_instance_));
  806. XPhone_RestoreWeichatShot_descriptor_ = file->message_type(34);
  807. static const int XPhone_RestoreWeichatShot_offsets_[2] = {
  808. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RestoreWeichatShot, head_),
  809. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RestoreWeichatShot, strusername_),
  810. };
  811. XPhone_RestoreWeichatShot_reflection_ =
  812. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  813. XPhone_RestoreWeichatShot_descriptor_,
  814. XPhone_RestoreWeichatShot::default_instance_,
  815. XPhone_RestoreWeichatShot_offsets_,
  816. -1,
  817. -1,
  818. -1,
  819. sizeof(XPhone_RestoreWeichatShot),
  820. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RestoreWeichatShot, _internal_metadata_),
  821. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RestoreWeichatShot, _is_default_instance_));
  822. XPhone_AllLoginUsers_descriptor_ = file->message_type(35);
  823. static const int XPhone_AllLoginUsers_offsets_[3] = {
  824. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AllLoginUsers, head_),
  825. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AllLoginUsers, userslists_),
  826. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AllLoginUsers, strcurrentlogin_),
  827. };
  828. XPhone_AllLoginUsers_reflection_ =
  829. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  830. XPhone_AllLoginUsers_descriptor_,
  831. XPhone_AllLoginUsers::default_instance_,
  832. XPhone_AllLoginUsers_offsets_,
  833. -1,
  834. -1,
  835. -1,
  836. sizeof(XPhone_AllLoginUsers),
  837. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AllLoginUsers, _internal_metadata_),
  838. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AllLoginUsers, _is_default_instance_));
  839. XPhone_SystemLoginReq_descriptor_ = file->message_type(36);
  840. static const int XPhone_SystemLoginReq_offsets_[7] = {
  841. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, head_),
  842. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, strusername_),
  843. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, strpasswd_),
  844. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, machinecode_),
  845. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, softver_),
  846. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, strchannel_),
  847. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, timespan_),
  848. };
  849. XPhone_SystemLoginReq_reflection_ =
  850. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  851. XPhone_SystemLoginReq_descriptor_,
  852. XPhone_SystemLoginReq::default_instance_,
  853. XPhone_SystemLoginReq_offsets_,
  854. -1,
  855. -1,
  856. -1,
  857. sizeof(XPhone_SystemLoginReq),
  858. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, _internal_metadata_),
  859. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, _is_default_instance_));
  860. XPhone_SystemLoginRsp_descriptor_ = file->message_type(37);
  861. static const int XPhone_SystemLoginRsp_offsets_[5] = {
  862. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, head_),
  863. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, errcode_),
  864. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, totalcontrol_),
  865. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, remaincontrol_),
  866. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, hashcode_),
  867. };
  868. XPhone_SystemLoginRsp_reflection_ =
  869. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  870. XPhone_SystemLoginRsp_descriptor_,
  871. XPhone_SystemLoginRsp::default_instance_,
  872. XPhone_SystemLoginRsp_offsets_,
  873. -1,
  874. -1,
  875. -1,
  876. sizeof(XPhone_SystemLoginRsp),
  877. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, _internal_metadata_),
  878. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, _is_default_instance_));
  879. XPhone_SystemUpdateReq_descriptor_ = file->message_type(38);
  880. static const int XPhone_SystemUpdateReq_offsets_[5] = {
  881. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, head_),
  882. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, strusername_),
  883. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, machinecode_),
  884. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, softver_),
  885. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, strchannel_),
  886. };
  887. XPhone_SystemUpdateReq_reflection_ =
  888. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  889. XPhone_SystemUpdateReq_descriptor_,
  890. XPhone_SystemUpdateReq::default_instance_,
  891. XPhone_SystemUpdateReq_offsets_,
  892. -1,
  893. -1,
  894. -1,
  895. sizeof(XPhone_SystemUpdateReq),
  896. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, _internal_metadata_),
  897. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, _is_default_instance_));
  898. XPhone_SystemUpdateRsp_descriptor_ = file->message_type(39);
  899. static const int XPhone_SystemUpdateRsp_offsets_[5] = {
  900. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, head_),
  901. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, iupdatetype_),
  902. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, strpackageurl_),
  903. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, iupdatever_),
  904. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, strmd5_),
  905. };
  906. XPhone_SystemUpdateRsp_reflection_ =
  907. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  908. XPhone_SystemUpdateRsp_descriptor_,
  909. XPhone_SystemUpdateRsp::default_instance_,
  910. XPhone_SystemUpdateRsp_offsets_,
  911. -1,
  912. -1,
  913. -1,
  914. sizeof(XPhone_SystemUpdateRsp),
  915. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, _internal_metadata_),
  916. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, _is_default_instance_));
  917. XPhone_TextInput_descriptor_ = file->message_type(40);
  918. static const int XPhone_TextInput_offsets_[3] = {
  919. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TextInput, head_),
  920. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TextInput, iinputtype_),
  921. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TextInput, strcontent_),
  922. };
  923. XPhone_TextInput_reflection_ =
  924. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  925. XPhone_TextInput_descriptor_,
  926. XPhone_TextInput::default_instance_,
  927. XPhone_TextInput_offsets_,
  928. -1,
  929. -1,
  930. -1,
  931. sizeof(XPhone_TextInput),
  932. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TextInput, _internal_metadata_),
  933. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TextInput, _is_default_instance_));
  934. XPhone_NoticeReq_descriptor_ = file->message_type(41);
  935. static const int XPhone_NoticeReq_offsets_[3] = {
  936. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeReq, head_),
  937. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeReq, strchannel_),
  938. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeReq, iclientver_),
  939. };
  940. XPhone_NoticeReq_reflection_ =
  941. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  942. XPhone_NoticeReq_descriptor_,
  943. XPhone_NoticeReq::default_instance_,
  944. XPhone_NoticeReq_offsets_,
  945. -1,
  946. -1,
  947. -1,
  948. sizeof(XPhone_NoticeReq),
  949. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeReq, _internal_metadata_),
  950. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeReq, _is_default_instance_));
  951. XPhone_NoticeRsp_descriptor_ = file->message_type(42);
  952. static const int XPhone_NoticeRsp_offsets_[2] = {
  953. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeRsp, head_),
  954. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeRsp, noticelist_),
  955. };
  956. XPhone_NoticeRsp_reflection_ =
  957. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  958. XPhone_NoticeRsp_descriptor_,
  959. XPhone_NoticeRsp::default_instance_,
  960. XPhone_NoticeRsp_offsets_,
  961. -1,
  962. -1,
  963. -1,
  964. sizeof(XPhone_NoticeRsp),
  965. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeRsp, _internal_metadata_),
  966. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeRsp, _is_default_instance_));
  967. XPhone_Test_descriptor_ = file->message_type(43);
  968. static const int XPhone_Test_offsets_[2] = {
  969. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Test, head_),
  970. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Test, paramlists_),
  971. };
  972. XPhone_Test_reflection_ =
  973. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  974. XPhone_Test_descriptor_,
  975. XPhone_Test::default_instance_,
  976. XPhone_Test_offsets_,
  977. -1,
  978. -1,
  979. -1,
  980. sizeof(XPhone_Test),
  981. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Test, _internal_metadata_),
  982. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Test, _is_default_instance_));
  983. XPhone_Setting_descriptor_ = file->message_type(44);
  984. static const int XPhone_Setting_offsets_[12] = {
  985. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, head_),
  986. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, zantime_),
  987. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, autoqianghongbao_),
  988. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, autoplaymusic_),
  989. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, autoloadtask_),
  990. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, unrecall_),
  991. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, enablemsgtip_),
  992. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, yaoshaizi_),
  993. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, caiquan_),
  994. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, enableautoreply_),
  995. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, enablelocation_),
  996. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, autosendmsg_),
  997. };
  998. XPhone_Setting_reflection_ =
  999. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1000. XPhone_Setting_descriptor_,
  1001. XPhone_Setting::default_instance_,
  1002. XPhone_Setting_offsets_,
  1003. -1,
  1004. -1,
  1005. -1,
  1006. sizeof(XPhone_Setting),
  1007. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, _internal_metadata_),
  1008. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, _is_default_instance_));
  1009. XPhone_CheckClientReq_descriptor_ = file->message_type(45);
  1010. static const int XPhone_CheckClientReq_offsets_[8] = {
  1011. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, head_),
  1012. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, strusername_),
  1013. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, machinecode_),
  1014. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, softver_),
  1015. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, strchannel_),
  1016. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, connectcount_),
  1017. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, wifiname_),
  1018. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, timespan_),
  1019. };
  1020. XPhone_CheckClientReq_reflection_ =
  1021. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1022. XPhone_CheckClientReq_descriptor_,
  1023. XPhone_CheckClientReq::default_instance_,
  1024. XPhone_CheckClientReq_offsets_,
  1025. -1,
  1026. -1,
  1027. -1,
  1028. sizeof(XPhone_CheckClientReq),
  1029. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, _internal_metadata_),
  1030. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, _is_default_instance_));
  1031. XPhone_CheckClientRsp_descriptor_ = file->message_type(46);
  1032. static const int XPhone_CheckClientRsp_offsets_[3] = {
  1033. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientRsp, head_),
  1034. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientRsp, errorcode_),
  1035. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientRsp, hashcode_),
  1036. };
  1037. XPhone_CheckClientRsp_reflection_ =
  1038. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1039. XPhone_CheckClientRsp_descriptor_,
  1040. XPhone_CheckClientRsp::default_instance_,
  1041. XPhone_CheckClientRsp_offsets_,
  1042. -1,
  1043. -1,
  1044. -1,
  1045. sizeof(XPhone_CheckClientRsp),
  1046. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientRsp, _internal_metadata_),
  1047. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientRsp, _is_default_instance_));
  1048. XPhone_ImportWeichat_descriptor_ = file->message_type(47);
  1049. static const int XPhone_ImportWeichat_offsets_[2] = {
  1050. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportWeichat, head_),
  1051. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportWeichat, weichatlists_),
  1052. };
  1053. XPhone_ImportWeichat_reflection_ =
  1054. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1055. XPhone_ImportWeichat_descriptor_,
  1056. XPhone_ImportWeichat::default_instance_,
  1057. XPhone_ImportWeichat_offsets_,
  1058. -1,
  1059. -1,
  1060. -1,
  1061. sizeof(XPhone_ImportWeichat),
  1062. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportWeichat, _internal_metadata_),
  1063. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportWeichat, _is_default_instance_));
  1064. XPhone_ImportQQ_descriptor_ = file->message_type(48);
  1065. static const int XPhone_ImportQQ_offsets_[2] = {
  1066. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportQQ, head_),
  1067. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportQQ, qqlists_),
  1068. };
  1069. XPhone_ImportQQ_reflection_ =
  1070. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1071. XPhone_ImportQQ_descriptor_,
  1072. XPhone_ImportQQ::default_instance_,
  1073. XPhone_ImportQQ_offsets_,
  1074. -1,
  1075. -1,
  1076. -1,
  1077. sizeof(XPhone_ImportQQ),
  1078. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportQQ, _internal_metadata_),
  1079. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportQQ, _is_default_instance_));
  1080. XPhone_ImportGongZhong_descriptor_ = file->message_type(49);
  1081. static const int XPhone_ImportGongZhong_offsets_[2] = {
  1082. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportGongZhong, head_),
  1083. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportGongZhong, gongzhonglists_),
  1084. };
  1085. XPhone_ImportGongZhong_reflection_ =
  1086. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1087. XPhone_ImportGongZhong_descriptor_,
  1088. XPhone_ImportGongZhong::default_instance_,
  1089. XPhone_ImportGongZhong_offsets_,
  1090. -1,
  1091. -1,
  1092. -1,
  1093. sizeof(XPhone_ImportGongZhong),
  1094. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportGongZhong, _internal_metadata_),
  1095. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportGongZhong, _is_default_instance_));
  1096. XPhone_WifiConnect_descriptor_ = file->message_type(50);
  1097. static const int XPhone_WifiConnect_offsets_[4] = {
  1098. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, head_),
  1099. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, strip_),
  1100. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, iport_),
  1101. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, bconnect_),
  1102. };
  1103. XPhone_WifiConnect_reflection_ =
  1104. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1105. XPhone_WifiConnect_descriptor_,
  1106. XPhone_WifiConnect::default_instance_,
  1107. XPhone_WifiConnect_offsets_,
  1108. -1,
  1109. -1,
  1110. -1,
  1111. sizeof(XPhone_WifiConnect),
  1112. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, _internal_metadata_),
  1113. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, _is_default_instance_));
  1114. XPhone_AdbCommandReq_descriptor_ = file->message_type(51);
  1115. static const int XPhone_AdbCommandReq_offsets_[3] = {
  1116. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandReq, head_),
  1117. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandReq, commandlists_),
  1118. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandReq, mode_),
  1119. };
  1120. XPhone_AdbCommandReq_reflection_ =
  1121. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1122. XPhone_AdbCommandReq_descriptor_,
  1123. XPhone_AdbCommandReq::default_instance_,
  1124. XPhone_AdbCommandReq_offsets_,
  1125. -1,
  1126. -1,
  1127. -1,
  1128. sizeof(XPhone_AdbCommandReq),
  1129. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandReq, _internal_metadata_),
  1130. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandReq, _is_default_instance_));
  1131. XPhone_AdbCommandRsp_descriptor_ = file->message_type(52);
  1132. static const int XPhone_AdbCommandRsp_offsets_[2] = {
  1133. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandRsp, head_),
  1134. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandRsp, strresult_),
  1135. };
  1136. XPhone_AdbCommandRsp_reflection_ =
  1137. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1138. XPhone_AdbCommandRsp_descriptor_,
  1139. XPhone_AdbCommandRsp::default_instance_,
  1140. XPhone_AdbCommandRsp_offsets_,
  1141. -1,
  1142. -1,
  1143. -1,
  1144. sizeof(XPhone_AdbCommandRsp),
  1145. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandRsp, _internal_metadata_),
  1146. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandRsp, _is_default_instance_));
  1147. XPhone_CaijiAddressIDReq_descriptor_ = file->message_type(53);
  1148. static const int XPhone_CaijiAddressIDReq_offsets_[3] = {
  1149. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiAddressIDReq, head_),
  1150. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiAddressIDReq, phonenumbers_),
  1151. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiAddressIDReq, bclear_),
  1152. };
  1153. XPhone_CaijiAddressIDReq_reflection_ =
  1154. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1155. XPhone_CaijiAddressIDReq_descriptor_,
  1156. XPhone_CaijiAddressIDReq::default_instance_,
  1157. XPhone_CaijiAddressIDReq_offsets_,
  1158. -1,
  1159. -1,
  1160. -1,
  1161. sizeof(XPhone_CaijiAddressIDReq),
  1162. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiAddressIDReq, _internal_metadata_),
  1163. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiAddressIDReq, _is_default_instance_));
  1164. XPhone_CaijiNearbyIDReq_descriptor_ = file->message_type(54);
  1165. static const int XPhone_CaijiNearbyIDReq_offsets_[1] = {
  1166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiNearbyIDReq, head_),
  1167. };
  1168. XPhone_CaijiNearbyIDReq_reflection_ =
  1169. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1170. XPhone_CaijiNearbyIDReq_descriptor_,
  1171. XPhone_CaijiNearbyIDReq::default_instance_,
  1172. XPhone_CaijiNearbyIDReq_offsets_,
  1173. -1,
  1174. -1,
  1175. -1,
  1176. sizeof(XPhone_CaijiNearbyIDReq),
  1177. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiNearbyIDReq, _internal_metadata_),
  1178. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiNearbyIDReq, _is_default_instance_));
  1179. XPhone_CaijiFriendIDReq_descriptor_ = file->message_type(55);
  1180. static const int XPhone_CaijiFriendIDReq_offsets_[1] = {
  1181. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiFriendIDReq, head_),
  1182. };
  1183. XPhone_CaijiFriendIDReq_reflection_ =
  1184. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1185. XPhone_CaijiFriendIDReq_descriptor_,
  1186. XPhone_CaijiFriendIDReq::default_instance_,
  1187. XPhone_CaijiFriendIDReq_offsets_,
  1188. -1,
  1189. -1,
  1190. -1,
  1191. sizeof(XPhone_CaijiFriendIDReq),
  1192. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiFriendIDReq, _internal_metadata_),
  1193. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiFriendIDReq, _is_default_instance_));
  1194. XPhone_IDInfo_descriptor_ = file->message_type(56);
  1195. static const int XPhone_IDInfo_offsets_[4] = {
  1196. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, strid_),
  1197. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, strusername_),
  1198. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, strnickername_),
  1199. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, isex_),
  1200. };
  1201. XPhone_IDInfo_reflection_ =
  1202. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1203. XPhone_IDInfo_descriptor_,
  1204. XPhone_IDInfo::default_instance_,
  1205. XPhone_IDInfo_offsets_,
  1206. -1,
  1207. -1,
  1208. -1,
  1209. sizeof(XPhone_IDInfo),
  1210. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, _internal_metadata_),
  1211. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, _is_default_instance_));
  1212. XPhone_CaijiIDRsp_descriptor_ = file->message_type(57);
  1213. static const int XPhone_CaijiIDRsp_offsets_[2] = {
  1214. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiIDRsp, head_),
  1215. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiIDRsp, ids_),
  1216. };
  1217. XPhone_CaijiIDRsp_reflection_ =
  1218. ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
  1219. XPhone_CaijiIDRsp_descriptor_,
  1220. XPhone_CaijiIDRsp::default_instance_,
  1221. XPhone_CaijiIDRsp_offsets_,
  1222. -1,
  1223. -1,
  1224. -1,
  1225. sizeof(XPhone_CaijiIDRsp),
  1226. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiIDRsp, _internal_metadata_),
  1227. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiIDRsp, _is_default_instance_));
  1228. XPhone_DeviceChange_descriptor_ = file->enum_type(0);
  1229. XPhone_TaskAction_descriptor_ = file->enum_type(1);
  1230. XPhone_TaskStatus_descriptor_ = file->enum_type(2);
  1231. XPhone_TaskType_descriptor_ = file->enum_type(3);
  1232. XPhone_MsgType_descriptor_ = file->enum_type(4);
  1233. }
  1234. namespace {
  1235. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  1236. inline void protobuf_AssignDescriptorsOnce() {
  1237. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  1238. &protobuf_AssignDesc_common_2eproto);
  1239. }
  1240. void protobuf_RegisterTypes(const ::std::string&) {
  1241. protobuf_AssignDescriptorsOnce();
  1242. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1243. XPhone_BaseResponse_descriptor_, &XPhone_BaseResponse::default_instance());
  1244. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1245. XPhone_MsgBase_descriptor_, &XPhone_MsgBase::default_instance());
  1246. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1247. XPhone_ReqHead_descriptor_, &XPhone_ReqHead::default_instance());
  1248. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1249. XPhone_GetDeviceInfo_descriptor_, &XPhone_GetDeviceInfo::default_instance());
  1250. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1251. XPhone_DeviceInfo_descriptor_, &XPhone_DeviceInfo::default_instance());
  1252. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1253. XPhone_SendFile_descriptor_, &XPhone_SendFile::default_instance());
  1254. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1255. XPhone_LocationSetting_descriptor_, &XPhone_LocationSetting::default_instance());
  1256. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1257. XPhone_AddNearbySetting_descriptor_, &XPhone_AddNearbySetting::default_instance());
  1258. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1259. XPhone_AddressBookSetting_descriptor_, &XPhone_AddressBookSetting::default_instance());
  1260. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1261. XPhone_RadarSetting_descriptor_, &XPhone_RadarSetting::default_instance());
  1262. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1263. XPhone_YaoyiyaoSetting_descriptor_, &XPhone_YaoyiyaoSetting::default_instance());
  1264. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1265. XPhone_AutoReplyMsg_descriptor_, &XPhone_AutoReplyMsg::default_instance());
  1266. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1267. XPhone_AutoReplySetting_descriptor_, &XPhone_AutoReplySetting::default_instance());
  1268. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1269. XPhone_FunctionSwitch_descriptor_, &XPhone_FunctionSwitch::default_instance());
  1270. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1271. XPhone_SnsMsg_descriptor_, &XPhone_SnsMsg::default_instance());
  1272. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1273. XPhone_SnsSetting_descriptor_, &XPhone_SnsSetting::default_instance());
  1274. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1275. XPhone_ChatroomMsgSetting_descriptor_, &XPhone_ChatroomMsgSetting::default_instance());
  1276. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1277. XPhone_ContactMsgSetting_descriptor_, &XPhone_ContactMsgSetting::default_instance());
  1278. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1279. XPhone_AddChatroomMemberSetting_descriptor_, &XPhone_AddChatroomMemberSetting::default_instance());
  1280. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1281. XPhone_Array_descriptor_, &XPhone_Array::default_instance());
  1282. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1283. XPhone_LocalTaskParam_descriptor_, &XPhone_LocalTaskParam::default_instance());
  1284. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1285. XPhone_LocalTaskParam_ParamsEntry_descriptor_,
  1286. ::google::protobuf::internal::MapEntry<
  1287. ::std::string,
  1288. ::XPhonePlus::XPhone_Array,
  1289. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  1290. ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
  1291. 0>::CreateDefaultInstance(
  1292. XPhone_LocalTaskParam_ParamsEntry_descriptor_));
  1293. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1294. XPhone_TaskReq_descriptor_, &XPhone_TaskReq::default_instance());
  1295. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1296. XPhone_TaskRsp_descriptor_, &XPhone_TaskRsp::default_instance());
  1297. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1298. XPhone_ContactInfo_descriptor_, &XPhone_ContactInfo::default_instance());
  1299. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1300. XPhone_ContactInfoRsp_descriptor_, &XPhone_ContactInfoRsp::default_instance());
  1301. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1302. XPhone_ChatRoomInfoReq_descriptor_, &XPhone_ChatRoomInfoReq::default_instance());
  1303. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1304. XPhone_ChatRoomInfo_descriptor_, &XPhone_ChatRoomInfo::default_instance());
  1305. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1306. XPhone_ChatroomInfoRsp_descriptor_, &XPhone_ChatroomInfoRsp::default_instance());
  1307. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1308. XPhone_LoginUserinfo_descriptor_, &XPhone_LoginUserinfo::default_instance());
  1309. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1310. XPhone_RecvChatMsg_descriptor_, &XPhone_RecvChatMsg::default_instance());
  1311. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1312. XPhone_ChatMsg_descriptor_, &XPhone_ChatMsg::default_instance());
  1313. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1314. XPhone_SendChatMsg_descriptor_, &XPhone_SendChatMsg::default_instance());
  1315. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1316. XPhone_ImportContact_descriptor_, &XPhone_ImportContact::default_instance());
  1317. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1318. XPhone_OpenActivity_descriptor_, &XPhone_OpenActivity::default_instance());
  1319. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1320. XPhone_RestoreWeichatShot_descriptor_, &XPhone_RestoreWeichatShot::default_instance());
  1321. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1322. XPhone_AllLoginUsers_descriptor_, &XPhone_AllLoginUsers::default_instance());
  1323. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1324. XPhone_SystemLoginReq_descriptor_, &XPhone_SystemLoginReq::default_instance());
  1325. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1326. XPhone_SystemLoginRsp_descriptor_, &XPhone_SystemLoginRsp::default_instance());
  1327. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1328. XPhone_SystemUpdateReq_descriptor_, &XPhone_SystemUpdateReq::default_instance());
  1329. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1330. XPhone_SystemUpdateRsp_descriptor_, &XPhone_SystemUpdateRsp::default_instance());
  1331. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1332. XPhone_TextInput_descriptor_, &XPhone_TextInput::default_instance());
  1333. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1334. XPhone_NoticeReq_descriptor_, &XPhone_NoticeReq::default_instance());
  1335. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1336. XPhone_NoticeRsp_descriptor_, &XPhone_NoticeRsp::default_instance());
  1337. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1338. XPhone_Test_descriptor_, &XPhone_Test::default_instance());
  1339. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1340. XPhone_Setting_descriptor_, &XPhone_Setting::default_instance());
  1341. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1342. XPhone_CheckClientReq_descriptor_, &XPhone_CheckClientReq::default_instance());
  1343. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1344. XPhone_CheckClientRsp_descriptor_, &XPhone_CheckClientRsp::default_instance());
  1345. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1346. XPhone_ImportWeichat_descriptor_, &XPhone_ImportWeichat::default_instance());
  1347. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1348. XPhone_ImportQQ_descriptor_, &XPhone_ImportQQ::default_instance());
  1349. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1350. XPhone_ImportGongZhong_descriptor_, &XPhone_ImportGongZhong::default_instance());
  1351. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1352. XPhone_WifiConnect_descriptor_, &XPhone_WifiConnect::default_instance());
  1353. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1354. XPhone_AdbCommandReq_descriptor_, &XPhone_AdbCommandReq::default_instance());
  1355. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1356. XPhone_AdbCommandRsp_descriptor_, &XPhone_AdbCommandRsp::default_instance());
  1357. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1358. XPhone_CaijiAddressIDReq_descriptor_, &XPhone_CaijiAddressIDReq::default_instance());
  1359. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1360. XPhone_CaijiNearbyIDReq_descriptor_, &XPhone_CaijiNearbyIDReq::default_instance());
  1361. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1362. XPhone_CaijiFriendIDReq_descriptor_, &XPhone_CaijiFriendIDReq::default_instance());
  1363. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1364. XPhone_IDInfo_descriptor_, &XPhone_IDInfo::default_instance());
  1365. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1366. XPhone_CaijiIDRsp_descriptor_, &XPhone_CaijiIDRsp::default_instance());
  1367. }
  1368. } // namespace
  1369. void protobuf_ShutdownFile_common_2eproto() {
  1370. delete XPhone_BaseResponse::default_instance_;
  1371. delete XPhone_BaseResponse_reflection_;
  1372. delete XPhone_MsgBase::default_instance_;
  1373. delete XPhone_MsgBase_reflection_;
  1374. delete XPhone_ReqHead::default_instance_;
  1375. delete XPhone_ReqHead_reflection_;
  1376. delete XPhone_GetDeviceInfo::default_instance_;
  1377. delete XPhone_GetDeviceInfo_reflection_;
  1378. delete XPhone_DeviceInfo::default_instance_;
  1379. delete XPhone_DeviceInfo_reflection_;
  1380. delete XPhone_SendFile::default_instance_;
  1381. delete XPhone_SendFile_reflection_;
  1382. delete XPhone_LocationSetting::default_instance_;
  1383. delete XPhone_LocationSetting_reflection_;
  1384. delete XPhone_AddNearbySetting::default_instance_;
  1385. delete XPhone_AddNearbySetting_reflection_;
  1386. delete XPhone_AddressBookSetting::default_instance_;
  1387. delete XPhone_AddressBookSetting_reflection_;
  1388. delete XPhone_RadarSetting::default_instance_;
  1389. delete XPhone_RadarSetting_reflection_;
  1390. delete XPhone_YaoyiyaoSetting::default_instance_;
  1391. delete XPhone_YaoyiyaoSetting_reflection_;
  1392. delete XPhone_AutoReplyMsg::default_instance_;
  1393. delete XPhone_AutoReplyMsg_reflection_;
  1394. delete XPhone_AutoReplySetting::default_instance_;
  1395. delete XPhone_AutoReplySetting_reflection_;
  1396. delete XPhone_FunctionSwitch::default_instance_;
  1397. delete XPhone_FunctionSwitch_reflection_;
  1398. delete XPhone_SnsMsg::default_instance_;
  1399. delete XPhone_SnsMsg_reflection_;
  1400. delete XPhone_SnsSetting::default_instance_;
  1401. delete XPhone_SnsSetting_reflection_;
  1402. delete XPhone_ChatroomMsgSetting::default_instance_;
  1403. delete XPhone_ChatroomMsgSetting_reflection_;
  1404. delete XPhone_ContactMsgSetting::default_instance_;
  1405. delete XPhone_ContactMsgSetting_reflection_;
  1406. delete XPhone_AddChatroomMemberSetting::default_instance_;
  1407. delete XPhone_AddChatroomMemberSetting_reflection_;
  1408. delete XPhone_Array::default_instance_;
  1409. delete XPhone_Array_reflection_;
  1410. delete XPhone_LocalTaskParam::default_instance_;
  1411. delete XPhone_LocalTaskParam_reflection_;
  1412. delete XPhone_TaskReq::default_instance_;
  1413. delete XPhone_TaskReq_reflection_;
  1414. delete XPhone_TaskRsp::default_instance_;
  1415. delete XPhone_TaskRsp_reflection_;
  1416. delete XPhone_ContactInfo::default_instance_;
  1417. delete XPhone_ContactInfo_reflection_;
  1418. delete XPhone_ContactInfoRsp::default_instance_;
  1419. delete XPhone_ContactInfoRsp_reflection_;
  1420. delete XPhone_ChatRoomInfoReq::default_instance_;
  1421. delete XPhone_ChatRoomInfoReq_reflection_;
  1422. delete XPhone_ChatRoomInfo::default_instance_;
  1423. delete XPhone_ChatRoomInfo_reflection_;
  1424. delete XPhone_ChatroomInfoRsp::default_instance_;
  1425. delete XPhone_ChatroomInfoRsp_reflection_;
  1426. delete XPhone_LoginUserinfo::default_instance_;
  1427. delete XPhone_LoginUserinfo_reflection_;
  1428. delete XPhone_RecvChatMsg::default_instance_;
  1429. delete XPhone_RecvChatMsg_reflection_;
  1430. delete XPhone_ChatMsg::default_instance_;
  1431. delete XPhone_ChatMsg_reflection_;
  1432. delete XPhone_SendChatMsg::default_instance_;
  1433. delete XPhone_SendChatMsg_reflection_;
  1434. delete XPhone_ImportContact::default_instance_;
  1435. delete XPhone_ImportContact_reflection_;
  1436. delete XPhone_OpenActivity::default_instance_;
  1437. delete XPhone_OpenActivity_reflection_;
  1438. delete XPhone_RestoreWeichatShot::default_instance_;
  1439. delete XPhone_RestoreWeichatShot_reflection_;
  1440. delete XPhone_AllLoginUsers::default_instance_;
  1441. delete XPhone_AllLoginUsers_reflection_;
  1442. delete XPhone_SystemLoginReq::default_instance_;
  1443. delete XPhone_SystemLoginReq_reflection_;
  1444. delete XPhone_SystemLoginRsp::default_instance_;
  1445. delete XPhone_SystemLoginRsp_reflection_;
  1446. delete XPhone_SystemUpdateReq::default_instance_;
  1447. delete XPhone_SystemUpdateReq_reflection_;
  1448. delete XPhone_SystemUpdateRsp::default_instance_;
  1449. delete XPhone_SystemUpdateRsp_reflection_;
  1450. delete XPhone_TextInput::default_instance_;
  1451. delete XPhone_TextInput_reflection_;
  1452. delete XPhone_NoticeReq::default_instance_;
  1453. delete XPhone_NoticeReq_reflection_;
  1454. delete XPhone_NoticeRsp::default_instance_;
  1455. delete XPhone_NoticeRsp_reflection_;
  1456. delete XPhone_Test::default_instance_;
  1457. delete XPhone_Test_reflection_;
  1458. delete XPhone_Setting::default_instance_;
  1459. delete XPhone_Setting_reflection_;
  1460. delete XPhone_CheckClientReq::default_instance_;
  1461. delete XPhone_CheckClientReq_reflection_;
  1462. delete XPhone_CheckClientRsp::default_instance_;
  1463. delete XPhone_CheckClientRsp_reflection_;
  1464. delete XPhone_ImportWeichat::default_instance_;
  1465. delete XPhone_ImportWeichat_reflection_;
  1466. delete XPhone_ImportQQ::default_instance_;
  1467. delete XPhone_ImportQQ_reflection_;
  1468. delete XPhone_ImportGongZhong::default_instance_;
  1469. delete XPhone_ImportGongZhong_reflection_;
  1470. delete XPhone_WifiConnect::default_instance_;
  1471. delete XPhone_WifiConnect_reflection_;
  1472. delete XPhone_AdbCommandReq::default_instance_;
  1473. delete XPhone_AdbCommandReq_reflection_;
  1474. delete XPhone_AdbCommandRsp::default_instance_;
  1475. delete XPhone_AdbCommandRsp_reflection_;
  1476. delete XPhone_CaijiAddressIDReq::default_instance_;
  1477. delete XPhone_CaijiAddressIDReq_reflection_;
  1478. delete XPhone_CaijiNearbyIDReq::default_instance_;
  1479. delete XPhone_CaijiNearbyIDReq_reflection_;
  1480. delete XPhone_CaijiFriendIDReq::default_instance_;
  1481. delete XPhone_CaijiFriendIDReq_reflection_;
  1482. delete XPhone_IDInfo::default_instance_;
  1483. delete XPhone_IDInfo_reflection_;
  1484. delete XPhone_CaijiIDRsp::default_instance_;
  1485. delete XPhone_CaijiIDRsp_reflection_;
  1486. }
  1487. void protobuf_AddDesc_common_2eproto() {
  1488. static bool already_here = false;
  1489. if (already_here) return;
  1490. already_here = true;
  1491. GOOGLE_PROTOBUF_VERIFY_VERSION;
  1492. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  1493. "\n\014common.proto\022\nXPhonePlus\"V\n\023XPhone_Bas"
  1494. "eResponse\022+\n\007msgType\030\001 \001(\0162\032.XPhonePlus."
  1495. "XPhone_MsgType\022\022\n\niErrorCode\030\002 \001(\005\"=\n\016XP"
  1496. "hone_MsgBase\022+\n\007msgType\030\001 \001(\0162\032.XPhonePl"
  1497. "us.XPhone_MsgType\":\n\016XPhone_ReqHead\022(\n\004h"
  1498. "ead\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\"U\n"
  1499. "\024XPhone_GetDeviceInfo\022(\n\004head\030\001 \001(\0132\032.XP"
  1500. "honePlus.XPhone_MsgBase\022\023\n\013strIdentify\030\002"
  1501. " \001(\t\"\312\001\n\021XPhone_DeviceInfo\022(\n\004head\030\001 \001(\013"
  1502. "2\032.XPhonePlus.XPhone_MsgBase\022\025\n\rstrDevic"
  1503. "eName\030\002 \001(\t\022\020\n\010strBrand\030\003 \001(\t\022\020\n\010strMode"
  1504. "l\030\004 \001(\t\022\025\n\rstrResolution\030\005 \001(\t\022\017\n\007strIme"
  1505. "i\030\006 \001(\t\022\021\n\tiSDKVerID\030\007 \001(\005\022\025\n\rstrCPUArch"
  1506. "ive\030\010 \001(\t\"e\n\017XPhone_SendFile\022(\n\004head\030\001 \001"
  1507. "(\0132\032.XPhonePlus.XPhone_MsgBase\022\023\n\013strFil"
  1508. "ePath\030\002 \001(\t\022\023\n\013fileContent\030\003 \001(\014\"\215\001\n\026XPh"
  1509. "one_LocationSetting\022(\n\004head\030\001 \001(\0132\032.XPho"
  1510. "nePlus.XPhone_MsgBase\022\016\n\006bStart\030\002 \001(\010\022\023\n"
  1511. "\013strLocation\030\003 \001(\t\022\022\n\nlongtitude\030\004 \001(\001\022\020"
  1512. "\n\010latitude\030\005 \001(\001\"\236\001\n\027XPhone_AddNearbySet"
  1513. "ting\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_M"
  1514. "sgBase\022\017\n\007addname\030\002 \001(\010\022\024\n\014strIntroduce\030"
  1515. "\003 \001(\t\022\023\n\013addInterval\030\004 \001(\005\022\013\n\003sex\030\005 \001(\005\022"
  1516. "\020\n\010addcount\030\006 \001(\005\"\220\001\n\031XPhone_AddressBook"
  1517. "Setting\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhon"
  1518. "e_MsgBase\022\020\n\010addcount\030\002 \001(\005\022\023\n\013addInterv"
  1519. "al\030\003 \001(\005\022\014\n\004isex\030\004 \001(\005\022\024\n\014strIntroduce\030\005"
  1520. " \001(\t\"Q\n\023XPhone_RadarSetting\022(\n\004head\030\001 \001("
  1521. "\0132\032.XPhonePlus.XPhone_MsgBase\022\020\n\010scantim"
  1522. "e\030\002 \001(\005\"\240\001\n\026XPhone_YaoyiyaoSetting\022(\n\004he"
  1523. "ad\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022\021\n\t"
  1524. "totaltime\030\002 \001(\005\022\017\n\007intrval\030\003 \001(\005\022\017\n\007addn"
  1525. "ame\030\004 \001(\010\022\024\n\014strIntroduce\030\005 \001(\t\022\021\n\taddFr"
  1526. "iend\030\006 \001(\010\"L\n\023XPhone_AutoReplyMsg\022\014\n\004typ"
  1527. "e\030\001 \001(\005\022\022\n\nstrKeyword\030\002 \001(\t\022\023\n\013strRespon"
  1528. "se\030\003 \001(\t\"\366\001\n\027XPhone_AutoReplySetting\022(\n\004"
  1529. "head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022\032"
  1530. "\n\022forbiddenForground\030\002 \001(\010\022\r\n\005delay\030\003 \001("
  1531. "\005\022\030\n\020strCommonContent\030\004 \001(\t\022\020\n\010maxreply\030"
  1532. "\005 \001(\005\022\024\n\014strStartTime\030\006 \001(\t\022\022\n\nstrEndTim"
  1533. "e\030\007 \001(\t\0220\n\007msgList\030\010 \003(\0132\037.XPhonePlus.XP"
  1534. "hone_AutoReplyMsg\"\237\001\n\025XPhone_FunctionSwi"
  1535. "tch\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_Ms"
  1536. "gBase\022-\n\010taskType\030\002 \001(\0162\033.XPhonePlus.XPh"
  1537. "one_TaskType\022-\n\006action\030\003 \001(\0162\035.XPhonePlu"
  1538. "s.XPhone_TaskAction\"g\n\rXPhone_SnsMsg\022\017\n\007"
  1539. "SNSType\030\001 \001(\005\022\020\n\010strTitle\030\002 \001(\t\022\017\n\007strTe"
  1540. "xt\030\003 \001(\t\022\021\n\tstrLinker\030\004 \001(\t\022\017\n\007picList\030\005"
  1541. " \003(\t\"~\n\021XPhone_SnsSetting\022(\n\004head\030\001 \001(\0132"
  1542. "\032.XPhonePlus.XPhone_MsgBase\022\023\n\013sendintrv"
  1543. "al\030\002 \001(\005\022*\n\007snsList\030\003 \003(\0132\031.XPhonePlus.X"
  1544. "Phone_SnsMsg\"\212\001\n\031XPhone_ChatroomMsgSetti"
  1545. "ng\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_Msg"
  1546. "Base\022\023\n\013sendintrval\030\002 \001(\005\022.\n\005lists\030\003 \003(\013"
  1547. "2\037.XPhonePlus.XPhone_AutoReplyMsg\"\237\001\n\030XP"
  1548. "hone_ContactMsgSetting\022(\n\004head\030\001 \001(\0132\032.X"
  1549. "PhonePlus.XPhone_MsgBase\022\023\n\013sendintrval\030"
  1550. "\002 \001(\005\022\024\n\014deletezombie\030\003 \001(\010\022.\n\005lists\030\004 \003"
  1551. "(\0132\037.XPhonePlus.XPhone_AutoReplyMsg\"\207\001\n\037"
  1552. "XPhone_AddChatroomMemberSetting\022(\n\004head\030"
  1553. "\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022\022\n\nadd"
  1554. "intrval\030\002 \001(\005\022\024\n\014strIntroduce\030\003 \001(\t\022\020\n\010a"
  1555. "ddcount\030\004 \001(\005\"\035\n\014XPhone_Array\022\r\n\005array\030\001"
  1556. " \003(\t\"\237\001\n\025XPhone_LocalTaskParam\022=\n\006params"
  1557. "\030\005 \003(\0132-.XPhonePlus.XPhone_LocalTaskPara"
  1558. "m.ParamsEntry\032G\n\013ParamsEntry\022\013\n\003key\030\001 \001("
  1559. "\t\022\'\n\005value\030\002 \001(\0132\030.XPhonePlus.XPhone_Arr"
  1560. "ay:\0028\001\"\341\001\n\016XPhone_TaskReq\022(\n\004head\030\001 \001(\0132"
  1561. "\032.XPhonePlus.XPhone_MsgBase\022\016\n\006taskID\030\002 "
  1562. "\001(\005\022-\n\010tasktype\030\003 \001(\0162\033.XPhonePlus.XPhon"
  1563. "e_TaskType\022-\n\006action\030\004 \001(\0162\035.XPhonePlus."
  1564. "XPhone_TaskAction\022\r\n\005delay\030\005 \001(\005\022(\n\006para"
  1565. "ms\030\006 \001(\0132\030.XPhonePlus.XPhone_Array\"\254\001\n\016X"
  1566. "Phone_TaskRsp\022(\n\004head\030\001 \001(\0132\032.XPhonePlus"
  1567. ".XPhone_MsgBase\022\016\n\006taskID\030\002 \001(\005\022-\n\010taskt"
  1568. "ype\030\003 \001(\0162\033.XPhonePlus.XPhone_TaskType\0221"
  1569. "\n\ntaskstatus\030\004 \001(\0162\035.XPhonePlus.XPhone_T"
  1570. "askStatus\"x\n\022XPhone_ContactInfo\022\023\n\013strUs"
  1571. "erName\030\001 \001(\t\022\025\n\rstrNickerName\030\002 \001(\t\022\022\n\ns"
  1572. "trWeichat\030\003 \001(\t\022\024\n\014strSignature\030\004 \001(\t\022\014\n"
  1573. "\004iSex\030\005 \001(\005\"v\n\025XPhone_ContactInfoRsp\022(\n\004"
  1574. "head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\0223"
  1575. "\n\013contactlist\030\002 \003(\0132\036.XPhonePlus.XPhone_"
  1576. "ContactInfo\"S\n\026XPhone_ChatRoomInfoReq\022(\n"
  1577. "\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022"
  1578. "\017\n\007bFriend\030\002 \001(\010\"\207\001\n\023XPhone_ChatRoomInfo"
  1579. "\022\022\n\nchatRoomID\030\001 \001(\t\022\024\n\014chatRoomName\030\002 \001"
  1580. "(\t\022\025\n\rchatRoomOwner\030\003 \001(\t\022/\n\007members\030\004 \003"
  1581. "(\0132\036.XPhonePlus.XPhone_ContactInfo\"u\n\026XP"
  1582. "hone_ChatroomInfoRsp\022(\n\004head\030\001 \001(\0132\032.XPh"
  1583. "onePlus.XPhone_MsgBase\0221\n\010roomlist\030\002 \003(\013"
  1584. "2\037.XPhonePlus.XPhone_ChatRoomInfo\"\200\001\n\024XP"
  1585. "hone_LoginUserinfo\022(\n\004head\030\001 \001(\0132\032.XPhon"
  1586. "ePlus.XPhone_MsgBase\022\025\n\rstrNickerName\030\002 "
  1587. "\001(\t\022\023\n\013strUserName\030\003 \001(\t\022\022\n\nstrWeichat\030\004"
  1588. " \001(\t\"k\n\022XPhone_RecvChatMsg\022(\n\004head\030\001 \001(\013"
  1589. "2\032.XPhonePlus.XPhone_MsgBase\022\024\n\014strTable"
  1590. "Name\030\002 \001(\t\022\025\n\rstrMsgContent\030\003 \001(\t\"\271\001\n\016XP"
  1591. "hone_ChatMsg\022(\n\004head\030\001 \001(\0132\032.XPhonePlus."
  1592. "XPhone_MsgBase\022\016\n\006isSend\030\002 \001(\005\022\021\n\tstrTal"
  1593. "ker\030\003 \001(\t\022\014\n\004type\030\004 \001(\005\022\022\n\nstrContent\030\005 "
  1594. "\001(\t\022\022\n\niCrateTime\030\006 \001(\003\022\017\n\007iStatus\030\007 \001(\005"
  1595. "\022\023\n\013strShowName\030\010 \001(\t\"s\n\022XPhone_SendChat"
  1596. "Msg\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_Ms"
  1597. "gBase\022\021\n\tstrTalker\030\002 \001(\t\022\014\n\004type\030\003 \001(\005\022\022"
  1598. "\n\nstrContent\030\004 \001(\t\"m\n\024XPhone_ImportConta"
  1599. "ct\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_Msg"
  1600. "Base\022\024\n\014phoneNumbers\030\002 \003(\t\022\025\n\rclearconta"
  1601. "cts\030\003 \001(\010\"X\n\023XPhone_OpenActivity\022(\n\004head"
  1602. "\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022\027\n\017st"
  1603. "rActivityName\030\002 \001(\t\"Z\n\031XPhone_RestoreWei"
  1604. "chatShot\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPho"
  1605. "ne_MsgBase\022\023\n\013strUserName\030\002 \001(\t\"\217\001\n\024XPho"
  1606. "ne_AllLoginUsers\022(\n\004head\030\001 \001(\0132\032.XPhoneP"
  1607. "lus.XPhone_MsgBase\0224\n\nusersLists\030\002 \003(\0132 "
  1608. ".XPhonePlus.XPhone_LoginUserinfo\022\027\n\017strC"
  1609. "urrentLogin\030\003 \001(\t\"\265\001\n\025XPhone_SystemLogin"
  1610. "Req\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_Ms"
  1611. "gBase\022\023\n\013strUserName\030\002 \001(\t\022\021\n\tstrpasswd\030"
  1612. "\003 \001(\t\022\023\n\013machinecode\030\004 \001(\t\022\017\n\007softver\030\005 "
  1613. "\001(\005\022\022\n\nstrChannel\030\006 \001(\t\022\020\n\010timespan\030\007 \001("
  1614. "\005\"\221\001\n\025XPhone_SystemLoginRsp\022(\n\004head\030\001 \001("
  1615. "\0132\032.XPhonePlus.XPhone_MsgBase\022\017\n\007errcode"
  1616. "\030\002 \001(\005\022\024\n\014totalcontrol\030\003 \001(\005\022\025\n\rremainco"
  1617. "ntrol\030\004 \001(\005\022\020\n\010hashcode\030\005 \001(\t\"\221\001\n\026XPhone"
  1618. "_SystemUpdateReq\022(\n\004head\030\001 \001(\0132\032.XPhoneP"
  1619. "lus.XPhone_MsgBase\022\023\n\013strUserName\030\002 \001(\t\022"
  1620. "\023\n\013machinecode\030\003 \001(\t\022\017\n\007softver\030\004 \001(\005\022\022\n"
  1621. "\nstrChannel\030\005 \001(\t\"\222\001\n\026XPhone_SystemUpdat"
  1622. "eRsp\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_M"
  1623. "sgBase\022\023\n\013iUpdateType\030\002 \001(\005\022\025\n\rstrPackag"
  1624. "eURL\030\003 \001(\t\022\022\n\niUpdateVer\030\004 \001(\005\022\016\n\006strMD5"
  1625. "\030\005 \001(\t\"d\n\020XPhone_TextInput\022(\n\004head\030\001 \001(\013"
  1626. "2\032.XPhonePlus.XPhone_MsgBase\022\022\n\niInputTy"
  1627. "pe\030\002 \001(\005\022\022\n\nstrContent\030\003 \001(\t\"d\n\020XPhone_N"
  1628. "oticeReq\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPho"
  1629. "ne_MsgBase\022\022\n\nstrChannel\030\002 \001(\t\022\022\n\niClien"
  1630. "tVer\030\003 \001(\005\"P\n\020XPhone_NoticeRsp\022(\n\004head\030\001"
  1631. " \001(\0132\032.XPhonePlus.XPhone_MsgBase\022\022\n\nnoti"
  1632. "ceList\030\002 \003(\t\"K\n\013XPhone_Test\022(\n\004head\030\001 \001("
  1633. "\0132\032.XPhonePlus.XPhone_MsgBase\022\022\n\nparamLi"
  1634. "sts\030\002 \003(\t\"\244\002\n\016XPhone_Setting\022(\n\004head\030\001 \001"
  1635. "(\0132\032.XPhonePlus.XPhone_MsgBase\022\017\n\007zanTim"
  1636. "e\030\002 \001(\005\022\030\n\020autoQianghongbao\030\003 \001(\010\022\025\n\raut"
  1637. "oPlaymusic\030\004 \001(\010\022\024\n\014autoLoadTask\030\005 \001(\010\022\020"
  1638. "\n\010unrecall\030\006 \001(\010\022\024\n\014enablemsgtip\030\007 \001(\010\022\021"
  1639. "\n\tyaoshaizi\030\010 \001(\005\022\017\n\007caiquan\030\t \001(\005\022\027\n\017en"
  1640. "ableautoreply\030\n \001(\010\022\026\n\016enablelocation\030\013 "
  1641. "\001(\010\022\023\n\013autosendmsg\030\014 \001(\010\"\312\001\n\025XPhone_Chec"
  1642. "kClientReq\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XP"
  1643. "hone_MsgBase\022\023\n\013strUserName\030\002 \001(\t\022\023\n\013mac"
  1644. "hinecode\030\003 \001(\t\022\017\n\007softver\030\004 \001(\005\022\022\n\nstrCh"
  1645. "annel\030\005 \001(\t\022\024\n\014connectcount\030\006 \001(\005\022\020\n\010wif"
  1646. "iname\030\007 \001(\t\022\020\n\010timespan\030\010 \001(\005\"f\n\025XPhone_"
  1647. "CheckClientRsp\022(\n\004head\030\001 \001(\0132\032.XPhonePlu"
  1648. "s.XPhone_MsgBase\022\021\n\terrorcode\030\002 \001(\005\022\020\n\010h"
  1649. "ashcode\030\003 \001(\t\"V\n\024XPhone_ImportWeichat\022(\n"
  1650. "\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022"
  1651. "\024\n\014weichatlists\030\002 \003(\t\"L\n\017XPhone_ImportQQ"
  1652. "\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBa"
  1653. "se\022\017\n\007qqlists\030\002 \003(\t\"Z\n\026XPhone_ImportGong"
  1654. "Zhong\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_"
  1655. "MsgBase\022\026\n\016gongzhonglists\030\002 \003(\t\"n\n\022XPhon"
  1656. "e_WifiConnect\022(\n\004head\030\001 \001(\0132\032.XPhonePlus"
  1657. ".XPhone_MsgBase\022\r\n\005strIP\030\002 \001(\t\022\r\n\005iPort\030"
  1658. "\003 \001(\005\022\020\n\010bConnect\030\004 \001(\010\"d\n\024XPhone_AdbCom"
  1659. "mandReq\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhon"
  1660. "e_MsgBase\022\024\n\014commandLists\030\002 \003(\t\022\014\n\004mode\030"
  1661. "\003 \001(\005\"S\n\024XPhone_AdbCommandRsp\022(\n\004head\030\001 "
  1662. "\001(\0132\032.XPhonePlus.XPhone_MsgBase\022\021\n\tstrRe"
  1663. "sult\030\002 \001(\t\"j\n\030XPhone_CaijiAddressIDReq\022("
  1664. "\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase"
  1665. "\022\024\n\014phoneNumbers\030\002 \003(\t\022\016\n\006bClear\030\003 \001(\010\"C"
  1666. "\n\027XPhone_CaijiNearbyIDReq\022(\n\004head\030\001 \001(\0132"
  1667. "\032.XPhonePlus.XPhone_MsgBase\"C\n\027XPhone_Ca"
  1668. "ijiFriendIDReq\022(\n\004head\030\001 \001(\0132\032.XPhonePlu"
  1669. "s.XPhone_MsgBase\"X\n\rXPhone_IDInfo\022\r\n\005str"
  1670. "id\030\001 \001(\t\022\023\n\013strusername\030\002 \001(\t\022\025\n\rstrnick"
  1671. "ername\030\003 \001(\t\022\014\n\004isex\030\004 \001(\005\"e\n\021XPhone_Cai"
  1672. "jiIDRsp\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhon"
  1673. "e_MsgBase\022&\n\003ids\030\002 \003(\0132\031.XPhonePlus.XPho"
  1674. "ne_IDInfo*]\n\023XPhone_DeviceChange\022\027\n\023Devi"
  1675. "ceChange_Unknow\020\000\022\024\n\020DeviceChange_Add\020\001\022"
  1676. "\027\n\023DeviceChange_Remove\020\002*U\n\021XPhone_TaskA"
  1677. "ction\022\025\n\021TaskAction_Unknow\020\000\022\024\n\020TaskActi"
  1678. "on_Start\020\001\022\023\n\017TaskAction_Stop\020\002*Y\n\021XPhon"
  1679. "e_TaskStatus\022\026\n\022TaskStatusn_Unknow\020\000\022\025\n\021"
  1680. "TaskStatus_Finish\020\001\022\025\n\021TaskStatus_Cancle"
  1681. "\020\002*\311\003\n\017XPhone_TaskType\022\023\n\017TaskType_Unkno"
  1682. "w\020\000\022\026\n\022TaskType_AddNearby\020\001\022\033\n\027TaskType_"
  1683. "AddAddressbook\020\002\022\022\n\016TaskType_Radar\020\003\022\025\n\021"
  1684. "TaskType_Yaoyiyao\020\004\022\024\n\020TaskType_SendSNS\020"
  1685. "\005\022\034\n\030TaskType_SendChatroomMsg\020\006\022\033\n\027TaskT"
  1686. "ype_SendContactMsg\020\007\022\036\n\032TaskType_AddChat"
  1687. "roomMember\020\010\022\025\n\021TaskType_Location\020\t\022\026\n\022T"
  1688. "askType_OneKeyZan\020\013\022\032\n\026TaskType_DeleteZo"
  1689. "mbine\020\014\022\035\n\031TaskType_AddWeichatFriend\020\r\022\030"
  1690. "\n\024TaskType_AddQQFriend\020\016\022\031\n\025TaskType_Add"
  1691. "Gongzhong\020\017\022\026\n\022TaskType_AutoReply\020\020\022\031\n\025T"
  1692. "askType_StartWeichat\020\021*\221\014\n\016XPhone_MsgTyp"
  1693. "e\022\031\n\025MsgType_DeviceInfoReq\020\000\022\031\n\025MsgType_"
  1694. "DeviceInfoRsp\020\001\022\027\n\023MsgType_SendFileReq\020\002"
  1695. "\022\027\n\023MsgType_SendFileRsp\020\003\022\033\n\027MsgType_Loc"
  1696. "ationSetting\020\004\022\034\n\030MsgType_AddNearbySetti"
  1697. "ng\020\005\022\036\n\032MsgType_AddressBookSetting\020\006\022\030\n\024"
  1698. "MsgType_RadarSetting\020\007\022\033\n\027MsgType_Yaoyiy"
  1699. "aoSetting\020\010\022\034\n\030MsgType_AutoReplySetting\020"
  1700. "\t\022\026\n\022MsgType_SnsSetting\020\n\022\036\n\032MsgType_Cha"
  1701. "troomMsgSetting\020\013\022\035\n\031MsgType_ContactMsgS"
  1702. "etting\020\014\022$\n MsgType_AddChatroomMemberSet"
  1703. "ting\020\r\022\023\n\017MsgType_TaskReq\020\016\022\023\n\017MsgType_T"
  1704. "askRsp\020\017\022\033\n\027MsgType_ChatroomInfoReq\020\020\022\032\n"
  1705. "\026MsgType_ContactInfoReq\020\021\022\033\n\027MsgType_Cha"
  1706. "troomInfoRsp\020\022\022\032\n\026MsgType_ContactInfoRsp"
  1707. "\020\023\022\033\n\027MsgType_NotifyUserLogin\020\024\022\032\n\026MsgTy"
  1708. "pe_FunctionSwitch\020\025\022\027\n\023MsgType_RecvChatM"
  1709. "sg\020\026\022\031\n\025MsgType_ImportContact\020\027\022\030\n\024MsgTy"
  1710. "pe_OpenActivity\020\030\022\027\n\023MsgType_StopAddress"
  1711. "\020\031\022\030\n\024MsgType_UnlockScreen\020\032\022\033\n\027MsgType_"
  1712. "SaveWeichatShot\020\033\022\036\n\032MsgType_RestoreWeic"
  1713. "hatShot\020\034\022\031\n\025MsgType_GetLoginUsers\020\035\022\033\n\027"
  1714. "MsgType_ClearLoginUsers\020\036\022\032\n\026MsgType_Res"
  1715. "tTaskStatus\020\037\022\027\n\023MsgType_StopAllTask\020 \022\026"
  1716. "\n\022MsgType_LockScreen\020!\022\023\n\017MsgType_ChatMs"
  1717. "g\020\"\022\027\n\023MsgType_SendChatMsg\020#\022\032\n\026MsgType_"
  1718. "SystemLoginReq\020%\022\032\n\026MsgType_SystemLoginR"
  1719. "sp\020&\022\033\n\027MsgType_SystemUpdateReq\020\'\022\033\n\027Msg"
  1720. "Type_SystemUpdateRsp\020(\022\025\n\021MsgType_TextIn"
  1721. "put\020)\022\025\n\021MsgType_NoticeReq\020*\022\025\n\021MsgType_"
  1722. "NoticeRsp\020+\022\020\n\014MsgType_Test\020,\022\023\n\017MsgType"
  1723. "_Setting\020-\022\032\n\026MsgType_CheckClientReq\020.\022\032"
  1724. "\n\026MsgType_CheckClientRsp\020/\022\031\n\025MsgType_Im"
  1725. "portWeichat\0200\022\024\n\020MsgType_ImportQQ\0201\022\033\n\027M"
  1726. "sgType_ImportGongzhong\0202\022\027\n\023MsgType_Wifi"
  1727. "Connect\0203\022\031\n\025MsgType_AdbCommandReq\0204\022\031\n\025"
  1728. "MsgType_AdbCommandRsp\0205\022\035\n\031MsgType_Caiji"
  1729. "AddressIDReq\0206\022\034\n\030MsgType_CaijiNearbyIDR"
  1730. "eq\0207\022\026\n\022MsgType_CaijiIDRsp\0208\022\034\n\030MsgType_"
  1731. "CaijiFriendIDReq\0209b\006proto3", 9546);
  1732. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  1733. "common.proto", &protobuf_RegisterTypes);
  1734. XPhone_BaseResponse::default_instance_ = new XPhone_BaseResponse();
  1735. XPhone_MsgBase::default_instance_ = new XPhone_MsgBase();
  1736. XPhone_ReqHead::default_instance_ = new XPhone_ReqHead();
  1737. XPhone_GetDeviceInfo::default_instance_ = new XPhone_GetDeviceInfo();
  1738. XPhone_DeviceInfo::default_instance_ = new XPhone_DeviceInfo();
  1739. XPhone_SendFile::default_instance_ = new XPhone_SendFile();
  1740. XPhone_LocationSetting::default_instance_ = new XPhone_LocationSetting();
  1741. XPhone_AddNearbySetting::default_instance_ = new XPhone_AddNearbySetting();
  1742. XPhone_AddressBookSetting::default_instance_ = new XPhone_AddressBookSetting();
  1743. XPhone_RadarSetting::default_instance_ = new XPhone_RadarSetting();
  1744. XPhone_YaoyiyaoSetting::default_instance_ = new XPhone_YaoyiyaoSetting();
  1745. XPhone_AutoReplyMsg::default_instance_ = new XPhone_AutoReplyMsg();
  1746. XPhone_AutoReplySetting::default_instance_ = new XPhone_AutoReplySetting();
  1747. XPhone_FunctionSwitch::default_instance_ = new XPhone_FunctionSwitch();
  1748. XPhone_SnsMsg::default_instance_ = new XPhone_SnsMsg();
  1749. XPhone_SnsSetting::default_instance_ = new XPhone_SnsSetting();
  1750. XPhone_ChatroomMsgSetting::default_instance_ = new XPhone_ChatroomMsgSetting();
  1751. XPhone_ContactMsgSetting::default_instance_ = new XPhone_ContactMsgSetting();
  1752. XPhone_AddChatroomMemberSetting::default_instance_ = new XPhone_AddChatroomMemberSetting();
  1753. XPhone_Array::default_instance_ = new XPhone_Array();
  1754. XPhone_LocalTaskParam::default_instance_ = new XPhone_LocalTaskParam();
  1755. XPhone_TaskReq::default_instance_ = new XPhone_TaskReq();
  1756. XPhone_TaskRsp::default_instance_ = new XPhone_TaskRsp();
  1757. XPhone_ContactInfo::default_instance_ = new XPhone_ContactInfo();
  1758. XPhone_ContactInfoRsp::default_instance_ = new XPhone_ContactInfoRsp();
  1759. XPhone_ChatRoomInfoReq::default_instance_ = new XPhone_ChatRoomInfoReq();
  1760. XPhone_ChatRoomInfo::default_instance_ = new XPhone_ChatRoomInfo();
  1761. XPhone_ChatroomInfoRsp::default_instance_ = new XPhone_ChatroomInfoRsp();
  1762. XPhone_LoginUserinfo::default_instance_ = new XPhone_LoginUserinfo();
  1763. XPhone_RecvChatMsg::default_instance_ = new XPhone_RecvChatMsg();
  1764. XPhone_ChatMsg::default_instance_ = new XPhone_ChatMsg();
  1765. XPhone_SendChatMsg::default_instance_ = new XPhone_SendChatMsg();
  1766. XPhone_ImportContact::default_instance_ = new XPhone_ImportContact();
  1767. XPhone_OpenActivity::default_instance_ = new XPhone_OpenActivity();
  1768. XPhone_RestoreWeichatShot::default_instance_ = new XPhone_RestoreWeichatShot();
  1769. XPhone_AllLoginUsers::default_instance_ = new XPhone_AllLoginUsers();
  1770. XPhone_SystemLoginReq::default_instance_ = new XPhone_SystemLoginReq();
  1771. XPhone_SystemLoginRsp::default_instance_ = new XPhone_SystemLoginRsp();
  1772. XPhone_SystemUpdateReq::default_instance_ = new XPhone_SystemUpdateReq();
  1773. XPhone_SystemUpdateRsp::default_instance_ = new XPhone_SystemUpdateRsp();
  1774. XPhone_TextInput::default_instance_ = new XPhone_TextInput();
  1775. XPhone_NoticeReq::default_instance_ = new XPhone_NoticeReq();
  1776. XPhone_NoticeRsp::default_instance_ = new XPhone_NoticeRsp();
  1777. XPhone_Test::default_instance_ = new XPhone_Test();
  1778. XPhone_Setting::default_instance_ = new XPhone_Setting();
  1779. XPhone_CheckClientReq::default_instance_ = new XPhone_CheckClientReq();
  1780. XPhone_CheckClientRsp::default_instance_ = new XPhone_CheckClientRsp();
  1781. XPhone_ImportWeichat::default_instance_ = new XPhone_ImportWeichat();
  1782. XPhone_ImportQQ::default_instance_ = new XPhone_ImportQQ();
  1783. XPhone_ImportGongZhong::default_instance_ = new XPhone_ImportGongZhong();
  1784. XPhone_WifiConnect::default_instance_ = new XPhone_WifiConnect();
  1785. XPhone_AdbCommandReq::default_instance_ = new XPhone_AdbCommandReq();
  1786. XPhone_AdbCommandRsp::default_instance_ = new XPhone_AdbCommandRsp();
  1787. XPhone_CaijiAddressIDReq::default_instance_ = new XPhone_CaijiAddressIDReq();
  1788. XPhone_CaijiNearbyIDReq::default_instance_ = new XPhone_CaijiNearbyIDReq();
  1789. XPhone_CaijiFriendIDReq::default_instance_ = new XPhone_CaijiFriendIDReq();
  1790. XPhone_IDInfo::default_instance_ = new XPhone_IDInfo();
  1791. XPhone_CaijiIDRsp::default_instance_ = new XPhone_CaijiIDRsp();
  1792. XPhone_BaseResponse::default_instance_->InitAsDefaultInstance();
  1793. XPhone_MsgBase::default_instance_->InitAsDefaultInstance();
  1794. XPhone_ReqHead::default_instance_->InitAsDefaultInstance();
  1795. XPhone_GetDeviceInfo::default_instance_->InitAsDefaultInstance();
  1796. XPhone_DeviceInfo::default_instance_->InitAsDefaultInstance();
  1797. XPhone_SendFile::default_instance_->InitAsDefaultInstance();
  1798. XPhone_LocationSetting::default_instance_->InitAsDefaultInstance();
  1799. XPhone_AddNearbySetting::default_instance_->InitAsDefaultInstance();
  1800. XPhone_AddressBookSetting::default_instance_->InitAsDefaultInstance();
  1801. XPhone_RadarSetting::default_instance_->InitAsDefaultInstance();
  1802. XPhone_YaoyiyaoSetting::default_instance_->InitAsDefaultInstance();
  1803. XPhone_AutoReplyMsg::default_instance_->InitAsDefaultInstance();
  1804. XPhone_AutoReplySetting::default_instance_->InitAsDefaultInstance();
  1805. XPhone_FunctionSwitch::default_instance_->InitAsDefaultInstance();
  1806. XPhone_SnsMsg::default_instance_->InitAsDefaultInstance();
  1807. XPhone_SnsSetting::default_instance_->InitAsDefaultInstance();
  1808. XPhone_ChatroomMsgSetting::default_instance_->InitAsDefaultInstance();
  1809. XPhone_ContactMsgSetting::default_instance_->InitAsDefaultInstance();
  1810. XPhone_AddChatroomMemberSetting::default_instance_->InitAsDefaultInstance();
  1811. XPhone_Array::default_instance_->InitAsDefaultInstance();
  1812. XPhone_LocalTaskParam::default_instance_->InitAsDefaultInstance();
  1813. XPhone_TaskReq::default_instance_->InitAsDefaultInstance();
  1814. XPhone_TaskRsp::default_instance_->InitAsDefaultInstance();
  1815. XPhone_ContactInfo::default_instance_->InitAsDefaultInstance();
  1816. XPhone_ContactInfoRsp::default_instance_->InitAsDefaultInstance();
  1817. XPhone_ChatRoomInfoReq::default_instance_->InitAsDefaultInstance();
  1818. XPhone_ChatRoomInfo::default_instance_->InitAsDefaultInstance();
  1819. XPhone_ChatroomInfoRsp::default_instance_->InitAsDefaultInstance();
  1820. XPhone_LoginUserinfo::default_instance_->InitAsDefaultInstance();
  1821. XPhone_RecvChatMsg::default_instance_->InitAsDefaultInstance();
  1822. XPhone_ChatMsg::default_instance_->InitAsDefaultInstance();
  1823. XPhone_SendChatMsg::default_instance_->InitAsDefaultInstance();
  1824. XPhone_ImportContact::default_instance_->InitAsDefaultInstance();
  1825. XPhone_OpenActivity::default_instance_->InitAsDefaultInstance();
  1826. XPhone_RestoreWeichatShot::default_instance_->InitAsDefaultInstance();
  1827. XPhone_AllLoginUsers::default_instance_->InitAsDefaultInstance();
  1828. XPhone_SystemLoginReq::default_instance_->InitAsDefaultInstance();
  1829. XPhone_SystemLoginRsp::default_instance_->InitAsDefaultInstance();
  1830. XPhone_SystemUpdateReq::default_instance_->InitAsDefaultInstance();
  1831. XPhone_SystemUpdateRsp::default_instance_->InitAsDefaultInstance();
  1832. XPhone_TextInput::default_instance_->InitAsDefaultInstance();
  1833. XPhone_NoticeReq::default_instance_->InitAsDefaultInstance();
  1834. XPhone_NoticeRsp::default_instance_->InitAsDefaultInstance();
  1835. XPhone_Test::default_instance_->InitAsDefaultInstance();
  1836. XPhone_Setting::default_instance_->InitAsDefaultInstance();
  1837. XPhone_CheckClientReq::default_instance_->InitAsDefaultInstance();
  1838. XPhone_CheckClientRsp::default_instance_->InitAsDefaultInstance();
  1839. XPhone_ImportWeichat::default_instance_->InitAsDefaultInstance();
  1840. XPhone_ImportQQ::default_instance_->InitAsDefaultInstance();
  1841. XPhone_ImportGongZhong::default_instance_->InitAsDefaultInstance();
  1842. XPhone_WifiConnect::default_instance_->InitAsDefaultInstance();
  1843. XPhone_AdbCommandReq::default_instance_->InitAsDefaultInstance();
  1844. XPhone_AdbCommandRsp::default_instance_->InitAsDefaultInstance();
  1845. XPhone_CaijiAddressIDReq::default_instance_->InitAsDefaultInstance();
  1846. XPhone_CaijiNearbyIDReq::default_instance_->InitAsDefaultInstance();
  1847. XPhone_CaijiFriendIDReq::default_instance_->InitAsDefaultInstance();
  1848. XPhone_IDInfo::default_instance_->InitAsDefaultInstance();
  1849. XPhone_CaijiIDRsp::default_instance_->InitAsDefaultInstance();
  1850. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_common_2eproto);
  1851. }
  1852. // Force AddDescriptors() to be called at static initialization time.
  1853. struct StaticDescriptorInitializer_common_2eproto {
  1854. StaticDescriptorInitializer_common_2eproto() {
  1855. protobuf_AddDesc_common_2eproto();
  1856. }
  1857. } static_descriptor_initializer_common_2eproto_;
  1858. const ::google::protobuf::EnumDescriptor* XPhone_DeviceChange_descriptor() {
  1859. protobuf_AssignDescriptorsOnce();
  1860. return XPhone_DeviceChange_descriptor_;
  1861. }
  1862. bool XPhone_DeviceChange_IsValid(int value) {
  1863. switch(value) {
  1864. case 0:
  1865. case 1:
  1866. case 2:
  1867. return true;
  1868. default:
  1869. return false;
  1870. }
  1871. }
  1872. const ::google::protobuf::EnumDescriptor* XPhone_TaskAction_descriptor() {
  1873. protobuf_AssignDescriptorsOnce();
  1874. return XPhone_TaskAction_descriptor_;
  1875. }
  1876. bool XPhone_TaskAction_IsValid(int value) {
  1877. switch(value) {
  1878. case 0:
  1879. case 1:
  1880. case 2:
  1881. return true;
  1882. default:
  1883. return false;
  1884. }
  1885. }
  1886. const ::google::protobuf::EnumDescriptor* XPhone_TaskStatus_descriptor() {
  1887. protobuf_AssignDescriptorsOnce();
  1888. return XPhone_TaskStatus_descriptor_;
  1889. }
  1890. bool XPhone_TaskStatus_IsValid(int value) {
  1891. switch(value) {
  1892. case 0:
  1893. case 1:
  1894. case 2:
  1895. return true;
  1896. default:
  1897. return false;
  1898. }
  1899. }
  1900. const ::google::protobuf::EnumDescriptor* XPhone_TaskType_descriptor() {
  1901. protobuf_AssignDescriptorsOnce();
  1902. return XPhone_TaskType_descriptor_;
  1903. }
  1904. bool XPhone_TaskType_IsValid(int value) {
  1905. switch(value) {
  1906. case 0:
  1907. case 1:
  1908. case 2:
  1909. case 3:
  1910. case 4:
  1911. case 5:
  1912. case 6:
  1913. case 7:
  1914. case 8:
  1915. case 9:
  1916. case 11:
  1917. case 12:
  1918. case 13:
  1919. case 14:
  1920. case 15:
  1921. case 16:
  1922. case 17:
  1923. return true;
  1924. default:
  1925. return false;
  1926. }
  1927. }
  1928. const ::google::protobuf::EnumDescriptor* XPhone_MsgType_descriptor() {
  1929. protobuf_AssignDescriptorsOnce();
  1930. return XPhone_MsgType_descriptor_;
  1931. }
  1932. bool XPhone_MsgType_IsValid(int value) {
  1933. switch(value) {
  1934. case 0:
  1935. case 1:
  1936. case 2:
  1937. case 3:
  1938. case 4:
  1939. case 5:
  1940. case 6:
  1941. case 7:
  1942. case 8:
  1943. case 9:
  1944. case 10:
  1945. case 11:
  1946. case 12:
  1947. case 13:
  1948. case 14:
  1949. case 15:
  1950. case 16:
  1951. case 17:
  1952. case 18:
  1953. case 19:
  1954. case 20:
  1955. case 21:
  1956. case 22:
  1957. case 23:
  1958. case 24:
  1959. case 25:
  1960. case 26:
  1961. case 27:
  1962. case 28:
  1963. case 29:
  1964. case 30:
  1965. case 31:
  1966. case 32:
  1967. case 33:
  1968. case 34:
  1969. case 35:
  1970. case 37:
  1971. case 38:
  1972. case 39:
  1973. case 40:
  1974. case 41:
  1975. case 42:
  1976. case 43:
  1977. case 44:
  1978. case 45:
  1979. case 46:
  1980. case 47:
  1981. case 48:
  1982. case 49:
  1983. case 50:
  1984. case 51:
  1985. case 52:
  1986. case 53:
  1987. case 54:
  1988. case 55:
  1989. case 56:
  1990. case 57:
  1991. return true;
  1992. default:
  1993. return false;
  1994. }
  1995. }
  1996. namespace {
  1997. static void MergeFromFail(int line) GOOGLE_ATTRIBUTE_COLD;
  1998. static void MergeFromFail(int line) {
  1999. GOOGLE_CHECK(false) << __FILE__ << ":" << line;
  2000. }
  2001. } // namespace
  2002. // ===================================================================
  2003. #ifndef _MSC_VER
  2004. const int XPhone_BaseResponse::kMsgTypeFieldNumber;
  2005. const int XPhone_BaseResponse::kIErrorCodeFieldNumber;
  2006. #endif // !_MSC_VER
  2007. XPhone_BaseResponse::XPhone_BaseResponse()
  2008. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2009. SharedCtor();
  2010. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_BaseResponse)
  2011. }
  2012. void XPhone_BaseResponse::InitAsDefaultInstance() {
  2013. _is_default_instance_ = true;
  2014. }
  2015. XPhone_BaseResponse::XPhone_BaseResponse(const XPhone_BaseResponse& from)
  2016. : ::google::protobuf::Message(),
  2017. _internal_metadata_(NULL) {
  2018. SharedCtor();
  2019. MergeFrom(from);
  2020. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_BaseResponse)
  2021. }
  2022. void XPhone_BaseResponse::SharedCtor() {
  2023. _is_default_instance_ = false;
  2024. _cached_size_ = 0;
  2025. msgtype_ = 0;
  2026. ierrorcode_ = 0;
  2027. }
  2028. XPhone_BaseResponse::~XPhone_BaseResponse() {
  2029. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_BaseResponse)
  2030. SharedDtor();
  2031. }
  2032. void XPhone_BaseResponse::SharedDtor() {
  2033. if (this != default_instance_) {
  2034. }
  2035. }
  2036. void XPhone_BaseResponse::SetCachedSize(int size) const {
  2037. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2038. _cached_size_ = size;
  2039. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2040. }
  2041. const ::google::protobuf::Descriptor* XPhone_BaseResponse::descriptor() {
  2042. protobuf_AssignDescriptorsOnce();
  2043. return XPhone_BaseResponse_descriptor_;
  2044. }
  2045. const XPhone_BaseResponse& XPhone_BaseResponse::default_instance() {
  2046. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  2047. return *default_instance_;
  2048. }
  2049. XPhone_BaseResponse* XPhone_BaseResponse::default_instance_ = NULL;
  2050. XPhone_BaseResponse* XPhone_BaseResponse::New(::google::protobuf::Arena* arena) const {
  2051. XPhone_BaseResponse* n = new XPhone_BaseResponse;
  2052. if (arena != NULL) {
  2053. arena->Own(n);
  2054. }
  2055. return n;
  2056. }
  2057. void XPhone_BaseResponse::Clear() {
  2058. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  2059. &reinterpret_cast<XPhone_BaseResponse*>(16)->f)
  2060. #define ZR_(first, last) do {\
  2061. ::memset(&first, 0,\
  2062. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  2063. } while (0)
  2064. ZR_(msgtype_, ierrorcode_);
  2065. #undef ZR_HELPER_
  2066. #undef ZR_
  2067. }
  2068. bool XPhone_BaseResponse::MergePartialFromCodedStream(
  2069. ::google::protobuf::io::CodedInputStream* input) {
  2070. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  2071. ::google::protobuf::uint32 tag;
  2072. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_BaseResponse)
  2073. for (;;) {
  2074. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  2075. tag = p.first;
  2076. if (!p.second) goto handle_unusual;
  2077. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2078. // optional .XPhonePlus.XPhone_MsgType msgType = 1;
  2079. case 1: {
  2080. if (tag == 8) {
  2081. int value;
  2082. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2083. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2084. input, &value)));
  2085. set_msgtype(static_cast< ::XPhonePlus::XPhone_MsgType >(value));
  2086. } else {
  2087. goto handle_unusual;
  2088. }
  2089. if (input->ExpectTag(16)) goto parse_iErrorCode;
  2090. break;
  2091. }
  2092. // optional int32 iErrorCode = 2;
  2093. case 2: {
  2094. if (tag == 16) {
  2095. parse_iErrorCode:
  2096. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2097. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2098. input, &ierrorcode_)));
  2099. } else {
  2100. goto handle_unusual;
  2101. }
  2102. if (input->ExpectAtEnd()) goto success;
  2103. break;
  2104. }
  2105. default: {
  2106. handle_unusual:
  2107. if (tag == 0 ||
  2108. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2109. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2110. goto success;
  2111. }
  2112. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  2113. break;
  2114. }
  2115. }
  2116. }
  2117. success:
  2118. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_BaseResponse)
  2119. return true;
  2120. failure:
  2121. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_BaseResponse)
  2122. return false;
  2123. #undef DO_
  2124. }
  2125. void XPhone_BaseResponse::SerializeWithCachedSizes(
  2126. ::google::protobuf::io::CodedOutputStream* output) const {
  2127. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_BaseResponse)
  2128. // optional .XPhonePlus.XPhone_MsgType msgType = 1;
  2129. if (this->msgtype() != 0) {
  2130. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2131. 1, this->msgtype(), output);
  2132. }
  2133. // optional int32 iErrorCode = 2;
  2134. if (this->ierrorcode() != 0) {
  2135. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ierrorcode(), output);
  2136. }
  2137. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_BaseResponse)
  2138. }
  2139. ::google::protobuf::uint8* XPhone_BaseResponse::SerializeWithCachedSizesToArray(
  2140. ::google::protobuf::uint8* target) const {
  2141. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_BaseResponse)
  2142. // optional .XPhonePlus.XPhone_MsgType msgType = 1;
  2143. if (this->msgtype() != 0) {
  2144. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2145. 1, this->msgtype(), target);
  2146. }
  2147. // optional int32 iErrorCode = 2;
  2148. if (this->ierrorcode() != 0) {
  2149. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ierrorcode(), target);
  2150. }
  2151. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_BaseResponse)
  2152. return target;
  2153. }
  2154. int XPhone_BaseResponse::ByteSize() const {
  2155. int total_size = 0;
  2156. // optional .XPhonePlus.XPhone_MsgType msgType = 1;
  2157. if (this->msgtype() != 0) {
  2158. total_size += 1 +
  2159. ::google::protobuf::internal::WireFormatLite::EnumSize(this->msgtype());
  2160. }
  2161. // optional int32 iErrorCode = 2;
  2162. if (this->ierrorcode() != 0) {
  2163. total_size += 1 +
  2164. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2165. this->ierrorcode());
  2166. }
  2167. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2168. _cached_size_ = total_size;
  2169. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2170. return total_size;
  2171. }
  2172. void XPhone_BaseResponse::MergeFrom(const ::google::protobuf::Message& from) {
  2173. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  2174. const XPhone_BaseResponse* source =
  2175. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_BaseResponse>(
  2176. &from);
  2177. if (source == NULL) {
  2178. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2179. } else {
  2180. MergeFrom(*source);
  2181. }
  2182. }
  2183. void XPhone_BaseResponse::MergeFrom(const XPhone_BaseResponse& from) {
  2184. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  2185. if (from.msgtype() != 0) {
  2186. set_msgtype(from.msgtype());
  2187. }
  2188. if (from.ierrorcode() != 0) {
  2189. set_ierrorcode(from.ierrorcode());
  2190. }
  2191. }
  2192. void XPhone_BaseResponse::CopyFrom(const ::google::protobuf::Message& from) {
  2193. if (&from == this) return;
  2194. Clear();
  2195. MergeFrom(from);
  2196. }
  2197. void XPhone_BaseResponse::CopyFrom(const XPhone_BaseResponse& from) {
  2198. if (&from == this) return;
  2199. Clear();
  2200. MergeFrom(from);
  2201. }
  2202. bool XPhone_BaseResponse::IsInitialized() const {
  2203. return true;
  2204. }
  2205. void XPhone_BaseResponse::Swap(XPhone_BaseResponse* other) {
  2206. if (other == this) return;
  2207. InternalSwap(other);
  2208. }
  2209. void XPhone_BaseResponse::InternalSwap(XPhone_BaseResponse* other) {
  2210. std::swap(msgtype_, other->msgtype_);
  2211. std::swap(ierrorcode_, other->ierrorcode_);
  2212. _internal_metadata_.Swap(&other->_internal_metadata_);
  2213. std::swap(_cached_size_, other->_cached_size_);
  2214. }
  2215. ::google::protobuf::Metadata XPhone_BaseResponse::GetMetadata() const {
  2216. protobuf_AssignDescriptorsOnce();
  2217. ::google::protobuf::Metadata metadata;
  2218. metadata.descriptor = XPhone_BaseResponse_descriptor_;
  2219. metadata.reflection = XPhone_BaseResponse_reflection_;
  2220. return metadata;
  2221. }
  2222. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  2223. // XPhone_BaseResponse
  2224. // optional .XPhonePlus.XPhone_MsgType msgType = 1;
  2225. void XPhone_BaseResponse::clear_msgtype() {
  2226. msgtype_ = 0;
  2227. }
  2228. ::XPhonePlus::XPhone_MsgType XPhone_BaseResponse::msgtype() const {
  2229. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_BaseResponse.msgType)
  2230. return static_cast< ::XPhonePlus::XPhone_MsgType >(msgtype_);
  2231. }
  2232. void XPhone_BaseResponse::set_msgtype(::XPhonePlus::XPhone_MsgType value) {
  2233. msgtype_ = value;
  2234. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_BaseResponse.msgType)
  2235. }
  2236. // optional int32 iErrorCode = 2;
  2237. void XPhone_BaseResponse::clear_ierrorcode() {
  2238. ierrorcode_ = 0;
  2239. }
  2240. ::google::protobuf::int32 XPhone_BaseResponse::ierrorcode() const {
  2241. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_BaseResponse.iErrorCode)
  2242. return ierrorcode_;
  2243. }
  2244. void XPhone_BaseResponse::set_ierrorcode(::google::protobuf::int32 value) {
  2245. ierrorcode_ = value;
  2246. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_BaseResponse.iErrorCode)
  2247. }
  2248. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  2249. // ===================================================================
  2250. #ifndef _MSC_VER
  2251. const int XPhone_MsgBase::kMsgTypeFieldNumber;
  2252. #endif // !_MSC_VER
  2253. XPhone_MsgBase::XPhone_MsgBase()
  2254. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2255. SharedCtor();
  2256. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_MsgBase)
  2257. }
  2258. void XPhone_MsgBase::InitAsDefaultInstance() {
  2259. _is_default_instance_ = true;
  2260. }
  2261. XPhone_MsgBase::XPhone_MsgBase(const XPhone_MsgBase& from)
  2262. : ::google::protobuf::Message(),
  2263. _internal_metadata_(NULL) {
  2264. SharedCtor();
  2265. MergeFrom(from);
  2266. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_MsgBase)
  2267. }
  2268. void XPhone_MsgBase::SharedCtor() {
  2269. _is_default_instance_ = false;
  2270. _cached_size_ = 0;
  2271. msgtype_ = 0;
  2272. }
  2273. XPhone_MsgBase::~XPhone_MsgBase() {
  2274. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_MsgBase)
  2275. SharedDtor();
  2276. }
  2277. void XPhone_MsgBase::SharedDtor() {
  2278. if (this != default_instance_) {
  2279. }
  2280. }
  2281. void XPhone_MsgBase::SetCachedSize(int size) const {
  2282. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2283. _cached_size_ = size;
  2284. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2285. }
  2286. const ::google::protobuf::Descriptor* XPhone_MsgBase::descriptor() {
  2287. protobuf_AssignDescriptorsOnce();
  2288. return XPhone_MsgBase_descriptor_;
  2289. }
  2290. const XPhone_MsgBase& XPhone_MsgBase::default_instance() {
  2291. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  2292. return *default_instance_;
  2293. }
  2294. XPhone_MsgBase* XPhone_MsgBase::default_instance_ = NULL;
  2295. XPhone_MsgBase* XPhone_MsgBase::New(::google::protobuf::Arena* arena) const {
  2296. XPhone_MsgBase* n = new XPhone_MsgBase;
  2297. if (arena != NULL) {
  2298. arena->Own(n);
  2299. }
  2300. return n;
  2301. }
  2302. void XPhone_MsgBase::Clear() {
  2303. msgtype_ = 0;
  2304. }
  2305. bool XPhone_MsgBase::MergePartialFromCodedStream(
  2306. ::google::protobuf::io::CodedInputStream* input) {
  2307. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  2308. ::google::protobuf::uint32 tag;
  2309. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_MsgBase)
  2310. for (;;) {
  2311. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  2312. tag = p.first;
  2313. if (!p.second) goto handle_unusual;
  2314. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2315. // optional .XPhonePlus.XPhone_MsgType msgType = 1;
  2316. case 1: {
  2317. if (tag == 8) {
  2318. int value;
  2319. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2320. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2321. input, &value)));
  2322. set_msgtype(static_cast< ::XPhonePlus::XPhone_MsgType >(value));
  2323. } else {
  2324. goto handle_unusual;
  2325. }
  2326. if (input->ExpectAtEnd()) goto success;
  2327. break;
  2328. }
  2329. default: {
  2330. handle_unusual:
  2331. if (tag == 0 ||
  2332. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2333. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2334. goto success;
  2335. }
  2336. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  2337. break;
  2338. }
  2339. }
  2340. }
  2341. success:
  2342. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_MsgBase)
  2343. return true;
  2344. failure:
  2345. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_MsgBase)
  2346. return false;
  2347. #undef DO_
  2348. }
  2349. void XPhone_MsgBase::SerializeWithCachedSizes(
  2350. ::google::protobuf::io::CodedOutputStream* output) const {
  2351. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_MsgBase)
  2352. // optional .XPhonePlus.XPhone_MsgType msgType = 1;
  2353. if (this->msgtype() != 0) {
  2354. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2355. 1, this->msgtype(), output);
  2356. }
  2357. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_MsgBase)
  2358. }
  2359. ::google::protobuf::uint8* XPhone_MsgBase::SerializeWithCachedSizesToArray(
  2360. ::google::protobuf::uint8* target) const {
  2361. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_MsgBase)
  2362. // optional .XPhonePlus.XPhone_MsgType msgType = 1;
  2363. if (this->msgtype() != 0) {
  2364. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2365. 1, this->msgtype(), target);
  2366. }
  2367. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_MsgBase)
  2368. return target;
  2369. }
  2370. int XPhone_MsgBase::ByteSize() const {
  2371. int total_size = 0;
  2372. // optional .XPhonePlus.XPhone_MsgType msgType = 1;
  2373. if (this->msgtype() != 0) {
  2374. total_size += 1 +
  2375. ::google::protobuf::internal::WireFormatLite::EnumSize(this->msgtype());
  2376. }
  2377. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2378. _cached_size_ = total_size;
  2379. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2380. return total_size;
  2381. }
  2382. void XPhone_MsgBase::MergeFrom(const ::google::protobuf::Message& from) {
  2383. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  2384. const XPhone_MsgBase* source =
  2385. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_MsgBase>(
  2386. &from);
  2387. if (source == NULL) {
  2388. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2389. } else {
  2390. MergeFrom(*source);
  2391. }
  2392. }
  2393. void XPhone_MsgBase::MergeFrom(const XPhone_MsgBase& from) {
  2394. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  2395. if (from.msgtype() != 0) {
  2396. set_msgtype(from.msgtype());
  2397. }
  2398. }
  2399. void XPhone_MsgBase::CopyFrom(const ::google::protobuf::Message& from) {
  2400. if (&from == this) return;
  2401. Clear();
  2402. MergeFrom(from);
  2403. }
  2404. void XPhone_MsgBase::CopyFrom(const XPhone_MsgBase& from) {
  2405. if (&from == this) return;
  2406. Clear();
  2407. MergeFrom(from);
  2408. }
  2409. bool XPhone_MsgBase::IsInitialized() const {
  2410. return true;
  2411. }
  2412. void XPhone_MsgBase::Swap(XPhone_MsgBase* other) {
  2413. if (other == this) return;
  2414. InternalSwap(other);
  2415. }
  2416. void XPhone_MsgBase::InternalSwap(XPhone_MsgBase* other) {
  2417. std::swap(msgtype_, other->msgtype_);
  2418. _internal_metadata_.Swap(&other->_internal_metadata_);
  2419. std::swap(_cached_size_, other->_cached_size_);
  2420. }
  2421. ::google::protobuf::Metadata XPhone_MsgBase::GetMetadata() const {
  2422. protobuf_AssignDescriptorsOnce();
  2423. ::google::protobuf::Metadata metadata;
  2424. metadata.descriptor = XPhone_MsgBase_descriptor_;
  2425. metadata.reflection = XPhone_MsgBase_reflection_;
  2426. return metadata;
  2427. }
  2428. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  2429. // XPhone_MsgBase
  2430. // optional .XPhonePlus.XPhone_MsgType msgType = 1;
  2431. void XPhone_MsgBase::clear_msgtype() {
  2432. msgtype_ = 0;
  2433. }
  2434. ::XPhonePlus::XPhone_MsgType XPhone_MsgBase::msgtype() const {
  2435. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_MsgBase.msgType)
  2436. return static_cast< ::XPhonePlus::XPhone_MsgType >(msgtype_);
  2437. }
  2438. void XPhone_MsgBase::set_msgtype(::XPhonePlus::XPhone_MsgType value) {
  2439. msgtype_ = value;
  2440. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_MsgBase.msgType)
  2441. }
  2442. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  2443. // ===================================================================
  2444. #ifndef _MSC_VER
  2445. const int XPhone_ReqHead::kHeadFieldNumber;
  2446. #endif // !_MSC_VER
  2447. XPhone_ReqHead::XPhone_ReqHead()
  2448. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2449. SharedCtor();
  2450. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ReqHead)
  2451. }
  2452. void XPhone_ReqHead::InitAsDefaultInstance() {
  2453. _is_default_instance_ = true;
  2454. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  2455. }
  2456. XPhone_ReqHead::XPhone_ReqHead(const XPhone_ReqHead& from)
  2457. : ::google::protobuf::Message(),
  2458. _internal_metadata_(NULL) {
  2459. SharedCtor();
  2460. MergeFrom(from);
  2461. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ReqHead)
  2462. }
  2463. void XPhone_ReqHead::SharedCtor() {
  2464. _is_default_instance_ = false;
  2465. _cached_size_ = 0;
  2466. head_ = NULL;
  2467. }
  2468. XPhone_ReqHead::~XPhone_ReqHead() {
  2469. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ReqHead)
  2470. SharedDtor();
  2471. }
  2472. void XPhone_ReqHead::SharedDtor() {
  2473. if (this != default_instance_) {
  2474. delete head_;
  2475. }
  2476. }
  2477. void XPhone_ReqHead::SetCachedSize(int size) const {
  2478. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2479. _cached_size_ = size;
  2480. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2481. }
  2482. const ::google::protobuf::Descriptor* XPhone_ReqHead::descriptor() {
  2483. protobuf_AssignDescriptorsOnce();
  2484. return XPhone_ReqHead_descriptor_;
  2485. }
  2486. const XPhone_ReqHead& XPhone_ReqHead::default_instance() {
  2487. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  2488. return *default_instance_;
  2489. }
  2490. XPhone_ReqHead* XPhone_ReqHead::default_instance_ = NULL;
  2491. XPhone_ReqHead* XPhone_ReqHead::New(::google::protobuf::Arena* arena) const {
  2492. XPhone_ReqHead* n = new XPhone_ReqHead;
  2493. if (arena != NULL) {
  2494. arena->Own(n);
  2495. }
  2496. return n;
  2497. }
  2498. void XPhone_ReqHead::Clear() {
  2499. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  2500. head_ = NULL;
  2501. }
  2502. bool XPhone_ReqHead::MergePartialFromCodedStream(
  2503. ::google::protobuf::io::CodedInputStream* input) {
  2504. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  2505. ::google::protobuf::uint32 tag;
  2506. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ReqHead)
  2507. for (;;) {
  2508. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  2509. tag = p.first;
  2510. if (!p.second) goto handle_unusual;
  2511. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2512. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  2513. case 1: {
  2514. if (tag == 10) {
  2515. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2516. input, mutable_head()));
  2517. } else {
  2518. goto handle_unusual;
  2519. }
  2520. if (input->ExpectAtEnd()) goto success;
  2521. break;
  2522. }
  2523. default: {
  2524. handle_unusual:
  2525. if (tag == 0 ||
  2526. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2527. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2528. goto success;
  2529. }
  2530. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  2531. break;
  2532. }
  2533. }
  2534. }
  2535. success:
  2536. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ReqHead)
  2537. return true;
  2538. failure:
  2539. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ReqHead)
  2540. return false;
  2541. #undef DO_
  2542. }
  2543. void XPhone_ReqHead::SerializeWithCachedSizes(
  2544. ::google::protobuf::io::CodedOutputStream* output) const {
  2545. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ReqHead)
  2546. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  2547. if (this->has_head()) {
  2548. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2549. 1, *this->head_, output);
  2550. }
  2551. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ReqHead)
  2552. }
  2553. ::google::protobuf::uint8* XPhone_ReqHead::SerializeWithCachedSizesToArray(
  2554. ::google::protobuf::uint8* target) const {
  2555. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ReqHead)
  2556. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  2557. if (this->has_head()) {
  2558. target = ::google::protobuf::internal::WireFormatLite::
  2559. WriteMessageNoVirtualToArray(
  2560. 1, *this->head_, target);
  2561. }
  2562. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ReqHead)
  2563. return target;
  2564. }
  2565. int XPhone_ReqHead::ByteSize() const {
  2566. int total_size = 0;
  2567. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  2568. if (this->has_head()) {
  2569. total_size += 1 +
  2570. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2571. *this->head_);
  2572. }
  2573. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2574. _cached_size_ = total_size;
  2575. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2576. return total_size;
  2577. }
  2578. void XPhone_ReqHead::MergeFrom(const ::google::protobuf::Message& from) {
  2579. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  2580. const XPhone_ReqHead* source =
  2581. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ReqHead>(
  2582. &from);
  2583. if (source == NULL) {
  2584. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2585. } else {
  2586. MergeFrom(*source);
  2587. }
  2588. }
  2589. void XPhone_ReqHead::MergeFrom(const XPhone_ReqHead& from) {
  2590. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  2591. if (from.has_head()) {
  2592. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  2593. }
  2594. }
  2595. void XPhone_ReqHead::CopyFrom(const ::google::protobuf::Message& from) {
  2596. if (&from == this) return;
  2597. Clear();
  2598. MergeFrom(from);
  2599. }
  2600. void XPhone_ReqHead::CopyFrom(const XPhone_ReqHead& from) {
  2601. if (&from == this) return;
  2602. Clear();
  2603. MergeFrom(from);
  2604. }
  2605. bool XPhone_ReqHead::IsInitialized() const {
  2606. return true;
  2607. }
  2608. void XPhone_ReqHead::Swap(XPhone_ReqHead* other) {
  2609. if (other == this) return;
  2610. InternalSwap(other);
  2611. }
  2612. void XPhone_ReqHead::InternalSwap(XPhone_ReqHead* other) {
  2613. std::swap(head_, other->head_);
  2614. _internal_metadata_.Swap(&other->_internal_metadata_);
  2615. std::swap(_cached_size_, other->_cached_size_);
  2616. }
  2617. ::google::protobuf::Metadata XPhone_ReqHead::GetMetadata() const {
  2618. protobuf_AssignDescriptorsOnce();
  2619. ::google::protobuf::Metadata metadata;
  2620. metadata.descriptor = XPhone_ReqHead_descriptor_;
  2621. metadata.reflection = XPhone_ReqHead_reflection_;
  2622. return metadata;
  2623. }
  2624. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  2625. // XPhone_ReqHead
  2626. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  2627. bool XPhone_ReqHead::has_head() const {
  2628. return !_is_default_instance_ && head_ != NULL;
  2629. }
  2630. void XPhone_ReqHead::clear_head() {
  2631. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  2632. head_ = NULL;
  2633. }
  2634. const ::XPhonePlus::XPhone_MsgBase& XPhone_ReqHead::head() const {
  2635. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ReqHead.head)
  2636. return head_ != NULL ? *head_ : *default_instance_->head_;
  2637. }
  2638. ::XPhonePlus::XPhone_MsgBase* XPhone_ReqHead::mutable_head() {
  2639. if (head_ == NULL) {
  2640. head_ = new ::XPhonePlus::XPhone_MsgBase;
  2641. }
  2642. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ReqHead.head)
  2643. return head_;
  2644. }
  2645. ::XPhonePlus::XPhone_MsgBase* XPhone_ReqHead::release_head() {
  2646. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  2647. head_ = NULL;
  2648. return temp;
  2649. }
  2650. void XPhone_ReqHead::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  2651. delete head_;
  2652. head_ = head;
  2653. if (head) {
  2654. } else {
  2655. }
  2656. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ReqHead.head)
  2657. }
  2658. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  2659. // ===================================================================
  2660. #ifndef _MSC_VER
  2661. const int XPhone_GetDeviceInfo::kHeadFieldNumber;
  2662. const int XPhone_GetDeviceInfo::kStrIdentifyFieldNumber;
  2663. #endif // !_MSC_VER
  2664. XPhone_GetDeviceInfo::XPhone_GetDeviceInfo()
  2665. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2666. SharedCtor();
  2667. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_GetDeviceInfo)
  2668. }
  2669. void XPhone_GetDeviceInfo::InitAsDefaultInstance() {
  2670. _is_default_instance_ = true;
  2671. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  2672. }
  2673. XPhone_GetDeviceInfo::XPhone_GetDeviceInfo(const XPhone_GetDeviceInfo& from)
  2674. : ::google::protobuf::Message(),
  2675. _internal_metadata_(NULL) {
  2676. SharedCtor();
  2677. MergeFrom(from);
  2678. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_GetDeviceInfo)
  2679. }
  2680. void XPhone_GetDeviceInfo::SharedCtor() {
  2681. _is_default_instance_ = false;
  2682. ::google::protobuf::internal::GetEmptyString();
  2683. _cached_size_ = 0;
  2684. head_ = NULL;
  2685. stridentify_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2686. }
  2687. XPhone_GetDeviceInfo::~XPhone_GetDeviceInfo() {
  2688. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_GetDeviceInfo)
  2689. SharedDtor();
  2690. }
  2691. void XPhone_GetDeviceInfo::SharedDtor() {
  2692. stridentify_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2693. if (this != default_instance_) {
  2694. delete head_;
  2695. }
  2696. }
  2697. void XPhone_GetDeviceInfo::SetCachedSize(int size) const {
  2698. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2699. _cached_size_ = size;
  2700. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2701. }
  2702. const ::google::protobuf::Descriptor* XPhone_GetDeviceInfo::descriptor() {
  2703. protobuf_AssignDescriptorsOnce();
  2704. return XPhone_GetDeviceInfo_descriptor_;
  2705. }
  2706. const XPhone_GetDeviceInfo& XPhone_GetDeviceInfo::default_instance() {
  2707. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  2708. return *default_instance_;
  2709. }
  2710. XPhone_GetDeviceInfo* XPhone_GetDeviceInfo::default_instance_ = NULL;
  2711. XPhone_GetDeviceInfo* XPhone_GetDeviceInfo::New(::google::protobuf::Arena* arena) const {
  2712. XPhone_GetDeviceInfo* n = new XPhone_GetDeviceInfo;
  2713. if (arena != NULL) {
  2714. arena->Own(n);
  2715. }
  2716. return n;
  2717. }
  2718. void XPhone_GetDeviceInfo::Clear() {
  2719. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  2720. head_ = NULL;
  2721. stridentify_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2722. }
  2723. bool XPhone_GetDeviceInfo::MergePartialFromCodedStream(
  2724. ::google::protobuf::io::CodedInputStream* input) {
  2725. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  2726. ::google::protobuf::uint32 tag;
  2727. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_GetDeviceInfo)
  2728. for (;;) {
  2729. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  2730. tag = p.first;
  2731. if (!p.second) goto handle_unusual;
  2732. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2733. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  2734. case 1: {
  2735. if (tag == 10) {
  2736. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2737. input, mutable_head()));
  2738. } else {
  2739. goto handle_unusual;
  2740. }
  2741. if (input->ExpectTag(18)) goto parse_strIdentify;
  2742. break;
  2743. }
  2744. // optional string strIdentify = 2;
  2745. case 2: {
  2746. if (tag == 18) {
  2747. parse_strIdentify:
  2748. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  2749. input, this->mutable_stridentify()));
  2750. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2751. this->stridentify().data(), this->stridentify().length(),
  2752. ::google::protobuf::internal::WireFormatLite::PARSE,
  2753. "XPhonePlus.XPhone_GetDeviceInfo.strIdentify"));
  2754. } else {
  2755. goto handle_unusual;
  2756. }
  2757. if (input->ExpectAtEnd()) goto success;
  2758. break;
  2759. }
  2760. default: {
  2761. handle_unusual:
  2762. if (tag == 0 ||
  2763. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2764. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2765. goto success;
  2766. }
  2767. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  2768. break;
  2769. }
  2770. }
  2771. }
  2772. success:
  2773. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_GetDeviceInfo)
  2774. return true;
  2775. failure:
  2776. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_GetDeviceInfo)
  2777. return false;
  2778. #undef DO_
  2779. }
  2780. void XPhone_GetDeviceInfo::SerializeWithCachedSizes(
  2781. ::google::protobuf::io::CodedOutputStream* output) const {
  2782. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_GetDeviceInfo)
  2783. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  2784. if (this->has_head()) {
  2785. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2786. 1, *this->head_, output);
  2787. }
  2788. // optional string strIdentify = 2;
  2789. if (this->stridentify().size() > 0) {
  2790. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2791. this->stridentify().data(), this->stridentify().length(),
  2792. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2793. "XPhonePlus.XPhone_GetDeviceInfo.strIdentify");
  2794. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  2795. 2, this->stridentify(), output);
  2796. }
  2797. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_GetDeviceInfo)
  2798. }
  2799. ::google::protobuf::uint8* XPhone_GetDeviceInfo::SerializeWithCachedSizesToArray(
  2800. ::google::protobuf::uint8* target) const {
  2801. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_GetDeviceInfo)
  2802. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  2803. if (this->has_head()) {
  2804. target = ::google::protobuf::internal::WireFormatLite::
  2805. WriteMessageNoVirtualToArray(
  2806. 1, *this->head_, target);
  2807. }
  2808. // optional string strIdentify = 2;
  2809. if (this->stridentify().size() > 0) {
  2810. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  2811. this->stridentify().data(), this->stridentify().length(),
  2812. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  2813. "XPhonePlus.XPhone_GetDeviceInfo.strIdentify");
  2814. target =
  2815. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  2816. 2, this->stridentify(), target);
  2817. }
  2818. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_GetDeviceInfo)
  2819. return target;
  2820. }
  2821. int XPhone_GetDeviceInfo::ByteSize() const {
  2822. int total_size = 0;
  2823. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  2824. if (this->has_head()) {
  2825. total_size += 1 +
  2826. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2827. *this->head_);
  2828. }
  2829. // optional string strIdentify = 2;
  2830. if (this->stridentify().size() > 0) {
  2831. total_size += 1 +
  2832. ::google::protobuf::internal::WireFormatLite::StringSize(
  2833. this->stridentify());
  2834. }
  2835. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2836. _cached_size_ = total_size;
  2837. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2838. return total_size;
  2839. }
  2840. void XPhone_GetDeviceInfo::MergeFrom(const ::google::protobuf::Message& from) {
  2841. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  2842. const XPhone_GetDeviceInfo* source =
  2843. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_GetDeviceInfo>(
  2844. &from);
  2845. if (source == NULL) {
  2846. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2847. } else {
  2848. MergeFrom(*source);
  2849. }
  2850. }
  2851. void XPhone_GetDeviceInfo::MergeFrom(const XPhone_GetDeviceInfo& from) {
  2852. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  2853. if (from.has_head()) {
  2854. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  2855. }
  2856. if (from.stridentify().size() > 0) {
  2857. stridentify_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.stridentify_);
  2858. }
  2859. }
  2860. void XPhone_GetDeviceInfo::CopyFrom(const ::google::protobuf::Message& from) {
  2861. if (&from == this) return;
  2862. Clear();
  2863. MergeFrom(from);
  2864. }
  2865. void XPhone_GetDeviceInfo::CopyFrom(const XPhone_GetDeviceInfo& from) {
  2866. if (&from == this) return;
  2867. Clear();
  2868. MergeFrom(from);
  2869. }
  2870. bool XPhone_GetDeviceInfo::IsInitialized() const {
  2871. return true;
  2872. }
  2873. void XPhone_GetDeviceInfo::Swap(XPhone_GetDeviceInfo* other) {
  2874. if (other == this) return;
  2875. InternalSwap(other);
  2876. }
  2877. void XPhone_GetDeviceInfo::InternalSwap(XPhone_GetDeviceInfo* other) {
  2878. std::swap(head_, other->head_);
  2879. stridentify_.Swap(&other->stridentify_);
  2880. _internal_metadata_.Swap(&other->_internal_metadata_);
  2881. std::swap(_cached_size_, other->_cached_size_);
  2882. }
  2883. ::google::protobuf::Metadata XPhone_GetDeviceInfo::GetMetadata() const {
  2884. protobuf_AssignDescriptorsOnce();
  2885. ::google::protobuf::Metadata metadata;
  2886. metadata.descriptor = XPhone_GetDeviceInfo_descriptor_;
  2887. metadata.reflection = XPhone_GetDeviceInfo_reflection_;
  2888. return metadata;
  2889. }
  2890. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  2891. // XPhone_GetDeviceInfo
  2892. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  2893. bool XPhone_GetDeviceInfo::has_head() const {
  2894. return !_is_default_instance_ && head_ != NULL;
  2895. }
  2896. void XPhone_GetDeviceInfo::clear_head() {
  2897. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  2898. head_ = NULL;
  2899. }
  2900. const ::XPhonePlus::XPhone_MsgBase& XPhone_GetDeviceInfo::head() const {
  2901. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_GetDeviceInfo.head)
  2902. return head_ != NULL ? *head_ : *default_instance_->head_;
  2903. }
  2904. ::XPhonePlus::XPhone_MsgBase* XPhone_GetDeviceInfo::mutable_head() {
  2905. if (head_ == NULL) {
  2906. head_ = new ::XPhonePlus::XPhone_MsgBase;
  2907. }
  2908. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_GetDeviceInfo.head)
  2909. return head_;
  2910. }
  2911. ::XPhonePlus::XPhone_MsgBase* XPhone_GetDeviceInfo::release_head() {
  2912. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  2913. head_ = NULL;
  2914. return temp;
  2915. }
  2916. void XPhone_GetDeviceInfo::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  2917. delete head_;
  2918. head_ = head;
  2919. if (head) {
  2920. } else {
  2921. }
  2922. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_GetDeviceInfo.head)
  2923. }
  2924. // optional string strIdentify = 2;
  2925. void XPhone_GetDeviceInfo::clear_stridentify() {
  2926. stridentify_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2927. }
  2928. const ::std::string& XPhone_GetDeviceInfo::stridentify() const {
  2929. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
  2930. return stridentify_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2931. }
  2932. void XPhone_GetDeviceInfo::set_stridentify(const ::std::string& value) {
  2933. stridentify_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  2934. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
  2935. }
  2936. void XPhone_GetDeviceInfo::set_stridentify(const char* value) {
  2937. stridentify_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  2938. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
  2939. }
  2940. void XPhone_GetDeviceInfo::set_stridentify(const char* value, size_t size) {
  2941. stridentify_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  2942. ::std::string(reinterpret_cast<const char*>(value), size));
  2943. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
  2944. }
  2945. ::std::string* XPhone_GetDeviceInfo::mutable_stridentify() {
  2946. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
  2947. return stridentify_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2948. }
  2949. ::std::string* XPhone_GetDeviceInfo::release_stridentify() {
  2950. return stridentify_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2951. }
  2952. void XPhone_GetDeviceInfo::set_allocated_stridentify(::std::string* stridentify) {
  2953. if (stridentify != NULL) {
  2954. } else {
  2955. }
  2956. stridentify_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stridentify);
  2957. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
  2958. }
  2959. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  2960. // ===================================================================
  2961. #ifndef _MSC_VER
  2962. const int XPhone_DeviceInfo::kHeadFieldNumber;
  2963. const int XPhone_DeviceInfo::kStrDeviceNameFieldNumber;
  2964. const int XPhone_DeviceInfo::kStrBrandFieldNumber;
  2965. const int XPhone_DeviceInfo::kStrModelFieldNumber;
  2966. const int XPhone_DeviceInfo::kStrResolutionFieldNumber;
  2967. const int XPhone_DeviceInfo::kStrImeiFieldNumber;
  2968. const int XPhone_DeviceInfo::kISDKVerIDFieldNumber;
  2969. const int XPhone_DeviceInfo::kStrCPUArchiveFieldNumber;
  2970. #endif // !_MSC_VER
  2971. XPhone_DeviceInfo::XPhone_DeviceInfo()
  2972. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  2973. SharedCtor();
  2974. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_DeviceInfo)
  2975. }
  2976. void XPhone_DeviceInfo::InitAsDefaultInstance() {
  2977. _is_default_instance_ = true;
  2978. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  2979. }
  2980. XPhone_DeviceInfo::XPhone_DeviceInfo(const XPhone_DeviceInfo& from)
  2981. : ::google::protobuf::Message(),
  2982. _internal_metadata_(NULL) {
  2983. SharedCtor();
  2984. MergeFrom(from);
  2985. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_DeviceInfo)
  2986. }
  2987. void XPhone_DeviceInfo::SharedCtor() {
  2988. _is_default_instance_ = false;
  2989. ::google::protobuf::internal::GetEmptyString();
  2990. _cached_size_ = 0;
  2991. head_ = NULL;
  2992. strdevicename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2993. strbrand_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2994. strmodel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2995. strresolution_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2996. strimei_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2997. isdkverid_ = 0;
  2998. strcpuarchive_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2999. }
  3000. XPhone_DeviceInfo::~XPhone_DeviceInfo() {
  3001. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_DeviceInfo)
  3002. SharedDtor();
  3003. }
  3004. void XPhone_DeviceInfo::SharedDtor() {
  3005. strdevicename_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3006. strbrand_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3007. strmodel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3008. strresolution_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3009. strimei_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3010. strcpuarchive_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3011. if (this != default_instance_) {
  3012. delete head_;
  3013. }
  3014. }
  3015. void XPhone_DeviceInfo::SetCachedSize(int size) const {
  3016. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3017. _cached_size_ = size;
  3018. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3019. }
  3020. const ::google::protobuf::Descriptor* XPhone_DeviceInfo::descriptor() {
  3021. protobuf_AssignDescriptorsOnce();
  3022. return XPhone_DeviceInfo_descriptor_;
  3023. }
  3024. const XPhone_DeviceInfo& XPhone_DeviceInfo::default_instance() {
  3025. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  3026. return *default_instance_;
  3027. }
  3028. XPhone_DeviceInfo* XPhone_DeviceInfo::default_instance_ = NULL;
  3029. XPhone_DeviceInfo* XPhone_DeviceInfo::New(::google::protobuf::Arena* arena) const {
  3030. XPhone_DeviceInfo* n = new XPhone_DeviceInfo;
  3031. if (arena != NULL) {
  3032. arena->Own(n);
  3033. }
  3034. return n;
  3035. }
  3036. void XPhone_DeviceInfo::Clear() {
  3037. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  3038. head_ = NULL;
  3039. strdevicename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3040. strbrand_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3041. strmodel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3042. strresolution_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3043. strimei_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3044. isdkverid_ = 0;
  3045. strcpuarchive_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3046. }
  3047. bool XPhone_DeviceInfo::MergePartialFromCodedStream(
  3048. ::google::protobuf::io::CodedInputStream* input) {
  3049. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  3050. ::google::protobuf::uint32 tag;
  3051. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_DeviceInfo)
  3052. for (;;) {
  3053. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  3054. tag = p.first;
  3055. if (!p.second) goto handle_unusual;
  3056. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3057. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  3058. case 1: {
  3059. if (tag == 10) {
  3060. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3061. input, mutable_head()));
  3062. } else {
  3063. goto handle_unusual;
  3064. }
  3065. if (input->ExpectTag(18)) goto parse_strDeviceName;
  3066. break;
  3067. }
  3068. // optional string strDeviceName = 2;
  3069. case 2: {
  3070. if (tag == 18) {
  3071. parse_strDeviceName:
  3072. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3073. input, this->mutable_strdevicename()));
  3074. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3075. this->strdevicename().data(), this->strdevicename().length(),
  3076. ::google::protobuf::internal::WireFormatLite::PARSE,
  3077. "XPhonePlus.XPhone_DeviceInfo.strDeviceName"));
  3078. } else {
  3079. goto handle_unusual;
  3080. }
  3081. if (input->ExpectTag(26)) goto parse_strBrand;
  3082. break;
  3083. }
  3084. // optional string strBrand = 3;
  3085. case 3: {
  3086. if (tag == 26) {
  3087. parse_strBrand:
  3088. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3089. input, this->mutable_strbrand()));
  3090. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3091. this->strbrand().data(), this->strbrand().length(),
  3092. ::google::protobuf::internal::WireFormatLite::PARSE,
  3093. "XPhonePlus.XPhone_DeviceInfo.strBrand"));
  3094. } else {
  3095. goto handle_unusual;
  3096. }
  3097. if (input->ExpectTag(34)) goto parse_strModel;
  3098. break;
  3099. }
  3100. // optional string strModel = 4;
  3101. case 4: {
  3102. if (tag == 34) {
  3103. parse_strModel:
  3104. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3105. input, this->mutable_strmodel()));
  3106. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3107. this->strmodel().data(), this->strmodel().length(),
  3108. ::google::protobuf::internal::WireFormatLite::PARSE,
  3109. "XPhonePlus.XPhone_DeviceInfo.strModel"));
  3110. } else {
  3111. goto handle_unusual;
  3112. }
  3113. if (input->ExpectTag(42)) goto parse_strResolution;
  3114. break;
  3115. }
  3116. // optional string strResolution = 5;
  3117. case 5: {
  3118. if (tag == 42) {
  3119. parse_strResolution:
  3120. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3121. input, this->mutable_strresolution()));
  3122. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3123. this->strresolution().data(), this->strresolution().length(),
  3124. ::google::protobuf::internal::WireFormatLite::PARSE,
  3125. "XPhonePlus.XPhone_DeviceInfo.strResolution"));
  3126. } else {
  3127. goto handle_unusual;
  3128. }
  3129. if (input->ExpectTag(50)) goto parse_strImei;
  3130. break;
  3131. }
  3132. // optional string strImei = 6;
  3133. case 6: {
  3134. if (tag == 50) {
  3135. parse_strImei:
  3136. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3137. input, this->mutable_strimei()));
  3138. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3139. this->strimei().data(), this->strimei().length(),
  3140. ::google::protobuf::internal::WireFormatLite::PARSE,
  3141. "XPhonePlus.XPhone_DeviceInfo.strImei"));
  3142. } else {
  3143. goto handle_unusual;
  3144. }
  3145. if (input->ExpectTag(56)) goto parse_iSDKVerID;
  3146. break;
  3147. }
  3148. // optional int32 iSDKVerID = 7;
  3149. case 7: {
  3150. if (tag == 56) {
  3151. parse_iSDKVerID:
  3152. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3153. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3154. input, &isdkverid_)));
  3155. } else {
  3156. goto handle_unusual;
  3157. }
  3158. if (input->ExpectTag(66)) goto parse_strCPUArchive;
  3159. break;
  3160. }
  3161. // optional string strCPUArchive = 8;
  3162. case 8: {
  3163. if (tag == 66) {
  3164. parse_strCPUArchive:
  3165. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3166. input, this->mutable_strcpuarchive()));
  3167. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3168. this->strcpuarchive().data(), this->strcpuarchive().length(),
  3169. ::google::protobuf::internal::WireFormatLite::PARSE,
  3170. "XPhonePlus.XPhone_DeviceInfo.strCPUArchive"));
  3171. } else {
  3172. goto handle_unusual;
  3173. }
  3174. if (input->ExpectAtEnd()) goto success;
  3175. break;
  3176. }
  3177. default: {
  3178. handle_unusual:
  3179. if (tag == 0 ||
  3180. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3181. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3182. goto success;
  3183. }
  3184. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  3185. break;
  3186. }
  3187. }
  3188. }
  3189. success:
  3190. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_DeviceInfo)
  3191. return true;
  3192. failure:
  3193. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_DeviceInfo)
  3194. return false;
  3195. #undef DO_
  3196. }
  3197. void XPhone_DeviceInfo::SerializeWithCachedSizes(
  3198. ::google::protobuf::io::CodedOutputStream* output) const {
  3199. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_DeviceInfo)
  3200. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  3201. if (this->has_head()) {
  3202. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3203. 1, *this->head_, output);
  3204. }
  3205. // optional string strDeviceName = 2;
  3206. if (this->strdevicename().size() > 0) {
  3207. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3208. this->strdevicename().data(), this->strdevicename().length(),
  3209. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3210. "XPhonePlus.XPhone_DeviceInfo.strDeviceName");
  3211. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3212. 2, this->strdevicename(), output);
  3213. }
  3214. // optional string strBrand = 3;
  3215. if (this->strbrand().size() > 0) {
  3216. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3217. this->strbrand().data(), this->strbrand().length(),
  3218. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3219. "XPhonePlus.XPhone_DeviceInfo.strBrand");
  3220. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3221. 3, this->strbrand(), output);
  3222. }
  3223. // optional string strModel = 4;
  3224. if (this->strmodel().size() > 0) {
  3225. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3226. this->strmodel().data(), this->strmodel().length(),
  3227. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3228. "XPhonePlus.XPhone_DeviceInfo.strModel");
  3229. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3230. 4, this->strmodel(), output);
  3231. }
  3232. // optional string strResolution = 5;
  3233. if (this->strresolution().size() > 0) {
  3234. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3235. this->strresolution().data(), this->strresolution().length(),
  3236. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3237. "XPhonePlus.XPhone_DeviceInfo.strResolution");
  3238. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3239. 5, this->strresolution(), output);
  3240. }
  3241. // optional string strImei = 6;
  3242. if (this->strimei().size() > 0) {
  3243. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3244. this->strimei().data(), this->strimei().length(),
  3245. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3246. "XPhonePlus.XPhone_DeviceInfo.strImei");
  3247. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3248. 6, this->strimei(), output);
  3249. }
  3250. // optional int32 iSDKVerID = 7;
  3251. if (this->isdkverid() != 0) {
  3252. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->isdkverid(), output);
  3253. }
  3254. // optional string strCPUArchive = 8;
  3255. if (this->strcpuarchive().size() > 0) {
  3256. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3257. this->strcpuarchive().data(), this->strcpuarchive().length(),
  3258. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3259. "XPhonePlus.XPhone_DeviceInfo.strCPUArchive");
  3260. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3261. 8, this->strcpuarchive(), output);
  3262. }
  3263. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_DeviceInfo)
  3264. }
  3265. ::google::protobuf::uint8* XPhone_DeviceInfo::SerializeWithCachedSizesToArray(
  3266. ::google::protobuf::uint8* target) const {
  3267. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_DeviceInfo)
  3268. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  3269. if (this->has_head()) {
  3270. target = ::google::protobuf::internal::WireFormatLite::
  3271. WriteMessageNoVirtualToArray(
  3272. 1, *this->head_, target);
  3273. }
  3274. // optional string strDeviceName = 2;
  3275. if (this->strdevicename().size() > 0) {
  3276. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3277. this->strdevicename().data(), this->strdevicename().length(),
  3278. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3279. "XPhonePlus.XPhone_DeviceInfo.strDeviceName");
  3280. target =
  3281. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3282. 2, this->strdevicename(), target);
  3283. }
  3284. // optional string strBrand = 3;
  3285. if (this->strbrand().size() > 0) {
  3286. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3287. this->strbrand().data(), this->strbrand().length(),
  3288. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3289. "XPhonePlus.XPhone_DeviceInfo.strBrand");
  3290. target =
  3291. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3292. 3, this->strbrand(), target);
  3293. }
  3294. // optional string strModel = 4;
  3295. if (this->strmodel().size() > 0) {
  3296. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3297. this->strmodel().data(), this->strmodel().length(),
  3298. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3299. "XPhonePlus.XPhone_DeviceInfo.strModel");
  3300. target =
  3301. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3302. 4, this->strmodel(), target);
  3303. }
  3304. // optional string strResolution = 5;
  3305. if (this->strresolution().size() > 0) {
  3306. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3307. this->strresolution().data(), this->strresolution().length(),
  3308. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3309. "XPhonePlus.XPhone_DeviceInfo.strResolution");
  3310. target =
  3311. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3312. 5, this->strresolution(), target);
  3313. }
  3314. // optional string strImei = 6;
  3315. if (this->strimei().size() > 0) {
  3316. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3317. this->strimei().data(), this->strimei().length(),
  3318. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3319. "XPhonePlus.XPhone_DeviceInfo.strImei");
  3320. target =
  3321. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3322. 6, this->strimei(), target);
  3323. }
  3324. // optional int32 iSDKVerID = 7;
  3325. if (this->isdkverid() != 0) {
  3326. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->isdkverid(), target);
  3327. }
  3328. // optional string strCPUArchive = 8;
  3329. if (this->strcpuarchive().size() > 0) {
  3330. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3331. this->strcpuarchive().data(), this->strcpuarchive().length(),
  3332. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3333. "XPhonePlus.XPhone_DeviceInfo.strCPUArchive");
  3334. target =
  3335. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3336. 8, this->strcpuarchive(), target);
  3337. }
  3338. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_DeviceInfo)
  3339. return target;
  3340. }
  3341. int XPhone_DeviceInfo::ByteSize() const {
  3342. int total_size = 0;
  3343. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  3344. if (this->has_head()) {
  3345. total_size += 1 +
  3346. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  3347. *this->head_);
  3348. }
  3349. // optional string strDeviceName = 2;
  3350. if (this->strdevicename().size() > 0) {
  3351. total_size += 1 +
  3352. ::google::protobuf::internal::WireFormatLite::StringSize(
  3353. this->strdevicename());
  3354. }
  3355. // optional string strBrand = 3;
  3356. if (this->strbrand().size() > 0) {
  3357. total_size += 1 +
  3358. ::google::protobuf::internal::WireFormatLite::StringSize(
  3359. this->strbrand());
  3360. }
  3361. // optional string strModel = 4;
  3362. if (this->strmodel().size() > 0) {
  3363. total_size += 1 +
  3364. ::google::protobuf::internal::WireFormatLite::StringSize(
  3365. this->strmodel());
  3366. }
  3367. // optional string strResolution = 5;
  3368. if (this->strresolution().size() > 0) {
  3369. total_size += 1 +
  3370. ::google::protobuf::internal::WireFormatLite::StringSize(
  3371. this->strresolution());
  3372. }
  3373. // optional string strImei = 6;
  3374. if (this->strimei().size() > 0) {
  3375. total_size += 1 +
  3376. ::google::protobuf::internal::WireFormatLite::StringSize(
  3377. this->strimei());
  3378. }
  3379. // optional int32 iSDKVerID = 7;
  3380. if (this->isdkverid() != 0) {
  3381. total_size += 1 +
  3382. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3383. this->isdkverid());
  3384. }
  3385. // optional string strCPUArchive = 8;
  3386. if (this->strcpuarchive().size() > 0) {
  3387. total_size += 1 +
  3388. ::google::protobuf::internal::WireFormatLite::StringSize(
  3389. this->strcpuarchive());
  3390. }
  3391. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3392. _cached_size_ = total_size;
  3393. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3394. return total_size;
  3395. }
  3396. void XPhone_DeviceInfo::MergeFrom(const ::google::protobuf::Message& from) {
  3397. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  3398. const XPhone_DeviceInfo* source =
  3399. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_DeviceInfo>(
  3400. &from);
  3401. if (source == NULL) {
  3402. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3403. } else {
  3404. MergeFrom(*source);
  3405. }
  3406. }
  3407. void XPhone_DeviceInfo::MergeFrom(const XPhone_DeviceInfo& from) {
  3408. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  3409. if (from.has_head()) {
  3410. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  3411. }
  3412. if (from.strdevicename().size() > 0) {
  3413. strdevicename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strdevicename_);
  3414. }
  3415. if (from.strbrand().size() > 0) {
  3416. strbrand_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strbrand_);
  3417. }
  3418. if (from.strmodel().size() > 0) {
  3419. strmodel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strmodel_);
  3420. }
  3421. if (from.strresolution().size() > 0) {
  3422. strresolution_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strresolution_);
  3423. }
  3424. if (from.strimei().size() > 0) {
  3425. strimei_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strimei_);
  3426. }
  3427. if (from.isdkverid() != 0) {
  3428. set_isdkverid(from.isdkverid());
  3429. }
  3430. if (from.strcpuarchive().size() > 0) {
  3431. strcpuarchive_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcpuarchive_);
  3432. }
  3433. }
  3434. void XPhone_DeviceInfo::CopyFrom(const ::google::protobuf::Message& from) {
  3435. if (&from == this) return;
  3436. Clear();
  3437. MergeFrom(from);
  3438. }
  3439. void XPhone_DeviceInfo::CopyFrom(const XPhone_DeviceInfo& from) {
  3440. if (&from == this) return;
  3441. Clear();
  3442. MergeFrom(from);
  3443. }
  3444. bool XPhone_DeviceInfo::IsInitialized() const {
  3445. return true;
  3446. }
  3447. void XPhone_DeviceInfo::Swap(XPhone_DeviceInfo* other) {
  3448. if (other == this) return;
  3449. InternalSwap(other);
  3450. }
  3451. void XPhone_DeviceInfo::InternalSwap(XPhone_DeviceInfo* other) {
  3452. std::swap(head_, other->head_);
  3453. strdevicename_.Swap(&other->strdevicename_);
  3454. strbrand_.Swap(&other->strbrand_);
  3455. strmodel_.Swap(&other->strmodel_);
  3456. strresolution_.Swap(&other->strresolution_);
  3457. strimei_.Swap(&other->strimei_);
  3458. std::swap(isdkverid_, other->isdkverid_);
  3459. strcpuarchive_.Swap(&other->strcpuarchive_);
  3460. _internal_metadata_.Swap(&other->_internal_metadata_);
  3461. std::swap(_cached_size_, other->_cached_size_);
  3462. }
  3463. ::google::protobuf::Metadata XPhone_DeviceInfo::GetMetadata() const {
  3464. protobuf_AssignDescriptorsOnce();
  3465. ::google::protobuf::Metadata metadata;
  3466. metadata.descriptor = XPhone_DeviceInfo_descriptor_;
  3467. metadata.reflection = XPhone_DeviceInfo_reflection_;
  3468. return metadata;
  3469. }
  3470. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  3471. // XPhone_DeviceInfo
  3472. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  3473. bool XPhone_DeviceInfo::has_head() const {
  3474. return !_is_default_instance_ && head_ != NULL;
  3475. }
  3476. void XPhone_DeviceInfo::clear_head() {
  3477. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  3478. head_ = NULL;
  3479. }
  3480. const ::XPhonePlus::XPhone_MsgBase& XPhone_DeviceInfo::head() const {
  3481. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.head)
  3482. return head_ != NULL ? *head_ : *default_instance_->head_;
  3483. }
  3484. ::XPhonePlus::XPhone_MsgBase* XPhone_DeviceInfo::mutable_head() {
  3485. if (head_ == NULL) {
  3486. head_ = new ::XPhonePlus::XPhone_MsgBase;
  3487. }
  3488. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.head)
  3489. return head_;
  3490. }
  3491. ::XPhonePlus::XPhone_MsgBase* XPhone_DeviceInfo::release_head() {
  3492. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  3493. head_ = NULL;
  3494. return temp;
  3495. }
  3496. void XPhone_DeviceInfo::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  3497. delete head_;
  3498. head_ = head;
  3499. if (head) {
  3500. } else {
  3501. }
  3502. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.head)
  3503. }
  3504. // optional string strDeviceName = 2;
  3505. void XPhone_DeviceInfo::clear_strdevicename() {
  3506. strdevicename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3507. }
  3508. const ::std::string& XPhone_DeviceInfo::strdevicename() const {
  3509. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
  3510. return strdevicename_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3511. }
  3512. void XPhone_DeviceInfo::set_strdevicename(const ::std::string& value) {
  3513. strdevicename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  3514. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
  3515. }
  3516. void XPhone_DeviceInfo::set_strdevicename(const char* value) {
  3517. strdevicename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  3518. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
  3519. }
  3520. void XPhone_DeviceInfo::set_strdevicename(const char* value, size_t size) {
  3521. strdevicename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  3522. ::std::string(reinterpret_cast<const char*>(value), size));
  3523. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
  3524. }
  3525. ::std::string* XPhone_DeviceInfo::mutable_strdevicename() {
  3526. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
  3527. return strdevicename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3528. }
  3529. ::std::string* XPhone_DeviceInfo::release_strdevicename() {
  3530. return strdevicename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3531. }
  3532. void XPhone_DeviceInfo::set_allocated_strdevicename(::std::string* strdevicename) {
  3533. if (strdevicename != NULL) {
  3534. } else {
  3535. }
  3536. strdevicename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strdevicename);
  3537. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
  3538. }
  3539. // optional string strBrand = 3;
  3540. void XPhone_DeviceInfo::clear_strbrand() {
  3541. strbrand_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3542. }
  3543. const ::std::string& XPhone_DeviceInfo::strbrand() const {
  3544. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strBrand)
  3545. return strbrand_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3546. }
  3547. void XPhone_DeviceInfo::set_strbrand(const ::std::string& value) {
  3548. strbrand_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  3549. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strBrand)
  3550. }
  3551. void XPhone_DeviceInfo::set_strbrand(const char* value) {
  3552. strbrand_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  3553. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strBrand)
  3554. }
  3555. void XPhone_DeviceInfo::set_strbrand(const char* value, size_t size) {
  3556. strbrand_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  3557. ::std::string(reinterpret_cast<const char*>(value), size));
  3558. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strBrand)
  3559. }
  3560. ::std::string* XPhone_DeviceInfo::mutable_strbrand() {
  3561. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strBrand)
  3562. return strbrand_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3563. }
  3564. ::std::string* XPhone_DeviceInfo::release_strbrand() {
  3565. return strbrand_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3566. }
  3567. void XPhone_DeviceInfo::set_allocated_strbrand(::std::string* strbrand) {
  3568. if (strbrand != NULL) {
  3569. } else {
  3570. }
  3571. strbrand_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strbrand);
  3572. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strBrand)
  3573. }
  3574. // optional string strModel = 4;
  3575. void XPhone_DeviceInfo::clear_strmodel() {
  3576. strmodel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3577. }
  3578. const ::std::string& XPhone_DeviceInfo::strmodel() const {
  3579. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strModel)
  3580. return strmodel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3581. }
  3582. void XPhone_DeviceInfo::set_strmodel(const ::std::string& value) {
  3583. strmodel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  3584. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strModel)
  3585. }
  3586. void XPhone_DeviceInfo::set_strmodel(const char* value) {
  3587. strmodel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  3588. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strModel)
  3589. }
  3590. void XPhone_DeviceInfo::set_strmodel(const char* value, size_t size) {
  3591. strmodel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  3592. ::std::string(reinterpret_cast<const char*>(value), size));
  3593. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strModel)
  3594. }
  3595. ::std::string* XPhone_DeviceInfo::mutable_strmodel() {
  3596. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strModel)
  3597. return strmodel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3598. }
  3599. ::std::string* XPhone_DeviceInfo::release_strmodel() {
  3600. return strmodel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3601. }
  3602. void XPhone_DeviceInfo::set_allocated_strmodel(::std::string* strmodel) {
  3603. if (strmodel != NULL) {
  3604. } else {
  3605. }
  3606. strmodel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strmodel);
  3607. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strModel)
  3608. }
  3609. // optional string strResolution = 5;
  3610. void XPhone_DeviceInfo::clear_strresolution() {
  3611. strresolution_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3612. }
  3613. const ::std::string& XPhone_DeviceInfo::strresolution() const {
  3614. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strResolution)
  3615. return strresolution_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3616. }
  3617. void XPhone_DeviceInfo::set_strresolution(const ::std::string& value) {
  3618. strresolution_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  3619. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strResolution)
  3620. }
  3621. void XPhone_DeviceInfo::set_strresolution(const char* value) {
  3622. strresolution_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  3623. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strResolution)
  3624. }
  3625. void XPhone_DeviceInfo::set_strresolution(const char* value, size_t size) {
  3626. strresolution_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  3627. ::std::string(reinterpret_cast<const char*>(value), size));
  3628. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strResolution)
  3629. }
  3630. ::std::string* XPhone_DeviceInfo::mutable_strresolution() {
  3631. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strResolution)
  3632. return strresolution_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3633. }
  3634. ::std::string* XPhone_DeviceInfo::release_strresolution() {
  3635. return strresolution_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3636. }
  3637. void XPhone_DeviceInfo::set_allocated_strresolution(::std::string* strresolution) {
  3638. if (strresolution != NULL) {
  3639. } else {
  3640. }
  3641. strresolution_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strresolution);
  3642. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strResolution)
  3643. }
  3644. // optional string strImei = 6;
  3645. void XPhone_DeviceInfo::clear_strimei() {
  3646. strimei_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3647. }
  3648. const ::std::string& XPhone_DeviceInfo::strimei() const {
  3649. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strImei)
  3650. return strimei_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3651. }
  3652. void XPhone_DeviceInfo::set_strimei(const ::std::string& value) {
  3653. strimei_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  3654. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strImei)
  3655. }
  3656. void XPhone_DeviceInfo::set_strimei(const char* value) {
  3657. strimei_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  3658. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strImei)
  3659. }
  3660. void XPhone_DeviceInfo::set_strimei(const char* value, size_t size) {
  3661. strimei_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  3662. ::std::string(reinterpret_cast<const char*>(value), size));
  3663. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strImei)
  3664. }
  3665. ::std::string* XPhone_DeviceInfo::mutable_strimei() {
  3666. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strImei)
  3667. return strimei_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3668. }
  3669. ::std::string* XPhone_DeviceInfo::release_strimei() {
  3670. return strimei_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3671. }
  3672. void XPhone_DeviceInfo::set_allocated_strimei(::std::string* strimei) {
  3673. if (strimei != NULL) {
  3674. } else {
  3675. }
  3676. strimei_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strimei);
  3677. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strImei)
  3678. }
  3679. // optional int32 iSDKVerID = 7;
  3680. void XPhone_DeviceInfo::clear_isdkverid() {
  3681. isdkverid_ = 0;
  3682. }
  3683. ::google::protobuf::int32 XPhone_DeviceInfo::isdkverid() const {
  3684. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.iSDKVerID)
  3685. return isdkverid_;
  3686. }
  3687. void XPhone_DeviceInfo::set_isdkverid(::google::protobuf::int32 value) {
  3688. isdkverid_ = value;
  3689. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.iSDKVerID)
  3690. }
  3691. // optional string strCPUArchive = 8;
  3692. void XPhone_DeviceInfo::clear_strcpuarchive() {
  3693. strcpuarchive_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3694. }
  3695. const ::std::string& XPhone_DeviceInfo::strcpuarchive() const {
  3696. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
  3697. return strcpuarchive_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3698. }
  3699. void XPhone_DeviceInfo::set_strcpuarchive(const ::std::string& value) {
  3700. strcpuarchive_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  3701. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
  3702. }
  3703. void XPhone_DeviceInfo::set_strcpuarchive(const char* value) {
  3704. strcpuarchive_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  3705. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
  3706. }
  3707. void XPhone_DeviceInfo::set_strcpuarchive(const char* value, size_t size) {
  3708. strcpuarchive_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  3709. ::std::string(reinterpret_cast<const char*>(value), size));
  3710. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
  3711. }
  3712. ::std::string* XPhone_DeviceInfo::mutable_strcpuarchive() {
  3713. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
  3714. return strcpuarchive_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3715. }
  3716. ::std::string* XPhone_DeviceInfo::release_strcpuarchive() {
  3717. return strcpuarchive_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3718. }
  3719. void XPhone_DeviceInfo::set_allocated_strcpuarchive(::std::string* strcpuarchive) {
  3720. if (strcpuarchive != NULL) {
  3721. } else {
  3722. }
  3723. strcpuarchive_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcpuarchive);
  3724. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
  3725. }
  3726. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  3727. // ===================================================================
  3728. #ifndef _MSC_VER
  3729. const int XPhone_SendFile::kHeadFieldNumber;
  3730. const int XPhone_SendFile::kStrFilePathFieldNumber;
  3731. const int XPhone_SendFile::kFileContentFieldNumber;
  3732. #endif // !_MSC_VER
  3733. XPhone_SendFile::XPhone_SendFile()
  3734. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  3735. SharedCtor();
  3736. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SendFile)
  3737. }
  3738. void XPhone_SendFile::InitAsDefaultInstance() {
  3739. _is_default_instance_ = true;
  3740. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  3741. }
  3742. XPhone_SendFile::XPhone_SendFile(const XPhone_SendFile& from)
  3743. : ::google::protobuf::Message(),
  3744. _internal_metadata_(NULL) {
  3745. SharedCtor();
  3746. MergeFrom(from);
  3747. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SendFile)
  3748. }
  3749. void XPhone_SendFile::SharedCtor() {
  3750. _is_default_instance_ = false;
  3751. ::google::protobuf::internal::GetEmptyString();
  3752. _cached_size_ = 0;
  3753. head_ = NULL;
  3754. strfilepath_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3755. filecontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3756. }
  3757. XPhone_SendFile::~XPhone_SendFile() {
  3758. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SendFile)
  3759. SharedDtor();
  3760. }
  3761. void XPhone_SendFile::SharedDtor() {
  3762. strfilepath_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3763. filecontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3764. if (this != default_instance_) {
  3765. delete head_;
  3766. }
  3767. }
  3768. void XPhone_SendFile::SetCachedSize(int size) const {
  3769. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3770. _cached_size_ = size;
  3771. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3772. }
  3773. const ::google::protobuf::Descriptor* XPhone_SendFile::descriptor() {
  3774. protobuf_AssignDescriptorsOnce();
  3775. return XPhone_SendFile_descriptor_;
  3776. }
  3777. const XPhone_SendFile& XPhone_SendFile::default_instance() {
  3778. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  3779. return *default_instance_;
  3780. }
  3781. XPhone_SendFile* XPhone_SendFile::default_instance_ = NULL;
  3782. XPhone_SendFile* XPhone_SendFile::New(::google::protobuf::Arena* arena) const {
  3783. XPhone_SendFile* n = new XPhone_SendFile;
  3784. if (arena != NULL) {
  3785. arena->Own(n);
  3786. }
  3787. return n;
  3788. }
  3789. void XPhone_SendFile::Clear() {
  3790. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  3791. head_ = NULL;
  3792. strfilepath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3793. filecontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  3794. }
  3795. bool XPhone_SendFile::MergePartialFromCodedStream(
  3796. ::google::protobuf::io::CodedInputStream* input) {
  3797. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  3798. ::google::protobuf::uint32 tag;
  3799. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SendFile)
  3800. for (;;) {
  3801. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  3802. tag = p.first;
  3803. if (!p.second) goto handle_unusual;
  3804. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3805. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  3806. case 1: {
  3807. if (tag == 10) {
  3808. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3809. input, mutable_head()));
  3810. } else {
  3811. goto handle_unusual;
  3812. }
  3813. if (input->ExpectTag(18)) goto parse_strFilePath;
  3814. break;
  3815. }
  3816. // optional string strFilePath = 2;
  3817. case 2: {
  3818. if (tag == 18) {
  3819. parse_strFilePath:
  3820. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3821. input, this->mutable_strfilepath()));
  3822. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3823. this->strfilepath().data(), this->strfilepath().length(),
  3824. ::google::protobuf::internal::WireFormatLite::PARSE,
  3825. "XPhonePlus.XPhone_SendFile.strFilePath"));
  3826. } else {
  3827. goto handle_unusual;
  3828. }
  3829. if (input->ExpectTag(26)) goto parse_fileContent;
  3830. break;
  3831. }
  3832. // optional bytes fileContent = 3;
  3833. case 3: {
  3834. if (tag == 26) {
  3835. parse_fileContent:
  3836. DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  3837. input, this->mutable_filecontent()));
  3838. } else {
  3839. goto handle_unusual;
  3840. }
  3841. if (input->ExpectAtEnd()) goto success;
  3842. break;
  3843. }
  3844. default: {
  3845. handle_unusual:
  3846. if (tag == 0 ||
  3847. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3848. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3849. goto success;
  3850. }
  3851. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  3852. break;
  3853. }
  3854. }
  3855. }
  3856. success:
  3857. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SendFile)
  3858. return true;
  3859. failure:
  3860. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SendFile)
  3861. return false;
  3862. #undef DO_
  3863. }
  3864. void XPhone_SendFile::SerializeWithCachedSizes(
  3865. ::google::protobuf::io::CodedOutputStream* output) const {
  3866. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SendFile)
  3867. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  3868. if (this->has_head()) {
  3869. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3870. 1, *this->head_, output);
  3871. }
  3872. // optional string strFilePath = 2;
  3873. if (this->strfilepath().size() > 0) {
  3874. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3875. this->strfilepath().data(), this->strfilepath().length(),
  3876. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3877. "XPhonePlus.XPhone_SendFile.strFilePath");
  3878. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  3879. 2, this->strfilepath(), output);
  3880. }
  3881. // optional bytes fileContent = 3;
  3882. if (this->filecontent().size() > 0) {
  3883. ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
  3884. 3, this->filecontent(), output);
  3885. }
  3886. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SendFile)
  3887. }
  3888. ::google::protobuf::uint8* XPhone_SendFile::SerializeWithCachedSizesToArray(
  3889. ::google::protobuf::uint8* target) const {
  3890. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SendFile)
  3891. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  3892. if (this->has_head()) {
  3893. target = ::google::protobuf::internal::WireFormatLite::
  3894. WriteMessageNoVirtualToArray(
  3895. 1, *this->head_, target);
  3896. }
  3897. // optional string strFilePath = 2;
  3898. if (this->strfilepath().size() > 0) {
  3899. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  3900. this->strfilepath().data(), this->strfilepath().length(),
  3901. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  3902. "XPhonePlus.XPhone_SendFile.strFilePath");
  3903. target =
  3904. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  3905. 2, this->strfilepath(), target);
  3906. }
  3907. // optional bytes fileContent = 3;
  3908. if (this->filecontent().size() > 0) {
  3909. target =
  3910. ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
  3911. 3, this->filecontent(), target);
  3912. }
  3913. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SendFile)
  3914. return target;
  3915. }
  3916. int XPhone_SendFile::ByteSize() const {
  3917. int total_size = 0;
  3918. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  3919. if (this->has_head()) {
  3920. total_size += 1 +
  3921. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  3922. *this->head_);
  3923. }
  3924. // optional string strFilePath = 2;
  3925. if (this->strfilepath().size() > 0) {
  3926. total_size += 1 +
  3927. ::google::protobuf::internal::WireFormatLite::StringSize(
  3928. this->strfilepath());
  3929. }
  3930. // optional bytes fileContent = 3;
  3931. if (this->filecontent().size() > 0) {
  3932. total_size += 1 +
  3933. ::google::protobuf::internal::WireFormatLite::BytesSize(
  3934. this->filecontent());
  3935. }
  3936. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3937. _cached_size_ = total_size;
  3938. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3939. return total_size;
  3940. }
  3941. void XPhone_SendFile::MergeFrom(const ::google::protobuf::Message& from) {
  3942. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  3943. const XPhone_SendFile* source =
  3944. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SendFile>(
  3945. &from);
  3946. if (source == NULL) {
  3947. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3948. } else {
  3949. MergeFrom(*source);
  3950. }
  3951. }
  3952. void XPhone_SendFile::MergeFrom(const XPhone_SendFile& from) {
  3953. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  3954. if (from.has_head()) {
  3955. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  3956. }
  3957. if (from.strfilepath().size() > 0) {
  3958. strfilepath_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strfilepath_);
  3959. }
  3960. if (from.filecontent().size() > 0) {
  3961. filecontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filecontent_);
  3962. }
  3963. }
  3964. void XPhone_SendFile::CopyFrom(const ::google::protobuf::Message& from) {
  3965. if (&from == this) return;
  3966. Clear();
  3967. MergeFrom(from);
  3968. }
  3969. void XPhone_SendFile::CopyFrom(const XPhone_SendFile& from) {
  3970. if (&from == this) return;
  3971. Clear();
  3972. MergeFrom(from);
  3973. }
  3974. bool XPhone_SendFile::IsInitialized() const {
  3975. return true;
  3976. }
  3977. void XPhone_SendFile::Swap(XPhone_SendFile* other) {
  3978. if (other == this) return;
  3979. InternalSwap(other);
  3980. }
  3981. void XPhone_SendFile::InternalSwap(XPhone_SendFile* other) {
  3982. std::swap(head_, other->head_);
  3983. strfilepath_.Swap(&other->strfilepath_);
  3984. filecontent_.Swap(&other->filecontent_);
  3985. _internal_metadata_.Swap(&other->_internal_metadata_);
  3986. std::swap(_cached_size_, other->_cached_size_);
  3987. }
  3988. ::google::protobuf::Metadata XPhone_SendFile::GetMetadata() const {
  3989. protobuf_AssignDescriptorsOnce();
  3990. ::google::protobuf::Metadata metadata;
  3991. metadata.descriptor = XPhone_SendFile_descriptor_;
  3992. metadata.reflection = XPhone_SendFile_reflection_;
  3993. return metadata;
  3994. }
  3995. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  3996. // XPhone_SendFile
  3997. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  3998. bool XPhone_SendFile::has_head() const {
  3999. return !_is_default_instance_ && head_ != NULL;
  4000. }
  4001. void XPhone_SendFile::clear_head() {
  4002. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  4003. head_ = NULL;
  4004. }
  4005. const ::XPhonePlus::XPhone_MsgBase& XPhone_SendFile::head() const {
  4006. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendFile.head)
  4007. return head_ != NULL ? *head_ : *default_instance_->head_;
  4008. }
  4009. ::XPhonePlus::XPhone_MsgBase* XPhone_SendFile::mutable_head() {
  4010. if (head_ == NULL) {
  4011. head_ = new ::XPhonePlus::XPhone_MsgBase;
  4012. }
  4013. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendFile.head)
  4014. return head_;
  4015. }
  4016. ::XPhonePlus::XPhone_MsgBase* XPhone_SendFile::release_head() {
  4017. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  4018. head_ = NULL;
  4019. return temp;
  4020. }
  4021. void XPhone_SendFile::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  4022. delete head_;
  4023. head_ = head;
  4024. if (head) {
  4025. } else {
  4026. }
  4027. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendFile.head)
  4028. }
  4029. // optional string strFilePath = 2;
  4030. void XPhone_SendFile::clear_strfilepath() {
  4031. strfilepath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4032. }
  4033. const ::std::string& XPhone_SendFile::strfilepath() const {
  4034. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendFile.strFilePath)
  4035. return strfilepath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4036. }
  4037. void XPhone_SendFile::set_strfilepath(const ::std::string& value) {
  4038. strfilepath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  4039. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SendFile.strFilePath)
  4040. }
  4041. void XPhone_SendFile::set_strfilepath(const char* value) {
  4042. strfilepath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  4043. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SendFile.strFilePath)
  4044. }
  4045. void XPhone_SendFile::set_strfilepath(const char* value, size_t size) {
  4046. strfilepath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  4047. ::std::string(reinterpret_cast<const char*>(value), size));
  4048. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SendFile.strFilePath)
  4049. }
  4050. ::std::string* XPhone_SendFile::mutable_strfilepath() {
  4051. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendFile.strFilePath)
  4052. return strfilepath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4053. }
  4054. ::std::string* XPhone_SendFile::release_strfilepath() {
  4055. return strfilepath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4056. }
  4057. void XPhone_SendFile::set_allocated_strfilepath(::std::string* strfilepath) {
  4058. if (strfilepath != NULL) {
  4059. } else {
  4060. }
  4061. strfilepath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strfilepath);
  4062. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendFile.strFilePath)
  4063. }
  4064. // optional bytes fileContent = 3;
  4065. void XPhone_SendFile::clear_filecontent() {
  4066. filecontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4067. }
  4068. const ::std::string& XPhone_SendFile::filecontent() const {
  4069. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendFile.fileContent)
  4070. return filecontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4071. }
  4072. void XPhone_SendFile::set_filecontent(const ::std::string& value) {
  4073. filecontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  4074. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SendFile.fileContent)
  4075. }
  4076. void XPhone_SendFile::set_filecontent(const char* value) {
  4077. filecontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  4078. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SendFile.fileContent)
  4079. }
  4080. void XPhone_SendFile::set_filecontent(const void* value, size_t size) {
  4081. filecontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  4082. ::std::string(reinterpret_cast<const char*>(value), size));
  4083. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SendFile.fileContent)
  4084. }
  4085. ::std::string* XPhone_SendFile::mutable_filecontent() {
  4086. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendFile.fileContent)
  4087. return filecontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4088. }
  4089. ::std::string* XPhone_SendFile::release_filecontent() {
  4090. return filecontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4091. }
  4092. void XPhone_SendFile::set_allocated_filecontent(::std::string* filecontent) {
  4093. if (filecontent != NULL) {
  4094. } else {
  4095. }
  4096. filecontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filecontent);
  4097. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendFile.fileContent)
  4098. }
  4099. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  4100. // ===================================================================
  4101. #ifndef _MSC_VER
  4102. const int XPhone_LocationSetting::kHeadFieldNumber;
  4103. const int XPhone_LocationSetting::kBStartFieldNumber;
  4104. const int XPhone_LocationSetting::kStrLocationFieldNumber;
  4105. const int XPhone_LocationSetting::kLongtitudeFieldNumber;
  4106. const int XPhone_LocationSetting::kLatitudeFieldNumber;
  4107. #endif // !_MSC_VER
  4108. XPhone_LocationSetting::XPhone_LocationSetting()
  4109. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  4110. SharedCtor();
  4111. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_LocationSetting)
  4112. }
  4113. void XPhone_LocationSetting::InitAsDefaultInstance() {
  4114. _is_default_instance_ = true;
  4115. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  4116. }
  4117. XPhone_LocationSetting::XPhone_LocationSetting(const XPhone_LocationSetting& from)
  4118. : ::google::protobuf::Message(),
  4119. _internal_metadata_(NULL) {
  4120. SharedCtor();
  4121. MergeFrom(from);
  4122. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_LocationSetting)
  4123. }
  4124. void XPhone_LocationSetting::SharedCtor() {
  4125. _is_default_instance_ = false;
  4126. ::google::protobuf::internal::GetEmptyString();
  4127. _cached_size_ = 0;
  4128. head_ = NULL;
  4129. bstart_ = false;
  4130. strlocation_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4131. longtitude_ = 0;
  4132. latitude_ = 0;
  4133. }
  4134. XPhone_LocationSetting::~XPhone_LocationSetting() {
  4135. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_LocationSetting)
  4136. SharedDtor();
  4137. }
  4138. void XPhone_LocationSetting::SharedDtor() {
  4139. strlocation_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4140. if (this != default_instance_) {
  4141. delete head_;
  4142. }
  4143. }
  4144. void XPhone_LocationSetting::SetCachedSize(int size) const {
  4145. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4146. _cached_size_ = size;
  4147. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4148. }
  4149. const ::google::protobuf::Descriptor* XPhone_LocationSetting::descriptor() {
  4150. protobuf_AssignDescriptorsOnce();
  4151. return XPhone_LocationSetting_descriptor_;
  4152. }
  4153. const XPhone_LocationSetting& XPhone_LocationSetting::default_instance() {
  4154. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  4155. return *default_instance_;
  4156. }
  4157. XPhone_LocationSetting* XPhone_LocationSetting::default_instance_ = NULL;
  4158. XPhone_LocationSetting* XPhone_LocationSetting::New(::google::protobuf::Arena* arena) const {
  4159. XPhone_LocationSetting* n = new XPhone_LocationSetting;
  4160. if (arena != NULL) {
  4161. arena->Own(n);
  4162. }
  4163. return n;
  4164. }
  4165. void XPhone_LocationSetting::Clear() {
  4166. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  4167. &reinterpret_cast<XPhone_LocationSetting*>(16)->f)
  4168. #define ZR_(first, last) do {\
  4169. ::memset(&first, 0,\
  4170. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  4171. } while (0)
  4172. ZR_(longtitude_, bstart_);
  4173. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  4174. head_ = NULL;
  4175. strlocation_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4176. #undef ZR_HELPER_
  4177. #undef ZR_
  4178. }
  4179. bool XPhone_LocationSetting::MergePartialFromCodedStream(
  4180. ::google::protobuf::io::CodedInputStream* input) {
  4181. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  4182. ::google::protobuf::uint32 tag;
  4183. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_LocationSetting)
  4184. for (;;) {
  4185. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  4186. tag = p.first;
  4187. if (!p.second) goto handle_unusual;
  4188. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4189. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  4190. case 1: {
  4191. if (tag == 10) {
  4192. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4193. input, mutable_head()));
  4194. } else {
  4195. goto handle_unusual;
  4196. }
  4197. if (input->ExpectTag(16)) goto parse_bStart;
  4198. break;
  4199. }
  4200. // optional bool bStart = 2;
  4201. case 2: {
  4202. if (tag == 16) {
  4203. parse_bStart:
  4204. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4205. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  4206. input, &bstart_)));
  4207. } else {
  4208. goto handle_unusual;
  4209. }
  4210. if (input->ExpectTag(26)) goto parse_strLocation;
  4211. break;
  4212. }
  4213. // optional string strLocation = 3;
  4214. case 3: {
  4215. if (tag == 26) {
  4216. parse_strLocation:
  4217. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4218. input, this->mutable_strlocation()));
  4219. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  4220. this->strlocation().data(), this->strlocation().length(),
  4221. ::google::protobuf::internal::WireFormatLite::PARSE,
  4222. "XPhonePlus.XPhone_LocationSetting.strLocation"));
  4223. } else {
  4224. goto handle_unusual;
  4225. }
  4226. if (input->ExpectTag(33)) goto parse_longtitude;
  4227. break;
  4228. }
  4229. // optional double longtitude = 4;
  4230. case 4: {
  4231. if (tag == 33) {
  4232. parse_longtitude:
  4233. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4234. double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
  4235. input, &longtitude_)));
  4236. } else {
  4237. goto handle_unusual;
  4238. }
  4239. if (input->ExpectTag(41)) goto parse_latitude;
  4240. break;
  4241. }
  4242. // optional double latitude = 5;
  4243. case 5: {
  4244. if (tag == 41) {
  4245. parse_latitude:
  4246. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4247. double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
  4248. input, &latitude_)));
  4249. } else {
  4250. goto handle_unusual;
  4251. }
  4252. if (input->ExpectAtEnd()) goto success;
  4253. break;
  4254. }
  4255. default: {
  4256. handle_unusual:
  4257. if (tag == 0 ||
  4258. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4259. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4260. goto success;
  4261. }
  4262. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  4263. break;
  4264. }
  4265. }
  4266. }
  4267. success:
  4268. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_LocationSetting)
  4269. return true;
  4270. failure:
  4271. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_LocationSetting)
  4272. return false;
  4273. #undef DO_
  4274. }
  4275. void XPhone_LocationSetting::SerializeWithCachedSizes(
  4276. ::google::protobuf::io::CodedOutputStream* output) const {
  4277. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_LocationSetting)
  4278. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  4279. if (this->has_head()) {
  4280. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4281. 1, *this->head_, output);
  4282. }
  4283. // optional bool bStart = 2;
  4284. if (this->bstart() != 0) {
  4285. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->bstart(), output);
  4286. }
  4287. // optional string strLocation = 3;
  4288. if (this->strlocation().size() > 0) {
  4289. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  4290. this->strlocation().data(), this->strlocation().length(),
  4291. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  4292. "XPhonePlus.XPhone_LocationSetting.strLocation");
  4293. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  4294. 3, this->strlocation(), output);
  4295. }
  4296. // optional double longtitude = 4;
  4297. if (this->longtitude() != 0) {
  4298. ::google::protobuf::internal::WireFormatLite::WriteDouble(4, this->longtitude(), output);
  4299. }
  4300. // optional double latitude = 5;
  4301. if (this->latitude() != 0) {
  4302. ::google::protobuf::internal::WireFormatLite::WriteDouble(5, this->latitude(), output);
  4303. }
  4304. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_LocationSetting)
  4305. }
  4306. ::google::protobuf::uint8* XPhone_LocationSetting::SerializeWithCachedSizesToArray(
  4307. ::google::protobuf::uint8* target) const {
  4308. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_LocationSetting)
  4309. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  4310. if (this->has_head()) {
  4311. target = ::google::protobuf::internal::WireFormatLite::
  4312. WriteMessageNoVirtualToArray(
  4313. 1, *this->head_, target);
  4314. }
  4315. // optional bool bStart = 2;
  4316. if (this->bstart() != 0) {
  4317. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->bstart(), target);
  4318. }
  4319. // optional string strLocation = 3;
  4320. if (this->strlocation().size() > 0) {
  4321. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  4322. this->strlocation().data(), this->strlocation().length(),
  4323. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  4324. "XPhonePlus.XPhone_LocationSetting.strLocation");
  4325. target =
  4326. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4327. 3, this->strlocation(), target);
  4328. }
  4329. // optional double longtitude = 4;
  4330. if (this->longtitude() != 0) {
  4331. target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(4, this->longtitude(), target);
  4332. }
  4333. // optional double latitude = 5;
  4334. if (this->latitude() != 0) {
  4335. target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(5, this->latitude(), target);
  4336. }
  4337. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_LocationSetting)
  4338. return target;
  4339. }
  4340. int XPhone_LocationSetting::ByteSize() const {
  4341. int total_size = 0;
  4342. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  4343. if (this->has_head()) {
  4344. total_size += 1 +
  4345. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4346. *this->head_);
  4347. }
  4348. // optional bool bStart = 2;
  4349. if (this->bstart() != 0) {
  4350. total_size += 1 + 1;
  4351. }
  4352. // optional string strLocation = 3;
  4353. if (this->strlocation().size() > 0) {
  4354. total_size += 1 +
  4355. ::google::protobuf::internal::WireFormatLite::StringSize(
  4356. this->strlocation());
  4357. }
  4358. // optional double longtitude = 4;
  4359. if (this->longtitude() != 0) {
  4360. total_size += 1 + 8;
  4361. }
  4362. // optional double latitude = 5;
  4363. if (this->latitude() != 0) {
  4364. total_size += 1 + 8;
  4365. }
  4366. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4367. _cached_size_ = total_size;
  4368. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4369. return total_size;
  4370. }
  4371. void XPhone_LocationSetting::MergeFrom(const ::google::protobuf::Message& from) {
  4372. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  4373. const XPhone_LocationSetting* source =
  4374. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_LocationSetting>(
  4375. &from);
  4376. if (source == NULL) {
  4377. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4378. } else {
  4379. MergeFrom(*source);
  4380. }
  4381. }
  4382. void XPhone_LocationSetting::MergeFrom(const XPhone_LocationSetting& from) {
  4383. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  4384. if (from.has_head()) {
  4385. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  4386. }
  4387. if (from.bstart() != 0) {
  4388. set_bstart(from.bstart());
  4389. }
  4390. if (from.strlocation().size() > 0) {
  4391. strlocation_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strlocation_);
  4392. }
  4393. if (from.longtitude() != 0) {
  4394. set_longtitude(from.longtitude());
  4395. }
  4396. if (from.latitude() != 0) {
  4397. set_latitude(from.latitude());
  4398. }
  4399. }
  4400. void XPhone_LocationSetting::CopyFrom(const ::google::protobuf::Message& from) {
  4401. if (&from == this) return;
  4402. Clear();
  4403. MergeFrom(from);
  4404. }
  4405. void XPhone_LocationSetting::CopyFrom(const XPhone_LocationSetting& from) {
  4406. if (&from == this) return;
  4407. Clear();
  4408. MergeFrom(from);
  4409. }
  4410. bool XPhone_LocationSetting::IsInitialized() const {
  4411. return true;
  4412. }
  4413. void XPhone_LocationSetting::Swap(XPhone_LocationSetting* other) {
  4414. if (other == this) return;
  4415. InternalSwap(other);
  4416. }
  4417. void XPhone_LocationSetting::InternalSwap(XPhone_LocationSetting* other) {
  4418. std::swap(head_, other->head_);
  4419. std::swap(bstart_, other->bstart_);
  4420. strlocation_.Swap(&other->strlocation_);
  4421. std::swap(longtitude_, other->longtitude_);
  4422. std::swap(latitude_, other->latitude_);
  4423. _internal_metadata_.Swap(&other->_internal_metadata_);
  4424. std::swap(_cached_size_, other->_cached_size_);
  4425. }
  4426. ::google::protobuf::Metadata XPhone_LocationSetting::GetMetadata() const {
  4427. protobuf_AssignDescriptorsOnce();
  4428. ::google::protobuf::Metadata metadata;
  4429. metadata.descriptor = XPhone_LocationSetting_descriptor_;
  4430. metadata.reflection = XPhone_LocationSetting_reflection_;
  4431. return metadata;
  4432. }
  4433. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  4434. // XPhone_LocationSetting
  4435. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  4436. bool XPhone_LocationSetting::has_head() const {
  4437. return !_is_default_instance_ && head_ != NULL;
  4438. }
  4439. void XPhone_LocationSetting::clear_head() {
  4440. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  4441. head_ = NULL;
  4442. }
  4443. const ::XPhonePlus::XPhone_MsgBase& XPhone_LocationSetting::head() const {
  4444. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LocationSetting.head)
  4445. return head_ != NULL ? *head_ : *default_instance_->head_;
  4446. }
  4447. ::XPhonePlus::XPhone_MsgBase* XPhone_LocationSetting::mutable_head() {
  4448. if (head_ == NULL) {
  4449. head_ = new ::XPhonePlus::XPhone_MsgBase;
  4450. }
  4451. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LocationSetting.head)
  4452. return head_;
  4453. }
  4454. ::XPhonePlus::XPhone_MsgBase* XPhone_LocationSetting::release_head() {
  4455. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  4456. head_ = NULL;
  4457. return temp;
  4458. }
  4459. void XPhone_LocationSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  4460. delete head_;
  4461. head_ = head;
  4462. if (head) {
  4463. } else {
  4464. }
  4465. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LocationSetting.head)
  4466. }
  4467. // optional bool bStart = 2;
  4468. void XPhone_LocationSetting::clear_bstart() {
  4469. bstart_ = false;
  4470. }
  4471. bool XPhone_LocationSetting::bstart() const {
  4472. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LocationSetting.bStart)
  4473. return bstart_;
  4474. }
  4475. void XPhone_LocationSetting::set_bstart(bool value) {
  4476. bstart_ = value;
  4477. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LocationSetting.bStart)
  4478. }
  4479. // optional string strLocation = 3;
  4480. void XPhone_LocationSetting::clear_strlocation() {
  4481. strlocation_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4482. }
  4483. const ::std::string& XPhone_LocationSetting::strlocation() const {
  4484. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LocationSetting.strLocation)
  4485. return strlocation_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4486. }
  4487. void XPhone_LocationSetting::set_strlocation(const ::std::string& value) {
  4488. strlocation_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  4489. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LocationSetting.strLocation)
  4490. }
  4491. void XPhone_LocationSetting::set_strlocation(const char* value) {
  4492. strlocation_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  4493. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_LocationSetting.strLocation)
  4494. }
  4495. void XPhone_LocationSetting::set_strlocation(const char* value, size_t size) {
  4496. strlocation_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  4497. ::std::string(reinterpret_cast<const char*>(value), size));
  4498. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_LocationSetting.strLocation)
  4499. }
  4500. ::std::string* XPhone_LocationSetting::mutable_strlocation() {
  4501. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LocationSetting.strLocation)
  4502. return strlocation_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4503. }
  4504. ::std::string* XPhone_LocationSetting::release_strlocation() {
  4505. return strlocation_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4506. }
  4507. void XPhone_LocationSetting::set_allocated_strlocation(::std::string* strlocation) {
  4508. if (strlocation != NULL) {
  4509. } else {
  4510. }
  4511. strlocation_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strlocation);
  4512. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LocationSetting.strLocation)
  4513. }
  4514. // optional double longtitude = 4;
  4515. void XPhone_LocationSetting::clear_longtitude() {
  4516. longtitude_ = 0;
  4517. }
  4518. double XPhone_LocationSetting::longtitude() const {
  4519. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LocationSetting.longtitude)
  4520. return longtitude_;
  4521. }
  4522. void XPhone_LocationSetting::set_longtitude(double value) {
  4523. longtitude_ = value;
  4524. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LocationSetting.longtitude)
  4525. }
  4526. // optional double latitude = 5;
  4527. void XPhone_LocationSetting::clear_latitude() {
  4528. latitude_ = 0;
  4529. }
  4530. double XPhone_LocationSetting::latitude() const {
  4531. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LocationSetting.latitude)
  4532. return latitude_;
  4533. }
  4534. void XPhone_LocationSetting::set_latitude(double value) {
  4535. latitude_ = value;
  4536. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LocationSetting.latitude)
  4537. }
  4538. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  4539. // ===================================================================
  4540. #ifndef _MSC_VER
  4541. const int XPhone_AddNearbySetting::kHeadFieldNumber;
  4542. const int XPhone_AddNearbySetting::kAddnameFieldNumber;
  4543. const int XPhone_AddNearbySetting::kStrIntroduceFieldNumber;
  4544. const int XPhone_AddNearbySetting::kAddIntervalFieldNumber;
  4545. const int XPhone_AddNearbySetting::kSexFieldNumber;
  4546. const int XPhone_AddNearbySetting::kAddcountFieldNumber;
  4547. #endif // !_MSC_VER
  4548. XPhone_AddNearbySetting::XPhone_AddNearbySetting()
  4549. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  4550. SharedCtor();
  4551. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AddNearbySetting)
  4552. }
  4553. void XPhone_AddNearbySetting::InitAsDefaultInstance() {
  4554. _is_default_instance_ = true;
  4555. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  4556. }
  4557. XPhone_AddNearbySetting::XPhone_AddNearbySetting(const XPhone_AddNearbySetting& from)
  4558. : ::google::protobuf::Message(),
  4559. _internal_metadata_(NULL) {
  4560. SharedCtor();
  4561. MergeFrom(from);
  4562. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AddNearbySetting)
  4563. }
  4564. void XPhone_AddNearbySetting::SharedCtor() {
  4565. _is_default_instance_ = false;
  4566. ::google::protobuf::internal::GetEmptyString();
  4567. _cached_size_ = 0;
  4568. head_ = NULL;
  4569. addname_ = false;
  4570. strintroduce_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4571. addinterval_ = 0;
  4572. sex_ = 0;
  4573. addcount_ = 0;
  4574. }
  4575. XPhone_AddNearbySetting::~XPhone_AddNearbySetting() {
  4576. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AddNearbySetting)
  4577. SharedDtor();
  4578. }
  4579. void XPhone_AddNearbySetting::SharedDtor() {
  4580. strintroduce_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4581. if (this != default_instance_) {
  4582. delete head_;
  4583. }
  4584. }
  4585. void XPhone_AddNearbySetting::SetCachedSize(int size) const {
  4586. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4587. _cached_size_ = size;
  4588. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4589. }
  4590. const ::google::protobuf::Descriptor* XPhone_AddNearbySetting::descriptor() {
  4591. protobuf_AssignDescriptorsOnce();
  4592. return XPhone_AddNearbySetting_descriptor_;
  4593. }
  4594. const XPhone_AddNearbySetting& XPhone_AddNearbySetting::default_instance() {
  4595. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  4596. return *default_instance_;
  4597. }
  4598. XPhone_AddNearbySetting* XPhone_AddNearbySetting::default_instance_ = NULL;
  4599. XPhone_AddNearbySetting* XPhone_AddNearbySetting::New(::google::protobuf::Arena* arena) const {
  4600. XPhone_AddNearbySetting* n = new XPhone_AddNearbySetting;
  4601. if (arena != NULL) {
  4602. arena->Own(n);
  4603. }
  4604. return n;
  4605. }
  4606. void XPhone_AddNearbySetting::Clear() {
  4607. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  4608. &reinterpret_cast<XPhone_AddNearbySetting*>(16)->f)
  4609. #define ZR_(first, last) do {\
  4610. ::memset(&first, 0,\
  4611. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  4612. } while (0)
  4613. ZR_(addname_, addcount_);
  4614. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  4615. head_ = NULL;
  4616. strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4617. #undef ZR_HELPER_
  4618. #undef ZR_
  4619. }
  4620. bool XPhone_AddNearbySetting::MergePartialFromCodedStream(
  4621. ::google::protobuf::io::CodedInputStream* input) {
  4622. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  4623. ::google::protobuf::uint32 tag;
  4624. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AddNearbySetting)
  4625. for (;;) {
  4626. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  4627. tag = p.first;
  4628. if (!p.second) goto handle_unusual;
  4629. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4630. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  4631. case 1: {
  4632. if (tag == 10) {
  4633. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4634. input, mutable_head()));
  4635. } else {
  4636. goto handle_unusual;
  4637. }
  4638. if (input->ExpectTag(16)) goto parse_addname;
  4639. break;
  4640. }
  4641. // optional bool addname = 2;
  4642. case 2: {
  4643. if (tag == 16) {
  4644. parse_addname:
  4645. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4646. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  4647. input, &addname_)));
  4648. } else {
  4649. goto handle_unusual;
  4650. }
  4651. if (input->ExpectTag(26)) goto parse_strIntroduce;
  4652. break;
  4653. }
  4654. // optional string strIntroduce = 3;
  4655. case 3: {
  4656. if (tag == 26) {
  4657. parse_strIntroduce:
  4658. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4659. input, this->mutable_strintroduce()));
  4660. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  4661. this->strintroduce().data(), this->strintroduce().length(),
  4662. ::google::protobuf::internal::WireFormatLite::PARSE,
  4663. "XPhonePlus.XPhone_AddNearbySetting.strIntroduce"));
  4664. } else {
  4665. goto handle_unusual;
  4666. }
  4667. if (input->ExpectTag(32)) goto parse_addInterval;
  4668. break;
  4669. }
  4670. // optional int32 addInterval = 4;
  4671. case 4: {
  4672. if (tag == 32) {
  4673. parse_addInterval:
  4674. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4675. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4676. input, &addinterval_)));
  4677. } else {
  4678. goto handle_unusual;
  4679. }
  4680. if (input->ExpectTag(40)) goto parse_sex;
  4681. break;
  4682. }
  4683. // optional int32 sex = 5;
  4684. case 5: {
  4685. if (tag == 40) {
  4686. parse_sex:
  4687. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4688. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4689. input, &sex_)));
  4690. } else {
  4691. goto handle_unusual;
  4692. }
  4693. if (input->ExpectTag(48)) goto parse_addcount;
  4694. break;
  4695. }
  4696. // optional int32 addcount = 6;
  4697. case 6: {
  4698. if (tag == 48) {
  4699. parse_addcount:
  4700. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4701. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4702. input, &addcount_)));
  4703. } else {
  4704. goto handle_unusual;
  4705. }
  4706. if (input->ExpectAtEnd()) goto success;
  4707. break;
  4708. }
  4709. default: {
  4710. handle_unusual:
  4711. if (tag == 0 ||
  4712. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4713. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4714. goto success;
  4715. }
  4716. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  4717. break;
  4718. }
  4719. }
  4720. }
  4721. success:
  4722. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AddNearbySetting)
  4723. return true;
  4724. failure:
  4725. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AddNearbySetting)
  4726. return false;
  4727. #undef DO_
  4728. }
  4729. void XPhone_AddNearbySetting::SerializeWithCachedSizes(
  4730. ::google::protobuf::io::CodedOutputStream* output) const {
  4731. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AddNearbySetting)
  4732. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  4733. if (this->has_head()) {
  4734. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4735. 1, *this->head_, output);
  4736. }
  4737. // optional bool addname = 2;
  4738. if (this->addname() != 0) {
  4739. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->addname(), output);
  4740. }
  4741. // optional string strIntroduce = 3;
  4742. if (this->strintroduce().size() > 0) {
  4743. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  4744. this->strintroduce().data(), this->strintroduce().length(),
  4745. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  4746. "XPhonePlus.XPhone_AddNearbySetting.strIntroduce");
  4747. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  4748. 3, this->strintroduce(), output);
  4749. }
  4750. // optional int32 addInterval = 4;
  4751. if (this->addinterval() != 0) {
  4752. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->addinterval(), output);
  4753. }
  4754. // optional int32 sex = 5;
  4755. if (this->sex() != 0) {
  4756. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->sex(), output);
  4757. }
  4758. // optional int32 addcount = 6;
  4759. if (this->addcount() != 0) {
  4760. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->addcount(), output);
  4761. }
  4762. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AddNearbySetting)
  4763. }
  4764. ::google::protobuf::uint8* XPhone_AddNearbySetting::SerializeWithCachedSizesToArray(
  4765. ::google::protobuf::uint8* target) const {
  4766. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AddNearbySetting)
  4767. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  4768. if (this->has_head()) {
  4769. target = ::google::protobuf::internal::WireFormatLite::
  4770. WriteMessageNoVirtualToArray(
  4771. 1, *this->head_, target);
  4772. }
  4773. // optional bool addname = 2;
  4774. if (this->addname() != 0) {
  4775. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->addname(), target);
  4776. }
  4777. // optional string strIntroduce = 3;
  4778. if (this->strintroduce().size() > 0) {
  4779. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  4780. this->strintroduce().data(), this->strintroduce().length(),
  4781. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  4782. "XPhonePlus.XPhone_AddNearbySetting.strIntroduce");
  4783. target =
  4784. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4785. 3, this->strintroduce(), target);
  4786. }
  4787. // optional int32 addInterval = 4;
  4788. if (this->addinterval() != 0) {
  4789. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->addinterval(), target);
  4790. }
  4791. // optional int32 sex = 5;
  4792. if (this->sex() != 0) {
  4793. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->sex(), target);
  4794. }
  4795. // optional int32 addcount = 6;
  4796. if (this->addcount() != 0) {
  4797. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->addcount(), target);
  4798. }
  4799. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AddNearbySetting)
  4800. return target;
  4801. }
  4802. int XPhone_AddNearbySetting::ByteSize() const {
  4803. int total_size = 0;
  4804. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  4805. if (this->has_head()) {
  4806. total_size += 1 +
  4807. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4808. *this->head_);
  4809. }
  4810. // optional bool addname = 2;
  4811. if (this->addname() != 0) {
  4812. total_size += 1 + 1;
  4813. }
  4814. // optional string strIntroduce = 3;
  4815. if (this->strintroduce().size() > 0) {
  4816. total_size += 1 +
  4817. ::google::protobuf::internal::WireFormatLite::StringSize(
  4818. this->strintroduce());
  4819. }
  4820. // optional int32 addInterval = 4;
  4821. if (this->addinterval() != 0) {
  4822. total_size += 1 +
  4823. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4824. this->addinterval());
  4825. }
  4826. // optional int32 sex = 5;
  4827. if (this->sex() != 0) {
  4828. total_size += 1 +
  4829. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4830. this->sex());
  4831. }
  4832. // optional int32 addcount = 6;
  4833. if (this->addcount() != 0) {
  4834. total_size += 1 +
  4835. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4836. this->addcount());
  4837. }
  4838. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4839. _cached_size_ = total_size;
  4840. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4841. return total_size;
  4842. }
  4843. void XPhone_AddNearbySetting::MergeFrom(const ::google::protobuf::Message& from) {
  4844. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  4845. const XPhone_AddNearbySetting* source =
  4846. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AddNearbySetting>(
  4847. &from);
  4848. if (source == NULL) {
  4849. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4850. } else {
  4851. MergeFrom(*source);
  4852. }
  4853. }
  4854. void XPhone_AddNearbySetting::MergeFrom(const XPhone_AddNearbySetting& from) {
  4855. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  4856. if (from.has_head()) {
  4857. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  4858. }
  4859. if (from.addname() != 0) {
  4860. set_addname(from.addname());
  4861. }
  4862. if (from.strintroduce().size() > 0) {
  4863. strintroduce_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strintroduce_);
  4864. }
  4865. if (from.addinterval() != 0) {
  4866. set_addinterval(from.addinterval());
  4867. }
  4868. if (from.sex() != 0) {
  4869. set_sex(from.sex());
  4870. }
  4871. if (from.addcount() != 0) {
  4872. set_addcount(from.addcount());
  4873. }
  4874. }
  4875. void XPhone_AddNearbySetting::CopyFrom(const ::google::protobuf::Message& from) {
  4876. if (&from == this) return;
  4877. Clear();
  4878. MergeFrom(from);
  4879. }
  4880. void XPhone_AddNearbySetting::CopyFrom(const XPhone_AddNearbySetting& from) {
  4881. if (&from == this) return;
  4882. Clear();
  4883. MergeFrom(from);
  4884. }
  4885. bool XPhone_AddNearbySetting::IsInitialized() const {
  4886. return true;
  4887. }
  4888. void XPhone_AddNearbySetting::Swap(XPhone_AddNearbySetting* other) {
  4889. if (other == this) return;
  4890. InternalSwap(other);
  4891. }
  4892. void XPhone_AddNearbySetting::InternalSwap(XPhone_AddNearbySetting* other) {
  4893. std::swap(head_, other->head_);
  4894. std::swap(addname_, other->addname_);
  4895. strintroduce_.Swap(&other->strintroduce_);
  4896. std::swap(addinterval_, other->addinterval_);
  4897. std::swap(sex_, other->sex_);
  4898. std::swap(addcount_, other->addcount_);
  4899. _internal_metadata_.Swap(&other->_internal_metadata_);
  4900. std::swap(_cached_size_, other->_cached_size_);
  4901. }
  4902. ::google::protobuf::Metadata XPhone_AddNearbySetting::GetMetadata() const {
  4903. protobuf_AssignDescriptorsOnce();
  4904. ::google::protobuf::Metadata metadata;
  4905. metadata.descriptor = XPhone_AddNearbySetting_descriptor_;
  4906. metadata.reflection = XPhone_AddNearbySetting_reflection_;
  4907. return metadata;
  4908. }
  4909. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  4910. // XPhone_AddNearbySetting
  4911. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  4912. bool XPhone_AddNearbySetting::has_head() const {
  4913. return !_is_default_instance_ && head_ != NULL;
  4914. }
  4915. void XPhone_AddNearbySetting::clear_head() {
  4916. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  4917. head_ = NULL;
  4918. }
  4919. const ::XPhonePlus::XPhone_MsgBase& XPhone_AddNearbySetting::head() const {
  4920. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.head)
  4921. return head_ != NULL ? *head_ : *default_instance_->head_;
  4922. }
  4923. ::XPhonePlus::XPhone_MsgBase* XPhone_AddNearbySetting::mutable_head() {
  4924. if (head_ == NULL) {
  4925. head_ = new ::XPhonePlus::XPhone_MsgBase;
  4926. }
  4927. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddNearbySetting.head)
  4928. return head_;
  4929. }
  4930. ::XPhonePlus::XPhone_MsgBase* XPhone_AddNearbySetting::release_head() {
  4931. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  4932. head_ = NULL;
  4933. return temp;
  4934. }
  4935. void XPhone_AddNearbySetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  4936. delete head_;
  4937. head_ = head;
  4938. if (head) {
  4939. } else {
  4940. }
  4941. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddNearbySetting.head)
  4942. }
  4943. // optional bool addname = 2;
  4944. void XPhone_AddNearbySetting::clear_addname() {
  4945. addname_ = false;
  4946. }
  4947. bool XPhone_AddNearbySetting::addname() const {
  4948. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.addname)
  4949. return addname_;
  4950. }
  4951. void XPhone_AddNearbySetting::set_addname(bool value) {
  4952. addname_ = value;
  4953. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddNearbySetting.addname)
  4954. }
  4955. // optional string strIntroduce = 3;
  4956. void XPhone_AddNearbySetting::clear_strintroduce() {
  4957. strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4958. }
  4959. const ::std::string& XPhone_AddNearbySetting::strintroduce() const {
  4960. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
  4961. return strintroduce_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4962. }
  4963. void XPhone_AddNearbySetting::set_strintroduce(const ::std::string& value) {
  4964. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  4965. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
  4966. }
  4967. void XPhone_AddNearbySetting::set_strintroduce(const char* value) {
  4968. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  4969. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
  4970. }
  4971. void XPhone_AddNearbySetting::set_strintroduce(const char* value, size_t size) {
  4972. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  4973. ::std::string(reinterpret_cast<const char*>(value), size));
  4974. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
  4975. }
  4976. ::std::string* XPhone_AddNearbySetting::mutable_strintroduce() {
  4977. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
  4978. return strintroduce_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4979. }
  4980. ::std::string* XPhone_AddNearbySetting::release_strintroduce() {
  4981. return strintroduce_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  4982. }
  4983. void XPhone_AddNearbySetting::set_allocated_strintroduce(::std::string* strintroduce) {
  4984. if (strintroduce != NULL) {
  4985. } else {
  4986. }
  4987. strintroduce_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strintroduce);
  4988. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
  4989. }
  4990. // optional int32 addInterval = 4;
  4991. void XPhone_AddNearbySetting::clear_addinterval() {
  4992. addinterval_ = 0;
  4993. }
  4994. ::google::protobuf::int32 XPhone_AddNearbySetting::addinterval() const {
  4995. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.addInterval)
  4996. return addinterval_;
  4997. }
  4998. void XPhone_AddNearbySetting::set_addinterval(::google::protobuf::int32 value) {
  4999. addinterval_ = value;
  5000. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddNearbySetting.addInterval)
  5001. }
  5002. // optional int32 sex = 5;
  5003. void XPhone_AddNearbySetting::clear_sex() {
  5004. sex_ = 0;
  5005. }
  5006. ::google::protobuf::int32 XPhone_AddNearbySetting::sex() const {
  5007. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.sex)
  5008. return sex_;
  5009. }
  5010. void XPhone_AddNearbySetting::set_sex(::google::protobuf::int32 value) {
  5011. sex_ = value;
  5012. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddNearbySetting.sex)
  5013. }
  5014. // optional int32 addcount = 6;
  5015. void XPhone_AddNearbySetting::clear_addcount() {
  5016. addcount_ = 0;
  5017. }
  5018. ::google::protobuf::int32 XPhone_AddNearbySetting::addcount() const {
  5019. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.addcount)
  5020. return addcount_;
  5021. }
  5022. void XPhone_AddNearbySetting::set_addcount(::google::protobuf::int32 value) {
  5023. addcount_ = value;
  5024. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddNearbySetting.addcount)
  5025. }
  5026. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  5027. // ===================================================================
  5028. #ifndef _MSC_VER
  5029. const int XPhone_AddressBookSetting::kHeadFieldNumber;
  5030. const int XPhone_AddressBookSetting::kAddcountFieldNumber;
  5031. const int XPhone_AddressBookSetting::kAddIntervalFieldNumber;
  5032. const int XPhone_AddressBookSetting::kIsexFieldNumber;
  5033. const int XPhone_AddressBookSetting::kStrIntroduceFieldNumber;
  5034. #endif // !_MSC_VER
  5035. XPhone_AddressBookSetting::XPhone_AddressBookSetting()
  5036. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  5037. SharedCtor();
  5038. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AddressBookSetting)
  5039. }
  5040. void XPhone_AddressBookSetting::InitAsDefaultInstance() {
  5041. _is_default_instance_ = true;
  5042. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  5043. }
  5044. XPhone_AddressBookSetting::XPhone_AddressBookSetting(const XPhone_AddressBookSetting& from)
  5045. : ::google::protobuf::Message(),
  5046. _internal_metadata_(NULL) {
  5047. SharedCtor();
  5048. MergeFrom(from);
  5049. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AddressBookSetting)
  5050. }
  5051. void XPhone_AddressBookSetting::SharedCtor() {
  5052. _is_default_instance_ = false;
  5053. ::google::protobuf::internal::GetEmptyString();
  5054. _cached_size_ = 0;
  5055. head_ = NULL;
  5056. addcount_ = 0;
  5057. addinterval_ = 0;
  5058. isex_ = 0;
  5059. strintroduce_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5060. }
  5061. XPhone_AddressBookSetting::~XPhone_AddressBookSetting() {
  5062. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AddressBookSetting)
  5063. SharedDtor();
  5064. }
  5065. void XPhone_AddressBookSetting::SharedDtor() {
  5066. strintroduce_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5067. if (this != default_instance_) {
  5068. delete head_;
  5069. }
  5070. }
  5071. void XPhone_AddressBookSetting::SetCachedSize(int size) const {
  5072. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5073. _cached_size_ = size;
  5074. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5075. }
  5076. const ::google::protobuf::Descriptor* XPhone_AddressBookSetting::descriptor() {
  5077. protobuf_AssignDescriptorsOnce();
  5078. return XPhone_AddressBookSetting_descriptor_;
  5079. }
  5080. const XPhone_AddressBookSetting& XPhone_AddressBookSetting::default_instance() {
  5081. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  5082. return *default_instance_;
  5083. }
  5084. XPhone_AddressBookSetting* XPhone_AddressBookSetting::default_instance_ = NULL;
  5085. XPhone_AddressBookSetting* XPhone_AddressBookSetting::New(::google::protobuf::Arena* arena) const {
  5086. XPhone_AddressBookSetting* n = new XPhone_AddressBookSetting;
  5087. if (arena != NULL) {
  5088. arena->Own(n);
  5089. }
  5090. return n;
  5091. }
  5092. void XPhone_AddressBookSetting::Clear() {
  5093. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  5094. &reinterpret_cast<XPhone_AddressBookSetting*>(16)->f)
  5095. #define ZR_(first, last) do {\
  5096. ::memset(&first, 0,\
  5097. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  5098. } while (0)
  5099. ZR_(addcount_, addinterval_);
  5100. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  5101. head_ = NULL;
  5102. isex_ = 0;
  5103. strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5104. #undef ZR_HELPER_
  5105. #undef ZR_
  5106. }
  5107. bool XPhone_AddressBookSetting::MergePartialFromCodedStream(
  5108. ::google::protobuf::io::CodedInputStream* input) {
  5109. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  5110. ::google::protobuf::uint32 tag;
  5111. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AddressBookSetting)
  5112. for (;;) {
  5113. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  5114. tag = p.first;
  5115. if (!p.second) goto handle_unusual;
  5116. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5117. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5118. case 1: {
  5119. if (tag == 10) {
  5120. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  5121. input, mutable_head()));
  5122. } else {
  5123. goto handle_unusual;
  5124. }
  5125. if (input->ExpectTag(16)) goto parse_addcount;
  5126. break;
  5127. }
  5128. // optional int32 addcount = 2;
  5129. case 2: {
  5130. if (tag == 16) {
  5131. parse_addcount:
  5132. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5133. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5134. input, &addcount_)));
  5135. } else {
  5136. goto handle_unusual;
  5137. }
  5138. if (input->ExpectTag(24)) goto parse_addInterval;
  5139. break;
  5140. }
  5141. // optional int32 addInterval = 3;
  5142. case 3: {
  5143. if (tag == 24) {
  5144. parse_addInterval:
  5145. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5146. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5147. input, &addinterval_)));
  5148. } else {
  5149. goto handle_unusual;
  5150. }
  5151. if (input->ExpectTag(32)) goto parse_isex;
  5152. break;
  5153. }
  5154. // optional int32 isex = 4;
  5155. case 4: {
  5156. if (tag == 32) {
  5157. parse_isex:
  5158. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5159. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5160. input, &isex_)));
  5161. } else {
  5162. goto handle_unusual;
  5163. }
  5164. if (input->ExpectTag(42)) goto parse_strIntroduce;
  5165. break;
  5166. }
  5167. // optional string strIntroduce = 5;
  5168. case 5: {
  5169. if (tag == 42) {
  5170. parse_strIntroduce:
  5171. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5172. input, this->mutable_strintroduce()));
  5173. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  5174. this->strintroduce().data(), this->strintroduce().length(),
  5175. ::google::protobuf::internal::WireFormatLite::PARSE,
  5176. "XPhonePlus.XPhone_AddressBookSetting.strIntroduce"));
  5177. } else {
  5178. goto handle_unusual;
  5179. }
  5180. if (input->ExpectAtEnd()) goto success;
  5181. break;
  5182. }
  5183. default: {
  5184. handle_unusual:
  5185. if (tag == 0 ||
  5186. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5187. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5188. goto success;
  5189. }
  5190. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  5191. break;
  5192. }
  5193. }
  5194. }
  5195. success:
  5196. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AddressBookSetting)
  5197. return true;
  5198. failure:
  5199. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AddressBookSetting)
  5200. return false;
  5201. #undef DO_
  5202. }
  5203. void XPhone_AddressBookSetting::SerializeWithCachedSizes(
  5204. ::google::protobuf::io::CodedOutputStream* output) const {
  5205. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AddressBookSetting)
  5206. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5207. if (this->has_head()) {
  5208. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5209. 1, *this->head_, output);
  5210. }
  5211. // optional int32 addcount = 2;
  5212. if (this->addcount() != 0) {
  5213. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->addcount(), output);
  5214. }
  5215. // optional int32 addInterval = 3;
  5216. if (this->addinterval() != 0) {
  5217. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->addinterval(), output);
  5218. }
  5219. // optional int32 isex = 4;
  5220. if (this->isex() != 0) {
  5221. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->isex(), output);
  5222. }
  5223. // optional string strIntroduce = 5;
  5224. if (this->strintroduce().size() > 0) {
  5225. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  5226. this->strintroduce().data(), this->strintroduce().length(),
  5227. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  5228. "XPhonePlus.XPhone_AddressBookSetting.strIntroduce");
  5229. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  5230. 5, this->strintroduce(), output);
  5231. }
  5232. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AddressBookSetting)
  5233. }
  5234. ::google::protobuf::uint8* XPhone_AddressBookSetting::SerializeWithCachedSizesToArray(
  5235. ::google::protobuf::uint8* target) const {
  5236. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AddressBookSetting)
  5237. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5238. if (this->has_head()) {
  5239. target = ::google::protobuf::internal::WireFormatLite::
  5240. WriteMessageNoVirtualToArray(
  5241. 1, *this->head_, target);
  5242. }
  5243. // optional int32 addcount = 2;
  5244. if (this->addcount() != 0) {
  5245. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->addcount(), target);
  5246. }
  5247. // optional int32 addInterval = 3;
  5248. if (this->addinterval() != 0) {
  5249. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->addinterval(), target);
  5250. }
  5251. // optional int32 isex = 4;
  5252. if (this->isex() != 0) {
  5253. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->isex(), target);
  5254. }
  5255. // optional string strIntroduce = 5;
  5256. if (this->strintroduce().size() > 0) {
  5257. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  5258. this->strintroduce().data(), this->strintroduce().length(),
  5259. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  5260. "XPhonePlus.XPhone_AddressBookSetting.strIntroduce");
  5261. target =
  5262. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5263. 5, this->strintroduce(), target);
  5264. }
  5265. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AddressBookSetting)
  5266. return target;
  5267. }
  5268. int XPhone_AddressBookSetting::ByteSize() const {
  5269. int total_size = 0;
  5270. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5271. if (this->has_head()) {
  5272. total_size += 1 +
  5273. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  5274. *this->head_);
  5275. }
  5276. // optional int32 addcount = 2;
  5277. if (this->addcount() != 0) {
  5278. total_size += 1 +
  5279. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5280. this->addcount());
  5281. }
  5282. // optional int32 addInterval = 3;
  5283. if (this->addinterval() != 0) {
  5284. total_size += 1 +
  5285. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5286. this->addinterval());
  5287. }
  5288. // optional int32 isex = 4;
  5289. if (this->isex() != 0) {
  5290. total_size += 1 +
  5291. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5292. this->isex());
  5293. }
  5294. // optional string strIntroduce = 5;
  5295. if (this->strintroduce().size() > 0) {
  5296. total_size += 1 +
  5297. ::google::protobuf::internal::WireFormatLite::StringSize(
  5298. this->strintroduce());
  5299. }
  5300. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5301. _cached_size_ = total_size;
  5302. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5303. return total_size;
  5304. }
  5305. void XPhone_AddressBookSetting::MergeFrom(const ::google::protobuf::Message& from) {
  5306. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  5307. const XPhone_AddressBookSetting* source =
  5308. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AddressBookSetting>(
  5309. &from);
  5310. if (source == NULL) {
  5311. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5312. } else {
  5313. MergeFrom(*source);
  5314. }
  5315. }
  5316. void XPhone_AddressBookSetting::MergeFrom(const XPhone_AddressBookSetting& from) {
  5317. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  5318. if (from.has_head()) {
  5319. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  5320. }
  5321. if (from.addcount() != 0) {
  5322. set_addcount(from.addcount());
  5323. }
  5324. if (from.addinterval() != 0) {
  5325. set_addinterval(from.addinterval());
  5326. }
  5327. if (from.isex() != 0) {
  5328. set_isex(from.isex());
  5329. }
  5330. if (from.strintroduce().size() > 0) {
  5331. strintroduce_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strintroduce_);
  5332. }
  5333. }
  5334. void XPhone_AddressBookSetting::CopyFrom(const ::google::protobuf::Message& from) {
  5335. if (&from == this) return;
  5336. Clear();
  5337. MergeFrom(from);
  5338. }
  5339. void XPhone_AddressBookSetting::CopyFrom(const XPhone_AddressBookSetting& from) {
  5340. if (&from == this) return;
  5341. Clear();
  5342. MergeFrom(from);
  5343. }
  5344. bool XPhone_AddressBookSetting::IsInitialized() const {
  5345. return true;
  5346. }
  5347. void XPhone_AddressBookSetting::Swap(XPhone_AddressBookSetting* other) {
  5348. if (other == this) return;
  5349. InternalSwap(other);
  5350. }
  5351. void XPhone_AddressBookSetting::InternalSwap(XPhone_AddressBookSetting* other) {
  5352. std::swap(head_, other->head_);
  5353. std::swap(addcount_, other->addcount_);
  5354. std::swap(addinterval_, other->addinterval_);
  5355. std::swap(isex_, other->isex_);
  5356. strintroduce_.Swap(&other->strintroduce_);
  5357. _internal_metadata_.Swap(&other->_internal_metadata_);
  5358. std::swap(_cached_size_, other->_cached_size_);
  5359. }
  5360. ::google::protobuf::Metadata XPhone_AddressBookSetting::GetMetadata() const {
  5361. protobuf_AssignDescriptorsOnce();
  5362. ::google::protobuf::Metadata metadata;
  5363. metadata.descriptor = XPhone_AddressBookSetting_descriptor_;
  5364. metadata.reflection = XPhone_AddressBookSetting_reflection_;
  5365. return metadata;
  5366. }
  5367. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  5368. // XPhone_AddressBookSetting
  5369. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5370. bool XPhone_AddressBookSetting::has_head() const {
  5371. return !_is_default_instance_ && head_ != NULL;
  5372. }
  5373. void XPhone_AddressBookSetting::clear_head() {
  5374. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  5375. head_ = NULL;
  5376. }
  5377. const ::XPhonePlus::XPhone_MsgBase& XPhone_AddressBookSetting::head() const {
  5378. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddressBookSetting.head)
  5379. return head_ != NULL ? *head_ : *default_instance_->head_;
  5380. }
  5381. ::XPhonePlus::XPhone_MsgBase* XPhone_AddressBookSetting::mutable_head() {
  5382. if (head_ == NULL) {
  5383. head_ = new ::XPhonePlus::XPhone_MsgBase;
  5384. }
  5385. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddressBookSetting.head)
  5386. return head_;
  5387. }
  5388. ::XPhonePlus::XPhone_MsgBase* XPhone_AddressBookSetting::release_head() {
  5389. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  5390. head_ = NULL;
  5391. return temp;
  5392. }
  5393. void XPhone_AddressBookSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  5394. delete head_;
  5395. head_ = head;
  5396. if (head) {
  5397. } else {
  5398. }
  5399. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddressBookSetting.head)
  5400. }
  5401. // optional int32 addcount = 2;
  5402. void XPhone_AddressBookSetting::clear_addcount() {
  5403. addcount_ = 0;
  5404. }
  5405. ::google::protobuf::int32 XPhone_AddressBookSetting::addcount() const {
  5406. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddressBookSetting.addcount)
  5407. return addcount_;
  5408. }
  5409. void XPhone_AddressBookSetting::set_addcount(::google::protobuf::int32 value) {
  5410. addcount_ = value;
  5411. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddressBookSetting.addcount)
  5412. }
  5413. // optional int32 addInterval = 3;
  5414. void XPhone_AddressBookSetting::clear_addinterval() {
  5415. addinterval_ = 0;
  5416. }
  5417. ::google::protobuf::int32 XPhone_AddressBookSetting::addinterval() const {
  5418. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddressBookSetting.addInterval)
  5419. return addinterval_;
  5420. }
  5421. void XPhone_AddressBookSetting::set_addinterval(::google::protobuf::int32 value) {
  5422. addinterval_ = value;
  5423. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddressBookSetting.addInterval)
  5424. }
  5425. // optional int32 isex = 4;
  5426. void XPhone_AddressBookSetting::clear_isex() {
  5427. isex_ = 0;
  5428. }
  5429. ::google::protobuf::int32 XPhone_AddressBookSetting::isex() const {
  5430. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddressBookSetting.isex)
  5431. return isex_;
  5432. }
  5433. void XPhone_AddressBookSetting::set_isex(::google::protobuf::int32 value) {
  5434. isex_ = value;
  5435. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddressBookSetting.isex)
  5436. }
  5437. // optional string strIntroduce = 5;
  5438. void XPhone_AddressBookSetting::clear_strintroduce() {
  5439. strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5440. }
  5441. const ::std::string& XPhone_AddressBookSetting::strintroduce() const {
  5442. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
  5443. return strintroduce_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5444. }
  5445. void XPhone_AddressBookSetting::set_strintroduce(const ::std::string& value) {
  5446. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  5447. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
  5448. }
  5449. void XPhone_AddressBookSetting::set_strintroduce(const char* value) {
  5450. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  5451. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
  5452. }
  5453. void XPhone_AddressBookSetting::set_strintroduce(const char* value, size_t size) {
  5454. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  5455. ::std::string(reinterpret_cast<const char*>(value), size));
  5456. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
  5457. }
  5458. ::std::string* XPhone_AddressBookSetting::mutable_strintroduce() {
  5459. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
  5460. return strintroduce_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5461. }
  5462. ::std::string* XPhone_AddressBookSetting::release_strintroduce() {
  5463. return strintroduce_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5464. }
  5465. void XPhone_AddressBookSetting::set_allocated_strintroduce(::std::string* strintroduce) {
  5466. if (strintroduce != NULL) {
  5467. } else {
  5468. }
  5469. strintroduce_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strintroduce);
  5470. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
  5471. }
  5472. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  5473. // ===================================================================
  5474. #ifndef _MSC_VER
  5475. const int XPhone_RadarSetting::kHeadFieldNumber;
  5476. const int XPhone_RadarSetting::kScantimeFieldNumber;
  5477. #endif // !_MSC_VER
  5478. XPhone_RadarSetting::XPhone_RadarSetting()
  5479. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  5480. SharedCtor();
  5481. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_RadarSetting)
  5482. }
  5483. void XPhone_RadarSetting::InitAsDefaultInstance() {
  5484. _is_default_instance_ = true;
  5485. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  5486. }
  5487. XPhone_RadarSetting::XPhone_RadarSetting(const XPhone_RadarSetting& from)
  5488. : ::google::protobuf::Message(),
  5489. _internal_metadata_(NULL) {
  5490. SharedCtor();
  5491. MergeFrom(from);
  5492. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_RadarSetting)
  5493. }
  5494. void XPhone_RadarSetting::SharedCtor() {
  5495. _is_default_instance_ = false;
  5496. _cached_size_ = 0;
  5497. head_ = NULL;
  5498. scantime_ = 0;
  5499. }
  5500. XPhone_RadarSetting::~XPhone_RadarSetting() {
  5501. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_RadarSetting)
  5502. SharedDtor();
  5503. }
  5504. void XPhone_RadarSetting::SharedDtor() {
  5505. if (this != default_instance_) {
  5506. delete head_;
  5507. }
  5508. }
  5509. void XPhone_RadarSetting::SetCachedSize(int size) const {
  5510. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5511. _cached_size_ = size;
  5512. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5513. }
  5514. const ::google::protobuf::Descriptor* XPhone_RadarSetting::descriptor() {
  5515. protobuf_AssignDescriptorsOnce();
  5516. return XPhone_RadarSetting_descriptor_;
  5517. }
  5518. const XPhone_RadarSetting& XPhone_RadarSetting::default_instance() {
  5519. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  5520. return *default_instance_;
  5521. }
  5522. XPhone_RadarSetting* XPhone_RadarSetting::default_instance_ = NULL;
  5523. XPhone_RadarSetting* XPhone_RadarSetting::New(::google::protobuf::Arena* arena) const {
  5524. XPhone_RadarSetting* n = new XPhone_RadarSetting;
  5525. if (arena != NULL) {
  5526. arena->Own(n);
  5527. }
  5528. return n;
  5529. }
  5530. void XPhone_RadarSetting::Clear() {
  5531. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  5532. head_ = NULL;
  5533. scantime_ = 0;
  5534. }
  5535. bool XPhone_RadarSetting::MergePartialFromCodedStream(
  5536. ::google::protobuf::io::CodedInputStream* input) {
  5537. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  5538. ::google::protobuf::uint32 tag;
  5539. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_RadarSetting)
  5540. for (;;) {
  5541. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  5542. tag = p.first;
  5543. if (!p.second) goto handle_unusual;
  5544. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5545. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5546. case 1: {
  5547. if (tag == 10) {
  5548. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  5549. input, mutable_head()));
  5550. } else {
  5551. goto handle_unusual;
  5552. }
  5553. if (input->ExpectTag(16)) goto parse_scantime;
  5554. break;
  5555. }
  5556. // optional int32 scantime = 2;
  5557. case 2: {
  5558. if (tag == 16) {
  5559. parse_scantime:
  5560. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5561. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5562. input, &scantime_)));
  5563. } else {
  5564. goto handle_unusual;
  5565. }
  5566. if (input->ExpectAtEnd()) goto success;
  5567. break;
  5568. }
  5569. default: {
  5570. handle_unusual:
  5571. if (tag == 0 ||
  5572. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5573. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5574. goto success;
  5575. }
  5576. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  5577. break;
  5578. }
  5579. }
  5580. }
  5581. success:
  5582. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_RadarSetting)
  5583. return true;
  5584. failure:
  5585. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_RadarSetting)
  5586. return false;
  5587. #undef DO_
  5588. }
  5589. void XPhone_RadarSetting::SerializeWithCachedSizes(
  5590. ::google::protobuf::io::CodedOutputStream* output) const {
  5591. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_RadarSetting)
  5592. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5593. if (this->has_head()) {
  5594. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5595. 1, *this->head_, output);
  5596. }
  5597. // optional int32 scantime = 2;
  5598. if (this->scantime() != 0) {
  5599. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->scantime(), output);
  5600. }
  5601. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_RadarSetting)
  5602. }
  5603. ::google::protobuf::uint8* XPhone_RadarSetting::SerializeWithCachedSizesToArray(
  5604. ::google::protobuf::uint8* target) const {
  5605. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_RadarSetting)
  5606. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5607. if (this->has_head()) {
  5608. target = ::google::protobuf::internal::WireFormatLite::
  5609. WriteMessageNoVirtualToArray(
  5610. 1, *this->head_, target);
  5611. }
  5612. // optional int32 scantime = 2;
  5613. if (this->scantime() != 0) {
  5614. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->scantime(), target);
  5615. }
  5616. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_RadarSetting)
  5617. return target;
  5618. }
  5619. int XPhone_RadarSetting::ByteSize() const {
  5620. int total_size = 0;
  5621. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5622. if (this->has_head()) {
  5623. total_size += 1 +
  5624. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  5625. *this->head_);
  5626. }
  5627. // optional int32 scantime = 2;
  5628. if (this->scantime() != 0) {
  5629. total_size += 1 +
  5630. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5631. this->scantime());
  5632. }
  5633. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5634. _cached_size_ = total_size;
  5635. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5636. return total_size;
  5637. }
  5638. void XPhone_RadarSetting::MergeFrom(const ::google::protobuf::Message& from) {
  5639. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  5640. const XPhone_RadarSetting* source =
  5641. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_RadarSetting>(
  5642. &from);
  5643. if (source == NULL) {
  5644. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5645. } else {
  5646. MergeFrom(*source);
  5647. }
  5648. }
  5649. void XPhone_RadarSetting::MergeFrom(const XPhone_RadarSetting& from) {
  5650. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  5651. if (from.has_head()) {
  5652. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  5653. }
  5654. if (from.scantime() != 0) {
  5655. set_scantime(from.scantime());
  5656. }
  5657. }
  5658. void XPhone_RadarSetting::CopyFrom(const ::google::protobuf::Message& from) {
  5659. if (&from == this) return;
  5660. Clear();
  5661. MergeFrom(from);
  5662. }
  5663. void XPhone_RadarSetting::CopyFrom(const XPhone_RadarSetting& from) {
  5664. if (&from == this) return;
  5665. Clear();
  5666. MergeFrom(from);
  5667. }
  5668. bool XPhone_RadarSetting::IsInitialized() const {
  5669. return true;
  5670. }
  5671. void XPhone_RadarSetting::Swap(XPhone_RadarSetting* other) {
  5672. if (other == this) return;
  5673. InternalSwap(other);
  5674. }
  5675. void XPhone_RadarSetting::InternalSwap(XPhone_RadarSetting* other) {
  5676. std::swap(head_, other->head_);
  5677. std::swap(scantime_, other->scantime_);
  5678. _internal_metadata_.Swap(&other->_internal_metadata_);
  5679. std::swap(_cached_size_, other->_cached_size_);
  5680. }
  5681. ::google::protobuf::Metadata XPhone_RadarSetting::GetMetadata() const {
  5682. protobuf_AssignDescriptorsOnce();
  5683. ::google::protobuf::Metadata metadata;
  5684. metadata.descriptor = XPhone_RadarSetting_descriptor_;
  5685. metadata.reflection = XPhone_RadarSetting_reflection_;
  5686. return metadata;
  5687. }
  5688. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  5689. // XPhone_RadarSetting
  5690. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5691. bool XPhone_RadarSetting::has_head() const {
  5692. return !_is_default_instance_ && head_ != NULL;
  5693. }
  5694. void XPhone_RadarSetting::clear_head() {
  5695. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  5696. head_ = NULL;
  5697. }
  5698. const ::XPhonePlus::XPhone_MsgBase& XPhone_RadarSetting::head() const {
  5699. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RadarSetting.head)
  5700. return head_ != NULL ? *head_ : *default_instance_->head_;
  5701. }
  5702. ::XPhonePlus::XPhone_MsgBase* XPhone_RadarSetting::mutable_head() {
  5703. if (head_ == NULL) {
  5704. head_ = new ::XPhonePlus::XPhone_MsgBase;
  5705. }
  5706. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RadarSetting.head)
  5707. return head_;
  5708. }
  5709. ::XPhonePlus::XPhone_MsgBase* XPhone_RadarSetting::release_head() {
  5710. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  5711. head_ = NULL;
  5712. return temp;
  5713. }
  5714. void XPhone_RadarSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  5715. delete head_;
  5716. head_ = head;
  5717. if (head) {
  5718. } else {
  5719. }
  5720. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RadarSetting.head)
  5721. }
  5722. // optional int32 scantime = 2;
  5723. void XPhone_RadarSetting::clear_scantime() {
  5724. scantime_ = 0;
  5725. }
  5726. ::google::protobuf::int32 XPhone_RadarSetting::scantime() const {
  5727. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RadarSetting.scantime)
  5728. return scantime_;
  5729. }
  5730. void XPhone_RadarSetting::set_scantime(::google::protobuf::int32 value) {
  5731. scantime_ = value;
  5732. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_RadarSetting.scantime)
  5733. }
  5734. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  5735. // ===================================================================
  5736. #ifndef _MSC_VER
  5737. const int XPhone_YaoyiyaoSetting::kHeadFieldNumber;
  5738. const int XPhone_YaoyiyaoSetting::kTotaltimeFieldNumber;
  5739. const int XPhone_YaoyiyaoSetting::kIntrvalFieldNumber;
  5740. const int XPhone_YaoyiyaoSetting::kAddnameFieldNumber;
  5741. const int XPhone_YaoyiyaoSetting::kStrIntroduceFieldNumber;
  5742. const int XPhone_YaoyiyaoSetting::kAddFriendFieldNumber;
  5743. #endif // !_MSC_VER
  5744. XPhone_YaoyiyaoSetting::XPhone_YaoyiyaoSetting()
  5745. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  5746. SharedCtor();
  5747. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_YaoyiyaoSetting)
  5748. }
  5749. void XPhone_YaoyiyaoSetting::InitAsDefaultInstance() {
  5750. _is_default_instance_ = true;
  5751. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  5752. }
  5753. XPhone_YaoyiyaoSetting::XPhone_YaoyiyaoSetting(const XPhone_YaoyiyaoSetting& from)
  5754. : ::google::protobuf::Message(),
  5755. _internal_metadata_(NULL) {
  5756. SharedCtor();
  5757. MergeFrom(from);
  5758. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_YaoyiyaoSetting)
  5759. }
  5760. void XPhone_YaoyiyaoSetting::SharedCtor() {
  5761. _is_default_instance_ = false;
  5762. ::google::protobuf::internal::GetEmptyString();
  5763. _cached_size_ = 0;
  5764. head_ = NULL;
  5765. totaltime_ = 0;
  5766. intrval_ = 0;
  5767. addname_ = false;
  5768. strintroduce_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5769. addfriend_ = false;
  5770. }
  5771. XPhone_YaoyiyaoSetting::~XPhone_YaoyiyaoSetting() {
  5772. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_YaoyiyaoSetting)
  5773. SharedDtor();
  5774. }
  5775. void XPhone_YaoyiyaoSetting::SharedDtor() {
  5776. strintroduce_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5777. if (this != default_instance_) {
  5778. delete head_;
  5779. }
  5780. }
  5781. void XPhone_YaoyiyaoSetting::SetCachedSize(int size) const {
  5782. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5783. _cached_size_ = size;
  5784. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5785. }
  5786. const ::google::protobuf::Descriptor* XPhone_YaoyiyaoSetting::descriptor() {
  5787. protobuf_AssignDescriptorsOnce();
  5788. return XPhone_YaoyiyaoSetting_descriptor_;
  5789. }
  5790. const XPhone_YaoyiyaoSetting& XPhone_YaoyiyaoSetting::default_instance() {
  5791. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  5792. return *default_instance_;
  5793. }
  5794. XPhone_YaoyiyaoSetting* XPhone_YaoyiyaoSetting::default_instance_ = NULL;
  5795. XPhone_YaoyiyaoSetting* XPhone_YaoyiyaoSetting::New(::google::protobuf::Arena* arena) const {
  5796. XPhone_YaoyiyaoSetting* n = new XPhone_YaoyiyaoSetting;
  5797. if (arena != NULL) {
  5798. arena->Own(n);
  5799. }
  5800. return n;
  5801. }
  5802. void XPhone_YaoyiyaoSetting::Clear() {
  5803. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  5804. &reinterpret_cast<XPhone_YaoyiyaoSetting*>(16)->f)
  5805. #define ZR_(first, last) do {\
  5806. ::memset(&first, 0,\
  5807. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  5808. } while (0)
  5809. ZR_(totaltime_, intrval_);
  5810. ZR_(addname_, addfriend_);
  5811. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  5812. head_ = NULL;
  5813. strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  5814. #undef ZR_HELPER_
  5815. #undef ZR_
  5816. }
  5817. bool XPhone_YaoyiyaoSetting::MergePartialFromCodedStream(
  5818. ::google::protobuf::io::CodedInputStream* input) {
  5819. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  5820. ::google::protobuf::uint32 tag;
  5821. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_YaoyiyaoSetting)
  5822. for (;;) {
  5823. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  5824. tag = p.first;
  5825. if (!p.second) goto handle_unusual;
  5826. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5827. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5828. case 1: {
  5829. if (tag == 10) {
  5830. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  5831. input, mutable_head()));
  5832. } else {
  5833. goto handle_unusual;
  5834. }
  5835. if (input->ExpectTag(16)) goto parse_totaltime;
  5836. break;
  5837. }
  5838. // optional int32 totaltime = 2;
  5839. case 2: {
  5840. if (tag == 16) {
  5841. parse_totaltime:
  5842. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5843. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5844. input, &totaltime_)));
  5845. } else {
  5846. goto handle_unusual;
  5847. }
  5848. if (input->ExpectTag(24)) goto parse_intrval;
  5849. break;
  5850. }
  5851. // optional int32 intrval = 3;
  5852. case 3: {
  5853. if (tag == 24) {
  5854. parse_intrval:
  5855. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5856. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5857. input, &intrval_)));
  5858. } else {
  5859. goto handle_unusual;
  5860. }
  5861. if (input->ExpectTag(32)) goto parse_addname;
  5862. break;
  5863. }
  5864. // optional bool addname = 4;
  5865. case 4: {
  5866. if (tag == 32) {
  5867. parse_addname:
  5868. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5869. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  5870. input, &addname_)));
  5871. } else {
  5872. goto handle_unusual;
  5873. }
  5874. if (input->ExpectTag(42)) goto parse_strIntroduce;
  5875. break;
  5876. }
  5877. // optional string strIntroduce = 5;
  5878. case 5: {
  5879. if (tag == 42) {
  5880. parse_strIntroduce:
  5881. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5882. input, this->mutable_strintroduce()));
  5883. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  5884. this->strintroduce().data(), this->strintroduce().length(),
  5885. ::google::protobuf::internal::WireFormatLite::PARSE,
  5886. "XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce"));
  5887. } else {
  5888. goto handle_unusual;
  5889. }
  5890. if (input->ExpectTag(48)) goto parse_addFriend;
  5891. break;
  5892. }
  5893. // optional bool addFriend = 6;
  5894. case 6: {
  5895. if (tag == 48) {
  5896. parse_addFriend:
  5897. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5898. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  5899. input, &addfriend_)));
  5900. } else {
  5901. goto handle_unusual;
  5902. }
  5903. if (input->ExpectAtEnd()) goto success;
  5904. break;
  5905. }
  5906. default: {
  5907. handle_unusual:
  5908. if (tag == 0 ||
  5909. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5910. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5911. goto success;
  5912. }
  5913. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  5914. break;
  5915. }
  5916. }
  5917. }
  5918. success:
  5919. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_YaoyiyaoSetting)
  5920. return true;
  5921. failure:
  5922. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_YaoyiyaoSetting)
  5923. return false;
  5924. #undef DO_
  5925. }
  5926. void XPhone_YaoyiyaoSetting::SerializeWithCachedSizes(
  5927. ::google::protobuf::io::CodedOutputStream* output) const {
  5928. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_YaoyiyaoSetting)
  5929. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5930. if (this->has_head()) {
  5931. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5932. 1, *this->head_, output);
  5933. }
  5934. // optional int32 totaltime = 2;
  5935. if (this->totaltime() != 0) {
  5936. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->totaltime(), output);
  5937. }
  5938. // optional int32 intrval = 3;
  5939. if (this->intrval() != 0) {
  5940. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->intrval(), output);
  5941. }
  5942. // optional bool addname = 4;
  5943. if (this->addname() != 0) {
  5944. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->addname(), output);
  5945. }
  5946. // optional string strIntroduce = 5;
  5947. if (this->strintroduce().size() > 0) {
  5948. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  5949. this->strintroduce().data(), this->strintroduce().length(),
  5950. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  5951. "XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce");
  5952. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  5953. 5, this->strintroduce(), output);
  5954. }
  5955. // optional bool addFriend = 6;
  5956. if (this->addfriend() != 0) {
  5957. ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->addfriend(), output);
  5958. }
  5959. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_YaoyiyaoSetting)
  5960. }
  5961. ::google::protobuf::uint8* XPhone_YaoyiyaoSetting::SerializeWithCachedSizesToArray(
  5962. ::google::protobuf::uint8* target) const {
  5963. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_YaoyiyaoSetting)
  5964. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  5965. if (this->has_head()) {
  5966. target = ::google::protobuf::internal::WireFormatLite::
  5967. WriteMessageNoVirtualToArray(
  5968. 1, *this->head_, target);
  5969. }
  5970. // optional int32 totaltime = 2;
  5971. if (this->totaltime() != 0) {
  5972. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->totaltime(), target);
  5973. }
  5974. // optional int32 intrval = 3;
  5975. if (this->intrval() != 0) {
  5976. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->intrval(), target);
  5977. }
  5978. // optional bool addname = 4;
  5979. if (this->addname() != 0) {
  5980. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->addname(), target);
  5981. }
  5982. // optional string strIntroduce = 5;
  5983. if (this->strintroduce().size() > 0) {
  5984. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  5985. this->strintroduce().data(), this->strintroduce().length(),
  5986. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  5987. "XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce");
  5988. target =
  5989. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5990. 5, this->strintroduce(), target);
  5991. }
  5992. // optional bool addFriend = 6;
  5993. if (this->addfriend() != 0) {
  5994. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->addfriend(), target);
  5995. }
  5996. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_YaoyiyaoSetting)
  5997. return target;
  5998. }
  5999. int XPhone_YaoyiyaoSetting::ByteSize() const {
  6000. int total_size = 0;
  6001. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  6002. if (this->has_head()) {
  6003. total_size += 1 +
  6004. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  6005. *this->head_);
  6006. }
  6007. // optional int32 totaltime = 2;
  6008. if (this->totaltime() != 0) {
  6009. total_size += 1 +
  6010. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6011. this->totaltime());
  6012. }
  6013. // optional int32 intrval = 3;
  6014. if (this->intrval() != 0) {
  6015. total_size += 1 +
  6016. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6017. this->intrval());
  6018. }
  6019. // optional bool addname = 4;
  6020. if (this->addname() != 0) {
  6021. total_size += 1 + 1;
  6022. }
  6023. // optional string strIntroduce = 5;
  6024. if (this->strintroduce().size() > 0) {
  6025. total_size += 1 +
  6026. ::google::protobuf::internal::WireFormatLite::StringSize(
  6027. this->strintroduce());
  6028. }
  6029. // optional bool addFriend = 6;
  6030. if (this->addfriend() != 0) {
  6031. total_size += 1 + 1;
  6032. }
  6033. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6034. _cached_size_ = total_size;
  6035. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6036. return total_size;
  6037. }
  6038. void XPhone_YaoyiyaoSetting::MergeFrom(const ::google::protobuf::Message& from) {
  6039. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  6040. const XPhone_YaoyiyaoSetting* source =
  6041. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_YaoyiyaoSetting>(
  6042. &from);
  6043. if (source == NULL) {
  6044. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6045. } else {
  6046. MergeFrom(*source);
  6047. }
  6048. }
  6049. void XPhone_YaoyiyaoSetting::MergeFrom(const XPhone_YaoyiyaoSetting& from) {
  6050. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  6051. if (from.has_head()) {
  6052. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  6053. }
  6054. if (from.totaltime() != 0) {
  6055. set_totaltime(from.totaltime());
  6056. }
  6057. if (from.intrval() != 0) {
  6058. set_intrval(from.intrval());
  6059. }
  6060. if (from.addname() != 0) {
  6061. set_addname(from.addname());
  6062. }
  6063. if (from.strintroduce().size() > 0) {
  6064. strintroduce_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strintroduce_);
  6065. }
  6066. if (from.addfriend() != 0) {
  6067. set_addfriend(from.addfriend());
  6068. }
  6069. }
  6070. void XPhone_YaoyiyaoSetting::CopyFrom(const ::google::protobuf::Message& from) {
  6071. if (&from == this) return;
  6072. Clear();
  6073. MergeFrom(from);
  6074. }
  6075. void XPhone_YaoyiyaoSetting::CopyFrom(const XPhone_YaoyiyaoSetting& from) {
  6076. if (&from == this) return;
  6077. Clear();
  6078. MergeFrom(from);
  6079. }
  6080. bool XPhone_YaoyiyaoSetting::IsInitialized() const {
  6081. return true;
  6082. }
  6083. void XPhone_YaoyiyaoSetting::Swap(XPhone_YaoyiyaoSetting* other) {
  6084. if (other == this) return;
  6085. InternalSwap(other);
  6086. }
  6087. void XPhone_YaoyiyaoSetting::InternalSwap(XPhone_YaoyiyaoSetting* other) {
  6088. std::swap(head_, other->head_);
  6089. std::swap(totaltime_, other->totaltime_);
  6090. std::swap(intrval_, other->intrval_);
  6091. std::swap(addname_, other->addname_);
  6092. strintroduce_.Swap(&other->strintroduce_);
  6093. std::swap(addfriend_, other->addfriend_);
  6094. _internal_metadata_.Swap(&other->_internal_metadata_);
  6095. std::swap(_cached_size_, other->_cached_size_);
  6096. }
  6097. ::google::protobuf::Metadata XPhone_YaoyiyaoSetting::GetMetadata() const {
  6098. protobuf_AssignDescriptorsOnce();
  6099. ::google::protobuf::Metadata metadata;
  6100. metadata.descriptor = XPhone_YaoyiyaoSetting_descriptor_;
  6101. metadata.reflection = XPhone_YaoyiyaoSetting_reflection_;
  6102. return metadata;
  6103. }
  6104. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  6105. // XPhone_YaoyiyaoSetting
  6106. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  6107. bool XPhone_YaoyiyaoSetting::has_head() const {
  6108. return !_is_default_instance_ && head_ != NULL;
  6109. }
  6110. void XPhone_YaoyiyaoSetting::clear_head() {
  6111. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  6112. head_ = NULL;
  6113. }
  6114. const ::XPhonePlus::XPhone_MsgBase& XPhone_YaoyiyaoSetting::head() const {
  6115. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.head)
  6116. return head_ != NULL ? *head_ : *default_instance_->head_;
  6117. }
  6118. ::XPhonePlus::XPhone_MsgBase* XPhone_YaoyiyaoSetting::mutable_head() {
  6119. if (head_ == NULL) {
  6120. head_ = new ::XPhonePlus::XPhone_MsgBase;
  6121. }
  6122. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_YaoyiyaoSetting.head)
  6123. return head_;
  6124. }
  6125. ::XPhonePlus::XPhone_MsgBase* XPhone_YaoyiyaoSetting::release_head() {
  6126. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  6127. head_ = NULL;
  6128. return temp;
  6129. }
  6130. void XPhone_YaoyiyaoSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  6131. delete head_;
  6132. head_ = head;
  6133. if (head) {
  6134. } else {
  6135. }
  6136. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_YaoyiyaoSetting.head)
  6137. }
  6138. // optional int32 totaltime = 2;
  6139. void XPhone_YaoyiyaoSetting::clear_totaltime() {
  6140. totaltime_ = 0;
  6141. }
  6142. ::google::protobuf::int32 XPhone_YaoyiyaoSetting::totaltime() const {
  6143. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.totaltime)
  6144. return totaltime_;
  6145. }
  6146. void XPhone_YaoyiyaoSetting::set_totaltime(::google::protobuf::int32 value) {
  6147. totaltime_ = value;
  6148. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_YaoyiyaoSetting.totaltime)
  6149. }
  6150. // optional int32 intrval = 3;
  6151. void XPhone_YaoyiyaoSetting::clear_intrval() {
  6152. intrval_ = 0;
  6153. }
  6154. ::google::protobuf::int32 XPhone_YaoyiyaoSetting::intrval() const {
  6155. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.intrval)
  6156. return intrval_;
  6157. }
  6158. void XPhone_YaoyiyaoSetting::set_intrval(::google::protobuf::int32 value) {
  6159. intrval_ = value;
  6160. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_YaoyiyaoSetting.intrval)
  6161. }
  6162. // optional bool addname = 4;
  6163. void XPhone_YaoyiyaoSetting::clear_addname() {
  6164. addname_ = false;
  6165. }
  6166. bool XPhone_YaoyiyaoSetting::addname() const {
  6167. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.addname)
  6168. return addname_;
  6169. }
  6170. void XPhone_YaoyiyaoSetting::set_addname(bool value) {
  6171. addname_ = value;
  6172. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_YaoyiyaoSetting.addname)
  6173. }
  6174. // optional string strIntroduce = 5;
  6175. void XPhone_YaoyiyaoSetting::clear_strintroduce() {
  6176. strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6177. }
  6178. const ::std::string& XPhone_YaoyiyaoSetting::strintroduce() const {
  6179. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
  6180. return strintroduce_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6181. }
  6182. void XPhone_YaoyiyaoSetting::set_strintroduce(const ::std::string& value) {
  6183. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  6184. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
  6185. }
  6186. void XPhone_YaoyiyaoSetting::set_strintroduce(const char* value) {
  6187. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  6188. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
  6189. }
  6190. void XPhone_YaoyiyaoSetting::set_strintroduce(const char* value, size_t size) {
  6191. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  6192. ::std::string(reinterpret_cast<const char*>(value), size));
  6193. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
  6194. }
  6195. ::std::string* XPhone_YaoyiyaoSetting::mutable_strintroduce() {
  6196. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
  6197. return strintroduce_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6198. }
  6199. ::std::string* XPhone_YaoyiyaoSetting::release_strintroduce() {
  6200. return strintroduce_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6201. }
  6202. void XPhone_YaoyiyaoSetting::set_allocated_strintroduce(::std::string* strintroduce) {
  6203. if (strintroduce != NULL) {
  6204. } else {
  6205. }
  6206. strintroduce_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strintroduce);
  6207. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
  6208. }
  6209. // optional bool addFriend = 6;
  6210. void XPhone_YaoyiyaoSetting::clear_addfriend() {
  6211. addfriend_ = false;
  6212. }
  6213. bool XPhone_YaoyiyaoSetting::addfriend() const {
  6214. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.addFriend)
  6215. return addfriend_;
  6216. }
  6217. void XPhone_YaoyiyaoSetting::set_addfriend(bool value) {
  6218. addfriend_ = value;
  6219. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_YaoyiyaoSetting.addFriend)
  6220. }
  6221. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  6222. // ===================================================================
  6223. #ifndef _MSC_VER
  6224. const int XPhone_AutoReplyMsg::kTypeFieldNumber;
  6225. const int XPhone_AutoReplyMsg::kStrKeywordFieldNumber;
  6226. const int XPhone_AutoReplyMsg::kStrResponseFieldNumber;
  6227. #endif // !_MSC_VER
  6228. XPhone_AutoReplyMsg::XPhone_AutoReplyMsg()
  6229. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  6230. SharedCtor();
  6231. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AutoReplyMsg)
  6232. }
  6233. void XPhone_AutoReplyMsg::InitAsDefaultInstance() {
  6234. _is_default_instance_ = true;
  6235. }
  6236. XPhone_AutoReplyMsg::XPhone_AutoReplyMsg(const XPhone_AutoReplyMsg& from)
  6237. : ::google::protobuf::Message(),
  6238. _internal_metadata_(NULL) {
  6239. SharedCtor();
  6240. MergeFrom(from);
  6241. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AutoReplyMsg)
  6242. }
  6243. void XPhone_AutoReplyMsg::SharedCtor() {
  6244. _is_default_instance_ = false;
  6245. ::google::protobuf::internal::GetEmptyString();
  6246. _cached_size_ = 0;
  6247. type_ = 0;
  6248. strkeyword_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6249. strresponse_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6250. }
  6251. XPhone_AutoReplyMsg::~XPhone_AutoReplyMsg() {
  6252. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AutoReplyMsg)
  6253. SharedDtor();
  6254. }
  6255. void XPhone_AutoReplyMsg::SharedDtor() {
  6256. strkeyword_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6257. strresponse_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6258. if (this != default_instance_) {
  6259. }
  6260. }
  6261. void XPhone_AutoReplyMsg::SetCachedSize(int size) const {
  6262. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6263. _cached_size_ = size;
  6264. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6265. }
  6266. const ::google::protobuf::Descriptor* XPhone_AutoReplyMsg::descriptor() {
  6267. protobuf_AssignDescriptorsOnce();
  6268. return XPhone_AutoReplyMsg_descriptor_;
  6269. }
  6270. const XPhone_AutoReplyMsg& XPhone_AutoReplyMsg::default_instance() {
  6271. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  6272. return *default_instance_;
  6273. }
  6274. XPhone_AutoReplyMsg* XPhone_AutoReplyMsg::default_instance_ = NULL;
  6275. XPhone_AutoReplyMsg* XPhone_AutoReplyMsg::New(::google::protobuf::Arena* arena) const {
  6276. XPhone_AutoReplyMsg* n = new XPhone_AutoReplyMsg;
  6277. if (arena != NULL) {
  6278. arena->Own(n);
  6279. }
  6280. return n;
  6281. }
  6282. void XPhone_AutoReplyMsg::Clear() {
  6283. type_ = 0;
  6284. strkeyword_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6285. strresponse_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6286. }
  6287. bool XPhone_AutoReplyMsg::MergePartialFromCodedStream(
  6288. ::google::protobuf::io::CodedInputStream* input) {
  6289. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  6290. ::google::protobuf::uint32 tag;
  6291. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AutoReplyMsg)
  6292. for (;;) {
  6293. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  6294. tag = p.first;
  6295. if (!p.second) goto handle_unusual;
  6296. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6297. // optional int32 type = 1;
  6298. case 1: {
  6299. if (tag == 8) {
  6300. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6301. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6302. input, &type_)));
  6303. } else {
  6304. goto handle_unusual;
  6305. }
  6306. if (input->ExpectTag(18)) goto parse_strKeyword;
  6307. break;
  6308. }
  6309. // optional string strKeyword = 2;
  6310. case 2: {
  6311. if (tag == 18) {
  6312. parse_strKeyword:
  6313. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6314. input, this->mutable_strkeyword()));
  6315. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6316. this->strkeyword().data(), this->strkeyword().length(),
  6317. ::google::protobuf::internal::WireFormatLite::PARSE,
  6318. "XPhonePlus.XPhone_AutoReplyMsg.strKeyword"));
  6319. } else {
  6320. goto handle_unusual;
  6321. }
  6322. if (input->ExpectTag(26)) goto parse_strResponse;
  6323. break;
  6324. }
  6325. // optional string strResponse = 3;
  6326. case 3: {
  6327. if (tag == 26) {
  6328. parse_strResponse:
  6329. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6330. input, this->mutable_strresponse()));
  6331. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6332. this->strresponse().data(), this->strresponse().length(),
  6333. ::google::protobuf::internal::WireFormatLite::PARSE,
  6334. "XPhonePlus.XPhone_AutoReplyMsg.strResponse"));
  6335. } else {
  6336. goto handle_unusual;
  6337. }
  6338. if (input->ExpectAtEnd()) goto success;
  6339. break;
  6340. }
  6341. default: {
  6342. handle_unusual:
  6343. if (tag == 0 ||
  6344. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6345. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6346. goto success;
  6347. }
  6348. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  6349. break;
  6350. }
  6351. }
  6352. }
  6353. success:
  6354. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AutoReplyMsg)
  6355. return true;
  6356. failure:
  6357. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AutoReplyMsg)
  6358. return false;
  6359. #undef DO_
  6360. }
  6361. void XPhone_AutoReplyMsg::SerializeWithCachedSizes(
  6362. ::google::protobuf::io::CodedOutputStream* output) const {
  6363. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AutoReplyMsg)
  6364. // optional int32 type = 1;
  6365. if (this->type() != 0) {
  6366. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output);
  6367. }
  6368. // optional string strKeyword = 2;
  6369. if (this->strkeyword().size() > 0) {
  6370. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6371. this->strkeyword().data(), this->strkeyword().length(),
  6372. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  6373. "XPhonePlus.XPhone_AutoReplyMsg.strKeyword");
  6374. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  6375. 2, this->strkeyword(), output);
  6376. }
  6377. // optional string strResponse = 3;
  6378. if (this->strresponse().size() > 0) {
  6379. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6380. this->strresponse().data(), this->strresponse().length(),
  6381. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  6382. "XPhonePlus.XPhone_AutoReplyMsg.strResponse");
  6383. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  6384. 3, this->strresponse(), output);
  6385. }
  6386. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AutoReplyMsg)
  6387. }
  6388. ::google::protobuf::uint8* XPhone_AutoReplyMsg::SerializeWithCachedSizesToArray(
  6389. ::google::protobuf::uint8* target) const {
  6390. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AutoReplyMsg)
  6391. // optional int32 type = 1;
  6392. if (this->type() != 0) {
  6393. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->type(), target);
  6394. }
  6395. // optional string strKeyword = 2;
  6396. if (this->strkeyword().size() > 0) {
  6397. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6398. this->strkeyword().data(), this->strkeyword().length(),
  6399. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  6400. "XPhonePlus.XPhone_AutoReplyMsg.strKeyword");
  6401. target =
  6402. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  6403. 2, this->strkeyword(), target);
  6404. }
  6405. // optional string strResponse = 3;
  6406. if (this->strresponse().size() > 0) {
  6407. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6408. this->strresponse().data(), this->strresponse().length(),
  6409. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  6410. "XPhonePlus.XPhone_AutoReplyMsg.strResponse");
  6411. target =
  6412. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  6413. 3, this->strresponse(), target);
  6414. }
  6415. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AutoReplyMsg)
  6416. return target;
  6417. }
  6418. int XPhone_AutoReplyMsg::ByteSize() const {
  6419. int total_size = 0;
  6420. // optional int32 type = 1;
  6421. if (this->type() != 0) {
  6422. total_size += 1 +
  6423. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6424. this->type());
  6425. }
  6426. // optional string strKeyword = 2;
  6427. if (this->strkeyword().size() > 0) {
  6428. total_size += 1 +
  6429. ::google::protobuf::internal::WireFormatLite::StringSize(
  6430. this->strkeyword());
  6431. }
  6432. // optional string strResponse = 3;
  6433. if (this->strresponse().size() > 0) {
  6434. total_size += 1 +
  6435. ::google::protobuf::internal::WireFormatLite::StringSize(
  6436. this->strresponse());
  6437. }
  6438. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6439. _cached_size_ = total_size;
  6440. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6441. return total_size;
  6442. }
  6443. void XPhone_AutoReplyMsg::MergeFrom(const ::google::protobuf::Message& from) {
  6444. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  6445. const XPhone_AutoReplyMsg* source =
  6446. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AutoReplyMsg>(
  6447. &from);
  6448. if (source == NULL) {
  6449. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6450. } else {
  6451. MergeFrom(*source);
  6452. }
  6453. }
  6454. void XPhone_AutoReplyMsg::MergeFrom(const XPhone_AutoReplyMsg& from) {
  6455. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  6456. if (from.type() != 0) {
  6457. set_type(from.type());
  6458. }
  6459. if (from.strkeyword().size() > 0) {
  6460. strkeyword_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strkeyword_);
  6461. }
  6462. if (from.strresponse().size() > 0) {
  6463. strresponse_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strresponse_);
  6464. }
  6465. }
  6466. void XPhone_AutoReplyMsg::CopyFrom(const ::google::protobuf::Message& from) {
  6467. if (&from == this) return;
  6468. Clear();
  6469. MergeFrom(from);
  6470. }
  6471. void XPhone_AutoReplyMsg::CopyFrom(const XPhone_AutoReplyMsg& from) {
  6472. if (&from == this) return;
  6473. Clear();
  6474. MergeFrom(from);
  6475. }
  6476. bool XPhone_AutoReplyMsg::IsInitialized() const {
  6477. return true;
  6478. }
  6479. void XPhone_AutoReplyMsg::Swap(XPhone_AutoReplyMsg* other) {
  6480. if (other == this) return;
  6481. InternalSwap(other);
  6482. }
  6483. void XPhone_AutoReplyMsg::InternalSwap(XPhone_AutoReplyMsg* other) {
  6484. std::swap(type_, other->type_);
  6485. strkeyword_.Swap(&other->strkeyword_);
  6486. strresponse_.Swap(&other->strresponse_);
  6487. _internal_metadata_.Swap(&other->_internal_metadata_);
  6488. std::swap(_cached_size_, other->_cached_size_);
  6489. }
  6490. ::google::protobuf::Metadata XPhone_AutoReplyMsg::GetMetadata() const {
  6491. protobuf_AssignDescriptorsOnce();
  6492. ::google::protobuf::Metadata metadata;
  6493. metadata.descriptor = XPhone_AutoReplyMsg_descriptor_;
  6494. metadata.reflection = XPhone_AutoReplyMsg_reflection_;
  6495. return metadata;
  6496. }
  6497. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  6498. // XPhone_AutoReplyMsg
  6499. // optional int32 type = 1;
  6500. void XPhone_AutoReplyMsg::clear_type() {
  6501. type_ = 0;
  6502. }
  6503. ::google::protobuf::int32 XPhone_AutoReplyMsg::type() const {
  6504. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplyMsg.type)
  6505. return type_;
  6506. }
  6507. void XPhone_AutoReplyMsg::set_type(::google::protobuf::int32 value) {
  6508. type_ = value;
  6509. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplyMsg.type)
  6510. }
  6511. // optional string strKeyword = 2;
  6512. void XPhone_AutoReplyMsg::clear_strkeyword() {
  6513. strkeyword_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6514. }
  6515. const ::std::string& XPhone_AutoReplyMsg::strkeyword() const {
  6516. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
  6517. return strkeyword_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6518. }
  6519. void XPhone_AutoReplyMsg::set_strkeyword(const ::std::string& value) {
  6520. strkeyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  6521. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
  6522. }
  6523. void XPhone_AutoReplyMsg::set_strkeyword(const char* value) {
  6524. strkeyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  6525. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
  6526. }
  6527. void XPhone_AutoReplyMsg::set_strkeyword(const char* value, size_t size) {
  6528. strkeyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  6529. ::std::string(reinterpret_cast<const char*>(value), size));
  6530. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
  6531. }
  6532. ::std::string* XPhone_AutoReplyMsg::mutable_strkeyword() {
  6533. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
  6534. return strkeyword_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6535. }
  6536. ::std::string* XPhone_AutoReplyMsg::release_strkeyword() {
  6537. return strkeyword_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6538. }
  6539. void XPhone_AutoReplyMsg::set_allocated_strkeyword(::std::string* strkeyword) {
  6540. if (strkeyword != NULL) {
  6541. } else {
  6542. }
  6543. strkeyword_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strkeyword);
  6544. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
  6545. }
  6546. // optional string strResponse = 3;
  6547. void XPhone_AutoReplyMsg::clear_strresponse() {
  6548. strresponse_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6549. }
  6550. const ::std::string& XPhone_AutoReplyMsg::strresponse() const {
  6551. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
  6552. return strresponse_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6553. }
  6554. void XPhone_AutoReplyMsg::set_strresponse(const ::std::string& value) {
  6555. strresponse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  6556. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
  6557. }
  6558. void XPhone_AutoReplyMsg::set_strresponse(const char* value) {
  6559. strresponse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  6560. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
  6561. }
  6562. void XPhone_AutoReplyMsg::set_strresponse(const char* value, size_t size) {
  6563. strresponse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  6564. ::std::string(reinterpret_cast<const char*>(value), size));
  6565. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
  6566. }
  6567. ::std::string* XPhone_AutoReplyMsg::mutable_strresponse() {
  6568. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
  6569. return strresponse_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6570. }
  6571. ::std::string* XPhone_AutoReplyMsg::release_strresponse() {
  6572. return strresponse_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6573. }
  6574. void XPhone_AutoReplyMsg::set_allocated_strresponse(::std::string* strresponse) {
  6575. if (strresponse != NULL) {
  6576. } else {
  6577. }
  6578. strresponse_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strresponse);
  6579. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
  6580. }
  6581. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  6582. // ===================================================================
  6583. #ifndef _MSC_VER
  6584. const int XPhone_AutoReplySetting::kHeadFieldNumber;
  6585. const int XPhone_AutoReplySetting::kForbiddenForgroundFieldNumber;
  6586. const int XPhone_AutoReplySetting::kDelayFieldNumber;
  6587. const int XPhone_AutoReplySetting::kStrCommonContentFieldNumber;
  6588. const int XPhone_AutoReplySetting::kMaxreplyFieldNumber;
  6589. const int XPhone_AutoReplySetting::kStrStartTimeFieldNumber;
  6590. const int XPhone_AutoReplySetting::kStrEndTimeFieldNumber;
  6591. const int XPhone_AutoReplySetting::kMsgListFieldNumber;
  6592. #endif // !_MSC_VER
  6593. XPhone_AutoReplySetting::XPhone_AutoReplySetting()
  6594. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  6595. SharedCtor();
  6596. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AutoReplySetting)
  6597. }
  6598. void XPhone_AutoReplySetting::InitAsDefaultInstance() {
  6599. _is_default_instance_ = true;
  6600. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  6601. }
  6602. XPhone_AutoReplySetting::XPhone_AutoReplySetting(const XPhone_AutoReplySetting& from)
  6603. : ::google::protobuf::Message(),
  6604. _internal_metadata_(NULL) {
  6605. SharedCtor();
  6606. MergeFrom(from);
  6607. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AutoReplySetting)
  6608. }
  6609. void XPhone_AutoReplySetting::SharedCtor() {
  6610. _is_default_instance_ = false;
  6611. ::google::protobuf::internal::GetEmptyString();
  6612. _cached_size_ = 0;
  6613. head_ = NULL;
  6614. forbiddenforground_ = false;
  6615. delay_ = 0;
  6616. strcommoncontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6617. maxreply_ = 0;
  6618. strstarttime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6619. strendtime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6620. }
  6621. XPhone_AutoReplySetting::~XPhone_AutoReplySetting() {
  6622. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AutoReplySetting)
  6623. SharedDtor();
  6624. }
  6625. void XPhone_AutoReplySetting::SharedDtor() {
  6626. strcommoncontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6627. strstarttime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6628. strendtime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6629. if (this != default_instance_) {
  6630. delete head_;
  6631. }
  6632. }
  6633. void XPhone_AutoReplySetting::SetCachedSize(int size) const {
  6634. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6635. _cached_size_ = size;
  6636. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6637. }
  6638. const ::google::protobuf::Descriptor* XPhone_AutoReplySetting::descriptor() {
  6639. protobuf_AssignDescriptorsOnce();
  6640. return XPhone_AutoReplySetting_descriptor_;
  6641. }
  6642. const XPhone_AutoReplySetting& XPhone_AutoReplySetting::default_instance() {
  6643. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  6644. return *default_instance_;
  6645. }
  6646. XPhone_AutoReplySetting* XPhone_AutoReplySetting::default_instance_ = NULL;
  6647. XPhone_AutoReplySetting* XPhone_AutoReplySetting::New(::google::protobuf::Arena* arena) const {
  6648. XPhone_AutoReplySetting* n = new XPhone_AutoReplySetting;
  6649. if (arena != NULL) {
  6650. arena->Own(n);
  6651. }
  6652. return n;
  6653. }
  6654. void XPhone_AutoReplySetting::Clear() {
  6655. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  6656. &reinterpret_cast<XPhone_AutoReplySetting*>(16)->f)
  6657. #define ZR_(first, last) do {\
  6658. ::memset(&first, 0,\
  6659. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  6660. } while (0)
  6661. ZR_(forbiddenforground_, delay_);
  6662. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  6663. head_ = NULL;
  6664. strcommoncontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6665. maxreply_ = 0;
  6666. strstarttime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6667. strendtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  6668. #undef ZR_HELPER_
  6669. #undef ZR_
  6670. msglist_.Clear();
  6671. }
  6672. bool XPhone_AutoReplySetting::MergePartialFromCodedStream(
  6673. ::google::protobuf::io::CodedInputStream* input) {
  6674. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  6675. ::google::protobuf::uint32 tag;
  6676. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AutoReplySetting)
  6677. for (;;) {
  6678. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  6679. tag = p.first;
  6680. if (!p.second) goto handle_unusual;
  6681. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6682. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  6683. case 1: {
  6684. if (tag == 10) {
  6685. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  6686. input, mutable_head()));
  6687. } else {
  6688. goto handle_unusual;
  6689. }
  6690. if (input->ExpectTag(16)) goto parse_forbiddenForground;
  6691. break;
  6692. }
  6693. // optional bool forbiddenForground = 2;
  6694. case 2: {
  6695. if (tag == 16) {
  6696. parse_forbiddenForground:
  6697. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6698. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  6699. input, &forbiddenforground_)));
  6700. } else {
  6701. goto handle_unusual;
  6702. }
  6703. if (input->ExpectTag(24)) goto parse_delay;
  6704. break;
  6705. }
  6706. // optional int32 delay = 3;
  6707. case 3: {
  6708. if (tag == 24) {
  6709. parse_delay:
  6710. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6711. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6712. input, &delay_)));
  6713. } else {
  6714. goto handle_unusual;
  6715. }
  6716. if (input->ExpectTag(34)) goto parse_strCommonContent;
  6717. break;
  6718. }
  6719. // optional string strCommonContent = 4;
  6720. case 4: {
  6721. if (tag == 34) {
  6722. parse_strCommonContent:
  6723. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6724. input, this->mutable_strcommoncontent()));
  6725. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6726. this->strcommoncontent().data(), this->strcommoncontent().length(),
  6727. ::google::protobuf::internal::WireFormatLite::PARSE,
  6728. "XPhonePlus.XPhone_AutoReplySetting.strCommonContent"));
  6729. } else {
  6730. goto handle_unusual;
  6731. }
  6732. if (input->ExpectTag(40)) goto parse_maxreply;
  6733. break;
  6734. }
  6735. // optional int32 maxreply = 5;
  6736. case 5: {
  6737. if (tag == 40) {
  6738. parse_maxreply:
  6739. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6740. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6741. input, &maxreply_)));
  6742. } else {
  6743. goto handle_unusual;
  6744. }
  6745. if (input->ExpectTag(50)) goto parse_strStartTime;
  6746. break;
  6747. }
  6748. // optional string strStartTime = 6;
  6749. case 6: {
  6750. if (tag == 50) {
  6751. parse_strStartTime:
  6752. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6753. input, this->mutable_strstarttime()));
  6754. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6755. this->strstarttime().data(), this->strstarttime().length(),
  6756. ::google::protobuf::internal::WireFormatLite::PARSE,
  6757. "XPhonePlus.XPhone_AutoReplySetting.strStartTime"));
  6758. } else {
  6759. goto handle_unusual;
  6760. }
  6761. if (input->ExpectTag(58)) goto parse_strEndTime;
  6762. break;
  6763. }
  6764. // optional string strEndTime = 7;
  6765. case 7: {
  6766. if (tag == 58) {
  6767. parse_strEndTime:
  6768. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  6769. input, this->mutable_strendtime()));
  6770. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6771. this->strendtime().data(), this->strendtime().length(),
  6772. ::google::protobuf::internal::WireFormatLite::PARSE,
  6773. "XPhonePlus.XPhone_AutoReplySetting.strEndTime"));
  6774. } else {
  6775. goto handle_unusual;
  6776. }
  6777. if (input->ExpectTag(66)) goto parse_msgList;
  6778. break;
  6779. }
  6780. // repeated .XPhonePlus.XPhone_AutoReplyMsg msgList = 8;
  6781. case 8: {
  6782. if (tag == 66) {
  6783. parse_msgList:
  6784. DO_(input->IncrementRecursionDepth());
  6785. parse_loop_msgList:
  6786. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
  6787. input, add_msglist()));
  6788. } else {
  6789. goto handle_unusual;
  6790. }
  6791. if (input->ExpectTag(66)) goto parse_loop_msgList;
  6792. input->UnsafeDecrementRecursionDepth();
  6793. if (input->ExpectAtEnd()) goto success;
  6794. break;
  6795. }
  6796. default: {
  6797. handle_unusual:
  6798. if (tag == 0 ||
  6799. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6800. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6801. goto success;
  6802. }
  6803. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  6804. break;
  6805. }
  6806. }
  6807. }
  6808. success:
  6809. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AutoReplySetting)
  6810. return true;
  6811. failure:
  6812. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AutoReplySetting)
  6813. return false;
  6814. #undef DO_
  6815. }
  6816. void XPhone_AutoReplySetting::SerializeWithCachedSizes(
  6817. ::google::protobuf::io::CodedOutputStream* output) const {
  6818. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AutoReplySetting)
  6819. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  6820. if (this->has_head()) {
  6821. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  6822. 1, *this->head_, output);
  6823. }
  6824. // optional bool forbiddenForground = 2;
  6825. if (this->forbiddenforground() != 0) {
  6826. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->forbiddenforground(), output);
  6827. }
  6828. // optional int32 delay = 3;
  6829. if (this->delay() != 0) {
  6830. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->delay(), output);
  6831. }
  6832. // optional string strCommonContent = 4;
  6833. if (this->strcommoncontent().size() > 0) {
  6834. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6835. this->strcommoncontent().data(), this->strcommoncontent().length(),
  6836. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  6837. "XPhonePlus.XPhone_AutoReplySetting.strCommonContent");
  6838. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  6839. 4, this->strcommoncontent(), output);
  6840. }
  6841. // optional int32 maxreply = 5;
  6842. if (this->maxreply() != 0) {
  6843. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->maxreply(), output);
  6844. }
  6845. // optional string strStartTime = 6;
  6846. if (this->strstarttime().size() > 0) {
  6847. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6848. this->strstarttime().data(), this->strstarttime().length(),
  6849. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  6850. "XPhonePlus.XPhone_AutoReplySetting.strStartTime");
  6851. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  6852. 6, this->strstarttime(), output);
  6853. }
  6854. // optional string strEndTime = 7;
  6855. if (this->strendtime().size() > 0) {
  6856. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6857. this->strendtime().data(), this->strendtime().length(),
  6858. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  6859. "XPhonePlus.XPhone_AutoReplySetting.strEndTime");
  6860. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  6861. 7, this->strendtime(), output);
  6862. }
  6863. // repeated .XPhonePlus.XPhone_AutoReplyMsg msgList = 8;
  6864. for (unsigned int i = 0, n = this->msglist_size(); i < n; i++) {
  6865. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  6866. 8, this->msglist(i), output);
  6867. }
  6868. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AutoReplySetting)
  6869. }
  6870. ::google::protobuf::uint8* XPhone_AutoReplySetting::SerializeWithCachedSizesToArray(
  6871. ::google::protobuf::uint8* target) const {
  6872. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AutoReplySetting)
  6873. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  6874. if (this->has_head()) {
  6875. target = ::google::protobuf::internal::WireFormatLite::
  6876. WriteMessageNoVirtualToArray(
  6877. 1, *this->head_, target);
  6878. }
  6879. // optional bool forbiddenForground = 2;
  6880. if (this->forbiddenforground() != 0) {
  6881. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->forbiddenforground(), target);
  6882. }
  6883. // optional int32 delay = 3;
  6884. if (this->delay() != 0) {
  6885. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->delay(), target);
  6886. }
  6887. // optional string strCommonContent = 4;
  6888. if (this->strcommoncontent().size() > 0) {
  6889. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6890. this->strcommoncontent().data(), this->strcommoncontent().length(),
  6891. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  6892. "XPhonePlus.XPhone_AutoReplySetting.strCommonContent");
  6893. target =
  6894. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  6895. 4, this->strcommoncontent(), target);
  6896. }
  6897. // optional int32 maxreply = 5;
  6898. if (this->maxreply() != 0) {
  6899. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->maxreply(), target);
  6900. }
  6901. // optional string strStartTime = 6;
  6902. if (this->strstarttime().size() > 0) {
  6903. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6904. this->strstarttime().data(), this->strstarttime().length(),
  6905. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  6906. "XPhonePlus.XPhone_AutoReplySetting.strStartTime");
  6907. target =
  6908. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  6909. 6, this->strstarttime(), target);
  6910. }
  6911. // optional string strEndTime = 7;
  6912. if (this->strendtime().size() > 0) {
  6913. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  6914. this->strendtime().data(), this->strendtime().length(),
  6915. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  6916. "XPhonePlus.XPhone_AutoReplySetting.strEndTime");
  6917. target =
  6918. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  6919. 7, this->strendtime(), target);
  6920. }
  6921. // repeated .XPhonePlus.XPhone_AutoReplyMsg msgList = 8;
  6922. for (unsigned int i = 0, n = this->msglist_size(); i < n; i++) {
  6923. target = ::google::protobuf::internal::WireFormatLite::
  6924. WriteMessageNoVirtualToArray(
  6925. 8, this->msglist(i), target);
  6926. }
  6927. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AutoReplySetting)
  6928. return target;
  6929. }
  6930. int XPhone_AutoReplySetting::ByteSize() const {
  6931. int total_size = 0;
  6932. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  6933. if (this->has_head()) {
  6934. total_size += 1 +
  6935. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  6936. *this->head_);
  6937. }
  6938. // optional bool forbiddenForground = 2;
  6939. if (this->forbiddenforground() != 0) {
  6940. total_size += 1 + 1;
  6941. }
  6942. // optional int32 delay = 3;
  6943. if (this->delay() != 0) {
  6944. total_size += 1 +
  6945. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6946. this->delay());
  6947. }
  6948. // optional string strCommonContent = 4;
  6949. if (this->strcommoncontent().size() > 0) {
  6950. total_size += 1 +
  6951. ::google::protobuf::internal::WireFormatLite::StringSize(
  6952. this->strcommoncontent());
  6953. }
  6954. // optional int32 maxreply = 5;
  6955. if (this->maxreply() != 0) {
  6956. total_size += 1 +
  6957. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6958. this->maxreply());
  6959. }
  6960. // optional string strStartTime = 6;
  6961. if (this->strstarttime().size() > 0) {
  6962. total_size += 1 +
  6963. ::google::protobuf::internal::WireFormatLite::StringSize(
  6964. this->strstarttime());
  6965. }
  6966. // optional string strEndTime = 7;
  6967. if (this->strendtime().size() > 0) {
  6968. total_size += 1 +
  6969. ::google::protobuf::internal::WireFormatLite::StringSize(
  6970. this->strendtime());
  6971. }
  6972. // repeated .XPhonePlus.XPhone_AutoReplyMsg msgList = 8;
  6973. total_size += 1 * this->msglist_size();
  6974. for (int i = 0; i < this->msglist_size(); i++) {
  6975. total_size +=
  6976. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  6977. this->msglist(i));
  6978. }
  6979. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6980. _cached_size_ = total_size;
  6981. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6982. return total_size;
  6983. }
  6984. void XPhone_AutoReplySetting::MergeFrom(const ::google::protobuf::Message& from) {
  6985. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  6986. const XPhone_AutoReplySetting* source =
  6987. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AutoReplySetting>(
  6988. &from);
  6989. if (source == NULL) {
  6990. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6991. } else {
  6992. MergeFrom(*source);
  6993. }
  6994. }
  6995. void XPhone_AutoReplySetting::MergeFrom(const XPhone_AutoReplySetting& from) {
  6996. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  6997. msglist_.MergeFrom(from.msglist_);
  6998. if (from.has_head()) {
  6999. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  7000. }
  7001. if (from.forbiddenforground() != 0) {
  7002. set_forbiddenforground(from.forbiddenforground());
  7003. }
  7004. if (from.delay() != 0) {
  7005. set_delay(from.delay());
  7006. }
  7007. if (from.strcommoncontent().size() > 0) {
  7008. strcommoncontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcommoncontent_);
  7009. }
  7010. if (from.maxreply() != 0) {
  7011. set_maxreply(from.maxreply());
  7012. }
  7013. if (from.strstarttime().size() > 0) {
  7014. strstarttime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strstarttime_);
  7015. }
  7016. if (from.strendtime().size() > 0) {
  7017. strendtime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strendtime_);
  7018. }
  7019. }
  7020. void XPhone_AutoReplySetting::CopyFrom(const ::google::protobuf::Message& from) {
  7021. if (&from == this) return;
  7022. Clear();
  7023. MergeFrom(from);
  7024. }
  7025. void XPhone_AutoReplySetting::CopyFrom(const XPhone_AutoReplySetting& from) {
  7026. if (&from == this) return;
  7027. Clear();
  7028. MergeFrom(from);
  7029. }
  7030. bool XPhone_AutoReplySetting::IsInitialized() const {
  7031. return true;
  7032. }
  7033. void XPhone_AutoReplySetting::Swap(XPhone_AutoReplySetting* other) {
  7034. if (other == this) return;
  7035. InternalSwap(other);
  7036. }
  7037. void XPhone_AutoReplySetting::InternalSwap(XPhone_AutoReplySetting* other) {
  7038. std::swap(head_, other->head_);
  7039. std::swap(forbiddenforground_, other->forbiddenforground_);
  7040. std::swap(delay_, other->delay_);
  7041. strcommoncontent_.Swap(&other->strcommoncontent_);
  7042. std::swap(maxreply_, other->maxreply_);
  7043. strstarttime_.Swap(&other->strstarttime_);
  7044. strendtime_.Swap(&other->strendtime_);
  7045. msglist_.UnsafeArenaSwap(&other->msglist_);
  7046. _internal_metadata_.Swap(&other->_internal_metadata_);
  7047. std::swap(_cached_size_, other->_cached_size_);
  7048. }
  7049. ::google::protobuf::Metadata XPhone_AutoReplySetting::GetMetadata() const {
  7050. protobuf_AssignDescriptorsOnce();
  7051. ::google::protobuf::Metadata metadata;
  7052. metadata.descriptor = XPhone_AutoReplySetting_descriptor_;
  7053. metadata.reflection = XPhone_AutoReplySetting_reflection_;
  7054. return metadata;
  7055. }
  7056. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  7057. // XPhone_AutoReplySetting
  7058. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  7059. bool XPhone_AutoReplySetting::has_head() const {
  7060. return !_is_default_instance_ && head_ != NULL;
  7061. }
  7062. void XPhone_AutoReplySetting::clear_head() {
  7063. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  7064. head_ = NULL;
  7065. }
  7066. const ::XPhonePlus::XPhone_MsgBase& XPhone_AutoReplySetting::head() const {
  7067. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.head)
  7068. return head_ != NULL ? *head_ : *default_instance_->head_;
  7069. }
  7070. ::XPhonePlus::XPhone_MsgBase* XPhone_AutoReplySetting::mutable_head() {
  7071. if (head_ == NULL) {
  7072. head_ = new ::XPhonePlus::XPhone_MsgBase;
  7073. }
  7074. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplySetting.head)
  7075. return head_;
  7076. }
  7077. ::XPhonePlus::XPhone_MsgBase* XPhone_AutoReplySetting::release_head() {
  7078. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  7079. head_ = NULL;
  7080. return temp;
  7081. }
  7082. void XPhone_AutoReplySetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  7083. delete head_;
  7084. head_ = head;
  7085. if (head) {
  7086. } else {
  7087. }
  7088. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplySetting.head)
  7089. }
  7090. // optional bool forbiddenForground = 2;
  7091. void XPhone_AutoReplySetting::clear_forbiddenforground() {
  7092. forbiddenforground_ = false;
  7093. }
  7094. bool XPhone_AutoReplySetting::forbiddenforground() const {
  7095. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.forbiddenForground)
  7096. return forbiddenforground_;
  7097. }
  7098. void XPhone_AutoReplySetting::set_forbiddenforground(bool value) {
  7099. forbiddenforground_ = value;
  7100. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.forbiddenForground)
  7101. }
  7102. // optional int32 delay = 3;
  7103. void XPhone_AutoReplySetting::clear_delay() {
  7104. delay_ = 0;
  7105. }
  7106. ::google::protobuf::int32 XPhone_AutoReplySetting::delay() const {
  7107. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.delay)
  7108. return delay_;
  7109. }
  7110. void XPhone_AutoReplySetting::set_delay(::google::protobuf::int32 value) {
  7111. delay_ = value;
  7112. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.delay)
  7113. }
  7114. // optional string strCommonContent = 4;
  7115. void XPhone_AutoReplySetting::clear_strcommoncontent() {
  7116. strcommoncontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7117. }
  7118. const ::std::string& XPhone_AutoReplySetting::strcommoncontent() const {
  7119. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
  7120. return strcommoncontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7121. }
  7122. void XPhone_AutoReplySetting::set_strcommoncontent(const ::std::string& value) {
  7123. strcommoncontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  7124. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
  7125. }
  7126. void XPhone_AutoReplySetting::set_strcommoncontent(const char* value) {
  7127. strcommoncontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  7128. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
  7129. }
  7130. void XPhone_AutoReplySetting::set_strcommoncontent(const char* value, size_t size) {
  7131. strcommoncontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  7132. ::std::string(reinterpret_cast<const char*>(value), size));
  7133. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
  7134. }
  7135. ::std::string* XPhone_AutoReplySetting::mutable_strcommoncontent() {
  7136. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
  7137. return strcommoncontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7138. }
  7139. ::std::string* XPhone_AutoReplySetting::release_strcommoncontent() {
  7140. return strcommoncontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7141. }
  7142. void XPhone_AutoReplySetting::set_allocated_strcommoncontent(::std::string* strcommoncontent) {
  7143. if (strcommoncontent != NULL) {
  7144. } else {
  7145. }
  7146. strcommoncontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcommoncontent);
  7147. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
  7148. }
  7149. // optional int32 maxreply = 5;
  7150. void XPhone_AutoReplySetting::clear_maxreply() {
  7151. maxreply_ = 0;
  7152. }
  7153. ::google::protobuf::int32 XPhone_AutoReplySetting::maxreply() const {
  7154. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.maxreply)
  7155. return maxreply_;
  7156. }
  7157. void XPhone_AutoReplySetting::set_maxreply(::google::protobuf::int32 value) {
  7158. maxreply_ = value;
  7159. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.maxreply)
  7160. }
  7161. // optional string strStartTime = 6;
  7162. void XPhone_AutoReplySetting::clear_strstarttime() {
  7163. strstarttime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7164. }
  7165. const ::std::string& XPhone_AutoReplySetting::strstarttime() const {
  7166. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
  7167. return strstarttime_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7168. }
  7169. void XPhone_AutoReplySetting::set_strstarttime(const ::std::string& value) {
  7170. strstarttime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  7171. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
  7172. }
  7173. void XPhone_AutoReplySetting::set_strstarttime(const char* value) {
  7174. strstarttime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  7175. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
  7176. }
  7177. void XPhone_AutoReplySetting::set_strstarttime(const char* value, size_t size) {
  7178. strstarttime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  7179. ::std::string(reinterpret_cast<const char*>(value), size));
  7180. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
  7181. }
  7182. ::std::string* XPhone_AutoReplySetting::mutable_strstarttime() {
  7183. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
  7184. return strstarttime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7185. }
  7186. ::std::string* XPhone_AutoReplySetting::release_strstarttime() {
  7187. return strstarttime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7188. }
  7189. void XPhone_AutoReplySetting::set_allocated_strstarttime(::std::string* strstarttime) {
  7190. if (strstarttime != NULL) {
  7191. } else {
  7192. }
  7193. strstarttime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strstarttime);
  7194. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
  7195. }
  7196. // optional string strEndTime = 7;
  7197. void XPhone_AutoReplySetting::clear_strendtime() {
  7198. strendtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7199. }
  7200. const ::std::string& XPhone_AutoReplySetting::strendtime() const {
  7201. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
  7202. return strendtime_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7203. }
  7204. void XPhone_AutoReplySetting::set_strendtime(const ::std::string& value) {
  7205. strendtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  7206. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
  7207. }
  7208. void XPhone_AutoReplySetting::set_strendtime(const char* value) {
  7209. strendtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  7210. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
  7211. }
  7212. void XPhone_AutoReplySetting::set_strendtime(const char* value, size_t size) {
  7213. strendtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  7214. ::std::string(reinterpret_cast<const char*>(value), size));
  7215. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
  7216. }
  7217. ::std::string* XPhone_AutoReplySetting::mutable_strendtime() {
  7218. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
  7219. return strendtime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7220. }
  7221. ::std::string* XPhone_AutoReplySetting::release_strendtime() {
  7222. return strendtime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7223. }
  7224. void XPhone_AutoReplySetting::set_allocated_strendtime(::std::string* strendtime) {
  7225. if (strendtime != NULL) {
  7226. } else {
  7227. }
  7228. strendtime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strendtime);
  7229. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
  7230. }
  7231. // repeated .XPhonePlus.XPhone_AutoReplyMsg msgList = 8;
  7232. int XPhone_AutoReplySetting::msglist_size() const {
  7233. return msglist_.size();
  7234. }
  7235. void XPhone_AutoReplySetting::clear_msglist() {
  7236. msglist_.Clear();
  7237. }
  7238. const ::XPhonePlus::XPhone_AutoReplyMsg& XPhone_AutoReplySetting::msglist(int index) const {
  7239. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.msgList)
  7240. return msglist_.Get(index);
  7241. }
  7242. ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_AutoReplySetting::mutable_msglist(int index) {
  7243. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplySetting.msgList)
  7244. return msglist_.Mutable(index);
  7245. }
  7246. ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_AutoReplySetting::add_msglist() {
  7247. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_AutoReplySetting.msgList)
  7248. return msglist_.Add();
  7249. }
  7250. ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >*
  7251. XPhone_AutoReplySetting::mutable_msglist() {
  7252. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_AutoReplySetting.msgList)
  7253. return &msglist_;
  7254. }
  7255. const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >&
  7256. XPhone_AutoReplySetting::msglist() const {
  7257. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_AutoReplySetting.msgList)
  7258. return msglist_;
  7259. }
  7260. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  7261. // ===================================================================
  7262. #ifndef _MSC_VER
  7263. const int XPhone_FunctionSwitch::kHeadFieldNumber;
  7264. const int XPhone_FunctionSwitch::kTaskTypeFieldNumber;
  7265. const int XPhone_FunctionSwitch::kActionFieldNumber;
  7266. #endif // !_MSC_VER
  7267. XPhone_FunctionSwitch::XPhone_FunctionSwitch()
  7268. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  7269. SharedCtor();
  7270. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_FunctionSwitch)
  7271. }
  7272. void XPhone_FunctionSwitch::InitAsDefaultInstance() {
  7273. _is_default_instance_ = true;
  7274. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  7275. }
  7276. XPhone_FunctionSwitch::XPhone_FunctionSwitch(const XPhone_FunctionSwitch& from)
  7277. : ::google::protobuf::Message(),
  7278. _internal_metadata_(NULL) {
  7279. SharedCtor();
  7280. MergeFrom(from);
  7281. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_FunctionSwitch)
  7282. }
  7283. void XPhone_FunctionSwitch::SharedCtor() {
  7284. _is_default_instance_ = false;
  7285. _cached_size_ = 0;
  7286. head_ = NULL;
  7287. tasktype_ = 0;
  7288. action_ = 0;
  7289. }
  7290. XPhone_FunctionSwitch::~XPhone_FunctionSwitch() {
  7291. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_FunctionSwitch)
  7292. SharedDtor();
  7293. }
  7294. void XPhone_FunctionSwitch::SharedDtor() {
  7295. if (this != default_instance_) {
  7296. delete head_;
  7297. }
  7298. }
  7299. void XPhone_FunctionSwitch::SetCachedSize(int size) const {
  7300. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7301. _cached_size_ = size;
  7302. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7303. }
  7304. const ::google::protobuf::Descriptor* XPhone_FunctionSwitch::descriptor() {
  7305. protobuf_AssignDescriptorsOnce();
  7306. return XPhone_FunctionSwitch_descriptor_;
  7307. }
  7308. const XPhone_FunctionSwitch& XPhone_FunctionSwitch::default_instance() {
  7309. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  7310. return *default_instance_;
  7311. }
  7312. XPhone_FunctionSwitch* XPhone_FunctionSwitch::default_instance_ = NULL;
  7313. XPhone_FunctionSwitch* XPhone_FunctionSwitch::New(::google::protobuf::Arena* arena) const {
  7314. XPhone_FunctionSwitch* n = new XPhone_FunctionSwitch;
  7315. if (arena != NULL) {
  7316. arena->Own(n);
  7317. }
  7318. return n;
  7319. }
  7320. void XPhone_FunctionSwitch::Clear() {
  7321. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  7322. &reinterpret_cast<XPhone_FunctionSwitch*>(16)->f)
  7323. #define ZR_(first, last) do {\
  7324. ::memset(&first, 0,\
  7325. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  7326. } while (0)
  7327. ZR_(tasktype_, action_);
  7328. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  7329. head_ = NULL;
  7330. #undef ZR_HELPER_
  7331. #undef ZR_
  7332. }
  7333. bool XPhone_FunctionSwitch::MergePartialFromCodedStream(
  7334. ::google::protobuf::io::CodedInputStream* input) {
  7335. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  7336. ::google::protobuf::uint32 tag;
  7337. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_FunctionSwitch)
  7338. for (;;) {
  7339. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  7340. tag = p.first;
  7341. if (!p.second) goto handle_unusual;
  7342. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7343. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  7344. case 1: {
  7345. if (tag == 10) {
  7346. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  7347. input, mutable_head()));
  7348. } else {
  7349. goto handle_unusual;
  7350. }
  7351. if (input->ExpectTag(16)) goto parse_taskType;
  7352. break;
  7353. }
  7354. // optional .XPhonePlus.XPhone_TaskType taskType = 2;
  7355. case 2: {
  7356. if (tag == 16) {
  7357. parse_taskType:
  7358. int value;
  7359. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7360. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  7361. input, &value)));
  7362. set_tasktype(static_cast< ::XPhonePlus::XPhone_TaskType >(value));
  7363. } else {
  7364. goto handle_unusual;
  7365. }
  7366. if (input->ExpectTag(24)) goto parse_action;
  7367. break;
  7368. }
  7369. // optional .XPhonePlus.XPhone_TaskAction action = 3;
  7370. case 3: {
  7371. if (tag == 24) {
  7372. parse_action:
  7373. int value;
  7374. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7375. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  7376. input, &value)));
  7377. set_action(static_cast< ::XPhonePlus::XPhone_TaskAction >(value));
  7378. } else {
  7379. goto handle_unusual;
  7380. }
  7381. if (input->ExpectAtEnd()) goto success;
  7382. break;
  7383. }
  7384. default: {
  7385. handle_unusual:
  7386. if (tag == 0 ||
  7387. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7388. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7389. goto success;
  7390. }
  7391. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  7392. break;
  7393. }
  7394. }
  7395. }
  7396. success:
  7397. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_FunctionSwitch)
  7398. return true;
  7399. failure:
  7400. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_FunctionSwitch)
  7401. return false;
  7402. #undef DO_
  7403. }
  7404. void XPhone_FunctionSwitch::SerializeWithCachedSizes(
  7405. ::google::protobuf::io::CodedOutputStream* output) const {
  7406. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_FunctionSwitch)
  7407. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  7408. if (this->has_head()) {
  7409. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  7410. 1, *this->head_, output);
  7411. }
  7412. // optional .XPhonePlus.XPhone_TaskType taskType = 2;
  7413. if (this->tasktype() != 0) {
  7414. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  7415. 2, this->tasktype(), output);
  7416. }
  7417. // optional .XPhonePlus.XPhone_TaskAction action = 3;
  7418. if (this->action() != 0) {
  7419. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  7420. 3, this->action(), output);
  7421. }
  7422. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_FunctionSwitch)
  7423. }
  7424. ::google::protobuf::uint8* XPhone_FunctionSwitch::SerializeWithCachedSizesToArray(
  7425. ::google::protobuf::uint8* target) const {
  7426. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_FunctionSwitch)
  7427. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  7428. if (this->has_head()) {
  7429. target = ::google::protobuf::internal::WireFormatLite::
  7430. WriteMessageNoVirtualToArray(
  7431. 1, *this->head_, target);
  7432. }
  7433. // optional .XPhonePlus.XPhone_TaskType taskType = 2;
  7434. if (this->tasktype() != 0) {
  7435. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  7436. 2, this->tasktype(), target);
  7437. }
  7438. // optional .XPhonePlus.XPhone_TaskAction action = 3;
  7439. if (this->action() != 0) {
  7440. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  7441. 3, this->action(), target);
  7442. }
  7443. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_FunctionSwitch)
  7444. return target;
  7445. }
  7446. int XPhone_FunctionSwitch::ByteSize() const {
  7447. int total_size = 0;
  7448. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  7449. if (this->has_head()) {
  7450. total_size += 1 +
  7451. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  7452. *this->head_);
  7453. }
  7454. // optional .XPhonePlus.XPhone_TaskType taskType = 2;
  7455. if (this->tasktype() != 0) {
  7456. total_size += 1 +
  7457. ::google::protobuf::internal::WireFormatLite::EnumSize(this->tasktype());
  7458. }
  7459. // optional .XPhonePlus.XPhone_TaskAction action = 3;
  7460. if (this->action() != 0) {
  7461. total_size += 1 +
  7462. ::google::protobuf::internal::WireFormatLite::EnumSize(this->action());
  7463. }
  7464. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7465. _cached_size_ = total_size;
  7466. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7467. return total_size;
  7468. }
  7469. void XPhone_FunctionSwitch::MergeFrom(const ::google::protobuf::Message& from) {
  7470. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  7471. const XPhone_FunctionSwitch* source =
  7472. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_FunctionSwitch>(
  7473. &from);
  7474. if (source == NULL) {
  7475. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7476. } else {
  7477. MergeFrom(*source);
  7478. }
  7479. }
  7480. void XPhone_FunctionSwitch::MergeFrom(const XPhone_FunctionSwitch& from) {
  7481. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  7482. if (from.has_head()) {
  7483. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  7484. }
  7485. if (from.tasktype() != 0) {
  7486. set_tasktype(from.tasktype());
  7487. }
  7488. if (from.action() != 0) {
  7489. set_action(from.action());
  7490. }
  7491. }
  7492. void XPhone_FunctionSwitch::CopyFrom(const ::google::protobuf::Message& from) {
  7493. if (&from == this) return;
  7494. Clear();
  7495. MergeFrom(from);
  7496. }
  7497. void XPhone_FunctionSwitch::CopyFrom(const XPhone_FunctionSwitch& from) {
  7498. if (&from == this) return;
  7499. Clear();
  7500. MergeFrom(from);
  7501. }
  7502. bool XPhone_FunctionSwitch::IsInitialized() const {
  7503. return true;
  7504. }
  7505. void XPhone_FunctionSwitch::Swap(XPhone_FunctionSwitch* other) {
  7506. if (other == this) return;
  7507. InternalSwap(other);
  7508. }
  7509. void XPhone_FunctionSwitch::InternalSwap(XPhone_FunctionSwitch* other) {
  7510. std::swap(head_, other->head_);
  7511. std::swap(tasktype_, other->tasktype_);
  7512. std::swap(action_, other->action_);
  7513. _internal_metadata_.Swap(&other->_internal_metadata_);
  7514. std::swap(_cached_size_, other->_cached_size_);
  7515. }
  7516. ::google::protobuf::Metadata XPhone_FunctionSwitch::GetMetadata() const {
  7517. protobuf_AssignDescriptorsOnce();
  7518. ::google::protobuf::Metadata metadata;
  7519. metadata.descriptor = XPhone_FunctionSwitch_descriptor_;
  7520. metadata.reflection = XPhone_FunctionSwitch_reflection_;
  7521. return metadata;
  7522. }
  7523. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  7524. // XPhone_FunctionSwitch
  7525. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  7526. bool XPhone_FunctionSwitch::has_head() const {
  7527. return !_is_default_instance_ && head_ != NULL;
  7528. }
  7529. void XPhone_FunctionSwitch::clear_head() {
  7530. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  7531. head_ = NULL;
  7532. }
  7533. const ::XPhonePlus::XPhone_MsgBase& XPhone_FunctionSwitch::head() const {
  7534. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_FunctionSwitch.head)
  7535. return head_ != NULL ? *head_ : *default_instance_->head_;
  7536. }
  7537. ::XPhonePlus::XPhone_MsgBase* XPhone_FunctionSwitch::mutable_head() {
  7538. if (head_ == NULL) {
  7539. head_ = new ::XPhonePlus::XPhone_MsgBase;
  7540. }
  7541. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_FunctionSwitch.head)
  7542. return head_;
  7543. }
  7544. ::XPhonePlus::XPhone_MsgBase* XPhone_FunctionSwitch::release_head() {
  7545. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  7546. head_ = NULL;
  7547. return temp;
  7548. }
  7549. void XPhone_FunctionSwitch::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  7550. delete head_;
  7551. head_ = head;
  7552. if (head) {
  7553. } else {
  7554. }
  7555. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_FunctionSwitch.head)
  7556. }
  7557. // optional .XPhonePlus.XPhone_TaskType taskType = 2;
  7558. void XPhone_FunctionSwitch::clear_tasktype() {
  7559. tasktype_ = 0;
  7560. }
  7561. ::XPhonePlus::XPhone_TaskType XPhone_FunctionSwitch::tasktype() const {
  7562. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_FunctionSwitch.taskType)
  7563. return static_cast< ::XPhonePlus::XPhone_TaskType >(tasktype_);
  7564. }
  7565. void XPhone_FunctionSwitch::set_tasktype(::XPhonePlus::XPhone_TaskType value) {
  7566. tasktype_ = value;
  7567. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_FunctionSwitch.taskType)
  7568. }
  7569. // optional .XPhonePlus.XPhone_TaskAction action = 3;
  7570. void XPhone_FunctionSwitch::clear_action() {
  7571. action_ = 0;
  7572. }
  7573. ::XPhonePlus::XPhone_TaskAction XPhone_FunctionSwitch::action() const {
  7574. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_FunctionSwitch.action)
  7575. return static_cast< ::XPhonePlus::XPhone_TaskAction >(action_);
  7576. }
  7577. void XPhone_FunctionSwitch::set_action(::XPhonePlus::XPhone_TaskAction value) {
  7578. action_ = value;
  7579. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_FunctionSwitch.action)
  7580. }
  7581. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  7582. // ===================================================================
  7583. #ifndef _MSC_VER
  7584. const int XPhone_SnsMsg::kSNSTypeFieldNumber;
  7585. const int XPhone_SnsMsg::kStrTitleFieldNumber;
  7586. const int XPhone_SnsMsg::kStrTextFieldNumber;
  7587. const int XPhone_SnsMsg::kStrLinkerFieldNumber;
  7588. const int XPhone_SnsMsg::kPicListFieldNumber;
  7589. #endif // !_MSC_VER
  7590. XPhone_SnsMsg::XPhone_SnsMsg()
  7591. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  7592. SharedCtor();
  7593. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SnsMsg)
  7594. }
  7595. void XPhone_SnsMsg::InitAsDefaultInstance() {
  7596. _is_default_instance_ = true;
  7597. }
  7598. XPhone_SnsMsg::XPhone_SnsMsg(const XPhone_SnsMsg& from)
  7599. : ::google::protobuf::Message(),
  7600. _internal_metadata_(NULL) {
  7601. SharedCtor();
  7602. MergeFrom(from);
  7603. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SnsMsg)
  7604. }
  7605. void XPhone_SnsMsg::SharedCtor() {
  7606. _is_default_instance_ = false;
  7607. ::google::protobuf::internal::GetEmptyString();
  7608. _cached_size_ = 0;
  7609. snstype_ = 0;
  7610. strtitle_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7611. strtext_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7612. strlinker_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7613. }
  7614. XPhone_SnsMsg::~XPhone_SnsMsg() {
  7615. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SnsMsg)
  7616. SharedDtor();
  7617. }
  7618. void XPhone_SnsMsg::SharedDtor() {
  7619. strtitle_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7620. strtext_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7621. strlinker_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7622. if (this != default_instance_) {
  7623. }
  7624. }
  7625. void XPhone_SnsMsg::SetCachedSize(int size) const {
  7626. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7627. _cached_size_ = size;
  7628. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7629. }
  7630. const ::google::protobuf::Descriptor* XPhone_SnsMsg::descriptor() {
  7631. protobuf_AssignDescriptorsOnce();
  7632. return XPhone_SnsMsg_descriptor_;
  7633. }
  7634. const XPhone_SnsMsg& XPhone_SnsMsg::default_instance() {
  7635. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  7636. return *default_instance_;
  7637. }
  7638. XPhone_SnsMsg* XPhone_SnsMsg::default_instance_ = NULL;
  7639. XPhone_SnsMsg* XPhone_SnsMsg::New(::google::protobuf::Arena* arena) const {
  7640. XPhone_SnsMsg* n = new XPhone_SnsMsg;
  7641. if (arena != NULL) {
  7642. arena->Own(n);
  7643. }
  7644. return n;
  7645. }
  7646. void XPhone_SnsMsg::Clear() {
  7647. snstype_ = 0;
  7648. strtitle_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7649. strtext_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7650. strlinker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7651. piclist_.Clear();
  7652. }
  7653. bool XPhone_SnsMsg::MergePartialFromCodedStream(
  7654. ::google::protobuf::io::CodedInputStream* input) {
  7655. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  7656. ::google::protobuf::uint32 tag;
  7657. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SnsMsg)
  7658. for (;;) {
  7659. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  7660. tag = p.first;
  7661. if (!p.second) goto handle_unusual;
  7662. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7663. // optional int32 SNSType = 1;
  7664. case 1: {
  7665. if (tag == 8) {
  7666. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7667. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7668. input, &snstype_)));
  7669. } else {
  7670. goto handle_unusual;
  7671. }
  7672. if (input->ExpectTag(18)) goto parse_strTitle;
  7673. break;
  7674. }
  7675. // optional string strTitle = 2;
  7676. case 2: {
  7677. if (tag == 18) {
  7678. parse_strTitle:
  7679. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7680. input, this->mutable_strtitle()));
  7681. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7682. this->strtitle().data(), this->strtitle().length(),
  7683. ::google::protobuf::internal::WireFormatLite::PARSE,
  7684. "XPhonePlus.XPhone_SnsMsg.strTitle"));
  7685. } else {
  7686. goto handle_unusual;
  7687. }
  7688. if (input->ExpectTag(26)) goto parse_strText;
  7689. break;
  7690. }
  7691. // optional string strText = 3;
  7692. case 3: {
  7693. if (tag == 26) {
  7694. parse_strText:
  7695. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7696. input, this->mutable_strtext()));
  7697. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7698. this->strtext().data(), this->strtext().length(),
  7699. ::google::protobuf::internal::WireFormatLite::PARSE,
  7700. "XPhonePlus.XPhone_SnsMsg.strText"));
  7701. } else {
  7702. goto handle_unusual;
  7703. }
  7704. if (input->ExpectTag(34)) goto parse_strLinker;
  7705. break;
  7706. }
  7707. // optional string strLinker = 4;
  7708. case 4: {
  7709. if (tag == 34) {
  7710. parse_strLinker:
  7711. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7712. input, this->mutable_strlinker()));
  7713. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7714. this->strlinker().data(), this->strlinker().length(),
  7715. ::google::protobuf::internal::WireFormatLite::PARSE,
  7716. "XPhonePlus.XPhone_SnsMsg.strLinker"));
  7717. } else {
  7718. goto handle_unusual;
  7719. }
  7720. if (input->ExpectTag(42)) goto parse_picList;
  7721. break;
  7722. }
  7723. // repeated string picList = 5;
  7724. case 5: {
  7725. if (tag == 42) {
  7726. parse_picList:
  7727. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  7728. input, this->add_piclist()));
  7729. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7730. this->piclist(this->piclist_size() - 1).data(),
  7731. this->piclist(this->piclist_size() - 1).length(),
  7732. ::google::protobuf::internal::WireFormatLite::PARSE,
  7733. "XPhonePlus.XPhone_SnsMsg.picList"));
  7734. } else {
  7735. goto handle_unusual;
  7736. }
  7737. if (input->ExpectTag(42)) goto parse_picList;
  7738. if (input->ExpectAtEnd()) goto success;
  7739. break;
  7740. }
  7741. default: {
  7742. handle_unusual:
  7743. if (tag == 0 ||
  7744. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7745. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7746. goto success;
  7747. }
  7748. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  7749. break;
  7750. }
  7751. }
  7752. }
  7753. success:
  7754. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SnsMsg)
  7755. return true;
  7756. failure:
  7757. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SnsMsg)
  7758. return false;
  7759. #undef DO_
  7760. }
  7761. void XPhone_SnsMsg::SerializeWithCachedSizes(
  7762. ::google::protobuf::io::CodedOutputStream* output) const {
  7763. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SnsMsg)
  7764. // optional int32 SNSType = 1;
  7765. if (this->snstype() != 0) {
  7766. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->snstype(), output);
  7767. }
  7768. // optional string strTitle = 2;
  7769. if (this->strtitle().size() > 0) {
  7770. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7771. this->strtitle().data(), this->strtitle().length(),
  7772. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  7773. "XPhonePlus.XPhone_SnsMsg.strTitle");
  7774. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  7775. 2, this->strtitle(), output);
  7776. }
  7777. // optional string strText = 3;
  7778. if (this->strtext().size() > 0) {
  7779. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7780. this->strtext().data(), this->strtext().length(),
  7781. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  7782. "XPhonePlus.XPhone_SnsMsg.strText");
  7783. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  7784. 3, this->strtext(), output);
  7785. }
  7786. // optional string strLinker = 4;
  7787. if (this->strlinker().size() > 0) {
  7788. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7789. this->strlinker().data(), this->strlinker().length(),
  7790. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  7791. "XPhonePlus.XPhone_SnsMsg.strLinker");
  7792. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  7793. 4, this->strlinker(), output);
  7794. }
  7795. // repeated string picList = 5;
  7796. for (int i = 0; i < this->piclist_size(); i++) {
  7797. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7798. this->piclist(i).data(), this->piclist(i).length(),
  7799. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  7800. "XPhonePlus.XPhone_SnsMsg.picList");
  7801. ::google::protobuf::internal::WireFormatLite::WriteString(
  7802. 5, this->piclist(i), output);
  7803. }
  7804. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SnsMsg)
  7805. }
  7806. ::google::protobuf::uint8* XPhone_SnsMsg::SerializeWithCachedSizesToArray(
  7807. ::google::protobuf::uint8* target) const {
  7808. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SnsMsg)
  7809. // optional int32 SNSType = 1;
  7810. if (this->snstype() != 0) {
  7811. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->snstype(), target);
  7812. }
  7813. // optional string strTitle = 2;
  7814. if (this->strtitle().size() > 0) {
  7815. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7816. this->strtitle().data(), this->strtitle().length(),
  7817. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  7818. "XPhonePlus.XPhone_SnsMsg.strTitle");
  7819. target =
  7820. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7821. 2, this->strtitle(), target);
  7822. }
  7823. // optional string strText = 3;
  7824. if (this->strtext().size() > 0) {
  7825. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7826. this->strtext().data(), this->strtext().length(),
  7827. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  7828. "XPhonePlus.XPhone_SnsMsg.strText");
  7829. target =
  7830. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7831. 3, this->strtext(), target);
  7832. }
  7833. // optional string strLinker = 4;
  7834. if (this->strlinker().size() > 0) {
  7835. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7836. this->strlinker().data(), this->strlinker().length(),
  7837. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  7838. "XPhonePlus.XPhone_SnsMsg.strLinker");
  7839. target =
  7840. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  7841. 4, this->strlinker(), target);
  7842. }
  7843. // repeated string picList = 5;
  7844. for (int i = 0; i < this->piclist_size(); i++) {
  7845. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  7846. this->piclist(i).data(), this->piclist(i).length(),
  7847. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  7848. "XPhonePlus.XPhone_SnsMsg.picList");
  7849. target = ::google::protobuf::internal::WireFormatLite::
  7850. WriteStringToArray(5, this->piclist(i), target);
  7851. }
  7852. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SnsMsg)
  7853. return target;
  7854. }
  7855. int XPhone_SnsMsg::ByteSize() const {
  7856. int total_size = 0;
  7857. // optional int32 SNSType = 1;
  7858. if (this->snstype() != 0) {
  7859. total_size += 1 +
  7860. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7861. this->snstype());
  7862. }
  7863. // optional string strTitle = 2;
  7864. if (this->strtitle().size() > 0) {
  7865. total_size += 1 +
  7866. ::google::protobuf::internal::WireFormatLite::StringSize(
  7867. this->strtitle());
  7868. }
  7869. // optional string strText = 3;
  7870. if (this->strtext().size() > 0) {
  7871. total_size += 1 +
  7872. ::google::protobuf::internal::WireFormatLite::StringSize(
  7873. this->strtext());
  7874. }
  7875. // optional string strLinker = 4;
  7876. if (this->strlinker().size() > 0) {
  7877. total_size += 1 +
  7878. ::google::protobuf::internal::WireFormatLite::StringSize(
  7879. this->strlinker());
  7880. }
  7881. // repeated string picList = 5;
  7882. total_size += 1 * this->piclist_size();
  7883. for (int i = 0; i < this->piclist_size(); i++) {
  7884. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  7885. this->piclist(i));
  7886. }
  7887. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7888. _cached_size_ = total_size;
  7889. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7890. return total_size;
  7891. }
  7892. void XPhone_SnsMsg::MergeFrom(const ::google::protobuf::Message& from) {
  7893. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  7894. const XPhone_SnsMsg* source =
  7895. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SnsMsg>(
  7896. &from);
  7897. if (source == NULL) {
  7898. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7899. } else {
  7900. MergeFrom(*source);
  7901. }
  7902. }
  7903. void XPhone_SnsMsg::MergeFrom(const XPhone_SnsMsg& from) {
  7904. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  7905. piclist_.MergeFrom(from.piclist_);
  7906. if (from.snstype() != 0) {
  7907. set_snstype(from.snstype());
  7908. }
  7909. if (from.strtitle().size() > 0) {
  7910. strtitle_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strtitle_);
  7911. }
  7912. if (from.strtext().size() > 0) {
  7913. strtext_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strtext_);
  7914. }
  7915. if (from.strlinker().size() > 0) {
  7916. strlinker_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strlinker_);
  7917. }
  7918. }
  7919. void XPhone_SnsMsg::CopyFrom(const ::google::protobuf::Message& from) {
  7920. if (&from == this) return;
  7921. Clear();
  7922. MergeFrom(from);
  7923. }
  7924. void XPhone_SnsMsg::CopyFrom(const XPhone_SnsMsg& from) {
  7925. if (&from == this) return;
  7926. Clear();
  7927. MergeFrom(from);
  7928. }
  7929. bool XPhone_SnsMsg::IsInitialized() const {
  7930. return true;
  7931. }
  7932. void XPhone_SnsMsg::Swap(XPhone_SnsMsg* other) {
  7933. if (other == this) return;
  7934. InternalSwap(other);
  7935. }
  7936. void XPhone_SnsMsg::InternalSwap(XPhone_SnsMsg* other) {
  7937. std::swap(snstype_, other->snstype_);
  7938. strtitle_.Swap(&other->strtitle_);
  7939. strtext_.Swap(&other->strtext_);
  7940. strlinker_.Swap(&other->strlinker_);
  7941. piclist_.UnsafeArenaSwap(&other->piclist_);
  7942. _internal_metadata_.Swap(&other->_internal_metadata_);
  7943. std::swap(_cached_size_, other->_cached_size_);
  7944. }
  7945. ::google::protobuf::Metadata XPhone_SnsMsg::GetMetadata() const {
  7946. protobuf_AssignDescriptorsOnce();
  7947. ::google::protobuf::Metadata metadata;
  7948. metadata.descriptor = XPhone_SnsMsg_descriptor_;
  7949. metadata.reflection = XPhone_SnsMsg_reflection_;
  7950. return metadata;
  7951. }
  7952. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  7953. // XPhone_SnsMsg
  7954. // optional int32 SNSType = 1;
  7955. void XPhone_SnsMsg::clear_snstype() {
  7956. snstype_ = 0;
  7957. }
  7958. ::google::protobuf::int32 XPhone_SnsMsg::snstype() const {
  7959. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsMsg.SNSType)
  7960. return snstype_;
  7961. }
  7962. void XPhone_SnsMsg::set_snstype(::google::protobuf::int32 value) {
  7963. snstype_ = value;
  7964. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsMsg.SNSType)
  7965. }
  7966. // optional string strTitle = 2;
  7967. void XPhone_SnsMsg::clear_strtitle() {
  7968. strtitle_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7969. }
  7970. const ::std::string& XPhone_SnsMsg::strtitle() const {
  7971. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsMsg.strTitle)
  7972. return strtitle_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7973. }
  7974. void XPhone_SnsMsg::set_strtitle(const ::std::string& value) {
  7975. strtitle_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  7976. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsMsg.strTitle)
  7977. }
  7978. void XPhone_SnsMsg::set_strtitle(const char* value) {
  7979. strtitle_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  7980. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SnsMsg.strTitle)
  7981. }
  7982. void XPhone_SnsMsg::set_strtitle(const char* value, size_t size) {
  7983. strtitle_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  7984. ::std::string(reinterpret_cast<const char*>(value), size));
  7985. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SnsMsg.strTitle)
  7986. }
  7987. ::std::string* XPhone_SnsMsg::mutable_strtitle() {
  7988. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsMsg.strTitle)
  7989. return strtitle_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7990. }
  7991. ::std::string* XPhone_SnsMsg::release_strtitle() {
  7992. return strtitle_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  7993. }
  7994. void XPhone_SnsMsg::set_allocated_strtitle(::std::string* strtitle) {
  7995. if (strtitle != NULL) {
  7996. } else {
  7997. }
  7998. strtitle_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strtitle);
  7999. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SnsMsg.strTitle)
  8000. }
  8001. // optional string strText = 3;
  8002. void XPhone_SnsMsg::clear_strtext() {
  8003. strtext_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  8004. }
  8005. const ::std::string& XPhone_SnsMsg::strtext() const {
  8006. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsMsg.strText)
  8007. return strtext_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  8008. }
  8009. void XPhone_SnsMsg::set_strtext(const ::std::string& value) {
  8010. strtext_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  8011. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsMsg.strText)
  8012. }
  8013. void XPhone_SnsMsg::set_strtext(const char* value) {
  8014. strtext_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  8015. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SnsMsg.strText)
  8016. }
  8017. void XPhone_SnsMsg::set_strtext(const char* value, size_t size) {
  8018. strtext_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  8019. ::std::string(reinterpret_cast<const char*>(value), size));
  8020. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SnsMsg.strText)
  8021. }
  8022. ::std::string* XPhone_SnsMsg::mutable_strtext() {
  8023. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsMsg.strText)
  8024. return strtext_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  8025. }
  8026. ::std::string* XPhone_SnsMsg::release_strtext() {
  8027. return strtext_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  8028. }
  8029. void XPhone_SnsMsg::set_allocated_strtext(::std::string* strtext) {
  8030. if (strtext != NULL) {
  8031. } else {
  8032. }
  8033. strtext_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strtext);
  8034. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SnsMsg.strText)
  8035. }
  8036. // optional string strLinker = 4;
  8037. void XPhone_SnsMsg::clear_strlinker() {
  8038. strlinker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  8039. }
  8040. const ::std::string& XPhone_SnsMsg::strlinker() const {
  8041. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsMsg.strLinker)
  8042. return strlinker_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  8043. }
  8044. void XPhone_SnsMsg::set_strlinker(const ::std::string& value) {
  8045. strlinker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  8046. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsMsg.strLinker)
  8047. }
  8048. void XPhone_SnsMsg::set_strlinker(const char* value) {
  8049. strlinker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  8050. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SnsMsg.strLinker)
  8051. }
  8052. void XPhone_SnsMsg::set_strlinker(const char* value, size_t size) {
  8053. strlinker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  8054. ::std::string(reinterpret_cast<const char*>(value), size));
  8055. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SnsMsg.strLinker)
  8056. }
  8057. ::std::string* XPhone_SnsMsg::mutable_strlinker() {
  8058. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsMsg.strLinker)
  8059. return strlinker_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  8060. }
  8061. ::std::string* XPhone_SnsMsg::release_strlinker() {
  8062. return strlinker_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  8063. }
  8064. void XPhone_SnsMsg::set_allocated_strlinker(::std::string* strlinker) {
  8065. if (strlinker != NULL) {
  8066. } else {
  8067. }
  8068. strlinker_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strlinker);
  8069. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SnsMsg.strLinker)
  8070. }
  8071. // repeated string picList = 5;
  8072. int XPhone_SnsMsg::piclist_size() const {
  8073. return piclist_.size();
  8074. }
  8075. void XPhone_SnsMsg::clear_piclist() {
  8076. piclist_.Clear();
  8077. }
  8078. const ::std::string& XPhone_SnsMsg::piclist(int index) const {
  8079. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsMsg.picList)
  8080. return piclist_.Get(index);
  8081. }
  8082. ::std::string* XPhone_SnsMsg::mutable_piclist(int index) {
  8083. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsMsg.picList)
  8084. return piclist_.Mutable(index);
  8085. }
  8086. void XPhone_SnsMsg::set_piclist(int index, const ::std::string& value) {
  8087. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsMsg.picList)
  8088. piclist_.Mutable(index)->assign(value);
  8089. }
  8090. void XPhone_SnsMsg::set_piclist(int index, const char* value) {
  8091. piclist_.Mutable(index)->assign(value);
  8092. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SnsMsg.picList)
  8093. }
  8094. void XPhone_SnsMsg::set_piclist(int index, const char* value, size_t size) {
  8095. piclist_.Mutable(index)->assign(
  8096. reinterpret_cast<const char*>(value), size);
  8097. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SnsMsg.picList)
  8098. }
  8099. ::std::string* XPhone_SnsMsg::add_piclist() {
  8100. return piclist_.Add();
  8101. }
  8102. void XPhone_SnsMsg::add_piclist(const ::std::string& value) {
  8103. piclist_.Add()->assign(value);
  8104. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_SnsMsg.picList)
  8105. }
  8106. void XPhone_SnsMsg::add_piclist(const char* value) {
  8107. piclist_.Add()->assign(value);
  8108. // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_SnsMsg.picList)
  8109. }
  8110. void XPhone_SnsMsg::add_piclist(const char* value, size_t size) {
  8111. piclist_.Add()->assign(reinterpret_cast<const char*>(value), size);
  8112. // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_SnsMsg.picList)
  8113. }
  8114. const ::google::protobuf::RepeatedPtrField< ::std::string>&
  8115. XPhone_SnsMsg::piclist() const {
  8116. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_SnsMsg.picList)
  8117. return piclist_;
  8118. }
  8119. ::google::protobuf::RepeatedPtrField< ::std::string>*
  8120. XPhone_SnsMsg::mutable_piclist() {
  8121. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_SnsMsg.picList)
  8122. return &piclist_;
  8123. }
  8124. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  8125. // ===================================================================
  8126. #ifndef _MSC_VER
  8127. const int XPhone_SnsSetting::kHeadFieldNumber;
  8128. const int XPhone_SnsSetting::kSendintrvalFieldNumber;
  8129. const int XPhone_SnsSetting::kSnsListFieldNumber;
  8130. #endif // !_MSC_VER
  8131. XPhone_SnsSetting::XPhone_SnsSetting()
  8132. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  8133. SharedCtor();
  8134. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SnsSetting)
  8135. }
  8136. void XPhone_SnsSetting::InitAsDefaultInstance() {
  8137. _is_default_instance_ = true;
  8138. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  8139. }
  8140. XPhone_SnsSetting::XPhone_SnsSetting(const XPhone_SnsSetting& from)
  8141. : ::google::protobuf::Message(),
  8142. _internal_metadata_(NULL) {
  8143. SharedCtor();
  8144. MergeFrom(from);
  8145. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SnsSetting)
  8146. }
  8147. void XPhone_SnsSetting::SharedCtor() {
  8148. _is_default_instance_ = false;
  8149. _cached_size_ = 0;
  8150. head_ = NULL;
  8151. sendintrval_ = 0;
  8152. }
  8153. XPhone_SnsSetting::~XPhone_SnsSetting() {
  8154. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SnsSetting)
  8155. SharedDtor();
  8156. }
  8157. void XPhone_SnsSetting::SharedDtor() {
  8158. if (this != default_instance_) {
  8159. delete head_;
  8160. }
  8161. }
  8162. void XPhone_SnsSetting::SetCachedSize(int size) const {
  8163. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8164. _cached_size_ = size;
  8165. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8166. }
  8167. const ::google::protobuf::Descriptor* XPhone_SnsSetting::descriptor() {
  8168. protobuf_AssignDescriptorsOnce();
  8169. return XPhone_SnsSetting_descriptor_;
  8170. }
  8171. const XPhone_SnsSetting& XPhone_SnsSetting::default_instance() {
  8172. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  8173. return *default_instance_;
  8174. }
  8175. XPhone_SnsSetting* XPhone_SnsSetting::default_instance_ = NULL;
  8176. XPhone_SnsSetting* XPhone_SnsSetting::New(::google::protobuf::Arena* arena) const {
  8177. XPhone_SnsSetting* n = new XPhone_SnsSetting;
  8178. if (arena != NULL) {
  8179. arena->Own(n);
  8180. }
  8181. return n;
  8182. }
  8183. void XPhone_SnsSetting::Clear() {
  8184. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  8185. head_ = NULL;
  8186. sendintrval_ = 0;
  8187. snslist_.Clear();
  8188. }
  8189. bool XPhone_SnsSetting::MergePartialFromCodedStream(
  8190. ::google::protobuf::io::CodedInputStream* input) {
  8191. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  8192. ::google::protobuf::uint32 tag;
  8193. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SnsSetting)
  8194. for (;;) {
  8195. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  8196. tag = p.first;
  8197. if (!p.second) goto handle_unusual;
  8198. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8199. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8200. case 1: {
  8201. if (tag == 10) {
  8202. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8203. input, mutable_head()));
  8204. } else {
  8205. goto handle_unusual;
  8206. }
  8207. if (input->ExpectTag(16)) goto parse_sendintrval;
  8208. break;
  8209. }
  8210. // optional int32 sendintrval = 2;
  8211. case 2: {
  8212. if (tag == 16) {
  8213. parse_sendintrval:
  8214. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8215. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8216. input, &sendintrval_)));
  8217. } else {
  8218. goto handle_unusual;
  8219. }
  8220. if (input->ExpectTag(26)) goto parse_snsList;
  8221. break;
  8222. }
  8223. // repeated .XPhonePlus.XPhone_SnsMsg snsList = 3;
  8224. case 3: {
  8225. if (tag == 26) {
  8226. parse_snsList:
  8227. DO_(input->IncrementRecursionDepth());
  8228. parse_loop_snsList:
  8229. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
  8230. input, add_snslist()));
  8231. } else {
  8232. goto handle_unusual;
  8233. }
  8234. if (input->ExpectTag(26)) goto parse_loop_snsList;
  8235. input->UnsafeDecrementRecursionDepth();
  8236. if (input->ExpectAtEnd()) goto success;
  8237. break;
  8238. }
  8239. default: {
  8240. handle_unusual:
  8241. if (tag == 0 ||
  8242. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8243. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8244. goto success;
  8245. }
  8246. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  8247. break;
  8248. }
  8249. }
  8250. }
  8251. success:
  8252. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SnsSetting)
  8253. return true;
  8254. failure:
  8255. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SnsSetting)
  8256. return false;
  8257. #undef DO_
  8258. }
  8259. void XPhone_SnsSetting::SerializeWithCachedSizes(
  8260. ::google::protobuf::io::CodedOutputStream* output) const {
  8261. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SnsSetting)
  8262. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8263. if (this->has_head()) {
  8264. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8265. 1, *this->head_, output);
  8266. }
  8267. // optional int32 sendintrval = 2;
  8268. if (this->sendintrval() != 0) {
  8269. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->sendintrval(), output);
  8270. }
  8271. // repeated .XPhonePlus.XPhone_SnsMsg snsList = 3;
  8272. for (unsigned int i = 0, n = this->snslist_size(); i < n; i++) {
  8273. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8274. 3, this->snslist(i), output);
  8275. }
  8276. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SnsSetting)
  8277. }
  8278. ::google::protobuf::uint8* XPhone_SnsSetting::SerializeWithCachedSizesToArray(
  8279. ::google::protobuf::uint8* target) const {
  8280. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SnsSetting)
  8281. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8282. if (this->has_head()) {
  8283. target = ::google::protobuf::internal::WireFormatLite::
  8284. WriteMessageNoVirtualToArray(
  8285. 1, *this->head_, target);
  8286. }
  8287. // optional int32 sendintrval = 2;
  8288. if (this->sendintrval() != 0) {
  8289. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->sendintrval(), target);
  8290. }
  8291. // repeated .XPhonePlus.XPhone_SnsMsg snsList = 3;
  8292. for (unsigned int i = 0, n = this->snslist_size(); i < n; i++) {
  8293. target = ::google::protobuf::internal::WireFormatLite::
  8294. WriteMessageNoVirtualToArray(
  8295. 3, this->snslist(i), target);
  8296. }
  8297. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SnsSetting)
  8298. return target;
  8299. }
  8300. int XPhone_SnsSetting::ByteSize() const {
  8301. int total_size = 0;
  8302. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8303. if (this->has_head()) {
  8304. total_size += 1 +
  8305. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  8306. *this->head_);
  8307. }
  8308. // optional int32 sendintrval = 2;
  8309. if (this->sendintrval() != 0) {
  8310. total_size += 1 +
  8311. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8312. this->sendintrval());
  8313. }
  8314. // repeated .XPhonePlus.XPhone_SnsMsg snsList = 3;
  8315. total_size += 1 * this->snslist_size();
  8316. for (int i = 0; i < this->snslist_size(); i++) {
  8317. total_size +=
  8318. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  8319. this->snslist(i));
  8320. }
  8321. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8322. _cached_size_ = total_size;
  8323. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8324. return total_size;
  8325. }
  8326. void XPhone_SnsSetting::MergeFrom(const ::google::protobuf::Message& from) {
  8327. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  8328. const XPhone_SnsSetting* source =
  8329. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SnsSetting>(
  8330. &from);
  8331. if (source == NULL) {
  8332. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8333. } else {
  8334. MergeFrom(*source);
  8335. }
  8336. }
  8337. void XPhone_SnsSetting::MergeFrom(const XPhone_SnsSetting& from) {
  8338. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  8339. snslist_.MergeFrom(from.snslist_);
  8340. if (from.has_head()) {
  8341. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  8342. }
  8343. if (from.sendintrval() != 0) {
  8344. set_sendintrval(from.sendintrval());
  8345. }
  8346. }
  8347. void XPhone_SnsSetting::CopyFrom(const ::google::protobuf::Message& from) {
  8348. if (&from == this) return;
  8349. Clear();
  8350. MergeFrom(from);
  8351. }
  8352. void XPhone_SnsSetting::CopyFrom(const XPhone_SnsSetting& from) {
  8353. if (&from == this) return;
  8354. Clear();
  8355. MergeFrom(from);
  8356. }
  8357. bool XPhone_SnsSetting::IsInitialized() const {
  8358. return true;
  8359. }
  8360. void XPhone_SnsSetting::Swap(XPhone_SnsSetting* other) {
  8361. if (other == this) return;
  8362. InternalSwap(other);
  8363. }
  8364. void XPhone_SnsSetting::InternalSwap(XPhone_SnsSetting* other) {
  8365. std::swap(head_, other->head_);
  8366. std::swap(sendintrval_, other->sendintrval_);
  8367. snslist_.UnsafeArenaSwap(&other->snslist_);
  8368. _internal_metadata_.Swap(&other->_internal_metadata_);
  8369. std::swap(_cached_size_, other->_cached_size_);
  8370. }
  8371. ::google::protobuf::Metadata XPhone_SnsSetting::GetMetadata() const {
  8372. protobuf_AssignDescriptorsOnce();
  8373. ::google::protobuf::Metadata metadata;
  8374. metadata.descriptor = XPhone_SnsSetting_descriptor_;
  8375. metadata.reflection = XPhone_SnsSetting_reflection_;
  8376. return metadata;
  8377. }
  8378. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  8379. // XPhone_SnsSetting
  8380. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8381. bool XPhone_SnsSetting::has_head() const {
  8382. return !_is_default_instance_ && head_ != NULL;
  8383. }
  8384. void XPhone_SnsSetting::clear_head() {
  8385. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  8386. head_ = NULL;
  8387. }
  8388. const ::XPhonePlus::XPhone_MsgBase& XPhone_SnsSetting::head() const {
  8389. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsSetting.head)
  8390. return head_ != NULL ? *head_ : *default_instance_->head_;
  8391. }
  8392. ::XPhonePlus::XPhone_MsgBase* XPhone_SnsSetting::mutable_head() {
  8393. if (head_ == NULL) {
  8394. head_ = new ::XPhonePlus::XPhone_MsgBase;
  8395. }
  8396. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsSetting.head)
  8397. return head_;
  8398. }
  8399. ::XPhonePlus::XPhone_MsgBase* XPhone_SnsSetting::release_head() {
  8400. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  8401. head_ = NULL;
  8402. return temp;
  8403. }
  8404. void XPhone_SnsSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  8405. delete head_;
  8406. head_ = head;
  8407. if (head) {
  8408. } else {
  8409. }
  8410. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SnsSetting.head)
  8411. }
  8412. // optional int32 sendintrval = 2;
  8413. void XPhone_SnsSetting::clear_sendintrval() {
  8414. sendintrval_ = 0;
  8415. }
  8416. ::google::protobuf::int32 XPhone_SnsSetting::sendintrval() const {
  8417. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsSetting.sendintrval)
  8418. return sendintrval_;
  8419. }
  8420. void XPhone_SnsSetting::set_sendintrval(::google::protobuf::int32 value) {
  8421. sendintrval_ = value;
  8422. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsSetting.sendintrval)
  8423. }
  8424. // repeated .XPhonePlus.XPhone_SnsMsg snsList = 3;
  8425. int XPhone_SnsSetting::snslist_size() const {
  8426. return snslist_.size();
  8427. }
  8428. void XPhone_SnsSetting::clear_snslist() {
  8429. snslist_.Clear();
  8430. }
  8431. const ::XPhonePlus::XPhone_SnsMsg& XPhone_SnsSetting::snslist(int index) const {
  8432. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsSetting.snsList)
  8433. return snslist_.Get(index);
  8434. }
  8435. ::XPhonePlus::XPhone_SnsMsg* XPhone_SnsSetting::mutable_snslist(int index) {
  8436. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsSetting.snsList)
  8437. return snslist_.Mutable(index);
  8438. }
  8439. ::XPhonePlus::XPhone_SnsMsg* XPhone_SnsSetting::add_snslist() {
  8440. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_SnsSetting.snsList)
  8441. return snslist_.Add();
  8442. }
  8443. ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_SnsMsg >*
  8444. XPhone_SnsSetting::mutable_snslist() {
  8445. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_SnsSetting.snsList)
  8446. return &snslist_;
  8447. }
  8448. const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_SnsMsg >&
  8449. XPhone_SnsSetting::snslist() const {
  8450. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_SnsSetting.snsList)
  8451. return snslist_;
  8452. }
  8453. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  8454. // ===================================================================
  8455. #ifndef _MSC_VER
  8456. const int XPhone_ChatroomMsgSetting::kHeadFieldNumber;
  8457. const int XPhone_ChatroomMsgSetting::kSendintrvalFieldNumber;
  8458. const int XPhone_ChatroomMsgSetting::kListsFieldNumber;
  8459. #endif // !_MSC_VER
  8460. XPhone_ChatroomMsgSetting::XPhone_ChatroomMsgSetting()
  8461. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  8462. SharedCtor();
  8463. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ChatroomMsgSetting)
  8464. }
  8465. void XPhone_ChatroomMsgSetting::InitAsDefaultInstance() {
  8466. _is_default_instance_ = true;
  8467. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  8468. }
  8469. XPhone_ChatroomMsgSetting::XPhone_ChatroomMsgSetting(const XPhone_ChatroomMsgSetting& from)
  8470. : ::google::protobuf::Message(),
  8471. _internal_metadata_(NULL) {
  8472. SharedCtor();
  8473. MergeFrom(from);
  8474. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ChatroomMsgSetting)
  8475. }
  8476. void XPhone_ChatroomMsgSetting::SharedCtor() {
  8477. _is_default_instance_ = false;
  8478. _cached_size_ = 0;
  8479. head_ = NULL;
  8480. sendintrval_ = 0;
  8481. }
  8482. XPhone_ChatroomMsgSetting::~XPhone_ChatroomMsgSetting() {
  8483. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ChatroomMsgSetting)
  8484. SharedDtor();
  8485. }
  8486. void XPhone_ChatroomMsgSetting::SharedDtor() {
  8487. if (this != default_instance_) {
  8488. delete head_;
  8489. }
  8490. }
  8491. void XPhone_ChatroomMsgSetting::SetCachedSize(int size) const {
  8492. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8493. _cached_size_ = size;
  8494. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8495. }
  8496. const ::google::protobuf::Descriptor* XPhone_ChatroomMsgSetting::descriptor() {
  8497. protobuf_AssignDescriptorsOnce();
  8498. return XPhone_ChatroomMsgSetting_descriptor_;
  8499. }
  8500. const XPhone_ChatroomMsgSetting& XPhone_ChatroomMsgSetting::default_instance() {
  8501. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  8502. return *default_instance_;
  8503. }
  8504. XPhone_ChatroomMsgSetting* XPhone_ChatroomMsgSetting::default_instance_ = NULL;
  8505. XPhone_ChatroomMsgSetting* XPhone_ChatroomMsgSetting::New(::google::protobuf::Arena* arena) const {
  8506. XPhone_ChatroomMsgSetting* n = new XPhone_ChatroomMsgSetting;
  8507. if (arena != NULL) {
  8508. arena->Own(n);
  8509. }
  8510. return n;
  8511. }
  8512. void XPhone_ChatroomMsgSetting::Clear() {
  8513. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  8514. head_ = NULL;
  8515. sendintrval_ = 0;
  8516. lists_.Clear();
  8517. }
  8518. bool XPhone_ChatroomMsgSetting::MergePartialFromCodedStream(
  8519. ::google::protobuf::io::CodedInputStream* input) {
  8520. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  8521. ::google::protobuf::uint32 tag;
  8522. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ChatroomMsgSetting)
  8523. for (;;) {
  8524. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  8525. tag = p.first;
  8526. if (!p.second) goto handle_unusual;
  8527. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8528. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8529. case 1: {
  8530. if (tag == 10) {
  8531. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8532. input, mutable_head()));
  8533. } else {
  8534. goto handle_unusual;
  8535. }
  8536. if (input->ExpectTag(16)) goto parse_sendintrval;
  8537. break;
  8538. }
  8539. // optional int32 sendintrval = 2;
  8540. case 2: {
  8541. if (tag == 16) {
  8542. parse_sendintrval:
  8543. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8544. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8545. input, &sendintrval_)));
  8546. } else {
  8547. goto handle_unusual;
  8548. }
  8549. if (input->ExpectTag(26)) goto parse_lists;
  8550. break;
  8551. }
  8552. // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 3;
  8553. case 3: {
  8554. if (tag == 26) {
  8555. parse_lists:
  8556. DO_(input->IncrementRecursionDepth());
  8557. parse_loop_lists:
  8558. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
  8559. input, add_lists()));
  8560. } else {
  8561. goto handle_unusual;
  8562. }
  8563. if (input->ExpectTag(26)) goto parse_loop_lists;
  8564. input->UnsafeDecrementRecursionDepth();
  8565. if (input->ExpectAtEnd()) goto success;
  8566. break;
  8567. }
  8568. default: {
  8569. handle_unusual:
  8570. if (tag == 0 ||
  8571. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8572. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8573. goto success;
  8574. }
  8575. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  8576. break;
  8577. }
  8578. }
  8579. }
  8580. success:
  8581. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ChatroomMsgSetting)
  8582. return true;
  8583. failure:
  8584. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ChatroomMsgSetting)
  8585. return false;
  8586. #undef DO_
  8587. }
  8588. void XPhone_ChatroomMsgSetting::SerializeWithCachedSizes(
  8589. ::google::protobuf::io::CodedOutputStream* output) const {
  8590. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ChatroomMsgSetting)
  8591. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8592. if (this->has_head()) {
  8593. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8594. 1, *this->head_, output);
  8595. }
  8596. // optional int32 sendintrval = 2;
  8597. if (this->sendintrval() != 0) {
  8598. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->sendintrval(), output);
  8599. }
  8600. // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 3;
  8601. for (unsigned int i = 0, n = this->lists_size(); i < n; i++) {
  8602. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8603. 3, this->lists(i), output);
  8604. }
  8605. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ChatroomMsgSetting)
  8606. }
  8607. ::google::protobuf::uint8* XPhone_ChatroomMsgSetting::SerializeWithCachedSizesToArray(
  8608. ::google::protobuf::uint8* target) const {
  8609. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ChatroomMsgSetting)
  8610. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8611. if (this->has_head()) {
  8612. target = ::google::protobuf::internal::WireFormatLite::
  8613. WriteMessageNoVirtualToArray(
  8614. 1, *this->head_, target);
  8615. }
  8616. // optional int32 sendintrval = 2;
  8617. if (this->sendintrval() != 0) {
  8618. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->sendintrval(), target);
  8619. }
  8620. // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 3;
  8621. for (unsigned int i = 0, n = this->lists_size(); i < n; i++) {
  8622. target = ::google::protobuf::internal::WireFormatLite::
  8623. WriteMessageNoVirtualToArray(
  8624. 3, this->lists(i), target);
  8625. }
  8626. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ChatroomMsgSetting)
  8627. return target;
  8628. }
  8629. int XPhone_ChatroomMsgSetting::ByteSize() const {
  8630. int total_size = 0;
  8631. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8632. if (this->has_head()) {
  8633. total_size += 1 +
  8634. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  8635. *this->head_);
  8636. }
  8637. // optional int32 sendintrval = 2;
  8638. if (this->sendintrval() != 0) {
  8639. total_size += 1 +
  8640. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8641. this->sendintrval());
  8642. }
  8643. // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 3;
  8644. total_size += 1 * this->lists_size();
  8645. for (int i = 0; i < this->lists_size(); i++) {
  8646. total_size +=
  8647. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  8648. this->lists(i));
  8649. }
  8650. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8651. _cached_size_ = total_size;
  8652. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8653. return total_size;
  8654. }
  8655. void XPhone_ChatroomMsgSetting::MergeFrom(const ::google::protobuf::Message& from) {
  8656. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  8657. const XPhone_ChatroomMsgSetting* source =
  8658. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ChatroomMsgSetting>(
  8659. &from);
  8660. if (source == NULL) {
  8661. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8662. } else {
  8663. MergeFrom(*source);
  8664. }
  8665. }
  8666. void XPhone_ChatroomMsgSetting::MergeFrom(const XPhone_ChatroomMsgSetting& from) {
  8667. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  8668. lists_.MergeFrom(from.lists_);
  8669. if (from.has_head()) {
  8670. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  8671. }
  8672. if (from.sendintrval() != 0) {
  8673. set_sendintrval(from.sendintrval());
  8674. }
  8675. }
  8676. void XPhone_ChatroomMsgSetting::CopyFrom(const ::google::protobuf::Message& from) {
  8677. if (&from == this) return;
  8678. Clear();
  8679. MergeFrom(from);
  8680. }
  8681. void XPhone_ChatroomMsgSetting::CopyFrom(const XPhone_ChatroomMsgSetting& from) {
  8682. if (&from == this) return;
  8683. Clear();
  8684. MergeFrom(from);
  8685. }
  8686. bool XPhone_ChatroomMsgSetting::IsInitialized() const {
  8687. return true;
  8688. }
  8689. void XPhone_ChatroomMsgSetting::Swap(XPhone_ChatroomMsgSetting* other) {
  8690. if (other == this) return;
  8691. InternalSwap(other);
  8692. }
  8693. void XPhone_ChatroomMsgSetting::InternalSwap(XPhone_ChatroomMsgSetting* other) {
  8694. std::swap(head_, other->head_);
  8695. std::swap(sendintrval_, other->sendintrval_);
  8696. lists_.UnsafeArenaSwap(&other->lists_);
  8697. _internal_metadata_.Swap(&other->_internal_metadata_);
  8698. std::swap(_cached_size_, other->_cached_size_);
  8699. }
  8700. ::google::protobuf::Metadata XPhone_ChatroomMsgSetting::GetMetadata() const {
  8701. protobuf_AssignDescriptorsOnce();
  8702. ::google::protobuf::Metadata metadata;
  8703. metadata.descriptor = XPhone_ChatroomMsgSetting_descriptor_;
  8704. metadata.reflection = XPhone_ChatroomMsgSetting_reflection_;
  8705. return metadata;
  8706. }
  8707. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  8708. // XPhone_ChatroomMsgSetting
  8709. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8710. bool XPhone_ChatroomMsgSetting::has_head() const {
  8711. return !_is_default_instance_ && head_ != NULL;
  8712. }
  8713. void XPhone_ChatroomMsgSetting::clear_head() {
  8714. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  8715. head_ = NULL;
  8716. }
  8717. const ::XPhonePlus::XPhone_MsgBase& XPhone_ChatroomMsgSetting::head() const {
  8718. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatroomMsgSetting.head)
  8719. return head_ != NULL ? *head_ : *default_instance_->head_;
  8720. }
  8721. ::XPhonePlus::XPhone_MsgBase* XPhone_ChatroomMsgSetting::mutable_head() {
  8722. if (head_ == NULL) {
  8723. head_ = new ::XPhonePlus::XPhone_MsgBase;
  8724. }
  8725. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatroomMsgSetting.head)
  8726. return head_;
  8727. }
  8728. ::XPhonePlus::XPhone_MsgBase* XPhone_ChatroomMsgSetting::release_head() {
  8729. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  8730. head_ = NULL;
  8731. return temp;
  8732. }
  8733. void XPhone_ChatroomMsgSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  8734. delete head_;
  8735. head_ = head;
  8736. if (head) {
  8737. } else {
  8738. }
  8739. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatroomMsgSetting.head)
  8740. }
  8741. // optional int32 sendintrval = 2;
  8742. void XPhone_ChatroomMsgSetting::clear_sendintrval() {
  8743. sendintrval_ = 0;
  8744. }
  8745. ::google::protobuf::int32 XPhone_ChatroomMsgSetting::sendintrval() const {
  8746. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatroomMsgSetting.sendintrval)
  8747. return sendintrval_;
  8748. }
  8749. void XPhone_ChatroomMsgSetting::set_sendintrval(::google::protobuf::int32 value) {
  8750. sendintrval_ = value;
  8751. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatroomMsgSetting.sendintrval)
  8752. }
  8753. // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 3;
  8754. int XPhone_ChatroomMsgSetting::lists_size() const {
  8755. return lists_.size();
  8756. }
  8757. void XPhone_ChatroomMsgSetting::clear_lists() {
  8758. lists_.Clear();
  8759. }
  8760. const ::XPhonePlus::XPhone_AutoReplyMsg& XPhone_ChatroomMsgSetting::lists(int index) const {
  8761. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatroomMsgSetting.lists)
  8762. return lists_.Get(index);
  8763. }
  8764. ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_ChatroomMsgSetting::mutable_lists(int index) {
  8765. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatroomMsgSetting.lists)
  8766. return lists_.Mutable(index);
  8767. }
  8768. ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_ChatroomMsgSetting::add_lists() {
  8769. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ChatroomMsgSetting.lists)
  8770. return lists_.Add();
  8771. }
  8772. ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >*
  8773. XPhone_ChatroomMsgSetting::mutable_lists() {
  8774. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ChatroomMsgSetting.lists)
  8775. return &lists_;
  8776. }
  8777. const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >&
  8778. XPhone_ChatroomMsgSetting::lists() const {
  8779. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ChatroomMsgSetting.lists)
  8780. return lists_;
  8781. }
  8782. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  8783. // ===================================================================
  8784. #ifndef _MSC_VER
  8785. const int XPhone_ContactMsgSetting::kHeadFieldNumber;
  8786. const int XPhone_ContactMsgSetting::kSendintrvalFieldNumber;
  8787. const int XPhone_ContactMsgSetting::kDeletezombieFieldNumber;
  8788. const int XPhone_ContactMsgSetting::kListsFieldNumber;
  8789. #endif // !_MSC_VER
  8790. XPhone_ContactMsgSetting::XPhone_ContactMsgSetting()
  8791. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  8792. SharedCtor();
  8793. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ContactMsgSetting)
  8794. }
  8795. void XPhone_ContactMsgSetting::InitAsDefaultInstance() {
  8796. _is_default_instance_ = true;
  8797. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  8798. }
  8799. XPhone_ContactMsgSetting::XPhone_ContactMsgSetting(const XPhone_ContactMsgSetting& from)
  8800. : ::google::protobuf::Message(),
  8801. _internal_metadata_(NULL) {
  8802. SharedCtor();
  8803. MergeFrom(from);
  8804. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ContactMsgSetting)
  8805. }
  8806. void XPhone_ContactMsgSetting::SharedCtor() {
  8807. _is_default_instance_ = false;
  8808. _cached_size_ = 0;
  8809. head_ = NULL;
  8810. sendintrval_ = 0;
  8811. deletezombie_ = false;
  8812. }
  8813. XPhone_ContactMsgSetting::~XPhone_ContactMsgSetting() {
  8814. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ContactMsgSetting)
  8815. SharedDtor();
  8816. }
  8817. void XPhone_ContactMsgSetting::SharedDtor() {
  8818. if (this != default_instance_) {
  8819. delete head_;
  8820. }
  8821. }
  8822. void XPhone_ContactMsgSetting::SetCachedSize(int size) const {
  8823. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8824. _cached_size_ = size;
  8825. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8826. }
  8827. const ::google::protobuf::Descriptor* XPhone_ContactMsgSetting::descriptor() {
  8828. protobuf_AssignDescriptorsOnce();
  8829. return XPhone_ContactMsgSetting_descriptor_;
  8830. }
  8831. const XPhone_ContactMsgSetting& XPhone_ContactMsgSetting::default_instance() {
  8832. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  8833. return *default_instance_;
  8834. }
  8835. XPhone_ContactMsgSetting* XPhone_ContactMsgSetting::default_instance_ = NULL;
  8836. XPhone_ContactMsgSetting* XPhone_ContactMsgSetting::New(::google::protobuf::Arena* arena) const {
  8837. XPhone_ContactMsgSetting* n = new XPhone_ContactMsgSetting;
  8838. if (arena != NULL) {
  8839. arena->Own(n);
  8840. }
  8841. return n;
  8842. }
  8843. void XPhone_ContactMsgSetting::Clear() {
  8844. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  8845. &reinterpret_cast<XPhone_ContactMsgSetting*>(16)->f)
  8846. #define ZR_(first, last) do {\
  8847. ::memset(&first, 0,\
  8848. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  8849. } while (0)
  8850. ZR_(sendintrval_, deletezombie_);
  8851. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  8852. head_ = NULL;
  8853. #undef ZR_HELPER_
  8854. #undef ZR_
  8855. lists_.Clear();
  8856. }
  8857. bool XPhone_ContactMsgSetting::MergePartialFromCodedStream(
  8858. ::google::protobuf::io::CodedInputStream* input) {
  8859. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  8860. ::google::protobuf::uint32 tag;
  8861. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ContactMsgSetting)
  8862. for (;;) {
  8863. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  8864. tag = p.first;
  8865. if (!p.second) goto handle_unusual;
  8866. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8867. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8868. case 1: {
  8869. if (tag == 10) {
  8870. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8871. input, mutable_head()));
  8872. } else {
  8873. goto handle_unusual;
  8874. }
  8875. if (input->ExpectTag(16)) goto parse_sendintrval;
  8876. break;
  8877. }
  8878. // optional int32 sendintrval = 2;
  8879. case 2: {
  8880. if (tag == 16) {
  8881. parse_sendintrval:
  8882. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8883. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8884. input, &sendintrval_)));
  8885. } else {
  8886. goto handle_unusual;
  8887. }
  8888. if (input->ExpectTag(24)) goto parse_deletezombie;
  8889. break;
  8890. }
  8891. // optional bool deletezombie = 3;
  8892. case 3: {
  8893. if (tag == 24) {
  8894. parse_deletezombie:
  8895. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8896. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  8897. input, &deletezombie_)));
  8898. } else {
  8899. goto handle_unusual;
  8900. }
  8901. if (input->ExpectTag(34)) goto parse_lists;
  8902. break;
  8903. }
  8904. // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 4;
  8905. case 4: {
  8906. if (tag == 34) {
  8907. parse_lists:
  8908. DO_(input->IncrementRecursionDepth());
  8909. parse_loop_lists:
  8910. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
  8911. input, add_lists()));
  8912. } else {
  8913. goto handle_unusual;
  8914. }
  8915. if (input->ExpectTag(34)) goto parse_loop_lists;
  8916. input->UnsafeDecrementRecursionDepth();
  8917. if (input->ExpectAtEnd()) goto success;
  8918. break;
  8919. }
  8920. default: {
  8921. handle_unusual:
  8922. if (tag == 0 ||
  8923. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8924. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8925. goto success;
  8926. }
  8927. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  8928. break;
  8929. }
  8930. }
  8931. }
  8932. success:
  8933. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ContactMsgSetting)
  8934. return true;
  8935. failure:
  8936. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ContactMsgSetting)
  8937. return false;
  8938. #undef DO_
  8939. }
  8940. void XPhone_ContactMsgSetting::SerializeWithCachedSizes(
  8941. ::google::protobuf::io::CodedOutputStream* output) const {
  8942. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ContactMsgSetting)
  8943. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8944. if (this->has_head()) {
  8945. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8946. 1, *this->head_, output);
  8947. }
  8948. // optional int32 sendintrval = 2;
  8949. if (this->sendintrval() != 0) {
  8950. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->sendintrval(), output);
  8951. }
  8952. // optional bool deletezombie = 3;
  8953. if (this->deletezombie() != 0) {
  8954. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->deletezombie(), output);
  8955. }
  8956. // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 4;
  8957. for (unsigned int i = 0, n = this->lists_size(); i < n; i++) {
  8958. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8959. 4, this->lists(i), output);
  8960. }
  8961. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ContactMsgSetting)
  8962. }
  8963. ::google::protobuf::uint8* XPhone_ContactMsgSetting::SerializeWithCachedSizesToArray(
  8964. ::google::protobuf::uint8* target) const {
  8965. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ContactMsgSetting)
  8966. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8967. if (this->has_head()) {
  8968. target = ::google::protobuf::internal::WireFormatLite::
  8969. WriteMessageNoVirtualToArray(
  8970. 1, *this->head_, target);
  8971. }
  8972. // optional int32 sendintrval = 2;
  8973. if (this->sendintrval() != 0) {
  8974. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->sendintrval(), target);
  8975. }
  8976. // optional bool deletezombie = 3;
  8977. if (this->deletezombie() != 0) {
  8978. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->deletezombie(), target);
  8979. }
  8980. // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 4;
  8981. for (unsigned int i = 0, n = this->lists_size(); i < n; i++) {
  8982. target = ::google::protobuf::internal::WireFormatLite::
  8983. WriteMessageNoVirtualToArray(
  8984. 4, this->lists(i), target);
  8985. }
  8986. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ContactMsgSetting)
  8987. return target;
  8988. }
  8989. int XPhone_ContactMsgSetting::ByteSize() const {
  8990. int total_size = 0;
  8991. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  8992. if (this->has_head()) {
  8993. total_size += 1 +
  8994. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  8995. *this->head_);
  8996. }
  8997. // optional int32 sendintrval = 2;
  8998. if (this->sendintrval() != 0) {
  8999. total_size += 1 +
  9000. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9001. this->sendintrval());
  9002. }
  9003. // optional bool deletezombie = 3;
  9004. if (this->deletezombie() != 0) {
  9005. total_size += 1 + 1;
  9006. }
  9007. // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 4;
  9008. total_size += 1 * this->lists_size();
  9009. for (int i = 0; i < this->lists_size(); i++) {
  9010. total_size +=
  9011. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  9012. this->lists(i));
  9013. }
  9014. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9015. _cached_size_ = total_size;
  9016. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9017. return total_size;
  9018. }
  9019. void XPhone_ContactMsgSetting::MergeFrom(const ::google::protobuf::Message& from) {
  9020. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  9021. const XPhone_ContactMsgSetting* source =
  9022. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ContactMsgSetting>(
  9023. &from);
  9024. if (source == NULL) {
  9025. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9026. } else {
  9027. MergeFrom(*source);
  9028. }
  9029. }
  9030. void XPhone_ContactMsgSetting::MergeFrom(const XPhone_ContactMsgSetting& from) {
  9031. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  9032. lists_.MergeFrom(from.lists_);
  9033. if (from.has_head()) {
  9034. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  9035. }
  9036. if (from.sendintrval() != 0) {
  9037. set_sendintrval(from.sendintrval());
  9038. }
  9039. if (from.deletezombie() != 0) {
  9040. set_deletezombie(from.deletezombie());
  9041. }
  9042. }
  9043. void XPhone_ContactMsgSetting::CopyFrom(const ::google::protobuf::Message& from) {
  9044. if (&from == this) return;
  9045. Clear();
  9046. MergeFrom(from);
  9047. }
  9048. void XPhone_ContactMsgSetting::CopyFrom(const XPhone_ContactMsgSetting& from) {
  9049. if (&from == this) return;
  9050. Clear();
  9051. MergeFrom(from);
  9052. }
  9053. bool XPhone_ContactMsgSetting::IsInitialized() const {
  9054. return true;
  9055. }
  9056. void XPhone_ContactMsgSetting::Swap(XPhone_ContactMsgSetting* other) {
  9057. if (other == this) return;
  9058. InternalSwap(other);
  9059. }
  9060. void XPhone_ContactMsgSetting::InternalSwap(XPhone_ContactMsgSetting* other) {
  9061. std::swap(head_, other->head_);
  9062. std::swap(sendintrval_, other->sendintrval_);
  9063. std::swap(deletezombie_, other->deletezombie_);
  9064. lists_.UnsafeArenaSwap(&other->lists_);
  9065. _internal_metadata_.Swap(&other->_internal_metadata_);
  9066. std::swap(_cached_size_, other->_cached_size_);
  9067. }
  9068. ::google::protobuf::Metadata XPhone_ContactMsgSetting::GetMetadata() const {
  9069. protobuf_AssignDescriptorsOnce();
  9070. ::google::protobuf::Metadata metadata;
  9071. metadata.descriptor = XPhone_ContactMsgSetting_descriptor_;
  9072. metadata.reflection = XPhone_ContactMsgSetting_reflection_;
  9073. return metadata;
  9074. }
  9075. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  9076. // XPhone_ContactMsgSetting
  9077. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  9078. bool XPhone_ContactMsgSetting::has_head() const {
  9079. return !_is_default_instance_ && head_ != NULL;
  9080. }
  9081. void XPhone_ContactMsgSetting::clear_head() {
  9082. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  9083. head_ = NULL;
  9084. }
  9085. const ::XPhonePlus::XPhone_MsgBase& XPhone_ContactMsgSetting::head() const {
  9086. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactMsgSetting.head)
  9087. return head_ != NULL ? *head_ : *default_instance_->head_;
  9088. }
  9089. ::XPhonePlus::XPhone_MsgBase* XPhone_ContactMsgSetting::mutable_head() {
  9090. if (head_ == NULL) {
  9091. head_ = new ::XPhonePlus::XPhone_MsgBase;
  9092. }
  9093. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactMsgSetting.head)
  9094. return head_;
  9095. }
  9096. ::XPhonePlus::XPhone_MsgBase* XPhone_ContactMsgSetting::release_head() {
  9097. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  9098. head_ = NULL;
  9099. return temp;
  9100. }
  9101. void XPhone_ContactMsgSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  9102. delete head_;
  9103. head_ = head;
  9104. if (head) {
  9105. } else {
  9106. }
  9107. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactMsgSetting.head)
  9108. }
  9109. // optional int32 sendintrval = 2;
  9110. void XPhone_ContactMsgSetting::clear_sendintrval() {
  9111. sendintrval_ = 0;
  9112. }
  9113. ::google::protobuf::int32 XPhone_ContactMsgSetting::sendintrval() const {
  9114. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactMsgSetting.sendintrval)
  9115. return sendintrval_;
  9116. }
  9117. void XPhone_ContactMsgSetting::set_sendintrval(::google::protobuf::int32 value) {
  9118. sendintrval_ = value;
  9119. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactMsgSetting.sendintrval)
  9120. }
  9121. // optional bool deletezombie = 3;
  9122. void XPhone_ContactMsgSetting::clear_deletezombie() {
  9123. deletezombie_ = false;
  9124. }
  9125. bool XPhone_ContactMsgSetting::deletezombie() const {
  9126. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactMsgSetting.deletezombie)
  9127. return deletezombie_;
  9128. }
  9129. void XPhone_ContactMsgSetting::set_deletezombie(bool value) {
  9130. deletezombie_ = value;
  9131. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactMsgSetting.deletezombie)
  9132. }
  9133. // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 4;
  9134. int XPhone_ContactMsgSetting::lists_size() const {
  9135. return lists_.size();
  9136. }
  9137. void XPhone_ContactMsgSetting::clear_lists() {
  9138. lists_.Clear();
  9139. }
  9140. const ::XPhonePlus::XPhone_AutoReplyMsg& XPhone_ContactMsgSetting::lists(int index) const {
  9141. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactMsgSetting.lists)
  9142. return lists_.Get(index);
  9143. }
  9144. ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_ContactMsgSetting::mutable_lists(int index) {
  9145. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactMsgSetting.lists)
  9146. return lists_.Mutable(index);
  9147. }
  9148. ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_ContactMsgSetting::add_lists() {
  9149. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ContactMsgSetting.lists)
  9150. return lists_.Add();
  9151. }
  9152. ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >*
  9153. XPhone_ContactMsgSetting::mutable_lists() {
  9154. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ContactMsgSetting.lists)
  9155. return &lists_;
  9156. }
  9157. const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >&
  9158. XPhone_ContactMsgSetting::lists() const {
  9159. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ContactMsgSetting.lists)
  9160. return lists_;
  9161. }
  9162. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  9163. // ===================================================================
  9164. #ifndef _MSC_VER
  9165. const int XPhone_AddChatroomMemberSetting::kHeadFieldNumber;
  9166. const int XPhone_AddChatroomMemberSetting::kAddintrvalFieldNumber;
  9167. const int XPhone_AddChatroomMemberSetting::kStrIntroduceFieldNumber;
  9168. const int XPhone_AddChatroomMemberSetting::kAddcountFieldNumber;
  9169. #endif // !_MSC_VER
  9170. XPhone_AddChatroomMemberSetting::XPhone_AddChatroomMemberSetting()
  9171. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  9172. SharedCtor();
  9173. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AddChatroomMemberSetting)
  9174. }
  9175. void XPhone_AddChatroomMemberSetting::InitAsDefaultInstance() {
  9176. _is_default_instance_ = true;
  9177. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  9178. }
  9179. XPhone_AddChatroomMemberSetting::XPhone_AddChatroomMemberSetting(const XPhone_AddChatroomMemberSetting& from)
  9180. : ::google::protobuf::Message(),
  9181. _internal_metadata_(NULL) {
  9182. SharedCtor();
  9183. MergeFrom(from);
  9184. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AddChatroomMemberSetting)
  9185. }
  9186. void XPhone_AddChatroomMemberSetting::SharedCtor() {
  9187. _is_default_instance_ = false;
  9188. ::google::protobuf::internal::GetEmptyString();
  9189. _cached_size_ = 0;
  9190. head_ = NULL;
  9191. addintrval_ = 0;
  9192. strintroduce_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  9193. addcount_ = 0;
  9194. }
  9195. XPhone_AddChatroomMemberSetting::~XPhone_AddChatroomMemberSetting() {
  9196. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AddChatroomMemberSetting)
  9197. SharedDtor();
  9198. }
  9199. void XPhone_AddChatroomMemberSetting::SharedDtor() {
  9200. strintroduce_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  9201. if (this != default_instance_) {
  9202. delete head_;
  9203. }
  9204. }
  9205. void XPhone_AddChatroomMemberSetting::SetCachedSize(int size) const {
  9206. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9207. _cached_size_ = size;
  9208. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9209. }
  9210. const ::google::protobuf::Descriptor* XPhone_AddChatroomMemberSetting::descriptor() {
  9211. protobuf_AssignDescriptorsOnce();
  9212. return XPhone_AddChatroomMemberSetting_descriptor_;
  9213. }
  9214. const XPhone_AddChatroomMemberSetting& XPhone_AddChatroomMemberSetting::default_instance() {
  9215. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  9216. return *default_instance_;
  9217. }
  9218. XPhone_AddChatroomMemberSetting* XPhone_AddChatroomMemberSetting::default_instance_ = NULL;
  9219. XPhone_AddChatroomMemberSetting* XPhone_AddChatroomMemberSetting::New(::google::protobuf::Arena* arena) const {
  9220. XPhone_AddChatroomMemberSetting* n = new XPhone_AddChatroomMemberSetting;
  9221. if (arena != NULL) {
  9222. arena->Own(n);
  9223. }
  9224. return n;
  9225. }
  9226. void XPhone_AddChatroomMemberSetting::Clear() {
  9227. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  9228. &reinterpret_cast<XPhone_AddChatroomMemberSetting*>(16)->f)
  9229. #define ZR_(first, last) do {\
  9230. ::memset(&first, 0,\
  9231. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  9232. } while (0)
  9233. ZR_(addintrval_, addcount_);
  9234. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  9235. head_ = NULL;
  9236. strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  9237. #undef ZR_HELPER_
  9238. #undef ZR_
  9239. }
  9240. bool XPhone_AddChatroomMemberSetting::MergePartialFromCodedStream(
  9241. ::google::protobuf::io::CodedInputStream* input) {
  9242. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  9243. ::google::protobuf::uint32 tag;
  9244. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AddChatroomMemberSetting)
  9245. for (;;) {
  9246. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  9247. tag = p.first;
  9248. if (!p.second) goto handle_unusual;
  9249. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9250. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  9251. case 1: {
  9252. if (tag == 10) {
  9253. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  9254. input, mutable_head()));
  9255. } else {
  9256. goto handle_unusual;
  9257. }
  9258. if (input->ExpectTag(16)) goto parse_addintrval;
  9259. break;
  9260. }
  9261. // optional int32 addintrval = 2;
  9262. case 2: {
  9263. if (tag == 16) {
  9264. parse_addintrval:
  9265. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9266. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9267. input, &addintrval_)));
  9268. } else {
  9269. goto handle_unusual;
  9270. }
  9271. if (input->ExpectTag(26)) goto parse_strIntroduce;
  9272. break;
  9273. }
  9274. // optional string strIntroduce = 3;
  9275. case 3: {
  9276. if (tag == 26) {
  9277. parse_strIntroduce:
  9278. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  9279. input, this->mutable_strintroduce()));
  9280. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  9281. this->strintroduce().data(), this->strintroduce().length(),
  9282. ::google::protobuf::internal::WireFormatLite::PARSE,
  9283. "XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce"));
  9284. } else {
  9285. goto handle_unusual;
  9286. }
  9287. if (input->ExpectTag(32)) goto parse_addcount;
  9288. break;
  9289. }
  9290. // optional int32 addcount = 4;
  9291. case 4: {
  9292. if (tag == 32) {
  9293. parse_addcount:
  9294. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9295. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9296. input, &addcount_)));
  9297. } else {
  9298. goto handle_unusual;
  9299. }
  9300. if (input->ExpectAtEnd()) goto success;
  9301. break;
  9302. }
  9303. default: {
  9304. handle_unusual:
  9305. if (tag == 0 ||
  9306. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9307. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9308. goto success;
  9309. }
  9310. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  9311. break;
  9312. }
  9313. }
  9314. }
  9315. success:
  9316. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AddChatroomMemberSetting)
  9317. return true;
  9318. failure:
  9319. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AddChatroomMemberSetting)
  9320. return false;
  9321. #undef DO_
  9322. }
  9323. void XPhone_AddChatroomMemberSetting::SerializeWithCachedSizes(
  9324. ::google::protobuf::io::CodedOutputStream* output) const {
  9325. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AddChatroomMemberSetting)
  9326. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  9327. if (this->has_head()) {
  9328. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  9329. 1, *this->head_, output);
  9330. }
  9331. // optional int32 addintrval = 2;
  9332. if (this->addintrval() != 0) {
  9333. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->addintrval(), output);
  9334. }
  9335. // optional string strIntroduce = 3;
  9336. if (this->strintroduce().size() > 0) {
  9337. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  9338. this->strintroduce().data(), this->strintroduce().length(),
  9339. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  9340. "XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce");
  9341. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  9342. 3, this->strintroduce(), output);
  9343. }
  9344. // optional int32 addcount = 4;
  9345. if (this->addcount() != 0) {
  9346. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->addcount(), output);
  9347. }
  9348. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AddChatroomMemberSetting)
  9349. }
  9350. ::google::protobuf::uint8* XPhone_AddChatroomMemberSetting::SerializeWithCachedSizesToArray(
  9351. ::google::protobuf::uint8* target) const {
  9352. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AddChatroomMemberSetting)
  9353. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  9354. if (this->has_head()) {
  9355. target = ::google::protobuf::internal::WireFormatLite::
  9356. WriteMessageNoVirtualToArray(
  9357. 1, *this->head_, target);
  9358. }
  9359. // optional int32 addintrval = 2;
  9360. if (this->addintrval() != 0) {
  9361. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->addintrval(), target);
  9362. }
  9363. // optional string strIntroduce = 3;
  9364. if (this->strintroduce().size() > 0) {
  9365. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  9366. this->strintroduce().data(), this->strintroduce().length(),
  9367. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  9368. "XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce");
  9369. target =
  9370. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  9371. 3, this->strintroduce(), target);
  9372. }
  9373. // optional int32 addcount = 4;
  9374. if (this->addcount() != 0) {
  9375. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->addcount(), target);
  9376. }
  9377. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AddChatroomMemberSetting)
  9378. return target;
  9379. }
  9380. int XPhone_AddChatroomMemberSetting::ByteSize() const {
  9381. int total_size = 0;
  9382. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  9383. if (this->has_head()) {
  9384. total_size += 1 +
  9385. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  9386. *this->head_);
  9387. }
  9388. // optional int32 addintrval = 2;
  9389. if (this->addintrval() != 0) {
  9390. total_size += 1 +
  9391. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9392. this->addintrval());
  9393. }
  9394. // optional string strIntroduce = 3;
  9395. if (this->strintroduce().size() > 0) {
  9396. total_size += 1 +
  9397. ::google::protobuf::internal::WireFormatLite::StringSize(
  9398. this->strintroduce());
  9399. }
  9400. // optional int32 addcount = 4;
  9401. if (this->addcount() != 0) {
  9402. total_size += 1 +
  9403. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9404. this->addcount());
  9405. }
  9406. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9407. _cached_size_ = total_size;
  9408. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9409. return total_size;
  9410. }
  9411. void XPhone_AddChatroomMemberSetting::MergeFrom(const ::google::protobuf::Message& from) {
  9412. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  9413. const XPhone_AddChatroomMemberSetting* source =
  9414. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AddChatroomMemberSetting>(
  9415. &from);
  9416. if (source == NULL) {
  9417. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9418. } else {
  9419. MergeFrom(*source);
  9420. }
  9421. }
  9422. void XPhone_AddChatroomMemberSetting::MergeFrom(const XPhone_AddChatroomMemberSetting& from) {
  9423. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  9424. if (from.has_head()) {
  9425. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  9426. }
  9427. if (from.addintrval() != 0) {
  9428. set_addintrval(from.addintrval());
  9429. }
  9430. if (from.strintroduce().size() > 0) {
  9431. strintroduce_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strintroduce_);
  9432. }
  9433. if (from.addcount() != 0) {
  9434. set_addcount(from.addcount());
  9435. }
  9436. }
  9437. void XPhone_AddChatroomMemberSetting::CopyFrom(const ::google::protobuf::Message& from) {
  9438. if (&from == this) return;
  9439. Clear();
  9440. MergeFrom(from);
  9441. }
  9442. void XPhone_AddChatroomMemberSetting::CopyFrom(const XPhone_AddChatroomMemberSetting& from) {
  9443. if (&from == this) return;
  9444. Clear();
  9445. MergeFrom(from);
  9446. }
  9447. bool XPhone_AddChatroomMemberSetting::IsInitialized() const {
  9448. return true;
  9449. }
  9450. void XPhone_AddChatroomMemberSetting::Swap(XPhone_AddChatroomMemberSetting* other) {
  9451. if (other == this) return;
  9452. InternalSwap(other);
  9453. }
  9454. void XPhone_AddChatroomMemberSetting::InternalSwap(XPhone_AddChatroomMemberSetting* other) {
  9455. std::swap(head_, other->head_);
  9456. std::swap(addintrval_, other->addintrval_);
  9457. strintroduce_.Swap(&other->strintroduce_);
  9458. std::swap(addcount_, other->addcount_);
  9459. _internal_metadata_.Swap(&other->_internal_metadata_);
  9460. std::swap(_cached_size_, other->_cached_size_);
  9461. }
  9462. ::google::protobuf::Metadata XPhone_AddChatroomMemberSetting::GetMetadata() const {
  9463. protobuf_AssignDescriptorsOnce();
  9464. ::google::protobuf::Metadata metadata;
  9465. metadata.descriptor = XPhone_AddChatroomMemberSetting_descriptor_;
  9466. metadata.reflection = XPhone_AddChatroomMemberSetting_reflection_;
  9467. return metadata;
  9468. }
  9469. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  9470. // XPhone_AddChatroomMemberSetting
  9471. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  9472. bool XPhone_AddChatroomMemberSetting::has_head() const {
  9473. return !_is_default_instance_ && head_ != NULL;
  9474. }
  9475. void XPhone_AddChatroomMemberSetting::clear_head() {
  9476. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  9477. head_ = NULL;
  9478. }
  9479. const ::XPhonePlus::XPhone_MsgBase& XPhone_AddChatroomMemberSetting::head() const {
  9480. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddChatroomMemberSetting.head)
  9481. return head_ != NULL ? *head_ : *default_instance_->head_;
  9482. }
  9483. ::XPhonePlus::XPhone_MsgBase* XPhone_AddChatroomMemberSetting::mutable_head() {
  9484. if (head_ == NULL) {
  9485. head_ = new ::XPhonePlus::XPhone_MsgBase;
  9486. }
  9487. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddChatroomMemberSetting.head)
  9488. return head_;
  9489. }
  9490. ::XPhonePlus::XPhone_MsgBase* XPhone_AddChatroomMemberSetting::release_head() {
  9491. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  9492. head_ = NULL;
  9493. return temp;
  9494. }
  9495. void XPhone_AddChatroomMemberSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  9496. delete head_;
  9497. head_ = head;
  9498. if (head) {
  9499. } else {
  9500. }
  9501. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddChatroomMemberSetting.head)
  9502. }
  9503. // optional int32 addintrval = 2;
  9504. void XPhone_AddChatroomMemberSetting::clear_addintrval() {
  9505. addintrval_ = 0;
  9506. }
  9507. ::google::protobuf::int32 XPhone_AddChatroomMemberSetting::addintrval() const {
  9508. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddChatroomMemberSetting.addintrval)
  9509. return addintrval_;
  9510. }
  9511. void XPhone_AddChatroomMemberSetting::set_addintrval(::google::protobuf::int32 value) {
  9512. addintrval_ = value;
  9513. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddChatroomMemberSetting.addintrval)
  9514. }
  9515. // optional string strIntroduce = 3;
  9516. void XPhone_AddChatroomMemberSetting::clear_strintroduce() {
  9517. strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  9518. }
  9519. const ::std::string& XPhone_AddChatroomMemberSetting::strintroduce() const {
  9520. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
  9521. return strintroduce_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  9522. }
  9523. void XPhone_AddChatroomMemberSetting::set_strintroduce(const ::std::string& value) {
  9524. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  9525. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
  9526. }
  9527. void XPhone_AddChatroomMemberSetting::set_strintroduce(const char* value) {
  9528. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  9529. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
  9530. }
  9531. void XPhone_AddChatroomMemberSetting::set_strintroduce(const char* value, size_t size) {
  9532. strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  9533. ::std::string(reinterpret_cast<const char*>(value), size));
  9534. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
  9535. }
  9536. ::std::string* XPhone_AddChatroomMemberSetting::mutable_strintroduce() {
  9537. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
  9538. return strintroduce_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  9539. }
  9540. ::std::string* XPhone_AddChatroomMemberSetting::release_strintroduce() {
  9541. return strintroduce_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  9542. }
  9543. void XPhone_AddChatroomMemberSetting::set_allocated_strintroduce(::std::string* strintroduce) {
  9544. if (strintroduce != NULL) {
  9545. } else {
  9546. }
  9547. strintroduce_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strintroduce);
  9548. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
  9549. }
  9550. // optional int32 addcount = 4;
  9551. void XPhone_AddChatroomMemberSetting::clear_addcount() {
  9552. addcount_ = 0;
  9553. }
  9554. ::google::protobuf::int32 XPhone_AddChatroomMemberSetting::addcount() const {
  9555. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddChatroomMemberSetting.addcount)
  9556. return addcount_;
  9557. }
  9558. void XPhone_AddChatroomMemberSetting::set_addcount(::google::protobuf::int32 value) {
  9559. addcount_ = value;
  9560. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddChatroomMemberSetting.addcount)
  9561. }
  9562. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  9563. // ===================================================================
  9564. #ifndef _MSC_VER
  9565. const int XPhone_Array::kArrayFieldNumber;
  9566. #endif // !_MSC_VER
  9567. XPhone_Array::XPhone_Array()
  9568. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  9569. SharedCtor();
  9570. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_Array)
  9571. }
  9572. void XPhone_Array::InitAsDefaultInstance() {
  9573. _is_default_instance_ = true;
  9574. }
  9575. XPhone_Array::XPhone_Array(const XPhone_Array& from)
  9576. : ::google::protobuf::Message(),
  9577. _internal_metadata_(NULL) {
  9578. SharedCtor();
  9579. MergeFrom(from);
  9580. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_Array)
  9581. }
  9582. void XPhone_Array::SharedCtor() {
  9583. _is_default_instance_ = false;
  9584. ::google::protobuf::internal::GetEmptyString();
  9585. _cached_size_ = 0;
  9586. }
  9587. XPhone_Array::~XPhone_Array() {
  9588. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_Array)
  9589. SharedDtor();
  9590. }
  9591. void XPhone_Array::SharedDtor() {
  9592. if (this != default_instance_) {
  9593. }
  9594. }
  9595. void XPhone_Array::SetCachedSize(int size) const {
  9596. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9597. _cached_size_ = size;
  9598. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9599. }
  9600. const ::google::protobuf::Descriptor* XPhone_Array::descriptor() {
  9601. protobuf_AssignDescriptorsOnce();
  9602. return XPhone_Array_descriptor_;
  9603. }
  9604. const XPhone_Array& XPhone_Array::default_instance() {
  9605. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  9606. return *default_instance_;
  9607. }
  9608. XPhone_Array* XPhone_Array::default_instance_ = NULL;
  9609. XPhone_Array* XPhone_Array::New(::google::protobuf::Arena* arena) const {
  9610. XPhone_Array* n = new XPhone_Array;
  9611. if (arena != NULL) {
  9612. arena->Own(n);
  9613. }
  9614. return n;
  9615. }
  9616. void XPhone_Array::Clear() {
  9617. array_.Clear();
  9618. }
  9619. bool XPhone_Array::MergePartialFromCodedStream(
  9620. ::google::protobuf::io::CodedInputStream* input) {
  9621. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  9622. ::google::protobuf::uint32 tag;
  9623. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_Array)
  9624. for (;;) {
  9625. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  9626. tag = p.first;
  9627. if (!p.second) goto handle_unusual;
  9628. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9629. // repeated string array = 1;
  9630. case 1: {
  9631. if (tag == 10) {
  9632. parse_array:
  9633. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  9634. input, this->add_array()));
  9635. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  9636. this->array(this->array_size() - 1).data(),
  9637. this->array(this->array_size() - 1).length(),
  9638. ::google::protobuf::internal::WireFormatLite::PARSE,
  9639. "XPhonePlus.XPhone_Array.array"));
  9640. } else {
  9641. goto handle_unusual;
  9642. }
  9643. if (input->ExpectTag(10)) goto parse_array;
  9644. if (input->ExpectAtEnd()) goto success;
  9645. break;
  9646. }
  9647. default: {
  9648. handle_unusual:
  9649. if (tag == 0 ||
  9650. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9651. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9652. goto success;
  9653. }
  9654. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  9655. break;
  9656. }
  9657. }
  9658. }
  9659. success:
  9660. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_Array)
  9661. return true;
  9662. failure:
  9663. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_Array)
  9664. return false;
  9665. #undef DO_
  9666. }
  9667. void XPhone_Array::SerializeWithCachedSizes(
  9668. ::google::protobuf::io::CodedOutputStream* output) const {
  9669. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_Array)
  9670. // repeated string array = 1;
  9671. for (int i = 0; i < this->array_size(); i++) {
  9672. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  9673. this->array(i).data(), this->array(i).length(),
  9674. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  9675. "XPhonePlus.XPhone_Array.array");
  9676. ::google::protobuf::internal::WireFormatLite::WriteString(
  9677. 1, this->array(i), output);
  9678. }
  9679. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_Array)
  9680. }
  9681. ::google::protobuf::uint8* XPhone_Array::SerializeWithCachedSizesToArray(
  9682. ::google::protobuf::uint8* target) const {
  9683. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_Array)
  9684. // repeated string array = 1;
  9685. for (int i = 0; i < this->array_size(); i++) {
  9686. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  9687. this->array(i).data(), this->array(i).length(),
  9688. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  9689. "XPhonePlus.XPhone_Array.array");
  9690. target = ::google::protobuf::internal::WireFormatLite::
  9691. WriteStringToArray(1, this->array(i), target);
  9692. }
  9693. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_Array)
  9694. return target;
  9695. }
  9696. int XPhone_Array::ByteSize() const {
  9697. int total_size = 0;
  9698. // repeated string array = 1;
  9699. total_size += 1 * this->array_size();
  9700. for (int i = 0; i < this->array_size(); i++) {
  9701. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  9702. this->array(i));
  9703. }
  9704. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9705. _cached_size_ = total_size;
  9706. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9707. return total_size;
  9708. }
  9709. void XPhone_Array::MergeFrom(const ::google::protobuf::Message& from) {
  9710. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  9711. const XPhone_Array* source =
  9712. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_Array>(
  9713. &from);
  9714. if (source == NULL) {
  9715. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9716. } else {
  9717. MergeFrom(*source);
  9718. }
  9719. }
  9720. void XPhone_Array::MergeFrom(const XPhone_Array& from) {
  9721. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  9722. array_.MergeFrom(from.array_);
  9723. }
  9724. void XPhone_Array::CopyFrom(const ::google::protobuf::Message& from) {
  9725. if (&from == this) return;
  9726. Clear();
  9727. MergeFrom(from);
  9728. }
  9729. void XPhone_Array::CopyFrom(const XPhone_Array& from) {
  9730. if (&from == this) return;
  9731. Clear();
  9732. MergeFrom(from);
  9733. }
  9734. bool XPhone_Array::IsInitialized() const {
  9735. return true;
  9736. }
  9737. void XPhone_Array::Swap(XPhone_Array* other) {
  9738. if (other == this) return;
  9739. InternalSwap(other);
  9740. }
  9741. void XPhone_Array::InternalSwap(XPhone_Array* other) {
  9742. array_.UnsafeArenaSwap(&other->array_);
  9743. _internal_metadata_.Swap(&other->_internal_metadata_);
  9744. std::swap(_cached_size_, other->_cached_size_);
  9745. }
  9746. ::google::protobuf::Metadata XPhone_Array::GetMetadata() const {
  9747. protobuf_AssignDescriptorsOnce();
  9748. ::google::protobuf::Metadata metadata;
  9749. metadata.descriptor = XPhone_Array_descriptor_;
  9750. metadata.reflection = XPhone_Array_reflection_;
  9751. return metadata;
  9752. }
  9753. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  9754. // XPhone_Array
  9755. // repeated string array = 1;
  9756. int XPhone_Array::array_size() const {
  9757. return array_.size();
  9758. }
  9759. void XPhone_Array::clear_array() {
  9760. array_.Clear();
  9761. }
  9762. const ::std::string& XPhone_Array::array(int index) const {
  9763. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Array.array)
  9764. return array_.Get(index);
  9765. }
  9766. ::std::string* XPhone_Array::mutable_array(int index) {
  9767. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_Array.array)
  9768. return array_.Mutable(index);
  9769. }
  9770. void XPhone_Array::set_array(int index, const ::std::string& value) {
  9771. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Array.array)
  9772. array_.Mutable(index)->assign(value);
  9773. }
  9774. void XPhone_Array::set_array(int index, const char* value) {
  9775. array_.Mutable(index)->assign(value);
  9776. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_Array.array)
  9777. }
  9778. void XPhone_Array::set_array(int index, const char* value, size_t size) {
  9779. array_.Mutable(index)->assign(
  9780. reinterpret_cast<const char*>(value), size);
  9781. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_Array.array)
  9782. }
  9783. ::std::string* XPhone_Array::add_array() {
  9784. return array_.Add();
  9785. }
  9786. void XPhone_Array::add_array(const ::std::string& value) {
  9787. array_.Add()->assign(value);
  9788. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_Array.array)
  9789. }
  9790. void XPhone_Array::add_array(const char* value) {
  9791. array_.Add()->assign(value);
  9792. // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_Array.array)
  9793. }
  9794. void XPhone_Array::add_array(const char* value, size_t size) {
  9795. array_.Add()->assign(reinterpret_cast<const char*>(value), size);
  9796. // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_Array.array)
  9797. }
  9798. const ::google::protobuf::RepeatedPtrField< ::std::string>&
  9799. XPhone_Array::array() const {
  9800. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_Array.array)
  9801. return array_;
  9802. }
  9803. ::google::protobuf::RepeatedPtrField< ::std::string>*
  9804. XPhone_Array::mutable_array() {
  9805. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_Array.array)
  9806. return &array_;
  9807. }
  9808. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  9809. // ===================================================================
  9810. #ifndef _MSC_VER
  9811. const int XPhone_LocalTaskParam::kParamsFieldNumber;
  9812. #endif // !_MSC_VER
  9813. XPhone_LocalTaskParam::XPhone_LocalTaskParam()
  9814. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  9815. SharedCtor();
  9816. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_LocalTaskParam)
  9817. }
  9818. void XPhone_LocalTaskParam::InitAsDefaultInstance() {
  9819. _is_default_instance_ = true;
  9820. }
  9821. XPhone_LocalTaskParam::XPhone_LocalTaskParam(const XPhone_LocalTaskParam& from)
  9822. : ::google::protobuf::Message(),
  9823. _internal_metadata_(NULL) {
  9824. SharedCtor();
  9825. MergeFrom(from);
  9826. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_LocalTaskParam)
  9827. }
  9828. void XPhone_LocalTaskParam::SharedCtor() {
  9829. _is_default_instance_ = false;
  9830. _cached_size_ = 0;
  9831. params_.SetAssignDescriptorCallback(
  9832. protobuf_AssignDescriptorsOnce);
  9833. params_.SetEntryDescriptor(
  9834. &::XPhonePlus::XPhone_LocalTaskParam_ParamsEntry_descriptor_);
  9835. }
  9836. XPhone_LocalTaskParam::~XPhone_LocalTaskParam() {
  9837. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_LocalTaskParam)
  9838. SharedDtor();
  9839. }
  9840. void XPhone_LocalTaskParam::SharedDtor() {
  9841. if (this != default_instance_) {
  9842. }
  9843. }
  9844. void XPhone_LocalTaskParam::SetCachedSize(int size) const {
  9845. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9846. _cached_size_ = size;
  9847. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9848. }
  9849. const ::google::protobuf::Descriptor* XPhone_LocalTaskParam::descriptor() {
  9850. protobuf_AssignDescriptorsOnce();
  9851. return XPhone_LocalTaskParam_descriptor_;
  9852. }
  9853. const XPhone_LocalTaskParam& XPhone_LocalTaskParam::default_instance() {
  9854. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  9855. return *default_instance_;
  9856. }
  9857. XPhone_LocalTaskParam* XPhone_LocalTaskParam::default_instance_ = NULL;
  9858. XPhone_LocalTaskParam* XPhone_LocalTaskParam::New(::google::protobuf::Arena* arena) const {
  9859. XPhone_LocalTaskParam* n = new XPhone_LocalTaskParam;
  9860. if (arena != NULL) {
  9861. arena->Own(n);
  9862. }
  9863. return n;
  9864. }
  9865. void XPhone_LocalTaskParam::Clear() {
  9866. params_.Clear();
  9867. }
  9868. bool XPhone_LocalTaskParam::MergePartialFromCodedStream(
  9869. ::google::protobuf::io::CodedInputStream* input) {
  9870. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  9871. ::google::protobuf::uint32 tag;
  9872. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_LocalTaskParam)
  9873. for (;;) {
  9874. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  9875. tag = p.first;
  9876. if (!p.second) goto handle_unusual;
  9877. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9878. // map<string, .XPhonePlus.XPhone_Array> params = 5;
  9879. case 5: {
  9880. if (tag == 42) {
  9881. DO_(input->IncrementRecursionDepth());
  9882. parse_loop_params:
  9883. ::google::protobuf::scoped_ptr<XPhone_LocalTaskParam_ParamsEntry> entry(params_.NewEntry());
  9884. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  9885. input, entry.get()));
  9886. (*mutable_params())[entry->key()].Swap(entry->mutable_value());
  9887. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  9888. entry->key().data(), entry->key().length(),
  9889. ::google::protobuf::internal::WireFormatLite::PARSE,
  9890. "XPhonePlus.XPhone_LocalTaskParam.ParamsEntry.key"));
  9891. } else {
  9892. goto handle_unusual;
  9893. }
  9894. if (input->ExpectTag(42)) goto parse_loop_params;
  9895. input->UnsafeDecrementRecursionDepth();
  9896. if (input->ExpectAtEnd()) goto success;
  9897. break;
  9898. }
  9899. default: {
  9900. handle_unusual:
  9901. if (tag == 0 ||
  9902. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9903. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9904. goto success;
  9905. }
  9906. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  9907. break;
  9908. }
  9909. }
  9910. }
  9911. success:
  9912. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_LocalTaskParam)
  9913. return true;
  9914. failure:
  9915. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_LocalTaskParam)
  9916. return false;
  9917. #undef DO_
  9918. }
  9919. void XPhone_LocalTaskParam::SerializeWithCachedSizes(
  9920. ::google::protobuf::io::CodedOutputStream* output) const {
  9921. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_LocalTaskParam)
  9922. // map<string, .XPhonePlus.XPhone_Array> params = 5;
  9923. {
  9924. ::google::protobuf::scoped_ptr<XPhone_LocalTaskParam_ParamsEntry> entry;
  9925. for (::google::protobuf::Map< ::std::string, ::XPhonePlus::XPhone_Array >::const_iterator
  9926. it = this->params().begin();
  9927. it != this->params().end(); ++it) {
  9928. entry.reset(params_.NewEntryWrapper(it->first, it->second));
  9929. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  9930. 5, *entry, output);
  9931. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  9932. it->first.data(), it->first.length(),
  9933. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  9934. "XPhonePlus.XPhone_LocalTaskParam.ParamsEntry.key");
  9935. }
  9936. }
  9937. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_LocalTaskParam)
  9938. }
  9939. ::google::protobuf::uint8* XPhone_LocalTaskParam::SerializeWithCachedSizesToArray(
  9940. ::google::protobuf::uint8* target) const {
  9941. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_LocalTaskParam)
  9942. // map<string, .XPhonePlus.XPhone_Array> params = 5;
  9943. {
  9944. ::google::protobuf::scoped_ptr<XPhone_LocalTaskParam_ParamsEntry> entry;
  9945. for (::google::protobuf::Map< ::std::string, ::XPhonePlus::XPhone_Array >::const_iterator
  9946. it = this->params().begin();
  9947. it != this->params().end(); ++it) {
  9948. entry.reset(params_.NewEntryWrapper(it->first, it->second));
  9949. target = ::google::protobuf::internal::WireFormatLite::
  9950. WriteMessageNoVirtualToArray(
  9951. 5, *entry, target);
  9952. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  9953. it->first.data(), it->first.length(),
  9954. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  9955. "XPhonePlus.XPhone_LocalTaskParam.ParamsEntry.key");
  9956. }
  9957. }
  9958. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_LocalTaskParam)
  9959. return target;
  9960. }
  9961. int XPhone_LocalTaskParam::ByteSize() const {
  9962. int total_size = 0;
  9963. // map<string, .XPhonePlus.XPhone_Array> params = 5;
  9964. total_size += 1 * this->params_size();
  9965. {
  9966. ::google::protobuf::scoped_ptr<XPhone_LocalTaskParam_ParamsEntry> entry;
  9967. for (::google::protobuf::Map< ::std::string, ::XPhonePlus::XPhone_Array >::const_iterator
  9968. it = this->params().begin();
  9969. it != this->params().end(); ++it) {
  9970. entry.reset(params_.NewEntryWrapper(it->first, it->second));
  9971. total_size += ::google::protobuf::internal::WireFormatLite::
  9972. MessageSizeNoVirtual(*entry);
  9973. }
  9974. }
  9975. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9976. _cached_size_ = total_size;
  9977. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9978. return total_size;
  9979. }
  9980. void XPhone_LocalTaskParam::MergeFrom(const ::google::protobuf::Message& from) {
  9981. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  9982. const XPhone_LocalTaskParam* source =
  9983. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_LocalTaskParam>(
  9984. &from);
  9985. if (source == NULL) {
  9986. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9987. } else {
  9988. MergeFrom(*source);
  9989. }
  9990. }
  9991. void XPhone_LocalTaskParam::MergeFrom(const XPhone_LocalTaskParam& from) {
  9992. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  9993. params_.MergeFrom(from.params_);
  9994. }
  9995. void XPhone_LocalTaskParam::CopyFrom(const ::google::protobuf::Message& from) {
  9996. if (&from == this) return;
  9997. Clear();
  9998. MergeFrom(from);
  9999. }
  10000. void XPhone_LocalTaskParam::CopyFrom(const XPhone_LocalTaskParam& from) {
  10001. if (&from == this) return;
  10002. Clear();
  10003. MergeFrom(from);
  10004. }
  10005. bool XPhone_LocalTaskParam::IsInitialized() const {
  10006. return true;
  10007. }
  10008. void XPhone_LocalTaskParam::Swap(XPhone_LocalTaskParam* other) {
  10009. if (other == this) return;
  10010. InternalSwap(other);
  10011. }
  10012. void XPhone_LocalTaskParam::InternalSwap(XPhone_LocalTaskParam* other) {
  10013. params_.Swap(&other->params_);
  10014. _internal_metadata_.Swap(&other->_internal_metadata_);
  10015. std::swap(_cached_size_, other->_cached_size_);
  10016. }
  10017. ::google::protobuf::Metadata XPhone_LocalTaskParam::GetMetadata() const {
  10018. protobuf_AssignDescriptorsOnce();
  10019. ::google::protobuf::Metadata metadata;
  10020. metadata.descriptor = XPhone_LocalTaskParam_descriptor_;
  10021. metadata.reflection = XPhone_LocalTaskParam_reflection_;
  10022. return metadata;
  10023. }
  10024. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  10025. // XPhone_LocalTaskParam
  10026. // map<string, .XPhonePlus.XPhone_Array> params = 5;
  10027. int XPhone_LocalTaskParam::params_size() const {
  10028. return params_.size();
  10029. }
  10030. void XPhone_LocalTaskParam::clear_params() {
  10031. params_.Clear();
  10032. }
  10033. const ::google::protobuf::Map< ::std::string, ::XPhonePlus::XPhone_Array >&
  10034. XPhone_LocalTaskParam::params() const {
  10035. // @@protoc_insertion_point(field_map:XPhonePlus.XPhone_LocalTaskParam.params)
  10036. return params_.GetMap();
  10037. }
  10038. ::google::protobuf::Map< ::std::string, ::XPhonePlus::XPhone_Array >*
  10039. XPhone_LocalTaskParam::mutable_params() {
  10040. // @@protoc_insertion_point(field_mutable_map:XPhonePlus.XPhone_LocalTaskParam.params)
  10041. return params_.MutableMap();
  10042. }
  10043. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  10044. // ===================================================================
  10045. #ifndef _MSC_VER
  10046. const int XPhone_TaskReq::kHeadFieldNumber;
  10047. const int XPhone_TaskReq::kTaskIDFieldNumber;
  10048. const int XPhone_TaskReq::kTasktypeFieldNumber;
  10049. const int XPhone_TaskReq::kActionFieldNumber;
  10050. const int XPhone_TaskReq::kDelayFieldNumber;
  10051. const int XPhone_TaskReq::kParamsFieldNumber;
  10052. #endif // !_MSC_VER
  10053. XPhone_TaskReq::XPhone_TaskReq()
  10054. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  10055. SharedCtor();
  10056. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_TaskReq)
  10057. }
  10058. void XPhone_TaskReq::InitAsDefaultInstance() {
  10059. _is_default_instance_ = true;
  10060. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  10061. params_ = const_cast< ::XPhonePlus::XPhone_Array*>(&::XPhonePlus::XPhone_Array::default_instance());
  10062. }
  10063. XPhone_TaskReq::XPhone_TaskReq(const XPhone_TaskReq& from)
  10064. : ::google::protobuf::Message(),
  10065. _internal_metadata_(NULL) {
  10066. SharedCtor();
  10067. MergeFrom(from);
  10068. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_TaskReq)
  10069. }
  10070. void XPhone_TaskReq::SharedCtor() {
  10071. _is_default_instance_ = false;
  10072. _cached_size_ = 0;
  10073. head_ = NULL;
  10074. taskid_ = 0;
  10075. tasktype_ = 0;
  10076. action_ = 0;
  10077. delay_ = 0;
  10078. params_ = NULL;
  10079. }
  10080. XPhone_TaskReq::~XPhone_TaskReq() {
  10081. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_TaskReq)
  10082. SharedDtor();
  10083. }
  10084. void XPhone_TaskReq::SharedDtor() {
  10085. if (this != default_instance_) {
  10086. delete head_;
  10087. delete params_;
  10088. }
  10089. }
  10090. void XPhone_TaskReq::SetCachedSize(int size) const {
  10091. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10092. _cached_size_ = size;
  10093. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10094. }
  10095. const ::google::protobuf::Descriptor* XPhone_TaskReq::descriptor() {
  10096. protobuf_AssignDescriptorsOnce();
  10097. return XPhone_TaskReq_descriptor_;
  10098. }
  10099. const XPhone_TaskReq& XPhone_TaskReq::default_instance() {
  10100. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  10101. return *default_instance_;
  10102. }
  10103. XPhone_TaskReq* XPhone_TaskReq::default_instance_ = NULL;
  10104. XPhone_TaskReq* XPhone_TaskReq::New(::google::protobuf::Arena* arena) const {
  10105. XPhone_TaskReq* n = new XPhone_TaskReq;
  10106. if (arena != NULL) {
  10107. arena->Own(n);
  10108. }
  10109. return n;
  10110. }
  10111. void XPhone_TaskReq::Clear() {
  10112. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  10113. &reinterpret_cast<XPhone_TaskReq*>(16)->f)
  10114. #define ZR_(first, last) do {\
  10115. ::memset(&first, 0,\
  10116. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  10117. } while (0)
  10118. ZR_(taskid_, delay_);
  10119. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  10120. head_ = NULL;
  10121. if (GetArenaNoVirtual() == NULL && params_ != NULL) delete params_;
  10122. params_ = NULL;
  10123. #undef ZR_HELPER_
  10124. #undef ZR_
  10125. }
  10126. bool XPhone_TaskReq::MergePartialFromCodedStream(
  10127. ::google::protobuf::io::CodedInputStream* input) {
  10128. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  10129. ::google::protobuf::uint32 tag;
  10130. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_TaskReq)
  10131. for (;;) {
  10132. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  10133. tag = p.first;
  10134. if (!p.second) goto handle_unusual;
  10135. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10136. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  10137. case 1: {
  10138. if (tag == 10) {
  10139. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  10140. input, mutable_head()));
  10141. } else {
  10142. goto handle_unusual;
  10143. }
  10144. if (input->ExpectTag(16)) goto parse_taskID;
  10145. break;
  10146. }
  10147. // optional int32 taskID = 2;
  10148. case 2: {
  10149. if (tag == 16) {
  10150. parse_taskID:
  10151. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10152. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10153. input, &taskid_)));
  10154. } else {
  10155. goto handle_unusual;
  10156. }
  10157. if (input->ExpectTag(24)) goto parse_tasktype;
  10158. break;
  10159. }
  10160. // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
  10161. case 3: {
  10162. if (tag == 24) {
  10163. parse_tasktype:
  10164. int value;
  10165. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10166. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10167. input, &value)));
  10168. set_tasktype(static_cast< ::XPhonePlus::XPhone_TaskType >(value));
  10169. } else {
  10170. goto handle_unusual;
  10171. }
  10172. if (input->ExpectTag(32)) goto parse_action;
  10173. break;
  10174. }
  10175. // optional .XPhonePlus.XPhone_TaskAction action = 4;
  10176. case 4: {
  10177. if (tag == 32) {
  10178. parse_action:
  10179. int value;
  10180. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10181. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10182. input, &value)));
  10183. set_action(static_cast< ::XPhonePlus::XPhone_TaskAction >(value));
  10184. } else {
  10185. goto handle_unusual;
  10186. }
  10187. if (input->ExpectTag(40)) goto parse_delay;
  10188. break;
  10189. }
  10190. // optional int32 delay = 5;
  10191. case 5: {
  10192. if (tag == 40) {
  10193. parse_delay:
  10194. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10195. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10196. input, &delay_)));
  10197. } else {
  10198. goto handle_unusual;
  10199. }
  10200. if (input->ExpectTag(50)) goto parse_params;
  10201. break;
  10202. }
  10203. // optional .XPhonePlus.XPhone_Array params = 6;
  10204. case 6: {
  10205. if (tag == 50) {
  10206. parse_params:
  10207. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  10208. input, mutable_params()));
  10209. } else {
  10210. goto handle_unusual;
  10211. }
  10212. if (input->ExpectAtEnd()) goto success;
  10213. break;
  10214. }
  10215. default: {
  10216. handle_unusual:
  10217. if (tag == 0 ||
  10218. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10219. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10220. goto success;
  10221. }
  10222. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  10223. break;
  10224. }
  10225. }
  10226. }
  10227. success:
  10228. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_TaskReq)
  10229. return true;
  10230. failure:
  10231. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_TaskReq)
  10232. return false;
  10233. #undef DO_
  10234. }
  10235. void XPhone_TaskReq::SerializeWithCachedSizes(
  10236. ::google::protobuf::io::CodedOutputStream* output) const {
  10237. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_TaskReq)
  10238. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  10239. if (this->has_head()) {
  10240. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  10241. 1, *this->head_, output);
  10242. }
  10243. // optional int32 taskID = 2;
  10244. if (this->taskid() != 0) {
  10245. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->taskid(), output);
  10246. }
  10247. // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
  10248. if (this->tasktype() != 0) {
  10249. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10250. 3, this->tasktype(), output);
  10251. }
  10252. // optional .XPhonePlus.XPhone_TaskAction action = 4;
  10253. if (this->action() != 0) {
  10254. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10255. 4, this->action(), output);
  10256. }
  10257. // optional int32 delay = 5;
  10258. if (this->delay() != 0) {
  10259. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->delay(), output);
  10260. }
  10261. // optional .XPhonePlus.XPhone_Array params = 6;
  10262. if (this->has_params()) {
  10263. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  10264. 6, *this->params_, output);
  10265. }
  10266. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_TaskReq)
  10267. }
  10268. ::google::protobuf::uint8* XPhone_TaskReq::SerializeWithCachedSizesToArray(
  10269. ::google::protobuf::uint8* target) const {
  10270. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_TaskReq)
  10271. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  10272. if (this->has_head()) {
  10273. target = ::google::protobuf::internal::WireFormatLite::
  10274. WriteMessageNoVirtualToArray(
  10275. 1, *this->head_, target);
  10276. }
  10277. // optional int32 taskID = 2;
  10278. if (this->taskid() != 0) {
  10279. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->taskid(), target);
  10280. }
  10281. // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
  10282. if (this->tasktype() != 0) {
  10283. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10284. 3, this->tasktype(), target);
  10285. }
  10286. // optional .XPhonePlus.XPhone_TaskAction action = 4;
  10287. if (this->action() != 0) {
  10288. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10289. 4, this->action(), target);
  10290. }
  10291. // optional int32 delay = 5;
  10292. if (this->delay() != 0) {
  10293. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->delay(), target);
  10294. }
  10295. // optional .XPhonePlus.XPhone_Array params = 6;
  10296. if (this->has_params()) {
  10297. target = ::google::protobuf::internal::WireFormatLite::
  10298. WriteMessageNoVirtualToArray(
  10299. 6, *this->params_, target);
  10300. }
  10301. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_TaskReq)
  10302. return target;
  10303. }
  10304. int XPhone_TaskReq::ByteSize() const {
  10305. int total_size = 0;
  10306. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  10307. if (this->has_head()) {
  10308. total_size += 1 +
  10309. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  10310. *this->head_);
  10311. }
  10312. // optional int32 taskID = 2;
  10313. if (this->taskid() != 0) {
  10314. total_size += 1 +
  10315. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10316. this->taskid());
  10317. }
  10318. // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
  10319. if (this->tasktype() != 0) {
  10320. total_size += 1 +
  10321. ::google::protobuf::internal::WireFormatLite::EnumSize(this->tasktype());
  10322. }
  10323. // optional .XPhonePlus.XPhone_TaskAction action = 4;
  10324. if (this->action() != 0) {
  10325. total_size += 1 +
  10326. ::google::protobuf::internal::WireFormatLite::EnumSize(this->action());
  10327. }
  10328. // optional int32 delay = 5;
  10329. if (this->delay() != 0) {
  10330. total_size += 1 +
  10331. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10332. this->delay());
  10333. }
  10334. // optional .XPhonePlus.XPhone_Array params = 6;
  10335. if (this->has_params()) {
  10336. total_size += 1 +
  10337. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  10338. *this->params_);
  10339. }
  10340. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10341. _cached_size_ = total_size;
  10342. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10343. return total_size;
  10344. }
  10345. void XPhone_TaskReq::MergeFrom(const ::google::protobuf::Message& from) {
  10346. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  10347. const XPhone_TaskReq* source =
  10348. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_TaskReq>(
  10349. &from);
  10350. if (source == NULL) {
  10351. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10352. } else {
  10353. MergeFrom(*source);
  10354. }
  10355. }
  10356. void XPhone_TaskReq::MergeFrom(const XPhone_TaskReq& from) {
  10357. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  10358. if (from.has_head()) {
  10359. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  10360. }
  10361. if (from.taskid() != 0) {
  10362. set_taskid(from.taskid());
  10363. }
  10364. if (from.tasktype() != 0) {
  10365. set_tasktype(from.tasktype());
  10366. }
  10367. if (from.action() != 0) {
  10368. set_action(from.action());
  10369. }
  10370. if (from.delay() != 0) {
  10371. set_delay(from.delay());
  10372. }
  10373. if (from.has_params()) {
  10374. mutable_params()->::XPhonePlus::XPhone_Array::MergeFrom(from.params());
  10375. }
  10376. }
  10377. void XPhone_TaskReq::CopyFrom(const ::google::protobuf::Message& from) {
  10378. if (&from == this) return;
  10379. Clear();
  10380. MergeFrom(from);
  10381. }
  10382. void XPhone_TaskReq::CopyFrom(const XPhone_TaskReq& from) {
  10383. if (&from == this) return;
  10384. Clear();
  10385. MergeFrom(from);
  10386. }
  10387. bool XPhone_TaskReq::IsInitialized() const {
  10388. return true;
  10389. }
  10390. void XPhone_TaskReq::Swap(XPhone_TaskReq* other) {
  10391. if (other == this) return;
  10392. InternalSwap(other);
  10393. }
  10394. void XPhone_TaskReq::InternalSwap(XPhone_TaskReq* other) {
  10395. std::swap(head_, other->head_);
  10396. std::swap(taskid_, other->taskid_);
  10397. std::swap(tasktype_, other->tasktype_);
  10398. std::swap(action_, other->action_);
  10399. std::swap(delay_, other->delay_);
  10400. std::swap(params_, other->params_);
  10401. _internal_metadata_.Swap(&other->_internal_metadata_);
  10402. std::swap(_cached_size_, other->_cached_size_);
  10403. }
  10404. ::google::protobuf::Metadata XPhone_TaskReq::GetMetadata() const {
  10405. protobuf_AssignDescriptorsOnce();
  10406. ::google::protobuf::Metadata metadata;
  10407. metadata.descriptor = XPhone_TaskReq_descriptor_;
  10408. metadata.reflection = XPhone_TaskReq_reflection_;
  10409. return metadata;
  10410. }
  10411. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  10412. // XPhone_TaskReq
  10413. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  10414. bool XPhone_TaskReq::has_head() const {
  10415. return !_is_default_instance_ && head_ != NULL;
  10416. }
  10417. void XPhone_TaskReq::clear_head() {
  10418. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  10419. head_ = NULL;
  10420. }
  10421. const ::XPhonePlus::XPhone_MsgBase& XPhone_TaskReq::head() const {
  10422. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.head)
  10423. return head_ != NULL ? *head_ : *default_instance_->head_;
  10424. }
  10425. ::XPhonePlus::XPhone_MsgBase* XPhone_TaskReq::mutable_head() {
  10426. if (head_ == NULL) {
  10427. head_ = new ::XPhonePlus::XPhone_MsgBase;
  10428. }
  10429. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_TaskReq.head)
  10430. return head_;
  10431. }
  10432. ::XPhonePlus::XPhone_MsgBase* XPhone_TaskReq::release_head() {
  10433. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  10434. head_ = NULL;
  10435. return temp;
  10436. }
  10437. void XPhone_TaskReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  10438. delete head_;
  10439. head_ = head;
  10440. if (head) {
  10441. } else {
  10442. }
  10443. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_TaskReq.head)
  10444. }
  10445. // optional int32 taskID = 2;
  10446. void XPhone_TaskReq::clear_taskid() {
  10447. taskid_ = 0;
  10448. }
  10449. ::google::protobuf::int32 XPhone_TaskReq::taskid() const {
  10450. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.taskID)
  10451. return taskid_;
  10452. }
  10453. void XPhone_TaskReq::set_taskid(::google::protobuf::int32 value) {
  10454. taskid_ = value;
  10455. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskReq.taskID)
  10456. }
  10457. // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
  10458. void XPhone_TaskReq::clear_tasktype() {
  10459. tasktype_ = 0;
  10460. }
  10461. ::XPhonePlus::XPhone_TaskType XPhone_TaskReq::tasktype() const {
  10462. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.tasktype)
  10463. return static_cast< ::XPhonePlus::XPhone_TaskType >(tasktype_);
  10464. }
  10465. void XPhone_TaskReq::set_tasktype(::XPhonePlus::XPhone_TaskType value) {
  10466. tasktype_ = value;
  10467. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskReq.tasktype)
  10468. }
  10469. // optional .XPhonePlus.XPhone_TaskAction action = 4;
  10470. void XPhone_TaskReq::clear_action() {
  10471. action_ = 0;
  10472. }
  10473. ::XPhonePlus::XPhone_TaskAction XPhone_TaskReq::action() const {
  10474. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.action)
  10475. return static_cast< ::XPhonePlus::XPhone_TaskAction >(action_);
  10476. }
  10477. void XPhone_TaskReq::set_action(::XPhonePlus::XPhone_TaskAction value) {
  10478. action_ = value;
  10479. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskReq.action)
  10480. }
  10481. // optional int32 delay = 5;
  10482. void XPhone_TaskReq::clear_delay() {
  10483. delay_ = 0;
  10484. }
  10485. ::google::protobuf::int32 XPhone_TaskReq::delay() const {
  10486. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.delay)
  10487. return delay_;
  10488. }
  10489. void XPhone_TaskReq::set_delay(::google::protobuf::int32 value) {
  10490. delay_ = value;
  10491. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskReq.delay)
  10492. }
  10493. // optional .XPhonePlus.XPhone_Array params = 6;
  10494. bool XPhone_TaskReq::has_params() const {
  10495. return !_is_default_instance_ && params_ != NULL;
  10496. }
  10497. void XPhone_TaskReq::clear_params() {
  10498. if (GetArenaNoVirtual() == NULL && params_ != NULL) delete params_;
  10499. params_ = NULL;
  10500. }
  10501. const ::XPhonePlus::XPhone_Array& XPhone_TaskReq::params() const {
  10502. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.params)
  10503. return params_ != NULL ? *params_ : *default_instance_->params_;
  10504. }
  10505. ::XPhonePlus::XPhone_Array* XPhone_TaskReq::mutable_params() {
  10506. if (params_ == NULL) {
  10507. params_ = new ::XPhonePlus::XPhone_Array;
  10508. }
  10509. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_TaskReq.params)
  10510. return params_;
  10511. }
  10512. ::XPhonePlus::XPhone_Array* XPhone_TaskReq::release_params() {
  10513. ::XPhonePlus::XPhone_Array* temp = params_;
  10514. params_ = NULL;
  10515. return temp;
  10516. }
  10517. void XPhone_TaskReq::set_allocated_params(::XPhonePlus::XPhone_Array* params) {
  10518. delete params_;
  10519. params_ = params;
  10520. if (params) {
  10521. } else {
  10522. }
  10523. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_TaskReq.params)
  10524. }
  10525. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  10526. // ===================================================================
  10527. #ifndef _MSC_VER
  10528. const int XPhone_TaskRsp::kHeadFieldNumber;
  10529. const int XPhone_TaskRsp::kTaskIDFieldNumber;
  10530. const int XPhone_TaskRsp::kTasktypeFieldNumber;
  10531. const int XPhone_TaskRsp::kTaskstatusFieldNumber;
  10532. #endif // !_MSC_VER
  10533. XPhone_TaskRsp::XPhone_TaskRsp()
  10534. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  10535. SharedCtor();
  10536. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_TaskRsp)
  10537. }
  10538. void XPhone_TaskRsp::InitAsDefaultInstance() {
  10539. _is_default_instance_ = true;
  10540. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  10541. }
  10542. XPhone_TaskRsp::XPhone_TaskRsp(const XPhone_TaskRsp& from)
  10543. : ::google::protobuf::Message(),
  10544. _internal_metadata_(NULL) {
  10545. SharedCtor();
  10546. MergeFrom(from);
  10547. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_TaskRsp)
  10548. }
  10549. void XPhone_TaskRsp::SharedCtor() {
  10550. _is_default_instance_ = false;
  10551. _cached_size_ = 0;
  10552. head_ = NULL;
  10553. taskid_ = 0;
  10554. tasktype_ = 0;
  10555. taskstatus_ = 0;
  10556. }
  10557. XPhone_TaskRsp::~XPhone_TaskRsp() {
  10558. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_TaskRsp)
  10559. SharedDtor();
  10560. }
  10561. void XPhone_TaskRsp::SharedDtor() {
  10562. if (this != default_instance_) {
  10563. delete head_;
  10564. }
  10565. }
  10566. void XPhone_TaskRsp::SetCachedSize(int size) const {
  10567. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10568. _cached_size_ = size;
  10569. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10570. }
  10571. const ::google::protobuf::Descriptor* XPhone_TaskRsp::descriptor() {
  10572. protobuf_AssignDescriptorsOnce();
  10573. return XPhone_TaskRsp_descriptor_;
  10574. }
  10575. const XPhone_TaskRsp& XPhone_TaskRsp::default_instance() {
  10576. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  10577. return *default_instance_;
  10578. }
  10579. XPhone_TaskRsp* XPhone_TaskRsp::default_instance_ = NULL;
  10580. XPhone_TaskRsp* XPhone_TaskRsp::New(::google::protobuf::Arena* arena) const {
  10581. XPhone_TaskRsp* n = new XPhone_TaskRsp;
  10582. if (arena != NULL) {
  10583. arena->Own(n);
  10584. }
  10585. return n;
  10586. }
  10587. void XPhone_TaskRsp::Clear() {
  10588. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  10589. &reinterpret_cast<XPhone_TaskRsp*>(16)->f)
  10590. #define ZR_(first, last) do {\
  10591. ::memset(&first, 0,\
  10592. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  10593. } while (0)
  10594. ZR_(taskid_, taskstatus_);
  10595. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  10596. head_ = NULL;
  10597. #undef ZR_HELPER_
  10598. #undef ZR_
  10599. }
  10600. bool XPhone_TaskRsp::MergePartialFromCodedStream(
  10601. ::google::protobuf::io::CodedInputStream* input) {
  10602. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  10603. ::google::protobuf::uint32 tag;
  10604. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_TaskRsp)
  10605. for (;;) {
  10606. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  10607. tag = p.first;
  10608. if (!p.second) goto handle_unusual;
  10609. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10610. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  10611. case 1: {
  10612. if (tag == 10) {
  10613. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  10614. input, mutable_head()));
  10615. } else {
  10616. goto handle_unusual;
  10617. }
  10618. if (input->ExpectTag(16)) goto parse_taskID;
  10619. break;
  10620. }
  10621. // optional int32 taskID = 2;
  10622. case 2: {
  10623. if (tag == 16) {
  10624. parse_taskID:
  10625. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10626. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10627. input, &taskid_)));
  10628. } else {
  10629. goto handle_unusual;
  10630. }
  10631. if (input->ExpectTag(24)) goto parse_tasktype;
  10632. break;
  10633. }
  10634. // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
  10635. case 3: {
  10636. if (tag == 24) {
  10637. parse_tasktype:
  10638. int value;
  10639. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10640. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10641. input, &value)));
  10642. set_tasktype(static_cast< ::XPhonePlus::XPhone_TaskType >(value));
  10643. } else {
  10644. goto handle_unusual;
  10645. }
  10646. if (input->ExpectTag(32)) goto parse_taskstatus;
  10647. break;
  10648. }
  10649. // optional .XPhonePlus.XPhone_TaskStatus taskstatus = 4;
  10650. case 4: {
  10651. if (tag == 32) {
  10652. parse_taskstatus:
  10653. int value;
  10654. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10655. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10656. input, &value)));
  10657. set_taskstatus(static_cast< ::XPhonePlus::XPhone_TaskStatus >(value));
  10658. } else {
  10659. goto handle_unusual;
  10660. }
  10661. if (input->ExpectAtEnd()) goto success;
  10662. break;
  10663. }
  10664. default: {
  10665. handle_unusual:
  10666. if (tag == 0 ||
  10667. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10668. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10669. goto success;
  10670. }
  10671. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  10672. break;
  10673. }
  10674. }
  10675. }
  10676. success:
  10677. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_TaskRsp)
  10678. return true;
  10679. failure:
  10680. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_TaskRsp)
  10681. return false;
  10682. #undef DO_
  10683. }
  10684. void XPhone_TaskRsp::SerializeWithCachedSizes(
  10685. ::google::protobuf::io::CodedOutputStream* output) const {
  10686. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_TaskRsp)
  10687. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  10688. if (this->has_head()) {
  10689. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  10690. 1, *this->head_, output);
  10691. }
  10692. // optional int32 taskID = 2;
  10693. if (this->taskid() != 0) {
  10694. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->taskid(), output);
  10695. }
  10696. // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
  10697. if (this->tasktype() != 0) {
  10698. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10699. 3, this->tasktype(), output);
  10700. }
  10701. // optional .XPhonePlus.XPhone_TaskStatus taskstatus = 4;
  10702. if (this->taskstatus() != 0) {
  10703. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10704. 4, this->taskstatus(), output);
  10705. }
  10706. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_TaskRsp)
  10707. }
  10708. ::google::protobuf::uint8* XPhone_TaskRsp::SerializeWithCachedSizesToArray(
  10709. ::google::protobuf::uint8* target) const {
  10710. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_TaskRsp)
  10711. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  10712. if (this->has_head()) {
  10713. target = ::google::protobuf::internal::WireFormatLite::
  10714. WriteMessageNoVirtualToArray(
  10715. 1, *this->head_, target);
  10716. }
  10717. // optional int32 taskID = 2;
  10718. if (this->taskid() != 0) {
  10719. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->taskid(), target);
  10720. }
  10721. // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
  10722. if (this->tasktype() != 0) {
  10723. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10724. 3, this->tasktype(), target);
  10725. }
  10726. // optional .XPhonePlus.XPhone_TaskStatus taskstatus = 4;
  10727. if (this->taskstatus() != 0) {
  10728. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10729. 4, this->taskstatus(), target);
  10730. }
  10731. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_TaskRsp)
  10732. return target;
  10733. }
  10734. int XPhone_TaskRsp::ByteSize() const {
  10735. int total_size = 0;
  10736. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  10737. if (this->has_head()) {
  10738. total_size += 1 +
  10739. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  10740. *this->head_);
  10741. }
  10742. // optional int32 taskID = 2;
  10743. if (this->taskid() != 0) {
  10744. total_size += 1 +
  10745. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10746. this->taskid());
  10747. }
  10748. // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
  10749. if (this->tasktype() != 0) {
  10750. total_size += 1 +
  10751. ::google::protobuf::internal::WireFormatLite::EnumSize(this->tasktype());
  10752. }
  10753. // optional .XPhonePlus.XPhone_TaskStatus taskstatus = 4;
  10754. if (this->taskstatus() != 0) {
  10755. total_size += 1 +
  10756. ::google::protobuf::internal::WireFormatLite::EnumSize(this->taskstatus());
  10757. }
  10758. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10759. _cached_size_ = total_size;
  10760. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10761. return total_size;
  10762. }
  10763. void XPhone_TaskRsp::MergeFrom(const ::google::protobuf::Message& from) {
  10764. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  10765. const XPhone_TaskRsp* source =
  10766. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_TaskRsp>(
  10767. &from);
  10768. if (source == NULL) {
  10769. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10770. } else {
  10771. MergeFrom(*source);
  10772. }
  10773. }
  10774. void XPhone_TaskRsp::MergeFrom(const XPhone_TaskRsp& from) {
  10775. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  10776. if (from.has_head()) {
  10777. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  10778. }
  10779. if (from.taskid() != 0) {
  10780. set_taskid(from.taskid());
  10781. }
  10782. if (from.tasktype() != 0) {
  10783. set_tasktype(from.tasktype());
  10784. }
  10785. if (from.taskstatus() != 0) {
  10786. set_taskstatus(from.taskstatus());
  10787. }
  10788. }
  10789. void XPhone_TaskRsp::CopyFrom(const ::google::protobuf::Message& from) {
  10790. if (&from == this) return;
  10791. Clear();
  10792. MergeFrom(from);
  10793. }
  10794. void XPhone_TaskRsp::CopyFrom(const XPhone_TaskRsp& from) {
  10795. if (&from == this) return;
  10796. Clear();
  10797. MergeFrom(from);
  10798. }
  10799. bool XPhone_TaskRsp::IsInitialized() const {
  10800. return true;
  10801. }
  10802. void XPhone_TaskRsp::Swap(XPhone_TaskRsp* other) {
  10803. if (other == this) return;
  10804. InternalSwap(other);
  10805. }
  10806. void XPhone_TaskRsp::InternalSwap(XPhone_TaskRsp* other) {
  10807. std::swap(head_, other->head_);
  10808. std::swap(taskid_, other->taskid_);
  10809. std::swap(tasktype_, other->tasktype_);
  10810. std::swap(taskstatus_, other->taskstatus_);
  10811. _internal_metadata_.Swap(&other->_internal_metadata_);
  10812. std::swap(_cached_size_, other->_cached_size_);
  10813. }
  10814. ::google::protobuf::Metadata XPhone_TaskRsp::GetMetadata() const {
  10815. protobuf_AssignDescriptorsOnce();
  10816. ::google::protobuf::Metadata metadata;
  10817. metadata.descriptor = XPhone_TaskRsp_descriptor_;
  10818. metadata.reflection = XPhone_TaskRsp_reflection_;
  10819. return metadata;
  10820. }
  10821. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  10822. // XPhone_TaskRsp
  10823. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  10824. bool XPhone_TaskRsp::has_head() const {
  10825. return !_is_default_instance_ && head_ != NULL;
  10826. }
  10827. void XPhone_TaskRsp::clear_head() {
  10828. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  10829. head_ = NULL;
  10830. }
  10831. const ::XPhonePlus::XPhone_MsgBase& XPhone_TaskRsp::head() const {
  10832. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskRsp.head)
  10833. return head_ != NULL ? *head_ : *default_instance_->head_;
  10834. }
  10835. ::XPhonePlus::XPhone_MsgBase* XPhone_TaskRsp::mutable_head() {
  10836. if (head_ == NULL) {
  10837. head_ = new ::XPhonePlus::XPhone_MsgBase;
  10838. }
  10839. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_TaskRsp.head)
  10840. return head_;
  10841. }
  10842. ::XPhonePlus::XPhone_MsgBase* XPhone_TaskRsp::release_head() {
  10843. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  10844. head_ = NULL;
  10845. return temp;
  10846. }
  10847. void XPhone_TaskRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  10848. delete head_;
  10849. head_ = head;
  10850. if (head) {
  10851. } else {
  10852. }
  10853. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_TaskRsp.head)
  10854. }
  10855. // optional int32 taskID = 2;
  10856. void XPhone_TaskRsp::clear_taskid() {
  10857. taskid_ = 0;
  10858. }
  10859. ::google::protobuf::int32 XPhone_TaskRsp::taskid() const {
  10860. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskRsp.taskID)
  10861. return taskid_;
  10862. }
  10863. void XPhone_TaskRsp::set_taskid(::google::protobuf::int32 value) {
  10864. taskid_ = value;
  10865. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskRsp.taskID)
  10866. }
  10867. // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
  10868. void XPhone_TaskRsp::clear_tasktype() {
  10869. tasktype_ = 0;
  10870. }
  10871. ::XPhonePlus::XPhone_TaskType XPhone_TaskRsp::tasktype() const {
  10872. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskRsp.tasktype)
  10873. return static_cast< ::XPhonePlus::XPhone_TaskType >(tasktype_);
  10874. }
  10875. void XPhone_TaskRsp::set_tasktype(::XPhonePlus::XPhone_TaskType value) {
  10876. tasktype_ = value;
  10877. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskRsp.tasktype)
  10878. }
  10879. // optional .XPhonePlus.XPhone_TaskStatus taskstatus = 4;
  10880. void XPhone_TaskRsp::clear_taskstatus() {
  10881. taskstatus_ = 0;
  10882. }
  10883. ::XPhonePlus::XPhone_TaskStatus XPhone_TaskRsp::taskstatus() const {
  10884. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskRsp.taskstatus)
  10885. return static_cast< ::XPhonePlus::XPhone_TaskStatus >(taskstatus_);
  10886. }
  10887. void XPhone_TaskRsp::set_taskstatus(::XPhonePlus::XPhone_TaskStatus value) {
  10888. taskstatus_ = value;
  10889. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskRsp.taskstatus)
  10890. }
  10891. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  10892. // ===================================================================
  10893. #ifndef _MSC_VER
  10894. const int XPhone_ContactInfo::kStrUserNameFieldNumber;
  10895. const int XPhone_ContactInfo::kStrNickerNameFieldNumber;
  10896. const int XPhone_ContactInfo::kStrWeichatFieldNumber;
  10897. const int XPhone_ContactInfo::kStrSignatureFieldNumber;
  10898. const int XPhone_ContactInfo::kISexFieldNumber;
  10899. #endif // !_MSC_VER
  10900. XPhone_ContactInfo::XPhone_ContactInfo()
  10901. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  10902. SharedCtor();
  10903. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ContactInfo)
  10904. }
  10905. void XPhone_ContactInfo::InitAsDefaultInstance() {
  10906. _is_default_instance_ = true;
  10907. }
  10908. XPhone_ContactInfo::XPhone_ContactInfo(const XPhone_ContactInfo& from)
  10909. : ::google::protobuf::Message(),
  10910. _internal_metadata_(NULL) {
  10911. SharedCtor();
  10912. MergeFrom(from);
  10913. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ContactInfo)
  10914. }
  10915. void XPhone_ContactInfo::SharedCtor() {
  10916. _is_default_instance_ = false;
  10917. ::google::protobuf::internal::GetEmptyString();
  10918. _cached_size_ = 0;
  10919. strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10920. strnickername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10921. strweichat_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10922. strsignature_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10923. isex_ = 0;
  10924. }
  10925. XPhone_ContactInfo::~XPhone_ContactInfo() {
  10926. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ContactInfo)
  10927. SharedDtor();
  10928. }
  10929. void XPhone_ContactInfo::SharedDtor() {
  10930. strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10931. strnickername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10932. strweichat_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10933. strsignature_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10934. if (this != default_instance_) {
  10935. }
  10936. }
  10937. void XPhone_ContactInfo::SetCachedSize(int size) const {
  10938. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10939. _cached_size_ = size;
  10940. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10941. }
  10942. const ::google::protobuf::Descriptor* XPhone_ContactInfo::descriptor() {
  10943. protobuf_AssignDescriptorsOnce();
  10944. return XPhone_ContactInfo_descriptor_;
  10945. }
  10946. const XPhone_ContactInfo& XPhone_ContactInfo::default_instance() {
  10947. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  10948. return *default_instance_;
  10949. }
  10950. XPhone_ContactInfo* XPhone_ContactInfo::default_instance_ = NULL;
  10951. XPhone_ContactInfo* XPhone_ContactInfo::New(::google::protobuf::Arena* arena) const {
  10952. XPhone_ContactInfo* n = new XPhone_ContactInfo;
  10953. if (arena != NULL) {
  10954. arena->Own(n);
  10955. }
  10956. return n;
  10957. }
  10958. void XPhone_ContactInfo::Clear() {
  10959. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10960. strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10961. strweichat_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10962. strsignature_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  10963. isex_ = 0;
  10964. }
  10965. bool XPhone_ContactInfo::MergePartialFromCodedStream(
  10966. ::google::protobuf::io::CodedInputStream* input) {
  10967. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  10968. ::google::protobuf::uint32 tag;
  10969. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ContactInfo)
  10970. for (;;) {
  10971. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  10972. tag = p.first;
  10973. if (!p.second) goto handle_unusual;
  10974. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10975. // optional string strUserName = 1;
  10976. case 1: {
  10977. if (tag == 10) {
  10978. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  10979. input, this->mutable_strusername()));
  10980. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  10981. this->strusername().data(), this->strusername().length(),
  10982. ::google::protobuf::internal::WireFormatLite::PARSE,
  10983. "XPhonePlus.XPhone_ContactInfo.strUserName"));
  10984. } else {
  10985. goto handle_unusual;
  10986. }
  10987. if (input->ExpectTag(18)) goto parse_strNickerName;
  10988. break;
  10989. }
  10990. // optional string strNickerName = 2;
  10991. case 2: {
  10992. if (tag == 18) {
  10993. parse_strNickerName:
  10994. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  10995. input, this->mutable_strnickername()));
  10996. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  10997. this->strnickername().data(), this->strnickername().length(),
  10998. ::google::protobuf::internal::WireFormatLite::PARSE,
  10999. "XPhonePlus.XPhone_ContactInfo.strNickerName"));
  11000. } else {
  11001. goto handle_unusual;
  11002. }
  11003. if (input->ExpectTag(26)) goto parse_strWeichat;
  11004. break;
  11005. }
  11006. // optional string strWeichat = 3;
  11007. case 3: {
  11008. if (tag == 26) {
  11009. parse_strWeichat:
  11010. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  11011. input, this->mutable_strweichat()));
  11012. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  11013. this->strweichat().data(), this->strweichat().length(),
  11014. ::google::protobuf::internal::WireFormatLite::PARSE,
  11015. "XPhonePlus.XPhone_ContactInfo.strWeichat"));
  11016. } else {
  11017. goto handle_unusual;
  11018. }
  11019. if (input->ExpectTag(34)) goto parse_strSignature;
  11020. break;
  11021. }
  11022. // optional string strSignature = 4;
  11023. case 4: {
  11024. if (tag == 34) {
  11025. parse_strSignature:
  11026. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  11027. input, this->mutable_strsignature()));
  11028. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  11029. this->strsignature().data(), this->strsignature().length(),
  11030. ::google::protobuf::internal::WireFormatLite::PARSE,
  11031. "XPhonePlus.XPhone_ContactInfo.strSignature"));
  11032. } else {
  11033. goto handle_unusual;
  11034. }
  11035. if (input->ExpectTag(40)) goto parse_iSex;
  11036. break;
  11037. }
  11038. // optional int32 iSex = 5;
  11039. case 5: {
  11040. if (tag == 40) {
  11041. parse_iSex:
  11042. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11043. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11044. input, &isex_)));
  11045. } else {
  11046. goto handle_unusual;
  11047. }
  11048. if (input->ExpectAtEnd()) goto success;
  11049. break;
  11050. }
  11051. default: {
  11052. handle_unusual:
  11053. if (tag == 0 ||
  11054. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11055. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11056. goto success;
  11057. }
  11058. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  11059. break;
  11060. }
  11061. }
  11062. }
  11063. success:
  11064. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ContactInfo)
  11065. return true;
  11066. failure:
  11067. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ContactInfo)
  11068. return false;
  11069. #undef DO_
  11070. }
  11071. void XPhone_ContactInfo::SerializeWithCachedSizes(
  11072. ::google::protobuf::io::CodedOutputStream* output) const {
  11073. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ContactInfo)
  11074. // optional string strUserName = 1;
  11075. if (this->strusername().size() > 0) {
  11076. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  11077. this->strusername().data(), this->strusername().length(),
  11078. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  11079. "XPhonePlus.XPhone_ContactInfo.strUserName");
  11080. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  11081. 1, this->strusername(), output);
  11082. }
  11083. // optional string strNickerName = 2;
  11084. if (this->strnickername().size() > 0) {
  11085. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  11086. this->strnickername().data(), this->strnickername().length(),
  11087. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  11088. "XPhonePlus.XPhone_ContactInfo.strNickerName");
  11089. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  11090. 2, this->strnickername(), output);
  11091. }
  11092. // optional string strWeichat = 3;
  11093. if (this->strweichat().size() > 0) {
  11094. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  11095. this->strweichat().data(), this->strweichat().length(),
  11096. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  11097. "XPhonePlus.XPhone_ContactInfo.strWeichat");
  11098. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  11099. 3, this->strweichat(), output);
  11100. }
  11101. // optional string strSignature = 4;
  11102. if (this->strsignature().size() > 0) {
  11103. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  11104. this->strsignature().data(), this->strsignature().length(),
  11105. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  11106. "XPhonePlus.XPhone_ContactInfo.strSignature");
  11107. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  11108. 4, this->strsignature(), output);
  11109. }
  11110. // optional int32 iSex = 5;
  11111. if (this->isex() != 0) {
  11112. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->isex(), output);
  11113. }
  11114. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ContactInfo)
  11115. }
  11116. ::google::protobuf::uint8* XPhone_ContactInfo::SerializeWithCachedSizesToArray(
  11117. ::google::protobuf::uint8* target) const {
  11118. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ContactInfo)
  11119. // optional string strUserName = 1;
  11120. if (this->strusername().size() > 0) {
  11121. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  11122. this->strusername().data(), this->strusername().length(),
  11123. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  11124. "XPhonePlus.XPhone_ContactInfo.strUserName");
  11125. target =
  11126. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  11127. 1, this->strusername(), target);
  11128. }
  11129. // optional string strNickerName = 2;
  11130. if (this->strnickername().size() > 0) {
  11131. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  11132. this->strnickername().data(), this->strnickername().length(),
  11133. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  11134. "XPhonePlus.XPhone_ContactInfo.strNickerName");
  11135. target =
  11136. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  11137. 2, this->strnickername(), target);
  11138. }
  11139. // optional string strWeichat = 3;
  11140. if (this->strweichat().size() > 0) {
  11141. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  11142. this->strweichat().data(), this->strweichat().length(),
  11143. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  11144. "XPhonePlus.XPhone_ContactInfo.strWeichat");
  11145. target =
  11146. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  11147. 3, this->strweichat(), target);
  11148. }
  11149. // optional string strSignature = 4;
  11150. if (this->strsignature().size() > 0) {
  11151. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  11152. this->strsignature().data(), this->strsignature().length(),
  11153. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  11154. "XPhonePlus.XPhone_ContactInfo.strSignature");
  11155. target =
  11156. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  11157. 4, this->strsignature(), target);
  11158. }
  11159. // optional int32 iSex = 5;
  11160. if (this->isex() != 0) {
  11161. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->isex(), target);
  11162. }
  11163. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ContactInfo)
  11164. return target;
  11165. }
  11166. int XPhone_ContactInfo::ByteSize() const {
  11167. int total_size = 0;
  11168. // optional string strUserName = 1;
  11169. if (this->strusername().size() > 0) {
  11170. total_size += 1 +
  11171. ::google::protobuf::internal::WireFormatLite::StringSize(
  11172. this->strusername());
  11173. }
  11174. // optional string strNickerName = 2;
  11175. if (this->strnickername().size() > 0) {
  11176. total_size += 1 +
  11177. ::google::protobuf::internal::WireFormatLite::StringSize(
  11178. this->strnickername());
  11179. }
  11180. // optional string strWeichat = 3;
  11181. if (this->strweichat().size() > 0) {
  11182. total_size += 1 +
  11183. ::google::protobuf::internal::WireFormatLite::StringSize(
  11184. this->strweichat());
  11185. }
  11186. // optional string strSignature = 4;
  11187. if (this->strsignature().size() > 0) {
  11188. total_size += 1 +
  11189. ::google::protobuf::internal::WireFormatLite::StringSize(
  11190. this->strsignature());
  11191. }
  11192. // optional int32 iSex = 5;
  11193. if (this->isex() != 0) {
  11194. total_size += 1 +
  11195. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11196. this->isex());
  11197. }
  11198. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11199. _cached_size_ = total_size;
  11200. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11201. return total_size;
  11202. }
  11203. void XPhone_ContactInfo::MergeFrom(const ::google::protobuf::Message& from) {
  11204. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  11205. const XPhone_ContactInfo* source =
  11206. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ContactInfo>(
  11207. &from);
  11208. if (source == NULL) {
  11209. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11210. } else {
  11211. MergeFrom(*source);
  11212. }
  11213. }
  11214. void XPhone_ContactInfo::MergeFrom(const XPhone_ContactInfo& from) {
  11215. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  11216. if (from.strusername().size() > 0) {
  11217. strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
  11218. }
  11219. if (from.strnickername().size() > 0) {
  11220. strnickername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strnickername_);
  11221. }
  11222. if (from.strweichat().size() > 0) {
  11223. strweichat_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strweichat_);
  11224. }
  11225. if (from.strsignature().size() > 0) {
  11226. strsignature_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strsignature_);
  11227. }
  11228. if (from.isex() != 0) {
  11229. set_isex(from.isex());
  11230. }
  11231. }
  11232. void XPhone_ContactInfo::CopyFrom(const ::google::protobuf::Message& from) {
  11233. if (&from == this) return;
  11234. Clear();
  11235. MergeFrom(from);
  11236. }
  11237. void XPhone_ContactInfo::CopyFrom(const XPhone_ContactInfo& from) {
  11238. if (&from == this) return;
  11239. Clear();
  11240. MergeFrom(from);
  11241. }
  11242. bool XPhone_ContactInfo::IsInitialized() const {
  11243. return true;
  11244. }
  11245. void XPhone_ContactInfo::Swap(XPhone_ContactInfo* other) {
  11246. if (other == this) return;
  11247. InternalSwap(other);
  11248. }
  11249. void XPhone_ContactInfo::InternalSwap(XPhone_ContactInfo* other) {
  11250. strusername_.Swap(&other->strusername_);
  11251. strnickername_.Swap(&other->strnickername_);
  11252. strweichat_.Swap(&other->strweichat_);
  11253. strsignature_.Swap(&other->strsignature_);
  11254. std::swap(isex_, other->isex_);
  11255. _internal_metadata_.Swap(&other->_internal_metadata_);
  11256. std::swap(_cached_size_, other->_cached_size_);
  11257. }
  11258. ::google::protobuf::Metadata XPhone_ContactInfo::GetMetadata() const {
  11259. protobuf_AssignDescriptorsOnce();
  11260. ::google::protobuf::Metadata metadata;
  11261. metadata.descriptor = XPhone_ContactInfo_descriptor_;
  11262. metadata.reflection = XPhone_ContactInfo_reflection_;
  11263. return metadata;
  11264. }
  11265. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  11266. // XPhone_ContactInfo
  11267. // optional string strUserName = 1;
  11268. void XPhone_ContactInfo::clear_strusername() {
  11269. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11270. }
  11271. const ::std::string& XPhone_ContactInfo::strusername() const {
  11272. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfo.strUserName)
  11273. return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11274. }
  11275. void XPhone_ContactInfo::set_strusername(const ::std::string& value) {
  11276. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  11277. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactInfo.strUserName)
  11278. }
  11279. void XPhone_ContactInfo::set_strusername(const char* value) {
  11280. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  11281. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ContactInfo.strUserName)
  11282. }
  11283. void XPhone_ContactInfo::set_strusername(const char* value, size_t size) {
  11284. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  11285. ::std::string(reinterpret_cast<const char*>(value), size));
  11286. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ContactInfo.strUserName)
  11287. }
  11288. ::std::string* XPhone_ContactInfo::mutable_strusername() {
  11289. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfo.strUserName)
  11290. return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11291. }
  11292. ::std::string* XPhone_ContactInfo::release_strusername() {
  11293. return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11294. }
  11295. void XPhone_ContactInfo::set_allocated_strusername(::std::string* strusername) {
  11296. if (strusername != NULL) {
  11297. } else {
  11298. }
  11299. strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
  11300. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactInfo.strUserName)
  11301. }
  11302. // optional string strNickerName = 2;
  11303. void XPhone_ContactInfo::clear_strnickername() {
  11304. strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11305. }
  11306. const ::std::string& XPhone_ContactInfo::strnickername() const {
  11307. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfo.strNickerName)
  11308. return strnickername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11309. }
  11310. void XPhone_ContactInfo::set_strnickername(const ::std::string& value) {
  11311. strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  11312. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactInfo.strNickerName)
  11313. }
  11314. void XPhone_ContactInfo::set_strnickername(const char* value) {
  11315. strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  11316. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ContactInfo.strNickerName)
  11317. }
  11318. void XPhone_ContactInfo::set_strnickername(const char* value, size_t size) {
  11319. strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  11320. ::std::string(reinterpret_cast<const char*>(value), size));
  11321. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ContactInfo.strNickerName)
  11322. }
  11323. ::std::string* XPhone_ContactInfo::mutable_strnickername() {
  11324. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfo.strNickerName)
  11325. return strnickername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11326. }
  11327. ::std::string* XPhone_ContactInfo::release_strnickername() {
  11328. return strnickername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11329. }
  11330. void XPhone_ContactInfo::set_allocated_strnickername(::std::string* strnickername) {
  11331. if (strnickername != NULL) {
  11332. } else {
  11333. }
  11334. strnickername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strnickername);
  11335. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactInfo.strNickerName)
  11336. }
  11337. // optional string strWeichat = 3;
  11338. void XPhone_ContactInfo::clear_strweichat() {
  11339. strweichat_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11340. }
  11341. const ::std::string& XPhone_ContactInfo::strweichat() const {
  11342. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfo.strWeichat)
  11343. return strweichat_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11344. }
  11345. void XPhone_ContactInfo::set_strweichat(const ::std::string& value) {
  11346. strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  11347. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactInfo.strWeichat)
  11348. }
  11349. void XPhone_ContactInfo::set_strweichat(const char* value) {
  11350. strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  11351. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ContactInfo.strWeichat)
  11352. }
  11353. void XPhone_ContactInfo::set_strweichat(const char* value, size_t size) {
  11354. strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  11355. ::std::string(reinterpret_cast<const char*>(value), size));
  11356. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ContactInfo.strWeichat)
  11357. }
  11358. ::std::string* XPhone_ContactInfo::mutable_strweichat() {
  11359. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfo.strWeichat)
  11360. return strweichat_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11361. }
  11362. ::std::string* XPhone_ContactInfo::release_strweichat() {
  11363. return strweichat_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11364. }
  11365. void XPhone_ContactInfo::set_allocated_strweichat(::std::string* strweichat) {
  11366. if (strweichat != NULL) {
  11367. } else {
  11368. }
  11369. strweichat_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strweichat);
  11370. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactInfo.strWeichat)
  11371. }
  11372. // optional string strSignature = 4;
  11373. void XPhone_ContactInfo::clear_strsignature() {
  11374. strsignature_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11375. }
  11376. const ::std::string& XPhone_ContactInfo::strsignature() const {
  11377. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfo.strSignature)
  11378. return strsignature_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11379. }
  11380. void XPhone_ContactInfo::set_strsignature(const ::std::string& value) {
  11381. strsignature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  11382. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactInfo.strSignature)
  11383. }
  11384. void XPhone_ContactInfo::set_strsignature(const char* value) {
  11385. strsignature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  11386. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ContactInfo.strSignature)
  11387. }
  11388. void XPhone_ContactInfo::set_strsignature(const char* value, size_t size) {
  11389. strsignature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  11390. ::std::string(reinterpret_cast<const char*>(value), size));
  11391. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ContactInfo.strSignature)
  11392. }
  11393. ::std::string* XPhone_ContactInfo::mutable_strsignature() {
  11394. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfo.strSignature)
  11395. return strsignature_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11396. }
  11397. ::std::string* XPhone_ContactInfo::release_strsignature() {
  11398. return strsignature_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11399. }
  11400. void XPhone_ContactInfo::set_allocated_strsignature(::std::string* strsignature) {
  11401. if (strsignature != NULL) {
  11402. } else {
  11403. }
  11404. strsignature_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strsignature);
  11405. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactInfo.strSignature)
  11406. }
  11407. // optional int32 iSex = 5;
  11408. void XPhone_ContactInfo::clear_isex() {
  11409. isex_ = 0;
  11410. }
  11411. ::google::protobuf::int32 XPhone_ContactInfo::isex() const {
  11412. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfo.iSex)
  11413. return isex_;
  11414. }
  11415. void XPhone_ContactInfo::set_isex(::google::protobuf::int32 value) {
  11416. isex_ = value;
  11417. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactInfo.iSex)
  11418. }
  11419. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  11420. // ===================================================================
  11421. #ifndef _MSC_VER
  11422. const int XPhone_ContactInfoRsp::kHeadFieldNumber;
  11423. const int XPhone_ContactInfoRsp::kContactlistFieldNumber;
  11424. #endif // !_MSC_VER
  11425. XPhone_ContactInfoRsp::XPhone_ContactInfoRsp()
  11426. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  11427. SharedCtor();
  11428. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ContactInfoRsp)
  11429. }
  11430. void XPhone_ContactInfoRsp::InitAsDefaultInstance() {
  11431. _is_default_instance_ = true;
  11432. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  11433. }
  11434. XPhone_ContactInfoRsp::XPhone_ContactInfoRsp(const XPhone_ContactInfoRsp& from)
  11435. : ::google::protobuf::Message(),
  11436. _internal_metadata_(NULL) {
  11437. SharedCtor();
  11438. MergeFrom(from);
  11439. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ContactInfoRsp)
  11440. }
  11441. void XPhone_ContactInfoRsp::SharedCtor() {
  11442. _is_default_instance_ = false;
  11443. _cached_size_ = 0;
  11444. head_ = NULL;
  11445. }
  11446. XPhone_ContactInfoRsp::~XPhone_ContactInfoRsp() {
  11447. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ContactInfoRsp)
  11448. SharedDtor();
  11449. }
  11450. void XPhone_ContactInfoRsp::SharedDtor() {
  11451. if (this != default_instance_) {
  11452. delete head_;
  11453. }
  11454. }
  11455. void XPhone_ContactInfoRsp::SetCachedSize(int size) const {
  11456. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11457. _cached_size_ = size;
  11458. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11459. }
  11460. const ::google::protobuf::Descriptor* XPhone_ContactInfoRsp::descriptor() {
  11461. protobuf_AssignDescriptorsOnce();
  11462. return XPhone_ContactInfoRsp_descriptor_;
  11463. }
  11464. const XPhone_ContactInfoRsp& XPhone_ContactInfoRsp::default_instance() {
  11465. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  11466. return *default_instance_;
  11467. }
  11468. XPhone_ContactInfoRsp* XPhone_ContactInfoRsp::default_instance_ = NULL;
  11469. XPhone_ContactInfoRsp* XPhone_ContactInfoRsp::New(::google::protobuf::Arena* arena) const {
  11470. XPhone_ContactInfoRsp* n = new XPhone_ContactInfoRsp;
  11471. if (arena != NULL) {
  11472. arena->Own(n);
  11473. }
  11474. return n;
  11475. }
  11476. void XPhone_ContactInfoRsp::Clear() {
  11477. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  11478. head_ = NULL;
  11479. contactlist_.Clear();
  11480. }
  11481. bool XPhone_ContactInfoRsp::MergePartialFromCodedStream(
  11482. ::google::protobuf::io::CodedInputStream* input) {
  11483. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  11484. ::google::protobuf::uint32 tag;
  11485. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ContactInfoRsp)
  11486. for (;;) {
  11487. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  11488. tag = p.first;
  11489. if (!p.second) goto handle_unusual;
  11490. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11491. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  11492. case 1: {
  11493. if (tag == 10) {
  11494. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  11495. input, mutable_head()));
  11496. } else {
  11497. goto handle_unusual;
  11498. }
  11499. if (input->ExpectTag(18)) goto parse_contactlist;
  11500. break;
  11501. }
  11502. // repeated .XPhonePlus.XPhone_ContactInfo contactlist = 2;
  11503. case 2: {
  11504. if (tag == 18) {
  11505. parse_contactlist:
  11506. DO_(input->IncrementRecursionDepth());
  11507. parse_loop_contactlist:
  11508. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
  11509. input, add_contactlist()));
  11510. } else {
  11511. goto handle_unusual;
  11512. }
  11513. if (input->ExpectTag(18)) goto parse_loop_contactlist;
  11514. input->UnsafeDecrementRecursionDepth();
  11515. if (input->ExpectAtEnd()) goto success;
  11516. break;
  11517. }
  11518. default: {
  11519. handle_unusual:
  11520. if (tag == 0 ||
  11521. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11522. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11523. goto success;
  11524. }
  11525. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  11526. break;
  11527. }
  11528. }
  11529. }
  11530. success:
  11531. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ContactInfoRsp)
  11532. return true;
  11533. failure:
  11534. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ContactInfoRsp)
  11535. return false;
  11536. #undef DO_
  11537. }
  11538. void XPhone_ContactInfoRsp::SerializeWithCachedSizes(
  11539. ::google::protobuf::io::CodedOutputStream* output) const {
  11540. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ContactInfoRsp)
  11541. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  11542. if (this->has_head()) {
  11543. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  11544. 1, *this->head_, output);
  11545. }
  11546. // repeated .XPhonePlus.XPhone_ContactInfo contactlist = 2;
  11547. for (unsigned int i = 0, n = this->contactlist_size(); i < n; i++) {
  11548. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  11549. 2, this->contactlist(i), output);
  11550. }
  11551. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ContactInfoRsp)
  11552. }
  11553. ::google::protobuf::uint8* XPhone_ContactInfoRsp::SerializeWithCachedSizesToArray(
  11554. ::google::protobuf::uint8* target) const {
  11555. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ContactInfoRsp)
  11556. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  11557. if (this->has_head()) {
  11558. target = ::google::protobuf::internal::WireFormatLite::
  11559. WriteMessageNoVirtualToArray(
  11560. 1, *this->head_, target);
  11561. }
  11562. // repeated .XPhonePlus.XPhone_ContactInfo contactlist = 2;
  11563. for (unsigned int i = 0, n = this->contactlist_size(); i < n; i++) {
  11564. target = ::google::protobuf::internal::WireFormatLite::
  11565. WriteMessageNoVirtualToArray(
  11566. 2, this->contactlist(i), target);
  11567. }
  11568. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ContactInfoRsp)
  11569. return target;
  11570. }
  11571. int XPhone_ContactInfoRsp::ByteSize() const {
  11572. int total_size = 0;
  11573. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  11574. if (this->has_head()) {
  11575. total_size += 1 +
  11576. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  11577. *this->head_);
  11578. }
  11579. // repeated .XPhonePlus.XPhone_ContactInfo contactlist = 2;
  11580. total_size += 1 * this->contactlist_size();
  11581. for (int i = 0; i < this->contactlist_size(); i++) {
  11582. total_size +=
  11583. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  11584. this->contactlist(i));
  11585. }
  11586. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11587. _cached_size_ = total_size;
  11588. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11589. return total_size;
  11590. }
  11591. void XPhone_ContactInfoRsp::MergeFrom(const ::google::protobuf::Message& from) {
  11592. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  11593. const XPhone_ContactInfoRsp* source =
  11594. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ContactInfoRsp>(
  11595. &from);
  11596. if (source == NULL) {
  11597. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11598. } else {
  11599. MergeFrom(*source);
  11600. }
  11601. }
  11602. void XPhone_ContactInfoRsp::MergeFrom(const XPhone_ContactInfoRsp& from) {
  11603. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  11604. contactlist_.MergeFrom(from.contactlist_);
  11605. if (from.has_head()) {
  11606. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  11607. }
  11608. }
  11609. void XPhone_ContactInfoRsp::CopyFrom(const ::google::protobuf::Message& from) {
  11610. if (&from == this) return;
  11611. Clear();
  11612. MergeFrom(from);
  11613. }
  11614. void XPhone_ContactInfoRsp::CopyFrom(const XPhone_ContactInfoRsp& from) {
  11615. if (&from == this) return;
  11616. Clear();
  11617. MergeFrom(from);
  11618. }
  11619. bool XPhone_ContactInfoRsp::IsInitialized() const {
  11620. return true;
  11621. }
  11622. void XPhone_ContactInfoRsp::Swap(XPhone_ContactInfoRsp* other) {
  11623. if (other == this) return;
  11624. InternalSwap(other);
  11625. }
  11626. void XPhone_ContactInfoRsp::InternalSwap(XPhone_ContactInfoRsp* other) {
  11627. std::swap(head_, other->head_);
  11628. contactlist_.UnsafeArenaSwap(&other->contactlist_);
  11629. _internal_metadata_.Swap(&other->_internal_metadata_);
  11630. std::swap(_cached_size_, other->_cached_size_);
  11631. }
  11632. ::google::protobuf::Metadata XPhone_ContactInfoRsp::GetMetadata() const {
  11633. protobuf_AssignDescriptorsOnce();
  11634. ::google::protobuf::Metadata metadata;
  11635. metadata.descriptor = XPhone_ContactInfoRsp_descriptor_;
  11636. metadata.reflection = XPhone_ContactInfoRsp_reflection_;
  11637. return metadata;
  11638. }
  11639. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  11640. // XPhone_ContactInfoRsp
  11641. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  11642. bool XPhone_ContactInfoRsp::has_head() const {
  11643. return !_is_default_instance_ && head_ != NULL;
  11644. }
  11645. void XPhone_ContactInfoRsp::clear_head() {
  11646. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  11647. head_ = NULL;
  11648. }
  11649. const ::XPhonePlus::XPhone_MsgBase& XPhone_ContactInfoRsp::head() const {
  11650. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfoRsp.head)
  11651. return head_ != NULL ? *head_ : *default_instance_->head_;
  11652. }
  11653. ::XPhonePlus::XPhone_MsgBase* XPhone_ContactInfoRsp::mutable_head() {
  11654. if (head_ == NULL) {
  11655. head_ = new ::XPhonePlus::XPhone_MsgBase;
  11656. }
  11657. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfoRsp.head)
  11658. return head_;
  11659. }
  11660. ::XPhonePlus::XPhone_MsgBase* XPhone_ContactInfoRsp::release_head() {
  11661. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  11662. head_ = NULL;
  11663. return temp;
  11664. }
  11665. void XPhone_ContactInfoRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  11666. delete head_;
  11667. head_ = head;
  11668. if (head) {
  11669. } else {
  11670. }
  11671. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactInfoRsp.head)
  11672. }
  11673. // repeated .XPhonePlus.XPhone_ContactInfo contactlist = 2;
  11674. int XPhone_ContactInfoRsp::contactlist_size() const {
  11675. return contactlist_.size();
  11676. }
  11677. void XPhone_ContactInfoRsp::clear_contactlist() {
  11678. contactlist_.Clear();
  11679. }
  11680. const ::XPhonePlus::XPhone_ContactInfo& XPhone_ContactInfoRsp::contactlist(int index) const {
  11681. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfoRsp.contactlist)
  11682. return contactlist_.Get(index);
  11683. }
  11684. ::XPhonePlus::XPhone_ContactInfo* XPhone_ContactInfoRsp::mutable_contactlist(int index) {
  11685. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfoRsp.contactlist)
  11686. return contactlist_.Mutable(index);
  11687. }
  11688. ::XPhonePlus::XPhone_ContactInfo* XPhone_ContactInfoRsp::add_contactlist() {
  11689. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ContactInfoRsp.contactlist)
  11690. return contactlist_.Add();
  11691. }
  11692. ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ContactInfo >*
  11693. XPhone_ContactInfoRsp::mutable_contactlist() {
  11694. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ContactInfoRsp.contactlist)
  11695. return &contactlist_;
  11696. }
  11697. const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ContactInfo >&
  11698. XPhone_ContactInfoRsp::contactlist() const {
  11699. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ContactInfoRsp.contactlist)
  11700. return contactlist_;
  11701. }
  11702. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  11703. // ===================================================================
  11704. #ifndef _MSC_VER
  11705. const int XPhone_ChatRoomInfoReq::kHeadFieldNumber;
  11706. const int XPhone_ChatRoomInfoReq::kBFriendFieldNumber;
  11707. #endif // !_MSC_VER
  11708. XPhone_ChatRoomInfoReq::XPhone_ChatRoomInfoReq()
  11709. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  11710. SharedCtor();
  11711. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ChatRoomInfoReq)
  11712. }
  11713. void XPhone_ChatRoomInfoReq::InitAsDefaultInstance() {
  11714. _is_default_instance_ = true;
  11715. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  11716. }
  11717. XPhone_ChatRoomInfoReq::XPhone_ChatRoomInfoReq(const XPhone_ChatRoomInfoReq& from)
  11718. : ::google::protobuf::Message(),
  11719. _internal_metadata_(NULL) {
  11720. SharedCtor();
  11721. MergeFrom(from);
  11722. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ChatRoomInfoReq)
  11723. }
  11724. void XPhone_ChatRoomInfoReq::SharedCtor() {
  11725. _is_default_instance_ = false;
  11726. _cached_size_ = 0;
  11727. head_ = NULL;
  11728. bfriend_ = false;
  11729. }
  11730. XPhone_ChatRoomInfoReq::~XPhone_ChatRoomInfoReq() {
  11731. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ChatRoomInfoReq)
  11732. SharedDtor();
  11733. }
  11734. void XPhone_ChatRoomInfoReq::SharedDtor() {
  11735. if (this != default_instance_) {
  11736. delete head_;
  11737. }
  11738. }
  11739. void XPhone_ChatRoomInfoReq::SetCachedSize(int size) const {
  11740. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11741. _cached_size_ = size;
  11742. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11743. }
  11744. const ::google::protobuf::Descriptor* XPhone_ChatRoomInfoReq::descriptor() {
  11745. protobuf_AssignDescriptorsOnce();
  11746. return XPhone_ChatRoomInfoReq_descriptor_;
  11747. }
  11748. const XPhone_ChatRoomInfoReq& XPhone_ChatRoomInfoReq::default_instance() {
  11749. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  11750. return *default_instance_;
  11751. }
  11752. XPhone_ChatRoomInfoReq* XPhone_ChatRoomInfoReq::default_instance_ = NULL;
  11753. XPhone_ChatRoomInfoReq* XPhone_ChatRoomInfoReq::New(::google::protobuf::Arena* arena) const {
  11754. XPhone_ChatRoomInfoReq* n = new XPhone_ChatRoomInfoReq;
  11755. if (arena != NULL) {
  11756. arena->Own(n);
  11757. }
  11758. return n;
  11759. }
  11760. void XPhone_ChatRoomInfoReq::Clear() {
  11761. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  11762. head_ = NULL;
  11763. bfriend_ = false;
  11764. }
  11765. bool XPhone_ChatRoomInfoReq::MergePartialFromCodedStream(
  11766. ::google::protobuf::io::CodedInputStream* input) {
  11767. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  11768. ::google::protobuf::uint32 tag;
  11769. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ChatRoomInfoReq)
  11770. for (;;) {
  11771. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  11772. tag = p.first;
  11773. if (!p.second) goto handle_unusual;
  11774. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11775. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  11776. case 1: {
  11777. if (tag == 10) {
  11778. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  11779. input, mutable_head()));
  11780. } else {
  11781. goto handle_unusual;
  11782. }
  11783. if (input->ExpectTag(16)) goto parse_bFriend;
  11784. break;
  11785. }
  11786. // optional bool bFriend = 2;
  11787. case 2: {
  11788. if (tag == 16) {
  11789. parse_bFriend:
  11790. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11791. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  11792. input, &bfriend_)));
  11793. } else {
  11794. goto handle_unusual;
  11795. }
  11796. if (input->ExpectAtEnd()) goto success;
  11797. break;
  11798. }
  11799. default: {
  11800. handle_unusual:
  11801. if (tag == 0 ||
  11802. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11803. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11804. goto success;
  11805. }
  11806. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  11807. break;
  11808. }
  11809. }
  11810. }
  11811. success:
  11812. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ChatRoomInfoReq)
  11813. return true;
  11814. failure:
  11815. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ChatRoomInfoReq)
  11816. return false;
  11817. #undef DO_
  11818. }
  11819. void XPhone_ChatRoomInfoReq::SerializeWithCachedSizes(
  11820. ::google::protobuf::io::CodedOutputStream* output) const {
  11821. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ChatRoomInfoReq)
  11822. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  11823. if (this->has_head()) {
  11824. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  11825. 1, *this->head_, output);
  11826. }
  11827. // optional bool bFriend = 2;
  11828. if (this->bfriend() != 0) {
  11829. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->bfriend(), output);
  11830. }
  11831. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ChatRoomInfoReq)
  11832. }
  11833. ::google::protobuf::uint8* XPhone_ChatRoomInfoReq::SerializeWithCachedSizesToArray(
  11834. ::google::protobuf::uint8* target) const {
  11835. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ChatRoomInfoReq)
  11836. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  11837. if (this->has_head()) {
  11838. target = ::google::protobuf::internal::WireFormatLite::
  11839. WriteMessageNoVirtualToArray(
  11840. 1, *this->head_, target);
  11841. }
  11842. // optional bool bFriend = 2;
  11843. if (this->bfriend() != 0) {
  11844. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->bfriend(), target);
  11845. }
  11846. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ChatRoomInfoReq)
  11847. return target;
  11848. }
  11849. int XPhone_ChatRoomInfoReq::ByteSize() const {
  11850. int total_size = 0;
  11851. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  11852. if (this->has_head()) {
  11853. total_size += 1 +
  11854. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  11855. *this->head_);
  11856. }
  11857. // optional bool bFriend = 2;
  11858. if (this->bfriend() != 0) {
  11859. total_size += 1 + 1;
  11860. }
  11861. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11862. _cached_size_ = total_size;
  11863. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11864. return total_size;
  11865. }
  11866. void XPhone_ChatRoomInfoReq::MergeFrom(const ::google::protobuf::Message& from) {
  11867. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  11868. const XPhone_ChatRoomInfoReq* source =
  11869. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ChatRoomInfoReq>(
  11870. &from);
  11871. if (source == NULL) {
  11872. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11873. } else {
  11874. MergeFrom(*source);
  11875. }
  11876. }
  11877. void XPhone_ChatRoomInfoReq::MergeFrom(const XPhone_ChatRoomInfoReq& from) {
  11878. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  11879. if (from.has_head()) {
  11880. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  11881. }
  11882. if (from.bfriend() != 0) {
  11883. set_bfriend(from.bfriend());
  11884. }
  11885. }
  11886. void XPhone_ChatRoomInfoReq::CopyFrom(const ::google::protobuf::Message& from) {
  11887. if (&from == this) return;
  11888. Clear();
  11889. MergeFrom(from);
  11890. }
  11891. void XPhone_ChatRoomInfoReq::CopyFrom(const XPhone_ChatRoomInfoReq& from) {
  11892. if (&from == this) return;
  11893. Clear();
  11894. MergeFrom(from);
  11895. }
  11896. bool XPhone_ChatRoomInfoReq::IsInitialized() const {
  11897. return true;
  11898. }
  11899. void XPhone_ChatRoomInfoReq::Swap(XPhone_ChatRoomInfoReq* other) {
  11900. if (other == this) return;
  11901. InternalSwap(other);
  11902. }
  11903. void XPhone_ChatRoomInfoReq::InternalSwap(XPhone_ChatRoomInfoReq* other) {
  11904. std::swap(head_, other->head_);
  11905. std::swap(bfriend_, other->bfriend_);
  11906. _internal_metadata_.Swap(&other->_internal_metadata_);
  11907. std::swap(_cached_size_, other->_cached_size_);
  11908. }
  11909. ::google::protobuf::Metadata XPhone_ChatRoomInfoReq::GetMetadata() const {
  11910. protobuf_AssignDescriptorsOnce();
  11911. ::google::protobuf::Metadata metadata;
  11912. metadata.descriptor = XPhone_ChatRoomInfoReq_descriptor_;
  11913. metadata.reflection = XPhone_ChatRoomInfoReq_reflection_;
  11914. return metadata;
  11915. }
  11916. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  11917. // XPhone_ChatRoomInfoReq
  11918. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  11919. bool XPhone_ChatRoomInfoReq::has_head() const {
  11920. return !_is_default_instance_ && head_ != NULL;
  11921. }
  11922. void XPhone_ChatRoomInfoReq::clear_head() {
  11923. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  11924. head_ = NULL;
  11925. }
  11926. const ::XPhonePlus::XPhone_MsgBase& XPhone_ChatRoomInfoReq::head() const {
  11927. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfoReq.head)
  11928. return head_ != NULL ? *head_ : *default_instance_->head_;
  11929. }
  11930. ::XPhonePlus::XPhone_MsgBase* XPhone_ChatRoomInfoReq::mutable_head() {
  11931. if (head_ == NULL) {
  11932. head_ = new ::XPhonePlus::XPhone_MsgBase;
  11933. }
  11934. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatRoomInfoReq.head)
  11935. return head_;
  11936. }
  11937. ::XPhonePlus::XPhone_MsgBase* XPhone_ChatRoomInfoReq::release_head() {
  11938. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  11939. head_ = NULL;
  11940. return temp;
  11941. }
  11942. void XPhone_ChatRoomInfoReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  11943. delete head_;
  11944. head_ = head;
  11945. if (head) {
  11946. } else {
  11947. }
  11948. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatRoomInfoReq.head)
  11949. }
  11950. // optional bool bFriend = 2;
  11951. void XPhone_ChatRoomInfoReq::clear_bfriend() {
  11952. bfriend_ = false;
  11953. }
  11954. bool XPhone_ChatRoomInfoReq::bfriend() const {
  11955. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfoReq.bFriend)
  11956. return bfriend_;
  11957. }
  11958. void XPhone_ChatRoomInfoReq::set_bfriend(bool value) {
  11959. bfriend_ = value;
  11960. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatRoomInfoReq.bFriend)
  11961. }
  11962. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  11963. // ===================================================================
  11964. #ifndef _MSC_VER
  11965. const int XPhone_ChatRoomInfo::kChatRoomIDFieldNumber;
  11966. const int XPhone_ChatRoomInfo::kChatRoomNameFieldNumber;
  11967. const int XPhone_ChatRoomInfo::kChatRoomOwnerFieldNumber;
  11968. const int XPhone_ChatRoomInfo::kMembersFieldNumber;
  11969. #endif // !_MSC_VER
  11970. XPhone_ChatRoomInfo::XPhone_ChatRoomInfo()
  11971. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  11972. SharedCtor();
  11973. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ChatRoomInfo)
  11974. }
  11975. void XPhone_ChatRoomInfo::InitAsDefaultInstance() {
  11976. _is_default_instance_ = true;
  11977. }
  11978. XPhone_ChatRoomInfo::XPhone_ChatRoomInfo(const XPhone_ChatRoomInfo& from)
  11979. : ::google::protobuf::Message(),
  11980. _internal_metadata_(NULL) {
  11981. SharedCtor();
  11982. MergeFrom(from);
  11983. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ChatRoomInfo)
  11984. }
  11985. void XPhone_ChatRoomInfo::SharedCtor() {
  11986. _is_default_instance_ = false;
  11987. ::google::protobuf::internal::GetEmptyString();
  11988. _cached_size_ = 0;
  11989. chatroomid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11990. chatroomname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11991. chatroomowner_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11992. }
  11993. XPhone_ChatRoomInfo::~XPhone_ChatRoomInfo() {
  11994. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ChatRoomInfo)
  11995. SharedDtor();
  11996. }
  11997. void XPhone_ChatRoomInfo::SharedDtor() {
  11998. chatroomid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  11999. chatroomname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12000. chatroomowner_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12001. if (this != default_instance_) {
  12002. }
  12003. }
  12004. void XPhone_ChatRoomInfo::SetCachedSize(int size) const {
  12005. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12006. _cached_size_ = size;
  12007. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12008. }
  12009. const ::google::protobuf::Descriptor* XPhone_ChatRoomInfo::descriptor() {
  12010. protobuf_AssignDescriptorsOnce();
  12011. return XPhone_ChatRoomInfo_descriptor_;
  12012. }
  12013. const XPhone_ChatRoomInfo& XPhone_ChatRoomInfo::default_instance() {
  12014. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  12015. return *default_instance_;
  12016. }
  12017. XPhone_ChatRoomInfo* XPhone_ChatRoomInfo::default_instance_ = NULL;
  12018. XPhone_ChatRoomInfo* XPhone_ChatRoomInfo::New(::google::protobuf::Arena* arena) const {
  12019. XPhone_ChatRoomInfo* n = new XPhone_ChatRoomInfo;
  12020. if (arena != NULL) {
  12021. arena->Own(n);
  12022. }
  12023. return n;
  12024. }
  12025. void XPhone_ChatRoomInfo::Clear() {
  12026. chatroomid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12027. chatroomname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12028. chatroomowner_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12029. members_.Clear();
  12030. }
  12031. bool XPhone_ChatRoomInfo::MergePartialFromCodedStream(
  12032. ::google::protobuf::io::CodedInputStream* input) {
  12033. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  12034. ::google::protobuf::uint32 tag;
  12035. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ChatRoomInfo)
  12036. for (;;) {
  12037. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  12038. tag = p.first;
  12039. if (!p.second) goto handle_unusual;
  12040. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12041. // optional string chatRoomID = 1;
  12042. case 1: {
  12043. if (tag == 10) {
  12044. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12045. input, this->mutable_chatroomid()));
  12046. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12047. this->chatroomid().data(), this->chatroomid().length(),
  12048. ::google::protobuf::internal::WireFormatLite::PARSE,
  12049. "XPhonePlus.XPhone_ChatRoomInfo.chatRoomID"));
  12050. } else {
  12051. goto handle_unusual;
  12052. }
  12053. if (input->ExpectTag(18)) goto parse_chatRoomName;
  12054. break;
  12055. }
  12056. // optional string chatRoomName = 2;
  12057. case 2: {
  12058. if (tag == 18) {
  12059. parse_chatRoomName:
  12060. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12061. input, this->mutable_chatroomname()));
  12062. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12063. this->chatroomname().data(), this->chatroomname().length(),
  12064. ::google::protobuf::internal::WireFormatLite::PARSE,
  12065. "XPhonePlus.XPhone_ChatRoomInfo.chatRoomName"));
  12066. } else {
  12067. goto handle_unusual;
  12068. }
  12069. if (input->ExpectTag(26)) goto parse_chatRoomOwner;
  12070. break;
  12071. }
  12072. // optional string chatRoomOwner = 3;
  12073. case 3: {
  12074. if (tag == 26) {
  12075. parse_chatRoomOwner:
  12076. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12077. input, this->mutable_chatroomowner()));
  12078. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12079. this->chatroomowner().data(), this->chatroomowner().length(),
  12080. ::google::protobuf::internal::WireFormatLite::PARSE,
  12081. "XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner"));
  12082. } else {
  12083. goto handle_unusual;
  12084. }
  12085. if (input->ExpectTag(34)) goto parse_members;
  12086. break;
  12087. }
  12088. // repeated .XPhonePlus.XPhone_ContactInfo members = 4;
  12089. case 4: {
  12090. if (tag == 34) {
  12091. parse_members:
  12092. DO_(input->IncrementRecursionDepth());
  12093. parse_loop_members:
  12094. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
  12095. input, add_members()));
  12096. } else {
  12097. goto handle_unusual;
  12098. }
  12099. if (input->ExpectTag(34)) goto parse_loop_members;
  12100. input->UnsafeDecrementRecursionDepth();
  12101. if (input->ExpectAtEnd()) goto success;
  12102. break;
  12103. }
  12104. default: {
  12105. handle_unusual:
  12106. if (tag == 0 ||
  12107. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12108. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12109. goto success;
  12110. }
  12111. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  12112. break;
  12113. }
  12114. }
  12115. }
  12116. success:
  12117. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ChatRoomInfo)
  12118. return true;
  12119. failure:
  12120. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ChatRoomInfo)
  12121. return false;
  12122. #undef DO_
  12123. }
  12124. void XPhone_ChatRoomInfo::SerializeWithCachedSizes(
  12125. ::google::protobuf::io::CodedOutputStream* output) const {
  12126. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ChatRoomInfo)
  12127. // optional string chatRoomID = 1;
  12128. if (this->chatroomid().size() > 0) {
  12129. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12130. this->chatroomid().data(), this->chatroomid().length(),
  12131. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12132. "XPhonePlus.XPhone_ChatRoomInfo.chatRoomID");
  12133. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  12134. 1, this->chatroomid(), output);
  12135. }
  12136. // optional string chatRoomName = 2;
  12137. if (this->chatroomname().size() > 0) {
  12138. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12139. this->chatroomname().data(), this->chatroomname().length(),
  12140. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12141. "XPhonePlus.XPhone_ChatRoomInfo.chatRoomName");
  12142. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  12143. 2, this->chatroomname(), output);
  12144. }
  12145. // optional string chatRoomOwner = 3;
  12146. if (this->chatroomowner().size() > 0) {
  12147. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12148. this->chatroomowner().data(), this->chatroomowner().length(),
  12149. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12150. "XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner");
  12151. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  12152. 3, this->chatroomowner(), output);
  12153. }
  12154. // repeated .XPhonePlus.XPhone_ContactInfo members = 4;
  12155. for (unsigned int i = 0, n = this->members_size(); i < n; i++) {
  12156. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  12157. 4, this->members(i), output);
  12158. }
  12159. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ChatRoomInfo)
  12160. }
  12161. ::google::protobuf::uint8* XPhone_ChatRoomInfo::SerializeWithCachedSizesToArray(
  12162. ::google::protobuf::uint8* target) const {
  12163. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ChatRoomInfo)
  12164. // optional string chatRoomID = 1;
  12165. if (this->chatroomid().size() > 0) {
  12166. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12167. this->chatroomid().data(), this->chatroomid().length(),
  12168. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12169. "XPhonePlus.XPhone_ChatRoomInfo.chatRoomID");
  12170. target =
  12171. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12172. 1, this->chatroomid(), target);
  12173. }
  12174. // optional string chatRoomName = 2;
  12175. if (this->chatroomname().size() > 0) {
  12176. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12177. this->chatroomname().data(), this->chatroomname().length(),
  12178. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12179. "XPhonePlus.XPhone_ChatRoomInfo.chatRoomName");
  12180. target =
  12181. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12182. 2, this->chatroomname(), target);
  12183. }
  12184. // optional string chatRoomOwner = 3;
  12185. if (this->chatroomowner().size() > 0) {
  12186. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12187. this->chatroomowner().data(), this->chatroomowner().length(),
  12188. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12189. "XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner");
  12190. target =
  12191. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12192. 3, this->chatroomowner(), target);
  12193. }
  12194. // repeated .XPhonePlus.XPhone_ContactInfo members = 4;
  12195. for (unsigned int i = 0, n = this->members_size(); i < n; i++) {
  12196. target = ::google::protobuf::internal::WireFormatLite::
  12197. WriteMessageNoVirtualToArray(
  12198. 4, this->members(i), target);
  12199. }
  12200. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ChatRoomInfo)
  12201. return target;
  12202. }
  12203. int XPhone_ChatRoomInfo::ByteSize() const {
  12204. int total_size = 0;
  12205. // optional string chatRoomID = 1;
  12206. if (this->chatroomid().size() > 0) {
  12207. total_size += 1 +
  12208. ::google::protobuf::internal::WireFormatLite::StringSize(
  12209. this->chatroomid());
  12210. }
  12211. // optional string chatRoomName = 2;
  12212. if (this->chatroomname().size() > 0) {
  12213. total_size += 1 +
  12214. ::google::protobuf::internal::WireFormatLite::StringSize(
  12215. this->chatroomname());
  12216. }
  12217. // optional string chatRoomOwner = 3;
  12218. if (this->chatroomowner().size() > 0) {
  12219. total_size += 1 +
  12220. ::google::protobuf::internal::WireFormatLite::StringSize(
  12221. this->chatroomowner());
  12222. }
  12223. // repeated .XPhonePlus.XPhone_ContactInfo members = 4;
  12224. total_size += 1 * this->members_size();
  12225. for (int i = 0; i < this->members_size(); i++) {
  12226. total_size +=
  12227. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  12228. this->members(i));
  12229. }
  12230. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12231. _cached_size_ = total_size;
  12232. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12233. return total_size;
  12234. }
  12235. void XPhone_ChatRoomInfo::MergeFrom(const ::google::protobuf::Message& from) {
  12236. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  12237. const XPhone_ChatRoomInfo* source =
  12238. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ChatRoomInfo>(
  12239. &from);
  12240. if (source == NULL) {
  12241. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12242. } else {
  12243. MergeFrom(*source);
  12244. }
  12245. }
  12246. void XPhone_ChatRoomInfo::MergeFrom(const XPhone_ChatRoomInfo& from) {
  12247. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  12248. members_.MergeFrom(from.members_);
  12249. if (from.chatroomid().size() > 0) {
  12250. chatroomid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.chatroomid_);
  12251. }
  12252. if (from.chatroomname().size() > 0) {
  12253. chatroomname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.chatroomname_);
  12254. }
  12255. if (from.chatroomowner().size() > 0) {
  12256. chatroomowner_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.chatroomowner_);
  12257. }
  12258. }
  12259. void XPhone_ChatRoomInfo::CopyFrom(const ::google::protobuf::Message& from) {
  12260. if (&from == this) return;
  12261. Clear();
  12262. MergeFrom(from);
  12263. }
  12264. void XPhone_ChatRoomInfo::CopyFrom(const XPhone_ChatRoomInfo& from) {
  12265. if (&from == this) return;
  12266. Clear();
  12267. MergeFrom(from);
  12268. }
  12269. bool XPhone_ChatRoomInfo::IsInitialized() const {
  12270. return true;
  12271. }
  12272. void XPhone_ChatRoomInfo::Swap(XPhone_ChatRoomInfo* other) {
  12273. if (other == this) return;
  12274. InternalSwap(other);
  12275. }
  12276. void XPhone_ChatRoomInfo::InternalSwap(XPhone_ChatRoomInfo* other) {
  12277. chatroomid_.Swap(&other->chatroomid_);
  12278. chatroomname_.Swap(&other->chatroomname_);
  12279. chatroomowner_.Swap(&other->chatroomowner_);
  12280. members_.UnsafeArenaSwap(&other->members_);
  12281. _internal_metadata_.Swap(&other->_internal_metadata_);
  12282. std::swap(_cached_size_, other->_cached_size_);
  12283. }
  12284. ::google::protobuf::Metadata XPhone_ChatRoomInfo::GetMetadata() const {
  12285. protobuf_AssignDescriptorsOnce();
  12286. ::google::protobuf::Metadata metadata;
  12287. metadata.descriptor = XPhone_ChatRoomInfo_descriptor_;
  12288. metadata.reflection = XPhone_ChatRoomInfo_reflection_;
  12289. return metadata;
  12290. }
  12291. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  12292. // XPhone_ChatRoomInfo
  12293. // optional string chatRoomID = 1;
  12294. void XPhone_ChatRoomInfo::clear_chatroomid() {
  12295. chatroomid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12296. }
  12297. const ::std::string& XPhone_ChatRoomInfo::chatroomid() const {
  12298. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
  12299. return chatroomid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12300. }
  12301. void XPhone_ChatRoomInfo::set_chatroomid(const ::std::string& value) {
  12302. chatroomid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  12303. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
  12304. }
  12305. void XPhone_ChatRoomInfo::set_chatroomid(const char* value) {
  12306. chatroomid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  12307. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
  12308. }
  12309. void XPhone_ChatRoomInfo::set_chatroomid(const char* value, size_t size) {
  12310. chatroomid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  12311. ::std::string(reinterpret_cast<const char*>(value), size));
  12312. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
  12313. }
  12314. ::std::string* XPhone_ChatRoomInfo::mutable_chatroomid() {
  12315. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
  12316. return chatroomid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12317. }
  12318. ::std::string* XPhone_ChatRoomInfo::release_chatroomid() {
  12319. return chatroomid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12320. }
  12321. void XPhone_ChatRoomInfo::set_allocated_chatroomid(::std::string* chatroomid) {
  12322. if (chatroomid != NULL) {
  12323. } else {
  12324. }
  12325. chatroomid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), chatroomid);
  12326. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
  12327. }
  12328. // optional string chatRoomName = 2;
  12329. void XPhone_ChatRoomInfo::clear_chatroomname() {
  12330. chatroomname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12331. }
  12332. const ::std::string& XPhone_ChatRoomInfo::chatroomname() const {
  12333. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
  12334. return chatroomname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12335. }
  12336. void XPhone_ChatRoomInfo::set_chatroomname(const ::std::string& value) {
  12337. chatroomname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  12338. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
  12339. }
  12340. void XPhone_ChatRoomInfo::set_chatroomname(const char* value) {
  12341. chatroomname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  12342. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
  12343. }
  12344. void XPhone_ChatRoomInfo::set_chatroomname(const char* value, size_t size) {
  12345. chatroomname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  12346. ::std::string(reinterpret_cast<const char*>(value), size));
  12347. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
  12348. }
  12349. ::std::string* XPhone_ChatRoomInfo::mutable_chatroomname() {
  12350. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
  12351. return chatroomname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12352. }
  12353. ::std::string* XPhone_ChatRoomInfo::release_chatroomname() {
  12354. return chatroomname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12355. }
  12356. void XPhone_ChatRoomInfo::set_allocated_chatroomname(::std::string* chatroomname) {
  12357. if (chatroomname != NULL) {
  12358. } else {
  12359. }
  12360. chatroomname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), chatroomname);
  12361. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
  12362. }
  12363. // optional string chatRoomOwner = 3;
  12364. void XPhone_ChatRoomInfo::clear_chatroomowner() {
  12365. chatroomowner_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12366. }
  12367. const ::std::string& XPhone_ChatRoomInfo::chatroomowner() const {
  12368. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
  12369. return chatroomowner_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12370. }
  12371. void XPhone_ChatRoomInfo::set_chatroomowner(const ::std::string& value) {
  12372. chatroomowner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  12373. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
  12374. }
  12375. void XPhone_ChatRoomInfo::set_chatroomowner(const char* value) {
  12376. chatroomowner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  12377. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
  12378. }
  12379. void XPhone_ChatRoomInfo::set_chatroomowner(const char* value, size_t size) {
  12380. chatroomowner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  12381. ::std::string(reinterpret_cast<const char*>(value), size));
  12382. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
  12383. }
  12384. ::std::string* XPhone_ChatRoomInfo::mutable_chatroomowner() {
  12385. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
  12386. return chatroomowner_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12387. }
  12388. ::std::string* XPhone_ChatRoomInfo::release_chatroomowner() {
  12389. return chatroomowner_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12390. }
  12391. void XPhone_ChatRoomInfo::set_allocated_chatroomowner(::std::string* chatroomowner) {
  12392. if (chatroomowner != NULL) {
  12393. } else {
  12394. }
  12395. chatroomowner_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), chatroomowner);
  12396. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
  12397. }
  12398. // repeated .XPhonePlus.XPhone_ContactInfo members = 4;
  12399. int XPhone_ChatRoomInfo::members_size() const {
  12400. return members_.size();
  12401. }
  12402. void XPhone_ChatRoomInfo::clear_members() {
  12403. members_.Clear();
  12404. }
  12405. const ::XPhonePlus::XPhone_ContactInfo& XPhone_ChatRoomInfo::members(int index) const {
  12406. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfo.members)
  12407. return members_.Get(index);
  12408. }
  12409. ::XPhonePlus::XPhone_ContactInfo* XPhone_ChatRoomInfo::mutable_members(int index) {
  12410. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatRoomInfo.members)
  12411. return members_.Mutable(index);
  12412. }
  12413. ::XPhonePlus::XPhone_ContactInfo* XPhone_ChatRoomInfo::add_members() {
  12414. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ChatRoomInfo.members)
  12415. return members_.Add();
  12416. }
  12417. ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ContactInfo >*
  12418. XPhone_ChatRoomInfo::mutable_members() {
  12419. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ChatRoomInfo.members)
  12420. return &members_;
  12421. }
  12422. const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ContactInfo >&
  12423. XPhone_ChatRoomInfo::members() const {
  12424. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ChatRoomInfo.members)
  12425. return members_;
  12426. }
  12427. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  12428. // ===================================================================
  12429. #ifndef _MSC_VER
  12430. const int XPhone_ChatroomInfoRsp::kHeadFieldNumber;
  12431. const int XPhone_ChatroomInfoRsp::kRoomlistFieldNumber;
  12432. #endif // !_MSC_VER
  12433. XPhone_ChatroomInfoRsp::XPhone_ChatroomInfoRsp()
  12434. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  12435. SharedCtor();
  12436. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ChatroomInfoRsp)
  12437. }
  12438. void XPhone_ChatroomInfoRsp::InitAsDefaultInstance() {
  12439. _is_default_instance_ = true;
  12440. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  12441. }
  12442. XPhone_ChatroomInfoRsp::XPhone_ChatroomInfoRsp(const XPhone_ChatroomInfoRsp& from)
  12443. : ::google::protobuf::Message(),
  12444. _internal_metadata_(NULL) {
  12445. SharedCtor();
  12446. MergeFrom(from);
  12447. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ChatroomInfoRsp)
  12448. }
  12449. void XPhone_ChatroomInfoRsp::SharedCtor() {
  12450. _is_default_instance_ = false;
  12451. _cached_size_ = 0;
  12452. head_ = NULL;
  12453. }
  12454. XPhone_ChatroomInfoRsp::~XPhone_ChatroomInfoRsp() {
  12455. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ChatroomInfoRsp)
  12456. SharedDtor();
  12457. }
  12458. void XPhone_ChatroomInfoRsp::SharedDtor() {
  12459. if (this != default_instance_) {
  12460. delete head_;
  12461. }
  12462. }
  12463. void XPhone_ChatroomInfoRsp::SetCachedSize(int size) const {
  12464. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12465. _cached_size_ = size;
  12466. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12467. }
  12468. const ::google::protobuf::Descriptor* XPhone_ChatroomInfoRsp::descriptor() {
  12469. protobuf_AssignDescriptorsOnce();
  12470. return XPhone_ChatroomInfoRsp_descriptor_;
  12471. }
  12472. const XPhone_ChatroomInfoRsp& XPhone_ChatroomInfoRsp::default_instance() {
  12473. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  12474. return *default_instance_;
  12475. }
  12476. XPhone_ChatroomInfoRsp* XPhone_ChatroomInfoRsp::default_instance_ = NULL;
  12477. XPhone_ChatroomInfoRsp* XPhone_ChatroomInfoRsp::New(::google::protobuf::Arena* arena) const {
  12478. XPhone_ChatroomInfoRsp* n = new XPhone_ChatroomInfoRsp;
  12479. if (arena != NULL) {
  12480. arena->Own(n);
  12481. }
  12482. return n;
  12483. }
  12484. void XPhone_ChatroomInfoRsp::Clear() {
  12485. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  12486. head_ = NULL;
  12487. roomlist_.Clear();
  12488. }
  12489. bool XPhone_ChatroomInfoRsp::MergePartialFromCodedStream(
  12490. ::google::protobuf::io::CodedInputStream* input) {
  12491. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  12492. ::google::protobuf::uint32 tag;
  12493. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ChatroomInfoRsp)
  12494. for (;;) {
  12495. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  12496. tag = p.first;
  12497. if (!p.second) goto handle_unusual;
  12498. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12499. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  12500. case 1: {
  12501. if (tag == 10) {
  12502. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  12503. input, mutable_head()));
  12504. } else {
  12505. goto handle_unusual;
  12506. }
  12507. if (input->ExpectTag(18)) goto parse_roomlist;
  12508. break;
  12509. }
  12510. // repeated .XPhonePlus.XPhone_ChatRoomInfo roomlist = 2;
  12511. case 2: {
  12512. if (tag == 18) {
  12513. parse_roomlist:
  12514. DO_(input->IncrementRecursionDepth());
  12515. parse_loop_roomlist:
  12516. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
  12517. input, add_roomlist()));
  12518. } else {
  12519. goto handle_unusual;
  12520. }
  12521. if (input->ExpectTag(18)) goto parse_loop_roomlist;
  12522. input->UnsafeDecrementRecursionDepth();
  12523. if (input->ExpectAtEnd()) goto success;
  12524. break;
  12525. }
  12526. default: {
  12527. handle_unusual:
  12528. if (tag == 0 ||
  12529. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12530. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12531. goto success;
  12532. }
  12533. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  12534. break;
  12535. }
  12536. }
  12537. }
  12538. success:
  12539. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ChatroomInfoRsp)
  12540. return true;
  12541. failure:
  12542. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ChatroomInfoRsp)
  12543. return false;
  12544. #undef DO_
  12545. }
  12546. void XPhone_ChatroomInfoRsp::SerializeWithCachedSizes(
  12547. ::google::protobuf::io::CodedOutputStream* output) const {
  12548. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ChatroomInfoRsp)
  12549. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  12550. if (this->has_head()) {
  12551. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  12552. 1, *this->head_, output);
  12553. }
  12554. // repeated .XPhonePlus.XPhone_ChatRoomInfo roomlist = 2;
  12555. for (unsigned int i = 0, n = this->roomlist_size(); i < n; i++) {
  12556. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  12557. 2, this->roomlist(i), output);
  12558. }
  12559. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ChatroomInfoRsp)
  12560. }
  12561. ::google::protobuf::uint8* XPhone_ChatroomInfoRsp::SerializeWithCachedSizesToArray(
  12562. ::google::protobuf::uint8* target) const {
  12563. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ChatroomInfoRsp)
  12564. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  12565. if (this->has_head()) {
  12566. target = ::google::protobuf::internal::WireFormatLite::
  12567. WriteMessageNoVirtualToArray(
  12568. 1, *this->head_, target);
  12569. }
  12570. // repeated .XPhonePlus.XPhone_ChatRoomInfo roomlist = 2;
  12571. for (unsigned int i = 0, n = this->roomlist_size(); i < n; i++) {
  12572. target = ::google::protobuf::internal::WireFormatLite::
  12573. WriteMessageNoVirtualToArray(
  12574. 2, this->roomlist(i), target);
  12575. }
  12576. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ChatroomInfoRsp)
  12577. return target;
  12578. }
  12579. int XPhone_ChatroomInfoRsp::ByteSize() const {
  12580. int total_size = 0;
  12581. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  12582. if (this->has_head()) {
  12583. total_size += 1 +
  12584. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  12585. *this->head_);
  12586. }
  12587. // repeated .XPhonePlus.XPhone_ChatRoomInfo roomlist = 2;
  12588. total_size += 1 * this->roomlist_size();
  12589. for (int i = 0; i < this->roomlist_size(); i++) {
  12590. total_size +=
  12591. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  12592. this->roomlist(i));
  12593. }
  12594. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12595. _cached_size_ = total_size;
  12596. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12597. return total_size;
  12598. }
  12599. void XPhone_ChatroomInfoRsp::MergeFrom(const ::google::protobuf::Message& from) {
  12600. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  12601. const XPhone_ChatroomInfoRsp* source =
  12602. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ChatroomInfoRsp>(
  12603. &from);
  12604. if (source == NULL) {
  12605. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12606. } else {
  12607. MergeFrom(*source);
  12608. }
  12609. }
  12610. void XPhone_ChatroomInfoRsp::MergeFrom(const XPhone_ChatroomInfoRsp& from) {
  12611. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  12612. roomlist_.MergeFrom(from.roomlist_);
  12613. if (from.has_head()) {
  12614. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  12615. }
  12616. }
  12617. void XPhone_ChatroomInfoRsp::CopyFrom(const ::google::protobuf::Message& from) {
  12618. if (&from == this) return;
  12619. Clear();
  12620. MergeFrom(from);
  12621. }
  12622. void XPhone_ChatroomInfoRsp::CopyFrom(const XPhone_ChatroomInfoRsp& from) {
  12623. if (&from == this) return;
  12624. Clear();
  12625. MergeFrom(from);
  12626. }
  12627. bool XPhone_ChatroomInfoRsp::IsInitialized() const {
  12628. return true;
  12629. }
  12630. void XPhone_ChatroomInfoRsp::Swap(XPhone_ChatroomInfoRsp* other) {
  12631. if (other == this) return;
  12632. InternalSwap(other);
  12633. }
  12634. void XPhone_ChatroomInfoRsp::InternalSwap(XPhone_ChatroomInfoRsp* other) {
  12635. std::swap(head_, other->head_);
  12636. roomlist_.UnsafeArenaSwap(&other->roomlist_);
  12637. _internal_metadata_.Swap(&other->_internal_metadata_);
  12638. std::swap(_cached_size_, other->_cached_size_);
  12639. }
  12640. ::google::protobuf::Metadata XPhone_ChatroomInfoRsp::GetMetadata() const {
  12641. protobuf_AssignDescriptorsOnce();
  12642. ::google::protobuf::Metadata metadata;
  12643. metadata.descriptor = XPhone_ChatroomInfoRsp_descriptor_;
  12644. metadata.reflection = XPhone_ChatroomInfoRsp_reflection_;
  12645. return metadata;
  12646. }
  12647. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  12648. // XPhone_ChatroomInfoRsp
  12649. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  12650. bool XPhone_ChatroomInfoRsp::has_head() const {
  12651. return !_is_default_instance_ && head_ != NULL;
  12652. }
  12653. void XPhone_ChatroomInfoRsp::clear_head() {
  12654. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  12655. head_ = NULL;
  12656. }
  12657. const ::XPhonePlus::XPhone_MsgBase& XPhone_ChatroomInfoRsp::head() const {
  12658. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatroomInfoRsp.head)
  12659. return head_ != NULL ? *head_ : *default_instance_->head_;
  12660. }
  12661. ::XPhonePlus::XPhone_MsgBase* XPhone_ChatroomInfoRsp::mutable_head() {
  12662. if (head_ == NULL) {
  12663. head_ = new ::XPhonePlus::XPhone_MsgBase;
  12664. }
  12665. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatroomInfoRsp.head)
  12666. return head_;
  12667. }
  12668. ::XPhonePlus::XPhone_MsgBase* XPhone_ChatroomInfoRsp::release_head() {
  12669. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  12670. head_ = NULL;
  12671. return temp;
  12672. }
  12673. void XPhone_ChatroomInfoRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  12674. delete head_;
  12675. head_ = head;
  12676. if (head) {
  12677. } else {
  12678. }
  12679. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatroomInfoRsp.head)
  12680. }
  12681. // repeated .XPhonePlus.XPhone_ChatRoomInfo roomlist = 2;
  12682. int XPhone_ChatroomInfoRsp::roomlist_size() const {
  12683. return roomlist_.size();
  12684. }
  12685. void XPhone_ChatroomInfoRsp::clear_roomlist() {
  12686. roomlist_.Clear();
  12687. }
  12688. const ::XPhonePlus::XPhone_ChatRoomInfo& XPhone_ChatroomInfoRsp::roomlist(int index) const {
  12689. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatroomInfoRsp.roomlist)
  12690. return roomlist_.Get(index);
  12691. }
  12692. ::XPhonePlus::XPhone_ChatRoomInfo* XPhone_ChatroomInfoRsp::mutable_roomlist(int index) {
  12693. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatroomInfoRsp.roomlist)
  12694. return roomlist_.Mutable(index);
  12695. }
  12696. ::XPhonePlus::XPhone_ChatRoomInfo* XPhone_ChatroomInfoRsp::add_roomlist() {
  12697. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ChatroomInfoRsp.roomlist)
  12698. return roomlist_.Add();
  12699. }
  12700. ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ChatRoomInfo >*
  12701. XPhone_ChatroomInfoRsp::mutable_roomlist() {
  12702. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ChatroomInfoRsp.roomlist)
  12703. return &roomlist_;
  12704. }
  12705. const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ChatRoomInfo >&
  12706. XPhone_ChatroomInfoRsp::roomlist() const {
  12707. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ChatroomInfoRsp.roomlist)
  12708. return roomlist_;
  12709. }
  12710. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  12711. // ===================================================================
  12712. #ifndef _MSC_VER
  12713. const int XPhone_LoginUserinfo::kHeadFieldNumber;
  12714. const int XPhone_LoginUserinfo::kStrNickerNameFieldNumber;
  12715. const int XPhone_LoginUserinfo::kStrUserNameFieldNumber;
  12716. const int XPhone_LoginUserinfo::kStrWeichatFieldNumber;
  12717. #endif // !_MSC_VER
  12718. XPhone_LoginUserinfo::XPhone_LoginUserinfo()
  12719. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  12720. SharedCtor();
  12721. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_LoginUserinfo)
  12722. }
  12723. void XPhone_LoginUserinfo::InitAsDefaultInstance() {
  12724. _is_default_instance_ = true;
  12725. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  12726. }
  12727. XPhone_LoginUserinfo::XPhone_LoginUserinfo(const XPhone_LoginUserinfo& from)
  12728. : ::google::protobuf::Message(),
  12729. _internal_metadata_(NULL) {
  12730. SharedCtor();
  12731. MergeFrom(from);
  12732. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_LoginUserinfo)
  12733. }
  12734. void XPhone_LoginUserinfo::SharedCtor() {
  12735. _is_default_instance_ = false;
  12736. ::google::protobuf::internal::GetEmptyString();
  12737. _cached_size_ = 0;
  12738. head_ = NULL;
  12739. strnickername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12740. strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12741. strweichat_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12742. }
  12743. XPhone_LoginUserinfo::~XPhone_LoginUserinfo() {
  12744. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_LoginUserinfo)
  12745. SharedDtor();
  12746. }
  12747. void XPhone_LoginUserinfo::SharedDtor() {
  12748. strnickername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12749. strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12750. strweichat_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12751. if (this != default_instance_) {
  12752. delete head_;
  12753. }
  12754. }
  12755. void XPhone_LoginUserinfo::SetCachedSize(int size) const {
  12756. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12757. _cached_size_ = size;
  12758. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12759. }
  12760. const ::google::protobuf::Descriptor* XPhone_LoginUserinfo::descriptor() {
  12761. protobuf_AssignDescriptorsOnce();
  12762. return XPhone_LoginUserinfo_descriptor_;
  12763. }
  12764. const XPhone_LoginUserinfo& XPhone_LoginUserinfo::default_instance() {
  12765. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  12766. return *default_instance_;
  12767. }
  12768. XPhone_LoginUserinfo* XPhone_LoginUserinfo::default_instance_ = NULL;
  12769. XPhone_LoginUserinfo* XPhone_LoginUserinfo::New(::google::protobuf::Arena* arena) const {
  12770. XPhone_LoginUserinfo* n = new XPhone_LoginUserinfo;
  12771. if (arena != NULL) {
  12772. arena->Own(n);
  12773. }
  12774. return n;
  12775. }
  12776. void XPhone_LoginUserinfo::Clear() {
  12777. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  12778. head_ = NULL;
  12779. strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12780. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12781. strweichat_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  12782. }
  12783. bool XPhone_LoginUserinfo::MergePartialFromCodedStream(
  12784. ::google::protobuf::io::CodedInputStream* input) {
  12785. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  12786. ::google::protobuf::uint32 tag;
  12787. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_LoginUserinfo)
  12788. for (;;) {
  12789. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  12790. tag = p.first;
  12791. if (!p.second) goto handle_unusual;
  12792. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12793. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  12794. case 1: {
  12795. if (tag == 10) {
  12796. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  12797. input, mutable_head()));
  12798. } else {
  12799. goto handle_unusual;
  12800. }
  12801. if (input->ExpectTag(18)) goto parse_strNickerName;
  12802. break;
  12803. }
  12804. // optional string strNickerName = 2;
  12805. case 2: {
  12806. if (tag == 18) {
  12807. parse_strNickerName:
  12808. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12809. input, this->mutable_strnickername()));
  12810. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12811. this->strnickername().data(), this->strnickername().length(),
  12812. ::google::protobuf::internal::WireFormatLite::PARSE,
  12813. "XPhonePlus.XPhone_LoginUserinfo.strNickerName"));
  12814. } else {
  12815. goto handle_unusual;
  12816. }
  12817. if (input->ExpectTag(26)) goto parse_strUserName;
  12818. break;
  12819. }
  12820. // optional string strUserName = 3;
  12821. case 3: {
  12822. if (tag == 26) {
  12823. parse_strUserName:
  12824. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12825. input, this->mutable_strusername()));
  12826. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12827. this->strusername().data(), this->strusername().length(),
  12828. ::google::protobuf::internal::WireFormatLite::PARSE,
  12829. "XPhonePlus.XPhone_LoginUserinfo.strUserName"));
  12830. } else {
  12831. goto handle_unusual;
  12832. }
  12833. if (input->ExpectTag(34)) goto parse_strWeichat;
  12834. break;
  12835. }
  12836. // optional string strWeichat = 4;
  12837. case 4: {
  12838. if (tag == 34) {
  12839. parse_strWeichat:
  12840. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  12841. input, this->mutable_strweichat()));
  12842. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12843. this->strweichat().data(), this->strweichat().length(),
  12844. ::google::protobuf::internal::WireFormatLite::PARSE,
  12845. "XPhonePlus.XPhone_LoginUserinfo.strWeichat"));
  12846. } else {
  12847. goto handle_unusual;
  12848. }
  12849. if (input->ExpectAtEnd()) goto success;
  12850. break;
  12851. }
  12852. default: {
  12853. handle_unusual:
  12854. if (tag == 0 ||
  12855. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12856. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12857. goto success;
  12858. }
  12859. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  12860. break;
  12861. }
  12862. }
  12863. }
  12864. success:
  12865. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_LoginUserinfo)
  12866. return true;
  12867. failure:
  12868. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_LoginUserinfo)
  12869. return false;
  12870. #undef DO_
  12871. }
  12872. void XPhone_LoginUserinfo::SerializeWithCachedSizes(
  12873. ::google::protobuf::io::CodedOutputStream* output) const {
  12874. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_LoginUserinfo)
  12875. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  12876. if (this->has_head()) {
  12877. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  12878. 1, *this->head_, output);
  12879. }
  12880. // optional string strNickerName = 2;
  12881. if (this->strnickername().size() > 0) {
  12882. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12883. this->strnickername().data(), this->strnickername().length(),
  12884. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12885. "XPhonePlus.XPhone_LoginUserinfo.strNickerName");
  12886. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  12887. 2, this->strnickername(), output);
  12888. }
  12889. // optional string strUserName = 3;
  12890. if (this->strusername().size() > 0) {
  12891. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12892. this->strusername().data(), this->strusername().length(),
  12893. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12894. "XPhonePlus.XPhone_LoginUserinfo.strUserName");
  12895. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  12896. 3, this->strusername(), output);
  12897. }
  12898. // optional string strWeichat = 4;
  12899. if (this->strweichat().size() > 0) {
  12900. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12901. this->strweichat().data(), this->strweichat().length(),
  12902. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12903. "XPhonePlus.XPhone_LoginUserinfo.strWeichat");
  12904. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  12905. 4, this->strweichat(), output);
  12906. }
  12907. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_LoginUserinfo)
  12908. }
  12909. ::google::protobuf::uint8* XPhone_LoginUserinfo::SerializeWithCachedSizesToArray(
  12910. ::google::protobuf::uint8* target) const {
  12911. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_LoginUserinfo)
  12912. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  12913. if (this->has_head()) {
  12914. target = ::google::protobuf::internal::WireFormatLite::
  12915. WriteMessageNoVirtualToArray(
  12916. 1, *this->head_, target);
  12917. }
  12918. // optional string strNickerName = 2;
  12919. if (this->strnickername().size() > 0) {
  12920. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12921. this->strnickername().data(), this->strnickername().length(),
  12922. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12923. "XPhonePlus.XPhone_LoginUserinfo.strNickerName");
  12924. target =
  12925. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12926. 2, this->strnickername(), target);
  12927. }
  12928. // optional string strUserName = 3;
  12929. if (this->strusername().size() > 0) {
  12930. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12931. this->strusername().data(), this->strusername().length(),
  12932. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12933. "XPhonePlus.XPhone_LoginUserinfo.strUserName");
  12934. target =
  12935. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12936. 3, this->strusername(), target);
  12937. }
  12938. // optional string strWeichat = 4;
  12939. if (this->strweichat().size() > 0) {
  12940. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  12941. this->strweichat().data(), this->strweichat().length(),
  12942. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  12943. "XPhonePlus.XPhone_LoginUserinfo.strWeichat");
  12944. target =
  12945. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  12946. 4, this->strweichat(), target);
  12947. }
  12948. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_LoginUserinfo)
  12949. return target;
  12950. }
  12951. int XPhone_LoginUserinfo::ByteSize() const {
  12952. int total_size = 0;
  12953. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  12954. if (this->has_head()) {
  12955. total_size += 1 +
  12956. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  12957. *this->head_);
  12958. }
  12959. // optional string strNickerName = 2;
  12960. if (this->strnickername().size() > 0) {
  12961. total_size += 1 +
  12962. ::google::protobuf::internal::WireFormatLite::StringSize(
  12963. this->strnickername());
  12964. }
  12965. // optional string strUserName = 3;
  12966. if (this->strusername().size() > 0) {
  12967. total_size += 1 +
  12968. ::google::protobuf::internal::WireFormatLite::StringSize(
  12969. this->strusername());
  12970. }
  12971. // optional string strWeichat = 4;
  12972. if (this->strweichat().size() > 0) {
  12973. total_size += 1 +
  12974. ::google::protobuf::internal::WireFormatLite::StringSize(
  12975. this->strweichat());
  12976. }
  12977. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12978. _cached_size_ = total_size;
  12979. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12980. return total_size;
  12981. }
  12982. void XPhone_LoginUserinfo::MergeFrom(const ::google::protobuf::Message& from) {
  12983. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  12984. const XPhone_LoginUserinfo* source =
  12985. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_LoginUserinfo>(
  12986. &from);
  12987. if (source == NULL) {
  12988. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12989. } else {
  12990. MergeFrom(*source);
  12991. }
  12992. }
  12993. void XPhone_LoginUserinfo::MergeFrom(const XPhone_LoginUserinfo& from) {
  12994. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  12995. if (from.has_head()) {
  12996. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  12997. }
  12998. if (from.strnickername().size() > 0) {
  12999. strnickername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strnickername_);
  13000. }
  13001. if (from.strusername().size() > 0) {
  13002. strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
  13003. }
  13004. if (from.strweichat().size() > 0) {
  13005. strweichat_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strweichat_);
  13006. }
  13007. }
  13008. void XPhone_LoginUserinfo::CopyFrom(const ::google::protobuf::Message& from) {
  13009. if (&from == this) return;
  13010. Clear();
  13011. MergeFrom(from);
  13012. }
  13013. void XPhone_LoginUserinfo::CopyFrom(const XPhone_LoginUserinfo& from) {
  13014. if (&from == this) return;
  13015. Clear();
  13016. MergeFrom(from);
  13017. }
  13018. bool XPhone_LoginUserinfo::IsInitialized() const {
  13019. return true;
  13020. }
  13021. void XPhone_LoginUserinfo::Swap(XPhone_LoginUserinfo* other) {
  13022. if (other == this) return;
  13023. InternalSwap(other);
  13024. }
  13025. void XPhone_LoginUserinfo::InternalSwap(XPhone_LoginUserinfo* other) {
  13026. std::swap(head_, other->head_);
  13027. strnickername_.Swap(&other->strnickername_);
  13028. strusername_.Swap(&other->strusername_);
  13029. strweichat_.Swap(&other->strweichat_);
  13030. _internal_metadata_.Swap(&other->_internal_metadata_);
  13031. std::swap(_cached_size_, other->_cached_size_);
  13032. }
  13033. ::google::protobuf::Metadata XPhone_LoginUserinfo::GetMetadata() const {
  13034. protobuf_AssignDescriptorsOnce();
  13035. ::google::protobuf::Metadata metadata;
  13036. metadata.descriptor = XPhone_LoginUserinfo_descriptor_;
  13037. metadata.reflection = XPhone_LoginUserinfo_reflection_;
  13038. return metadata;
  13039. }
  13040. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  13041. // XPhone_LoginUserinfo
  13042. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  13043. bool XPhone_LoginUserinfo::has_head() const {
  13044. return !_is_default_instance_ && head_ != NULL;
  13045. }
  13046. void XPhone_LoginUserinfo::clear_head() {
  13047. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  13048. head_ = NULL;
  13049. }
  13050. const ::XPhonePlus::XPhone_MsgBase& XPhone_LoginUserinfo::head() const {
  13051. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LoginUserinfo.head)
  13052. return head_ != NULL ? *head_ : *default_instance_->head_;
  13053. }
  13054. ::XPhonePlus::XPhone_MsgBase* XPhone_LoginUserinfo::mutable_head() {
  13055. if (head_ == NULL) {
  13056. head_ = new ::XPhonePlus::XPhone_MsgBase;
  13057. }
  13058. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LoginUserinfo.head)
  13059. return head_;
  13060. }
  13061. ::XPhonePlus::XPhone_MsgBase* XPhone_LoginUserinfo::release_head() {
  13062. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  13063. head_ = NULL;
  13064. return temp;
  13065. }
  13066. void XPhone_LoginUserinfo::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  13067. delete head_;
  13068. head_ = head;
  13069. if (head) {
  13070. } else {
  13071. }
  13072. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LoginUserinfo.head)
  13073. }
  13074. // optional string strNickerName = 2;
  13075. void XPhone_LoginUserinfo::clear_strnickername() {
  13076. strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13077. }
  13078. const ::std::string& XPhone_LoginUserinfo::strnickername() const {
  13079. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
  13080. return strnickername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13081. }
  13082. void XPhone_LoginUserinfo::set_strnickername(const ::std::string& value) {
  13083. strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  13084. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
  13085. }
  13086. void XPhone_LoginUserinfo::set_strnickername(const char* value) {
  13087. strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  13088. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
  13089. }
  13090. void XPhone_LoginUserinfo::set_strnickername(const char* value, size_t size) {
  13091. strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  13092. ::std::string(reinterpret_cast<const char*>(value), size));
  13093. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
  13094. }
  13095. ::std::string* XPhone_LoginUserinfo::mutable_strnickername() {
  13096. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
  13097. return strnickername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13098. }
  13099. ::std::string* XPhone_LoginUserinfo::release_strnickername() {
  13100. return strnickername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13101. }
  13102. void XPhone_LoginUserinfo::set_allocated_strnickername(::std::string* strnickername) {
  13103. if (strnickername != NULL) {
  13104. } else {
  13105. }
  13106. strnickername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strnickername);
  13107. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
  13108. }
  13109. // optional string strUserName = 3;
  13110. void XPhone_LoginUserinfo::clear_strusername() {
  13111. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13112. }
  13113. const ::std::string& XPhone_LoginUserinfo::strusername() const {
  13114. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LoginUserinfo.strUserName)
  13115. return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13116. }
  13117. void XPhone_LoginUserinfo::set_strusername(const ::std::string& value) {
  13118. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  13119. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LoginUserinfo.strUserName)
  13120. }
  13121. void XPhone_LoginUserinfo::set_strusername(const char* value) {
  13122. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  13123. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_LoginUserinfo.strUserName)
  13124. }
  13125. void XPhone_LoginUserinfo::set_strusername(const char* value, size_t size) {
  13126. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  13127. ::std::string(reinterpret_cast<const char*>(value), size));
  13128. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_LoginUserinfo.strUserName)
  13129. }
  13130. ::std::string* XPhone_LoginUserinfo::mutable_strusername() {
  13131. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LoginUserinfo.strUserName)
  13132. return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13133. }
  13134. ::std::string* XPhone_LoginUserinfo::release_strusername() {
  13135. return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13136. }
  13137. void XPhone_LoginUserinfo::set_allocated_strusername(::std::string* strusername) {
  13138. if (strusername != NULL) {
  13139. } else {
  13140. }
  13141. strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
  13142. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LoginUserinfo.strUserName)
  13143. }
  13144. // optional string strWeichat = 4;
  13145. void XPhone_LoginUserinfo::clear_strweichat() {
  13146. strweichat_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13147. }
  13148. const ::std::string& XPhone_LoginUserinfo::strweichat() const {
  13149. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
  13150. return strweichat_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13151. }
  13152. void XPhone_LoginUserinfo::set_strweichat(const ::std::string& value) {
  13153. strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  13154. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
  13155. }
  13156. void XPhone_LoginUserinfo::set_strweichat(const char* value) {
  13157. strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  13158. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
  13159. }
  13160. void XPhone_LoginUserinfo::set_strweichat(const char* value, size_t size) {
  13161. strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  13162. ::std::string(reinterpret_cast<const char*>(value), size));
  13163. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
  13164. }
  13165. ::std::string* XPhone_LoginUserinfo::mutable_strweichat() {
  13166. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
  13167. return strweichat_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13168. }
  13169. ::std::string* XPhone_LoginUserinfo::release_strweichat() {
  13170. return strweichat_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13171. }
  13172. void XPhone_LoginUserinfo::set_allocated_strweichat(::std::string* strweichat) {
  13173. if (strweichat != NULL) {
  13174. } else {
  13175. }
  13176. strweichat_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strweichat);
  13177. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
  13178. }
  13179. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  13180. // ===================================================================
  13181. #ifndef _MSC_VER
  13182. const int XPhone_RecvChatMsg::kHeadFieldNumber;
  13183. const int XPhone_RecvChatMsg::kStrTableNameFieldNumber;
  13184. const int XPhone_RecvChatMsg::kStrMsgContentFieldNumber;
  13185. #endif // !_MSC_VER
  13186. XPhone_RecvChatMsg::XPhone_RecvChatMsg()
  13187. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  13188. SharedCtor();
  13189. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_RecvChatMsg)
  13190. }
  13191. void XPhone_RecvChatMsg::InitAsDefaultInstance() {
  13192. _is_default_instance_ = true;
  13193. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  13194. }
  13195. XPhone_RecvChatMsg::XPhone_RecvChatMsg(const XPhone_RecvChatMsg& from)
  13196. : ::google::protobuf::Message(),
  13197. _internal_metadata_(NULL) {
  13198. SharedCtor();
  13199. MergeFrom(from);
  13200. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_RecvChatMsg)
  13201. }
  13202. void XPhone_RecvChatMsg::SharedCtor() {
  13203. _is_default_instance_ = false;
  13204. ::google::protobuf::internal::GetEmptyString();
  13205. _cached_size_ = 0;
  13206. head_ = NULL;
  13207. strtablename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13208. strmsgcontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13209. }
  13210. XPhone_RecvChatMsg::~XPhone_RecvChatMsg() {
  13211. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_RecvChatMsg)
  13212. SharedDtor();
  13213. }
  13214. void XPhone_RecvChatMsg::SharedDtor() {
  13215. strtablename_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13216. strmsgcontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13217. if (this != default_instance_) {
  13218. delete head_;
  13219. }
  13220. }
  13221. void XPhone_RecvChatMsg::SetCachedSize(int size) const {
  13222. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13223. _cached_size_ = size;
  13224. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13225. }
  13226. const ::google::protobuf::Descriptor* XPhone_RecvChatMsg::descriptor() {
  13227. protobuf_AssignDescriptorsOnce();
  13228. return XPhone_RecvChatMsg_descriptor_;
  13229. }
  13230. const XPhone_RecvChatMsg& XPhone_RecvChatMsg::default_instance() {
  13231. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  13232. return *default_instance_;
  13233. }
  13234. XPhone_RecvChatMsg* XPhone_RecvChatMsg::default_instance_ = NULL;
  13235. XPhone_RecvChatMsg* XPhone_RecvChatMsg::New(::google::protobuf::Arena* arena) const {
  13236. XPhone_RecvChatMsg* n = new XPhone_RecvChatMsg;
  13237. if (arena != NULL) {
  13238. arena->Own(n);
  13239. }
  13240. return n;
  13241. }
  13242. void XPhone_RecvChatMsg::Clear() {
  13243. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  13244. head_ = NULL;
  13245. strtablename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13246. strmsgcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13247. }
  13248. bool XPhone_RecvChatMsg::MergePartialFromCodedStream(
  13249. ::google::protobuf::io::CodedInputStream* input) {
  13250. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  13251. ::google::protobuf::uint32 tag;
  13252. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_RecvChatMsg)
  13253. for (;;) {
  13254. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  13255. tag = p.first;
  13256. if (!p.second) goto handle_unusual;
  13257. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13258. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  13259. case 1: {
  13260. if (tag == 10) {
  13261. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  13262. input, mutable_head()));
  13263. } else {
  13264. goto handle_unusual;
  13265. }
  13266. if (input->ExpectTag(18)) goto parse_strTableName;
  13267. break;
  13268. }
  13269. // optional string strTableName = 2;
  13270. case 2: {
  13271. if (tag == 18) {
  13272. parse_strTableName:
  13273. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13274. input, this->mutable_strtablename()));
  13275. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13276. this->strtablename().data(), this->strtablename().length(),
  13277. ::google::protobuf::internal::WireFormatLite::PARSE,
  13278. "XPhonePlus.XPhone_RecvChatMsg.strTableName"));
  13279. } else {
  13280. goto handle_unusual;
  13281. }
  13282. if (input->ExpectTag(26)) goto parse_strMsgContent;
  13283. break;
  13284. }
  13285. // optional string strMsgContent = 3;
  13286. case 3: {
  13287. if (tag == 26) {
  13288. parse_strMsgContent:
  13289. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13290. input, this->mutable_strmsgcontent()));
  13291. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13292. this->strmsgcontent().data(), this->strmsgcontent().length(),
  13293. ::google::protobuf::internal::WireFormatLite::PARSE,
  13294. "XPhonePlus.XPhone_RecvChatMsg.strMsgContent"));
  13295. } else {
  13296. goto handle_unusual;
  13297. }
  13298. if (input->ExpectAtEnd()) goto success;
  13299. break;
  13300. }
  13301. default: {
  13302. handle_unusual:
  13303. if (tag == 0 ||
  13304. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13305. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13306. goto success;
  13307. }
  13308. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  13309. break;
  13310. }
  13311. }
  13312. }
  13313. success:
  13314. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_RecvChatMsg)
  13315. return true;
  13316. failure:
  13317. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_RecvChatMsg)
  13318. return false;
  13319. #undef DO_
  13320. }
  13321. void XPhone_RecvChatMsg::SerializeWithCachedSizes(
  13322. ::google::protobuf::io::CodedOutputStream* output) const {
  13323. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_RecvChatMsg)
  13324. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  13325. if (this->has_head()) {
  13326. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  13327. 1, *this->head_, output);
  13328. }
  13329. // optional string strTableName = 2;
  13330. if (this->strtablename().size() > 0) {
  13331. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13332. this->strtablename().data(), this->strtablename().length(),
  13333. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  13334. "XPhonePlus.XPhone_RecvChatMsg.strTableName");
  13335. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  13336. 2, this->strtablename(), output);
  13337. }
  13338. // optional string strMsgContent = 3;
  13339. if (this->strmsgcontent().size() > 0) {
  13340. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13341. this->strmsgcontent().data(), this->strmsgcontent().length(),
  13342. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  13343. "XPhonePlus.XPhone_RecvChatMsg.strMsgContent");
  13344. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  13345. 3, this->strmsgcontent(), output);
  13346. }
  13347. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_RecvChatMsg)
  13348. }
  13349. ::google::protobuf::uint8* XPhone_RecvChatMsg::SerializeWithCachedSizesToArray(
  13350. ::google::protobuf::uint8* target) const {
  13351. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_RecvChatMsg)
  13352. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  13353. if (this->has_head()) {
  13354. target = ::google::protobuf::internal::WireFormatLite::
  13355. WriteMessageNoVirtualToArray(
  13356. 1, *this->head_, target);
  13357. }
  13358. // optional string strTableName = 2;
  13359. if (this->strtablename().size() > 0) {
  13360. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13361. this->strtablename().data(), this->strtablename().length(),
  13362. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  13363. "XPhonePlus.XPhone_RecvChatMsg.strTableName");
  13364. target =
  13365. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  13366. 2, this->strtablename(), target);
  13367. }
  13368. // optional string strMsgContent = 3;
  13369. if (this->strmsgcontent().size() > 0) {
  13370. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13371. this->strmsgcontent().data(), this->strmsgcontent().length(),
  13372. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  13373. "XPhonePlus.XPhone_RecvChatMsg.strMsgContent");
  13374. target =
  13375. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  13376. 3, this->strmsgcontent(), target);
  13377. }
  13378. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_RecvChatMsg)
  13379. return target;
  13380. }
  13381. int XPhone_RecvChatMsg::ByteSize() const {
  13382. int total_size = 0;
  13383. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  13384. if (this->has_head()) {
  13385. total_size += 1 +
  13386. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  13387. *this->head_);
  13388. }
  13389. // optional string strTableName = 2;
  13390. if (this->strtablename().size() > 0) {
  13391. total_size += 1 +
  13392. ::google::protobuf::internal::WireFormatLite::StringSize(
  13393. this->strtablename());
  13394. }
  13395. // optional string strMsgContent = 3;
  13396. if (this->strmsgcontent().size() > 0) {
  13397. total_size += 1 +
  13398. ::google::protobuf::internal::WireFormatLite::StringSize(
  13399. this->strmsgcontent());
  13400. }
  13401. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13402. _cached_size_ = total_size;
  13403. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13404. return total_size;
  13405. }
  13406. void XPhone_RecvChatMsg::MergeFrom(const ::google::protobuf::Message& from) {
  13407. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  13408. const XPhone_RecvChatMsg* source =
  13409. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_RecvChatMsg>(
  13410. &from);
  13411. if (source == NULL) {
  13412. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13413. } else {
  13414. MergeFrom(*source);
  13415. }
  13416. }
  13417. void XPhone_RecvChatMsg::MergeFrom(const XPhone_RecvChatMsg& from) {
  13418. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  13419. if (from.has_head()) {
  13420. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  13421. }
  13422. if (from.strtablename().size() > 0) {
  13423. strtablename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strtablename_);
  13424. }
  13425. if (from.strmsgcontent().size() > 0) {
  13426. strmsgcontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strmsgcontent_);
  13427. }
  13428. }
  13429. void XPhone_RecvChatMsg::CopyFrom(const ::google::protobuf::Message& from) {
  13430. if (&from == this) return;
  13431. Clear();
  13432. MergeFrom(from);
  13433. }
  13434. void XPhone_RecvChatMsg::CopyFrom(const XPhone_RecvChatMsg& from) {
  13435. if (&from == this) return;
  13436. Clear();
  13437. MergeFrom(from);
  13438. }
  13439. bool XPhone_RecvChatMsg::IsInitialized() const {
  13440. return true;
  13441. }
  13442. void XPhone_RecvChatMsg::Swap(XPhone_RecvChatMsg* other) {
  13443. if (other == this) return;
  13444. InternalSwap(other);
  13445. }
  13446. void XPhone_RecvChatMsg::InternalSwap(XPhone_RecvChatMsg* other) {
  13447. std::swap(head_, other->head_);
  13448. strtablename_.Swap(&other->strtablename_);
  13449. strmsgcontent_.Swap(&other->strmsgcontent_);
  13450. _internal_metadata_.Swap(&other->_internal_metadata_);
  13451. std::swap(_cached_size_, other->_cached_size_);
  13452. }
  13453. ::google::protobuf::Metadata XPhone_RecvChatMsg::GetMetadata() const {
  13454. protobuf_AssignDescriptorsOnce();
  13455. ::google::protobuf::Metadata metadata;
  13456. metadata.descriptor = XPhone_RecvChatMsg_descriptor_;
  13457. metadata.reflection = XPhone_RecvChatMsg_reflection_;
  13458. return metadata;
  13459. }
  13460. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  13461. // XPhone_RecvChatMsg
  13462. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  13463. bool XPhone_RecvChatMsg::has_head() const {
  13464. return !_is_default_instance_ && head_ != NULL;
  13465. }
  13466. void XPhone_RecvChatMsg::clear_head() {
  13467. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  13468. head_ = NULL;
  13469. }
  13470. const ::XPhonePlus::XPhone_MsgBase& XPhone_RecvChatMsg::head() const {
  13471. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RecvChatMsg.head)
  13472. return head_ != NULL ? *head_ : *default_instance_->head_;
  13473. }
  13474. ::XPhonePlus::XPhone_MsgBase* XPhone_RecvChatMsg::mutable_head() {
  13475. if (head_ == NULL) {
  13476. head_ = new ::XPhonePlus::XPhone_MsgBase;
  13477. }
  13478. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RecvChatMsg.head)
  13479. return head_;
  13480. }
  13481. ::XPhonePlus::XPhone_MsgBase* XPhone_RecvChatMsg::release_head() {
  13482. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  13483. head_ = NULL;
  13484. return temp;
  13485. }
  13486. void XPhone_RecvChatMsg::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  13487. delete head_;
  13488. head_ = head;
  13489. if (head) {
  13490. } else {
  13491. }
  13492. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RecvChatMsg.head)
  13493. }
  13494. // optional string strTableName = 2;
  13495. void XPhone_RecvChatMsg::clear_strtablename() {
  13496. strtablename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13497. }
  13498. const ::std::string& XPhone_RecvChatMsg::strtablename() const {
  13499. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RecvChatMsg.strTableName)
  13500. return strtablename_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13501. }
  13502. void XPhone_RecvChatMsg::set_strtablename(const ::std::string& value) {
  13503. strtablename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  13504. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_RecvChatMsg.strTableName)
  13505. }
  13506. void XPhone_RecvChatMsg::set_strtablename(const char* value) {
  13507. strtablename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  13508. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_RecvChatMsg.strTableName)
  13509. }
  13510. void XPhone_RecvChatMsg::set_strtablename(const char* value, size_t size) {
  13511. strtablename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  13512. ::std::string(reinterpret_cast<const char*>(value), size));
  13513. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_RecvChatMsg.strTableName)
  13514. }
  13515. ::std::string* XPhone_RecvChatMsg::mutable_strtablename() {
  13516. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RecvChatMsg.strTableName)
  13517. return strtablename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13518. }
  13519. ::std::string* XPhone_RecvChatMsg::release_strtablename() {
  13520. return strtablename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13521. }
  13522. void XPhone_RecvChatMsg::set_allocated_strtablename(::std::string* strtablename) {
  13523. if (strtablename != NULL) {
  13524. } else {
  13525. }
  13526. strtablename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strtablename);
  13527. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RecvChatMsg.strTableName)
  13528. }
  13529. // optional string strMsgContent = 3;
  13530. void XPhone_RecvChatMsg::clear_strmsgcontent() {
  13531. strmsgcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13532. }
  13533. const ::std::string& XPhone_RecvChatMsg::strmsgcontent() const {
  13534. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
  13535. return strmsgcontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13536. }
  13537. void XPhone_RecvChatMsg::set_strmsgcontent(const ::std::string& value) {
  13538. strmsgcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  13539. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
  13540. }
  13541. void XPhone_RecvChatMsg::set_strmsgcontent(const char* value) {
  13542. strmsgcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  13543. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
  13544. }
  13545. void XPhone_RecvChatMsg::set_strmsgcontent(const char* value, size_t size) {
  13546. strmsgcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  13547. ::std::string(reinterpret_cast<const char*>(value), size));
  13548. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
  13549. }
  13550. ::std::string* XPhone_RecvChatMsg::mutable_strmsgcontent() {
  13551. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
  13552. return strmsgcontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13553. }
  13554. ::std::string* XPhone_RecvChatMsg::release_strmsgcontent() {
  13555. return strmsgcontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13556. }
  13557. void XPhone_RecvChatMsg::set_allocated_strmsgcontent(::std::string* strmsgcontent) {
  13558. if (strmsgcontent != NULL) {
  13559. } else {
  13560. }
  13561. strmsgcontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strmsgcontent);
  13562. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
  13563. }
  13564. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  13565. // ===================================================================
  13566. #ifndef _MSC_VER
  13567. const int XPhone_ChatMsg::kHeadFieldNumber;
  13568. const int XPhone_ChatMsg::kIsSendFieldNumber;
  13569. const int XPhone_ChatMsg::kStrTalkerFieldNumber;
  13570. const int XPhone_ChatMsg::kTypeFieldNumber;
  13571. const int XPhone_ChatMsg::kStrContentFieldNumber;
  13572. const int XPhone_ChatMsg::kICrateTimeFieldNumber;
  13573. const int XPhone_ChatMsg::kIStatusFieldNumber;
  13574. const int XPhone_ChatMsg::kStrShowNameFieldNumber;
  13575. #endif // !_MSC_VER
  13576. XPhone_ChatMsg::XPhone_ChatMsg()
  13577. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  13578. SharedCtor();
  13579. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ChatMsg)
  13580. }
  13581. void XPhone_ChatMsg::InitAsDefaultInstance() {
  13582. _is_default_instance_ = true;
  13583. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  13584. }
  13585. XPhone_ChatMsg::XPhone_ChatMsg(const XPhone_ChatMsg& from)
  13586. : ::google::protobuf::Message(),
  13587. _internal_metadata_(NULL) {
  13588. SharedCtor();
  13589. MergeFrom(from);
  13590. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ChatMsg)
  13591. }
  13592. void XPhone_ChatMsg::SharedCtor() {
  13593. _is_default_instance_ = false;
  13594. ::google::protobuf::internal::GetEmptyString();
  13595. _cached_size_ = 0;
  13596. head_ = NULL;
  13597. issend_ = 0;
  13598. strtalker_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13599. type_ = 0;
  13600. strcontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13601. icratetime_ = GOOGLE_LONGLONG(0);
  13602. istatus_ = 0;
  13603. strshowname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13604. }
  13605. XPhone_ChatMsg::~XPhone_ChatMsg() {
  13606. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ChatMsg)
  13607. SharedDtor();
  13608. }
  13609. void XPhone_ChatMsg::SharedDtor() {
  13610. strtalker_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13611. strcontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13612. strshowname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13613. if (this != default_instance_) {
  13614. delete head_;
  13615. }
  13616. }
  13617. void XPhone_ChatMsg::SetCachedSize(int size) const {
  13618. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13619. _cached_size_ = size;
  13620. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13621. }
  13622. const ::google::protobuf::Descriptor* XPhone_ChatMsg::descriptor() {
  13623. protobuf_AssignDescriptorsOnce();
  13624. return XPhone_ChatMsg_descriptor_;
  13625. }
  13626. const XPhone_ChatMsg& XPhone_ChatMsg::default_instance() {
  13627. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  13628. return *default_instance_;
  13629. }
  13630. XPhone_ChatMsg* XPhone_ChatMsg::default_instance_ = NULL;
  13631. XPhone_ChatMsg* XPhone_ChatMsg::New(::google::protobuf::Arena* arena) const {
  13632. XPhone_ChatMsg* n = new XPhone_ChatMsg;
  13633. if (arena != NULL) {
  13634. arena->Own(n);
  13635. }
  13636. return n;
  13637. }
  13638. void XPhone_ChatMsg::Clear() {
  13639. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  13640. &reinterpret_cast<XPhone_ChatMsg*>(16)->f)
  13641. #define ZR_(first, last) do {\
  13642. ::memset(&first, 0,\
  13643. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  13644. } while (0)
  13645. ZR_(issend_, type_);
  13646. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  13647. head_ = NULL;
  13648. strtalker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13649. strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13650. icratetime_ = GOOGLE_LONGLONG(0);
  13651. istatus_ = 0;
  13652. strshowname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  13653. #undef ZR_HELPER_
  13654. #undef ZR_
  13655. }
  13656. bool XPhone_ChatMsg::MergePartialFromCodedStream(
  13657. ::google::protobuf::io::CodedInputStream* input) {
  13658. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  13659. ::google::protobuf::uint32 tag;
  13660. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ChatMsg)
  13661. for (;;) {
  13662. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  13663. tag = p.first;
  13664. if (!p.second) goto handle_unusual;
  13665. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13666. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  13667. case 1: {
  13668. if (tag == 10) {
  13669. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  13670. input, mutable_head()));
  13671. } else {
  13672. goto handle_unusual;
  13673. }
  13674. if (input->ExpectTag(16)) goto parse_isSend;
  13675. break;
  13676. }
  13677. // optional int32 isSend = 2;
  13678. case 2: {
  13679. if (tag == 16) {
  13680. parse_isSend:
  13681. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13682. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13683. input, &issend_)));
  13684. } else {
  13685. goto handle_unusual;
  13686. }
  13687. if (input->ExpectTag(26)) goto parse_strTalker;
  13688. break;
  13689. }
  13690. // optional string strTalker = 3;
  13691. case 3: {
  13692. if (tag == 26) {
  13693. parse_strTalker:
  13694. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13695. input, this->mutable_strtalker()));
  13696. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13697. this->strtalker().data(), this->strtalker().length(),
  13698. ::google::protobuf::internal::WireFormatLite::PARSE,
  13699. "XPhonePlus.XPhone_ChatMsg.strTalker"));
  13700. } else {
  13701. goto handle_unusual;
  13702. }
  13703. if (input->ExpectTag(32)) goto parse_type;
  13704. break;
  13705. }
  13706. // optional int32 type = 4;
  13707. case 4: {
  13708. if (tag == 32) {
  13709. parse_type:
  13710. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13711. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13712. input, &type_)));
  13713. } else {
  13714. goto handle_unusual;
  13715. }
  13716. if (input->ExpectTag(42)) goto parse_strContent;
  13717. break;
  13718. }
  13719. // optional string strContent = 5;
  13720. case 5: {
  13721. if (tag == 42) {
  13722. parse_strContent:
  13723. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13724. input, this->mutable_strcontent()));
  13725. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13726. this->strcontent().data(), this->strcontent().length(),
  13727. ::google::protobuf::internal::WireFormatLite::PARSE,
  13728. "XPhonePlus.XPhone_ChatMsg.strContent"));
  13729. } else {
  13730. goto handle_unusual;
  13731. }
  13732. if (input->ExpectTag(48)) goto parse_iCrateTime;
  13733. break;
  13734. }
  13735. // optional int64 iCrateTime = 6;
  13736. case 6: {
  13737. if (tag == 48) {
  13738. parse_iCrateTime:
  13739. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13740. ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
  13741. input, &icratetime_)));
  13742. } else {
  13743. goto handle_unusual;
  13744. }
  13745. if (input->ExpectTag(56)) goto parse_iStatus;
  13746. break;
  13747. }
  13748. // optional int32 iStatus = 7;
  13749. case 7: {
  13750. if (tag == 56) {
  13751. parse_iStatus:
  13752. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13753. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13754. input, &istatus_)));
  13755. } else {
  13756. goto handle_unusual;
  13757. }
  13758. if (input->ExpectTag(66)) goto parse_strShowName;
  13759. break;
  13760. }
  13761. // optional string strShowName = 8;
  13762. case 8: {
  13763. if (tag == 66) {
  13764. parse_strShowName:
  13765. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  13766. input, this->mutable_strshowname()));
  13767. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13768. this->strshowname().data(), this->strshowname().length(),
  13769. ::google::protobuf::internal::WireFormatLite::PARSE,
  13770. "XPhonePlus.XPhone_ChatMsg.strShowName"));
  13771. } else {
  13772. goto handle_unusual;
  13773. }
  13774. if (input->ExpectAtEnd()) goto success;
  13775. break;
  13776. }
  13777. default: {
  13778. handle_unusual:
  13779. if (tag == 0 ||
  13780. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13781. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13782. goto success;
  13783. }
  13784. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  13785. break;
  13786. }
  13787. }
  13788. }
  13789. success:
  13790. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ChatMsg)
  13791. return true;
  13792. failure:
  13793. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ChatMsg)
  13794. return false;
  13795. #undef DO_
  13796. }
  13797. void XPhone_ChatMsg::SerializeWithCachedSizes(
  13798. ::google::protobuf::io::CodedOutputStream* output) const {
  13799. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ChatMsg)
  13800. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  13801. if (this->has_head()) {
  13802. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  13803. 1, *this->head_, output);
  13804. }
  13805. // optional int32 isSend = 2;
  13806. if (this->issend() != 0) {
  13807. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->issend(), output);
  13808. }
  13809. // optional string strTalker = 3;
  13810. if (this->strtalker().size() > 0) {
  13811. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13812. this->strtalker().data(), this->strtalker().length(),
  13813. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  13814. "XPhonePlus.XPhone_ChatMsg.strTalker");
  13815. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  13816. 3, this->strtalker(), output);
  13817. }
  13818. // optional int32 type = 4;
  13819. if (this->type() != 0) {
  13820. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->type(), output);
  13821. }
  13822. // optional string strContent = 5;
  13823. if (this->strcontent().size() > 0) {
  13824. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13825. this->strcontent().data(), this->strcontent().length(),
  13826. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  13827. "XPhonePlus.XPhone_ChatMsg.strContent");
  13828. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  13829. 5, this->strcontent(), output);
  13830. }
  13831. // optional int64 iCrateTime = 6;
  13832. if (this->icratetime() != 0) {
  13833. ::google::protobuf::internal::WireFormatLite::WriteInt64(6, this->icratetime(), output);
  13834. }
  13835. // optional int32 iStatus = 7;
  13836. if (this->istatus() != 0) {
  13837. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->istatus(), output);
  13838. }
  13839. // optional string strShowName = 8;
  13840. if (this->strshowname().size() > 0) {
  13841. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13842. this->strshowname().data(), this->strshowname().length(),
  13843. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  13844. "XPhonePlus.XPhone_ChatMsg.strShowName");
  13845. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  13846. 8, this->strshowname(), output);
  13847. }
  13848. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ChatMsg)
  13849. }
  13850. ::google::protobuf::uint8* XPhone_ChatMsg::SerializeWithCachedSizesToArray(
  13851. ::google::protobuf::uint8* target) const {
  13852. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ChatMsg)
  13853. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  13854. if (this->has_head()) {
  13855. target = ::google::protobuf::internal::WireFormatLite::
  13856. WriteMessageNoVirtualToArray(
  13857. 1, *this->head_, target);
  13858. }
  13859. // optional int32 isSend = 2;
  13860. if (this->issend() != 0) {
  13861. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->issend(), target);
  13862. }
  13863. // optional string strTalker = 3;
  13864. if (this->strtalker().size() > 0) {
  13865. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13866. this->strtalker().data(), this->strtalker().length(),
  13867. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  13868. "XPhonePlus.XPhone_ChatMsg.strTalker");
  13869. target =
  13870. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  13871. 3, this->strtalker(), target);
  13872. }
  13873. // optional int32 type = 4;
  13874. if (this->type() != 0) {
  13875. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->type(), target);
  13876. }
  13877. // optional string strContent = 5;
  13878. if (this->strcontent().size() > 0) {
  13879. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13880. this->strcontent().data(), this->strcontent().length(),
  13881. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  13882. "XPhonePlus.XPhone_ChatMsg.strContent");
  13883. target =
  13884. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  13885. 5, this->strcontent(), target);
  13886. }
  13887. // optional int64 iCrateTime = 6;
  13888. if (this->icratetime() != 0) {
  13889. target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(6, this->icratetime(), target);
  13890. }
  13891. // optional int32 iStatus = 7;
  13892. if (this->istatus() != 0) {
  13893. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->istatus(), target);
  13894. }
  13895. // optional string strShowName = 8;
  13896. if (this->strshowname().size() > 0) {
  13897. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  13898. this->strshowname().data(), this->strshowname().length(),
  13899. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  13900. "XPhonePlus.XPhone_ChatMsg.strShowName");
  13901. target =
  13902. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  13903. 8, this->strshowname(), target);
  13904. }
  13905. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ChatMsg)
  13906. return target;
  13907. }
  13908. int XPhone_ChatMsg::ByteSize() const {
  13909. int total_size = 0;
  13910. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  13911. if (this->has_head()) {
  13912. total_size += 1 +
  13913. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  13914. *this->head_);
  13915. }
  13916. // optional int32 isSend = 2;
  13917. if (this->issend() != 0) {
  13918. total_size += 1 +
  13919. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13920. this->issend());
  13921. }
  13922. // optional string strTalker = 3;
  13923. if (this->strtalker().size() > 0) {
  13924. total_size += 1 +
  13925. ::google::protobuf::internal::WireFormatLite::StringSize(
  13926. this->strtalker());
  13927. }
  13928. // optional int32 type = 4;
  13929. if (this->type() != 0) {
  13930. total_size += 1 +
  13931. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13932. this->type());
  13933. }
  13934. // optional string strContent = 5;
  13935. if (this->strcontent().size() > 0) {
  13936. total_size += 1 +
  13937. ::google::protobuf::internal::WireFormatLite::StringSize(
  13938. this->strcontent());
  13939. }
  13940. // optional int64 iCrateTime = 6;
  13941. if (this->icratetime() != 0) {
  13942. total_size += 1 +
  13943. ::google::protobuf::internal::WireFormatLite::Int64Size(
  13944. this->icratetime());
  13945. }
  13946. // optional int32 iStatus = 7;
  13947. if (this->istatus() != 0) {
  13948. total_size += 1 +
  13949. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13950. this->istatus());
  13951. }
  13952. // optional string strShowName = 8;
  13953. if (this->strshowname().size() > 0) {
  13954. total_size += 1 +
  13955. ::google::protobuf::internal::WireFormatLite::StringSize(
  13956. this->strshowname());
  13957. }
  13958. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13959. _cached_size_ = total_size;
  13960. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13961. return total_size;
  13962. }
  13963. void XPhone_ChatMsg::MergeFrom(const ::google::protobuf::Message& from) {
  13964. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  13965. const XPhone_ChatMsg* source =
  13966. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ChatMsg>(
  13967. &from);
  13968. if (source == NULL) {
  13969. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13970. } else {
  13971. MergeFrom(*source);
  13972. }
  13973. }
  13974. void XPhone_ChatMsg::MergeFrom(const XPhone_ChatMsg& from) {
  13975. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  13976. if (from.has_head()) {
  13977. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  13978. }
  13979. if (from.issend() != 0) {
  13980. set_issend(from.issend());
  13981. }
  13982. if (from.strtalker().size() > 0) {
  13983. strtalker_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strtalker_);
  13984. }
  13985. if (from.type() != 0) {
  13986. set_type(from.type());
  13987. }
  13988. if (from.strcontent().size() > 0) {
  13989. strcontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcontent_);
  13990. }
  13991. if (from.icratetime() != 0) {
  13992. set_icratetime(from.icratetime());
  13993. }
  13994. if (from.istatus() != 0) {
  13995. set_istatus(from.istatus());
  13996. }
  13997. if (from.strshowname().size() > 0) {
  13998. strshowname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strshowname_);
  13999. }
  14000. }
  14001. void XPhone_ChatMsg::CopyFrom(const ::google::protobuf::Message& from) {
  14002. if (&from == this) return;
  14003. Clear();
  14004. MergeFrom(from);
  14005. }
  14006. void XPhone_ChatMsg::CopyFrom(const XPhone_ChatMsg& from) {
  14007. if (&from == this) return;
  14008. Clear();
  14009. MergeFrom(from);
  14010. }
  14011. bool XPhone_ChatMsg::IsInitialized() const {
  14012. return true;
  14013. }
  14014. void XPhone_ChatMsg::Swap(XPhone_ChatMsg* other) {
  14015. if (other == this) return;
  14016. InternalSwap(other);
  14017. }
  14018. void XPhone_ChatMsg::InternalSwap(XPhone_ChatMsg* other) {
  14019. std::swap(head_, other->head_);
  14020. std::swap(issend_, other->issend_);
  14021. strtalker_.Swap(&other->strtalker_);
  14022. std::swap(type_, other->type_);
  14023. strcontent_.Swap(&other->strcontent_);
  14024. std::swap(icratetime_, other->icratetime_);
  14025. std::swap(istatus_, other->istatus_);
  14026. strshowname_.Swap(&other->strshowname_);
  14027. _internal_metadata_.Swap(&other->_internal_metadata_);
  14028. std::swap(_cached_size_, other->_cached_size_);
  14029. }
  14030. ::google::protobuf::Metadata XPhone_ChatMsg::GetMetadata() const {
  14031. protobuf_AssignDescriptorsOnce();
  14032. ::google::protobuf::Metadata metadata;
  14033. metadata.descriptor = XPhone_ChatMsg_descriptor_;
  14034. metadata.reflection = XPhone_ChatMsg_reflection_;
  14035. return metadata;
  14036. }
  14037. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  14038. // XPhone_ChatMsg
  14039. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  14040. bool XPhone_ChatMsg::has_head() const {
  14041. return !_is_default_instance_ && head_ != NULL;
  14042. }
  14043. void XPhone_ChatMsg::clear_head() {
  14044. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  14045. head_ = NULL;
  14046. }
  14047. const ::XPhonePlus::XPhone_MsgBase& XPhone_ChatMsg::head() const {
  14048. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.head)
  14049. return head_ != NULL ? *head_ : *default_instance_->head_;
  14050. }
  14051. ::XPhonePlus::XPhone_MsgBase* XPhone_ChatMsg::mutable_head() {
  14052. if (head_ == NULL) {
  14053. head_ = new ::XPhonePlus::XPhone_MsgBase;
  14054. }
  14055. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatMsg.head)
  14056. return head_;
  14057. }
  14058. ::XPhonePlus::XPhone_MsgBase* XPhone_ChatMsg::release_head() {
  14059. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  14060. head_ = NULL;
  14061. return temp;
  14062. }
  14063. void XPhone_ChatMsg::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  14064. delete head_;
  14065. head_ = head;
  14066. if (head) {
  14067. } else {
  14068. }
  14069. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatMsg.head)
  14070. }
  14071. // optional int32 isSend = 2;
  14072. void XPhone_ChatMsg::clear_issend() {
  14073. issend_ = 0;
  14074. }
  14075. ::google::protobuf::int32 XPhone_ChatMsg::issend() const {
  14076. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.isSend)
  14077. return issend_;
  14078. }
  14079. void XPhone_ChatMsg::set_issend(::google::protobuf::int32 value) {
  14080. issend_ = value;
  14081. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.isSend)
  14082. }
  14083. // optional string strTalker = 3;
  14084. void XPhone_ChatMsg::clear_strtalker() {
  14085. strtalker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14086. }
  14087. const ::std::string& XPhone_ChatMsg::strtalker() const {
  14088. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.strTalker)
  14089. return strtalker_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14090. }
  14091. void XPhone_ChatMsg::set_strtalker(const ::std::string& value) {
  14092. strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  14093. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.strTalker)
  14094. }
  14095. void XPhone_ChatMsg::set_strtalker(const char* value) {
  14096. strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  14097. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatMsg.strTalker)
  14098. }
  14099. void XPhone_ChatMsg::set_strtalker(const char* value, size_t size) {
  14100. strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  14101. ::std::string(reinterpret_cast<const char*>(value), size));
  14102. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatMsg.strTalker)
  14103. }
  14104. ::std::string* XPhone_ChatMsg::mutable_strtalker() {
  14105. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatMsg.strTalker)
  14106. return strtalker_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14107. }
  14108. ::std::string* XPhone_ChatMsg::release_strtalker() {
  14109. return strtalker_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14110. }
  14111. void XPhone_ChatMsg::set_allocated_strtalker(::std::string* strtalker) {
  14112. if (strtalker != NULL) {
  14113. } else {
  14114. }
  14115. strtalker_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strtalker);
  14116. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatMsg.strTalker)
  14117. }
  14118. // optional int32 type = 4;
  14119. void XPhone_ChatMsg::clear_type() {
  14120. type_ = 0;
  14121. }
  14122. ::google::protobuf::int32 XPhone_ChatMsg::type() const {
  14123. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.type)
  14124. return type_;
  14125. }
  14126. void XPhone_ChatMsg::set_type(::google::protobuf::int32 value) {
  14127. type_ = value;
  14128. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.type)
  14129. }
  14130. // optional string strContent = 5;
  14131. void XPhone_ChatMsg::clear_strcontent() {
  14132. strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14133. }
  14134. const ::std::string& XPhone_ChatMsg::strcontent() const {
  14135. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.strContent)
  14136. return strcontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14137. }
  14138. void XPhone_ChatMsg::set_strcontent(const ::std::string& value) {
  14139. strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  14140. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.strContent)
  14141. }
  14142. void XPhone_ChatMsg::set_strcontent(const char* value) {
  14143. strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  14144. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatMsg.strContent)
  14145. }
  14146. void XPhone_ChatMsg::set_strcontent(const char* value, size_t size) {
  14147. strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  14148. ::std::string(reinterpret_cast<const char*>(value), size));
  14149. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatMsg.strContent)
  14150. }
  14151. ::std::string* XPhone_ChatMsg::mutable_strcontent() {
  14152. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatMsg.strContent)
  14153. return strcontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14154. }
  14155. ::std::string* XPhone_ChatMsg::release_strcontent() {
  14156. return strcontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14157. }
  14158. void XPhone_ChatMsg::set_allocated_strcontent(::std::string* strcontent) {
  14159. if (strcontent != NULL) {
  14160. } else {
  14161. }
  14162. strcontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcontent);
  14163. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatMsg.strContent)
  14164. }
  14165. // optional int64 iCrateTime = 6;
  14166. void XPhone_ChatMsg::clear_icratetime() {
  14167. icratetime_ = GOOGLE_LONGLONG(0);
  14168. }
  14169. ::google::protobuf::int64 XPhone_ChatMsg::icratetime() const {
  14170. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.iCrateTime)
  14171. return icratetime_;
  14172. }
  14173. void XPhone_ChatMsg::set_icratetime(::google::protobuf::int64 value) {
  14174. icratetime_ = value;
  14175. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.iCrateTime)
  14176. }
  14177. // optional int32 iStatus = 7;
  14178. void XPhone_ChatMsg::clear_istatus() {
  14179. istatus_ = 0;
  14180. }
  14181. ::google::protobuf::int32 XPhone_ChatMsg::istatus() const {
  14182. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.iStatus)
  14183. return istatus_;
  14184. }
  14185. void XPhone_ChatMsg::set_istatus(::google::protobuf::int32 value) {
  14186. istatus_ = value;
  14187. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.iStatus)
  14188. }
  14189. // optional string strShowName = 8;
  14190. void XPhone_ChatMsg::clear_strshowname() {
  14191. strshowname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14192. }
  14193. const ::std::string& XPhone_ChatMsg::strshowname() const {
  14194. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.strShowName)
  14195. return strshowname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14196. }
  14197. void XPhone_ChatMsg::set_strshowname(const ::std::string& value) {
  14198. strshowname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  14199. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.strShowName)
  14200. }
  14201. void XPhone_ChatMsg::set_strshowname(const char* value) {
  14202. strshowname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  14203. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatMsg.strShowName)
  14204. }
  14205. void XPhone_ChatMsg::set_strshowname(const char* value, size_t size) {
  14206. strshowname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  14207. ::std::string(reinterpret_cast<const char*>(value), size));
  14208. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatMsg.strShowName)
  14209. }
  14210. ::std::string* XPhone_ChatMsg::mutable_strshowname() {
  14211. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatMsg.strShowName)
  14212. return strshowname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14213. }
  14214. ::std::string* XPhone_ChatMsg::release_strshowname() {
  14215. return strshowname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14216. }
  14217. void XPhone_ChatMsg::set_allocated_strshowname(::std::string* strshowname) {
  14218. if (strshowname != NULL) {
  14219. } else {
  14220. }
  14221. strshowname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strshowname);
  14222. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatMsg.strShowName)
  14223. }
  14224. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  14225. // ===================================================================
  14226. #ifndef _MSC_VER
  14227. const int XPhone_SendChatMsg::kHeadFieldNumber;
  14228. const int XPhone_SendChatMsg::kStrTalkerFieldNumber;
  14229. const int XPhone_SendChatMsg::kTypeFieldNumber;
  14230. const int XPhone_SendChatMsg::kStrContentFieldNumber;
  14231. #endif // !_MSC_VER
  14232. XPhone_SendChatMsg::XPhone_SendChatMsg()
  14233. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  14234. SharedCtor();
  14235. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SendChatMsg)
  14236. }
  14237. void XPhone_SendChatMsg::InitAsDefaultInstance() {
  14238. _is_default_instance_ = true;
  14239. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  14240. }
  14241. XPhone_SendChatMsg::XPhone_SendChatMsg(const XPhone_SendChatMsg& from)
  14242. : ::google::protobuf::Message(),
  14243. _internal_metadata_(NULL) {
  14244. SharedCtor();
  14245. MergeFrom(from);
  14246. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SendChatMsg)
  14247. }
  14248. void XPhone_SendChatMsg::SharedCtor() {
  14249. _is_default_instance_ = false;
  14250. ::google::protobuf::internal::GetEmptyString();
  14251. _cached_size_ = 0;
  14252. head_ = NULL;
  14253. strtalker_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14254. type_ = 0;
  14255. strcontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14256. }
  14257. XPhone_SendChatMsg::~XPhone_SendChatMsg() {
  14258. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SendChatMsg)
  14259. SharedDtor();
  14260. }
  14261. void XPhone_SendChatMsg::SharedDtor() {
  14262. strtalker_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14263. strcontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14264. if (this != default_instance_) {
  14265. delete head_;
  14266. }
  14267. }
  14268. void XPhone_SendChatMsg::SetCachedSize(int size) const {
  14269. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14270. _cached_size_ = size;
  14271. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14272. }
  14273. const ::google::protobuf::Descriptor* XPhone_SendChatMsg::descriptor() {
  14274. protobuf_AssignDescriptorsOnce();
  14275. return XPhone_SendChatMsg_descriptor_;
  14276. }
  14277. const XPhone_SendChatMsg& XPhone_SendChatMsg::default_instance() {
  14278. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  14279. return *default_instance_;
  14280. }
  14281. XPhone_SendChatMsg* XPhone_SendChatMsg::default_instance_ = NULL;
  14282. XPhone_SendChatMsg* XPhone_SendChatMsg::New(::google::protobuf::Arena* arena) const {
  14283. XPhone_SendChatMsg* n = new XPhone_SendChatMsg;
  14284. if (arena != NULL) {
  14285. arena->Own(n);
  14286. }
  14287. return n;
  14288. }
  14289. void XPhone_SendChatMsg::Clear() {
  14290. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  14291. head_ = NULL;
  14292. strtalker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14293. type_ = 0;
  14294. strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14295. }
  14296. bool XPhone_SendChatMsg::MergePartialFromCodedStream(
  14297. ::google::protobuf::io::CodedInputStream* input) {
  14298. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  14299. ::google::protobuf::uint32 tag;
  14300. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SendChatMsg)
  14301. for (;;) {
  14302. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  14303. tag = p.first;
  14304. if (!p.second) goto handle_unusual;
  14305. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14306. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  14307. case 1: {
  14308. if (tag == 10) {
  14309. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  14310. input, mutable_head()));
  14311. } else {
  14312. goto handle_unusual;
  14313. }
  14314. if (input->ExpectTag(18)) goto parse_strTalker;
  14315. break;
  14316. }
  14317. // optional string strTalker = 2;
  14318. case 2: {
  14319. if (tag == 18) {
  14320. parse_strTalker:
  14321. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  14322. input, this->mutable_strtalker()));
  14323. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  14324. this->strtalker().data(), this->strtalker().length(),
  14325. ::google::protobuf::internal::WireFormatLite::PARSE,
  14326. "XPhonePlus.XPhone_SendChatMsg.strTalker"));
  14327. } else {
  14328. goto handle_unusual;
  14329. }
  14330. if (input->ExpectTag(24)) goto parse_type;
  14331. break;
  14332. }
  14333. // optional int32 type = 3;
  14334. case 3: {
  14335. if (tag == 24) {
  14336. parse_type:
  14337. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14338. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14339. input, &type_)));
  14340. } else {
  14341. goto handle_unusual;
  14342. }
  14343. if (input->ExpectTag(34)) goto parse_strContent;
  14344. break;
  14345. }
  14346. // optional string strContent = 4;
  14347. case 4: {
  14348. if (tag == 34) {
  14349. parse_strContent:
  14350. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  14351. input, this->mutable_strcontent()));
  14352. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  14353. this->strcontent().data(), this->strcontent().length(),
  14354. ::google::protobuf::internal::WireFormatLite::PARSE,
  14355. "XPhonePlus.XPhone_SendChatMsg.strContent"));
  14356. } else {
  14357. goto handle_unusual;
  14358. }
  14359. if (input->ExpectAtEnd()) goto success;
  14360. break;
  14361. }
  14362. default: {
  14363. handle_unusual:
  14364. if (tag == 0 ||
  14365. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14366. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14367. goto success;
  14368. }
  14369. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  14370. break;
  14371. }
  14372. }
  14373. }
  14374. success:
  14375. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SendChatMsg)
  14376. return true;
  14377. failure:
  14378. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SendChatMsg)
  14379. return false;
  14380. #undef DO_
  14381. }
  14382. void XPhone_SendChatMsg::SerializeWithCachedSizes(
  14383. ::google::protobuf::io::CodedOutputStream* output) const {
  14384. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SendChatMsg)
  14385. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  14386. if (this->has_head()) {
  14387. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  14388. 1, *this->head_, output);
  14389. }
  14390. // optional string strTalker = 2;
  14391. if (this->strtalker().size() > 0) {
  14392. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  14393. this->strtalker().data(), this->strtalker().length(),
  14394. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  14395. "XPhonePlus.XPhone_SendChatMsg.strTalker");
  14396. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  14397. 2, this->strtalker(), output);
  14398. }
  14399. // optional int32 type = 3;
  14400. if (this->type() != 0) {
  14401. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  14402. }
  14403. // optional string strContent = 4;
  14404. if (this->strcontent().size() > 0) {
  14405. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  14406. this->strcontent().data(), this->strcontent().length(),
  14407. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  14408. "XPhonePlus.XPhone_SendChatMsg.strContent");
  14409. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  14410. 4, this->strcontent(), output);
  14411. }
  14412. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SendChatMsg)
  14413. }
  14414. ::google::protobuf::uint8* XPhone_SendChatMsg::SerializeWithCachedSizesToArray(
  14415. ::google::protobuf::uint8* target) const {
  14416. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SendChatMsg)
  14417. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  14418. if (this->has_head()) {
  14419. target = ::google::protobuf::internal::WireFormatLite::
  14420. WriteMessageNoVirtualToArray(
  14421. 1, *this->head_, target);
  14422. }
  14423. // optional string strTalker = 2;
  14424. if (this->strtalker().size() > 0) {
  14425. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  14426. this->strtalker().data(), this->strtalker().length(),
  14427. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  14428. "XPhonePlus.XPhone_SendChatMsg.strTalker");
  14429. target =
  14430. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  14431. 2, this->strtalker(), target);
  14432. }
  14433. // optional int32 type = 3;
  14434. if (this->type() != 0) {
  14435. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  14436. }
  14437. // optional string strContent = 4;
  14438. if (this->strcontent().size() > 0) {
  14439. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  14440. this->strcontent().data(), this->strcontent().length(),
  14441. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  14442. "XPhonePlus.XPhone_SendChatMsg.strContent");
  14443. target =
  14444. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  14445. 4, this->strcontent(), target);
  14446. }
  14447. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SendChatMsg)
  14448. return target;
  14449. }
  14450. int XPhone_SendChatMsg::ByteSize() const {
  14451. int total_size = 0;
  14452. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  14453. if (this->has_head()) {
  14454. total_size += 1 +
  14455. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  14456. *this->head_);
  14457. }
  14458. // optional string strTalker = 2;
  14459. if (this->strtalker().size() > 0) {
  14460. total_size += 1 +
  14461. ::google::protobuf::internal::WireFormatLite::StringSize(
  14462. this->strtalker());
  14463. }
  14464. // optional int32 type = 3;
  14465. if (this->type() != 0) {
  14466. total_size += 1 +
  14467. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14468. this->type());
  14469. }
  14470. // optional string strContent = 4;
  14471. if (this->strcontent().size() > 0) {
  14472. total_size += 1 +
  14473. ::google::protobuf::internal::WireFormatLite::StringSize(
  14474. this->strcontent());
  14475. }
  14476. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14477. _cached_size_ = total_size;
  14478. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14479. return total_size;
  14480. }
  14481. void XPhone_SendChatMsg::MergeFrom(const ::google::protobuf::Message& from) {
  14482. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  14483. const XPhone_SendChatMsg* source =
  14484. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SendChatMsg>(
  14485. &from);
  14486. if (source == NULL) {
  14487. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14488. } else {
  14489. MergeFrom(*source);
  14490. }
  14491. }
  14492. void XPhone_SendChatMsg::MergeFrom(const XPhone_SendChatMsg& from) {
  14493. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  14494. if (from.has_head()) {
  14495. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  14496. }
  14497. if (from.strtalker().size() > 0) {
  14498. strtalker_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strtalker_);
  14499. }
  14500. if (from.type() != 0) {
  14501. set_type(from.type());
  14502. }
  14503. if (from.strcontent().size() > 0) {
  14504. strcontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcontent_);
  14505. }
  14506. }
  14507. void XPhone_SendChatMsg::CopyFrom(const ::google::protobuf::Message& from) {
  14508. if (&from == this) return;
  14509. Clear();
  14510. MergeFrom(from);
  14511. }
  14512. void XPhone_SendChatMsg::CopyFrom(const XPhone_SendChatMsg& from) {
  14513. if (&from == this) return;
  14514. Clear();
  14515. MergeFrom(from);
  14516. }
  14517. bool XPhone_SendChatMsg::IsInitialized() const {
  14518. return true;
  14519. }
  14520. void XPhone_SendChatMsg::Swap(XPhone_SendChatMsg* other) {
  14521. if (other == this) return;
  14522. InternalSwap(other);
  14523. }
  14524. void XPhone_SendChatMsg::InternalSwap(XPhone_SendChatMsg* other) {
  14525. std::swap(head_, other->head_);
  14526. strtalker_.Swap(&other->strtalker_);
  14527. std::swap(type_, other->type_);
  14528. strcontent_.Swap(&other->strcontent_);
  14529. _internal_metadata_.Swap(&other->_internal_metadata_);
  14530. std::swap(_cached_size_, other->_cached_size_);
  14531. }
  14532. ::google::protobuf::Metadata XPhone_SendChatMsg::GetMetadata() const {
  14533. protobuf_AssignDescriptorsOnce();
  14534. ::google::protobuf::Metadata metadata;
  14535. metadata.descriptor = XPhone_SendChatMsg_descriptor_;
  14536. metadata.reflection = XPhone_SendChatMsg_reflection_;
  14537. return metadata;
  14538. }
  14539. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  14540. // XPhone_SendChatMsg
  14541. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  14542. bool XPhone_SendChatMsg::has_head() const {
  14543. return !_is_default_instance_ && head_ != NULL;
  14544. }
  14545. void XPhone_SendChatMsg::clear_head() {
  14546. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  14547. head_ = NULL;
  14548. }
  14549. const ::XPhonePlus::XPhone_MsgBase& XPhone_SendChatMsg::head() const {
  14550. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendChatMsg.head)
  14551. return head_ != NULL ? *head_ : *default_instance_->head_;
  14552. }
  14553. ::XPhonePlus::XPhone_MsgBase* XPhone_SendChatMsg::mutable_head() {
  14554. if (head_ == NULL) {
  14555. head_ = new ::XPhonePlus::XPhone_MsgBase;
  14556. }
  14557. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendChatMsg.head)
  14558. return head_;
  14559. }
  14560. ::XPhonePlus::XPhone_MsgBase* XPhone_SendChatMsg::release_head() {
  14561. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  14562. head_ = NULL;
  14563. return temp;
  14564. }
  14565. void XPhone_SendChatMsg::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  14566. delete head_;
  14567. head_ = head;
  14568. if (head) {
  14569. } else {
  14570. }
  14571. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendChatMsg.head)
  14572. }
  14573. // optional string strTalker = 2;
  14574. void XPhone_SendChatMsg::clear_strtalker() {
  14575. strtalker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14576. }
  14577. const ::std::string& XPhone_SendChatMsg::strtalker() const {
  14578. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendChatMsg.strTalker)
  14579. return strtalker_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14580. }
  14581. void XPhone_SendChatMsg::set_strtalker(const ::std::string& value) {
  14582. strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  14583. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SendChatMsg.strTalker)
  14584. }
  14585. void XPhone_SendChatMsg::set_strtalker(const char* value) {
  14586. strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  14587. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SendChatMsg.strTalker)
  14588. }
  14589. void XPhone_SendChatMsg::set_strtalker(const char* value, size_t size) {
  14590. strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  14591. ::std::string(reinterpret_cast<const char*>(value), size));
  14592. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SendChatMsg.strTalker)
  14593. }
  14594. ::std::string* XPhone_SendChatMsg::mutable_strtalker() {
  14595. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendChatMsg.strTalker)
  14596. return strtalker_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14597. }
  14598. ::std::string* XPhone_SendChatMsg::release_strtalker() {
  14599. return strtalker_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14600. }
  14601. void XPhone_SendChatMsg::set_allocated_strtalker(::std::string* strtalker) {
  14602. if (strtalker != NULL) {
  14603. } else {
  14604. }
  14605. strtalker_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strtalker);
  14606. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendChatMsg.strTalker)
  14607. }
  14608. // optional int32 type = 3;
  14609. void XPhone_SendChatMsg::clear_type() {
  14610. type_ = 0;
  14611. }
  14612. ::google::protobuf::int32 XPhone_SendChatMsg::type() const {
  14613. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendChatMsg.type)
  14614. return type_;
  14615. }
  14616. void XPhone_SendChatMsg::set_type(::google::protobuf::int32 value) {
  14617. type_ = value;
  14618. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SendChatMsg.type)
  14619. }
  14620. // optional string strContent = 4;
  14621. void XPhone_SendChatMsg::clear_strcontent() {
  14622. strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14623. }
  14624. const ::std::string& XPhone_SendChatMsg::strcontent() const {
  14625. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendChatMsg.strContent)
  14626. return strcontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14627. }
  14628. void XPhone_SendChatMsg::set_strcontent(const ::std::string& value) {
  14629. strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  14630. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SendChatMsg.strContent)
  14631. }
  14632. void XPhone_SendChatMsg::set_strcontent(const char* value) {
  14633. strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  14634. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SendChatMsg.strContent)
  14635. }
  14636. void XPhone_SendChatMsg::set_strcontent(const char* value, size_t size) {
  14637. strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  14638. ::std::string(reinterpret_cast<const char*>(value), size));
  14639. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SendChatMsg.strContent)
  14640. }
  14641. ::std::string* XPhone_SendChatMsg::mutable_strcontent() {
  14642. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendChatMsg.strContent)
  14643. return strcontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14644. }
  14645. ::std::string* XPhone_SendChatMsg::release_strcontent() {
  14646. return strcontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  14647. }
  14648. void XPhone_SendChatMsg::set_allocated_strcontent(::std::string* strcontent) {
  14649. if (strcontent != NULL) {
  14650. } else {
  14651. }
  14652. strcontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcontent);
  14653. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendChatMsg.strContent)
  14654. }
  14655. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  14656. // ===================================================================
  14657. #ifndef _MSC_VER
  14658. const int XPhone_ImportContact::kHeadFieldNumber;
  14659. const int XPhone_ImportContact::kPhoneNumbersFieldNumber;
  14660. const int XPhone_ImportContact::kClearcontactsFieldNumber;
  14661. #endif // !_MSC_VER
  14662. XPhone_ImportContact::XPhone_ImportContact()
  14663. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  14664. SharedCtor();
  14665. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ImportContact)
  14666. }
  14667. void XPhone_ImportContact::InitAsDefaultInstance() {
  14668. _is_default_instance_ = true;
  14669. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  14670. }
  14671. XPhone_ImportContact::XPhone_ImportContact(const XPhone_ImportContact& from)
  14672. : ::google::protobuf::Message(),
  14673. _internal_metadata_(NULL) {
  14674. SharedCtor();
  14675. MergeFrom(from);
  14676. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ImportContact)
  14677. }
  14678. void XPhone_ImportContact::SharedCtor() {
  14679. _is_default_instance_ = false;
  14680. ::google::protobuf::internal::GetEmptyString();
  14681. _cached_size_ = 0;
  14682. head_ = NULL;
  14683. clearcontacts_ = false;
  14684. }
  14685. XPhone_ImportContact::~XPhone_ImportContact() {
  14686. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ImportContact)
  14687. SharedDtor();
  14688. }
  14689. void XPhone_ImportContact::SharedDtor() {
  14690. if (this != default_instance_) {
  14691. delete head_;
  14692. }
  14693. }
  14694. void XPhone_ImportContact::SetCachedSize(int size) const {
  14695. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14696. _cached_size_ = size;
  14697. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14698. }
  14699. const ::google::protobuf::Descriptor* XPhone_ImportContact::descriptor() {
  14700. protobuf_AssignDescriptorsOnce();
  14701. return XPhone_ImportContact_descriptor_;
  14702. }
  14703. const XPhone_ImportContact& XPhone_ImportContact::default_instance() {
  14704. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  14705. return *default_instance_;
  14706. }
  14707. XPhone_ImportContact* XPhone_ImportContact::default_instance_ = NULL;
  14708. XPhone_ImportContact* XPhone_ImportContact::New(::google::protobuf::Arena* arena) const {
  14709. XPhone_ImportContact* n = new XPhone_ImportContact;
  14710. if (arena != NULL) {
  14711. arena->Own(n);
  14712. }
  14713. return n;
  14714. }
  14715. void XPhone_ImportContact::Clear() {
  14716. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  14717. head_ = NULL;
  14718. clearcontacts_ = false;
  14719. phonenumbers_.Clear();
  14720. }
  14721. bool XPhone_ImportContact::MergePartialFromCodedStream(
  14722. ::google::protobuf::io::CodedInputStream* input) {
  14723. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  14724. ::google::protobuf::uint32 tag;
  14725. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ImportContact)
  14726. for (;;) {
  14727. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  14728. tag = p.first;
  14729. if (!p.second) goto handle_unusual;
  14730. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14731. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  14732. case 1: {
  14733. if (tag == 10) {
  14734. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  14735. input, mutable_head()));
  14736. } else {
  14737. goto handle_unusual;
  14738. }
  14739. if (input->ExpectTag(18)) goto parse_phoneNumbers;
  14740. break;
  14741. }
  14742. // repeated string phoneNumbers = 2;
  14743. case 2: {
  14744. if (tag == 18) {
  14745. parse_phoneNumbers:
  14746. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  14747. input, this->add_phonenumbers()));
  14748. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  14749. this->phonenumbers(this->phonenumbers_size() - 1).data(),
  14750. this->phonenumbers(this->phonenumbers_size() - 1).length(),
  14751. ::google::protobuf::internal::WireFormatLite::PARSE,
  14752. "XPhonePlus.XPhone_ImportContact.phoneNumbers"));
  14753. } else {
  14754. goto handle_unusual;
  14755. }
  14756. if (input->ExpectTag(18)) goto parse_phoneNumbers;
  14757. if (input->ExpectTag(24)) goto parse_clearcontacts;
  14758. break;
  14759. }
  14760. // optional bool clearcontacts = 3;
  14761. case 3: {
  14762. if (tag == 24) {
  14763. parse_clearcontacts:
  14764. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14765. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  14766. input, &clearcontacts_)));
  14767. } else {
  14768. goto handle_unusual;
  14769. }
  14770. if (input->ExpectAtEnd()) goto success;
  14771. break;
  14772. }
  14773. default: {
  14774. handle_unusual:
  14775. if (tag == 0 ||
  14776. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14777. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14778. goto success;
  14779. }
  14780. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  14781. break;
  14782. }
  14783. }
  14784. }
  14785. success:
  14786. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ImportContact)
  14787. return true;
  14788. failure:
  14789. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ImportContact)
  14790. return false;
  14791. #undef DO_
  14792. }
  14793. void XPhone_ImportContact::SerializeWithCachedSizes(
  14794. ::google::protobuf::io::CodedOutputStream* output) const {
  14795. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ImportContact)
  14796. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  14797. if (this->has_head()) {
  14798. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  14799. 1, *this->head_, output);
  14800. }
  14801. // repeated string phoneNumbers = 2;
  14802. for (int i = 0; i < this->phonenumbers_size(); i++) {
  14803. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  14804. this->phonenumbers(i).data(), this->phonenumbers(i).length(),
  14805. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  14806. "XPhonePlus.XPhone_ImportContact.phoneNumbers");
  14807. ::google::protobuf::internal::WireFormatLite::WriteString(
  14808. 2, this->phonenumbers(i), output);
  14809. }
  14810. // optional bool clearcontacts = 3;
  14811. if (this->clearcontacts() != 0) {
  14812. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->clearcontacts(), output);
  14813. }
  14814. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ImportContact)
  14815. }
  14816. ::google::protobuf::uint8* XPhone_ImportContact::SerializeWithCachedSizesToArray(
  14817. ::google::protobuf::uint8* target) const {
  14818. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ImportContact)
  14819. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  14820. if (this->has_head()) {
  14821. target = ::google::protobuf::internal::WireFormatLite::
  14822. WriteMessageNoVirtualToArray(
  14823. 1, *this->head_, target);
  14824. }
  14825. // repeated string phoneNumbers = 2;
  14826. for (int i = 0; i < this->phonenumbers_size(); i++) {
  14827. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  14828. this->phonenumbers(i).data(), this->phonenumbers(i).length(),
  14829. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  14830. "XPhonePlus.XPhone_ImportContact.phoneNumbers");
  14831. target = ::google::protobuf::internal::WireFormatLite::
  14832. WriteStringToArray(2, this->phonenumbers(i), target);
  14833. }
  14834. // optional bool clearcontacts = 3;
  14835. if (this->clearcontacts() != 0) {
  14836. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->clearcontacts(), target);
  14837. }
  14838. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ImportContact)
  14839. return target;
  14840. }
  14841. int XPhone_ImportContact::ByteSize() const {
  14842. int total_size = 0;
  14843. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  14844. if (this->has_head()) {
  14845. total_size += 1 +
  14846. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  14847. *this->head_);
  14848. }
  14849. // optional bool clearcontacts = 3;
  14850. if (this->clearcontacts() != 0) {
  14851. total_size += 1 + 1;
  14852. }
  14853. // repeated string phoneNumbers = 2;
  14854. total_size += 1 * this->phonenumbers_size();
  14855. for (int i = 0; i < this->phonenumbers_size(); i++) {
  14856. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  14857. this->phonenumbers(i));
  14858. }
  14859. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14860. _cached_size_ = total_size;
  14861. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14862. return total_size;
  14863. }
  14864. void XPhone_ImportContact::MergeFrom(const ::google::protobuf::Message& from) {
  14865. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  14866. const XPhone_ImportContact* source =
  14867. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ImportContact>(
  14868. &from);
  14869. if (source == NULL) {
  14870. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14871. } else {
  14872. MergeFrom(*source);
  14873. }
  14874. }
  14875. void XPhone_ImportContact::MergeFrom(const XPhone_ImportContact& from) {
  14876. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  14877. phonenumbers_.MergeFrom(from.phonenumbers_);
  14878. if (from.has_head()) {
  14879. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  14880. }
  14881. if (from.clearcontacts() != 0) {
  14882. set_clearcontacts(from.clearcontacts());
  14883. }
  14884. }
  14885. void XPhone_ImportContact::CopyFrom(const ::google::protobuf::Message& from) {
  14886. if (&from == this) return;
  14887. Clear();
  14888. MergeFrom(from);
  14889. }
  14890. void XPhone_ImportContact::CopyFrom(const XPhone_ImportContact& from) {
  14891. if (&from == this) return;
  14892. Clear();
  14893. MergeFrom(from);
  14894. }
  14895. bool XPhone_ImportContact::IsInitialized() const {
  14896. return true;
  14897. }
  14898. void XPhone_ImportContact::Swap(XPhone_ImportContact* other) {
  14899. if (other == this) return;
  14900. InternalSwap(other);
  14901. }
  14902. void XPhone_ImportContact::InternalSwap(XPhone_ImportContact* other) {
  14903. std::swap(head_, other->head_);
  14904. phonenumbers_.UnsafeArenaSwap(&other->phonenumbers_);
  14905. std::swap(clearcontacts_, other->clearcontacts_);
  14906. _internal_metadata_.Swap(&other->_internal_metadata_);
  14907. std::swap(_cached_size_, other->_cached_size_);
  14908. }
  14909. ::google::protobuf::Metadata XPhone_ImportContact::GetMetadata() const {
  14910. protobuf_AssignDescriptorsOnce();
  14911. ::google::protobuf::Metadata metadata;
  14912. metadata.descriptor = XPhone_ImportContact_descriptor_;
  14913. metadata.reflection = XPhone_ImportContact_reflection_;
  14914. return metadata;
  14915. }
  14916. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  14917. // XPhone_ImportContact
  14918. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  14919. bool XPhone_ImportContact::has_head() const {
  14920. return !_is_default_instance_ && head_ != NULL;
  14921. }
  14922. void XPhone_ImportContact::clear_head() {
  14923. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  14924. head_ = NULL;
  14925. }
  14926. const ::XPhonePlus::XPhone_MsgBase& XPhone_ImportContact::head() const {
  14927. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportContact.head)
  14928. return head_ != NULL ? *head_ : *default_instance_->head_;
  14929. }
  14930. ::XPhonePlus::XPhone_MsgBase* XPhone_ImportContact::mutable_head() {
  14931. if (head_ == NULL) {
  14932. head_ = new ::XPhonePlus::XPhone_MsgBase;
  14933. }
  14934. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportContact.head)
  14935. return head_;
  14936. }
  14937. ::XPhonePlus::XPhone_MsgBase* XPhone_ImportContact::release_head() {
  14938. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  14939. head_ = NULL;
  14940. return temp;
  14941. }
  14942. void XPhone_ImportContact::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  14943. delete head_;
  14944. head_ = head;
  14945. if (head) {
  14946. } else {
  14947. }
  14948. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ImportContact.head)
  14949. }
  14950. // repeated string phoneNumbers = 2;
  14951. int XPhone_ImportContact::phonenumbers_size() const {
  14952. return phonenumbers_.size();
  14953. }
  14954. void XPhone_ImportContact::clear_phonenumbers() {
  14955. phonenumbers_.Clear();
  14956. }
  14957. const ::std::string& XPhone_ImportContact::phonenumbers(int index) const {
  14958. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportContact.phoneNumbers)
  14959. return phonenumbers_.Get(index);
  14960. }
  14961. ::std::string* XPhone_ImportContact::mutable_phonenumbers(int index) {
  14962. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportContact.phoneNumbers)
  14963. return phonenumbers_.Mutable(index);
  14964. }
  14965. void XPhone_ImportContact::set_phonenumbers(int index, const ::std::string& value) {
  14966. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ImportContact.phoneNumbers)
  14967. phonenumbers_.Mutable(index)->assign(value);
  14968. }
  14969. void XPhone_ImportContact::set_phonenumbers(int index, const char* value) {
  14970. phonenumbers_.Mutable(index)->assign(value);
  14971. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ImportContact.phoneNumbers)
  14972. }
  14973. void XPhone_ImportContact::set_phonenumbers(int index, const char* value, size_t size) {
  14974. phonenumbers_.Mutable(index)->assign(
  14975. reinterpret_cast<const char*>(value), size);
  14976. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ImportContact.phoneNumbers)
  14977. }
  14978. ::std::string* XPhone_ImportContact::add_phonenumbers() {
  14979. return phonenumbers_.Add();
  14980. }
  14981. void XPhone_ImportContact::add_phonenumbers(const ::std::string& value) {
  14982. phonenumbers_.Add()->assign(value);
  14983. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ImportContact.phoneNumbers)
  14984. }
  14985. void XPhone_ImportContact::add_phonenumbers(const char* value) {
  14986. phonenumbers_.Add()->assign(value);
  14987. // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_ImportContact.phoneNumbers)
  14988. }
  14989. void XPhone_ImportContact::add_phonenumbers(const char* value, size_t size) {
  14990. phonenumbers_.Add()->assign(reinterpret_cast<const char*>(value), size);
  14991. // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_ImportContact.phoneNumbers)
  14992. }
  14993. const ::google::protobuf::RepeatedPtrField< ::std::string>&
  14994. XPhone_ImportContact::phonenumbers() const {
  14995. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ImportContact.phoneNumbers)
  14996. return phonenumbers_;
  14997. }
  14998. ::google::protobuf::RepeatedPtrField< ::std::string>*
  14999. XPhone_ImportContact::mutable_phonenumbers() {
  15000. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ImportContact.phoneNumbers)
  15001. return &phonenumbers_;
  15002. }
  15003. // optional bool clearcontacts = 3;
  15004. void XPhone_ImportContact::clear_clearcontacts() {
  15005. clearcontacts_ = false;
  15006. }
  15007. bool XPhone_ImportContact::clearcontacts() const {
  15008. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportContact.clearcontacts)
  15009. return clearcontacts_;
  15010. }
  15011. void XPhone_ImportContact::set_clearcontacts(bool value) {
  15012. clearcontacts_ = value;
  15013. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ImportContact.clearcontacts)
  15014. }
  15015. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  15016. // ===================================================================
  15017. #ifndef _MSC_VER
  15018. const int XPhone_OpenActivity::kHeadFieldNumber;
  15019. const int XPhone_OpenActivity::kStrActivityNameFieldNumber;
  15020. #endif // !_MSC_VER
  15021. XPhone_OpenActivity::XPhone_OpenActivity()
  15022. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  15023. SharedCtor();
  15024. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_OpenActivity)
  15025. }
  15026. void XPhone_OpenActivity::InitAsDefaultInstance() {
  15027. _is_default_instance_ = true;
  15028. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  15029. }
  15030. XPhone_OpenActivity::XPhone_OpenActivity(const XPhone_OpenActivity& from)
  15031. : ::google::protobuf::Message(),
  15032. _internal_metadata_(NULL) {
  15033. SharedCtor();
  15034. MergeFrom(from);
  15035. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_OpenActivity)
  15036. }
  15037. void XPhone_OpenActivity::SharedCtor() {
  15038. _is_default_instance_ = false;
  15039. ::google::protobuf::internal::GetEmptyString();
  15040. _cached_size_ = 0;
  15041. head_ = NULL;
  15042. stractivityname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15043. }
  15044. XPhone_OpenActivity::~XPhone_OpenActivity() {
  15045. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_OpenActivity)
  15046. SharedDtor();
  15047. }
  15048. void XPhone_OpenActivity::SharedDtor() {
  15049. stractivityname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15050. if (this != default_instance_) {
  15051. delete head_;
  15052. }
  15053. }
  15054. void XPhone_OpenActivity::SetCachedSize(int size) const {
  15055. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15056. _cached_size_ = size;
  15057. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15058. }
  15059. const ::google::protobuf::Descriptor* XPhone_OpenActivity::descriptor() {
  15060. protobuf_AssignDescriptorsOnce();
  15061. return XPhone_OpenActivity_descriptor_;
  15062. }
  15063. const XPhone_OpenActivity& XPhone_OpenActivity::default_instance() {
  15064. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  15065. return *default_instance_;
  15066. }
  15067. XPhone_OpenActivity* XPhone_OpenActivity::default_instance_ = NULL;
  15068. XPhone_OpenActivity* XPhone_OpenActivity::New(::google::protobuf::Arena* arena) const {
  15069. XPhone_OpenActivity* n = new XPhone_OpenActivity;
  15070. if (arena != NULL) {
  15071. arena->Own(n);
  15072. }
  15073. return n;
  15074. }
  15075. void XPhone_OpenActivity::Clear() {
  15076. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  15077. head_ = NULL;
  15078. stractivityname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15079. }
  15080. bool XPhone_OpenActivity::MergePartialFromCodedStream(
  15081. ::google::protobuf::io::CodedInputStream* input) {
  15082. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  15083. ::google::protobuf::uint32 tag;
  15084. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_OpenActivity)
  15085. for (;;) {
  15086. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  15087. tag = p.first;
  15088. if (!p.second) goto handle_unusual;
  15089. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15090. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15091. case 1: {
  15092. if (tag == 10) {
  15093. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  15094. input, mutable_head()));
  15095. } else {
  15096. goto handle_unusual;
  15097. }
  15098. if (input->ExpectTag(18)) goto parse_strActivityName;
  15099. break;
  15100. }
  15101. // optional string strActivityName = 2;
  15102. case 2: {
  15103. if (tag == 18) {
  15104. parse_strActivityName:
  15105. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15106. input, this->mutable_stractivityname()));
  15107. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  15108. this->stractivityname().data(), this->stractivityname().length(),
  15109. ::google::protobuf::internal::WireFormatLite::PARSE,
  15110. "XPhonePlus.XPhone_OpenActivity.strActivityName"));
  15111. } else {
  15112. goto handle_unusual;
  15113. }
  15114. if (input->ExpectAtEnd()) goto success;
  15115. break;
  15116. }
  15117. default: {
  15118. handle_unusual:
  15119. if (tag == 0 ||
  15120. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15121. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15122. goto success;
  15123. }
  15124. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  15125. break;
  15126. }
  15127. }
  15128. }
  15129. success:
  15130. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_OpenActivity)
  15131. return true;
  15132. failure:
  15133. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_OpenActivity)
  15134. return false;
  15135. #undef DO_
  15136. }
  15137. void XPhone_OpenActivity::SerializeWithCachedSizes(
  15138. ::google::protobuf::io::CodedOutputStream* output) const {
  15139. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_OpenActivity)
  15140. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15141. if (this->has_head()) {
  15142. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  15143. 1, *this->head_, output);
  15144. }
  15145. // optional string strActivityName = 2;
  15146. if (this->stractivityname().size() > 0) {
  15147. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  15148. this->stractivityname().data(), this->stractivityname().length(),
  15149. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  15150. "XPhonePlus.XPhone_OpenActivity.strActivityName");
  15151. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  15152. 2, this->stractivityname(), output);
  15153. }
  15154. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_OpenActivity)
  15155. }
  15156. ::google::protobuf::uint8* XPhone_OpenActivity::SerializeWithCachedSizesToArray(
  15157. ::google::protobuf::uint8* target) const {
  15158. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_OpenActivity)
  15159. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15160. if (this->has_head()) {
  15161. target = ::google::protobuf::internal::WireFormatLite::
  15162. WriteMessageNoVirtualToArray(
  15163. 1, *this->head_, target);
  15164. }
  15165. // optional string strActivityName = 2;
  15166. if (this->stractivityname().size() > 0) {
  15167. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  15168. this->stractivityname().data(), this->stractivityname().length(),
  15169. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  15170. "XPhonePlus.XPhone_OpenActivity.strActivityName");
  15171. target =
  15172. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15173. 2, this->stractivityname(), target);
  15174. }
  15175. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_OpenActivity)
  15176. return target;
  15177. }
  15178. int XPhone_OpenActivity::ByteSize() const {
  15179. int total_size = 0;
  15180. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15181. if (this->has_head()) {
  15182. total_size += 1 +
  15183. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  15184. *this->head_);
  15185. }
  15186. // optional string strActivityName = 2;
  15187. if (this->stractivityname().size() > 0) {
  15188. total_size += 1 +
  15189. ::google::protobuf::internal::WireFormatLite::StringSize(
  15190. this->stractivityname());
  15191. }
  15192. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15193. _cached_size_ = total_size;
  15194. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15195. return total_size;
  15196. }
  15197. void XPhone_OpenActivity::MergeFrom(const ::google::protobuf::Message& from) {
  15198. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  15199. const XPhone_OpenActivity* source =
  15200. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_OpenActivity>(
  15201. &from);
  15202. if (source == NULL) {
  15203. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15204. } else {
  15205. MergeFrom(*source);
  15206. }
  15207. }
  15208. void XPhone_OpenActivity::MergeFrom(const XPhone_OpenActivity& from) {
  15209. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  15210. if (from.has_head()) {
  15211. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  15212. }
  15213. if (from.stractivityname().size() > 0) {
  15214. stractivityname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.stractivityname_);
  15215. }
  15216. }
  15217. void XPhone_OpenActivity::CopyFrom(const ::google::protobuf::Message& from) {
  15218. if (&from == this) return;
  15219. Clear();
  15220. MergeFrom(from);
  15221. }
  15222. void XPhone_OpenActivity::CopyFrom(const XPhone_OpenActivity& from) {
  15223. if (&from == this) return;
  15224. Clear();
  15225. MergeFrom(from);
  15226. }
  15227. bool XPhone_OpenActivity::IsInitialized() const {
  15228. return true;
  15229. }
  15230. void XPhone_OpenActivity::Swap(XPhone_OpenActivity* other) {
  15231. if (other == this) return;
  15232. InternalSwap(other);
  15233. }
  15234. void XPhone_OpenActivity::InternalSwap(XPhone_OpenActivity* other) {
  15235. std::swap(head_, other->head_);
  15236. stractivityname_.Swap(&other->stractivityname_);
  15237. _internal_metadata_.Swap(&other->_internal_metadata_);
  15238. std::swap(_cached_size_, other->_cached_size_);
  15239. }
  15240. ::google::protobuf::Metadata XPhone_OpenActivity::GetMetadata() const {
  15241. protobuf_AssignDescriptorsOnce();
  15242. ::google::protobuf::Metadata metadata;
  15243. metadata.descriptor = XPhone_OpenActivity_descriptor_;
  15244. metadata.reflection = XPhone_OpenActivity_reflection_;
  15245. return metadata;
  15246. }
  15247. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  15248. // XPhone_OpenActivity
  15249. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15250. bool XPhone_OpenActivity::has_head() const {
  15251. return !_is_default_instance_ && head_ != NULL;
  15252. }
  15253. void XPhone_OpenActivity::clear_head() {
  15254. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  15255. head_ = NULL;
  15256. }
  15257. const ::XPhonePlus::XPhone_MsgBase& XPhone_OpenActivity::head() const {
  15258. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_OpenActivity.head)
  15259. return head_ != NULL ? *head_ : *default_instance_->head_;
  15260. }
  15261. ::XPhonePlus::XPhone_MsgBase* XPhone_OpenActivity::mutable_head() {
  15262. if (head_ == NULL) {
  15263. head_ = new ::XPhonePlus::XPhone_MsgBase;
  15264. }
  15265. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_OpenActivity.head)
  15266. return head_;
  15267. }
  15268. ::XPhonePlus::XPhone_MsgBase* XPhone_OpenActivity::release_head() {
  15269. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  15270. head_ = NULL;
  15271. return temp;
  15272. }
  15273. void XPhone_OpenActivity::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  15274. delete head_;
  15275. head_ = head;
  15276. if (head) {
  15277. } else {
  15278. }
  15279. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_OpenActivity.head)
  15280. }
  15281. // optional string strActivityName = 2;
  15282. void XPhone_OpenActivity::clear_stractivityname() {
  15283. stractivityname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15284. }
  15285. const ::std::string& XPhone_OpenActivity::stractivityname() const {
  15286. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_OpenActivity.strActivityName)
  15287. return stractivityname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15288. }
  15289. void XPhone_OpenActivity::set_stractivityname(const ::std::string& value) {
  15290. stractivityname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  15291. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_OpenActivity.strActivityName)
  15292. }
  15293. void XPhone_OpenActivity::set_stractivityname(const char* value) {
  15294. stractivityname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  15295. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_OpenActivity.strActivityName)
  15296. }
  15297. void XPhone_OpenActivity::set_stractivityname(const char* value, size_t size) {
  15298. stractivityname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  15299. ::std::string(reinterpret_cast<const char*>(value), size));
  15300. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_OpenActivity.strActivityName)
  15301. }
  15302. ::std::string* XPhone_OpenActivity::mutable_stractivityname() {
  15303. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_OpenActivity.strActivityName)
  15304. return stractivityname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15305. }
  15306. ::std::string* XPhone_OpenActivity::release_stractivityname() {
  15307. return stractivityname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15308. }
  15309. void XPhone_OpenActivity::set_allocated_stractivityname(::std::string* stractivityname) {
  15310. if (stractivityname != NULL) {
  15311. } else {
  15312. }
  15313. stractivityname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stractivityname);
  15314. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_OpenActivity.strActivityName)
  15315. }
  15316. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  15317. // ===================================================================
  15318. #ifndef _MSC_VER
  15319. const int XPhone_RestoreWeichatShot::kHeadFieldNumber;
  15320. const int XPhone_RestoreWeichatShot::kStrUserNameFieldNumber;
  15321. #endif // !_MSC_VER
  15322. XPhone_RestoreWeichatShot::XPhone_RestoreWeichatShot()
  15323. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  15324. SharedCtor();
  15325. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_RestoreWeichatShot)
  15326. }
  15327. void XPhone_RestoreWeichatShot::InitAsDefaultInstance() {
  15328. _is_default_instance_ = true;
  15329. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  15330. }
  15331. XPhone_RestoreWeichatShot::XPhone_RestoreWeichatShot(const XPhone_RestoreWeichatShot& from)
  15332. : ::google::protobuf::Message(),
  15333. _internal_metadata_(NULL) {
  15334. SharedCtor();
  15335. MergeFrom(from);
  15336. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_RestoreWeichatShot)
  15337. }
  15338. void XPhone_RestoreWeichatShot::SharedCtor() {
  15339. _is_default_instance_ = false;
  15340. ::google::protobuf::internal::GetEmptyString();
  15341. _cached_size_ = 0;
  15342. head_ = NULL;
  15343. strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15344. }
  15345. XPhone_RestoreWeichatShot::~XPhone_RestoreWeichatShot() {
  15346. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_RestoreWeichatShot)
  15347. SharedDtor();
  15348. }
  15349. void XPhone_RestoreWeichatShot::SharedDtor() {
  15350. strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15351. if (this != default_instance_) {
  15352. delete head_;
  15353. }
  15354. }
  15355. void XPhone_RestoreWeichatShot::SetCachedSize(int size) const {
  15356. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15357. _cached_size_ = size;
  15358. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15359. }
  15360. const ::google::protobuf::Descriptor* XPhone_RestoreWeichatShot::descriptor() {
  15361. protobuf_AssignDescriptorsOnce();
  15362. return XPhone_RestoreWeichatShot_descriptor_;
  15363. }
  15364. const XPhone_RestoreWeichatShot& XPhone_RestoreWeichatShot::default_instance() {
  15365. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  15366. return *default_instance_;
  15367. }
  15368. XPhone_RestoreWeichatShot* XPhone_RestoreWeichatShot::default_instance_ = NULL;
  15369. XPhone_RestoreWeichatShot* XPhone_RestoreWeichatShot::New(::google::protobuf::Arena* arena) const {
  15370. XPhone_RestoreWeichatShot* n = new XPhone_RestoreWeichatShot;
  15371. if (arena != NULL) {
  15372. arena->Own(n);
  15373. }
  15374. return n;
  15375. }
  15376. void XPhone_RestoreWeichatShot::Clear() {
  15377. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  15378. head_ = NULL;
  15379. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15380. }
  15381. bool XPhone_RestoreWeichatShot::MergePartialFromCodedStream(
  15382. ::google::protobuf::io::CodedInputStream* input) {
  15383. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  15384. ::google::protobuf::uint32 tag;
  15385. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_RestoreWeichatShot)
  15386. for (;;) {
  15387. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  15388. tag = p.first;
  15389. if (!p.second) goto handle_unusual;
  15390. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15391. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15392. case 1: {
  15393. if (tag == 10) {
  15394. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  15395. input, mutable_head()));
  15396. } else {
  15397. goto handle_unusual;
  15398. }
  15399. if (input->ExpectTag(18)) goto parse_strUserName;
  15400. break;
  15401. }
  15402. // optional string strUserName = 2;
  15403. case 2: {
  15404. if (tag == 18) {
  15405. parse_strUserName:
  15406. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15407. input, this->mutable_strusername()));
  15408. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  15409. this->strusername().data(), this->strusername().length(),
  15410. ::google::protobuf::internal::WireFormatLite::PARSE,
  15411. "XPhonePlus.XPhone_RestoreWeichatShot.strUserName"));
  15412. } else {
  15413. goto handle_unusual;
  15414. }
  15415. if (input->ExpectAtEnd()) goto success;
  15416. break;
  15417. }
  15418. default: {
  15419. handle_unusual:
  15420. if (tag == 0 ||
  15421. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15422. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15423. goto success;
  15424. }
  15425. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  15426. break;
  15427. }
  15428. }
  15429. }
  15430. success:
  15431. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_RestoreWeichatShot)
  15432. return true;
  15433. failure:
  15434. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_RestoreWeichatShot)
  15435. return false;
  15436. #undef DO_
  15437. }
  15438. void XPhone_RestoreWeichatShot::SerializeWithCachedSizes(
  15439. ::google::protobuf::io::CodedOutputStream* output) const {
  15440. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_RestoreWeichatShot)
  15441. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15442. if (this->has_head()) {
  15443. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  15444. 1, *this->head_, output);
  15445. }
  15446. // optional string strUserName = 2;
  15447. if (this->strusername().size() > 0) {
  15448. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  15449. this->strusername().data(), this->strusername().length(),
  15450. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  15451. "XPhonePlus.XPhone_RestoreWeichatShot.strUserName");
  15452. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  15453. 2, this->strusername(), output);
  15454. }
  15455. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_RestoreWeichatShot)
  15456. }
  15457. ::google::protobuf::uint8* XPhone_RestoreWeichatShot::SerializeWithCachedSizesToArray(
  15458. ::google::protobuf::uint8* target) const {
  15459. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_RestoreWeichatShot)
  15460. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15461. if (this->has_head()) {
  15462. target = ::google::protobuf::internal::WireFormatLite::
  15463. WriteMessageNoVirtualToArray(
  15464. 1, *this->head_, target);
  15465. }
  15466. // optional string strUserName = 2;
  15467. if (this->strusername().size() > 0) {
  15468. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  15469. this->strusername().data(), this->strusername().length(),
  15470. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  15471. "XPhonePlus.XPhone_RestoreWeichatShot.strUserName");
  15472. target =
  15473. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15474. 2, this->strusername(), target);
  15475. }
  15476. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_RestoreWeichatShot)
  15477. return target;
  15478. }
  15479. int XPhone_RestoreWeichatShot::ByteSize() const {
  15480. int total_size = 0;
  15481. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15482. if (this->has_head()) {
  15483. total_size += 1 +
  15484. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  15485. *this->head_);
  15486. }
  15487. // optional string strUserName = 2;
  15488. if (this->strusername().size() > 0) {
  15489. total_size += 1 +
  15490. ::google::protobuf::internal::WireFormatLite::StringSize(
  15491. this->strusername());
  15492. }
  15493. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15494. _cached_size_ = total_size;
  15495. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15496. return total_size;
  15497. }
  15498. void XPhone_RestoreWeichatShot::MergeFrom(const ::google::protobuf::Message& from) {
  15499. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  15500. const XPhone_RestoreWeichatShot* source =
  15501. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_RestoreWeichatShot>(
  15502. &from);
  15503. if (source == NULL) {
  15504. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15505. } else {
  15506. MergeFrom(*source);
  15507. }
  15508. }
  15509. void XPhone_RestoreWeichatShot::MergeFrom(const XPhone_RestoreWeichatShot& from) {
  15510. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  15511. if (from.has_head()) {
  15512. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  15513. }
  15514. if (from.strusername().size() > 0) {
  15515. strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
  15516. }
  15517. }
  15518. void XPhone_RestoreWeichatShot::CopyFrom(const ::google::protobuf::Message& from) {
  15519. if (&from == this) return;
  15520. Clear();
  15521. MergeFrom(from);
  15522. }
  15523. void XPhone_RestoreWeichatShot::CopyFrom(const XPhone_RestoreWeichatShot& from) {
  15524. if (&from == this) return;
  15525. Clear();
  15526. MergeFrom(from);
  15527. }
  15528. bool XPhone_RestoreWeichatShot::IsInitialized() const {
  15529. return true;
  15530. }
  15531. void XPhone_RestoreWeichatShot::Swap(XPhone_RestoreWeichatShot* other) {
  15532. if (other == this) return;
  15533. InternalSwap(other);
  15534. }
  15535. void XPhone_RestoreWeichatShot::InternalSwap(XPhone_RestoreWeichatShot* other) {
  15536. std::swap(head_, other->head_);
  15537. strusername_.Swap(&other->strusername_);
  15538. _internal_metadata_.Swap(&other->_internal_metadata_);
  15539. std::swap(_cached_size_, other->_cached_size_);
  15540. }
  15541. ::google::protobuf::Metadata XPhone_RestoreWeichatShot::GetMetadata() const {
  15542. protobuf_AssignDescriptorsOnce();
  15543. ::google::protobuf::Metadata metadata;
  15544. metadata.descriptor = XPhone_RestoreWeichatShot_descriptor_;
  15545. metadata.reflection = XPhone_RestoreWeichatShot_reflection_;
  15546. return metadata;
  15547. }
  15548. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  15549. // XPhone_RestoreWeichatShot
  15550. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15551. bool XPhone_RestoreWeichatShot::has_head() const {
  15552. return !_is_default_instance_ && head_ != NULL;
  15553. }
  15554. void XPhone_RestoreWeichatShot::clear_head() {
  15555. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  15556. head_ = NULL;
  15557. }
  15558. const ::XPhonePlus::XPhone_MsgBase& XPhone_RestoreWeichatShot::head() const {
  15559. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RestoreWeichatShot.head)
  15560. return head_ != NULL ? *head_ : *default_instance_->head_;
  15561. }
  15562. ::XPhonePlus::XPhone_MsgBase* XPhone_RestoreWeichatShot::mutable_head() {
  15563. if (head_ == NULL) {
  15564. head_ = new ::XPhonePlus::XPhone_MsgBase;
  15565. }
  15566. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RestoreWeichatShot.head)
  15567. return head_;
  15568. }
  15569. ::XPhonePlus::XPhone_MsgBase* XPhone_RestoreWeichatShot::release_head() {
  15570. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  15571. head_ = NULL;
  15572. return temp;
  15573. }
  15574. void XPhone_RestoreWeichatShot::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  15575. delete head_;
  15576. head_ = head;
  15577. if (head) {
  15578. } else {
  15579. }
  15580. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RestoreWeichatShot.head)
  15581. }
  15582. // optional string strUserName = 2;
  15583. void XPhone_RestoreWeichatShot::clear_strusername() {
  15584. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15585. }
  15586. const ::std::string& XPhone_RestoreWeichatShot::strusername() const {
  15587. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
  15588. return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15589. }
  15590. void XPhone_RestoreWeichatShot::set_strusername(const ::std::string& value) {
  15591. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  15592. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
  15593. }
  15594. void XPhone_RestoreWeichatShot::set_strusername(const char* value) {
  15595. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  15596. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
  15597. }
  15598. void XPhone_RestoreWeichatShot::set_strusername(const char* value, size_t size) {
  15599. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  15600. ::std::string(reinterpret_cast<const char*>(value), size));
  15601. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
  15602. }
  15603. ::std::string* XPhone_RestoreWeichatShot::mutable_strusername() {
  15604. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
  15605. return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15606. }
  15607. ::std::string* XPhone_RestoreWeichatShot::release_strusername() {
  15608. return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15609. }
  15610. void XPhone_RestoreWeichatShot::set_allocated_strusername(::std::string* strusername) {
  15611. if (strusername != NULL) {
  15612. } else {
  15613. }
  15614. strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
  15615. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
  15616. }
  15617. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  15618. // ===================================================================
  15619. #ifndef _MSC_VER
  15620. const int XPhone_AllLoginUsers::kHeadFieldNumber;
  15621. const int XPhone_AllLoginUsers::kUsersListsFieldNumber;
  15622. const int XPhone_AllLoginUsers::kStrCurrentLoginFieldNumber;
  15623. #endif // !_MSC_VER
  15624. XPhone_AllLoginUsers::XPhone_AllLoginUsers()
  15625. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  15626. SharedCtor();
  15627. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AllLoginUsers)
  15628. }
  15629. void XPhone_AllLoginUsers::InitAsDefaultInstance() {
  15630. _is_default_instance_ = true;
  15631. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  15632. }
  15633. XPhone_AllLoginUsers::XPhone_AllLoginUsers(const XPhone_AllLoginUsers& from)
  15634. : ::google::protobuf::Message(),
  15635. _internal_metadata_(NULL) {
  15636. SharedCtor();
  15637. MergeFrom(from);
  15638. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AllLoginUsers)
  15639. }
  15640. void XPhone_AllLoginUsers::SharedCtor() {
  15641. _is_default_instance_ = false;
  15642. ::google::protobuf::internal::GetEmptyString();
  15643. _cached_size_ = 0;
  15644. head_ = NULL;
  15645. strcurrentlogin_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15646. }
  15647. XPhone_AllLoginUsers::~XPhone_AllLoginUsers() {
  15648. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AllLoginUsers)
  15649. SharedDtor();
  15650. }
  15651. void XPhone_AllLoginUsers::SharedDtor() {
  15652. strcurrentlogin_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15653. if (this != default_instance_) {
  15654. delete head_;
  15655. }
  15656. }
  15657. void XPhone_AllLoginUsers::SetCachedSize(int size) const {
  15658. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15659. _cached_size_ = size;
  15660. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15661. }
  15662. const ::google::protobuf::Descriptor* XPhone_AllLoginUsers::descriptor() {
  15663. protobuf_AssignDescriptorsOnce();
  15664. return XPhone_AllLoginUsers_descriptor_;
  15665. }
  15666. const XPhone_AllLoginUsers& XPhone_AllLoginUsers::default_instance() {
  15667. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  15668. return *default_instance_;
  15669. }
  15670. XPhone_AllLoginUsers* XPhone_AllLoginUsers::default_instance_ = NULL;
  15671. XPhone_AllLoginUsers* XPhone_AllLoginUsers::New(::google::protobuf::Arena* arena) const {
  15672. XPhone_AllLoginUsers* n = new XPhone_AllLoginUsers;
  15673. if (arena != NULL) {
  15674. arena->Own(n);
  15675. }
  15676. return n;
  15677. }
  15678. void XPhone_AllLoginUsers::Clear() {
  15679. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  15680. head_ = NULL;
  15681. strcurrentlogin_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15682. userslists_.Clear();
  15683. }
  15684. bool XPhone_AllLoginUsers::MergePartialFromCodedStream(
  15685. ::google::protobuf::io::CodedInputStream* input) {
  15686. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  15687. ::google::protobuf::uint32 tag;
  15688. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AllLoginUsers)
  15689. for (;;) {
  15690. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  15691. tag = p.first;
  15692. if (!p.second) goto handle_unusual;
  15693. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15694. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15695. case 1: {
  15696. if (tag == 10) {
  15697. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  15698. input, mutable_head()));
  15699. } else {
  15700. goto handle_unusual;
  15701. }
  15702. if (input->ExpectTag(18)) goto parse_usersLists;
  15703. break;
  15704. }
  15705. // repeated .XPhonePlus.XPhone_LoginUserinfo usersLists = 2;
  15706. case 2: {
  15707. if (tag == 18) {
  15708. parse_usersLists:
  15709. DO_(input->IncrementRecursionDepth());
  15710. parse_loop_usersLists:
  15711. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
  15712. input, add_userslists()));
  15713. } else {
  15714. goto handle_unusual;
  15715. }
  15716. if (input->ExpectTag(18)) goto parse_loop_usersLists;
  15717. input->UnsafeDecrementRecursionDepth();
  15718. if (input->ExpectTag(26)) goto parse_strCurrentLogin;
  15719. break;
  15720. }
  15721. // optional string strCurrentLogin = 3;
  15722. case 3: {
  15723. if (tag == 26) {
  15724. parse_strCurrentLogin:
  15725. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  15726. input, this->mutable_strcurrentlogin()));
  15727. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  15728. this->strcurrentlogin().data(), this->strcurrentlogin().length(),
  15729. ::google::protobuf::internal::WireFormatLite::PARSE,
  15730. "XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin"));
  15731. } else {
  15732. goto handle_unusual;
  15733. }
  15734. if (input->ExpectAtEnd()) goto success;
  15735. break;
  15736. }
  15737. default: {
  15738. handle_unusual:
  15739. if (tag == 0 ||
  15740. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15741. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15742. goto success;
  15743. }
  15744. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  15745. break;
  15746. }
  15747. }
  15748. }
  15749. success:
  15750. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AllLoginUsers)
  15751. return true;
  15752. failure:
  15753. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AllLoginUsers)
  15754. return false;
  15755. #undef DO_
  15756. }
  15757. void XPhone_AllLoginUsers::SerializeWithCachedSizes(
  15758. ::google::protobuf::io::CodedOutputStream* output) const {
  15759. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AllLoginUsers)
  15760. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15761. if (this->has_head()) {
  15762. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  15763. 1, *this->head_, output);
  15764. }
  15765. // repeated .XPhonePlus.XPhone_LoginUserinfo usersLists = 2;
  15766. for (unsigned int i = 0, n = this->userslists_size(); i < n; i++) {
  15767. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  15768. 2, this->userslists(i), output);
  15769. }
  15770. // optional string strCurrentLogin = 3;
  15771. if (this->strcurrentlogin().size() > 0) {
  15772. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  15773. this->strcurrentlogin().data(), this->strcurrentlogin().length(),
  15774. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  15775. "XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin");
  15776. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  15777. 3, this->strcurrentlogin(), output);
  15778. }
  15779. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AllLoginUsers)
  15780. }
  15781. ::google::protobuf::uint8* XPhone_AllLoginUsers::SerializeWithCachedSizesToArray(
  15782. ::google::protobuf::uint8* target) const {
  15783. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AllLoginUsers)
  15784. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15785. if (this->has_head()) {
  15786. target = ::google::protobuf::internal::WireFormatLite::
  15787. WriteMessageNoVirtualToArray(
  15788. 1, *this->head_, target);
  15789. }
  15790. // repeated .XPhonePlus.XPhone_LoginUserinfo usersLists = 2;
  15791. for (unsigned int i = 0, n = this->userslists_size(); i < n; i++) {
  15792. target = ::google::protobuf::internal::WireFormatLite::
  15793. WriteMessageNoVirtualToArray(
  15794. 2, this->userslists(i), target);
  15795. }
  15796. // optional string strCurrentLogin = 3;
  15797. if (this->strcurrentlogin().size() > 0) {
  15798. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  15799. this->strcurrentlogin().data(), this->strcurrentlogin().length(),
  15800. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  15801. "XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin");
  15802. target =
  15803. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  15804. 3, this->strcurrentlogin(), target);
  15805. }
  15806. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AllLoginUsers)
  15807. return target;
  15808. }
  15809. int XPhone_AllLoginUsers::ByteSize() const {
  15810. int total_size = 0;
  15811. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15812. if (this->has_head()) {
  15813. total_size += 1 +
  15814. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  15815. *this->head_);
  15816. }
  15817. // optional string strCurrentLogin = 3;
  15818. if (this->strcurrentlogin().size() > 0) {
  15819. total_size += 1 +
  15820. ::google::protobuf::internal::WireFormatLite::StringSize(
  15821. this->strcurrentlogin());
  15822. }
  15823. // repeated .XPhonePlus.XPhone_LoginUserinfo usersLists = 2;
  15824. total_size += 1 * this->userslists_size();
  15825. for (int i = 0; i < this->userslists_size(); i++) {
  15826. total_size +=
  15827. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  15828. this->userslists(i));
  15829. }
  15830. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15831. _cached_size_ = total_size;
  15832. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15833. return total_size;
  15834. }
  15835. void XPhone_AllLoginUsers::MergeFrom(const ::google::protobuf::Message& from) {
  15836. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  15837. const XPhone_AllLoginUsers* source =
  15838. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AllLoginUsers>(
  15839. &from);
  15840. if (source == NULL) {
  15841. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15842. } else {
  15843. MergeFrom(*source);
  15844. }
  15845. }
  15846. void XPhone_AllLoginUsers::MergeFrom(const XPhone_AllLoginUsers& from) {
  15847. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  15848. userslists_.MergeFrom(from.userslists_);
  15849. if (from.has_head()) {
  15850. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  15851. }
  15852. if (from.strcurrentlogin().size() > 0) {
  15853. strcurrentlogin_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcurrentlogin_);
  15854. }
  15855. }
  15856. void XPhone_AllLoginUsers::CopyFrom(const ::google::protobuf::Message& from) {
  15857. if (&from == this) return;
  15858. Clear();
  15859. MergeFrom(from);
  15860. }
  15861. void XPhone_AllLoginUsers::CopyFrom(const XPhone_AllLoginUsers& from) {
  15862. if (&from == this) return;
  15863. Clear();
  15864. MergeFrom(from);
  15865. }
  15866. bool XPhone_AllLoginUsers::IsInitialized() const {
  15867. return true;
  15868. }
  15869. void XPhone_AllLoginUsers::Swap(XPhone_AllLoginUsers* other) {
  15870. if (other == this) return;
  15871. InternalSwap(other);
  15872. }
  15873. void XPhone_AllLoginUsers::InternalSwap(XPhone_AllLoginUsers* other) {
  15874. std::swap(head_, other->head_);
  15875. userslists_.UnsafeArenaSwap(&other->userslists_);
  15876. strcurrentlogin_.Swap(&other->strcurrentlogin_);
  15877. _internal_metadata_.Swap(&other->_internal_metadata_);
  15878. std::swap(_cached_size_, other->_cached_size_);
  15879. }
  15880. ::google::protobuf::Metadata XPhone_AllLoginUsers::GetMetadata() const {
  15881. protobuf_AssignDescriptorsOnce();
  15882. ::google::protobuf::Metadata metadata;
  15883. metadata.descriptor = XPhone_AllLoginUsers_descriptor_;
  15884. metadata.reflection = XPhone_AllLoginUsers_reflection_;
  15885. return metadata;
  15886. }
  15887. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  15888. // XPhone_AllLoginUsers
  15889. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  15890. bool XPhone_AllLoginUsers::has_head() const {
  15891. return !_is_default_instance_ && head_ != NULL;
  15892. }
  15893. void XPhone_AllLoginUsers::clear_head() {
  15894. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  15895. head_ = NULL;
  15896. }
  15897. const ::XPhonePlus::XPhone_MsgBase& XPhone_AllLoginUsers::head() const {
  15898. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AllLoginUsers.head)
  15899. return head_ != NULL ? *head_ : *default_instance_->head_;
  15900. }
  15901. ::XPhonePlus::XPhone_MsgBase* XPhone_AllLoginUsers::mutable_head() {
  15902. if (head_ == NULL) {
  15903. head_ = new ::XPhonePlus::XPhone_MsgBase;
  15904. }
  15905. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AllLoginUsers.head)
  15906. return head_;
  15907. }
  15908. ::XPhonePlus::XPhone_MsgBase* XPhone_AllLoginUsers::release_head() {
  15909. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  15910. head_ = NULL;
  15911. return temp;
  15912. }
  15913. void XPhone_AllLoginUsers::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  15914. delete head_;
  15915. head_ = head;
  15916. if (head) {
  15917. } else {
  15918. }
  15919. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AllLoginUsers.head)
  15920. }
  15921. // repeated .XPhonePlus.XPhone_LoginUserinfo usersLists = 2;
  15922. int XPhone_AllLoginUsers::userslists_size() const {
  15923. return userslists_.size();
  15924. }
  15925. void XPhone_AllLoginUsers::clear_userslists() {
  15926. userslists_.Clear();
  15927. }
  15928. const ::XPhonePlus::XPhone_LoginUserinfo& XPhone_AllLoginUsers::userslists(int index) const {
  15929. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AllLoginUsers.usersLists)
  15930. return userslists_.Get(index);
  15931. }
  15932. ::XPhonePlus::XPhone_LoginUserinfo* XPhone_AllLoginUsers::mutable_userslists(int index) {
  15933. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AllLoginUsers.usersLists)
  15934. return userslists_.Mutable(index);
  15935. }
  15936. ::XPhonePlus::XPhone_LoginUserinfo* XPhone_AllLoginUsers::add_userslists() {
  15937. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_AllLoginUsers.usersLists)
  15938. return userslists_.Add();
  15939. }
  15940. ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_LoginUserinfo >*
  15941. XPhone_AllLoginUsers::mutable_userslists() {
  15942. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_AllLoginUsers.usersLists)
  15943. return &userslists_;
  15944. }
  15945. const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_LoginUserinfo >&
  15946. XPhone_AllLoginUsers::userslists() const {
  15947. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_AllLoginUsers.usersLists)
  15948. return userslists_;
  15949. }
  15950. // optional string strCurrentLogin = 3;
  15951. void XPhone_AllLoginUsers::clear_strcurrentlogin() {
  15952. strcurrentlogin_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15953. }
  15954. const ::std::string& XPhone_AllLoginUsers::strcurrentlogin() const {
  15955. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
  15956. return strcurrentlogin_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15957. }
  15958. void XPhone_AllLoginUsers::set_strcurrentlogin(const ::std::string& value) {
  15959. strcurrentlogin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  15960. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
  15961. }
  15962. void XPhone_AllLoginUsers::set_strcurrentlogin(const char* value) {
  15963. strcurrentlogin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  15964. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
  15965. }
  15966. void XPhone_AllLoginUsers::set_strcurrentlogin(const char* value, size_t size) {
  15967. strcurrentlogin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  15968. ::std::string(reinterpret_cast<const char*>(value), size));
  15969. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
  15970. }
  15971. ::std::string* XPhone_AllLoginUsers::mutable_strcurrentlogin() {
  15972. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
  15973. return strcurrentlogin_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15974. }
  15975. ::std::string* XPhone_AllLoginUsers::release_strcurrentlogin() {
  15976. return strcurrentlogin_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  15977. }
  15978. void XPhone_AllLoginUsers::set_allocated_strcurrentlogin(::std::string* strcurrentlogin) {
  15979. if (strcurrentlogin != NULL) {
  15980. } else {
  15981. }
  15982. strcurrentlogin_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcurrentlogin);
  15983. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
  15984. }
  15985. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  15986. // ===================================================================
  15987. #ifndef _MSC_VER
  15988. const int XPhone_SystemLoginReq::kHeadFieldNumber;
  15989. const int XPhone_SystemLoginReq::kStrUserNameFieldNumber;
  15990. const int XPhone_SystemLoginReq::kStrpasswdFieldNumber;
  15991. const int XPhone_SystemLoginReq::kMachinecodeFieldNumber;
  15992. const int XPhone_SystemLoginReq::kSoftverFieldNumber;
  15993. const int XPhone_SystemLoginReq::kStrChannelFieldNumber;
  15994. const int XPhone_SystemLoginReq::kTimespanFieldNumber;
  15995. #endif // !_MSC_VER
  15996. XPhone_SystemLoginReq::XPhone_SystemLoginReq()
  15997. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  15998. SharedCtor();
  15999. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SystemLoginReq)
  16000. }
  16001. void XPhone_SystemLoginReq::InitAsDefaultInstance() {
  16002. _is_default_instance_ = true;
  16003. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  16004. }
  16005. XPhone_SystemLoginReq::XPhone_SystemLoginReq(const XPhone_SystemLoginReq& from)
  16006. : ::google::protobuf::Message(),
  16007. _internal_metadata_(NULL) {
  16008. SharedCtor();
  16009. MergeFrom(from);
  16010. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SystemLoginReq)
  16011. }
  16012. void XPhone_SystemLoginReq::SharedCtor() {
  16013. _is_default_instance_ = false;
  16014. ::google::protobuf::internal::GetEmptyString();
  16015. _cached_size_ = 0;
  16016. head_ = NULL;
  16017. strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16018. strpasswd_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16019. machinecode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16020. softver_ = 0;
  16021. strchannel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16022. timespan_ = 0;
  16023. }
  16024. XPhone_SystemLoginReq::~XPhone_SystemLoginReq() {
  16025. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SystemLoginReq)
  16026. SharedDtor();
  16027. }
  16028. void XPhone_SystemLoginReq::SharedDtor() {
  16029. strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16030. strpasswd_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16031. machinecode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16032. strchannel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16033. if (this != default_instance_) {
  16034. delete head_;
  16035. }
  16036. }
  16037. void XPhone_SystemLoginReq::SetCachedSize(int size) const {
  16038. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16039. _cached_size_ = size;
  16040. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16041. }
  16042. const ::google::protobuf::Descriptor* XPhone_SystemLoginReq::descriptor() {
  16043. protobuf_AssignDescriptorsOnce();
  16044. return XPhone_SystemLoginReq_descriptor_;
  16045. }
  16046. const XPhone_SystemLoginReq& XPhone_SystemLoginReq::default_instance() {
  16047. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  16048. return *default_instance_;
  16049. }
  16050. XPhone_SystemLoginReq* XPhone_SystemLoginReq::default_instance_ = NULL;
  16051. XPhone_SystemLoginReq* XPhone_SystemLoginReq::New(::google::protobuf::Arena* arena) const {
  16052. XPhone_SystemLoginReq* n = new XPhone_SystemLoginReq;
  16053. if (arena != NULL) {
  16054. arena->Own(n);
  16055. }
  16056. return n;
  16057. }
  16058. void XPhone_SystemLoginReq::Clear() {
  16059. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  16060. &reinterpret_cast<XPhone_SystemLoginReq*>(16)->f)
  16061. #define ZR_(first, last) do {\
  16062. ::memset(&first, 0,\
  16063. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  16064. } while (0)
  16065. ZR_(softver_, timespan_);
  16066. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  16067. head_ = NULL;
  16068. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16069. strpasswd_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16070. machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16071. strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16072. #undef ZR_HELPER_
  16073. #undef ZR_
  16074. }
  16075. bool XPhone_SystemLoginReq::MergePartialFromCodedStream(
  16076. ::google::protobuf::io::CodedInputStream* input) {
  16077. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  16078. ::google::protobuf::uint32 tag;
  16079. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SystemLoginReq)
  16080. for (;;) {
  16081. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  16082. tag = p.first;
  16083. if (!p.second) goto handle_unusual;
  16084. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16085. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  16086. case 1: {
  16087. if (tag == 10) {
  16088. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  16089. input, mutable_head()));
  16090. } else {
  16091. goto handle_unusual;
  16092. }
  16093. if (input->ExpectTag(18)) goto parse_strUserName;
  16094. break;
  16095. }
  16096. // optional string strUserName = 2;
  16097. case 2: {
  16098. if (tag == 18) {
  16099. parse_strUserName:
  16100. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  16101. input, this->mutable_strusername()));
  16102. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16103. this->strusername().data(), this->strusername().length(),
  16104. ::google::protobuf::internal::WireFormatLite::PARSE,
  16105. "XPhonePlus.XPhone_SystemLoginReq.strUserName"));
  16106. } else {
  16107. goto handle_unusual;
  16108. }
  16109. if (input->ExpectTag(26)) goto parse_strpasswd;
  16110. break;
  16111. }
  16112. // optional string strpasswd = 3;
  16113. case 3: {
  16114. if (tag == 26) {
  16115. parse_strpasswd:
  16116. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  16117. input, this->mutable_strpasswd()));
  16118. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16119. this->strpasswd().data(), this->strpasswd().length(),
  16120. ::google::protobuf::internal::WireFormatLite::PARSE,
  16121. "XPhonePlus.XPhone_SystemLoginReq.strpasswd"));
  16122. } else {
  16123. goto handle_unusual;
  16124. }
  16125. if (input->ExpectTag(34)) goto parse_machinecode;
  16126. break;
  16127. }
  16128. // optional string machinecode = 4;
  16129. case 4: {
  16130. if (tag == 34) {
  16131. parse_machinecode:
  16132. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  16133. input, this->mutable_machinecode()));
  16134. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16135. this->machinecode().data(), this->machinecode().length(),
  16136. ::google::protobuf::internal::WireFormatLite::PARSE,
  16137. "XPhonePlus.XPhone_SystemLoginReq.machinecode"));
  16138. } else {
  16139. goto handle_unusual;
  16140. }
  16141. if (input->ExpectTag(40)) goto parse_softver;
  16142. break;
  16143. }
  16144. // optional int32 softver = 5;
  16145. case 5: {
  16146. if (tag == 40) {
  16147. parse_softver:
  16148. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16149. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16150. input, &softver_)));
  16151. } else {
  16152. goto handle_unusual;
  16153. }
  16154. if (input->ExpectTag(50)) goto parse_strChannel;
  16155. break;
  16156. }
  16157. // optional string strChannel = 6;
  16158. case 6: {
  16159. if (tag == 50) {
  16160. parse_strChannel:
  16161. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  16162. input, this->mutable_strchannel()));
  16163. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16164. this->strchannel().data(), this->strchannel().length(),
  16165. ::google::protobuf::internal::WireFormatLite::PARSE,
  16166. "XPhonePlus.XPhone_SystemLoginReq.strChannel"));
  16167. } else {
  16168. goto handle_unusual;
  16169. }
  16170. if (input->ExpectTag(56)) goto parse_timespan;
  16171. break;
  16172. }
  16173. // optional int32 timespan = 7;
  16174. case 7: {
  16175. if (tag == 56) {
  16176. parse_timespan:
  16177. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16178. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16179. input, &timespan_)));
  16180. } else {
  16181. goto handle_unusual;
  16182. }
  16183. if (input->ExpectAtEnd()) goto success;
  16184. break;
  16185. }
  16186. default: {
  16187. handle_unusual:
  16188. if (tag == 0 ||
  16189. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16190. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16191. goto success;
  16192. }
  16193. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  16194. break;
  16195. }
  16196. }
  16197. }
  16198. success:
  16199. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SystemLoginReq)
  16200. return true;
  16201. failure:
  16202. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SystemLoginReq)
  16203. return false;
  16204. #undef DO_
  16205. }
  16206. void XPhone_SystemLoginReq::SerializeWithCachedSizes(
  16207. ::google::protobuf::io::CodedOutputStream* output) const {
  16208. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SystemLoginReq)
  16209. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  16210. if (this->has_head()) {
  16211. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  16212. 1, *this->head_, output);
  16213. }
  16214. // optional string strUserName = 2;
  16215. if (this->strusername().size() > 0) {
  16216. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16217. this->strusername().data(), this->strusername().length(),
  16218. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  16219. "XPhonePlus.XPhone_SystemLoginReq.strUserName");
  16220. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  16221. 2, this->strusername(), output);
  16222. }
  16223. // optional string strpasswd = 3;
  16224. if (this->strpasswd().size() > 0) {
  16225. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16226. this->strpasswd().data(), this->strpasswd().length(),
  16227. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  16228. "XPhonePlus.XPhone_SystemLoginReq.strpasswd");
  16229. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  16230. 3, this->strpasswd(), output);
  16231. }
  16232. // optional string machinecode = 4;
  16233. if (this->machinecode().size() > 0) {
  16234. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16235. this->machinecode().data(), this->machinecode().length(),
  16236. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  16237. "XPhonePlus.XPhone_SystemLoginReq.machinecode");
  16238. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  16239. 4, this->machinecode(), output);
  16240. }
  16241. // optional int32 softver = 5;
  16242. if (this->softver() != 0) {
  16243. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->softver(), output);
  16244. }
  16245. // optional string strChannel = 6;
  16246. if (this->strchannel().size() > 0) {
  16247. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16248. this->strchannel().data(), this->strchannel().length(),
  16249. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  16250. "XPhonePlus.XPhone_SystemLoginReq.strChannel");
  16251. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  16252. 6, this->strchannel(), output);
  16253. }
  16254. // optional int32 timespan = 7;
  16255. if (this->timespan() != 0) {
  16256. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->timespan(), output);
  16257. }
  16258. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SystemLoginReq)
  16259. }
  16260. ::google::protobuf::uint8* XPhone_SystemLoginReq::SerializeWithCachedSizesToArray(
  16261. ::google::protobuf::uint8* target) const {
  16262. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SystemLoginReq)
  16263. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  16264. if (this->has_head()) {
  16265. target = ::google::protobuf::internal::WireFormatLite::
  16266. WriteMessageNoVirtualToArray(
  16267. 1, *this->head_, target);
  16268. }
  16269. // optional string strUserName = 2;
  16270. if (this->strusername().size() > 0) {
  16271. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16272. this->strusername().data(), this->strusername().length(),
  16273. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  16274. "XPhonePlus.XPhone_SystemLoginReq.strUserName");
  16275. target =
  16276. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  16277. 2, this->strusername(), target);
  16278. }
  16279. // optional string strpasswd = 3;
  16280. if (this->strpasswd().size() > 0) {
  16281. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16282. this->strpasswd().data(), this->strpasswd().length(),
  16283. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  16284. "XPhonePlus.XPhone_SystemLoginReq.strpasswd");
  16285. target =
  16286. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  16287. 3, this->strpasswd(), target);
  16288. }
  16289. // optional string machinecode = 4;
  16290. if (this->machinecode().size() > 0) {
  16291. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16292. this->machinecode().data(), this->machinecode().length(),
  16293. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  16294. "XPhonePlus.XPhone_SystemLoginReq.machinecode");
  16295. target =
  16296. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  16297. 4, this->machinecode(), target);
  16298. }
  16299. // optional int32 softver = 5;
  16300. if (this->softver() != 0) {
  16301. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->softver(), target);
  16302. }
  16303. // optional string strChannel = 6;
  16304. if (this->strchannel().size() > 0) {
  16305. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16306. this->strchannel().data(), this->strchannel().length(),
  16307. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  16308. "XPhonePlus.XPhone_SystemLoginReq.strChannel");
  16309. target =
  16310. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  16311. 6, this->strchannel(), target);
  16312. }
  16313. // optional int32 timespan = 7;
  16314. if (this->timespan() != 0) {
  16315. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->timespan(), target);
  16316. }
  16317. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SystemLoginReq)
  16318. return target;
  16319. }
  16320. int XPhone_SystemLoginReq::ByteSize() const {
  16321. int total_size = 0;
  16322. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  16323. if (this->has_head()) {
  16324. total_size += 1 +
  16325. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  16326. *this->head_);
  16327. }
  16328. // optional string strUserName = 2;
  16329. if (this->strusername().size() > 0) {
  16330. total_size += 1 +
  16331. ::google::protobuf::internal::WireFormatLite::StringSize(
  16332. this->strusername());
  16333. }
  16334. // optional string strpasswd = 3;
  16335. if (this->strpasswd().size() > 0) {
  16336. total_size += 1 +
  16337. ::google::protobuf::internal::WireFormatLite::StringSize(
  16338. this->strpasswd());
  16339. }
  16340. // optional string machinecode = 4;
  16341. if (this->machinecode().size() > 0) {
  16342. total_size += 1 +
  16343. ::google::protobuf::internal::WireFormatLite::StringSize(
  16344. this->machinecode());
  16345. }
  16346. // optional int32 softver = 5;
  16347. if (this->softver() != 0) {
  16348. total_size += 1 +
  16349. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16350. this->softver());
  16351. }
  16352. // optional string strChannel = 6;
  16353. if (this->strchannel().size() > 0) {
  16354. total_size += 1 +
  16355. ::google::protobuf::internal::WireFormatLite::StringSize(
  16356. this->strchannel());
  16357. }
  16358. // optional int32 timespan = 7;
  16359. if (this->timespan() != 0) {
  16360. total_size += 1 +
  16361. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16362. this->timespan());
  16363. }
  16364. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16365. _cached_size_ = total_size;
  16366. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16367. return total_size;
  16368. }
  16369. void XPhone_SystemLoginReq::MergeFrom(const ::google::protobuf::Message& from) {
  16370. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  16371. const XPhone_SystemLoginReq* source =
  16372. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SystemLoginReq>(
  16373. &from);
  16374. if (source == NULL) {
  16375. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16376. } else {
  16377. MergeFrom(*source);
  16378. }
  16379. }
  16380. void XPhone_SystemLoginReq::MergeFrom(const XPhone_SystemLoginReq& from) {
  16381. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  16382. if (from.has_head()) {
  16383. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  16384. }
  16385. if (from.strusername().size() > 0) {
  16386. strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
  16387. }
  16388. if (from.strpasswd().size() > 0) {
  16389. strpasswd_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strpasswd_);
  16390. }
  16391. if (from.machinecode().size() > 0) {
  16392. machinecode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.machinecode_);
  16393. }
  16394. if (from.softver() != 0) {
  16395. set_softver(from.softver());
  16396. }
  16397. if (from.strchannel().size() > 0) {
  16398. strchannel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strchannel_);
  16399. }
  16400. if (from.timespan() != 0) {
  16401. set_timespan(from.timespan());
  16402. }
  16403. }
  16404. void XPhone_SystemLoginReq::CopyFrom(const ::google::protobuf::Message& from) {
  16405. if (&from == this) return;
  16406. Clear();
  16407. MergeFrom(from);
  16408. }
  16409. void XPhone_SystemLoginReq::CopyFrom(const XPhone_SystemLoginReq& from) {
  16410. if (&from == this) return;
  16411. Clear();
  16412. MergeFrom(from);
  16413. }
  16414. bool XPhone_SystemLoginReq::IsInitialized() const {
  16415. return true;
  16416. }
  16417. void XPhone_SystemLoginReq::Swap(XPhone_SystemLoginReq* other) {
  16418. if (other == this) return;
  16419. InternalSwap(other);
  16420. }
  16421. void XPhone_SystemLoginReq::InternalSwap(XPhone_SystemLoginReq* other) {
  16422. std::swap(head_, other->head_);
  16423. strusername_.Swap(&other->strusername_);
  16424. strpasswd_.Swap(&other->strpasswd_);
  16425. machinecode_.Swap(&other->machinecode_);
  16426. std::swap(softver_, other->softver_);
  16427. strchannel_.Swap(&other->strchannel_);
  16428. std::swap(timespan_, other->timespan_);
  16429. _internal_metadata_.Swap(&other->_internal_metadata_);
  16430. std::swap(_cached_size_, other->_cached_size_);
  16431. }
  16432. ::google::protobuf::Metadata XPhone_SystemLoginReq::GetMetadata() const {
  16433. protobuf_AssignDescriptorsOnce();
  16434. ::google::protobuf::Metadata metadata;
  16435. metadata.descriptor = XPhone_SystemLoginReq_descriptor_;
  16436. metadata.reflection = XPhone_SystemLoginReq_reflection_;
  16437. return metadata;
  16438. }
  16439. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  16440. // XPhone_SystemLoginReq
  16441. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  16442. bool XPhone_SystemLoginReq::has_head() const {
  16443. return !_is_default_instance_ && head_ != NULL;
  16444. }
  16445. void XPhone_SystemLoginReq::clear_head() {
  16446. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  16447. head_ = NULL;
  16448. }
  16449. const ::XPhonePlus::XPhone_MsgBase& XPhone_SystemLoginReq::head() const {
  16450. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.head)
  16451. return head_ != NULL ? *head_ : *default_instance_->head_;
  16452. }
  16453. ::XPhonePlus::XPhone_MsgBase* XPhone_SystemLoginReq::mutable_head() {
  16454. if (head_ == NULL) {
  16455. head_ = new ::XPhonePlus::XPhone_MsgBase;
  16456. }
  16457. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginReq.head)
  16458. return head_;
  16459. }
  16460. ::XPhonePlus::XPhone_MsgBase* XPhone_SystemLoginReq::release_head() {
  16461. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  16462. head_ = NULL;
  16463. return temp;
  16464. }
  16465. void XPhone_SystemLoginReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  16466. delete head_;
  16467. head_ = head;
  16468. if (head) {
  16469. } else {
  16470. }
  16471. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginReq.head)
  16472. }
  16473. // optional string strUserName = 2;
  16474. void XPhone_SystemLoginReq::clear_strusername() {
  16475. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16476. }
  16477. const ::std::string& XPhone_SystemLoginReq::strusername() const {
  16478. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.strUserName)
  16479. return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16480. }
  16481. void XPhone_SystemLoginReq::set_strusername(const ::std::string& value) {
  16482. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  16483. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.strUserName)
  16484. }
  16485. void XPhone_SystemLoginReq::set_strusername(const char* value) {
  16486. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  16487. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemLoginReq.strUserName)
  16488. }
  16489. void XPhone_SystemLoginReq::set_strusername(const char* value, size_t size) {
  16490. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  16491. ::std::string(reinterpret_cast<const char*>(value), size));
  16492. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemLoginReq.strUserName)
  16493. }
  16494. ::std::string* XPhone_SystemLoginReq::mutable_strusername() {
  16495. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginReq.strUserName)
  16496. return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16497. }
  16498. ::std::string* XPhone_SystemLoginReq::release_strusername() {
  16499. return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16500. }
  16501. void XPhone_SystemLoginReq::set_allocated_strusername(::std::string* strusername) {
  16502. if (strusername != NULL) {
  16503. } else {
  16504. }
  16505. strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
  16506. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginReq.strUserName)
  16507. }
  16508. // optional string strpasswd = 3;
  16509. void XPhone_SystemLoginReq::clear_strpasswd() {
  16510. strpasswd_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16511. }
  16512. const ::std::string& XPhone_SystemLoginReq::strpasswd() const {
  16513. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
  16514. return strpasswd_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16515. }
  16516. void XPhone_SystemLoginReq::set_strpasswd(const ::std::string& value) {
  16517. strpasswd_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  16518. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
  16519. }
  16520. void XPhone_SystemLoginReq::set_strpasswd(const char* value) {
  16521. strpasswd_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  16522. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
  16523. }
  16524. void XPhone_SystemLoginReq::set_strpasswd(const char* value, size_t size) {
  16525. strpasswd_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  16526. ::std::string(reinterpret_cast<const char*>(value), size));
  16527. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
  16528. }
  16529. ::std::string* XPhone_SystemLoginReq::mutable_strpasswd() {
  16530. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
  16531. return strpasswd_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16532. }
  16533. ::std::string* XPhone_SystemLoginReq::release_strpasswd() {
  16534. return strpasswd_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16535. }
  16536. void XPhone_SystemLoginReq::set_allocated_strpasswd(::std::string* strpasswd) {
  16537. if (strpasswd != NULL) {
  16538. } else {
  16539. }
  16540. strpasswd_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strpasswd);
  16541. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
  16542. }
  16543. // optional string machinecode = 4;
  16544. void XPhone_SystemLoginReq::clear_machinecode() {
  16545. machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16546. }
  16547. const ::std::string& XPhone_SystemLoginReq::machinecode() const {
  16548. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.machinecode)
  16549. return machinecode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16550. }
  16551. void XPhone_SystemLoginReq::set_machinecode(const ::std::string& value) {
  16552. machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  16553. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.machinecode)
  16554. }
  16555. void XPhone_SystemLoginReq::set_machinecode(const char* value) {
  16556. machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  16557. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemLoginReq.machinecode)
  16558. }
  16559. void XPhone_SystemLoginReq::set_machinecode(const char* value, size_t size) {
  16560. machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  16561. ::std::string(reinterpret_cast<const char*>(value), size));
  16562. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemLoginReq.machinecode)
  16563. }
  16564. ::std::string* XPhone_SystemLoginReq::mutable_machinecode() {
  16565. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginReq.machinecode)
  16566. return machinecode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16567. }
  16568. ::std::string* XPhone_SystemLoginReq::release_machinecode() {
  16569. return machinecode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16570. }
  16571. void XPhone_SystemLoginReq::set_allocated_machinecode(::std::string* machinecode) {
  16572. if (machinecode != NULL) {
  16573. } else {
  16574. }
  16575. machinecode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), machinecode);
  16576. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginReq.machinecode)
  16577. }
  16578. // optional int32 softver = 5;
  16579. void XPhone_SystemLoginReq::clear_softver() {
  16580. softver_ = 0;
  16581. }
  16582. ::google::protobuf::int32 XPhone_SystemLoginReq::softver() const {
  16583. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.softver)
  16584. return softver_;
  16585. }
  16586. void XPhone_SystemLoginReq::set_softver(::google::protobuf::int32 value) {
  16587. softver_ = value;
  16588. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.softver)
  16589. }
  16590. // optional string strChannel = 6;
  16591. void XPhone_SystemLoginReq::clear_strchannel() {
  16592. strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16593. }
  16594. const ::std::string& XPhone_SystemLoginReq::strchannel() const {
  16595. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.strChannel)
  16596. return strchannel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16597. }
  16598. void XPhone_SystemLoginReq::set_strchannel(const ::std::string& value) {
  16599. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  16600. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.strChannel)
  16601. }
  16602. void XPhone_SystemLoginReq::set_strchannel(const char* value) {
  16603. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  16604. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemLoginReq.strChannel)
  16605. }
  16606. void XPhone_SystemLoginReq::set_strchannel(const char* value, size_t size) {
  16607. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  16608. ::std::string(reinterpret_cast<const char*>(value), size));
  16609. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemLoginReq.strChannel)
  16610. }
  16611. ::std::string* XPhone_SystemLoginReq::mutable_strchannel() {
  16612. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginReq.strChannel)
  16613. return strchannel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16614. }
  16615. ::std::string* XPhone_SystemLoginReq::release_strchannel() {
  16616. return strchannel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16617. }
  16618. void XPhone_SystemLoginReq::set_allocated_strchannel(::std::string* strchannel) {
  16619. if (strchannel != NULL) {
  16620. } else {
  16621. }
  16622. strchannel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strchannel);
  16623. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginReq.strChannel)
  16624. }
  16625. // optional int32 timespan = 7;
  16626. void XPhone_SystemLoginReq::clear_timespan() {
  16627. timespan_ = 0;
  16628. }
  16629. ::google::protobuf::int32 XPhone_SystemLoginReq::timespan() const {
  16630. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.timespan)
  16631. return timespan_;
  16632. }
  16633. void XPhone_SystemLoginReq::set_timespan(::google::protobuf::int32 value) {
  16634. timespan_ = value;
  16635. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.timespan)
  16636. }
  16637. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  16638. // ===================================================================
  16639. #ifndef _MSC_VER
  16640. const int XPhone_SystemLoginRsp::kHeadFieldNumber;
  16641. const int XPhone_SystemLoginRsp::kErrcodeFieldNumber;
  16642. const int XPhone_SystemLoginRsp::kTotalcontrolFieldNumber;
  16643. const int XPhone_SystemLoginRsp::kRemaincontrolFieldNumber;
  16644. const int XPhone_SystemLoginRsp::kHashcodeFieldNumber;
  16645. #endif // !_MSC_VER
  16646. XPhone_SystemLoginRsp::XPhone_SystemLoginRsp()
  16647. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  16648. SharedCtor();
  16649. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SystemLoginRsp)
  16650. }
  16651. void XPhone_SystemLoginRsp::InitAsDefaultInstance() {
  16652. _is_default_instance_ = true;
  16653. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  16654. }
  16655. XPhone_SystemLoginRsp::XPhone_SystemLoginRsp(const XPhone_SystemLoginRsp& from)
  16656. : ::google::protobuf::Message(),
  16657. _internal_metadata_(NULL) {
  16658. SharedCtor();
  16659. MergeFrom(from);
  16660. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SystemLoginRsp)
  16661. }
  16662. void XPhone_SystemLoginRsp::SharedCtor() {
  16663. _is_default_instance_ = false;
  16664. ::google::protobuf::internal::GetEmptyString();
  16665. _cached_size_ = 0;
  16666. head_ = NULL;
  16667. errcode_ = 0;
  16668. totalcontrol_ = 0;
  16669. remaincontrol_ = 0;
  16670. hashcode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16671. }
  16672. XPhone_SystemLoginRsp::~XPhone_SystemLoginRsp() {
  16673. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SystemLoginRsp)
  16674. SharedDtor();
  16675. }
  16676. void XPhone_SystemLoginRsp::SharedDtor() {
  16677. hashcode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16678. if (this != default_instance_) {
  16679. delete head_;
  16680. }
  16681. }
  16682. void XPhone_SystemLoginRsp::SetCachedSize(int size) const {
  16683. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16684. _cached_size_ = size;
  16685. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16686. }
  16687. const ::google::protobuf::Descriptor* XPhone_SystemLoginRsp::descriptor() {
  16688. protobuf_AssignDescriptorsOnce();
  16689. return XPhone_SystemLoginRsp_descriptor_;
  16690. }
  16691. const XPhone_SystemLoginRsp& XPhone_SystemLoginRsp::default_instance() {
  16692. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  16693. return *default_instance_;
  16694. }
  16695. XPhone_SystemLoginRsp* XPhone_SystemLoginRsp::default_instance_ = NULL;
  16696. XPhone_SystemLoginRsp* XPhone_SystemLoginRsp::New(::google::protobuf::Arena* arena) const {
  16697. XPhone_SystemLoginRsp* n = new XPhone_SystemLoginRsp;
  16698. if (arena != NULL) {
  16699. arena->Own(n);
  16700. }
  16701. return n;
  16702. }
  16703. void XPhone_SystemLoginRsp::Clear() {
  16704. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  16705. &reinterpret_cast<XPhone_SystemLoginRsp*>(16)->f)
  16706. #define ZR_(first, last) do {\
  16707. ::memset(&first, 0,\
  16708. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  16709. } while (0)
  16710. ZR_(errcode_, totalcontrol_);
  16711. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  16712. head_ = NULL;
  16713. remaincontrol_ = 0;
  16714. hashcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  16715. #undef ZR_HELPER_
  16716. #undef ZR_
  16717. }
  16718. bool XPhone_SystemLoginRsp::MergePartialFromCodedStream(
  16719. ::google::protobuf::io::CodedInputStream* input) {
  16720. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  16721. ::google::protobuf::uint32 tag;
  16722. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SystemLoginRsp)
  16723. for (;;) {
  16724. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  16725. tag = p.first;
  16726. if (!p.second) goto handle_unusual;
  16727. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16728. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  16729. case 1: {
  16730. if (tag == 10) {
  16731. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  16732. input, mutable_head()));
  16733. } else {
  16734. goto handle_unusual;
  16735. }
  16736. if (input->ExpectTag(16)) goto parse_errcode;
  16737. break;
  16738. }
  16739. // optional int32 errcode = 2;
  16740. case 2: {
  16741. if (tag == 16) {
  16742. parse_errcode:
  16743. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16744. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16745. input, &errcode_)));
  16746. } else {
  16747. goto handle_unusual;
  16748. }
  16749. if (input->ExpectTag(24)) goto parse_totalcontrol;
  16750. break;
  16751. }
  16752. // optional int32 totalcontrol = 3;
  16753. case 3: {
  16754. if (tag == 24) {
  16755. parse_totalcontrol:
  16756. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16757. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16758. input, &totalcontrol_)));
  16759. } else {
  16760. goto handle_unusual;
  16761. }
  16762. if (input->ExpectTag(32)) goto parse_remaincontrol;
  16763. break;
  16764. }
  16765. // optional int32 remaincontrol = 4;
  16766. case 4: {
  16767. if (tag == 32) {
  16768. parse_remaincontrol:
  16769. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16770. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16771. input, &remaincontrol_)));
  16772. } else {
  16773. goto handle_unusual;
  16774. }
  16775. if (input->ExpectTag(42)) goto parse_hashcode;
  16776. break;
  16777. }
  16778. // optional string hashcode = 5;
  16779. case 5: {
  16780. if (tag == 42) {
  16781. parse_hashcode:
  16782. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  16783. input, this->mutable_hashcode()));
  16784. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16785. this->hashcode().data(), this->hashcode().length(),
  16786. ::google::protobuf::internal::WireFormatLite::PARSE,
  16787. "XPhonePlus.XPhone_SystemLoginRsp.hashcode"));
  16788. } else {
  16789. goto handle_unusual;
  16790. }
  16791. if (input->ExpectAtEnd()) goto success;
  16792. break;
  16793. }
  16794. default: {
  16795. handle_unusual:
  16796. if (tag == 0 ||
  16797. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16798. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16799. goto success;
  16800. }
  16801. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  16802. break;
  16803. }
  16804. }
  16805. }
  16806. success:
  16807. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SystemLoginRsp)
  16808. return true;
  16809. failure:
  16810. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SystemLoginRsp)
  16811. return false;
  16812. #undef DO_
  16813. }
  16814. void XPhone_SystemLoginRsp::SerializeWithCachedSizes(
  16815. ::google::protobuf::io::CodedOutputStream* output) const {
  16816. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SystemLoginRsp)
  16817. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  16818. if (this->has_head()) {
  16819. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  16820. 1, *this->head_, output);
  16821. }
  16822. // optional int32 errcode = 2;
  16823. if (this->errcode() != 0) {
  16824. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->errcode(), output);
  16825. }
  16826. // optional int32 totalcontrol = 3;
  16827. if (this->totalcontrol() != 0) {
  16828. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->totalcontrol(), output);
  16829. }
  16830. // optional int32 remaincontrol = 4;
  16831. if (this->remaincontrol() != 0) {
  16832. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->remaincontrol(), output);
  16833. }
  16834. // optional string hashcode = 5;
  16835. if (this->hashcode().size() > 0) {
  16836. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16837. this->hashcode().data(), this->hashcode().length(),
  16838. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  16839. "XPhonePlus.XPhone_SystemLoginRsp.hashcode");
  16840. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  16841. 5, this->hashcode(), output);
  16842. }
  16843. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SystemLoginRsp)
  16844. }
  16845. ::google::protobuf::uint8* XPhone_SystemLoginRsp::SerializeWithCachedSizesToArray(
  16846. ::google::protobuf::uint8* target) const {
  16847. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SystemLoginRsp)
  16848. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  16849. if (this->has_head()) {
  16850. target = ::google::protobuf::internal::WireFormatLite::
  16851. WriteMessageNoVirtualToArray(
  16852. 1, *this->head_, target);
  16853. }
  16854. // optional int32 errcode = 2;
  16855. if (this->errcode() != 0) {
  16856. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->errcode(), target);
  16857. }
  16858. // optional int32 totalcontrol = 3;
  16859. if (this->totalcontrol() != 0) {
  16860. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->totalcontrol(), target);
  16861. }
  16862. // optional int32 remaincontrol = 4;
  16863. if (this->remaincontrol() != 0) {
  16864. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->remaincontrol(), target);
  16865. }
  16866. // optional string hashcode = 5;
  16867. if (this->hashcode().size() > 0) {
  16868. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  16869. this->hashcode().data(), this->hashcode().length(),
  16870. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  16871. "XPhonePlus.XPhone_SystemLoginRsp.hashcode");
  16872. target =
  16873. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  16874. 5, this->hashcode(), target);
  16875. }
  16876. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SystemLoginRsp)
  16877. return target;
  16878. }
  16879. int XPhone_SystemLoginRsp::ByteSize() const {
  16880. int total_size = 0;
  16881. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  16882. if (this->has_head()) {
  16883. total_size += 1 +
  16884. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  16885. *this->head_);
  16886. }
  16887. // optional int32 errcode = 2;
  16888. if (this->errcode() != 0) {
  16889. total_size += 1 +
  16890. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16891. this->errcode());
  16892. }
  16893. // optional int32 totalcontrol = 3;
  16894. if (this->totalcontrol() != 0) {
  16895. total_size += 1 +
  16896. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16897. this->totalcontrol());
  16898. }
  16899. // optional int32 remaincontrol = 4;
  16900. if (this->remaincontrol() != 0) {
  16901. total_size += 1 +
  16902. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16903. this->remaincontrol());
  16904. }
  16905. // optional string hashcode = 5;
  16906. if (this->hashcode().size() > 0) {
  16907. total_size += 1 +
  16908. ::google::protobuf::internal::WireFormatLite::StringSize(
  16909. this->hashcode());
  16910. }
  16911. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16912. _cached_size_ = total_size;
  16913. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16914. return total_size;
  16915. }
  16916. void XPhone_SystemLoginRsp::MergeFrom(const ::google::protobuf::Message& from) {
  16917. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  16918. const XPhone_SystemLoginRsp* source =
  16919. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SystemLoginRsp>(
  16920. &from);
  16921. if (source == NULL) {
  16922. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16923. } else {
  16924. MergeFrom(*source);
  16925. }
  16926. }
  16927. void XPhone_SystemLoginRsp::MergeFrom(const XPhone_SystemLoginRsp& from) {
  16928. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  16929. if (from.has_head()) {
  16930. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  16931. }
  16932. if (from.errcode() != 0) {
  16933. set_errcode(from.errcode());
  16934. }
  16935. if (from.totalcontrol() != 0) {
  16936. set_totalcontrol(from.totalcontrol());
  16937. }
  16938. if (from.remaincontrol() != 0) {
  16939. set_remaincontrol(from.remaincontrol());
  16940. }
  16941. if (from.hashcode().size() > 0) {
  16942. hashcode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hashcode_);
  16943. }
  16944. }
  16945. void XPhone_SystemLoginRsp::CopyFrom(const ::google::protobuf::Message& from) {
  16946. if (&from == this) return;
  16947. Clear();
  16948. MergeFrom(from);
  16949. }
  16950. void XPhone_SystemLoginRsp::CopyFrom(const XPhone_SystemLoginRsp& from) {
  16951. if (&from == this) return;
  16952. Clear();
  16953. MergeFrom(from);
  16954. }
  16955. bool XPhone_SystemLoginRsp::IsInitialized() const {
  16956. return true;
  16957. }
  16958. void XPhone_SystemLoginRsp::Swap(XPhone_SystemLoginRsp* other) {
  16959. if (other == this) return;
  16960. InternalSwap(other);
  16961. }
  16962. void XPhone_SystemLoginRsp::InternalSwap(XPhone_SystemLoginRsp* other) {
  16963. std::swap(head_, other->head_);
  16964. std::swap(errcode_, other->errcode_);
  16965. std::swap(totalcontrol_, other->totalcontrol_);
  16966. std::swap(remaincontrol_, other->remaincontrol_);
  16967. hashcode_.Swap(&other->hashcode_);
  16968. _internal_metadata_.Swap(&other->_internal_metadata_);
  16969. std::swap(_cached_size_, other->_cached_size_);
  16970. }
  16971. ::google::protobuf::Metadata XPhone_SystemLoginRsp::GetMetadata() const {
  16972. protobuf_AssignDescriptorsOnce();
  16973. ::google::protobuf::Metadata metadata;
  16974. metadata.descriptor = XPhone_SystemLoginRsp_descriptor_;
  16975. metadata.reflection = XPhone_SystemLoginRsp_reflection_;
  16976. return metadata;
  16977. }
  16978. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  16979. // XPhone_SystemLoginRsp
  16980. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  16981. bool XPhone_SystemLoginRsp::has_head() const {
  16982. return !_is_default_instance_ && head_ != NULL;
  16983. }
  16984. void XPhone_SystemLoginRsp::clear_head() {
  16985. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  16986. head_ = NULL;
  16987. }
  16988. const ::XPhonePlus::XPhone_MsgBase& XPhone_SystemLoginRsp::head() const {
  16989. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginRsp.head)
  16990. return head_ != NULL ? *head_ : *default_instance_->head_;
  16991. }
  16992. ::XPhonePlus::XPhone_MsgBase* XPhone_SystemLoginRsp::mutable_head() {
  16993. if (head_ == NULL) {
  16994. head_ = new ::XPhonePlus::XPhone_MsgBase;
  16995. }
  16996. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginRsp.head)
  16997. return head_;
  16998. }
  16999. ::XPhonePlus::XPhone_MsgBase* XPhone_SystemLoginRsp::release_head() {
  17000. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  17001. head_ = NULL;
  17002. return temp;
  17003. }
  17004. void XPhone_SystemLoginRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  17005. delete head_;
  17006. head_ = head;
  17007. if (head) {
  17008. } else {
  17009. }
  17010. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginRsp.head)
  17011. }
  17012. // optional int32 errcode = 2;
  17013. void XPhone_SystemLoginRsp::clear_errcode() {
  17014. errcode_ = 0;
  17015. }
  17016. ::google::protobuf::int32 XPhone_SystemLoginRsp::errcode() const {
  17017. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginRsp.errcode)
  17018. return errcode_;
  17019. }
  17020. void XPhone_SystemLoginRsp::set_errcode(::google::protobuf::int32 value) {
  17021. errcode_ = value;
  17022. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginRsp.errcode)
  17023. }
  17024. // optional int32 totalcontrol = 3;
  17025. void XPhone_SystemLoginRsp::clear_totalcontrol() {
  17026. totalcontrol_ = 0;
  17027. }
  17028. ::google::protobuf::int32 XPhone_SystemLoginRsp::totalcontrol() const {
  17029. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginRsp.totalcontrol)
  17030. return totalcontrol_;
  17031. }
  17032. void XPhone_SystemLoginRsp::set_totalcontrol(::google::protobuf::int32 value) {
  17033. totalcontrol_ = value;
  17034. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginRsp.totalcontrol)
  17035. }
  17036. // optional int32 remaincontrol = 4;
  17037. void XPhone_SystemLoginRsp::clear_remaincontrol() {
  17038. remaincontrol_ = 0;
  17039. }
  17040. ::google::protobuf::int32 XPhone_SystemLoginRsp::remaincontrol() const {
  17041. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginRsp.remaincontrol)
  17042. return remaincontrol_;
  17043. }
  17044. void XPhone_SystemLoginRsp::set_remaincontrol(::google::protobuf::int32 value) {
  17045. remaincontrol_ = value;
  17046. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginRsp.remaincontrol)
  17047. }
  17048. // optional string hashcode = 5;
  17049. void XPhone_SystemLoginRsp::clear_hashcode() {
  17050. hashcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17051. }
  17052. const ::std::string& XPhone_SystemLoginRsp::hashcode() const {
  17053. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
  17054. return hashcode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17055. }
  17056. void XPhone_SystemLoginRsp::set_hashcode(const ::std::string& value) {
  17057. hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  17058. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
  17059. }
  17060. void XPhone_SystemLoginRsp::set_hashcode(const char* value) {
  17061. hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  17062. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
  17063. }
  17064. void XPhone_SystemLoginRsp::set_hashcode(const char* value, size_t size) {
  17065. hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  17066. ::std::string(reinterpret_cast<const char*>(value), size));
  17067. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
  17068. }
  17069. ::std::string* XPhone_SystemLoginRsp::mutable_hashcode() {
  17070. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
  17071. return hashcode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17072. }
  17073. ::std::string* XPhone_SystemLoginRsp::release_hashcode() {
  17074. return hashcode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17075. }
  17076. void XPhone_SystemLoginRsp::set_allocated_hashcode(::std::string* hashcode) {
  17077. if (hashcode != NULL) {
  17078. } else {
  17079. }
  17080. hashcode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hashcode);
  17081. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
  17082. }
  17083. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  17084. // ===================================================================
  17085. #ifndef _MSC_VER
  17086. const int XPhone_SystemUpdateReq::kHeadFieldNumber;
  17087. const int XPhone_SystemUpdateReq::kStrUserNameFieldNumber;
  17088. const int XPhone_SystemUpdateReq::kMachinecodeFieldNumber;
  17089. const int XPhone_SystemUpdateReq::kSoftverFieldNumber;
  17090. const int XPhone_SystemUpdateReq::kStrChannelFieldNumber;
  17091. #endif // !_MSC_VER
  17092. XPhone_SystemUpdateReq::XPhone_SystemUpdateReq()
  17093. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  17094. SharedCtor();
  17095. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SystemUpdateReq)
  17096. }
  17097. void XPhone_SystemUpdateReq::InitAsDefaultInstance() {
  17098. _is_default_instance_ = true;
  17099. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  17100. }
  17101. XPhone_SystemUpdateReq::XPhone_SystemUpdateReq(const XPhone_SystemUpdateReq& from)
  17102. : ::google::protobuf::Message(),
  17103. _internal_metadata_(NULL) {
  17104. SharedCtor();
  17105. MergeFrom(from);
  17106. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SystemUpdateReq)
  17107. }
  17108. void XPhone_SystemUpdateReq::SharedCtor() {
  17109. _is_default_instance_ = false;
  17110. ::google::protobuf::internal::GetEmptyString();
  17111. _cached_size_ = 0;
  17112. head_ = NULL;
  17113. strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17114. machinecode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17115. softver_ = 0;
  17116. strchannel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17117. }
  17118. XPhone_SystemUpdateReq::~XPhone_SystemUpdateReq() {
  17119. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SystemUpdateReq)
  17120. SharedDtor();
  17121. }
  17122. void XPhone_SystemUpdateReq::SharedDtor() {
  17123. strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17124. machinecode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17125. strchannel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17126. if (this != default_instance_) {
  17127. delete head_;
  17128. }
  17129. }
  17130. void XPhone_SystemUpdateReq::SetCachedSize(int size) const {
  17131. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17132. _cached_size_ = size;
  17133. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17134. }
  17135. const ::google::protobuf::Descriptor* XPhone_SystemUpdateReq::descriptor() {
  17136. protobuf_AssignDescriptorsOnce();
  17137. return XPhone_SystemUpdateReq_descriptor_;
  17138. }
  17139. const XPhone_SystemUpdateReq& XPhone_SystemUpdateReq::default_instance() {
  17140. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  17141. return *default_instance_;
  17142. }
  17143. XPhone_SystemUpdateReq* XPhone_SystemUpdateReq::default_instance_ = NULL;
  17144. XPhone_SystemUpdateReq* XPhone_SystemUpdateReq::New(::google::protobuf::Arena* arena) const {
  17145. XPhone_SystemUpdateReq* n = new XPhone_SystemUpdateReq;
  17146. if (arena != NULL) {
  17147. arena->Own(n);
  17148. }
  17149. return n;
  17150. }
  17151. void XPhone_SystemUpdateReq::Clear() {
  17152. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  17153. head_ = NULL;
  17154. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17155. machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17156. softver_ = 0;
  17157. strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17158. }
  17159. bool XPhone_SystemUpdateReq::MergePartialFromCodedStream(
  17160. ::google::protobuf::io::CodedInputStream* input) {
  17161. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  17162. ::google::protobuf::uint32 tag;
  17163. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SystemUpdateReq)
  17164. for (;;) {
  17165. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  17166. tag = p.first;
  17167. if (!p.second) goto handle_unusual;
  17168. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17169. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  17170. case 1: {
  17171. if (tag == 10) {
  17172. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  17173. input, mutable_head()));
  17174. } else {
  17175. goto handle_unusual;
  17176. }
  17177. if (input->ExpectTag(18)) goto parse_strUserName;
  17178. break;
  17179. }
  17180. // optional string strUserName = 2;
  17181. case 2: {
  17182. if (tag == 18) {
  17183. parse_strUserName:
  17184. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  17185. input, this->mutable_strusername()));
  17186. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17187. this->strusername().data(), this->strusername().length(),
  17188. ::google::protobuf::internal::WireFormatLite::PARSE,
  17189. "XPhonePlus.XPhone_SystemUpdateReq.strUserName"));
  17190. } else {
  17191. goto handle_unusual;
  17192. }
  17193. if (input->ExpectTag(26)) goto parse_machinecode;
  17194. break;
  17195. }
  17196. // optional string machinecode = 3;
  17197. case 3: {
  17198. if (tag == 26) {
  17199. parse_machinecode:
  17200. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  17201. input, this->mutable_machinecode()));
  17202. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17203. this->machinecode().data(), this->machinecode().length(),
  17204. ::google::protobuf::internal::WireFormatLite::PARSE,
  17205. "XPhonePlus.XPhone_SystemUpdateReq.machinecode"));
  17206. } else {
  17207. goto handle_unusual;
  17208. }
  17209. if (input->ExpectTag(32)) goto parse_softver;
  17210. break;
  17211. }
  17212. // optional int32 softver = 4;
  17213. case 4: {
  17214. if (tag == 32) {
  17215. parse_softver:
  17216. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17217. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17218. input, &softver_)));
  17219. } else {
  17220. goto handle_unusual;
  17221. }
  17222. if (input->ExpectTag(42)) goto parse_strChannel;
  17223. break;
  17224. }
  17225. // optional string strChannel = 5;
  17226. case 5: {
  17227. if (tag == 42) {
  17228. parse_strChannel:
  17229. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  17230. input, this->mutable_strchannel()));
  17231. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17232. this->strchannel().data(), this->strchannel().length(),
  17233. ::google::protobuf::internal::WireFormatLite::PARSE,
  17234. "XPhonePlus.XPhone_SystemUpdateReq.strChannel"));
  17235. } else {
  17236. goto handle_unusual;
  17237. }
  17238. if (input->ExpectAtEnd()) goto success;
  17239. break;
  17240. }
  17241. default: {
  17242. handle_unusual:
  17243. if (tag == 0 ||
  17244. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17245. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17246. goto success;
  17247. }
  17248. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  17249. break;
  17250. }
  17251. }
  17252. }
  17253. success:
  17254. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SystemUpdateReq)
  17255. return true;
  17256. failure:
  17257. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SystemUpdateReq)
  17258. return false;
  17259. #undef DO_
  17260. }
  17261. void XPhone_SystemUpdateReq::SerializeWithCachedSizes(
  17262. ::google::protobuf::io::CodedOutputStream* output) const {
  17263. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SystemUpdateReq)
  17264. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  17265. if (this->has_head()) {
  17266. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  17267. 1, *this->head_, output);
  17268. }
  17269. // optional string strUserName = 2;
  17270. if (this->strusername().size() > 0) {
  17271. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17272. this->strusername().data(), this->strusername().length(),
  17273. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  17274. "XPhonePlus.XPhone_SystemUpdateReq.strUserName");
  17275. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  17276. 2, this->strusername(), output);
  17277. }
  17278. // optional string machinecode = 3;
  17279. if (this->machinecode().size() > 0) {
  17280. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17281. this->machinecode().data(), this->machinecode().length(),
  17282. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  17283. "XPhonePlus.XPhone_SystemUpdateReq.machinecode");
  17284. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  17285. 3, this->machinecode(), output);
  17286. }
  17287. // optional int32 softver = 4;
  17288. if (this->softver() != 0) {
  17289. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->softver(), output);
  17290. }
  17291. // optional string strChannel = 5;
  17292. if (this->strchannel().size() > 0) {
  17293. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17294. this->strchannel().data(), this->strchannel().length(),
  17295. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  17296. "XPhonePlus.XPhone_SystemUpdateReq.strChannel");
  17297. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  17298. 5, this->strchannel(), output);
  17299. }
  17300. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SystemUpdateReq)
  17301. }
  17302. ::google::protobuf::uint8* XPhone_SystemUpdateReq::SerializeWithCachedSizesToArray(
  17303. ::google::protobuf::uint8* target) const {
  17304. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SystemUpdateReq)
  17305. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  17306. if (this->has_head()) {
  17307. target = ::google::protobuf::internal::WireFormatLite::
  17308. WriteMessageNoVirtualToArray(
  17309. 1, *this->head_, target);
  17310. }
  17311. // optional string strUserName = 2;
  17312. if (this->strusername().size() > 0) {
  17313. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17314. this->strusername().data(), this->strusername().length(),
  17315. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  17316. "XPhonePlus.XPhone_SystemUpdateReq.strUserName");
  17317. target =
  17318. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  17319. 2, this->strusername(), target);
  17320. }
  17321. // optional string machinecode = 3;
  17322. if (this->machinecode().size() > 0) {
  17323. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17324. this->machinecode().data(), this->machinecode().length(),
  17325. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  17326. "XPhonePlus.XPhone_SystemUpdateReq.machinecode");
  17327. target =
  17328. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  17329. 3, this->machinecode(), target);
  17330. }
  17331. // optional int32 softver = 4;
  17332. if (this->softver() != 0) {
  17333. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->softver(), target);
  17334. }
  17335. // optional string strChannel = 5;
  17336. if (this->strchannel().size() > 0) {
  17337. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17338. this->strchannel().data(), this->strchannel().length(),
  17339. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  17340. "XPhonePlus.XPhone_SystemUpdateReq.strChannel");
  17341. target =
  17342. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  17343. 5, this->strchannel(), target);
  17344. }
  17345. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SystemUpdateReq)
  17346. return target;
  17347. }
  17348. int XPhone_SystemUpdateReq::ByteSize() const {
  17349. int total_size = 0;
  17350. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  17351. if (this->has_head()) {
  17352. total_size += 1 +
  17353. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  17354. *this->head_);
  17355. }
  17356. // optional string strUserName = 2;
  17357. if (this->strusername().size() > 0) {
  17358. total_size += 1 +
  17359. ::google::protobuf::internal::WireFormatLite::StringSize(
  17360. this->strusername());
  17361. }
  17362. // optional string machinecode = 3;
  17363. if (this->machinecode().size() > 0) {
  17364. total_size += 1 +
  17365. ::google::protobuf::internal::WireFormatLite::StringSize(
  17366. this->machinecode());
  17367. }
  17368. // optional int32 softver = 4;
  17369. if (this->softver() != 0) {
  17370. total_size += 1 +
  17371. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17372. this->softver());
  17373. }
  17374. // optional string strChannel = 5;
  17375. if (this->strchannel().size() > 0) {
  17376. total_size += 1 +
  17377. ::google::protobuf::internal::WireFormatLite::StringSize(
  17378. this->strchannel());
  17379. }
  17380. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17381. _cached_size_ = total_size;
  17382. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17383. return total_size;
  17384. }
  17385. void XPhone_SystemUpdateReq::MergeFrom(const ::google::protobuf::Message& from) {
  17386. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  17387. const XPhone_SystemUpdateReq* source =
  17388. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SystemUpdateReq>(
  17389. &from);
  17390. if (source == NULL) {
  17391. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17392. } else {
  17393. MergeFrom(*source);
  17394. }
  17395. }
  17396. void XPhone_SystemUpdateReq::MergeFrom(const XPhone_SystemUpdateReq& from) {
  17397. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  17398. if (from.has_head()) {
  17399. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  17400. }
  17401. if (from.strusername().size() > 0) {
  17402. strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
  17403. }
  17404. if (from.machinecode().size() > 0) {
  17405. machinecode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.machinecode_);
  17406. }
  17407. if (from.softver() != 0) {
  17408. set_softver(from.softver());
  17409. }
  17410. if (from.strchannel().size() > 0) {
  17411. strchannel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strchannel_);
  17412. }
  17413. }
  17414. void XPhone_SystemUpdateReq::CopyFrom(const ::google::protobuf::Message& from) {
  17415. if (&from == this) return;
  17416. Clear();
  17417. MergeFrom(from);
  17418. }
  17419. void XPhone_SystemUpdateReq::CopyFrom(const XPhone_SystemUpdateReq& from) {
  17420. if (&from == this) return;
  17421. Clear();
  17422. MergeFrom(from);
  17423. }
  17424. bool XPhone_SystemUpdateReq::IsInitialized() const {
  17425. return true;
  17426. }
  17427. void XPhone_SystemUpdateReq::Swap(XPhone_SystemUpdateReq* other) {
  17428. if (other == this) return;
  17429. InternalSwap(other);
  17430. }
  17431. void XPhone_SystemUpdateReq::InternalSwap(XPhone_SystemUpdateReq* other) {
  17432. std::swap(head_, other->head_);
  17433. strusername_.Swap(&other->strusername_);
  17434. machinecode_.Swap(&other->machinecode_);
  17435. std::swap(softver_, other->softver_);
  17436. strchannel_.Swap(&other->strchannel_);
  17437. _internal_metadata_.Swap(&other->_internal_metadata_);
  17438. std::swap(_cached_size_, other->_cached_size_);
  17439. }
  17440. ::google::protobuf::Metadata XPhone_SystemUpdateReq::GetMetadata() const {
  17441. protobuf_AssignDescriptorsOnce();
  17442. ::google::protobuf::Metadata metadata;
  17443. metadata.descriptor = XPhone_SystemUpdateReq_descriptor_;
  17444. metadata.reflection = XPhone_SystemUpdateReq_reflection_;
  17445. return metadata;
  17446. }
  17447. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  17448. // XPhone_SystemUpdateReq
  17449. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  17450. bool XPhone_SystemUpdateReq::has_head() const {
  17451. return !_is_default_instance_ && head_ != NULL;
  17452. }
  17453. void XPhone_SystemUpdateReq::clear_head() {
  17454. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  17455. head_ = NULL;
  17456. }
  17457. const ::XPhonePlus::XPhone_MsgBase& XPhone_SystemUpdateReq::head() const {
  17458. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateReq.head)
  17459. return head_ != NULL ? *head_ : *default_instance_->head_;
  17460. }
  17461. ::XPhonePlus::XPhone_MsgBase* XPhone_SystemUpdateReq::mutable_head() {
  17462. if (head_ == NULL) {
  17463. head_ = new ::XPhonePlus::XPhone_MsgBase;
  17464. }
  17465. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateReq.head)
  17466. return head_;
  17467. }
  17468. ::XPhonePlus::XPhone_MsgBase* XPhone_SystemUpdateReq::release_head() {
  17469. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  17470. head_ = NULL;
  17471. return temp;
  17472. }
  17473. void XPhone_SystemUpdateReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  17474. delete head_;
  17475. head_ = head;
  17476. if (head) {
  17477. } else {
  17478. }
  17479. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateReq.head)
  17480. }
  17481. // optional string strUserName = 2;
  17482. void XPhone_SystemUpdateReq::clear_strusername() {
  17483. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17484. }
  17485. const ::std::string& XPhone_SystemUpdateReq::strusername() const {
  17486. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
  17487. return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17488. }
  17489. void XPhone_SystemUpdateReq::set_strusername(const ::std::string& value) {
  17490. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  17491. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
  17492. }
  17493. void XPhone_SystemUpdateReq::set_strusername(const char* value) {
  17494. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  17495. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
  17496. }
  17497. void XPhone_SystemUpdateReq::set_strusername(const char* value, size_t size) {
  17498. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  17499. ::std::string(reinterpret_cast<const char*>(value), size));
  17500. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
  17501. }
  17502. ::std::string* XPhone_SystemUpdateReq::mutable_strusername() {
  17503. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
  17504. return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17505. }
  17506. ::std::string* XPhone_SystemUpdateReq::release_strusername() {
  17507. return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17508. }
  17509. void XPhone_SystemUpdateReq::set_allocated_strusername(::std::string* strusername) {
  17510. if (strusername != NULL) {
  17511. } else {
  17512. }
  17513. strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
  17514. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
  17515. }
  17516. // optional string machinecode = 3;
  17517. void XPhone_SystemUpdateReq::clear_machinecode() {
  17518. machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17519. }
  17520. const ::std::string& XPhone_SystemUpdateReq::machinecode() const {
  17521. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
  17522. return machinecode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17523. }
  17524. void XPhone_SystemUpdateReq::set_machinecode(const ::std::string& value) {
  17525. machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  17526. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
  17527. }
  17528. void XPhone_SystemUpdateReq::set_machinecode(const char* value) {
  17529. machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  17530. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
  17531. }
  17532. void XPhone_SystemUpdateReq::set_machinecode(const char* value, size_t size) {
  17533. machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  17534. ::std::string(reinterpret_cast<const char*>(value), size));
  17535. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
  17536. }
  17537. ::std::string* XPhone_SystemUpdateReq::mutable_machinecode() {
  17538. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
  17539. return machinecode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17540. }
  17541. ::std::string* XPhone_SystemUpdateReq::release_machinecode() {
  17542. return machinecode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17543. }
  17544. void XPhone_SystemUpdateReq::set_allocated_machinecode(::std::string* machinecode) {
  17545. if (machinecode != NULL) {
  17546. } else {
  17547. }
  17548. machinecode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), machinecode);
  17549. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
  17550. }
  17551. // optional int32 softver = 4;
  17552. void XPhone_SystemUpdateReq::clear_softver() {
  17553. softver_ = 0;
  17554. }
  17555. ::google::protobuf::int32 XPhone_SystemUpdateReq::softver() const {
  17556. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateReq.softver)
  17557. return softver_;
  17558. }
  17559. void XPhone_SystemUpdateReq::set_softver(::google::protobuf::int32 value) {
  17560. softver_ = value;
  17561. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateReq.softver)
  17562. }
  17563. // optional string strChannel = 5;
  17564. void XPhone_SystemUpdateReq::clear_strchannel() {
  17565. strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17566. }
  17567. const ::std::string& XPhone_SystemUpdateReq::strchannel() const {
  17568. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
  17569. return strchannel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17570. }
  17571. void XPhone_SystemUpdateReq::set_strchannel(const ::std::string& value) {
  17572. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  17573. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
  17574. }
  17575. void XPhone_SystemUpdateReq::set_strchannel(const char* value) {
  17576. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  17577. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
  17578. }
  17579. void XPhone_SystemUpdateReq::set_strchannel(const char* value, size_t size) {
  17580. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  17581. ::std::string(reinterpret_cast<const char*>(value), size));
  17582. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
  17583. }
  17584. ::std::string* XPhone_SystemUpdateReq::mutable_strchannel() {
  17585. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
  17586. return strchannel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17587. }
  17588. ::std::string* XPhone_SystemUpdateReq::release_strchannel() {
  17589. return strchannel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17590. }
  17591. void XPhone_SystemUpdateReq::set_allocated_strchannel(::std::string* strchannel) {
  17592. if (strchannel != NULL) {
  17593. } else {
  17594. }
  17595. strchannel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strchannel);
  17596. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
  17597. }
  17598. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  17599. // ===================================================================
  17600. #ifndef _MSC_VER
  17601. const int XPhone_SystemUpdateRsp::kHeadFieldNumber;
  17602. const int XPhone_SystemUpdateRsp::kIUpdateTypeFieldNumber;
  17603. const int XPhone_SystemUpdateRsp::kStrPackageURLFieldNumber;
  17604. const int XPhone_SystemUpdateRsp::kIUpdateVerFieldNumber;
  17605. const int XPhone_SystemUpdateRsp::kStrMD5FieldNumber;
  17606. #endif // !_MSC_VER
  17607. XPhone_SystemUpdateRsp::XPhone_SystemUpdateRsp()
  17608. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  17609. SharedCtor();
  17610. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SystemUpdateRsp)
  17611. }
  17612. void XPhone_SystemUpdateRsp::InitAsDefaultInstance() {
  17613. _is_default_instance_ = true;
  17614. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  17615. }
  17616. XPhone_SystemUpdateRsp::XPhone_SystemUpdateRsp(const XPhone_SystemUpdateRsp& from)
  17617. : ::google::protobuf::Message(),
  17618. _internal_metadata_(NULL) {
  17619. SharedCtor();
  17620. MergeFrom(from);
  17621. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SystemUpdateRsp)
  17622. }
  17623. void XPhone_SystemUpdateRsp::SharedCtor() {
  17624. _is_default_instance_ = false;
  17625. ::google::protobuf::internal::GetEmptyString();
  17626. _cached_size_ = 0;
  17627. head_ = NULL;
  17628. iupdatetype_ = 0;
  17629. strpackageurl_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17630. iupdatever_ = 0;
  17631. strmd5_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17632. }
  17633. XPhone_SystemUpdateRsp::~XPhone_SystemUpdateRsp() {
  17634. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SystemUpdateRsp)
  17635. SharedDtor();
  17636. }
  17637. void XPhone_SystemUpdateRsp::SharedDtor() {
  17638. strpackageurl_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17639. strmd5_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17640. if (this != default_instance_) {
  17641. delete head_;
  17642. }
  17643. }
  17644. void XPhone_SystemUpdateRsp::SetCachedSize(int size) const {
  17645. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17646. _cached_size_ = size;
  17647. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17648. }
  17649. const ::google::protobuf::Descriptor* XPhone_SystemUpdateRsp::descriptor() {
  17650. protobuf_AssignDescriptorsOnce();
  17651. return XPhone_SystemUpdateRsp_descriptor_;
  17652. }
  17653. const XPhone_SystemUpdateRsp& XPhone_SystemUpdateRsp::default_instance() {
  17654. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  17655. return *default_instance_;
  17656. }
  17657. XPhone_SystemUpdateRsp* XPhone_SystemUpdateRsp::default_instance_ = NULL;
  17658. XPhone_SystemUpdateRsp* XPhone_SystemUpdateRsp::New(::google::protobuf::Arena* arena) const {
  17659. XPhone_SystemUpdateRsp* n = new XPhone_SystemUpdateRsp;
  17660. if (arena != NULL) {
  17661. arena->Own(n);
  17662. }
  17663. return n;
  17664. }
  17665. void XPhone_SystemUpdateRsp::Clear() {
  17666. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  17667. &reinterpret_cast<XPhone_SystemUpdateRsp*>(16)->f)
  17668. #define ZR_(first, last) do {\
  17669. ::memset(&first, 0,\
  17670. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  17671. } while (0)
  17672. ZR_(iupdatetype_, iupdatever_);
  17673. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  17674. head_ = NULL;
  17675. strpackageurl_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17676. strmd5_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  17677. #undef ZR_HELPER_
  17678. #undef ZR_
  17679. }
  17680. bool XPhone_SystemUpdateRsp::MergePartialFromCodedStream(
  17681. ::google::protobuf::io::CodedInputStream* input) {
  17682. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  17683. ::google::protobuf::uint32 tag;
  17684. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SystemUpdateRsp)
  17685. for (;;) {
  17686. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  17687. tag = p.first;
  17688. if (!p.second) goto handle_unusual;
  17689. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17690. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  17691. case 1: {
  17692. if (tag == 10) {
  17693. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  17694. input, mutable_head()));
  17695. } else {
  17696. goto handle_unusual;
  17697. }
  17698. if (input->ExpectTag(16)) goto parse_iUpdateType;
  17699. break;
  17700. }
  17701. // optional int32 iUpdateType = 2;
  17702. case 2: {
  17703. if (tag == 16) {
  17704. parse_iUpdateType:
  17705. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17706. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17707. input, &iupdatetype_)));
  17708. } else {
  17709. goto handle_unusual;
  17710. }
  17711. if (input->ExpectTag(26)) goto parse_strPackageURL;
  17712. break;
  17713. }
  17714. // optional string strPackageURL = 3;
  17715. case 3: {
  17716. if (tag == 26) {
  17717. parse_strPackageURL:
  17718. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  17719. input, this->mutable_strpackageurl()));
  17720. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17721. this->strpackageurl().data(), this->strpackageurl().length(),
  17722. ::google::protobuf::internal::WireFormatLite::PARSE,
  17723. "XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL"));
  17724. } else {
  17725. goto handle_unusual;
  17726. }
  17727. if (input->ExpectTag(32)) goto parse_iUpdateVer;
  17728. break;
  17729. }
  17730. // optional int32 iUpdateVer = 4;
  17731. case 4: {
  17732. if (tag == 32) {
  17733. parse_iUpdateVer:
  17734. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17735. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17736. input, &iupdatever_)));
  17737. } else {
  17738. goto handle_unusual;
  17739. }
  17740. if (input->ExpectTag(42)) goto parse_strMD5;
  17741. break;
  17742. }
  17743. // optional string strMD5 = 5;
  17744. case 5: {
  17745. if (tag == 42) {
  17746. parse_strMD5:
  17747. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  17748. input, this->mutable_strmd5()));
  17749. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17750. this->strmd5().data(), this->strmd5().length(),
  17751. ::google::protobuf::internal::WireFormatLite::PARSE,
  17752. "XPhonePlus.XPhone_SystemUpdateRsp.strMD5"));
  17753. } else {
  17754. goto handle_unusual;
  17755. }
  17756. if (input->ExpectAtEnd()) goto success;
  17757. break;
  17758. }
  17759. default: {
  17760. handle_unusual:
  17761. if (tag == 0 ||
  17762. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17763. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17764. goto success;
  17765. }
  17766. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  17767. break;
  17768. }
  17769. }
  17770. }
  17771. success:
  17772. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SystemUpdateRsp)
  17773. return true;
  17774. failure:
  17775. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SystemUpdateRsp)
  17776. return false;
  17777. #undef DO_
  17778. }
  17779. void XPhone_SystemUpdateRsp::SerializeWithCachedSizes(
  17780. ::google::protobuf::io::CodedOutputStream* output) const {
  17781. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SystemUpdateRsp)
  17782. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  17783. if (this->has_head()) {
  17784. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  17785. 1, *this->head_, output);
  17786. }
  17787. // optional int32 iUpdateType = 2;
  17788. if (this->iupdatetype() != 0) {
  17789. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->iupdatetype(), output);
  17790. }
  17791. // optional string strPackageURL = 3;
  17792. if (this->strpackageurl().size() > 0) {
  17793. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17794. this->strpackageurl().data(), this->strpackageurl().length(),
  17795. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  17796. "XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL");
  17797. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  17798. 3, this->strpackageurl(), output);
  17799. }
  17800. // optional int32 iUpdateVer = 4;
  17801. if (this->iupdatever() != 0) {
  17802. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->iupdatever(), output);
  17803. }
  17804. // optional string strMD5 = 5;
  17805. if (this->strmd5().size() > 0) {
  17806. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17807. this->strmd5().data(), this->strmd5().length(),
  17808. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  17809. "XPhonePlus.XPhone_SystemUpdateRsp.strMD5");
  17810. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  17811. 5, this->strmd5(), output);
  17812. }
  17813. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SystemUpdateRsp)
  17814. }
  17815. ::google::protobuf::uint8* XPhone_SystemUpdateRsp::SerializeWithCachedSizesToArray(
  17816. ::google::protobuf::uint8* target) const {
  17817. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SystemUpdateRsp)
  17818. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  17819. if (this->has_head()) {
  17820. target = ::google::protobuf::internal::WireFormatLite::
  17821. WriteMessageNoVirtualToArray(
  17822. 1, *this->head_, target);
  17823. }
  17824. // optional int32 iUpdateType = 2;
  17825. if (this->iupdatetype() != 0) {
  17826. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->iupdatetype(), target);
  17827. }
  17828. // optional string strPackageURL = 3;
  17829. if (this->strpackageurl().size() > 0) {
  17830. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17831. this->strpackageurl().data(), this->strpackageurl().length(),
  17832. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  17833. "XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL");
  17834. target =
  17835. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  17836. 3, this->strpackageurl(), target);
  17837. }
  17838. // optional int32 iUpdateVer = 4;
  17839. if (this->iupdatever() != 0) {
  17840. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->iupdatever(), target);
  17841. }
  17842. // optional string strMD5 = 5;
  17843. if (this->strmd5().size() > 0) {
  17844. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  17845. this->strmd5().data(), this->strmd5().length(),
  17846. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  17847. "XPhonePlus.XPhone_SystemUpdateRsp.strMD5");
  17848. target =
  17849. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  17850. 5, this->strmd5(), target);
  17851. }
  17852. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SystemUpdateRsp)
  17853. return target;
  17854. }
  17855. int XPhone_SystemUpdateRsp::ByteSize() const {
  17856. int total_size = 0;
  17857. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  17858. if (this->has_head()) {
  17859. total_size += 1 +
  17860. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  17861. *this->head_);
  17862. }
  17863. // optional int32 iUpdateType = 2;
  17864. if (this->iupdatetype() != 0) {
  17865. total_size += 1 +
  17866. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17867. this->iupdatetype());
  17868. }
  17869. // optional string strPackageURL = 3;
  17870. if (this->strpackageurl().size() > 0) {
  17871. total_size += 1 +
  17872. ::google::protobuf::internal::WireFormatLite::StringSize(
  17873. this->strpackageurl());
  17874. }
  17875. // optional int32 iUpdateVer = 4;
  17876. if (this->iupdatever() != 0) {
  17877. total_size += 1 +
  17878. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17879. this->iupdatever());
  17880. }
  17881. // optional string strMD5 = 5;
  17882. if (this->strmd5().size() > 0) {
  17883. total_size += 1 +
  17884. ::google::protobuf::internal::WireFormatLite::StringSize(
  17885. this->strmd5());
  17886. }
  17887. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17888. _cached_size_ = total_size;
  17889. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17890. return total_size;
  17891. }
  17892. void XPhone_SystemUpdateRsp::MergeFrom(const ::google::protobuf::Message& from) {
  17893. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  17894. const XPhone_SystemUpdateRsp* source =
  17895. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SystemUpdateRsp>(
  17896. &from);
  17897. if (source == NULL) {
  17898. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17899. } else {
  17900. MergeFrom(*source);
  17901. }
  17902. }
  17903. void XPhone_SystemUpdateRsp::MergeFrom(const XPhone_SystemUpdateRsp& from) {
  17904. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  17905. if (from.has_head()) {
  17906. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  17907. }
  17908. if (from.iupdatetype() != 0) {
  17909. set_iupdatetype(from.iupdatetype());
  17910. }
  17911. if (from.strpackageurl().size() > 0) {
  17912. strpackageurl_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strpackageurl_);
  17913. }
  17914. if (from.iupdatever() != 0) {
  17915. set_iupdatever(from.iupdatever());
  17916. }
  17917. if (from.strmd5().size() > 0) {
  17918. strmd5_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strmd5_);
  17919. }
  17920. }
  17921. void XPhone_SystemUpdateRsp::CopyFrom(const ::google::protobuf::Message& from) {
  17922. if (&from == this) return;
  17923. Clear();
  17924. MergeFrom(from);
  17925. }
  17926. void XPhone_SystemUpdateRsp::CopyFrom(const XPhone_SystemUpdateRsp& from) {
  17927. if (&from == this) return;
  17928. Clear();
  17929. MergeFrom(from);
  17930. }
  17931. bool XPhone_SystemUpdateRsp::IsInitialized() const {
  17932. return true;
  17933. }
  17934. void XPhone_SystemUpdateRsp::Swap(XPhone_SystemUpdateRsp* other) {
  17935. if (other == this) return;
  17936. InternalSwap(other);
  17937. }
  17938. void XPhone_SystemUpdateRsp::InternalSwap(XPhone_SystemUpdateRsp* other) {
  17939. std::swap(head_, other->head_);
  17940. std::swap(iupdatetype_, other->iupdatetype_);
  17941. strpackageurl_.Swap(&other->strpackageurl_);
  17942. std::swap(iupdatever_, other->iupdatever_);
  17943. strmd5_.Swap(&other->strmd5_);
  17944. _internal_metadata_.Swap(&other->_internal_metadata_);
  17945. std::swap(_cached_size_, other->_cached_size_);
  17946. }
  17947. ::google::protobuf::Metadata XPhone_SystemUpdateRsp::GetMetadata() const {
  17948. protobuf_AssignDescriptorsOnce();
  17949. ::google::protobuf::Metadata metadata;
  17950. metadata.descriptor = XPhone_SystemUpdateRsp_descriptor_;
  17951. metadata.reflection = XPhone_SystemUpdateRsp_reflection_;
  17952. return metadata;
  17953. }
  17954. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  17955. // XPhone_SystemUpdateRsp
  17956. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  17957. bool XPhone_SystemUpdateRsp::has_head() const {
  17958. return !_is_default_instance_ && head_ != NULL;
  17959. }
  17960. void XPhone_SystemUpdateRsp::clear_head() {
  17961. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  17962. head_ = NULL;
  17963. }
  17964. const ::XPhonePlus::XPhone_MsgBase& XPhone_SystemUpdateRsp::head() const {
  17965. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateRsp.head)
  17966. return head_ != NULL ? *head_ : *default_instance_->head_;
  17967. }
  17968. ::XPhonePlus::XPhone_MsgBase* XPhone_SystemUpdateRsp::mutable_head() {
  17969. if (head_ == NULL) {
  17970. head_ = new ::XPhonePlus::XPhone_MsgBase;
  17971. }
  17972. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateRsp.head)
  17973. return head_;
  17974. }
  17975. ::XPhonePlus::XPhone_MsgBase* XPhone_SystemUpdateRsp::release_head() {
  17976. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  17977. head_ = NULL;
  17978. return temp;
  17979. }
  17980. void XPhone_SystemUpdateRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  17981. delete head_;
  17982. head_ = head;
  17983. if (head) {
  17984. } else {
  17985. }
  17986. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateRsp.head)
  17987. }
  17988. // optional int32 iUpdateType = 2;
  17989. void XPhone_SystemUpdateRsp::clear_iupdatetype() {
  17990. iupdatetype_ = 0;
  17991. }
  17992. ::google::protobuf::int32 XPhone_SystemUpdateRsp::iupdatetype() const {
  17993. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateRsp.iUpdateType)
  17994. return iupdatetype_;
  17995. }
  17996. void XPhone_SystemUpdateRsp::set_iupdatetype(::google::protobuf::int32 value) {
  17997. iupdatetype_ = value;
  17998. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateRsp.iUpdateType)
  17999. }
  18000. // optional string strPackageURL = 3;
  18001. void XPhone_SystemUpdateRsp::clear_strpackageurl() {
  18002. strpackageurl_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18003. }
  18004. const ::std::string& XPhone_SystemUpdateRsp::strpackageurl() const {
  18005. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
  18006. return strpackageurl_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18007. }
  18008. void XPhone_SystemUpdateRsp::set_strpackageurl(const ::std::string& value) {
  18009. strpackageurl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  18010. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
  18011. }
  18012. void XPhone_SystemUpdateRsp::set_strpackageurl(const char* value) {
  18013. strpackageurl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  18014. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
  18015. }
  18016. void XPhone_SystemUpdateRsp::set_strpackageurl(const char* value, size_t size) {
  18017. strpackageurl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  18018. ::std::string(reinterpret_cast<const char*>(value), size));
  18019. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
  18020. }
  18021. ::std::string* XPhone_SystemUpdateRsp::mutable_strpackageurl() {
  18022. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
  18023. return strpackageurl_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18024. }
  18025. ::std::string* XPhone_SystemUpdateRsp::release_strpackageurl() {
  18026. return strpackageurl_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18027. }
  18028. void XPhone_SystemUpdateRsp::set_allocated_strpackageurl(::std::string* strpackageurl) {
  18029. if (strpackageurl != NULL) {
  18030. } else {
  18031. }
  18032. strpackageurl_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strpackageurl);
  18033. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
  18034. }
  18035. // optional int32 iUpdateVer = 4;
  18036. void XPhone_SystemUpdateRsp::clear_iupdatever() {
  18037. iupdatever_ = 0;
  18038. }
  18039. ::google::protobuf::int32 XPhone_SystemUpdateRsp::iupdatever() const {
  18040. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateRsp.iUpdateVer)
  18041. return iupdatever_;
  18042. }
  18043. void XPhone_SystemUpdateRsp::set_iupdatever(::google::protobuf::int32 value) {
  18044. iupdatever_ = value;
  18045. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateRsp.iUpdateVer)
  18046. }
  18047. // optional string strMD5 = 5;
  18048. void XPhone_SystemUpdateRsp::clear_strmd5() {
  18049. strmd5_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18050. }
  18051. const ::std::string& XPhone_SystemUpdateRsp::strmd5() const {
  18052. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
  18053. return strmd5_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18054. }
  18055. void XPhone_SystemUpdateRsp::set_strmd5(const ::std::string& value) {
  18056. strmd5_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  18057. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
  18058. }
  18059. void XPhone_SystemUpdateRsp::set_strmd5(const char* value) {
  18060. strmd5_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  18061. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
  18062. }
  18063. void XPhone_SystemUpdateRsp::set_strmd5(const char* value, size_t size) {
  18064. strmd5_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  18065. ::std::string(reinterpret_cast<const char*>(value), size));
  18066. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
  18067. }
  18068. ::std::string* XPhone_SystemUpdateRsp::mutable_strmd5() {
  18069. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
  18070. return strmd5_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18071. }
  18072. ::std::string* XPhone_SystemUpdateRsp::release_strmd5() {
  18073. return strmd5_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18074. }
  18075. void XPhone_SystemUpdateRsp::set_allocated_strmd5(::std::string* strmd5) {
  18076. if (strmd5 != NULL) {
  18077. } else {
  18078. }
  18079. strmd5_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strmd5);
  18080. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
  18081. }
  18082. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  18083. // ===================================================================
  18084. #ifndef _MSC_VER
  18085. const int XPhone_TextInput::kHeadFieldNumber;
  18086. const int XPhone_TextInput::kIInputTypeFieldNumber;
  18087. const int XPhone_TextInput::kStrContentFieldNumber;
  18088. #endif // !_MSC_VER
  18089. XPhone_TextInput::XPhone_TextInput()
  18090. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  18091. SharedCtor();
  18092. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_TextInput)
  18093. }
  18094. void XPhone_TextInput::InitAsDefaultInstance() {
  18095. _is_default_instance_ = true;
  18096. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  18097. }
  18098. XPhone_TextInput::XPhone_TextInput(const XPhone_TextInput& from)
  18099. : ::google::protobuf::Message(),
  18100. _internal_metadata_(NULL) {
  18101. SharedCtor();
  18102. MergeFrom(from);
  18103. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_TextInput)
  18104. }
  18105. void XPhone_TextInput::SharedCtor() {
  18106. _is_default_instance_ = false;
  18107. ::google::protobuf::internal::GetEmptyString();
  18108. _cached_size_ = 0;
  18109. head_ = NULL;
  18110. iinputtype_ = 0;
  18111. strcontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18112. }
  18113. XPhone_TextInput::~XPhone_TextInput() {
  18114. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_TextInput)
  18115. SharedDtor();
  18116. }
  18117. void XPhone_TextInput::SharedDtor() {
  18118. strcontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18119. if (this != default_instance_) {
  18120. delete head_;
  18121. }
  18122. }
  18123. void XPhone_TextInput::SetCachedSize(int size) const {
  18124. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18125. _cached_size_ = size;
  18126. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18127. }
  18128. const ::google::protobuf::Descriptor* XPhone_TextInput::descriptor() {
  18129. protobuf_AssignDescriptorsOnce();
  18130. return XPhone_TextInput_descriptor_;
  18131. }
  18132. const XPhone_TextInput& XPhone_TextInput::default_instance() {
  18133. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  18134. return *default_instance_;
  18135. }
  18136. XPhone_TextInput* XPhone_TextInput::default_instance_ = NULL;
  18137. XPhone_TextInput* XPhone_TextInput::New(::google::protobuf::Arena* arena) const {
  18138. XPhone_TextInput* n = new XPhone_TextInput;
  18139. if (arena != NULL) {
  18140. arena->Own(n);
  18141. }
  18142. return n;
  18143. }
  18144. void XPhone_TextInput::Clear() {
  18145. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  18146. head_ = NULL;
  18147. iinputtype_ = 0;
  18148. strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18149. }
  18150. bool XPhone_TextInput::MergePartialFromCodedStream(
  18151. ::google::protobuf::io::CodedInputStream* input) {
  18152. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  18153. ::google::protobuf::uint32 tag;
  18154. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_TextInput)
  18155. for (;;) {
  18156. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  18157. tag = p.first;
  18158. if (!p.second) goto handle_unusual;
  18159. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18160. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18161. case 1: {
  18162. if (tag == 10) {
  18163. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  18164. input, mutable_head()));
  18165. } else {
  18166. goto handle_unusual;
  18167. }
  18168. if (input->ExpectTag(16)) goto parse_iInputType;
  18169. break;
  18170. }
  18171. // optional int32 iInputType = 2;
  18172. case 2: {
  18173. if (tag == 16) {
  18174. parse_iInputType:
  18175. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18176. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18177. input, &iinputtype_)));
  18178. } else {
  18179. goto handle_unusual;
  18180. }
  18181. if (input->ExpectTag(26)) goto parse_strContent;
  18182. break;
  18183. }
  18184. // optional string strContent = 3;
  18185. case 3: {
  18186. if (tag == 26) {
  18187. parse_strContent:
  18188. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  18189. input, this->mutable_strcontent()));
  18190. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  18191. this->strcontent().data(), this->strcontent().length(),
  18192. ::google::protobuf::internal::WireFormatLite::PARSE,
  18193. "XPhonePlus.XPhone_TextInput.strContent"));
  18194. } else {
  18195. goto handle_unusual;
  18196. }
  18197. if (input->ExpectAtEnd()) goto success;
  18198. break;
  18199. }
  18200. default: {
  18201. handle_unusual:
  18202. if (tag == 0 ||
  18203. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18204. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18205. goto success;
  18206. }
  18207. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  18208. break;
  18209. }
  18210. }
  18211. }
  18212. success:
  18213. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_TextInput)
  18214. return true;
  18215. failure:
  18216. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_TextInput)
  18217. return false;
  18218. #undef DO_
  18219. }
  18220. void XPhone_TextInput::SerializeWithCachedSizes(
  18221. ::google::protobuf::io::CodedOutputStream* output) const {
  18222. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_TextInput)
  18223. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18224. if (this->has_head()) {
  18225. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  18226. 1, *this->head_, output);
  18227. }
  18228. // optional int32 iInputType = 2;
  18229. if (this->iinputtype() != 0) {
  18230. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->iinputtype(), output);
  18231. }
  18232. // optional string strContent = 3;
  18233. if (this->strcontent().size() > 0) {
  18234. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  18235. this->strcontent().data(), this->strcontent().length(),
  18236. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  18237. "XPhonePlus.XPhone_TextInput.strContent");
  18238. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  18239. 3, this->strcontent(), output);
  18240. }
  18241. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_TextInput)
  18242. }
  18243. ::google::protobuf::uint8* XPhone_TextInput::SerializeWithCachedSizesToArray(
  18244. ::google::protobuf::uint8* target) const {
  18245. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_TextInput)
  18246. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18247. if (this->has_head()) {
  18248. target = ::google::protobuf::internal::WireFormatLite::
  18249. WriteMessageNoVirtualToArray(
  18250. 1, *this->head_, target);
  18251. }
  18252. // optional int32 iInputType = 2;
  18253. if (this->iinputtype() != 0) {
  18254. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->iinputtype(), target);
  18255. }
  18256. // optional string strContent = 3;
  18257. if (this->strcontent().size() > 0) {
  18258. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  18259. this->strcontent().data(), this->strcontent().length(),
  18260. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  18261. "XPhonePlus.XPhone_TextInput.strContent");
  18262. target =
  18263. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  18264. 3, this->strcontent(), target);
  18265. }
  18266. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_TextInput)
  18267. return target;
  18268. }
  18269. int XPhone_TextInput::ByteSize() const {
  18270. int total_size = 0;
  18271. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18272. if (this->has_head()) {
  18273. total_size += 1 +
  18274. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  18275. *this->head_);
  18276. }
  18277. // optional int32 iInputType = 2;
  18278. if (this->iinputtype() != 0) {
  18279. total_size += 1 +
  18280. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18281. this->iinputtype());
  18282. }
  18283. // optional string strContent = 3;
  18284. if (this->strcontent().size() > 0) {
  18285. total_size += 1 +
  18286. ::google::protobuf::internal::WireFormatLite::StringSize(
  18287. this->strcontent());
  18288. }
  18289. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18290. _cached_size_ = total_size;
  18291. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18292. return total_size;
  18293. }
  18294. void XPhone_TextInput::MergeFrom(const ::google::protobuf::Message& from) {
  18295. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  18296. const XPhone_TextInput* source =
  18297. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_TextInput>(
  18298. &from);
  18299. if (source == NULL) {
  18300. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18301. } else {
  18302. MergeFrom(*source);
  18303. }
  18304. }
  18305. void XPhone_TextInput::MergeFrom(const XPhone_TextInput& from) {
  18306. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  18307. if (from.has_head()) {
  18308. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  18309. }
  18310. if (from.iinputtype() != 0) {
  18311. set_iinputtype(from.iinputtype());
  18312. }
  18313. if (from.strcontent().size() > 0) {
  18314. strcontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcontent_);
  18315. }
  18316. }
  18317. void XPhone_TextInput::CopyFrom(const ::google::protobuf::Message& from) {
  18318. if (&from == this) return;
  18319. Clear();
  18320. MergeFrom(from);
  18321. }
  18322. void XPhone_TextInput::CopyFrom(const XPhone_TextInput& from) {
  18323. if (&from == this) return;
  18324. Clear();
  18325. MergeFrom(from);
  18326. }
  18327. bool XPhone_TextInput::IsInitialized() const {
  18328. return true;
  18329. }
  18330. void XPhone_TextInput::Swap(XPhone_TextInput* other) {
  18331. if (other == this) return;
  18332. InternalSwap(other);
  18333. }
  18334. void XPhone_TextInput::InternalSwap(XPhone_TextInput* other) {
  18335. std::swap(head_, other->head_);
  18336. std::swap(iinputtype_, other->iinputtype_);
  18337. strcontent_.Swap(&other->strcontent_);
  18338. _internal_metadata_.Swap(&other->_internal_metadata_);
  18339. std::swap(_cached_size_, other->_cached_size_);
  18340. }
  18341. ::google::protobuf::Metadata XPhone_TextInput::GetMetadata() const {
  18342. protobuf_AssignDescriptorsOnce();
  18343. ::google::protobuf::Metadata metadata;
  18344. metadata.descriptor = XPhone_TextInput_descriptor_;
  18345. metadata.reflection = XPhone_TextInput_reflection_;
  18346. return metadata;
  18347. }
  18348. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  18349. // XPhone_TextInput
  18350. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18351. bool XPhone_TextInput::has_head() const {
  18352. return !_is_default_instance_ && head_ != NULL;
  18353. }
  18354. void XPhone_TextInput::clear_head() {
  18355. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  18356. head_ = NULL;
  18357. }
  18358. const ::XPhonePlus::XPhone_MsgBase& XPhone_TextInput::head() const {
  18359. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TextInput.head)
  18360. return head_ != NULL ? *head_ : *default_instance_->head_;
  18361. }
  18362. ::XPhonePlus::XPhone_MsgBase* XPhone_TextInput::mutable_head() {
  18363. if (head_ == NULL) {
  18364. head_ = new ::XPhonePlus::XPhone_MsgBase;
  18365. }
  18366. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_TextInput.head)
  18367. return head_;
  18368. }
  18369. ::XPhonePlus::XPhone_MsgBase* XPhone_TextInput::release_head() {
  18370. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  18371. head_ = NULL;
  18372. return temp;
  18373. }
  18374. void XPhone_TextInput::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  18375. delete head_;
  18376. head_ = head;
  18377. if (head) {
  18378. } else {
  18379. }
  18380. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_TextInput.head)
  18381. }
  18382. // optional int32 iInputType = 2;
  18383. void XPhone_TextInput::clear_iinputtype() {
  18384. iinputtype_ = 0;
  18385. }
  18386. ::google::protobuf::int32 XPhone_TextInput::iinputtype() const {
  18387. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TextInput.iInputType)
  18388. return iinputtype_;
  18389. }
  18390. void XPhone_TextInput::set_iinputtype(::google::protobuf::int32 value) {
  18391. iinputtype_ = value;
  18392. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TextInput.iInputType)
  18393. }
  18394. // optional string strContent = 3;
  18395. void XPhone_TextInput::clear_strcontent() {
  18396. strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18397. }
  18398. const ::std::string& XPhone_TextInput::strcontent() const {
  18399. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TextInput.strContent)
  18400. return strcontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18401. }
  18402. void XPhone_TextInput::set_strcontent(const ::std::string& value) {
  18403. strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  18404. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TextInput.strContent)
  18405. }
  18406. void XPhone_TextInput::set_strcontent(const char* value) {
  18407. strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  18408. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_TextInput.strContent)
  18409. }
  18410. void XPhone_TextInput::set_strcontent(const char* value, size_t size) {
  18411. strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  18412. ::std::string(reinterpret_cast<const char*>(value), size));
  18413. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_TextInput.strContent)
  18414. }
  18415. ::std::string* XPhone_TextInput::mutable_strcontent() {
  18416. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_TextInput.strContent)
  18417. return strcontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18418. }
  18419. ::std::string* XPhone_TextInput::release_strcontent() {
  18420. return strcontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18421. }
  18422. void XPhone_TextInput::set_allocated_strcontent(::std::string* strcontent) {
  18423. if (strcontent != NULL) {
  18424. } else {
  18425. }
  18426. strcontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcontent);
  18427. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_TextInput.strContent)
  18428. }
  18429. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  18430. // ===================================================================
  18431. #ifndef _MSC_VER
  18432. const int XPhone_NoticeReq::kHeadFieldNumber;
  18433. const int XPhone_NoticeReq::kStrChannelFieldNumber;
  18434. const int XPhone_NoticeReq::kIClientVerFieldNumber;
  18435. #endif // !_MSC_VER
  18436. XPhone_NoticeReq::XPhone_NoticeReq()
  18437. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  18438. SharedCtor();
  18439. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_NoticeReq)
  18440. }
  18441. void XPhone_NoticeReq::InitAsDefaultInstance() {
  18442. _is_default_instance_ = true;
  18443. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  18444. }
  18445. XPhone_NoticeReq::XPhone_NoticeReq(const XPhone_NoticeReq& from)
  18446. : ::google::protobuf::Message(),
  18447. _internal_metadata_(NULL) {
  18448. SharedCtor();
  18449. MergeFrom(from);
  18450. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_NoticeReq)
  18451. }
  18452. void XPhone_NoticeReq::SharedCtor() {
  18453. _is_default_instance_ = false;
  18454. ::google::protobuf::internal::GetEmptyString();
  18455. _cached_size_ = 0;
  18456. head_ = NULL;
  18457. strchannel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18458. iclientver_ = 0;
  18459. }
  18460. XPhone_NoticeReq::~XPhone_NoticeReq() {
  18461. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_NoticeReq)
  18462. SharedDtor();
  18463. }
  18464. void XPhone_NoticeReq::SharedDtor() {
  18465. strchannel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18466. if (this != default_instance_) {
  18467. delete head_;
  18468. }
  18469. }
  18470. void XPhone_NoticeReq::SetCachedSize(int size) const {
  18471. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18472. _cached_size_ = size;
  18473. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18474. }
  18475. const ::google::protobuf::Descriptor* XPhone_NoticeReq::descriptor() {
  18476. protobuf_AssignDescriptorsOnce();
  18477. return XPhone_NoticeReq_descriptor_;
  18478. }
  18479. const XPhone_NoticeReq& XPhone_NoticeReq::default_instance() {
  18480. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  18481. return *default_instance_;
  18482. }
  18483. XPhone_NoticeReq* XPhone_NoticeReq::default_instance_ = NULL;
  18484. XPhone_NoticeReq* XPhone_NoticeReq::New(::google::protobuf::Arena* arena) const {
  18485. XPhone_NoticeReq* n = new XPhone_NoticeReq;
  18486. if (arena != NULL) {
  18487. arena->Own(n);
  18488. }
  18489. return n;
  18490. }
  18491. void XPhone_NoticeReq::Clear() {
  18492. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  18493. head_ = NULL;
  18494. strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18495. iclientver_ = 0;
  18496. }
  18497. bool XPhone_NoticeReq::MergePartialFromCodedStream(
  18498. ::google::protobuf::io::CodedInputStream* input) {
  18499. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  18500. ::google::protobuf::uint32 tag;
  18501. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_NoticeReq)
  18502. for (;;) {
  18503. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  18504. tag = p.first;
  18505. if (!p.second) goto handle_unusual;
  18506. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18507. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18508. case 1: {
  18509. if (tag == 10) {
  18510. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  18511. input, mutable_head()));
  18512. } else {
  18513. goto handle_unusual;
  18514. }
  18515. if (input->ExpectTag(18)) goto parse_strChannel;
  18516. break;
  18517. }
  18518. // optional string strChannel = 2;
  18519. case 2: {
  18520. if (tag == 18) {
  18521. parse_strChannel:
  18522. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  18523. input, this->mutable_strchannel()));
  18524. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  18525. this->strchannel().data(), this->strchannel().length(),
  18526. ::google::protobuf::internal::WireFormatLite::PARSE,
  18527. "XPhonePlus.XPhone_NoticeReq.strChannel"));
  18528. } else {
  18529. goto handle_unusual;
  18530. }
  18531. if (input->ExpectTag(24)) goto parse_iClientVer;
  18532. break;
  18533. }
  18534. // optional int32 iClientVer = 3;
  18535. case 3: {
  18536. if (tag == 24) {
  18537. parse_iClientVer:
  18538. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18539. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18540. input, &iclientver_)));
  18541. } else {
  18542. goto handle_unusual;
  18543. }
  18544. if (input->ExpectAtEnd()) goto success;
  18545. break;
  18546. }
  18547. default: {
  18548. handle_unusual:
  18549. if (tag == 0 ||
  18550. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18551. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18552. goto success;
  18553. }
  18554. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  18555. break;
  18556. }
  18557. }
  18558. }
  18559. success:
  18560. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_NoticeReq)
  18561. return true;
  18562. failure:
  18563. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_NoticeReq)
  18564. return false;
  18565. #undef DO_
  18566. }
  18567. void XPhone_NoticeReq::SerializeWithCachedSizes(
  18568. ::google::protobuf::io::CodedOutputStream* output) const {
  18569. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_NoticeReq)
  18570. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18571. if (this->has_head()) {
  18572. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  18573. 1, *this->head_, output);
  18574. }
  18575. // optional string strChannel = 2;
  18576. if (this->strchannel().size() > 0) {
  18577. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  18578. this->strchannel().data(), this->strchannel().length(),
  18579. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  18580. "XPhonePlus.XPhone_NoticeReq.strChannel");
  18581. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  18582. 2, this->strchannel(), output);
  18583. }
  18584. // optional int32 iClientVer = 3;
  18585. if (this->iclientver() != 0) {
  18586. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->iclientver(), output);
  18587. }
  18588. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_NoticeReq)
  18589. }
  18590. ::google::protobuf::uint8* XPhone_NoticeReq::SerializeWithCachedSizesToArray(
  18591. ::google::protobuf::uint8* target) const {
  18592. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_NoticeReq)
  18593. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18594. if (this->has_head()) {
  18595. target = ::google::protobuf::internal::WireFormatLite::
  18596. WriteMessageNoVirtualToArray(
  18597. 1, *this->head_, target);
  18598. }
  18599. // optional string strChannel = 2;
  18600. if (this->strchannel().size() > 0) {
  18601. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  18602. this->strchannel().data(), this->strchannel().length(),
  18603. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  18604. "XPhonePlus.XPhone_NoticeReq.strChannel");
  18605. target =
  18606. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  18607. 2, this->strchannel(), target);
  18608. }
  18609. // optional int32 iClientVer = 3;
  18610. if (this->iclientver() != 0) {
  18611. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->iclientver(), target);
  18612. }
  18613. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_NoticeReq)
  18614. return target;
  18615. }
  18616. int XPhone_NoticeReq::ByteSize() const {
  18617. int total_size = 0;
  18618. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18619. if (this->has_head()) {
  18620. total_size += 1 +
  18621. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  18622. *this->head_);
  18623. }
  18624. // optional string strChannel = 2;
  18625. if (this->strchannel().size() > 0) {
  18626. total_size += 1 +
  18627. ::google::protobuf::internal::WireFormatLite::StringSize(
  18628. this->strchannel());
  18629. }
  18630. // optional int32 iClientVer = 3;
  18631. if (this->iclientver() != 0) {
  18632. total_size += 1 +
  18633. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18634. this->iclientver());
  18635. }
  18636. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18637. _cached_size_ = total_size;
  18638. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18639. return total_size;
  18640. }
  18641. void XPhone_NoticeReq::MergeFrom(const ::google::protobuf::Message& from) {
  18642. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  18643. const XPhone_NoticeReq* source =
  18644. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_NoticeReq>(
  18645. &from);
  18646. if (source == NULL) {
  18647. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18648. } else {
  18649. MergeFrom(*source);
  18650. }
  18651. }
  18652. void XPhone_NoticeReq::MergeFrom(const XPhone_NoticeReq& from) {
  18653. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  18654. if (from.has_head()) {
  18655. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  18656. }
  18657. if (from.strchannel().size() > 0) {
  18658. strchannel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strchannel_);
  18659. }
  18660. if (from.iclientver() != 0) {
  18661. set_iclientver(from.iclientver());
  18662. }
  18663. }
  18664. void XPhone_NoticeReq::CopyFrom(const ::google::protobuf::Message& from) {
  18665. if (&from == this) return;
  18666. Clear();
  18667. MergeFrom(from);
  18668. }
  18669. void XPhone_NoticeReq::CopyFrom(const XPhone_NoticeReq& from) {
  18670. if (&from == this) return;
  18671. Clear();
  18672. MergeFrom(from);
  18673. }
  18674. bool XPhone_NoticeReq::IsInitialized() const {
  18675. return true;
  18676. }
  18677. void XPhone_NoticeReq::Swap(XPhone_NoticeReq* other) {
  18678. if (other == this) return;
  18679. InternalSwap(other);
  18680. }
  18681. void XPhone_NoticeReq::InternalSwap(XPhone_NoticeReq* other) {
  18682. std::swap(head_, other->head_);
  18683. strchannel_.Swap(&other->strchannel_);
  18684. std::swap(iclientver_, other->iclientver_);
  18685. _internal_metadata_.Swap(&other->_internal_metadata_);
  18686. std::swap(_cached_size_, other->_cached_size_);
  18687. }
  18688. ::google::protobuf::Metadata XPhone_NoticeReq::GetMetadata() const {
  18689. protobuf_AssignDescriptorsOnce();
  18690. ::google::protobuf::Metadata metadata;
  18691. metadata.descriptor = XPhone_NoticeReq_descriptor_;
  18692. metadata.reflection = XPhone_NoticeReq_reflection_;
  18693. return metadata;
  18694. }
  18695. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  18696. // XPhone_NoticeReq
  18697. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18698. bool XPhone_NoticeReq::has_head() const {
  18699. return !_is_default_instance_ && head_ != NULL;
  18700. }
  18701. void XPhone_NoticeReq::clear_head() {
  18702. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  18703. head_ = NULL;
  18704. }
  18705. const ::XPhonePlus::XPhone_MsgBase& XPhone_NoticeReq::head() const {
  18706. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_NoticeReq.head)
  18707. return head_ != NULL ? *head_ : *default_instance_->head_;
  18708. }
  18709. ::XPhonePlus::XPhone_MsgBase* XPhone_NoticeReq::mutable_head() {
  18710. if (head_ == NULL) {
  18711. head_ = new ::XPhonePlus::XPhone_MsgBase;
  18712. }
  18713. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_NoticeReq.head)
  18714. return head_;
  18715. }
  18716. ::XPhonePlus::XPhone_MsgBase* XPhone_NoticeReq::release_head() {
  18717. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  18718. head_ = NULL;
  18719. return temp;
  18720. }
  18721. void XPhone_NoticeReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  18722. delete head_;
  18723. head_ = head;
  18724. if (head) {
  18725. } else {
  18726. }
  18727. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_NoticeReq.head)
  18728. }
  18729. // optional string strChannel = 2;
  18730. void XPhone_NoticeReq::clear_strchannel() {
  18731. strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18732. }
  18733. const ::std::string& XPhone_NoticeReq::strchannel() const {
  18734. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_NoticeReq.strChannel)
  18735. return strchannel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18736. }
  18737. void XPhone_NoticeReq::set_strchannel(const ::std::string& value) {
  18738. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  18739. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_NoticeReq.strChannel)
  18740. }
  18741. void XPhone_NoticeReq::set_strchannel(const char* value) {
  18742. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  18743. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_NoticeReq.strChannel)
  18744. }
  18745. void XPhone_NoticeReq::set_strchannel(const char* value, size_t size) {
  18746. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  18747. ::std::string(reinterpret_cast<const char*>(value), size));
  18748. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_NoticeReq.strChannel)
  18749. }
  18750. ::std::string* XPhone_NoticeReq::mutable_strchannel() {
  18751. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_NoticeReq.strChannel)
  18752. return strchannel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18753. }
  18754. ::std::string* XPhone_NoticeReq::release_strchannel() {
  18755. return strchannel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  18756. }
  18757. void XPhone_NoticeReq::set_allocated_strchannel(::std::string* strchannel) {
  18758. if (strchannel != NULL) {
  18759. } else {
  18760. }
  18761. strchannel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strchannel);
  18762. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_NoticeReq.strChannel)
  18763. }
  18764. // optional int32 iClientVer = 3;
  18765. void XPhone_NoticeReq::clear_iclientver() {
  18766. iclientver_ = 0;
  18767. }
  18768. ::google::protobuf::int32 XPhone_NoticeReq::iclientver() const {
  18769. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_NoticeReq.iClientVer)
  18770. return iclientver_;
  18771. }
  18772. void XPhone_NoticeReq::set_iclientver(::google::protobuf::int32 value) {
  18773. iclientver_ = value;
  18774. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_NoticeReq.iClientVer)
  18775. }
  18776. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  18777. // ===================================================================
  18778. #ifndef _MSC_VER
  18779. const int XPhone_NoticeRsp::kHeadFieldNumber;
  18780. const int XPhone_NoticeRsp::kNoticeListFieldNumber;
  18781. #endif // !_MSC_VER
  18782. XPhone_NoticeRsp::XPhone_NoticeRsp()
  18783. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  18784. SharedCtor();
  18785. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_NoticeRsp)
  18786. }
  18787. void XPhone_NoticeRsp::InitAsDefaultInstance() {
  18788. _is_default_instance_ = true;
  18789. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  18790. }
  18791. XPhone_NoticeRsp::XPhone_NoticeRsp(const XPhone_NoticeRsp& from)
  18792. : ::google::protobuf::Message(),
  18793. _internal_metadata_(NULL) {
  18794. SharedCtor();
  18795. MergeFrom(from);
  18796. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_NoticeRsp)
  18797. }
  18798. void XPhone_NoticeRsp::SharedCtor() {
  18799. _is_default_instance_ = false;
  18800. ::google::protobuf::internal::GetEmptyString();
  18801. _cached_size_ = 0;
  18802. head_ = NULL;
  18803. }
  18804. XPhone_NoticeRsp::~XPhone_NoticeRsp() {
  18805. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_NoticeRsp)
  18806. SharedDtor();
  18807. }
  18808. void XPhone_NoticeRsp::SharedDtor() {
  18809. if (this != default_instance_) {
  18810. delete head_;
  18811. }
  18812. }
  18813. void XPhone_NoticeRsp::SetCachedSize(int size) const {
  18814. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18815. _cached_size_ = size;
  18816. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18817. }
  18818. const ::google::protobuf::Descriptor* XPhone_NoticeRsp::descriptor() {
  18819. protobuf_AssignDescriptorsOnce();
  18820. return XPhone_NoticeRsp_descriptor_;
  18821. }
  18822. const XPhone_NoticeRsp& XPhone_NoticeRsp::default_instance() {
  18823. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  18824. return *default_instance_;
  18825. }
  18826. XPhone_NoticeRsp* XPhone_NoticeRsp::default_instance_ = NULL;
  18827. XPhone_NoticeRsp* XPhone_NoticeRsp::New(::google::protobuf::Arena* arena) const {
  18828. XPhone_NoticeRsp* n = new XPhone_NoticeRsp;
  18829. if (arena != NULL) {
  18830. arena->Own(n);
  18831. }
  18832. return n;
  18833. }
  18834. void XPhone_NoticeRsp::Clear() {
  18835. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  18836. head_ = NULL;
  18837. noticelist_.Clear();
  18838. }
  18839. bool XPhone_NoticeRsp::MergePartialFromCodedStream(
  18840. ::google::protobuf::io::CodedInputStream* input) {
  18841. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  18842. ::google::protobuf::uint32 tag;
  18843. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_NoticeRsp)
  18844. for (;;) {
  18845. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  18846. tag = p.first;
  18847. if (!p.second) goto handle_unusual;
  18848. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18849. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18850. case 1: {
  18851. if (tag == 10) {
  18852. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  18853. input, mutable_head()));
  18854. } else {
  18855. goto handle_unusual;
  18856. }
  18857. if (input->ExpectTag(18)) goto parse_noticeList;
  18858. break;
  18859. }
  18860. // repeated string noticeList = 2;
  18861. case 2: {
  18862. if (tag == 18) {
  18863. parse_noticeList:
  18864. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  18865. input, this->add_noticelist()));
  18866. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  18867. this->noticelist(this->noticelist_size() - 1).data(),
  18868. this->noticelist(this->noticelist_size() - 1).length(),
  18869. ::google::protobuf::internal::WireFormatLite::PARSE,
  18870. "XPhonePlus.XPhone_NoticeRsp.noticeList"));
  18871. } else {
  18872. goto handle_unusual;
  18873. }
  18874. if (input->ExpectTag(18)) goto parse_noticeList;
  18875. if (input->ExpectAtEnd()) goto success;
  18876. break;
  18877. }
  18878. default: {
  18879. handle_unusual:
  18880. if (tag == 0 ||
  18881. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18882. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18883. goto success;
  18884. }
  18885. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  18886. break;
  18887. }
  18888. }
  18889. }
  18890. success:
  18891. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_NoticeRsp)
  18892. return true;
  18893. failure:
  18894. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_NoticeRsp)
  18895. return false;
  18896. #undef DO_
  18897. }
  18898. void XPhone_NoticeRsp::SerializeWithCachedSizes(
  18899. ::google::protobuf::io::CodedOutputStream* output) const {
  18900. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_NoticeRsp)
  18901. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18902. if (this->has_head()) {
  18903. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  18904. 1, *this->head_, output);
  18905. }
  18906. // repeated string noticeList = 2;
  18907. for (int i = 0; i < this->noticelist_size(); i++) {
  18908. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  18909. this->noticelist(i).data(), this->noticelist(i).length(),
  18910. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  18911. "XPhonePlus.XPhone_NoticeRsp.noticeList");
  18912. ::google::protobuf::internal::WireFormatLite::WriteString(
  18913. 2, this->noticelist(i), output);
  18914. }
  18915. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_NoticeRsp)
  18916. }
  18917. ::google::protobuf::uint8* XPhone_NoticeRsp::SerializeWithCachedSizesToArray(
  18918. ::google::protobuf::uint8* target) const {
  18919. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_NoticeRsp)
  18920. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18921. if (this->has_head()) {
  18922. target = ::google::protobuf::internal::WireFormatLite::
  18923. WriteMessageNoVirtualToArray(
  18924. 1, *this->head_, target);
  18925. }
  18926. // repeated string noticeList = 2;
  18927. for (int i = 0; i < this->noticelist_size(); i++) {
  18928. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  18929. this->noticelist(i).data(), this->noticelist(i).length(),
  18930. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  18931. "XPhonePlus.XPhone_NoticeRsp.noticeList");
  18932. target = ::google::protobuf::internal::WireFormatLite::
  18933. WriteStringToArray(2, this->noticelist(i), target);
  18934. }
  18935. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_NoticeRsp)
  18936. return target;
  18937. }
  18938. int XPhone_NoticeRsp::ByteSize() const {
  18939. int total_size = 0;
  18940. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  18941. if (this->has_head()) {
  18942. total_size += 1 +
  18943. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  18944. *this->head_);
  18945. }
  18946. // repeated string noticeList = 2;
  18947. total_size += 1 * this->noticelist_size();
  18948. for (int i = 0; i < this->noticelist_size(); i++) {
  18949. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  18950. this->noticelist(i));
  18951. }
  18952. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18953. _cached_size_ = total_size;
  18954. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18955. return total_size;
  18956. }
  18957. void XPhone_NoticeRsp::MergeFrom(const ::google::protobuf::Message& from) {
  18958. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  18959. const XPhone_NoticeRsp* source =
  18960. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_NoticeRsp>(
  18961. &from);
  18962. if (source == NULL) {
  18963. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18964. } else {
  18965. MergeFrom(*source);
  18966. }
  18967. }
  18968. void XPhone_NoticeRsp::MergeFrom(const XPhone_NoticeRsp& from) {
  18969. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  18970. noticelist_.MergeFrom(from.noticelist_);
  18971. if (from.has_head()) {
  18972. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  18973. }
  18974. }
  18975. void XPhone_NoticeRsp::CopyFrom(const ::google::protobuf::Message& from) {
  18976. if (&from == this) return;
  18977. Clear();
  18978. MergeFrom(from);
  18979. }
  18980. void XPhone_NoticeRsp::CopyFrom(const XPhone_NoticeRsp& from) {
  18981. if (&from == this) return;
  18982. Clear();
  18983. MergeFrom(from);
  18984. }
  18985. bool XPhone_NoticeRsp::IsInitialized() const {
  18986. return true;
  18987. }
  18988. void XPhone_NoticeRsp::Swap(XPhone_NoticeRsp* other) {
  18989. if (other == this) return;
  18990. InternalSwap(other);
  18991. }
  18992. void XPhone_NoticeRsp::InternalSwap(XPhone_NoticeRsp* other) {
  18993. std::swap(head_, other->head_);
  18994. noticelist_.UnsafeArenaSwap(&other->noticelist_);
  18995. _internal_metadata_.Swap(&other->_internal_metadata_);
  18996. std::swap(_cached_size_, other->_cached_size_);
  18997. }
  18998. ::google::protobuf::Metadata XPhone_NoticeRsp::GetMetadata() const {
  18999. protobuf_AssignDescriptorsOnce();
  19000. ::google::protobuf::Metadata metadata;
  19001. metadata.descriptor = XPhone_NoticeRsp_descriptor_;
  19002. metadata.reflection = XPhone_NoticeRsp_reflection_;
  19003. return metadata;
  19004. }
  19005. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  19006. // XPhone_NoticeRsp
  19007. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  19008. bool XPhone_NoticeRsp::has_head() const {
  19009. return !_is_default_instance_ && head_ != NULL;
  19010. }
  19011. void XPhone_NoticeRsp::clear_head() {
  19012. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  19013. head_ = NULL;
  19014. }
  19015. const ::XPhonePlus::XPhone_MsgBase& XPhone_NoticeRsp::head() const {
  19016. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_NoticeRsp.head)
  19017. return head_ != NULL ? *head_ : *default_instance_->head_;
  19018. }
  19019. ::XPhonePlus::XPhone_MsgBase* XPhone_NoticeRsp::mutable_head() {
  19020. if (head_ == NULL) {
  19021. head_ = new ::XPhonePlus::XPhone_MsgBase;
  19022. }
  19023. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_NoticeRsp.head)
  19024. return head_;
  19025. }
  19026. ::XPhonePlus::XPhone_MsgBase* XPhone_NoticeRsp::release_head() {
  19027. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  19028. head_ = NULL;
  19029. return temp;
  19030. }
  19031. void XPhone_NoticeRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  19032. delete head_;
  19033. head_ = head;
  19034. if (head) {
  19035. } else {
  19036. }
  19037. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_NoticeRsp.head)
  19038. }
  19039. // repeated string noticeList = 2;
  19040. int XPhone_NoticeRsp::noticelist_size() const {
  19041. return noticelist_.size();
  19042. }
  19043. void XPhone_NoticeRsp::clear_noticelist() {
  19044. noticelist_.Clear();
  19045. }
  19046. const ::std::string& XPhone_NoticeRsp::noticelist(int index) const {
  19047. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_NoticeRsp.noticeList)
  19048. return noticelist_.Get(index);
  19049. }
  19050. ::std::string* XPhone_NoticeRsp::mutable_noticelist(int index) {
  19051. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_NoticeRsp.noticeList)
  19052. return noticelist_.Mutable(index);
  19053. }
  19054. void XPhone_NoticeRsp::set_noticelist(int index, const ::std::string& value) {
  19055. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_NoticeRsp.noticeList)
  19056. noticelist_.Mutable(index)->assign(value);
  19057. }
  19058. void XPhone_NoticeRsp::set_noticelist(int index, const char* value) {
  19059. noticelist_.Mutable(index)->assign(value);
  19060. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_NoticeRsp.noticeList)
  19061. }
  19062. void XPhone_NoticeRsp::set_noticelist(int index, const char* value, size_t size) {
  19063. noticelist_.Mutable(index)->assign(
  19064. reinterpret_cast<const char*>(value), size);
  19065. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_NoticeRsp.noticeList)
  19066. }
  19067. ::std::string* XPhone_NoticeRsp::add_noticelist() {
  19068. return noticelist_.Add();
  19069. }
  19070. void XPhone_NoticeRsp::add_noticelist(const ::std::string& value) {
  19071. noticelist_.Add()->assign(value);
  19072. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_NoticeRsp.noticeList)
  19073. }
  19074. void XPhone_NoticeRsp::add_noticelist(const char* value) {
  19075. noticelist_.Add()->assign(value);
  19076. // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_NoticeRsp.noticeList)
  19077. }
  19078. void XPhone_NoticeRsp::add_noticelist(const char* value, size_t size) {
  19079. noticelist_.Add()->assign(reinterpret_cast<const char*>(value), size);
  19080. // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_NoticeRsp.noticeList)
  19081. }
  19082. const ::google::protobuf::RepeatedPtrField< ::std::string>&
  19083. XPhone_NoticeRsp::noticelist() const {
  19084. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_NoticeRsp.noticeList)
  19085. return noticelist_;
  19086. }
  19087. ::google::protobuf::RepeatedPtrField< ::std::string>*
  19088. XPhone_NoticeRsp::mutable_noticelist() {
  19089. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_NoticeRsp.noticeList)
  19090. return &noticelist_;
  19091. }
  19092. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  19093. // ===================================================================
  19094. #ifndef _MSC_VER
  19095. const int XPhone_Test::kHeadFieldNumber;
  19096. const int XPhone_Test::kParamListsFieldNumber;
  19097. #endif // !_MSC_VER
  19098. XPhone_Test::XPhone_Test()
  19099. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  19100. SharedCtor();
  19101. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_Test)
  19102. }
  19103. void XPhone_Test::InitAsDefaultInstance() {
  19104. _is_default_instance_ = true;
  19105. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  19106. }
  19107. XPhone_Test::XPhone_Test(const XPhone_Test& from)
  19108. : ::google::protobuf::Message(),
  19109. _internal_metadata_(NULL) {
  19110. SharedCtor();
  19111. MergeFrom(from);
  19112. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_Test)
  19113. }
  19114. void XPhone_Test::SharedCtor() {
  19115. _is_default_instance_ = false;
  19116. ::google::protobuf::internal::GetEmptyString();
  19117. _cached_size_ = 0;
  19118. head_ = NULL;
  19119. }
  19120. XPhone_Test::~XPhone_Test() {
  19121. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_Test)
  19122. SharedDtor();
  19123. }
  19124. void XPhone_Test::SharedDtor() {
  19125. if (this != default_instance_) {
  19126. delete head_;
  19127. }
  19128. }
  19129. void XPhone_Test::SetCachedSize(int size) const {
  19130. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19131. _cached_size_ = size;
  19132. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19133. }
  19134. const ::google::protobuf::Descriptor* XPhone_Test::descriptor() {
  19135. protobuf_AssignDescriptorsOnce();
  19136. return XPhone_Test_descriptor_;
  19137. }
  19138. const XPhone_Test& XPhone_Test::default_instance() {
  19139. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  19140. return *default_instance_;
  19141. }
  19142. XPhone_Test* XPhone_Test::default_instance_ = NULL;
  19143. XPhone_Test* XPhone_Test::New(::google::protobuf::Arena* arena) const {
  19144. XPhone_Test* n = new XPhone_Test;
  19145. if (arena != NULL) {
  19146. arena->Own(n);
  19147. }
  19148. return n;
  19149. }
  19150. void XPhone_Test::Clear() {
  19151. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  19152. head_ = NULL;
  19153. paramlists_.Clear();
  19154. }
  19155. bool XPhone_Test::MergePartialFromCodedStream(
  19156. ::google::protobuf::io::CodedInputStream* input) {
  19157. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  19158. ::google::protobuf::uint32 tag;
  19159. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_Test)
  19160. for (;;) {
  19161. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  19162. tag = p.first;
  19163. if (!p.second) goto handle_unusual;
  19164. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19165. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  19166. case 1: {
  19167. if (tag == 10) {
  19168. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  19169. input, mutable_head()));
  19170. } else {
  19171. goto handle_unusual;
  19172. }
  19173. if (input->ExpectTag(18)) goto parse_paramLists;
  19174. break;
  19175. }
  19176. // repeated string paramLists = 2;
  19177. case 2: {
  19178. if (tag == 18) {
  19179. parse_paramLists:
  19180. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  19181. input, this->add_paramlists()));
  19182. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  19183. this->paramlists(this->paramlists_size() - 1).data(),
  19184. this->paramlists(this->paramlists_size() - 1).length(),
  19185. ::google::protobuf::internal::WireFormatLite::PARSE,
  19186. "XPhonePlus.XPhone_Test.paramLists"));
  19187. } else {
  19188. goto handle_unusual;
  19189. }
  19190. if (input->ExpectTag(18)) goto parse_paramLists;
  19191. if (input->ExpectAtEnd()) goto success;
  19192. break;
  19193. }
  19194. default: {
  19195. handle_unusual:
  19196. if (tag == 0 ||
  19197. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19198. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19199. goto success;
  19200. }
  19201. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  19202. break;
  19203. }
  19204. }
  19205. }
  19206. success:
  19207. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_Test)
  19208. return true;
  19209. failure:
  19210. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_Test)
  19211. return false;
  19212. #undef DO_
  19213. }
  19214. void XPhone_Test::SerializeWithCachedSizes(
  19215. ::google::protobuf::io::CodedOutputStream* output) const {
  19216. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_Test)
  19217. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  19218. if (this->has_head()) {
  19219. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  19220. 1, *this->head_, output);
  19221. }
  19222. // repeated string paramLists = 2;
  19223. for (int i = 0; i < this->paramlists_size(); i++) {
  19224. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  19225. this->paramlists(i).data(), this->paramlists(i).length(),
  19226. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  19227. "XPhonePlus.XPhone_Test.paramLists");
  19228. ::google::protobuf::internal::WireFormatLite::WriteString(
  19229. 2, this->paramlists(i), output);
  19230. }
  19231. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_Test)
  19232. }
  19233. ::google::protobuf::uint8* XPhone_Test::SerializeWithCachedSizesToArray(
  19234. ::google::protobuf::uint8* target) const {
  19235. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_Test)
  19236. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  19237. if (this->has_head()) {
  19238. target = ::google::protobuf::internal::WireFormatLite::
  19239. WriteMessageNoVirtualToArray(
  19240. 1, *this->head_, target);
  19241. }
  19242. // repeated string paramLists = 2;
  19243. for (int i = 0; i < this->paramlists_size(); i++) {
  19244. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  19245. this->paramlists(i).data(), this->paramlists(i).length(),
  19246. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  19247. "XPhonePlus.XPhone_Test.paramLists");
  19248. target = ::google::protobuf::internal::WireFormatLite::
  19249. WriteStringToArray(2, this->paramlists(i), target);
  19250. }
  19251. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_Test)
  19252. return target;
  19253. }
  19254. int XPhone_Test::ByteSize() const {
  19255. int total_size = 0;
  19256. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  19257. if (this->has_head()) {
  19258. total_size += 1 +
  19259. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  19260. *this->head_);
  19261. }
  19262. // repeated string paramLists = 2;
  19263. total_size += 1 * this->paramlists_size();
  19264. for (int i = 0; i < this->paramlists_size(); i++) {
  19265. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  19266. this->paramlists(i));
  19267. }
  19268. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19269. _cached_size_ = total_size;
  19270. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19271. return total_size;
  19272. }
  19273. void XPhone_Test::MergeFrom(const ::google::protobuf::Message& from) {
  19274. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  19275. const XPhone_Test* source =
  19276. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_Test>(
  19277. &from);
  19278. if (source == NULL) {
  19279. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19280. } else {
  19281. MergeFrom(*source);
  19282. }
  19283. }
  19284. void XPhone_Test::MergeFrom(const XPhone_Test& from) {
  19285. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  19286. paramlists_.MergeFrom(from.paramlists_);
  19287. if (from.has_head()) {
  19288. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  19289. }
  19290. }
  19291. void XPhone_Test::CopyFrom(const ::google::protobuf::Message& from) {
  19292. if (&from == this) return;
  19293. Clear();
  19294. MergeFrom(from);
  19295. }
  19296. void XPhone_Test::CopyFrom(const XPhone_Test& from) {
  19297. if (&from == this) return;
  19298. Clear();
  19299. MergeFrom(from);
  19300. }
  19301. bool XPhone_Test::IsInitialized() const {
  19302. return true;
  19303. }
  19304. void XPhone_Test::Swap(XPhone_Test* other) {
  19305. if (other == this) return;
  19306. InternalSwap(other);
  19307. }
  19308. void XPhone_Test::InternalSwap(XPhone_Test* other) {
  19309. std::swap(head_, other->head_);
  19310. paramlists_.UnsafeArenaSwap(&other->paramlists_);
  19311. _internal_metadata_.Swap(&other->_internal_metadata_);
  19312. std::swap(_cached_size_, other->_cached_size_);
  19313. }
  19314. ::google::protobuf::Metadata XPhone_Test::GetMetadata() const {
  19315. protobuf_AssignDescriptorsOnce();
  19316. ::google::protobuf::Metadata metadata;
  19317. metadata.descriptor = XPhone_Test_descriptor_;
  19318. metadata.reflection = XPhone_Test_reflection_;
  19319. return metadata;
  19320. }
  19321. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  19322. // XPhone_Test
  19323. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  19324. bool XPhone_Test::has_head() const {
  19325. return !_is_default_instance_ && head_ != NULL;
  19326. }
  19327. void XPhone_Test::clear_head() {
  19328. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  19329. head_ = NULL;
  19330. }
  19331. const ::XPhonePlus::XPhone_MsgBase& XPhone_Test::head() const {
  19332. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Test.head)
  19333. return head_ != NULL ? *head_ : *default_instance_->head_;
  19334. }
  19335. ::XPhonePlus::XPhone_MsgBase* XPhone_Test::mutable_head() {
  19336. if (head_ == NULL) {
  19337. head_ = new ::XPhonePlus::XPhone_MsgBase;
  19338. }
  19339. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_Test.head)
  19340. return head_;
  19341. }
  19342. ::XPhonePlus::XPhone_MsgBase* XPhone_Test::release_head() {
  19343. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  19344. head_ = NULL;
  19345. return temp;
  19346. }
  19347. void XPhone_Test::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  19348. delete head_;
  19349. head_ = head;
  19350. if (head) {
  19351. } else {
  19352. }
  19353. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_Test.head)
  19354. }
  19355. // repeated string paramLists = 2;
  19356. int XPhone_Test::paramlists_size() const {
  19357. return paramlists_.size();
  19358. }
  19359. void XPhone_Test::clear_paramlists() {
  19360. paramlists_.Clear();
  19361. }
  19362. const ::std::string& XPhone_Test::paramlists(int index) const {
  19363. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Test.paramLists)
  19364. return paramlists_.Get(index);
  19365. }
  19366. ::std::string* XPhone_Test::mutable_paramlists(int index) {
  19367. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_Test.paramLists)
  19368. return paramlists_.Mutable(index);
  19369. }
  19370. void XPhone_Test::set_paramlists(int index, const ::std::string& value) {
  19371. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Test.paramLists)
  19372. paramlists_.Mutable(index)->assign(value);
  19373. }
  19374. void XPhone_Test::set_paramlists(int index, const char* value) {
  19375. paramlists_.Mutable(index)->assign(value);
  19376. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_Test.paramLists)
  19377. }
  19378. void XPhone_Test::set_paramlists(int index, const char* value, size_t size) {
  19379. paramlists_.Mutable(index)->assign(
  19380. reinterpret_cast<const char*>(value), size);
  19381. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_Test.paramLists)
  19382. }
  19383. ::std::string* XPhone_Test::add_paramlists() {
  19384. return paramlists_.Add();
  19385. }
  19386. void XPhone_Test::add_paramlists(const ::std::string& value) {
  19387. paramlists_.Add()->assign(value);
  19388. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_Test.paramLists)
  19389. }
  19390. void XPhone_Test::add_paramlists(const char* value) {
  19391. paramlists_.Add()->assign(value);
  19392. // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_Test.paramLists)
  19393. }
  19394. void XPhone_Test::add_paramlists(const char* value, size_t size) {
  19395. paramlists_.Add()->assign(reinterpret_cast<const char*>(value), size);
  19396. // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_Test.paramLists)
  19397. }
  19398. const ::google::protobuf::RepeatedPtrField< ::std::string>&
  19399. XPhone_Test::paramlists() const {
  19400. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_Test.paramLists)
  19401. return paramlists_;
  19402. }
  19403. ::google::protobuf::RepeatedPtrField< ::std::string>*
  19404. XPhone_Test::mutable_paramlists() {
  19405. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_Test.paramLists)
  19406. return &paramlists_;
  19407. }
  19408. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  19409. // ===================================================================
  19410. #ifndef _MSC_VER
  19411. const int XPhone_Setting::kHeadFieldNumber;
  19412. const int XPhone_Setting::kZanTimeFieldNumber;
  19413. const int XPhone_Setting::kAutoQianghongbaoFieldNumber;
  19414. const int XPhone_Setting::kAutoPlaymusicFieldNumber;
  19415. const int XPhone_Setting::kAutoLoadTaskFieldNumber;
  19416. const int XPhone_Setting::kUnrecallFieldNumber;
  19417. const int XPhone_Setting::kEnablemsgtipFieldNumber;
  19418. const int XPhone_Setting::kYaoshaiziFieldNumber;
  19419. const int XPhone_Setting::kCaiquanFieldNumber;
  19420. const int XPhone_Setting::kEnableautoreplyFieldNumber;
  19421. const int XPhone_Setting::kEnablelocationFieldNumber;
  19422. const int XPhone_Setting::kAutosendmsgFieldNumber;
  19423. #endif // !_MSC_VER
  19424. XPhone_Setting::XPhone_Setting()
  19425. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  19426. SharedCtor();
  19427. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_Setting)
  19428. }
  19429. void XPhone_Setting::InitAsDefaultInstance() {
  19430. _is_default_instance_ = true;
  19431. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  19432. }
  19433. XPhone_Setting::XPhone_Setting(const XPhone_Setting& from)
  19434. : ::google::protobuf::Message(),
  19435. _internal_metadata_(NULL) {
  19436. SharedCtor();
  19437. MergeFrom(from);
  19438. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_Setting)
  19439. }
  19440. void XPhone_Setting::SharedCtor() {
  19441. _is_default_instance_ = false;
  19442. _cached_size_ = 0;
  19443. head_ = NULL;
  19444. zantime_ = 0;
  19445. autoqianghongbao_ = false;
  19446. autoplaymusic_ = false;
  19447. autoloadtask_ = false;
  19448. unrecall_ = false;
  19449. enablemsgtip_ = false;
  19450. yaoshaizi_ = 0;
  19451. caiquan_ = 0;
  19452. enableautoreply_ = false;
  19453. enablelocation_ = false;
  19454. autosendmsg_ = false;
  19455. }
  19456. XPhone_Setting::~XPhone_Setting() {
  19457. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_Setting)
  19458. SharedDtor();
  19459. }
  19460. void XPhone_Setting::SharedDtor() {
  19461. if (this != default_instance_) {
  19462. delete head_;
  19463. }
  19464. }
  19465. void XPhone_Setting::SetCachedSize(int size) const {
  19466. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19467. _cached_size_ = size;
  19468. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19469. }
  19470. const ::google::protobuf::Descriptor* XPhone_Setting::descriptor() {
  19471. protobuf_AssignDescriptorsOnce();
  19472. return XPhone_Setting_descriptor_;
  19473. }
  19474. const XPhone_Setting& XPhone_Setting::default_instance() {
  19475. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  19476. return *default_instance_;
  19477. }
  19478. XPhone_Setting* XPhone_Setting::default_instance_ = NULL;
  19479. XPhone_Setting* XPhone_Setting::New(::google::protobuf::Arena* arena) const {
  19480. XPhone_Setting* n = new XPhone_Setting;
  19481. if (arena != NULL) {
  19482. arena->Own(n);
  19483. }
  19484. return n;
  19485. }
  19486. void XPhone_Setting::Clear() {
  19487. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  19488. &reinterpret_cast<XPhone_Setting*>(16)->f)
  19489. #define ZR_(first, last) do {\
  19490. ::memset(&first, 0,\
  19491. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  19492. } while (0)
  19493. ZR_(zantime_, yaoshaizi_);
  19494. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  19495. head_ = NULL;
  19496. enablemsgtip_ = false;
  19497. ZR_(enableautoreply_, autosendmsg_);
  19498. caiquan_ = 0;
  19499. #undef ZR_HELPER_
  19500. #undef ZR_
  19501. }
  19502. bool XPhone_Setting::MergePartialFromCodedStream(
  19503. ::google::protobuf::io::CodedInputStream* input) {
  19504. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  19505. ::google::protobuf::uint32 tag;
  19506. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_Setting)
  19507. for (;;) {
  19508. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  19509. tag = p.first;
  19510. if (!p.second) goto handle_unusual;
  19511. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19512. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  19513. case 1: {
  19514. if (tag == 10) {
  19515. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  19516. input, mutable_head()));
  19517. } else {
  19518. goto handle_unusual;
  19519. }
  19520. if (input->ExpectTag(16)) goto parse_zanTime;
  19521. break;
  19522. }
  19523. // optional int32 zanTime = 2;
  19524. case 2: {
  19525. if (tag == 16) {
  19526. parse_zanTime:
  19527. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19528. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19529. input, &zantime_)));
  19530. } else {
  19531. goto handle_unusual;
  19532. }
  19533. if (input->ExpectTag(24)) goto parse_autoQianghongbao;
  19534. break;
  19535. }
  19536. // optional bool autoQianghongbao = 3;
  19537. case 3: {
  19538. if (tag == 24) {
  19539. parse_autoQianghongbao:
  19540. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19541. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  19542. input, &autoqianghongbao_)));
  19543. } else {
  19544. goto handle_unusual;
  19545. }
  19546. if (input->ExpectTag(32)) goto parse_autoPlaymusic;
  19547. break;
  19548. }
  19549. // optional bool autoPlaymusic = 4;
  19550. case 4: {
  19551. if (tag == 32) {
  19552. parse_autoPlaymusic:
  19553. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19554. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  19555. input, &autoplaymusic_)));
  19556. } else {
  19557. goto handle_unusual;
  19558. }
  19559. if (input->ExpectTag(40)) goto parse_autoLoadTask;
  19560. break;
  19561. }
  19562. // optional bool autoLoadTask = 5;
  19563. case 5: {
  19564. if (tag == 40) {
  19565. parse_autoLoadTask:
  19566. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19567. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  19568. input, &autoloadtask_)));
  19569. } else {
  19570. goto handle_unusual;
  19571. }
  19572. if (input->ExpectTag(48)) goto parse_unrecall;
  19573. break;
  19574. }
  19575. // optional bool unrecall = 6;
  19576. case 6: {
  19577. if (tag == 48) {
  19578. parse_unrecall:
  19579. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19580. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  19581. input, &unrecall_)));
  19582. } else {
  19583. goto handle_unusual;
  19584. }
  19585. if (input->ExpectTag(56)) goto parse_enablemsgtip;
  19586. break;
  19587. }
  19588. // optional bool enablemsgtip = 7;
  19589. case 7: {
  19590. if (tag == 56) {
  19591. parse_enablemsgtip:
  19592. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19593. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  19594. input, &enablemsgtip_)));
  19595. } else {
  19596. goto handle_unusual;
  19597. }
  19598. if (input->ExpectTag(64)) goto parse_yaoshaizi;
  19599. break;
  19600. }
  19601. // optional int32 yaoshaizi = 8;
  19602. case 8: {
  19603. if (tag == 64) {
  19604. parse_yaoshaizi:
  19605. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19606. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19607. input, &yaoshaizi_)));
  19608. } else {
  19609. goto handle_unusual;
  19610. }
  19611. if (input->ExpectTag(72)) goto parse_caiquan;
  19612. break;
  19613. }
  19614. // optional int32 caiquan = 9;
  19615. case 9: {
  19616. if (tag == 72) {
  19617. parse_caiquan:
  19618. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19619. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19620. input, &caiquan_)));
  19621. } else {
  19622. goto handle_unusual;
  19623. }
  19624. if (input->ExpectTag(80)) goto parse_enableautoreply;
  19625. break;
  19626. }
  19627. // optional bool enableautoreply = 10;
  19628. case 10: {
  19629. if (tag == 80) {
  19630. parse_enableautoreply:
  19631. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19632. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  19633. input, &enableautoreply_)));
  19634. } else {
  19635. goto handle_unusual;
  19636. }
  19637. if (input->ExpectTag(88)) goto parse_enablelocation;
  19638. break;
  19639. }
  19640. // optional bool enablelocation = 11;
  19641. case 11: {
  19642. if (tag == 88) {
  19643. parse_enablelocation:
  19644. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19645. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  19646. input, &enablelocation_)));
  19647. } else {
  19648. goto handle_unusual;
  19649. }
  19650. if (input->ExpectTag(96)) goto parse_autosendmsg;
  19651. break;
  19652. }
  19653. // optional bool autosendmsg = 12;
  19654. case 12: {
  19655. if (tag == 96) {
  19656. parse_autosendmsg:
  19657. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19658. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  19659. input, &autosendmsg_)));
  19660. } else {
  19661. goto handle_unusual;
  19662. }
  19663. if (input->ExpectAtEnd()) goto success;
  19664. break;
  19665. }
  19666. default: {
  19667. handle_unusual:
  19668. if (tag == 0 ||
  19669. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19670. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19671. goto success;
  19672. }
  19673. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  19674. break;
  19675. }
  19676. }
  19677. }
  19678. success:
  19679. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_Setting)
  19680. return true;
  19681. failure:
  19682. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_Setting)
  19683. return false;
  19684. #undef DO_
  19685. }
  19686. void XPhone_Setting::SerializeWithCachedSizes(
  19687. ::google::protobuf::io::CodedOutputStream* output) const {
  19688. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_Setting)
  19689. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  19690. if (this->has_head()) {
  19691. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  19692. 1, *this->head_, output);
  19693. }
  19694. // optional int32 zanTime = 2;
  19695. if (this->zantime() != 0) {
  19696. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->zantime(), output);
  19697. }
  19698. // optional bool autoQianghongbao = 3;
  19699. if (this->autoqianghongbao() != 0) {
  19700. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->autoqianghongbao(), output);
  19701. }
  19702. // optional bool autoPlaymusic = 4;
  19703. if (this->autoplaymusic() != 0) {
  19704. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->autoplaymusic(), output);
  19705. }
  19706. // optional bool autoLoadTask = 5;
  19707. if (this->autoloadtask() != 0) {
  19708. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->autoloadtask(), output);
  19709. }
  19710. // optional bool unrecall = 6;
  19711. if (this->unrecall() != 0) {
  19712. ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->unrecall(), output);
  19713. }
  19714. // optional bool enablemsgtip = 7;
  19715. if (this->enablemsgtip() != 0) {
  19716. ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->enablemsgtip(), output);
  19717. }
  19718. // optional int32 yaoshaizi = 8;
  19719. if (this->yaoshaizi() != 0) {
  19720. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->yaoshaizi(), output);
  19721. }
  19722. // optional int32 caiquan = 9;
  19723. if (this->caiquan() != 0) {
  19724. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->caiquan(), output);
  19725. }
  19726. // optional bool enableautoreply = 10;
  19727. if (this->enableautoreply() != 0) {
  19728. ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->enableautoreply(), output);
  19729. }
  19730. // optional bool enablelocation = 11;
  19731. if (this->enablelocation() != 0) {
  19732. ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->enablelocation(), output);
  19733. }
  19734. // optional bool autosendmsg = 12;
  19735. if (this->autosendmsg() != 0) {
  19736. ::google::protobuf::internal::WireFormatLite::WriteBool(12, this->autosendmsg(), output);
  19737. }
  19738. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_Setting)
  19739. }
  19740. ::google::protobuf::uint8* XPhone_Setting::SerializeWithCachedSizesToArray(
  19741. ::google::protobuf::uint8* target) const {
  19742. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_Setting)
  19743. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  19744. if (this->has_head()) {
  19745. target = ::google::protobuf::internal::WireFormatLite::
  19746. WriteMessageNoVirtualToArray(
  19747. 1, *this->head_, target);
  19748. }
  19749. // optional int32 zanTime = 2;
  19750. if (this->zantime() != 0) {
  19751. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->zantime(), target);
  19752. }
  19753. // optional bool autoQianghongbao = 3;
  19754. if (this->autoqianghongbao() != 0) {
  19755. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->autoqianghongbao(), target);
  19756. }
  19757. // optional bool autoPlaymusic = 4;
  19758. if (this->autoplaymusic() != 0) {
  19759. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->autoplaymusic(), target);
  19760. }
  19761. // optional bool autoLoadTask = 5;
  19762. if (this->autoloadtask() != 0) {
  19763. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->autoloadtask(), target);
  19764. }
  19765. // optional bool unrecall = 6;
  19766. if (this->unrecall() != 0) {
  19767. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->unrecall(), target);
  19768. }
  19769. // optional bool enablemsgtip = 7;
  19770. if (this->enablemsgtip() != 0) {
  19771. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->enablemsgtip(), target);
  19772. }
  19773. // optional int32 yaoshaizi = 8;
  19774. if (this->yaoshaizi() != 0) {
  19775. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->yaoshaizi(), target);
  19776. }
  19777. // optional int32 caiquan = 9;
  19778. if (this->caiquan() != 0) {
  19779. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->caiquan(), target);
  19780. }
  19781. // optional bool enableautoreply = 10;
  19782. if (this->enableautoreply() != 0) {
  19783. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->enableautoreply(), target);
  19784. }
  19785. // optional bool enablelocation = 11;
  19786. if (this->enablelocation() != 0) {
  19787. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11, this->enablelocation(), target);
  19788. }
  19789. // optional bool autosendmsg = 12;
  19790. if (this->autosendmsg() != 0) {
  19791. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(12, this->autosendmsg(), target);
  19792. }
  19793. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_Setting)
  19794. return target;
  19795. }
  19796. int XPhone_Setting::ByteSize() const {
  19797. int total_size = 0;
  19798. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  19799. if (this->has_head()) {
  19800. total_size += 1 +
  19801. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  19802. *this->head_);
  19803. }
  19804. // optional int32 zanTime = 2;
  19805. if (this->zantime() != 0) {
  19806. total_size += 1 +
  19807. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19808. this->zantime());
  19809. }
  19810. // optional bool autoQianghongbao = 3;
  19811. if (this->autoqianghongbao() != 0) {
  19812. total_size += 1 + 1;
  19813. }
  19814. // optional bool autoPlaymusic = 4;
  19815. if (this->autoplaymusic() != 0) {
  19816. total_size += 1 + 1;
  19817. }
  19818. // optional bool autoLoadTask = 5;
  19819. if (this->autoloadtask() != 0) {
  19820. total_size += 1 + 1;
  19821. }
  19822. // optional bool unrecall = 6;
  19823. if (this->unrecall() != 0) {
  19824. total_size += 1 + 1;
  19825. }
  19826. // optional bool enablemsgtip = 7;
  19827. if (this->enablemsgtip() != 0) {
  19828. total_size += 1 + 1;
  19829. }
  19830. // optional int32 yaoshaizi = 8;
  19831. if (this->yaoshaizi() != 0) {
  19832. total_size += 1 +
  19833. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19834. this->yaoshaizi());
  19835. }
  19836. // optional int32 caiquan = 9;
  19837. if (this->caiquan() != 0) {
  19838. total_size += 1 +
  19839. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19840. this->caiquan());
  19841. }
  19842. // optional bool enableautoreply = 10;
  19843. if (this->enableautoreply() != 0) {
  19844. total_size += 1 + 1;
  19845. }
  19846. // optional bool enablelocation = 11;
  19847. if (this->enablelocation() != 0) {
  19848. total_size += 1 + 1;
  19849. }
  19850. // optional bool autosendmsg = 12;
  19851. if (this->autosendmsg() != 0) {
  19852. total_size += 1 + 1;
  19853. }
  19854. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19855. _cached_size_ = total_size;
  19856. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19857. return total_size;
  19858. }
  19859. void XPhone_Setting::MergeFrom(const ::google::protobuf::Message& from) {
  19860. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  19861. const XPhone_Setting* source =
  19862. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_Setting>(
  19863. &from);
  19864. if (source == NULL) {
  19865. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19866. } else {
  19867. MergeFrom(*source);
  19868. }
  19869. }
  19870. void XPhone_Setting::MergeFrom(const XPhone_Setting& from) {
  19871. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  19872. if (from.has_head()) {
  19873. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  19874. }
  19875. if (from.zantime() != 0) {
  19876. set_zantime(from.zantime());
  19877. }
  19878. if (from.autoqianghongbao() != 0) {
  19879. set_autoqianghongbao(from.autoqianghongbao());
  19880. }
  19881. if (from.autoplaymusic() != 0) {
  19882. set_autoplaymusic(from.autoplaymusic());
  19883. }
  19884. if (from.autoloadtask() != 0) {
  19885. set_autoloadtask(from.autoloadtask());
  19886. }
  19887. if (from.unrecall() != 0) {
  19888. set_unrecall(from.unrecall());
  19889. }
  19890. if (from.enablemsgtip() != 0) {
  19891. set_enablemsgtip(from.enablemsgtip());
  19892. }
  19893. if (from.yaoshaizi() != 0) {
  19894. set_yaoshaizi(from.yaoshaizi());
  19895. }
  19896. if (from.caiquan() != 0) {
  19897. set_caiquan(from.caiquan());
  19898. }
  19899. if (from.enableautoreply() != 0) {
  19900. set_enableautoreply(from.enableautoreply());
  19901. }
  19902. if (from.enablelocation() != 0) {
  19903. set_enablelocation(from.enablelocation());
  19904. }
  19905. if (from.autosendmsg() != 0) {
  19906. set_autosendmsg(from.autosendmsg());
  19907. }
  19908. }
  19909. void XPhone_Setting::CopyFrom(const ::google::protobuf::Message& from) {
  19910. if (&from == this) return;
  19911. Clear();
  19912. MergeFrom(from);
  19913. }
  19914. void XPhone_Setting::CopyFrom(const XPhone_Setting& from) {
  19915. if (&from == this) return;
  19916. Clear();
  19917. MergeFrom(from);
  19918. }
  19919. bool XPhone_Setting::IsInitialized() const {
  19920. return true;
  19921. }
  19922. void XPhone_Setting::Swap(XPhone_Setting* other) {
  19923. if (other == this) return;
  19924. InternalSwap(other);
  19925. }
  19926. void XPhone_Setting::InternalSwap(XPhone_Setting* other) {
  19927. std::swap(head_, other->head_);
  19928. std::swap(zantime_, other->zantime_);
  19929. std::swap(autoqianghongbao_, other->autoqianghongbao_);
  19930. std::swap(autoplaymusic_, other->autoplaymusic_);
  19931. std::swap(autoloadtask_, other->autoloadtask_);
  19932. std::swap(unrecall_, other->unrecall_);
  19933. std::swap(enablemsgtip_, other->enablemsgtip_);
  19934. std::swap(yaoshaizi_, other->yaoshaizi_);
  19935. std::swap(caiquan_, other->caiquan_);
  19936. std::swap(enableautoreply_, other->enableautoreply_);
  19937. std::swap(enablelocation_, other->enablelocation_);
  19938. std::swap(autosendmsg_, other->autosendmsg_);
  19939. _internal_metadata_.Swap(&other->_internal_metadata_);
  19940. std::swap(_cached_size_, other->_cached_size_);
  19941. }
  19942. ::google::protobuf::Metadata XPhone_Setting::GetMetadata() const {
  19943. protobuf_AssignDescriptorsOnce();
  19944. ::google::protobuf::Metadata metadata;
  19945. metadata.descriptor = XPhone_Setting_descriptor_;
  19946. metadata.reflection = XPhone_Setting_reflection_;
  19947. return metadata;
  19948. }
  19949. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  19950. // XPhone_Setting
  19951. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  19952. bool XPhone_Setting::has_head() const {
  19953. return !_is_default_instance_ && head_ != NULL;
  19954. }
  19955. void XPhone_Setting::clear_head() {
  19956. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  19957. head_ = NULL;
  19958. }
  19959. const ::XPhonePlus::XPhone_MsgBase& XPhone_Setting::head() const {
  19960. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.head)
  19961. return head_ != NULL ? *head_ : *default_instance_->head_;
  19962. }
  19963. ::XPhonePlus::XPhone_MsgBase* XPhone_Setting::mutable_head() {
  19964. if (head_ == NULL) {
  19965. head_ = new ::XPhonePlus::XPhone_MsgBase;
  19966. }
  19967. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_Setting.head)
  19968. return head_;
  19969. }
  19970. ::XPhonePlus::XPhone_MsgBase* XPhone_Setting::release_head() {
  19971. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  19972. head_ = NULL;
  19973. return temp;
  19974. }
  19975. void XPhone_Setting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  19976. delete head_;
  19977. head_ = head;
  19978. if (head) {
  19979. } else {
  19980. }
  19981. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_Setting.head)
  19982. }
  19983. // optional int32 zanTime = 2;
  19984. void XPhone_Setting::clear_zantime() {
  19985. zantime_ = 0;
  19986. }
  19987. ::google::protobuf::int32 XPhone_Setting::zantime() const {
  19988. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.zanTime)
  19989. return zantime_;
  19990. }
  19991. void XPhone_Setting::set_zantime(::google::protobuf::int32 value) {
  19992. zantime_ = value;
  19993. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.zanTime)
  19994. }
  19995. // optional bool autoQianghongbao = 3;
  19996. void XPhone_Setting::clear_autoqianghongbao() {
  19997. autoqianghongbao_ = false;
  19998. }
  19999. bool XPhone_Setting::autoqianghongbao() const {
  20000. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.autoQianghongbao)
  20001. return autoqianghongbao_;
  20002. }
  20003. void XPhone_Setting::set_autoqianghongbao(bool value) {
  20004. autoqianghongbao_ = value;
  20005. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.autoQianghongbao)
  20006. }
  20007. // optional bool autoPlaymusic = 4;
  20008. void XPhone_Setting::clear_autoplaymusic() {
  20009. autoplaymusic_ = false;
  20010. }
  20011. bool XPhone_Setting::autoplaymusic() const {
  20012. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.autoPlaymusic)
  20013. return autoplaymusic_;
  20014. }
  20015. void XPhone_Setting::set_autoplaymusic(bool value) {
  20016. autoplaymusic_ = value;
  20017. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.autoPlaymusic)
  20018. }
  20019. // optional bool autoLoadTask = 5;
  20020. void XPhone_Setting::clear_autoloadtask() {
  20021. autoloadtask_ = false;
  20022. }
  20023. bool XPhone_Setting::autoloadtask() const {
  20024. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.autoLoadTask)
  20025. return autoloadtask_;
  20026. }
  20027. void XPhone_Setting::set_autoloadtask(bool value) {
  20028. autoloadtask_ = value;
  20029. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.autoLoadTask)
  20030. }
  20031. // optional bool unrecall = 6;
  20032. void XPhone_Setting::clear_unrecall() {
  20033. unrecall_ = false;
  20034. }
  20035. bool XPhone_Setting::unrecall() const {
  20036. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.unrecall)
  20037. return unrecall_;
  20038. }
  20039. void XPhone_Setting::set_unrecall(bool value) {
  20040. unrecall_ = value;
  20041. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.unrecall)
  20042. }
  20043. // optional bool enablemsgtip = 7;
  20044. void XPhone_Setting::clear_enablemsgtip() {
  20045. enablemsgtip_ = false;
  20046. }
  20047. bool XPhone_Setting::enablemsgtip() const {
  20048. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.enablemsgtip)
  20049. return enablemsgtip_;
  20050. }
  20051. void XPhone_Setting::set_enablemsgtip(bool value) {
  20052. enablemsgtip_ = value;
  20053. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.enablemsgtip)
  20054. }
  20055. // optional int32 yaoshaizi = 8;
  20056. void XPhone_Setting::clear_yaoshaizi() {
  20057. yaoshaizi_ = 0;
  20058. }
  20059. ::google::protobuf::int32 XPhone_Setting::yaoshaizi() const {
  20060. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.yaoshaizi)
  20061. return yaoshaizi_;
  20062. }
  20063. void XPhone_Setting::set_yaoshaizi(::google::protobuf::int32 value) {
  20064. yaoshaizi_ = value;
  20065. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.yaoshaizi)
  20066. }
  20067. // optional int32 caiquan = 9;
  20068. void XPhone_Setting::clear_caiquan() {
  20069. caiquan_ = 0;
  20070. }
  20071. ::google::protobuf::int32 XPhone_Setting::caiquan() const {
  20072. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.caiquan)
  20073. return caiquan_;
  20074. }
  20075. void XPhone_Setting::set_caiquan(::google::protobuf::int32 value) {
  20076. caiquan_ = value;
  20077. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.caiquan)
  20078. }
  20079. // optional bool enableautoreply = 10;
  20080. void XPhone_Setting::clear_enableautoreply() {
  20081. enableautoreply_ = false;
  20082. }
  20083. bool XPhone_Setting::enableautoreply() const {
  20084. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.enableautoreply)
  20085. return enableautoreply_;
  20086. }
  20087. void XPhone_Setting::set_enableautoreply(bool value) {
  20088. enableautoreply_ = value;
  20089. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.enableautoreply)
  20090. }
  20091. // optional bool enablelocation = 11;
  20092. void XPhone_Setting::clear_enablelocation() {
  20093. enablelocation_ = false;
  20094. }
  20095. bool XPhone_Setting::enablelocation() const {
  20096. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.enablelocation)
  20097. return enablelocation_;
  20098. }
  20099. void XPhone_Setting::set_enablelocation(bool value) {
  20100. enablelocation_ = value;
  20101. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.enablelocation)
  20102. }
  20103. // optional bool autosendmsg = 12;
  20104. void XPhone_Setting::clear_autosendmsg() {
  20105. autosendmsg_ = false;
  20106. }
  20107. bool XPhone_Setting::autosendmsg() const {
  20108. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.autosendmsg)
  20109. return autosendmsg_;
  20110. }
  20111. void XPhone_Setting::set_autosendmsg(bool value) {
  20112. autosendmsg_ = value;
  20113. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.autosendmsg)
  20114. }
  20115. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  20116. // ===================================================================
  20117. #ifndef _MSC_VER
  20118. const int XPhone_CheckClientReq::kHeadFieldNumber;
  20119. const int XPhone_CheckClientReq::kStrUserNameFieldNumber;
  20120. const int XPhone_CheckClientReq::kMachinecodeFieldNumber;
  20121. const int XPhone_CheckClientReq::kSoftverFieldNumber;
  20122. const int XPhone_CheckClientReq::kStrChannelFieldNumber;
  20123. const int XPhone_CheckClientReq::kConnectcountFieldNumber;
  20124. const int XPhone_CheckClientReq::kWifinameFieldNumber;
  20125. const int XPhone_CheckClientReq::kTimespanFieldNumber;
  20126. #endif // !_MSC_VER
  20127. XPhone_CheckClientReq::XPhone_CheckClientReq()
  20128. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  20129. SharedCtor();
  20130. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CheckClientReq)
  20131. }
  20132. void XPhone_CheckClientReq::InitAsDefaultInstance() {
  20133. _is_default_instance_ = true;
  20134. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  20135. }
  20136. XPhone_CheckClientReq::XPhone_CheckClientReq(const XPhone_CheckClientReq& from)
  20137. : ::google::protobuf::Message(),
  20138. _internal_metadata_(NULL) {
  20139. SharedCtor();
  20140. MergeFrom(from);
  20141. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CheckClientReq)
  20142. }
  20143. void XPhone_CheckClientReq::SharedCtor() {
  20144. _is_default_instance_ = false;
  20145. ::google::protobuf::internal::GetEmptyString();
  20146. _cached_size_ = 0;
  20147. head_ = NULL;
  20148. strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20149. machinecode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20150. softver_ = 0;
  20151. strchannel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20152. connectcount_ = 0;
  20153. wifiname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20154. timespan_ = 0;
  20155. }
  20156. XPhone_CheckClientReq::~XPhone_CheckClientReq() {
  20157. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CheckClientReq)
  20158. SharedDtor();
  20159. }
  20160. void XPhone_CheckClientReq::SharedDtor() {
  20161. strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20162. machinecode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20163. strchannel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20164. wifiname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20165. if (this != default_instance_) {
  20166. delete head_;
  20167. }
  20168. }
  20169. void XPhone_CheckClientReq::SetCachedSize(int size) const {
  20170. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20171. _cached_size_ = size;
  20172. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20173. }
  20174. const ::google::protobuf::Descriptor* XPhone_CheckClientReq::descriptor() {
  20175. protobuf_AssignDescriptorsOnce();
  20176. return XPhone_CheckClientReq_descriptor_;
  20177. }
  20178. const XPhone_CheckClientReq& XPhone_CheckClientReq::default_instance() {
  20179. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  20180. return *default_instance_;
  20181. }
  20182. XPhone_CheckClientReq* XPhone_CheckClientReq::default_instance_ = NULL;
  20183. XPhone_CheckClientReq* XPhone_CheckClientReq::New(::google::protobuf::Arena* arena) const {
  20184. XPhone_CheckClientReq* n = new XPhone_CheckClientReq;
  20185. if (arena != NULL) {
  20186. arena->Own(n);
  20187. }
  20188. return n;
  20189. }
  20190. void XPhone_CheckClientReq::Clear() {
  20191. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  20192. &reinterpret_cast<XPhone_CheckClientReq*>(16)->f)
  20193. #define ZR_(first, last) do {\
  20194. ::memset(&first, 0,\
  20195. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  20196. } while (0)
  20197. ZR_(softver_, connectcount_);
  20198. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  20199. head_ = NULL;
  20200. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20201. machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20202. strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20203. wifiname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20204. timespan_ = 0;
  20205. #undef ZR_HELPER_
  20206. #undef ZR_
  20207. }
  20208. bool XPhone_CheckClientReq::MergePartialFromCodedStream(
  20209. ::google::protobuf::io::CodedInputStream* input) {
  20210. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  20211. ::google::protobuf::uint32 tag;
  20212. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CheckClientReq)
  20213. for (;;) {
  20214. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  20215. tag = p.first;
  20216. if (!p.second) goto handle_unusual;
  20217. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20218. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  20219. case 1: {
  20220. if (tag == 10) {
  20221. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  20222. input, mutable_head()));
  20223. } else {
  20224. goto handle_unusual;
  20225. }
  20226. if (input->ExpectTag(18)) goto parse_strUserName;
  20227. break;
  20228. }
  20229. // optional string strUserName = 2;
  20230. case 2: {
  20231. if (tag == 18) {
  20232. parse_strUserName:
  20233. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  20234. input, this->mutable_strusername()));
  20235. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20236. this->strusername().data(), this->strusername().length(),
  20237. ::google::protobuf::internal::WireFormatLite::PARSE,
  20238. "XPhonePlus.XPhone_CheckClientReq.strUserName"));
  20239. } else {
  20240. goto handle_unusual;
  20241. }
  20242. if (input->ExpectTag(26)) goto parse_machinecode;
  20243. break;
  20244. }
  20245. // optional string machinecode = 3;
  20246. case 3: {
  20247. if (tag == 26) {
  20248. parse_machinecode:
  20249. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  20250. input, this->mutable_machinecode()));
  20251. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20252. this->machinecode().data(), this->machinecode().length(),
  20253. ::google::protobuf::internal::WireFormatLite::PARSE,
  20254. "XPhonePlus.XPhone_CheckClientReq.machinecode"));
  20255. } else {
  20256. goto handle_unusual;
  20257. }
  20258. if (input->ExpectTag(32)) goto parse_softver;
  20259. break;
  20260. }
  20261. // optional int32 softver = 4;
  20262. case 4: {
  20263. if (tag == 32) {
  20264. parse_softver:
  20265. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20266. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20267. input, &softver_)));
  20268. } else {
  20269. goto handle_unusual;
  20270. }
  20271. if (input->ExpectTag(42)) goto parse_strChannel;
  20272. break;
  20273. }
  20274. // optional string strChannel = 5;
  20275. case 5: {
  20276. if (tag == 42) {
  20277. parse_strChannel:
  20278. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  20279. input, this->mutable_strchannel()));
  20280. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20281. this->strchannel().data(), this->strchannel().length(),
  20282. ::google::protobuf::internal::WireFormatLite::PARSE,
  20283. "XPhonePlus.XPhone_CheckClientReq.strChannel"));
  20284. } else {
  20285. goto handle_unusual;
  20286. }
  20287. if (input->ExpectTag(48)) goto parse_connectcount;
  20288. break;
  20289. }
  20290. // optional int32 connectcount = 6;
  20291. case 6: {
  20292. if (tag == 48) {
  20293. parse_connectcount:
  20294. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20295. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20296. input, &connectcount_)));
  20297. } else {
  20298. goto handle_unusual;
  20299. }
  20300. if (input->ExpectTag(58)) goto parse_wifiname;
  20301. break;
  20302. }
  20303. // optional string wifiname = 7;
  20304. case 7: {
  20305. if (tag == 58) {
  20306. parse_wifiname:
  20307. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  20308. input, this->mutable_wifiname()));
  20309. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20310. this->wifiname().data(), this->wifiname().length(),
  20311. ::google::protobuf::internal::WireFormatLite::PARSE,
  20312. "XPhonePlus.XPhone_CheckClientReq.wifiname"));
  20313. } else {
  20314. goto handle_unusual;
  20315. }
  20316. if (input->ExpectTag(64)) goto parse_timespan;
  20317. break;
  20318. }
  20319. // optional int32 timespan = 8;
  20320. case 8: {
  20321. if (tag == 64) {
  20322. parse_timespan:
  20323. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20324. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20325. input, &timespan_)));
  20326. } else {
  20327. goto handle_unusual;
  20328. }
  20329. if (input->ExpectAtEnd()) goto success;
  20330. break;
  20331. }
  20332. default: {
  20333. handle_unusual:
  20334. if (tag == 0 ||
  20335. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20336. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20337. goto success;
  20338. }
  20339. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  20340. break;
  20341. }
  20342. }
  20343. }
  20344. success:
  20345. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CheckClientReq)
  20346. return true;
  20347. failure:
  20348. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CheckClientReq)
  20349. return false;
  20350. #undef DO_
  20351. }
  20352. void XPhone_CheckClientReq::SerializeWithCachedSizes(
  20353. ::google::protobuf::io::CodedOutputStream* output) const {
  20354. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CheckClientReq)
  20355. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  20356. if (this->has_head()) {
  20357. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  20358. 1, *this->head_, output);
  20359. }
  20360. // optional string strUserName = 2;
  20361. if (this->strusername().size() > 0) {
  20362. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20363. this->strusername().data(), this->strusername().length(),
  20364. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  20365. "XPhonePlus.XPhone_CheckClientReq.strUserName");
  20366. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  20367. 2, this->strusername(), output);
  20368. }
  20369. // optional string machinecode = 3;
  20370. if (this->machinecode().size() > 0) {
  20371. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20372. this->machinecode().data(), this->machinecode().length(),
  20373. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  20374. "XPhonePlus.XPhone_CheckClientReq.machinecode");
  20375. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  20376. 3, this->machinecode(), output);
  20377. }
  20378. // optional int32 softver = 4;
  20379. if (this->softver() != 0) {
  20380. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->softver(), output);
  20381. }
  20382. // optional string strChannel = 5;
  20383. if (this->strchannel().size() > 0) {
  20384. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20385. this->strchannel().data(), this->strchannel().length(),
  20386. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  20387. "XPhonePlus.XPhone_CheckClientReq.strChannel");
  20388. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  20389. 5, this->strchannel(), output);
  20390. }
  20391. // optional int32 connectcount = 6;
  20392. if (this->connectcount() != 0) {
  20393. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->connectcount(), output);
  20394. }
  20395. // optional string wifiname = 7;
  20396. if (this->wifiname().size() > 0) {
  20397. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20398. this->wifiname().data(), this->wifiname().length(),
  20399. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  20400. "XPhonePlus.XPhone_CheckClientReq.wifiname");
  20401. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  20402. 7, this->wifiname(), output);
  20403. }
  20404. // optional int32 timespan = 8;
  20405. if (this->timespan() != 0) {
  20406. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->timespan(), output);
  20407. }
  20408. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CheckClientReq)
  20409. }
  20410. ::google::protobuf::uint8* XPhone_CheckClientReq::SerializeWithCachedSizesToArray(
  20411. ::google::protobuf::uint8* target) const {
  20412. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CheckClientReq)
  20413. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  20414. if (this->has_head()) {
  20415. target = ::google::protobuf::internal::WireFormatLite::
  20416. WriteMessageNoVirtualToArray(
  20417. 1, *this->head_, target);
  20418. }
  20419. // optional string strUserName = 2;
  20420. if (this->strusername().size() > 0) {
  20421. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20422. this->strusername().data(), this->strusername().length(),
  20423. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  20424. "XPhonePlus.XPhone_CheckClientReq.strUserName");
  20425. target =
  20426. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  20427. 2, this->strusername(), target);
  20428. }
  20429. // optional string machinecode = 3;
  20430. if (this->machinecode().size() > 0) {
  20431. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20432. this->machinecode().data(), this->machinecode().length(),
  20433. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  20434. "XPhonePlus.XPhone_CheckClientReq.machinecode");
  20435. target =
  20436. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  20437. 3, this->machinecode(), target);
  20438. }
  20439. // optional int32 softver = 4;
  20440. if (this->softver() != 0) {
  20441. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->softver(), target);
  20442. }
  20443. // optional string strChannel = 5;
  20444. if (this->strchannel().size() > 0) {
  20445. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20446. this->strchannel().data(), this->strchannel().length(),
  20447. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  20448. "XPhonePlus.XPhone_CheckClientReq.strChannel");
  20449. target =
  20450. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  20451. 5, this->strchannel(), target);
  20452. }
  20453. // optional int32 connectcount = 6;
  20454. if (this->connectcount() != 0) {
  20455. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->connectcount(), target);
  20456. }
  20457. // optional string wifiname = 7;
  20458. if (this->wifiname().size() > 0) {
  20459. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20460. this->wifiname().data(), this->wifiname().length(),
  20461. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  20462. "XPhonePlus.XPhone_CheckClientReq.wifiname");
  20463. target =
  20464. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  20465. 7, this->wifiname(), target);
  20466. }
  20467. // optional int32 timespan = 8;
  20468. if (this->timespan() != 0) {
  20469. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->timespan(), target);
  20470. }
  20471. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CheckClientReq)
  20472. return target;
  20473. }
  20474. int XPhone_CheckClientReq::ByteSize() const {
  20475. int total_size = 0;
  20476. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  20477. if (this->has_head()) {
  20478. total_size += 1 +
  20479. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  20480. *this->head_);
  20481. }
  20482. // optional string strUserName = 2;
  20483. if (this->strusername().size() > 0) {
  20484. total_size += 1 +
  20485. ::google::protobuf::internal::WireFormatLite::StringSize(
  20486. this->strusername());
  20487. }
  20488. // optional string machinecode = 3;
  20489. if (this->machinecode().size() > 0) {
  20490. total_size += 1 +
  20491. ::google::protobuf::internal::WireFormatLite::StringSize(
  20492. this->machinecode());
  20493. }
  20494. // optional int32 softver = 4;
  20495. if (this->softver() != 0) {
  20496. total_size += 1 +
  20497. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20498. this->softver());
  20499. }
  20500. // optional string strChannel = 5;
  20501. if (this->strchannel().size() > 0) {
  20502. total_size += 1 +
  20503. ::google::protobuf::internal::WireFormatLite::StringSize(
  20504. this->strchannel());
  20505. }
  20506. // optional int32 connectcount = 6;
  20507. if (this->connectcount() != 0) {
  20508. total_size += 1 +
  20509. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20510. this->connectcount());
  20511. }
  20512. // optional string wifiname = 7;
  20513. if (this->wifiname().size() > 0) {
  20514. total_size += 1 +
  20515. ::google::protobuf::internal::WireFormatLite::StringSize(
  20516. this->wifiname());
  20517. }
  20518. // optional int32 timespan = 8;
  20519. if (this->timespan() != 0) {
  20520. total_size += 1 +
  20521. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20522. this->timespan());
  20523. }
  20524. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20525. _cached_size_ = total_size;
  20526. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20527. return total_size;
  20528. }
  20529. void XPhone_CheckClientReq::MergeFrom(const ::google::protobuf::Message& from) {
  20530. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  20531. const XPhone_CheckClientReq* source =
  20532. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CheckClientReq>(
  20533. &from);
  20534. if (source == NULL) {
  20535. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20536. } else {
  20537. MergeFrom(*source);
  20538. }
  20539. }
  20540. void XPhone_CheckClientReq::MergeFrom(const XPhone_CheckClientReq& from) {
  20541. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  20542. if (from.has_head()) {
  20543. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  20544. }
  20545. if (from.strusername().size() > 0) {
  20546. strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
  20547. }
  20548. if (from.machinecode().size() > 0) {
  20549. machinecode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.machinecode_);
  20550. }
  20551. if (from.softver() != 0) {
  20552. set_softver(from.softver());
  20553. }
  20554. if (from.strchannel().size() > 0) {
  20555. strchannel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strchannel_);
  20556. }
  20557. if (from.connectcount() != 0) {
  20558. set_connectcount(from.connectcount());
  20559. }
  20560. if (from.wifiname().size() > 0) {
  20561. wifiname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.wifiname_);
  20562. }
  20563. if (from.timespan() != 0) {
  20564. set_timespan(from.timespan());
  20565. }
  20566. }
  20567. void XPhone_CheckClientReq::CopyFrom(const ::google::protobuf::Message& from) {
  20568. if (&from == this) return;
  20569. Clear();
  20570. MergeFrom(from);
  20571. }
  20572. void XPhone_CheckClientReq::CopyFrom(const XPhone_CheckClientReq& from) {
  20573. if (&from == this) return;
  20574. Clear();
  20575. MergeFrom(from);
  20576. }
  20577. bool XPhone_CheckClientReq::IsInitialized() const {
  20578. return true;
  20579. }
  20580. void XPhone_CheckClientReq::Swap(XPhone_CheckClientReq* other) {
  20581. if (other == this) return;
  20582. InternalSwap(other);
  20583. }
  20584. void XPhone_CheckClientReq::InternalSwap(XPhone_CheckClientReq* other) {
  20585. std::swap(head_, other->head_);
  20586. strusername_.Swap(&other->strusername_);
  20587. machinecode_.Swap(&other->machinecode_);
  20588. std::swap(softver_, other->softver_);
  20589. strchannel_.Swap(&other->strchannel_);
  20590. std::swap(connectcount_, other->connectcount_);
  20591. wifiname_.Swap(&other->wifiname_);
  20592. std::swap(timespan_, other->timespan_);
  20593. _internal_metadata_.Swap(&other->_internal_metadata_);
  20594. std::swap(_cached_size_, other->_cached_size_);
  20595. }
  20596. ::google::protobuf::Metadata XPhone_CheckClientReq::GetMetadata() const {
  20597. protobuf_AssignDescriptorsOnce();
  20598. ::google::protobuf::Metadata metadata;
  20599. metadata.descriptor = XPhone_CheckClientReq_descriptor_;
  20600. metadata.reflection = XPhone_CheckClientReq_reflection_;
  20601. return metadata;
  20602. }
  20603. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  20604. // XPhone_CheckClientReq
  20605. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  20606. bool XPhone_CheckClientReq::has_head() const {
  20607. return !_is_default_instance_ && head_ != NULL;
  20608. }
  20609. void XPhone_CheckClientReq::clear_head() {
  20610. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  20611. head_ = NULL;
  20612. }
  20613. const ::XPhonePlus::XPhone_MsgBase& XPhone_CheckClientReq::head() const {
  20614. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.head)
  20615. return head_ != NULL ? *head_ : *default_instance_->head_;
  20616. }
  20617. ::XPhonePlus::XPhone_MsgBase* XPhone_CheckClientReq::mutable_head() {
  20618. if (head_ == NULL) {
  20619. head_ = new ::XPhonePlus::XPhone_MsgBase;
  20620. }
  20621. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientReq.head)
  20622. return head_;
  20623. }
  20624. ::XPhonePlus::XPhone_MsgBase* XPhone_CheckClientReq::release_head() {
  20625. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  20626. head_ = NULL;
  20627. return temp;
  20628. }
  20629. void XPhone_CheckClientReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  20630. delete head_;
  20631. head_ = head;
  20632. if (head) {
  20633. } else {
  20634. }
  20635. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientReq.head)
  20636. }
  20637. // optional string strUserName = 2;
  20638. void XPhone_CheckClientReq::clear_strusername() {
  20639. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20640. }
  20641. const ::std::string& XPhone_CheckClientReq::strusername() const {
  20642. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.strUserName)
  20643. return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20644. }
  20645. void XPhone_CheckClientReq::set_strusername(const ::std::string& value) {
  20646. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  20647. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.strUserName)
  20648. }
  20649. void XPhone_CheckClientReq::set_strusername(const char* value) {
  20650. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  20651. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CheckClientReq.strUserName)
  20652. }
  20653. void XPhone_CheckClientReq::set_strusername(const char* value, size_t size) {
  20654. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  20655. ::std::string(reinterpret_cast<const char*>(value), size));
  20656. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CheckClientReq.strUserName)
  20657. }
  20658. ::std::string* XPhone_CheckClientReq::mutable_strusername() {
  20659. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientReq.strUserName)
  20660. return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20661. }
  20662. ::std::string* XPhone_CheckClientReq::release_strusername() {
  20663. return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20664. }
  20665. void XPhone_CheckClientReq::set_allocated_strusername(::std::string* strusername) {
  20666. if (strusername != NULL) {
  20667. } else {
  20668. }
  20669. strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
  20670. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientReq.strUserName)
  20671. }
  20672. // optional string machinecode = 3;
  20673. void XPhone_CheckClientReq::clear_machinecode() {
  20674. machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20675. }
  20676. const ::std::string& XPhone_CheckClientReq::machinecode() const {
  20677. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.machinecode)
  20678. return machinecode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20679. }
  20680. void XPhone_CheckClientReq::set_machinecode(const ::std::string& value) {
  20681. machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  20682. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.machinecode)
  20683. }
  20684. void XPhone_CheckClientReq::set_machinecode(const char* value) {
  20685. machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  20686. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CheckClientReq.machinecode)
  20687. }
  20688. void XPhone_CheckClientReq::set_machinecode(const char* value, size_t size) {
  20689. machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  20690. ::std::string(reinterpret_cast<const char*>(value), size));
  20691. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CheckClientReq.machinecode)
  20692. }
  20693. ::std::string* XPhone_CheckClientReq::mutable_machinecode() {
  20694. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientReq.machinecode)
  20695. return machinecode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20696. }
  20697. ::std::string* XPhone_CheckClientReq::release_machinecode() {
  20698. return machinecode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20699. }
  20700. void XPhone_CheckClientReq::set_allocated_machinecode(::std::string* machinecode) {
  20701. if (machinecode != NULL) {
  20702. } else {
  20703. }
  20704. machinecode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), machinecode);
  20705. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientReq.machinecode)
  20706. }
  20707. // optional int32 softver = 4;
  20708. void XPhone_CheckClientReq::clear_softver() {
  20709. softver_ = 0;
  20710. }
  20711. ::google::protobuf::int32 XPhone_CheckClientReq::softver() const {
  20712. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.softver)
  20713. return softver_;
  20714. }
  20715. void XPhone_CheckClientReq::set_softver(::google::protobuf::int32 value) {
  20716. softver_ = value;
  20717. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.softver)
  20718. }
  20719. // optional string strChannel = 5;
  20720. void XPhone_CheckClientReq::clear_strchannel() {
  20721. strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20722. }
  20723. const ::std::string& XPhone_CheckClientReq::strchannel() const {
  20724. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.strChannel)
  20725. return strchannel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20726. }
  20727. void XPhone_CheckClientReq::set_strchannel(const ::std::string& value) {
  20728. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  20729. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.strChannel)
  20730. }
  20731. void XPhone_CheckClientReq::set_strchannel(const char* value) {
  20732. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  20733. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CheckClientReq.strChannel)
  20734. }
  20735. void XPhone_CheckClientReq::set_strchannel(const char* value, size_t size) {
  20736. strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  20737. ::std::string(reinterpret_cast<const char*>(value), size));
  20738. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CheckClientReq.strChannel)
  20739. }
  20740. ::std::string* XPhone_CheckClientReq::mutable_strchannel() {
  20741. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientReq.strChannel)
  20742. return strchannel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20743. }
  20744. ::std::string* XPhone_CheckClientReq::release_strchannel() {
  20745. return strchannel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20746. }
  20747. void XPhone_CheckClientReq::set_allocated_strchannel(::std::string* strchannel) {
  20748. if (strchannel != NULL) {
  20749. } else {
  20750. }
  20751. strchannel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strchannel);
  20752. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientReq.strChannel)
  20753. }
  20754. // optional int32 connectcount = 6;
  20755. void XPhone_CheckClientReq::clear_connectcount() {
  20756. connectcount_ = 0;
  20757. }
  20758. ::google::protobuf::int32 XPhone_CheckClientReq::connectcount() const {
  20759. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.connectcount)
  20760. return connectcount_;
  20761. }
  20762. void XPhone_CheckClientReq::set_connectcount(::google::protobuf::int32 value) {
  20763. connectcount_ = value;
  20764. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.connectcount)
  20765. }
  20766. // optional string wifiname = 7;
  20767. void XPhone_CheckClientReq::clear_wifiname() {
  20768. wifiname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20769. }
  20770. const ::std::string& XPhone_CheckClientReq::wifiname() const {
  20771. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.wifiname)
  20772. return wifiname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20773. }
  20774. void XPhone_CheckClientReq::set_wifiname(const ::std::string& value) {
  20775. wifiname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  20776. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.wifiname)
  20777. }
  20778. void XPhone_CheckClientReq::set_wifiname(const char* value) {
  20779. wifiname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  20780. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CheckClientReq.wifiname)
  20781. }
  20782. void XPhone_CheckClientReq::set_wifiname(const char* value, size_t size) {
  20783. wifiname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  20784. ::std::string(reinterpret_cast<const char*>(value), size));
  20785. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CheckClientReq.wifiname)
  20786. }
  20787. ::std::string* XPhone_CheckClientReq::mutable_wifiname() {
  20788. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientReq.wifiname)
  20789. return wifiname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20790. }
  20791. ::std::string* XPhone_CheckClientReq::release_wifiname() {
  20792. return wifiname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20793. }
  20794. void XPhone_CheckClientReq::set_allocated_wifiname(::std::string* wifiname) {
  20795. if (wifiname != NULL) {
  20796. } else {
  20797. }
  20798. wifiname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), wifiname);
  20799. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientReq.wifiname)
  20800. }
  20801. // optional int32 timespan = 8;
  20802. void XPhone_CheckClientReq::clear_timespan() {
  20803. timespan_ = 0;
  20804. }
  20805. ::google::protobuf::int32 XPhone_CheckClientReq::timespan() const {
  20806. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.timespan)
  20807. return timespan_;
  20808. }
  20809. void XPhone_CheckClientReq::set_timespan(::google::protobuf::int32 value) {
  20810. timespan_ = value;
  20811. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.timespan)
  20812. }
  20813. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  20814. // ===================================================================
  20815. #ifndef _MSC_VER
  20816. const int XPhone_CheckClientRsp::kHeadFieldNumber;
  20817. const int XPhone_CheckClientRsp::kErrorcodeFieldNumber;
  20818. const int XPhone_CheckClientRsp::kHashcodeFieldNumber;
  20819. #endif // !_MSC_VER
  20820. XPhone_CheckClientRsp::XPhone_CheckClientRsp()
  20821. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  20822. SharedCtor();
  20823. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CheckClientRsp)
  20824. }
  20825. void XPhone_CheckClientRsp::InitAsDefaultInstance() {
  20826. _is_default_instance_ = true;
  20827. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  20828. }
  20829. XPhone_CheckClientRsp::XPhone_CheckClientRsp(const XPhone_CheckClientRsp& from)
  20830. : ::google::protobuf::Message(),
  20831. _internal_metadata_(NULL) {
  20832. SharedCtor();
  20833. MergeFrom(from);
  20834. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CheckClientRsp)
  20835. }
  20836. void XPhone_CheckClientRsp::SharedCtor() {
  20837. _is_default_instance_ = false;
  20838. ::google::protobuf::internal::GetEmptyString();
  20839. _cached_size_ = 0;
  20840. head_ = NULL;
  20841. errorcode_ = 0;
  20842. hashcode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20843. }
  20844. XPhone_CheckClientRsp::~XPhone_CheckClientRsp() {
  20845. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CheckClientRsp)
  20846. SharedDtor();
  20847. }
  20848. void XPhone_CheckClientRsp::SharedDtor() {
  20849. hashcode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20850. if (this != default_instance_) {
  20851. delete head_;
  20852. }
  20853. }
  20854. void XPhone_CheckClientRsp::SetCachedSize(int size) const {
  20855. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20856. _cached_size_ = size;
  20857. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20858. }
  20859. const ::google::protobuf::Descriptor* XPhone_CheckClientRsp::descriptor() {
  20860. protobuf_AssignDescriptorsOnce();
  20861. return XPhone_CheckClientRsp_descriptor_;
  20862. }
  20863. const XPhone_CheckClientRsp& XPhone_CheckClientRsp::default_instance() {
  20864. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  20865. return *default_instance_;
  20866. }
  20867. XPhone_CheckClientRsp* XPhone_CheckClientRsp::default_instance_ = NULL;
  20868. XPhone_CheckClientRsp* XPhone_CheckClientRsp::New(::google::protobuf::Arena* arena) const {
  20869. XPhone_CheckClientRsp* n = new XPhone_CheckClientRsp;
  20870. if (arena != NULL) {
  20871. arena->Own(n);
  20872. }
  20873. return n;
  20874. }
  20875. void XPhone_CheckClientRsp::Clear() {
  20876. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  20877. head_ = NULL;
  20878. errorcode_ = 0;
  20879. hashcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  20880. }
  20881. bool XPhone_CheckClientRsp::MergePartialFromCodedStream(
  20882. ::google::protobuf::io::CodedInputStream* input) {
  20883. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  20884. ::google::protobuf::uint32 tag;
  20885. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CheckClientRsp)
  20886. for (;;) {
  20887. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  20888. tag = p.first;
  20889. if (!p.second) goto handle_unusual;
  20890. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20891. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  20892. case 1: {
  20893. if (tag == 10) {
  20894. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  20895. input, mutable_head()));
  20896. } else {
  20897. goto handle_unusual;
  20898. }
  20899. if (input->ExpectTag(16)) goto parse_errorcode;
  20900. break;
  20901. }
  20902. // optional int32 errorcode = 2;
  20903. case 2: {
  20904. if (tag == 16) {
  20905. parse_errorcode:
  20906. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20907. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20908. input, &errorcode_)));
  20909. } else {
  20910. goto handle_unusual;
  20911. }
  20912. if (input->ExpectTag(26)) goto parse_hashcode;
  20913. break;
  20914. }
  20915. // optional string hashcode = 3;
  20916. case 3: {
  20917. if (tag == 26) {
  20918. parse_hashcode:
  20919. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  20920. input, this->mutable_hashcode()));
  20921. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20922. this->hashcode().data(), this->hashcode().length(),
  20923. ::google::protobuf::internal::WireFormatLite::PARSE,
  20924. "XPhonePlus.XPhone_CheckClientRsp.hashcode"));
  20925. } else {
  20926. goto handle_unusual;
  20927. }
  20928. if (input->ExpectAtEnd()) goto success;
  20929. break;
  20930. }
  20931. default: {
  20932. handle_unusual:
  20933. if (tag == 0 ||
  20934. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20935. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20936. goto success;
  20937. }
  20938. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  20939. break;
  20940. }
  20941. }
  20942. }
  20943. success:
  20944. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CheckClientRsp)
  20945. return true;
  20946. failure:
  20947. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CheckClientRsp)
  20948. return false;
  20949. #undef DO_
  20950. }
  20951. void XPhone_CheckClientRsp::SerializeWithCachedSizes(
  20952. ::google::protobuf::io::CodedOutputStream* output) const {
  20953. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CheckClientRsp)
  20954. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  20955. if (this->has_head()) {
  20956. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  20957. 1, *this->head_, output);
  20958. }
  20959. // optional int32 errorcode = 2;
  20960. if (this->errorcode() != 0) {
  20961. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->errorcode(), output);
  20962. }
  20963. // optional string hashcode = 3;
  20964. if (this->hashcode().size() > 0) {
  20965. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20966. this->hashcode().data(), this->hashcode().length(),
  20967. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  20968. "XPhonePlus.XPhone_CheckClientRsp.hashcode");
  20969. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  20970. 3, this->hashcode(), output);
  20971. }
  20972. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CheckClientRsp)
  20973. }
  20974. ::google::protobuf::uint8* XPhone_CheckClientRsp::SerializeWithCachedSizesToArray(
  20975. ::google::protobuf::uint8* target) const {
  20976. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CheckClientRsp)
  20977. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  20978. if (this->has_head()) {
  20979. target = ::google::protobuf::internal::WireFormatLite::
  20980. WriteMessageNoVirtualToArray(
  20981. 1, *this->head_, target);
  20982. }
  20983. // optional int32 errorcode = 2;
  20984. if (this->errorcode() != 0) {
  20985. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->errorcode(), target);
  20986. }
  20987. // optional string hashcode = 3;
  20988. if (this->hashcode().size() > 0) {
  20989. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  20990. this->hashcode().data(), this->hashcode().length(),
  20991. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  20992. "XPhonePlus.XPhone_CheckClientRsp.hashcode");
  20993. target =
  20994. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  20995. 3, this->hashcode(), target);
  20996. }
  20997. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CheckClientRsp)
  20998. return target;
  20999. }
  21000. int XPhone_CheckClientRsp::ByteSize() const {
  21001. int total_size = 0;
  21002. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21003. if (this->has_head()) {
  21004. total_size += 1 +
  21005. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  21006. *this->head_);
  21007. }
  21008. // optional int32 errorcode = 2;
  21009. if (this->errorcode() != 0) {
  21010. total_size += 1 +
  21011. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21012. this->errorcode());
  21013. }
  21014. // optional string hashcode = 3;
  21015. if (this->hashcode().size() > 0) {
  21016. total_size += 1 +
  21017. ::google::protobuf::internal::WireFormatLite::StringSize(
  21018. this->hashcode());
  21019. }
  21020. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21021. _cached_size_ = total_size;
  21022. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21023. return total_size;
  21024. }
  21025. void XPhone_CheckClientRsp::MergeFrom(const ::google::protobuf::Message& from) {
  21026. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  21027. const XPhone_CheckClientRsp* source =
  21028. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CheckClientRsp>(
  21029. &from);
  21030. if (source == NULL) {
  21031. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21032. } else {
  21033. MergeFrom(*source);
  21034. }
  21035. }
  21036. void XPhone_CheckClientRsp::MergeFrom(const XPhone_CheckClientRsp& from) {
  21037. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  21038. if (from.has_head()) {
  21039. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  21040. }
  21041. if (from.errorcode() != 0) {
  21042. set_errorcode(from.errorcode());
  21043. }
  21044. if (from.hashcode().size() > 0) {
  21045. hashcode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hashcode_);
  21046. }
  21047. }
  21048. void XPhone_CheckClientRsp::CopyFrom(const ::google::protobuf::Message& from) {
  21049. if (&from == this) return;
  21050. Clear();
  21051. MergeFrom(from);
  21052. }
  21053. void XPhone_CheckClientRsp::CopyFrom(const XPhone_CheckClientRsp& from) {
  21054. if (&from == this) return;
  21055. Clear();
  21056. MergeFrom(from);
  21057. }
  21058. bool XPhone_CheckClientRsp::IsInitialized() const {
  21059. return true;
  21060. }
  21061. void XPhone_CheckClientRsp::Swap(XPhone_CheckClientRsp* other) {
  21062. if (other == this) return;
  21063. InternalSwap(other);
  21064. }
  21065. void XPhone_CheckClientRsp::InternalSwap(XPhone_CheckClientRsp* other) {
  21066. std::swap(head_, other->head_);
  21067. std::swap(errorcode_, other->errorcode_);
  21068. hashcode_.Swap(&other->hashcode_);
  21069. _internal_metadata_.Swap(&other->_internal_metadata_);
  21070. std::swap(_cached_size_, other->_cached_size_);
  21071. }
  21072. ::google::protobuf::Metadata XPhone_CheckClientRsp::GetMetadata() const {
  21073. protobuf_AssignDescriptorsOnce();
  21074. ::google::protobuf::Metadata metadata;
  21075. metadata.descriptor = XPhone_CheckClientRsp_descriptor_;
  21076. metadata.reflection = XPhone_CheckClientRsp_reflection_;
  21077. return metadata;
  21078. }
  21079. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  21080. // XPhone_CheckClientRsp
  21081. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21082. bool XPhone_CheckClientRsp::has_head() const {
  21083. return !_is_default_instance_ && head_ != NULL;
  21084. }
  21085. void XPhone_CheckClientRsp::clear_head() {
  21086. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  21087. head_ = NULL;
  21088. }
  21089. const ::XPhonePlus::XPhone_MsgBase& XPhone_CheckClientRsp::head() const {
  21090. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientRsp.head)
  21091. return head_ != NULL ? *head_ : *default_instance_->head_;
  21092. }
  21093. ::XPhonePlus::XPhone_MsgBase* XPhone_CheckClientRsp::mutable_head() {
  21094. if (head_ == NULL) {
  21095. head_ = new ::XPhonePlus::XPhone_MsgBase;
  21096. }
  21097. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientRsp.head)
  21098. return head_;
  21099. }
  21100. ::XPhonePlus::XPhone_MsgBase* XPhone_CheckClientRsp::release_head() {
  21101. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  21102. head_ = NULL;
  21103. return temp;
  21104. }
  21105. void XPhone_CheckClientRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  21106. delete head_;
  21107. head_ = head;
  21108. if (head) {
  21109. } else {
  21110. }
  21111. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientRsp.head)
  21112. }
  21113. // optional int32 errorcode = 2;
  21114. void XPhone_CheckClientRsp::clear_errorcode() {
  21115. errorcode_ = 0;
  21116. }
  21117. ::google::protobuf::int32 XPhone_CheckClientRsp::errorcode() const {
  21118. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientRsp.errorcode)
  21119. return errorcode_;
  21120. }
  21121. void XPhone_CheckClientRsp::set_errorcode(::google::protobuf::int32 value) {
  21122. errorcode_ = value;
  21123. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientRsp.errorcode)
  21124. }
  21125. // optional string hashcode = 3;
  21126. void XPhone_CheckClientRsp::clear_hashcode() {
  21127. hashcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  21128. }
  21129. const ::std::string& XPhone_CheckClientRsp::hashcode() const {
  21130. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientRsp.hashcode)
  21131. return hashcode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  21132. }
  21133. void XPhone_CheckClientRsp::set_hashcode(const ::std::string& value) {
  21134. hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  21135. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientRsp.hashcode)
  21136. }
  21137. void XPhone_CheckClientRsp::set_hashcode(const char* value) {
  21138. hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  21139. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CheckClientRsp.hashcode)
  21140. }
  21141. void XPhone_CheckClientRsp::set_hashcode(const char* value, size_t size) {
  21142. hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  21143. ::std::string(reinterpret_cast<const char*>(value), size));
  21144. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CheckClientRsp.hashcode)
  21145. }
  21146. ::std::string* XPhone_CheckClientRsp::mutable_hashcode() {
  21147. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientRsp.hashcode)
  21148. return hashcode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  21149. }
  21150. ::std::string* XPhone_CheckClientRsp::release_hashcode() {
  21151. return hashcode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  21152. }
  21153. void XPhone_CheckClientRsp::set_allocated_hashcode(::std::string* hashcode) {
  21154. if (hashcode != NULL) {
  21155. } else {
  21156. }
  21157. hashcode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hashcode);
  21158. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientRsp.hashcode)
  21159. }
  21160. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  21161. // ===================================================================
  21162. #ifndef _MSC_VER
  21163. const int XPhone_ImportWeichat::kHeadFieldNumber;
  21164. const int XPhone_ImportWeichat::kWeichatlistsFieldNumber;
  21165. #endif // !_MSC_VER
  21166. XPhone_ImportWeichat::XPhone_ImportWeichat()
  21167. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  21168. SharedCtor();
  21169. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ImportWeichat)
  21170. }
  21171. void XPhone_ImportWeichat::InitAsDefaultInstance() {
  21172. _is_default_instance_ = true;
  21173. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  21174. }
  21175. XPhone_ImportWeichat::XPhone_ImportWeichat(const XPhone_ImportWeichat& from)
  21176. : ::google::protobuf::Message(),
  21177. _internal_metadata_(NULL) {
  21178. SharedCtor();
  21179. MergeFrom(from);
  21180. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ImportWeichat)
  21181. }
  21182. void XPhone_ImportWeichat::SharedCtor() {
  21183. _is_default_instance_ = false;
  21184. ::google::protobuf::internal::GetEmptyString();
  21185. _cached_size_ = 0;
  21186. head_ = NULL;
  21187. }
  21188. XPhone_ImportWeichat::~XPhone_ImportWeichat() {
  21189. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ImportWeichat)
  21190. SharedDtor();
  21191. }
  21192. void XPhone_ImportWeichat::SharedDtor() {
  21193. if (this != default_instance_) {
  21194. delete head_;
  21195. }
  21196. }
  21197. void XPhone_ImportWeichat::SetCachedSize(int size) const {
  21198. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21199. _cached_size_ = size;
  21200. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21201. }
  21202. const ::google::protobuf::Descriptor* XPhone_ImportWeichat::descriptor() {
  21203. protobuf_AssignDescriptorsOnce();
  21204. return XPhone_ImportWeichat_descriptor_;
  21205. }
  21206. const XPhone_ImportWeichat& XPhone_ImportWeichat::default_instance() {
  21207. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  21208. return *default_instance_;
  21209. }
  21210. XPhone_ImportWeichat* XPhone_ImportWeichat::default_instance_ = NULL;
  21211. XPhone_ImportWeichat* XPhone_ImportWeichat::New(::google::protobuf::Arena* arena) const {
  21212. XPhone_ImportWeichat* n = new XPhone_ImportWeichat;
  21213. if (arena != NULL) {
  21214. arena->Own(n);
  21215. }
  21216. return n;
  21217. }
  21218. void XPhone_ImportWeichat::Clear() {
  21219. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  21220. head_ = NULL;
  21221. weichatlists_.Clear();
  21222. }
  21223. bool XPhone_ImportWeichat::MergePartialFromCodedStream(
  21224. ::google::protobuf::io::CodedInputStream* input) {
  21225. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  21226. ::google::protobuf::uint32 tag;
  21227. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ImportWeichat)
  21228. for (;;) {
  21229. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  21230. tag = p.first;
  21231. if (!p.second) goto handle_unusual;
  21232. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21233. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21234. case 1: {
  21235. if (tag == 10) {
  21236. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  21237. input, mutable_head()));
  21238. } else {
  21239. goto handle_unusual;
  21240. }
  21241. if (input->ExpectTag(18)) goto parse_weichatlists;
  21242. break;
  21243. }
  21244. // repeated string weichatlists = 2;
  21245. case 2: {
  21246. if (tag == 18) {
  21247. parse_weichatlists:
  21248. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  21249. input, this->add_weichatlists()));
  21250. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  21251. this->weichatlists(this->weichatlists_size() - 1).data(),
  21252. this->weichatlists(this->weichatlists_size() - 1).length(),
  21253. ::google::protobuf::internal::WireFormatLite::PARSE,
  21254. "XPhonePlus.XPhone_ImportWeichat.weichatlists"));
  21255. } else {
  21256. goto handle_unusual;
  21257. }
  21258. if (input->ExpectTag(18)) goto parse_weichatlists;
  21259. if (input->ExpectAtEnd()) goto success;
  21260. break;
  21261. }
  21262. default: {
  21263. handle_unusual:
  21264. if (tag == 0 ||
  21265. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21266. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21267. goto success;
  21268. }
  21269. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  21270. break;
  21271. }
  21272. }
  21273. }
  21274. success:
  21275. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ImportWeichat)
  21276. return true;
  21277. failure:
  21278. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ImportWeichat)
  21279. return false;
  21280. #undef DO_
  21281. }
  21282. void XPhone_ImportWeichat::SerializeWithCachedSizes(
  21283. ::google::protobuf::io::CodedOutputStream* output) const {
  21284. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ImportWeichat)
  21285. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21286. if (this->has_head()) {
  21287. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  21288. 1, *this->head_, output);
  21289. }
  21290. // repeated string weichatlists = 2;
  21291. for (int i = 0; i < this->weichatlists_size(); i++) {
  21292. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  21293. this->weichatlists(i).data(), this->weichatlists(i).length(),
  21294. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  21295. "XPhonePlus.XPhone_ImportWeichat.weichatlists");
  21296. ::google::protobuf::internal::WireFormatLite::WriteString(
  21297. 2, this->weichatlists(i), output);
  21298. }
  21299. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ImportWeichat)
  21300. }
  21301. ::google::protobuf::uint8* XPhone_ImportWeichat::SerializeWithCachedSizesToArray(
  21302. ::google::protobuf::uint8* target) const {
  21303. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ImportWeichat)
  21304. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21305. if (this->has_head()) {
  21306. target = ::google::protobuf::internal::WireFormatLite::
  21307. WriteMessageNoVirtualToArray(
  21308. 1, *this->head_, target);
  21309. }
  21310. // repeated string weichatlists = 2;
  21311. for (int i = 0; i < this->weichatlists_size(); i++) {
  21312. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  21313. this->weichatlists(i).data(), this->weichatlists(i).length(),
  21314. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  21315. "XPhonePlus.XPhone_ImportWeichat.weichatlists");
  21316. target = ::google::protobuf::internal::WireFormatLite::
  21317. WriteStringToArray(2, this->weichatlists(i), target);
  21318. }
  21319. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ImportWeichat)
  21320. return target;
  21321. }
  21322. int XPhone_ImportWeichat::ByteSize() const {
  21323. int total_size = 0;
  21324. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21325. if (this->has_head()) {
  21326. total_size += 1 +
  21327. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  21328. *this->head_);
  21329. }
  21330. // repeated string weichatlists = 2;
  21331. total_size += 1 * this->weichatlists_size();
  21332. for (int i = 0; i < this->weichatlists_size(); i++) {
  21333. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  21334. this->weichatlists(i));
  21335. }
  21336. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21337. _cached_size_ = total_size;
  21338. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21339. return total_size;
  21340. }
  21341. void XPhone_ImportWeichat::MergeFrom(const ::google::protobuf::Message& from) {
  21342. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  21343. const XPhone_ImportWeichat* source =
  21344. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ImportWeichat>(
  21345. &from);
  21346. if (source == NULL) {
  21347. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21348. } else {
  21349. MergeFrom(*source);
  21350. }
  21351. }
  21352. void XPhone_ImportWeichat::MergeFrom(const XPhone_ImportWeichat& from) {
  21353. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  21354. weichatlists_.MergeFrom(from.weichatlists_);
  21355. if (from.has_head()) {
  21356. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  21357. }
  21358. }
  21359. void XPhone_ImportWeichat::CopyFrom(const ::google::protobuf::Message& from) {
  21360. if (&from == this) return;
  21361. Clear();
  21362. MergeFrom(from);
  21363. }
  21364. void XPhone_ImportWeichat::CopyFrom(const XPhone_ImportWeichat& from) {
  21365. if (&from == this) return;
  21366. Clear();
  21367. MergeFrom(from);
  21368. }
  21369. bool XPhone_ImportWeichat::IsInitialized() const {
  21370. return true;
  21371. }
  21372. void XPhone_ImportWeichat::Swap(XPhone_ImportWeichat* other) {
  21373. if (other == this) return;
  21374. InternalSwap(other);
  21375. }
  21376. void XPhone_ImportWeichat::InternalSwap(XPhone_ImportWeichat* other) {
  21377. std::swap(head_, other->head_);
  21378. weichatlists_.UnsafeArenaSwap(&other->weichatlists_);
  21379. _internal_metadata_.Swap(&other->_internal_metadata_);
  21380. std::swap(_cached_size_, other->_cached_size_);
  21381. }
  21382. ::google::protobuf::Metadata XPhone_ImportWeichat::GetMetadata() const {
  21383. protobuf_AssignDescriptorsOnce();
  21384. ::google::protobuf::Metadata metadata;
  21385. metadata.descriptor = XPhone_ImportWeichat_descriptor_;
  21386. metadata.reflection = XPhone_ImportWeichat_reflection_;
  21387. return metadata;
  21388. }
  21389. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  21390. // XPhone_ImportWeichat
  21391. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21392. bool XPhone_ImportWeichat::has_head() const {
  21393. return !_is_default_instance_ && head_ != NULL;
  21394. }
  21395. void XPhone_ImportWeichat::clear_head() {
  21396. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  21397. head_ = NULL;
  21398. }
  21399. const ::XPhonePlus::XPhone_MsgBase& XPhone_ImportWeichat::head() const {
  21400. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportWeichat.head)
  21401. return head_ != NULL ? *head_ : *default_instance_->head_;
  21402. }
  21403. ::XPhonePlus::XPhone_MsgBase* XPhone_ImportWeichat::mutable_head() {
  21404. if (head_ == NULL) {
  21405. head_ = new ::XPhonePlus::XPhone_MsgBase;
  21406. }
  21407. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportWeichat.head)
  21408. return head_;
  21409. }
  21410. ::XPhonePlus::XPhone_MsgBase* XPhone_ImportWeichat::release_head() {
  21411. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  21412. head_ = NULL;
  21413. return temp;
  21414. }
  21415. void XPhone_ImportWeichat::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  21416. delete head_;
  21417. head_ = head;
  21418. if (head) {
  21419. } else {
  21420. }
  21421. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ImportWeichat.head)
  21422. }
  21423. // repeated string weichatlists = 2;
  21424. int XPhone_ImportWeichat::weichatlists_size() const {
  21425. return weichatlists_.size();
  21426. }
  21427. void XPhone_ImportWeichat::clear_weichatlists() {
  21428. weichatlists_.Clear();
  21429. }
  21430. const ::std::string& XPhone_ImportWeichat::weichatlists(int index) const {
  21431. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportWeichat.weichatlists)
  21432. return weichatlists_.Get(index);
  21433. }
  21434. ::std::string* XPhone_ImportWeichat::mutable_weichatlists(int index) {
  21435. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportWeichat.weichatlists)
  21436. return weichatlists_.Mutable(index);
  21437. }
  21438. void XPhone_ImportWeichat::set_weichatlists(int index, const ::std::string& value) {
  21439. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ImportWeichat.weichatlists)
  21440. weichatlists_.Mutable(index)->assign(value);
  21441. }
  21442. void XPhone_ImportWeichat::set_weichatlists(int index, const char* value) {
  21443. weichatlists_.Mutable(index)->assign(value);
  21444. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ImportWeichat.weichatlists)
  21445. }
  21446. void XPhone_ImportWeichat::set_weichatlists(int index, const char* value, size_t size) {
  21447. weichatlists_.Mutable(index)->assign(
  21448. reinterpret_cast<const char*>(value), size);
  21449. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ImportWeichat.weichatlists)
  21450. }
  21451. ::std::string* XPhone_ImportWeichat::add_weichatlists() {
  21452. return weichatlists_.Add();
  21453. }
  21454. void XPhone_ImportWeichat::add_weichatlists(const ::std::string& value) {
  21455. weichatlists_.Add()->assign(value);
  21456. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ImportWeichat.weichatlists)
  21457. }
  21458. void XPhone_ImportWeichat::add_weichatlists(const char* value) {
  21459. weichatlists_.Add()->assign(value);
  21460. // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_ImportWeichat.weichatlists)
  21461. }
  21462. void XPhone_ImportWeichat::add_weichatlists(const char* value, size_t size) {
  21463. weichatlists_.Add()->assign(reinterpret_cast<const char*>(value), size);
  21464. // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_ImportWeichat.weichatlists)
  21465. }
  21466. const ::google::protobuf::RepeatedPtrField< ::std::string>&
  21467. XPhone_ImportWeichat::weichatlists() const {
  21468. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ImportWeichat.weichatlists)
  21469. return weichatlists_;
  21470. }
  21471. ::google::protobuf::RepeatedPtrField< ::std::string>*
  21472. XPhone_ImportWeichat::mutable_weichatlists() {
  21473. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ImportWeichat.weichatlists)
  21474. return &weichatlists_;
  21475. }
  21476. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  21477. // ===================================================================
  21478. #ifndef _MSC_VER
  21479. const int XPhone_ImportQQ::kHeadFieldNumber;
  21480. const int XPhone_ImportQQ::kQqlistsFieldNumber;
  21481. #endif // !_MSC_VER
  21482. XPhone_ImportQQ::XPhone_ImportQQ()
  21483. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  21484. SharedCtor();
  21485. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ImportQQ)
  21486. }
  21487. void XPhone_ImportQQ::InitAsDefaultInstance() {
  21488. _is_default_instance_ = true;
  21489. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  21490. }
  21491. XPhone_ImportQQ::XPhone_ImportQQ(const XPhone_ImportQQ& from)
  21492. : ::google::protobuf::Message(),
  21493. _internal_metadata_(NULL) {
  21494. SharedCtor();
  21495. MergeFrom(from);
  21496. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ImportQQ)
  21497. }
  21498. void XPhone_ImportQQ::SharedCtor() {
  21499. _is_default_instance_ = false;
  21500. ::google::protobuf::internal::GetEmptyString();
  21501. _cached_size_ = 0;
  21502. head_ = NULL;
  21503. }
  21504. XPhone_ImportQQ::~XPhone_ImportQQ() {
  21505. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ImportQQ)
  21506. SharedDtor();
  21507. }
  21508. void XPhone_ImportQQ::SharedDtor() {
  21509. if (this != default_instance_) {
  21510. delete head_;
  21511. }
  21512. }
  21513. void XPhone_ImportQQ::SetCachedSize(int size) const {
  21514. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21515. _cached_size_ = size;
  21516. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21517. }
  21518. const ::google::protobuf::Descriptor* XPhone_ImportQQ::descriptor() {
  21519. protobuf_AssignDescriptorsOnce();
  21520. return XPhone_ImportQQ_descriptor_;
  21521. }
  21522. const XPhone_ImportQQ& XPhone_ImportQQ::default_instance() {
  21523. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  21524. return *default_instance_;
  21525. }
  21526. XPhone_ImportQQ* XPhone_ImportQQ::default_instance_ = NULL;
  21527. XPhone_ImportQQ* XPhone_ImportQQ::New(::google::protobuf::Arena* arena) const {
  21528. XPhone_ImportQQ* n = new XPhone_ImportQQ;
  21529. if (arena != NULL) {
  21530. arena->Own(n);
  21531. }
  21532. return n;
  21533. }
  21534. void XPhone_ImportQQ::Clear() {
  21535. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  21536. head_ = NULL;
  21537. qqlists_.Clear();
  21538. }
  21539. bool XPhone_ImportQQ::MergePartialFromCodedStream(
  21540. ::google::protobuf::io::CodedInputStream* input) {
  21541. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  21542. ::google::protobuf::uint32 tag;
  21543. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ImportQQ)
  21544. for (;;) {
  21545. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  21546. tag = p.first;
  21547. if (!p.second) goto handle_unusual;
  21548. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21549. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21550. case 1: {
  21551. if (tag == 10) {
  21552. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  21553. input, mutable_head()));
  21554. } else {
  21555. goto handle_unusual;
  21556. }
  21557. if (input->ExpectTag(18)) goto parse_qqlists;
  21558. break;
  21559. }
  21560. // repeated string qqlists = 2;
  21561. case 2: {
  21562. if (tag == 18) {
  21563. parse_qqlists:
  21564. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  21565. input, this->add_qqlists()));
  21566. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  21567. this->qqlists(this->qqlists_size() - 1).data(),
  21568. this->qqlists(this->qqlists_size() - 1).length(),
  21569. ::google::protobuf::internal::WireFormatLite::PARSE,
  21570. "XPhonePlus.XPhone_ImportQQ.qqlists"));
  21571. } else {
  21572. goto handle_unusual;
  21573. }
  21574. if (input->ExpectTag(18)) goto parse_qqlists;
  21575. if (input->ExpectAtEnd()) goto success;
  21576. break;
  21577. }
  21578. default: {
  21579. handle_unusual:
  21580. if (tag == 0 ||
  21581. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21582. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21583. goto success;
  21584. }
  21585. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  21586. break;
  21587. }
  21588. }
  21589. }
  21590. success:
  21591. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ImportQQ)
  21592. return true;
  21593. failure:
  21594. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ImportQQ)
  21595. return false;
  21596. #undef DO_
  21597. }
  21598. void XPhone_ImportQQ::SerializeWithCachedSizes(
  21599. ::google::protobuf::io::CodedOutputStream* output) const {
  21600. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ImportQQ)
  21601. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21602. if (this->has_head()) {
  21603. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  21604. 1, *this->head_, output);
  21605. }
  21606. // repeated string qqlists = 2;
  21607. for (int i = 0; i < this->qqlists_size(); i++) {
  21608. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  21609. this->qqlists(i).data(), this->qqlists(i).length(),
  21610. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  21611. "XPhonePlus.XPhone_ImportQQ.qqlists");
  21612. ::google::protobuf::internal::WireFormatLite::WriteString(
  21613. 2, this->qqlists(i), output);
  21614. }
  21615. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ImportQQ)
  21616. }
  21617. ::google::protobuf::uint8* XPhone_ImportQQ::SerializeWithCachedSizesToArray(
  21618. ::google::protobuf::uint8* target) const {
  21619. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ImportQQ)
  21620. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21621. if (this->has_head()) {
  21622. target = ::google::protobuf::internal::WireFormatLite::
  21623. WriteMessageNoVirtualToArray(
  21624. 1, *this->head_, target);
  21625. }
  21626. // repeated string qqlists = 2;
  21627. for (int i = 0; i < this->qqlists_size(); i++) {
  21628. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  21629. this->qqlists(i).data(), this->qqlists(i).length(),
  21630. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  21631. "XPhonePlus.XPhone_ImportQQ.qqlists");
  21632. target = ::google::protobuf::internal::WireFormatLite::
  21633. WriteStringToArray(2, this->qqlists(i), target);
  21634. }
  21635. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ImportQQ)
  21636. return target;
  21637. }
  21638. int XPhone_ImportQQ::ByteSize() const {
  21639. int total_size = 0;
  21640. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21641. if (this->has_head()) {
  21642. total_size += 1 +
  21643. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  21644. *this->head_);
  21645. }
  21646. // repeated string qqlists = 2;
  21647. total_size += 1 * this->qqlists_size();
  21648. for (int i = 0; i < this->qqlists_size(); i++) {
  21649. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  21650. this->qqlists(i));
  21651. }
  21652. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21653. _cached_size_ = total_size;
  21654. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21655. return total_size;
  21656. }
  21657. void XPhone_ImportQQ::MergeFrom(const ::google::protobuf::Message& from) {
  21658. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  21659. const XPhone_ImportQQ* source =
  21660. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ImportQQ>(
  21661. &from);
  21662. if (source == NULL) {
  21663. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21664. } else {
  21665. MergeFrom(*source);
  21666. }
  21667. }
  21668. void XPhone_ImportQQ::MergeFrom(const XPhone_ImportQQ& from) {
  21669. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  21670. qqlists_.MergeFrom(from.qqlists_);
  21671. if (from.has_head()) {
  21672. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  21673. }
  21674. }
  21675. void XPhone_ImportQQ::CopyFrom(const ::google::protobuf::Message& from) {
  21676. if (&from == this) return;
  21677. Clear();
  21678. MergeFrom(from);
  21679. }
  21680. void XPhone_ImportQQ::CopyFrom(const XPhone_ImportQQ& from) {
  21681. if (&from == this) return;
  21682. Clear();
  21683. MergeFrom(from);
  21684. }
  21685. bool XPhone_ImportQQ::IsInitialized() const {
  21686. return true;
  21687. }
  21688. void XPhone_ImportQQ::Swap(XPhone_ImportQQ* other) {
  21689. if (other == this) return;
  21690. InternalSwap(other);
  21691. }
  21692. void XPhone_ImportQQ::InternalSwap(XPhone_ImportQQ* other) {
  21693. std::swap(head_, other->head_);
  21694. qqlists_.UnsafeArenaSwap(&other->qqlists_);
  21695. _internal_metadata_.Swap(&other->_internal_metadata_);
  21696. std::swap(_cached_size_, other->_cached_size_);
  21697. }
  21698. ::google::protobuf::Metadata XPhone_ImportQQ::GetMetadata() const {
  21699. protobuf_AssignDescriptorsOnce();
  21700. ::google::protobuf::Metadata metadata;
  21701. metadata.descriptor = XPhone_ImportQQ_descriptor_;
  21702. metadata.reflection = XPhone_ImportQQ_reflection_;
  21703. return metadata;
  21704. }
  21705. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  21706. // XPhone_ImportQQ
  21707. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21708. bool XPhone_ImportQQ::has_head() const {
  21709. return !_is_default_instance_ && head_ != NULL;
  21710. }
  21711. void XPhone_ImportQQ::clear_head() {
  21712. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  21713. head_ = NULL;
  21714. }
  21715. const ::XPhonePlus::XPhone_MsgBase& XPhone_ImportQQ::head() const {
  21716. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportQQ.head)
  21717. return head_ != NULL ? *head_ : *default_instance_->head_;
  21718. }
  21719. ::XPhonePlus::XPhone_MsgBase* XPhone_ImportQQ::mutable_head() {
  21720. if (head_ == NULL) {
  21721. head_ = new ::XPhonePlus::XPhone_MsgBase;
  21722. }
  21723. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportQQ.head)
  21724. return head_;
  21725. }
  21726. ::XPhonePlus::XPhone_MsgBase* XPhone_ImportQQ::release_head() {
  21727. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  21728. head_ = NULL;
  21729. return temp;
  21730. }
  21731. void XPhone_ImportQQ::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  21732. delete head_;
  21733. head_ = head;
  21734. if (head) {
  21735. } else {
  21736. }
  21737. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ImportQQ.head)
  21738. }
  21739. // repeated string qqlists = 2;
  21740. int XPhone_ImportQQ::qqlists_size() const {
  21741. return qqlists_.size();
  21742. }
  21743. void XPhone_ImportQQ::clear_qqlists() {
  21744. qqlists_.Clear();
  21745. }
  21746. const ::std::string& XPhone_ImportQQ::qqlists(int index) const {
  21747. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportQQ.qqlists)
  21748. return qqlists_.Get(index);
  21749. }
  21750. ::std::string* XPhone_ImportQQ::mutable_qqlists(int index) {
  21751. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportQQ.qqlists)
  21752. return qqlists_.Mutable(index);
  21753. }
  21754. void XPhone_ImportQQ::set_qqlists(int index, const ::std::string& value) {
  21755. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ImportQQ.qqlists)
  21756. qqlists_.Mutable(index)->assign(value);
  21757. }
  21758. void XPhone_ImportQQ::set_qqlists(int index, const char* value) {
  21759. qqlists_.Mutable(index)->assign(value);
  21760. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ImportQQ.qqlists)
  21761. }
  21762. void XPhone_ImportQQ::set_qqlists(int index, const char* value, size_t size) {
  21763. qqlists_.Mutable(index)->assign(
  21764. reinterpret_cast<const char*>(value), size);
  21765. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ImportQQ.qqlists)
  21766. }
  21767. ::std::string* XPhone_ImportQQ::add_qqlists() {
  21768. return qqlists_.Add();
  21769. }
  21770. void XPhone_ImportQQ::add_qqlists(const ::std::string& value) {
  21771. qqlists_.Add()->assign(value);
  21772. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ImportQQ.qqlists)
  21773. }
  21774. void XPhone_ImportQQ::add_qqlists(const char* value) {
  21775. qqlists_.Add()->assign(value);
  21776. // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_ImportQQ.qqlists)
  21777. }
  21778. void XPhone_ImportQQ::add_qqlists(const char* value, size_t size) {
  21779. qqlists_.Add()->assign(reinterpret_cast<const char*>(value), size);
  21780. // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_ImportQQ.qqlists)
  21781. }
  21782. const ::google::protobuf::RepeatedPtrField< ::std::string>&
  21783. XPhone_ImportQQ::qqlists() const {
  21784. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ImportQQ.qqlists)
  21785. return qqlists_;
  21786. }
  21787. ::google::protobuf::RepeatedPtrField< ::std::string>*
  21788. XPhone_ImportQQ::mutable_qqlists() {
  21789. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ImportQQ.qqlists)
  21790. return &qqlists_;
  21791. }
  21792. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  21793. // ===================================================================
  21794. #ifndef _MSC_VER
  21795. const int XPhone_ImportGongZhong::kHeadFieldNumber;
  21796. const int XPhone_ImportGongZhong::kGongzhonglistsFieldNumber;
  21797. #endif // !_MSC_VER
  21798. XPhone_ImportGongZhong::XPhone_ImportGongZhong()
  21799. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  21800. SharedCtor();
  21801. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ImportGongZhong)
  21802. }
  21803. void XPhone_ImportGongZhong::InitAsDefaultInstance() {
  21804. _is_default_instance_ = true;
  21805. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  21806. }
  21807. XPhone_ImportGongZhong::XPhone_ImportGongZhong(const XPhone_ImportGongZhong& from)
  21808. : ::google::protobuf::Message(),
  21809. _internal_metadata_(NULL) {
  21810. SharedCtor();
  21811. MergeFrom(from);
  21812. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ImportGongZhong)
  21813. }
  21814. void XPhone_ImportGongZhong::SharedCtor() {
  21815. _is_default_instance_ = false;
  21816. ::google::protobuf::internal::GetEmptyString();
  21817. _cached_size_ = 0;
  21818. head_ = NULL;
  21819. }
  21820. XPhone_ImportGongZhong::~XPhone_ImportGongZhong() {
  21821. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ImportGongZhong)
  21822. SharedDtor();
  21823. }
  21824. void XPhone_ImportGongZhong::SharedDtor() {
  21825. if (this != default_instance_) {
  21826. delete head_;
  21827. }
  21828. }
  21829. void XPhone_ImportGongZhong::SetCachedSize(int size) const {
  21830. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21831. _cached_size_ = size;
  21832. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21833. }
  21834. const ::google::protobuf::Descriptor* XPhone_ImportGongZhong::descriptor() {
  21835. protobuf_AssignDescriptorsOnce();
  21836. return XPhone_ImportGongZhong_descriptor_;
  21837. }
  21838. const XPhone_ImportGongZhong& XPhone_ImportGongZhong::default_instance() {
  21839. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  21840. return *default_instance_;
  21841. }
  21842. XPhone_ImportGongZhong* XPhone_ImportGongZhong::default_instance_ = NULL;
  21843. XPhone_ImportGongZhong* XPhone_ImportGongZhong::New(::google::protobuf::Arena* arena) const {
  21844. XPhone_ImportGongZhong* n = new XPhone_ImportGongZhong;
  21845. if (arena != NULL) {
  21846. arena->Own(n);
  21847. }
  21848. return n;
  21849. }
  21850. void XPhone_ImportGongZhong::Clear() {
  21851. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  21852. head_ = NULL;
  21853. gongzhonglists_.Clear();
  21854. }
  21855. bool XPhone_ImportGongZhong::MergePartialFromCodedStream(
  21856. ::google::protobuf::io::CodedInputStream* input) {
  21857. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  21858. ::google::protobuf::uint32 tag;
  21859. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ImportGongZhong)
  21860. for (;;) {
  21861. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  21862. tag = p.first;
  21863. if (!p.second) goto handle_unusual;
  21864. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21865. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21866. case 1: {
  21867. if (tag == 10) {
  21868. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  21869. input, mutable_head()));
  21870. } else {
  21871. goto handle_unusual;
  21872. }
  21873. if (input->ExpectTag(18)) goto parse_gongzhonglists;
  21874. break;
  21875. }
  21876. // repeated string gongzhonglists = 2;
  21877. case 2: {
  21878. if (tag == 18) {
  21879. parse_gongzhonglists:
  21880. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  21881. input, this->add_gongzhonglists()));
  21882. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  21883. this->gongzhonglists(this->gongzhonglists_size() - 1).data(),
  21884. this->gongzhonglists(this->gongzhonglists_size() - 1).length(),
  21885. ::google::protobuf::internal::WireFormatLite::PARSE,
  21886. "XPhonePlus.XPhone_ImportGongZhong.gongzhonglists"));
  21887. } else {
  21888. goto handle_unusual;
  21889. }
  21890. if (input->ExpectTag(18)) goto parse_gongzhonglists;
  21891. if (input->ExpectAtEnd()) goto success;
  21892. break;
  21893. }
  21894. default: {
  21895. handle_unusual:
  21896. if (tag == 0 ||
  21897. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21898. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21899. goto success;
  21900. }
  21901. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  21902. break;
  21903. }
  21904. }
  21905. }
  21906. success:
  21907. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ImportGongZhong)
  21908. return true;
  21909. failure:
  21910. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ImportGongZhong)
  21911. return false;
  21912. #undef DO_
  21913. }
  21914. void XPhone_ImportGongZhong::SerializeWithCachedSizes(
  21915. ::google::protobuf::io::CodedOutputStream* output) const {
  21916. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ImportGongZhong)
  21917. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21918. if (this->has_head()) {
  21919. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  21920. 1, *this->head_, output);
  21921. }
  21922. // repeated string gongzhonglists = 2;
  21923. for (int i = 0; i < this->gongzhonglists_size(); i++) {
  21924. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  21925. this->gongzhonglists(i).data(), this->gongzhonglists(i).length(),
  21926. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  21927. "XPhonePlus.XPhone_ImportGongZhong.gongzhonglists");
  21928. ::google::protobuf::internal::WireFormatLite::WriteString(
  21929. 2, this->gongzhonglists(i), output);
  21930. }
  21931. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ImportGongZhong)
  21932. }
  21933. ::google::protobuf::uint8* XPhone_ImportGongZhong::SerializeWithCachedSizesToArray(
  21934. ::google::protobuf::uint8* target) const {
  21935. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ImportGongZhong)
  21936. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21937. if (this->has_head()) {
  21938. target = ::google::protobuf::internal::WireFormatLite::
  21939. WriteMessageNoVirtualToArray(
  21940. 1, *this->head_, target);
  21941. }
  21942. // repeated string gongzhonglists = 2;
  21943. for (int i = 0; i < this->gongzhonglists_size(); i++) {
  21944. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  21945. this->gongzhonglists(i).data(), this->gongzhonglists(i).length(),
  21946. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  21947. "XPhonePlus.XPhone_ImportGongZhong.gongzhonglists");
  21948. target = ::google::protobuf::internal::WireFormatLite::
  21949. WriteStringToArray(2, this->gongzhonglists(i), target);
  21950. }
  21951. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ImportGongZhong)
  21952. return target;
  21953. }
  21954. int XPhone_ImportGongZhong::ByteSize() const {
  21955. int total_size = 0;
  21956. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  21957. if (this->has_head()) {
  21958. total_size += 1 +
  21959. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  21960. *this->head_);
  21961. }
  21962. // repeated string gongzhonglists = 2;
  21963. total_size += 1 * this->gongzhonglists_size();
  21964. for (int i = 0; i < this->gongzhonglists_size(); i++) {
  21965. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  21966. this->gongzhonglists(i));
  21967. }
  21968. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21969. _cached_size_ = total_size;
  21970. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21971. return total_size;
  21972. }
  21973. void XPhone_ImportGongZhong::MergeFrom(const ::google::protobuf::Message& from) {
  21974. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  21975. const XPhone_ImportGongZhong* source =
  21976. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ImportGongZhong>(
  21977. &from);
  21978. if (source == NULL) {
  21979. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21980. } else {
  21981. MergeFrom(*source);
  21982. }
  21983. }
  21984. void XPhone_ImportGongZhong::MergeFrom(const XPhone_ImportGongZhong& from) {
  21985. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  21986. gongzhonglists_.MergeFrom(from.gongzhonglists_);
  21987. if (from.has_head()) {
  21988. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  21989. }
  21990. }
  21991. void XPhone_ImportGongZhong::CopyFrom(const ::google::protobuf::Message& from) {
  21992. if (&from == this) return;
  21993. Clear();
  21994. MergeFrom(from);
  21995. }
  21996. void XPhone_ImportGongZhong::CopyFrom(const XPhone_ImportGongZhong& from) {
  21997. if (&from == this) return;
  21998. Clear();
  21999. MergeFrom(from);
  22000. }
  22001. bool XPhone_ImportGongZhong::IsInitialized() const {
  22002. return true;
  22003. }
  22004. void XPhone_ImportGongZhong::Swap(XPhone_ImportGongZhong* other) {
  22005. if (other == this) return;
  22006. InternalSwap(other);
  22007. }
  22008. void XPhone_ImportGongZhong::InternalSwap(XPhone_ImportGongZhong* other) {
  22009. std::swap(head_, other->head_);
  22010. gongzhonglists_.UnsafeArenaSwap(&other->gongzhonglists_);
  22011. _internal_metadata_.Swap(&other->_internal_metadata_);
  22012. std::swap(_cached_size_, other->_cached_size_);
  22013. }
  22014. ::google::protobuf::Metadata XPhone_ImportGongZhong::GetMetadata() const {
  22015. protobuf_AssignDescriptorsOnce();
  22016. ::google::protobuf::Metadata metadata;
  22017. metadata.descriptor = XPhone_ImportGongZhong_descriptor_;
  22018. metadata.reflection = XPhone_ImportGongZhong_reflection_;
  22019. return metadata;
  22020. }
  22021. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  22022. // XPhone_ImportGongZhong
  22023. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22024. bool XPhone_ImportGongZhong::has_head() const {
  22025. return !_is_default_instance_ && head_ != NULL;
  22026. }
  22027. void XPhone_ImportGongZhong::clear_head() {
  22028. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  22029. head_ = NULL;
  22030. }
  22031. const ::XPhonePlus::XPhone_MsgBase& XPhone_ImportGongZhong::head() const {
  22032. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportGongZhong.head)
  22033. return head_ != NULL ? *head_ : *default_instance_->head_;
  22034. }
  22035. ::XPhonePlus::XPhone_MsgBase* XPhone_ImportGongZhong::mutable_head() {
  22036. if (head_ == NULL) {
  22037. head_ = new ::XPhonePlus::XPhone_MsgBase;
  22038. }
  22039. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportGongZhong.head)
  22040. return head_;
  22041. }
  22042. ::XPhonePlus::XPhone_MsgBase* XPhone_ImportGongZhong::release_head() {
  22043. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  22044. head_ = NULL;
  22045. return temp;
  22046. }
  22047. void XPhone_ImportGongZhong::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  22048. delete head_;
  22049. head_ = head;
  22050. if (head) {
  22051. } else {
  22052. }
  22053. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ImportGongZhong.head)
  22054. }
  22055. // repeated string gongzhonglists = 2;
  22056. int XPhone_ImportGongZhong::gongzhonglists_size() const {
  22057. return gongzhonglists_.size();
  22058. }
  22059. void XPhone_ImportGongZhong::clear_gongzhonglists() {
  22060. gongzhonglists_.Clear();
  22061. }
  22062. const ::std::string& XPhone_ImportGongZhong::gongzhonglists(int index) const {
  22063. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
  22064. return gongzhonglists_.Get(index);
  22065. }
  22066. ::std::string* XPhone_ImportGongZhong::mutable_gongzhonglists(int index) {
  22067. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
  22068. return gongzhonglists_.Mutable(index);
  22069. }
  22070. void XPhone_ImportGongZhong::set_gongzhonglists(int index, const ::std::string& value) {
  22071. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
  22072. gongzhonglists_.Mutable(index)->assign(value);
  22073. }
  22074. void XPhone_ImportGongZhong::set_gongzhonglists(int index, const char* value) {
  22075. gongzhonglists_.Mutable(index)->assign(value);
  22076. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
  22077. }
  22078. void XPhone_ImportGongZhong::set_gongzhonglists(int index, const char* value, size_t size) {
  22079. gongzhonglists_.Mutable(index)->assign(
  22080. reinterpret_cast<const char*>(value), size);
  22081. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
  22082. }
  22083. ::std::string* XPhone_ImportGongZhong::add_gongzhonglists() {
  22084. return gongzhonglists_.Add();
  22085. }
  22086. void XPhone_ImportGongZhong::add_gongzhonglists(const ::std::string& value) {
  22087. gongzhonglists_.Add()->assign(value);
  22088. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
  22089. }
  22090. void XPhone_ImportGongZhong::add_gongzhonglists(const char* value) {
  22091. gongzhonglists_.Add()->assign(value);
  22092. // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
  22093. }
  22094. void XPhone_ImportGongZhong::add_gongzhonglists(const char* value, size_t size) {
  22095. gongzhonglists_.Add()->assign(reinterpret_cast<const char*>(value), size);
  22096. // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
  22097. }
  22098. const ::google::protobuf::RepeatedPtrField< ::std::string>&
  22099. XPhone_ImportGongZhong::gongzhonglists() const {
  22100. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
  22101. return gongzhonglists_;
  22102. }
  22103. ::google::protobuf::RepeatedPtrField< ::std::string>*
  22104. XPhone_ImportGongZhong::mutable_gongzhonglists() {
  22105. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
  22106. return &gongzhonglists_;
  22107. }
  22108. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  22109. // ===================================================================
  22110. #ifndef _MSC_VER
  22111. const int XPhone_WifiConnect::kHeadFieldNumber;
  22112. const int XPhone_WifiConnect::kStrIPFieldNumber;
  22113. const int XPhone_WifiConnect::kIPortFieldNumber;
  22114. const int XPhone_WifiConnect::kBConnectFieldNumber;
  22115. #endif // !_MSC_VER
  22116. XPhone_WifiConnect::XPhone_WifiConnect()
  22117. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  22118. SharedCtor();
  22119. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_WifiConnect)
  22120. }
  22121. void XPhone_WifiConnect::InitAsDefaultInstance() {
  22122. _is_default_instance_ = true;
  22123. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  22124. }
  22125. XPhone_WifiConnect::XPhone_WifiConnect(const XPhone_WifiConnect& from)
  22126. : ::google::protobuf::Message(),
  22127. _internal_metadata_(NULL) {
  22128. SharedCtor();
  22129. MergeFrom(from);
  22130. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_WifiConnect)
  22131. }
  22132. void XPhone_WifiConnect::SharedCtor() {
  22133. _is_default_instance_ = false;
  22134. ::google::protobuf::internal::GetEmptyString();
  22135. _cached_size_ = 0;
  22136. head_ = NULL;
  22137. strip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  22138. iport_ = 0;
  22139. bconnect_ = false;
  22140. }
  22141. XPhone_WifiConnect::~XPhone_WifiConnect() {
  22142. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_WifiConnect)
  22143. SharedDtor();
  22144. }
  22145. void XPhone_WifiConnect::SharedDtor() {
  22146. strip_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  22147. if (this != default_instance_) {
  22148. delete head_;
  22149. }
  22150. }
  22151. void XPhone_WifiConnect::SetCachedSize(int size) const {
  22152. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22153. _cached_size_ = size;
  22154. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22155. }
  22156. const ::google::protobuf::Descriptor* XPhone_WifiConnect::descriptor() {
  22157. protobuf_AssignDescriptorsOnce();
  22158. return XPhone_WifiConnect_descriptor_;
  22159. }
  22160. const XPhone_WifiConnect& XPhone_WifiConnect::default_instance() {
  22161. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  22162. return *default_instance_;
  22163. }
  22164. XPhone_WifiConnect* XPhone_WifiConnect::default_instance_ = NULL;
  22165. XPhone_WifiConnect* XPhone_WifiConnect::New(::google::protobuf::Arena* arena) const {
  22166. XPhone_WifiConnect* n = new XPhone_WifiConnect;
  22167. if (arena != NULL) {
  22168. arena->Own(n);
  22169. }
  22170. return n;
  22171. }
  22172. void XPhone_WifiConnect::Clear() {
  22173. #define ZR_HELPER_(f) reinterpret_cast<char*>(\
  22174. &reinterpret_cast<XPhone_WifiConnect*>(16)->f)
  22175. #define ZR_(first, last) do {\
  22176. ::memset(&first, 0,\
  22177. ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
  22178. } while (0)
  22179. ZR_(iport_, bconnect_);
  22180. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  22181. head_ = NULL;
  22182. strip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  22183. #undef ZR_HELPER_
  22184. #undef ZR_
  22185. }
  22186. bool XPhone_WifiConnect::MergePartialFromCodedStream(
  22187. ::google::protobuf::io::CodedInputStream* input) {
  22188. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  22189. ::google::protobuf::uint32 tag;
  22190. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_WifiConnect)
  22191. for (;;) {
  22192. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  22193. tag = p.first;
  22194. if (!p.second) goto handle_unusual;
  22195. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22196. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22197. case 1: {
  22198. if (tag == 10) {
  22199. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  22200. input, mutable_head()));
  22201. } else {
  22202. goto handle_unusual;
  22203. }
  22204. if (input->ExpectTag(18)) goto parse_strIP;
  22205. break;
  22206. }
  22207. // optional string strIP = 2;
  22208. case 2: {
  22209. if (tag == 18) {
  22210. parse_strIP:
  22211. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  22212. input, this->mutable_strip()));
  22213. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  22214. this->strip().data(), this->strip().length(),
  22215. ::google::protobuf::internal::WireFormatLite::PARSE,
  22216. "XPhonePlus.XPhone_WifiConnect.strIP"));
  22217. } else {
  22218. goto handle_unusual;
  22219. }
  22220. if (input->ExpectTag(24)) goto parse_iPort;
  22221. break;
  22222. }
  22223. // optional int32 iPort = 3;
  22224. case 3: {
  22225. if (tag == 24) {
  22226. parse_iPort:
  22227. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22228. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22229. input, &iport_)));
  22230. } else {
  22231. goto handle_unusual;
  22232. }
  22233. if (input->ExpectTag(32)) goto parse_bConnect;
  22234. break;
  22235. }
  22236. // optional bool bConnect = 4;
  22237. case 4: {
  22238. if (tag == 32) {
  22239. parse_bConnect:
  22240. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22241. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  22242. input, &bconnect_)));
  22243. } else {
  22244. goto handle_unusual;
  22245. }
  22246. if (input->ExpectAtEnd()) goto success;
  22247. break;
  22248. }
  22249. default: {
  22250. handle_unusual:
  22251. if (tag == 0 ||
  22252. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22253. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22254. goto success;
  22255. }
  22256. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  22257. break;
  22258. }
  22259. }
  22260. }
  22261. success:
  22262. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_WifiConnect)
  22263. return true;
  22264. failure:
  22265. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_WifiConnect)
  22266. return false;
  22267. #undef DO_
  22268. }
  22269. void XPhone_WifiConnect::SerializeWithCachedSizes(
  22270. ::google::protobuf::io::CodedOutputStream* output) const {
  22271. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_WifiConnect)
  22272. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22273. if (this->has_head()) {
  22274. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  22275. 1, *this->head_, output);
  22276. }
  22277. // optional string strIP = 2;
  22278. if (this->strip().size() > 0) {
  22279. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  22280. this->strip().data(), this->strip().length(),
  22281. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  22282. "XPhonePlus.XPhone_WifiConnect.strIP");
  22283. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  22284. 2, this->strip(), output);
  22285. }
  22286. // optional int32 iPort = 3;
  22287. if (this->iport() != 0) {
  22288. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->iport(), output);
  22289. }
  22290. // optional bool bConnect = 4;
  22291. if (this->bconnect() != 0) {
  22292. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->bconnect(), output);
  22293. }
  22294. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_WifiConnect)
  22295. }
  22296. ::google::protobuf::uint8* XPhone_WifiConnect::SerializeWithCachedSizesToArray(
  22297. ::google::protobuf::uint8* target) const {
  22298. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_WifiConnect)
  22299. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22300. if (this->has_head()) {
  22301. target = ::google::protobuf::internal::WireFormatLite::
  22302. WriteMessageNoVirtualToArray(
  22303. 1, *this->head_, target);
  22304. }
  22305. // optional string strIP = 2;
  22306. if (this->strip().size() > 0) {
  22307. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  22308. this->strip().data(), this->strip().length(),
  22309. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  22310. "XPhonePlus.XPhone_WifiConnect.strIP");
  22311. target =
  22312. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  22313. 2, this->strip(), target);
  22314. }
  22315. // optional int32 iPort = 3;
  22316. if (this->iport() != 0) {
  22317. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->iport(), target);
  22318. }
  22319. // optional bool bConnect = 4;
  22320. if (this->bconnect() != 0) {
  22321. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->bconnect(), target);
  22322. }
  22323. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_WifiConnect)
  22324. return target;
  22325. }
  22326. int XPhone_WifiConnect::ByteSize() const {
  22327. int total_size = 0;
  22328. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22329. if (this->has_head()) {
  22330. total_size += 1 +
  22331. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  22332. *this->head_);
  22333. }
  22334. // optional string strIP = 2;
  22335. if (this->strip().size() > 0) {
  22336. total_size += 1 +
  22337. ::google::protobuf::internal::WireFormatLite::StringSize(
  22338. this->strip());
  22339. }
  22340. // optional int32 iPort = 3;
  22341. if (this->iport() != 0) {
  22342. total_size += 1 +
  22343. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22344. this->iport());
  22345. }
  22346. // optional bool bConnect = 4;
  22347. if (this->bconnect() != 0) {
  22348. total_size += 1 + 1;
  22349. }
  22350. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22351. _cached_size_ = total_size;
  22352. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22353. return total_size;
  22354. }
  22355. void XPhone_WifiConnect::MergeFrom(const ::google::protobuf::Message& from) {
  22356. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  22357. const XPhone_WifiConnect* source =
  22358. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_WifiConnect>(
  22359. &from);
  22360. if (source == NULL) {
  22361. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22362. } else {
  22363. MergeFrom(*source);
  22364. }
  22365. }
  22366. void XPhone_WifiConnect::MergeFrom(const XPhone_WifiConnect& from) {
  22367. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  22368. if (from.has_head()) {
  22369. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  22370. }
  22371. if (from.strip().size() > 0) {
  22372. strip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strip_);
  22373. }
  22374. if (from.iport() != 0) {
  22375. set_iport(from.iport());
  22376. }
  22377. if (from.bconnect() != 0) {
  22378. set_bconnect(from.bconnect());
  22379. }
  22380. }
  22381. void XPhone_WifiConnect::CopyFrom(const ::google::protobuf::Message& from) {
  22382. if (&from == this) return;
  22383. Clear();
  22384. MergeFrom(from);
  22385. }
  22386. void XPhone_WifiConnect::CopyFrom(const XPhone_WifiConnect& from) {
  22387. if (&from == this) return;
  22388. Clear();
  22389. MergeFrom(from);
  22390. }
  22391. bool XPhone_WifiConnect::IsInitialized() const {
  22392. return true;
  22393. }
  22394. void XPhone_WifiConnect::Swap(XPhone_WifiConnect* other) {
  22395. if (other == this) return;
  22396. InternalSwap(other);
  22397. }
  22398. void XPhone_WifiConnect::InternalSwap(XPhone_WifiConnect* other) {
  22399. std::swap(head_, other->head_);
  22400. strip_.Swap(&other->strip_);
  22401. std::swap(iport_, other->iport_);
  22402. std::swap(bconnect_, other->bconnect_);
  22403. _internal_metadata_.Swap(&other->_internal_metadata_);
  22404. std::swap(_cached_size_, other->_cached_size_);
  22405. }
  22406. ::google::protobuf::Metadata XPhone_WifiConnect::GetMetadata() const {
  22407. protobuf_AssignDescriptorsOnce();
  22408. ::google::protobuf::Metadata metadata;
  22409. metadata.descriptor = XPhone_WifiConnect_descriptor_;
  22410. metadata.reflection = XPhone_WifiConnect_reflection_;
  22411. return metadata;
  22412. }
  22413. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  22414. // XPhone_WifiConnect
  22415. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22416. bool XPhone_WifiConnect::has_head() const {
  22417. return !_is_default_instance_ && head_ != NULL;
  22418. }
  22419. void XPhone_WifiConnect::clear_head() {
  22420. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  22421. head_ = NULL;
  22422. }
  22423. const ::XPhonePlus::XPhone_MsgBase& XPhone_WifiConnect::head() const {
  22424. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_WifiConnect.head)
  22425. return head_ != NULL ? *head_ : *default_instance_->head_;
  22426. }
  22427. ::XPhonePlus::XPhone_MsgBase* XPhone_WifiConnect::mutable_head() {
  22428. if (head_ == NULL) {
  22429. head_ = new ::XPhonePlus::XPhone_MsgBase;
  22430. }
  22431. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_WifiConnect.head)
  22432. return head_;
  22433. }
  22434. ::XPhonePlus::XPhone_MsgBase* XPhone_WifiConnect::release_head() {
  22435. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  22436. head_ = NULL;
  22437. return temp;
  22438. }
  22439. void XPhone_WifiConnect::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  22440. delete head_;
  22441. head_ = head;
  22442. if (head) {
  22443. } else {
  22444. }
  22445. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_WifiConnect.head)
  22446. }
  22447. // optional string strIP = 2;
  22448. void XPhone_WifiConnect::clear_strip() {
  22449. strip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  22450. }
  22451. const ::std::string& XPhone_WifiConnect::strip() const {
  22452. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_WifiConnect.strIP)
  22453. return strip_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  22454. }
  22455. void XPhone_WifiConnect::set_strip(const ::std::string& value) {
  22456. strip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  22457. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_WifiConnect.strIP)
  22458. }
  22459. void XPhone_WifiConnect::set_strip(const char* value) {
  22460. strip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  22461. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_WifiConnect.strIP)
  22462. }
  22463. void XPhone_WifiConnect::set_strip(const char* value, size_t size) {
  22464. strip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  22465. ::std::string(reinterpret_cast<const char*>(value), size));
  22466. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_WifiConnect.strIP)
  22467. }
  22468. ::std::string* XPhone_WifiConnect::mutable_strip() {
  22469. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_WifiConnect.strIP)
  22470. return strip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  22471. }
  22472. ::std::string* XPhone_WifiConnect::release_strip() {
  22473. return strip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  22474. }
  22475. void XPhone_WifiConnect::set_allocated_strip(::std::string* strip) {
  22476. if (strip != NULL) {
  22477. } else {
  22478. }
  22479. strip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strip);
  22480. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_WifiConnect.strIP)
  22481. }
  22482. // optional int32 iPort = 3;
  22483. void XPhone_WifiConnect::clear_iport() {
  22484. iport_ = 0;
  22485. }
  22486. ::google::protobuf::int32 XPhone_WifiConnect::iport() const {
  22487. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_WifiConnect.iPort)
  22488. return iport_;
  22489. }
  22490. void XPhone_WifiConnect::set_iport(::google::protobuf::int32 value) {
  22491. iport_ = value;
  22492. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_WifiConnect.iPort)
  22493. }
  22494. // optional bool bConnect = 4;
  22495. void XPhone_WifiConnect::clear_bconnect() {
  22496. bconnect_ = false;
  22497. }
  22498. bool XPhone_WifiConnect::bconnect() const {
  22499. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_WifiConnect.bConnect)
  22500. return bconnect_;
  22501. }
  22502. void XPhone_WifiConnect::set_bconnect(bool value) {
  22503. bconnect_ = value;
  22504. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_WifiConnect.bConnect)
  22505. }
  22506. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  22507. // ===================================================================
  22508. #ifndef _MSC_VER
  22509. const int XPhone_AdbCommandReq::kHeadFieldNumber;
  22510. const int XPhone_AdbCommandReq::kCommandListsFieldNumber;
  22511. const int XPhone_AdbCommandReq::kModeFieldNumber;
  22512. #endif // !_MSC_VER
  22513. XPhone_AdbCommandReq::XPhone_AdbCommandReq()
  22514. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  22515. SharedCtor();
  22516. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AdbCommandReq)
  22517. }
  22518. void XPhone_AdbCommandReq::InitAsDefaultInstance() {
  22519. _is_default_instance_ = true;
  22520. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  22521. }
  22522. XPhone_AdbCommandReq::XPhone_AdbCommandReq(const XPhone_AdbCommandReq& from)
  22523. : ::google::protobuf::Message(),
  22524. _internal_metadata_(NULL) {
  22525. SharedCtor();
  22526. MergeFrom(from);
  22527. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AdbCommandReq)
  22528. }
  22529. void XPhone_AdbCommandReq::SharedCtor() {
  22530. _is_default_instance_ = false;
  22531. ::google::protobuf::internal::GetEmptyString();
  22532. _cached_size_ = 0;
  22533. head_ = NULL;
  22534. mode_ = 0;
  22535. }
  22536. XPhone_AdbCommandReq::~XPhone_AdbCommandReq() {
  22537. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AdbCommandReq)
  22538. SharedDtor();
  22539. }
  22540. void XPhone_AdbCommandReq::SharedDtor() {
  22541. if (this != default_instance_) {
  22542. delete head_;
  22543. }
  22544. }
  22545. void XPhone_AdbCommandReq::SetCachedSize(int size) const {
  22546. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22547. _cached_size_ = size;
  22548. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22549. }
  22550. const ::google::protobuf::Descriptor* XPhone_AdbCommandReq::descriptor() {
  22551. protobuf_AssignDescriptorsOnce();
  22552. return XPhone_AdbCommandReq_descriptor_;
  22553. }
  22554. const XPhone_AdbCommandReq& XPhone_AdbCommandReq::default_instance() {
  22555. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  22556. return *default_instance_;
  22557. }
  22558. XPhone_AdbCommandReq* XPhone_AdbCommandReq::default_instance_ = NULL;
  22559. XPhone_AdbCommandReq* XPhone_AdbCommandReq::New(::google::protobuf::Arena* arena) const {
  22560. XPhone_AdbCommandReq* n = new XPhone_AdbCommandReq;
  22561. if (arena != NULL) {
  22562. arena->Own(n);
  22563. }
  22564. return n;
  22565. }
  22566. void XPhone_AdbCommandReq::Clear() {
  22567. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  22568. head_ = NULL;
  22569. mode_ = 0;
  22570. commandlists_.Clear();
  22571. }
  22572. bool XPhone_AdbCommandReq::MergePartialFromCodedStream(
  22573. ::google::protobuf::io::CodedInputStream* input) {
  22574. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  22575. ::google::protobuf::uint32 tag;
  22576. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AdbCommandReq)
  22577. for (;;) {
  22578. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  22579. tag = p.first;
  22580. if (!p.second) goto handle_unusual;
  22581. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22582. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22583. case 1: {
  22584. if (tag == 10) {
  22585. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  22586. input, mutable_head()));
  22587. } else {
  22588. goto handle_unusual;
  22589. }
  22590. if (input->ExpectTag(18)) goto parse_commandLists;
  22591. break;
  22592. }
  22593. // repeated string commandLists = 2;
  22594. case 2: {
  22595. if (tag == 18) {
  22596. parse_commandLists:
  22597. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  22598. input, this->add_commandlists()));
  22599. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  22600. this->commandlists(this->commandlists_size() - 1).data(),
  22601. this->commandlists(this->commandlists_size() - 1).length(),
  22602. ::google::protobuf::internal::WireFormatLite::PARSE,
  22603. "XPhonePlus.XPhone_AdbCommandReq.commandLists"));
  22604. } else {
  22605. goto handle_unusual;
  22606. }
  22607. if (input->ExpectTag(18)) goto parse_commandLists;
  22608. if (input->ExpectTag(24)) goto parse_mode;
  22609. break;
  22610. }
  22611. // optional int32 mode = 3;
  22612. case 3: {
  22613. if (tag == 24) {
  22614. parse_mode:
  22615. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22616. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22617. input, &mode_)));
  22618. } else {
  22619. goto handle_unusual;
  22620. }
  22621. if (input->ExpectAtEnd()) goto success;
  22622. break;
  22623. }
  22624. default: {
  22625. handle_unusual:
  22626. if (tag == 0 ||
  22627. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22628. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22629. goto success;
  22630. }
  22631. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  22632. break;
  22633. }
  22634. }
  22635. }
  22636. success:
  22637. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AdbCommandReq)
  22638. return true;
  22639. failure:
  22640. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AdbCommandReq)
  22641. return false;
  22642. #undef DO_
  22643. }
  22644. void XPhone_AdbCommandReq::SerializeWithCachedSizes(
  22645. ::google::protobuf::io::CodedOutputStream* output) const {
  22646. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AdbCommandReq)
  22647. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22648. if (this->has_head()) {
  22649. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  22650. 1, *this->head_, output);
  22651. }
  22652. // repeated string commandLists = 2;
  22653. for (int i = 0; i < this->commandlists_size(); i++) {
  22654. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  22655. this->commandlists(i).data(), this->commandlists(i).length(),
  22656. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  22657. "XPhonePlus.XPhone_AdbCommandReq.commandLists");
  22658. ::google::protobuf::internal::WireFormatLite::WriteString(
  22659. 2, this->commandlists(i), output);
  22660. }
  22661. // optional int32 mode = 3;
  22662. if (this->mode() != 0) {
  22663. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mode(), output);
  22664. }
  22665. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AdbCommandReq)
  22666. }
  22667. ::google::protobuf::uint8* XPhone_AdbCommandReq::SerializeWithCachedSizesToArray(
  22668. ::google::protobuf::uint8* target) const {
  22669. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AdbCommandReq)
  22670. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22671. if (this->has_head()) {
  22672. target = ::google::protobuf::internal::WireFormatLite::
  22673. WriteMessageNoVirtualToArray(
  22674. 1, *this->head_, target);
  22675. }
  22676. // repeated string commandLists = 2;
  22677. for (int i = 0; i < this->commandlists_size(); i++) {
  22678. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  22679. this->commandlists(i).data(), this->commandlists(i).length(),
  22680. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  22681. "XPhonePlus.XPhone_AdbCommandReq.commandLists");
  22682. target = ::google::protobuf::internal::WireFormatLite::
  22683. WriteStringToArray(2, this->commandlists(i), target);
  22684. }
  22685. // optional int32 mode = 3;
  22686. if (this->mode() != 0) {
  22687. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mode(), target);
  22688. }
  22689. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AdbCommandReq)
  22690. return target;
  22691. }
  22692. int XPhone_AdbCommandReq::ByteSize() const {
  22693. int total_size = 0;
  22694. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22695. if (this->has_head()) {
  22696. total_size += 1 +
  22697. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  22698. *this->head_);
  22699. }
  22700. // optional int32 mode = 3;
  22701. if (this->mode() != 0) {
  22702. total_size += 1 +
  22703. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22704. this->mode());
  22705. }
  22706. // repeated string commandLists = 2;
  22707. total_size += 1 * this->commandlists_size();
  22708. for (int i = 0; i < this->commandlists_size(); i++) {
  22709. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  22710. this->commandlists(i));
  22711. }
  22712. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22713. _cached_size_ = total_size;
  22714. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22715. return total_size;
  22716. }
  22717. void XPhone_AdbCommandReq::MergeFrom(const ::google::protobuf::Message& from) {
  22718. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  22719. const XPhone_AdbCommandReq* source =
  22720. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AdbCommandReq>(
  22721. &from);
  22722. if (source == NULL) {
  22723. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22724. } else {
  22725. MergeFrom(*source);
  22726. }
  22727. }
  22728. void XPhone_AdbCommandReq::MergeFrom(const XPhone_AdbCommandReq& from) {
  22729. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  22730. commandlists_.MergeFrom(from.commandlists_);
  22731. if (from.has_head()) {
  22732. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  22733. }
  22734. if (from.mode() != 0) {
  22735. set_mode(from.mode());
  22736. }
  22737. }
  22738. void XPhone_AdbCommandReq::CopyFrom(const ::google::protobuf::Message& from) {
  22739. if (&from == this) return;
  22740. Clear();
  22741. MergeFrom(from);
  22742. }
  22743. void XPhone_AdbCommandReq::CopyFrom(const XPhone_AdbCommandReq& from) {
  22744. if (&from == this) return;
  22745. Clear();
  22746. MergeFrom(from);
  22747. }
  22748. bool XPhone_AdbCommandReq::IsInitialized() const {
  22749. return true;
  22750. }
  22751. void XPhone_AdbCommandReq::Swap(XPhone_AdbCommandReq* other) {
  22752. if (other == this) return;
  22753. InternalSwap(other);
  22754. }
  22755. void XPhone_AdbCommandReq::InternalSwap(XPhone_AdbCommandReq* other) {
  22756. std::swap(head_, other->head_);
  22757. commandlists_.UnsafeArenaSwap(&other->commandlists_);
  22758. std::swap(mode_, other->mode_);
  22759. _internal_metadata_.Swap(&other->_internal_metadata_);
  22760. std::swap(_cached_size_, other->_cached_size_);
  22761. }
  22762. ::google::protobuf::Metadata XPhone_AdbCommandReq::GetMetadata() const {
  22763. protobuf_AssignDescriptorsOnce();
  22764. ::google::protobuf::Metadata metadata;
  22765. metadata.descriptor = XPhone_AdbCommandReq_descriptor_;
  22766. metadata.reflection = XPhone_AdbCommandReq_reflection_;
  22767. return metadata;
  22768. }
  22769. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  22770. // XPhone_AdbCommandReq
  22771. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22772. bool XPhone_AdbCommandReq::has_head() const {
  22773. return !_is_default_instance_ && head_ != NULL;
  22774. }
  22775. void XPhone_AdbCommandReq::clear_head() {
  22776. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  22777. head_ = NULL;
  22778. }
  22779. const ::XPhonePlus::XPhone_MsgBase& XPhone_AdbCommandReq::head() const {
  22780. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AdbCommandReq.head)
  22781. return head_ != NULL ? *head_ : *default_instance_->head_;
  22782. }
  22783. ::XPhonePlus::XPhone_MsgBase* XPhone_AdbCommandReq::mutable_head() {
  22784. if (head_ == NULL) {
  22785. head_ = new ::XPhonePlus::XPhone_MsgBase;
  22786. }
  22787. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AdbCommandReq.head)
  22788. return head_;
  22789. }
  22790. ::XPhonePlus::XPhone_MsgBase* XPhone_AdbCommandReq::release_head() {
  22791. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  22792. head_ = NULL;
  22793. return temp;
  22794. }
  22795. void XPhone_AdbCommandReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  22796. delete head_;
  22797. head_ = head;
  22798. if (head) {
  22799. } else {
  22800. }
  22801. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AdbCommandReq.head)
  22802. }
  22803. // repeated string commandLists = 2;
  22804. int XPhone_AdbCommandReq::commandlists_size() const {
  22805. return commandlists_.size();
  22806. }
  22807. void XPhone_AdbCommandReq::clear_commandlists() {
  22808. commandlists_.Clear();
  22809. }
  22810. const ::std::string& XPhone_AdbCommandReq::commandlists(int index) const {
  22811. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AdbCommandReq.commandLists)
  22812. return commandlists_.Get(index);
  22813. }
  22814. ::std::string* XPhone_AdbCommandReq::mutable_commandlists(int index) {
  22815. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AdbCommandReq.commandLists)
  22816. return commandlists_.Mutable(index);
  22817. }
  22818. void XPhone_AdbCommandReq::set_commandlists(int index, const ::std::string& value) {
  22819. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AdbCommandReq.commandLists)
  22820. commandlists_.Mutable(index)->assign(value);
  22821. }
  22822. void XPhone_AdbCommandReq::set_commandlists(int index, const char* value) {
  22823. commandlists_.Mutable(index)->assign(value);
  22824. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AdbCommandReq.commandLists)
  22825. }
  22826. void XPhone_AdbCommandReq::set_commandlists(int index, const char* value, size_t size) {
  22827. commandlists_.Mutable(index)->assign(
  22828. reinterpret_cast<const char*>(value), size);
  22829. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AdbCommandReq.commandLists)
  22830. }
  22831. ::std::string* XPhone_AdbCommandReq::add_commandlists() {
  22832. return commandlists_.Add();
  22833. }
  22834. void XPhone_AdbCommandReq::add_commandlists(const ::std::string& value) {
  22835. commandlists_.Add()->assign(value);
  22836. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_AdbCommandReq.commandLists)
  22837. }
  22838. void XPhone_AdbCommandReq::add_commandlists(const char* value) {
  22839. commandlists_.Add()->assign(value);
  22840. // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_AdbCommandReq.commandLists)
  22841. }
  22842. void XPhone_AdbCommandReq::add_commandlists(const char* value, size_t size) {
  22843. commandlists_.Add()->assign(reinterpret_cast<const char*>(value), size);
  22844. // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_AdbCommandReq.commandLists)
  22845. }
  22846. const ::google::protobuf::RepeatedPtrField< ::std::string>&
  22847. XPhone_AdbCommandReq::commandlists() const {
  22848. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_AdbCommandReq.commandLists)
  22849. return commandlists_;
  22850. }
  22851. ::google::protobuf::RepeatedPtrField< ::std::string>*
  22852. XPhone_AdbCommandReq::mutable_commandlists() {
  22853. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_AdbCommandReq.commandLists)
  22854. return &commandlists_;
  22855. }
  22856. // optional int32 mode = 3;
  22857. void XPhone_AdbCommandReq::clear_mode() {
  22858. mode_ = 0;
  22859. }
  22860. ::google::protobuf::int32 XPhone_AdbCommandReq::mode() const {
  22861. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AdbCommandReq.mode)
  22862. return mode_;
  22863. }
  22864. void XPhone_AdbCommandReq::set_mode(::google::protobuf::int32 value) {
  22865. mode_ = value;
  22866. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AdbCommandReq.mode)
  22867. }
  22868. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  22869. // ===================================================================
  22870. #ifndef _MSC_VER
  22871. const int XPhone_AdbCommandRsp::kHeadFieldNumber;
  22872. const int XPhone_AdbCommandRsp::kStrResultFieldNumber;
  22873. #endif // !_MSC_VER
  22874. XPhone_AdbCommandRsp::XPhone_AdbCommandRsp()
  22875. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  22876. SharedCtor();
  22877. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AdbCommandRsp)
  22878. }
  22879. void XPhone_AdbCommandRsp::InitAsDefaultInstance() {
  22880. _is_default_instance_ = true;
  22881. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  22882. }
  22883. XPhone_AdbCommandRsp::XPhone_AdbCommandRsp(const XPhone_AdbCommandRsp& from)
  22884. : ::google::protobuf::Message(),
  22885. _internal_metadata_(NULL) {
  22886. SharedCtor();
  22887. MergeFrom(from);
  22888. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AdbCommandRsp)
  22889. }
  22890. void XPhone_AdbCommandRsp::SharedCtor() {
  22891. _is_default_instance_ = false;
  22892. ::google::protobuf::internal::GetEmptyString();
  22893. _cached_size_ = 0;
  22894. head_ = NULL;
  22895. strresult_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  22896. }
  22897. XPhone_AdbCommandRsp::~XPhone_AdbCommandRsp() {
  22898. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AdbCommandRsp)
  22899. SharedDtor();
  22900. }
  22901. void XPhone_AdbCommandRsp::SharedDtor() {
  22902. strresult_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  22903. if (this != default_instance_) {
  22904. delete head_;
  22905. }
  22906. }
  22907. void XPhone_AdbCommandRsp::SetCachedSize(int size) const {
  22908. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22909. _cached_size_ = size;
  22910. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22911. }
  22912. const ::google::protobuf::Descriptor* XPhone_AdbCommandRsp::descriptor() {
  22913. protobuf_AssignDescriptorsOnce();
  22914. return XPhone_AdbCommandRsp_descriptor_;
  22915. }
  22916. const XPhone_AdbCommandRsp& XPhone_AdbCommandRsp::default_instance() {
  22917. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  22918. return *default_instance_;
  22919. }
  22920. XPhone_AdbCommandRsp* XPhone_AdbCommandRsp::default_instance_ = NULL;
  22921. XPhone_AdbCommandRsp* XPhone_AdbCommandRsp::New(::google::protobuf::Arena* arena) const {
  22922. XPhone_AdbCommandRsp* n = new XPhone_AdbCommandRsp;
  22923. if (arena != NULL) {
  22924. arena->Own(n);
  22925. }
  22926. return n;
  22927. }
  22928. void XPhone_AdbCommandRsp::Clear() {
  22929. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  22930. head_ = NULL;
  22931. strresult_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  22932. }
  22933. bool XPhone_AdbCommandRsp::MergePartialFromCodedStream(
  22934. ::google::protobuf::io::CodedInputStream* input) {
  22935. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  22936. ::google::protobuf::uint32 tag;
  22937. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AdbCommandRsp)
  22938. for (;;) {
  22939. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  22940. tag = p.first;
  22941. if (!p.second) goto handle_unusual;
  22942. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22943. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22944. case 1: {
  22945. if (tag == 10) {
  22946. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  22947. input, mutable_head()));
  22948. } else {
  22949. goto handle_unusual;
  22950. }
  22951. if (input->ExpectTag(18)) goto parse_strResult;
  22952. break;
  22953. }
  22954. // optional string strResult = 2;
  22955. case 2: {
  22956. if (tag == 18) {
  22957. parse_strResult:
  22958. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  22959. input, this->mutable_strresult()));
  22960. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  22961. this->strresult().data(), this->strresult().length(),
  22962. ::google::protobuf::internal::WireFormatLite::PARSE,
  22963. "XPhonePlus.XPhone_AdbCommandRsp.strResult"));
  22964. } else {
  22965. goto handle_unusual;
  22966. }
  22967. if (input->ExpectAtEnd()) goto success;
  22968. break;
  22969. }
  22970. default: {
  22971. handle_unusual:
  22972. if (tag == 0 ||
  22973. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22974. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22975. goto success;
  22976. }
  22977. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  22978. break;
  22979. }
  22980. }
  22981. }
  22982. success:
  22983. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AdbCommandRsp)
  22984. return true;
  22985. failure:
  22986. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AdbCommandRsp)
  22987. return false;
  22988. #undef DO_
  22989. }
  22990. void XPhone_AdbCommandRsp::SerializeWithCachedSizes(
  22991. ::google::protobuf::io::CodedOutputStream* output) const {
  22992. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AdbCommandRsp)
  22993. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  22994. if (this->has_head()) {
  22995. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  22996. 1, *this->head_, output);
  22997. }
  22998. // optional string strResult = 2;
  22999. if (this->strresult().size() > 0) {
  23000. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  23001. this->strresult().data(), this->strresult().length(),
  23002. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  23003. "XPhonePlus.XPhone_AdbCommandRsp.strResult");
  23004. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  23005. 2, this->strresult(), output);
  23006. }
  23007. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AdbCommandRsp)
  23008. }
  23009. ::google::protobuf::uint8* XPhone_AdbCommandRsp::SerializeWithCachedSizesToArray(
  23010. ::google::protobuf::uint8* target) const {
  23011. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AdbCommandRsp)
  23012. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23013. if (this->has_head()) {
  23014. target = ::google::protobuf::internal::WireFormatLite::
  23015. WriteMessageNoVirtualToArray(
  23016. 1, *this->head_, target);
  23017. }
  23018. // optional string strResult = 2;
  23019. if (this->strresult().size() > 0) {
  23020. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  23021. this->strresult().data(), this->strresult().length(),
  23022. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  23023. "XPhonePlus.XPhone_AdbCommandRsp.strResult");
  23024. target =
  23025. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  23026. 2, this->strresult(), target);
  23027. }
  23028. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AdbCommandRsp)
  23029. return target;
  23030. }
  23031. int XPhone_AdbCommandRsp::ByteSize() const {
  23032. int total_size = 0;
  23033. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23034. if (this->has_head()) {
  23035. total_size += 1 +
  23036. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  23037. *this->head_);
  23038. }
  23039. // optional string strResult = 2;
  23040. if (this->strresult().size() > 0) {
  23041. total_size += 1 +
  23042. ::google::protobuf::internal::WireFormatLite::StringSize(
  23043. this->strresult());
  23044. }
  23045. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23046. _cached_size_ = total_size;
  23047. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23048. return total_size;
  23049. }
  23050. void XPhone_AdbCommandRsp::MergeFrom(const ::google::protobuf::Message& from) {
  23051. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  23052. const XPhone_AdbCommandRsp* source =
  23053. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AdbCommandRsp>(
  23054. &from);
  23055. if (source == NULL) {
  23056. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23057. } else {
  23058. MergeFrom(*source);
  23059. }
  23060. }
  23061. void XPhone_AdbCommandRsp::MergeFrom(const XPhone_AdbCommandRsp& from) {
  23062. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  23063. if (from.has_head()) {
  23064. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  23065. }
  23066. if (from.strresult().size() > 0) {
  23067. strresult_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strresult_);
  23068. }
  23069. }
  23070. void XPhone_AdbCommandRsp::CopyFrom(const ::google::protobuf::Message& from) {
  23071. if (&from == this) return;
  23072. Clear();
  23073. MergeFrom(from);
  23074. }
  23075. void XPhone_AdbCommandRsp::CopyFrom(const XPhone_AdbCommandRsp& from) {
  23076. if (&from == this) return;
  23077. Clear();
  23078. MergeFrom(from);
  23079. }
  23080. bool XPhone_AdbCommandRsp::IsInitialized() const {
  23081. return true;
  23082. }
  23083. void XPhone_AdbCommandRsp::Swap(XPhone_AdbCommandRsp* other) {
  23084. if (other == this) return;
  23085. InternalSwap(other);
  23086. }
  23087. void XPhone_AdbCommandRsp::InternalSwap(XPhone_AdbCommandRsp* other) {
  23088. std::swap(head_, other->head_);
  23089. strresult_.Swap(&other->strresult_);
  23090. _internal_metadata_.Swap(&other->_internal_metadata_);
  23091. std::swap(_cached_size_, other->_cached_size_);
  23092. }
  23093. ::google::protobuf::Metadata XPhone_AdbCommandRsp::GetMetadata() const {
  23094. protobuf_AssignDescriptorsOnce();
  23095. ::google::protobuf::Metadata metadata;
  23096. metadata.descriptor = XPhone_AdbCommandRsp_descriptor_;
  23097. metadata.reflection = XPhone_AdbCommandRsp_reflection_;
  23098. return metadata;
  23099. }
  23100. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  23101. // XPhone_AdbCommandRsp
  23102. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23103. bool XPhone_AdbCommandRsp::has_head() const {
  23104. return !_is_default_instance_ && head_ != NULL;
  23105. }
  23106. void XPhone_AdbCommandRsp::clear_head() {
  23107. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  23108. head_ = NULL;
  23109. }
  23110. const ::XPhonePlus::XPhone_MsgBase& XPhone_AdbCommandRsp::head() const {
  23111. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AdbCommandRsp.head)
  23112. return head_ != NULL ? *head_ : *default_instance_->head_;
  23113. }
  23114. ::XPhonePlus::XPhone_MsgBase* XPhone_AdbCommandRsp::mutable_head() {
  23115. if (head_ == NULL) {
  23116. head_ = new ::XPhonePlus::XPhone_MsgBase;
  23117. }
  23118. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AdbCommandRsp.head)
  23119. return head_;
  23120. }
  23121. ::XPhonePlus::XPhone_MsgBase* XPhone_AdbCommandRsp::release_head() {
  23122. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  23123. head_ = NULL;
  23124. return temp;
  23125. }
  23126. void XPhone_AdbCommandRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  23127. delete head_;
  23128. head_ = head;
  23129. if (head) {
  23130. } else {
  23131. }
  23132. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AdbCommandRsp.head)
  23133. }
  23134. // optional string strResult = 2;
  23135. void XPhone_AdbCommandRsp::clear_strresult() {
  23136. strresult_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  23137. }
  23138. const ::std::string& XPhone_AdbCommandRsp::strresult() const {
  23139. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AdbCommandRsp.strResult)
  23140. return strresult_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  23141. }
  23142. void XPhone_AdbCommandRsp::set_strresult(const ::std::string& value) {
  23143. strresult_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  23144. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AdbCommandRsp.strResult)
  23145. }
  23146. void XPhone_AdbCommandRsp::set_strresult(const char* value) {
  23147. strresult_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  23148. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AdbCommandRsp.strResult)
  23149. }
  23150. void XPhone_AdbCommandRsp::set_strresult(const char* value, size_t size) {
  23151. strresult_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  23152. ::std::string(reinterpret_cast<const char*>(value), size));
  23153. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AdbCommandRsp.strResult)
  23154. }
  23155. ::std::string* XPhone_AdbCommandRsp::mutable_strresult() {
  23156. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AdbCommandRsp.strResult)
  23157. return strresult_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  23158. }
  23159. ::std::string* XPhone_AdbCommandRsp::release_strresult() {
  23160. return strresult_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  23161. }
  23162. void XPhone_AdbCommandRsp::set_allocated_strresult(::std::string* strresult) {
  23163. if (strresult != NULL) {
  23164. } else {
  23165. }
  23166. strresult_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strresult);
  23167. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AdbCommandRsp.strResult)
  23168. }
  23169. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  23170. // ===================================================================
  23171. #ifndef _MSC_VER
  23172. const int XPhone_CaijiAddressIDReq::kHeadFieldNumber;
  23173. const int XPhone_CaijiAddressIDReq::kPhoneNumbersFieldNumber;
  23174. const int XPhone_CaijiAddressIDReq::kBClearFieldNumber;
  23175. #endif // !_MSC_VER
  23176. XPhone_CaijiAddressIDReq::XPhone_CaijiAddressIDReq()
  23177. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  23178. SharedCtor();
  23179. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CaijiAddressIDReq)
  23180. }
  23181. void XPhone_CaijiAddressIDReq::InitAsDefaultInstance() {
  23182. _is_default_instance_ = true;
  23183. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  23184. }
  23185. XPhone_CaijiAddressIDReq::XPhone_CaijiAddressIDReq(const XPhone_CaijiAddressIDReq& from)
  23186. : ::google::protobuf::Message(),
  23187. _internal_metadata_(NULL) {
  23188. SharedCtor();
  23189. MergeFrom(from);
  23190. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CaijiAddressIDReq)
  23191. }
  23192. void XPhone_CaijiAddressIDReq::SharedCtor() {
  23193. _is_default_instance_ = false;
  23194. ::google::protobuf::internal::GetEmptyString();
  23195. _cached_size_ = 0;
  23196. head_ = NULL;
  23197. bclear_ = false;
  23198. }
  23199. XPhone_CaijiAddressIDReq::~XPhone_CaijiAddressIDReq() {
  23200. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CaijiAddressIDReq)
  23201. SharedDtor();
  23202. }
  23203. void XPhone_CaijiAddressIDReq::SharedDtor() {
  23204. if (this != default_instance_) {
  23205. delete head_;
  23206. }
  23207. }
  23208. void XPhone_CaijiAddressIDReq::SetCachedSize(int size) const {
  23209. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23210. _cached_size_ = size;
  23211. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23212. }
  23213. const ::google::protobuf::Descriptor* XPhone_CaijiAddressIDReq::descriptor() {
  23214. protobuf_AssignDescriptorsOnce();
  23215. return XPhone_CaijiAddressIDReq_descriptor_;
  23216. }
  23217. const XPhone_CaijiAddressIDReq& XPhone_CaijiAddressIDReq::default_instance() {
  23218. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  23219. return *default_instance_;
  23220. }
  23221. XPhone_CaijiAddressIDReq* XPhone_CaijiAddressIDReq::default_instance_ = NULL;
  23222. XPhone_CaijiAddressIDReq* XPhone_CaijiAddressIDReq::New(::google::protobuf::Arena* arena) const {
  23223. XPhone_CaijiAddressIDReq* n = new XPhone_CaijiAddressIDReq;
  23224. if (arena != NULL) {
  23225. arena->Own(n);
  23226. }
  23227. return n;
  23228. }
  23229. void XPhone_CaijiAddressIDReq::Clear() {
  23230. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  23231. head_ = NULL;
  23232. bclear_ = false;
  23233. phonenumbers_.Clear();
  23234. }
  23235. bool XPhone_CaijiAddressIDReq::MergePartialFromCodedStream(
  23236. ::google::protobuf::io::CodedInputStream* input) {
  23237. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  23238. ::google::protobuf::uint32 tag;
  23239. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CaijiAddressIDReq)
  23240. for (;;) {
  23241. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  23242. tag = p.first;
  23243. if (!p.second) goto handle_unusual;
  23244. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  23245. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23246. case 1: {
  23247. if (tag == 10) {
  23248. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  23249. input, mutable_head()));
  23250. } else {
  23251. goto handle_unusual;
  23252. }
  23253. if (input->ExpectTag(18)) goto parse_phoneNumbers;
  23254. break;
  23255. }
  23256. // repeated string phoneNumbers = 2;
  23257. case 2: {
  23258. if (tag == 18) {
  23259. parse_phoneNumbers:
  23260. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  23261. input, this->add_phonenumbers()));
  23262. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  23263. this->phonenumbers(this->phonenumbers_size() - 1).data(),
  23264. this->phonenumbers(this->phonenumbers_size() - 1).length(),
  23265. ::google::protobuf::internal::WireFormatLite::PARSE,
  23266. "XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers"));
  23267. } else {
  23268. goto handle_unusual;
  23269. }
  23270. if (input->ExpectTag(18)) goto parse_phoneNumbers;
  23271. if (input->ExpectTag(24)) goto parse_bClear;
  23272. break;
  23273. }
  23274. // optional bool bClear = 3;
  23275. case 3: {
  23276. if (tag == 24) {
  23277. parse_bClear:
  23278. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23279. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
  23280. input, &bclear_)));
  23281. } else {
  23282. goto handle_unusual;
  23283. }
  23284. if (input->ExpectAtEnd()) goto success;
  23285. break;
  23286. }
  23287. default: {
  23288. handle_unusual:
  23289. if (tag == 0 ||
  23290. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23291. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  23292. goto success;
  23293. }
  23294. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  23295. break;
  23296. }
  23297. }
  23298. }
  23299. success:
  23300. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CaijiAddressIDReq)
  23301. return true;
  23302. failure:
  23303. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CaijiAddressIDReq)
  23304. return false;
  23305. #undef DO_
  23306. }
  23307. void XPhone_CaijiAddressIDReq::SerializeWithCachedSizes(
  23308. ::google::protobuf::io::CodedOutputStream* output) const {
  23309. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CaijiAddressIDReq)
  23310. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23311. if (this->has_head()) {
  23312. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  23313. 1, *this->head_, output);
  23314. }
  23315. // repeated string phoneNumbers = 2;
  23316. for (int i = 0; i < this->phonenumbers_size(); i++) {
  23317. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  23318. this->phonenumbers(i).data(), this->phonenumbers(i).length(),
  23319. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  23320. "XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers");
  23321. ::google::protobuf::internal::WireFormatLite::WriteString(
  23322. 2, this->phonenumbers(i), output);
  23323. }
  23324. // optional bool bClear = 3;
  23325. if (this->bclear() != 0) {
  23326. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->bclear(), output);
  23327. }
  23328. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CaijiAddressIDReq)
  23329. }
  23330. ::google::protobuf::uint8* XPhone_CaijiAddressIDReq::SerializeWithCachedSizesToArray(
  23331. ::google::protobuf::uint8* target) const {
  23332. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CaijiAddressIDReq)
  23333. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23334. if (this->has_head()) {
  23335. target = ::google::protobuf::internal::WireFormatLite::
  23336. WriteMessageNoVirtualToArray(
  23337. 1, *this->head_, target);
  23338. }
  23339. // repeated string phoneNumbers = 2;
  23340. for (int i = 0; i < this->phonenumbers_size(); i++) {
  23341. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  23342. this->phonenumbers(i).data(), this->phonenumbers(i).length(),
  23343. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  23344. "XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers");
  23345. target = ::google::protobuf::internal::WireFormatLite::
  23346. WriteStringToArray(2, this->phonenumbers(i), target);
  23347. }
  23348. // optional bool bClear = 3;
  23349. if (this->bclear() != 0) {
  23350. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->bclear(), target);
  23351. }
  23352. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CaijiAddressIDReq)
  23353. return target;
  23354. }
  23355. int XPhone_CaijiAddressIDReq::ByteSize() const {
  23356. int total_size = 0;
  23357. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23358. if (this->has_head()) {
  23359. total_size += 1 +
  23360. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  23361. *this->head_);
  23362. }
  23363. // optional bool bClear = 3;
  23364. if (this->bclear() != 0) {
  23365. total_size += 1 + 1;
  23366. }
  23367. // repeated string phoneNumbers = 2;
  23368. total_size += 1 * this->phonenumbers_size();
  23369. for (int i = 0; i < this->phonenumbers_size(); i++) {
  23370. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  23371. this->phonenumbers(i));
  23372. }
  23373. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23374. _cached_size_ = total_size;
  23375. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23376. return total_size;
  23377. }
  23378. void XPhone_CaijiAddressIDReq::MergeFrom(const ::google::protobuf::Message& from) {
  23379. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  23380. const XPhone_CaijiAddressIDReq* source =
  23381. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CaijiAddressIDReq>(
  23382. &from);
  23383. if (source == NULL) {
  23384. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23385. } else {
  23386. MergeFrom(*source);
  23387. }
  23388. }
  23389. void XPhone_CaijiAddressIDReq::MergeFrom(const XPhone_CaijiAddressIDReq& from) {
  23390. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  23391. phonenumbers_.MergeFrom(from.phonenumbers_);
  23392. if (from.has_head()) {
  23393. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  23394. }
  23395. if (from.bclear() != 0) {
  23396. set_bclear(from.bclear());
  23397. }
  23398. }
  23399. void XPhone_CaijiAddressIDReq::CopyFrom(const ::google::protobuf::Message& from) {
  23400. if (&from == this) return;
  23401. Clear();
  23402. MergeFrom(from);
  23403. }
  23404. void XPhone_CaijiAddressIDReq::CopyFrom(const XPhone_CaijiAddressIDReq& from) {
  23405. if (&from == this) return;
  23406. Clear();
  23407. MergeFrom(from);
  23408. }
  23409. bool XPhone_CaijiAddressIDReq::IsInitialized() const {
  23410. return true;
  23411. }
  23412. void XPhone_CaijiAddressIDReq::Swap(XPhone_CaijiAddressIDReq* other) {
  23413. if (other == this) return;
  23414. InternalSwap(other);
  23415. }
  23416. void XPhone_CaijiAddressIDReq::InternalSwap(XPhone_CaijiAddressIDReq* other) {
  23417. std::swap(head_, other->head_);
  23418. phonenumbers_.UnsafeArenaSwap(&other->phonenumbers_);
  23419. std::swap(bclear_, other->bclear_);
  23420. _internal_metadata_.Swap(&other->_internal_metadata_);
  23421. std::swap(_cached_size_, other->_cached_size_);
  23422. }
  23423. ::google::protobuf::Metadata XPhone_CaijiAddressIDReq::GetMetadata() const {
  23424. protobuf_AssignDescriptorsOnce();
  23425. ::google::protobuf::Metadata metadata;
  23426. metadata.descriptor = XPhone_CaijiAddressIDReq_descriptor_;
  23427. metadata.reflection = XPhone_CaijiAddressIDReq_reflection_;
  23428. return metadata;
  23429. }
  23430. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  23431. // XPhone_CaijiAddressIDReq
  23432. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23433. bool XPhone_CaijiAddressIDReq::has_head() const {
  23434. return !_is_default_instance_ && head_ != NULL;
  23435. }
  23436. void XPhone_CaijiAddressIDReq::clear_head() {
  23437. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  23438. head_ = NULL;
  23439. }
  23440. const ::XPhonePlus::XPhone_MsgBase& XPhone_CaijiAddressIDReq::head() const {
  23441. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiAddressIDReq.head)
  23442. return head_ != NULL ? *head_ : *default_instance_->head_;
  23443. }
  23444. ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiAddressIDReq::mutable_head() {
  23445. if (head_ == NULL) {
  23446. head_ = new ::XPhonePlus::XPhone_MsgBase;
  23447. }
  23448. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiAddressIDReq.head)
  23449. return head_;
  23450. }
  23451. ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiAddressIDReq::release_head() {
  23452. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  23453. head_ = NULL;
  23454. return temp;
  23455. }
  23456. void XPhone_CaijiAddressIDReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  23457. delete head_;
  23458. head_ = head;
  23459. if (head) {
  23460. } else {
  23461. }
  23462. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CaijiAddressIDReq.head)
  23463. }
  23464. // repeated string phoneNumbers = 2;
  23465. int XPhone_CaijiAddressIDReq::phonenumbers_size() const {
  23466. return phonenumbers_.size();
  23467. }
  23468. void XPhone_CaijiAddressIDReq::clear_phonenumbers() {
  23469. phonenumbers_.Clear();
  23470. }
  23471. const ::std::string& XPhone_CaijiAddressIDReq::phonenumbers(int index) const {
  23472. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
  23473. return phonenumbers_.Get(index);
  23474. }
  23475. ::std::string* XPhone_CaijiAddressIDReq::mutable_phonenumbers(int index) {
  23476. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
  23477. return phonenumbers_.Mutable(index);
  23478. }
  23479. void XPhone_CaijiAddressIDReq::set_phonenumbers(int index, const ::std::string& value) {
  23480. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
  23481. phonenumbers_.Mutable(index)->assign(value);
  23482. }
  23483. void XPhone_CaijiAddressIDReq::set_phonenumbers(int index, const char* value) {
  23484. phonenumbers_.Mutable(index)->assign(value);
  23485. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
  23486. }
  23487. void XPhone_CaijiAddressIDReq::set_phonenumbers(int index, const char* value, size_t size) {
  23488. phonenumbers_.Mutable(index)->assign(
  23489. reinterpret_cast<const char*>(value), size);
  23490. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
  23491. }
  23492. ::std::string* XPhone_CaijiAddressIDReq::add_phonenumbers() {
  23493. return phonenumbers_.Add();
  23494. }
  23495. void XPhone_CaijiAddressIDReq::add_phonenumbers(const ::std::string& value) {
  23496. phonenumbers_.Add()->assign(value);
  23497. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
  23498. }
  23499. void XPhone_CaijiAddressIDReq::add_phonenumbers(const char* value) {
  23500. phonenumbers_.Add()->assign(value);
  23501. // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
  23502. }
  23503. void XPhone_CaijiAddressIDReq::add_phonenumbers(const char* value, size_t size) {
  23504. phonenumbers_.Add()->assign(reinterpret_cast<const char*>(value), size);
  23505. // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
  23506. }
  23507. const ::google::protobuf::RepeatedPtrField< ::std::string>&
  23508. XPhone_CaijiAddressIDReq::phonenumbers() const {
  23509. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
  23510. return phonenumbers_;
  23511. }
  23512. ::google::protobuf::RepeatedPtrField< ::std::string>*
  23513. XPhone_CaijiAddressIDReq::mutable_phonenumbers() {
  23514. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
  23515. return &phonenumbers_;
  23516. }
  23517. // optional bool bClear = 3;
  23518. void XPhone_CaijiAddressIDReq::clear_bclear() {
  23519. bclear_ = false;
  23520. }
  23521. bool XPhone_CaijiAddressIDReq::bclear() const {
  23522. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiAddressIDReq.bClear)
  23523. return bclear_;
  23524. }
  23525. void XPhone_CaijiAddressIDReq::set_bclear(bool value) {
  23526. bclear_ = value;
  23527. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CaijiAddressIDReq.bClear)
  23528. }
  23529. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  23530. // ===================================================================
  23531. #ifndef _MSC_VER
  23532. const int XPhone_CaijiNearbyIDReq::kHeadFieldNumber;
  23533. #endif // !_MSC_VER
  23534. XPhone_CaijiNearbyIDReq::XPhone_CaijiNearbyIDReq()
  23535. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  23536. SharedCtor();
  23537. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CaijiNearbyIDReq)
  23538. }
  23539. void XPhone_CaijiNearbyIDReq::InitAsDefaultInstance() {
  23540. _is_default_instance_ = true;
  23541. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  23542. }
  23543. XPhone_CaijiNearbyIDReq::XPhone_CaijiNearbyIDReq(const XPhone_CaijiNearbyIDReq& from)
  23544. : ::google::protobuf::Message(),
  23545. _internal_metadata_(NULL) {
  23546. SharedCtor();
  23547. MergeFrom(from);
  23548. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CaijiNearbyIDReq)
  23549. }
  23550. void XPhone_CaijiNearbyIDReq::SharedCtor() {
  23551. _is_default_instance_ = false;
  23552. _cached_size_ = 0;
  23553. head_ = NULL;
  23554. }
  23555. XPhone_CaijiNearbyIDReq::~XPhone_CaijiNearbyIDReq() {
  23556. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CaijiNearbyIDReq)
  23557. SharedDtor();
  23558. }
  23559. void XPhone_CaijiNearbyIDReq::SharedDtor() {
  23560. if (this != default_instance_) {
  23561. delete head_;
  23562. }
  23563. }
  23564. void XPhone_CaijiNearbyIDReq::SetCachedSize(int size) const {
  23565. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23566. _cached_size_ = size;
  23567. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23568. }
  23569. const ::google::protobuf::Descriptor* XPhone_CaijiNearbyIDReq::descriptor() {
  23570. protobuf_AssignDescriptorsOnce();
  23571. return XPhone_CaijiNearbyIDReq_descriptor_;
  23572. }
  23573. const XPhone_CaijiNearbyIDReq& XPhone_CaijiNearbyIDReq::default_instance() {
  23574. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  23575. return *default_instance_;
  23576. }
  23577. XPhone_CaijiNearbyIDReq* XPhone_CaijiNearbyIDReq::default_instance_ = NULL;
  23578. XPhone_CaijiNearbyIDReq* XPhone_CaijiNearbyIDReq::New(::google::protobuf::Arena* arena) const {
  23579. XPhone_CaijiNearbyIDReq* n = new XPhone_CaijiNearbyIDReq;
  23580. if (arena != NULL) {
  23581. arena->Own(n);
  23582. }
  23583. return n;
  23584. }
  23585. void XPhone_CaijiNearbyIDReq::Clear() {
  23586. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  23587. head_ = NULL;
  23588. }
  23589. bool XPhone_CaijiNearbyIDReq::MergePartialFromCodedStream(
  23590. ::google::protobuf::io::CodedInputStream* input) {
  23591. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  23592. ::google::protobuf::uint32 tag;
  23593. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CaijiNearbyIDReq)
  23594. for (;;) {
  23595. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  23596. tag = p.first;
  23597. if (!p.second) goto handle_unusual;
  23598. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  23599. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23600. case 1: {
  23601. if (tag == 10) {
  23602. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  23603. input, mutable_head()));
  23604. } else {
  23605. goto handle_unusual;
  23606. }
  23607. if (input->ExpectAtEnd()) goto success;
  23608. break;
  23609. }
  23610. default: {
  23611. handle_unusual:
  23612. if (tag == 0 ||
  23613. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23614. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  23615. goto success;
  23616. }
  23617. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  23618. break;
  23619. }
  23620. }
  23621. }
  23622. success:
  23623. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CaijiNearbyIDReq)
  23624. return true;
  23625. failure:
  23626. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CaijiNearbyIDReq)
  23627. return false;
  23628. #undef DO_
  23629. }
  23630. void XPhone_CaijiNearbyIDReq::SerializeWithCachedSizes(
  23631. ::google::protobuf::io::CodedOutputStream* output) const {
  23632. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CaijiNearbyIDReq)
  23633. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23634. if (this->has_head()) {
  23635. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  23636. 1, *this->head_, output);
  23637. }
  23638. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CaijiNearbyIDReq)
  23639. }
  23640. ::google::protobuf::uint8* XPhone_CaijiNearbyIDReq::SerializeWithCachedSizesToArray(
  23641. ::google::protobuf::uint8* target) const {
  23642. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CaijiNearbyIDReq)
  23643. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23644. if (this->has_head()) {
  23645. target = ::google::protobuf::internal::WireFormatLite::
  23646. WriteMessageNoVirtualToArray(
  23647. 1, *this->head_, target);
  23648. }
  23649. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CaijiNearbyIDReq)
  23650. return target;
  23651. }
  23652. int XPhone_CaijiNearbyIDReq::ByteSize() const {
  23653. int total_size = 0;
  23654. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23655. if (this->has_head()) {
  23656. total_size += 1 +
  23657. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  23658. *this->head_);
  23659. }
  23660. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23661. _cached_size_ = total_size;
  23662. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23663. return total_size;
  23664. }
  23665. void XPhone_CaijiNearbyIDReq::MergeFrom(const ::google::protobuf::Message& from) {
  23666. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  23667. const XPhone_CaijiNearbyIDReq* source =
  23668. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CaijiNearbyIDReq>(
  23669. &from);
  23670. if (source == NULL) {
  23671. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23672. } else {
  23673. MergeFrom(*source);
  23674. }
  23675. }
  23676. void XPhone_CaijiNearbyIDReq::MergeFrom(const XPhone_CaijiNearbyIDReq& from) {
  23677. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  23678. if (from.has_head()) {
  23679. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  23680. }
  23681. }
  23682. void XPhone_CaijiNearbyIDReq::CopyFrom(const ::google::protobuf::Message& from) {
  23683. if (&from == this) return;
  23684. Clear();
  23685. MergeFrom(from);
  23686. }
  23687. void XPhone_CaijiNearbyIDReq::CopyFrom(const XPhone_CaijiNearbyIDReq& from) {
  23688. if (&from == this) return;
  23689. Clear();
  23690. MergeFrom(from);
  23691. }
  23692. bool XPhone_CaijiNearbyIDReq::IsInitialized() const {
  23693. return true;
  23694. }
  23695. void XPhone_CaijiNearbyIDReq::Swap(XPhone_CaijiNearbyIDReq* other) {
  23696. if (other == this) return;
  23697. InternalSwap(other);
  23698. }
  23699. void XPhone_CaijiNearbyIDReq::InternalSwap(XPhone_CaijiNearbyIDReq* other) {
  23700. std::swap(head_, other->head_);
  23701. _internal_metadata_.Swap(&other->_internal_metadata_);
  23702. std::swap(_cached_size_, other->_cached_size_);
  23703. }
  23704. ::google::protobuf::Metadata XPhone_CaijiNearbyIDReq::GetMetadata() const {
  23705. protobuf_AssignDescriptorsOnce();
  23706. ::google::protobuf::Metadata metadata;
  23707. metadata.descriptor = XPhone_CaijiNearbyIDReq_descriptor_;
  23708. metadata.reflection = XPhone_CaijiNearbyIDReq_reflection_;
  23709. return metadata;
  23710. }
  23711. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  23712. // XPhone_CaijiNearbyIDReq
  23713. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23714. bool XPhone_CaijiNearbyIDReq::has_head() const {
  23715. return !_is_default_instance_ && head_ != NULL;
  23716. }
  23717. void XPhone_CaijiNearbyIDReq::clear_head() {
  23718. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  23719. head_ = NULL;
  23720. }
  23721. const ::XPhonePlus::XPhone_MsgBase& XPhone_CaijiNearbyIDReq::head() const {
  23722. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiNearbyIDReq.head)
  23723. return head_ != NULL ? *head_ : *default_instance_->head_;
  23724. }
  23725. ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiNearbyIDReq::mutable_head() {
  23726. if (head_ == NULL) {
  23727. head_ = new ::XPhonePlus::XPhone_MsgBase;
  23728. }
  23729. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiNearbyIDReq.head)
  23730. return head_;
  23731. }
  23732. ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiNearbyIDReq::release_head() {
  23733. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  23734. head_ = NULL;
  23735. return temp;
  23736. }
  23737. void XPhone_CaijiNearbyIDReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  23738. delete head_;
  23739. head_ = head;
  23740. if (head) {
  23741. } else {
  23742. }
  23743. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CaijiNearbyIDReq.head)
  23744. }
  23745. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  23746. // ===================================================================
  23747. #ifndef _MSC_VER
  23748. const int XPhone_CaijiFriendIDReq::kHeadFieldNumber;
  23749. #endif // !_MSC_VER
  23750. XPhone_CaijiFriendIDReq::XPhone_CaijiFriendIDReq()
  23751. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  23752. SharedCtor();
  23753. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CaijiFriendIDReq)
  23754. }
  23755. void XPhone_CaijiFriendIDReq::InitAsDefaultInstance() {
  23756. _is_default_instance_ = true;
  23757. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  23758. }
  23759. XPhone_CaijiFriendIDReq::XPhone_CaijiFriendIDReq(const XPhone_CaijiFriendIDReq& from)
  23760. : ::google::protobuf::Message(),
  23761. _internal_metadata_(NULL) {
  23762. SharedCtor();
  23763. MergeFrom(from);
  23764. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CaijiFriendIDReq)
  23765. }
  23766. void XPhone_CaijiFriendIDReq::SharedCtor() {
  23767. _is_default_instance_ = false;
  23768. _cached_size_ = 0;
  23769. head_ = NULL;
  23770. }
  23771. XPhone_CaijiFriendIDReq::~XPhone_CaijiFriendIDReq() {
  23772. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CaijiFriendIDReq)
  23773. SharedDtor();
  23774. }
  23775. void XPhone_CaijiFriendIDReq::SharedDtor() {
  23776. if (this != default_instance_) {
  23777. delete head_;
  23778. }
  23779. }
  23780. void XPhone_CaijiFriendIDReq::SetCachedSize(int size) const {
  23781. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23782. _cached_size_ = size;
  23783. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23784. }
  23785. const ::google::protobuf::Descriptor* XPhone_CaijiFriendIDReq::descriptor() {
  23786. protobuf_AssignDescriptorsOnce();
  23787. return XPhone_CaijiFriendIDReq_descriptor_;
  23788. }
  23789. const XPhone_CaijiFriendIDReq& XPhone_CaijiFriendIDReq::default_instance() {
  23790. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  23791. return *default_instance_;
  23792. }
  23793. XPhone_CaijiFriendIDReq* XPhone_CaijiFriendIDReq::default_instance_ = NULL;
  23794. XPhone_CaijiFriendIDReq* XPhone_CaijiFriendIDReq::New(::google::protobuf::Arena* arena) const {
  23795. XPhone_CaijiFriendIDReq* n = new XPhone_CaijiFriendIDReq;
  23796. if (arena != NULL) {
  23797. arena->Own(n);
  23798. }
  23799. return n;
  23800. }
  23801. void XPhone_CaijiFriendIDReq::Clear() {
  23802. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  23803. head_ = NULL;
  23804. }
  23805. bool XPhone_CaijiFriendIDReq::MergePartialFromCodedStream(
  23806. ::google::protobuf::io::CodedInputStream* input) {
  23807. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  23808. ::google::protobuf::uint32 tag;
  23809. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CaijiFriendIDReq)
  23810. for (;;) {
  23811. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  23812. tag = p.first;
  23813. if (!p.second) goto handle_unusual;
  23814. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  23815. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23816. case 1: {
  23817. if (tag == 10) {
  23818. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  23819. input, mutable_head()));
  23820. } else {
  23821. goto handle_unusual;
  23822. }
  23823. if (input->ExpectAtEnd()) goto success;
  23824. break;
  23825. }
  23826. default: {
  23827. handle_unusual:
  23828. if (tag == 0 ||
  23829. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23830. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  23831. goto success;
  23832. }
  23833. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  23834. break;
  23835. }
  23836. }
  23837. }
  23838. success:
  23839. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CaijiFriendIDReq)
  23840. return true;
  23841. failure:
  23842. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CaijiFriendIDReq)
  23843. return false;
  23844. #undef DO_
  23845. }
  23846. void XPhone_CaijiFriendIDReq::SerializeWithCachedSizes(
  23847. ::google::protobuf::io::CodedOutputStream* output) const {
  23848. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CaijiFriendIDReq)
  23849. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23850. if (this->has_head()) {
  23851. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  23852. 1, *this->head_, output);
  23853. }
  23854. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CaijiFriendIDReq)
  23855. }
  23856. ::google::protobuf::uint8* XPhone_CaijiFriendIDReq::SerializeWithCachedSizesToArray(
  23857. ::google::protobuf::uint8* target) const {
  23858. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CaijiFriendIDReq)
  23859. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23860. if (this->has_head()) {
  23861. target = ::google::protobuf::internal::WireFormatLite::
  23862. WriteMessageNoVirtualToArray(
  23863. 1, *this->head_, target);
  23864. }
  23865. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CaijiFriendIDReq)
  23866. return target;
  23867. }
  23868. int XPhone_CaijiFriendIDReq::ByteSize() const {
  23869. int total_size = 0;
  23870. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23871. if (this->has_head()) {
  23872. total_size += 1 +
  23873. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  23874. *this->head_);
  23875. }
  23876. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23877. _cached_size_ = total_size;
  23878. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23879. return total_size;
  23880. }
  23881. void XPhone_CaijiFriendIDReq::MergeFrom(const ::google::protobuf::Message& from) {
  23882. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  23883. const XPhone_CaijiFriendIDReq* source =
  23884. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CaijiFriendIDReq>(
  23885. &from);
  23886. if (source == NULL) {
  23887. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23888. } else {
  23889. MergeFrom(*source);
  23890. }
  23891. }
  23892. void XPhone_CaijiFriendIDReq::MergeFrom(const XPhone_CaijiFriendIDReq& from) {
  23893. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  23894. if (from.has_head()) {
  23895. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  23896. }
  23897. }
  23898. void XPhone_CaijiFriendIDReq::CopyFrom(const ::google::protobuf::Message& from) {
  23899. if (&from == this) return;
  23900. Clear();
  23901. MergeFrom(from);
  23902. }
  23903. void XPhone_CaijiFriendIDReq::CopyFrom(const XPhone_CaijiFriendIDReq& from) {
  23904. if (&from == this) return;
  23905. Clear();
  23906. MergeFrom(from);
  23907. }
  23908. bool XPhone_CaijiFriendIDReq::IsInitialized() const {
  23909. return true;
  23910. }
  23911. void XPhone_CaijiFriendIDReq::Swap(XPhone_CaijiFriendIDReq* other) {
  23912. if (other == this) return;
  23913. InternalSwap(other);
  23914. }
  23915. void XPhone_CaijiFriendIDReq::InternalSwap(XPhone_CaijiFriendIDReq* other) {
  23916. std::swap(head_, other->head_);
  23917. _internal_metadata_.Swap(&other->_internal_metadata_);
  23918. std::swap(_cached_size_, other->_cached_size_);
  23919. }
  23920. ::google::protobuf::Metadata XPhone_CaijiFriendIDReq::GetMetadata() const {
  23921. protobuf_AssignDescriptorsOnce();
  23922. ::google::protobuf::Metadata metadata;
  23923. metadata.descriptor = XPhone_CaijiFriendIDReq_descriptor_;
  23924. metadata.reflection = XPhone_CaijiFriendIDReq_reflection_;
  23925. return metadata;
  23926. }
  23927. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  23928. // XPhone_CaijiFriendIDReq
  23929. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  23930. bool XPhone_CaijiFriendIDReq::has_head() const {
  23931. return !_is_default_instance_ && head_ != NULL;
  23932. }
  23933. void XPhone_CaijiFriendIDReq::clear_head() {
  23934. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  23935. head_ = NULL;
  23936. }
  23937. const ::XPhonePlus::XPhone_MsgBase& XPhone_CaijiFriendIDReq::head() const {
  23938. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiFriendIDReq.head)
  23939. return head_ != NULL ? *head_ : *default_instance_->head_;
  23940. }
  23941. ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiFriendIDReq::mutable_head() {
  23942. if (head_ == NULL) {
  23943. head_ = new ::XPhonePlus::XPhone_MsgBase;
  23944. }
  23945. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiFriendIDReq.head)
  23946. return head_;
  23947. }
  23948. ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiFriendIDReq::release_head() {
  23949. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  23950. head_ = NULL;
  23951. return temp;
  23952. }
  23953. void XPhone_CaijiFriendIDReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  23954. delete head_;
  23955. head_ = head;
  23956. if (head) {
  23957. } else {
  23958. }
  23959. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CaijiFriendIDReq.head)
  23960. }
  23961. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  23962. // ===================================================================
  23963. #ifndef _MSC_VER
  23964. const int XPhone_IDInfo::kStridFieldNumber;
  23965. const int XPhone_IDInfo::kStrusernameFieldNumber;
  23966. const int XPhone_IDInfo::kStrnickernameFieldNumber;
  23967. const int XPhone_IDInfo::kIsexFieldNumber;
  23968. #endif // !_MSC_VER
  23969. XPhone_IDInfo::XPhone_IDInfo()
  23970. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  23971. SharedCtor();
  23972. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_IDInfo)
  23973. }
  23974. void XPhone_IDInfo::InitAsDefaultInstance() {
  23975. _is_default_instance_ = true;
  23976. }
  23977. XPhone_IDInfo::XPhone_IDInfo(const XPhone_IDInfo& from)
  23978. : ::google::protobuf::Message(),
  23979. _internal_metadata_(NULL) {
  23980. SharedCtor();
  23981. MergeFrom(from);
  23982. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_IDInfo)
  23983. }
  23984. void XPhone_IDInfo::SharedCtor() {
  23985. _is_default_instance_ = false;
  23986. ::google::protobuf::internal::GetEmptyString();
  23987. _cached_size_ = 0;
  23988. strid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  23989. strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  23990. strnickername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  23991. isex_ = 0;
  23992. }
  23993. XPhone_IDInfo::~XPhone_IDInfo() {
  23994. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_IDInfo)
  23995. SharedDtor();
  23996. }
  23997. void XPhone_IDInfo::SharedDtor() {
  23998. strid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  23999. strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24000. strnickername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24001. if (this != default_instance_) {
  24002. }
  24003. }
  24004. void XPhone_IDInfo::SetCachedSize(int size) const {
  24005. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24006. _cached_size_ = size;
  24007. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24008. }
  24009. const ::google::protobuf::Descriptor* XPhone_IDInfo::descriptor() {
  24010. protobuf_AssignDescriptorsOnce();
  24011. return XPhone_IDInfo_descriptor_;
  24012. }
  24013. const XPhone_IDInfo& XPhone_IDInfo::default_instance() {
  24014. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  24015. return *default_instance_;
  24016. }
  24017. XPhone_IDInfo* XPhone_IDInfo::default_instance_ = NULL;
  24018. XPhone_IDInfo* XPhone_IDInfo::New(::google::protobuf::Arena* arena) const {
  24019. XPhone_IDInfo* n = new XPhone_IDInfo;
  24020. if (arena != NULL) {
  24021. arena->Own(n);
  24022. }
  24023. return n;
  24024. }
  24025. void XPhone_IDInfo::Clear() {
  24026. strid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24027. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24028. strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24029. isex_ = 0;
  24030. }
  24031. bool XPhone_IDInfo::MergePartialFromCodedStream(
  24032. ::google::protobuf::io::CodedInputStream* input) {
  24033. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  24034. ::google::protobuf::uint32 tag;
  24035. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_IDInfo)
  24036. for (;;) {
  24037. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  24038. tag = p.first;
  24039. if (!p.second) goto handle_unusual;
  24040. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  24041. // optional string strid = 1;
  24042. case 1: {
  24043. if (tag == 10) {
  24044. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  24045. input, this->mutable_strid()));
  24046. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  24047. this->strid().data(), this->strid().length(),
  24048. ::google::protobuf::internal::WireFormatLite::PARSE,
  24049. "XPhonePlus.XPhone_IDInfo.strid"));
  24050. } else {
  24051. goto handle_unusual;
  24052. }
  24053. if (input->ExpectTag(18)) goto parse_strusername;
  24054. break;
  24055. }
  24056. // optional string strusername = 2;
  24057. case 2: {
  24058. if (tag == 18) {
  24059. parse_strusername:
  24060. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  24061. input, this->mutable_strusername()));
  24062. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  24063. this->strusername().data(), this->strusername().length(),
  24064. ::google::protobuf::internal::WireFormatLite::PARSE,
  24065. "XPhonePlus.XPhone_IDInfo.strusername"));
  24066. } else {
  24067. goto handle_unusual;
  24068. }
  24069. if (input->ExpectTag(26)) goto parse_strnickername;
  24070. break;
  24071. }
  24072. // optional string strnickername = 3;
  24073. case 3: {
  24074. if (tag == 26) {
  24075. parse_strnickername:
  24076. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  24077. input, this->mutable_strnickername()));
  24078. DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  24079. this->strnickername().data(), this->strnickername().length(),
  24080. ::google::protobuf::internal::WireFormatLite::PARSE,
  24081. "XPhonePlus.XPhone_IDInfo.strnickername"));
  24082. } else {
  24083. goto handle_unusual;
  24084. }
  24085. if (input->ExpectTag(32)) goto parse_isex;
  24086. break;
  24087. }
  24088. // optional int32 isex = 4;
  24089. case 4: {
  24090. if (tag == 32) {
  24091. parse_isex:
  24092. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24093. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  24094. input, &isex_)));
  24095. } else {
  24096. goto handle_unusual;
  24097. }
  24098. if (input->ExpectAtEnd()) goto success;
  24099. break;
  24100. }
  24101. default: {
  24102. handle_unusual:
  24103. if (tag == 0 ||
  24104. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24105. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  24106. goto success;
  24107. }
  24108. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  24109. break;
  24110. }
  24111. }
  24112. }
  24113. success:
  24114. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_IDInfo)
  24115. return true;
  24116. failure:
  24117. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_IDInfo)
  24118. return false;
  24119. #undef DO_
  24120. }
  24121. void XPhone_IDInfo::SerializeWithCachedSizes(
  24122. ::google::protobuf::io::CodedOutputStream* output) const {
  24123. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_IDInfo)
  24124. // optional string strid = 1;
  24125. if (this->strid().size() > 0) {
  24126. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  24127. this->strid().data(), this->strid().length(),
  24128. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  24129. "XPhonePlus.XPhone_IDInfo.strid");
  24130. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  24131. 1, this->strid(), output);
  24132. }
  24133. // optional string strusername = 2;
  24134. if (this->strusername().size() > 0) {
  24135. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  24136. this->strusername().data(), this->strusername().length(),
  24137. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  24138. "XPhonePlus.XPhone_IDInfo.strusername");
  24139. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  24140. 2, this->strusername(), output);
  24141. }
  24142. // optional string strnickername = 3;
  24143. if (this->strnickername().size() > 0) {
  24144. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  24145. this->strnickername().data(), this->strnickername().length(),
  24146. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  24147. "XPhonePlus.XPhone_IDInfo.strnickername");
  24148. ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
  24149. 3, this->strnickername(), output);
  24150. }
  24151. // optional int32 isex = 4;
  24152. if (this->isex() != 0) {
  24153. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->isex(), output);
  24154. }
  24155. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_IDInfo)
  24156. }
  24157. ::google::protobuf::uint8* XPhone_IDInfo::SerializeWithCachedSizesToArray(
  24158. ::google::protobuf::uint8* target) const {
  24159. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_IDInfo)
  24160. // optional string strid = 1;
  24161. if (this->strid().size() > 0) {
  24162. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  24163. this->strid().data(), this->strid().length(),
  24164. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  24165. "XPhonePlus.XPhone_IDInfo.strid");
  24166. target =
  24167. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  24168. 1, this->strid(), target);
  24169. }
  24170. // optional string strusername = 2;
  24171. if (this->strusername().size() > 0) {
  24172. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  24173. this->strusername().data(), this->strusername().length(),
  24174. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  24175. "XPhonePlus.XPhone_IDInfo.strusername");
  24176. target =
  24177. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  24178. 2, this->strusername(), target);
  24179. }
  24180. // optional string strnickername = 3;
  24181. if (this->strnickername().size() > 0) {
  24182. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  24183. this->strnickername().data(), this->strnickername().length(),
  24184. ::google::protobuf::internal::WireFormatLite::SERIALIZE,
  24185. "XPhonePlus.XPhone_IDInfo.strnickername");
  24186. target =
  24187. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  24188. 3, this->strnickername(), target);
  24189. }
  24190. // optional int32 isex = 4;
  24191. if (this->isex() != 0) {
  24192. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->isex(), target);
  24193. }
  24194. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_IDInfo)
  24195. return target;
  24196. }
  24197. int XPhone_IDInfo::ByteSize() const {
  24198. int total_size = 0;
  24199. // optional string strid = 1;
  24200. if (this->strid().size() > 0) {
  24201. total_size += 1 +
  24202. ::google::protobuf::internal::WireFormatLite::StringSize(
  24203. this->strid());
  24204. }
  24205. // optional string strusername = 2;
  24206. if (this->strusername().size() > 0) {
  24207. total_size += 1 +
  24208. ::google::protobuf::internal::WireFormatLite::StringSize(
  24209. this->strusername());
  24210. }
  24211. // optional string strnickername = 3;
  24212. if (this->strnickername().size() > 0) {
  24213. total_size += 1 +
  24214. ::google::protobuf::internal::WireFormatLite::StringSize(
  24215. this->strnickername());
  24216. }
  24217. // optional int32 isex = 4;
  24218. if (this->isex() != 0) {
  24219. total_size += 1 +
  24220. ::google::protobuf::internal::WireFormatLite::Int32Size(
  24221. this->isex());
  24222. }
  24223. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24224. _cached_size_ = total_size;
  24225. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24226. return total_size;
  24227. }
  24228. void XPhone_IDInfo::MergeFrom(const ::google::protobuf::Message& from) {
  24229. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  24230. const XPhone_IDInfo* source =
  24231. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_IDInfo>(
  24232. &from);
  24233. if (source == NULL) {
  24234. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  24235. } else {
  24236. MergeFrom(*source);
  24237. }
  24238. }
  24239. void XPhone_IDInfo::MergeFrom(const XPhone_IDInfo& from) {
  24240. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  24241. if (from.strid().size() > 0) {
  24242. strid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strid_);
  24243. }
  24244. if (from.strusername().size() > 0) {
  24245. strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
  24246. }
  24247. if (from.strnickername().size() > 0) {
  24248. strnickername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strnickername_);
  24249. }
  24250. if (from.isex() != 0) {
  24251. set_isex(from.isex());
  24252. }
  24253. }
  24254. void XPhone_IDInfo::CopyFrom(const ::google::protobuf::Message& from) {
  24255. if (&from == this) return;
  24256. Clear();
  24257. MergeFrom(from);
  24258. }
  24259. void XPhone_IDInfo::CopyFrom(const XPhone_IDInfo& from) {
  24260. if (&from == this) return;
  24261. Clear();
  24262. MergeFrom(from);
  24263. }
  24264. bool XPhone_IDInfo::IsInitialized() const {
  24265. return true;
  24266. }
  24267. void XPhone_IDInfo::Swap(XPhone_IDInfo* other) {
  24268. if (other == this) return;
  24269. InternalSwap(other);
  24270. }
  24271. void XPhone_IDInfo::InternalSwap(XPhone_IDInfo* other) {
  24272. strid_.Swap(&other->strid_);
  24273. strusername_.Swap(&other->strusername_);
  24274. strnickername_.Swap(&other->strnickername_);
  24275. std::swap(isex_, other->isex_);
  24276. _internal_metadata_.Swap(&other->_internal_metadata_);
  24277. std::swap(_cached_size_, other->_cached_size_);
  24278. }
  24279. ::google::protobuf::Metadata XPhone_IDInfo::GetMetadata() const {
  24280. protobuf_AssignDescriptorsOnce();
  24281. ::google::protobuf::Metadata metadata;
  24282. metadata.descriptor = XPhone_IDInfo_descriptor_;
  24283. metadata.reflection = XPhone_IDInfo_reflection_;
  24284. return metadata;
  24285. }
  24286. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  24287. // XPhone_IDInfo
  24288. // optional string strid = 1;
  24289. void XPhone_IDInfo::clear_strid() {
  24290. strid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24291. }
  24292. const ::std::string& XPhone_IDInfo::strid() const {
  24293. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_IDInfo.strid)
  24294. return strid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24295. }
  24296. void XPhone_IDInfo::set_strid(const ::std::string& value) {
  24297. strid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  24298. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_IDInfo.strid)
  24299. }
  24300. void XPhone_IDInfo::set_strid(const char* value) {
  24301. strid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  24302. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_IDInfo.strid)
  24303. }
  24304. void XPhone_IDInfo::set_strid(const char* value, size_t size) {
  24305. strid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  24306. ::std::string(reinterpret_cast<const char*>(value), size));
  24307. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_IDInfo.strid)
  24308. }
  24309. ::std::string* XPhone_IDInfo::mutable_strid() {
  24310. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_IDInfo.strid)
  24311. return strid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24312. }
  24313. ::std::string* XPhone_IDInfo::release_strid() {
  24314. return strid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24315. }
  24316. void XPhone_IDInfo::set_allocated_strid(::std::string* strid) {
  24317. if (strid != NULL) {
  24318. } else {
  24319. }
  24320. strid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strid);
  24321. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_IDInfo.strid)
  24322. }
  24323. // optional string strusername = 2;
  24324. void XPhone_IDInfo::clear_strusername() {
  24325. strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24326. }
  24327. const ::std::string& XPhone_IDInfo::strusername() const {
  24328. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_IDInfo.strusername)
  24329. return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24330. }
  24331. void XPhone_IDInfo::set_strusername(const ::std::string& value) {
  24332. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  24333. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_IDInfo.strusername)
  24334. }
  24335. void XPhone_IDInfo::set_strusername(const char* value) {
  24336. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  24337. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_IDInfo.strusername)
  24338. }
  24339. void XPhone_IDInfo::set_strusername(const char* value, size_t size) {
  24340. strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  24341. ::std::string(reinterpret_cast<const char*>(value), size));
  24342. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_IDInfo.strusername)
  24343. }
  24344. ::std::string* XPhone_IDInfo::mutable_strusername() {
  24345. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_IDInfo.strusername)
  24346. return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24347. }
  24348. ::std::string* XPhone_IDInfo::release_strusername() {
  24349. return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24350. }
  24351. void XPhone_IDInfo::set_allocated_strusername(::std::string* strusername) {
  24352. if (strusername != NULL) {
  24353. } else {
  24354. }
  24355. strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
  24356. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_IDInfo.strusername)
  24357. }
  24358. // optional string strnickername = 3;
  24359. void XPhone_IDInfo::clear_strnickername() {
  24360. strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24361. }
  24362. const ::std::string& XPhone_IDInfo::strnickername() const {
  24363. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_IDInfo.strnickername)
  24364. return strnickername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24365. }
  24366. void XPhone_IDInfo::set_strnickername(const ::std::string& value) {
  24367. strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  24368. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_IDInfo.strnickername)
  24369. }
  24370. void XPhone_IDInfo::set_strnickername(const char* value) {
  24371. strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  24372. // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_IDInfo.strnickername)
  24373. }
  24374. void XPhone_IDInfo::set_strnickername(const char* value, size_t size) {
  24375. strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  24376. ::std::string(reinterpret_cast<const char*>(value), size));
  24377. // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_IDInfo.strnickername)
  24378. }
  24379. ::std::string* XPhone_IDInfo::mutable_strnickername() {
  24380. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_IDInfo.strnickername)
  24381. return strnickername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24382. }
  24383. ::std::string* XPhone_IDInfo::release_strnickername() {
  24384. return strnickername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  24385. }
  24386. void XPhone_IDInfo::set_allocated_strnickername(::std::string* strnickername) {
  24387. if (strnickername != NULL) {
  24388. } else {
  24389. }
  24390. strnickername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strnickername);
  24391. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_IDInfo.strnickername)
  24392. }
  24393. // optional int32 isex = 4;
  24394. void XPhone_IDInfo::clear_isex() {
  24395. isex_ = 0;
  24396. }
  24397. ::google::protobuf::int32 XPhone_IDInfo::isex() const {
  24398. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_IDInfo.isex)
  24399. return isex_;
  24400. }
  24401. void XPhone_IDInfo::set_isex(::google::protobuf::int32 value) {
  24402. isex_ = value;
  24403. // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_IDInfo.isex)
  24404. }
  24405. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  24406. // ===================================================================
  24407. #ifndef _MSC_VER
  24408. const int XPhone_CaijiIDRsp::kHeadFieldNumber;
  24409. const int XPhone_CaijiIDRsp::kIdsFieldNumber;
  24410. #endif // !_MSC_VER
  24411. XPhone_CaijiIDRsp::XPhone_CaijiIDRsp()
  24412. : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  24413. SharedCtor();
  24414. // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CaijiIDRsp)
  24415. }
  24416. void XPhone_CaijiIDRsp::InitAsDefaultInstance() {
  24417. _is_default_instance_ = true;
  24418. head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
  24419. }
  24420. XPhone_CaijiIDRsp::XPhone_CaijiIDRsp(const XPhone_CaijiIDRsp& from)
  24421. : ::google::protobuf::Message(),
  24422. _internal_metadata_(NULL) {
  24423. SharedCtor();
  24424. MergeFrom(from);
  24425. // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CaijiIDRsp)
  24426. }
  24427. void XPhone_CaijiIDRsp::SharedCtor() {
  24428. _is_default_instance_ = false;
  24429. _cached_size_ = 0;
  24430. head_ = NULL;
  24431. }
  24432. XPhone_CaijiIDRsp::~XPhone_CaijiIDRsp() {
  24433. // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CaijiIDRsp)
  24434. SharedDtor();
  24435. }
  24436. void XPhone_CaijiIDRsp::SharedDtor() {
  24437. if (this != default_instance_) {
  24438. delete head_;
  24439. }
  24440. }
  24441. void XPhone_CaijiIDRsp::SetCachedSize(int size) const {
  24442. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24443. _cached_size_ = size;
  24444. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24445. }
  24446. const ::google::protobuf::Descriptor* XPhone_CaijiIDRsp::descriptor() {
  24447. protobuf_AssignDescriptorsOnce();
  24448. return XPhone_CaijiIDRsp_descriptor_;
  24449. }
  24450. const XPhone_CaijiIDRsp& XPhone_CaijiIDRsp::default_instance() {
  24451. if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
  24452. return *default_instance_;
  24453. }
  24454. XPhone_CaijiIDRsp* XPhone_CaijiIDRsp::default_instance_ = NULL;
  24455. XPhone_CaijiIDRsp* XPhone_CaijiIDRsp::New(::google::protobuf::Arena* arena) const {
  24456. XPhone_CaijiIDRsp* n = new XPhone_CaijiIDRsp;
  24457. if (arena != NULL) {
  24458. arena->Own(n);
  24459. }
  24460. return n;
  24461. }
  24462. void XPhone_CaijiIDRsp::Clear() {
  24463. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  24464. head_ = NULL;
  24465. ids_.Clear();
  24466. }
  24467. bool XPhone_CaijiIDRsp::MergePartialFromCodedStream(
  24468. ::google::protobuf::io::CodedInputStream* input) {
  24469. #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
  24470. ::google::protobuf::uint32 tag;
  24471. // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CaijiIDRsp)
  24472. for (;;) {
  24473. ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
  24474. tag = p.first;
  24475. if (!p.second) goto handle_unusual;
  24476. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  24477. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  24478. case 1: {
  24479. if (tag == 10) {
  24480. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  24481. input, mutable_head()));
  24482. } else {
  24483. goto handle_unusual;
  24484. }
  24485. if (input->ExpectTag(18)) goto parse_ids;
  24486. break;
  24487. }
  24488. // repeated .XPhonePlus.XPhone_IDInfo ids = 2;
  24489. case 2: {
  24490. if (tag == 18) {
  24491. parse_ids:
  24492. DO_(input->IncrementRecursionDepth());
  24493. parse_loop_ids:
  24494. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
  24495. input, add_ids()));
  24496. } else {
  24497. goto handle_unusual;
  24498. }
  24499. if (input->ExpectTag(18)) goto parse_loop_ids;
  24500. input->UnsafeDecrementRecursionDepth();
  24501. if (input->ExpectAtEnd()) goto success;
  24502. break;
  24503. }
  24504. default: {
  24505. handle_unusual:
  24506. if (tag == 0 ||
  24507. ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24508. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  24509. goto success;
  24510. }
  24511. DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  24512. break;
  24513. }
  24514. }
  24515. }
  24516. success:
  24517. // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CaijiIDRsp)
  24518. return true;
  24519. failure:
  24520. // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CaijiIDRsp)
  24521. return false;
  24522. #undef DO_
  24523. }
  24524. void XPhone_CaijiIDRsp::SerializeWithCachedSizes(
  24525. ::google::protobuf::io::CodedOutputStream* output) const {
  24526. // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CaijiIDRsp)
  24527. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  24528. if (this->has_head()) {
  24529. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  24530. 1, *this->head_, output);
  24531. }
  24532. // repeated .XPhonePlus.XPhone_IDInfo ids = 2;
  24533. for (unsigned int i = 0, n = this->ids_size(); i < n; i++) {
  24534. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  24535. 2, this->ids(i), output);
  24536. }
  24537. // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CaijiIDRsp)
  24538. }
  24539. ::google::protobuf::uint8* XPhone_CaijiIDRsp::SerializeWithCachedSizesToArray(
  24540. ::google::protobuf::uint8* target) const {
  24541. // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CaijiIDRsp)
  24542. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  24543. if (this->has_head()) {
  24544. target = ::google::protobuf::internal::WireFormatLite::
  24545. WriteMessageNoVirtualToArray(
  24546. 1, *this->head_, target);
  24547. }
  24548. // repeated .XPhonePlus.XPhone_IDInfo ids = 2;
  24549. for (unsigned int i = 0, n = this->ids_size(); i < n; i++) {
  24550. target = ::google::protobuf::internal::WireFormatLite::
  24551. WriteMessageNoVirtualToArray(
  24552. 2, this->ids(i), target);
  24553. }
  24554. // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CaijiIDRsp)
  24555. return target;
  24556. }
  24557. int XPhone_CaijiIDRsp::ByteSize() const {
  24558. int total_size = 0;
  24559. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  24560. if (this->has_head()) {
  24561. total_size += 1 +
  24562. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  24563. *this->head_);
  24564. }
  24565. // repeated .XPhonePlus.XPhone_IDInfo ids = 2;
  24566. total_size += 1 * this->ids_size();
  24567. for (int i = 0; i < this->ids_size(); i++) {
  24568. total_size +=
  24569. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  24570. this->ids(i));
  24571. }
  24572. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24573. _cached_size_ = total_size;
  24574. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24575. return total_size;
  24576. }
  24577. void XPhone_CaijiIDRsp::MergeFrom(const ::google::protobuf::Message& from) {
  24578. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  24579. const XPhone_CaijiIDRsp* source =
  24580. ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CaijiIDRsp>(
  24581. &from);
  24582. if (source == NULL) {
  24583. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  24584. } else {
  24585. MergeFrom(*source);
  24586. }
  24587. }
  24588. void XPhone_CaijiIDRsp::MergeFrom(const XPhone_CaijiIDRsp& from) {
  24589. if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  24590. ids_.MergeFrom(from.ids_);
  24591. if (from.has_head()) {
  24592. mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
  24593. }
  24594. }
  24595. void XPhone_CaijiIDRsp::CopyFrom(const ::google::protobuf::Message& from) {
  24596. if (&from == this) return;
  24597. Clear();
  24598. MergeFrom(from);
  24599. }
  24600. void XPhone_CaijiIDRsp::CopyFrom(const XPhone_CaijiIDRsp& from) {
  24601. if (&from == this) return;
  24602. Clear();
  24603. MergeFrom(from);
  24604. }
  24605. bool XPhone_CaijiIDRsp::IsInitialized() const {
  24606. return true;
  24607. }
  24608. void XPhone_CaijiIDRsp::Swap(XPhone_CaijiIDRsp* other) {
  24609. if (other == this) return;
  24610. InternalSwap(other);
  24611. }
  24612. void XPhone_CaijiIDRsp::InternalSwap(XPhone_CaijiIDRsp* other) {
  24613. std::swap(head_, other->head_);
  24614. ids_.UnsafeArenaSwap(&other->ids_);
  24615. _internal_metadata_.Swap(&other->_internal_metadata_);
  24616. std::swap(_cached_size_, other->_cached_size_);
  24617. }
  24618. ::google::protobuf::Metadata XPhone_CaijiIDRsp::GetMetadata() const {
  24619. protobuf_AssignDescriptorsOnce();
  24620. ::google::protobuf::Metadata metadata;
  24621. metadata.descriptor = XPhone_CaijiIDRsp_descriptor_;
  24622. metadata.reflection = XPhone_CaijiIDRsp_reflection_;
  24623. return metadata;
  24624. }
  24625. #if PROTOBUF_INLINE_NOT_IN_HEADERS
  24626. // XPhone_CaijiIDRsp
  24627. // optional .XPhonePlus.XPhone_MsgBase head = 1;
  24628. bool XPhone_CaijiIDRsp::has_head() const {
  24629. return !_is_default_instance_ && head_ != NULL;
  24630. }
  24631. void XPhone_CaijiIDRsp::clear_head() {
  24632. if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
  24633. head_ = NULL;
  24634. }
  24635. const ::XPhonePlus::XPhone_MsgBase& XPhone_CaijiIDRsp::head() const {
  24636. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiIDRsp.head)
  24637. return head_ != NULL ? *head_ : *default_instance_->head_;
  24638. }
  24639. ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiIDRsp::mutable_head() {
  24640. if (head_ == NULL) {
  24641. head_ = new ::XPhonePlus::XPhone_MsgBase;
  24642. }
  24643. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiIDRsp.head)
  24644. return head_;
  24645. }
  24646. ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiIDRsp::release_head() {
  24647. ::XPhonePlus::XPhone_MsgBase* temp = head_;
  24648. head_ = NULL;
  24649. return temp;
  24650. }
  24651. void XPhone_CaijiIDRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
  24652. delete head_;
  24653. head_ = head;
  24654. if (head) {
  24655. } else {
  24656. }
  24657. // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CaijiIDRsp.head)
  24658. }
  24659. // repeated .XPhonePlus.XPhone_IDInfo ids = 2;
  24660. int XPhone_CaijiIDRsp::ids_size() const {
  24661. return ids_.size();
  24662. }
  24663. void XPhone_CaijiIDRsp::clear_ids() {
  24664. ids_.Clear();
  24665. }
  24666. const ::XPhonePlus::XPhone_IDInfo& XPhone_CaijiIDRsp::ids(int index) const {
  24667. // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiIDRsp.ids)
  24668. return ids_.Get(index);
  24669. }
  24670. ::XPhonePlus::XPhone_IDInfo* XPhone_CaijiIDRsp::mutable_ids(int index) {
  24671. // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiIDRsp.ids)
  24672. return ids_.Mutable(index);
  24673. }
  24674. ::XPhonePlus::XPhone_IDInfo* XPhone_CaijiIDRsp::add_ids() {
  24675. // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_CaijiIDRsp.ids)
  24676. return ids_.Add();
  24677. }
  24678. ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_IDInfo >*
  24679. XPhone_CaijiIDRsp::mutable_ids() {
  24680. // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_CaijiIDRsp.ids)
  24681. return &ids_;
  24682. }
  24683. const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_IDInfo >&
  24684. XPhone_CaijiIDRsp::ids() const {
  24685. // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_CaijiIDRsp.ids)
  24686. return ids_;
  24687. }
  24688. #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
  24689. // @@protoc_insertion_point(namespace_scope)
  24690. } // namespace XPhonePlus
  24691. // @@protoc_insertion_point(global_scope)