123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: common.proto
- #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
- #include "common.pb.h"
- #include <algorithm>
- #include <google/protobuf/stubs/common.h>
- #include <google/protobuf/stubs/once.h>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/wire_format_lite_inl.h>
- #include <google/protobuf/descriptor.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/reflection_ops.h>
- #include <google/protobuf/wire_format.h>
- // @@protoc_insertion_point(includes)
- namespace XPhonePlus {
- namespace {
- const ::google::protobuf::Descriptor* XPhone_BaseResponse_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_BaseResponse_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_MsgBase_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_MsgBase_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ReqHead_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ReqHead_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_GetDeviceInfo_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_GetDeviceInfo_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_DeviceInfo_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_DeviceInfo_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_SendFile_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_SendFile_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_LocationSetting_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_LocationSetting_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_AddNearbySetting_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_AddNearbySetting_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_AddressBookSetting_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_AddressBookSetting_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_RadarSetting_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_RadarSetting_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_YaoyiyaoSetting_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_YaoyiyaoSetting_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_AutoReplyMsg_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_AutoReplyMsg_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_AutoReplySetting_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_AutoReplySetting_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_FunctionSwitch_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_FunctionSwitch_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_SnsMsg_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_SnsMsg_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_SnsSetting_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_SnsSetting_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ChatroomMsgSetting_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ChatroomMsgSetting_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ContactMsgSetting_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ContactMsgSetting_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_AddChatroomMemberSetting_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_AddChatroomMemberSetting_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_Array_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_Array_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_LocalTaskParam_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_LocalTaskParam_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_LocalTaskParam_ParamsEntry_descriptor_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_TaskReq_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_TaskReq_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_TaskRsp_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_TaskRsp_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ContactInfo_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ContactInfo_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ContactInfoRsp_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ContactInfoRsp_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ChatRoomInfoReq_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ChatRoomInfoReq_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ChatRoomInfo_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ChatRoomInfo_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ChatroomInfoRsp_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ChatroomInfoRsp_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_LoginUserinfo_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_LoginUserinfo_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_RecvChatMsg_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_RecvChatMsg_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ChatMsg_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ChatMsg_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_SendChatMsg_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_SendChatMsg_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ImportContact_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ImportContact_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_OpenActivity_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_OpenActivity_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_RestoreWeichatShot_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_RestoreWeichatShot_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_AllLoginUsers_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_AllLoginUsers_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_SystemLoginReq_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_SystemLoginReq_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_SystemLoginRsp_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_SystemLoginRsp_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_SystemUpdateReq_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_SystemUpdateReq_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_SystemUpdateRsp_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_SystemUpdateRsp_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_TextInput_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_TextInput_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_NoticeReq_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_NoticeReq_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_NoticeRsp_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_NoticeRsp_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_Test_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_Test_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_Setting_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_Setting_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_CheckClientReq_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_CheckClientReq_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_CheckClientRsp_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_CheckClientRsp_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ImportWeichat_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ImportWeichat_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ImportQQ_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ImportQQ_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_ImportGongZhong_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_ImportGongZhong_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_WifiConnect_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_WifiConnect_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_AdbCommandReq_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_AdbCommandReq_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_AdbCommandRsp_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_AdbCommandRsp_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_CaijiAddressIDReq_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_CaijiAddressIDReq_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_CaijiNearbyIDReq_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_CaijiNearbyIDReq_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_CaijiFriendIDReq_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_CaijiFriendIDReq_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_IDInfo_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_IDInfo_reflection_ = NULL;
- const ::google::protobuf::Descriptor* XPhone_CaijiIDRsp_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- XPhone_CaijiIDRsp_reflection_ = NULL;
- const ::google::protobuf::EnumDescriptor* XPhone_DeviceChange_descriptor_ = NULL;
- const ::google::protobuf::EnumDescriptor* XPhone_TaskAction_descriptor_ = NULL;
- const ::google::protobuf::EnumDescriptor* XPhone_TaskStatus_descriptor_ = NULL;
- const ::google::protobuf::EnumDescriptor* XPhone_TaskType_descriptor_ = NULL;
- const ::google::protobuf::EnumDescriptor* XPhone_MsgType_descriptor_ = NULL;
- } // namespace
- void protobuf_AssignDesc_common_2eproto() {
- protobuf_AddDesc_common_2eproto();
- const ::google::protobuf::FileDescriptor* file =
- ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
- "common.proto");
- GOOGLE_CHECK(file != NULL);
- XPhone_BaseResponse_descriptor_ = file->message_type(0);
- static const int XPhone_BaseResponse_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_BaseResponse, msgtype_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_BaseResponse, ierrorcode_),
- };
- XPhone_BaseResponse_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_BaseResponse_descriptor_,
- XPhone_BaseResponse::default_instance_,
- XPhone_BaseResponse_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_BaseResponse),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_BaseResponse, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_BaseResponse, _is_default_instance_));
- XPhone_MsgBase_descriptor_ = file->message_type(1);
- static const int XPhone_MsgBase_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_MsgBase, msgtype_),
- };
- XPhone_MsgBase_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_MsgBase_descriptor_,
- XPhone_MsgBase::default_instance_,
- XPhone_MsgBase_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_MsgBase),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_MsgBase, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_MsgBase, _is_default_instance_));
- XPhone_ReqHead_descriptor_ = file->message_type(2);
- static const int XPhone_ReqHead_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ReqHead, head_),
- };
- XPhone_ReqHead_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ReqHead_descriptor_,
- XPhone_ReqHead::default_instance_,
- XPhone_ReqHead_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ReqHead),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ReqHead, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ReqHead, _is_default_instance_));
- XPhone_GetDeviceInfo_descriptor_ = file->message_type(3);
- static const int XPhone_GetDeviceInfo_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_GetDeviceInfo, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_GetDeviceInfo, stridentify_),
- };
- XPhone_GetDeviceInfo_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_GetDeviceInfo_descriptor_,
- XPhone_GetDeviceInfo::default_instance_,
- XPhone_GetDeviceInfo_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_GetDeviceInfo),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_GetDeviceInfo, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_GetDeviceInfo, _is_default_instance_));
- XPhone_DeviceInfo_descriptor_ = file->message_type(4);
- static const int XPhone_DeviceInfo_offsets_[8] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strdevicename_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strbrand_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strmodel_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strresolution_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strimei_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, isdkverid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, strcpuarchive_),
- };
- XPhone_DeviceInfo_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_DeviceInfo_descriptor_,
- XPhone_DeviceInfo::default_instance_,
- XPhone_DeviceInfo_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_DeviceInfo),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_DeviceInfo, _is_default_instance_));
- XPhone_SendFile_descriptor_ = file->message_type(5);
- static const int XPhone_SendFile_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendFile, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendFile, strfilepath_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendFile, filecontent_),
- };
- XPhone_SendFile_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_SendFile_descriptor_,
- XPhone_SendFile::default_instance_,
- XPhone_SendFile_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_SendFile),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendFile, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendFile, _is_default_instance_));
- XPhone_LocationSetting_descriptor_ = file->message_type(6);
- static const int XPhone_LocationSetting_offsets_[5] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, bstart_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, strlocation_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, longtitude_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, latitude_),
- };
- XPhone_LocationSetting_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_LocationSetting_descriptor_,
- XPhone_LocationSetting::default_instance_,
- XPhone_LocationSetting_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_LocationSetting),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocationSetting, _is_default_instance_));
- XPhone_AddNearbySetting_descriptor_ = file->message_type(7);
- static const int XPhone_AddNearbySetting_offsets_[6] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, addname_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, strintroduce_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, addinterval_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, sex_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, addcount_),
- };
- XPhone_AddNearbySetting_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_AddNearbySetting_descriptor_,
- XPhone_AddNearbySetting::default_instance_,
- XPhone_AddNearbySetting_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_AddNearbySetting),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddNearbySetting, _is_default_instance_));
- XPhone_AddressBookSetting_descriptor_ = file->message_type(8);
- static const int XPhone_AddressBookSetting_offsets_[5] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, addcount_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, addinterval_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, isex_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, strintroduce_),
- };
- XPhone_AddressBookSetting_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_AddressBookSetting_descriptor_,
- XPhone_AddressBookSetting::default_instance_,
- XPhone_AddressBookSetting_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_AddressBookSetting),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddressBookSetting, _is_default_instance_));
- XPhone_RadarSetting_descriptor_ = file->message_type(9);
- static const int XPhone_RadarSetting_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RadarSetting, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RadarSetting, scantime_),
- };
- XPhone_RadarSetting_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_RadarSetting_descriptor_,
- XPhone_RadarSetting::default_instance_,
- XPhone_RadarSetting_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_RadarSetting),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RadarSetting, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RadarSetting, _is_default_instance_));
- XPhone_YaoyiyaoSetting_descriptor_ = file->message_type(10);
- static const int XPhone_YaoyiyaoSetting_offsets_[6] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, totaltime_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, intrval_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, addname_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, strintroduce_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, addfriend_),
- };
- XPhone_YaoyiyaoSetting_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_YaoyiyaoSetting_descriptor_,
- XPhone_YaoyiyaoSetting::default_instance_,
- XPhone_YaoyiyaoSetting_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_YaoyiyaoSetting),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_YaoyiyaoSetting, _is_default_instance_));
- XPhone_AutoReplyMsg_descriptor_ = file->message_type(11);
- static const int XPhone_AutoReplyMsg_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplyMsg, type_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplyMsg, strkeyword_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplyMsg, strresponse_),
- };
- XPhone_AutoReplyMsg_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_AutoReplyMsg_descriptor_,
- XPhone_AutoReplyMsg::default_instance_,
- XPhone_AutoReplyMsg_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_AutoReplyMsg),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplyMsg, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplyMsg, _is_default_instance_));
- XPhone_AutoReplySetting_descriptor_ = file->message_type(12);
- static const int XPhone_AutoReplySetting_offsets_[8] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, forbiddenforground_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, delay_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, strcommoncontent_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, maxreply_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, strstarttime_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, strendtime_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, msglist_),
- };
- XPhone_AutoReplySetting_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_AutoReplySetting_descriptor_,
- XPhone_AutoReplySetting::default_instance_,
- XPhone_AutoReplySetting_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_AutoReplySetting),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AutoReplySetting, _is_default_instance_));
- XPhone_FunctionSwitch_descriptor_ = file->message_type(13);
- static const int XPhone_FunctionSwitch_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_FunctionSwitch, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_FunctionSwitch, tasktype_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_FunctionSwitch, action_),
- };
- XPhone_FunctionSwitch_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_FunctionSwitch_descriptor_,
- XPhone_FunctionSwitch::default_instance_,
- XPhone_FunctionSwitch_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_FunctionSwitch),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_FunctionSwitch, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_FunctionSwitch, _is_default_instance_));
- XPhone_SnsMsg_descriptor_ = file->message_type(14);
- static const int XPhone_SnsMsg_offsets_[5] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, snstype_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, strtitle_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, strtext_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, strlinker_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, piclist_),
- };
- XPhone_SnsMsg_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_SnsMsg_descriptor_,
- XPhone_SnsMsg::default_instance_,
- XPhone_SnsMsg_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_SnsMsg),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsMsg, _is_default_instance_));
- XPhone_SnsSetting_descriptor_ = file->message_type(15);
- static const int XPhone_SnsSetting_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsSetting, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsSetting, sendintrval_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsSetting, snslist_),
- };
- XPhone_SnsSetting_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_SnsSetting_descriptor_,
- XPhone_SnsSetting::default_instance_,
- XPhone_SnsSetting_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_SnsSetting),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsSetting, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SnsSetting, _is_default_instance_));
- XPhone_ChatroomMsgSetting_descriptor_ = file->message_type(16);
- static const int XPhone_ChatroomMsgSetting_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomMsgSetting, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomMsgSetting, sendintrval_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomMsgSetting, lists_),
- };
- XPhone_ChatroomMsgSetting_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ChatroomMsgSetting_descriptor_,
- XPhone_ChatroomMsgSetting::default_instance_,
- XPhone_ChatroomMsgSetting_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ChatroomMsgSetting),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomMsgSetting, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomMsgSetting, _is_default_instance_));
- XPhone_ContactMsgSetting_descriptor_ = file->message_type(17);
- static const int XPhone_ContactMsgSetting_offsets_[4] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, sendintrval_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, deletezombie_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, lists_),
- };
- XPhone_ContactMsgSetting_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ContactMsgSetting_descriptor_,
- XPhone_ContactMsgSetting::default_instance_,
- XPhone_ContactMsgSetting_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ContactMsgSetting),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactMsgSetting, _is_default_instance_));
- XPhone_AddChatroomMemberSetting_descriptor_ = file->message_type(18);
- static const int XPhone_AddChatroomMemberSetting_offsets_[4] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, addintrval_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, strintroduce_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, addcount_),
- };
- XPhone_AddChatroomMemberSetting_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_AddChatroomMemberSetting_descriptor_,
- XPhone_AddChatroomMemberSetting::default_instance_,
- XPhone_AddChatroomMemberSetting_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_AddChatroomMemberSetting),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AddChatroomMemberSetting, _is_default_instance_));
- XPhone_Array_descriptor_ = file->message_type(19);
- static const int XPhone_Array_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Array, array_),
- };
- XPhone_Array_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_Array_descriptor_,
- XPhone_Array::default_instance_,
- XPhone_Array_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_Array),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Array, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Array, _is_default_instance_));
- XPhone_LocalTaskParam_descriptor_ = file->message_type(20);
- static const int XPhone_LocalTaskParam_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocalTaskParam, params_),
- };
- XPhone_LocalTaskParam_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_LocalTaskParam_descriptor_,
- XPhone_LocalTaskParam::default_instance_,
- XPhone_LocalTaskParam_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_LocalTaskParam),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocalTaskParam, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LocalTaskParam, _is_default_instance_));
- XPhone_LocalTaskParam_ParamsEntry_descriptor_ = XPhone_LocalTaskParam_descriptor_->nested_type(0);
- XPhone_TaskReq_descriptor_ = file->message_type(21);
- static const int XPhone_TaskReq_offsets_[6] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, taskid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, tasktype_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, action_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, delay_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, params_),
- };
- XPhone_TaskReq_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_TaskReq_descriptor_,
- XPhone_TaskReq::default_instance_,
- XPhone_TaskReq_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_TaskReq),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskReq, _is_default_instance_));
- XPhone_TaskRsp_descriptor_ = file->message_type(22);
- static const int XPhone_TaskRsp_offsets_[4] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, taskid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, tasktype_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, taskstatus_),
- };
- XPhone_TaskRsp_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_TaskRsp_descriptor_,
- XPhone_TaskRsp::default_instance_,
- XPhone_TaskRsp_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_TaskRsp),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TaskRsp, _is_default_instance_));
- XPhone_ContactInfo_descriptor_ = file->message_type(23);
- static const int XPhone_ContactInfo_offsets_[5] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, strusername_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, strnickername_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, strweichat_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, strsignature_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, isex_),
- };
- XPhone_ContactInfo_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ContactInfo_descriptor_,
- XPhone_ContactInfo::default_instance_,
- XPhone_ContactInfo_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ContactInfo),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfo, _is_default_instance_));
- XPhone_ContactInfoRsp_descriptor_ = file->message_type(24);
- static const int XPhone_ContactInfoRsp_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfoRsp, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfoRsp, contactlist_),
- };
- XPhone_ContactInfoRsp_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ContactInfoRsp_descriptor_,
- XPhone_ContactInfoRsp::default_instance_,
- XPhone_ContactInfoRsp_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ContactInfoRsp),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfoRsp, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ContactInfoRsp, _is_default_instance_));
- XPhone_ChatRoomInfoReq_descriptor_ = file->message_type(25);
- static const int XPhone_ChatRoomInfoReq_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfoReq, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfoReq, bfriend_),
- };
- XPhone_ChatRoomInfoReq_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ChatRoomInfoReq_descriptor_,
- XPhone_ChatRoomInfoReq::default_instance_,
- XPhone_ChatRoomInfoReq_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ChatRoomInfoReq),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfoReq, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfoReq, _is_default_instance_));
- XPhone_ChatRoomInfo_descriptor_ = file->message_type(26);
- static const int XPhone_ChatRoomInfo_offsets_[4] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, chatroomid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, chatroomname_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, chatroomowner_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, members_),
- };
- XPhone_ChatRoomInfo_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ChatRoomInfo_descriptor_,
- XPhone_ChatRoomInfo::default_instance_,
- XPhone_ChatRoomInfo_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ChatRoomInfo),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatRoomInfo, _is_default_instance_));
- XPhone_ChatroomInfoRsp_descriptor_ = file->message_type(27);
- static const int XPhone_ChatroomInfoRsp_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomInfoRsp, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomInfoRsp, roomlist_),
- };
- XPhone_ChatroomInfoRsp_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ChatroomInfoRsp_descriptor_,
- XPhone_ChatroomInfoRsp::default_instance_,
- XPhone_ChatroomInfoRsp_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ChatroomInfoRsp),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomInfoRsp, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatroomInfoRsp, _is_default_instance_));
- XPhone_LoginUserinfo_descriptor_ = file->message_type(28);
- static const int XPhone_LoginUserinfo_offsets_[4] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, strnickername_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, strusername_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, strweichat_),
- };
- XPhone_LoginUserinfo_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_LoginUserinfo_descriptor_,
- XPhone_LoginUserinfo::default_instance_,
- XPhone_LoginUserinfo_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_LoginUserinfo),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_LoginUserinfo, _is_default_instance_));
- XPhone_RecvChatMsg_descriptor_ = file->message_type(29);
- static const int XPhone_RecvChatMsg_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RecvChatMsg, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RecvChatMsg, strtablename_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RecvChatMsg, strmsgcontent_),
- };
- XPhone_RecvChatMsg_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_RecvChatMsg_descriptor_,
- XPhone_RecvChatMsg::default_instance_,
- XPhone_RecvChatMsg_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_RecvChatMsg),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RecvChatMsg, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RecvChatMsg, _is_default_instance_));
- XPhone_ChatMsg_descriptor_ = file->message_type(30);
- static const int XPhone_ChatMsg_offsets_[8] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, issend_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, strtalker_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, type_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, strcontent_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, icratetime_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, istatus_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, strshowname_),
- };
- XPhone_ChatMsg_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ChatMsg_descriptor_,
- XPhone_ChatMsg::default_instance_,
- XPhone_ChatMsg_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ChatMsg),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ChatMsg, _is_default_instance_));
- XPhone_SendChatMsg_descriptor_ = file->message_type(31);
- static const int XPhone_SendChatMsg_offsets_[4] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, strtalker_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, type_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, strcontent_),
- };
- XPhone_SendChatMsg_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_SendChatMsg_descriptor_,
- XPhone_SendChatMsg::default_instance_,
- XPhone_SendChatMsg_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_SendChatMsg),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SendChatMsg, _is_default_instance_));
- XPhone_ImportContact_descriptor_ = file->message_type(32);
- static const int XPhone_ImportContact_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportContact, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportContact, phonenumbers_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportContact, clearcontacts_),
- };
- XPhone_ImportContact_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ImportContact_descriptor_,
- XPhone_ImportContact::default_instance_,
- XPhone_ImportContact_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ImportContact),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportContact, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportContact, _is_default_instance_));
- XPhone_OpenActivity_descriptor_ = file->message_type(33);
- static const int XPhone_OpenActivity_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_OpenActivity, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_OpenActivity, stractivityname_),
- };
- XPhone_OpenActivity_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_OpenActivity_descriptor_,
- XPhone_OpenActivity::default_instance_,
- XPhone_OpenActivity_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_OpenActivity),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_OpenActivity, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_OpenActivity, _is_default_instance_));
- XPhone_RestoreWeichatShot_descriptor_ = file->message_type(34);
- static const int XPhone_RestoreWeichatShot_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RestoreWeichatShot, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RestoreWeichatShot, strusername_),
- };
- XPhone_RestoreWeichatShot_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_RestoreWeichatShot_descriptor_,
- XPhone_RestoreWeichatShot::default_instance_,
- XPhone_RestoreWeichatShot_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_RestoreWeichatShot),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RestoreWeichatShot, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_RestoreWeichatShot, _is_default_instance_));
- XPhone_AllLoginUsers_descriptor_ = file->message_type(35);
- static const int XPhone_AllLoginUsers_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AllLoginUsers, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AllLoginUsers, userslists_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AllLoginUsers, strcurrentlogin_),
- };
- XPhone_AllLoginUsers_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_AllLoginUsers_descriptor_,
- XPhone_AllLoginUsers::default_instance_,
- XPhone_AllLoginUsers_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_AllLoginUsers),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AllLoginUsers, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AllLoginUsers, _is_default_instance_));
- XPhone_SystemLoginReq_descriptor_ = file->message_type(36);
- static const int XPhone_SystemLoginReq_offsets_[7] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, strusername_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, strpasswd_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, machinecode_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, softver_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, strchannel_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, timespan_),
- };
- XPhone_SystemLoginReq_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_SystemLoginReq_descriptor_,
- XPhone_SystemLoginReq::default_instance_,
- XPhone_SystemLoginReq_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_SystemLoginReq),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginReq, _is_default_instance_));
- XPhone_SystemLoginRsp_descriptor_ = file->message_type(37);
- static const int XPhone_SystemLoginRsp_offsets_[5] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, errcode_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, totalcontrol_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, remaincontrol_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, hashcode_),
- };
- XPhone_SystemLoginRsp_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_SystemLoginRsp_descriptor_,
- XPhone_SystemLoginRsp::default_instance_,
- XPhone_SystemLoginRsp_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_SystemLoginRsp),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemLoginRsp, _is_default_instance_));
- XPhone_SystemUpdateReq_descriptor_ = file->message_type(38);
- static const int XPhone_SystemUpdateReq_offsets_[5] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, strusername_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, machinecode_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, softver_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, strchannel_),
- };
- XPhone_SystemUpdateReq_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_SystemUpdateReq_descriptor_,
- XPhone_SystemUpdateReq::default_instance_,
- XPhone_SystemUpdateReq_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_SystemUpdateReq),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateReq, _is_default_instance_));
- XPhone_SystemUpdateRsp_descriptor_ = file->message_type(39);
- static const int XPhone_SystemUpdateRsp_offsets_[5] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, iupdatetype_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, strpackageurl_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, iupdatever_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, strmd5_),
- };
- XPhone_SystemUpdateRsp_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_SystemUpdateRsp_descriptor_,
- XPhone_SystemUpdateRsp::default_instance_,
- XPhone_SystemUpdateRsp_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_SystemUpdateRsp),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_SystemUpdateRsp, _is_default_instance_));
- XPhone_TextInput_descriptor_ = file->message_type(40);
- static const int XPhone_TextInput_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TextInput, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TextInput, iinputtype_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TextInput, strcontent_),
- };
- XPhone_TextInput_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_TextInput_descriptor_,
- XPhone_TextInput::default_instance_,
- XPhone_TextInput_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_TextInput),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TextInput, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_TextInput, _is_default_instance_));
- XPhone_NoticeReq_descriptor_ = file->message_type(41);
- static const int XPhone_NoticeReq_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeReq, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeReq, strchannel_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeReq, iclientver_),
- };
- XPhone_NoticeReq_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_NoticeReq_descriptor_,
- XPhone_NoticeReq::default_instance_,
- XPhone_NoticeReq_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_NoticeReq),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeReq, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeReq, _is_default_instance_));
- XPhone_NoticeRsp_descriptor_ = file->message_type(42);
- static const int XPhone_NoticeRsp_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeRsp, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeRsp, noticelist_),
- };
- XPhone_NoticeRsp_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_NoticeRsp_descriptor_,
- XPhone_NoticeRsp::default_instance_,
- XPhone_NoticeRsp_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_NoticeRsp),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeRsp, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_NoticeRsp, _is_default_instance_));
- XPhone_Test_descriptor_ = file->message_type(43);
- static const int XPhone_Test_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Test, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Test, paramlists_),
- };
- XPhone_Test_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_Test_descriptor_,
- XPhone_Test::default_instance_,
- XPhone_Test_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_Test),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Test, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Test, _is_default_instance_));
- XPhone_Setting_descriptor_ = file->message_type(44);
- static const int XPhone_Setting_offsets_[12] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, zantime_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, autoqianghongbao_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, autoplaymusic_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, autoloadtask_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, unrecall_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, enablemsgtip_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, yaoshaizi_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, caiquan_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, enableautoreply_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, enablelocation_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, autosendmsg_),
- };
- XPhone_Setting_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_Setting_descriptor_,
- XPhone_Setting::default_instance_,
- XPhone_Setting_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_Setting),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_Setting, _is_default_instance_));
- XPhone_CheckClientReq_descriptor_ = file->message_type(45);
- static const int XPhone_CheckClientReq_offsets_[8] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, strusername_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, machinecode_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, softver_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, strchannel_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, connectcount_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, wifiname_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, timespan_),
- };
- XPhone_CheckClientReq_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_CheckClientReq_descriptor_,
- XPhone_CheckClientReq::default_instance_,
- XPhone_CheckClientReq_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_CheckClientReq),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientReq, _is_default_instance_));
- XPhone_CheckClientRsp_descriptor_ = file->message_type(46);
- static const int XPhone_CheckClientRsp_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientRsp, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientRsp, errorcode_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientRsp, hashcode_),
- };
- XPhone_CheckClientRsp_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_CheckClientRsp_descriptor_,
- XPhone_CheckClientRsp::default_instance_,
- XPhone_CheckClientRsp_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_CheckClientRsp),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientRsp, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CheckClientRsp, _is_default_instance_));
- XPhone_ImportWeichat_descriptor_ = file->message_type(47);
- static const int XPhone_ImportWeichat_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportWeichat, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportWeichat, weichatlists_),
- };
- XPhone_ImportWeichat_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ImportWeichat_descriptor_,
- XPhone_ImportWeichat::default_instance_,
- XPhone_ImportWeichat_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ImportWeichat),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportWeichat, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportWeichat, _is_default_instance_));
- XPhone_ImportQQ_descriptor_ = file->message_type(48);
- static const int XPhone_ImportQQ_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportQQ, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportQQ, qqlists_),
- };
- XPhone_ImportQQ_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ImportQQ_descriptor_,
- XPhone_ImportQQ::default_instance_,
- XPhone_ImportQQ_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ImportQQ),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportQQ, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportQQ, _is_default_instance_));
- XPhone_ImportGongZhong_descriptor_ = file->message_type(49);
- static const int XPhone_ImportGongZhong_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportGongZhong, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportGongZhong, gongzhonglists_),
- };
- XPhone_ImportGongZhong_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_ImportGongZhong_descriptor_,
- XPhone_ImportGongZhong::default_instance_,
- XPhone_ImportGongZhong_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_ImportGongZhong),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportGongZhong, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_ImportGongZhong, _is_default_instance_));
- XPhone_WifiConnect_descriptor_ = file->message_type(50);
- static const int XPhone_WifiConnect_offsets_[4] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, strip_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, iport_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, bconnect_),
- };
- XPhone_WifiConnect_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_WifiConnect_descriptor_,
- XPhone_WifiConnect::default_instance_,
- XPhone_WifiConnect_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_WifiConnect),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_WifiConnect, _is_default_instance_));
- XPhone_AdbCommandReq_descriptor_ = file->message_type(51);
- static const int XPhone_AdbCommandReq_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandReq, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandReq, commandlists_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandReq, mode_),
- };
- XPhone_AdbCommandReq_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_AdbCommandReq_descriptor_,
- XPhone_AdbCommandReq::default_instance_,
- XPhone_AdbCommandReq_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_AdbCommandReq),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandReq, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandReq, _is_default_instance_));
- XPhone_AdbCommandRsp_descriptor_ = file->message_type(52);
- static const int XPhone_AdbCommandRsp_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandRsp, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandRsp, strresult_),
- };
- XPhone_AdbCommandRsp_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_AdbCommandRsp_descriptor_,
- XPhone_AdbCommandRsp::default_instance_,
- XPhone_AdbCommandRsp_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_AdbCommandRsp),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandRsp, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_AdbCommandRsp, _is_default_instance_));
- XPhone_CaijiAddressIDReq_descriptor_ = file->message_type(53);
- static const int XPhone_CaijiAddressIDReq_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiAddressIDReq, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiAddressIDReq, phonenumbers_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiAddressIDReq, bclear_),
- };
- XPhone_CaijiAddressIDReq_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_CaijiAddressIDReq_descriptor_,
- XPhone_CaijiAddressIDReq::default_instance_,
- XPhone_CaijiAddressIDReq_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_CaijiAddressIDReq),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiAddressIDReq, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiAddressIDReq, _is_default_instance_));
- XPhone_CaijiNearbyIDReq_descriptor_ = file->message_type(54);
- static const int XPhone_CaijiNearbyIDReq_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiNearbyIDReq, head_),
- };
- XPhone_CaijiNearbyIDReq_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_CaijiNearbyIDReq_descriptor_,
- XPhone_CaijiNearbyIDReq::default_instance_,
- XPhone_CaijiNearbyIDReq_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_CaijiNearbyIDReq),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiNearbyIDReq, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiNearbyIDReq, _is_default_instance_));
- XPhone_CaijiFriendIDReq_descriptor_ = file->message_type(55);
- static const int XPhone_CaijiFriendIDReq_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiFriendIDReq, head_),
- };
- XPhone_CaijiFriendIDReq_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_CaijiFriendIDReq_descriptor_,
- XPhone_CaijiFriendIDReq::default_instance_,
- XPhone_CaijiFriendIDReq_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_CaijiFriendIDReq),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiFriendIDReq, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiFriendIDReq, _is_default_instance_));
- XPhone_IDInfo_descriptor_ = file->message_type(56);
- static const int XPhone_IDInfo_offsets_[4] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, strid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, strusername_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, strnickername_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, isex_),
- };
- XPhone_IDInfo_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_IDInfo_descriptor_,
- XPhone_IDInfo::default_instance_,
- XPhone_IDInfo_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_IDInfo),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_IDInfo, _is_default_instance_));
- XPhone_CaijiIDRsp_descriptor_ = file->message_type(57);
- static const int XPhone_CaijiIDRsp_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiIDRsp, head_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiIDRsp, ids_),
- };
- XPhone_CaijiIDRsp_reflection_ =
- ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
- XPhone_CaijiIDRsp_descriptor_,
- XPhone_CaijiIDRsp::default_instance_,
- XPhone_CaijiIDRsp_offsets_,
- -1,
- -1,
- -1,
- sizeof(XPhone_CaijiIDRsp),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiIDRsp, _internal_metadata_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(XPhone_CaijiIDRsp, _is_default_instance_));
- XPhone_DeviceChange_descriptor_ = file->enum_type(0);
- XPhone_TaskAction_descriptor_ = file->enum_type(1);
- XPhone_TaskStatus_descriptor_ = file->enum_type(2);
- XPhone_TaskType_descriptor_ = file->enum_type(3);
- XPhone_MsgType_descriptor_ = file->enum_type(4);
- }
- namespace {
- GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
- inline void protobuf_AssignDescriptorsOnce() {
- ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
- &protobuf_AssignDesc_common_2eproto);
- }
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_BaseResponse_descriptor_, &XPhone_BaseResponse::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_MsgBase_descriptor_, &XPhone_MsgBase::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ReqHead_descriptor_, &XPhone_ReqHead::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_GetDeviceInfo_descriptor_, &XPhone_GetDeviceInfo::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_DeviceInfo_descriptor_, &XPhone_DeviceInfo::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_SendFile_descriptor_, &XPhone_SendFile::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_LocationSetting_descriptor_, &XPhone_LocationSetting::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_AddNearbySetting_descriptor_, &XPhone_AddNearbySetting::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_AddressBookSetting_descriptor_, &XPhone_AddressBookSetting::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_RadarSetting_descriptor_, &XPhone_RadarSetting::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_YaoyiyaoSetting_descriptor_, &XPhone_YaoyiyaoSetting::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_AutoReplyMsg_descriptor_, &XPhone_AutoReplyMsg::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_AutoReplySetting_descriptor_, &XPhone_AutoReplySetting::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_FunctionSwitch_descriptor_, &XPhone_FunctionSwitch::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_SnsMsg_descriptor_, &XPhone_SnsMsg::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_SnsSetting_descriptor_, &XPhone_SnsSetting::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ChatroomMsgSetting_descriptor_, &XPhone_ChatroomMsgSetting::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ContactMsgSetting_descriptor_, &XPhone_ContactMsgSetting::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_AddChatroomMemberSetting_descriptor_, &XPhone_AddChatroomMemberSetting::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_Array_descriptor_, &XPhone_Array::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_LocalTaskParam_descriptor_, &XPhone_LocalTaskParam::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_LocalTaskParam_ParamsEntry_descriptor_,
- ::google::protobuf::internal::MapEntry<
- ::std::string,
- ::XPhonePlus::XPhone_Array,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
- 0>::CreateDefaultInstance(
- XPhone_LocalTaskParam_ParamsEntry_descriptor_));
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_TaskReq_descriptor_, &XPhone_TaskReq::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_TaskRsp_descriptor_, &XPhone_TaskRsp::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ContactInfo_descriptor_, &XPhone_ContactInfo::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ContactInfoRsp_descriptor_, &XPhone_ContactInfoRsp::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ChatRoomInfoReq_descriptor_, &XPhone_ChatRoomInfoReq::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ChatRoomInfo_descriptor_, &XPhone_ChatRoomInfo::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ChatroomInfoRsp_descriptor_, &XPhone_ChatroomInfoRsp::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_LoginUserinfo_descriptor_, &XPhone_LoginUserinfo::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_RecvChatMsg_descriptor_, &XPhone_RecvChatMsg::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ChatMsg_descriptor_, &XPhone_ChatMsg::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_SendChatMsg_descriptor_, &XPhone_SendChatMsg::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ImportContact_descriptor_, &XPhone_ImportContact::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_OpenActivity_descriptor_, &XPhone_OpenActivity::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_RestoreWeichatShot_descriptor_, &XPhone_RestoreWeichatShot::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_AllLoginUsers_descriptor_, &XPhone_AllLoginUsers::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_SystemLoginReq_descriptor_, &XPhone_SystemLoginReq::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_SystemLoginRsp_descriptor_, &XPhone_SystemLoginRsp::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_SystemUpdateReq_descriptor_, &XPhone_SystemUpdateReq::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_SystemUpdateRsp_descriptor_, &XPhone_SystemUpdateRsp::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_TextInput_descriptor_, &XPhone_TextInput::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_NoticeReq_descriptor_, &XPhone_NoticeReq::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_NoticeRsp_descriptor_, &XPhone_NoticeRsp::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_Test_descriptor_, &XPhone_Test::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_Setting_descriptor_, &XPhone_Setting::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_CheckClientReq_descriptor_, &XPhone_CheckClientReq::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_CheckClientRsp_descriptor_, &XPhone_CheckClientRsp::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ImportWeichat_descriptor_, &XPhone_ImportWeichat::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ImportQQ_descriptor_, &XPhone_ImportQQ::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_ImportGongZhong_descriptor_, &XPhone_ImportGongZhong::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_WifiConnect_descriptor_, &XPhone_WifiConnect::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_AdbCommandReq_descriptor_, &XPhone_AdbCommandReq::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_AdbCommandRsp_descriptor_, &XPhone_AdbCommandRsp::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_CaijiAddressIDReq_descriptor_, &XPhone_CaijiAddressIDReq::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_CaijiNearbyIDReq_descriptor_, &XPhone_CaijiNearbyIDReq::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_CaijiFriendIDReq_descriptor_, &XPhone_CaijiFriendIDReq::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_IDInfo_descriptor_, &XPhone_IDInfo::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- XPhone_CaijiIDRsp_descriptor_, &XPhone_CaijiIDRsp::default_instance());
- }
- } // namespace
- void protobuf_ShutdownFile_common_2eproto() {
- delete XPhone_BaseResponse::default_instance_;
- delete XPhone_BaseResponse_reflection_;
- delete XPhone_MsgBase::default_instance_;
- delete XPhone_MsgBase_reflection_;
- delete XPhone_ReqHead::default_instance_;
- delete XPhone_ReqHead_reflection_;
- delete XPhone_GetDeviceInfo::default_instance_;
- delete XPhone_GetDeviceInfo_reflection_;
- delete XPhone_DeviceInfo::default_instance_;
- delete XPhone_DeviceInfo_reflection_;
- delete XPhone_SendFile::default_instance_;
- delete XPhone_SendFile_reflection_;
- delete XPhone_LocationSetting::default_instance_;
- delete XPhone_LocationSetting_reflection_;
- delete XPhone_AddNearbySetting::default_instance_;
- delete XPhone_AddNearbySetting_reflection_;
- delete XPhone_AddressBookSetting::default_instance_;
- delete XPhone_AddressBookSetting_reflection_;
- delete XPhone_RadarSetting::default_instance_;
- delete XPhone_RadarSetting_reflection_;
- delete XPhone_YaoyiyaoSetting::default_instance_;
- delete XPhone_YaoyiyaoSetting_reflection_;
- delete XPhone_AutoReplyMsg::default_instance_;
- delete XPhone_AutoReplyMsg_reflection_;
- delete XPhone_AutoReplySetting::default_instance_;
- delete XPhone_AutoReplySetting_reflection_;
- delete XPhone_FunctionSwitch::default_instance_;
- delete XPhone_FunctionSwitch_reflection_;
- delete XPhone_SnsMsg::default_instance_;
- delete XPhone_SnsMsg_reflection_;
- delete XPhone_SnsSetting::default_instance_;
- delete XPhone_SnsSetting_reflection_;
- delete XPhone_ChatroomMsgSetting::default_instance_;
- delete XPhone_ChatroomMsgSetting_reflection_;
- delete XPhone_ContactMsgSetting::default_instance_;
- delete XPhone_ContactMsgSetting_reflection_;
- delete XPhone_AddChatroomMemberSetting::default_instance_;
- delete XPhone_AddChatroomMemberSetting_reflection_;
- delete XPhone_Array::default_instance_;
- delete XPhone_Array_reflection_;
- delete XPhone_LocalTaskParam::default_instance_;
- delete XPhone_LocalTaskParam_reflection_;
- delete XPhone_TaskReq::default_instance_;
- delete XPhone_TaskReq_reflection_;
- delete XPhone_TaskRsp::default_instance_;
- delete XPhone_TaskRsp_reflection_;
- delete XPhone_ContactInfo::default_instance_;
- delete XPhone_ContactInfo_reflection_;
- delete XPhone_ContactInfoRsp::default_instance_;
- delete XPhone_ContactInfoRsp_reflection_;
- delete XPhone_ChatRoomInfoReq::default_instance_;
- delete XPhone_ChatRoomInfoReq_reflection_;
- delete XPhone_ChatRoomInfo::default_instance_;
- delete XPhone_ChatRoomInfo_reflection_;
- delete XPhone_ChatroomInfoRsp::default_instance_;
- delete XPhone_ChatroomInfoRsp_reflection_;
- delete XPhone_LoginUserinfo::default_instance_;
- delete XPhone_LoginUserinfo_reflection_;
- delete XPhone_RecvChatMsg::default_instance_;
- delete XPhone_RecvChatMsg_reflection_;
- delete XPhone_ChatMsg::default_instance_;
- delete XPhone_ChatMsg_reflection_;
- delete XPhone_SendChatMsg::default_instance_;
- delete XPhone_SendChatMsg_reflection_;
- delete XPhone_ImportContact::default_instance_;
- delete XPhone_ImportContact_reflection_;
- delete XPhone_OpenActivity::default_instance_;
- delete XPhone_OpenActivity_reflection_;
- delete XPhone_RestoreWeichatShot::default_instance_;
- delete XPhone_RestoreWeichatShot_reflection_;
- delete XPhone_AllLoginUsers::default_instance_;
- delete XPhone_AllLoginUsers_reflection_;
- delete XPhone_SystemLoginReq::default_instance_;
- delete XPhone_SystemLoginReq_reflection_;
- delete XPhone_SystemLoginRsp::default_instance_;
- delete XPhone_SystemLoginRsp_reflection_;
- delete XPhone_SystemUpdateReq::default_instance_;
- delete XPhone_SystemUpdateReq_reflection_;
- delete XPhone_SystemUpdateRsp::default_instance_;
- delete XPhone_SystemUpdateRsp_reflection_;
- delete XPhone_TextInput::default_instance_;
- delete XPhone_TextInput_reflection_;
- delete XPhone_NoticeReq::default_instance_;
- delete XPhone_NoticeReq_reflection_;
- delete XPhone_NoticeRsp::default_instance_;
- delete XPhone_NoticeRsp_reflection_;
- delete XPhone_Test::default_instance_;
- delete XPhone_Test_reflection_;
- delete XPhone_Setting::default_instance_;
- delete XPhone_Setting_reflection_;
- delete XPhone_CheckClientReq::default_instance_;
- delete XPhone_CheckClientReq_reflection_;
- delete XPhone_CheckClientRsp::default_instance_;
- delete XPhone_CheckClientRsp_reflection_;
- delete XPhone_ImportWeichat::default_instance_;
- delete XPhone_ImportWeichat_reflection_;
- delete XPhone_ImportQQ::default_instance_;
- delete XPhone_ImportQQ_reflection_;
- delete XPhone_ImportGongZhong::default_instance_;
- delete XPhone_ImportGongZhong_reflection_;
- delete XPhone_WifiConnect::default_instance_;
- delete XPhone_WifiConnect_reflection_;
- delete XPhone_AdbCommandReq::default_instance_;
- delete XPhone_AdbCommandReq_reflection_;
- delete XPhone_AdbCommandRsp::default_instance_;
- delete XPhone_AdbCommandRsp_reflection_;
- delete XPhone_CaijiAddressIDReq::default_instance_;
- delete XPhone_CaijiAddressIDReq_reflection_;
- delete XPhone_CaijiNearbyIDReq::default_instance_;
- delete XPhone_CaijiNearbyIDReq_reflection_;
- delete XPhone_CaijiFriendIDReq::default_instance_;
- delete XPhone_CaijiFriendIDReq_reflection_;
- delete XPhone_IDInfo::default_instance_;
- delete XPhone_IDInfo_reflection_;
- delete XPhone_CaijiIDRsp::default_instance_;
- delete XPhone_CaijiIDRsp_reflection_;
- }
- void protobuf_AddDesc_common_2eproto() {
- static bool already_here = false;
- if (already_here) return;
- already_here = true;
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- "\n\014common.proto\022\nXPhonePlus\"V\n\023XPhone_Bas"
- "eResponse\022+\n\007msgType\030\001 \001(\0162\032.XPhonePlus."
- "XPhone_MsgType\022\022\n\niErrorCode\030\002 \001(\005\"=\n\016XP"
- "hone_MsgBase\022+\n\007msgType\030\001 \001(\0162\032.XPhonePl"
- "us.XPhone_MsgType\":\n\016XPhone_ReqHead\022(\n\004h"
- "ead\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\"U\n"
- "\024XPhone_GetDeviceInfo\022(\n\004head\030\001 \001(\0132\032.XP"
- "honePlus.XPhone_MsgBase\022\023\n\013strIdentify\030\002"
- " \001(\t\"\312\001\n\021XPhone_DeviceInfo\022(\n\004head\030\001 \001(\013"
- "2\032.XPhonePlus.XPhone_MsgBase\022\025\n\rstrDevic"
- "eName\030\002 \001(\t\022\020\n\010strBrand\030\003 \001(\t\022\020\n\010strMode"
- "l\030\004 \001(\t\022\025\n\rstrResolution\030\005 \001(\t\022\017\n\007strIme"
- "i\030\006 \001(\t\022\021\n\tiSDKVerID\030\007 \001(\005\022\025\n\rstrCPUArch"
- "ive\030\010 \001(\t\"e\n\017XPhone_SendFile\022(\n\004head\030\001 \001"
- "(\0132\032.XPhonePlus.XPhone_MsgBase\022\023\n\013strFil"
- "ePath\030\002 \001(\t\022\023\n\013fileContent\030\003 \001(\014\"\215\001\n\026XPh"
- "one_LocationSetting\022(\n\004head\030\001 \001(\0132\032.XPho"
- "nePlus.XPhone_MsgBase\022\016\n\006bStart\030\002 \001(\010\022\023\n"
- "\013strLocation\030\003 \001(\t\022\022\n\nlongtitude\030\004 \001(\001\022\020"
- "\n\010latitude\030\005 \001(\001\"\236\001\n\027XPhone_AddNearbySet"
- "ting\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_M"
- "sgBase\022\017\n\007addname\030\002 \001(\010\022\024\n\014strIntroduce\030"
- "\003 \001(\t\022\023\n\013addInterval\030\004 \001(\005\022\013\n\003sex\030\005 \001(\005\022"
- "\020\n\010addcount\030\006 \001(\005\"\220\001\n\031XPhone_AddressBook"
- "Setting\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhon"
- "e_MsgBase\022\020\n\010addcount\030\002 \001(\005\022\023\n\013addInterv"
- "al\030\003 \001(\005\022\014\n\004isex\030\004 \001(\005\022\024\n\014strIntroduce\030\005"
- " \001(\t\"Q\n\023XPhone_RadarSetting\022(\n\004head\030\001 \001("
- "\0132\032.XPhonePlus.XPhone_MsgBase\022\020\n\010scantim"
- "e\030\002 \001(\005\"\240\001\n\026XPhone_YaoyiyaoSetting\022(\n\004he"
- "ad\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022\021\n\t"
- "totaltime\030\002 \001(\005\022\017\n\007intrval\030\003 \001(\005\022\017\n\007addn"
- "ame\030\004 \001(\010\022\024\n\014strIntroduce\030\005 \001(\t\022\021\n\taddFr"
- "iend\030\006 \001(\010\"L\n\023XPhone_AutoReplyMsg\022\014\n\004typ"
- "e\030\001 \001(\005\022\022\n\nstrKeyword\030\002 \001(\t\022\023\n\013strRespon"
- "se\030\003 \001(\t\"\366\001\n\027XPhone_AutoReplySetting\022(\n\004"
- "head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022\032"
- "\n\022forbiddenForground\030\002 \001(\010\022\r\n\005delay\030\003 \001("
- "\005\022\030\n\020strCommonContent\030\004 \001(\t\022\020\n\010maxreply\030"
- "\005 \001(\005\022\024\n\014strStartTime\030\006 \001(\t\022\022\n\nstrEndTim"
- "e\030\007 \001(\t\0220\n\007msgList\030\010 \003(\0132\037.XPhonePlus.XP"
- "hone_AutoReplyMsg\"\237\001\n\025XPhone_FunctionSwi"
- "tch\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_Ms"
- "gBase\022-\n\010taskType\030\002 \001(\0162\033.XPhonePlus.XPh"
- "one_TaskType\022-\n\006action\030\003 \001(\0162\035.XPhonePlu"
- "s.XPhone_TaskAction\"g\n\rXPhone_SnsMsg\022\017\n\007"
- "SNSType\030\001 \001(\005\022\020\n\010strTitle\030\002 \001(\t\022\017\n\007strTe"
- "xt\030\003 \001(\t\022\021\n\tstrLinker\030\004 \001(\t\022\017\n\007picList\030\005"
- " \003(\t\"~\n\021XPhone_SnsSetting\022(\n\004head\030\001 \001(\0132"
- "\032.XPhonePlus.XPhone_MsgBase\022\023\n\013sendintrv"
- "al\030\002 \001(\005\022*\n\007snsList\030\003 \003(\0132\031.XPhonePlus.X"
- "Phone_SnsMsg\"\212\001\n\031XPhone_ChatroomMsgSetti"
- "ng\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_Msg"
- "Base\022\023\n\013sendintrval\030\002 \001(\005\022.\n\005lists\030\003 \003(\013"
- "2\037.XPhonePlus.XPhone_AutoReplyMsg\"\237\001\n\030XP"
- "hone_ContactMsgSetting\022(\n\004head\030\001 \001(\0132\032.X"
- "PhonePlus.XPhone_MsgBase\022\023\n\013sendintrval\030"
- "\002 \001(\005\022\024\n\014deletezombie\030\003 \001(\010\022.\n\005lists\030\004 \003"
- "(\0132\037.XPhonePlus.XPhone_AutoReplyMsg\"\207\001\n\037"
- "XPhone_AddChatroomMemberSetting\022(\n\004head\030"
- "\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022\022\n\nadd"
- "intrval\030\002 \001(\005\022\024\n\014strIntroduce\030\003 \001(\t\022\020\n\010a"
- "ddcount\030\004 \001(\005\"\035\n\014XPhone_Array\022\r\n\005array\030\001"
- " \003(\t\"\237\001\n\025XPhone_LocalTaskParam\022=\n\006params"
- "\030\005 \003(\0132-.XPhonePlus.XPhone_LocalTaskPara"
- "m.ParamsEntry\032G\n\013ParamsEntry\022\013\n\003key\030\001 \001("
- "\t\022\'\n\005value\030\002 \001(\0132\030.XPhonePlus.XPhone_Arr"
- "ay:\0028\001\"\341\001\n\016XPhone_TaskReq\022(\n\004head\030\001 \001(\0132"
- "\032.XPhonePlus.XPhone_MsgBase\022\016\n\006taskID\030\002 "
- "\001(\005\022-\n\010tasktype\030\003 \001(\0162\033.XPhonePlus.XPhon"
- "e_TaskType\022-\n\006action\030\004 \001(\0162\035.XPhonePlus."
- "XPhone_TaskAction\022\r\n\005delay\030\005 \001(\005\022(\n\006para"
- "ms\030\006 \001(\0132\030.XPhonePlus.XPhone_Array\"\254\001\n\016X"
- "Phone_TaskRsp\022(\n\004head\030\001 \001(\0132\032.XPhonePlus"
- ".XPhone_MsgBase\022\016\n\006taskID\030\002 \001(\005\022-\n\010taskt"
- "ype\030\003 \001(\0162\033.XPhonePlus.XPhone_TaskType\0221"
- "\n\ntaskstatus\030\004 \001(\0162\035.XPhonePlus.XPhone_T"
- "askStatus\"x\n\022XPhone_ContactInfo\022\023\n\013strUs"
- "erName\030\001 \001(\t\022\025\n\rstrNickerName\030\002 \001(\t\022\022\n\ns"
- "trWeichat\030\003 \001(\t\022\024\n\014strSignature\030\004 \001(\t\022\014\n"
- "\004iSex\030\005 \001(\005\"v\n\025XPhone_ContactInfoRsp\022(\n\004"
- "head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\0223"
- "\n\013contactlist\030\002 \003(\0132\036.XPhonePlus.XPhone_"
- "ContactInfo\"S\n\026XPhone_ChatRoomInfoReq\022(\n"
- "\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022"
- "\017\n\007bFriend\030\002 \001(\010\"\207\001\n\023XPhone_ChatRoomInfo"
- "\022\022\n\nchatRoomID\030\001 \001(\t\022\024\n\014chatRoomName\030\002 \001"
- "(\t\022\025\n\rchatRoomOwner\030\003 \001(\t\022/\n\007members\030\004 \003"
- "(\0132\036.XPhonePlus.XPhone_ContactInfo\"u\n\026XP"
- "hone_ChatroomInfoRsp\022(\n\004head\030\001 \001(\0132\032.XPh"
- "onePlus.XPhone_MsgBase\0221\n\010roomlist\030\002 \003(\013"
- "2\037.XPhonePlus.XPhone_ChatRoomInfo\"\200\001\n\024XP"
- "hone_LoginUserinfo\022(\n\004head\030\001 \001(\0132\032.XPhon"
- "ePlus.XPhone_MsgBase\022\025\n\rstrNickerName\030\002 "
- "\001(\t\022\023\n\013strUserName\030\003 \001(\t\022\022\n\nstrWeichat\030\004"
- " \001(\t\"k\n\022XPhone_RecvChatMsg\022(\n\004head\030\001 \001(\013"
- "2\032.XPhonePlus.XPhone_MsgBase\022\024\n\014strTable"
- "Name\030\002 \001(\t\022\025\n\rstrMsgContent\030\003 \001(\t\"\271\001\n\016XP"
- "hone_ChatMsg\022(\n\004head\030\001 \001(\0132\032.XPhonePlus."
- "XPhone_MsgBase\022\016\n\006isSend\030\002 \001(\005\022\021\n\tstrTal"
- "ker\030\003 \001(\t\022\014\n\004type\030\004 \001(\005\022\022\n\nstrContent\030\005 "
- "\001(\t\022\022\n\niCrateTime\030\006 \001(\003\022\017\n\007iStatus\030\007 \001(\005"
- "\022\023\n\013strShowName\030\010 \001(\t\"s\n\022XPhone_SendChat"
- "Msg\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_Ms"
- "gBase\022\021\n\tstrTalker\030\002 \001(\t\022\014\n\004type\030\003 \001(\005\022\022"
- "\n\nstrContent\030\004 \001(\t\"m\n\024XPhone_ImportConta"
- "ct\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_Msg"
- "Base\022\024\n\014phoneNumbers\030\002 \003(\t\022\025\n\rclearconta"
- "cts\030\003 \001(\010\"X\n\023XPhone_OpenActivity\022(\n\004head"
- "\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022\027\n\017st"
- "rActivityName\030\002 \001(\t\"Z\n\031XPhone_RestoreWei"
- "chatShot\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPho"
- "ne_MsgBase\022\023\n\013strUserName\030\002 \001(\t\"\217\001\n\024XPho"
- "ne_AllLoginUsers\022(\n\004head\030\001 \001(\0132\032.XPhoneP"
- "lus.XPhone_MsgBase\0224\n\nusersLists\030\002 \003(\0132 "
- ".XPhonePlus.XPhone_LoginUserinfo\022\027\n\017strC"
- "urrentLogin\030\003 \001(\t\"\265\001\n\025XPhone_SystemLogin"
- "Req\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_Ms"
- "gBase\022\023\n\013strUserName\030\002 \001(\t\022\021\n\tstrpasswd\030"
- "\003 \001(\t\022\023\n\013machinecode\030\004 \001(\t\022\017\n\007softver\030\005 "
- "\001(\005\022\022\n\nstrChannel\030\006 \001(\t\022\020\n\010timespan\030\007 \001("
- "\005\"\221\001\n\025XPhone_SystemLoginRsp\022(\n\004head\030\001 \001("
- "\0132\032.XPhonePlus.XPhone_MsgBase\022\017\n\007errcode"
- "\030\002 \001(\005\022\024\n\014totalcontrol\030\003 \001(\005\022\025\n\rremainco"
- "ntrol\030\004 \001(\005\022\020\n\010hashcode\030\005 \001(\t\"\221\001\n\026XPhone"
- "_SystemUpdateReq\022(\n\004head\030\001 \001(\0132\032.XPhoneP"
- "lus.XPhone_MsgBase\022\023\n\013strUserName\030\002 \001(\t\022"
- "\023\n\013machinecode\030\003 \001(\t\022\017\n\007softver\030\004 \001(\005\022\022\n"
- "\nstrChannel\030\005 \001(\t\"\222\001\n\026XPhone_SystemUpdat"
- "eRsp\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_M"
- "sgBase\022\023\n\013iUpdateType\030\002 \001(\005\022\025\n\rstrPackag"
- "eURL\030\003 \001(\t\022\022\n\niUpdateVer\030\004 \001(\005\022\016\n\006strMD5"
- "\030\005 \001(\t\"d\n\020XPhone_TextInput\022(\n\004head\030\001 \001(\013"
- "2\032.XPhonePlus.XPhone_MsgBase\022\022\n\niInputTy"
- "pe\030\002 \001(\005\022\022\n\nstrContent\030\003 \001(\t\"d\n\020XPhone_N"
- "oticeReq\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPho"
- "ne_MsgBase\022\022\n\nstrChannel\030\002 \001(\t\022\022\n\niClien"
- "tVer\030\003 \001(\005\"P\n\020XPhone_NoticeRsp\022(\n\004head\030\001"
- " \001(\0132\032.XPhonePlus.XPhone_MsgBase\022\022\n\nnoti"
- "ceList\030\002 \003(\t\"K\n\013XPhone_Test\022(\n\004head\030\001 \001("
- "\0132\032.XPhonePlus.XPhone_MsgBase\022\022\n\nparamLi"
- "sts\030\002 \003(\t\"\244\002\n\016XPhone_Setting\022(\n\004head\030\001 \001"
- "(\0132\032.XPhonePlus.XPhone_MsgBase\022\017\n\007zanTim"
- "e\030\002 \001(\005\022\030\n\020autoQianghongbao\030\003 \001(\010\022\025\n\raut"
- "oPlaymusic\030\004 \001(\010\022\024\n\014autoLoadTask\030\005 \001(\010\022\020"
- "\n\010unrecall\030\006 \001(\010\022\024\n\014enablemsgtip\030\007 \001(\010\022\021"
- "\n\tyaoshaizi\030\010 \001(\005\022\017\n\007caiquan\030\t \001(\005\022\027\n\017en"
- "ableautoreply\030\n \001(\010\022\026\n\016enablelocation\030\013 "
- "\001(\010\022\023\n\013autosendmsg\030\014 \001(\010\"\312\001\n\025XPhone_Chec"
- "kClientReq\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XP"
- "hone_MsgBase\022\023\n\013strUserName\030\002 \001(\t\022\023\n\013mac"
- "hinecode\030\003 \001(\t\022\017\n\007softver\030\004 \001(\005\022\022\n\nstrCh"
- "annel\030\005 \001(\t\022\024\n\014connectcount\030\006 \001(\005\022\020\n\010wif"
- "iname\030\007 \001(\t\022\020\n\010timespan\030\010 \001(\005\"f\n\025XPhone_"
- "CheckClientRsp\022(\n\004head\030\001 \001(\0132\032.XPhonePlu"
- "s.XPhone_MsgBase\022\021\n\terrorcode\030\002 \001(\005\022\020\n\010h"
- "ashcode\030\003 \001(\t\"V\n\024XPhone_ImportWeichat\022(\n"
- "\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase\022"
- "\024\n\014weichatlists\030\002 \003(\t\"L\n\017XPhone_ImportQQ"
- "\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBa"
- "se\022\017\n\007qqlists\030\002 \003(\t\"Z\n\026XPhone_ImportGong"
- "Zhong\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_"
- "MsgBase\022\026\n\016gongzhonglists\030\002 \003(\t\"n\n\022XPhon"
- "e_WifiConnect\022(\n\004head\030\001 \001(\0132\032.XPhonePlus"
- ".XPhone_MsgBase\022\r\n\005strIP\030\002 \001(\t\022\r\n\005iPort\030"
- "\003 \001(\005\022\020\n\010bConnect\030\004 \001(\010\"d\n\024XPhone_AdbCom"
- "mandReq\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhon"
- "e_MsgBase\022\024\n\014commandLists\030\002 \003(\t\022\014\n\004mode\030"
- "\003 \001(\005\"S\n\024XPhone_AdbCommandRsp\022(\n\004head\030\001 "
- "\001(\0132\032.XPhonePlus.XPhone_MsgBase\022\021\n\tstrRe"
- "sult\030\002 \001(\t\"j\n\030XPhone_CaijiAddressIDReq\022("
- "\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhone_MsgBase"
- "\022\024\n\014phoneNumbers\030\002 \003(\t\022\016\n\006bClear\030\003 \001(\010\"C"
- "\n\027XPhone_CaijiNearbyIDReq\022(\n\004head\030\001 \001(\0132"
- "\032.XPhonePlus.XPhone_MsgBase\"C\n\027XPhone_Ca"
- "ijiFriendIDReq\022(\n\004head\030\001 \001(\0132\032.XPhonePlu"
- "s.XPhone_MsgBase\"X\n\rXPhone_IDInfo\022\r\n\005str"
- "id\030\001 \001(\t\022\023\n\013strusername\030\002 \001(\t\022\025\n\rstrnick"
- "ername\030\003 \001(\t\022\014\n\004isex\030\004 \001(\005\"e\n\021XPhone_Cai"
- "jiIDRsp\022(\n\004head\030\001 \001(\0132\032.XPhonePlus.XPhon"
- "e_MsgBase\022&\n\003ids\030\002 \003(\0132\031.XPhonePlus.XPho"
- "ne_IDInfo*]\n\023XPhone_DeviceChange\022\027\n\023Devi"
- "ceChange_Unknow\020\000\022\024\n\020DeviceChange_Add\020\001\022"
- "\027\n\023DeviceChange_Remove\020\002*U\n\021XPhone_TaskA"
- "ction\022\025\n\021TaskAction_Unknow\020\000\022\024\n\020TaskActi"
- "on_Start\020\001\022\023\n\017TaskAction_Stop\020\002*Y\n\021XPhon"
- "e_TaskStatus\022\026\n\022TaskStatusn_Unknow\020\000\022\025\n\021"
- "TaskStatus_Finish\020\001\022\025\n\021TaskStatus_Cancle"
- "\020\002*\311\003\n\017XPhone_TaskType\022\023\n\017TaskType_Unkno"
- "w\020\000\022\026\n\022TaskType_AddNearby\020\001\022\033\n\027TaskType_"
- "AddAddressbook\020\002\022\022\n\016TaskType_Radar\020\003\022\025\n\021"
- "TaskType_Yaoyiyao\020\004\022\024\n\020TaskType_SendSNS\020"
- "\005\022\034\n\030TaskType_SendChatroomMsg\020\006\022\033\n\027TaskT"
- "ype_SendContactMsg\020\007\022\036\n\032TaskType_AddChat"
- "roomMember\020\010\022\025\n\021TaskType_Location\020\t\022\026\n\022T"
- "askType_OneKeyZan\020\013\022\032\n\026TaskType_DeleteZo"
- "mbine\020\014\022\035\n\031TaskType_AddWeichatFriend\020\r\022\030"
- "\n\024TaskType_AddQQFriend\020\016\022\031\n\025TaskType_Add"
- "Gongzhong\020\017\022\026\n\022TaskType_AutoReply\020\020\022\031\n\025T"
- "askType_StartWeichat\020\021*\221\014\n\016XPhone_MsgTyp"
- "e\022\031\n\025MsgType_DeviceInfoReq\020\000\022\031\n\025MsgType_"
- "DeviceInfoRsp\020\001\022\027\n\023MsgType_SendFileReq\020\002"
- "\022\027\n\023MsgType_SendFileRsp\020\003\022\033\n\027MsgType_Loc"
- "ationSetting\020\004\022\034\n\030MsgType_AddNearbySetti"
- "ng\020\005\022\036\n\032MsgType_AddressBookSetting\020\006\022\030\n\024"
- "MsgType_RadarSetting\020\007\022\033\n\027MsgType_Yaoyiy"
- "aoSetting\020\010\022\034\n\030MsgType_AutoReplySetting\020"
- "\t\022\026\n\022MsgType_SnsSetting\020\n\022\036\n\032MsgType_Cha"
- "troomMsgSetting\020\013\022\035\n\031MsgType_ContactMsgS"
- "etting\020\014\022$\n MsgType_AddChatroomMemberSet"
- "ting\020\r\022\023\n\017MsgType_TaskReq\020\016\022\023\n\017MsgType_T"
- "askRsp\020\017\022\033\n\027MsgType_ChatroomInfoReq\020\020\022\032\n"
- "\026MsgType_ContactInfoReq\020\021\022\033\n\027MsgType_Cha"
- "troomInfoRsp\020\022\022\032\n\026MsgType_ContactInfoRsp"
- "\020\023\022\033\n\027MsgType_NotifyUserLogin\020\024\022\032\n\026MsgTy"
- "pe_FunctionSwitch\020\025\022\027\n\023MsgType_RecvChatM"
- "sg\020\026\022\031\n\025MsgType_ImportContact\020\027\022\030\n\024MsgTy"
- "pe_OpenActivity\020\030\022\027\n\023MsgType_StopAddress"
- "\020\031\022\030\n\024MsgType_UnlockScreen\020\032\022\033\n\027MsgType_"
- "SaveWeichatShot\020\033\022\036\n\032MsgType_RestoreWeic"
- "hatShot\020\034\022\031\n\025MsgType_GetLoginUsers\020\035\022\033\n\027"
- "MsgType_ClearLoginUsers\020\036\022\032\n\026MsgType_Res"
- "tTaskStatus\020\037\022\027\n\023MsgType_StopAllTask\020 \022\026"
- "\n\022MsgType_LockScreen\020!\022\023\n\017MsgType_ChatMs"
- "g\020\"\022\027\n\023MsgType_SendChatMsg\020#\022\032\n\026MsgType_"
- "SystemLoginReq\020%\022\032\n\026MsgType_SystemLoginR"
- "sp\020&\022\033\n\027MsgType_SystemUpdateReq\020\'\022\033\n\027Msg"
- "Type_SystemUpdateRsp\020(\022\025\n\021MsgType_TextIn"
- "put\020)\022\025\n\021MsgType_NoticeReq\020*\022\025\n\021MsgType_"
- "NoticeRsp\020+\022\020\n\014MsgType_Test\020,\022\023\n\017MsgType"
- "_Setting\020-\022\032\n\026MsgType_CheckClientReq\020.\022\032"
- "\n\026MsgType_CheckClientRsp\020/\022\031\n\025MsgType_Im"
- "portWeichat\0200\022\024\n\020MsgType_ImportQQ\0201\022\033\n\027M"
- "sgType_ImportGongzhong\0202\022\027\n\023MsgType_Wifi"
- "Connect\0203\022\031\n\025MsgType_AdbCommandReq\0204\022\031\n\025"
- "MsgType_AdbCommandRsp\0205\022\035\n\031MsgType_Caiji"
- "AddressIDReq\0206\022\034\n\030MsgType_CaijiNearbyIDR"
- "eq\0207\022\026\n\022MsgType_CaijiIDRsp\0208\022\034\n\030MsgType_"
- "CaijiFriendIDReq\0209b\006proto3", 9546);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "common.proto", &protobuf_RegisterTypes);
- XPhone_BaseResponse::default_instance_ = new XPhone_BaseResponse();
- XPhone_MsgBase::default_instance_ = new XPhone_MsgBase();
- XPhone_ReqHead::default_instance_ = new XPhone_ReqHead();
- XPhone_GetDeviceInfo::default_instance_ = new XPhone_GetDeviceInfo();
- XPhone_DeviceInfo::default_instance_ = new XPhone_DeviceInfo();
- XPhone_SendFile::default_instance_ = new XPhone_SendFile();
- XPhone_LocationSetting::default_instance_ = new XPhone_LocationSetting();
- XPhone_AddNearbySetting::default_instance_ = new XPhone_AddNearbySetting();
- XPhone_AddressBookSetting::default_instance_ = new XPhone_AddressBookSetting();
- XPhone_RadarSetting::default_instance_ = new XPhone_RadarSetting();
- XPhone_YaoyiyaoSetting::default_instance_ = new XPhone_YaoyiyaoSetting();
- XPhone_AutoReplyMsg::default_instance_ = new XPhone_AutoReplyMsg();
- XPhone_AutoReplySetting::default_instance_ = new XPhone_AutoReplySetting();
- XPhone_FunctionSwitch::default_instance_ = new XPhone_FunctionSwitch();
- XPhone_SnsMsg::default_instance_ = new XPhone_SnsMsg();
- XPhone_SnsSetting::default_instance_ = new XPhone_SnsSetting();
- XPhone_ChatroomMsgSetting::default_instance_ = new XPhone_ChatroomMsgSetting();
- XPhone_ContactMsgSetting::default_instance_ = new XPhone_ContactMsgSetting();
- XPhone_AddChatroomMemberSetting::default_instance_ = new XPhone_AddChatroomMemberSetting();
- XPhone_Array::default_instance_ = new XPhone_Array();
- XPhone_LocalTaskParam::default_instance_ = new XPhone_LocalTaskParam();
- XPhone_TaskReq::default_instance_ = new XPhone_TaskReq();
- XPhone_TaskRsp::default_instance_ = new XPhone_TaskRsp();
- XPhone_ContactInfo::default_instance_ = new XPhone_ContactInfo();
- XPhone_ContactInfoRsp::default_instance_ = new XPhone_ContactInfoRsp();
- XPhone_ChatRoomInfoReq::default_instance_ = new XPhone_ChatRoomInfoReq();
- XPhone_ChatRoomInfo::default_instance_ = new XPhone_ChatRoomInfo();
- XPhone_ChatroomInfoRsp::default_instance_ = new XPhone_ChatroomInfoRsp();
- XPhone_LoginUserinfo::default_instance_ = new XPhone_LoginUserinfo();
- XPhone_RecvChatMsg::default_instance_ = new XPhone_RecvChatMsg();
- XPhone_ChatMsg::default_instance_ = new XPhone_ChatMsg();
- XPhone_SendChatMsg::default_instance_ = new XPhone_SendChatMsg();
- XPhone_ImportContact::default_instance_ = new XPhone_ImportContact();
- XPhone_OpenActivity::default_instance_ = new XPhone_OpenActivity();
- XPhone_RestoreWeichatShot::default_instance_ = new XPhone_RestoreWeichatShot();
- XPhone_AllLoginUsers::default_instance_ = new XPhone_AllLoginUsers();
- XPhone_SystemLoginReq::default_instance_ = new XPhone_SystemLoginReq();
- XPhone_SystemLoginRsp::default_instance_ = new XPhone_SystemLoginRsp();
- XPhone_SystemUpdateReq::default_instance_ = new XPhone_SystemUpdateReq();
- XPhone_SystemUpdateRsp::default_instance_ = new XPhone_SystemUpdateRsp();
- XPhone_TextInput::default_instance_ = new XPhone_TextInput();
- XPhone_NoticeReq::default_instance_ = new XPhone_NoticeReq();
- XPhone_NoticeRsp::default_instance_ = new XPhone_NoticeRsp();
- XPhone_Test::default_instance_ = new XPhone_Test();
- XPhone_Setting::default_instance_ = new XPhone_Setting();
- XPhone_CheckClientReq::default_instance_ = new XPhone_CheckClientReq();
- XPhone_CheckClientRsp::default_instance_ = new XPhone_CheckClientRsp();
- XPhone_ImportWeichat::default_instance_ = new XPhone_ImportWeichat();
- XPhone_ImportQQ::default_instance_ = new XPhone_ImportQQ();
- XPhone_ImportGongZhong::default_instance_ = new XPhone_ImportGongZhong();
- XPhone_WifiConnect::default_instance_ = new XPhone_WifiConnect();
- XPhone_AdbCommandReq::default_instance_ = new XPhone_AdbCommandReq();
- XPhone_AdbCommandRsp::default_instance_ = new XPhone_AdbCommandRsp();
- XPhone_CaijiAddressIDReq::default_instance_ = new XPhone_CaijiAddressIDReq();
- XPhone_CaijiNearbyIDReq::default_instance_ = new XPhone_CaijiNearbyIDReq();
- XPhone_CaijiFriendIDReq::default_instance_ = new XPhone_CaijiFriendIDReq();
- XPhone_IDInfo::default_instance_ = new XPhone_IDInfo();
- XPhone_CaijiIDRsp::default_instance_ = new XPhone_CaijiIDRsp();
- XPhone_BaseResponse::default_instance_->InitAsDefaultInstance();
- XPhone_MsgBase::default_instance_->InitAsDefaultInstance();
- XPhone_ReqHead::default_instance_->InitAsDefaultInstance();
- XPhone_GetDeviceInfo::default_instance_->InitAsDefaultInstance();
- XPhone_DeviceInfo::default_instance_->InitAsDefaultInstance();
- XPhone_SendFile::default_instance_->InitAsDefaultInstance();
- XPhone_LocationSetting::default_instance_->InitAsDefaultInstance();
- XPhone_AddNearbySetting::default_instance_->InitAsDefaultInstance();
- XPhone_AddressBookSetting::default_instance_->InitAsDefaultInstance();
- XPhone_RadarSetting::default_instance_->InitAsDefaultInstance();
- XPhone_YaoyiyaoSetting::default_instance_->InitAsDefaultInstance();
- XPhone_AutoReplyMsg::default_instance_->InitAsDefaultInstance();
- XPhone_AutoReplySetting::default_instance_->InitAsDefaultInstance();
- XPhone_FunctionSwitch::default_instance_->InitAsDefaultInstance();
- XPhone_SnsMsg::default_instance_->InitAsDefaultInstance();
- XPhone_SnsSetting::default_instance_->InitAsDefaultInstance();
- XPhone_ChatroomMsgSetting::default_instance_->InitAsDefaultInstance();
- XPhone_ContactMsgSetting::default_instance_->InitAsDefaultInstance();
- XPhone_AddChatroomMemberSetting::default_instance_->InitAsDefaultInstance();
- XPhone_Array::default_instance_->InitAsDefaultInstance();
- XPhone_LocalTaskParam::default_instance_->InitAsDefaultInstance();
- XPhone_TaskReq::default_instance_->InitAsDefaultInstance();
- XPhone_TaskRsp::default_instance_->InitAsDefaultInstance();
- XPhone_ContactInfo::default_instance_->InitAsDefaultInstance();
- XPhone_ContactInfoRsp::default_instance_->InitAsDefaultInstance();
- XPhone_ChatRoomInfoReq::default_instance_->InitAsDefaultInstance();
- XPhone_ChatRoomInfo::default_instance_->InitAsDefaultInstance();
- XPhone_ChatroomInfoRsp::default_instance_->InitAsDefaultInstance();
- XPhone_LoginUserinfo::default_instance_->InitAsDefaultInstance();
- XPhone_RecvChatMsg::default_instance_->InitAsDefaultInstance();
- XPhone_ChatMsg::default_instance_->InitAsDefaultInstance();
- XPhone_SendChatMsg::default_instance_->InitAsDefaultInstance();
- XPhone_ImportContact::default_instance_->InitAsDefaultInstance();
- XPhone_OpenActivity::default_instance_->InitAsDefaultInstance();
- XPhone_RestoreWeichatShot::default_instance_->InitAsDefaultInstance();
- XPhone_AllLoginUsers::default_instance_->InitAsDefaultInstance();
- XPhone_SystemLoginReq::default_instance_->InitAsDefaultInstance();
- XPhone_SystemLoginRsp::default_instance_->InitAsDefaultInstance();
- XPhone_SystemUpdateReq::default_instance_->InitAsDefaultInstance();
- XPhone_SystemUpdateRsp::default_instance_->InitAsDefaultInstance();
- XPhone_TextInput::default_instance_->InitAsDefaultInstance();
- XPhone_NoticeReq::default_instance_->InitAsDefaultInstance();
- XPhone_NoticeRsp::default_instance_->InitAsDefaultInstance();
- XPhone_Test::default_instance_->InitAsDefaultInstance();
- XPhone_Setting::default_instance_->InitAsDefaultInstance();
- XPhone_CheckClientReq::default_instance_->InitAsDefaultInstance();
- XPhone_CheckClientRsp::default_instance_->InitAsDefaultInstance();
- XPhone_ImportWeichat::default_instance_->InitAsDefaultInstance();
- XPhone_ImportQQ::default_instance_->InitAsDefaultInstance();
- XPhone_ImportGongZhong::default_instance_->InitAsDefaultInstance();
- XPhone_WifiConnect::default_instance_->InitAsDefaultInstance();
- XPhone_AdbCommandReq::default_instance_->InitAsDefaultInstance();
- XPhone_AdbCommandRsp::default_instance_->InitAsDefaultInstance();
- XPhone_CaijiAddressIDReq::default_instance_->InitAsDefaultInstance();
- XPhone_CaijiNearbyIDReq::default_instance_->InitAsDefaultInstance();
- XPhone_CaijiFriendIDReq::default_instance_->InitAsDefaultInstance();
- XPhone_IDInfo::default_instance_->InitAsDefaultInstance();
- XPhone_CaijiIDRsp::default_instance_->InitAsDefaultInstance();
- ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_common_2eproto);
- }
- // Force AddDescriptors() to be called at static initialization time.
- struct StaticDescriptorInitializer_common_2eproto {
- StaticDescriptorInitializer_common_2eproto() {
- protobuf_AddDesc_common_2eproto();
- }
- } static_descriptor_initializer_common_2eproto_;
- const ::google::protobuf::EnumDescriptor* XPhone_DeviceChange_descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_DeviceChange_descriptor_;
- }
- bool XPhone_DeviceChange_IsValid(int value) {
- switch(value) {
- case 0:
- case 1:
- case 2:
- return true;
- default:
- return false;
- }
- }
- const ::google::protobuf::EnumDescriptor* XPhone_TaskAction_descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_TaskAction_descriptor_;
- }
- bool XPhone_TaskAction_IsValid(int value) {
- switch(value) {
- case 0:
- case 1:
- case 2:
- return true;
- default:
- return false;
- }
- }
- const ::google::protobuf::EnumDescriptor* XPhone_TaskStatus_descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_TaskStatus_descriptor_;
- }
- bool XPhone_TaskStatus_IsValid(int value) {
- switch(value) {
- case 0:
- case 1:
- case 2:
- return true;
- default:
- return false;
- }
- }
- const ::google::protobuf::EnumDescriptor* XPhone_TaskType_descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_TaskType_descriptor_;
- }
- bool XPhone_TaskType_IsValid(int value) {
- switch(value) {
- case 0:
- case 1:
- case 2:
- case 3:
- case 4:
- case 5:
- case 6:
- case 7:
- case 8:
- case 9:
- case 11:
- case 12:
- case 13:
- case 14:
- case 15:
- case 16:
- case 17:
- return true;
- default:
- return false;
- }
- }
- const ::google::protobuf::EnumDescriptor* XPhone_MsgType_descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_MsgType_descriptor_;
- }
- bool XPhone_MsgType_IsValid(int value) {
- switch(value) {
- case 0:
- case 1:
- case 2:
- case 3:
- case 4:
- case 5:
- case 6:
- case 7:
- case 8:
- case 9:
- case 10:
- case 11:
- case 12:
- case 13:
- case 14:
- case 15:
- case 16:
- case 17:
- case 18:
- case 19:
- case 20:
- case 21:
- case 22:
- case 23:
- case 24:
- case 25:
- case 26:
- case 27:
- case 28:
- case 29:
- case 30:
- case 31:
- case 32:
- case 33:
- case 34:
- case 35:
- case 37:
- case 38:
- case 39:
- case 40:
- case 41:
- case 42:
- case 43:
- case 44:
- case 45:
- case 46:
- case 47:
- case 48:
- case 49:
- case 50:
- case 51:
- case 52:
- case 53:
- case 54:
- case 55:
- case 56:
- case 57:
- return true;
- default:
- return false;
- }
- }
- namespace {
- static void MergeFromFail(int line) GOOGLE_ATTRIBUTE_COLD;
- static void MergeFromFail(int line) {
- GOOGLE_CHECK(false) << __FILE__ << ":" << line;
- }
- } // namespace
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_BaseResponse::kMsgTypeFieldNumber;
- const int XPhone_BaseResponse::kIErrorCodeFieldNumber;
- #endif // !_MSC_VER
- XPhone_BaseResponse::XPhone_BaseResponse()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_BaseResponse)
- }
- void XPhone_BaseResponse::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- }
- XPhone_BaseResponse::XPhone_BaseResponse(const XPhone_BaseResponse& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_BaseResponse)
- }
- void XPhone_BaseResponse::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- msgtype_ = 0;
- ierrorcode_ = 0;
- }
- XPhone_BaseResponse::~XPhone_BaseResponse() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_BaseResponse)
- SharedDtor();
- }
- void XPhone_BaseResponse::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void XPhone_BaseResponse::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_BaseResponse::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_BaseResponse_descriptor_;
- }
- const XPhone_BaseResponse& XPhone_BaseResponse::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_BaseResponse* XPhone_BaseResponse::default_instance_ = NULL;
- XPhone_BaseResponse* XPhone_BaseResponse::New(::google::protobuf::Arena* arena) const {
- XPhone_BaseResponse* n = new XPhone_BaseResponse;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_BaseResponse::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_BaseResponse*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(msgtype_, ierrorcode_);
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_BaseResponse::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_BaseResponse)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgType msgType = 1;
- case 1: {
- if (tag == 8) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_msgtype(static_cast< ::XPhonePlus::XPhone_MsgType >(value));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_iErrorCode;
- break;
- }
- // optional int32 iErrorCode = 2;
- case 2: {
- if (tag == 16) {
- parse_iErrorCode:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &ierrorcode_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_BaseResponse)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_BaseResponse)
- return false;
- #undef DO_
- }
- void XPhone_BaseResponse::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_BaseResponse)
- // optional .XPhonePlus.XPhone_MsgType msgType = 1;
- if (this->msgtype() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->msgtype(), output);
- }
- // optional int32 iErrorCode = 2;
- if (this->ierrorcode() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ierrorcode(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_BaseResponse)
- }
- ::google::protobuf::uint8* XPhone_BaseResponse::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_BaseResponse)
- // optional .XPhonePlus.XPhone_MsgType msgType = 1;
- if (this->msgtype() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->msgtype(), target);
- }
- // optional int32 iErrorCode = 2;
- if (this->ierrorcode() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ierrorcode(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_BaseResponse)
- return target;
- }
- int XPhone_BaseResponse::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgType msgType = 1;
- if (this->msgtype() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->msgtype());
- }
- // optional int32 iErrorCode = 2;
- if (this->ierrorcode() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->ierrorcode());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_BaseResponse::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_BaseResponse* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_BaseResponse>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_BaseResponse::MergeFrom(const XPhone_BaseResponse& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.msgtype() != 0) {
- set_msgtype(from.msgtype());
- }
- if (from.ierrorcode() != 0) {
- set_ierrorcode(from.ierrorcode());
- }
- }
- void XPhone_BaseResponse::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_BaseResponse::CopyFrom(const XPhone_BaseResponse& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_BaseResponse::IsInitialized() const {
- return true;
- }
- void XPhone_BaseResponse::Swap(XPhone_BaseResponse* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_BaseResponse::InternalSwap(XPhone_BaseResponse* other) {
- std::swap(msgtype_, other->msgtype_);
- std::swap(ierrorcode_, other->ierrorcode_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_BaseResponse::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_BaseResponse_descriptor_;
- metadata.reflection = XPhone_BaseResponse_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_BaseResponse
- // optional .XPhonePlus.XPhone_MsgType msgType = 1;
- void XPhone_BaseResponse::clear_msgtype() {
- msgtype_ = 0;
- }
- ::XPhonePlus::XPhone_MsgType XPhone_BaseResponse::msgtype() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_BaseResponse.msgType)
- return static_cast< ::XPhonePlus::XPhone_MsgType >(msgtype_);
- }
- void XPhone_BaseResponse::set_msgtype(::XPhonePlus::XPhone_MsgType value) {
-
- msgtype_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_BaseResponse.msgType)
- }
- // optional int32 iErrorCode = 2;
- void XPhone_BaseResponse::clear_ierrorcode() {
- ierrorcode_ = 0;
- }
- ::google::protobuf::int32 XPhone_BaseResponse::ierrorcode() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_BaseResponse.iErrorCode)
- return ierrorcode_;
- }
- void XPhone_BaseResponse::set_ierrorcode(::google::protobuf::int32 value) {
-
- ierrorcode_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_BaseResponse.iErrorCode)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_MsgBase::kMsgTypeFieldNumber;
- #endif // !_MSC_VER
- XPhone_MsgBase::XPhone_MsgBase()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_MsgBase)
- }
- void XPhone_MsgBase::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- }
- XPhone_MsgBase::XPhone_MsgBase(const XPhone_MsgBase& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_MsgBase)
- }
- void XPhone_MsgBase::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- msgtype_ = 0;
- }
- XPhone_MsgBase::~XPhone_MsgBase() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_MsgBase)
- SharedDtor();
- }
- void XPhone_MsgBase::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void XPhone_MsgBase::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_MsgBase::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_MsgBase_descriptor_;
- }
- const XPhone_MsgBase& XPhone_MsgBase::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_MsgBase* XPhone_MsgBase::default_instance_ = NULL;
- XPhone_MsgBase* XPhone_MsgBase::New(::google::protobuf::Arena* arena) const {
- XPhone_MsgBase* n = new XPhone_MsgBase;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_MsgBase::Clear() {
- msgtype_ = 0;
- }
- bool XPhone_MsgBase::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_MsgBase)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgType msgType = 1;
- case 1: {
- if (tag == 8) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_msgtype(static_cast< ::XPhonePlus::XPhone_MsgType >(value));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_MsgBase)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_MsgBase)
- return false;
- #undef DO_
- }
- void XPhone_MsgBase::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_MsgBase)
- // optional .XPhonePlus.XPhone_MsgType msgType = 1;
- if (this->msgtype() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->msgtype(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_MsgBase)
- }
- ::google::protobuf::uint8* XPhone_MsgBase::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_MsgBase)
- // optional .XPhonePlus.XPhone_MsgType msgType = 1;
- if (this->msgtype() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->msgtype(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_MsgBase)
- return target;
- }
- int XPhone_MsgBase::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgType msgType = 1;
- if (this->msgtype() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->msgtype());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_MsgBase::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_MsgBase* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_MsgBase>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_MsgBase::MergeFrom(const XPhone_MsgBase& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.msgtype() != 0) {
- set_msgtype(from.msgtype());
- }
- }
- void XPhone_MsgBase::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_MsgBase::CopyFrom(const XPhone_MsgBase& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_MsgBase::IsInitialized() const {
- return true;
- }
- void XPhone_MsgBase::Swap(XPhone_MsgBase* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_MsgBase::InternalSwap(XPhone_MsgBase* other) {
- std::swap(msgtype_, other->msgtype_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_MsgBase::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_MsgBase_descriptor_;
- metadata.reflection = XPhone_MsgBase_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_MsgBase
- // optional .XPhonePlus.XPhone_MsgType msgType = 1;
- void XPhone_MsgBase::clear_msgtype() {
- msgtype_ = 0;
- }
- ::XPhonePlus::XPhone_MsgType XPhone_MsgBase::msgtype() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_MsgBase.msgType)
- return static_cast< ::XPhonePlus::XPhone_MsgType >(msgtype_);
- }
- void XPhone_MsgBase::set_msgtype(::XPhonePlus::XPhone_MsgType value) {
-
- msgtype_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_MsgBase.msgType)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ReqHead::kHeadFieldNumber;
- #endif // !_MSC_VER
- XPhone_ReqHead::XPhone_ReqHead()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ReqHead)
- }
- void XPhone_ReqHead::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_ReqHead::XPhone_ReqHead(const XPhone_ReqHead& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ReqHead)
- }
- void XPhone_ReqHead::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- }
- XPhone_ReqHead::~XPhone_ReqHead() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ReqHead)
- SharedDtor();
- }
- void XPhone_ReqHead::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_ReqHead::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ReqHead::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ReqHead_descriptor_;
- }
- const XPhone_ReqHead& XPhone_ReqHead::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ReqHead* XPhone_ReqHead::default_instance_ = NULL;
- XPhone_ReqHead* XPhone_ReqHead::New(::google::protobuf::Arena* arena) const {
- XPhone_ReqHead* n = new XPhone_ReqHead;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ReqHead::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- bool XPhone_ReqHead::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ReqHead)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ReqHead)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ReqHead)
- return false;
- #undef DO_
- }
- void XPhone_ReqHead::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ReqHead)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ReqHead)
- }
- ::google::protobuf::uint8* XPhone_ReqHead::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ReqHead)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ReqHead)
- return target;
- }
- int XPhone_ReqHead::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ReqHead::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ReqHead* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ReqHead>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ReqHead::MergeFrom(const XPhone_ReqHead& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- }
- void XPhone_ReqHead::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ReqHead::CopyFrom(const XPhone_ReqHead& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ReqHead::IsInitialized() const {
- return true;
- }
- void XPhone_ReqHead::Swap(XPhone_ReqHead* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ReqHead::InternalSwap(XPhone_ReqHead* other) {
- std::swap(head_, other->head_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ReqHead::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ReqHead_descriptor_;
- metadata.reflection = XPhone_ReqHead_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ReqHead
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_ReqHead::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_ReqHead::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_ReqHead::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ReqHead.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ReqHead::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ReqHead.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ReqHead::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_ReqHead::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ReqHead.head)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_GetDeviceInfo::kHeadFieldNumber;
- const int XPhone_GetDeviceInfo::kStrIdentifyFieldNumber;
- #endif // !_MSC_VER
- XPhone_GetDeviceInfo::XPhone_GetDeviceInfo()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_GetDeviceInfo)
- }
- void XPhone_GetDeviceInfo::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_GetDeviceInfo::XPhone_GetDeviceInfo(const XPhone_GetDeviceInfo& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_GetDeviceInfo)
- }
- void XPhone_GetDeviceInfo::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- stridentify_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_GetDeviceInfo::~XPhone_GetDeviceInfo() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_GetDeviceInfo)
- SharedDtor();
- }
- void XPhone_GetDeviceInfo::SharedDtor() {
- stridentify_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_GetDeviceInfo::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_GetDeviceInfo::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_GetDeviceInfo_descriptor_;
- }
- const XPhone_GetDeviceInfo& XPhone_GetDeviceInfo::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_GetDeviceInfo* XPhone_GetDeviceInfo::default_instance_ = NULL;
- XPhone_GetDeviceInfo* XPhone_GetDeviceInfo::New(::google::protobuf::Arena* arena) const {
- XPhone_GetDeviceInfo* n = new XPhone_GetDeviceInfo;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_GetDeviceInfo::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- stridentify_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_GetDeviceInfo::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_GetDeviceInfo)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strIdentify;
- break;
- }
- // optional string strIdentify = 2;
- case 2: {
- if (tag == 18) {
- parse_strIdentify:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_stridentify()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->stridentify().data(), this->stridentify().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_GetDeviceInfo.strIdentify"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_GetDeviceInfo)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_GetDeviceInfo)
- return false;
- #undef DO_
- }
- void XPhone_GetDeviceInfo::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_GetDeviceInfo)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strIdentify = 2;
- if (this->stridentify().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->stridentify().data(), this->stridentify().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_GetDeviceInfo.strIdentify");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->stridentify(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_GetDeviceInfo)
- }
- ::google::protobuf::uint8* XPhone_GetDeviceInfo::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_GetDeviceInfo)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strIdentify = 2;
- if (this->stridentify().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->stridentify().data(), this->stridentify().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_GetDeviceInfo.strIdentify");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->stridentify(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_GetDeviceInfo)
- return target;
- }
- int XPhone_GetDeviceInfo::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strIdentify = 2;
- if (this->stridentify().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->stridentify());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_GetDeviceInfo::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_GetDeviceInfo* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_GetDeviceInfo>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_GetDeviceInfo::MergeFrom(const XPhone_GetDeviceInfo& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.stridentify().size() > 0) {
- stridentify_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.stridentify_);
- }
- }
- void XPhone_GetDeviceInfo::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_GetDeviceInfo::CopyFrom(const XPhone_GetDeviceInfo& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_GetDeviceInfo::IsInitialized() const {
- return true;
- }
- void XPhone_GetDeviceInfo::Swap(XPhone_GetDeviceInfo* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_GetDeviceInfo::InternalSwap(XPhone_GetDeviceInfo* other) {
- std::swap(head_, other->head_);
- stridentify_.Swap(&other->stridentify_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_GetDeviceInfo::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_GetDeviceInfo_descriptor_;
- metadata.reflection = XPhone_GetDeviceInfo_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_GetDeviceInfo
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_GetDeviceInfo::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_GetDeviceInfo::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_GetDeviceInfo::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_GetDeviceInfo.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_GetDeviceInfo::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_GetDeviceInfo.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_GetDeviceInfo::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_GetDeviceInfo::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_GetDeviceInfo.head)
- }
- // optional string strIdentify = 2;
- void XPhone_GetDeviceInfo::clear_stridentify() {
- stridentify_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_GetDeviceInfo::stridentify() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
- return stridentify_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_GetDeviceInfo::set_stridentify(const ::std::string& value) {
-
- stridentify_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
- }
- void XPhone_GetDeviceInfo::set_stridentify(const char* value) {
-
- stridentify_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
- }
- void XPhone_GetDeviceInfo::set_stridentify(const char* value, size_t size) {
-
- stridentify_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
- }
- ::std::string* XPhone_GetDeviceInfo::mutable_stridentify() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
- return stridentify_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_GetDeviceInfo::release_stridentify() {
-
- return stridentify_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_GetDeviceInfo::set_allocated_stridentify(::std::string* stridentify) {
- if (stridentify != NULL) {
-
- } else {
-
- }
- stridentify_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stridentify);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_GetDeviceInfo.strIdentify)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_DeviceInfo::kHeadFieldNumber;
- const int XPhone_DeviceInfo::kStrDeviceNameFieldNumber;
- const int XPhone_DeviceInfo::kStrBrandFieldNumber;
- const int XPhone_DeviceInfo::kStrModelFieldNumber;
- const int XPhone_DeviceInfo::kStrResolutionFieldNumber;
- const int XPhone_DeviceInfo::kStrImeiFieldNumber;
- const int XPhone_DeviceInfo::kISDKVerIDFieldNumber;
- const int XPhone_DeviceInfo::kStrCPUArchiveFieldNumber;
- #endif // !_MSC_VER
- XPhone_DeviceInfo::XPhone_DeviceInfo()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_DeviceInfo)
- }
- void XPhone_DeviceInfo::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_DeviceInfo::XPhone_DeviceInfo(const XPhone_DeviceInfo& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_DeviceInfo)
- }
- void XPhone_DeviceInfo::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strdevicename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strbrand_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strmodel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strresolution_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strimei_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- isdkverid_ = 0;
- strcpuarchive_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_DeviceInfo::~XPhone_DeviceInfo() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_DeviceInfo)
- SharedDtor();
- }
- void XPhone_DeviceInfo::SharedDtor() {
- strdevicename_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strbrand_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strmodel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strresolution_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strimei_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strcpuarchive_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_DeviceInfo::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_DeviceInfo::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_DeviceInfo_descriptor_;
- }
- const XPhone_DeviceInfo& XPhone_DeviceInfo::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_DeviceInfo* XPhone_DeviceInfo::default_instance_ = NULL;
- XPhone_DeviceInfo* XPhone_DeviceInfo::New(::google::protobuf::Arena* arena) const {
- XPhone_DeviceInfo* n = new XPhone_DeviceInfo;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_DeviceInfo::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strdevicename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strbrand_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strmodel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strresolution_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strimei_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- isdkverid_ = 0;
- strcpuarchive_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_DeviceInfo::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_DeviceInfo)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strDeviceName;
- break;
- }
- // optional string strDeviceName = 2;
- case 2: {
- if (tag == 18) {
- parse_strDeviceName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strdevicename()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strdevicename().data(), this->strdevicename().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_DeviceInfo.strDeviceName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strBrand;
- break;
- }
- // optional string strBrand = 3;
- case 3: {
- if (tag == 26) {
- parse_strBrand:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strbrand()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strbrand().data(), this->strbrand().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_DeviceInfo.strBrand"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(34)) goto parse_strModel;
- break;
- }
- // optional string strModel = 4;
- case 4: {
- if (tag == 34) {
- parse_strModel:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strmodel()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strmodel().data(), this->strmodel().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_DeviceInfo.strModel"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(42)) goto parse_strResolution;
- break;
- }
- // optional string strResolution = 5;
- case 5: {
- if (tag == 42) {
- parse_strResolution:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strresolution()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strresolution().data(), this->strresolution().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_DeviceInfo.strResolution"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(50)) goto parse_strImei;
- break;
- }
- // optional string strImei = 6;
- case 6: {
- if (tag == 50) {
- parse_strImei:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strimei()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strimei().data(), this->strimei().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_DeviceInfo.strImei"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(56)) goto parse_iSDKVerID;
- break;
- }
- // optional int32 iSDKVerID = 7;
- case 7: {
- if (tag == 56) {
- parse_iSDKVerID:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &isdkverid_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(66)) goto parse_strCPUArchive;
- break;
- }
- // optional string strCPUArchive = 8;
- case 8: {
- if (tag == 66) {
- parse_strCPUArchive:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strcpuarchive()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcpuarchive().data(), this->strcpuarchive().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_DeviceInfo.strCPUArchive"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_DeviceInfo)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_DeviceInfo)
- return false;
- #undef DO_
- }
- void XPhone_DeviceInfo::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_DeviceInfo)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strDeviceName = 2;
- if (this->strdevicename().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strdevicename().data(), this->strdevicename().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strDeviceName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strdevicename(), output);
- }
- // optional string strBrand = 3;
- if (this->strbrand().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strbrand().data(), this->strbrand().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strBrand");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strbrand(), output);
- }
- // optional string strModel = 4;
- if (this->strmodel().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strmodel().data(), this->strmodel().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strModel");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->strmodel(), output);
- }
- // optional string strResolution = 5;
- if (this->strresolution().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strresolution().data(), this->strresolution().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strResolution");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->strresolution(), output);
- }
- // optional string strImei = 6;
- if (this->strimei().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strimei().data(), this->strimei().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strImei");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 6, this->strimei(), output);
- }
- // optional int32 iSDKVerID = 7;
- if (this->isdkverid() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->isdkverid(), output);
- }
- // optional string strCPUArchive = 8;
- if (this->strcpuarchive().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcpuarchive().data(), this->strcpuarchive().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strCPUArchive");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 8, this->strcpuarchive(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_DeviceInfo)
- }
- ::google::protobuf::uint8* XPhone_DeviceInfo::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_DeviceInfo)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strDeviceName = 2;
- if (this->strdevicename().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strdevicename().data(), this->strdevicename().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strDeviceName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strdevicename(), target);
- }
- // optional string strBrand = 3;
- if (this->strbrand().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strbrand().data(), this->strbrand().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strBrand");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strbrand(), target);
- }
- // optional string strModel = 4;
- if (this->strmodel().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strmodel().data(), this->strmodel().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strModel");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->strmodel(), target);
- }
- // optional string strResolution = 5;
- if (this->strresolution().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strresolution().data(), this->strresolution().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strResolution");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->strresolution(), target);
- }
- // optional string strImei = 6;
- if (this->strimei().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strimei().data(), this->strimei().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strImei");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 6, this->strimei(), target);
- }
- // optional int32 iSDKVerID = 7;
- if (this->isdkverid() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->isdkverid(), target);
- }
- // optional string strCPUArchive = 8;
- if (this->strcpuarchive().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcpuarchive().data(), this->strcpuarchive().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_DeviceInfo.strCPUArchive");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 8, this->strcpuarchive(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_DeviceInfo)
- return target;
- }
- int XPhone_DeviceInfo::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strDeviceName = 2;
- if (this->strdevicename().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strdevicename());
- }
- // optional string strBrand = 3;
- if (this->strbrand().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strbrand());
- }
- // optional string strModel = 4;
- if (this->strmodel().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strmodel());
- }
- // optional string strResolution = 5;
- if (this->strresolution().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strresolution());
- }
- // optional string strImei = 6;
- if (this->strimei().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strimei());
- }
- // optional int32 iSDKVerID = 7;
- if (this->isdkverid() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->isdkverid());
- }
- // optional string strCPUArchive = 8;
- if (this->strcpuarchive().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strcpuarchive());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_DeviceInfo::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_DeviceInfo* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_DeviceInfo>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_DeviceInfo::MergeFrom(const XPhone_DeviceInfo& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strdevicename().size() > 0) {
- strdevicename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strdevicename_);
- }
- if (from.strbrand().size() > 0) {
- strbrand_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strbrand_);
- }
- if (from.strmodel().size() > 0) {
- strmodel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strmodel_);
- }
- if (from.strresolution().size() > 0) {
- strresolution_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strresolution_);
- }
- if (from.strimei().size() > 0) {
- strimei_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strimei_);
- }
- if (from.isdkverid() != 0) {
- set_isdkverid(from.isdkverid());
- }
- if (from.strcpuarchive().size() > 0) {
- strcpuarchive_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcpuarchive_);
- }
- }
- void XPhone_DeviceInfo::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_DeviceInfo::CopyFrom(const XPhone_DeviceInfo& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_DeviceInfo::IsInitialized() const {
- return true;
- }
- void XPhone_DeviceInfo::Swap(XPhone_DeviceInfo* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_DeviceInfo::InternalSwap(XPhone_DeviceInfo* other) {
- std::swap(head_, other->head_);
- strdevicename_.Swap(&other->strdevicename_);
- strbrand_.Swap(&other->strbrand_);
- strmodel_.Swap(&other->strmodel_);
- strresolution_.Swap(&other->strresolution_);
- strimei_.Swap(&other->strimei_);
- std::swap(isdkverid_, other->isdkverid_);
- strcpuarchive_.Swap(&other->strcpuarchive_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_DeviceInfo::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_DeviceInfo_descriptor_;
- metadata.reflection = XPhone_DeviceInfo_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_DeviceInfo
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_DeviceInfo::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_DeviceInfo::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_DeviceInfo::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_DeviceInfo::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_DeviceInfo::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_DeviceInfo::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.head)
- }
- // optional string strDeviceName = 2;
- void XPhone_DeviceInfo::clear_strdevicename() {
- strdevicename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_DeviceInfo::strdevicename() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
- return strdevicename_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_strdevicename(const ::std::string& value) {
-
- strdevicename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
- }
- void XPhone_DeviceInfo::set_strdevicename(const char* value) {
-
- strdevicename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
- }
- void XPhone_DeviceInfo::set_strdevicename(const char* value, size_t size) {
-
- strdevicename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
- }
- ::std::string* XPhone_DeviceInfo::mutable_strdevicename() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
- return strdevicename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_DeviceInfo::release_strdevicename() {
-
- return strdevicename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_allocated_strdevicename(::std::string* strdevicename) {
- if (strdevicename != NULL) {
-
- } else {
-
- }
- strdevicename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strdevicename);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strDeviceName)
- }
- // optional string strBrand = 3;
- void XPhone_DeviceInfo::clear_strbrand() {
- strbrand_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_DeviceInfo::strbrand() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strBrand)
- return strbrand_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_strbrand(const ::std::string& value) {
-
- strbrand_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strBrand)
- }
- void XPhone_DeviceInfo::set_strbrand(const char* value) {
-
- strbrand_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strBrand)
- }
- void XPhone_DeviceInfo::set_strbrand(const char* value, size_t size) {
-
- strbrand_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strBrand)
- }
- ::std::string* XPhone_DeviceInfo::mutable_strbrand() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strBrand)
- return strbrand_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_DeviceInfo::release_strbrand() {
-
- return strbrand_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_allocated_strbrand(::std::string* strbrand) {
- if (strbrand != NULL) {
-
- } else {
-
- }
- strbrand_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strbrand);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strBrand)
- }
- // optional string strModel = 4;
- void XPhone_DeviceInfo::clear_strmodel() {
- strmodel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_DeviceInfo::strmodel() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strModel)
- return strmodel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_strmodel(const ::std::string& value) {
-
- strmodel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strModel)
- }
- void XPhone_DeviceInfo::set_strmodel(const char* value) {
-
- strmodel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strModel)
- }
- void XPhone_DeviceInfo::set_strmodel(const char* value, size_t size) {
-
- strmodel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strModel)
- }
- ::std::string* XPhone_DeviceInfo::mutable_strmodel() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strModel)
- return strmodel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_DeviceInfo::release_strmodel() {
-
- return strmodel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_allocated_strmodel(::std::string* strmodel) {
- if (strmodel != NULL) {
-
- } else {
-
- }
- strmodel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strmodel);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strModel)
- }
- // optional string strResolution = 5;
- void XPhone_DeviceInfo::clear_strresolution() {
- strresolution_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_DeviceInfo::strresolution() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strResolution)
- return strresolution_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_strresolution(const ::std::string& value) {
-
- strresolution_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strResolution)
- }
- void XPhone_DeviceInfo::set_strresolution(const char* value) {
-
- strresolution_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strResolution)
- }
- void XPhone_DeviceInfo::set_strresolution(const char* value, size_t size) {
-
- strresolution_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strResolution)
- }
- ::std::string* XPhone_DeviceInfo::mutable_strresolution() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strResolution)
- return strresolution_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_DeviceInfo::release_strresolution() {
-
- return strresolution_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_allocated_strresolution(::std::string* strresolution) {
- if (strresolution != NULL) {
-
- } else {
-
- }
- strresolution_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strresolution);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strResolution)
- }
- // optional string strImei = 6;
- void XPhone_DeviceInfo::clear_strimei() {
- strimei_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_DeviceInfo::strimei() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strImei)
- return strimei_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_strimei(const ::std::string& value) {
-
- strimei_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strImei)
- }
- void XPhone_DeviceInfo::set_strimei(const char* value) {
-
- strimei_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strImei)
- }
- void XPhone_DeviceInfo::set_strimei(const char* value, size_t size) {
-
- strimei_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strImei)
- }
- ::std::string* XPhone_DeviceInfo::mutable_strimei() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strImei)
- return strimei_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_DeviceInfo::release_strimei() {
-
- return strimei_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_allocated_strimei(::std::string* strimei) {
- if (strimei != NULL) {
-
- } else {
-
- }
- strimei_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strimei);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strImei)
- }
- // optional int32 iSDKVerID = 7;
- void XPhone_DeviceInfo::clear_isdkverid() {
- isdkverid_ = 0;
- }
- ::google::protobuf::int32 XPhone_DeviceInfo::isdkverid() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.iSDKVerID)
- return isdkverid_;
- }
- void XPhone_DeviceInfo::set_isdkverid(::google::protobuf::int32 value) {
-
- isdkverid_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.iSDKVerID)
- }
- // optional string strCPUArchive = 8;
- void XPhone_DeviceInfo::clear_strcpuarchive() {
- strcpuarchive_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_DeviceInfo::strcpuarchive() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
- return strcpuarchive_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_strcpuarchive(const ::std::string& value) {
-
- strcpuarchive_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
- }
- void XPhone_DeviceInfo::set_strcpuarchive(const char* value) {
-
- strcpuarchive_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
- }
- void XPhone_DeviceInfo::set_strcpuarchive(const char* value, size_t size) {
-
- strcpuarchive_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
- }
- ::std::string* XPhone_DeviceInfo::mutable_strcpuarchive() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
- return strcpuarchive_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_DeviceInfo::release_strcpuarchive() {
-
- return strcpuarchive_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_DeviceInfo::set_allocated_strcpuarchive(::std::string* strcpuarchive) {
- if (strcpuarchive != NULL) {
-
- } else {
-
- }
- strcpuarchive_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcpuarchive);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_DeviceInfo.strCPUArchive)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_SendFile::kHeadFieldNumber;
- const int XPhone_SendFile::kStrFilePathFieldNumber;
- const int XPhone_SendFile::kFileContentFieldNumber;
- #endif // !_MSC_VER
- XPhone_SendFile::XPhone_SendFile()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SendFile)
- }
- void XPhone_SendFile::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_SendFile::XPhone_SendFile(const XPhone_SendFile& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SendFile)
- }
- void XPhone_SendFile::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strfilepath_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- filecontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_SendFile::~XPhone_SendFile() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SendFile)
- SharedDtor();
- }
- void XPhone_SendFile::SharedDtor() {
- strfilepath_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- filecontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_SendFile::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_SendFile::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_SendFile_descriptor_;
- }
- const XPhone_SendFile& XPhone_SendFile::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_SendFile* XPhone_SendFile::default_instance_ = NULL;
- XPhone_SendFile* XPhone_SendFile::New(::google::protobuf::Arena* arena) const {
- XPhone_SendFile* n = new XPhone_SendFile;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_SendFile::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strfilepath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- filecontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_SendFile::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SendFile)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strFilePath;
- break;
- }
- // optional string strFilePath = 2;
- case 2: {
- if (tag == 18) {
- parse_strFilePath:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strfilepath()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strfilepath().data(), this->strfilepath().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SendFile.strFilePath"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_fileContent;
- break;
- }
- // optional bytes fileContent = 3;
- case 3: {
- if (tag == 26) {
- parse_fileContent:
- DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
- input, this->mutable_filecontent()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SendFile)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SendFile)
- return false;
- #undef DO_
- }
- void XPhone_SendFile::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SendFile)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strFilePath = 2;
- if (this->strfilepath().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strfilepath().data(), this->strfilepath().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SendFile.strFilePath");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strfilepath(), output);
- }
- // optional bytes fileContent = 3;
- if (this->filecontent().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
- 3, this->filecontent(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SendFile)
- }
- ::google::protobuf::uint8* XPhone_SendFile::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SendFile)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strFilePath = 2;
- if (this->strfilepath().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strfilepath().data(), this->strfilepath().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SendFile.strFilePath");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strfilepath(), target);
- }
- // optional bytes fileContent = 3;
- if (this->filecontent().size() > 0) {
- target =
- ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
- 3, this->filecontent(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SendFile)
- return target;
- }
- int XPhone_SendFile::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strFilePath = 2;
- if (this->strfilepath().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strfilepath());
- }
- // optional bytes fileContent = 3;
- if (this->filecontent().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::BytesSize(
- this->filecontent());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_SendFile::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_SendFile* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SendFile>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_SendFile::MergeFrom(const XPhone_SendFile& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strfilepath().size() > 0) {
- strfilepath_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strfilepath_);
- }
- if (from.filecontent().size() > 0) {
- filecontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filecontent_);
- }
- }
- void XPhone_SendFile::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_SendFile::CopyFrom(const XPhone_SendFile& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_SendFile::IsInitialized() const {
- return true;
- }
- void XPhone_SendFile::Swap(XPhone_SendFile* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_SendFile::InternalSwap(XPhone_SendFile* other) {
- std::swap(head_, other->head_);
- strfilepath_.Swap(&other->strfilepath_);
- filecontent_.Swap(&other->filecontent_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_SendFile::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_SendFile_descriptor_;
- metadata.reflection = XPhone_SendFile_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_SendFile
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_SendFile::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_SendFile::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_SendFile::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendFile.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SendFile::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendFile.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SendFile::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_SendFile::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendFile.head)
- }
- // optional string strFilePath = 2;
- void XPhone_SendFile::clear_strfilepath() {
- strfilepath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SendFile::strfilepath() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendFile.strFilePath)
- return strfilepath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SendFile::set_strfilepath(const ::std::string& value) {
-
- strfilepath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SendFile.strFilePath)
- }
- void XPhone_SendFile::set_strfilepath(const char* value) {
-
- strfilepath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SendFile.strFilePath)
- }
- void XPhone_SendFile::set_strfilepath(const char* value, size_t size) {
-
- strfilepath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SendFile.strFilePath)
- }
- ::std::string* XPhone_SendFile::mutable_strfilepath() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendFile.strFilePath)
- return strfilepath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SendFile::release_strfilepath() {
-
- return strfilepath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SendFile::set_allocated_strfilepath(::std::string* strfilepath) {
- if (strfilepath != NULL) {
-
- } else {
-
- }
- strfilepath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strfilepath);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendFile.strFilePath)
- }
- // optional bytes fileContent = 3;
- void XPhone_SendFile::clear_filecontent() {
- filecontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SendFile::filecontent() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendFile.fileContent)
- return filecontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SendFile::set_filecontent(const ::std::string& value) {
-
- filecontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SendFile.fileContent)
- }
- void XPhone_SendFile::set_filecontent(const char* value) {
-
- filecontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SendFile.fileContent)
- }
- void XPhone_SendFile::set_filecontent(const void* value, size_t size) {
-
- filecontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SendFile.fileContent)
- }
- ::std::string* XPhone_SendFile::mutable_filecontent() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendFile.fileContent)
- return filecontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SendFile::release_filecontent() {
-
- return filecontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SendFile::set_allocated_filecontent(::std::string* filecontent) {
- if (filecontent != NULL) {
-
- } else {
-
- }
- filecontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filecontent);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendFile.fileContent)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_LocationSetting::kHeadFieldNumber;
- const int XPhone_LocationSetting::kBStartFieldNumber;
- const int XPhone_LocationSetting::kStrLocationFieldNumber;
- const int XPhone_LocationSetting::kLongtitudeFieldNumber;
- const int XPhone_LocationSetting::kLatitudeFieldNumber;
- #endif // !_MSC_VER
- XPhone_LocationSetting::XPhone_LocationSetting()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_LocationSetting)
- }
- void XPhone_LocationSetting::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_LocationSetting::XPhone_LocationSetting(const XPhone_LocationSetting& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_LocationSetting)
- }
- void XPhone_LocationSetting::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- bstart_ = false;
- strlocation_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- longtitude_ = 0;
- latitude_ = 0;
- }
- XPhone_LocationSetting::~XPhone_LocationSetting() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_LocationSetting)
- SharedDtor();
- }
- void XPhone_LocationSetting::SharedDtor() {
- strlocation_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_LocationSetting::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_LocationSetting::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_LocationSetting_descriptor_;
- }
- const XPhone_LocationSetting& XPhone_LocationSetting::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_LocationSetting* XPhone_LocationSetting::default_instance_ = NULL;
- XPhone_LocationSetting* XPhone_LocationSetting::New(::google::protobuf::Arena* arena) const {
- XPhone_LocationSetting* n = new XPhone_LocationSetting;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_LocationSetting::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_LocationSetting*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(longtitude_, bstart_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strlocation_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_LocationSetting::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_LocationSetting)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_bStart;
- break;
- }
- // optional bool bStart = 2;
- case 2: {
- if (tag == 16) {
- parse_bStart:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &bstart_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strLocation;
- break;
- }
- // optional string strLocation = 3;
- case 3: {
- if (tag == 26) {
- parse_strLocation:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strlocation()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strlocation().data(), this->strlocation().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_LocationSetting.strLocation"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(33)) goto parse_longtitude;
- break;
- }
- // optional double longtitude = 4;
- case 4: {
- if (tag == 33) {
- parse_longtitude:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
- input, &longtitude_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(41)) goto parse_latitude;
- break;
- }
- // optional double latitude = 5;
- case 5: {
- if (tag == 41) {
- parse_latitude:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
- input, &latitude_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_LocationSetting)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_LocationSetting)
- return false;
- #undef DO_
- }
- void XPhone_LocationSetting::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_LocationSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional bool bStart = 2;
- if (this->bstart() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->bstart(), output);
- }
- // optional string strLocation = 3;
- if (this->strlocation().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strlocation().data(), this->strlocation().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_LocationSetting.strLocation");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strlocation(), output);
- }
- // optional double longtitude = 4;
- if (this->longtitude() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteDouble(4, this->longtitude(), output);
- }
- // optional double latitude = 5;
- if (this->latitude() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteDouble(5, this->latitude(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_LocationSetting)
- }
- ::google::protobuf::uint8* XPhone_LocationSetting::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_LocationSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional bool bStart = 2;
- if (this->bstart() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->bstart(), target);
- }
- // optional string strLocation = 3;
- if (this->strlocation().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strlocation().data(), this->strlocation().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_LocationSetting.strLocation");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strlocation(), target);
- }
- // optional double longtitude = 4;
- if (this->longtitude() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(4, this->longtitude(), target);
- }
- // optional double latitude = 5;
- if (this->latitude() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(5, this->latitude(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_LocationSetting)
- return target;
- }
- int XPhone_LocationSetting::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional bool bStart = 2;
- if (this->bstart() != 0) {
- total_size += 1 + 1;
- }
- // optional string strLocation = 3;
- if (this->strlocation().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strlocation());
- }
- // optional double longtitude = 4;
- if (this->longtitude() != 0) {
- total_size += 1 + 8;
- }
- // optional double latitude = 5;
- if (this->latitude() != 0) {
- total_size += 1 + 8;
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_LocationSetting::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_LocationSetting* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_LocationSetting>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_LocationSetting::MergeFrom(const XPhone_LocationSetting& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.bstart() != 0) {
- set_bstart(from.bstart());
- }
- if (from.strlocation().size() > 0) {
- strlocation_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strlocation_);
- }
- if (from.longtitude() != 0) {
- set_longtitude(from.longtitude());
- }
- if (from.latitude() != 0) {
- set_latitude(from.latitude());
- }
- }
- void XPhone_LocationSetting::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_LocationSetting::CopyFrom(const XPhone_LocationSetting& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_LocationSetting::IsInitialized() const {
- return true;
- }
- void XPhone_LocationSetting::Swap(XPhone_LocationSetting* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_LocationSetting::InternalSwap(XPhone_LocationSetting* other) {
- std::swap(head_, other->head_);
- std::swap(bstart_, other->bstart_);
- strlocation_.Swap(&other->strlocation_);
- std::swap(longtitude_, other->longtitude_);
- std::swap(latitude_, other->latitude_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_LocationSetting::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_LocationSetting_descriptor_;
- metadata.reflection = XPhone_LocationSetting_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_LocationSetting
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_LocationSetting::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_LocationSetting::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_LocationSetting::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LocationSetting.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_LocationSetting::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LocationSetting.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_LocationSetting::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_LocationSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LocationSetting.head)
- }
- // optional bool bStart = 2;
- void XPhone_LocationSetting::clear_bstart() {
- bstart_ = false;
- }
- bool XPhone_LocationSetting::bstart() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LocationSetting.bStart)
- return bstart_;
- }
- void XPhone_LocationSetting::set_bstart(bool value) {
-
- bstart_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LocationSetting.bStart)
- }
- // optional string strLocation = 3;
- void XPhone_LocationSetting::clear_strlocation() {
- strlocation_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_LocationSetting::strlocation() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LocationSetting.strLocation)
- return strlocation_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_LocationSetting::set_strlocation(const ::std::string& value) {
-
- strlocation_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LocationSetting.strLocation)
- }
- void XPhone_LocationSetting::set_strlocation(const char* value) {
-
- strlocation_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_LocationSetting.strLocation)
- }
- void XPhone_LocationSetting::set_strlocation(const char* value, size_t size) {
-
- strlocation_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_LocationSetting.strLocation)
- }
- ::std::string* XPhone_LocationSetting::mutable_strlocation() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LocationSetting.strLocation)
- return strlocation_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_LocationSetting::release_strlocation() {
-
- return strlocation_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_LocationSetting::set_allocated_strlocation(::std::string* strlocation) {
- if (strlocation != NULL) {
-
- } else {
-
- }
- strlocation_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strlocation);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LocationSetting.strLocation)
- }
- // optional double longtitude = 4;
- void XPhone_LocationSetting::clear_longtitude() {
- longtitude_ = 0;
- }
- double XPhone_LocationSetting::longtitude() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LocationSetting.longtitude)
- return longtitude_;
- }
- void XPhone_LocationSetting::set_longtitude(double value) {
-
- longtitude_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LocationSetting.longtitude)
- }
- // optional double latitude = 5;
- void XPhone_LocationSetting::clear_latitude() {
- latitude_ = 0;
- }
- double XPhone_LocationSetting::latitude() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LocationSetting.latitude)
- return latitude_;
- }
- void XPhone_LocationSetting::set_latitude(double value) {
-
- latitude_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LocationSetting.latitude)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_AddNearbySetting::kHeadFieldNumber;
- const int XPhone_AddNearbySetting::kAddnameFieldNumber;
- const int XPhone_AddNearbySetting::kStrIntroduceFieldNumber;
- const int XPhone_AddNearbySetting::kAddIntervalFieldNumber;
- const int XPhone_AddNearbySetting::kSexFieldNumber;
- const int XPhone_AddNearbySetting::kAddcountFieldNumber;
- #endif // !_MSC_VER
- XPhone_AddNearbySetting::XPhone_AddNearbySetting()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AddNearbySetting)
- }
- void XPhone_AddNearbySetting::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_AddNearbySetting::XPhone_AddNearbySetting(const XPhone_AddNearbySetting& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AddNearbySetting)
- }
- void XPhone_AddNearbySetting::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- addname_ = false;
- strintroduce_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- addinterval_ = 0;
- sex_ = 0;
- addcount_ = 0;
- }
- XPhone_AddNearbySetting::~XPhone_AddNearbySetting() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AddNearbySetting)
- SharedDtor();
- }
- void XPhone_AddNearbySetting::SharedDtor() {
- strintroduce_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_AddNearbySetting::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_AddNearbySetting::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_AddNearbySetting_descriptor_;
- }
- const XPhone_AddNearbySetting& XPhone_AddNearbySetting::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_AddNearbySetting* XPhone_AddNearbySetting::default_instance_ = NULL;
- XPhone_AddNearbySetting* XPhone_AddNearbySetting::New(::google::protobuf::Arena* arena) const {
- XPhone_AddNearbySetting* n = new XPhone_AddNearbySetting;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_AddNearbySetting::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_AddNearbySetting*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(addname_, addcount_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_AddNearbySetting::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AddNearbySetting)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_addname;
- break;
- }
- // optional bool addname = 2;
- case 2: {
- if (tag == 16) {
- parse_addname:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &addname_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strIntroduce;
- break;
- }
- // optional string strIntroduce = 3;
- case 3: {
- if (tag == 26) {
- parse_strIntroduce:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strintroduce()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_AddNearbySetting.strIntroduce"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_addInterval;
- break;
- }
- // optional int32 addInterval = 4;
- case 4: {
- if (tag == 32) {
- parse_addInterval:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &addinterval_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(40)) goto parse_sex;
- break;
- }
- // optional int32 sex = 5;
- case 5: {
- if (tag == 40) {
- parse_sex:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &sex_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(48)) goto parse_addcount;
- break;
- }
- // optional int32 addcount = 6;
- case 6: {
- if (tag == 48) {
- parse_addcount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &addcount_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AddNearbySetting)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AddNearbySetting)
- return false;
- #undef DO_
- }
- void XPhone_AddNearbySetting::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AddNearbySetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional bool addname = 2;
- if (this->addname() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->addname(), output);
- }
- // optional string strIntroduce = 3;
- if (this->strintroduce().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AddNearbySetting.strIntroduce");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strintroduce(), output);
- }
- // optional int32 addInterval = 4;
- if (this->addinterval() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->addinterval(), output);
- }
- // optional int32 sex = 5;
- if (this->sex() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->sex(), output);
- }
- // optional int32 addcount = 6;
- if (this->addcount() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->addcount(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AddNearbySetting)
- }
- ::google::protobuf::uint8* XPhone_AddNearbySetting::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AddNearbySetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional bool addname = 2;
- if (this->addname() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->addname(), target);
- }
- // optional string strIntroduce = 3;
- if (this->strintroduce().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AddNearbySetting.strIntroduce");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strintroduce(), target);
- }
- // optional int32 addInterval = 4;
- if (this->addinterval() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->addinterval(), target);
- }
- // optional int32 sex = 5;
- if (this->sex() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->sex(), target);
- }
- // optional int32 addcount = 6;
- if (this->addcount() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->addcount(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AddNearbySetting)
- return target;
- }
- int XPhone_AddNearbySetting::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional bool addname = 2;
- if (this->addname() != 0) {
- total_size += 1 + 1;
- }
- // optional string strIntroduce = 3;
- if (this->strintroduce().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strintroduce());
- }
- // optional int32 addInterval = 4;
- if (this->addinterval() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->addinterval());
- }
- // optional int32 sex = 5;
- if (this->sex() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->sex());
- }
- // optional int32 addcount = 6;
- if (this->addcount() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->addcount());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_AddNearbySetting::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_AddNearbySetting* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AddNearbySetting>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_AddNearbySetting::MergeFrom(const XPhone_AddNearbySetting& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.addname() != 0) {
- set_addname(from.addname());
- }
- if (from.strintroduce().size() > 0) {
- strintroduce_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strintroduce_);
- }
- if (from.addinterval() != 0) {
- set_addinterval(from.addinterval());
- }
- if (from.sex() != 0) {
- set_sex(from.sex());
- }
- if (from.addcount() != 0) {
- set_addcount(from.addcount());
- }
- }
- void XPhone_AddNearbySetting::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_AddNearbySetting::CopyFrom(const XPhone_AddNearbySetting& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_AddNearbySetting::IsInitialized() const {
- return true;
- }
- void XPhone_AddNearbySetting::Swap(XPhone_AddNearbySetting* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_AddNearbySetting::InternalSwap(XPhone_AddNearbySetting* other) {
- std::swap(head_, other->head_);
- std::swap(addname_, other->addname_);
- strintroduce_.Swap(&other->strintroduce_);
- std::swap(addinterval_, other->addinterval_);
- std::swap(sex_, other->sex_);
- std::swap(addcount_, other->addcount_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_AddNearbySetting::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_AddNearbySetting_descriptor_;
- metadata.reflection = XPhone_AddNearbySetting_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_AddNearbySetting
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_AddNearbySetting::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_AddNearbySetting::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_AddNearbySetting::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AddNearbySetting::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddNearbySetting.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AddNearbySetting::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_AddNearbySetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddNearbySetting.head)
- }
- // optional bool addname = 2;
- void XPhone_AddNearbySetting::clear_addname() {
- addname_ = false;
- }
- bool XPhone_AddNearbySetting::addname() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.addname)
- return addname_;
- }
- void XPhone_AddNearbySetting::set_addname(bool value) {
-
- addname_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddNearbySetting.addname)
- }
- // optional string strIntroduce = 3;
- void XPhone_AddNearbySetting::clear_strintroduce() {
- strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_AddNearbySetting::strintroduce() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
- return strintroduce_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AddNearbySetting::set_strintroduce(const ::std::string& value) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
- }
- void XPhone_AddNearbySetting::set_strintroduce(const char* value) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
- }
- void XPhone_AddNearbySetting::set_strintroduce(const char* value, size_t size) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
- }
- ::std::string* XPhone_AddNearbySetting::mutable_strintroduce() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
- return strintroduce_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_AddNearbySetting::release_strintroduce() {
-
- return strintroduce_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AddNearbySetting::set_allocated_strintroduce(::std::string* strintroduce) {
- if (strintroduce != NULL) {
-
- } else {
-
- }
- strintroduce_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strintroduce);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddNearbySetting.strIntroduce)
- }
- // optional int32 addInterval = 4;
- void XPhone_AddNearbySetting::clear_addinterval() {
- addinterval_ = 0;
- }
- ::google::protobuf::int32 XPhone_AddNearbySetting::addinterval() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.addInterval)
- return addinterval_;
- }
- void XPhone_AddNearbySetting::set_addinterval(::google::protobuf::int32 value) {
-
- addinterval_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddNearbySetting.addInterval)
- }
- // optional int32 sex = 5;
- void XPhone_AddNearbySetting::clear_sex() {
- sex_ = 0;
- }
- ::google::protobuf::int32 XPhone_AddNearbySetting::sex() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.sex)
- return sex_;
- }
- void XPhone_AddNearbySetting::set_sex(::google::protobuf::int32 value) {
-
- sex_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddNearbySetting.sex)
- }
- // optional int32 addcount = 6;
- void XPhone_AddNearbySetting::clear_addcount() {
- addcount_ = 0;
- }
- ::google::protobuf::int32 XPhone_AddNearbySetting::addcount() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddNearbySetting.addcount)
- return addcount_;
- }
- void XPhone_AddNearbySetting::set_addcount(::google::protobuf::int32 value) {
-
- addcount_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddNearbySetting.addcount)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_AddressBookSetting::kHeadFieldNumber;
- const int XPhone_AddressBookSetting::kAddcountFieldNumber;
- const int XPhone_AddressBookSetting::kAddIntervalFieldNumber;
- const int XPhone_AddressBookSetting::kIsexFieldNumber;
- const int XPhone_AddressBookSetting::kStrIntroduceFieldNumber;
- #endif // !_MSC_VER
- XPhone_AddressBookSetting::XPhone_AddressBookSetting()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AddressBookSetting)
- }
- void XPhone_AddressBookSetting::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_AddressBookSetting::XPhone_AddressBookSetting(const XPhone_AddressBookSetting& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AddressBookSetting)
- }
- void XPhone_AddressBookSetting::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- addcount_ = 0;
- addinterval_ = 0;
- isex_ = 0;
- strintroduce_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_AddressBookSetting::~XPhone_AddressBookSetting() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AddressBookSetting)
- SharedDtor();
- }
- void XPhone_AddressBookSetting::SharedDtor() {
- strintroduce_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_AddressBookSetting::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_AddressBookSetting::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_AddressBookSetting_descriptor_;
- }
- const XPhone_AddressBookSetting& XPhone_AddressBookSetting::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_AddressBookSetting* XPhone_AddressBookSetting::default_instance_ = NULL;
- XPhone_AddressBookSetting* XPhone_AddressBookSetting::New(::google::protobuf::Arena* arena) const {
- XPhone_AddressBookSetting* n = new XPhone_AddressBookSetting;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_AddressBookSetting::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_AddressBookSetting*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(addcount_, addinterval_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- isex_ = 0;
- strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_AddressBookSetting::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AddressBookSetting)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_addcount;
- break;
- }
- // optional int32 addcount = 2;
- case 2: {
- if (tag == 16) {
- parse_addcount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &addcount_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_addInterval;
- break;
- }
- // optional int32 addInterval = 3;
- case 3: {
- if (tag == 24) {
- parse_addInterval:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &addinterval_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_isex;
- break;
- }
- // optional int32 isex = 4;
- case 4: {
- if (tag == 32) {
- parse_isex:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &isex_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(42)) goto parse_strIntroduce;
- break;
- }
- // optional string strIntroduce = 5;
- case 5: {
- if (tag == 42) {
- parse_strIntroduce:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strintroduce()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_AddressBookSetting.strIntroduce"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AddressBookSetting)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AddressBookSetting)
- return false;
- #undef DO_
- }
- void XPhone_AddressBookSetting::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AddressBookSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 addcount = 2;
- if (this->addcount() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->addcount(), output);
- }
- // optional int32 addInterval = 3;
- if (this->addinterval() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->addinterval(), output);
- }
- // optional int32 isex = 4;
- if (this->isex() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->isex(), output);
- }
- // optional string strIntroduce = 5;
- if (this->strintroduce().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AddressBookSetting.strIntroduce");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->strintroduce(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AddressBookSetting)
- }
- ::google::protobuf::uint8* XPhone_AddressBookSetting::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AddressBookSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 addcount = 2;
- if (this->addcount() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->addcount(), target);
- }
- // optional int32 addInterval = 3;
- if (this->addinterval() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->addinterval(), target);
- }
- // optional int32 isex = 4;
- if (this->isex() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->isex(), target);
- }
- // optional string strIntroduce = 5;
- if (this->strintroduce().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AddressBookSetting.strIntroduce");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->strintroduce(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AddressBookSetting)
- return target;
- }
- int XPhone_AddressBookSetting::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 addcount = 2;
- if (this->addcount() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->addcount());
- }
- // optional int32 addInterval = 3;
- if (this->addinterval() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->addinterval());
- }
- // optional int32 isex = 4;
- if (this->isex() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->isex());
- }
- // optional string strIntroduce = 5;
- if (this->strintroduce().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strintroduce());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_AddressBookSetting::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_AddressBookSetting* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AddressBookSetting>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_AddressBookSetting::MergeFrom(const XPhone_AddressBookSetting& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.addcount() != 0) {
- set_addcount(from.addcount());
- }
- if (from.addinterval() != 0) {
- set_addinterval(from.addinterval());
- }
- if (from.isex() != 0) {
- set_isex(from.isex());
- }
- if (from.strintroduce().size() > 0) {
- strintroduce_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strintroduce_);
- }
- }
- void XPhone_AddressBookSetting::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_AddressBookSetting::CopyFrom(const XPhone_AddressBookSetting& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_AddressBookSetting::IsInitialized() const {
- return true;
- }
- void XPhone_AddressBookSetting::Swap(XPhone_AddressBookSetting* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_AddressBookSetting::InternalSwap(XPhone_AddressBookSetting* other) {
- std::swap(head_, other->head_);
- std::swap(addcount_, other->addcount_);
- std::swap(addinterval_, other->addinterval_);
- std::swap(isex_, other->isex_);
- strintroduce_.Swap(&other->strintroduce_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_AddressBookSetting::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_AddressBookSetting_descriptor_;
- metadata.reflection = XPhone_AddressBookSetting_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_AddressBookSetting
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_AddressBookSetting::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_AddressBookSetting::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_AddressBookSetting::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddressBookSetting.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AddressBookSetting::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddressBookSetting.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AddressBookSetting::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_AddressBookSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddressBookSetting.head)
- }
- // optional int32 addcount = 2;
- void XPhone_AddressBookSetting::clear_addcount() {
- addcount_ = 0;
- }
- ::google::protobuf::int32 XPhone_AddressBookSetting::addcount() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddressBookSetting.addcount)
- return addcount_;
- }
- void XPhone_AddressBookSetting::set_addcount(::google::protobuf::int32 value) {
-
- addcount_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddressBookSetting.addcount)
- }
- // optional int32 addInterval = 3;
- void XPhone_AddressBookSetting::clear_addinterval() {
- addinterval_ = 0;
- }
- ::google::protobuf::int32 XPhone_AddressBookSetting::addinterval() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddressBookSetting.addInterval)
- return addinterval_;
- }
- void XPhone_AddressBookSetting::set_addinterval(::google::protobuf::int32 value) {
-
- addinterval_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddressBookSetting.addInterval)
- }
- // optional int32 isex = 4;
- void XPhone_AddressBookSetting::clear_isex() {
- isex_ = 0;
- }
- ::google::protobuf::int32 XPhone_AddressBookSetting::isex() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddressBookSetting.isex)
- return isex_;
- }
- void XPhone_AddressBookSetting::set_isex(::google::protobuf::int32 value) {
-
- isex_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddressBookSetting.isex)
- }
- // optional string strIntroduce = 5;
- void XPhone_AddressBookSetting::clear_strintroduce() {
- strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_AddressBookSetting::strintroduce() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
- return strintroduce_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AddressBookSetting::set_strintroduce(const ::std::string& value) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
- }
- void XPhone_AddressBookSetting::set_strintroduce(const char* value) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
- }
- void XPhone_AddressBookSetting::set_strintroduce(const char* value, size_t size) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
- }
- ::std::string* XPhone_AddressBookSetting::mutable_strintroduce() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
- return strintroduce_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_AddressBookSetting::release_strintroduce() {
-
- return strintroduce_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AddressBookSetting::set_allocated_strintroduce(::std::string* strintroduce) {
- if (strintroduce != NULL) {
-
- } else {
-
- }
- strintroduce_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strintroduce);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddressBookSetting.strIntroduce)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_RadarSetting::kHeadFieldNumber;
- const int XPhone_RadarSetting::kScantimeFieldNumber;
- #endif // !_MSC_VER
- XPhone_RadarSetting::XPhone_RadarSetting()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_RadarSetting)
- }
- void XPhone_RadarSetting::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_RadarSetting::XPhone_RadarSetting(const XPhone_RadarSetting& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_RadarSetting)
- }
- void XPhone_RadarSetting::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- scantime_ = 0;
- }
- XPhone_RadarSetting::~XPhone_RadarSetting() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_RadarSetting)
- SharedDtor();
- }
- void XPhone_RadarSetting::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_RadarSetting::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_RadarSetting::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_RadarSetting_descriptor_;
- }
- const XPhone_RadarSetting& XPhone_RadarSetting::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_RadarSetting* XPhone_RadarSetting::default_instance_ = NULL;
- XPhone_RadarSetting* XPhone_RadarSetting::New(::google::protobuf::Arena* arena) const {
- XPhone_RadarSetting* n = new XPhone_RadarSetting;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_RadarSetting::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- scantime_ = 0;
- }
- bool XPhone_RadarSetting::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_RadarSetting)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_scantime;
- break;
- }
- // optional int32 scantime = 2;
- case 2: {
- if (tag == 16) {
- parse_scantime:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &scantime_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_RadarSetting)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_RadarSetting)
- return false;
- #undef DO_
- }
- void XPhone_RadarSetting::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_RadarSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 scantime = 2;
- if (this->scantime() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->scantime(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_RadarSetting)
- }
- ::google::protobuf::uint8* XPhone_RadarSetting::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_RadarSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 scantime = 2;
- if (this->scantime() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->scantime(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_RadarSetting)
- return target;
- }
- int XPhone_RadarSetting::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 scantime = 2;
- if (this->scantime() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->scantime());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_RadarSetting::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_RadarSetting* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_RadarSetting>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_RadarSetting::MergeFrom(const XPhone_RadarSetting& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.scantime() != 0) {
- set_scantime(from.scantime());
- }
- }
- void XPhone_RadarSetting::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_RadarSetting::CopyFrom(const XPhone_RadarSetting& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_RadarSetting::IsInitialized() const {
- return true;
- }
- void XPhone_RadarSetting::Swap(XPhone_RadarSetting* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_RadarSetting::InternalSwap(XPhone_RadarSetting* other) {
- std::swap(head_, other->head_);
- std::swap(scantime_, other->scantime_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_RadarSetting::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_RadarSetting_descriptor_;
- metadata.reflection = XPhone_RadarSetting_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_RadarSetting
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_RadarSetting::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_RadarSetting::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_RadarSetting::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RadarSetting.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_RadarSetting::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RadarSetting.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_RadarSetting::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_RadarSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RadarSetting.head)
- }
- // optional int32 scantime = 2;
- void XPhone_RadarSetting::clear_scantime() {
- scantime_ = 0;
- }
- ::google::protobuf::int32 XPhone_RadarSetting::scantime() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RadarSetting.scantime)
- return scantime_;
- }
- void XPhone_RadarSetting::set_scantime(::google::protobuf::int32 value) {
-
- scantime_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_RadarSetting.scantime)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_YaoyiyaoSetting::kHeadFieldNumber;
- const int XPhone_YaoyiyaoSetting::kTotaltimeFieldNumber;
- const int XPhone_YaoyiyaoSetting::kIntrvalFieldNumber;
- const int XPhone_YaoyiyaoSetting::kAddnameFieldNumber;
- const int XPhone_YaoyiyaoSetting::kStrIntroduceFieldNumber;
- const int XPhone_YaoyiyaoSetting::kAddFriendFieldNumber;
- #endif // !_MSC_VER
- XPhone_YaoyiyaoSetting::XPhone_YaoyiyaoSetting()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_YaoyiyaoSetting)
- }
- void XPhone_YaoyiyaoSetting::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_YaoyiyaoSetting::XPhone_YaoyiyaoSetting(const XPhone_YaoyiyaoSetting& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_YaoyiyaoSetting)
- }
- void XPhone_YaoyiyaoSetting::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- totaltime_ = 0;
- intrval_ = 0;
- addname_ = false;
- strintroduce_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- addfriend_ = false;
- }
- XPhone_YaoyiyaoSetting::~XPhone_YaoyiyaoSetting() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_YaoyiyaoSetting)
- SharedDtor();
- }
- void XPhone_YaoyiyaoSetting::SharedDtor() {
- strintroduce_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_YaoyiyaoSetting::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_YaoyiyaoSetting::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_YaoyiyaoSetting_descriptor_;
- }
- const XPhone_YaoyiyaoSetting& XPhone_YaoyiyaoSetting::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_YaoyiyaoSetting* XPhone_YaoyiyaoSetting::default_instance_ = NULL;
- XPhone_YaoyiyaoSetting* XPhone_YaoyiyaoSetting::New(::google::protobuf::Arena* arena) const {
- XPhone_YaoyiyaoSetting* n = new XPhone_YaoyiyaoSetting;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_YaoyiyaoSetting::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_YaoyiyaoSetting*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(totaltime_, intrval_);
- ZR_(addname_, addfriend_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_YaoyiyaoSetting::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_YaoyiyaoSetting)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_totaltime;
- break;
- }
- // optional int32 totaltime = 2;
- case 2: {
- if (tag == 16) {
- parse_totaltime:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &totaltime_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_intrval;
- break;
- }
- // optional int32 intrval = 3;
- case 3: {
- if (tag == 24) {
- parse_intrval:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &intrval_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_addname;
- break;
- }
- // optional bool addname = 4;
- case 4: {
- if (tag == 32) {
- parse_addname:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &addname_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(42)) goto parse_strIntroduce;
- break;
- }
- // optional string strIntroduce = 5;
- case 5: {
- if (tag == 42) {
- parse_strIntroduce:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strintroduce()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(48)) goto parse_addFriend;
- break;
- }
- // optional bool addFriend = 6;
- case 6: {
- if (tag == 48) {
- parse_addFriend:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &addfriend_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_YaoyiyaoSetting)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_YaoyiyaoSetting)
- return false;
- #undef DO_
- }
- void XPhone_YaoyiyaoSetting::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_YaoyiyaoSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 totaltime = 2;
- if (this->totaltime() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->totaltime(), output);
- }
- // optional int32 intrval = 3;
- if (this->intrval() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->intrval(), output);
- }
- // optional bool addname = 4;
- if (this->addname() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->addname(), output);
- }
- // optional string strIntroduce = 5;
- if (this->strintroduce().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->strintroduce(), output);
- }
- // optional bool addFriend = 6;
- if (this->addfriend() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->addfriend(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_YaoyiyaoSetting)
- }
- ::google::protobuf::uint8* XPhone_YaoyiyaoSetting::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_YaoyiyaoSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 totaltime = 2;
- if (this->totaltime() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->totaltime(), target);
- }
- // optional int32 intrval = 3;
- if (this->intrval() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->intrval(), target);
- }
- // optional bool addname = 4;
- if (this->addname() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->addname(), target);
- }
- // optional string strIntroduce = 5;
- if (this->strintroduce().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->strintroduce(), target);
- }
- // optional bool addFriend = 6;
- if (this->addfriend() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->addfriend(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_YaoyiyaoSetting)
- return target;
- }
- int XPhone_YaoyiyaoSetting::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 totaltime = 2;
- if (this->totaltime() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->totaltime());
- }
- // optional int32 intrval = 3;
- if (this->intrval() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->intrval());
- }
- // optional bool addname = 4;
- if (this->addname() != 0) {
- total_size += 1 + 1;
- }
- // optional string strIntroduce = 5;
- if (this->strintroduce().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strintroduce());
- }
- // optional bool addFriend = 6;
- if (this->addfriend() != 0) {
- total_size += 1 + 1;
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_YaoyiyaoSetting::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_YaoyiyaoSetting* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_YaoyiyaoSetting>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_YaoyiyaoSetting::MergeFrom(const XPhone_YaoyiyaoSetting& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.totaltime() != 0) {
- set_totaltime(from.totaltime());
- }
- if (from.intrval() != 0) {
- set_intrval(from.intrval());
- }
- if (from.addname() != 0) {
- set_addname(from.addname());
- }
- if (from.strintroduce().size() > 0) {
- strintroduce_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strintroduce_);
- }
- if (from.addfriend() != 0) {
- set_addfriend(from.addfriend());
- }
- }
- void XPhone_YaoyiyaoSetting::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_YaoyiyaoSetting::CopyFrom(const XPhone_YaoyiyaoSetting& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_YaoyiyaoSetting::IsInitialized() const {
- return true;
- }
- void XPhone_YaoyiyaoSetting::Swap(XPhone_YaoyiyaoSetting* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_YaoyiyaoSetting::InternalSwap(XPhone_YaoyiyaoSetting* other) {
- std::swap(head_, other->head_);
- std::swap(totaltime_, other->totaltime_);
- std::swap(intrval_, other->intrval_);
- std::swap(addname_, other->addname_);
- strintroduce_.Swap(&other->strintroduce_);
- std::swap(addfriend_, other->addfriend_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_YaoyiyaoSetting::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_YaoyiyaoSetting_descriptor_;
- metadata.reflection = XPhone_YaoyiyaoSetting_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_YaoyiyaoSetting
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_YaoyiyaoSetting::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_YaoyiyaoSetting::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_YaoyiyaoSetting::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_YaoyiyaoSetting::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_YaoyiyaoSetting.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_YaoyiyaoSetting::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_YaoyiyaoSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_YaoyiyaoSetting.head)
- }
- // optional int32 totaltime = 2;
- void XPhone_YaoyiyaoSetting::clear_totaltime() {
- totaltime_ = 0;
- }
- ::google::protobuf::int32 XPhone_YaoyiyaoSetting::totaltime() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.totaltime)
- return totaltime_;
- }
- void XPhone_YaoyiyaoSetting::set_totaltime(::google::protobuf::int32 value) {
-
- totaltime_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_YaoyiyaoSetting.totaltime)
- }
- // optional int32 intrval = 3;
- void XPhone_YaoyiyaoSetting::clear_intrval() {
- intrval_ = 0;
- }
- ::google::protobuf::int32 XPhone_YaoyiyaoSetting::intrval() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.intrval)
- return intrval_;
- }
- void XPhone_YaoyiyaoSetting::set_intrval(::google::protobuf::int32 value) {
-
- intrval_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_YaoyiyaoSetting.intrval)
- }
- // optional bool addname = 4;
- void XPhone_YaoyiyaoSetting::clear_addname() {
- addname_ = false;
- }
- bool XPhone_YaoyiyaoSetting::addname() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.addname)
- return addname_;
- }
- void XPhone_YaoyiyaoSetting::set_addname(bool value) {
-
- addname_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_YaoyiyaoSetting.addname)
- }
- // optional string strIntroduce = 5;
- void XPhone_YaoyiyaoSetting::clear_strintroduce() {
- strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_YaoyiyaoSetting::strintroduce() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
- return strintroduce_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_YaoyiyaoSetting::set_strintroduce(const ::std::string& value) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
- }
- void XPhone_YaoyiyaoSetting::set_strintroduce(const char* value) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
- }
- void XPhone_YaoyiyaoSetting::set_strintroduce(const char* value, size_t size) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
- }
- ::std::string* XPhone_YaoyiyaoSetting::mutable_strintroduce() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
- return strintroduce_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_YaoyiyaoSetting::release_strintroduce() {
-
- return strintroduce_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_YaoyiyaoSetting::set_allocated_strintroduce(::std::string* strintroduce) {
- if (strintroduce != NULL) {
-
- } else {
-
- }
- strintroduce_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strintroduce);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_YaoyiyaoSetting.strIntroduce)
- }
- // optional bool addFriend = 6;
- void XPhone_YaoyiyaoSetting::clear_addfriend() {
- addfriend_ = false;
- }
- bool XPhone_YaoyiyaoSetting::addfriend() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_YaoyiyaoSetting.addFriend)
- return addfriend_;
- }
- void XPhone_YaoyiyaoSetting::set_addfriend(bool value) {
-
- addfriend_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_YaoyiyaoSetting.addFriend)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_AutoReplyMsg::kTypeFieldNumber;
- const int XPhone_AutoReplyMsg::kStrKeywordFieldNumber;
- const int XPhone_AutoReplyMsg::kStrResponseFieldNumber;
- #endif // !_MSC_VER
- XPhone_AutoReplyMsg::XPhone_AutoReplyMsg()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AutoReplyMsg)
- }
- void XPhone_AutoReplyMsg::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- }
- XPhone_AutoReplyMsg::XPhone_AutoReplyMsg(const XPhone_AutoReplyMsg& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AutoReplyMsg)
- }
- void XPhone_AutoReplyMsg::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- type_ = 0;
- strkeyword_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strresponse_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_AutoReplyMsg::~XPhone_AutoReplyMsg() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AutoReplyMsg)
- SharedDtor();
- }
- void XPhone_AutoReplyMsg::SharedDtor() {
- strkeyword_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strresponse_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- }
- }
- void XPhone_AutoReplyMsg::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_AutoReplyMsg::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_AutoReplyMsg_descriptor_;
- }
- const XPhone_AutoReplyMsg& XPhone_AutoReplyMsg::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_AutoReplyMsg* XPhone_AutoReplyMsg::default_instance_ = NULL;
- XPhone_AutoReplyMsg* XPhone_AutoReplyMsg::New(::google::protobuf::Arena* arena) const {
- XPhone_AutoReplyMsg* n = new XPhone_AutoReplyMsg;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_AutoReplyMsg::Clear() {
- type_ = 0;
- strkeyword_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strresponse_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_AutoReplyMsg::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AutoReplyMsg)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional int32 type = 1;
- case 1: {
- if (tag == 8) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &type_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strKeyword;
- break;
- }
- // optional string strKeyword = 2;
- case 2: {
- if (tag == 18) {
- parse_strKeyword:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strkeyword()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strkeyword().data(), this->strkeyword().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_AutoReplyMsg.strKeyword"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strResponse;
- break;
- }
- // optional string strResponse = 3;
- case 3: {
- if (tag == 26) {
- parse_strResponse:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strresponse()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strresponse().data(), this->strresponse().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_AutoReplyMsg.strResponse"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AutoReplyMsg)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AutoReplyMsg)
- return false;
- #undef DO_
- }
- void XPhone_AutoReplyMsg::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AutoReplyMsg)
- // optional int32 type = 1;
- if (this->type() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output);
- }
- // optional string strKeyword = 2;
- if (this->strkeyword().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strkeyword().data(), this->strkeyword().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AutoReplyMsg.strKeyword");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strkeyword(), output);
- }
- // optional string strResponse = 3;
- if (this->strresponse().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strresponse().data(), this->strresponse().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AutoReplyMsg.strResponse");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strresponse(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AutoReplyMsg)
- }
- ::google::protobuf::uint8* XPhone_AutoReplyMsg::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AutoReplyMsg)
- // optional int32 type = 1;
- if (this->type() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->type(), target);
- }
- // optional string strKeyword = 2;
- if (this->strkeyword().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strkeyword().data(), this->strkeyword().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AutoReplyMsg.strKeyword");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strkeyword(), target);
- }
- // optional string strResponse = 3;
- if (this->strresponse().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strresponse().data(), this->strresponse().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AutoReplyMsg.strResponse");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strresponse(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AutoReplyMsg)
- return target;
- }
- int XPhone_AutoReplyMsg::ByteSize() const {
- int total_size = 0;
- // optional int32 type = 1;
- if (this->type() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->type());
- }
- // optional string strKeyword = 2;
- if (this->strkeyword().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strkeyword());
- }
- // optional string strResponse = 3;
- if (this->strresponse().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strresponse());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_AutoReplyMsg::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_AutoReplyMsg* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AutoReplyMsg>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_AutoReplyMsg::MergeFrom(const XPhone_AutoReplyMsg& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.type() != 0) {
- set_type(from.type());
- }
- if (from.strkeyword().size() > 0) {
- strkeyword_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strkeyword_);
- }
- if (from.strresponse().size() > 0) {
- strresponse_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strresponse_);
- }
- }
- void XPhone_AutoReplyMsg::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_AutoReplyMsg::CopyFrom(const XPhone_AutoReplyMsg& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_AutoReplyMsg::IsInitialized() const {
- return true;
- }
- void XPhone_AutoReplyMsg::Swap(XPhone_AutoReplyMsg* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_AutoReplyMsg::InternalSwap(XPhone_AutoReplyMsg* other) {
- std::swap(type_, other->type_);
- strkeyword_.Swap(&other->strkeyword_);
- strresponse_.Swap(&other->strresponse_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_AutoReplyMsg::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_AutoReplyMsg_descriptor_;
- metadata.reflection = XPhone_AutoReplyMsg_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_AutoReplyMsg
- // optional int32 type = 1;
- void XPhone_AutoReplyMsg::clear_type() {
- type_ = 0;
- }
- ::google::protobuf::int32 XPhone_AutoReplyMsg::type() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplyMsg.type)
- return type_;
- }
- void XPhone_AutoReplyMsg::set_type(::google::protobuf::int32 value) {
-
- type_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplyMsg.type)
- }
- // optional string strKeyword = 2;
- void XPhone_AutoReplyMsg::clear_strkeyword() {
- strkeyword_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_AutoReplyMsg::strkeyword() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
- return strkeyword_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AutoReplyMsg::set_strkeyword(const ::std::string& value) {
-
- strkeyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
- }
- void XPhone_AutoReplyMsg::set_strkeyword(const char* value) {
-
- strkeyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
- }
- void XPhone_AutoReplyMsg::set_strkeyword(const char* value, size_t size) {
-
- strkeyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
- }
- ::std::string* XPhone_AutoReplyMsg::mutable_strkeyword() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
- return strkeyword_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_AutoReplyMsg::release_strkeyword() {
-
- return strkeyword_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AutoReplyMsg::set_allocated_strkeyword(::std::string* strkeyword) {
- if (strkeyword != NULL) {
-
- } else {
-
- }
- strkeyword_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strkeyword);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplyMsg.strKeyword)
- }
- // optional string strResponse = 3;
- void XPhone_AutoReplyMsg::clear_strresponse() {
- strresponse_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_AutoReplyMsg::strresponse() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
- return strresponse_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AutoReplyMsg::set_strresponse(const ::std::string& value) {
-
- strresponse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
- }
- void XPhone_AutoReplyMsg::set_strresponse(const char* value) {
-
- strresponse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
- }
- void XPhone_AutoReplyMsg::set_strresponse(const char* value, size_t size) {
-
- strresponse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
- }
- ::std::string* XPhone_AutoReplyMsg::mutable_strresponse() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
- return strresponse_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_AutoReplyMsg::release_strresponse() {
-
- return strresponse_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AutoReplyMsg::set_allocated_strresponse(::std::string* strresponse) {
- if (strresponse != NULL) {
-
- } else {
-
- }
- strresponse_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strresponse);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplyMsg.strResponse)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_AutoReplySetting::kHeadFieldNumber;
- const int XPhone_AutoReplySetting::kForbiddenForgroundFieldNumber;
- const int XPhone_AutoReplySetting::kDelayFieldNumber;
- const int XPhone_AutoReplySetting::kStrCommonContentFieldNumber;
- const int XPhone_AutoReplySetting::kMaxreplyFieldNumber;
- const int XPhone_AutoReplySetting::kStrStartTimeFieldNumber;
- const int XPhone_AutoReplySetting::kStrEndTimeFieldNumber;
- const int XPhone_AutoReplySetting::kMsgListFieldNumber;
- #endif // !_MSC_VER
- XPhone_AutoReplySetting::XPhone_AutoReplySetting()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AutoReplySetting)
- }
- void XPhone_AutoReplySetting::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_AutoReplySetting::XPhone_AutoReplySetting(const XPhone_AutoReplySetting& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AutoReplySetting)
- }
- void XPhone_AutoReplySetting::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- forbiddenforground_ = false;
- delay_ = 0;
- strcommoncontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- maxreply_ = 0;
- strstarttime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strendtime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_AutoReplySetting::~XPhone_AutoReplySetting() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AutoReplySetting)
- SharedDtor();
- }
- void XPhone_AutoReplySetting::SharedDtor() {
- strcommoncontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strstarttime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strendtime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_AutoReplySetting::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_AutoReplySetting::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_AutoReplySetting_descriptor_;
- }
- const XPhone_AutoReplySetting& XPhone_AutoReplySetting::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_AutoReplySetting* XPhone_AutoReplySetting::default_instance_ = NULL;
- XPhone_AutoReplySetting* XPhone_AutoReplySetting::New(::google::protobuf::Arena* arena) const {
- XPhone_AutoReplySetting* n = new XPhone_AutoReplySetting;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_AutoReplySetting::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_AutoReplySetting*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(forbiddenforground_, delay_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strcommoncontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- maxreply_ = 0;
- strstarttime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strendtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- #undef ZR_HELPER_
- #undef ZR_
- msglist_.Clear();
- }
- bool XPhone_AutoReplySetting::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AutoReplySetting)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_forbiddenForground;
- break;
- }
- // optional bool forbiddenForground = 2;
- case 2: {
- if (tag == 16) {
- parse_forbiddenForground:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &forbiddenforground_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_delay;
- break;
- }
- // optional int32 delay = 3;
- case 3: {
- if (tag == 24) {
- parse_delay:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &delay_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(34)) goto parse_strCommonContent;
- break;
- }
- // optional string strCommonContent = 4;
- case 4: {
- if (tag == 34) {
- parse_strCommonContent:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strcommoncontent()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcommoncontent().data(), this->strcommoncontent().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_AutoReplySetting.strCommonContent"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(40)) goto parse_maxreply;
- break;
- }
- // optional int32 maxreply = 5;
- case 5: {
- if (tag == 40) {
- parse_maxreply:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &maxreply_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(50)) goto parse_strStartTime;
- break;
- }
- // optional string strStartTime = 6;
- case 6: {
- if (tag == 50) {
- parse_strStartTime:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strstarttime()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strstarttime().data(), this->strstarttime().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_AutoReplySetting.strStartTime"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(58)) goto parse_strEndTime;
- break;
- }
- // optional string strEndTime = 7;
- case 7: {
- if (tag == 58) {
- parse_strEndTime:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strendtime()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strendtime().data(), this->strendtime().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_AutoReplySetting.strEndTime"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(66)) goto parse_msgList;
- break;
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg msgList = 8;
- case 8: {
- if (tag == 66) {
- parse_msgList:
- DO_(input->IncrementRecursionDepth());
- parse_loop_msgList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
- input, add_msglist()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(66)) goto parse_loop_msgList;
- input->UnsafeDecrementRecursionDepth();
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AutoReplySetting)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AutoReplySetting)
- return false;
- #undef DO_
- }
- void XPhone_AutoReplySetting::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AutoReplySetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional bool forbiddenForground = 2;
- if (this->forbiddenforground() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->forbiddenforground(), output);
- }
- // optional int32 delay = 3;
- if (this->delay() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->delay(), output);
- }
- // optional string strCommonContent = 4;
- if (this->strcommoncontent().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcommoncontent().data(), this->strcommoncontent().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AutoReplySetting.strCommonContent");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->strcommoncontent(), output);
- }
- // optional int32 maxreply = 5;
- if (this->maxreply() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->maxreply(), output);
- }
- // optional string strStartTime = 6;
- if (this->strstarttime().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strstarttime().data(), this->strstarttime().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AutoReplySetting.strStartTime");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 6, this->strstarttime(), output);
- }
- // optional string strEndTime = 7;
- if (this->strendtime().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strendtime().data(), this->strendtime().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AutoReplySetting.strEndTime");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 7, this->strendtime(), output);
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg msgList = 8;
- for (unsigned int i = 0, n = this->msglist_size(); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 8, this->msglist(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AutoReplySetting)
- }
- ::google::protobuf::uint8* XPhone_AutoReplySetting::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AutoReplySetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional bool forbiddenForground = 2;
- if (this->forbiddenforground() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->forbiddenforground(), target);
- }
- // optional int32 delay = 3;
- if (this->delay() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->delay(), target);
- }
- // optional string strCommonContent = 4;
- if (this->strcommoncontent().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcommoncontent().data(), this->strcommoncontent().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AutoReplySetting.strCommonContent");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->strcommoncontent(), target);
- }
- // optional int32 maxreply = 5;
- if (this->maxreply() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->maxreply(), target);
- }
- // optional string strStartTime = 6;
- if (this->strstarttime().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strstarttime().data(), this->strstarttime().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AutoReplySetting.strStartTime");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 6, this->strstarttime(), target);
- }
- // optional string strEndTime = 7;
- if (this->strendtime().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strendtime().data(), this->strendtime().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AutoReplySetting.strEndTime");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 7, this->strendtime(), target);
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg msgList = 8;
- for (unsigned int i = 0, n = this->msglist_size(); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 8, this->msglist(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AutoReplySetting)
- return target;
- }
- int XPhone_AutoReplySetting::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional bool forbiddenForground = 2;
- if (this->forbiddenforground() != 0) {
- total_size += 1 + 1;
- }
- // optional int32 delay = 3;
- if (this->delay() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->delay());
- }
- // optional string strCommonContent = 4;
- if (this->strcommoncontent().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strcommoncontent());
- }
- // optional int32 maxreply = 5;
- if (this->maxreply() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->maxreply());
- }
- // optional string strStartTime = 6;
- if (this->strstarttime().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strstarttime());
- }
- // optional string strEndTime = 7;
- if (this->strendtime().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strendtime());
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg msgList = 8;
- total_size += 1 * this->msglist_size();
- for (int i = 0; i < this->msglist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->msglist(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_AutoReplySetting::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_AutoReplySetting* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AutoReplySetting>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_AutoReplySetting::MergeFrom(const XPhone_AutoReplySetting& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- msglist_.MergeFrom(from.msglist_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.forbiddenforground() != 0) {
- set_forbiddenforground(from.forbiddenforground());
- }
- if (from.delay() != 0) {
- set_delay(from.delay());
- }
- if (from.strcommoncontent().size() > 0) {
- strcommoncontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcommoncontent_);
- }
- if (from.maxreply() != 0) {
- set_maxreply(from.maxreply());
- }
- if (from.strstarttime().size() > 0) {
- strstarttime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strstarttime_);
- }
- if (from.strendtime().size() > 0) {
- strendtime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strendtime_);
- }
- }
- void XPhone_AutoReplySetting::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_AutoReplySetting::CopyFrom(const XPhone_AutoReplySetting& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_AutoReplySetting::IsInitialized() const {
- return true;
- }
- void XPhone_AutoReplySetting::Swap(XPhone_AutoReplySetting* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_AutoReplySetting::InternalSwap(XPhone_AutoReplySetting* other) {
- std::swap(head_, other->head_);
- std::swap(forbiddenforground_, other->forbiddenforground_);
- std::swap(delay_, other->delay_);
- strcommoncontent_.Swap(&other->strcommoncontent_);
- std::swap(maxreply_, other->maxreply_);
- strstarttime_.Swap(&other->strstarttime_);
- strendtime_.Swap(&other->strendtime_);
- msglist_.UnsafeArenaSwap(&other->msglist_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_AutoReplySetting::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_AutoReplySetting_descriptor_;
- metadata.reflection = XPhone_AutoReplySetting_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_AutoReplySetting
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_AutoReplySetting::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_AutoReplySetting::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_AutoReplySetting::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AutoReplySetting::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplySetting.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AutoReplySetting::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_AutoReplySetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplySetting.head)
- }
- // optional bool forbiddenForground = 2;
- void XPhone_AutoReplySetting::clear_forbiddenforground() {
- forbiddenforground_ = false;
- }
- bool XPhone_AutoReplySetting::forbiddenforground() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.forbiddenForground)
- return forbiddenforground_;
- }
- void XPhone_AutoReplySetting::set_forbiddenforground(bool value) {
-
- forbiddenforground_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.forbiddenForground)
- }
- // optional int32 delay = 3;
- void XPhone_AutoReplySetting::clear_delay() {
- delay_ = 0;
- }
- ::google::protobuf::int32 XPhone_AutoReplySetting::delay() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.delay)
- return delay_;
- }
- void XPhone_AutoReplySetting::set_delay(::google::protobuf::int32 value) {
-
- delay_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.delay)
- }
- // optional string strCommonContent = 4;
- void XPhone_AutoReplySetting::clear_strcommoncontent() {
- strcommoncontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_AutoReplySetting::strcommoncontent() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
- return strcommoncontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AutoReplySetting::set_strcommoncontent(const ::std::string& value) {
-
- strcommoncontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
- }
- void XPhone_AutoReplySetting::set_strcommoncontent(const char* value) {
-
- strcommoncontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
- }
- void XPhone_AutoReplySetting::set_strcommoncontent(const char* value, size_t size) {
-
- strcommoncontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
- }
- ::std::string* XPhone_AutoReplySetting::mutable_strcommoncontent() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
- return strcommoncontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_AutoReplySetting::release_strcommoncontent() {
-
- return strcommoncontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AutoReplySetting::set_allocated_strcommoncontent(::std::string* strcommoncontent) {
- if (strcommoncontent != NULL) {
-
- } else {
-
- }
- strcommoncontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcommoncontent);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplySetting.strCommonContent)
- }
- // optional int32 maxreply = 5;
- void XPhone_AutoReplySetting::clear_maxreply() {
- maxreply_ = 0;
- }
- ::google::protobuf::int32 XPhone_AutoReplySetting::maxreply() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.maxreply)
- return maxreply_;
- }
- void XPhone_AutoReplySetting::set_maxreply(::google::protobuf::int32 value) {
-
- maxreply_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.maxreply)
- }
- // optional string strStartTime = 6;
- void XPhone_AutoReplySetting::clear_strstarttime() {
- strstarttime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_AutoReplySetting::strstarttime() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
- return strstarttime_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AutoReplySetting::set_strstarttime(const ::std::string& value) {
-
- strstarttime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
- }
- void XPhone_AutoReplySetting::set_strstarttime(const char* value) {
-
- strstarttime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
- }
- void XPhone_AutoReplySetting::set_strstarttime(const char* value, size_t size) {
-
- strstarttime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
- }
- ::std::string* XPhone_AutoReplySetting::mutable_strstarttime() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
- return strstarttime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_AutoReplySetting::release_strstarttime() {
-
- return strstarttime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AutoReplySetting::set_allocated_strstarttime(::std::string* strstarttime) {
- if (strstarttime != NULL) {
-
- } else {
-
- }
- strstarttime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strstarttime);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplySetting.strStartTime)
- }
- // optional string strEndTime = 7;
- void XPhone_AutoReplySetting::clear_strendtime() {
- strendtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_AutoReplySetting::strendtime() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
- return strendtime_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AutoReplySetting::set_strendtime(const ::std::string& value) {
-
- strendtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
- }
- void XPhone_AutoReplySetting::set_strendtime(const char* value) {
-
- strendtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
- }
- void XPhone_AutoReplySetting::set_strendtime(const char* value, size_t size) {
-
- strendtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
- }
- ::std::string* XPhone_AutoReplySetting::mutable_strendtime() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
- return strendtime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_AutoReplySetting::release_strendtime() {
-
- return strendtime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AutoReplySetting::set_allocated_strendtime(::std::string* strendtime) {
- if (strendtime != NULL) {
-
- } else {
-
- }
- strendtime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strendtime);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AutoReplySetting.strEndTime)
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg msgList = 8;
- int XPhone_AutoReplySetting::msglist_size() const {
- return msglist_.size();
- }
- void XPhone_AutoReplySetting::clear_msglist() {
- msglist_.Clear();
- }
- const ::XPhonePlus::XPhone_AutoReplyMsg& XPhone_AutoReplySetting::msglist(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AutoReplySetting.msgList)
- return msglist_.Get(index);
- }
- ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_AutoReplySetting::mutable_msglist(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AutoReplySetting.msgList)
- return msglist_.Mutable(index);
- }
- ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_AutoReplySetting::add_msglist() {
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_AutoReplySetting.msgList)
- return msglist_.Add();
- }
- ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >*
- XPhone_AutoReplySetting::mutable_msglist() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_AutoReplySetting.msgList)
- return &msglist_;
- }
- const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >&
- XPhone_AutoReplySetting::msglist() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_AutoReplySetting.msgList)
- return msglist_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_FunctionSwitch::kHeadFieldNumber;
- const int XPhone_FunctionSwitch::kTaskTypeFieldNumber;
- const int XPhone_FunctionSwitch::kActionFieldNumber;
- #endif // !_MSC_VER
- XPhone_FunctionSwitch::XPhone_FunctionSwitch()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_FunctionSwitch)
- }
- void XPhone_FunctionSwitch::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_FunctionSwitch::XPhone_FunctionSwitch(const XPhone_FunctionSwitch& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_FunctionSwitch)
- }
- void XPhone_FunctionSwitch::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- tasktype_ = 0;
- action_ = 0;
- }
- XPhone_FunctionSwitch::~XPhone_FunctionSwitch() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_FunctionSwitch)
- SharedDtor();
- }
- void XPhone_FunctionSwitch::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_FunctionSwitch::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_FunctionSwitch::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_FunctionSwitch_descriptor_;
- }
- const XPhone_FunctionSwitch& XPhone_FunctionSwitch::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_FunctionSwitch* XPhone_FunctionSwitch::default_instance_ = NULL;
- XPhone_FunctionSwitch* XPhone_FunctionSwitch::New(::google::protobuf::Arena* arena) const {
- XPhone_FunctionSwitch* n = new XPhone_FunctionSwitch;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_FunctionSwitch::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_FunctionSwitch*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(tasktype_, action_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_FunctionSwitch::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_FunctionSwitch)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_taskType;
- break;
- }
- // optional .XPhonePlus.XPhone_TaskType taskType = 2;
- case 2: {
- if (tag == 16) {
- parse_taskType:
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_tasktype(static_cast< ::XPhonePlus::XPhone_TaskType >(value));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_action;
- break;
- }
- // optional .XPhonePlus.XPhone_TaskAction action = 3;
- case 3: {
- if (tag == 24) {
- parse_action:
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_action(static_cast< ::XPhonePlus::XPhone_TaskAction >(value));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_FunctionSwitch)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_FunctionSwitch)
- return false;
- #undef DO_
- }
- void XPhone_FunctionSwitch::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_FunctionSwitch)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional .XPhonePlus.XPhone_TaskType taskType = 2;
- if (this->tasktype() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 2, this->tasktype(), output);
- }
- // optional .XPhonePlus.XPhone_TaskAction action = 3;
- if (this->action() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 3, this->action(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_FunctionSwitch)
- }
- ::google::protobuf::uint8* XPhone_FunctionSwitch::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_FunctionSwitch)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional .XPhonePlus.XPhone_TaskType taskType = 2;
- if (this->tasktype() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 2, this->tasktype(), target);
- }
- // optional .XPhonePlus.XPhone_TaskAction action = 3;
- if (this->action() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 3, this->action(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_FunctionSwitch)
- return target;
- }
- int XPhone_FunctionSwitch::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional .XPhonePlus.XPhone_TaskType taskType = 2;
- if (this->tasktype() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->tasktype());
- }
- // optional .XPhonePlus.XPhone_TaskAction action = 3;
- if (this->action() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->action());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_FunctionSwitch::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_FunctionSwitch* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_FunctionSwitch>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_FunctionSwitch::MergeFrom(const XPhone_FunctionSwitch& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.tasktype() != 0) {
- set_tasktype(from.tasktype());
- }
- if (from.action() != 0) {
- set_action(from.action());
- }
- }
- void XPhone_FunctionSwitch::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_FunctionSwitch::CopyFrom(const XPhone_FunctionSwitch& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_FunctionSwitch::IsInitialized() const {
- return true;
- }
- void XPhone_FunctionSwitch::Swap(XPhone_FunctionSwitch* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_FunctionSwitch::InternalSwap(XPhone_FunctionSwitch* other) {
- std::swap(head_, other->head_);
- std::swap(tasktype_, other->tasktype_);
- std::swap(action_, other->action_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_FunctionSwitch::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_FunctionSwitch_descriptor_;
- metadata.reflection = XPhone_FunctionSwitch_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_FunctionSwitch
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_FunctionSwitch::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_FunctionSwitch::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_FunctionSwitch::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_FunctionSwitch.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_FunctionSwitch::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_FunctionSwitch.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_FunctionSwitch::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_FunctionSwitch::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_FunctionSwitch.head)
- }
- // optional .XPhonePlus.XPhone_TaskType taskType = 2;
- void XPhone_FunctionSwitch::clear_tasktype() {
- tasktype_ = 0;
- }
- ::XPhonePlus::XPhone_TaskType XPhone_FunctionSwitch::tasktype() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_FunctionSwitch.taskType)
- return static_cast< ::XPhonePlus::XPhone_TaskType >(tasktype_);
- }
- void XPhone_FunctionSwitch::set_tasktype(::XPhonePlus::XPhone_TaskType value) {
-
- tasktype_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_FunctionSwitch.taskType)
- }
- // optional .XPhonePlus.XPhone_TaskAction action = 3;
- void XPhone_FunctionSwitch::clear_action() {
- action_ = 0;
- }
- ::XPhonePlus::XPhone_TaskAction XPhone_FunctionSwitch::action() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_FunctionSwitch.action)
- return static_cast< ::XPhonePlus::XPhone_TaskAction >(action_);
- }
- void XPhone_FunctionSwitch::set_action(::XPhonePlus::XPhone_TaskAction value) {
-
- action_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_FunctionSwitch.action)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_SnsMsg::kSNSTypeFieldNumber;
- const int XPhone_SnsMsg::kStrTitleFieldNumber;
- const int XPhone_SnsMsg::kStrTextFieldNumber;
- const int XPhone_SnsMsg::kStrLinkerFieldNumber;
- const int XPhone_SnsMsg::kPicListFieldNumber;
- #endif // !_MSC_VER
- XPhone_SnsMsg::XPhone_SnsMsg()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SnsMsg)
- }
- void XPhone_SnsMsg::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- }
- XPhone_SnsMsg::XPhone_SnsMsg(const XPhone_SnsMsg& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SnsMsg)
- }
- void XPhone_SnsMsg::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- snstype_ = 0;
- strtitle_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strtext_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strlinker_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_SnsMsg::~XPhone_SnsMsg() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SnsMsg)
- SharedDtor();
- }
- void XPhone_SnsMsg::SharedDtor() {
- strtitle_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strtext_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strlinker_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- }
- }
- void XPhone_SnsMsg::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_SnsMsg::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_SnsMsg_descriptor_;
- }
- const XPhone_SnsMsg& XPhone_SnsMsg::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_SnsMsg* XPhone_SnsMsg::default_instance_ = NULL;
- XPhone_SnsMsg* XPhone_SnsMsg::New(::google::protobuf::Arena* arena) const {
- XPhone_SnsMsg* n = new XPhone_SnsMsg;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_SnsMsg::Clear() {
- snstype_ = 0;
- strtitle_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strtext_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strlinker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- piclist_.Clear();
- }
- bool XPhone_SnsMsg::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SnsMsg)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional int32 SNSType = 1;
- case 1: {
- if (tag == 8) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &snstype_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strTitle;
- break;
- }
- // optional string strTitle = 2;
- case 2: {
- if (tag == 18) {
- parse_strTitle:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strtitle()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtitle().data(), this->strtitle().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SnsMsg.strTitle"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strText;
- break;
- }
- // optional string strText = 3;
- case 3: {
- if (tag == 26) {
- parse_strText:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strtext()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtext().data(), this->strtext().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SnsMsg.strText"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(34)) goto parse_strLinker;
- break;
- }
- // optional string strLinker = 4;
- case 4: {
- if (tag == 34) {
- parse_strLinker:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strlinker()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strlinker().data(), this->strlinker().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SnsMsg.strLinker"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(42)) goto parse_picList;
- break;
- }
- // repeated string picList = 5;
- case 5: {
- if (tag == 42) {
- parse_picList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->add_piclist()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->piclist(this->piclist_size() - 1).data(),
- this->piclist(this->piclist_size() - 1).length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SnsMsg.picList"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(42)) goto parse_picList;
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SnsMsg)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SnsMsg)
- return false;
- #undef DO_
- }
- void XPhone_SnsMsg::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SnsMsg)
- // optional int32 SNSType = 1;
- if (this->snstype() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->snstype(), output);
- }
- // optional string strTitle = 2;
- if (this->strtitle().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtitle().data(), this->strtitle().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SnsMsg.strTitle");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strtitle(), output);
- }
- // optional string strText = 3;
- if (this->strtext().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtext().data(), this->strtext().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SnsMsg.strText");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strtext(), output);
- }
- // optional string strLinker = 4;
- if (this->strlinker().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strlinker().data(), this->strlinker().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SnsMsg.strLinker");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->strlinker(), output);
- }
- // repeated string picList = 5;
- for (int i = 0; i < this->piclist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->piclist(i).data(), this->piclist(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SnsMsg.picList");
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 5, this->piclist(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SnsMsg)
- }
- ::google::protobuf::uint8* XPhone_SnsMsg::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SnsMsg)
- // optional int32 SNSType = 1;
- if (this->snstype() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->snstype(), target);
- }
- // optional string strTitle = 2;
- if (this->strtitle().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtitle().data(), this->strtitle().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SnsMsg.strTitle");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strtitle(), target);
- }
- // optional string strText = 3;
- if (this->strtext().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtext().data(), this->strtext().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SnsMsg.strText");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strtext(), target);
- }
- // optional string strLinker = 4;
- if (this->strlinker().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strlinker().data(), this->strlinker().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SnsMsg.strLinker");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->strlinker(), target);
- }
- // repeated string picList = 5;
- for (int i = 0; i < this->piclist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->piclist(i).data(), this->piclist(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SnsMsg.picList");
- target = ::google::protobuf::internal::WireFormatLite::
- WriteStringToArray(5, this->piclist(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SnsMsg)
- return target;
- }
- int XPhone_SnsMsg::ByteSize() const {
- int total_size = 0;
- // optional int32 SNSType = 1;
- if (this->snstype() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->snstype());
- }
- // optional string strTitle = 2;
- if (this->strtitle().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strtitle());
- }
- // optional string strText = 3;
- if (this->strtext().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strtext());
- }
- // optional string strLinker = 4;
- if (this->strlinker().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strlinker());
- }
- // repeated string picList = 5;
- total_size += 1 * this->piclist_size();
- for (int i = 0; i < this->piclist_size(); i++) {
- total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
- this->piclist(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_SnsMsg::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_SnsMsg* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SnsMsg>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_SnsMsg::MergeFrom(const XPhone_SnsMsg& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- piclist_.MergeFrom(from.piclist_);
- if (from.snstype() != 0) {
- set_snstype(from.snstype());
- }
- if (from.strtitle().size() > 0) {
- strtitle_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strtitle_);
- }
- if (from.strtext().size() > 0) {
- strtext_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strtext_);
- }
- if (from.strlinker().size() > 0) {
- strlinker_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strlinker_);
- }
- }
- void XPhone_SnsMsg::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_SnsMsg::CopyFrom(const XPhone_SnsMsg& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_SnsMsg::IsInitialized() const {
- return true;
- }
- void XPhone_SnsMsg::Swap(XPhone_SnsMsg* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_SnsMsg::InternalSwap(XPhone_SnsMsg* other) {
- std::swap(snstype_, other->snstype_);
- strtitle_.Swap(&other->strtitle_);
- strtext_.Swap(&other->strtext_);
- strlinker_.Swap(&other->strlinker_);
- piclist_.UnsafeArenaSwap(&other->piclist_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_SnsMsg::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_SnsMsg_descriptor_;
- metadata.reflection = XPhone_SnsMsg_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_SnsMsg
- // optional int32 SNSType = 1;
- void XPhone_SnsMsg::clear_snstype() {
- snstype_ = 0;
- }
- ::google::protobuf::int32 XPhone_SnsMsg::snstype() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsMsg.SNSType)
- return snstype_;
- }
- void XPhone_SnsMsg::set_snstype(::google::protobuf::int32 value) {
-
- snstype_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsMsg.SNSType)
- }
- // optional string strTitle = 2;
- void XPhone_SnsMsg::clear_strtitle() {
- strtitle_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SnsMsg::strtitle() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsMsg.strTitle)
- return strtitle_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SnsMsg::set_strtitle(const ::std::string& value) {
-
- strtitle_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsMsg.strTitle)
- }
- void XPhone_SnsMsg::set_strtitle(const char* value) {
-
- strtitle_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SnsMsg.strTitle)
- }
- void XPhone_SnsMsg::set_strtitle(const char* value, size_t size) {
-
- strtitle_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SnsMsg.strTitle)
- }
- ::std::string* XPhone_SnsMsg::mutable_strtitle() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsMsg.strTitle)
- return strtitle_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SnsMsg::release_strtitle() {
-
- return strtitle_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SnsMsg::set_allocated_strtitle(::std::string* strtitle) {
- if (strtitle != NULL) {
-
- } else {
-
- }
- strtitle_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strtitle);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SnsMsg.strTitle)
- }
- // optional string strText = 3;
- void XPhone_SnsMsg::clear_strtext() {
- strtext_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SnsMsg::strtext() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsMsg.strText)
- return strtext_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SnsMsg::set_strtext(const ::std::string& value) {
-
- strtext_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsMsg.strText)
- }
- void XPhone_SnsMsg::set_strtext(const char* value) {
-
- strtext_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SnsMsg.strText)
- }
- void XPhone_SnsMsg::set_strtext(const char* value, size_t size) {
-
- strtext_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SnsMsg.strText)
- }
- ::std::string* XPhone_SnsMsg::mutable_strtext() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsMsg.strText)
- return strtext_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SnsMsg::release_strtext() {
-
- return strtext_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SnsMsg::set_allocated_strtext(::std::string* strtext) {
- if (strtext != NULL) {
-
- } else {
-
- }
- strtext_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strtext);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SnsMsg.strText)
- }
- // optional string strLinker = 4;
- void XPhone_SnsMsg::clear_strlinker() {
- strlinker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SnsMsg::strlinker() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsMsg.strLinker)
- return strlinker_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SnsMsg::set_strlinker(const ::std::string& value) {
-
- strlinker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsMsg.strLinker)
- }
- void XPhone_SnsMsg::set_strlinker(const char* value) {
-
- strlinker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SnsMsg.strLinker)
- }
- void XPhone_SnsMsg::set_strlinker(const char* value, size_t size) {
-
- strlinker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SnsMsg.strLinker)
- }
- ::std::string* XPhone_SnsMsg::mutable_strlinker() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsMsg.strLinker)
- return strlinker_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SnsMsg::release_strlinker() {
-
- return strlinker_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SnsMsg::set_allocated_strlinker(::std::string* strlinker) {
- if (strlinker != NULL) {
-
- } else {
-
- }
- strlinker_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strlinker);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SnsMsg.strLinker)
- }
- // repeated string picList = 5;
- int XPhone_SnsMsg::piclist_size() const {
- return piclist_.size();
- }
- void XPhone_SnsMsg::clear_piclist() {
- piclist_.Clear();
- }
- const ::std::string& XPhone_SnsMsg::piclist(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsMsg.picList)
- return piclist_.Get(index);
- }
- ::std::string* XPhone_SnsMsg::mutable_piclist(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsMsg.picList)
- return piclist_.Mutable(index);
- }
- void XPhone_SnsMsg::set_piclist(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsMsg.picList)
- piclist_.Mutable(index)->assign(value);
- }
- void XPhone_SnsMsg::set_piclist(int index, const char* value) {
- piclist_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SnsMsg.picList)
- }
- void XPhone_SnsMsg::set_piclist(int index, const char* value, size_t size) {
- piclist_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SnsMsg.picList)
- }
- ::std::string* XPhone_SnsMsg::add_piclist() {
- return piclist_.Add();
- }
- void XPhone_SnsMsg::add_piclist(const ::std::string& value) {
- piclist_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_SnsMsg.picList)
- }
- void XPhone_SnsMsg::add_piclist(const char* value) {
- piclist_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_SnsMsg.picList)
- }
- void XPhone_SnsMsg::add_piclist(const char* value, size_t size) {
- piclist_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_SnsMsg.picList)
- }
- const ::google::protobuf::RepeatedPtrField< ::std::string>&
- XPhone_SnsMsg::piclist() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_SnsMsg.picList)
- return piclist_;
- }
- ::google::protobuf::RepeatedPtrField< ::std::string>*
- XPhone_SnsMsg::mutable_piclist() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_SnsMsg.picList)
- return &piclist_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_SnsSetting::kHeadFieldNumber;
- const int XPhone_SnsSetting::kSendintrvalFieldNumber;
- const int XPhone_SnsSetting::kSnsListFieldNumber;
- #endif // !_MSC_VER
- XPhone_SnsSetting::XPhone_SnsSetting()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SnsSetting)
- }
- void XPhone_SnsSetting::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_SnsSetting::XPhone_SnsSetting(const XPhone_SnsSetting& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SnsSetting)
- }
- void XPhone_SnsSetting::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- sendintrval_ = 0;
- }
- XPhone_SnsSetting::~XPhone_SnsSetting() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SnsSetting)
- SharedDtor();
- }
- void XPhone_SnsSetting::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_SnsSetting::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_SnsSetting::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_SnsSetting_descriptor_;
- }
- const XPhone_SnsSetting& XPhone_SnsSetting::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_SnsSetting* XPhone_SnsSetting::default_instance_ = NULL;
- XPhone_SnsSetting* XPhone_SnsSetting::New(::google::protobuf::Arena* arena) const {
- XPhone_SnsSetting* n = new XPhone_SnsSetting;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_SnsSetting::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- sendintrval_ = 0;
- snslist_.Clear();
- }
- bool XPhone_SnsSetting::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SnsSetting)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_sendintrval;
- break;
- }
- // optional int32 sendintrval = 2;
- case 2: {
- if (tag == 16) {
- parse_sendintrval:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &sendintrval_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_snsList;
- break;
- }
- // repeated .XPhonePlus.XPhone_SnsMsg snsList = 3;
- case 3: {
- if (tag == 26) {
- parse_snsList:
- DO_(input->IncrementRecursionDepth());
- parse_loop_snsList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
- input, add_snslist()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_loop_snsList;
- input->UnsafeDecrementRecursionDepth();
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SnsSetting)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SnsSetting)
- return false;
- #undef DO_
- }
- void XPhone_SnsSetting::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SnsSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 sendintrval = 2;
- if (this->sendintrval() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->sendintrval(), output);
- }
- // repeated .XPhonePlus.XPhone_SnsMsg snsList = 3;
- for (unsigned int i = 0, n = this->snslist_size(); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, this->snslist(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SnsSetting)
- }
- ::google::protobuf::uint8* XPhone_SnsSetting::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SnsSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 sendintrval = 2;
- if (this->sendintrval() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->sendintrval(), target);
- }
- // repeated .XPhonePlus.XPhone_SnsMsg snsList = 3;
- for (unsigned int i = 0, n = this->snslist_size(); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 3, this->snslist(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SnsSetting)
- return target;
- }
- int XPhone_SnsSetting::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 sendintrval = 2;
- if (this->sendintrval() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->sendintrval());
- }
- // repeated .XPhonePlus.XPhone_SnsMsg snsList = 3;
- total_size += 1 * this->snslist_size();
- for (int i = 0; i < this->snslist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->snslist(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_SnsSetting::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_SnsSetting* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SnsSetting>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_SnsSetting::MergeFrom(const XPhone_SnsSetting& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- snslist_.MergeFrom(from.snslist_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.sendintrval() != 0) {
- set_sendintrval(from.sendintrval());
- }
- }
- void XPhone_SnsSetting::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_SnsSetting::CopyFrom(const XPhone_SnsSetting& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_SnsSetting::IsInitialized() const {
- return true;
- }
- void XPhone_SnsSetting::Swap(XPhone_SnsSetting* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_SnsSetting::InternalSwap(XPhone_SnsSetting* other) {
- std::swap(head_, other->head_);
- std::swap(sendintrval_, other->sendintrval_);
- snslist_.UnsafeArenaSwap(&other->snslist_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_SnsSetting::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_SnsSetting_descriptor_;
- metadata.reflection = XPhone_SnsSetting_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_SnsSetting
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_SnsSetting::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_SnsSetting::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_SnsSetting::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsSetting.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SnsSetting::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsSetting.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SnsSetting::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_SnsSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SnsSetting.head)
- }
- // optional int32 sendintrval = 2;
- void XPhone_SnsSetting::clear_sendintrval() {
- sendintrval_ = 0;
- }
- ::google::protobuf::int32 XPhone_SnsSetting::sendintrval() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsSetting.sendintrval)
- return sendintrval_;
- }
- void XPhone_SnsSetting::set_sendintrval(::google::protobuf::int32 value) {
-
- sendintrval_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SnsSetting.sendintrval)
- }
- // repeated .XPhonePlus.XPhone_SnsMsg snsList = 3;
- int XPhone_SnsSetting::snslist_size() const {
- return snslist_.size();
- }
- void XPhone_SnsSetting::clear_snslist() {
- snslist_.Clear();
- }
- const ::XPhonePlus::XPhone_SnsMsg& XPhone_SnsSetting::snslist(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SnsSetting.snsList)
- return snslist_.Get(index);
- }
- ::XPhonePlus::XPhone_SnsMsg* XPhone_SnsSetting::mutable_snslist(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SnsSetting.snsList)
- return snslist_.Mutable(index);
- }
- ::XPhonePlus::XPhone_SnsMsg* XPhone_SnsSetting::add_snslist() {
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_SnsSetting.snsList)
- return snslist_.Add();
- }
- ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_SnsMsg >*
- XPhone_SnsSetting::mutable_snslist() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_SnsSetting.snsList)
- return &snslist_;
- }
- const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_SnsMsg >&
- XPhone_SnsSetting::snslist() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_SnsSetting.snsList)
- return snslist_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ChatroomMsgSetting::kHeadFieldNumber;
- const int XPhone_ChatroomMsgSetting::kSendintrvalFieldNumber;
- const int XPhone_ChatroomMsgSetting::kListsFieldNumber;
- #endif // !_MSC_VER
- XPhone_ChatroomMsgSetting::XPhone_ChatroomMsgSetting()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ChatroomMsgSetting)
- }
- void XPhone_ChatroomMsgSetting::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_ChatroomMsgSetting::XPhone_ChatroomMsgSetting(const XPhone_ChatroomMsgSetting& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ChatroomMsgSetting)
- }
- void XPhone_ChatroomMsgSetting::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- sendintrval_ = 0;
- }
- XPhone_ChatroomMsgSetting::~XPhone_ChatroomMsgSetting() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ChatroomMsgSetting)
- SharedDtor();
- }
- void XPhone_ChatroomMsgSetting::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_ChatroomMsgSetting::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ChatroomMsgSetting::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ChatroomMsgSetting_descriptor_;
- }
- const XPhone_ChatroomMsgSetting& XPhone_ChatroomMsgSetting::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ChatroomMsgSetting* XPhone_ChatroomMsgSetting::default_instance_ = NULL;
- XPhone_ChatroomMsgSetting* XPhone_ChatroomMsgSetting::New(::google::protobuf::Arena* arena) const {
- XPhone_ChatroomMsgSetting* n = new XPhone_ChatroomMsgSetting;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ChatroomMsgSetting::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- sendintrval_ = 0;
- lists_.Clear();
- }
- bool XPhone_ChatroomMsgSetting::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ChatroomMsgSetting)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_sendintrval;
- break;
- }
- // optional int32 sendintrval = 2;
- case 2: {
- if (tag == 16) {
- parse_sendintrval:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &sendintrval_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_lists;
- break;
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 3;
- case 3: {
- if (tag == 26) {
- parse_lists:
- DO_(input->IncrementRecursionDepth());
- parse_loop_lists:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
- input, add_lists()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_loop_lists;
- input->UnsafeDecrementRecursionDepth();
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ChatroomMsgSetting)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ChatroomMsgSetting)
- return false;
- #undef DO_
- }
- void XPhone_ChatroomMsgSetting::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ChatroomMsgSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 sendintrval = 2;
- if (this->sendintrval() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->sendintrval(), output);
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 3;
- for (unsigned int i = 0, n = this->lists_size(); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, this->lists(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ChatroomMsgSetting)
- }
- ::google::protobuf::uint8* XPhone_ChatroomMsgSetting::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ChatroomMsgSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 sendintrval = 2;
- if (this->sendintrval() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->sendintrval(), target);
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 3;
- for (unsigned int i = 0, n = this->lists_size(); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 3, this->lists(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ChatroomMsgSetting)
- return target;
- }
- int XPhone_ChatroomMsgSetting::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 sendintrval = 2;
- if (this->sendintrval() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->sendintrval());
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 3;
- total_size += 1 * this->lists_size();
- for (int i = 0; i < this->lists_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->lists(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ChatroomMsgSetting::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ChatroomMsgSetting* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ChatroomMsgSetting>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ChatroomMsgSetting::MergeFrom(const XPhone_ChatroomMsgSetting& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- lists_.MergeFrom(from.lists_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.sendintrval() != 0) {
- set_sendintrval(from.sendintrval());
- }
- }
- void XPhone_ChatroomMsgSetting::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ChatroomMsgSetting::CopyFrom(const XPhone_ChatroomMsgSetting& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ChatroomMsgSetting::IsInitialized() const {
- return true;
- }
- void XPhone_ChatroomMsgSetting::Swap(XPhone_ChatroomMsgSetting* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ChatroomMsgSetting::InternalSwap(XPhone_ChatroomMsgSetting* other) {
- std::swap(head_, other->head_);
- std::swap(sendintrval_, other->sendintrval_);
- lists_.UnsafeArenaSwap(&other->lists_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ChatroomMsgSetting::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ChatroomMsgSetting_descriptor_;
- metadata.reflection = XPhone_ChatroomMsgSetting_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ChatroomMsgSetting
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_ChatroomMsgSetting::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_ChatroomMsgSetting::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_ChatroomMsgSetting::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatroomMsgSetting.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ChatroomMsgSetting::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatroomMsgSetting.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ChatroomMsgSetting::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_ChatroomMsgSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatroomMsgSetting.head)
- }
- // optional int32 sendintrval = 2;
- void XPhone_ChatroomMsgSetting::clear_sendintrval() {
- sendintrval_ = 0;
- }
- ::google::protobuf::int32 XPhone_ChatroomMsgSetting::sendintrval() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatroomMsgSetting.sendintrval)
- return sendintrval_;
- }
- void XPhone_ChatroomMsgSetting::set_sendintrval(::google::protobuf::int32 value) {
-
- sendintrval_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatroomMsgSetting.sendintrval)
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 3;
- int XPhone_ChatroomMsgSetting::lists_size() const {
- return lists_.size();
- }
- void XPhone_ChatroomMsgSetting::clear_lists() {
- lists_.Clear();
- }
- const ::XPhonePlus::XPhone_AutoReplyMsg& XPhone_ChatroomMsgSetting::lists(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatroomMsgSetting.lists)
- return lists_.Get(index);
- }
- ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_ChatroomMsgSetting::mutable_lists(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatroomMsgSetting.lists)
- return lists_.Mutable(index);
- }
- ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_ChatroomMsgSetting::add_lists() {
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ChatroomMsgSetting.lists)
- return lists_.Add();
- }
- ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >*
- XPhone_ChatroomMsgSetting::mutable_lists() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ChatroomMsgSetting.lists)
- return &lists_;
- }
- const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >&
- XPhone_ChatroomMsgSetting::lists() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ChatroomMsgSetting.lists)
- return lists_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ContactMsgSetting::kHeadFieldNumber;
- const int XPhone_ContactMsgSetting::kSendintrvalFieldNumber;
- const int XPhone_ContactMsgSetting::kDeletezombieFieldNumber;
- const int XPhone_ContactMsgSetting::kListsFieldNumber;
- #endif // !_MSC_VER
- XPhone_ContactMsgSetting::XPhone_ContactMsgSetting()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ContactMsgSetting)
- }
- void XPhone_ContactMsgSetting::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_ContactMsgSetting::XPhone_ContactMsgSetting(const XPhone_ContactMsgSetting& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ContactMsgSetting)
- }
- void XPhone_ContactMsgSetting::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- sendintrval_ = 0;
- deletezombie_ = false;
- }
- XPhone_ContactMsgSetting::~XPhone_ContactMsgSetting() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ContactMsgSetting)
- SharedDtor();
- }
- void XPhone_ContactMsgSetting::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_ContactMsgSetting::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ContactMsgSetting::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ContactMsgSetting_descriptor_;
- }
- const XPhone_ContactMsgSetting& XPhone_ContactMsgSetting::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ContactMsgSetting* XPhone_ContactMsgSetting::default_instance_ = NULL;
- XPhone_ContactMsgSetting* XPhone_ContactMsgSetting::New(::google::protobuf::Arena* arena) const {
- XPhone_ContactMsgSetting* n = new XPhone_ContactMsgSetting;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ContactMsgSetting::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_ContactMsgSetting*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(sendintrval_, deletezombie_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- #undef ZR_HELPER_
- #undef ZR_
- lists_.Clear();
- }
- bool XPhone_ContactMsgSetting::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ContactMsgSetting)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_sendintrval;
- break;
- }
- // optional int32 sendintrval = 2;
- case 2: {
- if (tag == 16) {
- parse_sendintrval:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &sendintrval_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_deletezombie;
- break;
- }
- // optional bool deletezombie = 3;
- case 3: {
- if (tag == 24) {
- parse_deletezombie:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &deletezombie_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(34)) goto parse_lists;
- break;
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 4;
- case 4: {
- if (tag == 34) {
- parse_lists:
- DO_(input->IncrementRecursionDepth());
- parse_loop_lists:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
- input, add_lists()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(34)) goto parse_loop_lists;
- input->UnsafeDecrementRecursionDepth();
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ContactMsgSetting)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ContactMsgSetting)
- return false;
- #undef DO_
- }
- void XPhone_ContactMsgSetting::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ContactMsgSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 sendintrval = 2;
- if (this->sendintrval() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->sendintrval(), output);
- }
- // optional bool deletezombie = 3;
- if (this->deletezombie() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->deletezombie(), output);
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 4;
- for (unsigned int i = 0, n = this->lists_size(); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 4, this->lists(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ContactMsgSetting)
- }
- ::google::protobuf::uint8* XPhone_ContactMsgSetting::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ContactMsgSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 sendintrval = 2;
- if (this->sendintrval() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->sendintrval(), target);
- }
- // optional bool deletezombie = 3;
- if (this->deletezombie() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->deletezombie(), target);
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 4;
- for (unsigned int i = 0, n = this->lists_size(); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 4, this->lists(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ContactMsgSetting)
- return target;
- }
- int XPhone_ContactMsgSetting::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 sendintrval = 2;
- if (this->sendintrval() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->sendintrval());
- }
- // optional bool deletezombie = 3;
- if (this->deletezombie() != 0) {
- total_size += 1 + 1;
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 4;
- total_size += 1 * this->lists_size();
- for (int i = 0; i < this->lists_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->lists(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ContactMsgSetting::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ContactMsgSetting* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ContactMsgSetting>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ContactMsgSetting::MergeFrom(const XPhone_ContactMsgSetting& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- lists_.MergeFrom(from.lists_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.sendintrval() != 0) {
- set_sendintrval(from.sendintrval());
- }
- if (from.deletezombie() != 0) {
- set_deletezombie(from.deletezombie());
- }
- }
- void XPhone_ContactMsgSetting::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ContactMsgSetting::CopyFrom(const XPhone_ContactMsgSetting& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ContactMsgSetting::IsInitialized() const {
- return true;
- }
- void XPhone_ContactMsgSetting::Swap(XPhone_ContactMsgSetting* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ContactMsgSetting::InternalSwap(XPhone_ContactMsgSetting* other) {
- std::swap(head_, other->head_);
- std::swap(sendintrval_, other->sendintrval_);
- std::swap(deletezombie_, other->deletezombie_);
- lists_.UnsafeArenaSwap(&other->lists_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ContactMsgSetting::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ContactMsgSetting_descriptor_;
- metadata.reflection = XPhone_ContactMsgSetting_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ContactMsgSetting
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_ContactMsgSetting::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_ContactMsgSetting::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_ContactMsgSetting::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactMsgSetting.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ContactMsgSetting::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactMsgSetting.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ContactMsgSetting::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_ContactMsgSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactMsgSetting.head)
- }
- // optional int32 sendintrval = 2;
- void XPhone_ContactMsgSetting::clear_sendintrval() {
- sendintrval_ = 0;
- }
- ::google::protobuf::int32 XPhone_ContactMsgSetting::sendintrval() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactMsgSetting.sendintrval)
- return sendintrval_;
- }
- void XPhone_ContactMsgSetting::set_sendintrval(::google::protobuf::int32 value) {
-
- sendintrval_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactMsgSetting.sendintrval)
- }
- // optional bool deletezombie = 3;
- void XPhone_ContactMsgSetting::clear_deletezombie() {
- deletezombie_ = false;
- }
- bool XPhone_ContactMsgSetting::deletezombie() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactMsgSetting.deletezombie)
- return deletezombie_;
- }
- void XPhone_ContactMsgSetting::set_deletezombie(bool value) {
-
- deletezombie_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactMsgSetting.deletezombie)
- }
- // repeated .XPhonePlus.XPhone_AutoReplyMsg lists = 4;
- int XPhone_ContactMsgSetting::lists_size() const {
- return lists_.size();
- }
- void XPhone_ContactMsgSetting::clear_lists() {
- lists_.Clear();
- }
- const ::XPhonePlus::XPhone_AutoReplyMsg& XPhone_ContactMsgSetting::lists(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactMsgSetting.lists)
- return lists_.Get(index);
- }
- ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_ContactMsgSetting::mutable_lists(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactMsgSetting.lists)
- return lists_.Mutable(index);
- }
- ::XPhonePlus::XPhone_AutoReplyMsg* XPhone_ContactMsgSetting::add_lists() {
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ContactMsgSetting.lists)
- return lists_.Add();
- }
- ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >*
- XPhone_ContactMsgSetting::mutable_lists() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ContactMsgSetting.lists)
- return &lists_;
- }
- const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_AutoReplyMsg >&
- XPhone_ContactMsgSetting::lists() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ContactMsgSetting.lists)
- return lists_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_AddChatroomMemberSetting::kHeadFieldNumber;
- const int XPhone_AddChatroomMemberSetting::kAddintrvalFieldNumber;
- const int XPhone_AddChatroomMemberSetting::kStrIntroduceFieldNumber;
- const int XPhone_AddChatroomMemberSetting::kAddcountFieldNumber;
- #endif // !_MSC_VER
- XPhone_AddChatroomMemberSetting::XPhone_AddChatroomMemberSetting()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AddChatroomMemberSetting)
- }
- void XPhone_AddChatroomMemberSetting::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_AddChatroomMemberSetting::XPhone_AddChatroomMemberSetting(const XPhone_AddChatroomMemberSetting& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AddChatroomMemberSetting)
- }
- void XPhone_AddChatroomMemberSetting::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- addintrval_ = 0;
- strintroduce_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- addcount_ = 0;
- }
- XPhone_AddChatroomMemberSetting::~XPhone_AddChatroomMemberSetting() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AddChatroomMemberSetting)
- SharedDtor();
- }
- void XPhone_AddChatroomMemberSetting::SharedDtor() {
- strintroduce_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_AddChatroomMemberSetting::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_AddChatroomMemberSetting::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_AddChatroomMemberSetting_descriptor_;
- }
- const XPhone_AddChatroomMemberSetting& XPhone_AddChatroomMemberSetting::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_AddChatroomMemberSetting* XPhone_AddChatroomMemberSetting::default_instance_ = NULL;
- XPhone_AddChatroomMemberSetting* XPhone_AddChatroomMemberSetting::New(::google::protobuf::Arena* arena) const {
- XPhone_AddChatroomMemberSetting* n = new XPhone_AddChatroomMemberSetting;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_AddChatroomMemberSetting::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_AddChatroomMemberSetting*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(addintrval_, addcount_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_AddChatroomMemberSetting::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AddChatroomMemberSetting)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_addintrval;
- break;
- }
- // optional int32 addintrval = 2;
- case 2: {
- if (tag == 16) {
- parse_addintrval:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &addintrval_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strIntroduce;
- break;
- }
- // optional string strIntroduce = 3;
- case 3: {
- if (tag == 26) {
- parse_strIntroduce:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strintroduce()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_addcount;
- break;
- }
- // optional int32 addcount = 4;
- case 4: {
- if (tag == 32) {
- parse_addcount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &addcount_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AddChatroomMemberSetting)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AddChatroomMemberSetting)
- return false;
- #undef DO_
- }
- void XPhone_AddChatroomMemberSetting::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AddChatroomMemberSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 addintrval = 2;
- if (this->addintrval() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->addintrval(), output);
- }
- // optional string strIntroduce = 3;
- if (this->strintroduce().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strintroduce(), output);
- }
- // optional int32 addcount = 4;
- if (this->addcount() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->addcount(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AddChatroomMemberSetting)
- }
- ::google::protobuf::uint8* XPhone_AddChatroomMemberSetting::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AddChatroomMemberSetting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 addintrval = 2;
- if (this->addintrval() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->addintrval(), target);
- }
- // optional string strIntroduce = 3;
- if (this->strintroduce().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strintroduce().data(), this->strintroduce().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strintroduce(), target);
- }
- // optional int32 addcount = 4;
- if (this->addcount() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->addcount(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AddChatroomMemberSetting)
- return target;
- }
- int XPhone_AddChatroomMemberSetting::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 addintrval = 2;
- if (this->addintrval() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->addintrval());
- }
- // optional string strIntroduce = 3;
- if (this->strintroduce().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strintroduce());
- }
- // optional int32 addcount = 4;
- if (this->addcount() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->addcount());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_AddChatroomMemberSetting::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_AddChatroomMemberSetting* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AddChatroomMemberSetting>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_AddChatroomMemberSetting::MergeFrom(const XPhone_AddChatroomMemberSetting& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.addintrval() != 0) {
- set_addintrval(from.addintrval());
- }
- if (from.strintroduce().size() > 0) {
- strintroduce_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strintroduce_);
- }
- if (from.addcount() != 0) {
- set_addcount(from.addcount());
- }
- }
- void XPhone_AddChatroomMemberSetting::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_AddChatroomMemberSetting::CopyFrom(const XPhone_AddChatroomMemberSetting& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_AddChatroomMemberSetting::IsInitialized() const {
- return true;
- }
- void XPhone_AddChatroomMemberSetting::Swap(XPhone_AddChatroomMemberSetting* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_AddChatroomMemberSetting::InternalSwap(XPhone_AddChatroomMemberSetting* other) {
- std::swap(head_, other->head_);
- std::swap(addintrval_, other->addintrval_);
- strintroduce_.Swap(&other->strintroduce_);
- std::swap(addcount_, other->addcount_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_AddChatroomMemberSetting::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_AddChatroomMemberSetting_descriptor_;
- metadata.reflection = XPhone_AddChatroomMemberSetting_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_AddChatroomMemberSetting
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_AddChatroomMemberSetting::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_AddChatroomMemberSetting::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_AddChatroomMemberSetting::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddChatroomMemberSetting.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AddChatroomMemberSetting::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddChatroomMemberSetting.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AddChatroomMemberSetting::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_AddChatroomMemberSetting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddChatroomMemberSetting.head)
- }
- // optional int32 addintrval = 2;
- void XPhone_AddChatroomMemberSetting::clear_addintrval() {
- addintrval_ = 0;
- }
- ::google::protobuf::int32 XPhone_AddChatroomMemberSetting::addintrval() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddChatroomMemberSetting.addintrval)
- return addintrval_;
- }
- void XPhone_AddChatroomMemberSetting::set_addintrval(::google::protobuf::int32 value) {
-
- addintrval_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddChatroomMemberSetting.addintrval)
- }
- // optional string strIntroduce = 3;
- void XPhone_AddChatroomMemberSetting::clear_strintroduce() {
- strintroduce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_AddChatroomMemberSetting::strintroduce() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
- return strintroduce_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AddChatroomMemberSetting::set_strintroduce(const ::std::string& value) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
- }
- void XPhone_AddChatroomMemberSetting::set_strintroduce(const char* value) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
- }
- void XPhone_AddChatroomMemberSetting::set_strintroduce(const char* value, size_t size) {
-
- strintroduce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
- }
- ::std::string* XPhone_AddChatroomMemberSetting::mutable_strintroduce() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
- return strintroduce_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_AddChatroomMemberSetting::release_strintroduce() {
-
- return strintroduce_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AddChatroomMemberSetting::set_allocated_strintroduce(::std::string* strintroduce) {
- if (strintroduce != NULL) {
-
- } else {
-
- }
- strintroduce_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strintroduce);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AddChatroomMemberSetting.strIntroduce)
- }
- // optional int32 addcount = 4;
- void XPhone_AddChatroomMemberSetting::clear_addcount() {
- addcount_ = 0;
- }
- ::google::protobuf::int32 XPhone_AddChatroomMemberSetting::addcount() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AddChatroomMemberSetting.addcount)
- return addcount_;
- }
- void XPhone_AddChatroomMemberSetting::set_addcount(::google::protobuf::int32 value) {
-
- addcount_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AddChatroomMemberSetting.addcount)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_Array::kArrayFieldNumber;
- #endif // !_MSC_VER
- XPhone_Array::XPhone_Array()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_Array)
- }
- void XPhone_Array::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- }
- XPhone_Array::XPhone_Array(const XPhone_Array& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_Array)
- }
- void XPhone_Array::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- }
- XPhone_Array::~XPhone_Array() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_Array)
- SharedDtor();
- }
- void XPhone_Array::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void XPhone_Array::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_Array::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_Array_descriptor_;
- }
- const XPhone_Array& XPhone_Array::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_Array* XPhone_Array::default_instance_ = NULL;
- XPhone_Array* XPhone_Array::New(::google::protobuf::Arena* arena) const {
- XPhone_Array* n = new XPhone_Array;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_Array::Clear() {
- array_.Clear();
- }
- bool XPhone_Array::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_Array)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // repeated string array = 1;
- case 1: {
- if (tag == 10) {
- parse_array:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->add_array()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->array(this->array_size() - 1).data(),
- this->array(this->array_size() - 1).length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_Array.array"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(10)) goto parse_array;
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_Array)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_Array)
- return false;
- #undef DO_
- }
- void XPhone_Array::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_Array)
- // repeated string array = 1;
- for (int i = 0; i < this->array_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->array(i).data(), this->array(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_Array.array");
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 1, this->array(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_Array)
- }
- ::google::protobuf::uint8* XPhone_Array::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_Array)
- // repeated string array = 1;
- for (int i = 0; i < this->array_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->array(i).data(), this->array(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_Array.array");
- target = ::google::protobuf::internal::WireFormatLite::
- WriteStringToArray(1, this->array(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_Array)
- return target;
- }
- int XPhone_Array::ByteSize() const {
- int total_size = 0;
- // repeated string array = 1;
- total_size += 1 * this->array_size();
- for (int i = 0; i < this->array_size(); i++) {
- total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
- this->array(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_Array::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_Array* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_Array>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_Array::MergeFrom(const XPhone_Array& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- array_.MergeFrom(from.array_);
- }
- void XPhone_Array::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_Array::CopyFrom(const XPhone_Array& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_Array::IsInitialized() const {
- return true;
- }
- void XPhone_Array::Swap(XPhone_Array* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_Array::InternalSwap(XPhone_Array* other) {
- array_.UnsafeArenaSwap(&other->array_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_Array::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_Array_descriptor_;
- metadata.reflection = XPhone_Array_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_Array
- // repeated string array = 1;
- int XPhone_Array::array_size() const {
- return array_.size();
- }
- void XPhone_Array::clear_array() {
- array_.Clear();
- }
- const ::std::string& XPhone_Array::array(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Array.array)
- return array_.Get(index);
- }
- ::std::string* XPhone_Array::mutable_array(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_Array.array)
- return array_.Mutable(index);
- }
- void XPhone_Array::set_array(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Array.array)
- array_.Mutable(index)->assign(value);
- }
- void XPhone_Array::set_array(int index, const char* value) {
- array_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_Array.array)
- }
- void XPhone_Array::set_array(int index, const char* value, size_t size) {
- array_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_Array.array)
- }
- ::std::string* XPhone_Array::add_array() {
- return array_.Add();
- }
- void XPhone_Array::add_array(const ::std::string& value) {
- array_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_Array.array)
- }
- void XPhone_Array::add_array(const char* value) {
- array_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_Array.array)
- }
- void XPhone_Array::add_array(const char* value, size_t size) {
- array_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_Array.array)
- }
- const ::google::protobuf::RepeatedPtrField< ::std::string>&
- XPhone_Array::array() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_Array.array)
- return array_;
- }
- ::google::protobuf::RepeatedPtrField< ::std::string>*
- XPhone_Array::mutable_array() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_Array.array)
- return &array_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_LocalTaskParam::kParamsFieldNumber;
- #endif // !_MSC_VER
- XPhone_LocalTaskParam::XPhone_LocalTaskParam()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_LocalTaskParam)
- }
- void XPhone_LocalTaskParam::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- }
- XPhone_LocalTaskParam::XPhone_LocalTaskParam(const XPhone_LocalTaskParam& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_LocalTaskParam)
- }
- void XPhone_LocalTaskParam::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- params_.SetAssignDescriptorCallback(
- protobuf_AssignDescriptorsOnce);
- params_.SetEntryDescriptor(
- &::XPhonePlus::XPhone_LocalTaskParam_ParamsEntry_descriptor_);
- }
- XPhone_LocalTaskParam::~XPhone_LocalTaskParam() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_LocalTaskParam)
- SharedDtor();
- }
- void XPhone_LocalTaskParam::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void XPhone_LocalTaskParam::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_LocalTaskParam::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_LocalTaskParam_descriptor_;
- }
- const XPhone_LocalTaskParam& XPhone_LocalTaskParam::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_LocalTaskParam* XPhone_LocalTaskParam::default_instance_ = NULL;
- XPhone_LocalTaskParam* XPhone_LocalTaskParam::New(::google::protobuf::Arena* arena) const {
- XPhone_LocalTaskParam* n = new XPhone_LocalTaskParam;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_LocalTaskParam::Clear() {
- params_.Clear();
- }
- bool XPhone_LocalTaskParam::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_LocalTaskParam)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // map<string, .XPhonePlus.XPhone_Array> params = 5;
- case 5: {
- if (tag == 42) {
- DO_(input->IncrementRecursionDepth());
- parse_loop_params:
- ::google::protobuf::scoped_ptr<XPhone_LocalTaskParam_ParamsEntry> entry(params_.NewEntry());
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, entry.get()));
- (*mutable_params())[entry->key()].Swap(entry->mutable_value());
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- entry->key().data(), entry->key().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_LocalTaskParam.ParamsEntry.key"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(42)) goto parse_loop_params;
- input->UnsafeDecrementRecursionDepth();
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_LocalTaskParam)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_LocalTaskParam)
- return false;
- #undef DO_
- }
- void XPhone_LocalTaskParam::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_LocalTaskParam)
- // map<string, .XPhonePlus.XPhone_Array> params = 5;
- {
- ::google::protobuf::scoped_ptr<XPhone_LocalTaskParam_ParamsEntry> entry;
- for (::google::protobuf::Map< ::std::string, ::XPhonePlus::XPhone_Array >::const_iterator
- it = this->params().begin();
- it != this->params().end(); ++it) {
- entry.reset(params_.NewEntryWrapper(it->first, it->second));
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 5, *entry, output);
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- it->first.data(), it->first.length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_LocalTaskParam.ParamsEntry.key");
- }
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_LocalTaskParam)
- }
- ::google::protobuf::uint8* XPhone_LocalTaskParam::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_LocalTaskParam)
- // map<string, .XPhonePlus.XPhone_Array> params = 5;
- {
- ::google::protobuf::scoped_ptr<XPhone_LocalTaskParam_ParamsEntry> entry;
- for (::google::protobuf::Map< ::std::string, ::XPhonePlus::XPhone_Array >::const_iterator
- it = this->params().begin();
- it != this->params().end(); ++it) {
- entry.reset(params_.NewEntryWrapper(it->first, it->second));
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 5, *entry, target);
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- it->first.data(), it->first.length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_LocalTaskParam.ParamsEntry.key");
- }
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_LocalTaskParam)
- return target;
- }
- int XPhone_LocalTaskParam::ByteSize() const {
- int total_size = 0;
- // map<string, .XPhonePlus.XPhone_Array> params = 5;
- total_size += 1 * this->params_size();
- {
- ::google::protobuf::scoped_ptr<XPhone_LocalTaskParam_ParamsEntry> entry;
- for (::google::protobuf::Map< ::std::string, ::XPhonePlus::XPhone_Array >::const_iterator
- it = this->params().begin();
- it != this->params().end(); ++it) {
- entry.reset(params_.NewEntryWrapper(it->first, it->second));
- total_size += ::google::protobuf::internal::WireFormatLite::
- MessageSizeNoVirtual(*entry);
- }
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_LocalTaskParam::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_LocalTaskParam* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_LocalTaskParam>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_LocalTaskParam::MergeFrom(const XPhone_LocalTaskParam& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- params_.MergeFrom(from.params_);
- }
- void XPhone_LocalTaskParam::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_LocalTaskParam::CopyFrom(const XPhone_LocalTaskParam& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_LocalTaskParam::IsInitialized() const {
- return true;
- }
- void XPhone_LocalTaskParam::Swap(XPhone_LocalTaskParam* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_LocalTaskParam::InternalSwap(XPhone_LocalTaskParam* other) {
- params_.Swap(&other->params_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_LocalTaskParam::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_LocalTaskParam_descriptor_;
- metadata.reflection = XPhone_LocalTaskParam_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_LocalTaskParam
- // map<string, .XPhonePlus.XPhone_Array> params = 5;
- int XPhone_LocalTaskParam::params_size() const {
- return params_.size();
- }
- void XPhone_LocalTaskParam::clear_params() {
- params_.Clear();
- }
- const ::google::protobuf::Map< ::std::string, ::XPhonePlus::XPhone_Array >&
- XPhone_LocalTaskParam::params() const {
- // @@protoc_insertion_point(field_map:XPhonePlus.XPhone_LocalTaskParam.params)
- return params_.GetMap();
- }
- ::google::protobuf::Map< ::std::string, ::XPhonePlus::XPhone_Array >*
- XPhone_LocalTaskParam::mutable_params() {
- // @@protoc_insertion_point(field_mutable_map:XPhonePlus.XPhone_LocalTaskParam.params)
- return params_.MutableMap();
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_TaskReq::kHeadFieldNumber;
- const int XPhone_TaskReq::kTaskIDFieldNumber;
- const int XPhone_TaskReq::kTasktypeFieldNumber;
- const int XPhone_TaskReq::kActionFieldNumber;
- const int XPhone_TaskReq::kDelayFieldNumber;
- const int XPhone_TaskReq::kParamsFieldNumber;
- #endif // !_MSC_VER
- XPhone_TaskReq::XPhone_TaskReq()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_TaskReq)
- }
- void XPhone_TaskReq::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- params_ = const_cast< ::XPhonePlus::XPhone_Array*>(&::XPhonePlus::XPhone_Array::default_instance());
- }
- XPhone_TaskReq::XPhone_TaskReq(const XPhone_TaskReq& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_TaskReq)
- }
- void XPhone_TaskReq::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- taskid_ = 0;
- tasktype_ = 0;
- action_ = 0;
- delay_ = 0;
- params_ = NULL;
- }
- XPhone_TaskReq::~XPhone_TaskReq() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_TaskReq)
- SharedDtor();
- }
- void XPhone_TaskReq::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- delete params_;
- }
- }
- void XPhone_TaskReq::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_TaskReq::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_TaskReq_descriptor_;
- }
- const XPhone_TaskReq& XPhone_TaskReq::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_TaskReq* XPhone_TaskReq::default_instance_ = NULL;
- XPhone_TaskReq* XPhone_TaskReq::New(::google::protobuf::Arena* arena) const {
- XPhone_TaskReq* n = new XPhone_TaskReq;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_TaskReq::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_TaskReq*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(taskid_, delay_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- if (GetArenaNoVirtual() == NULL && params_ != NULL) delete params_;
- params_ = NULL;
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_TaskReq::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_TaskReq)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_taskID;
- break;
- }
- // optional int32 taskID = 2;
- case 2: {
- if (tag == 16) {
- parse_taskID:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &taskid_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_tasktype;
- break;
- }
- // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
- case 3: {
- if (tag == 24) {
- parse_tasktype:
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_tasktype(static_cast< ::XPhonePlus::XPhone_TaskType >(value));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_action;
- break;
- }
- // optional .XPhonePlus.XPhone_TaskAction action = 4;
- case 4: {
- if (tag == 32) {
- parse_action:
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_action(static_cast< ::XPhonePlus::XPhone_TaskAction >(value));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(40)) goto parse_delay;
- break;
- }
- // optional int32 delay = 5;
- case 5: {
- if (tag == 40) {
- parse_delay:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &delay_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(50)) goto parse_params;
- break;
- }
- // optional .XPhonePlus.XPhone_Array params = 6;
- case 6: {
- if (tag == 50) {
- parse_params:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_params()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_TaskReq)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_TaskReq)
- return false;
- #undef DO_
- }
- void XPhone_TaskReq::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_TaskReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 taskID = 2;
- if (this->taskid() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->taskid(), output);
- }
- // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
- if (this->tasktype() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 3, this->tasktype(), output);
- }
- // optional .XPhonePlus.XPhone_TaskAction action = 4;
- if (this->action() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 4, this->action(), output);
- }
- // optional int32 delay = 5;
- if (this->delay() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->delay(), output);
- }
- // optional .XPhonePlus.XPhone_Array params = 6;
- if (this->has_params()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 6, *this->params_, output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_TaskReq)
- }
- ::google::protobuf::uint8* XPhone_TaskReq::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_TaskReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 taskID = 2;
- if (this->taskid() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->taskid(), target);
- }
- // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
- if (this->tasktype() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 3, this->tasktype(), target);
- }
- // optional .XPhonePlus.XPhone_TaskAction action = 4;
- if (this->action() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 4, this->action(), target);
- }
- // optional int32 delay = 5;
- if (this->delay() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->delay(), target);
- }
- // optional .XPhonePlus.XPhone_Array params = 6;
- if (this->has_params()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 6, *this->params_, target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_TaskReq)
- return target;
- }
- int XPhone_TaskReq::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 taskID = 2;
- if (this->taskid() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->taskid());
- }
- // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
- if (this->tasktype() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->tasktype());
- }
- // optional .XPhonePlus.XPhone_TaskAction action = 4;
- if (this->action() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->action());
- }
- // optional int32 delay = 5;
- if (this->delay() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->delay());
- }
- // optional .XPhonePlus.XPhone_Array params = 6;
- if (this->has_params()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->params_);
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_TaskReq::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_TaskReq* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_TaskReq>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_TaskReq::MergeFrom(const XPhone_TaskReq& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.taskid() != 0) {
- set_taskid(from.taskid());
- }
- if (from.tasktype() != 0) {
- set_tasktype(from.tasktype());
- }
- if (from.action() != 0) {
- set_action(from.action());
- }
- if (from.delay() != 0) {
- set_delay(from.delay());
- }
- if (from.has_params()) {
- mutable_params()->::XPhonePlus::XPhone_Array::MergeFrom(from.params());
- }
- }
- void XPhone_TaskReq::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_TaskReq::CopyFrom(const XPhone_TaskReq& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_TaskReq::IsInitialized() const {
- return true;
- }
- void XPhone_TaskReq::Swap(XPhone_TaskReq* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_TaskReq::InternalSwap(XPhone_TaskReq* other) {
- std::swap(head_, other->head_);
- std::swap(taskid_, other->taskid_);
- std::swap(tasktype_, other->tasktype_);
- std::swap(action_, other->action_);
- std::swap(delay_, other->delay_);
- std::swap(params_, other->params_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_TaskReq::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_TaskReq_descriptor_;
- metadata.reflection = XPhone_TaskReq_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_TaskReq
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_TaskReq::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_TaskReq::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_TaskReq::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_TaskReq::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_TaskReq.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_TaskReq::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_TaskReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_TaskReq.head)
- }
- // optional int32 taskID = 2;
- void XPhone_TaskReq::clear_taskid() {
- taskid_ = 0;
- }
- ::google::protobuf::int32 XPhone_TaskReq::taskid() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.taskID)
- return taskid_;
- }
- void XPhone_TaskReq::set_taskid(::google::protobuf::int32 value) {
-
- taskid_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskReq.taskID)
- }
- // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
- void XPhone_TaskReq::clear_tasktype() {
- tasktype_ = 0;
- }
- ::XPhonePlus::XPhone_TaskType XPhone_TaskReq::tasktype() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.tasktype)
- return static_cast< ::XPhonePlus::XPhone_TaskType >(tasktype_);
- }
- void XPhone_TaskReq::set_tasktype(::XPhonePlus::XPhone_TaskType value) {
-
- tasktype_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskReq.tasktype)
- }
- // optional .XPhonePlus.XPhone_TaskAction action = 4;
- void XPhone_TaskReq::clear_action() {
- action_ = 0;
- }
- ::XPhonePlus::XPhone_TaskAction XPhone_TaskReq::action() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.action)
- return static_cast< ::XPhonePlus::XPhone_TaskAction >(action_);
- }
- void XPhone_TaskReq::set_action(::XPhonePlus::XPhone_TaskAction value) {
-
- action_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskReq.action)
- }
- // optional int32 delay = 5;
- void XPhone_TaskReq::clear_delay() {
- delay_ = 0;
- }
- ::google::protobuf::int32 XPhone_TaskReq::delay() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.delay)
- return delay_;
- }
- void XPhone_TaskReq::set_delay(::google::protobuf::int32 value) {
-
- delay_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskReq.delay)
- }
- // optional .XPhonePlus.XPhone_Array params = 6;
- bool XPhone_TaskReq::has_params() const {
- return !_is_default_instance_ && params_ != NULL;
- }
- void XPhone_TaskReq::clear_params() {
- if (GetArenaNoVirtual() == NULL && params_ != NULL) delete params_;
- params_ = NULL;
- }
- const ::XPhonePlus::XPhone_Array& XPhone_TaskReq::params() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskReq.params)
- return params_ != NULL ? *params_ : *default_instance_->params_;
- }
- ::XPhonePlus::XPhone_Array* XPhone_TaskReq::mutable_params() {
-
- if (params_ == NULL) {
- params_ = new ::XPhonePlus::XPhone_Array;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_TaskReq.params)
- return params_;
- }
- ::XPhonePlus::XPhone_Array* XPhone_TaskReq::release_params() {
-
- ::XPhonePlus::XPhone_Array* temp = params_;
- params_ = NULL;
- return temp;
- }
- void XPhone_TaskReq::set_allocated_params(::XPhonePlus::XPhone_Array* params) {
- delete params_;
- params_ = params;
- if (params) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_TaskReq.params)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_TaskRsp::kHeadFieldNumber;
- const int XPhone_TaskRsp::kTaskIDFieldNumber;
- const int XPhone_TaskRsp::kTasktypeFieldNumber;
- const int XPhone_TaskRsp::kTaskstatusFieldNumber;
- #endif // !_MSC_VER
- XPhone_TaskRsp::XPhone_TaskRsp()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_TaskRsp)
- }
- void XPhone_TaskRsp::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_TaskRsp::XPhone_TaskRsp(const XPhone_TaskRsp& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_TaskRsp)
- }
- void XPhone_TaskRsp::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- taskid_ = 0;
- tasktype_ = 0;
- taskstatus_ = 0;
- }
- XPhone_TaskRsp::~XPhone_TaskRsp() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_TaskRsp)
- SharedDtor();
- }
- void XPhone_TaskRsp::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_TaskRsp::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_TaskRsp::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_TaskRsp_descriptor_;
- }
- const XPhone_TaskRsp& XPhone_TaskRsp::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_TaskRsp* XPhone_TaskRsp::default_instance_ = NULL;
- XPhone_TaskRsp* XPhone_TaskRsp::New(::google::protobuf::Arena* arena) const {
- XPhone_TaskRsp* n = new XPhone_TaskRsp;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_TaskRsp::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_TaskRsp*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(taskid_, taskstatus_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_TaskRsp::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_TaskRsp)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_taskID;
- break;
- }
- // optional int32 taskID = 2;
- case 2: {
- if (tag == 16) {
- parse_taskID:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &taskid_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_tasktype;
- break;
- }
- // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
- case 3: {
- if (tag == 24) {
- parse_tasktype:
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_tasktype(static_cast< ::XPhonePlus::XPhone_TaskType >(value));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_taskstatus;
- break;
- }
- // optional .XPhonePlus.XPhone_TaskStatus taskstatus = 4;
- case 4: {
- if (tag == 32) {
- parse_taskstatus:
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- set_taskstatus(static_cast< ::XPhonePlus::XPhone_TaskStatus >(value));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_TaskRsp)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_TaskRsp)
- return false;
- #undef DO_
- }
- void XPhone_TaskRsp::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_TaskRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 taskID = 2;
- if (this->taskid() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->taskid(), output);
- }
- // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
- if (this->tasktype() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 3, this->tasktype(), output);
- }
- // optional .XPhonePlus.XPhone_TaskStatus taskstatus = 4;
- if (this->taskstatus() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 4, this->taskstatus(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_TaskRsp)
- }
- ::google::protobuf::uint8* XPhone_TaskRsp::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_TaskRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 taskID = 2;
- if (this->taskid() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->taskid(), target);
- }
- // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
- if (this->tasktype() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 3, this->tasktype(), target);
- }
- // optional .XPhonePlus.XPhone_TaskStatus taskstatus = 4;
- if (this->taskstatus() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 4, this->taskstatus(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_TaskRsp)
- return target;
- }
- int XPhone_TaskRsp::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 taskID = 2;
- if (this->taskid() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->taskid());
- }
- // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
- if (this->tasktype() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->tasktype());
- }
- // optional .XPhonePlus.XPhone_TaskStatus taskstatus = 4;
- if (this->taskstatus() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->taskstatus());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_TaskRsp::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_TaskRsp* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_TaskRsp>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_TaskRsp::MergeFrom(const XPhone_TaskRsp& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.taskid() != 0) {
- set_taskid(from.taskid());
- }
- if (from.tasktype() != 0) {
- set_tasktype(from.tasktype());
- }
- if (from.taskstatus() != 0) {
- set_taskstatus(from.taskstatus());
- }
- }
- void XPhone_TaskRsp::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_TaskRsp::CopyFrom(const XPhone_TaskRsp& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_TaskRsp::IsInitialized() const {
- return true;
- }
- void XPhone_TaskRsp::Swap(XPhone_TaskRsp* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_TaskRsp::InternalSwap(XPhone_TaskRsp* other) {
- std::swap(head_, other->head_);
- std::swap(taskid_, other->taskid_);
- std::swap(tasktype_, other->tasktype_);
- std::swap(taskstatus_, other->taskstatus_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_TaskRsp::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_TaskRsp_descriptor_;
- metadata.reflection = XPhone_TaskRsp_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_TaskRsp
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_TaskRsp::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_TaskRsp::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_TaskRsp::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskRsp.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_TaskRsp::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_TaskRsp.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_TaskRsp::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_TaskRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_TaskRsp.head)
- }
- // optional int32 taskID = 2;
- void XPhone_TaskRsp::clear_taskid() {
- taskid_ = 0;
- }
- ::google::protobuf::int32 XPhone_TaskRsp::taskid() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskRsp.taskID)
- return taskid_;
- }
- void XPhone_TaskRsp::set_taskid(::google::protobuf::int32 value) {
-
- taskid_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskRsp.taskID)
- }
- // optional .XPhonePlus.XPhone_TaskType tasktype = 3;
- void XPhone_TaskRsp::clear_tasktype() {
- tasktype_ = 0;
- }
- ::XPhonePlus::XPhone_TaskType XPhone_TaskRsp::tasktype() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskRsp.tasktype)
- return static_cast< ::XPhonePlus::XPhone_TaskType >(tasktype_);
- }
- void XPhone_TaskRsp::set_tasktype(::XPhonePlus::XPhone_TaskType value) {
-
- tasktype_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskRsp.tasktype)
- }
- // optional .XPhonePlus.XPhone_TaskStatus taskstatus = 4;
- void XPhone_TaskRsp::clear_taskstatus() {
- taskstatus_ = 0;
- }
- ::XPhonePlus::XPhone_TaskStatus XPhone_TaskRsp::taskstatus() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TaskRsp.taskstatus)
- return static_cast< ::XPhonePlus::XPhone_TaskStatus >(taskstatus_);
- }
- void XPhone_TaskRsp::set_taskstatus(::XPhonePlus::XPhone_TaskStatus value) {
-
- taskstatus_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TaskRsp.taskstatus)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ContactInfo::kStrUserNameFieldNumber;
- const int XPhone_ContactInfo::kStrNickerNameFieldNumber;
- const int XPhone_ContactInfo::kStrWeichatFieldNumber;
- const int XPhone_ContactInfo::kStrSignatureFieldNumber;
- const int XPhone_ContactInfo::kISexFieldNumber;
- #endif // !_MSC_VER
- XPhone_ContactInfo::XPhone_ContactInfo()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ContactInfo)
- }
- void XPhone_ContactInfo::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- }
- XPhone_ContactInfo::XPhone_ContactInfo(const XPhone_ContactInfo& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ContactInfo)
- }
- void XPhone_ContactInfo::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strnickername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strweichat_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strsignature_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- isex_ = 0;
- }
- XPhone_ContactInfo::~XPhone_ContactInfo() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ContactInfo)
- SharedDtor();
- }
- void XPhone_ContactInfo::SharedDtor() {
- strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strnickername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strweichat_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strsignature_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- }
- }
- void XPhone_ContactInfo::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ContactInfo::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ContactInfo_descriptor_;
- }
- const XPhone_ContactInfo& XPhone_ContactInfo::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ContactInfo* XPhone_ContactInfo::default_instance_ = NULL;
- XPhone_ContactInfo* XPhone_ContactInfo::New(::google::protobuf::Arena* arena) const {
- XPhone_ContactInfo* n = new XPhone_ContactInfo;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ContactInfo::Clear() {
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strweichat_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strsignature_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- isex_ = 0;
- }
- bool XPhone_ContactInfo::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ContactInfo)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional string strUserName = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strusername()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ContactInfo.strUserName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strNickerName;
- break;
- }
- // optional string strNickerName = 2;
- case 2: {
- if (tag == 18) {
- parse_strNickerName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strnickername()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strnickername().data(), this->strnickername().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ContactInfo.strNickerName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strWeichat;
- break;
- }
- // optional string strWeichat = 3;
- case 3: {
- if (tag == 26) {
- parse_strWeichat:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strweichat()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strweichat().data(), this->strweichat().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ContactInfo.strWeichat"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(34)) goto parse_strSignature;
- break;
- }
- // optional string strSignature = 4;
- case 4: {
- if (tag == 34) {
- parse_strSignature:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strsignature()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strsignature().data(), this->strsignature().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ContactInfo.strSignature"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(40)) goto parse_iSex;
- break;
- }
- // optional int32 iSex = 5;
- case 5: {
- if (tag == 40) {
- parse_iSex:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &isex_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ContactInfo)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ContactInfo)
- return false;
- #undef DO_
- }
- void XPhone_ContactInfo::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ContactInfo)
- // optional string strUserName = 1;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ContactInfo.strUserName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 1, this->strusername(), output);
- }
- // optional string strNickerName = 2;
- if (this->strnickername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strnickername().data(), this->strnickername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ContactInfo.strNickerName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strnickername(), output);
- }
- // optional string strWeichat = 3;
- if (this->strweichat().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strweichat().data(), this->strweichat().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ContactInfo.strWeichat");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strweichat(), output);
- }
- // optional string strSignature = 4;
- if (this->strsignature().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strsignature().data(), this->strsignature().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ContactInfo.strSignature");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->strsignature(), output);
- }
- // optional int32 iSex = 5;
- if (this->isex() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->isex(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ContactInfo)
- }
- ::google::protobuf::uint8* XPhone_ContactInfo::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ContactInfo)
- // optional string strUserName = 1;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ContactInfo.strUserName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 1, this->strusername(), target);
- }
- // optional string strNickerName = 2;
- if (this->strnickername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strnickername().data(), this->strnickername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ContactInfo.strNickerName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strnickername(), target);
- }
- // optional string strWeichat = 3;
- if (this->strweichat().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strweichat().data(), this->strweichat().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ContactInfo.strWeichat");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strweichat(), target);
- }
- // optional string strSignature = 4;
- if (this->strsignature().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strsignature().data(), this->strsignature().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ContactInfo.strSignature");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->strsignature(), target);
- }
- // optional int32 iSex = 5;
- if (this->isex() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->isex(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ContactInfo)
- return target;
- }
- int XPhone_ContactInfo::ByteSize() const {
- int total_size = 0;
- // optional string strUserName = 1;
- if (this->strusername().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strusername());
- }
- // optional string strNickerName = 2;
- if (this->strnickername().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strnickername());
- }
- // optional string strWeichat = 3;
- if (this->strweichat().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strweichat());
- }
- // optional string strSignature = 4;
- if (this->strsignature().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strsignature());
- }
- // optional int32 iSex = 5;
- if (this->isex() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->isex());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ContactInfo::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ContactInfo* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ContactInfo>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ContactInfo::MergeFrom(const XPhone_ContactInfo& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.strusername().size() > 0) {
- strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
- }
- if (from.strnickername().size() > 0) {
- strnickername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strnickername_);
- }
- if (from.strweichat().size() > 0) {
- strweichat_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strweichat_);
- }
- if (from.strsignature().size() > 0) {
- strsignature_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strsignature_);
- }
- if (from.isex() != 0) {
- set_isex(from.isex());
- }
- }
- void XPhone_ContactInfo::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ContactInfo::CopyFrom(const XPhone_ContactInfo& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ContactInfo::IsInitialized() const {
- return true;
- }
- void XPhone_ContactInfo::Swap(XPhone_ContactInfo* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ContactInfo::InternalSwap(XPhone_ContactInfo* other) {
- strusername_.Swap(&other->strusername_);
- strnickername_.Swap(&other->strnickername_);
- strweichat_.Swap(&other->strweichat_);
- strsignature_.Swap(&other->strsignature_);
- std::swap(isex_, other->isex_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ContactInfo::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ContactInfo_descriptor_;
- metadata.reflection = XPhone_ContactInfo_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ContactInfo
- // optional string strUserName = 1;
- void XPhone_ContactInfo::clear_strusername() {
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_ContactInfo::strusername() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfo.strUserName)
- return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ContactInfo::set_strusername(const ::std::string& value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactInfo.strUserName)
- }
- void XPhone_ContactInfo::set_strusername(const char* value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ContactInfo.strUserName)
- }
- void XPhone_ContactInfo::set_strusername(const char* value, size_t size) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ContactInfo.strUserName)
- }
- ::std::string* XPhone_ContactInfo::mutable_strusername() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfo.strUserName)
- return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_ContactInfo::release_strusername() {
-
- return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ContactInfo::set_allocated_strusername(::std::string* strusername) {
- if (strusername != NULL) {
-
- } else {
-
- }
- strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactInfo.strUserName)
- }
- // optional string strNickerName = 2;
- void XPhone_ContactInfo::clear_strnickername() {
- strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_ContactInfo::strnickername() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfo.strNickerName)
- return strnickername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ContactInfo::set_strnickername(const ::std::string& value) {
-
- strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactInfo.strNickerName)
- }
- void XPhone_ContactInfo::set_strnickername(const char* value) {
-
- strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ContactInfo.strNickerName)
- }
- void XPhone_ContactInfo::set_strnickername(const char* value, size_t size) {
-
- strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ContactInfo.strNickerName)
- }
- ::std::string* XPhone_ContactInfo::mutable_strnickername() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfo.strNickerName)
- return strnickername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_ContactInfo::release_strnickername() {
-
- return strnickername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ContactInfo::set_allocated_strnickername(::std::string* strnickername) {
- if (strnickername != NULL) {
-
- } else {
-
- }
- strnickername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strnickername);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactInfo.strNickerName)
- }
- // optional string strWeichat = 3;
- void XPhone_ContactInfo::clear_strweichat() {
- strweichat_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_ContactInfo::strweichat() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfo.strWeichat)
- return strweichat_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ContactInfo::set_strweichat(const ::std::string& value) {
-
- strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactInfo.strWeichat)
- }
- void XPhone_ContactInfo::set_strweichat(const char* value) {
-
- strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ContactInfo.strWeichat)
- }
- void XPhone_ContactInfo::set_strweichat(const char* value, size_t size) {
-
- strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ContactInfo.strWeichat)
- }
- ::std::string* XPhone_ContactInfo::mutable_strweichat() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfo.strWeichat)
- return strweichat_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_ContactInfo::release_strweichat() {
-
- return strweichat_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ContactInfo::set_allocated_strweichat(::std::string* strweichat) {
- if (strweichat != NULL) {
-
- } else {
-
- }
- strweichat_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strweichat);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactInfo.strWeichat)
- }
- // optional string strSignature = 4;
- void XPhone_ContactInfo::clear_strsignature() {
- strsignature_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_ContactInfo::strsignature() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfo.strSignature)
- return strsignature_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ContactInfo::set_strsignature(const ::std::string& value) {
-
- strsignature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactInfo.strSignature)
- }
- void XPhone_ContactInfo::set_strsignature(const char* value) {
-
- strsignature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ContactInfo.strSignature)
- }
- void XPhone_ContactInfo::set_strsignature(const char* value, size_t size) {
-
- strsignature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ContactInfo.strSignature)
- }
- ::std::string* XPhone_ContactInfo::mutable_strsignature() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfo.strSignature)
- return strsignature_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_ContactInfo::release_strsignature() {
-
- return strsignature_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ContactInfo::set_allocated_strsignature(::std::string* strsignature) {
- if (strsignature != NULL) {
-
- } else {
-
- }
- strsignature_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strsignature);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactInfo.strSignature)
- }
- // optional int32 iSex = 5;
- void XPhone_ContactInfo::clear_isex() {
- isex_ = 0;
- }
- ::google::protobuf::int32 XPhone_ContactInfo::isex() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfo.iSex)
- return isex_;
- }
- void XPhone_ContactInfo::set_isex(::google::protobuf::int32 value) {
-
- isex_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ContactInfo.iSex)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ContactInfoRsp::kHeadFieldNumber;
- const int XPhone_ContactInfoRsp::kContactlistFieldNumber;
- #endif // !_MSC_VER
- XPhone_ContactInfoRsp::XPhone_ContactInfoRsp()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ContactInfoRsp)
- }
- void XPhone_ContactInfoRsp::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_ContactInfoRsp::XPhone_ContactInfoRsp(const XPhone_ContactInfoRsp& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ContactInfoRsp)
- }
- void XPhone_ContactInfoRsp::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- }
- XPhone_ContactInfoRsp::~XPhone_ContactInfoRsp() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ContactInfoRsp)
- SharedDtor();
- }
- void XPhone_ContactInfoRsp::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_ContactInfoRsp::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ContactInfoRsp::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ContactInfoRsp_descriptor_;
- }
- const XPhone_ContactInfoRsp& XPhone_ContactInfoRsp::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ContactInfoRsp* XPhone_ContactInfoRsp::default_instance_ = NULL;
- XPhone_ContactInfoRsp* XPhone_ContactInfoRsp::New(::google::protobuf::Arena* arena) const {
- XPhone_ContactInfoRsp* n = new XPhone_ContactInfoRsp;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ContactInfoRsp::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- contactlist_.Clear();
- }
- bool XPhone_ContactInfoRsp::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ContactInfoRsp)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_contactlist;
- break;
- }
- // repeated .XPhonePlus.XPhone_ContactInfo contactlist = 2;
- case 2: {
- if (tag == 18) {
- parse_contactlist:
- DO_(input->IncrementRecursionDepth());
- parse_loop_contactlist:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
- input, add_contactlist()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_loop_contactlist;
- input->UnsafeDecrementRecursionDepth();
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ContactInfoRsp)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ContactInfoRsp)
- return false;
- #undef DO_
- }
- void XPhone_ContactInfoRsp::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ContactInfoRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated .XPhonePlus.XPhone_ContactInfo contactlist = 2;
- for (unsigned int i = 0, n = this->contactlist_size(); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 2, this->contactlist(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ContactInfoRsp)
- }
- ::google::protobuf::uint8* XPhone_ContactInfoRsp::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ContactInfoRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated .XPhonePlus.XPhone_ContactInfo contactlist = 2;
- for (unsigned int i = 0, n = this->contactlist_size(); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 2, this->contactlist(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ContactInfoRsp)
- return target;
- }
- int XPhone_ContactInfoRsp::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // repeated .XPhonePlus.XPhone_ContactInfo contactlist = 2;
- total_size += 1 * this->contactlist_size();
- for (int i = 0; i < this->contactlist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->contactlist(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ContactInfoRsp::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ContactInfoRsp* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ContactInfoRsp>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ContactInfoRsp::MergeFrom(const XPhone_ContactInfoRsp& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- contactlist_.MergeFrom(from.contactlist_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- }
- void XPhone_ContactInfoRsp::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ContactInfoRsp::CopyFrom(const XPhone_ContactInfoRsp& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ContactInfoRsp::IsInitialized() const {
- return true;
- }
- void XPhone_ContactInfoRsp::Swap(XPhone_ContactInfoRsp* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ContactInfoRsp::InternalSwap(XPhone_ContactInfoRsp* other) {
- std::swap(head_, other->head_);
- contactlist_.UnsafeArenaSwap(&other->contactlist_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ContactInfoRsp::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ContactInfoRsp_descriptor_;
- metadata.reflection = XPhone_ContactInfoRsp_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ContactInfoRsp
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_ContactInfoRsp::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_ContactInfoRsp::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_ContactInfoRsp::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfoRsp.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ContactInfoRsp::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfoRsp.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ContactInfoRsp::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_ContactInfoRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ContactInfoRsp.head)
- }
- // repeated .XPhonePlus.XPhone_ContactInfo contactlist = 2;
- int XPhone_ContactInfoRsp::contactlist_size() const {
- return contactlist_.size();
- }
- void XPhone_ContactInfoRsp::clear_contactlist() {
- contactlist_.Clear();
- }
- const ::XPhonePlus::XPhone_ContactInfo& XPhone_ContactInfoRsp::contactlist(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ContactInfoRsp.contactlist)
- return contactlist_.Get(index);
- }
- ::XPhonePlus::XPhone_ContactInfo* XPhone_ContactInfoRsp::mutable_contactlist(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ContactInfoRsp.contactlist)
- return contactlist_.Mutable(index);
- }
- ::XPhonePlus::XPhone_ContactInfo* XPhone_ContactInfoRsp::add_contactlist() {
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ContactInfoRsp.contactlist)
- return contactlist_.Add();
- }
- ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ContactInfo >*
- XPhone_ContactInfoRsp::mutable_contactlist() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ContactInfoRsp.contactlist)
- return &contactlist_;
- }
- const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ContactInfo >&
- XPhone_ContactInfoRsp::contactlist() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ContactInfoRsp.contactlist)
- return contactlist_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ChatRoomInfoReq::kHeadFieldNumber;
- const int XPhone_ChatRoomInfoReq::kBFriendFieldNumber;
- #endif // !_MSC_VER
- XPhone_ChatRoomInfoReq::XPhone_ChatRoomInfoReq()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ChatRoomInfoReq)
- }
- void XPhone_ChatRoomInfoReq::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_ChatRoomInfoReq::XPhone_ChatRoomInfoReq(const XPhone_ChatRoomInfoReq& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ChatRoomInfoReq)
- }
- void XPhone_ChatRoomInfoReq::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- bfriend_ = false;
- }
- XPhone_ChatRoomInfoReq::~XPhone_ChatRoomInfoReq() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ChatRoomInfoReq)
- SharedDtor();
- }
- void XPhone_ChatRoomInfoReq::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_ChatRoomInfoReq::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ChatRoomInfoReq::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ChatRoomInfoReq_descriptor_;
- }
- const XPhone_ChatRoomInfoReq& XPhone_ChatRoomInfoReq::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ChatRoomInfoReq* XPhone_ChatRoomInfoReq::default_instance_ = NULL;
- XPhone_ChatRoomInfoReq* XPhone_ChatRoomInfoReq::New(::google::protobuf::Arena* arena) const {
- XPhone_ChatRoomInfoReq* n = new XPhone_ChatRoomInfoReq;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ChatRoomInfoReq::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- bfriend_ = false;
- }
- bool XPhone_ChatRoomInfoReq::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ChatRoomInfoReq)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_bFriend;
- break;
- }
- // optional bool bFriend = 2;
- case 2: {
- if (tag == 16) {
- parse_bFriend:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &bfriend_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ChatRoomInfoReq)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ChatRoomInfoReq)
- return false;
- #undef DO_
- }
- void XPhone_ChatRoomInfoReq::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ChatRoomInfoReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional bool bFriend = 2;
- if (this->bfriend() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->bfriend(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ChatRoomInfoReq)
- }
- ::google::protobuf::uint8* XPhone_ChatRoomInfoReq::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ChatRoomInfoReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional bool bFriend = 2;
- if (this->bfriend() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->bfriend(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ChatRoomInfoReq)
- return target;
- }
- int XPhone_ChatRoomInfoReq::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional bool bFriend = 2;
- if (this->bfriend() != 0) {
- total_size += 1 + 1;
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ChatRoomInfoReq::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ChatRoomInfoReq* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ChatRoomInfoReq>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ChatRoomInfoReq::MergeFrom(const XPhone_ChatRoomInfoReq& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.bfriend() != 0) {
- set_bfriend(from.bfriend());
- }
- }
- void XPhone_ChatRoomInfoReq::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ChatRoomInfoReq::CopyFrom(const XPhone_ChatRoomInfoReq& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ChatRoomInfoReq::IsInitialized() const {
- return true;
- }
- void XPhone_ChatRoomInfoReq::Swap(XPhone_ChatRoomInfoReq* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ChatRoomInfoReq::InternalSwap(XPhone_ChatRoomInfoReq* other) {
- std::swap(head_, other->head_);
- std::swap(bfriend_, other->bfriend_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ChatRoomInfoReq::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ChatRoomInfoReq_descriptor_;
- metadata.reflection = XPhone_ChatRoomInfoReq_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ChatRoomInfoReq
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_ChatRoomInfoReq::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_ChatRoomInfoReq::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_ChatRoomInfoReq::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfoReq.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ChatRoomInfoReq::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatRoomInfoReq.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ChatRoomInfoReq::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_ChatRoomInfoReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatRoomInfoReq.head)
- }
- // optional bool bFriend = 2;
- void XPhone_ChatRoomInfoReq::clear_bfriend() {
- bfriend_ = false;
- }
- bool XPhone_ChatRoomInfoReq::bfriend() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfoReq.bFriend)
- return bfriend_;
- }
- void XPhone_ChatRoomInfoReq::set_bfriend(bool value) {
-
- bfriend_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatRoomInfoReq.bFriend)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ChatRoomInfo::kChatRoomIDFieldNumber;
- const int XPhone_ChatRoomInfo::kChatRoomNameFieldNumber;
- const int XPhone_ChatRoomInfo::kChatRoomOwnerFieldNumber;
- const int XPhone_ChatRoomInfo::kMembersFieldNumber;
- #endif // !_MSC_VER
- XPhone_ChatRoomInfo::XPhone_ChatRoomInfo()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ChatRoomInfo)
- }
- void XPhone_ChatRoomInfo::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- }
- XPhone_ChatRoomInfo::XPhone_ChatRoomInfo(const XPhone_ChatRoomInfo& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ChatRoomInfo)
- }
- void XPhone_ChatRoomInfo::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- chatroomid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- chatroomname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- chatroomowner_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_ChatRoomInfo::~XPhone_ChatRoomInfo() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ChatRoomInfo)
- SharedDtor();
- }
- void XPhone_ChatRoomInfo::SharedDtor() {
- chatroomid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- chatroomname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- chatroomowner_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- }
- }
- void XPhone_ChatRoomInfo::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ChatRoomInfo::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ChatRoomInfo_descriptor_;
- }
- const XPhone_ChatRoomInfo& XPhone_ChatRoomInfo::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ChatRoomInfo* XPhone_ChatRoomInfo::default_instance_ = NULL;
- XPhone_ChatRoomInfo* XPhone_ChatRoomInfo::New(::google::protobuf::Arena* arena) const {
- XPhone_ChatRoomInfo* n = new XPhone_ChatRoomInfo;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ChatRoomInfo::Clear() {
- chatroomid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- chatroomname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- chatroomowner_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- members_.Clear();
- }
- bool XPhone_ChatRoomInfo::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ChatRoomInfo)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional string chatRoomID = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_chatroomid()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->chatroomid().data(), this->chatroomid().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ChatRoomInfo.chatRoomID"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_chatRoomName;
- break;
- }
- // optional string chatRoomName = 2;
- case 2: {
- if (tag == 18) {
- parse_chatRoomName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_chatroomname()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->chatroomname().data(), this->chatroomname().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ChatRoomInfo.chatRoomName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_chatRoomOwner;
- break;
- }
- // optional string chatRoomOwner = 3;
- case 3: {
- if (tag == 26) {
- parse_chatRoomOwner:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_chatroomowner()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->chatroomowner().data(), this->chatroomowner().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(34)) goto parse_members;
- break;
- }
- // repeated .XPhonePlus.XPhone_ContactInfo members = 4;
- case 4: {
- if (tag == 34) {
- parse_members:
- DO_(input->IncrementRecursionDepth());
- parse_loop_members:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
- input, add_members()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(34)) goto parse_loop_members;
- input->UnsafeDecrementRecursionDepth();
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ChatRoomInfo)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ChatRoomInfo)
- return false;
- #undef DO_
- }
- void XPhone_ChatRoomInfo::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ChatRoomInfo)
- // optional string chatRoomID = 1;
- if (this->chatroomid().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->chatroomid().data(), this->chatroomid().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatRoomInfo.chatRoomID");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 1, this->chatroomid(), output);
- }
- // optional string chatRoomName = 2;
- if (this->chatroomname().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->chatroomname().data(), this->chatroomname().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatRoomInfo.chatRoomName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->chatroomname(), output);
- }
- // optional string chatRoomOwner = 3;
- if (this->chatroomowner().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->chatroomowner().data(), this->chatroomowner().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->chatroomowner(), output);
- }
- // repeated .XPhonePlus.XPhone_ContactInfo members = 4;
- for (unsigned int i = 0, n = this->members_size(); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 4, this->members(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ChatRoomInfo)
- }
- ::google::protobuf::uint8* XPhone_ChatRoomInfo::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ChatRoomInfo)
- // optional string chatRoomID = 1;
- if (this->chatroomid().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->chatroomid().data(), this->chatroomid().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatRoomInfo.chatRoomID");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 1, this->chatroomid(), target);
- }
- // optional string chatRoomName = 2;
- if (this->chatroomname().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->chatroomname().data(), this->chatroomname().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatRoomInfo.chatRoomName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->chatroomname(), target);
- }
- // optional string chatRoomOwner = 3;
- if (this->chatroomowner().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->chatroomowner().data(), this->chatroomowner().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->chatroomowner(), target);
- }
- // repeated .XPhonePlus.XPhone_ContactInfo members = 4;
- for (unsigned int i = 0, n = this->members_size(); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 4, this->members(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ChatRoomInfo)
- return target;
- }
- int XPhone_ChatRoomInfo::ByteSize() const {
- int total_size = 0;
- // optional string chatRoomID = 1;
- if (this->chatroomid().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->chatroomid());
- }
- // optional string chatRoomName = 2;
- if (this->chatroomname().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->chatroomname());
- }
- // optional string chatRoomOwner = 3;
- if (this->chatroomowner().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->chatroomowner());
- }
- // repeated .XPhonePlus.XPhone_ContactInfo members = 4;
- total_size += 1 * this->members_size();
- for (int i = 0; i < this->members_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->members(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ChatRoomInfo::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ChatRoomInfo* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ChatRoomInfo>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ChatRoomInfo::MergeFrom(const XPhone_ChatRoomInfo& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- members_.MergeFrom(from.members_);
- if (from.chatroomid().size() > 0) {
- chatroomid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.chatroomid_);
- }
- if (from.chatroomname().size() > 0) {
- chatroomname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.chatroomname_);
- }
- if (from.chatroomowner().size() > 0) {
- chatroomowner_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.chatroomowner_);
- }
- }
- void XPhone_ChatRoomInfo::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ChatRoomInfo::CopyFrom(const XPhone_ChatRoomInfo& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ChatRoomInfo::IsInitialized() const {
- return true;
- }
- void XPhone_ChatRoomInfo::Swap(XPhone_ChatRoomInfo* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ChatRoomInfo::InternalSwap(XPhone_ChatRoomInfo* other) {
- chatroomid_.Swap(&other->chatroomid_);
- chatroomname_.Swap(&other->chatroomname_);
- chatroomowner_.Swap(&other->chatroomowner_);
- members_.UnsafeArenaSwap(&other->members_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ChatRoomInfo::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ChatRoomInfo_descriptor_;
- metadata.reflection = XPhone_ChatRoomInfo_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ChatRoomInfo
- // optional string chatRoomID = 1;
- void XPhone_ChatRoomInfo::clear_chatroomid() {
- chatroomid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_ChatRoomInfo::chatroomid() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
- return chatroomid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatRoomInfo::set_chatroomid(const ::std::string& value) {
-
- chatroomid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
- }
- void XPhone_ChatRoomInfo::set_chatroomid(const char* value) {
-
- chatroomid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
- }
- void XPhone_ChatRoomInfo::set_chatroomid(const char* value, size_t size) {
-
- chatroomid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
- }
- ::std::string* XPhone_ChatRoomInfo::mutable_chatroomid() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
- return chatroomid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_ChatRoomInfo::release_chatroomid() {
-
- return chatroomid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatRoomInfo::set_allocated_chatroomid(::std::string* chatroomid) {
- if (chatroomid != NULL) {
-
- } else {
-
- }
- chatroomid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), chatroomid);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatRoomInfo.chatRoomID)
- }
- // optional string chatRoomName = 2;
- void XPhone_ChatRoomInfo::clear_chatroomname() {
- chatroomname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_ChatRoomInfo::chatroomname() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
- return chatroomname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatRoomInfo::set_chatroomname(const ::std::string& value) {
-
- chatroomname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
- }
- void XPhone_ChatRoomInfo::set_chatroomname(const char* value) {
-
- chatroomname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
- }
- void XPhone_ChatRoomInfo::set_chatroomname(const char* value, size_t size) {
-
- chatroomname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
- }
- ::std::string* XPhone_ChatRoomInfo::mutable_chatroomname() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
- return chatroomname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_ChatRoomInfo::release_chatroomname() {
-
- return chatroomname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatRoomInfo::set_allocated_chatroomname(::std::string* chatroomname) {
- if (chatroomname != NULL) {
-
- } else {
-
- }
- chatroomname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), chatroomname);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatRoomInfo.chatRoomName)
- }
- // optional string chatRoomOwner = 3;
- void XPhone_ChatRoomInfo::clear_chatroomowner() {
- chatroomowner_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_ChatRoomInfo::chatroomowner() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
- return chatroomowner_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatRoomInfo::set_chatroomowner(const ::std::string& value) {
-
- chatroomowner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
- }
- void XPhone_ChatRoomInfo::set_chatroomowner(const char* value) {
-
- chatroomowner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
- }
- void XPhone_ChatRoomInfo::set_chatroomowner(const char* value, size_t size) {
-
- chatroomowner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
- }
- ::std::string* XPhone_ChatRoomInfo::mutable_chatroomowner() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
- return chatroomowner_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_ChatRoomInfo::release_chatroomowner() {
-
- return chatroomowner_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatRoomInfo::set_allocated_chatroomowner(::std::string* chatroomowner) {
- if (chatroomowner != NULL) {
-
- } else {
-
- }
- chatroomowner_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), chatroomowner);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatRoomInfo.chatRoomOwner)
- }
- // repeated .XPhonePlus.XPhone_ContactInfo members = 4;
- int XPhone_ChatRoomInfo::members_size() const {
- return members_.size();
- }
- void XPhone_ChatRoomInfo::clear_members() {
- members_.Clear();
- }
- const ::XPhonePlus::XPhone_ContactInfo& XPhone_ChatRoomInfo::members(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatRoomInfo.members)
- return members_.Get(index);
- }
- ::XPhonePlus::XPhone_ContactInfo* XPhone_ChatRoomInfo::mutable_members(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatRoomInfo.members)
- return members_.Mutable(index);
- }
- ::XPhonePlus::XPhone_ContactInfo* XPhone_ChatRoomInfo::add_members() {
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ChatRoomInfo.members)
- return members_.Add();
- }
- ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ContactInfo >*
- XPhone_ChatRoomInfo::mutable_members() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ChatRoomInfo.members)
- return &members_;
- }
- const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ContactInfo >&
- XPhone_ChatRoomInfo::members() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ChatRoomInfo.members)
- return members_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ChatroomInfoRsp::kHeadFieldNumber;
- const int XPhone_ChatroomInfoRsp::kRoomlistFieldNumber;
- #endif // !_MSC_VER
- XPhone_ChatroomInfoRsp::XPhone_ChatroomInfoRsp()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ChatroomInfoRsp)
- }
- void XPhone_ChatroomInfoRsp::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_ChatroomInfoRsp::XPhone_ChatroomInfoRsp(const XPhone_ChatroomInfoRsp& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ChatroomInfoRsp)
- }
- void XPhone_ChatroomInfoRsp::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- }
- XPhone_ChatroomInfoRsp::~XPhone_ChatroomInfoRsp() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ChatroomInfoRsp)
- SharedDtor();
- }
- void XPhone_ChatroomInfoRsp::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_ChatroomInfoRsp::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ChatroomInfoRsp::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ChatroomInfoRsp_descriptor_;
- }
- const XPhone_ChatroomInfoRsp& XPhone_ChatroomInfoRsp::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ChatroomInfoRsp* XPhone_ChatroomInfoRsp::default_instance_ = NULL;
- XPhone_ChatroomInfoRsp* XPhone_ChatroomInfoRsp::New(::google::protobuf::Arena* arena) const {
- XPhone_ChatroomInfoRsp* n = new XPhone_ChatroomInfoRsp;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ChatroomInfoRsp::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- roomlist_.Clear();
- }
- bool XPhone_ChatroomInfoRsp::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ChatroomInfoRsp)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_roomlist;
- break;
- }
- // repeated .XPhonePlus.XPhone_ChatRoomInfo roomlist = 2;
- case 2: {
- if (tag == 18) {
- parse_roomlist:
- DO_(input->IncrementRecursionDepth());
- parse_loop_roomlist:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
- input, add_roomlist()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_loop_roomlist;
- input->UnsafeDecrementRecursionDepth();
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ChatroomInfoRsp)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ChatroomInfoRsp)
- return false;
- #undef DO_
- }
- void XPhone_ChatroomInfoRsp::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ChatroomInfoRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated .XPhonePlus.XPhone_ChatRoomInfo roomlist = 2;
- for (unsigned int i = 0, n = this->roomlist_size(); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 2, this->roomlist(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ChatroomInfoRsp)
- }
- ::google::protobuf::uint8* XPhone_ChatroomInfoRsp::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ChatroomInfoRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated .XPhonePlus.XPhone_ChatRoomInfo roomlist = 2;
- for (unsigned int i = 0, n = this->roomlist_size(); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 2, this->roomlist(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ChatroomInfoRsp)
- return target;
- }
- int XPhone_ChatroomInfoRsp::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // repeated .XPhonePlus.XPhone_ChatRoomInfo roomlist = 2;
- total_size += 1 * this->roomlist_size();
- for (int i = 0; i < this->roomlist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->roomlist(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ChatroomInfoRsp::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ChatroomInfoRsp* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ChatroomInfoRsp>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ChatroomInfoRsp::MergeFrom(const XPhone_ChatroomInfoRsp& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- roomlist_.MergeFrom(from.roomlist_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- }
- void XPhone_ChatroomInfoRsp::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ChatroomInfoRsp::CopyFrom(const XPhone_ChatroomInfoRsp& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ChatroomInfoRsp::IsInitialized() const {
- return true;
- }
- void XPhone_ChatroomInfoRsp::Swap(XPhone_ChatroomInfoRsp* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ChatroomInfoRsp::InternalSwap(XPhone_ChatroomInfoRsp* other) {
- std::swap(head_, other->head_);
- roomlist_.UnsafeArenaSwap(&other->roomlist_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ChatroomInfoRsp::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ChatroomInfoRsp_descriptor_;
- metadata.reflection = XPhone_ChatroomInfoRsp_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ChatroomInfoRsp
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_ChatroomInfoRsp::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_ChatroomInfoRsp::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_ChatroomInfoRsp::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatroomInfoRsp.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ChatroomInfoRsp::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatroomInfoRsp.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ChatroomInfoRsp::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_ChatroomInfoRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatroomInfoRsp.head)
- }
- // repeated .XPhonePlus.XPhone_ChatRoomInfo roomlist = 2;
- int XPhone_ChatroomInfoRsp::roomlist_size() const {
- return roomlist_.size();
- }
- void XPhone_ChatroomInfoRsp::clear_roomlist() {
- roomlist_.Clear();
- }
- const ::XPhonePlus::XPhone_ChatRoomInfo& XPhone_ChatroomInfoRsp::roomlist(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatroomInfoRsp.roomlist)
- return roomlist_.Get(index);
- }
- ::XPhonePlus::XPhone_ChatRoomInfo* XPhone_ChatroomInfoRsp::mutable_roomlist(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatroomInfoRsp.roomlist)
- return roomlist_.Mutable(index);
- }
- ::XPhonePlus::XPhone_ChatRoomInfo* XPhone_ChatroomInfoRsp::add_roomlist() {
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ChatroomInfoRsp.roomlist)
- return roomlist_.Add();
- }
- ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ChatRoomInfo >*
- XPhone_ChatroomInfoRsp::mutable_roomlist() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ChatroomInfoRsp.roomlist)
- return &roomlist_;
- }
- const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_ChatRoomInfo >&
- XPhone_ChatroomInfoRsp::roomlist() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ChatroomInfoRsp.roomlist)
- return roomlist_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_LoginUserinfo::kHeadFieldNumber;
- const int XPhone_LoginUserinfo::kStrNickerNameFieldNumber;
- const int XPhone_LoginUserinfo::kStrUserNameFieldNumber;
- const int XPhone_LoginUserinfo::kStrWeichatFieldNumber;
- #endif // !_MSC_VER
- XPhone_LoginUserinfo::XPhone_LoginUserinfo()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_LoginUserinfo)
- }
- void XPhone_LoginUserinfo::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_LoginUserinfo::XPhone_LoginUserinfo(const XPhone_LoginUserinfo& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_LoginUserinfo)
- }
- void XPhone_LoginUserinfo::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strnickername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strweichat_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_LoginUserinfo::~XPhone_LoginUserinfo() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_LoginUserinfo)
- SharedDtor();
- }
- void XPhone_LoginUserinfo::SharedDtor() {
- strnickername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strweichat_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_LoginUserinfo::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_LoginUserinfo::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_LoginUserinfo_descriptor_;
- }
- const XPhone_LoginUserinfo& XPhone_LoginUserinfo::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_LoginUserinfo* XPhone_LoginUserinfo::default_instance_ = NULL;
- XPhone_LoginUserinfo* XPhone_LoginUserinfo::New(::google::protobuf::Arena* arena) const {
- XPhone_LoginUserinfo* n = new XPhone_LoginUserinfo;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_LoginUserinfo::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strweichat_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_LoginUserinfo::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_LoginUserinfo)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strNickerName;
- break;
- }
- // optional string strNickerName = 2;
- case 2: {
- if (tag == 18) {
- parse_strNickerName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strnickername()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strnickername().data(), this->strnickername().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_LoginUserinfo.strNickerName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strUserName;
- break;
- }
- // optional string strUserName = 3;
- case 3: {
- if (tag == 26) {
- parse_strUserName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strusername()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_LoginUserinfo.strUserName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(34)) goto parse_strWeichat;
- break;
- }
- // optional string strWeichat = 4;
- case 4: {
- if (tag == 34) {
- parse_strWeichat:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strweichat()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strweichat().data(), this->strweichat().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_LoginUserinfo.strWeichat"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_LoginUserinfo)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_LoginUserinfo)
- return false;
- #undef DO_
- }
- void XPhone_LoginUserinfo::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_LoginUserinfo)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strNickerName = 2;
- if (this->strnickername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strnickername().data(), this->strnickername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_LoginUserinfo.strNickerName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strnickername(), output);
- }
- // optional string strUserName = 3;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_LoginUserinfo.strUserName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strusername(), output);
- }
- // optional string strWeichat = 4;
- if (this->strweichat().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strweichat().data(), this->strweichat().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_LoginUserinfo.strWeichat");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->strweichat(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_LoginUserinfo)
- }
- ::google::protobuf::uint8* XPhone_LoginUserinfo::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_LoginUserinfo)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strNickerName = 2;
- if (this->strnickername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strnickername().data(), this->strnickername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_LoginUserinfo.strNickerName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strnickername(), target);
- }
- // optional string strUserName = 3;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_LoginUserinfo.strUserName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strusername(), target);
- }
- // optional string strWeichat = 4;
- if (this->strweichat().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strweichat().data(), this->strweichat().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_LoginUserinfo.strWeichat");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->strweichat(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_LoginUserinfo)
- return target;
- }
- int XPhone_LoginUserinfo::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strNickerName = 2;
- if (this->strnickername().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strnickername());
- }
- // optional string strUserName = 3;
- if (this->strusername().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strusername());
- }
- // optional string strWeichat = 4;
- if (this->strweichat().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strweichat());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_LoginUserinfo::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_LoginUserinfo* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_LoginUserinfo>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_LoginUserinfo::MergeFrom(const XPhone_LoginUserinfo& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strnickername().size() > 0) {
- strnickername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strnickername_);
- }
- if (from.strusername().size() > 0) {
- strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
- }
- if (from.strweichat().size() > 0) {
- strweichat_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strweichat_);
- }
- }
- void XPhone_LoginUserinfo::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_LoginUserinfo::CopyFrom(const XPhone_LoginUserinfo& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_LoginUserinfo::IsInitialized() const {
- return true;
- }
- void XPhone_LoginUserinfo::Swap(XPhone_LoginUserinfo* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_LoginUserinfo::InternalSwap(XPhone_LoginUserinfo* other) {
- std::swap(head_, other->head_);
- strnickername_.Swap(&other->strnickername_);
- strusername_.Swap(&other->strusername_);
- strweichat_.Swap(&other->strweichat_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_LoginUserinfo::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_LoginUserinfo_descriptor_;
- metadata.reflection = XPhone_LoginUserinfo_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_LoginUserinfo
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_LoginUserinfo::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_LoginUserinfo::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_LoginUserinfo::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LoginUserinfo.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_LoginUserinfo::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LoginUserinfo.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_LoginUserinfo::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_LoginUserinfo::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LoginUserinfo.head)
- }
- // optional string strNickerName = 2;
- void XPhone_LoginUserinfo::clear_strnickername() {
- strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_LoginUserinfo::strnickername() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
- return strnickername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_LoginUserinfo::set_strnickername(const ::std::string& value) {
-
- strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
- }
- void XPhone_LoginUserinfo::set_strnickername(const char* value) {
-
- strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
- }
- void XPhone_LoginUserinfo::set_strnickername(const char* value, size_t size) {
-
- strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
- }
- ::std::string* XPhone_LoginUserinfo::mutable_strnickername() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
- return strnickername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_LoginUserinfo::release_strnickername() {
-
- return strnickername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_LoginUserinfo::set_allocated_strnickername(::std::string* strnickername) {
- if (strnickername != NULL) {
-
- } else {
-
- }
- strnickername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strnickername);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LoginUserinfo.strNickerName)
- }
- // optional string strUserName = 3;
- void XPhone_LoginUserinfo::clear_strusername() {
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_LoginUserinfo::strusername() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LoginUserinfo.strUserName)
- return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_LoginUserinfo::set_strusername(const ::std::string& value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LoginUserinfo.strUserName)
- }
- void XPhone_LoginUserinfo::set_strusername(const char* value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_LoginUserinfo.strUserName)
- }
- void XPhone_LoginUserinfo::set_strusername(const char* value, size_t size) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_LoginUserinfo.strUserName)
- }
- ::std::string* XPhone_LoginUserinfo::mutable_strusername() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LoginUserinfo.strUserName)
- return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_LoginUserinfo::release_strusername() {
-
- return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_LoginUserinfo::set_allocated_strusername(::std::string* strusername) {
- if (strusername != NULL) {
-
- } else {
-
- }
- strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LoginUserinfo.strUserName)
- }
- // optional string strWeichat = 4;
- void XPhone_LoginUserinfo::clear_strweichat() {
- strweichat_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_LoginUserinfo::strweichat() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
- return strweichat_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_LoginUserinfo::set_strweichat(const ::std::string& value) {
-
- strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
- }
- void XPhone_LoginUserinfo::set_strweichat(const char* value) {
-
- strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
- }
- void XPhone_LoginUserinfo::set_strweichat(const char* value, size_t size) {
-
- strweichat_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
- }
- ::std::string* XPhone_LoginUserinfo::mutable_strweichat() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
- return strweichat_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_LoginUserinfo::release_strweichat() {
-
- return strweichat_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_LoginUserinfo::set_allocated_strweichat(::std::string* strweichat) {
- if (strweichat != NULL) {
-
- } else {
-
- }
- strweichat_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strweichat);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_LoginUserinfo.strWeichat)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_RecvChatMsg::kHeadFieldNumber;
- const int XPhone_RecvChatMsg::kStrTableNameFieldNumber;
- const int XPhone_RecvChatMsg::kStrMsgContentFieldNumber;
- #endif // !_MSC_VER
- XPhone_RecvChatMsg::XPhone_RecvChatMsg()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_RecvChatMsg)
- }
- void XPhone_RecvChatMsg::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_RecvChatMsg::XPhone_RecvChatMsg(const XPhone_RecvChatMsg& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_RecvChatMsg)
- }
- void XPhone_RecvChatMsg::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strtablename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strmsgcontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_RecvChatMsg::~XPhone_RecvChatMsg() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_RecvChatMsg)
- SharedDtor();
- }
- void XPhone_RecvChatMsg::SharedDtor() {
- strtablename_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strmsgcontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_RecvChatMsg::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_RecvChatMsg::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_RecvChatMsg_descriptor_;
- }
- const XPhone_RecvChatMsg& XPhone_RecvChatMsg::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_RecvChatMsg* XPhone_RecvChatMsg::default_instance_ = NULL;
- XPhone_RecvChatMsg* XPhone_RecvChatMsg::New(::google::protobuf::Arena* arena) const {
- XPhone_RecvChatMsg* n = new XPhone_RecvChatMsg;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_RecvChatMsg::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strtablename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strmsgcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_RecvChatMsg::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_RecvChatMsg)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strTableName;
- break;
- }
- // optional string strTableName = 2;
- case 2: {
- if (tag == 18) {
- parse_strTableName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strtablename()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtablename().data(), this->strtablename().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_RecvChatMsg.strTableName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strMsgContent;
- break;
- }
- // optional string strMsgContent = 3;
- case 3: {
- if (tag == 26) {
- parse_strMsgContent:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strmsgcontent()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strmsgcontent().data(), this->strmsgcontent().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_RecvChatMsg.strMsgContent"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_RecvChatMsg)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_RecvChatMsg)
- return false;
- #undef DO_
- }
- void XPhone_RecvChatMsg::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_RecvChatMsg)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strTableName = 2;
- if (this->strtablename().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtablename().data(), this->strtablename().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_RecvChatMsg.strTableName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strtablename(), output);
- }
- // optional string strMsgContent = 3;
- if (this->strmsgcontent().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strmsgcontent().data(), this->strmsgcontent().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_RecvChatMsg.strMsgContent");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strmsgcontent(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_RecvChatMsg)
- }
- ::google::protobuf::uint8* XPhone_RecvChatMsg::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_RecvChatMsg)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strTableName = 2;
- if (this->strtablename().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtablename().data(), this->strtablename().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_RecvChatMsg.strTableName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strtablename(), target);
- }
- // optional string strMsgContent = 3;
- if (this->strmsgcontent().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strmsgcontent().data(), this->strmsgcontent().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_RecvChatMsg.strMsgContent");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strmsgcontent(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_RecvChatMsg)
- return target;
- }
- int XPhone_RecvChatMsg::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strTableName = 2;
- if (this->strtablename().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strtablename());
- }
- // optional string strMsgContent = 3;
- if (this->strmsgcontent().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strmsgcontent());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_RecvChatMsg::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_RecvChatMsg* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_RecvChatMsg>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_RecvChatMsg::MergeFrom(const XPhone_RecvChatMsg& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strtablename().size() > 0) {
- strtablename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strtablename_);
- }
- if (from.strmsgcontent().size() > 0) {
- strmsgcontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strmsgcontent_);
- }
- }
- void XPhone_RecvChatMsg::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_RecvChatMsg::CopyFrom(const XPhone_RecvChatMsg& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_RecvChatMsg::IsInitialized() const {
- return true;
- }
- void XPhone_RecvChatMsg::Swap(XPhone_RecvChatMsg* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_RecvChatMsg::InternalSwap(XPhone_RecvChatMsg* other) {
- std::swap(head_, other->head_);
- strtablename_.Swap(&other->strtablename_);
- strmsgcontent_.Swap(&other->strmsgcontent_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_RecvChatMsg::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_RecvChatMsg_descriptor_;
- metadata.reflection = XPhone_RecvChatMsg_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_RecvChatMsg
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_RecvChatMsg::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_RecvChatMsg::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_RecvChatMsg::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RecvChatMsg.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_RecvChatMsg::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RecvChatMsg.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_RecvChatMsg::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_RecvChatMsg::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RecvChatMsg.head)
- }
- // optional string strTableName = 2;
- void XPhone_RecvChatMsg::clear_strtablename() {
- strtablename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_RecvChatMsg::strtablename() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RecvChatMsg.strTableName)
- return strtablename_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_RecvChatMsg::set_strtablename(const ::std::string& value) {
-
- strtablename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_RecvChatMsg.strTableName)
- }
- void XPhone_RecvChatMsg::set_strtablename(const char* value) {
-
- strtablename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_RecvChatMsg.strTableName)
- }
- void XPhone_RecvChatMsg::set_strtablename(const char* value, size_t size) {
-
- strtablename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_RecvChatMsg.strTableName)
- }
- ::std::string* XPhone_RecvChatMsg::mutable_strtablename() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RecvChatMsg.strTableName)
- return strtablename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_RecvChatMsg::release_strtablename() {
-
- return strtablename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_RecvChatMsg::set_allocated_strtablename(::std::string* strtablename) {
- if (strtablename != NULL) {
-
- } else {
-
- }
- strtablename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strtablename);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RecvChatMsg.strTableName)
- }
- // optional string strMsgContent = 3;
- void XPhone_RecvChatMsg::clear_strmsgcontent() {
- strmsgcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_RecvChatMsg::strmsgcontent() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
- return strmsgcontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_RecvChatMsg::set_strmsgcontent(const ::std::string& value) {
-
- strmsgcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
- }
- void XPhone_RecvChatMsg::set_strmsgcontent(const char* value) {
-
- strmsgcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
- }
- void XPhone_RecvChatMsg::set_strmsgcontent(const char* value, size_t size) {
-
- strmsgcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
- }
- ::std::string* XPhone_RecvChatMsg::mutable_strmsgcontent() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
- return strmsgcontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_RecvChatMsg::release_strmsgcontent() {
-
- return strmsgcontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_RecvChatMsg::set_allocated_strmsgcontent(::std::string* strmsgcontent) {
- if (strmsgcontent != NULL) {
-
- } else {
-
- }
- strmsgcontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strmsgcontent);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RecvChatMsg.strMsgContent)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ChatMsg::kHeadFieldNumber;
- const int XPhone_ChatMsg::kIsSendFieldNumber;
- const int XPhone_ChatMsg::kStrTalkerFieldNumber;
- const int XPhone_ChatMsg::kTypeFieldNumber;
- const int XPhone_ChatMsg::kStrContentFieldNumber;
- const int XPhone_ChatMsg::kICrateTimeFieldNumber;
- const int XPhone_ChatMsg::kIStatusFieldNumber;
- const int XPhone_ChatMsg::kStrShowNameFieldNumber;
- #endif // !_MSC_VER
- XPhone_ChatMsg::XPhone_ChatMsg()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ChatMsg)
- }
- void XPhone_ChatMsg::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_ChatMsg::XPhone_ChatMsg(const XPhone_ChatMsg& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ChatMsg)
- }
- void XPhone_ChatMsg::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- issend_ = 0;
- strtalker_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_ = 0;
- strcontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- icratetime_ = GOOGLE_LONGLONG(0);
- istatus_ = 0;
- strshowname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_ChatMsg::~XPhone_ChatMsg() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ChatMsg)
- SharedDtor();
- }
- void XPhone_ChatMsg::SharedDtor() {
- strtalker_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strcontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strshowname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_ChatMsg::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ChatMsg::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ChatMsg_descriptor_;
- }
- const XPhone_ChatMsg& XPhone_ChatMsg::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ChatMsg* XPhone_ChatMsg::default_instance_ = NULL;
- XPhone_ChatMsg* XPhone_ChatMsg::New(::google::protobuf::Arena* arena) const {
- XPhone_ChatMsg* n = new XPhone_ChatMsg;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ChatMsg::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_ChatMsg*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(issend_, type_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strtalker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- icratetime_ = GOOGLE_LONGLONG(0);
- istatus_ = 0;
- strshowname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_ChatMsg::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ChatMsg)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_isSend;
- break;
- }
- // optional int32 isSend = 2;
- case 2: {
- if (tag == 16) {
- parse_isSend:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &issend_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strTalker;
- break;
- }
- // optional string strTalker = 3;
- case 3: {
- if (tag == 26) {
- parse_strTalker:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strtalker()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtalker().data(), this->strtalker().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ChatMsg.strTalker"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_type;
- break;
- }
- // optional int32 type = 4;
- case 4: {
- if (tag == 32) {
- parse_type:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &type_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(42)) goto parse_strContent;
- break;
- }
- // optional string strContent = 5;
- case 5: {
- if (tag == 42) {
- parse_strContent:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strcontent()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcontent().data(), this->strcontent().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ChatMsg.strContent"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(48)) goto parse_iCrateTime;
- break;
- }
- // optional int64 iCrateTime = 6;
- case 6: {
- if (tag == 48) {
- parse_iCrateTime:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
- input, &icratetime_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(56)) goto parse_iStatus;
- break;
- }
- // optional int32 iStatus = 7;
- case 7: {
- if (tag == 56) {
- parse_iStatus:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &istatus_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(66)) goto parse_strShowName;
- break;
- }
- // optional string strShowName = 8;
- case 8: {
- if (tag == 66) {
- parse_strShowName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strshowname()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strshowname().data(), this->strshowname().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ChatMsg.strShowName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ChatMsg)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ChatMsg)
- return false;
- #undef DO_
- }
- void XPhone_ChatMsg::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ChatMsg)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 isSend = 2;
- if (this->issend() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->issend(), output);
- }
- // optional string strTalker = 3;
- if (this->strtalker().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtalker().data(), this->strtalker().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatMsg.strTalker");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strtalker(), output);
- }
- // optional int32 type = 4;
- if (this->type() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->type(), output);
- }
- // optional string strContent = 5;
- if (this->strcontent().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcontent().data(), this->strcontent().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatMsg.strContent");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->strcontent(), output);
- }
- // optional int64 iCrateTime = 6;
- if (this->icratetime() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt64(6, this->icratetime(), output);
- }
- // optional int32 iStatus = 7;
- if (this->istatus() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->istatus(), output);
- }
- // optional string strShowName = 8;
- if (this->strshowname().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strshowname().data(), this->strshowname().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatMsg.strShowName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 8, this->strshowname(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ChatMsg)
- }
- ::google::protobuf::uint8* XPhone_ChatMsg::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ChatMsg)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 isSend = 2;
- if (this->issend() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->issend(), target);
- }
- // optional string strTalker = 3;
- if (this->strtalker().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtalker().data(), this->strtalker().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatMsg.strTalker");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strtalker(), target);
- }
- // optional int32 type = 4;
- if (this->type() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->type(), target);
- }
- // optional string strContent = 5;
- if (this->strcontent().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcontent().data(), this->strcontent().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatMsg.strContent");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->strcontent(), target);
- }
- // optional int64 iCrateTime = 6;
- if (this->icratetime() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(6, this->icratetime(), target);
- }
- // optional int32 iStatus = 7;
- if (this->istatus() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->istatus(), target);
- }
- // optional string strShowName = 8;
- if (this->strshowname().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strshowname().data(), this->strshowname().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ChatMsg.strShowName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 8, this->strshowname(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ChatMsg)
- return target;
- }
- int XPhone_ChatMsg::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 isSend = 2;
- if (this->issend() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->issend());
- }
- // optional string strTalker = 3;
- if (this->strtalker().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strtalker());
- }
- // optional int32 type = 4;
- if (this->type() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->type());
- }
- // optional string strContent = 5;
- if (this->strcontent().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strcontent());
- }
- // optional int64 iCrateTime = 6;
- if (this->icratetime() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int64Size(
- this->icratetime());
- }
- // optional int32 iStatus = 7;
- if (this->istatus() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->istatus());
- }
- // optional string strShowName = 8;
- if (this->strshowname().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strshowname());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ChatMsg::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ChatMsg* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ChatMsg>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ChatMsg::MergeFrom(const XPhone_ChatMsg& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.issend() != 0) {
- set_issend(from.issend());
- }
- if (from.strtalker().size() > 0) {
- strtalker_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strtalker_);
- }
- if (from.type() != 0) {
- set_type(from.type());
- }
- if (from.strcontent().size() > 0) {
- strcontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcontent_);
- }
- if (from.icratetime() != 0) {
- set_icratetime(from.icratetime());
- }
- if (from.istatus() != 0) {
- set_istatus(from.istatus());
- }
- if (from.strshowname().size() > 0) {
- strshowname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strshowname_);
- }
- }
- void XPhone_ChatMsg::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ChatMsg::CopyFrom(const XPhone_ChatMsg& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ChatMsg::IsInitialized() const {
- return true;
- }
- void XPhone_ChatMsg::Swap(XPhone_ChatMsg* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ChatMsg::InternalSwap(XPhone_ChatMsg* other) {
- std::swap(head_, other->head_);
- std::swap(issend_, other->issend_);
- strtalker_.Swap(&other->strtalker_);
- std::swap(type_, other->type_);
- strcontent_.Swap(&other->strcontent_);
- std::swap(icratetime_, other->icratetime_);
- std::swap(istatus_, other->istatus_);
- strshowname_.Swap(&other->strshowname_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ChatMsg::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ChatMsg_descriptor_;
- metadata.reflection = XPhone_ChatMsg_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ChatMsg
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_ChatMsg::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_ChatMsg::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_ChatMsg::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ChatMsg::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatMsg.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ChatMsg::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_ChatMsg::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatMsg.head)
- }
- // optional int32 isSend = 2;
- void XPhone_ChatMsg::clear_issend() {
- issend_ = 0;
- }
- ::google::protobuf::int32 XPhone_ChatMsg::issend() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.isSend)
- return issend_;
- }
- void XPhone_ChatMsg::set_issend(::google::protobuf::int32 value) {
-
- issend_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.isSend)
- }
- // optional string strTalker = 3;
- void XPhone_ChatMsg::clear_strtalker() {
- strtalker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_ChatMsg::strtalker() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.strTalker)
- return strtalker_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatMsg::set_strtalker(const ::std::string& value) {
-
- strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.strTalker)
- }
- void XPhone_ChatMsg::set_strtalker(const char* value) {
-
- strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatMsg.strTalker)
- }
- void XPhone_ChatMsg::set_strtalker(const char* value, size_t size) {
-
- strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatMsg.strTalker)
- }
- ::std::string* XPhone_ChatMsg::mutable_strtalker() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatMsg.strTalker)
- return strtalker_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_ChatMsg::release_strtalker() {
-
- return strtalker_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatMsg::set_allocated_strtalker(::std::string* strtalker) {
- if (strtalker != NULL) {
-
- } else {
-
- }
- strtalker_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strtalker);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatMsg.strTalker)
- }
- // optional int32 type = 4;
- void XPhone_ChatMsg::clear_type() {
- type_ = 0;
- }
- ::google::protobuf::int32 XPhone_ChatMsg::type() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.type)
- return type_;
- }
- void XPhone_ChatMsg::set_type(::google::protobuf::int32 value) {
-
- type_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.type)
- }
- // optional string strContent = 5;
- void XPhone_ChatMsg::clear_strcontent() {
- strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_ChatMsg::strcontent() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.strContent)
- return strcontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatMsg::set_strcontent(const ::std::string& value) {
-
- strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.strContent)
- }
- void XPhone_ChatMsg::set_strcontent(const char* value) {
-
- strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatMsg.strContent)
- }
- void XPhone_ChatMsg::set_strcontent(const char* value, size_t size) {
-
- strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatMsg.strContent)
- }
- ::std::string* XPhone_ChatMsg::mutable_strcontent() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatMsg.strContent)
- return strcontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_ChatMsg::release_strcontent() {
-
- return strcontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatMsg::set_allocated_strcontent(::std::string* strcontent) {
- if (strcontent != NULL) {
-
- } else {
-
- }
- strcontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcontent);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatMsg.strContent)
- }
- // optional int64 iCrateTime = 6;
- void XPhone_ChatMsg::clear_icratetime() {
- icratetime_ = GOOGLE_LONGLONG(0);
- }
- ::google::protobuf::int64 XPhone_ChatMsg::icratetime() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.iCrateTime)
- return icratetime_;
- }
- void XPhone_ChatMsg::set_icratetime(::google::protobuf::int64 value) {
-
- icratetime_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.iCrateTime)
- }
- // optional int32 iStatus = 7;
- void XPhone_ChatMsg::clear_istatus() {
- istatus_ = 0;
- }
- ::google::protobuf::int32 XPhone_ChatMsg::istatus() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.iStatus)
- return istatus_;
- }
- void XPhone_ChatMsg::set_istatus(::google::protobuf::int32 value) {
-
- istatus_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.iStatus)
- }
- // optional string strShowName = 8;
- void XPhone_ChatMsg::clear_strshowname() {
- strshowname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_ChatMsg::strshowname() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ChatMsg.strShowName)
- return strshowname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatMsg::set_strshowname(const ::std::string& value) {
-
- strshowname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ChatMsg.strShowName)
- }
- void XPhone_ChatMsg::set_strshowname(const char* value) {
-
- strshowname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ChatMsg.strShowName)
- }
- void XPhone_ChatMsg::set_strshowname(const char* value, size_t size) {
-
- strshowname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ChatMsg.strShowName)
- }
- ::std::string* XPhone_ChatMsg::mutable_strshowname() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ChatMsg.strShowName)
- return strshowname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_ChatMsg::release_strshowname() {
-
- return strshowname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_ChatMsg::set_allocated_strshowname(::std::string* strshowname) {
- if (strshowname != NULL) {
-
- } else {
-
- }
- strshowname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strshowname);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ChatMsg.strShowName)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_SendChatMsg::kHeadFieldNumber;
- const int XPhone_SendChatMsg::kStrTalkerFieldNumber;
- const int XPhone_SendChatMsg::kTypeFieldNumber;
- const int XPhone_SendChatMsg::kStrContentFieldNumber;
- #endif // !_MSC_VER
- XPhone_SendChatMsg::XPhone_SendChatMsg()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SendChatMsg)
- }
- void XPhone_SendChatMsg::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_SendChatMsg::XPhone_SendChatMsg(const XPhone_SendChatMsg& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SendChatMsg)
- }
- void XPhone_SendChatMsg::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strtalker_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_ = 0;
- strcontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_SendChatMsg::~XPhone_SendChatMsg() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SendChatMsg)
- SharedDtor();
- }
- void XPhone_SendChatMsg::SharedDtor() {
- strtalker_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strcontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_SendChatMsg::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_SendChatMsg::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_SendChatMsg_descriptor_;
- }
- const XPhone_SendChatMsg& XPhone_SendChatMsg::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_SendChatMsg* XPhone_SendChatMsg::default_instance_ = NULL;
- XPhone_SendChatMsg* XPhone_SendChatMsg::New(::google::protobuf::Arena* arena) const {
- XPhone_SendChatMsg* n = new XPhone_SendChatMsg;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_SendChatMsg::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strtalker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- type_ = 0;
- strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_SendChatMsg::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SendChatMsg)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strTalker;
- break;
- }
- // optional string strTalker = 2;
- case 2: {
- if (tag == 18) {
- parse_strTalker:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strtalker()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtalker().data(), this->strtalker().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SendChatMsg.strTalker"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_type;
- break;
- }
- // optional int32 type = 3;
- case 3: {
- if (tag == 24) {
- parse_type:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &type_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(34)) goto parse_strContent;
- break;
- }
- // optional string strContent = 4;
- case 4: {
- if (tag == 34) {
- parse_strContent:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strcontent()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcontent().data(), this->strcontent().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SendChatMsg.strContent"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SendChatMsg)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SendChatMsg)
- return false;
- #undef DO_
- }
- void XPhone_SendChatMsg::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SendChatMsg)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strTalker = 2;
- if (this->strtalker().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtalker().data(), this->strtalker().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SendChatMsg.strTalker");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strtalker(), output);
- }
- // optional int32 type = 3;
- if (this->type() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
- }
- // optional string strContent = 4;
- if (this->strcontent().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcontent().data(), this->strcontent().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SendChatMsg.strContent");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->strcontent(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SendChatMsg)
- }
- ::google::protobuf::uint8* XPhone_SendChatMsg::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SendChatMsg)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strTalker = 2;
- if (this->strtalker().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strtalker().data(), this->strtalker().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SendChatMsg.strTalker");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strtalker(), target);
- }
- // optional int32 type = 3;
- if (this->type() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
- }
- // optional string strContent = 4;
- if (this->strcontent().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcontent().data(), this->strcontent().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SendChatMsg.strContent");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->strcontent(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SendChatMsg)
- return target;
- }
- int XPhone_SendChatMsg::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strTalker = 2;
- if (this->strtalker().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strtalker());
- }
- // optional int32 type = 3;
- if (this->type() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->type());
- }
- // optional string strContent = 4;
- if (this->strcontent().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strcontent());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_SendChatMsg::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_SendChatMsg* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SendChatMsg>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_SendChatMsg::MergeFrom(const XPhone_SendChatMsg& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strtalker().size() > 0) {
- strtalker_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strtalker_);
- }
- if (from.type() != 0) {
- set_type(from.type());
- }
- if (from.strcontent().size() > 0) {
- strcontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcontent_);
- }
- }
- void XPhone_SendChatMsg::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_SendChatMsg::CopyFrom(const XPhone_SendChatMsg& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_SendChatMsg::IsInitialized() const {
- return true;
- }
- void XPhone_SendChatMsg::Swap(XPhone_SendChatMsg* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_SendChatMsg::InternalSwap(XPhone_SendChatMsg* other) {
- std::swap(head_, other->head_);
- strtalker_.Swap(&other->strtalker_);
- std::swap(type_, other->type_);
- strcontent_.Swap(&other->strcontent_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_SendChatMsg::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_SendChatMsg_descriptor_;
- metadata.reflection = XPhone_SendChatMsg_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_SendChatMsg
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_SendChatMsg::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_SendChatMsg::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_SendChatMsg::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendChatMsg.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SendChatMsg::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendChatMsg.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SendChatMsg::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_SendChatMsg::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendChatMsg.head)
- }
- // optional string strTalker = 2;
- void XPhone_SendChatMsg::clear_strtalker() {
- strtalker_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SendChatMsg::strtalker() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendChatMsg.strTalker)
- return strtalker_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SendChatMsg::set_strtalker(const ::std::string& value) {
-
- strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SendChatMsg.strTalker)
- }
- void XPhone_SendChatMsg::set_strtalker(const char* value) {
-
- strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SendChatMsg.strTalker)
- }
- void XPhone_SendChatMsg::set_strtalker(const char* value, size_t size) {
-
- strtalker_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SendChatMsg.strTalker)
- }
- ::std::string* XPhone_SendChatMsg::mutable_strtalker() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendChatMsg.strTalker)
- return strtalker_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SendChatMsg::release_strtalker() {
-
- return strtalker_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SendChatMsg::set_allocated_strtalker(::std::string* strtalker) {
- if (strtalker != NULL) {
-
- } else {
-
- }
- strtalker_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strtalker);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendChatMsg.strTalker)
- }
- // optional int32 type = 3;
- void XPhone_SendChatMsg::clear_type() {
- type_ = 0;
- }
- ::google::protobuf::int32 XPhone_SendChatMsg::type() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendChatMsg.type)
- return type_;
- }
- void XPhone_SendChatMsg::set_type(::google::protobuf::int32 value) {
-
- type_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SendChatMsg.type)
- }
- // optional string strContent = 4;
- void XPhone_SendChatMsg::clear_strcontent() {
- strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SendChatMsg::strcontent() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SendChatMsg.strContent)
- return strcontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SendChatMsg::set_strcontent(const ::std::string& value) {
-
- strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SendChatMsg.strContent)
- }
- void XPhone_SendChatMsg::set_strcontent(const char* value) {
-
- strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SendChatMsg.strContent)
- }
- void XPhone_SendChatMsg::set_strcontent(const char* value, size_t size) {
-
- strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SendChatMsg.strContent)
- }
- ::std::string* XPhone_SendChatMsg::mutable_strcontent() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SendChatMsg.strContent)
- return strcontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SendChatMsg::release_strcontent() {
-
- return strcontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SendChatMsg::set_allocated_strcontent(::std::string* strcontent) {
- if (strcontent != NULL) {
-
- } else {
-
- }
- strcontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcontent);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SendChatMsg.strContent)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ImportContact::kHeadFieldNumber;
- const int XPhone_ImportContact::kPhoneNumbersFieldNumber;
- const int XPhone_ImportContact::kClearcontactsFieldNumber;
- #endif // !_MSC_VER
- XPhone_ImportContact::XPhone_ImportContact()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ImportContact)
- }
- void XPhone_ImportContact::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_ImportContact::XPhone_ImportContact(const XPhone_ImportContact& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ImportContact)
- }
- void XPhone_ImportContact::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- clearcontacts_ = false;
- }
- XPhone_ImportContact::~XPhone_ImportContact() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ImportContact)
- SharedDtor();
- }
- void XPhone_ImportContact::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_ImportContact::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ImportContact::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ImportContact_descriptor_;
- }
- const XPhone_ImportContact& XPhone_ImportContact::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ImportContact* XPhone_ImportContact::default_instance_ = NULL;
- XPhone_ImportContact* XPhone_ImportContact::New(::google::protobuf::Arena* arena) const {
- XPhone_ImportContact* n = new XPhone_ImportContact;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ImportContact::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- clearcontacts_ = false;
- phonenumbers_.Clear();
- }
- bool XPhone_ImportContact::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ImportContact)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_phoneNumbers;
- break;
- }
- // repeated string phoneNumbers = 2;
- case 2: {
- if (tag == 18) {
- parse_phoneNumbers:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->add_phonenumbers()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->phonenumbers(this->phonenumbers_size() - 1).data(),
- this->phonenumbers(this->phonenumbers_size() - 1).length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ImportContact.phoneNumbers"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_phoneNumbers;
- if (input->ExpectTag(24)) goto parse_clearcontacts;
- break;
- }
- // optional bool clearcontacts = 3;
- case 3: {
- if (tag == 24) {
- parse_clearcontacts:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &clearcontacts_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ImportContact)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ImportContact)
- return false;
- #undef DO_
- }
- void XPhone_ImportContact::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ImportContact)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated string phoneNumbers = 2;
- for (int i = 0; i < this->phonenumbers_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->phonenumbers(i).data(), this->phonenumbers(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ImportContact.phoneNumbers");
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 2, this->phonenumbers(i), output);
- }
- // optional bool clearcontacts = 3;
- if (this->clearcontacts() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->clearcontacts(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ImportContact)
- }
- ::google::protobuf::uint8* XPhone_ImportContact::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ImportContact)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated string phoneNumbers = 2;
- for (int i = 0; i < this->phonenumbers_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->phonenumbers(i).data(), this->phonenumbers(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ImportContact.phoneNumbers");
- target = ::google::protobuf::internal::WireFormatLite::
- WriteStringToArray(2, this->phonenumbers(i), target);
- }
- // optional bool clearcontacts = 3;
- if (this->clearcontacts() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->clearcontacts(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ImportContact)
- return target;
- }
- int XPhone_ImportContact::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional bool clearcontacts = 3;
- if (this->clearcontacts() != 0) {
- total_size += 1 + 1;
- }
- // repeated string phoneNumbers = 2;
- total_size += 1 * this->phonenumbers_size();
- for (int i = 0; i < this->phonenumbers_size(); i++) {
- total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
- this->phonenumbers(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ImportContact::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ImportContact* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ImportContact>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ImportContact::MergeFrom(const XPhone_ImportContact& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- phonenumbers_.MergeFrom(from.phonenumbers_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.clearcontacts() != 0) {
- set_clearcontacts(from.clearcontacts());
- }
- }
- void XPhone_ImportContact::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ImportContact::CopyFrom(const XPhone_ImportContact& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ImportContact::IsInitialized() const {
- return true;
- }
- void XPhone_ImportContact::Swap(XPhone_ImportContact* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ImportContact::InternalSwap(XPhone_ImportContact* other) {
- std::swap(head_, other->head_);
- phonenumbers_.UnsafeArenaSwap(&other->phonenumbers_);
- std::swap(clearcontacts_, other->clearcontacts_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ImportContact::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ImportContact_descriptor_;
- metadata.reflection = XPhone_ImportContact_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ImportContact
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_ImportContact::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_ImportContact::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_ImportContact::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportContact.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ImportContact::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportContact.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ImportContact::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_ImportContact::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ImportContact.head)
- }
- // repeated string phoneNumbers = 2;
- int XPhone_ImportContact::phonenumbers_size() const {
- return phonenumbers_.size();
- }
- void XPhone_ImportContact::clear_phonenumbers() {
- phonenumbers_.Clear();
- }
- const ::std::string& XPhone_ImportContact::phonenumbers(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportContact.phoneNumbers)
- return phonenumbers_.Get(index);
- }
- ::std::string* XPhone_ImportContact::mutable_phonenumbers(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportContact.phoneNumbers)
- return phonenumbers_.Mutable(index);
- }
- void XPhone_ImportContact::set_phonenumbers(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ImportContact.phoneNumbers)
- phonenumbers_.Mutable(index)->assign(value);
- }
- void XPhone_ImportContact::set_phonenumbers(int index, const char* value) {
- phonenumbers_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ImportContact.phoneNumbers)
- }
- void XPhone_ImportContact::set_phonenumbers(int index, const char* value, size_t size) {
- phonenumbers_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ImportContact.phoneNumbers)
- }
- ::std::string* XPhone_ImportContact::add_phonenumbers() {
- return phonenumbers_.Add();
- }
- void XPhone_ImportContact::add_phonenumbers(const ::std::string& value) {
- phonenumbers_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ImportContact.phoneNumbers)
- }
- void XPhone_ImportContact::add_phonenumbers(const char* value) {
- phonenumbers_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_ImportContact.phoneNumbers)
- }
- void XPhone_ImportContact::add_phonenumbers(const char* value, size_t size) {
- phonenumbers_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_ImportContact.phoneNumbers)
- }
- const ::google::protobuf::RepeatedPtrField< ::std::string>&
- XPhone_ImportContact::phonenumbers() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ImportContact.phoneNumbers)
- return phonenumbers_;
- }
- ::google::protobuf::RepeatedPtrField< ::std::string>*
- XPhone_ImportContact::mutable_phonenumbers() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ImportContact.phoneNumbers)
- return &phonenumbers_;
- }
- // optional bool clearcontacts = 3;
- void XPhone_ImportContact::clear_clearcontacts() {
- clearcontacts_ = false;
- }
- bool XPhone_ImportContact::clearcontacts() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportContact.clearcontacts)
- return clearcontacts_;
- }
- void XPhone_ImportContact::set_clearcontacts(bool value) {
-
- clearcontacts_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ImportContact.clearcontacts)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_OpenActivity::kHeadFieldNumber;
- const int XPhone_OpenActivity::kStrActivityNameFieldNumber;
- #endif // !_MSC_VER
- XPhone_OpenActivity::XPhone_OpenActivity()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_OpenActivity)
- }
- void XPhone_OpenActivity::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_OpenActivity::XPhone_OpenActivity(const XPhone_OpenActivity& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_OpenActivity)
- }
- void XPhone_OpenActivity::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- stractivityname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_OpenActivity::~XPhone_OpenActivity() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_OpenActivity)
- SharedDtor();
- }
- void XPhone_OpenActivity::SharedDtor() {
- stractivityname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_OpenActivity::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_OpenActivity::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_OpenActivity_descriptor_;
- }
- const XPhone_OpenActivity& XPhone_OpenActivity::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_OpenActivity* XPhone_OpenActivity::default_instance_ = NULL;
- XPhone_OpenActivity* XPhone_OpenActivity::New(::google::protobuf::Arena* arena) const {
- XPhone_OpenActivity* n = new XPhone_OpenActivity;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_OpenActivity::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- stractivityname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_OpenActivity::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_OpenActivity)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strActivityName;
- break;
- }
- // optional string strActivityName = 2;
- case 2: {
- if (tag == 18) {
- parse_strActivityName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_stractivityname()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->stractivityname().data(), this->stractivityname().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_OpenActivity.strActivityName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_OpenActivity)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_OpenActivity)
- return false;
- #undef DO_
- }
- void XPhone_OpenActivity::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_OpenActivity)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strActivityName = 2;
- if (this->stractivityname().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->stractivityname().data(), this->stractivityname().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_OpenActivity.strActivityName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->stractivityname(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_OpenActivity)
- }
- ::google::protobuf::uint8* XPhone_OpenActivity::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_OpenActivity)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strActivityName = 2;
- if (this->stractivityname().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->stractivityname().data(), this->stractivityname().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_OpenActivity.strActivityName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->stractivityname(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_OpenActivity)
- return target;
- }
- int XPhone_OpenActivity::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strActivityName = 2;
- if (this->stractivityname().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->stractivityname());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_OpenActivity::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_OpenActivity* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_OpenActivity>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_OpenActivity::MergeFrom(const XPhone_OpenActivity& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.stractivityname().size() > 0) {
- stractivityname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.stractivityname_);
- }
- }
- void XPhone_OpenActivity::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_OpenActivity::CopyFrom(const XPhone_OpenActivity& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_OpenActivity::IsInitialized() const {
- return true;
- }
- void XPhone_OpenActivity::Swap(XPhone_OpenActivity* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_OpenActivity::InternalSwap(XPhone_OpenActivity* other) {
- std::swap(head_, other->head_);
- stractivityname_.Swap(&other->stractivityname_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_OpenActivity::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_OpenActivity_descriptor_;
- metadata.reflection = XPhone_OpenActivity_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_OpenActivity
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_OpenActivity::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_OpenActivity::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_OpenActivity::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_OpenActivity.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_OpenActivity::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_OpenActivity.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_OpenActivity::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_OpenActivity::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_OpenActivity.head)
- }
- // optional string strActivityName = 2;
- void XPhone_OpenActivity::clear_stractivityname() {
- stractivityname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_OpenActivity::stractivityname() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_OpenActivity.strActivityName)
- return stractivityname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_OpenActivity::set_stractivityname(const ::std::string& value) {
-
- stractivityname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_OpenActivity.strActivityName)
- }
- void XPhone_OpenActivity::set_stractivityname(const char* value) {
-
- stractivityname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_OpenActivity.strActivityName)
- }
- void XPhone_OpenActivity::set_stractivityname(const char* value, size_t size) {
-
- stractivityname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_OpenActivity.strActivityName)
- }
- ::std::string* XPhone_OpenActivity::mutable_stractivityname() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_OpenActivity.strActivityName)
- return stractivityname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_OpenActivity::release_stractivityname() {
-
- return stractivityname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_OpenActivity::set_allocated_stractivityname(::std::string* stractivityname) {
- if (stractivityname != NULL) {
-
- } else {
-
- }
- stractivityname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stractivityname);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_OpenActivity.strActivityName)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_RestoreWeichatShot::kHeadFieldNumber;
- const int XPhone_RestoreWeichatShot::kStrUserNameFieldNumber;
- #endif // !_MSC_VER
- XPhone_RestoreWeichatShot::XPhone_RestoreWeichatShot()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_RestoreWeichatShot)
- }
- void XPhone_RestoreWeichatShot::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_RestoreWeichatShot::XPhone_RestoreWeichatShot(const XPhone_RestoreWeichatShot& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_RestoreWeichatShot)
- }
- void XPhone_RestoreWeichatShot::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_RestoreWeichatShot::~XPhone_RestoreWeichatShot() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_RestoreWeichatShot)
- SharedDtor();
- }
- void XPhone_RestoreWeichatShot::SharedDtor() {
- strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_RestoreWeichatShot::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_RestoreWeichatShot::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_RestoreWeichatShot_descriptor_;
- }
- const XPhone_RestoreWeichatShot& XPhone_RestoreWeichatShot::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_RestoreWeichatShot* XPhone_RestoreWeichatShot::default_instance_ = NULL;
- XPhone_RestoreWeichatShot* XPhone_RestoreWeichatShot::New(::google::protobuf::Arena* arena) const {
- XPhone_RestoreWeichatShot* n = new XPhone_RestoreWeichatShot;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_RestoreWeichatShot::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_RestoreWeichatShot::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_RestoreWeichatShot)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strUserName;
- break;
- }
- // optional string strUserName = 2;
- case 2: {
- if (tag == 18) {
- parse_strUserName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strusername()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_RestoreWeichatShot.strUserName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_RestoreWeichatShot)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_RestoreWeichatShot)
- return false;
- #undef DO_
- }
- void XPhone_RestoreWeichatShot::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_RestoreWeichatShot)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_RestoreWeichatShot.strUserName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strusername(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_RestoreWeichatShot)
- }
- ::google::protobuf::uint8* XPhone_RestoreWeichatShot::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_RestoreWeichatShot)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_RestoreWeichatShot.strUserName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strusername(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_RestoreWeichatShot)
- return target;
- }
- int XPhone_RestoreWeichatShot::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strusername());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_RestoreWeichatShot::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_RestoreWeichatShot* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_RestoreWeichatShot>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_RestoreWeichatShot::MergeFrom(const XPhone_RestoreWeichatShot& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strusername().size() > 0) {
- strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
- }
- }
- void XPhone_RestoreWeichatShot::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_RestoreWeichatShot::CopyFrom(const XPhone_RestoreWeichatShot& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_RestoreWeichatShot::IsInitialized() const {
- return true;
- }
- void XPhone_RestoreWeichatShot::Swap(XPhone_RestoreWeichatShot* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_RestoreWeichatShot::InternalSwap(XPhone_RestoreWeichatShot* other) {
- std::swap(head_, other->head_);
- strusername_.Swap(&other->strusername_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_RestoreWeichatShot::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_RestoreWeichatShot_descriptor_;
- metadata.reflection = XPhone_RestoreWeichatShot_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_RestoreWeichatShot
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_RestoreWeichatShot::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_RestoreWeichatShot::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_RestoreWeichatShot::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RestoreWeichatShot.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_RestoreWeichatShot::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RestoreWeichatShot.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_RestoreWeichatShot::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_RestoreWeichatShot::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RestoreWeichatShot.head)
- }
- // optional string strUserName = 2;
- void XPhone_RestoreWeichatShot::clear_strusername() {
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_RestoreWeichatShot::strusername() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
- return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_RestoreWeichatShot::set_strusername(const ::std::string& value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
- }
- void XPhone_RestoreWeichatShot::set_strusername(const char* value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
- }
- void XPhone_RestoreWeichatShot::set_strusername(const char* value, size_t size) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
- }
- ::std::string* XPhone_RestoreWeichatShot::mutable_strusername() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
- return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_RestoreWeichatShot::release_strusername() {
-
- return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_RestoreWeichatShot::set_allocated_strusername(::std::string* strusername) {
- if (strusername != NULL) {
-
- } else {
-
- }
- strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_RestoreWeichatShot.strUserName)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_AllLoginUsers::kHeadFieldNumber;
- const int XPhone_AllLoginUsers::kUsersListsFieldNumber;
- const int XPhone_AllLoginUsers::kStrCurrentLoginFieldNumber;
- #endif // !_MSC_VER
- XPhone_AllLoginUsers::XPhone_AllLoginUsers()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AllLoginUsers)
- }
- void XPhone_AllLoginUsers::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_AllLoginUsers::XPhone_AllLoginUsers(const XPhone_AllLoginUsers& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AllLoginUsers)
- }
- void XPhone_AllLoginUsers::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strcurrentlogin_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_AllLoginUsers::~XPhone_AllLoginUsers() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AllLoginUsers)
- SharedDtor();
- }
- void XPhone_AllLoginUsers::SharedDtor() {
- strcurrentlogin_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_AllLoginUsers::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_AllLoginUsers::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_AllLoginUsers_descriptor_;
- }
- const XPhone_AllLoginUsers& XPhone_AllLoginUsers::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_AllLoginUsers* XPhone_AllLoginUsers::default_instance_ = NULL;
- XPhone_AllLoginUsers* XPhone_AllLoginUsers::New(::google::protobuf::Arena* arena) const {
- XPhone_AllLoginUsers* n = new XPhone_AllLoginUsers;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_AllLoginUsers::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strcurrentlogin_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- userslists_.Clear();
- }
- bool XPhone_AllLoginUsers::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AllLoginUsers)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_usersLists;
- break;
- }
- // repeated .XPhonePlus.XPhone_LoginUserinfo usersLists = 2;
- case 2: {
- if (tag == 18) {
- parse_usersLists:
- DO_(input->IncrementRecursionDepth());
- parse_loop_usersLists:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
- input, add_userslists()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_loop_usersLists;
- input->UnsafeDecrementRecursionDepth();
- if (input->ExpectTag(26)) goto parse_strCurrentLogin;
- break;
- }
- // optional string strCurrentLogin = 3;
- case 3: {
- if (tag == 26) {
- parse_strCurrentLogin:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strcurrentlogin()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcurrentlogin().data(), this->strcurrentlogin().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AllLoginUsers)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AllLoginUsers)
- return false;
- #undef DO_
- }
- void XPhone_AllLoginUsers::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AllLoginUsers)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated .XPhonePlus.XPhone_LoginUserinfo usersLists = 2;
- for (unsigned int i = 0, n = this->userslists_size(); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 2, this->userslists(i), output);
- }
- // optional string strCurrentLogin = 3;
- if (this->strcurrentlogin().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcurrentlogin().data(), this->strcurrentlogin().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strcurrentlogin(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AllLoginUsers)
- }
- ::google::protobuf::uint8* XPhone_AllLoginUsers::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AllLoginUsers)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated .XPhonePlus.XPhone_LoginUserinfo usersLists = 2;
- for (unsigned int i = 0, n = this->userslists_size(); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 2, this->userslists(i), target);
- }
- // optional string strCurrentLogin = 3;
- if (this->strcurrentlogin().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcurrentlogin().data(), this->strcurrentlogin().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strcurrentlogin(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AllLoginUsers)
- return target;
- }
- int XPhone_AllLoginUsers::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strCurrentLogin = 3;
- if (this->strcurrentlogin().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strcurrentlogin());
- }
- // repeated .XPhonePlus.XPhone_LoginUserinfo usersLists = 2;
- total_size += 1 * this->userslists_size();
- for (int i = 0; i < this->userslists_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->userslists(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_AllLoginUsers::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_AllLoginUsers* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AllLoginUsers>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_AllLoginUsers::MergeFrom(const XPhone_AllLoginUsers& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- userslists_.MergeFrom(from.userslists_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strcurrentlogin().size() > 0) {
- strcurrentlogin_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcurrentlogin_);
- }
- }
- void XPhone_AllLoginUsers::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_AllLoginUsers::CopyFrom(const XPhone_AllLoginUsers& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_AllLoginUsers::IsInitialized() const {
- return true;
- }
- void XPhone_AllLoginUsers::Swap(XPhone_AllLoginUsers* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_AllLoginUsers::InternalSwap(XPhone_AllLoginUsers* other) {
- std::swap(head_, other->head_);
- userslists_.UnsafeArenaSwap(&other->userslists_);
- strcurrentlogin_.Swap(&other->strcurrentlogin_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_AllLoginUsers::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_AllLoginUsers_descriptor_;
- metadata.reflection = XPhone_AllLoginUsers_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_AllLoginUsers
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_AllLoginUsers::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_AllLoginUsers::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_AllLoginUsers::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AllLoginUsers.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AllLoginUsers::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AllLoginUsers.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AllLoginUsers::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_AllLoginUsers::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AllLoginUsers.head)
- }
- // repeated .XPhonePlus.XPhone_LoginUserinfo usersLists = 2;
- int XPhone_AllLoginUsers::userslists_size() const {
- return userslists_.size();
- }
- void XPhone_AllLoginUsers::clear_userslists() {
- userslists_.Clear();
- }
- const ::XPhonePlus::XPhone_LoginUserinfo& XPhone_AllLoginUsers::userslists(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AllLoginUsers.usersLists)
- return userslists_.Get(index);
- }
- ::XPhonePlus::XPhone_LoginUserinfo* XPhone_AllLoginUsers::mutable_userslists(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AllLoginUsers.usersLists)
- return userslists_.Mutable(index);
- }
- ::XPhonePlus::XPhone_LoginUserinfo* XPhone_AllLoginUsers::add_userslists() {
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_AllLoginUsers.usersLists)
- return userslists_.Add();
- }
- ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_LoginUserinfo >*
- XPhone_AllLoginUsers::mutable_userslists() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_AllLoginUsers.usersLists)
- return &userslists_;
- }
- const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_LoginUserinfo >&
- XPhone_AllLoginUsers::userslists() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_AllLoginUsers.usersLists)
- return userslists_;
- }
- // optional string strCurrentLogin = 3;
- void XPhone_AllLoginUsers::clear_strcurrentlogin() {
- strcurrentlogin_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_AllLoginUsers::strcurrentlogin() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
- return strcurrentlogin_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AllLoginUsers::set_strcurrentlogin(const ::std::string& value) {
-
- strcurrentlogin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
- }
- void XPhone_AllLoginUsers::set_strcurrentlogin(const char* value) {
-
- strcurrentlogin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
- }
- void XPhone_AllLoginUsers::set_strcurrentlogin(const char* value, size_t size) {
-
- strcurrentlogin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
- }
- ::std::string* XPhone_AllLoginUsers::mutable_strcurrentlogin() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
- return strcurrentlogin_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_AllLoginUsers::release_strcurrentlogin() {
-
- return strcurrentlogin_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AllLoginUsers::set_allocated_strcurrentlogin(::std::string* strcurrentlogin) {
- if (strcurrentlogin != NULL) {
-
- } else {
-
- }
- strcurrentlogin_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcurrentlogin);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AllLoginUsers.strCurrentLogin)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_SystemLoginReq::kHeadFieldNumber;
- const int XPhone_SystemLoginReq::kStrUserNameFieldNumber;
- const int XPhone_SystemLoginReq::kStrpasswdFieldNumber;
- const int XPhone_SystemLoginReq::kMachinecodeFieldNumber;
- const int XPhone_SystemLoginReq::kSoftverFieldNumber;
- const int XPhone_SystemLoginReq::kStrChannelFieldNumber;
- const int XPhone_SystemLoginReq::kTimespanFieldNumber;
- #endif // !_MSC_VER
- XPhone_SystemLoginReq::XPhone_SystemLoginReq()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SystemLoginReq)
- }
- void XPhone_SystemLoginReq::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_SystemLoginReq::XPhone_SystemLoginReq(const XPhone_SystemLoginReq& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SystemLoginReq)
- }
- void XPhone_SystemLoginReq::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strpasswd_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- machinecode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- softver_ = 0;
- strchannel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- timespan_ = 0;
- }
- XPhone_SystemLoginReq::~XPhone_SystemLoginReq() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SystemLoginReq)
- SharedDtor();
- }
- void XPhone_SystemLoginReq::SharedDtor() {
- strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strpasswd_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- machinecode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strchannel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_SystemLoginReq::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_SystemLoginReq::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_SystemLoginReq_descriptor_;
- }
- const XPhone_SystemLoginReq& XPhone_SystemLoginReq::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_SystemLoginReq* XPhone_SystemLoginReq::default_instance_ = NULL;
- XPhone_SystemLoginReq* XPhone_SystemLoginReq::New(::google::protobuf::Arena* arena) const {
- XPhone_SystemLoginReq* n = new XPhone_SystemLoginReq;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_SystemLoginReq::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_SystemLoginReq*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(softver_, timespan_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strpasswd_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_SystemLoginReq::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SystemLoginReq)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strUserName;
- break;
- }
- // optional string strUserName = 2;
- case 2: {
- if (tag == 18) {
- parse_strUserName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strusername()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SystemLoginReq.strUserName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strpasswd;
- break;
- }
- // optional string strpasswd = 3;
- case 3: {
- if (tag == 26) {
- parse_strpasswd:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strpasswd()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strpasswd().data(), this->strpasswd().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SystemLoginReq.strpasswd"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(34)) goto parse_machinecode;
- break;
- }
- // optional string machinecode = 4;
- case 4: {
- if (tag == 34) {
- parse_machinecode:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_machinecode()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->machinecode().data(), this->machinecode().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SystemLoginReq.machinecode"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(40)) goto parse_softver;
- break;
- }
- // optional int32 softver = 5;
- case 5: {
- if (tag == 40) {
- parse_softver:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &softver_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(50)) goto parse_strChannel;
- break;
- }
- // optional string strChannel = 6;
- case 6: {
- if (tag == 50) {
- parse_strChannel:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strchannel()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SystemLoginReq.strChannel"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(56)) goto parse_timespan;
- break;
- }
- // optional int32 timespan = 7;
- case 7: {
- if (tag == 56) {
- parse_timespan:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, ×pan_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SystemLoginReq)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SystemLoginReq)
- return false;
- #undef DO_
- }
- void XPhone_SystemLoginReq::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SystemLoginReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemLoginReq.strUserName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strusername(), output);
- }
- // optional string strpasswd = 3;
- if (this->strpasswd().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strpasswd().data(), this->strpasswd().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemLoginReq.strpasswd");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strpasswd(), output);
- }
- // optional string machinecode = 4;
- if (this->machinecode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->machinecode().data(), this->machinecode().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemLoginReq.machinecode");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 4, this->machinecode(), output);
- }
- // optional int32 softver = 5;
- if (this->softver() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->softver(), output);
- }
- // optional string strChannel = 6;
- if (this->strchannel().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemLoginReq.strChannel");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 6, this->strchannel(), output);
- }
- // optional int32 timespan = 7;
- if (this->timespan() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->timespan(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SystemLoginReq)
- }
- ::google::protobuf::uint8* XPhone_SystemLoginReq::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SystemLoginReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemLoginReq.strUserName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strusername(), target);
- }
- // optional string strpasswd = 3;
- if (this->strpasswd().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strpasswd().data(), this->strpasswd().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemLoginReq.strpasswd");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strpasswd(), target);
- }
- // optional string machinecode = 4;
- if (this->machinecode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->machinecode().data(), this->machinecode().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemLoginReq.machinecode");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 4, this->machinecode(), target);
- }
- // optional int32 softver = 5;
- if (this->softver() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->softver(), target);
- }
- // optional string strChannel = 6;
- if (this->strchannel().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemLoginReq.strChannel");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 6, this->strchannel(), target);
- }
- // optional int32 timespan = 7;
- if (this->timespan() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->timespan(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SystemLoginReq)
- return target;
- }
- int XPhone_SystemLoginReq::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strusername());
- }
- // optional string strpasswd = 3;
- if (this->strpasswd().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strpasswd());
- }
- // optional string machinecode = 4;
- if (this->machinecode().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->machinecode());
- }
- // optional int32 softver = 5;
- if (this->softver() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->softver());
- }
- // optional string strChannel = 6;
- if (this->strchannel().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strchannel());
- }
- // optional int32 timespan = 7;
- if (this->timespan() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->timespan());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_SystemLoginReq::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_SystemLoginReq* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SystemLoginReq>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_SystemLoginReq::MergeFrom(const XPhone_SystemLoginReq& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strusername().size() > 0) {
- strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
- }
- if (from.strpasswd().size() > 0) {
- strpasswd_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strpasswd_);
- }
- if (from.machinecode().size() > 0) {
- machinecode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.machinecode_);
- }
- if (from.softver() != 0) {
- set_softver(from.softver());
- }
- if (from.strchannel().size() > 0) {
- strchannel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strchannel_);
- }
- if (from.timespan() != 0) {
- set_timespan(from.timespan());
- }
- }
- void XPhone_SystemLoginReq::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_SystemLoginReq::CopyFrom(const XPhone_SystemLoginReq& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_SystemLoginReq::IsInitialized() const {
- return true;
- }
- void XPhone_SystemLoginReq::Swap(XPhone_SystemLoginReq* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_SystemLoginReq::InternalSwap(XPhone_SystemLoginReq* other) {
- std::swap(head_, other->head_);
- strusername_.Swap(&other->strusername_);
- strpasswd_.Swap(&other->strpasswd_);
- machinecode_.Swap(&other->machinecode_);
- std::swap(softver_, other->softver_);
- strchannel_.Swap(&other->strchannel_);
- std::swap(timespan_, other->timespan_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_SystemLoginReq::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_SystemLoginReq_descriptor_;
- metadata.reflection = XPhone_SystemLoginReq_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_SystemLoginReq
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_SystemLoginReq::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_SystemLoginReq::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_SystemLoginReq::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SystemLoginReq::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginReq.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SystemLoginReq::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_SystemLoginReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginReq.head)
- }
- // optional string strUserName = 2;
- void XPhone_SystemLoginReq::clear_strusername() {
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SystemLoginReq::strusername() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.strUserName)
- return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemLoginReq::set_strusername(const ::std::string& value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.strUserName)
- }
- void XPhone_SystemLoginReq::set_strusername(const char* value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemLoginReq.strUserName)
- }
- void XPhone_SystemLoginReq::set_strusername(const char* value, size_t size) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemLoginReq.strUserName)
- }
- ::std::string* XPhone_SystemLoginReq::mutable_strusername() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginReq.strUserName)
- return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SystemLoginReq::release_strusername() {
-
- return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemLoginReq::set_allocated_strusername(::std::string* strusername) {
- if (strusername != NULL) {
-
- } else {
-
- }
- strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginReq.strUserName)
- }
- // optional string strpasswd = 3;
- void XPhone_SystemLoginReq::clear_strpasswd() {
- strpasswd_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SystemLoginReq::strpasswd() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
- return strpasswd_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemLoginReq::set_strpasswd(const ::std::string& value) {
-
- strpasswd_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
- }
- void XPhone_SystemLoginReq::set_strpasswd(const char* value) {
-
- strpasswd_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
- }
- void XPhone_SystemLoginReq::set_strpasswd(const char* value, size_t size) {
-
- strpasswd_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
- }
- ::std::string* XPhone_SystemLoginReq::mutable_strpasswd() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
- return strpasswd_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SystemLoginReq::release_strpasswd() {
-
- return strpasswd_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemLoginReq::set_allocated_strpasswd(::std::string* strpasswd) {
- if (strpasswd != NULL) {
-
- } else {
-
- }
- strpasswd_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strpasswd);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginReq.strpasswd)
- }
- // optional string machinecode = 4;
- void XPhone_SystemLoginReq::clear_machinecode() {
- machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SystemLoginReq::machinecode() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.machinecode)
- return machinecode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemLoginReq::set_machinecode(const ::std::string& value) {
-
- machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.machinecode)
- }
- void XPhone_SystemLoginReq::set_machinecode(const char* value) {
-
- machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemLoginReq.machinecode)
- }
- void XPhone_SystemLoginReq::set_machinecode(const char* value, size_t size) {
-
- machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemLoginReq.machinecode)
- }
- ::std::string* XPhone_SystemLoginReq::mutable_machinecode() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginReq.machinecode)
- return machinecode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SystemLoginReq::release_machinecode() {
-
- return machinecode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemLoginReq::set_allocated_machinecode(::std::string* machinecode) {
- if (machinecode != NULL) {
-
- } else {
-
- }
- machinecode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), machinecode);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginReq.machinecode)
- }
- // optional int32 softver = 5;
- void XPhone_SystemLoginReq::clear_softver() {
- softver_ = 0;
- }
- ::google::protobuf::int32 XPhone_SystemLoginReq::softver() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.softver)
- return softver_;
- }
- void XPhone_SystemLoginReq::set_softver(::google::protobuf::int32 value) {
-
- softver_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.softver)
- }
- // optional string strChannel = 6;
- void XPhone_SystemLoginReq::clear_strchannel() {
- strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SystemLoginReq::strchannel() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.strChannel)
- return strchannel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemLoginReq::set_strchannel(const ::std::string& value) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.strChannel)
- }
- void XPhone_SystemLoginReq::set_strchannel(const char* value) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemLoginReq.strChannel)
- }
- void XPhone_SystemLoginReq::set_strchannel(const char* value, size_t size) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemLoginReq.strChannel)
- }
- ::std::string* XPhone_SystemLoginReq::mutable_strchannel() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginReq.strChannel)
- return strchannel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SystemLoginReq::release_strchannel() {
-
- return strchannel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemLoginReq::set_allocated_strchannel(::std::string* strchannel) {
- if (strchannel != NULL) {
-
- } else {
-
- }
- strchannel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strchannel);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginReq.strChannel)
- }
- // optional int32 timespan = 7;
- void XPhone_SystemLoginReq::clear_timespan() {
- timespan_ = 0;
- }
- ::google::protobuf::int32 XPhone_SystemLoginReq::timespan() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginReq.timespan)
- return timespan_;
- }
- void XPhone_SystemLoginReq::set_timespan(::google::protobuf::int32 value) {
-
- timespan_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginReq.timespan)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_SystemLoginRsp::kHeadFieldNumber;
- const int XPhone_SystemLoginRsp::kErrcodeFieldNumber;
- const int XPhone_SystemLoginRsp::kTotalcontrolFieldNumber;
- const int XPhone_SystemLoginRsp::kRemaincontrolFieldNumber;
- const int XPhone_SystemLoginRsp::kHashcodeFieldNumber;
- #endif // !_MSC_VER
- XPhone_SystemLoginRsp::XPhone_SystemLoginRsp()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SystemLoginRsp)
- }
- void XPhone_SystemLoginRsp::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_SystemLoginRsp::XPhone_SystemLoginRsp(const XPhone_SystemLoginRsp& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SystemLoginRsp)
- }
- void XPhone_SystemLoginRsp::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- errcode_ = 0;
- totalcontrol_ = 0;
- remaincontrol_ = 0;
- hashcode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_SystemLoginRsp::~XPhone_SystemLoginRsp() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SystemLoginRsp)
- SharedDtor();
- }
- void XPhone_SystemLoginRsp::SharedDtor() {
- hashcode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_SystemLoginRsp::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_SystemLoginRsp::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_SystemLoginRsp_descriptor_;
- }
- const XPhone_SystemLoginRsp& XPhone_SystemLoginRsp::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_SystemLoginRsp* XPhone_SystemLoginRsp::default_instance_ = NULL;
- XPhone_SystemLoginRsp* XPhone_SystemLoginRsp::New(::google::protobuf::Arena* arena) const {
- XPhone_SystemLoginRsp* n = new XPhone_SystemLoginRsp;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_SystemLoginRsp::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_SystemLoginRsp*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(errcode_, totalcontrol_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- remaincontrol_ = 0;
- hashcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_SystemLoginRsp::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SystemLoginRsp)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_errcode;
- break;
- }
- // optional int32 errcode = 2;
- case 2: {
- if (tag == 16) {
- parse_errcode:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &errcode_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_totalcontrol;
- break;
- }
- // optional int32 totalcontrol = 3;
- case 3: {
- if (tag == 24) {
- parse_totalcontrol:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &totalcontrol_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_remaincontrol;
- break;
- }
- // optional int32 remaincontrol = 4;
- case 4: {
- if (tag == 32) {
- parse_remaincontrol:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &remaincontrol_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(42)) goto parse_hashcode;
- break;
- }
- // optional string hashcode = 5;
- case 5: {
- if (tag == 42) {
- parse_hashcode:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_hashcode()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->hashcode().data(), this->hashcode().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SystemLoginRsp.hashcode"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SystemLoginRsp)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SystemLoginRsp)
- return false;
- #undef DO_
- }
- void XPhone_SystemLoginRsp::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SystemLoginRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 errcode = 2;
- if (this->errcode() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->errcode(), output);
- }
- // optional int32 totalcontrol = 3;
- if (this->totalcontrol() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->totalcontrol(), output);
- }
- // optional int32 remaincontrol = 4;
- if (this->remaincontrol() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->remaincontrol(), output);
- }
- // optional string hashcode = 5;
- if (this->hashcode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->hashcode().data(), this->hashcode().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemLoginRsp.hashcode");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->hashcode(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SystemLoginRsp)
- }
- ::google::protobuf::uint8* XPhone_SystemLoginRsp::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SystemLoginRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 errcode = 2;
- if (this->errcode() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->errcode(), target);
- }
- // optional int32 totalcontrol = 3;
- if (this->totalcontrol() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->totalcontrol(), target);
- }
- // optional int32 remaincontrol = 4;
- if (this->remaincontrol() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->remaincontrol(), target);
- }
- // optional string hashcode = 5;
- if (this->hashcode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->hashcode().data(), this->hashcode().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemLoginRsp.hashcode");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->hashcode(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SystemLoginRsp)
- return target;
- }
- int XPhone_SystemLoginRsp::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 errcode = 2;
- if (this->errcode() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->errcode());
- }
- // optional int32 totalcontrol = 3;
- if (this->totalcontrol() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->totalcontrol());
- }
- // optional int32 remaincontrol = 4;
- if (this->remaincontrol() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->remaincontrol());
- }
- // optional string hashcode = 5;
- if (this->hashcode().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->hashcode());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_SystemLoginRsp::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_SystemLoginRsp* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SystemLoginRsp>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_SystemLoginRsp::MergeFrom(const XPhone_SystemLoginRsp& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.errcode() != 0) {
- set_errcode(from.errcode());
- }
- if (from.totalcontrol() != 0) {
- set_totalcontrol(from.totalcontrol());
- }
- if (from.remaincontrol() != 0) {
- set_remaincontrol(from.remaincontrol());
- }
- if (from.hashcode().size() > 0) {
- hashcode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hashcode_);
- }
- }
- void XPhone_SystemLoginRsp::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_SystemLoginRsp::CopyFrom(const XPhone_SystemLoginRsp& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_SystemLoginRsp::IsInitialized() const {
- return true;
- }
- void XPhone_SystemLoginRsp::Swap(XPhone_SystemLoginRsp* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_SystemLoginRsp::InternalSwap(XPhone_SystemLoginRsp* other) {
- std::swap(head_, other->head_);
- std::swap(errcode_, other->errcode_);
- std::swap(totalcontrol_, other->totalcontrol_);
- std::swap(remaincontrol_, other->remaincontrol_);
- hashcode_.Swap(&other->hashcode_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_SystemLoginRsp::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_SystemLoginRsp_descriptor_;
- metadata.reflection = XPhone_SystemLoginRsp_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_SystemLoginRsp
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_SystemLoginRsp::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_SystemLoginRsp::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_SystemLoginRsp::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginRsp.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SystemLoginRsp::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginRsp.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SystemLoginRsp::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_SystemLoginRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginRsp.head)
- }
- // optional int32 errcode = 2;
- void XPhone_SystemLoginRsp::clear_errcode() {
- errcode_ = 0;
- }
- ::google::protobuf::int32 XPhone_SystemLoginRsp::errcode() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginRsp.errcode)
- return errcode_;
- }
- void XPhone_SystemLoginRsp::set_errcode(::google::protobuf::int32 value) {
-
- errcode_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginRsp.errcode)
- }
- // optional int32 totalcontrol = 3;
- void XPhone_SystemLoginRsp::clear_totalcontrol() {
- totalcontrol_ = 0;
- }
- ::google::protobuf::int32 XPhone_SystemLoginRsp::totalcontrol() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginRsp.totalcontrol)
- return totalcontrol_;
- }
- void XPhone_SystemLoginRsp::set_totalcontrol(::google::protobuf::int32 value) {
-
- totalcontrol_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginRsp.totalcontrol)
- }
- // optional int32 remaincontrol = 4;
- void XPhone_SystemLoginRsp::clear_remaincontrol() {
- remaincontrol_ = 0;
- }
- ::google::protobuf::int32 XPhone_SystemLoginRsp::remaincontrol() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginRsp.remaincontrol)
- return remaincontrol_;
- }
- void XPhone_SystemLoginRsp::set_remaincontrol(::google::protobuf::int32 value) {
-
- remaincontrol_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginRsp.remaincontrol)
- }
- // optional string hashcode = 5;
- void XPhone_SystemLoginRsp::clear_hashcode() {
- hashcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SystemLoginRsp::hashcode() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
- return hashcode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemLoginRsp::set_hashcode(const ::std::string& value) {
-
- hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
- }
- void XPhone_SystemLoginRsp::set_hashcode(const char* value) {
-
- hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
- }
- void XPhone_SystemLoginRsp::set_hashcode(const char* value, size_t size) {
-
- hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
- }
- ::std::string* XPhone_SystemLoginRsp::mutable_hashcode() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
- return hashcode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SystemLoginRsp::release_hashcode() {
-
- return hashcode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemLoginRsp::set_allocated_hashcode(::std::string* hashcode) {
- if (hashcode != NULL) {
-
- } else {
-
- }
- hashcode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hashcode);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemLoginRsp.hashcode)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_SystemUpdateReq::kHeadFieldNumber;
- const int XPhone_SystemUpdateReq::kStrUserNameFieldNumber;
- const int XPhone_SystemUpdateReq::kMachinecodeFieldNumber;
- const int XPhone_SystemUpdateReq::kSoftverFieldNumber;
- const int XPhone_SystemUpdateReq::kStrChannelFieldNumber;
- #endif // !_MSC_VER
- XPhone_SystemUpdateReq::XPhone_SystemUpdateReq()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SystemUpdateReq)
- }
- void XPhone_SystemUpdateReq::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_SystemUpdateReq::XPhone_SystemUpdateReq(const XPhone_SystemUpdateReq& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SystemUpdateReq)
- }
- void XPhone_SystemUpdateReq::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- machinecode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- softver_ = 0;
- strchannel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_SystemUpdateReq::~XPhone_SystemUpdateReq() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SystemUpdateReq)
- SharedDtor();
- }
- void XPhone_SystemUpdateReq::SharedDtor() {
- strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- machinecode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strchannel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_SystemUpdateReq::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_SystemUpdateReq::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_SystemUpdateReq_descriptor_;
- }
- const XPhone_SystemUpdateReq& XPhone_SystemUpdateReq::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_SystemUpdateReq* XPhone_SystemUpdateReq::default_instance_ = NULL;
- XPhone_SystemUpdateReq* XPhone_SystemUpdateReq::New(::google::protobuf::Arena* arena) const {
- XPhone_SystemUpdateReq* n = new XPhone_SystemUpdateReq;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_SystemUpdateReq::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- softver_ = 0;
- strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_SystemUpdateReq::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SystemUpdateReq)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strUserName;
- break;
- }
- // optional string strUserName = 2;
- case 2: {
- if (tag == 18) {
- parse_strUserName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strusername()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SystemUpdateReq.strUserName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_machinecode;
- break;
- }
- // optional string machinecode = 3;
- case 3: {
- if (tag == 26) {
- parse_machinecode:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_machinecode()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->machinecode().data(), this->machinecode().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SystemUpdateReq.machinecode"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_softver;
- break;
- }
- // optional int32 softver = 4;
- case 4: {
- if (tag == 32) {
- parse_softver:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &softver_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(42)) goto parse_strChannel;
- break;
- }
- // optional string strChannel = 5;
- case 5: {
- if (tag == 42) {
- parse_strChannel:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strchannel()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SystemUpdateReq.strChannel"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SystemUpdateReq)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SystemUpdateReq)
- return false;
- #undef DO_
- }
- void XPhone_SystemUpdateReq::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SystemUpdateReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemUpdateReq.strUserName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strusername(), output);
- }
- // optional string machinecode = 3;
- if (this->machinecode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->machinecode().data(), this->machinecode().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemUpdateReq.machinecode");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->machinecode(), output);
- }
- // optional int32 softver = 4;
- if (this->softver() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->softver(), output);
- }
- // optional string strChannel = 5;
- if (this->strchannel().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemUpdateReq.strChannel");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->strchannel(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SystemUpdateReq)
- }
- ::google::protobuf::uint8* XPhone_SystemUpdateReq::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SystemUpdateReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemUpdateReq.strUserName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strusername(), target);
- }
- // optional string machinecode = 3;
- if (this->machinecode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->machinecode().data(), this->machinecode().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemUpdateReq.machinecode");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->machinecode(), target);
- }
- // optional int32 softver = 4;
- if (this->softver() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->softver(), target);
- }
- // optional string strChannel = 5;
- if (this->strchannel().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemUpdateReq.strChannel");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->strchannel(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SystemUpdateReq)
- return target;
- }
- int XPhone_SystemUpdateReq::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strusername());
- }
- // optional string machinecode = 3;
- if (this->machinecode().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->machinecode());
- }
- // optional int32 softver = 4;
- if (this->softver() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->softver());
- }
- // optional string strChannel = 5;
- if (this->strchannel().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strchannel());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_SystemUpdateReq::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_SystemUpdateReq* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SystemUpdateReq>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_SystemUpdateReq::MergeFrom(const XPhone_SystemUpdateReq& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strusername().size() > 0) {
- strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
- }
- if (from.machinecode().size() > 0) {
- machinecode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.machinecode_);
- }
- if (from.softver() != 0) {
- set_softver(from.softver());
- }
- if (from.strchannel().size() > 0) {
- strchannel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strchannel_);
- }
- }
- void XPhone_SystemUpdateReq::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_SystemUpdateReq::CopyFrom(const XPhone_SystemUpdateReq& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_SystemUpdateReq::IsInitialized() const {
- return true;
- }
- void XPhone_SystemUpdateReq::Swap(XPhone_SystemUpdateReq* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_SystemUpdateReq::InternalSwap(XPhone_SystemUpdateReq* other) {
- std::swap(head_, other->head_);
- strusername_.Swap(&other->strusername_);
- machinecode_.Swap(&other->machinecode_);
- std::swap(softver_, other->softver_);
- strchannel_.Swap(&other->strchannel_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_SystemUpdateReq::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_SystemUpdateReq_descriptor_;
- metadata.reflection = XPhone_SystemUpdateReq_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_SystemUpdateReq
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_SystemUpdateReq::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_SystemUpdateReq::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_SystemUpdateReq::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateReq.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SystemUpdateReq::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateReq.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SystemUpdateReq::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_SystemUpdateReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateReq.head)
- }
- // optional string strUserName = 2;
- void XPhone_SystemUpdateReq::clear_strusername() {
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SystemUpdateReq::strusername() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
- return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemUpdateReq::set_strusername(const ::std::string& value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
- }
- void XPhone_SystemUpdateReq::set_strusername(const char* value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
- }
- void XPhone_SystemUpdateReq::set_strusername(const char* value, size_t size) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
- }
- ::std::string* XPhone_SystemUpdateReq::mutable_strusername() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
- return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SystemUpdateReq::release_strusername() {
-
- return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemUpdateReq::set_allocated_strusername(::std::string* strusername) {
- if (strusername != NULL) {
-
- } else {
-
- }
- strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateReq.strUserName)
- }
- // optional string machinecode = 3;
- void XPhone_SystemUpdateReq::clear_machinecode() {
- machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SystemUpdateReq::machinecode() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
- return machinecode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemUpdateReq::set_machinecode(const ::std::string& value) {
-
- machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
- }
- void XPhone_SystemUpdateReq::set_machinecode(const char* value) {
-
- machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
- }
- void XPhone_SystemUpdateReq::set_machinecode(const char* value, size_t size) {
-
- machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
- }
- ::std::string* XPhone_SystemUpdateReq::mutable_machinecode() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
- return machinecode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SystemUpdateReq::release_machinecode() {
-
- return machinecode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemUpdateReq::set_allocated_machinecode(::std::string* machinecode) {
- if (machinecode != NULL) {
-
- } else {
-
- }
- machinecode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), machinecode);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateReq.machinecode)
- }
- // optional int32 softver = 4;
- void XPhone_SystemUpdateReq::clear_softver() {
- softver_ = 0;
- }
- ::google::protobuf::int32 XPhone_SystemUpdateReq::softver() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateReq.softver)
- return softver_;
- }
- void XPhone_SystemUpdateReq::set_softver(::google::protobuf::int32 value) {
-
- softver_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateReq.softver)
- }
- // optional string strChannel = 5;
- void XPhone_SystemUpdateReq::clear_strchannel() {
- strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SystemUpdateReq::strchannel() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
- return strchannel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemUpdateReq::set_strchannel(const ::std::string& value) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
- }
- void XPhone_SystemUpdateReq::set_strchannel(const char* value) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
- }
- void XPhone_SystemUpdateReq::set_strchannel(const char* value, size_t size) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
- }
- ::std::string* XPhone_SystemUpdateReq::mutable_strchannel() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
- return strchannel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SystemUpdateReq::release_strchannel() {
-
- return strchannel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemUpdateReq::set_allocated_strchannel(::std::string* strchannel) {
- if (strchannel != NULL) {
-
- } else {
-
- }
- strchannel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strchannel);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateReq.strChannel)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_SystemUpdateRsp::kHeadFieldNumber;
- const int XPhone_SystemUpdateRsp::kIUpdateTypeFieldNumber;
- const int XPhone_SystemUpdateRsp::kStrPackageURLFieldNumber;
- const int XPhone_SystemUpdateRsp::kIUpdateVerFieldNumber;
- const int XPhone_SystemUpdateRsp::kStrMD5FieldNumber;
- #endif // !_MSC_VER
- XPhone_SystemUpdateRsp::XPhone_SystemUpdateRsp()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_SystemUpdateRsp)
- }
- void XPhone_SystemUpdateRsp::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_SystemUpdateRsp::XPhone_SystemUpdateRsp(const XPhone_SystemUpdateRsp& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_SystemUpdateRsp)
- }
- void XPhone_SystemUpdateRsp::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- iupdatetype_ = 0;
- strpackageurl_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- iupdatever_ = 0;
- strmd5_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_SystemUpdateRsp::~XPhone_SystemUpdateRsp() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_SystemUpdateRsp)
- SharedDtor();
- }
- void XPhone_SystemUpdateRsp::SharedDtor() {
- strpackageurl_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strmd5_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_SystemUpdateRsp::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_SystemUpdateRsp::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_SystemUpdateRsp_descriptor_;
- }
- const XPhone_SystemUpdateRsp& XPhone_SystemUpdateRsp::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_SystemUpdateRsp* XPhone_SystemUpdateRsp::default_instance_ = NULL;
- XPhone_SystemUpdateRsp* XPhone_SystemUpdateRsp::New(::google::protobuf::Arena* arena) const {
- XPhone_SystemUpdateRsp* n = new XPhone_SystemUpdateRsp;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_SystemUpdateRsp::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_SystemUpdateRsp*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(iupdatetype_, iupdatever_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strpackageurl_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strmd5_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_SystemUpdateRsp::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_SystemUpdateRsp)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_iUpdateType;
- break;
- }
- // optional int32 iUpdateType = 2;
- case 2: {
- if (tag == 16) {
- parse_iUpdateType:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &iupdatetype_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strPackageURL;
- break;
- }
- // optional string strPackageURL = 3;
- case 3: {
- if (tag == 26) {
- parse_strPackageURL:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strpackageurl()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strpackageurl().data(), this->strpackageurl().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_iUpdateVer;
- break;
- }
- // optional int32 iUpdateVer = 4;
- case 4: {
- if (tag == 32) {
- parse_iUpdateVer:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &iupdatever_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(42)) goto parse_strMD5;
- break;
- }
- // optional string strMD5 = 5;
- case 5: {
- if (tag == 42) {
- parse_strMD5:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strmd5()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strmd5().data(), this->strmd5().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_SystemUpdateRsp.strMD5"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_SystemUpdateRsp)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_SystemUpdateRsp)
- return false;
- #undef DO_
- }
- void XPhone_SystemUpdateRsp::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_SystemUpdateRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 iUpdateType = 2;
- if (this->iupdatetype() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->iupdatetype(), output);
- }
- // optional string strPackageURL = 3;
- if (this->strpackageurl().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strpackageurl().data(), this->strpackageurl().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strpackageurl(), output);
- }
- // optional int32 iUpdateVer = 4;
- if (this->iupdatever() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->iupdatever(), output);
- }
- // optional string strMD5 = 5;
- if (this->strmd5().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strmd5().data(), this->strmd5().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemUpdateRsp.strMD5");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->strmd5(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_SystemUpdateRsp)
- }
- ::google::protobuf::uint8* XPhone_SystemUpdateRsp::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_SystemUpdateRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 iUpdateType = 2;
- if (this->iupdatetype() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->iupdatetype(), target);
- }
- // optional string strPackageURL = 3;
- if (this->strpackageurl().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strpackageurl().data(), this->strpackageurl().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strpackageurl(), target);
- }
- // optional int32 iUpdateVer = 4;
- if (this->iupdatever() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->iupdatever(), target);
- }
- // optional string strMD5 = 5;
- if (this->strmd5().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strmd5().data(), this->strmd5().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_SystemUpdateRsp.strMD5");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->strmd5(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_SystemUpdateRsp)
- return target;
- }
- int XPhone_SystemUpdateRsp::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 iUpdateType = 2;
- if (this->iupdatetype() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->iupdatetype());
- }
- // optional string strPackageURL = 3;
- if (this->strpackageurl().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strpackageurl());
- }
- // optional int32 iUpdateVer = 4;
- if (this->iupdatever() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->iupdatever());
- }
- // optional string strMD5 = 5;
- if (this->strmd5().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strmd5());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_SystemUpdateRsp::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_SystemUpdateRsp* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_SystemUpdateRsp>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_SystemUpdateRsp::MergeFrom(const XPhone_SystemUpdateRsp& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.iupdatetype() != 0) {
- set_iupdatetype(from.iupdatetype());
- }
- if (from.strpackageurl().size() > 0) {
- strpackageurl_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strpackageurl_);
- }
- if (from.iupdatever() != 0) {
- set_iupdatever(from.iupdatever());
- }
- if (from.strmd5().size() > 0) {
- strmd5_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strmd5_);
- }
- }
- void XPhone_SystemUpdateRsp::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_SystemUpdateRsp::CopyFrom(const XPhone_SystemUpdateRsp& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_SystemUpdateRsp::IsInitialized() const {
- return true;
- }
- void XPhone_SystemUpdateRsp::Swap(XPhone_SystemUpdateRsp* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_SystemUpdateRsp::InternalSwap(XPhone_SystemUpdateRsp* other) {
- std::swap(head_, other->head_);
- std::swap(iupdatetype_, other->iupdatetype_);
- strpackageurl_.Swap(&other->strpackageurl_);
- std::swap(iupdatever_, other->iupdatever_);
- strmd5_.Swap(&other->strmd5_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_SystemUpdateRsp::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_SystemUpdateRsp_descriptor_;
- metadata.reflection = XPhone_SystemUpdateRsp_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_SystemUpdateRsp
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_SystemUpdateRsp::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_SystemUpdateRsp::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_SystemUpdateRsp::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateRsp.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SystemUpdateRsp::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateRsp.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_SystemUpdateRsp::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_SystemUpdateRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateRsp.head)
- }
- // optional int32 iUpdateType = 2;
- void XPhone_SystemUpdateRsp::clear_iupdatetype() {
- iupdatetype_ = 0;
- }
- ::google::protobuf::int32 XPhone_SystemUpdateRsp::iupdatetype() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateRsp.iUpdateType)
- return iupdatetype_;
- }
- void XPhone_SystemUpdateRsp::set_iupdatetype(::google::protobuf::int32 value) {
-
- iupdatetype_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateRsp.iUpdateType)
- }
- // optional string strPackageURL = 3;
- void XPhone_SystemUpdateRsp::clear_strpackageurl() {
- strpackageurl_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SystemUpdateRsp::strpackageurl() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
- return strpackageurl_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemUpdateRsp::set_strpackageurl(const ::std::string& value) {
-
- strpackageurl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
- }
- void XPhone_SystemUpdateRsp::set_strpackageurl(const char* value) {
-
- strpackageurl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
- }
- void XPhone_SystemUpdateRsp::set_strpackageurl(const char* value, size_t size) {
-
- strpackageurl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
- }
- ::std::string* XPhone_SystemUpdateRsp::mutable_strpackageurl() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
- return strpackageurl_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SystemUpdateRsp::release_strpackageurl() {
-
- return strpackageurl_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemUpdateRsp::set_allocated_strpackageurl(::std::string* strpackageurl) {
- if (strpackageurl != NULL) {
-
- } else {
-
- }
- strpackageurl_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strpackageurl);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateRsp.strPackageURL)
- }
- // optional int32 iUpdateVer = 4;
- void XPhone_SystemUpdateRsp::clear_iupdatever() {
- iupdatever_ = 0;
- }
- ::google::protobuf::int32 XPhone_SystemUpdateRsp::iupdatever() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateRsp.iUpdateVer)
- return iupdatever_;
- }
- void XPhone_SystemUpdateRsp::set_iupdatever(::google::protobuf::int32 value) {
-
- iupdatever_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateRsp.iUpdateVer)
- }
- // optional string strMD5 = 5;
- void XPhone_SystemUpdateRsp::clear_strmd5() {
- strmd5_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_SystemUpdateRsp::strmd5() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
- return strmd5_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemUpdateRsp::set_strmd5(const ::std::string& value) {
-
- strmd5_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
- }
- void XPhone_SystemUpdateRsp::set_strmd5(const char* value) {
-
- strmd5_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
- }
- void XPhone_SystemUpdateRsp::set_strmd5(const char* value, size_t size) {
-
- strmd5_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
- }
- ::std::string* XPhone_SystemUpdateRsp::mutable_strmd5() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
- return strmd5_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_SystemUpdateRsp::release_strmd5() {
-
- return strmd5_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_SystemUpdateRsp::set_allocated_strmd5(::std::string* strmd5) {
- if (strmd5 != NULL) {
-
- } else {
-
- }
- strmd5_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strmd5);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_SystemUpdateRsp.strMD5)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_TextInput::kHeadFieldNumber;
- const int XPhone_TextInput::kIInputTypeFieldNumber;
- const int XPhone_TextInput::kStrContentFieldNumber;
- #endif // !_MSC_VER
- XPhone_TextInput::XPhone_TextInput()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_TextInput)
- }
- void XPhone_TextInput::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_TextInput::XPhone_TextInput(const XPhone_TextInput& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_TextInput)
- }
- void XPhone_TextInput::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- iinputtype_ = 0;
- strcontent_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_TextInput::~XPhone_TextInput() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_TextInput)
- SharedDtor();
- }
- void XPhone_TextInput::SharedDtor() {
- strcontent_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_TextInput::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_TextInput::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_TextInput_descriptor_;
- }
- const XPhone_TextInput& XPhone_TextInput::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_TextInput* XPhone_TextInput::default_instance_ = NULL;
- XPhone_TextInput* XPhone_TextInput::New(::google::protobuf::Arena* arena) const {
- XPhone_TextInput* n = new XPhone_TextInput;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_TextInput::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- iinputtype_ = 0;
- strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_TextInput::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_TextInput)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_iInputType;
- break;
- }
- // optional int32 iInputType = 2;
- case 2: {
- if (tag == 16) {
- parse_iInputType:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &iinputtype_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strContent;
- break;
- }
- // optional string strContent = 3;
- case 3: {
- if (tag == 26) {
- parse_strContent:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strcontent()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcontent().data(), this->strcontent().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_TextInput.strContent"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_TextInput)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_TextInput)
- return false;
- #undef DO_
- }
- void XPhone_TextInput::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_TextInput)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 iInputType = 2;
- if (this->iinputtype() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->iinputtype(), output);
- }
- // optional string strContent = 3;
- if (this->strcontent().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcontent().data(), this->strcontent().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_TextInput.strContent");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strcontent(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_TextInput)
- }
- ::google::protobuf::uint8* XPhone_TextInput::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_TextInput)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 iInputType = 2;
- if (this->iinputtype() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->iinputtype(), target);
- }
- // optional string strContent = 3;
- if (this->strcontent().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strcontent().data(), this->strcontent().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_TextInput.strContent");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strcontent(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_TextInput)
- return target;
- }
- int XPhone_TextInput::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 iInputType = 2;
- if (this->iinputtype() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->iinputtype());
- }
- // optional string strContent = 3;
- if (this->strcontent().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strcontent());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_TextInput::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_TextInput* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_TextInput>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_TextInput::MergeFrom(const XPhone_TextInput& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.iinputtype() != 0) {
- set_iinputtype(from.iinputtype());
- }
- if (from.strcontent().size() > 0) {
- strcontent_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strcontent_);
- }
- }
- void XPhone_TextInput::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_TextInput::CopyFrom(const XPhone_TextInput& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_TextInput::IsInitialized() const {
- return true;
- }
- void XPhone_TextInput::Swap(XPhone_TextInput* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_TextInput::InternalSwap(XPhone_TextInput* other) {
- std::swap(head_, other->head_);
- std::swap(iinputtype_, other->iinputtype_);
- strcontent_.Swap(&other->strcontent_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_TextInput::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_TextInput_descriptor_;
- metadata.reflection = XPhone_TextInput_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_TextInput
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_TextInput::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_TextInput::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_TextInput::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TextInput.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_TextInput::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_TextInput.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_TextInput::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_TextInput::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_TextInput.head)
- }
- // optional int32 iInputType = 2;
- void XPhone_TextInput::clear_iinputtype() {
- iinputtype_ = 0;
- }
- ::google::protobuf::int32 XPhone_TextInput::iinputtype() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TextInput.iInputType)
- return iinputtype_;
- }
- void XPhone_TextInput::set_iinputtype(::google::protobuf::int32 value) {
-
- iinputtype_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TextInput.iInputType)
- }
- // optional string strContent = 3;
- void XPhone_TextInput::clear_strcontent() {
- strcontent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_TextInput::strcontent() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_TextInput.strContent)
- return strcontent_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_TextInput::set_strcontent(const ::std::string& value) {
-
- strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_TextInput.strContent)
- }
- void XPhone_TextInput::set_strcontent(const char* value) {
-
- strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_TextInput.strContent)
- }
- void XPhone_TextInput::set_strcontent(const char* value, size_t size) {
-
- strcontent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_TextInput.strContent)
- }
- ::std::string* XPhone_TextInput::mutable_strcontent() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_TextInput.strContent)
- return strcontent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_TextInput::release_strcontent() {
-
- return strcontent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_TextInput::set_allocated_strcontent(::std::string* strcontent) {
- if (strcontent != NULL) {
-
- } else {
-
- }
- strcontent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strcontent);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_TextInput.strContent)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_NoticeReq::kHeadFieldNumber;
- const int XPhone_NoticeReq::kStrChannelFieldNumber;
- const int XPhone_NoticeReq::kIClientVerFieldNumber;
- #endif // !_MSC_VER
- XPhone_NoticeReq::XPhone_NoticeReq()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_NoticeReq)
- }
- void XPhone_NoticeReq::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_NoticeReq::XPhone_NoticeReq(const XPhone_NoticeReq& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_NoticeReq)
- }
- void XPhone_NoticeReq::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strchannel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- iclientver_ = 0;
- }
- XPhone_NoticeReq::~XPhone_NoticeReq() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_NoticeReq)
- SharedDtor();
- }
- void XPhone_NoticeReq::SharedDtor() {
- strchannel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_NoticeReq::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_NoticeReq::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_NoticeReq_descriptor_;
- }
- const XPhone_NoticeReq& XPhone_NoticeReq::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_NoticeReq* XPhone_NoticeReq::default_instance_ = NULL;
- XPhone_NoticeReq* XPhone_NoticeReq::New(::google::protobuf::Arena* arena) const {
- XPhone_NoticeReq* n = new XPhone_NoticeReq;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_NoticeReq::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- iclientver_ = 0;
- }
- bool XPhone_NoticeReq::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_NoticeReq)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strChannel;
- break;
- }
- // optional string strChannel = 2;
- case 2: {
- if (tag == 18) {
- parse_strChannel:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strchannel()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_NoticeReq.strChannel"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_iClientVer;
- break;
- }
- // optional int32 iClientVer = 3;
- case 3: {
- if (tag == 24) {
- parse_iClientVer:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &iclientver_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_NoticeReq)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_NoticeReq)
- return false;
- #undef DO_
- }
- void XPhone_NoticeReq::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_NoticeReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strChannel = 2;
- if (this->strchannel().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_NoticeReq.strChannel");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strchannel(), output);
- }
- // optional int32 iClientVer = 3;
- if (this->iclientver() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->iclientver(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_NoticeReq)
- }
- ::google::protobuf::uint8* XPhone_NoticeReq::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_NoticeReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strChannel = 2;
- if (this->strchannel().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_NoticeReq.strChannel");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strchannel(), target);
- }
- // optional int32 iClientVer = 3;
- if (this->iclientver() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->iclientver(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_NoticeReq)
- return target;
- }
- int XPhone_NoticeReq::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strChannel = 2;
- if (this->strchannel().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strchannel());
- }
- // optional int32 iClientVer = 3;
- if (this->iclientver() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->iclientver());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_NoticeReq::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_NoticeReq* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_NoticeReq>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_NoticeReq::MergeFrom(const XPhone_NoticeReq& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strchannel().size() > 0) {
- strchannel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strchannel_);
- }
- if (from.iclientver() != 0) {
- set_iclientver(from.iclientver());
- }
- }
- void XPhone_NoticeReq::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_NoticeReq::CopyFrom(const XPhone_NoticeReq& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_NoticeReq::IsInitialized() const {
- return true;
- }
- void XPhone_NoticeReq::Swap(XPhone_NoticeReq* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_NoticeReq::InternalSwap(XPhone_NoticeReq* other) {
- std::swap(head_, other->head_);
- strchannel_.Swap(&other->strchannel_);
- std::swap(iclientver_, other->iclientver_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_NoticeReq::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_NoticeReq_descriptor_;
- metadata.reflection = XPhone_NoticeReq_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_NoticeReq
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_NoticeReq::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_NoticeReq::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_NoticeReq::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_NoticeReq.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_NoticeReq::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_NoticeReq.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_NoticeReq::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_NoticeReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_NoticeReq.head)
- }
- // optional string strChannel = 2;
- void XPhone_NoticeReq::clear_strchannel() {
- strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_NoticeReq::strchannel() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_NoticeReq.strChannel)
- return strchannel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_NoticeReq::set_strchannel(const ::std::string& value) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_NoticeReq.strChannel)
- }
- void XPhone_NoticeReq::set_strchannel(const char* value) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_NoticeReq.strChannel)
- }
- void XPhone_NoticeReq::set_strchannel(const char* value, size_t size) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_NoticeReq.strChannel)
- }
- ::std::string* XPhone_NoticeReq::mutable_strchannel() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_NoticeReq.strChannel)
- return strchannel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_NoticeReq::release_strchannel() {
-
- return strchannel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_NoticeReq::set_allocated_strchannel(::std::string* strchannel) {
- if (strchannel != NULL) {
-
- } else {
-
- }
- strchannel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strchannel);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_NoticeReq.strChannel)
- }
- // optional int32 iClientVer = 3;
- void XPhone_NoticeReq::clear_iclientver() {
- iclientver_ = 0;
- }
- ::google::protobuf::int32 XPhone_NoticeReq::iclientver() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_NoticeReq.iClientVer)
- return iclientver_;
- }
- void XPhone_NoticeReq::set_iclientver(::google::protobuf::int32 value) {
-
- iclientver_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_NoticeReq.iClientVer)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_NoticeRsp::kHeadFieldNumber;
- const int XPhone_NoticeRsp::kNoticeListFieldNumber;
- #endif // !_MSC_VER
- XPhone_NoticeRsp::XPhone_NoticeRsp()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_NoticeRsp)
- }
- void XPhone_NoticeRsp::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_NoticeRsp::XPhone_NoticeRsp(const XPhone_NoticeRsp& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_NoticeRsp)
- }
- void XPhone_NoticeRsp::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- }
- XPhone_NoticeRsp::~XPhone_NoticeRsp() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_NoticeRsp)
- SharedDtor();
- }
- void XPhone_NoticeRsp::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_NoticeRsp::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_NoticeRsp::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_NoticeRsp_descriptor_;
- }
- const XPhone_NoticeRsp& XPhone_NoticeRsp::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_NoticeRsp* XPhone_NoticeRsp::default_instance_ = NULL;
- XPhone_NoticeRsp* XPhone_NoticeRsp::New(::google::protobuf::Arena* arena) const {
- XPhone_NoticeRsp* n = new XPhone_NoticeRsp;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_NoticeRsp::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- noticelist_.Clear();
- }
- bool XPhone_NoticeRsp::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_NoticeRsp)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_noticeList;
- break;
- }
- // repeated string noticeList = 2;
- case 2: {
- if (tag == 18) {
- parse_noticeList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->add_noticelist()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->noticelist(this->noticelist_size() - 1).data(),
- this->noticelist(this->noticelist_size() - 1).length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_NoticeRsp.noticeList"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_noticeList;
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_NoticeRsp)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_NoticeRsp)
- return false;
- #undef DO_
- }
- void XPhone_NoticeRsp::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_NoticeRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated string noticeList = 2;
- for (int i = 0; i < this->noticelist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->noticelist(i).data(), this->noticelist(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_NoticeRsp.noticeList");
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 2, this->noticelist(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_NoticeRsp)
- }
- ::google::protobuf::uint8* XPhone_NoticeRsp::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_NoticeRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated string noticeList = 2;
- for (int i = 0; i < this->noticelist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->noticelist(i).data(), this->noticelist(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_NoticeRsp.noticeList");
- target = ::google::protobuf::internal::WireFormatLite::
- WriteStringToArray(2, this->noticelist(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_NoticeRsp)
- return target;
- }
- int XPhone_NoticeRsp::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // repeated string noticeList = 2;
- total_size += 1 * this->noticelist_size();
- for (int i = 0; i < this->noticelist_size(); i++) {
- total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
- this->noticelist(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_NoticeRsp::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_NoticeRsp* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_NoticeRsp>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_NoticeRsp::MergeFrom(const XPhone_NoticeRsp& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- noticelist_.MergeFrom(from.noticelist_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- }
- void XPhone_NoticeRsp::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_NoticeRsp::CopyFrom(const XPhone_NoticeRsp& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_NoticeRsp::IsInitialized() const {
- return true;
- }
- void XPhone_NoticeRsp::Swap(XPhone_NoticeRsp* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_NoticeRsp::InternalSwap(XPhone_NoticeRsp* other) {
- std::swap(head_, other->head_);
- noticelist_.UnsafeArenaSwap(&other->noticelist_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_NoticeRsp::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_NoticeRsp_descriptor_;
- metadata.reflection = XPhone_NoticeRsp_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_NoticeRsp
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_NoticeRsp::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_NoticeRsp::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_NoticeRsp::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_NoticeRsp.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_NoticeRsp::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_NoticeRsp.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_NoticeRsp::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_NoticeRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_NoticeRsp.head)
- }
- // repeated string noticeList = 2;
- int XPhone_NoticeRsp::noticelist_size() const {
- return noticelist_.size();
- }
- void XPhone_NoticeRsp::clear_noticelist() {
- noticelist_.Clear();
- }
- const ::std::string& XPhone_NoticeRsp::noticelist(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_NoticeRsp.noticeList)
- return noticelist_.Get(index);
- }
- ::std::string* XPhone_NoticeRsp::mutable_noticelist(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_NoticeRsp.noticeList)
- return noticelist_.Mutable(index);
- }
- void XPhone_NoticeRsp::set_noticelist(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_NoticeRsp.noticeList)
- noticelist_.Mutable(index)->assign(value);
- }
- void XPhone_NoticeRsp::set_noticelist(int index, const char* value) {
- noticelist_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_NoticeRsp.noticeList)
- }
- void XPhone_NoticeRsp::set_noticelist(int index, const char* value, size_t size) {
- noticelist_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_NoticeRsp.noticeList)
- }
- ::std::string* XPhone_NoticeRsp::add_noticelist() {
- return noticelist_.Add();
- }
- void XPhone_NoticeRsp::add_noticelist(const ::std::string& value) {
- noticelist_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_NoticeRsp.noticeList)
- }
- void XPhone_NoticeRsp::add_noticelist(const char* value) {
- noticelist_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_NoticeRsp.noticeList)
- }
- void XPhone_NoticeRsp::add_noticelist(const char* value, size_t size) {
- noticelist_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_NoticeRsp.noticeList)
- }
- const ::google::protobuf::RepeatedPtrField< ::std::string>&
- XPhone_NoticeRsp::noticelist() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_NoticeRsp.noticeList)
- return noticelist_;
- }
- ::google::protobuf::RepeatedPtrField< ::std::string>*
- XPhone_NoticeRsp::mutable_noticelist() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_NoticeRsp.noticeList)
- return ¬icelist_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_Test::kHeadFieldNumber;
- const int XPhone_Test::kParamListsFieldNumber;
- #endif // !_MSC_VER
- XPhone_Test::XPhone_Test()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_Test)
- }
- void XPhone_Test::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_Test::XPhone_Test(const XPhone_Test& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_Test)
- }
- void XPhone_Test::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- }
- XPhone_Test::~XPhone_Test() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_Test)
- SharedDtor();
- }
- void XPhone_Test::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_Test::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_Test::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_Test_descriptor_;
- }
- const XPhone_Test& XPhone_Test::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_Test* XPhone_Test::default_instance_ = NULL;
- XPhone_Test* XPhone_Test::New(::google::protobuf::Arena* arena) const {
- XPhone_Test* n = new XPhone_Test;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_Test::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- paramlists_.Clear();
- }
- bool XPhone_Test::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_Test)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_paramLists;
- break;
- }
- // repeated string paramLists = 2;
- case 2: {
- if (tag == 18) {
- parse_paramLists:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->add_paramlists()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->paramlists(this->paramlists_size() - 1).data(),
- this->paramlists(this->paramlists_size() - 1).length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_Test.paramLists"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_paramLists;
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_Test)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_Test)
- return false;
- #undef DO_
- }
- void XPhone_Test::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_Test)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated string paramLists = 2;
- for (int i = 0; i < this->paramlists_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->paramlists(i).data(), this->paramlists(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_Test.paramLists");
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 2, this->paramlists(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_Test)
- }
- ::google::protobuf::uint8* XPhone_Test::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_Test)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated string paramLists = 2;
- for (int i = 0; i < this->paramlists_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->paramlists(i).data(), this->paramlists(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_Test.paramLists");
- target = ::google::protobuf::internal::WireFormatLite::
- WriteStringToArray(2, this->paramlists(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_Test)
- return target;
- }
- int XPhone_Test::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // repeated string paramLists = 2;
- total_size += 1 * this->paramlists_size();
- for (int i = 0; i < this->paramlists_size(); i++) {
- total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
- this->paramlists(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_Test::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_Test* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_Test>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_Test::MergeFrom(const XPhone_Test& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- paramlists_.MergeFrom(from.paramlists_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- }
- void XPhone_Test::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_Test::CopyFrom(const XPhone_Test& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_Test::IsInitialized() const {
- return true;
- }
- void XPhone_Test::Swap(XPhone_Test* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_Test::InternalSwap(XPhone_Test* other) {
- std::swap(head_, other->head_);
- paramlists_.UnsafeArenaSwap(&other->paramlists_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_Test::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_Test_descriptor_;
- metadata.reflection = XPhone_Test_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_Test
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_Test::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_Test::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_Test::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Test.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_Test::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_Test.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_Test::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_Test::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_Test.head)
- }
- // repeated string paramLists = 2;
- int XPhone_Test::paramlists_size() const {
- return paramlists_.size();
- }
- void XPhone_Test::clear_paramlists() {
- paramlists_.Clear();
- }
- const ::std::string& XPhone_Test::paramlists(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Test.paramLists)
- return paramlists_.Get(index);
- }
- ::std::string* XPhone_Test::mutable_paramlists(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_Test.paramLists)
- return paramlists_.Mutable(index);
- }
- void XPhone_Test::set_paramlists(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Test.paramLists)
- paramlists_.Mutable(index)->assign(value);
- }
- void XPhone_Test::set_paramlists(int index, const char* value) {
- paramlists_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_Test.paramLists)
- }
- void XPhone_Test::set_paramlists(int index, const char* value, size_t size) {
- paramlists_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_Test.paramLists)
- }
- ::std::string* XPhone_Test::add_paramlists() {
- return paramlists_.Add();
- }
- void XPhone_Test::add_paramlists(const ::std::string& value) {
- paramlists_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_Test.paramLists)
- }
- void XPhone_Test::add_paramlists(const char* value) {
- paramlists_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_Test.paramLists)
- }
- void XPhone_Test::add_paramlists(const char* value, size_t size) {
- paramlists_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_Test.paramLists)
- }
- const ::google::protobuf::RepeatedPtrField< ::std::string>&
- XPhone_Test::paramlists() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_Test.paramLists)
- return paramlists_;
- }
- ::google::protobuf::RepeatedPtrField< ::std::string>*
- XPhone_Test::mutable_paramlists() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_Test.paramLists)
- return ¶mlists_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_Setting::kHeadFieldNumber;
- const int XPhone_Setting::kZanTimeFieldNumber;
- const int XPhone_Setting::kAutoQianghongbaoFieldNumber;
- const int XPhone_Setting::kAutoPlaymusicFieldNumber;
- const int XPhone_Setting::kAutoLoadTaskFieldNumber;
- const int XPhone_Setting::kUnrecallFieldNumber;
- const int XPhone_Setting::kEnablemsgtipFieldNumber;
- const int XPhone_Setting::kYaoshaiziFieldNumber;
- const int XPhone_Setting::kCaiquanFieldNumber;
- const int XPhone_Setting::kEnableautoreplyFieldNumber;
- const int XPhone_Setting::kEnablelocationFieldNumber;
- const int XPhone_Setting::kAutosendmsgFieldNumber;
- #endif // !_MSC_VER
- XPhone_Setting::XPhone_Setting()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_Setting)
- }
- void XPhone_Setting::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_Setting::XPhone_Setting(const XPhone_Setting& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_Setting)
- }
- void XPhone_Setting::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- zantime_ = 0;
- autoqianghongbao_ = false;
- autoplaymusic_ = false;
- autoloadtask_ = false;
- unrecall_ = false;
- enablemsgtip_ = false;
- yaoshaizi_ = 0;
- caiquan_ = 0;
- enableautoreply_ = false;
- enablelocation_ = false;
- autosendmsg_ = false;
- }
- XPhone_Setting::~XPhone_Setting() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_Setting)
- SharedDtor();
- }
- void XPhone_Setting::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_Setting::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_Setting::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_Setting_descriptor_;
- }
- const XPhone_Setting& XPhone_Setting::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_Setting* XPhone_Setting::default_instance_ = NULL;
- XPhone_Setting* XPhone_Setting::New(::google::protobuf::Arena* arena) const {
- XPhone_Setting* n = new XPhone_Setting;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_Setting::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_Setting*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(zantime_, yaoshaizi_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- enablemsgtip_ = false;
- ZR_(enableautoreply_, autosendmsg_);
- caiquan_ = 0;
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_Setting::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_Setting)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_zanTime;
- break;
- }
- // optional int32 zanTime = 2;
- case 2: {
- if (tag == 16) {
- parse_zanTime:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &zantime_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_autoQianghongbao;
- break;
- }
- // optional bool autoQianghongbao = 3;
- case 3: {
- if (tag == 24) {
- parse_autoQianghongbao:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &autoqianghongbao_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_autoPlaymusic;
- break;
- }
- // optional bool autoPlaymusic = 4;
- case 4: {
- if (tag == 32) {
- parse_autoPlaymusic:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &autoplaymusic_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(40)) goto parse_autoLoadTask;
- break;
- }
- // optional bool autoLoadTask = 5;
- case 5: {
- if (tag == 40) {
- parse_autoLoadTask:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &autoloadtask_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(48)) goto parse_unrecall;
- break;
- }
- // optional bool unrecall = 6;
- case 6: {
- if (tag == 48) {
- parse_unrecall:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &unrecall_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(56)) goto parse_enablemsgtip;
- break;
- }
- // optional bool enablemsgtip = 7;
- case 7: {
- if (tag == 56) {
- parse_enablemsgtip:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &enablemsgtip_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(64)) goto parse_yaoshaizi;
- break;
- }
- // optional int32 yaoshaizi = 8;
- case 8: {
- if (tag == 64) {
- parse_yaoshaizi:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &yaoshaizi_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(72)) goto parse_caiquan;
- break;
- }
- // optional int32 caiquan = 9;
- case 9: {
- if (tag == 72) {
- parse_caiquan:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &caiquan_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(80)) goto parse_enableautoreply;
- break;
- }
- // optional bool enableautoreply = 10;
- case 10: {
- if (tag == 80) {
- parse_enableautoreply:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &enableautoreply_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(88)) goto parse_enablelocation;
- break;
- }
- // optional bool enablelocation = 11;
- case 11: {
- if (tag == 88) {
- parse_enablelocation:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &enablelocation_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(96)) goto parse_autosendmsg;
- break;
- }
- // optional bool autosendmsg = 12;
- case 12: {
- if (tag == 96) {
- parse_autosendmsg:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &autosendmsg_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_Setting)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_Setting)
- return false;
- #undef DO_
- }
- void XPhone_Setting::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_Setting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 zanTime = 2;
- if (this->zantime() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->zantime(), output);
- }
- // optional bool autoQianghongbao = 3;
- if (this->autoqianghongbao() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->autoqianghongbao(), output);
- }
- // optional bool autoPlaymusic = 4;
- if (this->autoplaymusic() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->autoplaymusic(), output);
- }
- // optional bool autoLoadTask = 5;
- if (this->autoloadtask() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->autoloadtask(), output);
- }
- // optional bool unrecall = 6;
- if (this->unrecall() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->unrecall(), output);
- }
- // optional bool enablemsgtip = 7;
- if (this->enablemsgtip() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->enablemsgtip(), output);
- }
- // optional int32 yaoshaizi = 8;
- if (this->yaoshaizi() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->yaoshaizi(), output);
- }
- // optional int32 caiquan = 9;
- if (this->caiquan() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->caiquan(), output);
- }
- // optional bool enableautoreply = 10;
- if (this->enableautoreply() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->enableautoreply(), output);
- }
- // optional bool enablelocation = 11;
- if (this->enablelocation() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->enablelocation(), output);
- }
- // optional bool autosendmsg = 12;
- if (this->autosendmsg() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(12, this->autosendmsg(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_Setting)
- }
- ::google::protobuf::uint8* XPhone_Setting::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_Setting)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 zanTime = 2;
- if (this->zantime() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->zantime(), target);
- }
- // optional bool autoQianghongbao = 3;
- if (this->autoqianghongbao() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->autoqianghongbao(), target);
- }
- // optional bool autoPlaymusic = 4;
- if (this->autoplaymusic() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->autoplaymusic(), target);
- }
- // optional bool autoLoadTask = 5;
- if (this->autoloadtask() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->autoloadtask(), target);
- }
- // optional bool unrecall = 6;
- if (this->unrecall() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->unrecall(), target);
- }
- // optional bool enablemsgtip = 7;
- if (this->enablemsgtip() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->enablemsgtip(), target);
- }
- // optional int32 yaoshaizi = 8;
- if (this->yaoshaizi() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->yaoshaizi(), target);
- }
- // optional int32 caiquan = 9;
- if (this->caiquan() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->caiquan(), target);
- }
- // optional bool enableautoreply = 10;
- if (this->enableautoreply() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->enableautoreply(), target);
- }
- // optional bool enablelocation = 11;
- if (this->enablelocation() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11, this->enablelocation(), target);
- }
- // optional bool autosendmsg = 12;
- if (this->autosendmsg() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(12, this->autosendmsg(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_Setting)
- return target;
- }
- int XPhone_Setting::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 zanTime = 2;
- if (this->zantime() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->zantime());
- }
- // optional bool autoQianghongbao = 3;
- if (this->autoqianghongbao() != 0) {
- total_size += 1 + 1;
- }
- // optional bool autoPlaymusic = 4;
- if (this->autoplaymusic() != 0) {
- total_size += 1 + 1;
- }
- // optional bool autoLoadTask = 5;
- if (this->autoloadtask() != 0) {
- total_size += 1 + 1;
- }
- // optional bool unrecall = 6;
- if (this->unrecall() != 0) {
- total_size += 1 + 1;
- }
- // optional bool enablemsgtip = 7;
- if (this->enablemsgtip() != 0) {
- total_size += 1 + 1;
- }
- // optional int32 yaoshaizi = 8;
- if (this->yaoshaizi() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->yaoshaizi());
- }
- // optional int32 caiquan = 9;
- if (this->caiquan() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->caiquan());
- }
- // optional bool enableautoreply = 10;
- if (this->enableautoreply() != 0) {
- total_size += 1 + 1;
- }
- // optional bool enablelocation = 11;
- if (this->enablelocation() != 0) {
- total_size += 1 + 1;
- }
- // optional bool autosendmsg = 12;
- if (this->autosendmsg() != 0) {
- total_size += 1 + 1;
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_Setting::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_Setting* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_Setting>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_Setting::MergeFrom(const XPhone_Setting& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.zantime() != 0) {
- set_zantime(from.zantime());
- }
- if (from.autoqianghongbao() != 0) {
- set_autoqianghongbao(from.autoqianghongbao());
- }
- if (from.autoplaymusic() != 0) {
- set_autoplaymusic(from.autoplaymusic());
- }
- if (from.autoloadtask() != 0) {
- set_autoloadtask(from.autoloadtask());
- }
- if (from.unrecall() != 0) {
- set_unrecall(from.unrecall());
- }
- if (from.enablemsgtip() != 0) {
- set_enablemsgtip(from.enablemsgtip());
- }
- if (from.yaoshaizi() != 0) {
- set_yaoshaizi(from.yaoshaizi());
- }
- if (from.caiquan() != 0) {
- set_caiquan(from.caiquan());
- }
- if (from.enableautoreply() != 0) {
- set_enableautoreply(from.enableautoreply());
- }
- if (from.enablelocation() != 0) {
- set_enablelocation(from.enablelocation());
- }
- if (from.autosendmsg() != 0) {
- set_autosendmsg(from.autosendmsg());
- }
- }
- void XPhone_Setting::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_Setting::CopyFrom(const XPhone_Setting& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_Setting::IsInitialized() const {
- return true;
- }
- void XPhone_Setting::Swap(XPhone_Setting* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_Setting::InternalSwap(XPhone_Setting* other) {
- std::swap(head_, other->head_);
- std::swap(zantime_, other->zantime_);
- std::swap(autoqianghongbao_, other->autoqianghongbao_);
- std::swap(autoplaymusic_, other->autoplaymusic_);
- std::swap(autoloadtask_, other->autoloadtask_);
- std::swap(unrecall_, other->unrecall_);
- std::swap(enablemsgtip_, other->enablemsgtip_);
- std::swap(yaoshaizi_, other->yaoshaizi_);
- std::swap(caiquan_, other->caiquan_);
- std::swap(enableautoreply_, other->enableautoreply_);
- std::swap(enablelocation_, other->enablelocation_);
- std::swap(autosendmsg_, other->autosendmsg_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_Setting::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_Setting_descriptor_;
- metadata.reflection = XPhone_Setting_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_Setting
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_Setting::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_Setting::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_Setting::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_Setting::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_Setting.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_Setting::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_Setting::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_Setting.head)
- }
- // optional int32 zanTime = 2;
- void XPhone_Setting::clear_zantime() {
- zantime_ = 0;
- }
- ::google::protobuf::int32 XPhone_Setting::zantime() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.zanTime)
- return zantime_;
- }
- void XPhone_Setting::set_zantime(::google::protobuf::int32 value) {
-
- zantime_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.zanTime)
- }
- // optional bool autoQianghongbao = 3;
- void XPhone_Setting::clear_autoqianghongbao() {
- autoqianghongbao_ = false;
- }
- bool XPhone_Setting::autoqianghongbao() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.autoQianghongbao)
- return autoqianghongbao_;
- }
- void XPhone_Setting::set_autoqianghongbao(bool value) {
-
- autoqianghongbao_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.autoQianghongbao)
- }
- // optional bool autoPlaymusic = 4;
- void XPhone_Setting::clear_autoplaymusic() {
- autoplaymusic_ = false;
- }
- bool XPhone_Setting::autoplaymusic() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.autoPlaymusic)
- return autoplaymusic_;
- }
- void XPhone_Setting::set_autoplaymusic(bool value) {
-
- autoplaymusic_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.autoPlaymusic)
- }
- // optional bool autoLoadTask = 5;
- void XPhone_Setting::clear_autoloadtask() {
- autoloadtask_ = false;
- }
- bool XPhone_Setting::autoloadtask() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.autoLoadTask)
- return autoloadtask_;
- }
- void XPhone_Setting::set_autoloadtask(bool value) {
-
- autoloadtask_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.autoLoadTask)
- }
- // optional bool unrecall = 6;
- void XPhone_Setting::clear_unrecall() {
- unrecall_ = false;
- }
- bool XPhone_Setting::unrecall() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.unrecall)
- return unrecall_;
- }
- void XPhone_Setting::set_unrecall(bool value) {
-
- unrecall_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.unrecall)
- }
- // optional bool enablemsgtip = 7;
- void XPhone_Setting::clear_enablemsgtip() {
- enablemsgtip_ = false;
- }
- bool XPhone_Setting::enablemsgtip() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.enablemsgtip)
- return enablemsgtip_;
- }
- void XPhone_Setting::set_enablemsgtip(bool value) {
-
- enablemsgtip_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.enablemsgtip)
- }
- // optional int32 yaoshaizi = 8;
- void XPhone_Setting::clear_yaoshaizi() {
- yaoshaizi_ = 0;
- }
- ::google::protobuf::int32 XPhone_Setting::yaoshaizi() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.yaoshaizi)
- return yaoshaizi_;
- }
- void XPhone_Setting::set_yaoshaizi(::google::protobuf::int32 value) {
-
- yaoshaizi_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.yaoshaizi)
- }
- // optional int32 caiquan = 9;
- void XPhone_Setting::clear_caiquan() {
- caiquan_ = 0;
- }
- ::google::protobuf::int32 XPhone_Setting::caiquan() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.caiquan)
- return caiquan_;
- }
- void XPhone_Setting::set_caiquan(::google::protobuf::int32 value) {
-
- caiquan_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.caiquan)
- }
- // optional bool enableautoreply = 10;
- void XPhone_Setting::clear_enableautoreply() {
- enableautoreply_ = false;
- }
- bool XPhone_Setting::enableautoreply() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.enableautoreply)
- return enableautoreply_;
- }
- void XPhone_Setting::set_enableautoreply(bool value) {
-
- enableautoreply_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.enableautoreply)
- }
- // optional bool enablelocation = 11;
- void XPhone_Setting::clear_enablelocation() {
- enablelocation_ = false;
- }
- bool XPhone_Setting::enablelocation() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.enablelocation)
- return enablelocation_;
- }
- void XPhone_Setting::set_enablelocation(bool value) {
-
- enablelocation_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.enablelocation)
- }
- // optional bool autosendmsg = 12;
- void XPhone_Setting::clear_autosendmsg() {
- autosendmsg_ = false;
- }
- bool XPhone_Setting::autosendmsg() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_Setting.autosendmsg)
- return autosendmsg_;
- }
- void XPhone_Setting::set_autosendmsg(bool value) {
-
- autosendmsg_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_Setting.autosendmsg)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_CheckClientReq::kHeadFieldNumber;
- const int XPhone_CheckClientReq::kStrUserNameFieldNumber;
- const int XPhone_CheckClientReq::kMachinecodeFieldNumber;
- const int XPhone_CheckClientReq::kSoftverFieldNumber;
- const int XPhone_CheckClientReq::kStrChannelFieldNumber;
- const int XPhone_CheckClientReq::kConnectcountFieldNumber;
- const int XPhone_CheckClientReq::kWifinameFieldNumber;
- const int XPhone_CheckClientReq::kTimespanFieldNumber;
- #endif // !_MSC_VER
- XPhone_CheckClientReq::XPhone_CheckClientReq()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CheckClientReq)
- }
- void XPhone_CheckClientReq::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_CheckClientReq::XPhone_CheckClientReq(const XPhone_CheckClientReq& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CheckClientReq)
- }
- void XPhone_CheckClientReq::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- machinecode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- softver_ = 0;
- strchannel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- connectcount_ = 0;
- wifiname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- timespan_ = 0;
- }
- XPhone_CheckClientReq::~XPhone_CheckClientReq() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CheckClientReq)
- SharedDtor();
- }
- void XPhone_CheckClientReq::SharedDtor() {
- strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- machinecode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strchannel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- wifiname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_CheckClientReq::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_CheckClientReq::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_CheckClientReq_descriptor_;
- }
- const XPhone_CheckClientReq& XPhone_CheckClientReq::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_CheckClientReq* XPhone_CheckClientReq::default_instance_ = NULL;
- XPhone_CheckClientReq* XPhone_CheckClientReq::New(::google::protobuf::Arena* arena) const {
- XPhone_CheckClientReq* n = new XPhone_CheckClientReq;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_CheckClientReq::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_CheckClientReq*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(softver_, connectcount_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- wifiname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- timespan_ = 0;
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_CheckClientReq::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CheckClientReq)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strUserName;
- break;
- }
- // optional string strUserName = 2;
- case 2: {
- if (tag == 18) {
- parse_strUserName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strusername()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_CheckClientReq.strUserName"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_machinecode;
- break;
- }
- // optional string machinecode = 3;
- case 3: {
- if (tag == 26) {
- parse_machinecode:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_machinecode()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->machinecode().data(), this->machinecode().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_CheckClientReq.machinecode"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_softver;
- break;
- }
- // optional int32 softver = 4;
- case 4: {
- if (tag == 32) {
- parse_softver:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &softver_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(42)) goto parse_strChannel;
- break;
- }
- // optional string strChannel = 5;
- case 5: {
- if (tag == 42) {
- parse_strChannel:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strchannel()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_CheckClientReq.strChannel"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(48)) goto parse_connectcount;
- break;
- }
- // optional int32 connectcount = 6;
- case 6: {
- if (tag == 48) {
- parse_connectcount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &connectcount_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(58)) goto parse_wifiname;
- break;
- }
- // optional string wifiname = 7;
- case 7: {
- if (tag == 58) {
- parse_wifiname:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_wifiname()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->wifiname().data(), this->wifiname().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_CheckClientReq.wifiname"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(64)) goto parse_timespan;
- break;
- }
- // optional int32 timespan = 8;
- case 8: {
- if (tag == 64) {
- parse_timespan:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, ×pan_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CheckClientReq)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CheckClientReq)
- return false;
- #undef DO_
- }
- void XPhone_CheckClientReq::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CheckClientReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CheckClientReq.strUserName");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strusername(), output);
- }
- // optional string machinecode = 3;
- if (this->machinecode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->machinecode().data(), this->machinecode().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CheckClientReq.machinecode");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->machinecode(), output);
- }
- // optional int32 softver = 4;
- if (this->softver() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->softver(), output);
- }
- // optional string strChannel = 5;
- if (this->strchannel().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CheckClientReq.strChannel");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 5, this->strchannel(), output);
- }
- // optional int32 connectcount = 6;
- if (this->connectcount() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->connectcount(), output);
- }
- // optional string wifiname = 7;
- if (this->wifiname().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->wifiname().data(), this->wifiname().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CheckClientReq.wifiname");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 7, this->wifiname(), output);
- }
- // optional int32 timespan = 8;
- if (this->timespan() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->timespan(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CheckClientReq)
- }
- ::google::protobuf::uint8* XPhone_CheckClientReq::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CheckClientReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CheckClientReq.strUserName");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strusername(), target);
- }
- // optional string machinecode = 3;
- if (this->machinecode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->machinecode().data(), this->machinecode().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CheckClientReq.machinecode");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->machinecode(), target);
- }
- // optional int32 softver = 4;
- if (this->softver() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->softver(), target);
- }
- // optional string strChannel = 5;
- if (this->strchannel().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strchannel().data(), this->strchannel().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CheckClientReq.strChannel");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 5, this->strchannel(), target);
- }
- // optional int32 connectcount = 6;
- if (this->connectcount() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->connectcount(), target);
- }
- // optional string wifiname = 7;
- if (this->wifiname().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->wifiname().data(), this->wifiname().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CheckClientReq.wifiname");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 7, this->wifiname(), target);
- }
- // optional int32 timespan = 8;
- if (this->timespan() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->timespan(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CheckClientReq)
- return target;
- }
- int XPhone_CheckClientReq::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strUserName = 2;
- if (this->strusername().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strusername());
- }
- // optional string machinecode = 3;
- if (this->machinecode().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->machinecode());
- }
- // optional int32 softver = 4;
- if (this->softver() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->softver());
- }
- // optional string strChannel = 5;
- if (this->strchannel().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strchannel());
- }
- // optional int32 connectcount = 6;
- if (this->connectcount() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->connectcount());
- }
- // optional string wifiname = 7;
- if (this->wifiname().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->wifiname());
- }
- // optional int32 timespan = 8;
- if (this->timespan() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->timespan());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_CheckClientReq::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_CheckClientReq* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CheckClientReq>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_CheckClientReq::MergeFrom(const XPhone_CheckClientReq& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strusername().size() > 0) {
- strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
- }
- if (from.machinecode().size() > 0) {
- machinecode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.machinecode_);
- }
- if (from.softver() != 0) {
- set_softver(from.softver());
- }
- if (from.strchannel().size() > 0) {
- strchannel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strchannel_);
- }
- if (from.connectcount() != 0) {
- set_connectcount(from.connectcount());
- }
- if (from.wifiname().size() > 0) {
- wifiname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.wifiname_);
- }
- if (from.timespan() != 0) {
- set_timespan(from.timespan());
- }
- }
- void XPhone_CheckClientReq::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_CheckClientReq::CopyFrom(const XPhone_CheckClientReq& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_CheckClientReq::IsInitialized() const {
- return true;
- }
- void XPhone_CheckClientReq::Swap(XPhone_CheckClientReq* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_CheckClientReq::InternalSwap(XPhone_CheckClientReq* other) {
- std::swap(head_, other->head_);
- strusername_.Swap(&other->strusername_);
- machinecode_.Swap(&other->machinecode_);
- std::swap(softver_, other->softver_);
- strchannel_.Swap(&other->strchannel_);
- std::swap(connectcount_, other->connectcount_);
- wifiname_.Swap(&other->wifiname_);
- std::swap(timespan_, other->timespan_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_CheckClientReq::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_CheckClientReq_descriptor_;
- metadata.reflection = XPhone_CheckClientReq_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_CheckClientReq
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_CheckClientReq::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_CheckClientReq::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_CheckClientReq::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CheckClientReq::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientReq.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CheckClientReq::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_CheckClientReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientReq.head)
- }
- // optional string strUserName = 2;
- void XPhone_CheckClientReq::clear_strusername() {
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_CheckClientReq::strusername() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.strUserName)
- return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_CheckClientReq::set_strusername(const ::std::string& value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.strUserName)
- }
- void XPhone_CheckClientReq::set_strusername(const char* value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CheckClientReq.strUserName)
- }
- void XPhone_CheckClientReq::set_strusername(const char* value, size_t size) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CheckClientReq.strUserName)
- }
- ::std::string* XPhone_CheckClientReq::mutable_strusername() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientReq.strUserName)
- return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_CheckClientReq::release_strusername() {
-
- return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_CheckClientReq::set_allocated_strusername(::std::string* strusername) {
- if (strusername != NULL) {
-
- } else {
-
- }
- strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientReq.strUserName)
- }
- // optional string machinecode = 3;
- void XPhone_CheckClientReq::clear_machinecode() {
- machinecode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_CheckClientReq::machinecode() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.machinecode)
- return machinecode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_CheckClientReq::set_machinecode(const ::std::string& value) {
-
- machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.machinecode)
- }
- void XPhone_CheckClientReq::set_machinecode(const char* value) {
-
- machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CheckClientReq.machinecode)
- }
- void XPhone_CheckClientReq::set_machinecode(const char* value, size_t size) {
-
- machinecode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CheckClientReq.machinecode)
- }
- ::std::string* XPhone_CheckClientReq::mutable_machinecode() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientReq.machinecode)
- return machinecode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_CheckClientReq::release_machinecode() {
-
- return machinecode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_CheckClientReq::set_allocated_machinecode(::std::string* machinecode) {
- if (machinecode != NULL) {
-
- } else {
-
- }
- machinecode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), machinecode);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientReq.machinecode)
- }
- // optional int32 softver = 4;
- void XPhone_CheckClientReq::clear_softver() {
- softver_ = 0;
- }
- ::google::protobuf::int32 XPhone_CheckClientReq::softver() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.softver)
- return softver_;
- }
- void XPhone_CheckClientReq::set_softver(::google::protobuf::int32 value) {
-
- softver_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.softver)
- }
- // optional string strChannel = 5;
- void XPhone_CheckClientReq::clear_strchannel() {
- strchannel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_CheckClientReq::strchannel() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.strChannel)
- return strchannel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_CheckClientReq::set_strchannel(const ::std::string& value) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.strChannel)
- }
- void XPhone_CheckClientReq::set_strchannel(const char* value) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CheckClientReq.strChannel)
- }
- void XPhone_CheckClientReq::set_strchannel(const char* value, size_t size) {
-
- strchannel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CheckClientReq.strChannel)
- }
- ::std::string* XPhone_CheckClientReq::mutable_strchannel() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientReq.strChannel)
- return strchannel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_CheckClientReq::release_strchannel() {
-
- return strchannel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_CheckClientReq::set_allocated_strchannel(::std::string* strchannel) {
- if (strchannel != NULL) {
-
- } else {
-
- }
- strchannel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strchannel);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientReq.strChannel)
- }
- // optional int32 connectcount = 6;
- void XPhone_CheckClientReq::clear_connectcount() {
- connectcount_ = 0;
- }
- ::google::protobuf::int32 XPhone_CheckClientReq::connectcount() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.connectcount)
- return connectcount_;
- }
- void XPhone_CheckClientReq::set_connectcount(::google::protobuf::int32 value) {
-
- connectcount_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.connectcount)
- }
- // optional string wifiname = 7;
- void XPhone_CheckClientReq::clear_wifiname() {
- wifiname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_CheckClientReq::wifiname() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.wifiname)
- return wifiname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_CheckClientReq::set_wifiname(const ::std::string& value) {
-
- wifiname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.wifiname)
- }
- void XPhone_CheckClientReq::set_wifiname(const char* value) {
-
- wifiname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CheckClientReq.wifiname)
- }
- void XPhone_CheckClientReq::set_wifiname(const char* value, size_t size) {
-
- wifiname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CheckClientReq.wifiname)
- }
- ::std::string* XPhone_CheckClientReq::mutable_wifiname() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientReq.wifiname)
- return wifiname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_CheckClientReq::release_wifiname() {
-
- return wifiname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_CheckClientReq::set_allocated_wifiname(::std::string* wifiname) {
- if (wifiname != NULL) {
-
- } else {
-
- }
- wifiname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), wifiname);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientReq.wifiname)
- }
- // optional int32 timespan = 8;
- void XPhone_CheckClientReq::clear_timespan() {
- timespan_ = 0;
- }
- ::google::protobuf::int32 XPhone_CheckClientReq::timespan() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientReq.timespan)
- return timespan_;
- }
- void XPhone_CheckClientReq::set_timespan(::google::protobuf::int32 value) {
-
- timespan_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientReq.timespan)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_CheckClientRsp::kHeadFieldNumber;
- const int XPhone_CheckClientRsp::kErrorcodeFieldNumber;
- const int XPhone_CheckClientRsp::kHashcodeFieldNumber;
- #endif // !_MSC_VER
- XPhone_CheckClientRsp::XPhone_CheckClientRsp()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CheckClientRsp)
- }
- void XPhone_CheckClientRsp::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_CheckClientRsp::XPhone_CheckClientRsp(const XPhone_CheckClientRsp& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CheckClientRsp)
- }
- void XPhone_CheckClientRsp::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- errorcode_ = 0;
- hashcode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_CheckClientRsp::~XPhone_CheckClientRsp() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CheckClientRsp)
- SharedDtor();
- }
- void XPhone_CheckClientRsp::SharedDtor() {
- hashcode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_CheckClientRsp::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_CheckClientRsp::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_CheckClientRsp_descriptor_;
- }
- const XPhone_CheckClientRsp& XPhone_CheckClientRsp::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_CheckClientRsp* XPhone_CheckClientRsp::default_instance_ = NULL;
- XPhone_CheckClientRsp* XPhone_CheckClientRsp::New(::google::protobuf::Arena* arena) const {
- XPhone_CheckClientRsp* n = new XPhone_CheckClientRsp;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_CheckClientRsp::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- errorcode_ = 0;
- hashcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_CheckClientRsp::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CheckClientRsp)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(16)) goto parse_errorcode;
- break;
- }
- // optional int32 errorcode = 2;
- case 2: {
- if (tag == 16) {
- parse_errorcode:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &errorcode_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_hashcode;
- break;
- }
- // optional string hashcode = 3;
- case 3: {
- if (tag == 26) {
- parse_hashcode:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_hashcode()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->hashcode().data(), this->hashcode().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_CheckClientRsp.hashcode"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CheckClientRsp)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CheckClientRsp)
- return false;
- #undef DO_
- }
- void XPhone_CheckClientRsp::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CheckClientRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional int32 errorcode = 2;
- if (this->errorcode() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->errorcode(), output);
- }
- // optional string hashcode = 3;
- if (this->hashcode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->hashcode().data(), this->hashcode().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CheckClientRsp.hashcode");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->hashcode(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CheckClientRsp)
- }
- ::google::protobuf::uint8* XPhone_CheckClientRsp::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CheckClientRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional int32 errorcode = 2;
- if (this->errorcode() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->errorcode(), target);
- }
- // optional string hashcode = 3;
- if (this->hashcode().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->hashcode().data(), this->hashcode().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CheckClientRsp.hashcode");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->hashcode(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CheckClientRsp)
- return target;
- }
- int XPhone_CheckClientRsp::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 errorcode = 2;
- if (this->errorcode() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->errorcode());
- }
- // optional string hashcode = 3;
- if (this->hashcode().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->hashcode());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_CheckClientRsp::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_CheckClientRsp* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CheckClientRsp>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_CheckClientRsp::MergeFrom(const XPhone_CheckClientRsp& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.errorcode() != 0) {
- set_errorcode(from.errorcode());
- }
- if (from.hashcode().size() > 0) {
- hashcode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hashcode_);
- }
- }
- void XPhone_CheckClientRsp::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_CheckClientRsp::CopyFrom(const XPhone_CheckClientRsp& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_CheckClientRsp::IsInitialized() const {
- return true;
- }
- void XPhone_CheckClientRsp::Swap(XPhone_CheckClientRsp* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_CheckClientRsp::InternalSwap(XPhone_CheckClientRsp* other) {
- std::swap(head_, other->head_);
- std::swap(errorcode_, other->errorcode_);
- hashcode_.Swap(&other->hashcode_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_CheckClientRsp::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_CheckClientRsp_descriptor_;
- metadata.reflection = XPhone_CheckClientRsp_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_CheckClientRsp
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_CheckClientRsp::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_CheckClientRsp::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_CheckClientRsp::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientRsp.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CheckClientRsp::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientRsp.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CheckClientRsp::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_CheckClientRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientRsp.head)
- }
- // optional int32 errorcode = 2;
- void XPhone_CheckClientRsp::clear_errorcode() {
- errorcode_ = 0;
- }
- ::google::protobuf::int32 XPhone_CheckClientRsp::errorcode() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientRsp.errorcode)
- return errorcode_;
- }
- void XPhone_CheckClientRsp::set_errorcode(::google::protobuf::int32 value) {
-
- errorcode_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientRsp.errorcode)
- }
- // optional string hashcode = 3;
- void XPhone_CheckClientRsp::clear_hashcode() {
- hashcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_CheckClientRsp::hashcode() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CheckClientRsp.hashcode)
- return hashcode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_CheckClientRsp::set_hashcode(const ::std::string& value) {
-
- hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CheckClientRsp.hashcode)
- }
- void XPhone_CheckClientRsp::set_hashcode(const char* value) {
-
- hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CheckClientRsp.hashcode)
- }
- void XPhone_CheckClientRsp::set_hashcode(const char* value, size_t size) {
-
- hashcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CheckClientRsp.hashcode)
- }
- ::std::string* XPhone_CheckClientRsp::mutable_hashcode() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CheckClientRsp.hashcode)
- return hashcode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_CheckClientRsp::release_hashcode() {
-
- return hashcode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_CheckClientRsp::set_allocated_hashcode(::std::string* hashcode) {
- if (hashcode != NULL) {
-
- } else {
-
- }
- hashcode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hashcode);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CheckClientRsp.hashcode)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ImportWeichat::kHeadFieldNumber;
- const int XPhone_ImportWeichat::kWeichatlistsFieldNumber;
- #endif // !_MSC_VER
- XPhone_ImportWeichat::XPhone_ImportWeichat()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ImportWeichat)
- }
- void XPhone_ImportWeichat::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_ImportWeichat::XPhone_ImportWeichat(const XPhone_ImportWeichat& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ImportWeichat)
- }
- void XPhone_ImportWeichat::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- }
- XPhone_ImportWeichat::~XPhone_ImportWeichat() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ImportWeichat)
- SharedDtor();
- }
- void XPhone_ImportWeichat::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_ImportWeichat::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ImportWeichat::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ImportWeichat_descriptor_;
- }
- const XPhone_ImportWeichat& XPhone_ImportWeichat::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ImportWeichat* XPhone_ImportWeichat::default_instance_ = NULL;
- XPhone_ImportWeichat* XPhone_ImportWeichat::New(::google::protobuf::Arena* arena) const {
- XPhone_ImportWeichat* n = new XPhone_ImportWeichat;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ImportWeichat::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- weichatlists_.Clear();
- }
- bool XPhone_ImportWeichat::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ImportWeichat)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_weichatlists;
- break;
- }
- // repeated string weichatlists = 2;
- case 2: {
- if (tag == 18) {
- parse_weichatlists:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->add_weichatlists()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->weichatlists(this->weichatlists_size() - 1).data(),
- this->weichatlists(this->weichatlists_size() - 1).length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ImportWeichat.weichatlists"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_weichatlists;
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ImportWeichat)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ImportWeichat)
- return false;
- #undef DO_
- }
- void XPhone_ImportWeichat::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ImportWeichat)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated string weichatlists = 2;
- for (int i = 0; i < this->weichatlists_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->weichatlists(i).data(), this->weichatlists(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ImportWeichat.weichatlists");
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 2, this->weichatlists(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ImportWeichat)
- }
- ::google::protobuf::uint8* XPhone_ImportWeichat::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ImportWeichat)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated string weichatlists = 2;
- for (int i = 0; i < this->weichatlists_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->weichatlists(i).data(), this->weichatlists(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ImportWeichat.weichatlists");
- target = ::google::protobuf::internal::WireFormatLite::
- WriteStringToArray(2, this->weichatlists(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ImportWeichat)
- return target;
- }
- int XPhone_ImportWeichat::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // repeated string weichatlists = 2;
- total_size += 1 * this->weichatlists_size();
- for (int i = 0; i < this->weichatlists_size(); i++) {
- total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
- this->weichatlists(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ImportWeichat::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ImportWeichat* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ImportWeichat>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ImportWeichat::MergeFrom(const XPhone_ImportWeichat& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- weichatlists_.MergeFrom(from.weichatlists_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- }
- void XPhone_ImportWeichat::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ImportWeichat::CopyFrom(const XPhone_ImportWeichat& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ImportWeichat::IsInitialized() const {
- return true;
- }
- void XPhone_ImportWeichat::Swap(XPhone_ImportWeichat* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ImportWeichat::InternalSwap(XPhone_ImportWeichat* other) {
- std::swap(head_, other->head_);
- weichatlists_.UnsafeArenaSwap(&other->weichatlists_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ImportWeichat::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ImportWeichat_descriptor_;
- metadata.reflection = XPhone_ImportWeichat_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ImportWeichat
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_ImportWeichat::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_ImportWeichat::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_ImportWeichat::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportWeichat.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ImportWeichat::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportWeichat.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ImportWeichat::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_ImportWeichat::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ImportWeichat.head)
- }
- // repeated string weichatlists = 2;
- int XPhone_ImportWeichat::weichatlists_size() const {
- return weichatlists_.size();
- }
- void XPhone_ImportWeichat::clear_weichatlists() {
- weichatlists_.Clear();
- }
- const ::std::string& XPhone_ImportWeichat::weichatlists(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportWeichat.weichatlists)
- return weichatlists_.Get(index);
- }
- ::std::string* XPhone_ImportWeichat::mutable_weichatlists(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportWeichat.weichatlists)
- return weichatlists_.Mutable(index);
- }
- void XPhone_ImportWeichat::set_weichatlists(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ImportWeichat.weichatlists)
- weichatlists_.Mutable(index)->assign(value);
- }
- void XPhone_ImportWeichat::set_weichatlists(int index, const char* value) {
- weichatlists_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ImportWeichat.weichatlists)
- }
- void XPhone_ImportWeichat::set_weichatlists(int index, const char* value, size_t size) {
- weichatlists_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ImportWeichat.weichatlists)
- }
- ::std::string* XPhone_ImportWeichat::add_weichatlists() {
- return weichatlists_.Add();
- }
- void XPhone_ImportWeichat::add_weichatlists(const ::std::string& value) {
- weichatlists_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ImportWeichat.weichatlists)
- }
- void XPhone_ImportWeichat::add_weichatlists(const char* value) {
- weichatlists_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_ImportWeichat.weichatlists)
- }
- void XPhone_ImportWeichat::add_weichatlists(const char* value, size_t size) {
- weichatlists_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_ImportWeichat.weichatlists)
- }
- const ::google::protobuf::RepeatedPtrField< ::std::string>&
- XPhone_ImportWeichat::weichatlists() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ImportWeichat.weichatlists)
- return weichatlists_;
- }
- ::google::protobuf::RepeatedPtrField< ::std::string>*
- XPhone_ImportWeichat::mutable_weichatlists() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ImportWeichat.weichatlists)
- return &weichatlists_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ImportQQ::kHeadFieldNumber;
- const int XPhone_ImportQQ::kQqlistsFieldNumber;
- #endif // !_MSC_VER
- XPhone_ImportQQ::XPhone_ImportQQ()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ImportQQ)
- }
- void XPhone_ImportQQ::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_ImportQQ::XPhone_ImportQQ(const XPhone_ImportQQ& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ImportQQ)
- }
- void XPhone_ImportQQ::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- }
- XPhone_ImportQQ::~XPhone_ImportQQ() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ImportQQ)
- SharedDtor();
- }
- void XPhone_ImportQQ::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_ImportQQ::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ImportQQ::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ImportQQ_descriptor_;
- }
- const XPhone_ImportQQ& XPhone_ImportQQ::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ImportQQ* XPhone_ImportQQ::default_instance_ = NULL;
- XPhone_ImportQQ* XPhone_ImportQQ::New(::google::protobuf::Arena* arena) const {
- XPhone_ImportQQ* n = new XPhone_ImportQQ;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ImportQQ::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- qqlists_.Clear();
- }
- bool XPhone_ImportQQ::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ImportQQ)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_qqlists;
- break;
- }
- // repeated string qqlists = 2;
- case 2: {
- if (tag == 18) {
- parse_qqlists:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->add_qqlists()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->qqlists(this->qqlists_size() - 1).data(),
- this->qqlists(this->qqlists_size() - 1).length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ImportQQ.qqlists"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_qqlists;
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ImportQQ)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ImportQQ)
- return false;
- #undef DO_
- }
- void XPhone_ImportQQ::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ImportQQ)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated string qqlists = 2;
- for (int i = 0; i < this->qqlists_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->qqlists(i).data(), this->qqlists(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ImportQQ.qqlists");
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 2, this->qqlists(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ImportQQ)
- }
- ::google::protobuf::uint8* XPhone_ImportQQ::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ImportQQ)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated string qqlists = 2;
- for (int i = 0; i < this->qqlists_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->qqlists(i).data(), this->qqlists(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ImportQQ.qqlists");
- target = ::google::protobuf::internal::WireFormatLite::
- WriteStringToArray(2, this->qqlists(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ImportQQ)
- return target;
- }
- int XPhone_ImportQQ::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // repeated string qqlists = 2;
- total_size += 1 * this->qqlists_size();
- for (int i = 0; i < this->qqlists_size(); i++) {
- total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
- this->qqlists(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ImportQQ::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ImportQQ* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ImportQQ>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ImportQQ::MergeFrom(const XPhone_ImportQQ& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- qqlists_.MergeFrom(from.qqlists_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- }
- void XPhone_ImportQQ::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ImportQQ::CopyFrom(const XPhone_ImportQQ& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ImportQQ::IsInitialized() const {
- return true;
- }
- void XPhone_ImportQQ::Swap(XPhone_ImportQQ* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ImportQQ::InternalSwap(XPhone_ImportQQ* other) {
- std::swap(head_, other->head_);
- qqlists_.UnsafeArenaSwap(&other->qqlists_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ImportQQ::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ImportQQ_descriptor_;
- metadata.reflection = XPhone_ImportQQ_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ImportQQ
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_ImportQQ::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_ImportQQ::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_ImportQQ::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportQQ.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ImportQQ::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportQQ.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ImportQQ::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_ImportQQ::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ImportQQ.head)
- }
- // repeated string qqlists = 2;
- int XPhone_ImportQQ::qqlists_size() const {
- return qqlists_.size();
- }
- void XPhone_ImportQQ::clear_qqlists() {
- qqlists_.Clear();
- }
- const ::std::string& XPhone_ImportQQ::qqlists(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportQQ.qqlists)
- return qqlists_.Get(index);
- }
- ::std::string* XPhone_ImportQQ::mutable_qqlists(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportQQ.qqlists)
- return qqlists_.Mutable(index);
- }
- void XPhone_ImportQQ::set_qqlists(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ImportQQ.qqlists)
- qqlists_.Mutable(index)->assign(value);
- }
- void XPhone_ImportQQ::set_qqlists(int index, const char* value) {
- qqlists_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ImportQQ.qqlists)
- }
- void XPhone_ImportQQ::set_qqlists(int index, const char* value, size_t size) {
- qqlists_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ImportQQ.qqlists)
- }
- ::std::string* XPhone_ImportQQ::add_qqlists() {
- return qqlists_.Add();
- }
- void XPhone_ImportQQ::add_qqlists(const ::std::string& value) {
- qqlists_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ImportQQ.qqlists)
- }
- void XPhone_ImportQQ::add_qqlists(const char* value) {
- qqlists_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_ImportQQ.qqlists)
- }
- void XPhone_ImportQQ::add_qqlists(const char* value, size_t size) {
- qqlists_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_ImportQQ.qqlists)
- }
- const ::google::protobuf::RepeatedPtrField< ::std::string>&
- XPhone_ImportQQ::qqlists() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ImportQQ.qqlists)
- return qqlists_;
- }
- ::google::protobuf::RepeatedPtrField< ::std::string>*
- XPhone_ImportQQ::mutable_qqlists() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ImportQQ.qqlists)
- return &qqlists_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_ImportGongZhong::kHeadFieldNumber;
- const int XPhone_ImportGongZhong::kGongzhonglistsFieldNumber;
- #endif // !_MSC_VER
- XPhone_ImportGongZhong::XPhone_ImportGongZhong()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_ImportGongZhong)
- }
- void XPhone_ImportGongZhong::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_ImportGongZhong::XPhone_ImportGongZhong(const XPhone_ImportGongZhong& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_ImportGongZhong)
- }
- void XPhone_ImportGongZhong::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- }
- XPhone_ImportGongZhong::~XPhone_ImportGongZhong() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_ImportGongZhong)
- SharedDtor();
- }
- void XPhone_ImportGongZhong::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_ImportGongZhong::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_ImportGongZhong::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_ImportGongZhong_descriptor_;
- }
- const XPhone_ImportGongZhong& XPhone_ImportGongZhong::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_ImportGongZhong* XPhone_ImportGongZhong::default_instance_ = NULL;
- XPhone_ImportGongZhong* XPhone_ImportGongZhong::New(::google::protobuf::Arena* arena) const {
- XPhone_ImportGongZhong* n = new XPhone_ImportGongZhong;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_ImportGongZhong::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- gongzhonglists_.Clear();
- }
- bool XPhone_ImportGongZhong::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_ImportGongZhong)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_gongzhonglists;
- break;
- }
- // repeated string gongzhonglists = 2;
- case 2: {
- if (tag == 18) {
- parse_gongzhonglists:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->add_gongzhonglists()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->gongzhonglists(this->gongzhonglists_size() - 1).data(),
- this->gongzhonglists(this->gongzhonglists_size() - 1).length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_ImportGongZhong.gongzhonglists"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_gongzhonglists;
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_ImportGongZhong)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_ImportGongZhong)
- return false;
- #undef DO_
- }
- void XPhone_ImportGongZhong::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_ImportGongZhong)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated string gongzhonglists = 2;
- for (int i = 0; i < this->gongzhonglists_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->gongzhonglists(i).data(), this->gongzhonglists(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ImportGongZhong.gongzhonglists");
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 2, this->gongzhonglists(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_ImportGongZhong)
- }
- ::google::protobuf::uint8* XPhone_ImportGongZhong::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_ImportGongZhong)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated string gongzhonglists = 2;
- for (int i = 0; i < this->gongzhonglists_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->gongzhonglists(i).data(), this->gongzhonglists(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_ImportGongZhong.gongzhonglists");
- target = ::google::protobuf::internal::WireFormatLite::
- WriteStringToArray(2, this->gongzhonglists(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_ImportGongZhong)
- return target;
- }
- int XPhone_ImportGongZhong::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // repeated string gongzhonglists = 2;
- total_size += 1 * this->gongzhonglists_size();
- for (int i = 0; i < this->gongzhonglists_size(); i++) {
- total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
- this->gongzhonglists(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_ImportGongZhong::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_ImportGongZhong* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_ImportGongZhong>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_ImportGongZhong::MergeFrom(const XPhone_ImportGongZhong& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- gongzhonglists_.MergeFrom(from.gongzhonglists_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- }
- void XPhone_ImportGongZhong::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_ImportGongZhong::CopyFrom(const XPhone_ImportGongZhong& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_ImportGongZhong::IsInitialized() const {
- return true;
- }
- void XPhone_ImportGongZhong::Swap(XPhone_ImportGongZhong* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_ImportGongZhong::InternalSwap(XPhone_ImportGongZhong* other) {
- std::swap(head_, other->head_);
- gongzhonglists_.UnsafeArenaSwap(&other->gongzhonglists_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_ImportGongZhong::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_ImportGongZhong_descriptor_;
- metadata.reflection = XPhone_ImportGongZhong_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_ImportGongZhong
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_ImportGongZhong::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_ImportGongZhong::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_ImportGongZhong::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportGongZhong.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ImportGongZhong::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportGongZhong.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_ImportGongZhong::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_ImportGongZhong::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_ImportGongZhong.head)
- }
- // repeated string gongzhonglists = 2;
- int XPhone_ImportGongZhong::gongzhonglists_size() const {
- return gongzhonglists_.size();
- }
- void XPhone_ImportGongZhong::clear_gongzhonglists() {
- gongzhonglists_.Clear();
- }
- const ::std::string& XPhone_ImportGongZhong::gongzhonglists(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
- return gongzhonglists_.Get(index);
- }
- ::std::string* XPhone_ImportGongZhong::mutable_gongzhonglists(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
- return gongzhonglists_.Mutable(index);
- }
- void XPhone_ImportGongZhong::set_gongzhonglists(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
- gongzhonglists_.Mutable(index)->assign(value);
- }
- void XPhone_ImportGongZhong::set_gongzhonglists(int index, const char* value) {
- gongzhonglists_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
- }
- void XPhone_ImportGongZhong::set_gongzhonglists(int index, const char* value, size_t size) {
- gongzhonglists_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
- }
- ::std::string* XPhone_ImportGongZhong::add_gongzhonglists() {
- return gongzhonglists_.Add();
- }
- void XPhone_ImportGongZhong::add_gongzhonglists(const ::std::string& value) {
- gongzhonglists_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
- }
- void XPhone_ImportGongZhong::add_gongzhonglists(const char* value) {
- gongzhonglists_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
- }
- void XPhone_ImportGongZhong::add_gongzhonglists(const char* value, size_t size) {
- gongzhonglists_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
- }
- const ::google::protobuf::RepeatedPtrField< ::std::string>&
- XPhone_ImportGongZhong::gongzhonglists() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
- return gongzhonglists_;
- }
- ::google::protobuf::RepeatedPtrField< ::std::string>*
- XPhone_ImportGongZhong::mutable_gongzhonglists() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_ImportGongZhong.gongzhonglists)
- return &gongzhonglists_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_WifiConnect::kHeadFieldNumber;
- const int XPhone_WifiConnect::kStrIPFieldNumber;
- const int XPhone_WifiConnect::kIPortFieldNumber;
- const int XPhone_WifiConnect::kBConnectFieldNumber;
- #endif // !_MSC_VER
- XPhone_WifiConnect::XPhone_WifiConnect()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_WifiConnect)
- }
- void XPhone_WifiConnect::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_WifiConnect::XPhone_WifiConnect(const XPhone_WifiConnect& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_WifiConnect)
- }
- void XPhone_WifiConnect::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- iport_ = 0;
- bconnect_ = false;
- }
- XPhone_WifiConnect::~XPhone_WifiConnect() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_WifiConnect)
- SharedDtor();
- }
- void XPhone_WifiConnect::SharedDtor() {
- strip_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_WifiConnect::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_WifiConnect::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_WifiConnect_descriptor_;
- }
- const XPhone_WifiConnect& XPhone_WifiConnect::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_WifiConnect* XPhone_WifiConnect::default_instance_ = NULL;
- XPhone_WifiConnect* XPhone_WifiConnect::New(::google::protobuf::Arena* arena) const {
- XPhone_WifiConnect* n = new XPhone_WifiConnect;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_WifiConnect::Clear() {
- #define ZR_HELPER_(f) reinterpret_cast<char*>(\
- &reinterpret_cast<XPhone_WifiConnect*>(16)->f)
- #define ZR_(first, last) do {\
- ::memset(&first, 0,\
- ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
- } while (0)
- ZR_(iport_, bconnect_);
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- #undef ZR_HELPER_
- #undef ZR_
- }
- bool XPhone_WifiConnect::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_WifiConnect)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strIP;
- break;
- }
- // optional string strIP = 2;
- case 2: {
- if (tag == 18) {
- parse_strIP:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strip()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strip().data(), this->strip().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_WifiConnect.strIP"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(24)) goto parse_iPort;
- break;
- }
- // optional int32 iPort = 3;
- case 3: {
- if (tag == 24) {
- parse_iPort:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &iport_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_bConnect;
- break;
- }
- // optional bool bConnect = 4;
- case 4: {
- if (tag == 32) {
- parse_bConnect:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &bconnect_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_WifiConnect)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_WifiConnect)
- return false;
- #undef DO_
- }
- void XPhone_WifiConnect::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_WifiConnect)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strIP = 2;
- if (this->strip().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strip().data(), this->strip().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_WifiConnect.strIP");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strip(), output);
- }
- // optional int32 iPort = 3;
- if (this->iport() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->iport(), output);
- }
- // optional bool bConnect = 4;
- if (this->bconnect() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->bconnect(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_WifiConnect)
- }
- ::google::protobuf::uint8* XPhone_WifiConnect::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_WifiConnect)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strIP = 2;
- if (this->strip().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strip().data(), this->strip().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_WifiConnect.strIP");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strip(), target);
- }
- // optional int32 iPort = 3;
- if (this->iport() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->iport(), target);
- }
- // optional bool bConnect = 4;
- if (this->bconnect() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->bconnect(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_WifiConnect)
- return target;
- }
- int XPhone_WifiConnect::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strIP = 2;
- if (this->strip().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strip());
- }
- // optional int32 iPort = 3;
- if (this->iport() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->iport());
- }
- // optional bool bConnect = 4;
- if (this->bconnect() != 0) {
- total_size += 1 + 1;
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_WifiConnect::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_WifiConnect* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_WifiConnect>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_WifiConnect::MergeFrom(const XPhone_WifiConnect& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strip().size() > 0) {
- strip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strip_);
- }
- if (from.iport() != 0) {
- set_iport(from.iport());
- }
- if (from.bconnect() != 0) {
- set_bconnect(from.bconnect());
- }
- }
- void XPhone_WifiConnect::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_WifiConnect::CopyFrom(const XPhone_WifiConnect& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_WifiConnect::IsInitialized() const {
- return true;
- }
- void XPhone_WifiConnect::Swap(XPhone_WifiConnect* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_WifiConnect::InternalSwap(XPhone_WifiConnect* other) {
- std::swap(head_, other->head_);
- strip_.Swap(&other->strip_);
- std::swap(iport_, other->iport_);
- std::swap(bconnect_, other->bconnect_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_WifiConnect::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_WifiConnect_descriptor_;
- metadata.reflection = XPhone_WifiConnect_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_WifiConnect
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_WifiConnect::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_WifiConnect::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_WifiConnect::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_WifiConnect.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_WifiConnect::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_WifiConnect.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_WifiConnect::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_WifiConnect::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_WifiConnect.head)
- }
- // optional string strIP = 2;
- void XPhone_WifiConnect::clear_strip() {
- strip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_WifiConnect::strip() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_WifiConnect.strIP)
- return strip_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_WifiConnect::set_strip(const ::std::string& value) {
-
- strip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_WifiConnect.strIP)
- }
- void XPhone_WifiConnect::set_strip(const char* value) {
-
- strip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_WifiConnect.strIP)
- }
- void XPhone_WifiConnect::set_strip(const char* value, size_t size) {
-
- strip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_WifiConnect.strIP)
- }
- ::std::string* XPhone_WifiConnect::mutable_strip() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_WifiConnect.strIP)
- return strip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_WifiConnect::release_strip() {
-
- return strip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_WifiConnect::set_allocated_strip(::std::string* strip) {
- if (strip != NULL) {
-
- } else {
-
- }
- strip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strip);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_WifiConnect.strIP)
- }
- // optional int32 iPort = 3;
- void XPhone_WifiConnect::clear_iport() {
- iport_ = 0;
- }
- ::google::protobuf::int32 XPhone_WifiConnect::iport() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_WifiConnect.iPort)
- return iport_;
- }
- void XPhone_WifiConnect::set_iport(::google::protobuf::int32 value) {
-
- iport_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_WifiConnect.iPort)
- }
- // optional bool bConnect = 4;
- void XPhone_WifiConnect::clear_bconnect() {
- bconnect_ = false;
- }
- bool XPhone_WifiConnect::bconnect() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_WifiConnect.bConnect)
- return bconnect_;
- }
- void XPhone_WifiConnect::set_bconnect(bool value) {
-
- bconnect_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_WifiConnect.bConnect)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_AdbCommandReq::kHeadFieldNumber;
- const int XPhone_AdbCommandReq::kCommandListsFieldNumber;
- const int XPhone_AdbCommandReq::kModeFieldNumber;
- #endif // !_MSC_VER
- XPhone_AdbCommandReq::XPhone_AdbCommandReq()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AdbCommandReq)
- }
- void XPhone_AdbCommandReq::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_AdbCommandReq::XPhone_AdbCommandReq(const XPhone_AdbCommandReq& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AdbCommandReq)
- }
- void XPhone_AdbCommandReq::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- mode_ = 0;
- }
- XPhone_AdbCommandReq::~XPhone_AdbCommandReq() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AdbCommandReq)
- SharedDtor();
- }
- void XPhone_AdbCommandReq::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_AdbCommandReq::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_AdbCommandReq::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_AdbCommandReq_descriptor_;
- }
- const XPhone_AdbCommandReq& XPhone_AdbCommandReq::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_AdbCommandReq* XPhone_AdbCommandReq::default_instance_ = NULL;
- XPhone_AdbCommandReq* XPhone_AdbCommandReq::New(::google::protobuf::Arena* arena) const {
- XPhone_AdbCommandReq* n = new XPhone_AdbCommandReq;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_AdbCommandReq::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- mode_ = 0;
- commandlists_.Clear();
- }
- bool XPhone_AdbCommandReq::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AdbCommandReq)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_commandLists;
- break;
- }
- // repeated string commandLists = 2;
- case 2: {
- if (tag == 18) {
- parse_commandLists:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->add_commandlists()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->commandlists(this->commandlists_size() - 1).data(),
- this->commandlists(this->commandlists_size() - 1).length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_AdbCommandReq.commandLists"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_commandLists;
- if (input->ExpectTag(24)) goto parse_mode;
- break;
- }
- // optional int32 mode = 3;
- case 3: {
- if (tag == 24) {
- parse_mode:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &mode_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AdbCommandReq)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AdbCommandReq)
- return false;
- #undef DO_
- }
- void XPhone_AdbCommandReq::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AdbCommandReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated string commandLists = 2;
- for (int i = 0; i < this->commandlists_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->commandlists(i).data(), this->commandlists(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AdbCommandReq.commandLists");
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 2, this->commandlists(i), output);
- }
- // optional int32 mode = 3;
- if (this->mode() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mode(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AdbCommandReq)
- }
- ::google::protobuf::uint8* XPhone_AdbCommandReq::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AdbCommandReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated string commandLists = 2;
- for (int i = 0; i < this->commandlists_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->commandlists(i).data(), this->commandlists(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AdbCommandReq.commandLists");
- target = ::google::protobuf::internal::WireFormatLite::
- WriteStringToArray(2, this->commandlists(i), target);
- }
- // optional int32 mode = 3;
- if (this->mode() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mode(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AdbCommandReq)
- return target;
- }
- int XPhone_AdbCommandReq::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional int32 mode = 3;
- if (this->mode() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->mode());
- }
- // repeated string commandLists = 2;
- total_size += 1 * this->commandlists_size();
- for (int i = 0; i < this->commandlists_size(); i++) {
- total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
- this->commandlists(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_AdbCommandReq::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_AdbCommandReq* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AdbCommandReq>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_AdbCommandReq::MergeFrom(const XPhone_AdbCommandReq& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- commandlists_.MergeFrom(from.commandlists_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.mode() != 0) {
- set_mode(from.mode());
- }
- }
- void XPhone_AdbCommandReq::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_AdbCommandReq::CopyFrom(const XPhone_AdbCommandReq& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_AdbCommandReq::IsInitialized() const {
- return true;
- }
- void XPhone_AdbCommandReq::Swap(XPhone_AdbCommandReq* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_AdbCommandReq::InternalSwap(XPhone_AdbCommandReq* other) {
- std::swap(head_, other->head_);
- commandlists_.UnsafeArenaSwap(&other->commandlists_);
- std::swap(mode_, other->mode_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_AdbCommandReq::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_AdbCommandReq_descriptor_;
- metadata.reflection = XPhone_AdbCommandReq_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_AdbCommandReq
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_AdbCommandReq::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_AdbCommandReq::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_AdbCommandReq::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AdbCommandReq.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AdbCommandReq::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AdbCommandReq.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AdbCommandReq::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_AdbCommandReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AdbCommandReq.head)
- }
- // repeated string commandLists = 2;
- int XPhone_AdbCommandReq::commandlists_size() const {
- return commandlists_.size();
- }
- void XPhone_AdbCommandReq::clear_commandlists() {
- commandlists_.Clear();
- }
- const ::std::string& XPhone_AdbCommandReq::commandlists(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AdbCommandReq.commandLists)
- return commandlists_.Get(index);
- }
- ::std::string* XPhone_AdbCommandReq::mutable_commandlists(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AdbCommandReq.commandLists)
- return commandlists_.Mutable(index);
- }
- void XPhone_AdbCommandReq::set_commandlists(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AdbCommandReq.commandLists)
- commandlists_.Mutable(index)->assign(value);
- }
- void XPhone_AdbCommandReq::set_commandlists(int index, const char* value) {
- commandlists_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AdbCommandReq.commandLists)
- }
- void XPhone_AdbCommandReq::set_commandlists(int index, const char* value, size_t size) {
- commandlists_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AdbCommandReq.commandLists)
- }
- ::std::string* XPhone_AdbCommandReq::add_commandlists() {
- return commandlists_.Add();
- }
- void XPhone_AdbCommandReq::add_commandlists(const ::std::string& value) {
- commandlists_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_AdbCommandReq.commandLists)
- }
- void XPhone_AdbCommandReq::add_commandlists(const char* value) {
- commandlists_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_AdbCommandReq.commandLists)
- }
- void XPhone_AdbCommandReq::add_commandlists(const char* value, size_t size) {
- commandlists_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_AdbCommandReq.commandLists)
- }
- const ::google::protobuf::RepeatedPtrField< ::std::string>&
- XPhone_AdbCommandReq::commandlists() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_AdbCommandReq.commandLists)
- return commandlists_;
- }
- ::google::protobuf::RepeatedPtrField< ::std::string>*
- XPhone_AdbCommandReq::mutable_commandlists() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_AdbCommandReq.commandLists)
- return &commandlists_;
- }
- // optional int32 mode = 3;
- void XPhone_AdbCommandReq::clear_mode() {
- mode_ = 0;
- }
- ::google::protobuf::int32 XPhone_AdbCommandReq::mode() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AdbCommandReq.mode)
- return mode_;
- }
- void XPhone_AdbCommandReq::set_mode(::google::protobuf::int32 value) {
-
- mode_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AdbCommandReq.mode)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_AdbCommandRsp::kHeadFieldNumber;
- const int XPhone_AdbCommandRsp::kStrResultFieldNumber;
- #endif // !_MSC_VER
- XPhone_AdbCommandRsp::XPhone_AdbCommandRsp()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_AdbCommandRsp)
- }
- void XPhone_AdbCommandRsp::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_AdbCommandRsp::XPhone_AdbCommandRsp(const XPhone_AdbCommandRsp& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_AdbCommandRsp)
- }
- void XPhone_AdbCommandRsp::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- strresult_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- XPhone_AdbCommandRsp::~XPhone_AdbCommandRsp() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_AdbCommandRsp)
- SharedDtor();
- }
- void XPhone_AdbCommandRsp::SharedDtor() {
- strresult_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_AdbCommandRsp::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_AdbCommandRsp::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_AdbCommandRsp_descriptor_;
- }
- const XPhone_AdbCommandRsp& XPhone_AdbCommandRsp::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_AdbCommandRsp* XPhone_AdbCommandRsp::default_instance_ = NULL;
- XPhone_AdbCommandRsp* XPhone_AdbCommandRsp::New(::google::protobuf::Arena* arena) const {
- XPhone_AdbCommandRsp* n = new XPhone_AdbCommandRsp;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_AdbCommandRsp::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- strresult_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- bool XPhone_AdbCommandRsp::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_AdbCommandRsp)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strResult;
- break;
- }
- // optional string strResult = 2;
- case 2: {
- if (tag == 18) {
- parse_strResult:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strresult()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strresult().data(), this->strresult().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_AdbCommandRsp.strResult"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_AdbCommandRsp)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_AdbCommandRsp)
- return false;
- #undef DO_
- }
- void XPhone_AdbCommandRsp::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_AdbCommandRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // optional string strResult = 2;
- if (this->strresult().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strresult().data(), this->strresult().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AdbCommandRsp.strResult");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strresult(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_AdbCommandRsp)
- }
- ::google::protobuf::uint8* XPhone_AdbCommandRsp::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_AdbCommandRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // optional string strResult = 2;
- if (this->strresult().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strresult().data(), this->strresult().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_AdbCommandRsp.strResult");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strresult(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_AdbCommandRsp)
- return target;
- }
- int XPhone_AdbCommandRsp::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional string strResult = 2;
- if (this->strresult().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strresult());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_AdbCommandRsp::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_AdbCommandRsp* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_AdbCommandRsp>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_AdbCommandRsp::MergeFrom(const XPhone_AdbCommandRsp& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.strresult().size() > 0) {
- strresult_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strresult_);
- }
- }
- void XPhone_AdbCommandRsp::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_AdbCommandRsp::CopyFrom(const XPhone_AdbCommandRsp& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_AdbCommandRsp::IsInitialized() const {
- return true;
- }
- void XPhone_AdbCommandRsp::Swap(XPhone_AdbCommandRsp* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_AdbCommandRsp::InternalSwap(XPhone_AdbCommandRsp* other) {
- std::swap(head_, other->head_);
- strresult_.Swap(&other->strresult_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_AdbCommandRsp::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_AdbCommandRsp_descriptor_;
- metadata.reflection = XPhone_AdbCommandRsp_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_AdbCommandRsp
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_AdbCommandRsp::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_AdbCommandRsp::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_AdbCommandRsp::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AdbCommandRsp.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AdbCommandRsp::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AdbCommandRsp.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_AdbCommandRsp::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_AdbCommandRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AdbCommandRsp.head)
- }
- // optional string strResult = 2;
- void XPhone_AdbCommandRsp::clear_strresult() {
- strresult_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_AdbCommandRsp::strresult() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_AdbCommandRsp.strResult)
- return strresult_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AdbCommandRsp::set_strresult(const ::std::string& value) {
-
- strresult_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_AdbCommandRsp.strResult)
- }
- void XPhone_AdbCommandRsp::set_strresult(const char* value) {
-
- strresult_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_AdbCommandRsp.strResult)
- }
- void XPhone_AdbCommandRsp::set_strresult(const char* value, size_t size) {
-
- strresult_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_AdbCommandRsp.strResult)
- }
- ::std::string* XPhone_AdbCommandRsp::mutable_strresult() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_AdbCommandRsp.strResult)
- return strresult_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_AdbCommandRsp::release_strresult() {
-
- return strresult_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_AdbCommandRsp::set_allocated_strresult(::std::string* strresult) {
- if (strresult != NULL) {
-
- } else {
-
- }
- strresult_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strresult);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_AdbCommandRsp.strResult)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_CaijiAddressIDReq::kHeadFieldNumber;
- const int XPhone_CaijiAddressIDReq::kPhoneNumbersFieldNumber;
- const int XPhone_CaijiAddressIDReq::kBClearFieldNumber;
- #endif // !_MSC_VER
- XPhone_CaijiAddressIDReq::XPhone_CaijiAddressIDReq()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CaijiAddressIDReq)
- }
- void XPhone_CaijiAddressIDReq::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_CaijiAddressIDReq::XPhone_CaijiAddressIDReq(const XPhone_CaijiAddressIDReq& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CaijiAddressIDReq)
- }
- void XPhone_CaijiAddressIDReq::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- head_ = NULL;
- bclear_ = false;
- }
- XPhone_CaijiAddressIDReq::~XPhone_CaijiAddressIDReq() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CaijiAddressIDReq)
- SharedDtor();
- }
- void XPhone_CaijiAddressIDReq::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_CaijiAddressIDReq::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_CaijiAddressIDReq::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_CaijiAddressIDReq_descriptor_;
- }
- const XPhone_CaijiAddressIDReq& XPhone_CaijiAddressIDReq::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_CaijiAddressIDReq* XPhone_CaijiAddressIDReq::default_instance_ = NULL;
- XPhone_CaijiAddressIDReq* XPhone_CaijiAddressIDReq::New(::google::protobuf::Arena* arena) const {
- XPhone_CaijiAddressIDReq* n = new XPhone_CaijiAddressIDReq;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_CaijiAddressIDReq::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- bclear_ = false;
- phonenumbers_.Clear();
- }
- bool XPhone_CaijiAddressIDReq::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CaijiAddressIDReq)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_phoneNumbers;
- break;
- }
- // repeated string phoneNumbers = 2;
- case 2: {
- if (tag == 18) {
- parse_phoneNumbers:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->add_phonenumbers()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->phonenumbers(this->phonenumbers_size() - 1).data(),
- this->phonenumbers(this->phonenumbers_size() - 1).length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_phoneNumbers;
- if (input->ExpectTag(24)) goto parse_bClear;
- break;
- }
- // optional bool bClear = 3;
- case 3: {
- if (tag == 24) {
- parse_bClear:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL_X>(
- input, &bclear_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CaijiAddressIDReq)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CaijiAddressIDReq)
- return false;
- #undef DO_
- }
- void XPhone_CaijiAddressIDReq::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CaijiAddressIDReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated string phoneNumbers = 2;
- for (int i = 0; i < this->phonenumbers_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->phonenumbers(i).data(), this->phonenumbers(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers");
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 2, this->phonenumbers(i), output);
- }
- // optional bool bClear = 3;
- if (this->bclear() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->bclear(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CaijiAddressIDReq)
- }
- ::google::protobuf::uint8* XPhone_CaijiAddressIDReq::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CaijiAddressIDReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated string phoneNumbers = 2;
- for (int i = 0; i < this->phonenumbers_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->phonenumbers(i).data(), this->phonenumbers(i).length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers");
- target = ::google::protobuf::internal::WireFormatLite::
- WriteStringToArray(2, this->phonenumbers(i), target);
- }
- // optional bool bClear = 3;
- if (this->bclear() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->bclear(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CaijiAddressIDReq)
- return target;
- }
- int XPhone_CaijiAddressIDReq::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // optional bool bClear = 3;
- if (this->bclear() != 0) {
- total_size += 1 + 1;
- }
- // repeated string phoneNumbers = 2;
- total_size += 1 * this->phonenumbers_size();
- for (int i = 0; i < this->phonenumbers_size(); i++) {
- total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
- this->phonenumbers(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_CaijiAddressIDReq::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_CaijiAddressIDReq* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CaijiAddressIDReq>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_CaijiAddressIDReq::MergeFrom(const XPhone_CaijiAddressIDReq& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- phonenumbers_.MergeFrom(from.phonenumbers_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- if (from.bclear() != 0) {
- set_bclear(from.bclear());
- }
- }
- void XPhone_CaijiAddressIDReq::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_CaijiAddressIDReq::CopyFrom(const XPhone_CaijiAddressIDReq& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_CaijiAddressIDReq::IsInitialized() const {
- return true;
- }
- void XPhone_CaijiAddressIDReq::Swap(XPhone_CaijiAddressIDReq* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_CaijiAddressIDReq::InternalSwap(XPhone_CaijiAddressIDReq* other) {
- std::swap(head_, other->head_);
- phonenumbers_.UnsafeArenaSwap(&other->phonenumbers_);
- std::swap(bclear_, other->bclear_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_CaijiAddressIDReq::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_CaijiAddressIDReq_descriptor_;
- metadata.reflection = XPhone_CaijiAddressIDReq_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_CaijiAddressIDReq
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_CaijiAddressIDReq::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_CaijiAddressIDReq::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_CaijiAddressIDReq::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiAddressIDReq.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiAddressIDReq::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiAddressIDReq.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiAddressIDReq::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_CaijiAddressIDReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CaijiAddressIDReq.head)
- }
- // repeated string phoneNumbers = 2;
- int XPhone_CaijiAddressIDReq::phonenumbers_size() const {
- return phonenumbers_.size();
- }
- void XPhone_CaijiAddressIDReq::clear_phonenumbers() {
- phonenumbers_.Clear();
- }
- const ::std::string& XPhone_CaijiAddressIDReq::phonenumbers(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
- return phonenumbers_.Get(index);
- }
- ::std::string* XPhone_CaijiAddressIDReq::mutable_phonenumbers(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
- return phonenumbers_.Mutable(index);
- }
- void XPhone_CaijiAddressIDReq::set_phonenumbers(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
- phonenumbers_.Mutable(index)->assign(value);
- }
- void XPhone_CaijiAddressIDReq::set_phonenumbers(int index, const char* value) {
- phonenumbers_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
- }
- void XPhone_CaijiAddressIDReq::set_phonenumbers(int index, const char* value, size_t size) {
- phonenumbers_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
- }
- ::std::string* XPhone_CaijiAddressIDReq::add_phonenumbers() {
- return phonenumbers_.Add();
- }
- void XPhone_CaijiAddressIDReq::add_phonenumbers(const ::std::string& value) {
- phonenumbers_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
- }
- void XPhone_CaijiAddressIDReq::add_phonenumbers(const char* value) {
- phonenumbers_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
- }
- void XPhone_CaijiAddressIDReq::add_phonenumbers(const char* value, size_t size) {
- phonenumbers_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
- }
- const ::google::protobuf::RepeatedPtrField< ::std::string>&
- XPhone_CaijiAddressIDReq::phonenumbers() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
- return phonenumbers_;
- }
- ::google::protobuf::RepeatedPtrField< ::std::string>*
- XPhone_CaijiAddressIDReq::mutable_phonenumbers() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_CaijiAddressIDReq.phoneNumbers)
- return &phonenumbers_;
- }
- // optional bool bClear = 3;
- void XPhone_CaijiAddressIDReq::clear_bclear() {
- bclear_ = false;
- }
- bool XPhone_CaijiAddressIDReq::bclear() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiAddressIDReq.bClear)
- return bclear_;
- }
- void XPhone_CaijiAddressIDReq::set_bclear(bool value) {
-
- bclear_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_CaijiAddressIDReq.bClear)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_CaijiNearbyIDReq::kHeadFieldNumber;
- #endif // !_MSC_VER
- XPhone_CaijiNearbyIDReq::XPhone_CaijiNearbyIDReq()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CaijiNearbyIDReq)
- }
- void XPhone_CaijiNearbyIDReq::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_CaijiNearbyIDReq::XPhone_CaijiNearbyIDReq(const XPhone_CaijiNearbyIDReq& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CaijiNearbyIDReq)
- }
- void XPhone_CaijiNearbyIDReq::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- }
- XPhone_CaijiNearbyIDReq::~XPhone_CaijiNearbyIDReq() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CaijiNearbyIDReq)
- SharedDtor();
- }
- void XPhone_CaijiNearbyIDReq::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_CaijiNearbyIDReq::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_CaijiNearbyIDReq::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_CaijiNearbyIDReq_descriptor_;
- }
- const XPhone_CaijiNearbyIDReq& XPhone_CaijiNearbyIDReq::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_CaijiNearbyIDReq* XPhone_CaijiNearbyIDReq::default_instance_ = NULL;
- XPhone_CaijiNearbyIDReq* XPhone_CaijiNearbyIDReq::New(::google::protobuf::Arena* arena) const {
- XPhone_CaijiNearbyIDReq* n = new XPhone_CaijiNearbyIDReq;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_CaijiNearbyIDReq::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- bool XPhone_CaijiNearbyIDReq::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CaijiNearbyIDReq)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CaijiNearbyIDReq)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CaijiNearbyIDReq)
- return false;
- #undef DO_
- }
- void XPhone_CaijiNearbyIDReq::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CaijiNearbyIDReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CaijiNearbyIDReq)
- }
- ::google::protobuf::uint8* XPhone_CaijiNearbyIDReq::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CaijiNearbyIDReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CaijiNearbyIDReq)
- return target;
- }
- int XPhone_CaijiNearbyIDReq::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_CaijiNearbyIDReq::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_CaijiNearbyIDReq* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CaijiNearbyIDReq>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_CaijiNearbyIDReq::MergeFrom(const XPhone_CaijiNearbyIDReq& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- }
- void XPhone_CaijiNearbyIDReq::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_CaijiNearbyIDReq::CopyFrom(const XPhone_CaijiNearbyIDReq& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_CaijiNearbyIDReq::IsInitialized() const {
- return true;
- }
- void XPhone_CaijiNearbyIDReq::Swap(XPhone_CaijiNearbyIDReq* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_CaijiNearbyIDReq::InternalSwap(XPhone_CaijiNearbyIDReq* other) {
- std::swap(head_, other->head_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_CaijiNearbyIDReq::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_CaijiNearbyIDReq_descriptor_;
- metadata.reflection = XPhone_CaijiNearbyIDReq_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_CaijiNearbyIDReq
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_CaijiNearbyIDReq::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_CaijiNearbyIDReq::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_CaijiNearbyIDReq::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiNearbyIDReq.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiNearbyIDReq::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiNearbyIDReq.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiNearbyIDReq::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_CaijiNearbyIDReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CaijiNearbyIDReq.head)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_CaijiFriendIDReq::kHeadFieldNumber;
- #endif // !_MSC_VER
- XPhone_CaijiFriendIDReq::XPhone_CaijiFriendIDReq()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CaijiFriendIDReq)
- }
- void XPhone_CaijiFriendIDReq::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_CaijiFriendIDReq::XPhone_CaijiFriendIDReq(const XPhone_CaijiFriendIDReq& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CaijiFriendIDReq)
- }
- void XPhone_CaijiFriendIDReq::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- }
- XPhone_CaijiFriendIDReq::~XPhone_CaijiFriendIDReq() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CaijiFriendIDReq)
- SharedDtor();
- }
- void XPhone_CaijiFriendIDReq::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_CaijiFriendIDReq::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_CaijiFriendIDReq::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_CaijiFriendIDReq_descriptor_;
- }
- const XPhone_CaijiFriendIDReq& XPhone_CaijiFriendIDReq::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_CaijiFriendIDReq* XPhone_CaijiFriendIDReq::default_instance_ = NULL;
- XPhone_CaijiFriendIDReq* XPhone_CaijiFriendIDReq::New(::google::protobuf::Arena* arena) const {
- XPhone_CaijiFriendIDReq* n = new XPhone_CaijiFriendIDReq;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_CaijiFriendIDReq::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- bool XPhone_CaijiFriendIDReq::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CaijiFriendIDReq)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CaijiFriendIDReq)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CaijiFriendIDReq)
- return false;
- #undef DO_
- }
- void XPhone_CaijiFriendIDReq::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CaijiFriendIDReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CaijiFriendIDReq)
- }
- ::google::protobuf::uint8* XPhone_CaijiFriendIDReq::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CaijiFriendIDReq)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CaijiFriendIDReq)
- return target;
- }
- int XPhone_CaijiFriendIDReq::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_CaijiFriendIDReq::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_CaijiFriendIDReq* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CaijiFriendIDReq>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_CaijiFriendIDReq::MergeFrom(const XPhone_CaijiFriendIDReq& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- }
- void XPhone_CaijiFriendIDReq::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_CaijiFriendIDReq::CopyFrom(const XPhone_CaijiFriendIDReq& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_CaijiFriendIDReq::IsInitialized() const {
- return true;
- }
- void XPhone_CaijiFriendIDReq::Swap(XPhone_CaijiFriendIDReq* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_CaijiFriendIDReq::InternalSwap(XPhone_CaijiFriendIDReq* other) {
- std::swap(head_, other->head_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_CaijiFriendIDReq::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_CaijiFriendIDReq_descriptor_;
- metadata.reflection = XPhone_CaijiFriendIDReq_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_CaijiFriendIDReq
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_CaijiFriendIDReq::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_CaijiFriendIDReq::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_CaijiFriendIDReq::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiFriendIDReq.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiFriendIDReq::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiFriendIDReq.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiFriendIDReq::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_CaijiFriendIDReq::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CaijiFriendIDReq.head)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_IDInfo::kStridFieldNumber;
- const int XPhone_IDInfo::kStrusernameFieldNumber;
- const int XPhone_IDInfo::kStrnickernameFieldNumber;
- const int XPhone_IDInfo::kIsexFieldNumber;
- #endif // !_MSC_VER
- XPhone_IDInfo::XPhone_IDInfo()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_IDInfo)
- }
- void XPhone_IDInfo::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- }
- XPhone_IDInfo::XPhone_IDInfo(const XPhone_IDInfo& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_IDInfo)
- }
- void XPhone_IDInfo::SharedCtor() {
- _is_default_instance_ = false;
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- strid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strusername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strnickername_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- isex_ = 0;
- }
- XPhone_IDInfo::~XPhone_IDInfo() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_IDInfo)
- SharedDtor();
- }
- void XPhone_IDInfo::SharedDtor() {
- strid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strusername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strnickername_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (this != default_instance_) {
- }
- }
- void XPhone_IDInfo::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_IDInfo::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_IDInfo_descriptor_;
- }
- const XPhone_IDInfo& XPhone_IDInfo::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_IDInfo* XPhone_IDInfo::default_instance_ = NULL;
- XPhone_IDInfo* XPhone_IDInfo::New(::google::protobuf::Arena* arena) const {
- XPhone_IDInfo* n = new XPhone_IDInfo;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_IDInfo::Clear() {
- strid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- isex_ = 0;
- }
- bool XPhone_IDInfo::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_IDInfo)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional string strid = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strid()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strid().data(), this->strid().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_IDInfo.strid"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_strusername;
- break;
- }
- // optional string strusername = 2;
- case 2: {
- if (tag == 18) {
- parse_strusername:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strusername()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_IDInfo.strusername"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(26)) goto parse_strnickername;
- break;
- }
- // optional string strnickername = 3;
- case 3: {
- if (tag == 26) {
- parse_strnickername:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_strnickername()));
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strnickername().data(), this->strnickername().length(),
- ::google::protobuf::internal::WireFormatLite::PARSE,
- "XPhonePlus.XPhone_IDInfo.strnickername"));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(32)) goto parse_isex;
- break;
- }
- // optional int32 isex = 4;
- case 4: {
- if (tag == 32) {
- parse_isex:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &isex_)));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_IDInfo)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_IDInfo)
- return false;
- #undef DO_
- }
- void XPhone_IDInfo::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_IDInfo)
- // optional string strid = 1;
- if (this->strid().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strid().data(), this->strid().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_IDInfo.strid");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 1, this->strid(), output);
- }
- // optional string strusername = 2;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_IDInfo.strusername");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->strusername(), output);
- }
- // optional string strnickername = 3;
- if (this->strnickername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strnickername().data(), this->strnickername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_IDInfo.strnickername");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 3, this->strnickername(), output);
- }
- // optional int32 isex = 4;
- if (this->isex() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->isex(), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_IDInfo)
- }
- ::google::protobuf::uint8* XPhone_IDInfo::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_IDInfo)
- // optional string strid = 1;
- if (this->strid().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strid().data(), this->strid().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_IDInfo.strid");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 1, this->strid(), target);
- }
- // optional string strusername = 2;
- if (this->strusername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strusername().data(), this->strusername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_IDInfo.strusername");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->strusername(), target);
- }
- // optional string strnickername = 3;
- if (this->strnickername().size() > 0) {
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- this->strnickername().data(), this->strnickername().length(),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
- "XPhonePlus.XPhone_IDInfo.strnickername");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 3, this->strnickername(), target);
- }
- // optional int32 isex = 4;
- if (this->isex() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->isex(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_IDInfo)
- return target;
- }
- int XPhone_IDInfo::ByteSize() const {
- int total_size = 0;
- // optional string strid = 1;
- if (this->strid().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strid());
- }
- // optional string strusername = 2;
- if (this->strusername().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strusername());
- }
- // optional string strnickername = 3;
- if (this->strnickername().size() > 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->strnickername());
- }
- // optional int32 isex = 4;
- if (this->isex() != 0) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->isex());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_IDInfo::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_IDInfo* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_IDInfo>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_IDInfo::MergeFrom(const XPhone_IDInfo& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- if (from.strid().size() > 0) {
- strid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strid_);
- }
- if (from.strusername().size() > 0) {
- strusername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strusername_);
- }
- if (from.strnickername().size() > 0) {
- strnickername_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.strnickername_);
- }
- if (from.isex() != 0) {
- set_isex(from.isex());
- }
- }
- void XPhone_IDInfo::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_IDInfo::CopyFrom(const XPhone_IDInfo& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_IDInfo::IsInitialized() const {
- return true;
- }
- void XPhone_IDInfo::Swap(XPhone_IDInfo* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_IDInfo::InternalSwap(XPhone_IDInfo* other) {
- strid_.Swap(&other->strid_);
- strusername_.Swap(&other->strusername_);
- strnickername_.Swap(&other->strnickername_);
- std::swap(isex_, other->isex_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_IDInfo::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_IDInfo_descriptor_;
- metadata.reflection = XPhone_IDInfo_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_IDInfo
- // optional string strid = 1;
- void XPhone_IDInfo::clear_strid() {
- strid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_IDInfo::strid() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_IDInfo.strid)
- return strid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_IDInfo::set_strid(const ::std::string& value) {
-
- strid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_IDInfo.strid)
- }
- void XPhone_IDInfo::set_strid(const char* value) {
-
- strid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_IDInfo.strid)
- }
- void XPhone_IDInfo::set_strid(const char* value, size_t size) {
-
- strid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_IDInfo.strid)
- }
- ::std::string* XPhone_IDInfo::mutable_strid() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_IDInfo.strid)
- return strid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_IDInfo::release_strid() {
-
- return strid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_IDInfo::set_allocated_strid(::std::string* strid) {
- if (strid != NULL) {
-
- } else {
-
- }
- strid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strid);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_IDInfo.strid)
- }
- // optional string strusername = 2;
- void XPhone_IDInfo::clear_strusername() {
- strusername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_IDInfo::strusername() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_IDInfo.strusername)
- return strusername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_IDInfo::set_strusername(const ::std::string& value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_IDInfo.strusername)
- }
- void XPhone_IDInfo::set_strusername(const char* value) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_IDInfo.strusername)
- }
- void XPhone_IDInfo::set_strusername(const char* value, size_t size) {
-
- strusername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_IDInfo.strusername)
- }
- ::std::string* XPhone_IDInfo::mutable_strusername() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_IDInfo.strusername)
- return strusername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_IDInfo::release_strusername() {
-
- return strusername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_IDInfo::set_allocated_strusername(::std::string* strusername) {
- if (strusername != NULL) {
-
- } else {
-
- }
- strusername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strusername);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_IDInfo.strusername)
- }
- // optional string strnickername = 3;
- void XPhone_IDInfo::clear_strnickername() {
- strnickername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- const ::std::string& XPhone_IDInfo::strnickername() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_IDInfo.strnickername)
- return strnickername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_IDInfo::set_strnickername(const ::std::string& value) {
-
- strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_IDInfo.strnickername)
- }
- void XPhone_IDInfo::set_strnickername(const char* value) {
-
- strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:XPhonePlus.XPhone_IDInfo.strnickername)
- }
- void XPhone_IDInfo::set_strnickername(const char* value, size_t size) {
-
- strnickername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:XPhonePlus.XPhone_IDInfo.strnickername)
- }
- ::std::string* XPhone_IDInfo::mutable_strnickername() {
-
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_IDInfo.strnickername)
- return strnickername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- ::std::string* XPhone_IDInfo::release_strnickername() {
-
- return strnickername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void XPhone_IDInfo::set_allocated_strnickername(::std::string* strnickername) {
- if (strnickername != NULL) {
-
- } else {
-
- }
- strnickername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), strnickername);
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_IDInfo.strnickername)
- }
- // optional int32 isex = 4;
- void XPhone_IDInfo::clear_isex() {
- isex_ = 0;
- }
- ::google::protobuf::int32 XPhone_IDInfo::isex() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_IDInfo.isex)
- return isex_;
- }
- void XPhone_IDInfo::set_isex(::google::protobuf::int32 value) {
-
- isex_ = value;
- // @@protoc_insertion_point(field_set:XPhonePlus.XPhone_IDInfo.isex)
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // ===================================================================
- #ifndef _MSC_VER
- const int XPhone_CaijiIDRsp::kHeadFieldNumber;
- const int XPhone_CaijiIDRsp::kIdsFieldNumber;
- #endif // !_MSC_VER
- XPhone_CaijiIDRsp::XPhone_CaijiIDRsp()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:XPhonePlus.XPhone_CaijiIDRsp)
- }
- void XPhone_CaijiIDRsp::InitAsDefaultInstance() {
- _is_default_instance_ = true;
- head_ = const_cast< ::XPhonePlus::XPhone_MsgBase*>(&::XPhonePlus::XPhone_MsgBase::default_instance());
- }
- XPhone_CaijiIDRsp::XPhone_CaijiIDRsp(const XPhone_CaijiIDRsp& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL) {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:XPhonePlus.XPhone_CaijiIDRsp)
- }
- void XPhone_CaijiIDRsp::SharedCtor() {
- _is_default_instance_ = false;
- _cached_size_ = 0;
- head_ = NULL;
- }
- XPhone_CaijiIDRsp::~XPhone_CaijiIDRsp() {
- // @@protoc_insertion_point(destructor:XPhonePlus.XPhone_CaijiIDRsp)
- SharedDtor();
- }
- void XPhone_CaijiIDRsp::SharedDtor() {
- if (this != default_instance_) {
- delete head_;
- }
- }
- void XPhone_CaijiIDRsp::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* XPhone_CaijiIDRsp::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return XPhone_CaijiIDRsp_descriptor_;
- }
- const XPhone_CaijiIDRsp& XPhone_CaijiIDRsp::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_common_2eproto();
- return *default_instance_;
- }
- XPhone_CaijiIDRsp* XPhone_CaijiIDRsp::default_instance_ = NULL;
- XPhone_CaijiIDRsp* XPhone_CaijiIDRsp::New(::google::protobuf::Arena* arena) const {
- XPhone_CaijiIDRsp* n = new XPhone_CaijiIDRsp;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void XPhone_CaijiIDRsp::Clear() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- ids_.Clear();
- }
- bool XPhone_CaijiIDRsp::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:XPhonePlus.XPhone_CaijiIDRsp)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, mutable_head()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_ids;
- break;
- }
- // repeated .XPhonePlus.XPhone_IDInfo ids = 2;
- case 2: {
- if (tag == 18) {
- parse_ids:
- DO_(input->IncrementRecursionDepth());
- parse_loop_ids:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
- input, add_ids()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_loop_ids;
- input->UnsafeDecrementRecursionDepth();
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:XPhonePlus.XPhone_CaijiIDRsp)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:XPhonePlus.XPhone_CaijiIDRsp)
- return false;
- #undef DO_
- }
- void XPhone_CaijiIDRsp::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:XPhonePlus.XPhone_CaijiIDRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->head_, output);
- }
- // repeated .XPhonePlus.XPhone_IDInfo ids = 2;
- for (unsigned int i = 0, n = this->ids_size(); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 2, this->ids(i), output);
- }
- // @@protoc_insertion_point(serialize_end:XPhonePlus.XPhone_CaijiIDRsp)
- }
- ::google::protobuf::uint8* XPhone_CaijiIDRsp::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:XPhonePlus.XPhone_CaijiIDRsp)
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, *this->head_, target);
- }
- // repeated .XPhonePlus.XPhone_IDInfo ids = 2;
- for (unsigned int i = 0, n = this->ids_size(); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 2, this->ids(i), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:XPhonePlus.XPhone_CaijiIDRsp)
- return target;
- }
- int XPhone_CaijiIDRsp::ByteSize() const {
- int total_size = 0;
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- if (this->has_head()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- *this->head_);
- }
- // repeated .XPhonePlus.XPhone_IDInfo ids = 2;
- total_size += 1 * this->ids_size();
- for (int i = 0; i < this->ids_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->ids(i));
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void XPhone_CaijiIDRsp::MergeFrom(const ::google::protobuf::Message& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- const XPhone_CaijiIDRsp* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const XPhone_CaijiIDRsp>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void XPhone_CaijiIDRsp::MergeFrom(const XPhone_CaijiIDRsp& from) {
- if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
- ids_.MergeFrom(from.ids_);
- if (from.has_head()) {
- mutable_head()->::XPhonePlus::XPhone_MsgBase::MergeFrom(from.head());
- }
- }
- void XPhone_CaijiIDRsp::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void XPhone_CaijiIDRsp::CopyFrom(const XPhone_CaijiIDRsp& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool XPhone_CaijiIDRsp::IsInitialized() const {
- return true;
- }
- void XPhone_CaijiIDRsp::Swap(XPhone_CaijiIDRsp* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void XPhone_CaijiIDRsp::InternalSwap(XPhone_CaijiIDRsp* other) {
- std::swap(head_, other->head_);
- ids_.UnsafeArenaSwap(&other->ids_);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata XPhone_CaijiIDRsp::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = XPhone_CaijiIDRsp_descriptor_;
- metadata.reflection = XPhone_CaijiIDRsp_reflection_;
- return metadata;
- }
- #if PROTOBUF_INLINE_NOT_IN_HEADERS
- // XPhone_CaijiIDRsp
- // optional .XPhonePlus.XPhone_MsgBase head = 1;
- bool XPhone_CaijiIDRsp::has_head() const {
- return !_is_default_instance_ && head_ != NULL;
- }
- void XPhone_CaijiIDRsp::clear_head() {
- if (GetArenaNoVirtual() == NULL && head_ != NULL) delete head_;
- head_ = NULL;
- }
- const ::XPhonePlus::XPhone_MsgBase& XPhone_CaijiIDRsp::head() const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiIDRsp.head)
- return head_ != NULL ? *head_ : *default_instance_->head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiIDRsp::mutable_head() {
-
- if (head_ == NULL) {
- head_ = new ::XPhonePlus::XPhone_MsgBase;
- }
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiIDRsp.head)
- return head_;
- }
- ::XPhonePlus::XPhone_MsgBase* XPhone_CaijiIDRsp::release_head() {
-
- ::XPhonePlus::XPhone_MsgBase* temp = head_;
- head_ = NULL;
- return temp;
- }
- void XPhone_CaijiIDRsp::set_allocated_head(::XPhonePlus::XPhone_MsgBase* head) {
- delete head_;
- head_ = head;
- if (head) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_set_allocated:XPhonePlus.XPhone_CaijiIDRsp.head)
- }
- // repeated .XPhonePlus.XPhone_IDInfo ids = 2;
- int XPhone_CaijiIDRsp::ids_size() const {
- return ids_.size();
- }
- void XPhone_CaijiIDRsp::clear_ids() {
- ids_.Clear();
- }
- const ::XPhonePlus::XPhone_IDInfo& XPhone_CaijiIDRsp::ids(int index) const {
- // @@protoc_insertion_point(field_get:XPhonePlus.XPhone_CaijiIDRsp.ids)
- return ids_.Get(index);
- }
- ::XPhonePlus::XPhone_IDInfo* XPhone_CaijiIDRsp::mutable_ids(int index) {
- // @@protoc_insertion_point(field_mutable:XPhonePlus.XPhone_CaijiIDRsp.ids)
- return ids_.Mutable(index);
- }
- ::XPhonePlus::XPhone_IDInfo* XPhone_CaijiIDRsp::add_ids() {
- // @@protoc_insertion_point(field_add:XPhonePlus.XPhone_CaijiIDRsp.ids)
- return ids_.Add();
- }
- ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_IDInfo >*
- XPhone_CaijiIDRsp::mutable_ids() {
- // @@protoc_insertion_point(field_mutable_list:XPhonePlus.XPhone_CaijiIDRsp.ids)
- return &ids_;
- }
- const ::google::protobuf::RepeatedPtrField< ::XPhonePlus::XPhone_IDInfo >&
- XPhone_CaijiIDRsp::ids() const {
- // @@protoc_insertion_point(field_list:XPhonePlus.XPhone_CaijiIDRsp.ids)
- return ids_;
- }
- #endif // PROTOBUF_INLINE_NOT_IN_HEADERS
- // @@protoc_insertion_point(namespace_scope)
- } // namespace XPhonePlus
- // @@protoc_insertion_point(global_scope)
|