123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733 |
- // Code generated by protoc-gen-gogo. DO NOT EDIT.
- // source: service.proto
- package v1
- import proto "github.com/gogo/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "github.com/gogo/protobuf/gogoproto"
- import io "io"
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
- // 历史记录请求参数定义
- type GetHistoryReq struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetHistoryReq) Reset() { *m = GetHistoryReq{} }
- func (m *GetHistoryReq) String() string { return proto.CompactTextString(m) }
- func (*GetHistoryReq) ProtoMessage() {}
- func (*GetHistoryReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{0}
- }
- func (m *GetHistoryReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetHistoryReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetHistoryReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetHistoryReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetHistoryReq.Merge(dst, src)
- }
- func (m *GetHistoryReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GetHistoryReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetHistoryReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetHistoryReq proto.InternalMessageInfo
- // 获取接口返回响应
- type GetHistoryResp struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title"`
- Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count"`
- List []*GetHistoryResp_List `protobuf:"bytes,5,rep,name=list" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetHistoryResp) Reset() { *m = GetHistoryResp{} }
- func (m *GetHistoryResp) String() string { return proto.CompactTextString(m) }
- func (*GetHistoryResp) ProtoMessage() {}
- func (*GetHistoryResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{1}
- }
- func (m *GetHistoryResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetHistoryResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetHistoryResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetHistoryResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetHistoryResp.Merge(dst, src)
- }
- func (m *GetHistoryResp) XXX_Size() int {
- return m.Size()
- }
- func (m *GetHistoryResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetHistoryResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetHistoryResp proto.InternalMessageInfo
- func (m *GetHistoryResp) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *GetHistoryResp) GetCount() int32 {
- if m != nil {
- return m.Count
- }
- return 0
- }
- func (m *GetHistoryResp) GetList() []*GetHistoryResp_List {
- if m != nil {
- return m.List
- }
- return nil
- }
- type GetHistoryResp_List struct {
- Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid"`
- Uid int32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
- Uname string `protobuf:"bytes,3,opt,name=uname,proto3" json:"uname,omitempty"`
- UserCover string `protobuf:"bytes,4,opt,name=user_cover,json=userCover,proto3" json:"user_cover"`
- Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title"`
- Face string `protobuf:"bytes,6,opt,name=face,proto3" json:"face"`
- Tags string `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags"`
- LiveStatus int32 `protobuf:"varint,9,opt,name=live_status,json=liveStatus,proto3" json:"live_status"`
- FansNum int32 `protobuf:"varint,10,opt,name=fans_num,json=fansNum,proto3" json:"fans_num"`
- IsAttention int32 `protobuf:"varint,12,opt,name=is_attention,json=isAttention,proto3" json:"is_attention"`
- AreaV2Id int32 `protobuf:"varint,13,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id,omitempty"`
- AreaV2Name string `protobuf:"bytes,14,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name"`
- AreaV2ParentName string `protobuf:"bytes,15,opt,name=area_v2_parent_name,json=areaV2ParentName,proto3" json:"area_v2_parent_name"`
- AreaV2ParentId int32 `protobuf:"varint,16,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetHistoryResp_List) Reset() { *m = GetHistoryResp_List{} }
- func (m *GetHistoryResp_List) String() string { return proto.CompactTextString(m) }
- func (*GetHistoryResp_List) ProtoMessage() {}
- func (*GetHistoryResp_List) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{1, 0}
- }
- func (m *GetHistoryResp_List) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetHistoryResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetHistoryResp_List.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetHistoryResp_List) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetHistoryResp_List.Merge(dst, src)
- }
- func (m *GetHistoryResp_List) XXX_Size() int {
- return m.Size()
- }
- func (m *GetHistoryResp_List) XXX_DiscardUnknown() {
- xxx_messageInfo_GetHistoryResp_List.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetHistoryResp_List proto.InternalMessageInfo
- func (m *GetHistoryResp_List) GetRoomid() int64 {
- if m != nil {
- return m.Roomid
- }
- return 0
- }
- func (m *GetHistoryResp_List) GetUid() int32 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *GetHistoryResp_List) GetUname() string {
- if m != nil {
- return m.Uname
- }
- return ""
- }
- func (m *GetHistoryResp_List) GetUserCover() string {
- if m != nil {
- return m.UserCover
- }
- return ""
- }
- func (m *GetHistoryResp_List) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *GetHistoryResp_List) GetFace() string {
- if m != nil {
- return m.Face
- }
- return ""
- }
- func (m *GetHistoryResp_List) GetTags() string {
- if m != nil {
- return m.Tags
- }
- return ""
- }
- func (m *GetHistoryResp_List) GetLiveStatus() int32 {
- if m != nil {
- return m.LiveStatus
- }
- return 0
- }
- func (m *GetHistoryResp_List) GetFansNum() int32 {
- if m != nil {
- return m.FansNum
- }
- return 0
- }
- func (m *GetHistoryResp_List) GetIsAttention() int32 {
- if m != nil {
- return m.IsAttention
- }
- return 0
- }
- func (m *GetHistoryResp_List) GetAreaV2Id() int32 {
- if m != nil {
- return m.AreaV2Id
- }
- return 0
- }
- func (m *GetHistoryResp_List) GetAreaV2Name() string {
- if m != nil {
- return m.AreaV2Name
- }
- return ""
- }
- func (m *GetHistoryResp_List) GetAreaV2ParentName() string {
- if m != nil {
- return m.AreaV2ParentName
- }
- return ""
- }
- func (m *GetHistoryResp_List) GetAreaV2ParentId() int32 {
- if m != nil {
- return m.AreaV2ParentId
- }
- return 0
- }
- // 删除历史记录参数定义
- type DelHistoryReq struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DelHistoryReq) Reset() { *m = DelHistoryReq{} }
- func (m *DelHistoryReq) String() string { return proto.CompactTextString(m) }
- func (*DelHistoryReq) ProtoMessage() {}
- func (*DelHistoryReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{2}
- }
- func (m *DelHistoryReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DelHistoryReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DelHistoryReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DelHistoryReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DelHistoryReq.Merge(dst, src)
- }
- func (m *DelHistoryReq) XXX_Size() int {
- return m.Size()
- }
- func (m *DelHistoryReq) XXX_DiscardUnknown() {
- xxx_messageInfo_DelHistoryReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_DelHistoryReq proto.InternalMessageInfo
- // 删除直播历史记录响应
- type DelHistoryResp struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DelHistoryResp) Reset() { *m = DelHistoryResp{} }
- func (m *DelHistoryResp) String() string { return proto.CompactTextString(m) }
- func (*DelHistoryResp) ProtoMessage() {}
- func (*DelHistoryResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{3}
- }
- func (m *DelHistoryResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DelHistoryResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DelHistoryResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DelHistoryResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DelHistoryResp.Merge(dst, src)
- }
- func (m *DelHistoryResp) XXX_Size() int {
- return m.Size()
- }
- func (m *DelHistoryResp) XXX_DiscardUnknown() {
- xxx_messageInfo_DelHistoryResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_DelHistoryResp proto.InternalMessageInfo
- type AnchorTaskAddRewardReq struct {
- // 奖励id, 1:任意门
- RewardId int64 `protobuf:"varint,4,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty" form:"reward_id" validate:"required"`
- // 房间号
- Roomid int64 `protobuf:"varint,8,opt,name=roomid,proto3" json:"roomid,omitempty" form:"roomid" validate:"required"`
- // 来源,1:主播任务,2:小时榜
- Source int64 `protobuf:"varint,9,opt,name=source,proto3" json:"source,omitempty" form:"source" validate:"required"`
- // 主播uid
- Uid int64 `protobuf:"varint,10,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
- // 流水单号
- OrderId string `protobuf:"bytes,11,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty" form:"order_id" validate:"required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskAddRewardReq) Reset() { *m = AnchorTaskAddRewardReq{} }
- func (m *AnchorTaskAddRewardReq) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskAddRewardReq) ProtoMessage() {}
- func (*AnchorTaskAddRewardReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{4}
- }
- func (m *AnchorTaskAddRewardReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskAddRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskAddRewardReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskAddRewardReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskAddRewardReq.Merge(dst, src)
- }
- func (m *AnchorTaskAddRewardReq) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskAddRewardReq) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskAddRewardReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskAddRewardReq proto.InternalMessageInfo
- func (m *AnchorTaskAddRewardReq) GetRewardId() int64 {
- if m != nil {
- return m.RewardId
- }
- return 0
- }
- func (m *AnchorTaskAddRewardReq) GetRoomid() int64 {
- if m != nil {
- return m.Roomid
- }
- return 0
- }
- func (m *AnchorTaskAddRewardReq) GetSource() int64 {
- if m != nil {
- return m.Source
- }
- return 0
- }
- func (m *AnchorTaskAddRewardReq) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *AnchorTaskAddRewardReq) GetOrderId() string {
- if m != nil {
- return m.OrderId
- }
- return ""
- }
- type AnchorTaskAddRewardResp struct {
- Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskAddRewardResp) Reset() { *m = AnchorTaskAddRewardResp{} }
- func (m *AnchorTaskAddRewardResp) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskAddRewardResp) ProtoMessage() {}
- func (*AnchorTaskAddRewardResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{5}
- }
- func (m *AnchorTaskAddRewardResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskAddRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskAddRewardResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskAddRewardResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskAddRewardResp.Merge(dst, src)
- }
- func (m *AnchorTaskAddRewardResp) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskAddRewardResp) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskAddRewardResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskAddRewardResp proto.InternalMessageInfo
- func (m *AnchorTaskAddRewardResp) GetResult() int64 {
- if m != nil {
- return m.Result
- }
- return 0
- }
- type AnchorTaskMyRewardReq struct {
- // 页数
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskMyRewardReq) Reset() { *m = AnchorTaskMyRewardReq{} }
- func (m *AnchorTaskMyRewardReq) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskMyRewardReq) ProtoMessage() {}
- func (*AnchorTaskMyRewardReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{6}
- }
- func (m *AnchorTaskMyRewardReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskMyRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskMyRewardReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskMyRewardReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskMyRewardReq.Merge(dst, src)
- }
- func (m *AnchorTaskMyRewardReq) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskMyRewardReq) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskMyRewardReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskMyRewardReq proto.InternalMessageInfo
- func (m *AnchorTaskMyRewardReq) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- type AnchorTaskMyRewardResp struct {
- //
- Data []*AnchorTaskMyRewardResp_RewardObj `protobuf:"bytes,1,rep,name=data" json:"data"`
- //
- Page *AnchorTaskMyRewardResp_Page `protobuf:"bytes,2,opt,name=page" json:"page"`
- // 过期奖励数量
- ExpireCount int64 `protobuf:"varint,3,opt,name=expire_count,json=expireCount,proto3" json:"expire_count"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskMyRewardResp) Reset() { *m = AnchorTaskMyRewardResp{} }
- func (m *AnchorTaskMyRewardResp) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskMyRewardResp) ProtoMessage() {}
- func (*AnchorTaskMyRewardResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{7}
- }
- func (m *AnchorTaskMyRewardResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskMyRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskMyRewardResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskMyRewardResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskMyRewardResp.Merge(dst, src)
- }
- func (m *AnchorTaskMyRewardResp) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskMyRewardResp) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskMyRewardResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskMyRewardResp proto.InternalMessageInfo
- func (m *AnchorTaskMyRewardResp) GetData() []*AnchorTaskMyRewardResp_RewardObj {
- if m != nil {
- return m.Data
- }
- return nil
- }
- func (m *AnchorTaskMyRewardResp) GetPage() *AnchorTaskMyRewardResp_Page {
- if m != nil {
- return m.Page
- }
- return nil
- }
- func (m *AnchorTaskMyRewardResp) GetExpireCount() int64 {
- if m != nil {
- return m.ExpireCount
- }
- return 0
- }
- type AnchorTaskMyRewardResp_RewardObj struct {
- // id
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- // 奖励类型 1:ss推荐卡 2:s推荐卡、任意门
- RewardType int64 `protobuf:"varint,2,opt,name=reward_type,json=rewardType,proto3" json:"reward_type"`
- // 1:未使用,3:已使用,5:已过期
- Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status"`
- // 奖励id
- RewardId int64 `protobuf:"varint,4,opt,name=reward_id,json=rewardId,proto3" json:"reward_id"`
- // 奖励名称
- Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name"`
- // 奖励图标
- Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon"`
- // 获得时间datetime
- AchieveTime string `protobuf:"bytes,7,opt,name=achieve_time,json=achieveTime,proto3" json:"achieve_time"`
- // 过期时间datetime
- ExpireTime string `protobuf:"bytes,8,opt,name=expire_time,json=expireTime,proto3" json:"expire_time"`
- // 来源,1:主播任务,2:小时榜
- Source int64 `protobuf:"varint,9,opt,name=source,proto3" json:"source"`
- // 奖励简介
- RewardIntro string `protobuf:"bytes,10,opt,name=reward_intro,json=rewardIntro,proto3" json:"reward_intro"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) Reset() { *m = AnchorTaskMyRewardResp_RewardObj{} }
- func (m *AnchorTaskMyRewardResp_RewardObj) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskMyRewardResp_RewardObj) ProtoMessage() {}
- func (*AnchorTaskMyRewardResp_RewardObj) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{7, 0}
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskMyRewardResp_RewardObj.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskMyRewardResp_RewardObj) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskMyRewardResp_RewardObj.Merge(dst, src)
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskMyRewardResp_RewardObj.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskMyRewardResp_RewardObj proto.InternalMessageInfo
- func (m *AnchorTaskMyRewardResp_RewardObj) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardType() int64 {
- if m != nil {
- return m.RewardType
- }
- return 0
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) GetStatus() int64 {
- if m != nil {
- return m.Status
- }
- return 0
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardId() int64 {
- if m != nil {
- return m.RewardId
- }
- return 0
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) GetIcon() string {
- if m != nil {
- return m.Icon
- }
- return ""
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) GetAchieveTime() string {
- if m != nil {
- return m.AchieveTime
- }
- return ""
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) GetExpireTime() string {
- if m != nil {
- return m.ExpireTime
- }
- return ""
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) GetSource() int64 {
- if m != nil {
- return m.Source
- }
- return 0
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardIntro() string {
- if m != nil {
- return m.RewardIntro
- }
- return ""
- }
- type AnchorTaskMyRewardResp_Page struct {
- // 当前页码
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- // 每页大小
- PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- // 总页数
- TotalPage int64 `protobuf:"varint,3,opt,name=total_page,json=totalPage,proto3" json:"total_page"`
- // 总记录数
- TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskMyRewardResp_Page) Reset() { *m = AnchorTaskMyRewardResp_Page{} }
- func (m *AnchorTaskMyRewardResp_Page) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskMyRewardResp_Page) ProtoMessage() {}
- func (*AnchorTaskMyRewardResp_Page) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{7, 1}
- }
- func (m *AnchorTaskMyRewardResp_Page) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskMyRewardResp_Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskMyRewardResp_Page.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskMyRewardResp_Page) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskMyRewardResp_Page.Merge(dst, src)
- }
- func (m *AnchorTaskMyRewardResp_Page) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskMyRewardResp_Page) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskMyRewardResp_Page.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskMyRewardResp_Page proto.InternalMessageInfo
- func (m *AnchorTaskMyRewardResp_Page) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *AnchorTaskMyRewardResp_Page) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *AnchorTaskMyRewardResp_Page) GetTotalPage() int64 {
- if m != nil {
- return m.TotalPage
- }
- return 0
- }
- func (m *AnchorTaskMyRewardResp_Page) GetTotalCount() int64 {
- if m != nil {
- return m.TotalCount
- }
- return 0
- }
- type AnchorTaskUseRecordReq struct {
- // 页数
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskUseRecordReq) Reset() { *m = AnchorTaskUseRecordReq{} }
- func (m *AnchorTaskUseRecordReq) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskUseRecordReq) ProtoMessage() {}
- func (*AnchorTaskUseRecordReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{8}
- }
- func (m *AnchorTaskUseRecordReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskUseRecordReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskUseRecordReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskUseRecordReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskUseRecordReq.Merge(dst, src)
- }
- func (m *AnchorTaskUseRecordReq) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskUseRecordReq) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskUseRecordReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskUseRecordReq proto.InternalMessageInfo
- func (m *AnchorTaskUseRecordReq) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- type AnchorTaskUseRecordResp struct {
- //
- Data []*AnchorTaskUseRecordResp_RewardObj `protobuf:"bytes,1,rep,name=data" json:"data"`
- //
- Page *AnchorTaskUseRecordResp_Page `protobuf:"bytes,2,opt,name=page" json:"page"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskUseRecordResp) Reset() { *m = AnchorTaskUseRecordResp{} }
- func (m *AnchorTaskUseRecordResp) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskUseRecordResp) ProtoMessage() {}
- func (*AnchorTaskUseRecordResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{9}
- }
- func (m *AnchorTaskUseRecordResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskUseRecordResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskUseRecordResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskUseRecordResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskUseRecordResp.Merge(dst, src)
- }
- func (m *AnchorTaskUseRecordResp) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskUseRecordResp) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskUseRecordResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskUseRecordResp proto.InternalMessageInfo
- func (m *AnchorTaskUseRecordResp) GetData() []*AnchorTaskUseRecordResp_RewardObj {
- if m != nil {
- return m.Data
- }
- return nil
- }
- func (m *AnchorTaskUseRecordResp) GetPage() *AnchorTaskUseRecordResp_Page {
- if m != nil {
- return m.Page
- }
- return nil
- }
- type AnchorTaskUseRecordResp_RewardObj struct {
- // id
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- // 奖励id
- RewardId int64 `protobuf:"varint,2,opt,name=reward_id,json=rewardId,proto3" json:"reward_id"`
- // 1:未使用,3:已使用,5:已过期
- Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status"`
- // 奖励名称
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
- // 奖励图标
- Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon"`
- // 获得时间datetime
- AchieveTime string `protobuf:"bytes,6,opt,name=achieve_time,json=achieveTime,proto3" json:"achieve_time"`
- // 过期时间datetime
- ExpireTime string `protobuf:"bytes,7,opt,name=expire_time,json=expireTime,proto3" json:"expire_time"`
- // 来源,1:主播任务,2:小时榜
- Source int64 `protobuf:"varint,8,opt,name=source,proto3" json:"source"`
- // 奖励简介
- RewardIntro string `protobuf:"bytes,9,opt,name=reward_intro,json=rewardIntro,proto3" json:"reward_intro"`
- // 获得时间datetime
- UseTime string `protobuf:"bytes,10,opt,name=use_time,json=useTime,proto3" json:"use_time"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) Reset() { *m = AnchorTaskUseRecordResp_RewardObj{} }
- func (m *AnchorTaskUseRecordResp_RewardObj) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskUseRecordResp_RewardObj) ProtoMessage() {}
- func (*AnchorTaskUseRecordResp_RewardObj) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{9, 0}
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskUseRecordResp_RewardObj.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskUseRecordResp_RewardObj) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskUseRecordResp_RewardObj.Merge(dst, src)
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskUseRecordResp_RewardObj.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskUseRecordResp_RewardObj proto.InternalMessageInfo
- func (m *AnchorTaskUseRecordResp_RewardObj) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) GetRewardId() int64 {
- if m != nil {
- return m.RewardId
- }
- return 0
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) GetStatus() int64 {
- if m != nil {
- return m.Status
- }
- return 0
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) GetIcon() string {
- if m != nil {
- return m.Icon
- }
- return ""
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) GetAchieveTime() string {
- if m != nil {
- return m.AchieveTime
- }
- return ""
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) GetExpireTime() string {
- if m != nil {
- return m.ExpireTime
- }
- return ""
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) GetSource() int64 {
- if m != nil {
- return m.Source
- }
- return 0
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) GetRewardIntro() string {
- if m != nil {
- return m.RewardIntro
- }
- return ""
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) GetUseTime() string {
- if m != nil {
- return m.UseTime
- }
- return ""
- }
- type AnchorTaskUseRecordResp_Page struct {
- // 当前页码
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- // 每页大小
- PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- // 总页数
- TotalPage int64 `protobuf:"varint,3,opt,name=total_page,json=totalPage,proto3" json:"total_page"`
- // 总记录数
- TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskUseRecordResp_Page) Reset() { *m = AnchorTaskUseRecordResp_Page{} }
- func (m *AnchorTaskUseRecordResp_Page) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskUseRecordResp_Page) ProtoMessage() {}
- func (*AnchorTaskUseRecordResp_Page) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{9, 1}
- }
- func (m *AnchorTaskUseRecordResp_Page) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskUseRecordResp_Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskUseRecordResp_Page.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskUseRecordResp_Page) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskUseRecordResp_Page.Merge(dst, src)
- }
- func (m *AnchorTaskUseRecordResp_Page) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskUseRecordResp_Page) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskUseRecordResp_Page.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskUseRecordResp_Page proto.InternalMessageInfo
- func (m *AnchorTaskUseRecordResp_Page) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *AnchorTaskUseRecordResp_Page) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *AnchorTaskUseRecordResp_Page) GetTotalPage() int64 {
- if m != nil {
- return m.TotalPage
- }
- return 0
- }
- func (m *AnchorTaskUseRecordResp_Page) GetTotalCount() int64 {
- if m != nil {
- return m.TotalCount
- }
- return 0
- }
- type AnchorTaskUseRewardReq struct {
- // 奖励列表id
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" validate:"required"`
- // 使用平台
- Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty" form:"platform"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskUseRewardReq) Reset() { *m = AnchorTaskUseRewardReq{} }
- func (m *AnchorTaskUseRewardReq) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskUseRewardReq) ProtoMessage() {}
- func (*AnchorTaskUseRewardReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{10}
- }
- func (m *AnchorTaskUseRewardReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskUseRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskUseRewardReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskUseRewardReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskUseRewardReq.Merge(dst, src)
- }
- func (m *AnchorTaskUseRewardReq) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskUseRewardReq) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskUseRewardReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskUseRewardReq proto.InternalMessageInfo
- func (m *AnchorTaskUseRewardReq) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *AnchorTaskUseRewardReq) GetPlatform() string {
- if m != nil {
- return m.Platform
- }
- return ""
- }
- type AnchorTaskUseRewardResp struct {
- Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskUseRewardResp) Reset() { *m = AnchorTaskUseRewardResp{} }
- func (m *AnchorTaskUseRewardResp) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskUseRewardResp) ProtoMessage() {}
- func (*AnchorTaskUseRewardResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{11}
- }
- func (m *AnchorTaskUseRewardResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskUseRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskUseRewardResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskUseRewardResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskUseRewardResp.Merge(dst, src)
- }
- func (m *AnchorTaskUseRewardResp) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskUseRewardResp) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskUseRewardResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskUseRewardResp proto.InternalMessageInfo
- func (m *AnchorTaskUseRewardResp) GetResult() int64 {
- if m != nil {
- return m.Result
- }
- return 0
- }
- type AnchorTaskIsViewedReq struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskIsViewedReq) Reset() { *m = AnchorTaskIsViewedReq{} }
- func (m *AnchorTaskIsViewedReq) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskIsViewedReq) ProtoMessage() {}
- func (*AnchorTaskIsViewedReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{12}
- }
- func (m *AnchorTaskIsViewedReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskIsViewedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskIsViewedReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskIsViewedReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskIsViewedReq.Merge(dst, src)
- }
- func (m *AnchorTaskIsViewedReq) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskIsViewedReq) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskIsViewedReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskIsViewedReq proto.InternalMessageInfo
- type AnchorTaskIsViewedResp struct {
- // 是否展示任务红点
- TaskShouldNotice int64 `protobuf:"varint,1,opt,name=task_should_notice,json=taskShouldNotice,proto3" json:"task_should_notice"`
- // 是否展示奖励入口
- ShowRewardEntry int64 `protobuf:"varint,5,opt,name=show_reward_entry,json=showRewardEntry,proto3" json:"show_reward_entry"`
- // 是否展示奖励红点
- RewardShouldNotice int64 `protobuf:"varint,2,opt,name=reward_should_notice,json=rewardShouldNotice,proto3" json:"reward_should_notice"`
- // 任务状态, 0:没有,1:领取, 5:完成
- TaskStatus int64 `protobuf:"varint,3,opt,name=task_status,json=taskStatus,proto3" json:"task_status"`
- // 是否在首页黑名单中
- IsBlacked int64 `protobuf:"varint,4,opt,name=is_blacked,json=isBlacked,proto3" json:"is_blacked"`
- // 点击跳转h5链接
- Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnchorTaskIsViewedResp) Reset() { *m = AnchorTaskIsViewedResp{} }
- func (m *AnchorTaskIsViewedResp) String() string { return proto.CompactTextString(m) }
- func (*AnchorTaskIsViewedResp) ProtoMessage() {}
- func (*AnchorTaskIsViewedResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{13}
- }
- func (m *AnchorTaskIsViewedResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AnchorTaskIsViewedResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AnchorTaskIsViewedResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AnchorTaskIsViewedResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnchorTaskIsViewedResp.Merge(dst, src)
- }
- func (m *AnchorTaskIsViewedResp) XXX_Size() int {
- return m.Size()
- }
- func (m *AnchorTaskIsViewedResp) XXX_DiscardUnknown() {
- xxx_messageInfo_AnchorTaskIsViewedResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnchorTaskIsViewedResp proto.InternalMessageInfo
- func (m *AnchorTaskIsViewedResp) GetTaskShouldNotice() int64 {
- if m != nil {
- return m.TaskShouldNotice
- }
- return 0
- }
- func (m *AnchorTaskIsViewedResp) GetShowRewardEntry() int64 {
- if m != nil {
- return m.ShowRewardEntry
- }
- return 0
- }
- func (m *AnchorTaskIsViewedResp) GetRewardShouldNotice() int64 {
- if m != nil {
- return m.RewardShouldNotice
- }
- return 0
- }
- func (m *AnchorTaskIsViewedResp) GetTaskStatus() int64 {
- if m != nil {
- return m.TaskStatus
- }
- return 0
- }
- func (m *AnchorTaskIsViewedResp) GetIsBlacked() int64 {
- if m != nil {
- return m.IsBlacked
- }
- return 0
- }
- func (m *AnchorTaskIsViewedResp) GetUrl() string {
- if m != nil {
- return m.Url
- }
- return ""
- }
- type CapsuleGetDetailReq struct {
- // 来源 h5 web room
- From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty" form:"from"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleGetDetailReq) Reset() { *m = CapsuleGetDetailReq{} }
- func (m *CapsuleGetDetailReq) String() string { return proto.CompactTextString(m) }
- func (*CapsuleGetDetailReq) ProtoMessage() {}
- func (*CapsuleGetDetailReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{14}
- }
- func (m *CapsuleGetDetailReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleGetDetailReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleGetDetailReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleGetDetailReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleGetDetailReq.Merge(dst, src)
- }
- func (m *CapsuleGetDetailReq) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleGetDetailReq) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleGetDetailReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleGetDetailReq proto.InternalMessageInfo
- func (m *CapsuleGetDetailReq) GetFrom() string {
- if m != nil {
- return m.From
- }
- return ""
- }
- type Usage struct {
- // 用法描述
- Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text"`
- // 跳转链接
- Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Usage) Reset() { *m = Usage{} }
- func (m *Usage) String() string { return proto.CompactTextString(m) }
- func (*Usage) ProtoMessage() {}
- func (*Usage) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{15}
- }
- func (m *Usage) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *Usage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_Usage.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *Usage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Usage.Merge(dst, src)
- }
- func (m *Usage) XXX_Size() int {
- return m.Size()
- }
- func (m *Usage) XXX_DiscardUnknown() {
- xxx_messageInfo_Usage.DiscardUnknown(m)
- }
- var xxx_messageInfo_Usage proto.InternalMessageInfo
- func (m *Usage) GetText() string {
- if m != nil {
- return m.Text
- }
- return ""
- }
- func (m *Usage) GetUrl() string {
- if m != nil {
- return m.Url
- }
- return ""
- }
- type Progress struct {
- // 当前进度
- Now int64 `protobuf:"varint,1,opt,name=now,proto3" json:"now"`
- // 最大进度
- Max int64 `protobuf:"varint,2,opt,name=max,proto3" json:"max"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Progress) Reset() { *m = Progress{} }
- func (m *Progress) String() string { return proto.CompactTextString(m) }
- func (*Progress) ProtoMessage() {}
- func (*Progress) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{16}
- }
- func (m *Progress) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *Progress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_Progress.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *Progress) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Progress.Merge(dst, src)
- }
- func (m *Progress) XXX_Size() int {
- return m.Size()
- }
- func (m *Progress) XXX_DiscardUnknown() {
- xxx_messageInfo_Progress.DiscardUnknown(m)
- }
- var xxx_messageInfo_Progress proto.InternalMessageInfo
- func (m *Progress) GetNow() int64 {
- if m != nil {
- return m.Now
- }
- return 0
- }
- func (m *Progress) GetMax() int64 {
- if m != nil {
- return m.Max
- }
- return 0
- }
- type CapsuleGetDetailResp struct {
- // 普通扭蛋信息
- Normal *CapsuleGetDetailResp_CapsuleInfo `protobuf:"bytes,1,opt,name=normal" json:"normal"`
- // 梦幻扭蛋信息,若梦幻扭蛋status=false,则无coin、change、process、gift、list字段
- Colorful *CapsuleGetDetailResp_CapsuleInfo `protobuf:"bytes,2,opt,name=colorful" json:"colorful"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleGetDetailResp) Reset() { *m = CapsuleGetDetailResp{} }
- func (m *CapsuleGetDetailResp) String() string { return proto.CompactTextString(m) }
- func (*CapsuleGetDetailResp) ProtoMessage() {}
- func (*CapsuleGetDetailResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{17}
- }
- func (m *CapsuleGetDetailResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleGetDetailResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleGetDetailResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleGetDetailResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleGetDetailResp.Merge(dst, src)
- }
- func (m *CapsuleGetDetailResp) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleGetDetailResp) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleGetDetailResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleGetDetailResp proto.InternalMessageInfo
- func (m *CapsuleGetDetailResp) GetNormal() *CapsuleGetDetailResp_CapsuleInfo {
- if m != nil {
- return m.Normal
- }
- return nil
- }
- func (m *CapsuleGetDetailResp) GetColorful() *CapsuleGetDetailResp_CapsuleInfo {
- if m != nil {
- return m.Colorful
- }
- return nil
- }
- type CapsuleGetDetailResp_Gift struct {
- // 礼物名称
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
- // 礼物图片
- Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image"`
- // 用法
- Usage *Usage `protobuf:"bytes,4,opt,name=usage" json:"usage"`
- // web礼物图片
- WebImage string `protobuf:"bytes,5,opt,name=web_image,json=webImage,proto3" json:"web_image"`
- // mobile礼物图片
- MobileImage string `protobuf:"bytes,6,opt,name=mobile_image,json=mobileImage,proto3" json:"mobile_image"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleGetDetailResp_Gift) Reset() { *m = CapsuleGetDetailResp_Gift{} }
- func (m *CapsuleGetDetailResp_Gift) String() string { return proto.CompactTextString(m) }
- func (*CapsuleGetDetailResp_Gift) ProtoMessage() {}
- func (*CapsuleGetDetailResp_Gift) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{17, 0}
- }
- func (m *CapsuleGetDetailResp_Gift) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleGetDetailResp_Gift) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleGetDetailResp_Gift.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleGetDetailResp_Gift) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleGetDetailResp_Gift.Merge(dst, src)
- }
- func (m *CapsuleGetDetailResp_Gift) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleGetDetailResp_Gift) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleGetDetailResp_Gift.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleGetDetailResp_Gift proto.InternalMessageInfo
- func (m *CapsuleGetDetailResp_Gift) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *CapsuleGetDetailResp_Gift) GetImage() string {
- if m != nil {
- return m.Image
- }
- return ""
- }
- func (m *CapsuleGetDetailResp_Gift) GetUsage() *Usage {
- if m != nil {
- return m.Usage
- }
- return nil
- }
- func (m *CapsuleGetDetailResp_Gift) GetWebImage() string {
- if m != nil {
- return m.WebImage
- }
- return ""
- }
- func (m *CapsuleGetDetailResp_Gift) GetMobileImage() string {
- if m != nil {
- return m.MobileImage
- }
- return ""
- }
- type CapsuleGetDetailResp_List struct {
- // 数量
- Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num"`
- // 礼物名称
- Gift string `protobuf:"bytes,2,opt,name=gift,proto3" json:"gift"`
- // 时间
- Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date"`
- // 用户名
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleGetDetailResp_List) Reset() { *m = CapsuleGetDetailResp_List{} }
- func (m *CapsuleGetDetailResp_List) String() string { return proto.CompactTextString(m) }
- func (*CapsuleGetDetailResp_List) ProtoMessage() {}
- func (*CapsuleGetDetailResp_List) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{17, 1}
- }
- func (m *CapsuleGetDetailResp_List) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleGetDetailResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleGetDetailResp_List.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleGetDetailResp_List) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleGetDetailResp_List.Merge(dst, src)
- }
- func (m *CapsuleGetDetailResp_List) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleGetDetailResp_List) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleGetDetailResp_List.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleGetDetailResp_List proto.InternalMessageInfo
- func (m *CapsuleGetDetailResp_List) GetNum() int64 {
- if m != nil {
- return m.Num
- }
- return 0
- }
- func (m *CapsuleGetDetailResp_List) GetGift() string {
- if m != nil {
- return m.Gift
- }
- return ""
- }
- func (m *CapsuleGetDetailResp_List) GetDate() string {
- if m != nil {
- return m.Date
- }
- return ""
- }
- func (m *CapsuleGetDetailResp_List) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- type CapsuleGetDetailResp_CapsuleInfo struct {
- //
- Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
- // 扭蛋数量
- Coin int64 `protobuf:"varint,2,opt,name=coin,proto3" json:"coin"`
- // 变化值
- Change int64 `protobuf:"varint,3,opt,name=change,proto3" json:"change"`
- // 进度
- Progress *Progress `protobuf:"bytes,4,opt,name=progress" json:"progress"`
- // 规则
- Rule string `protobuf:"bytes,5,opt,name=rule,proto3" json:"rule"`
- // 奖品列表
- Gift []*CapsuleGetDetailResp_Gift `protobuf:"bytes,6,rep,name=gift" json:"gift"`
- // 历史获奖列表
- List []*CapsuleGetDetailResp_List `protobuf:"bytes,7,rep,name=list" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) Reset() { *m = CapsuleGetDetailResp_CapsuleInfo{} }
- func (m *CapsuleGetDetailResp_CapsuleInfo) String() string { return proto.CompactTextString(m) }
- func (*CapsuleGetDetailResp_CapsuleInfo) ProtoMessage() {}
- func (*CapsuleGetDetailResp_CapsuleInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{17, 2}
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleGetDetailResp_CapsuleInfo.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleGetDetailResp_CapsuleInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleGetDetailResp_CapsuleInfo.Merge(dst, src)
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleGetDetailResp_CapsuleInfo.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleGetDetailResp_CapsuleInfo proto.InternalMessageInfo
- func (m *CapsuleGetDetailResp_CapsuleInfo) GetStatus() bool {
- if m != nil {
- return m.Status
- }
- return false
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) GetCoin() int64 {
- if m != nil {
- return m.Coin
- }
- return 0
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) GetChange() int64 {
- if m != nil {
- return m.Change
- }
- return 0
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) GetProgress() *Progress {
- if m != nil {
- return m.Progress
- }
- return nil
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) GetRule() string {
- if m != nil {
- return m.Rule
- }
- return ""
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) GetGift() []*CapsuleGetDetailResp_Gift {
- if m != nil {
- return m.Gift
- }
- return nil
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) GetList() []*CapsuleGetDetailResp_List {
- if m != nil {
- return m.List
- }
- return nil
- }
- type CapsuleOpenCapsuleReq struct {
- // 扭蛋类型
- Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required"`
- // 扭的个数
- Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" form:"count" validate:"required"`
- Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty" form:"platform"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleOpenCapsuleReq) Reset() { *m = CapsuleOpenCapsuleReq{} }
- func (m *CapsuleOpenCapsuleReq) String() string { return proto.CompactTextString(m) }
- func (*CapsuleOpenCapsuleReq) ProtoMessage() {}
- func (*CapsuleOpenCapsuleReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{18}
- }
- func (m *CapsuleOpenCapsuleReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleOpenCapsuleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleOpenCapsuleReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleOpenCapsuleReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleOpenCapsuleReq.Merge(dst, src)
- }
- func (m *CapsuleOpenCapsuleReq) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleOpenCapsuleReq) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleOpenCapsuleReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleOpenCapsuleReq proto.InternalMessageInfo
- func (m *CapsuleOpenCapsuleReq) GetType() string {
- if m != nil {
- return m.Type
- }
- return ""
- }
- func (m *CapsuleOpenCapsuleReq) GetCount() int64 {
- if m != nil {
- return m.Count
- }
- return 0
- }
- func (m *CapsuleOpenCapsuleReq) GetPlatform() string {
- if m != nil {
- return m.Platform
- }
- return ""
- }
- type CapsuleOpenCapsuleResp struct {
- // 扭蛋币扣除状态
- Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
- // 奖品文案
- Text []string `protobuf:"bytes,2,rep,name=text" json:"text"`
- // 是否包含实物奖品
- IsEntity bool `protobuf:"varint,3,opt,name=isEntity,proto3" json:"isEntity"`
- // 用户扭蛋币拥有状态
- Info *CapsuleOpenCapsuleResp_Info `protobuf:"bytes,4,opt,name=info" json:"info"`
- // 头衔? 恒为空字符串, 忽略之
- ShowTitle string `protobuf:"bytes,5,opt,name=showTitle,proto3" json:"showTitle"`
- // 奖品列表
- Awards []*CapsuleOpenCapsuleResp_Award `protobuf:"bytes,6,rep,name=awards" json:"awards"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleOpenCapsuleResp) Reset() { *m = CapsuleOpenCapsuleResp{} }
- func (m *CapsuleOpenCapsuleResp) String() string { return proto.CompactTextString(m) }
- func (*CapsuleOpenCapsuleResp) ProtoMessage() {}
- func (*CapsuleOpenCapsuleResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{19}
- }
- func (m *CapsuleOpenCapsuleResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleOpenCapsuleResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleOpenCapsuleResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleOpenCapsuleResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleOpenCapsuleResp.Merge(dst, src)
- }
- func (m *CapsuleOpenCapsuleResp) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleOpenCapsuleResp) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleOpenCapsuleResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleOpenCapsuleResp proto.InternalMessageInfo
- func (m *CapsuleOpenCapsuleResp) GetStatus() bool {
- if m != nil {
- return m.Status
- }
- return false
- }
- func (m *CapsuleOpenCapsuleResp) GetText() []string {
- if m != nil {
- return m.Text
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleResp) GetIsEntity() bool {
- if m != nil {
- return m.IsEntity
- }
- return false
- }
- func (m *CapsuleOpenCapsuleResp) GetInfo() *CapsuleOpenCapsuleResp_Info {
- if m != nil {
- return m.Info
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleResp) GetShowTitle() string {
- if m != nil {
- return m.ShowTitle
- }
- return ""
- }
- func (m *CapsuleOpenCapsuleResp) GetAwards() []*CapsuleOpenCapsuleResp_Award {
- if m != nil {
- return m.Awards
- }
- return nil
- }
- type CapsuleOpenCapsuleResp_CapsuleInfo struct {
- // 拥有的币
- Coin int64 `protobuf:"varint,1,opt,name=coin,proto3" json:"coin"`
- // 变化值
- Change int64 `protobuf:"varint,2,opt,name=change,proto3" json:"change"`
- // 进度
- Progress *Progress `protobuf:"bytes,3,opt,name=progress" json:"progress"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) Reset() { *m = CapsuleOpenCapsuleResp_CapsuleInfo{} }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) String() string { return proto.CompactTextString(m) }
- func (*CapsuleOpenCapsuleResp_CapsuleInfo) ProtoMessage() {}
- func (*CapsuleOpenCapsuleResp_CapsuleInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{19, 0}
- }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleOpenCapsuleResp_CapsuleInfo.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleOpenCapsuleResp_CapsuleInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleOpenCapsuleResp_CapsuleInfo.Merge(dst, src)
- }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleOpenCapsuleResp_CapsuleInfo.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleOpenCapsuleResp_CapsuleInfo proto.InternalMessageInfo
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) GetCoin() int64 {
- if m != nil {
- return m.Coin
- }
- return 0
- }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) GetChange() int64 {
- if m != nil {
- return m.Change
- }
- return 0
- }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) GetProgress() *Progress {
- if m != nil {
- return m.Progress
- }
- return nil
- }
- type CapsuleOpenCapsuleResp_Info struct {
- // 普通扭蛋币
- Normal *CapsuleOpenCapsuleResp_CapsuleInfo `protobuf:"bytes,1,opt,name=normal" json:"normal"`
- // 梦幻扭蛋币
- Colorful *CapsuleOpenCapsuleResp_CapsuleInfo `protobuf:"bytes,2,opt,name=colorful" json:"colorful"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleOpenCapsuleResp_Info) Reset() { *m = CapsuleOpenCapsuleResp_Info{} }
- func (m *CapsuleOpenCapsuleResp_Info) String() string { return proto.CompactTextString(m) }
- func (*CapsuleOpenCapsuleResp_Info) ProtoMessage() {}
- func (*CapsuleOpenCapsuleResp_Info) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{19, 1}
- }
- func (m *CapsuleOpenCapsuleResp_Info) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleOpenCapsuleResp_Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleOpenCapsuleResp_Info.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleOpenCapsuleResp_Info) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleOpenCapsuleResp_Info.Merge(dst, src)
- }
- func (m *CapsuleOpenCapsuleResp_Info) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleOpenCapsuleResp_Info) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleOpenCapsuleResp_Info.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleOpenCapsuleResp_Info proto.InternalMessageInfo
- func (m *CapsuleOpenCapsuleResp_Info) GetNormal() *CapsuleOpenCapsuleResp_CapsuleInfo {
- if m != nil {
- return m.Normal
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleResp_Info) GetColorful() *CapsuleOpenCapsuleResp_CapsuleInfo {
- if m != nil {
- return m.Colorful
- }
- return nil
- }
- type CapsuleOpenCapsuleResp_Award struct {
- // 奖品名字
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
- // 奖品数量
- Num int64 `protobuf:"varint,3,opt,name=num,proto3" json:"num"`
- // 奖品 X 数量
- Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text"`
- // 奖品图片
- Img string `protobuf:"bytes,5,opt,name=img,proto3" json:"img"`
- // 奖品用法说明
- Usage *Usage `protobuf:"bytes,6,opt,name=usage" json:"usage"`
- // web礼物图片
- WebImage string `protobuf:"bytes,7,opt,name=web_image,json=webImage,proto3" json:"web_image"`
- // mobile礼物图片
- MobileImage string `protobuf:"bytes,8,opt,name=mobile_image,json=mobileImage,proto3" json:"mobile_image"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleOpenCapsuleResp_Award) Reset() { *m = CapsuleOpenCapsuleResp_Award{} }
- func (m *CapsuleOpenCapsuleResp_Award) String() string { return proto.CompactTextString(m) }
- func (*CapsuleOpenCapsuleResp_Award) ProtoMessage() {}
- func (*CapsuleOpenCapsuleResp_Award) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{19, 2}
- }
- func (m *CapsuleOpenCapsuleResp_Award) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleOpenCapsuleResp_Award) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleOpenCapsuleResp_Award.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleOpenCapsuleResp_Award) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleOpenCapsuleResp_Award.Merge(dst, src)
- }
- func (m *CapsuleOpenCapsuleResp_Award) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleOpenCapsuleResp_Award) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleOpenCapsuleResp_Award.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleOpenCapsuleResp_Award proto.InternalMessageInfo
- func (m *CapsuleOpenCapsuleResp_Award) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *CapsuleOpenCapsuleResp_Award) GetNum() int64 {
- if m != nil {
- return m.Num
- }
- return 0
- }
- func (m *CapsuleOpenCapsuleResp_Award) GetText() string {
- if m != nil {
- return m.Text
- }
- return ""
- }
- func (m *CapsuleOpenCapsuleResp_Award) GetImg() string {
- if m != nil {
- return m.Img
- }
- return ""
- }
- func (m *CapsuleOpenCapsuleResp_Award) GetUsage() *Usage {
- if m != nil {
- return m.Usage
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleResp_Award) GetWebImage() string {
- if m != nil {
- return m.WebImage
- }
- return ""
- }
- func (m *CapsuleOpenCapsuleResp_Award) GetMobileImage() string {
- if m != nil {
- return m.MobileImage
- }
- return ""
- }
- type CapsuleGetCapsuleInfoReq struct {
- // 扭蛋类型
- Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required"`
- // 来源 h5 web room
- From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty" form:"from" validate:"required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleGetCapsuleInfoReq) Reset() { *m = CapsuleGetCapsuleInfoReq{} }
- func (m *CapsuleGetCapsuleInfoReq) String() string { return proto.CompactTextString(m) }
- func (*CapsuleGetCapsuleInfoReq) ProtoMessage() {}
- func (*CapsuleGetCapsuleInfoReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{20}
- }
- func (m *CapsuleGetCapsuleInfoReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleGetCapsuleInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleGetCapsuleInfoReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleGetCapsuleInfoReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleGetCapsuleInfoReq.Merge(dst, src)
- }
- func (m *CapsuleGetCapsuleInfoReq) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleGetCapsuleInfoReq) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleGetCapsuleInfoReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleGetCapsuleInfoReq proto.InternalMessageInfo
- func (m *CapsuleGetCapsuleInfoReq) GetType() string {
- if m != nil {
- return m.Type
- }
- return ""
- }
- func (m *CapsuleGetCapsuleInfoReq) GetFrom() string {
- if m != nil {
- return m.From
- }
- return ""
- }
- type CapsuleGetCapsuleInfoResp struct {
- // 扭蛋数量
- Coin int64 `protobuf:"varint,1,opt,name=coin,proto3" json:"coin"`
- // 规则
- Rule string `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule"`
- // 奖品列表,包含数量
- GiftList []*CapsuleGetCapsuleInfoResp_GiftList `protobuf:"bytes,3,rep,name=gift_list,json=giftList" json:"gift_list"`
- // 奖品列表,不包含数量,同一类别只有一条
- GiftFilter []*CapsuleGetCapsuleInfoResp_GiftFilter `protobuf:"bytes,4,rep,name=gift_filter,json=giftFilter" json:"gift_filter"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleGetCapsuleInfoResp) Reset() { *m = CapsuleGetCapsuleInfoResp{} }
- func (m *CapsuleGetCapsuleInfoResp) String() string { return proto.CompactTextString(m) }
- func (*CapsuleGetCapsuleInfoResp) ProtoMessage() {}
- func (*CapsuleGetCapsuleInfoResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{21}
- }
- func (m *CapsuleGetCapsuleInfoResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleGetCapsuleInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleGetCapsuleInfoResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleGetCapsuleInfoResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleGetCapsuleInfoResp.Merge(dst, src)
- }
- func (m *CapsuleGetCapsuleInfoResp) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleGetCapsuleInfoResp) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleGetCapsuleInfoResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleGetCapsuleInfoResp proto.InternalMessageInfo
- func (m *CapsuleGetCapsuleInfoResp) GetCoin() int64 {
- if m != nil {
- return m.Coin
- }
- return 0
- }
- func (m *CapsuleGetCapsuleInfoResp) GetRule() string {
- if m != nil {
- return m.Rule
- }
- return ""
- }
- func (m *CapsuleGetCapsuleInfoResp) GetGiftList() []*CapsuleGetCapsuleInfoResp_GiftList {
- if m != nil {
- return m.GiftList
- }
- return nil
- }
- func (m *CapsuleGetCapsuleInfoResp) GetGiftFilter() []*CapsuleGetCapsuleInfoResp_GiftFilter {
- if m != nil {
- return m.GiftFilter
- }
- return nil
- }
- type CapsuleGetCapsuleInfoResp_GiftList struct {
- // 礼物id
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- // 礼物名称
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
- // 礼物数量
- Num int64 `protobuf:"varint,3,opt,name=num,proto3" json:"num"`
- // 礼物图片
- WebUrl string `protobuf:"bytes,5,opt,name=web_url,json=webUrl,proto3" json:"web_url"`
- // 礼物图片
- MobileUrl string `protobuf:"bytes,6,opt,name=mobile_url,json=mobileUrl,proto3" json:"mobile_url"`
- // 用法
- Usage *Usage `protobuf:"bytes,7,opt,name=usage" json:"usage"`
- // 奖品类型 2 头衔
- Type int64 `protobuf:"varint,8,opt,name=type,proto3" json:"type"`
- // 过期时间
- Expire string `protobuf:"bytes,9,opt,name=expire,proto3" json:"expire"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) Reset() { *m = CapsuleGetCapsuleInfoResp_GiftList{} }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) String() string { return proto.CompactTextString(m) }
- func (*CapsuleGetCapsuleInfoResp_GiftList) ProtoMessage() {}
- func (*CapsuleGetCapsuleInfoResp_GiftList) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{21, 0}
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftList.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleGetCapsuleInfoResp_GiftList) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftList.Merge(dst, src)
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftList.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftList proto.InternalMessageInfo
- func (m *CapsuleGetCapsuleInfoResp_GiftList) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) GetNum() int64 {
- if m != nil {
- return m.Num
- }
- return 0
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) GetWebUrl() string {
- if m != nil {
- return m.WebUrl
- }
- return ""
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) GetMobileUrl() string {
- if m != nil {
- return m.MobileUrl
- }
- return ""
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) GetUsage() *Usage {
- if m != nil {
- return m.Usage
- }
- return nil
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) GetType() int64 {
- if m != nil {
- return m.Type
- }
- return 0
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) GetExpire() string {
- if m != nil {
- return m.Expire
- }
- return ""
- }
- type CapsuleGetCapsuleInfoResp_GiftFilter struct {
- // 礼物id
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- // 礼物名称
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
- // 礼物图片
- WebUrl string `protobuf:"bytes,3,opt,name=web_url,json=webUrl,proto3" json:"web_url"`
- // 礼物图片
- MobileUrl string `protobuf:"bytes,4,opt,name=mobile_url,json=mobileUrl,proto3" json:"mobile_url"`
- // 用法
- Usage *Usage `protobuf:"bytes,5,opt,name=usage" json:"usage"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) Reset() { *m = CapsuleGetCapsuleInfoResp_GiftFilter{} }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) String() string { return proto.CompactTextString(m) }
- func (*CapsuleGetCapsuleInfoResp_GiftFilter) ProtoMessage() {}
- func (*CapsuleGetCapsuleInfoResp_GiftFilter) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{21, 1}
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftFilter.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleGetCapsuleInfoResp_GiftFilter) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftFilter.Merge(dst, src)
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftFilter.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftFilter proto.InternalMessageInfo
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) GetWebUrl() string {
- if m != nil {
- return m.WebUrl
- }
- return ""
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) GetMobileUrl() string {
- if m != nil {
- return m.MobileUrl
- }
- return ""
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) GetUsage() *Usage {
- if m != nil {
- return m.Usage
- }
- return nil
- }
- type CapsuleOpenCapsuleByTypeReq struct {
- // 扭蛋类型
- Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required"`
- // 扭的个数
- Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" form:"count" validate:"required"`
- Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty" form:"platform"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleOpenCapsuleByTypeReq) Reset() { *m = CapsuleOpenCapsuleByTypeReq{} }
- func (m *CapsuleOpenCapsuleByTypeReq) String() string { return proto.CompactTextString(m) }
- func (*CapsuleOpenCapsuleByTypeReq) ProtoMessage() {}
- func (*CapsuleOpenCapsuleByTypeReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{22}
- }
- func (m *CapsuleOpenCapsuleByTypeReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleOpenCapsuleByTypeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleOpenCapsuleByTypeReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleOpenCapsuleByTypeReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleOpenCapsuleByTypeReq.Merge(dst, src)
- }
- func (m *CapsuleOpenCapsuleByTypeReq) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleOpenCapsuleByTypeReq) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleOpenCapsuleByTypeReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleOpenCapsuleByTypeReq proto.InternalMessageInfo
- func (m *CapsuleOpenCapsuleByTypeReq) GetType() string {
- if m != nil {
- return m.Type
- }
- return ""
- }
- func (m *CapsuleOpenCapsuleByTypeReq) GetCount() int64 {
- if m != nil {
- return m.Count
- }
- return 0
- }
- func (m *CapsuleOpenCapsuleByTypeReq) GetPlatform() string {
- if m != nil {
- return m.Platform
- }
- return ""
- }
- type CapsuleOpenCapsuleByTypeResp struct {
- // 扭蛋币扣除状态
- Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
- // 是否包含实物奖品
- IsEntity bool `protobuf:"varint,2,opt,name=isEntity,proto3" json:"isEntity"`
- // 用户扭蛋币拥有状态
- Info *CapsuleOpenCapsuleByTypeResp_CapsuleInfo `protobuf:"bytes,3,opt,name=info" json:"info"`
- // 奖品列表
- Awards []*CapsuleOpenCapsuleByTypeResp_Award `protobuf:"bytes,4,rep,name=awards" json:"awards"`
- // 奖品列表
- Text []string `protobuf:"bytes,5,rep,name=text" json:"text"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleOpenCapsuleByTypeResp) Reset() { *m = CapsuleOpenCapsuleByTypeResp{} }
- func (m *CapsuleOpenCapsuleByTypeResp) String() string { return proto.CompactTextString(m) }
- func (*CapsuleOpenCapsuleByTypeResp) ProtoMessage() {}
- func (*CapsuleOpenCapsuleByTypeResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{23}
- }
- func (m *CapsuleOpenCapsuleByTypeResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleOpenCapsuleByTypeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleOpenCapsuleByTypeResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleOpenCapsuleByTypeResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleOpenCapsuleByTypeResp.Merge(dst, src)
- }
- func (m *CapsuleOpenCapsuleByTypeResp) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleOpenCapsuleByTypeResp) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleOpenCapsuleByTypeResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleOpenCapsuleByTypeResp proto.InternalMessageInfo
- func (m *CapsuleOpenCapsuleByTypeResp) GetStatus() bool {
- if m != nil {
- return m.Status
- }
- return false
- }
- func (m *CapsuleOpenCapsuleByTypeResp) GetIsEntity() bool {
- if m != nil {
- return m.IsEntity
- }
- return false
- }
- func (m *CapsuleOpenCapsuleByTypeResp) GetInfo() *CapsuleOpenCapsuleByTypeResp_CapsuleInfo {
- if m != nil {
- return m.Info
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp) GetAwards() []*CapsuleOpenCapsuleByTypeResp_Award {
- if m != nil {
- return m.Awards
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp) GetText() []string {
- if m != nil {
- return m.Text
- }
- return nil
- }
- type CapsuleOpenCapsuleByTypeResp_CapsuleInfo struct {
- // 拥有的币
- Coin int64 `protobuf:"varint,1,opt,name=coin,proto3" json:"coin"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) Reset() {
- *m = CapsuleOpenCapsuleByTypeResp_CapsuleInfo{}
- }
- func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) String() string { return proto.CompactTextString(m) }
- func (*CapsuleOpenCapsuleByTypeResp_CapsuleInfo) ProtoMessage() {}
- func (*CapsuleOpenCapsuleByTypeResp_CapsuleInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{23, 0}
- }
- func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_CapsuleInfo.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_CapsuleInfo.Merge(dst, src)
- }
- func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_CapsuleInfo.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_CapsuleInfo proto.InternalMessageInfo
- func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) GetCoin() int64 {
- if m != nil {
- return m.Coin
- }
- return 0
- }
- type CapsuleOpenCapsuleByTypeResp_Award struct {
- // 奖品id
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- // 奖品名字
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
- // 奖品数量
- Num int64 `protobuf:"varint,3,opt,name=num,proto3" json:"num"`
- // 奖品 X 数量
- Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text"`
- // 礼物图片
- WebUrl string `protobuf:"bytes,5,opt,name=web_url,json=webUrl,proto3" json:"web_url"`
- // 礼物图片
- MobileUrl string `protobuf:"bytes,6,opt,name=mobile_url,json=mobileUrl,proto3" json:"mobile_url"`
- // 奖品用法说明
- Usage *Usage `protobuf:"bytes,7,opt,name=usage" json:"usage"`
- // 奖品类型 2 头衔
- Type int64 `protobuf:"varint,8,opt,name=type,proto3" json:"type"`
- // 过期时间
- Expire string `protobuf:"bytes,9,opt,name=expire,proto3" json:"expire"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) Reset() { *m = CapsuleOpenCapsuleByTypeResp_Award{} }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) String() string { return proto.CompactTextString(m) }
- func (*CapsuleOpenCapsuleByTypeResp_Award) ProtoMessage() {}
- func (*CapsuleOpenCapsuleByTypeResp_Award) Descriptor() ([]byte, []int) {
- return fileDescriptor_service_9f54252a761dae68, []int{23, 1}
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_Award.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *CapsuleOpenCapsuleByTypeResp_Award) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_Award.Merge(dst, src)
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) XXX_Size() int {
- return m.Size()
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) XXX_DiscardUnknown() {
- xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_Award.DiscardUnknown(m)
- }
- var xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_Award proto.InternalMessageInfo
- func (m *CapsuleOpenCapsuleByTypeResp_Award) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) GetNum() int64 {
- if m != nil {
- return m.Num
- }
- return 0
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) GetText() string {
- if m != nil {
- return m.Text
- }
- return ""
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) GetWebUrl() string {
- if m != nil {
- return m.WebUrl
- }
- return ""
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) GetMobileUrl() string {
- if m != nil {
- return m.MobileUrl
- }
- return ""
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) GetUsage() *Usage {
- if m != nil {
- return m.Usage
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) GetType() int64 {
- if m != nil {
- return m.Type
- }
- return 0
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) GetExpire() string {
- if m != nil {
- return m.Expire
- }
- return ""
- }
- func init() {
- proto.RegisterType((*GetHistoryReq)(nil), "live.webucenter.v1.GetHistoryReq")
- proto.RegisterType((*GetHistoryResp)(nil), "live.webucenter.v1.GetHistoryResp")
- proto.RegisterType((*GetHistoryResp_List)(nil), "live.webucenter.v1.GetHistoryResp.List")
- proto.RegisterType((*DelHistoryReq)(nil), "live.webucenter.v1.DelHistoryReq")
- proto.RegisterType((*DelHistoryResp)(nil), "live.webucenter.v1.DelHistoryResp")
- proto.RegisterType((*AnchorTaskAddRewardReq)(nil), "live.webucenter.v1.AnchorTaskAddRewardReq")
- proto.RegisterType((*AnchorTaskAddRewardResp)(nil), "live.webucenter.v1.AnchorTaskAddRewardResp")
- proto.RegisterType((*AnchorTaskMyRewardReq)(nil), "live.webucenter.v1.AnchorTaskMyRewardReq")
- proto.RegisterType((*AnchorTaskMyRewardResp)(nil), "live.webucenter.v1.AnchorTaskMyRewardResp")
- proto.RegisterType((*AnchorTaskMyRewardResp_RewardObj)(nil), "live.webucenter.v1.AnchorTaskMyRewardResp.RewardObj")
- proto.RegisterType((*AnchorTaskMyRewardResp_Page)(nil), "live.webucenter.v1.AnchorTaskMyRewardResp.Page")
- proto.RegisterType((*AnchorTaskUseRecordReq)(nil), "live.webucenter.v1.AnchorTaskUseRecordReq")
- proto.RegisterType((*AnchorTaskUseRecordResp)(nil), "live.webucenter.v1.AnchorTaskUseRecordResp")
- proto.RegisterType((*AnchorTaskUseRecordResp_RewardObj)(nil), "live.webucenter.v1.AnchorTaskUseRecordResp.RewardObj")
- proto.RegisterType((*AnchorTaskUseRecordResp_Page)(nil), "live.webucenter.v1.AnchorTaskUseRecordResp.Page")
- proto.RegisterType((*AnchorTaskUseRewardReq)(nil), "live.webucenter.v1.AnchorTaskUseRewardReq")
- proto.RegisterType((*AnchorTaskUseRewardResp)(nil), "live.webucenter.v1.AnchorTaskUseRewardResp")
- proto.RegisterType((*AnchorTaskIsViewedReq)(nil), "live.webucenter.v1.AnchorTaskIsViewedReq")
- proto.RegisterType((*AnchorTaskIsViewedResp)(nil), "live.webucenter.v1.AnchorTaskIsViewedResp")
- proto.RegisterType((*CapsuleGetDetailReq)(nil), "live.webucenter.v1.CapsuleGetDetailReq")
- proto.RegisterType((*Usage)(nil), "live.webucenter.v1.Usage")
- proto.RegisterType((*Progress)(nil), "live.webucenter.v1.Progress")
- proto.RegisterType((*CapsuleGetDetailResp)(nil), "live.webucenter.v1.CapsuleGetDetailResp")
- proto.RegisterType((*CapsuleGetDetailResp_Gift)(nil), "live.webucenter.v1.CapsuleGetDetailResp.Gift")
- proto.RegisterType((*CapsuleGetDetailResp_List)(nil), "live.webucenter.v1.CapsuleGetDetailResp.List")
- proto.RegisterType((*CapsuleGetDetailResp_CapsuleInfo)(nil), "live.webucenter.v1.CapsuleGetDetailResp.CapsuleInfo")
- proto.RegisterType((*CapsuleOpenCapsuleReq)(nil), "live.webucenter.v1.CapsuleOpenCapsuleReq")
- proto.RegisterType((*CapsuleOpenCapsuleResp)(nil), "live.webucenter.v1.CapsuleOpenCapsuleResp")
- proto.RegisterType((*CapsuleOpenCapsuleResp_CapsuleInfo)(nil), "live.webucenter.v1.CapsuleOpenCapsuleResp.CapsuleInfo")
- proto.RegisterType((*CapsuleOpenCapsuleResp_Info)(nil), "live.webucenter.v1.CapsuleOpenCapsuleResp.Info")
- proto.RegisterType((*CapsuleOpenCapsuleResp_Award)(nil), "live.webucenter.v1.CapsuleOpenCapsuleResp.Award")
- proto.RegisterType((*CapsuleGetCapsuleInfoReq)(nil), "live.webucenter.v1.CapsuleGetCapsuleInfoReq")
- proto.RegisterType((*CapsuleGetCapsuleInfoResp)(nil), "live.webucenter.v1.CapsuleGetCapsuleInfoResp")
- proto.RegisterType((*CapsuleGetCapsuleInfoResp_GiftList)(nil), "live.webucenter.v1.CapsuleGetCapsuleInfoResp.GiftList")
- proto.RegisterType((*CapsuleGetCapsuleInfoResp_GiftFilter)(nil), "live.webucenter.v1.CapsuleGetCapsuleInfoResp.GiftFilter")
- proto.RegisterType((*CapsuleOpenCapsuleByTypeReq)(nil), "live.webucenter.v1.CapsuleOpenCapsuleByTypeReq")
- proto.RegisterType((*CapsuleOpenCapsuleByTypeResp)(nil), "live.webucenter.v1.CapsuleOpenCapsuleByTypeResp")
- proto.RegisterType((*CapsuleOpenCapsuleByTypeResp_CapsuleInfo)(nil), "live.webucenter.v1.CapsuleOpenCapsuleByTypeResp.CapsuleInfo")
- proto.RegisterType((*CapsuleOpenCapsuleByTypeResp_Award)(nil), "live.webucenter.v1.CapsuleOpenCapsuleByTypeResp.Award")
- }
- func (m *GetHistoryReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetHistoryReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetHistoryResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetHistoryResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Title) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Title)))
- i += copy(dAtA[i:], m.Title)
- }
- if m.Count != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Count))
- }
- if len(m.List) > 0 {
- for _, msg := range m.List {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintService(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetHistoryResp_List) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetHistoryResp_List) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Roomid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Roomid))
- }
- if m.Uid != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Uid))
- }
- if len(m.Uname) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Uname)))
- i += copy(dAtA[i:], m.Uname)
- }
- if len(m.UserCover) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.UserCover)))
- i += copy(dAtA[i:], m.UserCover)
- }
- if len(m.Title) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Title)))
- i += copy(dAtA[i:], m.Title)
- }
- if len(m.Face) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Face)))
- i += copy(dAtA[i:], m.Face)
- }
- if len(m.Tags) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Tags)))
- i += copy(dAtA[i:], m.Tags)
- }
- if m.LiveStatus != 0 {
- dAtA[i] = 0x48
- i++
- i = encodeVarintService(dAtA, i, uint64(m.LiveStatus))
- }
- if m.FansNum != 0 {
- dAtA[i] = 0x50
- i++
- i = encodeVarintService(dAtA, i, uint64(m.FansNum))
- }
- if m.IsAttention != 0 {
- dAtA[i] = 0x60
- i++
- i = encodeVarintService(dAtA, i, uint64(m.IsAttention))
- }
- if m.AreaV2Id != 0 {
- dAtA[i] = 0x68
- i++
- i = encodeVarintService(dAtA, i, uint64(m.AreaV2Id))
- }
- if len(m.AreaV2Name) > 0 {
- dAtA[i] = 0x72
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.AreaV2Name)))
- i += copy(dAtA[i:], m.AreaV2Name)
- }
- if len(m.AreaV2ParentName) > 0 {
- dAtA[i] = 0x7a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.AreaV2ParentName)))
- i += copy(dAtA[i:], m.AreaV2ParentName)
- }
- if m.AreaV2ParentId != 0 {
- dAtA[i] = 0x80
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintService(dAtA, i, uint64(m.AreaV2ParentId))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DelHistoryReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DelHistoryReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DelHistoryResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DelHistoryResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskAddRewardReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskAddRewardReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.RewardId != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintService(dAtA, i, uint64(m.RewardId))
- }
- if m.Roomid != 0 {
- dAtA[i] = 0x40
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Roomid))
- }
- if m.Source != 0 {
- dAtA[i] = 0x48
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Source))
- }
- if m.Uid != 0 {
- dAtA[i] = 0x50
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Uid))
- }
- if len(m.OrderId) > 0 {
- dAtA[i] = 0x5a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.OrderId)))
- i += copy(dAtA[i:], m.OrderId)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskAddRewardResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskAddRewardResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Result != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Result))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskMyRewardReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskMyRewardReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Page != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Page))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskMyRewardResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskMyRewardResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Data) > 0 {
- for _, msg := range m.Data {
- dAtA[i] = 0xa
- i++
- i = encodeVarintService(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.Page != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Page.Size()))
- n1, err := m.Page.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n1
- }
- if m.ExpireCount != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.ExpireCount))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Id))
- }
- if m.RewardType != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintService(dAtA, i, uint64(m.RewardType))
- }
- if m.Status != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Status))
- }
- if m.RewardId != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintService(dAtA, i, uint64(m.RewardId))
- }
- if len(m.Name) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if len(m.Icon) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Icon)))
- i += copy(dAtA[i:], m.Icon)
- }
- if len(m.AchieveTime) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.AchieveTime)))
- i += copy(dAtA[i:], m.AchieveTime)
- }
- if len(m.ExpireTime) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.ExpireTime)))
- i += copy(dAtA[i:], m.ExpireTime)
- }
- if m.Source != 0 {
- dAtA[i] = 0x48
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Source))
- }
- if len(m.RewardIntro) > 0 {
- dAtA[i] = 0x52
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.RewardIntro)))
- i += copy(dAtA[i:], m.RewardIntro)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskMyRewardResp_Page) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskMyRewardResp_Page) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Page != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Page))
- }
- if m.PageSize != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintService(dAtA, i, uint64(m.PageSize))
- }
- if m.TotalPage != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.TotalPage))
- }
- if m.TotalCount != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintService(dAtA, i, uint64(m.TotalCount))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskUseRecordReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskUseRecordReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Page != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Page))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskUseRecordResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskUseRecordResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Data) > 0 {
- for _, msg := range m.Data {
- dAtA[i] = 0xa
- i++
- i = encodeVarintService(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.Page != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Page.Size()))
- n2, err := m.Page.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n2
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Id))
- }
- if m.RewardId != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintService(dAtA, i, uint64(m.RewardId))
- }
- if m.Status != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Status))
- }
- if len(m.Name) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if len(m.Icon) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Icon)))
- i += copy(dAtA[i:], m.Icon)
- }
- if len(m.AchieveTime) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.AchieveTime)))
- i += copy(dAtA[i:], m.AchieveTime)
- }
- if len(m.ExpireTime) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.ExpireTime)))
- i += copy(dAtA[i:], m.ExpireTime)
- }
- if m.Source != 0 {
- dAtA[i] = 0x40
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Source))
- }
- if len(m.RewardIntro) > 0 {
- dAtA[i] = 0x4a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.RewardIntro)))
- i += copy(dAtA[i:], m.RewardIntro)
- }
- if len(m.UseTime) > 0 {
- dAtA[i] = 0x52
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.UseTime)))
- i += copy(dAtA[i:], m.UseTime)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskUseRecordResp_Page) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskUseRecordResp_Page) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Page != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Page))
- }
- if m.PageSize != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintService(dAtA, i, uint64(m.PageSize))
- }
- if m.TotalPage != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.TotalPage))
- }
- if m.TotalCount != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintService(dAtA, i, uint64(m.TotalCount))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskUseRewardReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskUseRewardReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Id))
- }
- if len(m.Platform) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Platform)))
- i += copy(dAtA[i:], m.Platform)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskUseRewardResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskUseRewardResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Result != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Result))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskIsViewedReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskIsViewedReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AnchorTaskIsViewedResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AnchorTaskIsViewedResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.TaskShouldNotice != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.TaskShouldNotice))
- }
- if m.RewardShouldNotice != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintService(dAtA, i, uint64(m.RewardShouldNotice))
- }
- if m.TaskStatus != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.TaskStatus))
- }
- if m.IsBlacked != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintService(dAtA, i, uint64(m.IsBlacked))
- }
- if m.ShowRewardEntry != 0 {
- dAtA[i] = 0x28
- i++
- i = encodeVarintService(dAtA, i, uint64(m.ShowRewardEntry))
- }
- if len(m.Url) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Url)))
- i += copy(dAtA[i:], m.Url)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleGetDetailReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleGetDetailReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.From) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.From)))
- i += copy(dAtA[i:], m.From)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *Usage) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *Usage) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Text) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Text)))
- i += copy(dAtA[i:], m.Text)
- }
- if len(m.Url) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Url)))
- i += copy(dAtA[i:], m.Url)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *Progress) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *Progress) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Now != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Now))
- }
- if m.Max != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Max))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleGetDetailResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleGetDetailResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Normal != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Normal.Size()))
- n3, err := m.Normal.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n3
- }
- if m.Colorful != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Colorful.Size()))
- n4, err := m.Colorful.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n4
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleGetDetailResp_Gift) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleGetDetailResp_Gift) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Name) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if len(m.Image) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Image)))
- i += copy(dAtA[i:], m.Image)
- }
- if m.Usage != nil {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Usage.Size()))
- n5, err := m.Usage.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n5
- }
- if len(m.WebImage) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.WebImage)))
- i += copy(dAtA[i:], m.WebImage)
- }
- if len(m.MobileImage) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.MobileImage)))
- i += copy(dAtA[i:], m.MobileImage)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleGetDetailResp_List) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleGetDetailResp_List) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Num != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Num))
- }
- if len(m.Gift) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Gift)))
- i += copy(dAtA[i:], m.Gift)
- }
- if len(m.Date) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Date)))
- i += copy(dAtA[i:], m.Date)
- }
- if len(m.Name) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Status {
- dAtA[i] = 0x8
- i++
- if m.Status {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Coin != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Coin))
- }
- if m.Change != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Change))
- }
- if m.Progress != nil {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Progress.Size()))
- n6, err := m.Progress.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n6
- }
- if len(m.Rule) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Rule)))
- i += copy(dAtA[i:], m.Rule)
- }
- if len(m.Gift) > 0 {
- for _, msg := range m.Gift {
- dAtA[i] = 0x32
- i++
- i = encodeVarintService(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if len(m.List) > 0 {
- for _, msg := range m.List {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintService(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleOpenCapsuleReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleOpenCapsuleReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Type) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Type)))
- i += copy(dAtA[i:], m.Type)
- }
- if m.Count != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Count))
- }
- if len(m.Platform) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Platform)))
- i += copy(dAtA[i:], m.Platform)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleOpenCapsuleResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleOpenCapsuleResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Status {
- dAtA[i] = 0x8
- i++
- if m.Status {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if len(m.Text) > 0 {
- for _, s := range m.Text {
- dAtA[i] = 0x12
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if m.IsEntity {
- dAtA[i] = 0x18
- i++
- if m.IsEntity {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Info != nil {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Info.Size()))
- n7, err := m.Info.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n7
- }
- if len(m.ShowTitle) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.ShowTitle)))
- i += copy(dAtA[i:], m.ShowTitle)
- }
- if len(m.Awards) > 0 {
- for _, msg := range m.Awards {
- dAtA[i] = 0x32
- i++
- i = encodeVarintService(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Coin != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Coin))
- }
- if m.Change != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Change))
- }
- if m.Progress != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Progress.Size()))
- n8, err := m.Progress.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n8
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleOpenCapsuleResp_Info) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleOpenCapsuleResp_Info) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Normal != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Normal.Size()))
- n9, err := m.Normal.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n9
- }
- if m.Colorful != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Colorful.Size()))
- n10, err := m.Colorful.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n10
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleOpenCapsuleResp_Award) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleOpenCapsuleResp_Award) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Name) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if m.Num != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Num))
- }
- if len(m.Text) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Text)))
- i += copy(dAtA[i:], m.Text)
- }
- if len(m.Img) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Img)))
- i += copy(dAtA[i:], m.Img)
- }
- if m.Usage != nil {
- dAtA[i] = 0x32
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Usage.Size()))
- n11, err := m.Usage.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n11
- }
- if len(m.WebImage) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.WebImage)))
- i += copy(dAtA[i:], m.WebImage)
- }
- if len(m.MobileImage) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.MobileImage)))
- i += copy(dAtA[i:], m.MobileImage)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleGetCapsuleInfoReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleGetCapsuleInfoReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Type) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Type)))
- i += copy(dAtA[i:], m.Type)
- }
- if len(m.From) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.From)))
- i += copy(dAtA[i:], m.From)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleGetCapsuleInfoResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleGetCapsuleInfoResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Coin != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Coin))
- }
- if len(m.Rule) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Rule)))
- i += copy(dAtA[i:], m.Rule)
- }
- if len(m.GiftList) > 0 {
- for _, msg := range m.GiftList {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintService(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if len(m.GiftFilter) > 0 {
- for _, msg := range m.GiftFilter {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Id))
- }
- if len(m.Name) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if m.Num != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Num))
- }
- if len(m.WebUrl) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.WebUrl)))
- i += copy(dAtA[i:], m.WebUrl)
- }
- if len(m.MobileUrl) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.MobileUrl)))
- i += copy(dAtA[i:], m.MobileUrl)
- }
- if m.Usage != nil {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Usage.Size()))
- n12, err := m.Usage.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n12
- }
- if m.Type != 0 {
- dAtA[i] = 0x40
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Type))
- }
- if len(m.Expire) > 0 {
- dAtA[i] = 0x4a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Expire)))
- i += copy(dAtA[i:], m.Expire)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Id))
- }
- if len(m.Name) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if len(m.WebUrl) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.WebUrl)))
- i += copy(dAtA[i:], m.WebUrl)
- }
- if len(m.MobileUrl) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.MobileUrl)))
- i += copy(dAtA[i:], m.MobileUrl)
- }
- if m.Usage != nil {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Usage.Size()))
- n13, err := m.Usage.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n13
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleOpenCapsuleByTypeReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleOpenCapsuleByTypeReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Type) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Type)))
- i += copy(dAtA[i:], m.Type)
- }
- if m.Count != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Count))
- }
- if len(m.Platform) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Platform)))
- i += copy(dAtA[i:], m.Platform)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Status {
- dAtA[i] = 0x8
- i++
- if m.Status {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.IsEntity {
- dAtA[i] = 0x10
- i++
- if m.IsEntity {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.Info != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Info.Size()))
- n14, err := m.Info.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n14
- }
- if len(m.Awards) > 0 {
- for _, msg := range m.Awards {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if len(m.Text) > 0 {
- for _, s := range m.Text {
- dAtA[i] = 0x2a
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Coin != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Coin))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Id))
- }
- if len(m.Name) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if m.Num != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Num))
- }
- if len(m.Text) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Text)))
- i += copy(dAtA[i:], m.Text)
- }
- if len(m.WebUrl) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.WebUrl)))
- i += copy(dAtA[i:], m.WebUrl)
- }
- if len(m.MobileUrl) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.MobileUrl)))
- i += copy(dAtA[i:], m.MobileUrl)
- }
- if m.Usage != nil {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Usage.Size()))
- n15, err := m.Usage.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n15
- }
- if m.Type != 0 {
- dAtA[i] = 0x40
- i++
- i = encodeVarintService(dAtA, i, uint64(m.Type))
- }
- if len(m.Expire) > 0 {
- dAtA[i] = 0x4a
- i++
- i = encodeVarintService(dAtA, i, uint64(len(m.Expire)))
- i += copy(dAtA[i:], m.Expire)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func encodeVarintService(dAtA []byte, offset int, v uint64) int {
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return offset + 1
- }
- func (m *GetHistoryReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetHistoryResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Count != 0 {
- n += 1 + sovService(uint64(m.Count))
- }
- if len(m.List) > 0 {
- for _, e := range m.List {
- l = e.Size()
- n += 1 + l + sovService(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetHistoryResp_List) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Roomid != 0 {
- n += 1 + sovService(uint64(m.Roomid))
- }
- if m.Uid != 0 {
- n += 1 + sovService(uint64(m.Uid))
- }
- l = len(m.Uname)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.UserCover)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.Face)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.Tags)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.LiveStatus != 0 {
- n += 1 + sovService(uint64(m.LiveStatus))
- }
- if m.FansNum != 0 {
- n += 1 + sovService(uint64(m.FansNum))
- }
- if m.IsAttention != 0 {
- n += 1 + sovService(uint64(m.IsAttention))
- }
- if m.AreaV2Id != 0 {
- n += 1 + sovService(uint64(m.AreaV2Id))
- }
- l = len(m.AreaV2Name)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.AreaV2ParentName)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.AreaV2ParentId != 0 {
- n += 2 + sovService(uint64(m.AreaV2ParentId))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DelHistoryReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DelHistoryResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskAddRewardReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.RewardId != 0 {
- n += 1 + sovService(uint64(m.RewardId))
- }
- if m.Roomid != 0 {
- n += 1 + sovService(uint64(m.Roomid))
- }
- if m.Source != 0 {
- n += 1 + sovService(uint64(m.Source))
- }
- if m.Uid != 0 {
- n += 1 + sovService(uint64(m.Uid))
- }
- l = len(m.OrderId)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskAddRewardResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Result != 0 {
- n += 1 + sovService(uint64(m.Result))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskMyRewardReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Page != 0 {
- n += 1 + sovService(uint64(m.Page))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskMyRewardResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Data) > 0 {
- for _, e := range m.Data {
- l = e.Size()
- n += 1 + l + sovService(uint64(l))
- }
- }
- if m.Page != nil {
- l = m.Page.Size()
- n += 1 + l + sovService(uint64(l))
- }
- if m.ExpireCount != 0 {
- n += 1 + sovService(uint64(m.ExpireCount))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovService(uint64(m.Id))
- }
- if m.RewardType != 0 {
- n += 1 + sovService(uint64(m.RewardType))
- }
- if m.Status != 0 {
- n += 1 + sovService(uint64(m.Status))
- }
- if m.RewardId != 0 {
- n += 1 + sovService(uint64(m.RewardId))
- }
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.Icon)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.AchieveTime)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.ExpireTime)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Source != 0 {
- n += 1 + sovService(uint64(m.Source))
- }
- l = len(m.RewardIntro)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskMyRewardResp_Page) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Page != 0 {
- n += 1 + sovService(uint64(m.Page))
- }
- if m.PageSize != 0 {
- n += 1 + sovService(uint64(m.PageSize))
- }
- if m.TotalPage != 0 {
- n += 1 + sovService(uint64(m.TotalPage))
- }
- if m.TotalCount != 0 {
- n += 1 + sovService(uint64(m.TotalCount))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskUseRecordReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Page != 0 {
- n += 1 + sovService(uint64(m.Page))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskUseRecordResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Data) > 0 {
- for _, e := range m.Data {
- l = e.Size()
- n += 1 + l + sovService(uint64(l))
- }
- }
- if m.Page != nil {
- l = m.Page.Size()
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovService(uint64(m.Id))
- }
- if m.RewardId != 0 {
- n += 1 + sovService(uint64(m.RewardId))
- }
- if m.Status != 0 {
- n += 1 + sovService(uint64(m.Status))
- }
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.Icon)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.AchieveTime)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.ExpireTime)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Source != 0 {
- n += 1 + sovService(uint64(m.Source))
- }
- l = len(m.RewardIntro)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.UseTime)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskUseRecordResp_Page) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Page != 0 {
- n += 1 + sovService(uint64(m.Page))
- }
- if m.PageSize != 0 {
- n += 1 + sovService(uint64(m.PageSize))
- }
- if m.TotalPage != 0 {
- n += 1 + sovService(uint64(m.TotalPage))
- }
- if m.TotalCount != 0 {
- n += 1 + sovService(uint64(m.TotalCount))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskUseRewardReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovService(uint64(m.Id))
- }
- l = len(m.Platform)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskUseRewardResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Result != 0 {
- n += 1 + sovService(uint64(m.Result))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskIsViewedReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AnchorTaskIsViewedResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.TaskShouldNotice != 0 {
- n += 1 + sovService(uint64(m.TaskShouldNotice))
- }
- if m.RewardShouldNotice != 0 {
- n += 1 + sovService(uint64(m.RewardShouldNotice))
- }
- if m.TaskStatus != 0 {
- n += 1 + sovService(uint64(m.TaskStatus))
- }
- if m.IsBlacked != 0 {
- n += 1 + sovService(uint64(m.IsBlacked))
- }
- if m.ShowRewardEntry != 0 {
- n += 1 + sovService(uint64(m.ShowRewardEntry))
- }
- l = len(m.Url)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleGetDetailReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.From)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *Usage) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Text)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.Url)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *Progress) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Now != 0 {
- n += 1 + sovService(uint64(m.Now))
- }
- if m.Max != 0 {
- n += 1 + sovService(uint64(m.Max))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleGetDetailResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Normal != nil {
- l = m.Normal.Size()
- n += 1 + l + sovService(uint64(l))
- }
- if m.Colorful != nil {
- l = m.Colorful.Size()
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleGetDetailResp_Gift) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.Image)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Usage != nil {
- l = m.Usage.Size()
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.WebImage)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.MobileImage)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleGetDetailResp_List) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Num != 0 {
- n += 1 + sovService(uint64(m.Num))
- }
- l = len(m.Gift)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.Date)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Status {
- n += 2
- }
- if m.Coin != 0 {
- n += 1 + sovService(uint64(m.Coin))
- }
- if m.Change != 0 {
- n += 1 + sovService(uint64(m.Change))
- }
- if m.Progress != nil {
- l = m.Progress.Size()
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.Rule)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if len(m.Gift) > 0 {
- for _, e := range m.Gift {
- l = e.Size()
- n += 1 + l + sovService(uint64(l))
- }
- }
- if len(m.List) > 0 {
- for _, e := range m.List {
- l = e.Size()
- n += 1 + l + sovService(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleOpenCapsuleReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Type)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Count != 0 {
- n += 1 + sovService(uint64(m.Count))
- }
- l = len(m.Platform)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleOpenCapsuleResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Status {
- n += 2
- }
- if len(m.Text) > 0 {
- for _, s := range m.Text {
- l = len(s)
- n += 1 + l + sovService(uint64(l))
- }
- }
- if m.IsEntity {
- n += 2
- }
- if m.Info != nil {
- l = m.Info.Size()
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.ShowTitle)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if len(m.Awards) > 0 {
- for _, e := range m.Awards {
- l = e.Size()
- n += 1 + l + sovService(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Coin != 0 {
- n += 1 + sovService(uint64(m.Coin))
- }
- if m.Change != 0 {
- n += 1 + sovService(uint64(m.Change))
- }
- if m.Progress != nil {
- l = m.Progress.Size()
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleOpenCapsuleResp_Info) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Normal != nil {
- l = m.Normal.Size()
- n += 1 + l + sovService(uint64(l))
- }
- if m.Colorful != nil {
- l = m.Colorful.Size()
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleOpenCapsuleResp_Award) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Num != 0 {
- n += 1 + sovService(uint64(m.Num))
- }
- l = len(m.Text)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.Img)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Usage != nil {
- l = m.Usage.Size()
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.WebImage)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.MobileImage)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleGetCapsuleInfoReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Type)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.From)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleGetCapsuleInfoResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Coin != 0 {
- n += 1 + sovService(uint64(m.Coin))
- }
- l = len(m.Rule)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if len(m.GiftList) > 0 {
- for _, e := range m.GiftList {
- l = e.Size()
- n += 1 + l + sovService(uint64(l))
- }
- }
- if len(m.GiftFilter) > 0 {
- for _, e := range m.GiftFilter {
- l = e.Size()
- n += 1 + l + sovService(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovService(uint64(m.Id))
- }
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Num != 0 {
- n += 1 + sovService(uint64(m.Num))
- }
- l = len(m.WebUrl)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.MobileUrl)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Usage != nil {
- l = m.Usage.Size()
- n += 1 + l + sovService(uint64(l))
- }
- if m.Type != 0 {
- n += 1 + sovService(uint64(m.Type))
- }
- l = len(m.Expire)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovService(uint64(m.Id))
- }
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.WebUrl)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.MobileUrl)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Usage != nil {
- l = m.Usage.Size()
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleOpenCapsuleByTypeReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Type)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Count != 0 {
- n += 1 + sovService(uint64(m.Count))
- }
- l = len(m.Platform)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleOpenCapsuleByTypeResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Status {
- n += 2
- }
- if m.IsEntity {
- n += 2
- }
- if m.Info != nil {
- l = m.Info.Size()
- n += 1 + l + sovService(uint64(l))
- }
- if len(m.Awards) > 0 {
- for _, e := range m.Awards {
- l = e.Size()
- n += 1 + l + sovService(uint64(l))
- }
- }
- if len(m.Text) > 0 {
- for _, s := range m.Text {
- l = len(s)
- n += 1 + l + sovService(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Coin != 0 {
- n += 1 + sovService(uint64(m.Coin))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovService(uint64(m.Id))
- }
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Num != 0 {
- n += 1 + sovService(uint64(m.Num))
- }
- l = len(m.Text)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.WebUrl)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- l = len(m.MobileUrl)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.Usage != nil {
- l = m.Usage.Size()
- n += 1 + l + sovService(uint64(l))
- }
- if m.Type != 0 {
- n += 1 + sovService(uint64(m.Type))
- }
- l = len(m.Expire)
- if l > 0 {
- n += 1 + l + sovService(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func sovService(x uint64) (n int) {
- for {
- n++
- x >>= 7
- if x == 0 {
- break
- }
- }
- return n
- }
- func sozService(x uint64) (n int) {
- return sovService(uint64((x << 1) ^ uint64((int64(x) >> 63))))
- }
- func (m *GetHistoryReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetHistoryReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetHistoryReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetHistoryResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetHistoryResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetHistoryResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Title = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
- }
- m.Count = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Count |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.List = append(m.List, &GetHistoryResp_List{})
- if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetHistoryResp_List) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: List: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
- }
- m.Roomid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Roomid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Uname = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UserCover", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.UserCover = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Title = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Face", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Face = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Tags = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
- }
- m.LiveStatus = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.LiveStatus |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 10:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field FansNum", wireType)
- }
- m.FansNum = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.FansNum |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 12:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field IsAttention", wireType)
- }
- m.IsAttention = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.IsAttention |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 13:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
- }
- m.AreaV2Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AreaV2Id |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 14:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AreaV2Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 15:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AreaV2ParentName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 16:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentId", wireType)
- }
- m.AreaV2ParentId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AreaV2ParentId |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DelHistoryReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: DelHistoryReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: DelHistoryReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DelHistoryResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: DelHistoryResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: DelHistoryResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskAddRewardReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AnchorTaskAddRewardReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AnchorTaskAddRewardReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RewardId", wireType)
- }
- m.RewardId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RewardId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
- }
- m.Roomid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Roomid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
- }
- m.Source = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Source |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 10:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 11:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OrderId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskAddRewardResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AnchorTaskAddRewardResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AnchorTaskAddRewardResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
- }
- m.Result = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Result |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskMyRewardReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AnchorTaskMyRewardReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AnchorTaskMyRewardReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
- }
- m.Page = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Page |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskMyRewardResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AnchorTaskMyRewardResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AnchorTaskMyRewardResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Data = append(m.Data, &AnchorTaskMyRewardResp_RewardObj{})
- if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Page == nil {
- m.Page = &AnchorTaskMyRewardResp_Page{}
- }
- if err := m.Page.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExpireCount", wireType)
- }
- m.ExpireCount = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ExpireCount |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskMyRewardResp_RewardObj) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: RewardObj: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: RewardObj: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RewardType", wireType)
- }
- m.RewardType = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RewardType |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
- }
- m.Status = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Status |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RewardId", wireType)
- }
- m.RewardId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RewardId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Icon", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Icon = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AchieveTime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AchieveTime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExpireTime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ExpireTime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
- }
- m.Source = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Source |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 10:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RewardIntro", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.RewardIntro = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskMyRewardResp_Page) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Page: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Page: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
- }
- m.Page = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Page |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
- }
- m.PageSize = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.PageSize |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TotalPage", wireType)
- }
- m.TotalPage = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TotalPage |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType)
- }
- m.TotalCount = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TotalCount |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskUseRecordReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AnchorTaskUseRecordReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AnchorTaskUseRecordReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
- }
- m.Page = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Page |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskUseRecordResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AnchorTaskUseRecordResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AnchorTaskUseRecordResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Data = append(m.Data, &AnchorTaskUseRecordResp_RewardObj{})
- if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Page == nil {
- m.Page = &AnchorTaskUseRecordResp_Page{}
- }
- if err := m.Page.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskUseRecordResp_RewardObj) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: RewardObj: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: RewardObj: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RewardId", wireType)
- }
- m.RewardId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RewardId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
- }
- m.Status = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Status |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Icon", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Icon = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AchieveTime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AchieveTime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExpireTime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ExpireTime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
- }
- m.Source = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Source |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 9:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RewardIntro", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.RewardIntro = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 10:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UseTime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.UseTime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskUseRecordResp_Page) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Page: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Page: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
- }
- m.Page = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Page |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
- }
- m.PageSize = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.PageSize |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TotalPage", wireType)
- }
- m.TotalPage = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TotalPage |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType)
- }
- m.TotalCount = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TotalCount |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskUseRewardReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AnchorTaskUseRewardReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AnchorTaskUseRewardReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Platform = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskUseRewardResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AnchorTaskUseRewardResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AnchorTaskUseRewardResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
- }
- m.Result = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Result |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskIsViewedReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AnchorTaskIsViewedReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AnchorTaskIsViewedReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AnchorTaskIsViewedResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AnchorTaskIsViewedResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AnchorTaskIsViewedResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TaskShouldNotice", wireType)
- }
- m.TaskShouldNotice = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TaskShouldNotice |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RewardShouldNotice", wireType)
- }
- m.RewardShouldNotice = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RewardShouldNotice |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TaskStatus", wireType)
- }
- m.TaskStatus = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TaskStatus |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field IsBlacked", wireType)
- }
- m.IsBlacked = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.IsBlacked |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ShowRewardEntry", wireType)
- }
- m.ShowRewardEntry = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ShowRewardEntry |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Url = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleGetDetailReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CapsuleGetDetailReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CapsuleGetDetailReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.From = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *Usage) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Usage: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Usage: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Text = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Url = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *Progress) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Progress: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Progress: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Now", wireType)
- }
- m.Now = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Now |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
- }
- m.Max = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Max |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleGetDetailResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CapsuleGetDetailResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CapsuleGetDetailResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Normal", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Normal == nil {
- m.Normal = &CapsuleGetDetailResp_CapsuleInfo{}
- }
- if err := m.Normal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Colorful", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Colorful == nil {
- m.Colorful = &CapsuleGetDetailResp_CapsuleInfo{}
- }
- if err := m.Colorful.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleGetDetailResp_Gift) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Gift: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Gift: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Image = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Usage == nil {
- m.Usage = &Usage{}
- }
- if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field WebImage", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.WebImage = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MobileImage", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MobileImage = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleGetDetailResp_List) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: List: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
- }
- m.Num = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Num |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Gift", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Gift = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Date", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Date = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleGetDetailResp_CapsuleInfo) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CapsuleInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CapsuleInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Status = bool(v != 0)
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Coin", wireType)
- }
- m.Coin = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Coin |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Change", wireType)
- }
- m.Change = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Change |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Progress", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Progress == nil {
- m.Progress = &Progress{}
- }
- if err := m.Progress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Rule = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Gift", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Gift = append(m.Gift, &CapsuleGetDetailResp_Gift{})
- if err := m.Gift[len(m.Gift)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.List = append(m.List, &CapsuleGetDetailResp_List{})
- if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CapsuleOpenCapsuleReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CapsuleOpenCapsuleReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Type = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
- }
- m.Count = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Count |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Platform = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CapsuleOpenCapsuleResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CapsuleOpenCapsuleResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Status = bool(v != 0)
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Text = append(m.Text, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field IsEntity", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.IsEntity = bool(v != 0)
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Info == nil {
- m.Info = &CapsuleOpenCapsuleResp_Info{}
- }
- if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ShowTitle", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ShowTitle = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Awards", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Awards = append(m.Awards, &CapsuleOpenCapsuleResp_Award{})
- if err := m.Awards[len(m.Awards)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleResp_CapsuleInfo) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CapsuleInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CapsuleInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Coin", wireType)
- }
- m.Coin = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Coin |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Change", wireType)
- }
- m.Change = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Change |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Progress", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Progress == nil {
- m.Progress = &Progress{}
- }
- if err := m.Progress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleResp_Info) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Info: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Info: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Normal", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Normal == nil {
- m.Normal = &CapsuleOpenCapsuleResp_CapsuleInfo{}
- }
- if err := m.Normal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Colorful", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Colorful == nil {
- m.Colorful = &CapsuleOpenCapsuleResp_CapsuleInfo{}
- }
- if err := m.Colorful.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleResp_Award) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Award: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Award: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
- }
- m.Num = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Num |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Text = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Img", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Img = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Usage == nil {
- m.Usage = &Usage{}
- }
- if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field WebImage", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.WebImage = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MobileImage", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MobileImage = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleGetCapsuleInfoReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CapsuleGetCapsuleInfoReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CapsuleGetCapsuleInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Type = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.From = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleGetCapsuleInfoResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CapsuleGetCapsuleInfoResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CapsuleGetCapsuleInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Coin", wireType)
- }
- m.Coin = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Coin |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Rule = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GiftList", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.GiftList = append(m.GiftList, &CapsuleGetCapsuleInfoResp_GiftList{})
- if err := m.GiftList[len(m.GiftList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GiftFilter", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.GiftFilter = append(m.GiftFilter, &CapsuleGetCapsuleInfoResp_GiftFilter{})
- if err := m.GiftFilter[len(m.GiftFilter)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftList) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GiftList: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GiftList: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
- }
- m.Num = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Num |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field WebUrl", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.WebUrl = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MobileUrl", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MobileUrl = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Usage == nil {
- m.Usage = &Usage{}
- }
- if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- m.Type = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Type |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 9:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Expire", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Expire = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleGetCapsuleInfoResp_GiftFilter) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GiftFilter: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GiftFilter: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field WebUrl", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.WebUrl = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MobileUrl", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MobileUrl = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Usage == nil {
- m.Usage = &Usage{}
- }
- if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleByTypeReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CapsuleOpenCapsuleByTypeReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CapsuleOpenCapsuleByTypeReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Type = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
- }
- m.Count = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Count |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Platform = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CapsuleOpenCapsuleByTypeResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CapsuleOpenCapsuleByTypeResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Status = bool(v != 0)
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field IsEntity", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.IsEntity = bool(v != 0)
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Info == nil {
- m.Info = &CapsuleOpenCapsuleByTypeResp_CapsuleInfo{}
- }
- if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Awards", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Awards = append(m.Awards, &CapsuleOpenCapsuleByTypeResp_Award{})
- if err := m.Awards[len(m.Awards)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Text = append(m.Text, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CapsuleInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CapsuleInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Coin", wireType)
- }
- m.Coin = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Coin |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *CapsuleOpenCapsuleByTypeResp_Award) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Award: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Award: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
- }
- m.Num = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Num |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Text = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field WebUrl", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.WebUrl = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MobileUrl", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MobileUrl = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Usage == nil {
- m.Usage = &Usage{}
- }
- if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- m.Type = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Type |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 9:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Expire", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowService
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthService
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Expire = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipService(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthService
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func skipService(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowService
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowService
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- return iNdEx, nil
- case 1:
- iNdEx += 8
- return iNdEx, nil
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowService
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- iNdEx += length
- if length < 0 {
- return 0, ErrInvalidLengthService
- }
- return iNdEx, nil
- case 3:
- for {
- var innerWire uint64
- var start int = iNdEx
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowService
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- innerWire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- innerWireType := int(innerWire & 0x7)
- if innerWireType == 4 {
- break
- }
- next, err := skipService(dAtA[start:])
- if err != nil {
- return 0, err
- }
- iNdEx = start + next
- }
- return iNdEx, nil
- case 4:
- return iNdEx, nil
- case 5:
- iNdEx += 4
- return iNdEx, nil
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- }
- panic("unreachable")
- }
- var (
- ErrInvalidLengthService = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowService = fmt.Errorf("proto: integer overflow")
- )
- func init() { proto.RegisterFile("service.proto", fileDescriptor_service_9f54252a761dae68) }
- var fileDescriptor_service_9f54252a761dae68 = []byte{
- // 2466 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xcb, 0x6f, 0x1c, 0xc7,
- 0xd1, 0xc7, 0xbe, 0x67, 0x6b, 0x29, 0x91, 0x6e, 0xbd, 0x56, 0xfb, 0xf1, 0xd3, 0x50, 0x23, 0x05,
- 0xa2, 0xa5, 0x88, 0x94, 0x28, 0xc7, 0x0e, 0x04, 0x0b, 0xb0, 0xa8, 0x57, 0x18, 0xc7, 0xb2, 0xd0,
- 0xa2, 0x8c, 0x40, 0x01, 0x32, 0x99, 0xdd, 0xe9, 0x5d, 0x8e, 0x35, 0x3b, 0xb3, 0x9c, 0x07, 0x29,
- 0x3a, 0x39, 0xe6, 0x98, 0x5c, 0x93, 0x5c, 0x73, 0xcb, 0xc9, 0x40, 0xce, 0xb1, 0x4f, 0xc9, 0xc1,
- 0xb9, 0x19, 0xc8, 0x21, 0x39, 0x0d, 0x02, 0xdd, 0xb2, 0x47, 0xe6, 0x1f, 0x08, 0xba, 0xba, 0xe7,
- 0xb1, 0xe4, 0x2c, 0x39, 0x4b, 0xe7, 0xe2, 0x5c, 0x7a, 0xba, 0xab, 0xbb, 0xaa, 0x1f, 0x55, 0xbf,
- 0xaa, 0xea, 0xed, 0x85, 0x53, 0x3e, 0xf3, 0x76, 0xac, 0x1e, 0x5b, 0x19, 0x79, 0x6e, 0xe0, 0x12,
- 0x62, 0x5b, 0x3b, 0x6c, 0x65, 0x97, 0x75, 0xc3, 0x1e, 0x73, 0x02, 0xe6, 0xad, 0xec, 0xdc, 0xee,
- 0xdc, 0x1c, 0x58, 0xc1, 0x56, 0xd8, 0x5d, 0xe9, 0xb9, 0xc3, 0xd5, 0x81, 0x3b, 0x70, 0x57, 0x71,
- 0x68, 0x37, 0xec, 0x63, 0x0b, 0x1b, 0x58, 0x13, 0x22, 0xb4, 0x79, 0x38, 0xf5, 0x84, 0x05, 0x3f,
- 0xb0, 0xfc, 0xc0, 0xf5, 0xf6, 0x28, 0xdb, 0xd6, 0xfe, 0x51, 0x83, 0xd3, 0x59, 0x8a, 0x3f, 0x22,
- 0x2a, 0xd4, 0x02, 0x2b, 0xb0, 0x59, 0xbb, 0xb4, 0x54, 0x5a, 0x6e, 0xae, 0x37, 0xc7, 0x91, 0x2a,
- 0x08, 0x54, 0x7c, 0xf8, 0x80, 0x9e, 0x1b, 0x3a, 0x41, 0xbb, 0xba, 0x54, 0x5a, 0xae, 0x89, 0x01,
- 0x48, 0xa0, 0xe2, 0x43, 0x1e, 0x41, 0xd5, 0xb6, 0xfc, 0xa0, 0x5d, 0x5b, 0xaa, 0x2c, 0xb7, 0xd6,
- 0xae, 0xad, 0x1c, 0x5e, 0xf7, 0xca, 0xe4, 0x9c, 0x2b, 0x3f, 0xb2, 0xfc, 0x60, 0x5d, 0x19, 0x47,
- 0x2a, 0x32, 0x52, 0x2c, 0x3b, 0x5f, 0x54, 0xa1, 0xca, 0x3b, 0x88, 0x06, 0x75, 0xcf, 0x75, 0x87,
- 0x96, 0x89, 0x4b, 0xaa, 0xac, 0xc3, 0x38, 0x52, 0x25, 0x85, 0xca, 0x2f, 0xb9, 0x08, 0x95, 0xd0,
- 0x32, 0xdb, 0x65, 0x5c, 0x52, 0x63, 0x1c, 0xa9, 0xbc, 0x49, 0x79, 0x41, 0xce, 0x42, 0x2d, 0x74,
- 0x8c, 0x21, 0x6b, 0x57, 0xf8, 0x86, 0xa8, 0x68, 0x90, 0x9b, 0x00, 0xa1, 0xcf, 0x3c, 0xbd, 0xe7,
- 0xee, 0x30, 0x0f, 0xb7, 0xd2, 0x5c, 0x3f, 0x3d, 0x8e, 0xd4, 0x0c, 0x95, 0x36, 0x79, 0xfd, 0x01,
- 0xaf, 0xa6, 0xa7, 0x52, 0x9b, 0x72, 0x2a, 0x8b, 0x50, 0xed, 0x1b, 0x3d, 0xd6, 0xae, 0x63, 0x3f,
- 0xee, 0x85, 0xb7, 0x29, 0x96, 0xbc, 0x37, 0x30, 0x06, 0x7e, 0xbb, 0x91, 0xf6, 0xf2, 0x36, 0xc5,
- 0x92, 0xdc, 0x82, 0x16, 0x3f, 0x23, 0xdd, 0x0f, 0x8c, 0x20, 0xf4, 0xdb, 0x4d, 0xdc, 0xc4, 0xfc,
- 0x38, 0x52, 0xb3, 0x64, 0x0a, 0xbc, 0xf1, 0x1c, 0xeb, 0xe4, 0x1a, 0x28, 0x7d, 0xc3, 0xf1, 0x75,
- 0x27, 0x1c, 0xb6, 0x01, 0x87, 0xcf, 0x8d, 0x23, 0x35, 0xa1, 0xd1, 0x06, 0xaf, 0x3d, 0x0d, 0x87,
- 0xe4, 0x0e, 0xcc, 0x59, 0xbe, 0x6e, 0x04, 0x01, 0x73, 0x02, 0xcb, 0x75, 0xda, 0x73, 0x38, 0x78,
- 0x61, 0x1c, 0xa9, 0x13, 0x74, 0xda, 0xb2, 0xfc, 0xfb, 0x71, 0x83, 0x2c, 0x02, 0x18, 0x1e, 0x33,
- 0xf4, 0x9d, 0x35, 0xdd, 0x32, 0xdb, 0xa7, 0x38, 0x0b, 0x55, 0x38, 0xe5, 0x93, 0xb5, 0x0d, 0x93,
- 0xac, 0xc1, 0x5c, 0xdc, 0x8b, 0xc7, 0x7a, 0x1a, 0xf7, 0x84, 0x22, 0xb3, 0x74, 0x0a, 0x82, 0xe3,
- 0x29, 0x3f, 0xed, 0xc7, 0x70, 0x26, 0xee, 0x1b, 0x19, 0x1e, 0x73, 0x02, 0xc1, 0x3a, 0x8f, 0xac,
- 0x17, 0xc6, 0x91, 0x9a, 0xd7, 0x4d, 0x17, 0x84, 0x84, 0x67, 0x48, 0x42, 0x39, 0x6f, 0xc3, 0x5b,
- 0x07, 0x06, 0x5a, 0x66, 0x7b, 0x01, 0x17, 0x78, 0x3a, 0x3b, 0x78, 0xc3, 0xe4, 0xb6, 0xfe, 0x90,
- 0xd9, 0x19, 0x5b, 0x5f, 0x80, 0xd3, 0x59, 0x82, 0x3f, 0xd2, 0xfe, 0x5e, 0x86, 0xf3, 0xf7, 0x9d,
- 0xde, 0x96, 0xeb, 0x6d, 0x1a, 0xfe, 0xab, 0xfb, 0xa6, 0x49, 0xd9, 0xae, 0xe1, 0x99, 0x94, 0x6d,
- 0x93, 0x47, 0xd0, 0xf4, 0xb0, 0xc1, 0x27, 0xa8, 0xa2, 0xd9, 0x2d, 0xef, 0x47, 0xea, 0xd5, 0xbe,
- 0xeb, 0x0d, 0xef, 0x6a, 0x49, 0x97, 0xb6, 0xb4, 0x63, 0xd8, 0x96, 0x69, 0x04, 0x8c, 0x13, 0xb7,
- 0x43, 0xcb, 0x63, 0xa6, 0x46, 0x15, 0xd1, 0xbf, 0x61, 0x92, 0x7b, 0x89, 0xe9, 0x2a, 0x28, 0xe3,
- 0x3b, 0xfb, 0x91, 0x7a, 0x59, 0xca, 0x40, 0x7a, 0xbe, 0x80, 0xd8, 0xaa, 0xef, 0x41, 0xdd, 0x77,
- 0x43, 0xaf, 0xc7, 0xd0, 0x26, 0x26, 0xd8, 0x05, 0x7d, 0x0a, 0xbb, 0xe8, 0x24, 0xef, 0x08, 0x50,
- 0x00, 0xf2, 0x6a, 0xfb, 0x91, 0x7a, 0x49, 0xf0, 0x86, 0xd3, 0xe6, 0x45, 0xbc, 0xac, 0x83, 0xe2,
- 0x7a, 0x26, 0xf3, 0xf8, 0xce, 0x5b, 0xa8, 0xa0, 0x6b, 0xfb, 0x91, 0x7a, 0x45, 0xb0, 0xc6, 0x3d,
- 0xf9, 0xfc, 0x0d, 0xec, 0xde, 0x30, 0xb5, 0x7b, 0x70, 0x21, 0xf7, 0x60, 0xfd, 0x11, 0xa2, 0x99,
- 0xf9, 0xa1, 0x1d, 0x4c, 0xa0, 0x19, 0x29, 0x54, 0x7e, 0xb5, 0xf7, 0xe1, 0x5c, 0xca, 0xfe, 0xd1,
- 0x5e, 0xaa, 0x96, 0x2b, 0x50, 0x1d, 0x19, 0x03, 0x26, 0x59, 0xe7, 0xf7, 0x23, 0xb5, 0x25, 0xd6,
- 0xc5, 0xa9, 0x1a, 0xc5, 0x4e, 0xed, 0xab, 0x7a, 0x56, 0xad, 0x29, 0xbb, 0x3f, 0x22, 0x14, 0xaa,
- 0xa6, 0x11, 0x18, 0xed, 0x12, 0xba, 0xa6, 0x77, 0xf2, 0x5c, 0x53, 0x3e, 0xe7, 0x8a, 0xa8, 0x7e,
- 0xdc, 0xfd, 0x54, 0xa0, 0x97, 0x4b, 0xa1, 0x58, 0x92, 0x8f, 0xe4, 0x9a, 0xb8, 0xef, 0x69, 0xad,
- 0xad, 0xce, 0x20, 0xf3, 0x99, 0x31, 0x60, 0x42, 0x1c, 0x17, 0x20, 0x56, 0xcf, 0x11, 0xcb, 0x5e,
- 0x8f, 0x2c, 0x8f, 0xe9, 0xc2, 0xcb, 0x56, 0x70, 0xab, 0x08, 0xaf, 0x2c, 0x9d, 0xb6, 0x44, 0xeb,
- 0x01, 0x6f, 0x74, 0x7e, 0x5f, 0x81, 0x66, 0xb2, 0x42, 0x72, 0x1e, 0xca, 0x89, 0xb3, 0xac, 0x8f,
- 0x23, 0xb5, 0x6c, 0x99, 0xb4, 0x6c, 0x99, 0xdc, 0xcf, 0x48, 0xcb, 0x0d, 0xf6, 0x46, 0x62, 0xc1,
- 0x15, 0xe1, 0x67, 0x32, 0x64, 0x0a, 0xa2, 0xb1, 0xb9, 0x37, 0x62, 0x5c, 0x59, 0xd2, 0x29, 0x55,
- 0x52, 0x65, 0x49, 0x7f, 0x24, 0xbf, 0xe4, 0xfa, 0x61, 0xa8, 0x9c, 0x1a, 0x47, 0x6a, 0x4a, 0xcc,
- 0xe0, 0x61, 0x11, 0xaa, 0x08, 0xfc, 0x5a, 0xea, 0x07, 0x11, 0xe9, 0x58, 0xf2, 0x5e, 0xab, 0xe7,
- 0x3a, 0x59, 0x1f, 0xca, 0xdb, 0x14, 0x4b, 0x7e, 0x30, 0x46, 0x6f, 0xcb, 0x62, 0x3b, 0x4c, 0x0f,
- 0xac, 0x21, 0x93, 0xbe, 0x54, 0xf8, 0x9d, 0x0c, 0x9d, 0xb6, 0x64, 0x6b, 0xd3, 0x1a, 0x32, 0xbe,
- 0x65, 0x79, 0x6a, 0xc8, 0xa3, 0x20, 0x0f, 0x6e, 0x39, 0x43, 0xa6, 0x20, 0x1a, 0xc8, 0xa1, 0x1d,
- 0xc0, 0x9c, 0xd8, 0x32, 0x52, 0x12, 0x60, 0xdd, 0x81, 0xb9, 0x78, 0x77, 0x4e, 0xe0, 0xb9, 0x88,
- 0x30, 0xb9, 0x94, 0x2c, 0x9d, 0xca, 0x73, 0xdd, 0xe0, 0x8d, 0xce, 0x1f, 0x4b, 0x50, 0xe5, 0x1a,
- 0xe7, 0xdb, 0xcc, 0x18, 0xf1, 0x41, 0xfd, 0x5f, 0x87, 0x26, 0xff, 0xea, 0xbe, 0xf5, 0x59, 0xac,
- 0x22, 0x3c, 0xce, 0x84, 0x48, 0x15, 0x5e, 0x7d, 0x6e, 0x7d, 0x86, 0x41, 0x2c, 0x70, 0x03, 0xc3,
- 0xd6, 0x51, 0x9e, 0x50, 0x11, 0x06, 0xb1, 0x94, 0x4a, 0x9b, 0x58, 0xc7, 0x89, 0x6f, 0x41, 0x4b,
- 0x74, 0xa4, 0xf1, 0x5b, 0xea, 0x3f, 0x43, 0xa6, 0x82, 0x19, 0xed, 0x4a, 0xbb, 0x97, 0x45, 0xd2,
- 0x0b, 0x9f, 0x51, 0xd6, 0x73, 0x67, 0x40, 0xe2, 0xaf, 0xeb, 0x59, 0x3f, 0x90, 0xe1, 0xf7, 0x47,
- 0xe4, 0xf9, 0x04, 0x14, 0xbf, 0x77, 0x34, 0x6c, 0x26, 0x58, 0x8f, 0xc0, 0xe2, 0xd3, 0x09, 0x2c,
- 0xde, 0x9a, 0x45, 0x68, 0x1e, 0x18, 0x3b, 0xbf, 0x2b, 0x84, 0xab, 0x09, 0x04, 0x94, 0x8f, 0x46,
- 0x40, 0x11, 0x44, 0xc5, 0x28, 0xa9, 0x1e, 0x89, 0x92, 0x5a, 0x21, 0x94, 0xd4, 0x4f, 0x80, 0x92,
- 0xc6, 0x2c, 0x28, 0x51, 0x0a, 0xa3, 0xa4, 0x59, 0x00, 0x25, 0x3c, 0xb3, 0x09, 0x7d, 0xb9, 0x0e,
- 0x01, 0x2b, 0xcc, 0x6c, 0x62, 0x1a, 0x6d, 0x84, 0x3e, 0xae, 0xe0, 0x5b, 0x09, 0xa7, 0x5f, 0x1c,
- 0x82, 0x53, 0x1c, 0xd8, 0x6e, 0x67, 0x4c, 0xeb, 0xf2, 0x7e, 0xa4, 0xfe, 0xbf, 0x00, 0xd3, 0xb4,
- 0x40, 0xcb, 0xad, 0x6e, 0x15, 0x94, 0x91, 0x6d, 0x04, 0x7c, 0x20, 0x6e, 0xac, 0xb9, 0x7e, 0x66,
- 0x3f, 0x52, 0xe7, 0x25, 0x0a, 0x65, 0x8f, 0x46, 0x93, 0x41, 0x93, 0x41, 0x39, 0x33, 0x7b, 0xc1,
- 0xa0, 0x7c, 0x21, 0x1b, 0x94, 0x37, 0xfc, 0x4f, 0x2c, 0xb6, 0xcb, 0xf8, 0xda, 0xb5, 0x7f, 0x4d,
- 0xa4, 0x51, 0x69, 0x8f, 0x3f, 0x22, 0x0f, 0x81, 0x04, 0x86, 0xff, 0x4a, 0xf7, 0xb7, 0xdc, 0xd0,
- 0x36, 0x75, 0xc7, 0x0d, 0xac, 0x5e, 0xac, 0xa9, 0xf3, 0xe3, 0x48, 0xcd, 0xe9, 0xa5, 0x0b, 0x9c,
- 0xf6, 0x1c, 0x49, 0x4f, 0x91, 0x42, 0x7e, 0x08, 0x67, 0xa5, 0xc1, 0x4c, 0xca, 0x11, 0xea, 0x6c,
- 0x8f, 0x23, 0x35, 0xb7, 0x9f, 0x12, 0x41, 0x9d, 0x90, 0xc5, 0x95, 0x86, 0x73, 0x66, 0x41, 0x28,
- 0x94, 0x96, 0x92, 0x29, 0xe0, 0x1a, 0x04, 0x1a, 0x6f, 0x02, 0x58, 0xbe, 0xde, 0xb5, 0x8d, 0xde,
- 0x2b, 0x16, 0x07, 0x38, 0xb4, 0x8a, 0x94, 0x4a, 0x9b, 0x96, 0xbf, 0x2e, 0xaa, 0xe4, 0x3e, 0xbc,
- 0xe5, 0x6f, 0xb9, 0xbb, 0xba, 0x5c, 0x11, 0x73, 0x02, 0x6f, 0x0f, 0xb1, 0x5a, 0x59, 0x3f, 0x37,
- 0x8e, 0xd4, 0xc3, 0x9d, 0x74, 0x9e, 0x93, 0x84, 0x32, 0x1e, 0x71, 0x02, 0x5e, 0x66, 0x3c, 0x5b,
- 0x42, 0x57, 0x5c, 0x66, 0x3c, 0x9b, 0xf2, 0x42, 0xbb, 0x0b, 0x67, 0x1e, 0x18, 0x23, 0x3f, 0xb4,
- 0xd9, 0x13, 0x16, 0x3c, 0x64, 0x81, 0x61, 0xd9, 0xd2, 0x1b, 0xf7, 0x3d, 0x37, 0xb6, 0x83, 0x8c,
- 0x37, 0xe6, 0x54, 0x8d, 0x62, 0xa7, 0xf6, 0x01, 0xd4, 0x5e, 0xf8, 0x12, 0x31, 0x01, 0x7b, 0x1d,
- 0xc8, 0x1b, 0x9e, 0xb8, 0x8d, 0xb0, 0xd7, 0x01, 0xc5, 0x32, 0x9e, 0xbd, 0x9c, 0x33, 0xfb, 0x07,
- 0xa0, 0x3c, 0xf3, 0xdc, 0x81, 0xc7, 0x7c, 0x9f, 0x0f, 0x73, 0xdc, 0x5d, 0xa9, 0x4b, 0x1c, 0xe6,
- 0xb8, 0xbb, 0x94, 0x17, 0xbc, 0x6b, 0x68, 0xbc, 0x96, 0xea, 0xc1, 0xae, 0xa1, 0xf1, 0x9a, 0xf2,
- 0x42, 0xfb, 0x43, 0x03, 0xce, 0x1e, 0xde, 0x80, 0x3f, 0x22, 0x3f, 0x86, 0xba, 0xe3, 0x7a, 0x43,
- 0xc3, 0x46, 0x89, 0x53, 0x72, 0xb3, 0x3c, 0xce, 0x98, 0xb8, 0xe1, 0xf4, 0x5d, 0x61, 0xb7, 0x42,
- 0x0e, 0x95, 0x5f, 0xf2, 0x53, 0x50, 0x7a, 0xae, 0xed, 0x7a, 0xfd, 0xd0, 0x96, 0x71, 0xe1, 0x64,
- 0xb2, 0xd1, 0x0f, 0xc5, 0x92, 0x68, 0x52, 0xeb, 0xbc, 0x29, 0x41, 0xf5, 0x89, 0xd5, 0x0f, 0x12,
- 0xb7, 0x5d, 0xce, 0x75, 0xdb, 0x2a, 0xd4, 0xac, 0x61, 0xec, 0x57, 0xe4, 0x0d, 0x12, 0x09, 0x54,
- 0x7c, 0xc8, 0x5d, 0xa8, 0x85, 0x5c, 0x3d, 0x68, 0x62, 0xad, 0xb5, 0x8b, 0x79, 0x8b, 0x44, 0xfd,
- 0x09, 0x5e, 0x1c, 0x4b, 0xc5, 0x87, 0x7b, 0xb9, 0x5d, 0xd6, 0xd5, 0xc5, 0x04, 0x22, 0x30, 0xa0,
- 0x97, 0x4b, 0x88, 0x54, 0xd9, 0x65, 0xdd, 0x8d, 0xa1, 0x4c, 0x30, 0x87, 0x6e, 0xd7, 0xb2, 0x99,
- 0x1c, 0x9e, 0x89, 0x10, 0x59, 0x3a, 0x6d, 0x89, 0x16, 0x32, 0x75, 0x7e, 0x2e, 0xef, 0xe2, 0x5c,
- 0xeb, 0xe1, 0x70, 0x42, 0xeb, 0xe1, 0x90, 0xf2, 0x82, 0x6f, 0x7f, 0x60, 0xf5, 0x83, 0xec, 0xf6,
- 0x79, 0x9b, 0x62, 0xc9, 0x7b, 0xb9, 0x13, 0x93, 0xbb, 0x8f, 0xe3, 0x36, 0xc3, 0xb8, 0xcd, 0x8e,
- 0x8e, 0x78, 0x9d, 0x7f, 0x97, 0xa1, 0x95, 0xd1, 0x44, 0x26, 0x86, 0xf2, 0x75, 0x28, 0xd3, 0x62,
- 0x68, 0xcf, 0xb5, 0x1c, 0x69, 0x84, 0x28, 0x91, 0xb7, 0x29, 0x96, 0x5c, 0x42, 0x6f, 0xcb, 0x70,
- 0x12, 0x2f, 0x8f, 0x12, 0x04, 0x85, 0xca, 0x2f, 0x79, 0x0c, 0xca, 0x48, 0x1a, 0xbb, 0x54, 0xc9,
- 0x62, 0x9e, 0x4a, 0x62, 0x40, 0x08, 0xfb, 0x88, 0x39, 0x68, 0x52, 0xe3, 0x2b, 0xf1, 0x42, 0x7b,
- 0x22, 0xe7, 0xe5, 0x6d, 0x8a, 0x25, 0xf9, 0x50, 0x9e, 0x5a, 0x1d, 0xd3, 0xa0, 0x9b, 0x85, 0x2d,
- 0x93, 0x5b, 0xdc, 0xa1, 0x43, 0xfe, 0x50, 0xfe, 0xf2, 0xd2, 0x98, 0x51, 0x58, 0xde, 0xef, 0x2f,
- 0xda, 0x97, 0x25, 0x38, 0x27, 0x47, 0x7f, 0x3c, 0x62, 0x8e, 0xac, 0x72, 0x6f, 0xf3, 0x1e, 0x54,
- 0x93, 0x0b, 0x44, 0x73, 0xfd, 0xca, 0x7e, 0xa4, 0xaa, 0xc2, 0xdb, 0x70, 0x6a, 0x7e, 0xc0, 0x42,
- 0x06, 0x6e, 0xe2, 0xd9, 0x4b, 0xcd, 0xd5, 0xfd, 0x48, 0x5d, 0x12, 0x9c, 0x48, 0xce, 0x67, 0x95,
- 0xbf, 0x2a, 0x65, 0xc3, 0x5d, 0xb5, 0x48, 0xb8, 0xfb, 0xba, 0x01, 0xe7, 0xf3, 0xd6, 0x2f, 0xc2,
- 0x5d, 0x11, 0x03, 0x42, 0x27, 0x59, 0x5e, 0xaa, 0xe4, 0x38, 0xc9, 0x65, 0x50, 0x2c, 0xff, 0x91,
- 0x13, 0x58, 0xc1, 0x1e, 0x6e, 0x46, 0x11, 0xea, 0x8f, 0x69, 0x34, 0xa9, 0xf1, 0xeb, 0xa1, 0xe5,
- 0xf4, 0x5d, 0x69, 0x42, 0xab, 0x47, 0xe8, 0xe4, 0xc0, 0x2a, 0x57, 0xd0, 0xeb, 0x88, 0xfc, 0xce,
- 0xe9, 0xbb, 0x14, 0x4b, 0x72, 0x03, 0x9a, 0x3c, 0x5c, 0x6c, 0x66, 0x7e, 0x8c, 0x42, 0xa4, 0x27,
- 0x44, 0x9a, 0x56, 0xc9, 0x26, 0xd4, 0x0d, 0x1e, 0x56, 0x7c, 0x69, 0x5e, 0xb7, 0x66, 0x98, 0xfd,
- 0x3e, 0x67, 0x14, 0x27, 0x23, 0x64, 0x50, 0xf9, 0xed, 0xfc, 0xb6, 0x34, 0x09, 0xc7, 0x18, 0x6a,
- 0xa5, 0x63, 0xa0, 0x56, 0x2e, 0x04, 0xb5, 0xca, 0xc9, 0xa1, 0xd6, 0xf9, 0x4b, 0x09, 0xaa, 0xb8,
- 0xa4, 0x97, 0x07, 0xa2, 0xc9, 0xbb, 0x33, 0x6c, 0xfc, 0xb8, 0x78, 0xf2, 0xb3, 0x43, 0xf1, 0xe4,
- 0xa4, 0xd2, 0xa7, 0x45, 0x94, 0xdf, 0x94, 0xa1, 0x86, 0xc7, 0x7f, 0x4c, 0x48, 0x91, 0xce, 0xb8,
- 0x92, 0xef, 0x8c, 0xd1, 0x7a, 0xab, 0xd3, 0x42, 0xbc, 0x35, 0x1c, 0x48, 0xf3, 0x41, 0x46, 0x6b,
- 0x38, 0xa0, 0xbc, 0x48, 0xa3, 0x50, 0xfd, 0x1b, 0x46, 0xa1, 0xc6, 0x6c, 0x51, 0x48, 0x29, 0x10,
- 0x85, 0xb4, 0x5f, 0x95, 0xa0, 0x9d, 0x3a, 0xb0, 0xcc, 0x51, 0x7e, 0x23, 0xaf, 0xf4, 0x9e, 0x4c,
- 0x9e, 0x2a, 0x07, 0x19, 0x31, 0x6b, 0xca, 0x67, 0xc4, 0xae, 0xcf, 0xeb, 0x70, 0x71, 0xca, 0x72,
- 0xfc, 0xd1, 0x31, 0xb0, 0x88, 0xa3, 0x42, 0x39, 0x37, 0x2a, 0x74, 0xa1, 0xc9, 0x1d, 0xba, 0x8e,
- 0xde, 0xbc, 0x82, 0xd8, 0x7d, 0xf7, 0x68, 0x6f, 0x7e, 0x60, 0x76, 0x8c, 0x0f, 0xe8, 0xd6, 0x51,
- 0x03, 0x89, 0x30, 0xaa, 0x0c, 0x64, 0x07, 0xf9, 0x14, 0x5a, 0x48, 0xee, 0x5b, 0x76, 0x80, 0x3f,
- 0x81, 0xf3, 0x59, 0xbe, 0x3f, 0xfb, 0x2c, 0x8f, 0x91, 0x5f, 0xe4, 0xd0, 0x19, 0x81, 0x14, 0x06,
- 0x49, 0x67, 0xe7, 0xf3, 0x32, 0x28, 0xf1, 0x8a, 0xa6, 0x5e, 0xa3, 0x4f, 0x6c, 0xec, 0x57, 0xa1,
- 0xc1, 0x4d, 0x8c, 0x67, 0xad, 0xc2, 0xa4, 0x5b, 0xe3, 0x48, 0x8d, 0x49, 0xb4, 0xbe, 0xcb, 0xba,
- 0x2f, 0x3c, 0x9b, 0xe7, 0xf1, 0xd2, 0xb2, 0xd2, 0xe4, 0x1a, 0xf3, 0xf8, 0x94, 0x4a, 0x9b, 0xa2,
- 0xce, 0x87, 0x27, 0x40, 0x68, 0xcc, 0x0e, 0x84, 0x45, 0x69, 0x8a, 0x4a, 0xaa, 0x7a, 0xfc, 0x69,
- 0x4d, 0xd8, 0x9b, 0x06, 0x75, 0x71, 0x93, 0x96, 0x37, 0x62, 0x74, 0x32, 0x82, 0x42, 0xe5, 0xb7,
- 0xf3, 0xb7, 0x12, 0x40, 0x7a, 0xb8, 0x27, 0x3c, 0xb2, 0xcc, 0xb9, 0x54, 0x8a, 0x9e, 0x4b, 0xb5,
- 0xf0, 0xb9, 0xd4, 0x66, 0x3e, 0x17, 0xed, 0xcf, 0x25, 0xf8, 0xbf, 0xc3, 0x7e, 0x71, 0x7d, 0x6f,
- 0x93, 0x1f, 0xce, 0xb7, 0x26, 0xb1, 0xf8, 0x53, 0x0d, 0x16, 0xa7, 0xef, 0xa2, 0x60, 0x7a, 0x91,
- 0x4d, 0x20, 0xca, 0x47, 0x26, 0x10, 0x2f, 0x65, 0x02, 0x21, 0x02, 0xe3, 0xfb, 0xc5, 0x62, 0x4d,
- 0xba, 0x9a, 0x89, 0x88, 0x73, 0x30, 0x9b, 0x78, 0x99, 0x24, 0x08, 0xd5, 0x63, 0x9d, 0x4c, 0xbe,
- 0xf4, 0xa9, 0x69, 0x42, 0x12, 0x82, 0x6a, 0x79, 0x09, 0x54, 0xe7, 0xc6, 0x0c, 0x39, 0x44, 0xe7,
- 0xaf, 0x49, 0x40, 0xfc, 0xaf, 0xfb, 0x8e, 0xa3, 0x03, 0xe5, 0xff, 0x9e, 0x67, 0x59, 0xfb, 0xa2,
- 0x04, 0x8d, 0x2d, 0xf1, 0x08, 0x46, 0x7e, 0x02, 0x64, 0xc0, 0x02, 0x5d, 0x36, 0xf5, 0xee, 0x9e,
- 0x1e, 0x5a, 0x26, 0xb9, 0x7c, 0xdc, 0x8b, 0xed, 0x76, 0x47, 0x3b, 0xfe, 0x51, 0x97, 0x6c, 0x42,
- 0xcb, 0x64, 0x76, 0x2c, 0x3c, 0x5f, 0xea, 0xc4, 0x0b, 0x5d, 0xbe, 0xd4, 0xc9, 0x37, 0xbb, 0xb5,
- 0x2f, 0x2b, 0xd0, 0x90, 0x86, 0x43, 0x74, 0x00, 0xbe, 0x7c, 0x13, 0x2f, 0x32, 0xe4, 0x5a, 0xb1,
- 0xeb, 0xce, 0x76, 0x67, 0xb9, 0xe8, 0xbd, 0x88, 0x30, 0x98, 0x73, 0x47, 0xcc, 0xd1, 0x7b, 0x72,
- 0xc2, 0xb7, 0x8b, 0x26, 0x7a, 0xdb, 0x9d, 0xeb, 0xc5, 0x73, 0x42, 0xe2, 0xc2, 0x02, 0xdf, 0x87,
- 0x9c, 0x45, 0x47, 0x64, 0x7e, 0x77, 0x86, 0x40, 0xbc, 0xdd, 0xb9, 0x39, 0x53, 0xd8, 0x26, 0x7b,
- 0x70, 0x36, 0xbb, 0x2f, 0xae, 0x78, 0xb4, 0x9f, 0xd5, 0xd9, 0xe0, 0xbf, 0xdd, 0xb9, 0x35, 0xab,
- 0xbf, 0x58, 0xfb, 0x65, 0x15, 0x20, 0xfd, 0xb1, 0x90, 0x18, 0xa0, 0x0c, 0xe5, 0x93, 0x58, 0xfe,
- 0xe9, 0xe6, 0xbe, 0x03, 0xe6, 0x9f, 0xee, 0x94, 0x37, 0x3f, 0x13, 0x9a, 0x61, 0xfc, 0x4b, 0x3f,
- 0xb9, 0x5e, 0xf8, 0x49, 0x60, 0xbb, 0x73, 0x63, 0x86, 0xe7, 0x83, 0x64, 0x16, 0xdc, 0x49, 0x91,
- 0x59, 0xe2, 0xad, 0xdc, 0x28, 0x3c, 0xd6, 0x1f, 0xf1, 0xe3, 0xb2, 0xe4, 0xef, 0xab, 0xc7, 0x1d,
- 0x57, 0xe6, 0x17, 0xda, 0xe3, 0x8e, 0x6b, 0xe2, 0x27, 0x5b, 0x13, 0x9a, 0x46, 0xfc, 0x60, 0x7b,
- 0xdc, 0x46, 0xb2, 0x4f, 0xe6, 0xc7, 0x6d, 0x64, 0xe2, 0x15, 0x78, 0x7d, 0xe1, 0xab, 0x37, 0x97,
- 0x4a, 0x5f, 0xbf, 0xb9, 0x54, 0xfa, 0xe7, 0x9b, 0x4b, 0xa5, 0x97, 0xe5, 0x9d, 0xdb, 0xdd, 0x3a,
- 0xfe, 0x45, 0xe5, 0xce, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x67, 0xfa, 0x5a, 0xf6, 0x22,
- 0x00, 0x00,
- }
|