service.pb.go 282 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: service.proto
  3. package v1
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import io "io"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  18. // 历史记录请求参数定义
  19. type GetHistoryReq struct {
  20. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  21. XXX_unrecognized []byte `json:"-"`
  22. XXX_sizecache int32 `json:"-"`
  23. }
  24. func (m *GetHistoryReq) Reset() { *m = GetHistoryReq{} }
  25. func (m *GetHistoryReq) String() string { return proto.CompactTextString(m) }
  26. func (*GetHistoryReq) ProtoMessage() {}
  27. func (*GetHistoryReq) Descriptor() ([]byte, []int) {
  28. return fileDescriptor_service_9f54252a761dae68, []int{0}
  29. }
  30. func (m *GetHistoryReq) XXX_Unmarshal(b []byte) error {
  31. return m.Unmarshal(b)
  32. }
  33. func (m *GetHistoryReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  34. if deterministic {
  35. return xxx_messageInfo_GetHistoryReq.Marshal(b, m, deterministic)
  36. } else {
  37. b = b[:cap(b)]
  38. n, err := m.MarshalTo(b)
  39. if err != nil {
  40. return nil, err
  41. }
  42. return b[:n], nil
  43. }
  44. }
  45. func (dst *GetHistoryReq) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_GetHistoryReq.Merge(dst, src)
  47. }
  48. func (m *GetHistoryReq) XXX_Size() int {
  49. return m.Size()
  50. }
  51. func (m *GetHistoryReq) XXX_DiscardUnknown() {
  52. xxx_messageInfo_GetHistoryReq.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_GetHistoryReq proto.InternalMessageInfo
  55. // 获取接口返回响应
  56. type GetHistoryResp struct {
  57. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title"`
  58. Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count"`
  59. List []*GetHistoryResp_List `protobuf:"bytes,5,rep,name=list" json:"list"`
  60. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  61. XXX_unrecognized []byte `json:"-"`
  62. XXX_sizecache int32 `json:"-"`
  63. }
  64. func (m *GetHistoryResp) Reset() { *m = GetHistoryResp{} }
  65. func (m *GetHistoryResp) String() string { return proto.CompactTextString(m) }
  66. func (*GetHistoryResp) ProtoMessage() {}
  67. func (*GetHistoryResp) Descriptor() ([]byte, []int) {
  68. return fileDescriptor_service_9f54252a761dae68, []int{1}
  69. }
  70. func (m *GetHistoryResp) XXX_Unmarshal(b []byte) error {
  71. return m.Unmarshal(b)
  72. }
  73. func (m *GetHistoryResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  74. if deterministic {
  75. return xxx_messageInfo_GetHistoryResp.Marshal(b, m, deterministic)
  76. } else {
  77. b = b[:cap(b)]
  78. n, err := m.MarshalTo(b)
  79. if err != nil {
  80. return nil, err
  81. }
  82. return b[:n], nil
  83. }
  84. }
  85. func (dst *GetHistoryResp) XXX_Merge(src proto.Message) {
  86. xxx_messageInfo_GetHistoryResp.Merge(dst, src)
  87. }
  88. func (m *GetHistoryResp) XXX_Size() int {
  89. return m.Size()
  90. }
  91. func (m *GetHistoryResp) XXX_DiscardUnknown() {
  92. xxx_messageInfo_GetHistoryResp.DiscardUnknown(m)
  93. }
  94. var xxx_messageInfo_GetHistoryResp proto.InternalMessageInfo
  95. func (m *GetHistoryResp) GetTitle() string {
  96. if m != nil {
  97. return m.Title
  98. }
  99. return ""
  100. }
  101. func (m *GetHistoryResp) GetCount() int32 {
  102. if m != nil {
  103. return m.Count
  104. }
  105. return 0
  106. }
  107. func (m *GetHistoryResp) GetList() []*GetHistoryResp_List {
  108. if m != nil {
  109. return m.List
  110. }
  111. return nil
  112. }
  113. type GetHistoryResp_List struct {
  114. Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid"`
  115. Uid int32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
  116. Uname string `protobuf:"bytes,3,opt,name=uname,proto3" json:"uname,omitempty"`
  117. UserCover string `protobuf:"bytes,4,opt,name=user_cover,json=userCover,proto3" json:"user_cover"`
  118. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title"`
  119. Face string `protobuf:"bytes,6,opt,name=face,proto3" json:"face"`
  120. Tags string `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags"`
  121. LiveStatus int32 `protobuf:"varint,9,opt,name=live_status,json=liveStatus,proto3" json:"live_status"`
  122. FansNum int32 `protobuf:"varint,10,opt,name=fans_num,json=fansNum,proto3" json:"fans_num"`
  123. IsAttention int32 `protobuf:"varint,12,opt,name=is_attention,json=isAttention,proto3" json:"is_attention"`
  124. AreaV2Id int32 `protobuf:"varint,13,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id,omitempty"`
  125. AreaV2Name string `protobuf:"bytes,14,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name"`
  126. AreaV2ParentName string `protobuf:"bytes,15,opt,name=area_v2_parent_name,json=areaV2ParentName,proto3" json:"area_v2_parent_name"`
  127. AreaV2ParentId int32 `protobuf:"varint,16,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id,omitempty"`
  128. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  129. XXX_unrecognized []byte `json:"-"`
  130. XXX_sizecache int32 `json:"-"`
  131. }
  132. func (m *GetHistoryResp_List) Reset() { *m = GetHistoryResp_List{} }
  133. func (m *GetHistoryResp_List) String() string { return proto.CompactTextString(m) }
  134. func (*GetHistoryResp_List) ProtoMessage() {}
  135. func (*GetHistoryResp_List) Descriptor() ([]byte, []int) {
  136. return fileDescriptor_service_9f54252a761dae68, []int{1, 0}
  137. }
  138. func (m *GetHistoryResp_List) XXX_Unmarshal(b []byte) error {
  139. return m.Unmarshal(b)
  140. }
  141. func (m *GetHistoryResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  142. if deterministic {
  143. return xxx_messageInfo_GetHistoryResp_List.Marshal(b, m, deterministic)
  144. } else {
  145. b = b[:cap(b)]
  146. n, err := m.MarshalTo(b)
  147. if err != nil {
  148. return nil, err
  149. }
  150. return b[:n], nil
  151. }
  152. }
  153. func (dst *GetHistoryResp_List) XXX_Merge(src proto.Message) {
  154. xxx_messageInfo_GetHistoryResp_List.Merge(dst, src)
  155. }
  156. func (m *GetHistoryResp_List) XXX_Size() int {
  157. return m.Size()
  158. }
  159. func (m *GetHistoryResp_List) XXX_DiscardUnknown() {
  160. xxx_messageInfo_GetHistoryResp_List.DiscardUnknown(m)
  161. }
  162. var xxx_messageInfo_GetHistoryResp_List proto.InternalMessageInfo
  163. func (m *GetHistoryResp_List) GetRoomid() int64 {
  164. if m != nil {
  165. return m.Roomid
  166. }
  167. return 0
  168. }
  169. func (m *GetHistoryResp_List) GetUid() int32 {
  170. if m != nil {
  171. return m.Uid
  172. }
  173. return 0
  174. }
  175. func (m *GetHistoryResp_List) GetUname() string {
  176. if m != nil {
  177. return m.Uname
  178. }
  179. return ""
  180. }
  181. func (m *GetHistoryResp_List) GetUserCover() string {
  182. if m != nil {
  183. return m.UserCover
  184. }
  185. return ""
  186. }
  187. func (m *GetHistoryResp_List) GetTitle() string {
  188. if m != nil {
  189. return m.Title
  190. }
  191. return ""
  192. }
  193. func (m *GetHistoryResp_List) GetFace() string {
  194. if m != nil {
  195. return m.Face
  196. }
  197. return ""
  198. }
  199. func (m *GetHistoryResp_List) GetTags() string {
  200. if m != nil {
  201. return m.Tags
  202. }
  203. return ""
  204. }
  205. func (m *GetHistoryResp_List) GetLiveStatus() int32 {
  206. if m != nil {
  207. return m.LiveStatus
  208. }
  209. return 0
  210. }
  211. func (m *GetHistoryResp_List) GetFansNum() int32 {
  212. if m != nil {
  213. return m.FansNum
  214. }
  215. return 0
  216. }
  217. func (m *GetHistoryResp_List) GetIsAttention() int32 {
  218. if m != nil {
  219. return m.IsAttention
  220. }
  221. return 0
  222. }
  223. func (m *GetHistoryResp_List) GetAreaV2Id() int32 {
  224. if m != nil {
  225. return m.AreaV2Id
  226. }
  227. return 0
  228. }
  229. func (m *GetHistoryResp_List) GetAreaV2Name() string {
  230. if m != nil {
  231. return m.AreaV2Name
  232. }
  233. return ""
  234. }
  235. func (m *GetHistoryResp_List) GetAreaV2ParentName() string {
  236. if m != nil {
  237. return m.AreaV2ParentName
  238. }
  239. return ""
  240. }
  241. func (m *GetHistoryResp_List) GetAreaV2ParentId() int32 {
  242. if m != nil {
  243. return m.AreaV2ParentId
  244. }
  245. return 0
  246. }
  247. // 删除历史记录参数定义
  248. type DelHistoryReq struct {
  249. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  250. XXX_unrecognized []byte `json:"-"`
  251. XXX_sizecache int32 `json:"-"`
  252. }
  253. func (m *DelHistoryReq) Reset() { *m = DelHistoryReq{} }
  254. func (m *DelHistoryReq) String() string { return proto.CompactTextString(m) }
  255. func (*DelHistoryReq) ProtoMessage() {}
  256. func (*DelHistoryReq) Descriptor() ([]byte, []int) {
  257. return fileDescriptor_service_9f54252a761dae68, []int{2}
  258. }
  259. func (m *DelHistoryReq) XXX_Unmarshal(b []byte) error {
  260. return m.Unmarshal(b)
  261. }
  262. func (m *DelHistoryReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  263. if deterministic {
  264. return xxx_messageInfo_DelHistoryReq.Marshal(b, m, deterministic)
  265. } else {
  266. b = b[:cap(b)]
  267. n, err := m.MarshalTo(b)
  268. if err != nil {
  269. return nil, err
  270. }
  271. return b[:n], nil
  272. }
  273. }
  274. func (dst *DelHistoryReq) XXX_Merge(src proto.Message) {
  275. xxx_messageInfo_DelHistoryReq.Merge(dst, src)
  276. }
  277. func (m *DelHistoryReq) XXX_Size() int {
  278. return m.Size()
  279. }
  280. func (m *DelHistoryReq) XXX_DiscardUnknown() {
  281. xxx_messageInfo_DelHistoryReq.DiscardUnknown(m)
  282. }
  283. var xxx_messageInfo_DelHistoryReq proto.InternalMessageInfo
  284. // 删除直播历史记录响应
  285. type DelHistoryResp struct {
  286. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  287. XXX_unrecognized []byte `json:"-"`
  288. XXX_sizecache int32 `json:"-"`
  289. }
  290. func (m *DelHistoryResp) Reset() { *m = DelHistoryResp{} }
  291. func (m *DelHistoryResp) String() string { return proto.CompactTextString(m) }
  292. func (*DelHistoryResp) ProtoMessage() {}
  293. func (*DelHistoryResp) Descriptor() ([]byte, []int) {
  294. return fileDescriptor_service_9f54252a761dae68, []int{3}
  295. }
  296. func (m *DelHistoryResp) XXX_Unmarshal(b []byte) error {
  297. return m.Unmarshal(b)
  298. }
  299. func (m *DelHistoryResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  300. if deterministic {
  301. return xxx_messageInfo_DelHistoryResp.Marshal(b, m, deterministic)
  302. } else {
  303. b = b[:cap(b)]
  304. n, err := m.MarshalTo(b)
  305. if err != nil {
  306. return nil, err
  307. }
  308. return b[:n], nil
  309. }
  310. }
  311. func (dst *DelHistoryResp) XXX_Merge(src proto.Message) {
  312. xxx_messageInfo_DelHistoryResp.Merge(dst, src)
  313. }
  314. func (m *DelHistoryResp) XXX_Size() int {
  315. return m.Size()
  316. }
  317. func (m *DelHistoryResp) XXX_DiscardUnknown() {
  318. xxx_messageInfo_DelHistoryResp.DiscardUnknown(m)
  319. }
  320. var xxx_messageInfo_DelHistoryResp proto.InternalMessageInfo
  321. type AnchorTaskAddRewardReq struct {
  322. // 奖励id, 1:任意门
  323. RewardId int64 `protobuf:"varint,4,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty" form:"reward_id" validate:"required"`
  324. // 房间号
  325. Roomid int64 `protobuf:"varint,8,opt,name=roomid,proto3" json:"roomid,omitempty" form:"roomid" validate:"required"`
  326. // 来源,1:主播任务,2:小时榜
  327. Source int64 `protobuf:"varint,9,opt,name=source,proto3" json:"source,omitempty" form:"source" validate:"required"`
  328. // 主播uid
  329. Uid int64 `protobuf:"varint,10,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
  330. // 流水单号
  331. OrderId string `protobuf:"bytes,11,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty" form:"order_id" validate:"required"`
  332. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  333. XXX_unrecognized []byte `json:"-"`
  334. XXX_sizecache int32 `json:"-"`
  335. }
  336. func (m *AnchorTaskAddRewardReq) Reset() { *m = AnchorTaskAddRewardReq{} }
  337. func (m *AnchorTaskAddRewardReq) String() string { return proto.CompactTextString(m) }
  338. func (*AnchorTaskAddRewardReq) ProtoMessage() {}
  339. func (*AnchorTaskAddRewardReq) Descriptor() ([]byte, []int) {
  340. return fileDescriptor_service_9f54252a761dae68, []int{4}
  341. }
  342. func (m *AnchorTaskAddRewardReq) XXX_Unmarshal(b []byte) error {
  343. return m.Unmarshal(b)
  344. }
  345. func (m *AnchorTaskAddRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  346. if deterministic {
  347. return xxx_messageInfo_AnchorTaskAddRewardReq.Marshal(b, m, deterministic)
  348. } else {
  349. b = b[:cap(b)]
  350. n, err := m.MarshalTo(b)
  351. if err != nil {
  352. return nil, err
  353. }
  354. return b[:n], nil
  355. }
  356. }
  357. func (dst *AnchorTaskAddRewardReq) XXX_Merge(src proto.Message) {
  358. xxx_messageInfo_AnchorTaskAddRewardReq.Merge(dst, src)
  359. }
  360. func (m *AnchorTaskAddRewardReq) XXX_Size() int {
  361. return m.Size()
  362. }
  363. func (m *AnchorTaskAddRewardReq) XXX_DiscardUnknown() {
  364. xxx_messageInfo_AnchorTaskAddRewardReq.DiscardUnknown(m)
  365. }
  366. var xxx_messageInfo_AnchorTaskAddRewardReq proto.InternalMessageInfo
  367. func (m *AnchorTaskAddRewardReq) GetRewardId() int64 {
  368. if m != nil {
  369. return m.RewardId
  370. }
  371. return 0
  372. }
  373. func (m *AnchorTaskAddRewardReq) GetRoomid() int64 {
  374. if m != nil {
  375. return m.Roomid
  376. }
  377. return 0
  378. }
  379. func (m *AnchorTaskAddRewardReq) GetSource() int64 {
  380. if m != nil {
  381. return m.Source
  382. }
  383. return 0
  384. }
  385. func (m *AnchorTaskAddRewardReq) GetUid() int64 {
  386. if m != nil {
  387. return m.Uid
  388. }
  389. return 0
  390. }
  391. func (m *AnchorTaskAddRewardReq) GetOrderId() string {
  392. if m != nil {
  393. return m.OrderId
  394. }
  395. return ""
  396. }
  397. type AnchorTaskAddRewardResp struct {
  398. Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result"`
  399. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  400. XXX_unrecognized []byte `json:"-"`
  401. XXX_sizecache int32 `json:"-"`
  402. }
  403. func (m *AnchorTaskAddRewardResp) Reset() { *m = AnchorTaskAddRewardResp{} }
  404. func (m *AnchorTaskAddRewardResp) String() string { return proto.CompactTextString(m) }
  405. func (*AnchorTaskAddRewardResp) ProtoMessage() {}
  406. func (*AnchorTaskAddRewardResp) Descriptor() ([]byte, []int) {
  407. return fileDescriptor_service_9f54252a761dae68, []int{5}
  408. }
  409. func (m *AnchorTaskAddRewardResp) XXX_Unmarshal(b []byte) error {
  410. return m.Unmarshal(b)
  411. }
  412. func (m *AnchorTaskAddRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  413. if deterministic {
  414. return xxx_messageInfo_AnchorTaskAddRewardResp.Marshal(b, m, deterministic)
  415. } else {
  416. b = b[:cap(b)]
  417. n, err := m.MarshalTo(b)
  418. if err != nil {
  419. return nil, err
  420. }
  421. return b[:n], nil
  422. }
  423. }
  424. func (dst *AnchorTaskAddRewardResp) XXX_Merge(src proto.Message) {
  425. xxx_messageInfo_AnchorTaskAddRewardResp.Merge(dst, src)
  426. }
  427. func (m *AnchorTaskAddRewardResp) XXX_Size() int {
  428. return m.Size()
  429. }
  430. func (m *AnchorTaskAddRewardResp) XXX_DiscardUnknown() {
  431. xxx_messageInfo_AnchorTaskAddRewardResp.DiscardUnknown(m)
  432. }
  433. var xxx_messageInfo_AnchorTaskAddRewardResp proto.InternalMessageInfo
  434. func (m *AnchorTaskAddRewardResp) GetResult() int64 {
  435. if m != nil {
  436. return m.Result
  437. }
  438. return 0
  439. }
  440. type AnchorTaskMyRewardReq struct {
  441. // 页数
  442. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page"`
  443. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  444. XXX_unrecognized []byte `json:"-"`
  445. XXX_sizecache int32 `json:"-"`
  446. }
  447. func (m *AnchorTaskMyRewardReq) Reset() { *m = AnchorTaskMyRewardReq{} }
  448. func (m *AnchorTaskMyRewardReq) String() string { return proto.CompactTextString(m) }
  449. func (*AnchorTaskMyRewardReq) ProtoMessage() {}
  450. func (*AnchorTaskMyRewardReq) Descriptor() ([]byte, []int) {
  451. return fileDescriptor_service_9f54252a761dae68, []int{6}
  452. }
  453. func (m *AnchorTaskMyRewardReq) XXX_Unmarshal(b []byte) error {
  454. return m.Unmarshal(b)
  455. }
  456. func (m *AnchorTaskMyRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  457. if deterministic {
  458. return xxx_messageInfo_AnchorTaskMyRewardReq.Marshal(b, m, deterministic)
  459. } else {
  460. b = b[:cap(b)]
  461. n, err := m.MarshalTo(b)
  462. if err != nil {
  463. return nil, err
  464. }
  465. return b[:n], nil
  466. }
  467. }
  468. func (dst *AnchorTaskMyRewardReq) XXX_Merge(src proto.Message) {
  469. xxx_messageInfo_AnchorTaskMyRewardReq.Merge(dst, src)
  470. }
  471. func (m *AnchorTaskMyRewardReq) XXX_Size() int {
  472. return m.Size()
  473. }
  474. func (m *AnchorTaskMyRewardReq) XXX_DiscardUnknown() {
  475. xxx_messageInfo_AnchorTaskMyRewardReq.DiscardUnknown(m)
  476. }
  477. var xxx_messageInfo_AnchorTaskMyRewardReq proto.InternalMessageInfo
  478. func (m *AnchorTaskMyRewardReq) GetPage() int64 {
  479. if m != nil {
  480. return m.Page
  481. }
  482. return 0
  483. }
  484. type AnchorTaskMyRewardResp struct {
  485. //
  486. Data []*AnchorTaskMyRewardResp_RewardObj `protobuf:"bytes,1,rep,name=data" json:"data"`
  487. //
  488. Page *AnchorTaskMyRewardResp_Page `protobuf:"bytes,2,opt,name=page" json:"page"`
  489. // 过期奖励数量
  490. ExpireCount int64 `protobuf:"varint,3,opt,name=expire_count,json=expireCount,proto3" json:"expire_count"`
  491. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  492. XXX_unrecognized []byte `json:"-"`
  493. XXX_sizecache int32 `json:"-"`
  494. }
  495. func (m *AnchorTaskMyRewardResp) Reset() { *m = AnchorTaskMyRewardResp{} }
  496. func (m *AnchorTaskMyRewardResp) String() string { return proto.CompactTextString(m) }
  497. func (*AnchorTaskMyRewardResp) ProtoMessage() {}
  498. func (*AnchorTaskMyRewardResp) Descriptor() ([]byte, []int) {
  499. return fileDescriptor_service_9f54252a761dae68, []int{7}
  500. }
  501. func (m *AnchorTaskMyRewardResp) XXX_Unmarshal(b []byte) error {
  502. return m.Unmarshal(b)
  503. }
  504. func (m *AnchorTaskMyRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  505. if deterministic {
  506. return xxx_messageInfo_AnchorTaskMyRewardResp.Marshal(b, m, deterministic)
  507. } else {
  508. b = b[:cap(b)]
  509. n, err := m.MarshalTo(b)
  510. if err != nil {
  511. return nil, err
  512. }
  513. return b[:n], nil
  514. }
  515. }
  516. func (dst *AnchorTaskMyRewardResp) XXX_Merge(src proto.Message) {
  517. xxx_messageInfo_AnchorTaskMyRewardResp.Merge(dst, src)
  518. }
  519. func (m *AnchorTaskMyRewardResp) XXX_Size() int {
  520. return m.Size()
  521. }
  522. func (m *AnchorTaskMyRewardResp) XXX_DiscardUnknown() {
  523. xxx_messageInfo_AnchorTaskMyRewardResp.DiscardUnknown(m)
  524. }
  525. var xxx_messageInfo_AnchorTaskMyRewardResp proto.InternalMessageInfo
  526. func (m *AnchorTaskMyRewardResp) GetData() []*AnchorTaskMyRewardResp_RewardObj {
  527. if m != nil {
  528. return m.Data
  529. }
  530. return nil
  531. }
  532. func (m *AnchorTaskMyRewardResp) GetPage() *AnchorTaskMyRewardResp_Page {
  533. if m != nil {
  534. return m.Page
  535. }
  536. return nil
  537. }
  538. func (m *AnchorTaskMyRewardResp) GetExpireCount() int64 {
  539. if m != nil {
  540. return m.ExpireCount
  541. }
  542. return 0
  543. }
  544. type AnchorTaskMyRewardResp_RewardObj struct {
  545. // id
  546. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  547. // 奖励类型 1:ss推荐卡 2:s推荐卡、任意门
  548. RewardType int64 `protobuf:"varint,2,opt,name=reward_type,json=rewardType,proto3" json:"reward_type"`
  549. // 1:未使用,3:已使用,5:已过期
  550. Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status"`
  551. // 奖励id
  552. RewardId int64 `protobuf:"varint,4,opt,name=reward_id,json=rewardId,proto3" json:"reward_id"`
  553. // 奖励名称
  554. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name"`
  555. // 奖励图标
  556. Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon"`
  557. // 获得时间datetime
  558. AchieveTime string `protobuf:"bytes,7,opt,name=achieve_time,json=achieveTime,proto3" json:"achieve_time"`
  559. // 过期时间datetime
  560. ExpireTime string `protobuf:"bytes,8,opt,name=expire_time,json=expireTime,proto3" json:"expire_time"`
  561. // 来源,1:主播任务,2:小时榜
  562. Source int64 `protobuf:"varint,9,opt,name=source,proto3" json:"source"`
  563. // 奖励简介
  564. RewardIntro string `protobuf:"bytes,10,opt,name=reward_intro,json=rewardIntro,proto3" json:"reward_intro"`
  565. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  566. XXX_unrecognized []byte `json:"-"`
  567. XXX_sizecache int32 `json:"-"`
  568. }
  569. func (m *AnchorTaskMyRewardResp_RewardObj) Reset() { *m = AnchorTaskMyRewardResp_RewardObj{} }
  570. func (m *AnchorTaskMyRewardResp_RewardObj) String() string { return proto.CompactTextString(m) }
  571. func (*AnchorTaskMyRewardResp_RewardObj) ProtoMessage() {}
  572. func (*AnchorTaskMyRewardResp_RewardObj) Descriptor() ([]byte, []int) {
  573. return fileDescriptor_service_9f54252a761dae68, []int{7, 0}
  574. }
  575. func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Unmarshal(b []byte) error {
  576. return m.Unmarshal(b)
  577. }
  578. func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  579. if deterministic {
  580. return xxx_messageInfo_AnchorTaskMyRewardResp_RewardObj.Marshal(b, m, deterministic)
  581. } else {
  582. b = b[:cap(b)]
  583. n, err := m.MarshalTo(b)
  584. if err != nil {
  585. return nil, err
  586. }
  587. return b[:n], nil
  588. }
  589. }
  590. func (dst *AnchorTaskMyRewardResp_RewardObj) XXX_Merge(src proto.Message) {
  591. xxx_messageInfo_AnchorTaskMyRewardResp_RewardObj.Merge(dst, src)
  592. }
  593. func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Size() int {
  594. return m.Size()
  595. }
  596. func (m *AnchorTaskMyRewardResp_RewardObj) XXX_DiscardUnknown() {
  597. xxx_messageInfo_AnchorTaskMyRewardResp_RewardObj.DiscardUnknown(m)
  598. }
  599. var xxx_messageInfo_AnchorTaskMyRewardResp_RewardObj proto.InternalMessageInfo
  600. func (m *AnchorTaskMyRewardResp_RewardObj) GetId() int64 {
  601. if m != nil {
  602. return m.Id
  603. }
  604. return 0
  605. }
  606. func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardType() int64 {
  607. if m != nil {
  608. return m.RewardType
  609. }
  610. return 0
  611. }
  612. func (m *AnchorTaskMyRewardResp_RewardObj) GetStatus() int64 {
  613. if m != nil {
  614. return m.Status
  615. }
  616. return 0
  617. }
  618. func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardId() int64 {
  619. if m != nil {
  620. return m.RewardId
  621. }
  622. return 0
  623. }
  624. func (m *AnchorTaskMyRewardResp_RewardObj) GetName() string {
  625. if m != nil {
  626. return m.Name
  627. }
  628. return ""
  629. }
  630. func (m *AnchorTaskMyRewardResp_RewardObj) GetIcon() string {
  631. if m != nil {
  632. return m.Icon
  633. }
  634. return ""
  635. }
  636. func (m *AnchorTaskMyRewardResp_RewardObj) GetAchieveTime() string {
  637. if m != nil {
  638. return m.AchieveTime
  639. }
  640. return ""
  641. }
  642. func (m *AnchorTaskMyRewardResp_RewardObj) GetExpireTime() string {
  643. if m != nil {
  644. return m.ExpireTime
  645. }
  646. return ""
  647. }
  648. func (m *AnchorTaskMyRewardResp_RewardObj) GetSource() int64 {
  649. if m != nil {
  650. return m.Source
  651. }
  652. return 0
  653. }
  654. func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardIntro() string {
  655. if m != nil {
  656. return m.RewardIntro
  657. }
  658. return ""
  659. }
  660. type AnchorTaskMyRewardResp_Page struct {
  661. // 当前页码
  662. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  663. // 每页大小
  664. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  665. // 总页数
  666. TotalPage int64 `protobuf:"varint,3,opt,name=total_page,json=totalPage,proto3" json:"total_page"`
  667. // 总记录数
  668. TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count"`
  669. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  670. XXX_unrecognized []byte `json:"-"`
  671. XXX_sizecache int32 `json:"-"`
  672. }
  673. func (m *AnchorTaskMyRewardResp_Page) Reset() { *m = AnchorTaskMyRewardResp_Page{} }
  674. func (m *AnchorTaskMyRewardResp_Page) String() string { return proto.CompactTextString(m) }
  675. func (*AnchorTaskMyRewardResp_Page) ProtoMessage() {}
  676. func (*AnchorTaskMyRewardResp_Page) Descriptor() ([]byte, []int) {
  677. return fileDescriptor_service_9f54252a761dae68, []int{7, 1}
  678. }
  679. func (m *AnchorTaskMyRewardResp_Page) XXX_Unmarshal(b []byte) error {
  680. return m.Unmarshal(b)
  681. }
  682. func (m *AnchorTaskMyRewardResp_Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  683. if deterministic {
  684. return xxx_messageInfo_AnchorTaskMyRewardResp_Page.Marshal(b, m, deterministic)
  685. } else {
  686. b = b[:cap(b)]
  687. n, err := m.MarshalTo(b)
  688. if err != nil {
  689. return nil, err
  690. }
  691. return b[:n], nil
  692. }
  693. }
  694. func (dst *AnchorTaskMyRewardResp_Page) XXX_Merge(src proto.Message) {
  695. xxx_messageInfo_AnchorTaskMyRewardResp_Page.Merge(dst, src)
  696. }
  697. func (m *AnchorTaskMyRewardResp_Page) XXX_Size() int {
  698. return m.Size()
  699. }
  700. func (m *AnchorTaskMyRewardResp_Page) XXX_DiscardUnknown() {
  701. xxx_messageInfo_AnchorTaskMyRewardResp_Page.DiscardUnknown(m)
  702. }
  703. var xxx_messageInfo_AnchorTaskMyRewardResp_Page proto.InternalMessageInfo
  704. func (m *AnchorTaskMyRewardResp_Page) GetPage() int64 {
  705. if m != nil {
  706. return m.Page
  707. }
  708. return 0
  709. }
  710. func (m *AnchorTaskMyRewardResp_Page) GetPageSize() int64 {
  711. if m != nil {
  712. return m.PageSize
  713. }
  714. return 0
  715. }
  716. func (m *AnchorTaskMyRewardResp_Page) GetTotalPage() int64 {
  717. if m != nil {
  718. return m.TotalPage
  719. }
  720. return 0
  721. }
  722. func (m *AnchorTaskMyRewardResp_Page) GetTotalCount() int64 {
  723. if m != nil {
  724. return m.TotalCount
  725. }
  726. return 0
  727. }
  728. type AnchorTaskUseRecordReq struct {
  729. // 页数
  730. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page"`
  731. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  732. XXX_unrecognized []byte `json:"-"`
  733. XXX_sizecache int32 `json:"-"`
  734. }
  735. func (m *AnchorTaskUseRecordReq) Reset() { *m = AnchorTaskUseRecordReq{} }
  736. func (m *AnchorTaskUseRecordReq) String() string { return proto.CompactTextString(m) }
  737. func (*AnchorTaskUseRecordReq) ProtoMessage() {}
  738. func (*AnchorTaskUseRecordReq) Descriptor() ([]byte, []int) {
  739. return fileDescriptor_service_9f54252a761dae68, []int{8}
  740. }
  741. func (m *AnchorTaskUseRecordReq) XXX_Unmarshal(b []byte) error {
  742. return m.Unmarshal(b)
  743. }
  744. func (m *AnchorTaskUseRecordReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  745. if deterministic {
  746. return xxx_messageInfo_AnchorTaskUseRecordReq.Marshal(b, m, deterministic)
  747. } else {
  748. b = b[:cap(b)]
  749. n, err := m.MarshalTo(b)
  750. if err != nil {
  751. return nil, err
  752. }
  753. return b[:n], nil
  754. }
  755. }
  756. func (dst *AnchorTaskUseRecordReq) XXX_Merge(src proto.Message) {
  757. xxx_messageInfo_AnchorTaskUseRecordReq.Merge(dst, src)
  758. }
  759. func (m *AnchorTaskUseRecordReq) XXX_Size() int {
  760. return m.Size()
  761. }
  762. func (m *AnchorTaskUseRecordReq) XXX_DiscardUnknown() {
  763. xxx_messageInfo_AnchorTaskUseRecordReq.DiscardUnknown(m)
  764. }
  765. var xxx_messageInfo_AnchorTaskUseRecordReq proto.InternalMessageInfo
  766. func (m *AnchorTaskUseRecordReq) GetPage() int64 {
  767. if m != nil {
  768. return m.Page
  769. }
  770. return 0
  771. }
  772. type AnchorTaskUseRecordResp struct {
  773. //
  774. Data []*AnchorTaskUseRecordResp_RewardObj `protobuf:"bytes,1,rep,name=data" json:"data"`
  775. //
  776. Page *AnchorTaskUseRecordResp_Page `protobuf:"bytes,2,opt,name=page" json:"page"`
  777. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  778. XXX_unrecognized []byte `json:"-"`
  779. XXX_sizecache int32 `json:"-"`
  780. }
  781. func (m *AnchorTaskUseRecordResp) Reset() { *m = AnchorTaskUseRecordResp{} }
  782. func (m *AnchorTaskUseRecordResp) String() string { return proto.CompactTextString(m) }
  783. func (*AnchorTaskUseRecordResp) ProtoMessage() {}
  784. func (*AnchorTaskUseRecordResp) Descriptor() ([]byte, []int) {
  785. return fileDescriptor_service_9f54252a761dae68, []int{9}
  786. }
  787. func (m *AnchorTaskUseRecordResp) XXX_Unmarshal(b []byte) error {
  788. return m.Unmarshal(b)
  789. }
  790. func (m *AnchorTaskUseRecordResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  791. if deterministic {
  792. return xxx_messageInfo_AnchorTaskUseRecordResp.Marshal(b, m, deterministic)
  793. } else {
  794. b = b[:cap(b)]
  795. n, err := m.MarshalTo(b)
  796. if err != nil {
  797. return nil, err
  798. }
  799. return b[:n], nil
  800. }
  801. }
  802. func (dst *AnchorTaskUseRecordResp) XXX_Merge(src proto.Message) {
  803. xxx_messageInfo_AnchorTaskUseRecordResp.Merge(dst, src)
  804. }
  805. func (m *AnchorTaskUseRecordResp) XXX_Size() int {
  806. return m.Size()
  807. }
  808. func (m *AnchorTaskUseRecordResp) XXX_DiscardUnknown() {
  809. xxx_messageInfo_AnchorTaskUseRecordResp.DiscardUnknown(m)
  810. }
  811. var xxx_messageInfo_AnchorTaskUseRecordResp proto.InternalMessageInfo
  812. func (m *AnchorTaskUseRecordResp) GetData() []*AnchorTaskUseRecordResp_RewardObj {
  813. if m != nil {
  814. return m.Data
  815. }
  816. return nil
  817. }
  818. func (m *AnchorTaskUseRecordResp) GetPage() *AnchorTaskUseRecordResp_Page {
  819. if m != nil {
  820. return m.Page
  821. }
  822. return nil
  823. }
  824. type AnchorTaskUseRecordResp_RewardObj struct {
  825. // id
  826. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  827. // 奖励id
  828. RewardId int64 `protobuf:"varint,2,opt,name=reward_id,json=rewardId,proto3" json:"reward_id"`
  829. // 1:未使用,3:已使用,5:已过期
  830. Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status"`
  831. // 奖励名称
  832. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
  833. // 奖励图标
  834. Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon"`
  835. // 获得时间datetime
  836. AchieveTime string `protobuf:"bytes,6,opt,name=achieve_time,json=achieveTime,proto3" json:"achieve_time"`
  837. // 过期时间datetime
  838. ExpireTime string `protobuf:"bytes,7,opt,name=expire_time,json=expireTime,proto3" json:"expire_time"`
  839. // 来源,1:主播任务,2:小时榜
  840. Source int64 `protobuf:"varint,8,opt,name=source,proto3" json:"source"`
  841. // 奖励简介
  842. RewardIntro string `protobuf:"bytes,9,opt,name=reward_intro,json=rewardIntro,proto3" json:"reward_intro"`
  843. // 获得时间datetime
  844. UseTime string `protobuf:"bytes,10,opt,name=use_time,json=useTime,proto3" json:"use_time"`
  845. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  846. XXX_unrecognized []byte `json:"-"`
  847. XXX_sizecache int32 `json:"-"`
  848. }
  849. func (m *AnchorTaskUseRecordResp_RewardObj) Reset() { *m = AnchorTaskUseRecordResp_RewardObj{} }
  850. func (m *AnchorTaskUseRecordResp_RewardObj) String() string { return proto.CompactTextString(m) }
  851. func (*AnchorTaskUseRecordResp_RewardObj) ProtoMessage() {}
  852. func (*AnchorTaskUseRecordResp_RewardObj) Descriptor() ([]byte, []int) {
  853. return fileDescriptor_service_9f54252a761dae68, []int{9, 0}
  854. }
  855. func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Unmarshal(b []byte) error {
  856. return m.Unmarshal(b)
  857. }
  858. func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  859. if deterministic {
  860. return xxx_messageInfo_AnchorTaskUseRecordResp_RewardObj.Marshal(b, m, deterministic)
  861. } else {
  862. b = b[:cap(b)]
  863. n, err := m.MarshalTo(b)
  864. if err != nil {
  865. return nil, err
  866. }
  867. return b[:n], nil
  868. }
  869. }
  870. func (dst *AnchorTaskUseRecordResp_RewardObj) XXX_Merge(src proto.Message) {
  871. xxx_messageInfo_AnchorTaskUseRecordResp_RewardObj.Merge(dst, src)
  872. }
  873. func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Size() int {
  874. return m.Size()
  875. }
  876. func (m *AnchorTaskUseRecordResp_RewardObj) XXX_DiscardUnknown() {
  877. xxx_messageInfo_AnchorTaskUseRecordResp_RewardObj.DiscardUnknown(m)
  878. }
  879. var xxx_messageInfo_AnchorTaskUseRecordResp_RewardObj proto.InternalMessageInfo
  880. func (m *AnchorTaskUseRecordResp_RewardObj) GetId() int64 {
  881. if m != nil {
  882. return m.Id
  883. }
  884. return 0
  885. }
  886. func (m *AnchorTaskUseRecordResp_RewardObj) GetRewardId() int64 {
  887. if m != nil {
  888. return m.RewardId
  889. }
  890. return 0
  891. }
  892. func (m *AnchorTaskUseRecordResp_RewardObj) GetStatus() int64 {
  893. if m != nil {
  894. return m.Status
  895. }
  896. return 0
  897. }
  898. func (m *AnchorTaskUseRecordResp_RewardObj) GetName() string {
  899. if m != nil {
  900. return m.Name
  901. }
  902. return ""
  903. }
  904. func (m *AnchorTaskUseRecordResp_RewardObj) GetIcon() string {
  905. if m != nil {
  906. return m.Icon
  907. }
  908. return ""
  909. }
  910. func (m *AnchorTaskUseRecordResp_RewardObj) GetAchieveTime() string {
  911. if m != nil {
  912. return m.AchieveTime
  913. }
  914. return ""
  915. }
  916. func (m *AnchorTaskUseRecordResp_RewardObj) GetExpireTime() string {
  917. if m != nil {
  918. return m.ExpireTime
  919. }
  920. return ""
  921. }
  922. func (m *AnchorTaskUseRecordResp_RewardObj) GetSource() int64 {
  923. if m != nil {
  924. return m.Source
  925. }
  926. return 0
  927. }
  928. func (m *AnchorTaskUseRecordResp_RewardObj) GetRewardIntro() string {
  929. if m != nil {
  930. return m.RewardIntro
  931. }
  932. return ""
  933. }
  934. func (m *AnchorTaskUseRecordResp_RewardObj) GetUseTime() string {
  935. if m != nil {
  936. return m.UseTime
  937. }
  938. return ""
  939. }
  940. type AnchorTaskUseRecordResp_Page struct {
  941. // 当前页码
  942. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  943. // 每页大小
  944. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  945. // 总页数
  946. TotalPage int64 `protobuf:"varint,3,opt,name=total_page,json=totalPage,proto3" json:"total_page"`
  947. // 总记录数
  948. TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count"`
  949. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  950. XXX_unrecognized []byte `json:"-"`
  951. XXX_sizecache int32 `json:"-"`
  952. }
  953. func (m *AnchorTaskUseRecordResp_Page) Reset() { *m = AnchorTaskUseRecordResp_Page{} }
  954. func (m *AnchorTaskUseRecordResp_Page) String() string { return proto.CompactTextString(m) }
  955. func (*AnchorTaskUseRecordResp_Page) ProtoMessage() {}
  956. func (*AnchorTaskUseRecordResp_Page) Descriptor() ([]byte, []int) {
  957. return fileDescriptor_service_9f54252a761dae68, []int{9, 1}
  958. }
  959. func (m *AnchorTaskUseRecordResp_Page) XXX_Unmarshal(b []byte) error {
  960. return m.Unmarshal(b)
  961. }
  962. func (m *AnchorTaskUseRecordResp_Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  963. if deterministic {
  964. return xxx_messageInfo_AnchorTaskUseRecordResp_Page.Marshal(b, m, deterministic)
  965. } else {
  966. b = b[:cap(b)]
  967. n, err := m.MarshalTo(b)
  968. if err != nil {
  969. return nil, err
  970. }
  971. return b[:n], nil
  972. }
  973. }
  974. func (dst *AnchorTaskUseRecordResp_Page) XXX_Merge(src proto.Message) {
  975. xxx_messageInfo_AnchorTaskUseRecordResp_Page.Merge(dst, src)
  976. }
  977. func (m *AnchorTaskUseRecordResp_Page) XXX_Size() int {
  978. return m.Size()
  979. }
  980. func (m *AnchorTaskUseRecordResp_Page) XXX_DiscardUnknown() {
  981. xxx_messageInfo_AnchorTaskUseRecordResp_Page.DiscardUnknown(m)
  982. }
  983. var xxx_messageInfo_AnchorTaskUseRecordResp_Page proto.InternalMessageInfo
  984. func (m *AnchorTaskUseRecordResp_Page) GetPage() int64 {
  985. if m != nil {
  986. return m.Page
  987. }
  988. return 0
  989. }
  990. func (m *AnchorTaskUseRecordResp_Page) GetPageSize() int64 {
  991. if m != nil {
  992. return m.PageSize
  993. }
  994. return 0
  995. }
  996. func (m *AnchorTaskUseRecordResp_Page) GetTotalPage() int64 {
  997. if m != nil {
  998. return m.TotalPage
  999. }
  1000. return 0
  1001. }
  1002. func (m *AnchorTaskUseRecordResp_Page) GetTotalCount() int64 {
  1003. if m != nil {
  1004. return m.TotalCount
  1005. }
  1006. return 0
  1007. }
  1008. type AnchorTaskUseRewardReq struct {
  1009. // 奖励列表id
  1010. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" validate:"required"`
  1011. // 使用平台
  1012. Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty" form:"platform"`
  1013. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1014. XXX_unrecognized []byte `json:"-"`
  1015. XXX_sizecache int32 `json:"-"`
  1016. }
  1017. func (m *AnchorTaskUseRewardReq) Reset() { *m = AnchorTaskUseRewardReq{} }
  1018. func (m *AnchorTaskUseRewardReq) String() string { return proto.CompactTextString(m) }
  1019. func (*AnchorTaskUseRewardReq) ProtoMessage() {}
  1020. func (*AnchorTaskUseRewardReq) Descriptor() ([]byte, []int) {
  1021. return fileDescriptor_service_9f54252a761dae68, []int{10}
  1022. }
  1023. func (m *AnchorTaskUseRewardReq) XXX_Unmarshal(b []byte) error {
  1024. return m.Unmarshal(b)
  1025. }
  1026. func (m *AnchorTaskUseRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1027. if deterministic {
  1028. return xxx_messageInfo_AnchorTaskUseRewardReq.Marshal(b, m, deterministic)
  1029. } else {
  1030. b = b[:cap(b)]
  1031. n, err := m.MarshalTo(b)
  1032. if err != nil {
  1033. return nil, err
  1034. }
  1035. return b[:n], nil
  1036. }
  1037. }
  1038. func (dst *AnchorTaskUseRewardReq) XXX_Merge(src proto.Message) {
  1039. xxx_messageInfo_AnchorTaskUseRewardReq.Merge(dst, src)
  1040. }
  1041. func (m *AnchorTaskUseRewardReq) XXX_Size() int {
  1042. return m.Size()
  1043. }
  1044. func (m *AnchorTaskUseRewardReq) XXX_DiscardUnknown() {
  1045. xxx_messageInfo_AnchorTaskUseRewardReq.DiscardUnknown(m)
  1046. }
  1047. var xxx_messageInfo_AnchorTaskUseRewardReq proto.InternalMessageInfo
  1048. func (m *AnchorTaskUseRewardReq) GetId() int64 {
  1049. if m != nil {
  1050. return m.Id
  1051. }
  1052. return 0
  1053. }
  1054. func (m *AnchorTaskUseRewardReq) GetPlatform() string {
  1055. if m != nil {
  1056. return m.Platform
  1057. }
  1058. return ""
  1059. }
  1060. type AnchorTaskUseRewardResp struct {
  1061. Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result"`
  1062. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1063. XXX_unrecognized []byte `json:"-"`
  1064. XXX_sizecache int32 `json:"-"`
  1065. }
  1066. func (m *AnchorTaskUseRewardResp) Reset() { *m = AnchorTaskUseRewardResp{} }
  1067. func (m *AnchorTaskUseRewardResp) String() string { return proto.CompactTextString(m) }
  1068. func (*AnchorTaskUseRewardResp) ProtoMessage() {}
  1069. func (*AnchorTaskUseRewardResp) Descriptor() ([]byte, []int) {
  1070. return fileDescriptor_service_9f54252a761dae68, []int{11}
  1071. }
  1072. func (m *AnchorTaskUseRewardResp) XXX_Unmarshal(b []byte) error {
  1073. return m.Unmarshal(b)
  1074. }
  1075. func (m *AnchorTaskUseRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1076. if deterministic {
  1077. return xxx_messageInfo_AnchorTaskUseRewardResp.Marshal(b, m, deterministic)
  1078. } else {
  1079. b = b[:cap(b)]
  1080. n, err := m.MarshalTo(b)
  1081. if err != nil {
  1082. return nil, err
  1083. }
  1084. return b[:n], nil
  1085. }
  1086. }
  1087. func (dst *AnchorTaskUseRewardResp) XXX_Merge(src proto.Message) {
  1088. xxx_messageInfo_AnchorTaskUseRewardResp.Merge(dst, src)
  1089. }
  1090. func (m *AnchorTaskUseRewardResp) XXX_Size() int {
  1091. return m.Size()
  1092. }
  1093. func (m *AnchorTaskUseRewardResp) XXX_DiscardUnknown() {
  1094. xxx_messageInfo_AnchorTaskUseRewardResp.DiscardUnknown(m)
  1095. }
  1096. var xxx_messageInfo_AnchorTaskUseRewardResp proto.InternalMessageInfo
  1097. func (m *AnchorTaskUseRewardResp) GetResult() int64 {
  1098. if m != nil {
  1099. return m.Result
  1100. }
  1101. return 0
  1102. }
  1103. type AnchorTaskIsViewedReq struct {
  1104. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1105. XXX_unrecognized []byte `json:"-"`
  1106. XXX_sizecache int32 `json:"-"`
  1107. }
  1108. func (m *AnchorTaskIsViewedReq) Reset() { *m = AnchorTaskIsViewedReq{} }
  1109. func (m *AnchorTaskIsViewedReq) String() string { return proto.CompactTextString(m) }
  1110. func (*AnchorTaskIsViewedReq) ProtoMessage() {}
  1111. func (*AnchorTaskIsViewedReq) Descriptor() ([]byte, []int) {
  1112. return fileDescriptor_service_9f54252a761dae68, []int{12}
  1113. }
  1114. func (m *AnchorTaskIsViewedReq) XXX_Unmarshal(b []byte) error {
  1115. return m.Unmarshal(b)
  1116. }
  1117. func (m *AnchorTaskIsViewedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1118. if deterministic {
  1119. return xxx_messageInfo_AnchorTaskIsViewedReq.Marshal(b, m, deterministic)
  1120. } else {
  1121. b = b[:cap(b)]
  1122. n, err := m.MarshalTo(b)
  1123. if err != nil {
  1124. return nil, err
  1125. }
  1126. return b[:n], nil
  1127. }
  1128. }
  1129. func (dst *AnchorTaskIsViewedReq) XXX_Merge(src proto.Message) {
  1130. xxx_messageInfo_AnchorTaskIsViewedReq.Merge(dst, src)
  1131. }
  1132. func (m *AnchorTaskIsViewedReq) XXX_Size() int {
  1133. return m.Size()
  1134. }
  1135. func (m *AnchorTaskIsViewedReq) XXX_DiscardUnknown() {
  1136. xxx_messageInfo_AnchorTaskIsViewedReq.DiscardUnknown(m)
  1137. }
  1138. var xxx_messageInfo_AnchorTaskIsViewedReq proto.InternalMessageInfo
  1139. type AnchorTaskIsViewedResp struct {
  1140. // 是否展示任务红点
  1141. TaskShouldNotice int64 `protobuf:"varint,1,opt,name=task_should_notice,json=taskShouldNotice,proto3" json:"task_should_notice"`
  1142. // 是否展示奖励入口
  1143. ShowRewardEntry int64 `protobuf:"varint,5,opt,name=show_reward_entry,json=showRewardEntry,proto3" json:"show_reward_entry"`
  1144. // 是否展示奖励红点
  1145. RewardShouldNotice int64 `protobuf:"varint,2,opt,name=reward_should_notice,json=rewardShouldNotice,proto3" json:"reward_should_notice"`
  1146. // 任务状态, 0:没有,1:领取, 5:完成
  1147. TaskStatus int64 `protobuf:"varint,3,opt,name=task_status,json=taskStatus,proto3" json:"task_status"`
  1148. // 是否在首页黑名单中
  1149. IsBlacked int64 `protobuf:"varint,4,opt,name=is_blacked,json=isBlacked,proto3" json:"is_blacked"`
  1150. // 点击跳转h5链接
  1151. Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url"`
  1152. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1153. XXX_unrecognized []byte `json:"-"`
  1154. XXX_sizecache int32 `json:"-"`
  1155. }
  1156. func (m *AnchorTaskIsViewedResp) Reset() { *m = AnchorTaskIsViewedResp{} }
  1157. func (m *AnchorTaskIsViewedResp) String() string { return proto.CompactTextString(m) }
  1158. func (*AnchorTaskIsViewedResp) ProtoMessage() {}
  1159. func (*AnchorTaskIsViewedResp) Descriptor() ([]byte, []int) {
  1160. return fileDescriptor_service_9f54252a761dae68, []int{13}
  1161. }
  1162. func (m *AnchorTaskIsViewedResp) XXX_Unmarshal(b []byte) error {
  1163. return m.Unmarshal(b)
  1164. }
  1165. func (m *AnchorTaskIsViewedResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1166. if deterministic {
  1167. return xxx_messageInfo_AnchorTaskIsViewedResp.Marshal(b, m, deterministic)
  1168. } else {
  1169. b = b[:cap(b)]
  1170. n, err := m.MarshalTo(b)
  1171. if err != nil {
  1172. return nil, err
  1173. }
  1174. return b[:n], nil
  1175. }
  1176. }
  1177. func (dst *AnchorTaskIsViewedResp) XXX_Merge(src proto.Message) {
  1178. xxx_messageInfo_AnchorTaskIsViewedResp.Merge(dst, src)
  1179. }
  1180. func (m *AnchorTaskIsViewedResp) XXX_Size() int {
  1181. return m.Size()
  1182. }
  1183. func (m *AnchorTaskIsViewedResp) XXX_DiscardUnknown() {
  1184. xxx_messageInfo_AnchorTaskIsViewedResp.DiscardUnknown(m)
  1185. }
  1186. var xxx_messageInfo_AnchorTaskIsViewedResp proto.InternalMessageInfo
  1187. func (m *AnchorTaskIsViewedResp) GetTaskShouldNotice() int64 {
  1188. if m != nil {
  1189. return m.TaskShouldNotice
  1190. }
  1191. return 0
  1192. }
  1193. func (m *AnchorTaskIsViewedResp) GetShowRewardEntry() int64 {
  1194. if m != nil {
  1195. return m.ShowRewardEntry
  1196. }
  1197. return 0
  1198. }
  1199. func (m *AnchorTaskIsViewedResp) GetRewardShouldNotice() int64 {
  1200. if m != nil {
  1201. return m.RewardShouldNotice
  1202. }
  1203. return 0
  1204. }
  1205. func (m *AnchorTaskIsViewedResp) GetTaskStatus() int64 {
  1206. if m != nil {
  1207. return m.TaskStatus
  1208. }
  1209. return 0
  1210. }
  1211. func (m *AnchorTaskIsViewedResp) GetIsBlacked() int64 {
  1212. if m != nil {
  1213. return m.IsBlacked
  1214. }
  1215. return 0
  1216. }
  1217. func (m *AnchorTaskIsViewedResp) GetUrl() string {
  1218. if m != nil {
  1219. return m.Url
  1220. }
  1221. return ""
  1222. }
  1223. type CapsuleGetDetailReq struct {
  1224. // 来源 h5 web room
  1225. From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty" form:"from"`
  1226. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1227. XXX_unrecognized []byte `json:"-"`
  1228. XXX_sizecache int32 `json:"-"`
  1229. }
  1230. func (m *CapsuleGetDetailReq) Reset() { *m = CapsuleGetDetailReq{} }
  1231. func (m *CapsuleGetDetailReq) String() string { return proto.CompactTextString(m) }
  1232. func (*CapsuleGetDetailReq) ProtoMessage() {}
  1233. func (*CapsuleGetDetailReq) Descriptor() ([]byte, []int) {
  1234. return fileDescriptor_service_9f54252a761dae68, []int{14}
  1235. }
  1236. func (m *CapsuleGetDetailReq) XXX_Unmarshal(b []byte) error {
  1237. return m.Unmarshal(b)
  1238. }
  1239. func (m *CapsuleGetDetailReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1240. if deterministic {
  1241. return xxx_messageInfo_CapsuleGetDetailReq.Marshal(b, m, deterministic)
  1242. } else {
  1243. b = b[:cap(b)]
  1244. n, err := m.MarshalTo(b)
  1245. if err != nil {
  1246. return nil, err
  1247. }
  1248. return b[:n], nil
  1249. }
  1250. }
  1251. func (dst *CapsuleGetDetailReq) XXX_Merge(src proto.Message) {
  1252. xxx_messageInfo_CapsuleGetDetailReq.Merge(dst, src)
  1253. }
  1254. func (m *CapsuleGetDetailReq) XXX_Size() int {
  1255. return m.Size()
  1256. }
  1257. func (m *CapsuleGetDetailReq) XXX_DiscardUnknown() {
  1258. xxx_messageInfo_CapsuleGetDetailReq.DiscardUnknown(m)
  1259. }
  1260. var xxx_messageInfo_CapsuleGetDetailReq proto.InternalMessageInfo
  1261. func (m *CapsuleGetDetailReq) GetFrom() string {
  1262. if m != nil {
  1263. return m.From
  1264. }
  1265. return ""
  1266. }
  1267. type Usage struct {
  1268. // 用法描述
  1269. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text"`
  1270. // 跳转链接
  1271. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"`
  1272. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1273. XXX_unrecognized []byte `json:"-"`
  1274. XXX_sizecache int32 `json:"-"`
  1275. }
  1276. func (m *Usage) Reset() { *m = Usage{} }
  1277. func (m *Usage) String() string { return proto.CompactTextString(m) }
  1278. func (*Usage) ProtoMessage() {}
  1279. func (*Usage) Descriptor() ([]byte, []int) {
  1280. return fileDescriptor_service_9f54252a761dae68, []int{15}
  1281. }
  1282. func (m *Usage) XXX_Unmarshal(b []byte) error {
  1283. return m.Unmarshal(b)
  1284. }
  1285. func (m *Usage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1286. if deterministic {
  1287. return xxx_messageInfo_Usage.Marshal(b, m, deterministic)
  1288. } else {
  1289. b = b[:cap(b)]
  1290. n, err := m.MarshalTo(b)
  1291. if err != nil {
  1292. return nil, err
  1293. }
  1294. return b[:n], nil
  1295. }
  1296. }
  1297. func (dst *Usage) XXX_Merge(src proto.Message) {
  1298. xxx_messageInfo_Usage.Merge(dst, src)
  1299. }
  1300. func (m *Usage) XXX_Size() int {
  1301. return m.Size()
  1302. }
  1303. func (m *Usage) XXX_DiscardUnknown() {
  1304. xxx_messageInfo_Usage.DiscardUnknown(m)
  1305. }
  1306. var xxx_messageInfo_Usage proto.InternalMessageInfo
  1307. func (m *Usage) GetText() string {
  1308. if m != nil {
  1309. return m.Text
  1310. }
  1311. return ""
  1312. }
  1313. func (m *Usage) GetUrl() string {
  1314. if m != nil {
  1315. return m.Url
  1316. }
  1317. return ""
  1318. }
  1319. type Progress struct {
  1320. // 当前进度
  1321. Now int64 `protobuf:"varint,1,opt,name=now,proto3" json:"now"`
  1322. // 最大进度
  1323. Max int64 `protobuf:"varint,2,opt,name=max,proto3" json:"max"`
  1324. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1325. XXX_unrecognized []byte `json:"-"`
  1326. XXX_sizecache int32 `json:"-"`
  1327. }
  1328. func (m *Progress) Reset() { *m = Progress{} }
  1329. func (m *Progress) String() string { return proto.CompactTextString(m) }
  1330. func (*Progress) ProtoMessage() {}
  1331. func (*Progress) Descriptor() ([]byte, []int) {
  1332. return fileDescriptor_service_9f54252a761dae68, []int{16}
  1333. }
  1334. func (m *Progress) XXX_Unmarshal(b []byte) error {
  1335. return m.Unmarshal(b)
  1336. }
  1337. func (m *Progress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1338. if deterministic {
  1339. return xxx_messageInfo_Progress.Marshal(b, m, deterministic)
  1340. } else {
  1341. b = b[:cap(b)]
  1342. n, err := m.MarshalTo(b)
  1343. if err != nil {
  1344. return nil, err
  1345. }
  1346. return b[:n], nil
  1347. }
  1348. }
  1349. func (dst *Progress) XXX_Merge(src proto.Message) {
  1350. xxx_messageInfo_Progress.Merge(dst, src)
  1351. }
  1352. func (m *Progress) XXX_Size() int {
  1353. return m.Size()
  1354. }
  1355. func (m *Progress) XXX_DiscardUnknown() {
  1356. xxx_messageInfo_Progress.DiscardUnknown(m)
  1357. }
  1358. var xxx_messageInfo_Progress proto.InternalMessageInfo
  1359. func (m *Progress) GetNow() int64 {
  1360. if m != nil {
  1361. return m.Now
  1362. }
  1363. return 0
  1364. }
  1365. func (m *Progress) GetMax() int64 {
  1366. if m != nil {
  1367. return m.Max
  1368. }
  1369. return 0
  1370. }
  1371. type CapsuleGetDetailResp struct {
  1372. // 普通扭蛋信息
  1373. Normal *CapsuleGetDetailResp_CapsuleInfo `protobuf:"bytes,1,opt,name=normal" json:"normal"`
  1374. // 梦幻扭蛋信息,若梦幻扭蛋status=false,则无coin、change、process、gift、list字段
  1375. Colorful *CapsuleGetDetailResp_CapsuleInfo `protobuf:"bytes,2,opt,name=colorful" json:"colorful"`
  1376. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1377. XXX_unrecognized []byte `json:"-"`
  1378. XXX_sizecache int32 `json:"-"`
  1379. }
  1380. func (m *CapsuleGetDetailResp) Reset() { *m = CapsuleGetDetailResp{} }
  1381. func (m *CapsuleGetDetailResp) String() string { return proto.CompactTextString(m) }
  1382. func (*CapsuleGetDetailResp) ProtoMessage() {}
  1383. func (*CapsuleGetDetailResp) Descriptor() ([]byte, []int) {
  1384. return fileDescriptor_service_9f54252a761dae68, []int{17}
  1385. }
  1386. func (m *CapsuleGetDetailResp) XXX_Unmarshal(b []byte) error {
  1387. return m.Unmarshal(b)
  1388. }
  1389. func (m *CapsuleGetDetailResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1390. if deterministic {
  1391. return xxx_messageInfo_CapsuleGetDetailResp.Marshal(b, m, deterministic)
  1392. } else {
  1393. b = b[:cap(b)]
  1394. n, err := m.MarshalTo(b)
  1395. if err != nil {
  1396. return nil, err
  1397. }
  1398. return b[:n], nil
  1399. }
  1400. }
  1401. func (dst *CapsuleGetDetailResp) XXX_Merge(src proto.Message) {
  1402. xxx_messageInfo_CapsuleGetDetailResp.Merge(dst, src)
  1403. }
  1404. func (m *CapsuleGetDetailResp) XXX_Size() int {
  1405. return m.Size()
  1406. }
  1407. func (m *CapsuleGetDetailResp) XXX_DiscardUnknown() {
  1408. xxx_messageInfo_CapsuleGetDetailResp.DiscardUnknown(m)
  1409. }
  1410. var xxx_messageInfo_CapsuleGetDetailResp proto.InternalMessageInfo
  1411. func (m *CapsuleGetDetailResp) GetNormal() *CapsuleGetDetailResp_CapsuleInfo {
  1412. if m != nil {
  1413. return m.Normal
  1414. }
  1415. return nil
  1416. }
  1417. func (m *CapsuleGetDetailResp) GetColorful() *CapsuleGetDetailResp_CapsuleInfo {
  1418. if m != nil {
  1419. return m.Colorful
  1420. }
  1421. return nil
  1422. }
  1423. type CapsuleGetDetailResp_Gift struct {
  1424. // 礼物名称
  1425. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  1426. // 礼物图片
  1427. Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image"`
  1428. // 用法
  1429. Usage *Usage `protobuf:"bytes,4,opt,name=usage" json:"usage"`
  1430. // web礼物图片
  1431. WebImage string `protobuf:"bytes,5,opt,name=web_image,json=webImage,proto3" json:"web_image"`
  1432. // mobile礼物图片
  1433. MobileImage string `protobuf:"bytes,6,opt,name=mobile_image,json=mobileImage,proto3" json:"mobile_image"`
  1434. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1435. XXX_unrecognized []byte `json:"-"`
  1436. XXX_sizecache int32 `json:"-"`
  1437. }
  1438. func (m *CapsuleGetDetailResp_Gift) Reset() { *m = CapsuleGetDetailResp_Gift{} }
  1439. func (m *CapsuleGetDetailResp_Gift) String() string { return proto.CompactTextString(m) }
  1440. func (*CapsuleGetDetailResp_Gift) ProtoMessage() {}
  1441. func (*CapsuleGetDetailResp_Gift) Descriptor() ([]byte, []int) {
  1442. return fileDescriptor_service_9f54252a761dae68, []int{17, 0}
  1443. }
  1444. func (m *CapsuleGetDetailResp_Gift) XXX_Unmarshal(b []byte) error {
  1445. return m.Unmarshal(b)
  1446. }
  1447. func (m *CapsuleGetDetailResp_Gift) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1448. if deterministic {
  1449. return xxx_messageInfo_CapsuleGetDetailResp_Gift.Marshal(b, m, deterministic)
  1450. } else {
  1451. b = b[:cap(b)]
  1452. n, err := m.MarshalTo(b)
  1453. if err != nil {
  1454. return nil, err
  1455. }
  1456. return b[:n], nil
  1457. }
  1458. }
  1459. func (dst *CapsuleGetDetailResp_Gift) XXX_Merge(src proto.Message) {
  1460. xxx_messageInfo_CapsuleGetDetailResp_Gift.Merge(dst, src)
  1461. }
  1462. func (m *CapsuleGetDetailResp_Gift) XXX_Size() int {
  1463. return m.Size()
  1464. }
  1465. func (m *CapsuleGetDetailResp_Gift) XXX_DiscardUnknown() {
  1466. xxx_messageInfo_CapsuleGetDetailResp_Gift.DiscardUnknown(m)
  1467. }
  1468. var xxx_messageInfo_CapsuleGetDetailResp_Gift proto.InternalMessageInfo
  1469. func (m *CapsuleGetDetailResp_Gift) GetName() string {
  1470. if m != nil {
  1471. return m.Name
  1472. }
  1473. return ""
  1474. }
  1475. func (m *CapsuleGetDetailResp_Gift) GetImage() string {
  1476. if m != nil {
  1477. return m.Image
  1478. }
  1479. return ""
  1480. }
  1481. func (m *CapsuleGetDetailResp_Gift) GetUsage() *Usage {
  1482. if m != nil {
  1483. return m.Usage
  1484. }
  1485. return nil
  1486. }
  1487. func (m *CapsuleGetDetailResp_Gift) GetWebImage() string {
  1488. if m != nil {
  1489. return m.WebImage
  1490. }
  1491. return ""
  1492. }
  1493. func (m *CapsuleGetDetailResp_Gift) GetMobileImage() string {
  1494. if m != nil {
  1495. return m.MobileImage
  1496. }
  1497. return ""
  1498. }
  1499. type CapsuleGetDetailResp_List struct {
  1500. // 数量
  1501. Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num"`
  1502. // 礼物名称
  1503. Gift string `protobuf:"bytes,2,opt,name=gift,proto3" json:"gift"`
  1504. // 时间
  1505. Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date"`
  1506. // 用户名
  1507. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
  1508. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1509. XXX_unrecognized []byte `json:"-"`
  1510. XXX_sizecache int32 `json:"-"`
  1511. }
  1512. func (m *CapsuleGetDetailResp_List) Reset() { *m = CapsuleGetDetailResp_List{} }
  1513. func (m *CapsuleGetDetailResp_List) String() string { return proto.CompactTextString(m) }
  1514. func (*CapsuleGetDetailResp_List) ProtoMessage() {}
  1515. func (*CapsuleGetDetailResp_List) Descriptor() ([]byte, []int) {
  1516. return fileDescriptor_service_9f54252a761dae68, []int{17, 1}
  1517. }
  1518. func (m *CapsuleGetDetailResp_List) XXX_Unmarshal(b []byte) error {
  1519. return m.Unmarshal(b)
  1520. }
  1521. func (m *CapsuleGetDetailResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1522. if deterministic {
  1523. return xxx_messageInfo_CapsuleGetDetailResp_List.Marshal(b, m, deterministic)
  1524. } else {
  1525. b = b[:cap(b)]
  1526. n, err := m.MarshalTo(b)
  1527. if err != nil {
  1528. return nil, err
  1529. }
  1530. return b[:n], nil
  1531. }
  1532. }
  1533. func (dst *CapsuleGetDetailResp_List) XXX_Merge(src proto.Message) {
  1534. xxx_messageInfo_CapsuleGetDetailResp_List.Merge(dst, src)
  1535. }
  1536. func (m *CapsuleGetDetailResp_List) XXX_Size() int {
  1537. return m.Size()
  1538. }
  1539. func (m *CapsuleGetDetailResp_List) XXX_DiscardUnknown() {
  1540. xxx_messageInfo_CapsuleGetDetailResp_List.DiscardUnknown(m)
  1541. }
  1542. var xxx_messageInfo_CapsuleGetDetailResp_List proto.InternalMessageInfo
  1543. func (m *CapsuleGetDetailResp_List) GetNum() int64 {
  1544. if m != nil {
  1545. return m.Num
  1546. }
  1547. return 0
  1548. }
  1549. func (m *CapsuleGetDetailResp_List) GetGift() string {
  1550. if m != nil {
  1551. return m.Gift
  1552. }
  1553. return ""
  1554. }
  1555. func (m *CapsuleGetDetailResp_List) GetDate() string {
  1556. if m != nil {
  1557. return m.Date
  1558. }
  1559. return ""
  1560. }
  1561. func (m *CapsuleGetDetailResp_List) GetName() string {
  1562. if m != nil {
  1563. return m.Name
  1564. }
  1565. return ""
  1566. }
  1567. type CapsuleGetDetailResp_CapsuleInfo struct {
  1568. //
  1569. Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
  1570. // 扭蛋数量
  1571. Coin int64 `protobuf:"varint,2,opt,name=coin,proto3" json:"coin"`
  1572. // 变化值
  1573. Change int64 `protobuf:"varint,3,opt,name=change,proto3" json:"change"`
  1574. // 进度
  1575. Progress *Progress `protobuf:"bytes,4,opt,name=progress" json:"progress"`
  1576. // 规则
  1577. Rule string `protobuf:"bytes,5,opt,name=rule,proto3" json:"rule"`
  1578. // 奖品列表
  1579. Gift []*CapsuleGetDetailResp_Gift `protobuf:"bytes,6,rep,name=gift" json:"gift"`
  1580. // 历史获奖列表
  1581. List []*CapsuleGetDetailResp_List `protobuf:"bytes,7,rep,name=list" json:"list"`
  1582. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1583. XXX_unrecognized []byte `json:"-"`
  1584. XXX_sizecache int32 `json:"-"`
  1585. }
  1586. func (m *CapsuleGetDetailResp_CapsuleInfo) Reset() { *m = CapsuleGetDetailResp_CapsuleInfo{} }
  1587. func (m *CapsuleGetDetailResp_CapsuleInfo) String() string { return proto.CompactTextString(m) }
  1588. func (*CapsuleGetDetailResp_CapsuleInfo) ProtoMessage() {}
  1589. func (*CapsuleGetDetailResp_CapsuleInfo) Descriptor() ([]byte, []int) {
  1590. return fileDescriptor_service_9f54252a761dae68, []int{17, 2}
  1591. }
  1592. func (m *CapsuleGetDetailResp_CapsuleInfo) XXX_Unmarshal(b []byte) error {
  1593. return m.Unmarshal(b)
  1594. }
  1595. func (m *CapsuleGetDetailResp_CapsuleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1596. if deterministic {
  1597. return xxx_messageInfo_CapsuleGetDetailResp_CapsuleInfo.Marshal(b, m, deterministic)
  1598. } else {
  1599. b = b[:cap(b)]
  1600. n, err := m.MarshalTo(b)
  1601. if err != nil {
  1602. return nil, err
  1603. }
  1604. return b[:n], nil
  1605. }
  1606. }
  1607. func (dst *CapsuleGetDetailResp_CapsuleInfo) XXX_Merge(src proto.Message) {
  1608. xxx_messageInfo_CapsuleGetDetailResp_CapsuleInfo.Merge(dst, src)
  1609. }
  1610. func (m *CapsuleGetDetailResp_CapsuleInfo) XXX_Size() int {
  1611. return m.Size()
  1612. }
  1613. func (m *CapsuleGetDetailResp_CapsuleInfo) XXX_DiscardUnknown() {
  1614. xxx_messageInfo_CapsuleGetDetailResp_CapsuleInfo.DiscardUnknown(m)
  1615. }
  1616. var xxx_messageInfo_CapsuleGetDetailResp_CapsuleInfo proto.InternalMessageInfo
  1617. func (m *CapsuleGetDetailResp_CapsuleInfo) GetStatus() bool {
  1618. if m != nil {
  1619. return m.Status
  1620. }
  1621. return false
  1622. }
  1623. func (m *CapsuleGetDetailResp_CapsuleInfo) GetCoin() int64 {
  1624. if m != nil {
  1625. return m.Coin
  1626. }
  1627. return 0
  1628. }
  1629. func (m *CapsuleGetDetailResp_CapsuleInfo) GetChange() int64 {
  1630. if m != nil {
  1631. return m.Change
  1632. }
  1633. return 0
  1634. }
  1635. func (m *CapsuleGetDetailResp_CapsuleInfo) GetProgress() *Progress {
  1636. if m != nil {
  1637. return m.Progress
  1638. }
  1639. return nil
  1640. }
  1641. func (m *CapsuleGetDetailResp_CapsuleInfo) GetRule() string {
  1642. if m != nil {
  1643. return m.Rule
  1644. }
  1645. return ""
  1646. }
  1647. func (m *CapsuleGetDetailResp_CapsuleInfo) GetGift() []*CapsuleGetDetailResp_Gift {
  1648. if m != nil {
  1649. return m.Gift
  1650. }
  1651. return nil
  1652. }
  1653. func (m *CapsuleGetDetailResp_CapsuleInfo) GetList() []*CapsuleGetDetailResp_List {
  1654. if m != nil {
  1655. return m.List
  1656. }
  1657. return nil
  1658. }
  1659. type CapsuleOpenCapsuleReq struct {
  1660. // 扭蛋类型
  1661. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required"`
  1662. // 扭的个数
  1663. Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" form:"count" validate:"required"`
  1664. Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty" form:"platform"`
  1665. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1666. XXX_unrecognized []byte `json:"-"`
  1667. XXX_sizecache int32 `json:"-"`
  1668. }
  1669. func (m *CapsuleOpenCapsuleReq) Reset() { *m = CapsuleOpenCapsuleReq{} }
  1670. func (m *CapsuleOpenCapsuleReq) String() string { return proto.CompactTextString(m) }
  1671. func (*CapsuleOpenCapsuleReq) ProtoMessage() {}
  1672. func (*CapsuleOpenCapsuleReq) Descriptor() ([]byte, []int) {
  1673. return fileDescriptor_service_9f54252a761dae68, []int{18}
  1674. }
  1675. func (m *CapsuleOpenCapsuleReq) XXX_Unmarshal(b []byte) error {
  1676. return m.Unmarshal(b)
  1677. }
  1678. func (m *CapsuleOpenCapsuleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1679. if deterministic {
  1680. return xxx_messageInfo_CapsuleOpenCapsuleReq.Marshal(b, m, deterministic)
  1681. } else {
  1682. b = b[:cap(b)]
  1683. n, err := m.MarshalTo(b)
  1684. if err != nil {
  1685. return nil, err
  1686. }
  1687. return b[:n], nil
  1688. }
  1689. }
  1690. func (dst *CapsuleOpenCapsuleReq) XXX_Merge(src proto.Message) {
  1691. xxx_messageInfo_CapsuleOpenCapsuleReq.Merge(dst, src)
  1692. }
  1693. func (m *CapsuleOpenCapsuleReq) XXX_Size() int {
  1694. return m.Size()
  1695. }
  1696. func (m *CapsuleOpenCapsuleReq) XXX_DiscardUnknown() {
  1697. xxx_messageInfo_CapsuleOpenCapsuleReq.DiscardUnknown(m)
  1698. }
  1699. var xxx_messageInfo_CapsuleOpenCapsuleReq proto.InternalMessageInfo
  1700. func (m *CapsuleOpenCapsuleReq) GetType() string {
  1701. if m != nil {
  1702. return m.Type
  1703. }
  1704. return ""
  1705. }
  1706. func (m *CapsuleOpenCapsuleReq) GetCount() int64 {
  1707. if m != nil {
  1708. return m.Count
  1709. }
  1710. return 0
  1711. }
  1712. func (m *CapsuleOpenCapsuleReq) GetPlatform() string {
  1713. if m != nil {
  1714. return m.Platform
  1715. }
  1716. return ""
  1717. }
  1718. type CapsuleOpenCapsuleResp struct {
  1719. // 扭蛋币扣除状态
  1720. Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
  1721. // 奖品文案
  1722. Text []string `protobuf:"bytes,2,rep,name=text" json:"text"`
  1723. // 是否包含实物奖品
  1724. IsEntity bool `protobuf:"varint,3,opt,name=isEntity,proto3" json:"isEntity"`
  1725. // 用户扭蛋币拥有状态
  1726. Info *CapsuleOpenCapsuleResp_Info `protobuf:"bytes,4,opt,name=info" json:"info"`
  1727. // 头衔? 恒为空字符串, 忽略之
  1728. ShowTitle string `protobuf:"bytes,5,opt,name=showTitle,proto3" json:"showTitle"`
  1729. // 奖品列表
  1730. Awards []*CapsuleOpenCapsuleResp_Award `protobuf:"bytes,6,rep,name=awards" json:"awards"`
  1731. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1732. XXX_unrecognized []byte `json:"-"`
  1733. XXX_sizecache int32 `json:"-"`
  1734. }
  1735. func (m *CapsuleOpenCapsuleResp) Reset() { *m = CapsuleOpenCapsuleResp{} }
  1736. func (m *CapsuleOpenCapsuleResp) String() string { return proto.CompactTextString(m) }
  1737. func (*CapsuleOpenCapsuleResp) ProtoMessage() {}
  1738. func (*CapsuleOpenCapsuleResp) Descriptor() ([]byte, []int) {
  1739. return fileDescriptor_service_9f54252a761dae68, []int{19}
  1740. }
  1741. func (m *CapsuleOpenCapsuleResp) XXX_Unmarshal(b []byte) error {
  1742. return m.Unmarshal(b)
  1743. }
  1744. func (m *CapsuleOpenCapsuleResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1745. if deterministic {
  1746. return xxx_messageInfo_CapsuleOpenCapsuleResp.Marshal(b, m, deterministic)
  1747. } else {
  1748. b = b[:cap(b)]
  1749. n, err := m.MarshalTo(b)
  1750. if err != nil {
  1751. return nil, err
  1752. }
  1753. return b[:n], nil
  1754. }
  1755. }
  1756. func (dst *CapsuleOpenCapsuleResp) XXX_Merge(src proto.Message) {
  1757. xxx_messageInfo_CapsuleOpenCapsuleResp.Merge(dst, src)
  1758. }
  1759. func (m *CapsuleOpenCapsuleResp) XXX_Size() int {
  1760. return m.Size()
  1761. }
  1762. func (m *CapsuleOpenCapsuleResp) XXX_DiscardUnknown() {
  1763. xxx_messageInfo_CapsuleOpenCapsuleResp.DiscardUnknown(m)
  1764. }
  1765. var xxx_messageInfo_CapsuleOpenCapsuleResp proto.InternalMessageInfo
  1766. func (m *CapsuleOpenCapsuleResp) GetStatus() bool {
  1767. if m != nil {
  1768. return m.Status
  1769. }
  1770. return false
  1771. }
  1772. func (m *CapsuleOpenCapsuleResp) GetText() []string {
  1773. if m != nil {
  1774. return m.Text
  1775. }
  1776. return nil
  1777. }
  1778. func (m *CapsuleOpenCapsuleResp) GetIsEntity() bool {
  1779. if m != nil {
  1780. return m.IsEntity
  1781. }
  1782. return false
  1783. }
  1784. func (m *CapsuleOpenCapsuleResp) GetInfo() *CapsuleOpenCapsuleResp_Info {
  1785. if m != nil {
  1786. return m.Info
  1787. }
  1788. return nil
  1789. }
  1790. func (m *CapsuleOpenCapsuleResp) GetShowTitle() string {
  1791. if m != nil {
  1792. return m.ShowTitle
  1793. }
  1794. return ""
  1795. }
  1796. func (m *CapsuleOpenCapsuleResp) GetAwards() []*CapsuleOpenCapsuleResp_Award {
  1797. if m != nil {
  1798. return m.Awards
  1799. }
  1800. return nil
  1801. }
  1802. type CapsuleOpenCapsuleResp_CapsuleInfo struct {
  1803. // 拥有的币
  1804. Coin int64 `protobuf:"varint,1,opt,name=coin,proto3" json:"coin"`
  1805. // 变化值
  1806. Change int64 `protobuf:"varint,2,opt,name=change,proto3" json:"change"`
  1807. // 进度
  1808. Progress *Progress `protobuf:"bytes,3,opt,name=progress" json:"progress"`
  1809. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1810. XXX_unrecognized []byte `json:"-"`
  1811. XXX_sizecache int32 `json:"-"`
  1812. }
  1813. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) Reset() { *m = CapsuleOpenCapsuleResp_CapsuleInfo{} }
  1814. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) String() string { return proto.CompactTextString(m) }
  1815. func (*CapsuleOpenCapsuleResp_CapsuleInfo) ProtoMessage() {}
  1816. func (*CapsuleOpenCapsuleResp_CapsuleInfo) Descriptor() ([]byte, []int) {
  1817. return fileDescriptor_service_9f54252a761dae68, []int{19, 0}
  1818. }
  1819. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) XXX_Unmarshal(b []byte) error {
  1820. return m.Unmarshal(b)
  1821. }
  1822. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1823. if deterministic {
  1824. return xxx_messageInfo_CapsuleOpenCapsuleResp_CapsuleInfo.Marshal(b, m, deterministic)
  1825. } else {
  1826. b = b[:cap(b)]
  1827. n, err := m.MarshalTo(b)
  1828. if err != nil {
  1829. return nil, err
  1830. }
  1831. return b[:n], nil
  1832. }
  1833. }
  1834. func (dst *CapsuleOpenCapsuleResp_CapsuleInfo) XXX_Merge(src proto.Message) {
  1835. xxx_messageInfo_CapsuleOpenCapsuleResp_CapsuleInfo.Merge(dst, src)
  1836. }
  1837. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) XXX_Size() int {
  1838. return m.Size()
  1839. }
  1840. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) XXX_DiscardUnknown() {
  1841. xxx_messageInfo_CapsuleOpenCapsuleResp_CapsuleInfo.DiscardUnknown(m)
  1842. }
  1843. var xxx_messageInfo_CapsuleOpenCapsuleResp_CapsuleInfo proto.InternalMessageInfo
  1844. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) GetCoin() int64 {
  1845. if m != nil {
  1846. return m.Coin
  1847. }
  1848. return 0
  1849. }
  1850. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) GetChange() int64 {
  1851. if m != nil {
  1852. return m.Change
  1853. }
  1854. return 0
  1855. }
  1856. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) GetProgress() *Progress {
  1857. if m != nil {
  1858. return m.Progress
  1859. }
  1860. return nil
  1861. }
  1862. type CapsuleOpenCapsuleResp_Info struct {
  1863. // 普通扭蛋币
  1864. Normal *CapsuleOpenCapsuleResp_CapsuleInfo `protobuf:"bytes,1,opt,name=normal" json:"normal"`
  1865. // 梦幻扭蛋币
  1866. Colorful *CapsuleOpenCapsuleResp_CapsuleInfo `protobuf:"bytes,2,opt,name=colorful" json:"colorful"`
  1867. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1868. XXX_unrecognized []byte `json:"-"`
  1869. XXX_sizecache int32 `json:"-"`
  1870. }
  1871. func (m *CapsuleOpenCapsuleResp_Info) Reset() { *m = CapsuleOpenCapsuleResp_Info{} }
  1872. func (m *CapsuleOpenCapsuleResp_Info) String() string { return proto.CompactTextString(m) }
  1873. func (*CapsuleOpenCapsuleResp_Info) ProtoMessage() {}
  1874. func (*CapsuleOpenCapsuleResp_Info) Descriptor() ([]byte, []int) {
  1875. return fileDescriptor_service_9f54252a761dae68, []int{19, 1}
  1876. }
  1877. func (m *CapsuleOpenCapsuleResp_Info) XXX_Unmarshal(b []byte) error {
  1878. return m.Unmarshal(b)
  1879. }
  1880. func (m *CapsuleOpenCapsuleResp_Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1881. if deterministic {
  1882. return xxx_messageInfo_CapsuleOpenCapsuleResp_Info.Marshal(b, m, deterministic)
  1883. } else {
  1884. b = b[:cap(b)]
  1885. n, err := m.MarshalTo(b)
  1886. if err != nil {
  1887. return nil, err
  1888. }
  1889. return b[:n], nil
  1890. }
  1891. }
  1892. func (dst *CapsuleOpenCapsuleResp_Info) XXX_Merge(src proto.Message) {
  1893. xxx_messageInfo_CapsuleOpenCapsuleResp_Info.Merge(dst, src)
  1894. }
  1895. func (m *CapsuleOpenCapsuleResp_Info) XXX_Size() int {
  1896. return m.Size()
  1897. }
  1898. func (m *CapsuleOpenCapsuleResp_Info) XXX_DiscardUnknown() {
  1899. xxx_messageInfo_CapsuleOpenCapsuleResp_Info.DiscardUnknown(m)
  1900. }
  1901. var xxx_messageInfo_CapsuleOpenCapsuleResp_Info proto.InternalMessageInfo
  1902. func (m *CapsuleOpenCapsuleResp_Info) GetNormal() *CapsuleOpenCapsuleResp_CapsuleInfo {
  1903. if m != nil {
  1904. return m.Normal
  1905. }
  1906. return nil
  1907. }
  1908. func (m *CapsuleOpenCapsuleResp_Info) GetColorful() *CapsuleOpenCapsuleResp_CapsuleInfo {
  1909. if m != nil {
  1910. return m.Colorful
  1911. }
  1912. return nil
  1913. }
  1914. type CapsuleOpenCapsuleResp_Award struct {
  1915. // 奖品名字
  1916. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  1917. // 奖品数量
  1918. Num int64 `protobuf:"varint,3,opt,name=num,proto3" json:"num"`
  1919. // 奖品 X 数量
  1920. Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text"`
  1921. // 奖品图片
  1922. Img string `protobuf:"bytes,5,opt,name=img,proto3" json:"img"`
  1923. // 奖品用法说明
  1924. Usage *Usage `protobuf:"bytes,6,opt,name=usage" json:"usage"`
  1925. // web礼物图片
  1926. WebImage string `protobuf:"bytes,7,opt,name=web_image,json=webImage,proto3" json:"web_image"`
  1927. // mobile礼物图片
  1928. MobileImage string `protobuf:"bytes,8,opt,name=mobile_image,json=mobileImage,proto3" json:"mobile_image"`
  1929. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1930. XXX_unrecognized []byte `json:"-"`
  1931. XXX_sizecache int32 `json:"-"`
  1932. }
  1933. func (m *CapsuleOpenCapsuleResp_Award) Reset() { *m = CapsuleOpenCapsuleResp_Award{} }
  1934. func (m *CapsuleOpenCapsuleResp_Award) String() string { return proto.CompactTextString(m) }
  1935. func (*CapsuleOpenCapsuleResp_Award) ProtoMessage() {}
  1936. func (*CapsuleOpenCapsuleResp_Award) Descriptor() ([]byte, []int) {
  1937. return fileDescriptor_service_9f54252a761dae68, []int{19, 2}
  1938. }
  1939. func (m *CapsuleOpenCapsuleResp_Award) XXX_Unmarshal(b []byte) error {
  1940. return m.Unmarshal(b)
  1941. }
  1942. func (m *CapsuleOpenCapsuleResp_Award) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1943. if deterministic {
  1944. return xxx_messageInfo_CapsuleOpenCapsuleResp_Award.Marshal(b, m, deterministic)
  1945. } else {
  1946. b = b[:cap(b)]
  1947. n, err := m.MarshalTo(b)
  1948. if err != nil {
  1949. return nil, err
  1950. }
  1951. return b[:n], nil
  1952. }
  1953. }
  1954. func (dst *CapsuleOpenCapsuleResp_Award) XXX_Merge(src proto.Message) {
  1955. xxx_messageInfo_CapsuleOpenCapsuleResp_Award.Merge(dst, src)
  1956. }
  1957. func (m *CapsuleOpenCapsuleResp_Award) XXX_Size() int {
  1958. return m.Size()
  1959. }
  1960. func (m *CapsuleOpenCapsuleResp_Award) XXX_DiscardUnknown() {
  1961. xxx_messageInfo_CapsuleOpenCapsuleResp_Award.DiscardUnknown(m)
  1962. }
  1963. var xxx_messageInfo_CapsuleOpenCapsuleResp_Award proto.InternalMessageInfo
  1964. func (m *CapsuleOpenCapsuleResp_Award) GetName() string {
  1965. if m != nil {
  1966. return m.Name
  1967. }
  1968. return ""
  1969. }
  1970. func (m *CapsuleOpenCapsuleResp_Award) GetNum() int64 {
  1971. if m != nil {
  1972. return m.Num
  1973. }
  1974. return 0
  1975. }
  1976. func (m *CapsuleOpenCapsuleResp_Award) GetText() string {
  1977. if m != nil {
  1978. return m.Text
  1979. }
  1980. return ""
  1981. }
  1982. func (m *CapsuleOpenCapsuleResp_Award) GetImg() string {
  1983. if m != nil {
  1984. return m.Img
  1985. }
  1986. return ""
  1987. }
  1988. func (m *CapsuleOpenCapsuleResp_Award) GetUsage() *Usage {
  1989. if m != nil {
  1990. return m.Usage
  1991. }
  1992. return nil
  1993. }
  1994. func (m *CapsuleOpenCapsuleResp_Award) GetWebImage() string {
  1995. if m != nil {
  1996. return m.WebImage
  1997. }
  1998. return ""
  1999. }
  2000. func (m *CapsuleOpenCapsuleResp_Award) GetMobileImage() string {
  2001. if m != nil {
  2002. return m.MobileImage
  2003. }
  2004. return ""
  2005. }
  2006. type CapsuleGetCapsuleInfoReq struct {
  2007. // 扭蛋类型
  2008. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required"`
  2009. // 来源 h5 web room
  2010. From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty" form:"from" validate:"required"`
  2011. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2012. XXX_unrecognized []byte `json:"-"`
  2013. XXX_sizecache int32 `json:"-"`
  2014. }
  2015. func (m *CapsuleGetCapsuleInfoReq) Reset() { *m = CapsuleGetCapsuleInfoReq{} }
  2016. func (m *CapsuleGetCapsuleInfoReq) String() string { return proto.CompactTextString(m) }
  2017. func (*CapsuleGetCapsuleInfoReq) ProtoMessage() {}
  2018. func (*CapsuleGetCapsuleInfoReq) Descriptor() ([]byte, []int) {
  2019. return fileDescriptor_service_9f54252a761dae68, []int{20}
  2020. }
  2021. func (m *CapsuleGetCapsuleInfoReq) XXX_Unmarshal(b []byte) error {
  2022. return m.Unmarshal(b)
  2023. }
  2024. func (m *CapsuleGetCapsuleInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2025. if deterministic {
  2026. return xxx_messageInfo_CapsuleGetCapsuleInfoReq.Marshal(b, m, deterministic)
  2027. } else {
  2028. b = b[:cap(b)]
  2029. n, err := m.MarshalTo(b)
  2030. if err != nil {
  2031. return nil, err
  2032. }
  2033. return b[:n], nil
  2034. }
  2035. }
  2036. func (dst *CapsuleGetCapsuleInfoReq) XXX_Merge(src proto.Message) {
  2037. xxx_messageInfo_CapsuleGetCapsuleInfoReq.Merge(dst, src)
  2038. }
  2039. func (m *CapsuleGetCapsuleInfoReq) XXX_Size() int {
  2040. return m.Size()
  2041. }
  2042. func (m *CapsuleGetCapsuleInfoReq) XXX_DiscardUnknown() {
  2043. xxx_messageInfo_CapsuleGetCapsuleInfoReq.DiscardUnknown(m)
  2044. }
  2045. var xxx_messageInfo_CapsuleGetCapsuleInfoReq proto.InternalMessageInfo
  2046. func (m *CapsuleGetCapsuleInfoReq) GetType() string {
  2047. if m != nil {
  2048. return m.Type
  2049. }
  2050. return ""
  2051. }
  2052. func (m *CapsuleGetCapsuleInfoReq) GetFrom() string {
  2053. if m != nil {
  2054. return m.From
  2055. }
  2056. return ""
  2057. }
  2058. type CapsuleGetCapsuleInfoResp struct {
  2059. // 扭蛋数量
  2060. Coin int64 `protobuf:"varint,1,opt,name=coin,proto3" json:"coin"`
  2061. // 规则
  2062. Rule string `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule"`
  2063. // 奖品列表,包含数量
  2064. GiftList []*CapsuleGetCapsuleInfoResp_GiftList `protobuf:"bytes,3,rep,name=gift_list,json=giftList" json:"gift_list"`
  2065. // 奖品列表,不包含数量,同一类别只有一条
  2066. GiftFilter []*CapsuleGetCapsuleInfoResp_GiftFilter `protobuf:"bytes,4,rep,name=gift_filter,json=giftFilter" json:"gift_filter"`
  2067. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2068. XXX_unrecognized []byte `json:"-"`
  2069. XXX_sizecache int32 `json:"-"`
  2070. }
  2071. func (m *CapsuleGetCapsuleInfoResp) Reset() { *m = CapsuleGetCapsuleInfoResp{} }
  2072. func (m *CapsuleGetCapsuleInfoResp) String() string { return proto.CompactTextString(m) }
  2073. func (*CapsuleGetCapsuleInfoResp) ProtoMessage() {}
  2074. func (*CapsuleGetCapsuleInfoResp) Descriptor() ([]byte, []int) {
  2075. return fileDescriptor_service_9f54252a761dae68, []int{21}
  2076. }
  2077. func (m *CapsuleGetCapsuleInfoResp) XXX_Unmarshal(b []byte) error {
  2078. return m.Unmarshal(b)
  2079. }
  2080. func (m *CapsuleGetCapsuleInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2081. if deterministic {
  2082. return xxx_messageInfo_CapsuleGetCapsuleInfoResp.Marshal(b, m, deterministic)
  2083. } else {
  2084. b = b[:cap(b)]
  2085. n, err := m.MarshalTo(b)
  2086. if err != nil {
  2087. return nil, err
  2088. }
  2089. return b[:n], nil
  2090. }
  2091. }
  2092. func (dst *CapsuleGetCapsuleInfoResp) XXX_Merge(src proto.Message) {
  2093. xxx_messageInfo_CapsuleGetCapsuleInfoResp.Merge(dst, src)
  2094. }
  2095. func (m *CapsuleGetCapsuleInfoResp) XXX_Size() int {
  2096. return m.Size()
  2097. }
  2098. func (m *CapsuleGetCapsuleInfoResp) XXX_DiscardUnknown() {
  2099. xxx_messageInfo_CapsuleGetCapsuleInfoResp.DiscardUnknown(m)
  2100. }
  2101. var xxx_messageInfo_CapsuleGetCapsuleInfoResp proto.InternalMessageInfo
  2102. func (m *CapsuleGetCapsuleInfoResp) GetCoin() int64 {
  2103. if m != nil {
  2104. return m.Coin
  2105. }
  2106. return 0
  2107. }
  2108. func (m *CapsuleGetCapsuleInfoResp) GetRule() string {
  2109. if m != nil {
  2110. return m.Rule
  2111. }
  2112. return ""
  2113. }
  2114. func (m *CapsuleGetCapsuleInfoResp) GetGiftList() []*CapsuleGetCapsuleInfoResp_GiftList {
  2115. if m != nil {
  2116. return m.GiftList
  2117. }
  2118. return nil
  2119. }
  2120. func (m *CapsuleGetCapsuleInfoResp) GetGiftFilter() []*CapsuleGetCapsuleInfoResp_GiftFilter {
  2121. if m != nil {
  2122. return m.GiftFilter
  2123. }
  2124. return nil
  2125. }
  2126. type CapsuleGetCapsuleInfoResp_GiftList struct {
  2127. // 礼物id
  2128. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  2129. // 礼物名称
  2130. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  2131. // 礼物数量
  2132. Num int64 `protobuf:"varint,3,opt,name=num,proto3" json:"num"`
  2133. // 礼物图片
  2134. WebUrl string `protobuf:"bytes,5,opt,name=web_url,json=webUrl,proto3" json:"web_url"`
  2135. // 礼物图片
  2136. MobileUrl string `protobuf:"bytes,6,opt,name=mobile_url,json=mobileUrl,proto3" json:"mobile_url"`
  2137. // 用法
  2138. Usage *Usage `protobuf:"bytes,7,opt,name=usage" json:"usage"`
  2139. // 奖品类型 2 头衔
  2140. Type int64 `protobuf:"varint,8,opt,name=type,proto3" json:"type"`
  2141. // 过期时间
  2142. Expire string `protobuf:"bytes,9,opt,name=expire,proto3" json:"expire"`
  2143. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2144. XXX_unrecognized []byte `json:"-"`
  2145. XXX_sizecache int32 `json:"-"`
  2146. }
  2147. func (m *CapsuleGetCapsuleInfoResp_GiftList) Reset() { *m = CapsuleGetCapsuleInfoResp_GiftList{} }
  2148. func (m *CapsuleGetCapsuleInfoResp_GiftList) String() string { return proto.CompactTextString(m) }
  2149. func (*CapsuleGetCapsuleInfoResp_GiftList) ProtoMessage() {}
  2150. func (*CapsuleGetCapsuleInfoResp_GiftList) Descriptor() ([]byte, []int) {
  2151. return fileDescriptor_service_9f54252a761dae68, []int{21, 0}
  2152. }
  2153. func (m *CapsuleGetCapsuleInfoResp_GiftList) XXX_Unmarshal(b []byte) error {
  2154. return m.Unmarshal(b)
  2155. }
  2156. func (m *CapsuleGetCapsuleInfoResp_GiftList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2157. if deterministic {
  2158. return xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftList.Marshal(b, m, deterministic)
  2159. } else {
  2160. b = b[:cap(b)]
  2161. n, err := m.MarshalTo(b)
  2162. if err != nil {
  2163. return nil, err
  2164. }
  2165. return b[:n], nil
  2166. }
  2167. }
  2168. func (dst *CapsuleGetCapsuleInfoResp_GiftList) XXX_Merge(src proto.Message) {
  2169. xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftList.Merge(dst, src)
  2170. }
  2171. func (m *CapsuleGetCapsuleInfoResp_GiftList) XXX_Size() int {
  2172. return m.Size()
  2173. }
  2174. func (m *CapsuleGetCapsuleInfoResp_GiftList) XXX_DiscardUnknown() {
  2175. xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftList.DiscardUnknown(m)
  2176. }
  2177. var xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftList proto.InternalMessageInfo
  2178. func (m *CapsuleGetCapsuleInfoResp_GiftList) GetId() int64 {
  2179. if m != nil {
  2180. return m.Id
  2181. }
  2182. return 0
  2183. }
  2184. func (m *CapsuleGetCapsuleInfoResp_GiftList) GetName() string {
  2185. if m != nil {
  2186. return m.Name
  2187. }
  2188. return ""
  2189. }
  2190. func (m *CapsuleGetCapsuleInfoResp_GiftList) GetNum() int64 {
  2191. if m != nil {
  2192. return m.Num
  2193. }
  2194. return 0
  2195. }
  2196. func (m *CapsuleGetCapsuleInfoResp_GiftList) GetWebUrl() string {
  2197. if m != nil {
  2198. return m.WebUrl
  2199. }
  2200. return ""
  2201. }
  2202. func (m *CapsuleGetCapsuleInfoResp_GiftList) GetMobileUrl() string {
  2203. if m != nil {
  2204. return m.MobileUrl
  2205. }
  2206. return ""
  2207. }
  2208. func (m *CapsuleGetCapsuleInfoResp_GiftList) GetUsage() *Usage {
  2209. if m != nil {
  2210. return m.Usage
  2211. }
  2212. return nil
  2213. }
  2214. func (m *CapsuleGetCapsuleInfoResp_GiftList) GetType() int64 {
  2215. if m != nil {
  2216. return m.Type
  2217. }
  2218. return 0
  2219. }
  2220. func (m *CapsuleGetCapsuleInfoResp_GiftList) GetExpire() string {
  2221. if m != nil {
  2222. return m.Expire
  2223. }
  2224. return ""
  2225. }
  2226. type CapsuleGetCapsuleInfoResp_GiftFilter struct {
  2227. // 礼物id
  2228. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  2229. // 礼物名称
  2230. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  2231. // 礼物图片
  2232. WebUrl string `protobuf:"bytes,3,opt,name=web_url,json=webUrl,proto3" json:"web_url"`
  2233. // 礼物图片
  2234. MobileUrl string `protobuf:"bytes,4,opt,name=mobile_url,json=mobileUrl,proto3" json:"mobile_url"`
  2235. // 用法
  2236. Usage *Usage `protobuf:"bytes,5,opt,name=usage" json:"usage"`
  2237. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2238. XXX_unrecognized []byte `json:"-"`
  2239. XXX_sizecache int32 `json:"-"`
  2240. }
  2241. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) Reset() { *m = CapsuleGetCapsuleInfoResp_GiftFilter{} }
  2242. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) String() string { return proto.CompactTextString(m) }
  2243. func (*CapsuleGetCapsuleInfoResp_GiftFilter) ProtoMessage() {}
  2244. func (*CapsuleGetCapsuleInfoResp_GiftFilter) Descriptor() ([]byte, []int) {
  2245. return fileDescriptor_service_9f54252a761dae68, []int{21, 1}
  2246. }
  2247. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) XXX_Unmarshal(b []byte) error {
  2248. return m.Unmarshal(b)
  2249. }
  2250. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2251. if deterministic {
  2252. return xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftFilter.Marshal(b, m, deterministic)
  2253. } else {
  2254. b = b[:cap(b)]
  2255. n, err := m.MarshalTo(b)
  2256. if err != nil {
  2257. return nil, err
  2258. }
  2259. return b[:n], nil
  2260. }
  2261. }
  2262. func (dst *CapsuleGetCapsuleInfoResp_GiftFilter) XXX_Merge(src proto.Message) {
  2263. xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftFilter.Merge(dst, src)
  2264. }
  2265. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) XXX_Size() int {
  2266. return m.Size()
  2267. }
  2268. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) XXX_DiscardUnknown() {
  2269. xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftFilter.DiscardUnknown(m)
  2270. }
  2271. var xxx_messageInfo_CapsuleGetCapsuleInfoResp_GiftFilter proto.InternalMessageInfo
  2272. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) GetId() int64 {
  2273. if m != nil {
  2274. return m.Id
  2275. }
  2276. return 0
  2277. }
  2278. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) GetName() string {
  2279. if m != nil {
  2280. return m.Name
  2281. }
  2282. return ""
  2283. }
  2284. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) GetWebUrl() string {
  2285. if m != nil {
  2286. return m.WebUrl
  2287. }
  2288. return ""
  2289. }
  2290. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) GetMobileUrl() string {
  2291. if m != nil {
  2292. return m.MobileUrl
  2293. }
  2294. return ""
  2295. }
  2296. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) GetUsage() *Usage {
  2297. if m != nil {
  2298. return m.Usage
  2299. }
  2300. return nil
  2301. }
  2302. type CapsuleOpenCapsuleByTypeReq struct {
  2303. // 扭蛋类型
  2304. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required"`
  2305. // 扭的个数
  2306. Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" form:"count" validate:"required"`
  2307. Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty" form:"platform"`
  2308. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2309. XXX_unrecognized []byte `json:"-"`
  2310. XXX_sizecache int32 `json:"-"`
  2311. }
  2312. func (m *CapsuleOpenCapsuleByTypeReq) Reset() { *m = CapsuleOpenCapsuleByTypeReq{} }
  2313. func (m *CapsuleOpenCapsuleByTypeReq) String() string { return proto.CompactTextString(m) }
  2314. func (*CapsuleOpenCapsuleByTypeReq) ProtoMessage() {}
  2315. func (*CapsuleOpenCapsuleByTypeReq) Descriptor() ([]byte, []int) {
  2316. return fileDescriptor_service_9f54252a761dae68, []int{22}
  2317. }
  2318. func (m *CapsuleOpenCapsuleByTypeReq) XXX_Unmarshal(b []byte) error {
  2319. return m.Unmarshal(b)
  2320. }
  2321. func (m *CapsuleOpenCapsuleByTypeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2322. if deterministic {
  2323. return xxx_messageInfo_CapsuleOpenCapsuleByTypeReq.Marshal(b, m, deterministic)
  2324. } else {
  2325. b = b[:cap(b)]
  2326. n, err := m.MarshalTo(b)
  2327. if err != nil {
  2328. return nil, err
  2329. }
  2330. return b[:n], nil
  2331. }
  2332. }
  2333. func (dst *CapsuleOpenCapsuleByTypeReq) XXX_Merge(src proto.Message) {
  2334. xxx_messageInfo_CapsuleOpenCapsuleByTypeReq.Merge(dst, src)
  2335. }
  2336. func (m *CapsuleOpenCapsuleByTypeReq) XXX_Size() int {
  2337. return m.Size()
  2338. }
  2339. func (m *CapsuleOpenCapsuleByTypeReq) XXX_DiscardUnknown() {
  2340. xxx_messageInfo_CapsuleOpenCapsuleByTypeReq.DiscardUnknown(m)
  2341. }
  2342. var xxx_messageInfo_CapsuleOpenCapsuleByTypeReq proto.InternalMessageInfo
  2343. func (m *CapsuleOpenCapsuleByTypeReq) GetType() string {
  2344. if m != nil {
  2345. return m.Type
  2346. }
  2347. return ""
  2348. }
  2349. func (m *CapsuleOpenCapsuleByTypeReq) GetCount() int64 {
  2350. if m != nil {
  2351. return m.Count
  2352. }
  2353. return 0
  2354. }
  2355. func (m *CapsuleOpenCapsuleByTypeReq) GetPlatform() string {
  2356. if m != nil {
  2357. return m.Platform
  2358. }
  2359. return ""
  2360. }
  2361. type CapsuleOpenCapsuleByTypeResp struct {
  2362. // 扭蛋币扣除状态
  2363. Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
  2364. // 是否包含实物奖品
  2365. IsEntity bool `protobuf:"varint,2,opt,name=isEntity,proto3" json:"isEntity"`
  2366. // 用户扭蛋币拥有状态
  2367. Info *CapsuleOpenCapsuleByTypeResp_CapsuleInfo `protobuf:"bytes,3,opt,name=info" json:"info"`
  2368. // 奖品列表
  2369. Awards []*CapsuleOpenCapsuleByTypeResp_Award `protobuf:"bytes,4,rep,name=awards" json:"awards"`
  2370. // 奖品列表
  2371. Text []string `protobuf:"bytes,5,rep,name=text" json:"text"`
  2372. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2373. XXX_unrecognized []byte `json:"-"`
  2374. XXX_sizecache int32 `json:"-"`
  2375. }
  2376. func (m *CapsuleOpenCapsuleByTypeResp) Reset() { *m = CapsuleOpenCapsuleByTypeResp{} }
  2377. func (m *CapsuleOpenCapsuleByTypeResp) String() string { return proto.CompactTextString(m) }
  2378. func (*CapsuleOpenCapsuleByTypeResp) ProtoMessage() {}
  2379. func (*CapsuleOpenCapsuleByTypeResp) Descriptor() ([]byte, []int) {
  2380. return fileDescriptor_service_9f54252a761dae68, []int{23}
  2381. }
  2382. func (m *CapsuleOpenCapsuleByTypeResp) XXX_Unmarshal(b []byte) error {
  2383. return m.Unmarshal(b)
  2384. }
  2385. func (m *CapsuleOpenCapsuleByTypeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2386. if deterministic {
  2387. return xxx_messageInfo_CapsuleOpenCapsuleByTypeResp.Marshal(b, m, deterministic)
  2388. } else {
  2389. b = b[:cap(b)]
  2390. n, err := m.MarshalTo(b)
  2391. if err != nil {
  2392. return nil, err
  2393. }
  2394. return b[:n], nil
  2395. }
  2396. }
  2397. func (dst *CapsuleOpenCapsuleByTypeResp) XXX_Merge(src proto.Message) {
  2398. xxx_messageInfo_CapsuleOpenCapsuleByTypeResp.Merge(dst, src)
  2399. }
  2400. func (m *CapsuleOpenCapsuleByTypeResp) XXX_Size() int {
  2401. return m.Size()
  2402. }
  2403. func (m *CapsuleOpenCapsuleByTypeResp) XXX_DiscardUnknown() {
  2404. xxx_messageInfo_CapsuleOpenCapsuleByTypeResp.DiscardUnknown(m)
  2405. }
  2406. var xxx_messageInfo_CapsuleOpenCapsuleByTypeResp proto.InternalMessageInfo
  2407. func (m *CapsuleOpenCapsuleByTypeResp) GetStatus() bool {
  2408. if m != nil {
  2409. return m.Status
  2410. }
  2411. return false
  2412. }
  2413. func (m *CapsuleOpenCapsuleByTypeResp) GetIsEntity() bool {
  2414. if m != nil {
  2415. return m.IsEntity
  2416. }
  2417. return false
  2418. }
  2419. func (m *CapsuleOpenCapsuleByTypeResp) GetInfo() *CapsuleOpenCapsuleByTypeResp_CapsuleInfo {
  2420. if m != nil {
  2421. return m.Info
  2422. }
  2423. return nil
  2424. }
  2425. func (m *CapsuleOpenCapsuleByTypeResp) GetAwards() []*CapsuleOpenCapsuleByTypeResp_Award {
  2426. if m != nil {
  2427. return m.Awards
  2428. }
  2429. return nil
  2430. }
  2431. func (m *CapsuleOpenCapsuleByTypeResp) GetText() []string {
  2432. if m != nil {
  2433. return m.Text
  2434. }
  2435. return nil
  2436. }
  2437. type CapsuleOpenCapsuleByTypeResp_CapsuleInfo struct {
  2438. // 拥有的币
  2439. Coin int64 `protobuf:"varint,1,opt,name=coin,proto3" json:"coin"`
  2440. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2441. XXX_unrecognized []byte `json:"-"`
  2442. XXX_sizecache int32 `json:"-"`
  2443. }
  2444. func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) Reset() {
  2445. *m = CapsuleOpenCapsuleByTypeResp_CapsuleInfo{}
  2446. }
  2447. func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) String() string { return proto.CompactTextString(m) }
  2448. func (*CapsuleOpenCapsuleByTypeResp_CapsuleInfo) ProtoMessage() {}
  2449. func (*CapsuleOpenCapsuleByTypeResp_CapsuleInfo) Descriptor() ([]byte, []int) {
  2450. return fileDescriptor_service_9f54252a761dae68, []int{23, 0}
  2451. }
  2452. func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) XXX_Unmarshal(b []byte) error {
  2453. return m.Unmarshal(b)
  2454. }
  2455. func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2456. if deterministic {
  2457. return xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_CapsuleInfo.Marshal(b, m, deterministic)
  2458. } else {
  2459. b = b[:cap(b)]
  2460. n, err := m.MarshalTo(b)
  2461. if err != nil {
  2462. return nil, err
  2463. }
  2464. return b[:n], nil
  2465. }
  2466. }
  2467. func (dst *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) XXX_Merge(src proto.Message) {
  2468. xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_CapsuleInfo.Merge(dst, src)
  2469. }
  2470. func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) XXX_Size() int {
  2471. return m.Size()
  2472. }
  2473. func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) XXX_DiscardUnknown() {
  2474. xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_CapsuleInfo.DiscardUnknown(m)
  2475. }
  2476. var xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_CapsuleInfo proto.InternalMessageInfo
  2477. func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) GetCoin() int64 {
  2478. if m != nil {
  2479. return m.Coin
  2480. }
  2481. return 0
  2482. }
  2483. type CapsuleOpenCapsuleByTypeResp_Award struct {
  2484. // 奖品id
  2485. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  2486. // 奖品名字
  2487. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  2488. // 奖品数量
  2489. Num int64 `protobuf:"varint,3,opt,name=num,proto3" json:"num"`
  2490. // 奖品 X 数量
  2491. Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text"`
  2492. // 礼物图片
  2493. WebUrl string `protobuf:"bytes,5,opt,name=web_url,json=webUrl,proto3" json:"web_url"`
  2494. // 礼物图片
  2495. MobileUrl string `protobuf:"bytes,6,opt,name=mobile_url,json=mobileUrl,proto3" json:"mobile_url"`
  2496. // 奖品用法说明
  2497. Usage *Usage `protobuf:"bytes,7,opt,name=usage" json:"usage"`
  2498. // 奖品类型 2 头衔
  2499. Type int64 `protobuf:"varint,8,opt,name=type,proto3" json:"type"`
  2500. // 过期时间
  2501. Expire string `protobuf:"bytes,9,opt,name=expire,proto3" json:"expire"`
  2502. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2503. XXX_unrecognized []byte `json:"-"`
  2504. XXX_sizecache int32 `json:"-"`
  2505. }
  2506. func (m *CapsuleOpenCapsuleByTypeResp_Award) Reset() { *m = CapsuleOpenCapsuleByTypeResp_Award{} }
  2507. func (m *CapsuleOpenCapsuleByTypeResp_Award) String() string { return proto.CompactTextString(m) }
  2508. func (*CapsuleOpenCapsuleByTypeResp_Award) ProtoMessage() {}
  2509. func (*CapsuleOpenCapsuleByTypeResp_Award) Descriptor() ([]byte, []int) {
  2510. return fileDescriptor_service_9f54252a761dae68, []int{23, 1}
  2511. }
  2512. func (m *CapsuleOpenCapsuleByTypeResp_Award) XXX_Unmarshal(b []byte) error {
  2513. return m.Unmarshal(b)
  2514. }
  2515. func (m *CapsuleOpenCapsuleByTypeResp_Award) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2516. if deterministic {
  2517. return xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_Award.Marshal(b, m, deterministic)
  2518. } else {
  2519. b = b[:cap(b)]
  2520. n, err := m.MarshalTo(b)
  2521. if err != nil {
  2522. return nil, err
  2523. }
  2524. return b[:n], nil
  2525. }
  2526. }
  2527. func (dst *CapsuleOpenCapsuleByTypeResp_Award) XXX_Merge(src proto.Message) {
  2528. xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_Award.Merge(dst, src)
  2529. }
  2530. func (m *CapsuleOpenCapsuleByTypeResp_Award) XXX_Size() int {
  2531. return m.Size()
  2532. }
  2533. func (m *CapsuleOpenCapsuleByTypeResp_Award) XXX_DiscardUnknown() {
  2534. xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_Award.DiscardUnknown(m)
  2535. }
  2536. var xxx_messageInfo_CapsuleOpenCapsuleByTypeResp_Award proto.InternalMessageInfo
  2537. func (m *CapsuleOpenCapsuleByTypeResp_Award) GetId() int64 {
  2538. if m != nil {
  2539. return m.Id
  2540. }
  2541. return 0
  2542. }
  2543. func (m *CapsuleOpenCapsuleByTypeResp_Award) GetName() string {
  2544. if m != nil {
  2545. return m.Name
  2546. }
  2547. return ""
  2548. }
  2549. func (m *CapsuleOpenCapsuleByTypeResp_Award) GetNum() int64 {
  2550. if m != nil {
  2551. return m.Num
  2552. }
  2553. return 0
  2554. }
  2555. func (m *CapsuleOpenCapsuleByTypeResp_Award) GetText() string {
  2556. if m != nil {
  2557. return m.Text
  2558. }
  2559. return ""
  2560. }
  2561. func (m *CapsuleOpenCapsuleByTypeResp_Award) GetWebUrl() string {
  2562. if m != nil {
  2563. return m.WebUrl
  2564. }
  2565. return ""
  2566. }
  2567. func (m *CapsuleOpenCapsuleByTypeResp_Award) GetMobileUrl() string {
  2568. if m != nil {
  2569. return m.MobileUrl
  2570. }
  2571. return ""
  2572. }
  2573. func (m *CapsuleOpenCapsuleByTypeResp_Award) GetUsage() *Usage {
  2574. if m != nil {
  2575. return m.Usage
  2576. }
  2577. return nil
  2578. }
  2579. func (m *CapsuleOpenCapsuleByTypeResp_Award) GetType() int64 {
  2580. if m != nil {
  2581. return m.Type
  2582. }
  2583. return 0
  2584. }
  2585. func (m *CapsuleOpenCapsuleByTypeResp_Award) GetExpire() string {
  2586. if m != nil {
  2587. return m.Expire
  2588. }
  2589. return ""
  2590. }
  2591. func init() {
  2592. proto.RegisterType((*GetHistoryReq)(nil), "live.webucenter.v1.GetHistoryReq")
  2593. proto.RegisterType((*GetHistoryResp)(nil), "live.webucenter.v1.GetHistoryResp")
  2594. proto.RegisterType((*GetHistoryResp_List)(nil), "live.webucenter.v1.GetHistoryResp.List")
  2595. proto.RegisterType((*DelHistoryReq)(nil), "live.webucenter.v1.DelHistoryReq")
  2596. proto.RegisterType((*DelHistoryResp)(nil), "live.webucenter.v1.DelHistoryResp")
  2597. proto.RegisterType((*AnchorTaskAddRewardReq)(nil), "live.webucenter.v1.AnchorTaskAddRewardReq")
  2598. proto.RegisterType((*AnchorTaskAddRewardResp)(nil), "live.webucenter.v1.AnchorTaskAddRewardResp")
  2599. proto.RegisterType((*AnchorTaskMyRewardReq)(nil), "live.webucenter.v1.AnchorTaskMyRewardReq")
  2600. proto.RegisterType((*AnchorTaskMyRewardResp)(nil), "live.webucenter.v1.AnchorTaskMyRewardResp")
  2601. proto.RegisterType((*AnchorTaskMyRewardResp_RewardObj)(nil), "live.webucenter.v1.AnchorTaskMyRewardResp.RewardObj")
  2602. proto.RegisterType((*AnchorTaskMyRewardResp_Page)(nil), "live.webucenter.v1.AnchorTaskMyRewardResp.Page")
  2603. proto.RegisterType((*AnchorTaskUseRecordReq)(nil), "live.webucenter.v1.AnchorTaskUseRecordReq")
  2604. proto.RegisterType((*AnchorTaskUseRecordResp)(nil), "live.webucenter.v1.AnchorTaskUseRecordResp")
  2605. proto.RegisterType((*AnchorTaskUseRecordResp_RewardObj)(nil), "live.webucenter.v1.AnchorTaskUseRecordResp.RewardObj")
  2606. proto.RegisterType((*AnchorTaskUseRecordResp_Page)(nil), "live.webucenter.v1.AnchorTaskUseRecordResp.Page")
  2607. proto.RegisterType((*AnchorTaskUseRewardReq)(nil), "live.webucenter.v1.AnchorTaskUseRewardReq")
  2608. proto.RegisterType((*AnchorTaskUseRewardResp)(nil), "live.webucenter.v1.AnchorTaskUseRewardResp")
  2609. proto.RegisterType((*AnchorTaskIsViewedReq)(nil), "live.webucenter.v1.AnchorTaskIsViewedReq")
  2610. proto.RegisterType((*AnchorTaskIsViewedResp)(nil), "live.webucenter.v1.AnchorTaskIsViewedResp")
  2611. proto.RegisterType((*CapsuleGetDetailReq)(nil), "live.webucenter.v1.CapsuleGetDetailReq")
  2612. proto.RegisterType((*Usage)(nil), "live.webucenter.v1.Usage")
  2613. proto.RegisterType((*Progress)(nil), "live.webucenter.v1.Progress")
  2614. proto.RegisterType((*CapsuleGetDetailResp)(nil), "live.webucenter.v1.CapsuleGetDetailResp")
  2615. proto.RegisterType((*CapsuleGetDetailResp_Gift)(nil), "live.webucenter.v1.CapsuleGetDetailResp.Gift")
  2616. proto.RegisterType((*CapsuleGetDetailResp_List)(nil), "live.webucenter.v1.CapsuleGetDetailResp.List")
  2617. proto.RegisterType((*CapsuleGetDetailResp_CapsuleInfo)(nil), "live.webucenter.v1.CapsuleGetDetailResp.CapsuleInfo")
  2618. proto.RegisterType((*CapsuleOpenCapsuleReq)(nil), "live.webucenter.v1.CapsuleOpenCapsuleReq")
  2619. proto.RegisterType((*CapsuleOpenCapsuleResp)(nil), "live.webucenter.v1.CapsuleOpenCapsuleResp")
  2620. proto.RegisterType((*CapsuleOpenCapsuleResp_CapsuleInfo)(nil), "live.webucenter.v1.CapsuleOpenCapsuleResp.CapsuleInfo")
  2621. proto.RegisterType((*CapsuleOpenCapsuleResp_Info)(nil), "live.webucenter.v1.CapsuleOpenCapsuleResp.Info")
  2622. proto.RegisterType((*CapsuleOpenCapsuleResp_Award)(nil), "live.webucenter.v1.CapsuleOpenCapsuleResp.Award")
  2623. proto.RegisterType((*CapsuleGetCapsuleInfoReq)(nil), "live.webucenter.v1.CapsuleGetCapsuleInfoReq")
  2624. proto.RegisterType((*CapsuleGetCapsuleInfoResp)(nil), "live.webucenter.v1.CapsuleGetCapsuleInfoResp")
  2625. proto.RegisterType((*CapsuleGetCapsuleInfoResp_GiftList)(nil), "live.webucenter.v1.CapsuleGetCapsuleInfoResp.GiftList")
  2626. proto.RegisterType((*CapsuleGetCapsuleInfoResp_GiftFilter)(nil), "live.webucenter.v1.CapsuleGetCapsuleInfoResp.GiftFilter")
  2627. proto.RegisterType((*CapsuleOpenCapsuleByTypeReq)(nil), "live.webucenter.v1.CapsuleOpenCapsuleByTypeReq")
  2628. proto.RegisterType((*CapsuleOpenCapsuleByTypeResp)(nil), "live.webucenter.v1.CapsuleOpenCapsuleByTypeResp")
  2629. proto.RegisterType((*CapsuleOpenCapsuleByTypeResp_CapsuleInfo)(nil), "live.webucenter.v1.CapsuleOpenCapsuleByTypeResp.CapsuleInfo")
  2630. proto.RegisterType((*CapsuleOpenCapsuleByTypeResp_Award)(nil), "live.webucenter.v1.CapsuleOpenCapsuleByTypeResp.Award")
  2631. }
  2632. func (m *GetHistoryReq) Marshal() (dAtA []byte, err error) {
  2633. size := m.Size()
  2634. dAtA = make([]byte, size)
  2635. n, err := m.MarshalTo(dAtA)
  2636. if err != nil {
  2637. return nil, err
  2638. }
  2639. return dAtA[:n], nil
  2640. }
  2641. func (m *GetHistoryReq) MarshalTo(dAtA []byte) (int, error) {
  2642. var i int
  2643. _ = i
  2644. var l int
  2645. _ = l
  2646. if m.XXX_unrecognized != nil {
  2647. i += copy(dAtA[i:], m.XXX_unrecognized)
  2648. }
  2649. return i, nil
  2650. }
  2651. func (m *GetHistoryResp) Marshal() (dAtA []byte, err error) {
  2652. size := m.Size()
  2653. dAtA = make([]byte, size)
  2654. n, err := m.MarshalTo(dAtA)
  2655. if err != nil {
  2656. return nil, err
  2657. }
  2658. return dAtA[:n], nil
  2659. }
  2660. func (m *GetHistoryResp) MarshalTo(dAtA []byte) (int, error) {
  2661. var i int
  2662. _ = i
  2663. var l int
  2664. _ = l
  2665. if len(m.Title) > 0 {
  2666. dAtA[i] = 0xa
  2667. i++
  2668. i = encodeVarintService(dAtA, i, uint64(len(m.Title)))
  2669. i += copy(dAtA[i:], m.Title)
  2670. }
  2671. if m.Count != 0 {
  2672. dAtA[i] = 0x20
  2673. i++
  2674. i = encodeVarintService(dAtA, i, uint64(m.Count))
  2675. }
  2676. if len(m.List) > 0 {
  2677. for _, msg := range m.List {
  2678. dAtA[i] = 0x2a
  2679. i++
  2680. i = encodeVarintService(dAtA, i, uint64(msg.Size()))
  2681. n, err := msg.MarshalTo(dAtA[i:])
  2682. if err != nil {
  2683. return 0, err
  2684. }
  2685. i += n
  2686. }
  2687. }
  2688. if m.XXX_unrecognized != nil {
  2689. i += copy(dAtA[i:], m.XXX_unrecognized)
  2690. }
  2691. return i, nil
  2692. }
  2693. func (m *GetHistoryResp_List) Marshal() (dAtA []byte, err error) {
  2694. size := m.Size()
  2695. dAtA = make([]byte, size)
  2696. n, err := m.MarshalTo(dAtA)
  2697. if err != nil {
  2698. return nil, err
  2699. }
  2700. return dAtA[:n], nil
  2701. }
  2702. func (m *GetHistoryResp_List) MarshalTo(dAtA []byte) (int, error) {
  2703. var i int
  2704. _ = i
  2705. var l int
  2706. _ = l
  2707. if m.Roomid != 0 {
  2708. dAtA[i] = 0x8
  2709. i++
  2710. i = encodeVarintService(dAtA, i, uint64(m.Roomid))
  2711. }
  2712. if m.Uid != 0 {
  2713. dAtA[i] = 0x10
  2714. i++
  2715. i = encodeVarintService(dAtA, i, uint64(m.Uid))
  2716. }
  2717. if len(m.Uname) > 0 {
  2718. dAtA[i] = 0x1a
  2719. i++
  2720. i = encodeVarintService(dAtA, i, uint64(len(m.Uname)))
  2721. i += copy(dAtA[i:], m.Uname)
  2722. }
  2723. if len(m.UserCover) > 0 {
  2724. dAtA[i] = 0x22
  2725. i++
  2726. i = encodeVarintService(dAtA, i, uint64(len(m.UserCover)))
  2727. i += copy(dAtA[i:], m.UserCover)
  2728. }
  2729. if len(m.Title) > 0 {
  2730. dAtA[i] = 0x2a
  2731. i++
  2732. i = encodeVarintService(dAtA, i, uint64(len(m.Title)))
  2733. i += copy(dAtA[i:], m.Title)
  2734. }
  2735. if len(m.Face) > 0 {
  2736. dAtA[i] = 0x32
  2737. i++
  2738. i = encodeVarintService(dAtA, i, uint64(len(m.Face)))
  2739. i += copy(dAtA[i:], m.Face)
  2740. }
  2741. if len(m.Tags) > 0 {
  2742. dAtA[i] = 0x3a
  2743. i++
  2744. i = encodeVarintService(dAtA, i, uint64(len(m.Tags)))
  2745. i += copy(dAtA[i:], m.Tags)
  2746. }
  2747. if m.LiveStatus != 0 {
  2748. dAtA[i] = 0x48
  2749. i++
  2750. i = encodeVarintService(dAtA, i, uint64(m.LiveStatus))
  2751. }
  2752. if m.FansNum != 0 {
  2753. dAtA[i] = 0x50
  2754. i++
  2755. i = encodeVarintService(dAtA, i, uint64(m.FansNum))
  2756. }
  2757. if m.IsAttention != 0 {
  2758. dAtA[i] = 0x60
  2759. i++
  2760. i = encodeVarintService(dAtA, i, uint64(m.IsAttention))
  2761. }
  2762. if m.AreaV2Id != 0 {
  2763. dAtA[i] = 0x68
  2764. i++
  2765. i = encodeVarintService(dAtA, i, uint64(m.AreaV2Id))
  2766. }
  2767. if len(m.AreaV2Name) > 0 {
  2768. dAtA[i] = 0x72
  2769. i++
  2770. i = encodeVarintService(dAtA, i, uint64(len(m.AreaV2Name)))
  2771. i += copy(dAtA[i:], m.AreaV2Name)
  2772. }
  2773. if len(m.AreaV2ParentName) > 0 {
  2774. dAtA[i] = 0x7a
  2775. i++
  2776. i = encodeVarintService(dAtA, i, uint64(len(m.AreaV2ParentName)))
  2777. i += copy(dAtA[i:], m.AreaV2ParentName)
  2778. }
  2779. if m.AreaV2ParentId != 0 {
  2780. dAtA[i] = 0x80
  2781. i++
  2782. dAtA[i] = 0x1
  2783. i++
  2784. i = encodeVarintService(dAtA, i, uint64(m.AreaV2ParentId))
  2785. }
  2786. if m.XXX_unrecognized != nil {
  2787. i += copy(dAtA[i:], m.XXX_unrecognized)
  2788. }
  2789. return i, nil
  2790. }
  2791. func (m *DelHistoryReq) Marshal() (dAtA []byte, err error) {
  2792. size := m.Size()
  2793. dAtA = make([]byte, size)
  2794. n, err := m.MarshalTo(dAtA)
  2795. if err != nil {
  2796. return nil, err
  2797. }
  2798. return dAtA[:n], nil
  2799. }
  2800. func (m *DelHistoryReq) MarshalTo(dAtA []byte) (int, error) {
  2801. var i int
  2802. _ = i
  2803. var l int
  2804. _ = l
  2805. if m.XXX_unrecognized != nil {
  2806. i += copy(dAtA[i:], m.XXX_unrecognized)
  2807. }
  2808. return i, nil
  2809. }
  2810. func (m *DelHistoryResp) Marshal() (dAtA []byte, err error) {
  2811. size := m.Size()
  2812. dAtA = make([]byte, size)
  2813. n, err := m.MarshalTo(dAtA)
  2814. if err != nil {
  2815. return nil, err
  2816. }
  2817. return dAtA[:n], nil
  2818. }
  2819. func (m *DelHistoryResp) MarshalTo(dAtA []byte) (int, error) {
  2820. var i int
  2821. _ = i
  2822. var l int
  2823. _ = l
  2824. if m.XXX_unrecognized != nil {
  2825. i += copy(dAtA[i:], m.XXX_unrecognized)
  2826. }
  2827. return i, nil
  2828. }
  2829. func (m *AnchorTaskAddRewardReq) Marshal() (dAtA []byte, err error) {
  2830. size := m.Size()
  2831. dAtA = make([]byte, size)
  2832. n, err := m.MarshalTo(dAtA)
  2833. if err != nil {
  2834. return nil, err
  2835. }
  2836. return dAtA[:n], nil
  2837. }
  2838. func (m *AnchorTaskAddRewardReq) MarshalTo(dAtA []byte) (int, error) {
  2839. var i int
  2840. _ = i
  2841. var l int
  2842. _ = l
  2843. if m.RewardId != 0 {
  2844. dAtA[i] = 0x20
  2845. i++
  2846. i = encodeVarintService(dAtA, i, uint64(m.RewardId))
  2847. }
  2848. if m.Roomid != 0 {
  2849. dAtA[i] = 0x40
  2850. i++
  2851. i = encodeVarintService(dAtA, i, uint64(m.Roomid))
  2852. }
  2853. if m.Source != 0 {
  2854. dAtA[i] = 0x48
  2855. i++
  2856. i = encodeVarintService(dAtA, i, uint64(m.Source))
  2857. }
  2858. if m.Uid != 0 {
  2859. dAtA[i] = 0x50
  2860. i++
  2861. i = encodeVarintService(dAtA, i, uint64(m.Uid))
  2862. }
  2863. if len(m.OrderId) > 0 {
  2864. dAtA[i] = 0x5a
  2865. i++
  2866. i = encodeVarintService(dAtA, i, uint64(len(m.OrderId)))
  2867. i += copy(dAtA[i:], m.OrderId)
  2868. }
  2869. if m.XXX_unrecognized != nil {
  2870. i += copy(dAtA[i:], m.XXX_unrecognized)
  2871. }
  2872. return i, nil
  2873. }
  2874. func (m *AnchorTaskAddRewardResp) Marshal() (dAtA []byte, err error) {
  2875. size := m.Size()
  2876. dAtA = make([]byte, size)
  2877. n, err := m.MarshalTo(dAtA)
  2878. if err != nil {
  2879. return nil, err
  2880. }
  2881. return dAtA[:n], nil
  2882. }
  2883. func (m *AnchorTaskAddRewardResp) MarshalTo(dAtA []byte) (int, error) {
  2884. var i int
  2885. _ = i
  2886. var l int
  2887. _ = l
  2888. if m.Result != 0 {
  2889. dAtA[i] = 0x8
  2890. i++
  2891. i = encodeVarintService(dAtA, i, uint64(m.Result))
  2892. }
  2893. if m.XXX_unrecognized != nil {
  2894. i += copy(dAtA[i:], m.XXX_unrecognized)
  2895. }
  2896. return i, nil
  2897. }
  2898. func (m *AnchorTaskMyRewardReq) Marshal() (dAtA []byte, err error) {
  2899. size := m.Size()
  2900. dAtA = make([]byte, size)
  2901. n, err := m.MarshalTo(dAtA)
  2902. if err != nil {
  2903. return nil, err
  2904. }
  2905. return dAtA[:n], nil
  2906. }
  2907. func (m *AnchorTaskMyRewardReq) MarshalTo(dAtA []byte) (int, error) {
  2908. var i int
  2909. _ = i
  2910. var l int
  2911. _ = l
  2912. if m.Page != 0 {
  2913. dAtA[i] = 0x8
  2914. i++
  2915. i = encodeVarintService(dAtA, i, uint64(m.Page))
  2916. }
  2917. if m.XXX_unrecognized != nil {
  2918. i += copy(dAtA[i:], m.XXX_unrecognized)
  2919. }
  2920. return i, nil
  2921. }
  2922. func (m *AnchorTaskMyRewardResp) Marshal() (dAtA []byte, err error) {
  2923. size := m.Size()
  2924. dAtA = make([]byte, size)
  2925. n, err := m.MarshalTo(dAtA)
  2926. if err != nil {
  2927. return nil, err
  2928. }
  2929. return dAtA[:n], nil
  2930. }
  2931. func (m *AnchorTaskMyRewardResp) MarshalTo(dAtA []byte) (int, error) {
  2932. var i int
  2933. _ = i
  2934. var l int
  2935. _ = l
  2936. if len(m.Data) > 0 {
  2937. for _, msg := range m.Data {
  2938. dAtA[i] = 0xa
  2939. i++
  2940. i = encodeVarintService(dAtA, i, uint64(msg.Size()))
  2941. n, err := msg.MarshalTo(dAtA[i:])
  2942. if err != nil {
  2943. return 0, err
  2944. }
  2945. i += n
  2946. }
  2947. }
  2948. if m.Page != nil {
  2949. dAtA[i] = 0x12
  2950. i++
  2951. i = encodeVarintService(dAtA, i, uint64(m.Page.Size()))
  2952. n1, err := m.Page.MarshalTo(dAtA[i:])
  2953. if err != nil {
  2954. return 0, err
  2955. }
  2956. i += n1
  2957. }
  2958. if m.ExpireCount != 0 {
  2959. dAtA[i] = 0x18
  2960. i++
  2961. i = encodeVarintService(dAtA, i, uint64(m.ExpireCount))
  2962. }
  2963. if m.XXX_unrecognized != nil {
  2964. i += copy(dAtA[i:], m.XXX_unrecognized)
  2965. }
  2966. return i, nil
  2967. }
  2968. func (m *AnchorTaskMyRewardResp_RewardObj) Marshal() (dAtA []byte, err error) {
  2969. size := m.Size()
  2970. dAtA = make([]byte, size)
  2971. n, err := m.MarshalTo(dAtA)
  2972. if err != nil {
  2973. return nil, err
  2974. }
  2975. return dAtA[:n], nil
  2976. }
  2977. func (m *AnchorTaskMyRewardResp_RewardObj) MarshalTo(dAtA []byte) (int, error) {
  2978. var i int
  2979. _ = i
  2980. var l int
  2981. _ = l
  2982. if m.Id != 0 {
  2983. dAtA[i] = 0x8
  2984. i++
  2985. i = encodeVarintService(dAtA, i, uint64(m.Id))
  2986. }
  2987. if m.RewardType != 0 {
  2988. dAtA[i] = 0x10
  2989. i++
  2990. i = encodeVarintService(dAtA, i, uint64(m.RewardType))
  2991. }
  2992. if m.Status != 0 {
  2993. dAtA[i] = 0x18
  2994. i++
  2995. i = encodeVarintService(dAtA, i, uint64(m.Status))
  2996. }
  2997. if m.RewardId != 0 {
  2998. dAtA[i] = 0x20
  2999. i++
  3000. i = encodeVarintService(dAtA, i, uint64(m.RewardId))
  3001. }
  3002. if len(m.Name) > 0 {
  3003. dAtA[i] = 0x2a
  3004. i++
  3005. i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
  3006. i += copy(dAtA[i:], m.Name)
  3007. }
  3008. if len(m.Icon) > 0 {
  3009. dAtA[i] = 0x32
  3010. i++
  3011. i = encodeVarintService(dAtA, i, uint64(len(m.Icon)))
  3012. i += copy(dAtA[i:], m.Icon)
  3013. }
  3014. if len(m.AchieveTime) > 0 {
  3015. dAtA[i] = 0x3a
  3016. i++
  3017. i = encodeVarintService(dAtA, i, uint64(len(m.AchieveTime)))
  3018. i += copy(dAtA[i:], m.AchieveTime)
  3019. }
  3020. if len(m.ExpireTime) > 0 {
  3021. dAtA[i] = 0x42
  3022. i++
  3023. i = encodeVarintService(dAtA, i, uint64(len(m.ExpireTime)))
  3024. i += copy(dAtA[i:], m.ExpireTime)
  3025. }
  3026. if m.Source != 0 {
  3027. dAtA[i] = 0x48
  3028. i++
  3029. i = encodeVarintService(dAtA, i, uint64(m.Source))
  3030. }
  3031. if len(m.RewardIntro) > 0 {
  3032. dAtA[i] = 0x52
  3033. i++
  3034. i = encodeVarintService(dAtA, i, uint64(len(m.RewardIntro)))
  3035. i += copy(dAtA[i:], m.RewardIntro)
  3036. }
  3037. if m.XXX_unrecognized != nil {
  3038. i += copy(dAtA[i:], m.XXX_unrecognized)
  3039. }
  3040. return i, nil
  3041. }
  3042. func (m *AnchorTaskMyRewardResp_Page) Marshal() (dAtA []byte, err error) {
  3043. size := m.Size()
  3044. dAtA = make([]byte, size)
  3045. n, err := m.MarshalTo(dAtA)
  3046. if err != nil {
  3047. return nil, err
  3048. }
  3049. return dAtA[:n], nil
  3050. }
  3051. func (m *AnchorTaskMyRewardResp_Page) MarshalTo(dAtA []byte) (int, error) {
  3052. var i int
  3053. _ = i
  3054. var l int
  3055. _ = l
  3056. if m.Page != 0 {
  3057. dAtA[i] = 0x8
  3058. i++
  3059. i = encodeVarintService(dAtA, i, uint64(m.Page))
  3060. }
  3061. if m.PageSize != 0 {
  3062. dAtA[i] = 0x10
  3063. i++
  3064. i = encodeVarintService(dAtA, i, uint64(m.PageSize))
  3065. }
  3066. if m.TotalPage != 0 {
  3067. dAtA[i] = 0x18
  3068. i++
  3069. i = encodeVarintService(dAtA, i, uint64(m.TotalPage))
  3070. }
  3071. if m.TotalCount != 0 {
  3072. dAtA[i] = 0x20
  3073. i++
  3074. i = encodeVarintService(dAtA, i, uint64(m.TotalCount))
  3075. }
  3076. if m.XXX_unrecognized != nil {
  3077. i += copy(dAtA[i:], m.XXX_unrecognized)
  3078. }
  3079. return i, nil
  3080. }
  3081. func (m *AnchorTaskUseRecordReq) Marshal() (dAtA []byte, err error) {
  3082. size := m.Size()
  3083. dAtA = make([]byte, size)
  3084. n, err := m.MarshalTo(dAtA)
  3085. if err != nil {
  3086. return nil, err
  3087. }
  3088. return dAtA[:n], nil
  3089. }
  3090. func (m *AnchorTaskUseRecordReq) MarshalTo(dAtA []byte) (int, error) {
  3091. var i int
  3092. _ = i
  3093. var l int
  3094. _ = l
  3095. if m.Page != 0 {
  3096. dAtA[i] = 0x8
  3097. i++
  3098. i = encodeVarintService(dAtA, i, uint64(m.Page))
  3099. }
  3100. if m.XXX_unrecognized != nil {
  3101. i += copy(dAtA[i:], m.XXX_unrecognized)
  3102. }
  3103. return i, nil
  3104. }
  3105. func (m *AnchorTaskUseRecordResp) Marshal() (dAtA []byte, err error) {
  3106. size := m.Size()
  3107. dAtA = make([]byte, size)
  3108. n, err := m.MarshalTo(dAtA)
  3109. if err != nil {
  3110. return nil, err
  3111. }
  3112. return dAtA[:n], nil
  3113. }
  3114. func (m *AnchorTaskUseRecordResp) MarshalTo(dAtA []byte) (int, error) {
  3115. var i int
  3116. _ = i
  3117. var l int
  3118. _ = l
  3119. if len(m.Data) > 0 {
  3120. for _, msg := range m.Data {
  3121. dAtA[i] = 0xa
  3122. i++
  3123. i = encodeVarintService(dAtA, i, uint64(msg.Size()))
  3124. n, err := msg.MarshalTo(dAtA[i:])
  3125. if err != nil {
  3126. return 0, err
  3127. }
  3128. i += n
  3129. }
  3130. }
  3131. if m.Page != nil {
  3132. dAtA[i] = 0x12
  3133. i++
  3134. i = encodeVarintService(dAtA, i, uint64(m.Page.Size()))
  3135. n2, err := m.Page.MarshalTo(dAtA[i:])
  3136. if err != nil {
  3137. return 0, err
  3138. }
  3139. i += n2
  3140. }
  3141. if m.XXX_unrecognized != nil {
  3142. i += copy(dAtA[i:], m.XXX_unrecognized)
  3143. }
  3144. return i, nil
  3145. }
  3146. func (m *AnchorTaskUseRecordResp_RewardObj) Marshal() (dAtA []byte, err error) {
  3147. size := m.Size()
  3148. dAtA = make([]byte, size)
  3149. n, err := m.MarshalTo(dAtA)
  3150. if err != nil {
  3151. return nil, err
  3152. }
  3153. return dAtA[:n], nil
  3154. }
  3155. func (m *AnchorTaskUseRecordResp_RewardObj) MarshalTo(dAtA []byte) (int, error) {
  3156. var i int
  3157. _ = i
  3158. var l int
  3159. _ = l
  3160. if m.Id != 0 {
  3161. dAtA[i] = 0x8
  3162. i++
  3163. i = encodeVarintService(dAtA, i, uint64(m.Id))
  3164. }
  3165. if m.RewardId != 0 {
  3166. dAtA[i] = 0x10
  3167. i++
  3168. i = encodeVarintService(dAtA, i, uint64(m.RewardId))
  3169. }
  3170. if m.Status != 0 {
  3171. dAtA[i] = 0x18
  3172. i++
  3173. i = encodeVarintService(dAtA, i, uint64(m.Status))
  3174. }
  3175. if len(m.Name) > 0 {
  3176. dAtA[i] = 0x22
  3177. i++
  3178. i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
  3179. i += copy(dAtA[i:], m.Name)
  3180. }
  3181. if len(m.Icon) > 0 {
  3182. dAtA[i] = 0x2a
  3183. i++
  3184. i = encodeVarintService(dAtA, i, uint64(len(m.Icon)))
  3185. i += copy(dAtA[i:], m.Icon)
  3186. }
  3187. if len(m.AchieveTime) > 0 {
  3188. dAtA[i] = 0x32
  3189. i++
  3190. i = encodeVarintService(dAtA, i, uint64(len(m.AchieveTime)))
  3191. i += copy(dAtA[i:], m.AchieveTime)
  3192. }
  3193. if len(m.ExpireTime) > 0 {
  3194. dAtA[i] = 0x3a
  3195. i++
  3196. i = encodeVarintService(dAtA, i, uint64(len(m.ExpireTime)))
  3197. i += copy(dAtA[i:], m.ExpireTime)
  3198. }
  3199. if m.Source != 0 {
  3200. dAtA[i] = 0x40
  3201. i++
  3202. i = encodeVarintService(dAtA, i, uint64(m.Source))
  3203. }
  3204. if len(m.RewardIntro) > 0 {
  3205. dAtA[i] = 0x4a
  3206. i++
  3207. i = encodeVarintService(dAtA, i, uint64(len(m.RewardIntro)))
  3208. i += copy(dAtA[i:], m.RewardIntro)
  3209. }
  3210. if len(m.UseTime) > 0 {
  3211. dAtA[i] = 0x52
  3212. i++
  3213. i = encodeVarintService(dAtA, i, uint64(len(m.UseTime)))
  3214. i += copy(dAtA[i:], m.UseTime)
  3215. }
  3216. if m.XXX_unrecognized != nil {
  3217. i += copy(dAtA[i:], m.XXX_unrecognized)
  3218. }
  3219. return i, nil
  3220. }
  3221. func (m *AnchorTaskUseRecordResp_Page) Marshal() (dAtA []byte, err error) {
  3222. size := m.Size()
  3223. dAtA = make([]byte, size)
  3224. n, err := m.MarshalTo(dAtA)
  3225. if err != nil {
  3226. return nil, err
  3227. }
  3228. return dAtA[:n], nil
  3229. }
  3230. func (m *AnchorTaskUseRecordResp_Page) MarshalTo(dAtA []byte) (int, error) {
  3231. var i int
  3232. _ = i
  3233. var l int
  3234. _ = l
  3235. if m.Page != 0 {
  3236. dAtA[i] = 0x8
  3237. i++
  3238. i = encodeVarintService(dAtA, i, uint64(m.Page))
  3239. }
  3240. if m.PageSize != 0 {
  3241. dAtA[i] = 0x10
  3242. i++
  3243. i = encodeVarintService(dAtA, i, uint64(m.PageSize))
  3244. }
  3245. if m.TotalPage != 0 {
  3246. dAtA[i] = 0x18
  3247. i++
  3248. i = encodeVarintService(dAtA, i, uint64(m.TotalPage))
  3249. }
  3250. if m.TotalCount != 0 {
  3251. dAtA[i] = 0x20
  3252. i++
  3253. i = encodeVarintService(dAtA, i, uint64(m.TotalCount))
  3254. }
  3255. if m.XXX_unrecognized != nil {
  3256. i += copy(dAtA[i:], m.XXX_unrecognized)
  3257. }
  3258. return i, nil
  3259. }
  3260. func (m *AnchorTaskUseRewardReq) Marshal() (dAtA []byte, err error) {
  3261. size := m.Size()
  3262. dAtA = make([]byte, size)
  3263. n, err := m.MarshalTo(dAtA)
  3264. if err != nil {
  3265. return nil, err
  3266. }
  3267. return dAtA[:n], nil
  3268. }
  3269. func (m *AnchorTaskUseRewardReq) MarshalTo(dAtA []byte) (int, error) {
  3270. var i int
  3271. _ = i
  3272. var l int
  3273. _ = l
  3274. if m.Id != 0 {
  3275. dAtA[i] = 0x8
  3276. i++
  3277. i = encodeVarintService(dAtA, i, uint64(m.Id))
  3278. }
  3279. if len(m.Platform) > 0 {
  3280. dAtA[i] = 0x12
  3281. i++
  3282. i = encodeVarintService(dAtA, i, uint64(len(m.Platform)))
  3283. i += copy(dAtA[i:], m.Platform)
  3284. }
  3285. if m.XXX_unrecognized != nil {
  3286. i += copy(dAtA[i:], m.XXX_unrecognized)
  3287. }
  3288. return i, nil
  3289. }
  3290. func (m *AnchorTaskUseRewardResp) Marshal() (dAtA []byte, err error) {
  3291. size := m.Size()
  3292. dAtA = make([]byte, size)
  3293. n, err := m.MarshalTo(dAtA)
  3294. if err != nil {
  3295. return nil, err
  3296. }
  3297. return dAtA[:n], nil
  3298. }
  3299. func (m *AnchorTaskUseRewardResp) MarshalTo(dAtA []byte) (int, error) {
  3300. var i int
  3301. _ = i
  3302. var l int
  3303. _ = l
  3304. if m.Result != 0 {
  3305. dAtA[i] = 0x8
  3306. i++
  3307. i = encodeVarintService(dAtA, i, uint64(m.Result))
  3308. }
  3309. if m.XXX_unrecognized != nil {
  3310. i += copy(dAtA[i:], m.XXX_unrecognized)
  3311. }
  3312. return i, nil
  3313. }
  3314. func (m *AnchorTaskIsViewedReq) Marshal() (dAtA []byte, err error) {
  3315. size := m.Size()
  3316. dAtA = make([]byte, size)
  3317. n, err := m.MarshalTo(dAtA)
  3318. if err != nil {
  3319. return nil, err
  3320. }
  3321. return dAtA[:n], nil
  3322. }
  3323. func (m *AnchorTaskIsViewedReq) MarshalTo(dAtA []byte) (int, error) {
  3324. var i int
  3325. _ = i
  3326. var l int
  3327. _ = l
  3328. if m.XXX_unrecognized != nil {
  3329. i += copy(dAtA[i:], m.XXX_unrecognized)
  3330. }
  3331. return i, nil
  3332. }
  3333. func (m *AnchorTaskIsViewedResp) Marshal() (dAtA []byte, err error) {
  3334. size := m.Size()
  3335. dAtA = make([]byte, size)
  3336. n, err := m.MarshalTo(dAtA)
  3337. if err != nil {
  3338. return nil, err
  3339. }
  3340. return dAtA[:n], nil
  3341. }
  3342. func (m *AnchorTaskIsViewedResp) MarshalTo(dAtA []byte) (int, error) {
  3343. var i int
  3344. _ = i
  3345. var l int
  3346. _ = l
  3347. if m.TaskShouldNotice != 0 {
  3348. dAtA[i] = 0x8
  3349. i++
  3350. i = encodeVarintService(dAtA, i, uint64(m.TaskShouldNotice))
  3351. }
  3352. if m.RewardShouldNotice != 0 {
  3353. dAtA[i] = 0x10
  3354. i++
  3355. i = encodeVarintService(dAtA, i, uint64(m.RewardShouldNotice))
  3356. }
  3357. if m.TaskStatus != 0 {
  3358. dAtA[i] = 0x18
  3359. i++
  3360. i = encodeVarintService(dAtA, i, uint64(m.TaskStatus))
  3361. }
  3362. if m.IsBlacked != 0 {
  3363. dAtA[i] = 0x20
  3364. i++
  3365. i = encodeVarintService(dAtA, i, uint64(m.IsBlacked))
  3366. }
  3367. if m.ShowRewardEntry != 0 {
  3368. dAtA[i] = 0x28
  3369. i++
  3370. i = encodeVarintService(dAtA, i, uint64(m.ShowRewardEntry))
  3371. }
  3372. if len(m.Url) > 0 {
  3373. dAtA[i] = 0x32
  3374. i++
  3375. i = encodeVarintService(dAtA, i, uint64(len(m.Url)))
  3376. i += copy(dAtA[i:], m.Url)
  3377. }
  3378. if m.XXX_unrecognized != nil {
  3379. i += copy(dAtA[i:], m.XXX_unrecognized)
  3380. }
  3381. return i, nil
  3382. }
  3383. func (m *CapsuleGetDetailReq) Marshal() (dAtA []byte, err error) {
  3384. size := m.Size()
  3385. dAtA = make([]byte, size)
  3386. n, err := m.MarshalTo(dAtA)
  3387. if err != nil {
  3388. return nil, err
  3389. }
  3390. return dAtA[:n], nil
  3391. }
  3392. func (m *CapsuleGetDetailReq) MarshalTo(dAtA []byte) (int, error) {
  3393. var i int
  3394. _ = i
  3395. var l int
  3396. _ = l
  3397. if len(m.From) > 0 {
  3398. dAtA[i] = 0x12
  3399. i++
  3400. i = encodeVarintService(dAtA, i, uint64(len(m.From)))
  3401. i += copy(dAtA[i:], m.From)
  3402. }
  3403. if m.XXX_unrecognized != nil {
  3404. i += copy(dAtA[i:], m.XXX_unrecognized)
  3405. }
  3406. return i, nil
  3407. }
  3408. func (m *Usage) Marshal() (dAtA []byte, err error) {
  3409. size := m.Size()
  3410. dAtA = make([]byte, size)
  3411. n, err := m.MarshalTo(dAtA)
  3412. if err != nil {
  3413. return nil, err
  3414. }
  3415. return dAtA[:n], nil
  3416. }
  3417. func (m *Usage) MarshalTo(dAtA []byte) (int, error) {
  3418. var i int
  3419. _ = i
  3420. var l int
  3421. _ = l
  3422. if len(m.Text) > 0 {
  3423. dAtA[i] = 0xa
  3424. i++
  3425. i = encodeVarintService(dAtA, i, uint64(len(m.Text)))
  3426. i += copy(dAtA[i:], m.Text)
  3427. }
  3428. if len(m.Url) > 0 {
  3429. dAtA[i] = 0x12
  3430. i++
  3431. i = encodeVarintService(dAtA, i, uint64(len(m.Url)))
  3432. i += copy(dAtA[i:], m.Url)
  3433. }
  3434. if m.XXX_unrecognized != nil {
  3435. i += copy(dAtA[i:], m.XXX_unrecognized)
  3436. }
  3437. return i, nil
  3438. }
  3439. func (m *Progress) Marshal() (dAtA []byte, err error) {
  3440. size := m.Size()
  3441. dAtA = make([]byte, size)
  3442. n, err := m.MarshalTo(dAtA)
  3443. if err != nil {
  3444. return nil, err
  3445. }
  3446. return dAtA[:n], nil
  3447. }
  3448. func (m *Progress) MarshalTo(dAtA []byte) (int, error) {
  3449. var i int
  3450. _ = i
  3451. var l int
  3452. _ = l
  3453. if m.Now != 0 {
  3454. dAtA[i] = 0x8
  3455. i++
  3456. i = encodeVarintService(dAtA, i, uint64(m.Now))
  3457. }
  3458. if m.Max != 0 {
  3459. dAtA[i] = 0x10
  3460. i++
  3461. i = encodeVarintService(dAtA, i, uint64(m.Max))
  3462. }
  3463. if m.XXX_unrecognized != nil {
  3464. i += copy(dAtA[i:], m.XXX_unrecognized)
  3465. }
  3466. return i, nil
  3467. }
  3468. func (m *CapsuleGetDetailResp) Marshal() (dAtA []byte, err error) {
  3469. size := m.Size()
  3470. dAtA = make([]byte, size)
  3471. n, err := m.MarshalTo(dAtA)
  3472. if err != nil {
  3473. return nil, err
  3474. }
  3475. return dAtA[:n], nil
  3476. }
  3477. func (m *CapsuleGetDetailResp) MarshalTo(dAtA []byte) (int, error) {
  3478. var i int
  3479. _ = i
  3480. var l int
  3481. _ = l
  3482. if m.Normal != nil {
  3483. dAtA[i] = 0xa
  3484. i++
  3485. i = encodeVarintService(dAtA, i, uint64(m.Normal.Size()))
  3486. n3, err := m.Normal.MarshalTo(dAtA[i:])
  3487. if err != nil {
  3488. return 0, err
  3489. }
  3490. i += n3
  3491. }
  3492. if m.Colorful != nil {
  3493. dAtA[i] = 0x12
  3494. i++
  3495. i = encodeVarintService(dAtA, i, uint64(m.Colorful.Size()))
  3496. n4, err := m.Colorful.MarshalTo(dAtA[i:])
  3497. if err != nil {
  3498. return 0, err
  3499. }
  3500. i += n4
  3501. }
  3502. if m.XXX_unrecognized != nil {
  3503. i += copy(dAtA[i:], m.XXX_unrecognized)
  3504. }
  3505. return i, nil
  3506. }
  3507. func (m *CapsuleGetDetailResp_Gift) Marshal() (dAtA []byte, err error) {
  3508. size := m.Size()
  3509. dAtA = make([]byte, size)
  3510. n, err := m.MarshalTo(dAtA)
  3511. if err != nil {
  3512. return nil, err
  3513. }
  3514. return dAtA[:n], nil
  3515. }
  3516. func (m *CapsuleGetDetailResp_Gift) MarshalTo(dAtA []byte) (int, error) {
  3517. var i int
  3518. _ = i
  3519. var l int
  3520. _ = l
  3521. if len(m.Name) > 0 {
  3522. dAtA[i] = 0x12
  3523. i++
  3524. i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
  3525. i += copy(dAtA[i:], m.Name)
  3526. }
  3527. if len(m.Image) > 0 {
  3528. dAtA[i] = 0x1a
  3529. i++
  3530. i = encodeVarintService(dAtA, i, uint64(len(m.Image)))
  3531. i += copy(dAtA[i:], m.Image)
  3532. }
  3533. if m.Usage != nil {
  3534. dAtA[i] = 0x22
  3535. i++
  3536. i = encodeVarintService(dAtA, i, uint64(m.Usage.Size()))
  3537. n5, err := m.Usage.MarshalTo(dAtA[i:])
  3538. if err != nil {
  3539. return 0, err
  3540. }
  3541. i += n5
  3542. }
  3543. if len(m.WebImage) > 0 {
  3544. dAtA[i] = 0x2a
  3545. i++
  3546. i = encodeVarintService(dAtA, i, uint64(len(m.WebImage)))
  3547. i += copy(dAtA[i:], m.WebImage)
  3548. }
  3549. if len(m.MobileImage) > 0 {
  3550. dAtA[i] = 0x32
  3551. i++
  3552. i = encodeVarintService(dAtA, i, uint64(len(m.MobileImage)))
  3553. i += copy(dAtA[i:], m.MobileImage)
  3554. }
  3555. if m.XXX_unrecognized != nil {
  3556. i += copy(dAtA[i:], m.XXX_unrecognized)
  3557. }
  3558. return i, nil
  3559. }
  3560. func (m *CapsuleGetDetailResp_List) Marshal() (dAtA []byte, err error) {
  3561. size := m.Size()
  3562. dAtA = make([]byte, size)
  3563. n, err := m.MarshalTo(dAtA)
  3564. if err != nil {
  3565. return nil, err
  3566. }
  3567. return dAtA[:n], nil
  3568. }
  3569. func (m *CapsuleGetDetailResp_List) MarshalTo(dAtA []byte) (int, error) {
  3570. var i int
  3571. _ = i
  3572. var l int
  3573. _ = l
  3574. if m.Num != 0 {
  3575. dAtA[i] = 0x8
  3576. i++
  3577. i = encodeVarintService(dAtA, i, uint64(m.Num))
  3578. }
  3579. if len(m.Gift) > 0 {
  3580. dAtA[i] = 0x12
  3581. i++
  3582. i = encodeVarintService(dAtA, i, uint64(len(m.Gift)))
  3583. i += copy(dAtA[i:], m.Gift)
  3584. }
  3585. if len(m.Date) > 0 {
  3586. dAtA[i] = 0x1a
  3587. i++
  3588. i = encodeVarintService(dAtA, i, uint64(len(m.Date)))
  3589. i += copy(dAtA[i:], m.Date)
  3590. }
  3591. if len(m.Name) > 0 {
  3592. dAtA[i] = 0x22
  3593. i++
  3594. i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
  3595. i += copy(dAtA[i:], m.Name)
  3596. }
  3597. if m.XXX_unrecognized != nil {
  3598. i += copy(dAtA[i:], m.XXX_unrecognized)
  3599. }
  3600. return i, nil
  3601. }
  3602. func (m *CapsuleGetDetailResp_CapsuleInfo) Marshal() (dAtA []byte, err error) {
  3603. size := m.Size()
  3604. dAtA = make([]byte, size)
  3605. n, err := m.MarshalTo(dAtA)
  3606. if err != nil {
  3607. return nil, err
  3608. }
  3609. return dAtA[:n], nil
  3610. }
  3611. func (m *CapsuleGetDetailResp_CapsuleInfo) MarshalTo(dAtA []byte) (int, error) {
  3612. var i int
  3613. _ = i
  3614. var l int
  3615. _ = l
  3616. if m.Status {
  3617. dAtA[i] = 0x8
  3618. i++
  3619. if m.Status {
  3620. dAtA[i] = 1
  3621. } else {
  3622. dAtA[i] = 0
  3623. }
  3624. i++
  3625. }
  3626. if m.Coin != 0 {
  3627. dAtA[i] = 0x10
  3628. i++
  3629. i = encodeVarintService(dAtA, i, uint64(m.Coin))
  3630. }
  3631. if m.Change != 0 {
  3632. dAtA[i] = 0x18
  3633. i++
  3634. i = encodeVarintService(dAtA, i, uint64(m.Change))
  3635. }
  3636. if m.Progress != nil {
  3637. dAtA[i] = 0x22
  3638. i++
  3639. i = encodeVarintService(dAtA, i, uint64(m.Progress.Size()))
  3640. n6, err := m.Progress.MarshalTo(dAtA[i:])
  3641. if err != nil {
  3642. return 0, err
  3643. }
  3644. i += n6
  3645. }
  3646. if len(m.Rule) > 0 {
  3647. dAtA[i] = 0x2a
  3648. i++
  3649. i = encodeVarintService(dAtA, i, uint64(len(m.Rule)))
  3650. i += copy(dAtA[i:], m.Rule)
  3651. }
  3652. if len(m.Gift) > 0 {
  3653. for _, msg := range m.Gift {
  3654. dAtA[i] = 0x32
  3655. i++
  3656. i = encodeVarintService(dAtA, i, uint64(msg.Size()))
  3657. n, err := msg.MarshalTo(dAtA[i:])
  3658. if err != nil {
  3659. return 0, err
  3660. }
  3661. i += n
  3662. }
  3663. }
  3664. if len(m.List) > 0 {
  3665. for _, msg := range m.List {
  3666. dAtA[i] = 0x3a
  3667. i++
  3668. i = encodeVarintService(dAtA, i, uint64(msg.Size()))
  3669. n, err := msg.MarshalTo(dAtA[i:])
  3670. if err != nil {
  3671. return 0, err
  3672. }
  3673. i += n
  3674. }
  3675. }
  3676. if m.XXX_unrecognized != nil {
  3677. i += copy(dAtA[i:], m.XXX_unrecognized)
  3678. }
  3679. return i, nil
  3680. }
  3681. func (m *CapsuleOpenCapsuleReq) Marshal() (dAtA []byte, err error) {
  3682. size := m.Size()
  3683. dAtA = make([]byte, size)
  3684. n, err := m.MarshalTo(dAtA)
  3685. if err != nil {
  3686. return nil, err
  3687. }
  3688. return dAtA[:n], nil
  3689. }
  3690. func (m *CapsuleOpenCapsuleReq) MarshalTo(dAtA []byte) (int, error) {
  3691. var i int
  3692. _ = i
  3693. var l int
  3694. _ = l
  3695. if len(m.Type) > 0 {
  3696. dAtA[i] = 0x12
  3697. i++
  3698. i = encodeVarintService(dAtA, i, uint64(len(m.Type)))
  3699. i += copy(dAtA[i:], m.Type)
  3700. }
  3701. if m.Count != 0 {
  3702. dAtA[i] = 0x18
  3703. i++
  3704. i = encodeVarintService(dAtA, i, uint64(m.Count))
  3705. }
  3706. if len(m.Platform) > 0 {
  3707. dAtA[i] = 0x22
  3708. i++
  3709. i = encodeVarintService(dAtA, i, uint64(len(m.Platform)))
  3710. i += copy(dAtA[i:], m.Platform)
  3711. }
  3712. if m.XXX_unrecognized != nil {
  3713. i += copy(dAtA[i:], m.XXX_unrecognized)
  3714. }
  3715. return i, nil
  3716. }
  3717. func (m *CapsuleOpenCapsuleResp) Marshal() (dAtA []byte, err error) {
  3718. size := m.Size()
  3719. dAtA = make([]byte, size)
  3720. n, err := m.MarshalTo(dAtA)
  3721. if err != nil {
  3722. return nil, err
  3723. }
  3724. return dAtA[:n], nil
  3725. }
  3726. func (m *CapsuleOpenCapsuleResp) MarshalTo(dAtA []byte) (int, error) {
  3727. var i int
  3728. _ = i
  3729. var l int
  3730. _ = l
  3731. if m.Status {
  3732. dAtA[i] = 0x8
  3733. i++
  3734. if m.Status {
  3735. dAtA[i] = 1
  3736. } else {
  3737. dAtA[i] = 0
  3738. }
  3739. i++
  3740. }
  3741. if len(m.Text) > 0 {
  3742. for _, s := range m.Text {
  3743. dAtA[i] = 0x12
  3744. i++
  3745. l = len(s)
  3746. for l >= 1<<7 {
  3747. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3748. l >>= 7
  3749. i++
  3750. }
  3751. dAtA[i] = uint8(l)
  3752. i++
  3753. i += copy(dAtA[i:], s)
  3754. }
  3755. }
  3756. if m.IsEntity {
  3757. dAtA[i] = 0x18
  3758. i++
  3759. if m.IsEntity {
  3760. dAtA[i] = 1
  3761. } else {
  3762. dAtA[i] = 0
  3763. }
  3764. i++
  3765. }
  3766. if m.Info != nil {
  3767. dAtA[i] = 0x22
  3768. i++
  3769. i = encodeVarintService(dAtA, i, uint64(m.Info.Size()))
  3770. n7, err := m.Info.MarshalTo(dAtA[i:])
  3771. if err != nil {
  3772. return 0, err
  3773. }
  3774. i += n7
  3775. }
  3776. if len(m.ShowTitle) > 0 {
  3777. dAtA[i] = 0x2a
  3778. i++
  3779. i = encodeVarintService(dAtA, i, uint64(len(m.ShowTitle)))
  3780. i += copy(dAtA[i:], m.ShowTitle)
  3781. }
  3782. if len(m.Awards) > 0 {
  3783. for _, msg := range m.Awards {
  3784. dAtA[i] = 0x32
  3785. i++
  3786. i = encodeVarintService(dAtA, i, uint64(msg.Size()))
  3787. n, err := msg.MarshalTo(dAtA[i:])
  3788. if err != nil {
  3789. return 0, err
  3790. }
  3791. i += n
  3792. }
  3793. }
  3794. if m.XXX_unrecognized != nil {
  3795. i += copy(dAtA[i:], m.XXX_unrecognized)
  3796. }
  3797. return i, nil
  3798. }
  3799. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) Marshal() (dAtA []byte, err error) {
  3800. size := m.Size()
  3801. dAtA = make([]byte, size)
  3802. n, err := m.MarshalTo(dAtA)
  3803. if err != nil {
  3804. return nil, err
  3805. }
  3806. return dAtA[:n], nil
  3807. }
  3808. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) MarshalTo(dAtA []byte) (int, error) {
  3809. var i int
  3810. _ = i
  3811. var l int
  3812. _ = l
  3813. if m.Coin != 0 {
  3814. dAtA[i] = 0x8
  3815. i++
  3816. i = encodeVarintService(dAtA, i, uint64(m.Coin))
  3817. }
  3818. if m.Change != 0 {
  3819. dAtA[i] = 0x10
  3820. i++
  3821. i = encodeVarintService(dAtA, i, uint64(m.Change))
  3822. }
  3823. if m.Progress != nil {
  3824. dAtA[i] = 0x1a
  3825. i++
  3826. i = encodeVarintService(dAtA, i, uint64(m.Progress.Size()))
  3827. n8, err := m.Progress.MarshalTo(dAtA[i:])
  3828. if err != nil {
  3829. return 0, err
  3830. }
  3831. i += n8
  3832. }
  3833. if m.XXX_unrecognized != nil {
  3834. i += copy(dAtA[i:], m.XXX_unrecognized)
  3835. }
  3836. return i, nil
  3837. }
  3838. func (m *CapsuleOpenCapsuleResp_Info) Marshal() (dAtA []byte, err error) {
  3839. size := m.Size()
  3840. dAtA = make([]byte, size)
  3841. n, err := m.MarshalTo(dAtA)
  3842. if err != nil {
  3843. return nil, err
  3844. }
  3845. return dAtA[:n], nil
  3846. }
  3847. func (m *CapsuleOpenCapsuleResp_Info) MarshalTo(dAtA []byte) (int, error) {
  3848. var i int
  3849. _ = i
  3850. var l int
  3851. _ = l
  3852. if m.Normal != nil {
  3853. dAtA[i] = 0xa
  3854. i++
  3855. i = encodeVarintService(dAtA, i, uint64(m.Normal.Size()))
  3856. n9, err := m.Normal.MarshalTo(dAtA[i:])
  3857. if err != nil {
  3858. return 0, err
  3859. }
  3860. i += n9
  3861. }
  3862. if m.Colorful != nil {
  3863. dAtA[i] = 0x12
  3864. i++
  3865. i = encodeVarintService(dAtA, i, uint64(m.Colorful.Size()))
  3866. n10, err := m.Colorful.MarshalTo(dAtA[i:])
  3867. if err != nil {
  3868. return 0, err
  3869. }
  3870. i += n10
  3871. }
  3872. if m.XXX_unrecognized != nil {
  3873. i += copy(dAtA[i:], m.XXX_unrecognized)
  3874. }
  3875. return i, nil
  3876. }
  3877. func (m *CapsuleOpenCapsuleResp_Award) Marshal() (dAtA []byte, err error) {
  3878. size := m.Size()
  3879. dAtA = make([]byte, size)
  3880. n, err := m.MarshalTo(dAtA)
  3881. if err != nil {
  3882. return nil, err
  3883. }
  3884. return dAtA[:n], nil
  3885. }
  3886. func (m *CapsuleOpenCapsuleResp_Award) MarshalTo(dAtA []byte) (int, error) {
  3887. var i int
  3888. _ = i
  3889. var l int
  3890. _ = l
  3891. if len(m.Name) > 0 {
  3892. dAtA[i] = 0x12
  3893. i++
  3894. i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
  3895. i += copy(dAtA[i:], m.Name)
  3896. }
  3897. if m.Num != 0 {
  3898. dAtA[i] = 0x18
  3899. i++
  3900. i = encodeVarintService(dAtA, i, uint64(m.Num))
  3901. }
  3902. if len(m.Text) > 0 {
  3903. dAtA[i] = 0x22
  3904. i++
  3905. i = encodeVarintService(dAtA, i, uint64(len(m.Text)))
  3906. i += copy(dAtA[i:], m.Text)
  3907. }
  3908. if len(m.Img) > 0 {
  3909. dAtA[i] = 0x2a
  3910. i++
  3911. i = encodeVarintService(dAtA, i, uint64(len(m.Img)))
  3912. i += copy(dAtA[i:], m.Img)
  3913. }
  3914. if m.Usage != nil {
  3915. dAtA[i] = 0x32
  3916. i++
  3917. i = encodeVarintService(dAtA, i, uint64(m.Usage.Size()))
  3918. n11, err := m.Usage.MarshalTo(dAtA[i:])
  3919. if err != nil {
  3920. return 0, err
  3921. }
  3922. i += n11
  3923. }
  3924. if len(m.WebImage) > 0 {
  3925. dAtA[i] = 0x3a
  3926. i++
  3927. i = encodeVarintService(dAtA, i, uint64(len(m.WebImage)))
  3928. i += copy(dAtA[i:], m.WebImage)
  3929. }
  3930. if len(m.MobileImage) > 0 {
  3931. dAtA[i] = 0x42
  3932. i++
  3933. i = encodeVarintService(dAtA, i, uint64(len(m.MobileImage)))
  3934. i += copy(dAtA[i:], m.MobileImage)
  3935. }
  3936. if m.XXX_unrecognized != nil {
  3937. i += copy(dAtA[i:], m.XXX_unrecognized)
  3938. }
  3939. return i, nil
  3940. }
  3941. func (m *CapsuleGetCapsuleInfoReq) Marshal() (dAtA []byte, err error) {
  3942. size := m.Size()
  3943. dAtA = make([]byte, size)
  3944. n, err := m.MarshalTo(dAtA)
  3945. if err != nil {
  3946. return nil, err
  3947. }
  3948. return dAtA[:n], nil
  3949. }
  3950. func (m *CapsuleGetCapsuleInfoReq) MarshalTo(dAtA []byte) (int, error) {
  3951. var i int
  3952. _ = i
  3953. var l int
  3954. _ = l
  3955. if len(m.Type) > 0 {
  3956. dAtA[i] = 0x12
  3957. i++
  3958. i = encodeVarintService(dAtA, i, uint64(len(m.Type)))
  3959. i += copy(dAtA[i:], m.Type)
  3960. }
  3961. if len(m.From) > 0 {
  3962. dAtA[i] = 0x1a
  3963. i++
  3964. i = encodeVarintService(dAtA, i, uint64(len(m.From)))
  3965. i += copy(dAtA[i:], m.From)
  3966. }
  3967. if m.XXX_unrecognized != nil {
  3968. i += copy(dAtA[i:], m.XXX_unrecognized)
  3969. }
  3970. return i, nil
  3971. }
  3972. func (m *CapsuleGetCapsuleInfoResp) Marshal() (dAtA []byte, err error) {
  3973. size := m.Size()
  3974. dAtA = make([]byte, size)
  3975. n, err := m.MarshalTo(dAtA)
  3976. if err != nil {
  3977. return nil, err
  3978. }
  3979. return dAtA[:n], nil
  3980. }
  3981. func (m *CapsuleGetCapsuleInfoResp) MarshalTo(dAtA []byte) (int, error) {
  3982. var i int
  3983. _ = i
  3984. var l int
  3985. _ = l
  3986. if m.Coin != 0 {
  3987. dAtA[i] = 0x8
  3988. i++
  3989. i = encodeVarintService(dAtA, i, uint64(m.Coin))
  3990. }
  3991. if len(m.Rule) > 0 {
  3992. dAtA[i] = 0x12
  3993. i++
  3994. i = encodeVarintService(dAtA, i, uint64(len(m.Rule)))
  3995. i += copy(dAtA[i:], m.Rule)
  3996. }
  3997. if len(m.GiftList) > 0 {
  3998. for _, msg := range m.GiftList {
  3999. dAtA[i] = 0x1a
  4000. i++
  4001. i = encodeVarintService(dAtA, i, uint64(msg.Size()))
  4002. n, err := msg.MarshalTo(dAtA[i:])
  4003. if err != nil {
  4004. return 0, err
  4005. }
  4006. i += n
  4007. }
  4008. }
  4009. if len(m.GiftFilter) > 0 {
  4010. for _, msg := range m.GiftFilter {
  4011. dAtA[i] = 0x22
  4012. i++
  4013. i = encodeVarintService(dAtA, i, uint64(msg.Size()))
  4014. n, err := msg.MarshalTo(dAtA[i:])
  4015. if err != nil {
  4016. return 0, err
  4017. }
  4018. i += n
  4019. }
  4020. }
  4021. if m.XXX_unrecognized != nil {
  4022. i += copy(dAtA[i:], m.XXX_unrecognized)
  4023. }
  4024. return i, nil
  4025. }
  4026. func (m *CapsuleGetCapsuleInfoResp_GiftList) Marshal() (dAtA []byte, err error) {
  4027. size := m.Size()
  4028. dAtA = make([]byte, size)
  4029. n, err := m.MarshalTo(dAtA)
  4030. if err != nil {
  4031. return nil, err
  4032. }
  4033. return dAtA[:n], nil
  4034. }
  4035. func (m *CapsuleGetCapsuleInfoResp_GiftList) MarshalTo(dAtA []byte) (int, error) {
  4036. var i int
  4037. _ = i
  4038. var l int
  4039. _ = l
  4040. if m.Id != 0 {
  4041. dAtA[i] = 0x8
  4042. i++
  4043. i = encodeVarintService(dAtA, i, uint64(m.Id))
  4044. }
  4045. if len(m.Name) > 0 {
  4046. dAtA[i] = 0x12
  4047. i++
  4048. i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
  4049. i += copy(dAtA[i:], m.Name)
  4050. }
  4051. if m.Num != 0 {
  4052. dAtA[i] = 0x18
  4053. i++
  4054. i = encodeVarintService(dAtA, i, uint64(m.Num))
  4055. }
  4056. if len(m.WebUrl) > 0 {
  4057. dAtA[i] = 0x2a
  4058. i++
  4059. i = encodeVarintService(dAtA, i, uint64(len(m.WebUrl)))
  4060. i += copy(dAtA[i:], m.WebUrl)
  4061. }
  4062. if len(m.MobileUrl) > 0 {
  4063. dAtA[i] = 0x32
  4064. i++
  4065. i = encodeVarintService(dAtA, i, uint64(len(m.MobileUrl)))
  4066. i += copy(dAtA[i:], m.MobileUrl)
  4067. }
  4068. if m.Usage != nil {
  4069. dAtA[i] = 0x3a
  4070. i++
  4071. i = encodeVarintService(dAtA, i, uint64(m.Usage.Size()))
  4072. n12, err := m.Usage.MarshalTo(dAtA[i:])
  4073. if err != nil {
  4074. return 0, err
  4075. }
  4076. i += n12
  4077. }
  4078. if m.Type != 0 {
  4079. dAtA[i] = 0x40
  4080. i++
  4081. i = encodeVarintService(dAtA, i, uint64(m.Type))
  4082. }
  4083. if len(m.Expire) > 0 {
  4084. dAtA[i] = 0x4a
  4085. i++
  4086. i = encodeVarintService(dAtA, i, uint64(len(m.Expire)))
  4087. i += copy(dAtA[i:], m.Expire)
  4088. }
  4089. if m.XXX_unrecognized != nil {
  4090. i += copy(dAtA[i:], m.XXX_unrecognized)
  4091. }
  4092. return i, nil
  4093. }
  4094. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) Marshal() (dAtA []byte, err error) {
  4095. size := m.Size()
  4096. dAtA = make([]byte, size)
  4097. n, err := m.MarshalTo(dAtA)
  4098. if err != nil {
  4099. return nil, err
  4100. }
  4101. return dAtA[:n], nil
  4102. }
  4103. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) MarshalTo(dAtA []byte) (int, error) {
  4104. var i int
  4105. _ = i
  4106. var l int
  4107. _ = l
  4108. if m.Id != 0 {
  4109. dAtA[i] = 0x8
  4110. i++
  4111. i = encodeVarintService(dAtA, i, uint64(m.Id))
  4112. }
  4113. if len(m.Name) > 0 {
  4114. dAtA[i] = 0x12
  4115. i++
  4116. i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
  4117. i += copy(dAtA[i:], m.Name)
  4118. }
  4119. if len(m.WebUrl) > 0 {
  4120. dAtA[i] = 0x1a
  4121. i++
  4122. i = encodeVarintService(dAtA, i, uint64(len(m.WebUrl)))
  4123. i += copy(dAtA[i:], m.WebUrl)
  4124. }
  4125. if len(m.MobileUrl) > 0 {
  4126. dAtA[i] = 0x22
  4127. i++
  4128. i = encodeVarintService(dAtA, i, uint64(len(m.MobileUrl)))
  4129. i += copy(dAtA[i:], m.MobileUrl)
  4130. }
  4131. if m.Usage != nil {
  4132. dAtA[i] = 0x2a
  4133. i++
  4134. i = encodeVarintService(dAtA, i, uint64(m.Usage.Size()))
  4135. n13, err := m.Usage.MarshalTo(dAtA[i:])
  4136. if err != nil {
  4137. return 0, err
  4138. }
  4139. i += n13
  4140. }
  4141. if m.XXX_unrecognized != nil {
  4142. i += copy(dAtA[i:], m.XXX_unrecognized)
  4143. }
  4144. return i, nil
  4145. }
  4146. func (m *CapsuleOpenCapsuleByTypeReq) Marshal() (dAtA []byte, err error) {
  4147. size := m.Size()
  4148. dAtA = make([]byte, size)
  4149. n, err := m.MarshalTo(dAtA)
  4150. if err != nil {
  4151. return nil, err
  4152. }
  4153. return dAtA[:n], nil
  4154. }
  4155. func (m *CapsuleOpenCapsuleByTypeReq) MarshalTo(dAtA []byte) (int, error) {
  4156. var i int
  4157. _ = i
  4158. var l int
  4159. _ = l
  4160. if len(m.Type) > 0 {
  4161. dAtA[i] = 0x12
  4162. i++
  4163. i = encodeVarintService(dAtA, i, uint64(len(m.Type)))
  4164. i += copy(dAtA[i:], m.Type)
  4165. }
  4166. if m.Count != 0 {
  4167. dAtA[i] = 0x18
  4168. i++
  4169. i = encodeVarintService(dAtA, i, uint64(m.Count))
  4170. }
  4171. if len(m.Platform) > 0 {
  4172. dAtA[i] = 0x22
  4173. i++
  4174. i = encodeVarintService(dAtA, i, uint64(len(m.Platform)))
  4175. i += copy(dAtA[i:], m.Platform)
  4176. }
  4177. if m.XXX_unrecognized != nil {
  4178. i += copy(dAtA[i:], m.XXX_unrecognized)
  4179. }
  4180. return i, nil
  4181. }
  4182. func (m *CapsuleOpenCapsuleByTypeResp) Marshal() (dAtA []byte, err error) {
  4183. size := m.Size()
  4184. dAtA = make([]byte, size)
  4185. n, err := m.MarshalTo(dAtA)
  4186. if err != nil {
  4187. return nil, err
  4188. }
  4189. return dAtA[:n], nil
  4190. }
  4191. func (m *CapsuleOpenCapsuleByTypeResp) MarshalTo(dAtA []byte) (int, error) {
  4192. var i int
  4193. _ = i
  4194. var l int
  4195. _ = l
  4196. if m.Status {
  4197. dAtA[i] = 0x8
  4198. i++
  4199. if m.Status {
  4200. dAtA[i] = 1
  4201. } else {
  4202. dAtA[i] = 0
  4203. }
  4204. i++
  4205. }
  4206. if m.IsEntity {
  4207. dAtA[i] = 0x10
  4208. i++
  4209. if m.IsEntity {
  4210. dAtA[i] = 1
  4211. } else {
  4212. dAtA[i] = 0
  4213. }
  4214. i++
  4215. }
  4216. if m.Info != nil {
  4217. dAtA[i] = 0x1a
  4218. i++
  4219. i = encodeVarintService(dAtA, i, uint64(m.Info.Size()))
  4220. n14, err := m.Info.MarshalTo(dAtA[i:])
  4221. if err != nil {
  4222. return 0, err
  4223. }
  4224. i += n14
  4225. }
  4226. if len(m.Awards) > 0 {
  4227. for _, msg := range m.Awards {
  4228. dAtA[i] = 0x22
  4229. i++
  4230. i = encodeVarintService(dAtA, i, uint64(msg.Size()))
  4231. n, err := msg.MarshalTo(dAtA[i:])
  4232. if err != nil {
  4233. return 0, err
  4234. }
  4235. i += n
  4236. }
  4237. }
  4238. if len(m.Text) > 0 {
  4239. for _, s := range m.Text {
  4240. dAtA[i] = 0x2a
  4241. i++
  4242. l = len(s)
  4243. for l >= 1<<7 {
  4244. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  4245. l >>= 7
  4246. i++
  4247. }
  4248. dAtA[i] = uint8(l)
  4249. i++
  4250. i += copy(dAtA[i:], s)
  4251. }
  4252. }
  4253. if m.XXX_unrecognized != nil {
  4254. i += copy(dAtA[i:], m.XXX_unrecognized)
  4255. }
  4256. return i, nil
  4257. }
  4258. func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) Marshal() (dAtA []byte, err error) {
  4259. size := m.Size()
  4260. dAtA = make([]byte, size)
  4261. n, err := m.MarshalTo(dAtA)
  4262. if err != nil {
  4263. return nil, err
  4264. }
  4265. return dAtA[:n], nil
  4266. }
  4267. func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) MarshalTo(dAtA []byte) (int, error) {
  4268. var i int
  4269. _ = i
  4270. var l int
  4271. _ = l
  4272. if m.Coin != 0 {
  4273. dAtA[i] = 0x8
  4274. i++
  4275. i = encodeVarintService(dAtA, i, uint64(m.Coin))
  4276. }
  4277. if m.XXX_unrecognized != nil {
  4278. i += copy(dAtA[i:], m.XXX_unrecognized)
  4279. }
  4280. return i, nil
  4281. }
  4282. func (m *CapsuleOpenCapsuleByTypeResp_Award) Marshal() (dAtA []byte, err error) {
  4283. size := m.Size()
  4284. dAtA = make([]byte, size)
  4285. n, err := m.MarshalTo(dAtA)
  4286. if err != nil {
  4287. return nil, err
  4288. }
  4289. return dAtA[:n], nil
  4290. }
  4291. func (m *CapsuleOpenCapsuleByTypeResp_Award) MarshalTo(dAtA []byte) (int, error) {
  4292. var i int
  4293. _ = i
  4294. var l int
  4295. _ = l
  4296. if m.Id != 0 {
  4297. dAtA[i] = 0x8
  4298. i++
  4299. i = encodeVarintService(dAtA, i, uint64(m.Id))
  4300. }
  4301. if len(m.Name) > 0 {
  4302. dAtA[i] = 0x12
  4303. i++
  4304. i = encodeVarintService(dAtA, i, uint64(len(m.Name)))
  4305. i += copy(dAtA[i:], m.Name)
  4306. }
  4307. if m.Num != 0 {
  4308. dAtA[i] = 0x18
  4309. i++
  4310. i = encodeVarintService(dAtA, i, uint64(m.Num))
  4311. }
  4312. if len(m.Text) > 0 {
  4313. dAtA[i] = 0x22
  4314. i++
  4315. i = encodeVarintService(dAtA, i, uint64(len(m.Text)))
  4316. i += copy(dAtA[i:], m.Text)
  4317. }
  4318. if len(m.WebUrl) > 0 {
  4319. dAtA[i] = 0x2a
  4320. i++
  4321. i = encodeVarintService(dAtA, i, uint64(len(m.WebUrl)))
  4322. i += copy(dAtA[i:], m.WebUrl)
  4323. }
  4324. if len(m.MobileUrl) > 0 {
  4325. dAtA[i] = 0x32
  4326. i++
  4327. i = encodeVarintService(dAtA, i, uint64(len(m.MobileUrl)))
  4328. i += copy(dAtA[i:], m.MobileUrl)
  4329. }
  4330. if m.Usage != nil {
  4331. dAtA[i] = 0x3a
  4332. i++
  4333. i = encodeVarintService(dAtA, i, uint64(m.Usage.Size()))
  4334. n15, err := m.Usage.MarshalTo(dAtA[i:])
  4335. if err != nil {
  4336. return 0, err
  4337. }
  4338. i += n15
  4339. }
  4340. if m.Type != 0 {
  4341. dAtA[i] = 0x40
  4342. i++
  4343. i = encodeVarintService(dAtA, i, uint64(m.Type))
  4344. }
  4345. if len(m.Expire) > 0 {
  4346. dAtA[i] = 0x4a
  4347. i++
  4348. i = encodeVarintService(dAtA, i, uint64(len(m.Expire)))
  4349. i += copy(dAtA[i:], m.Expire)
  4350. }
  4351. if m.XXX_unrecognized != nil {
  4352. i += copy(dAtA[i:], m.XXX_unrecognized)
  4353. }
  4354. return i, nil
  4355. }
  4356. func encodeVarintService(dAtA []byte, offset int, v uint64) int {
  4357. for v >= 1<<7 {
  4358. dAtA[offset] = uint8(v&0x7f | 0x80)
  4359. v >>= 7
  4360. offset++
  4361. }
  4362. dAtA[offset] = uint8(v)
  4363. return offset + 1
  4364. }
  4365. func (m *GetHistoryReq) Size() (n int) {
  4366. if m == nil {
  4367. return 0
  4368. }
  4369. var l int
  4370. _ = l
  4371. if m.XXX_unrecognized != nil {
  4372. n += len(m.XXX_unrecognized)
  4373. }
  4374. return n
  4375. }
  4376. func (m *GetHistoryResp) Size() (n int) {
  4377. if m == nil {
  4378. return 0
  4379. }
  4380. var l int
  4381. _ = l
  4382. l = len(m.Title)
  4383. if l > 0 {
  4384. n += 1 + l + sovService(uint64(l))
  4385. }
  4386. if m.Count != 0 {
  4387. n += 1 + sovService(uint64(m.Count))
  4388. }
  4389. if len(m.List) > 0 {
  4390. for _, e := range m.List {
  4391. l = e.Size()
  4392. n += 1 + l + sovService(uint64(l))
  4393. }
  4394. }
  4395. if m.XXX_unrecognized != nil {
  4396. n += len(m.XXX_unrecognized)
  4397. }
  4398. return n
  4399. }
  4400. func (m *GetHistoryResp_List) Size() (n int) {
  4401. if m == nil {
  4402. return 0
  4403. }
  4404. var l int
  4405. _ = l
  4406. if m.Roomid != 0 {
  4407. n += 1 + sovService(uint64(m.Roomid))
  4408. }
  4409. if m.Uid != 0 {
  4410. n += 1 + sovService(uint64(m.Uid))
  4411. }
  4412. l = len(m.Uname)
  4413. if l > 0 {
  4414. n += 1 + l + sovService(uint64(l))
  4415. }
  4416. l = len(m.UserCover)
  4417. if l > 0 {
  4418. n += 1 + l + sovService(uint64(l))
  4419. }
  4420. l = len(m.Title)
  4421. if l > 0 {
  4422. n += 1 + l + sovService(uint64(l))
  4423. }
  4424. l = len(m.Face)
  4425. if l > 0 {
  4426. n += 1 + l + sovService(uint64(l))
  4427. }
  4428. l = len(m.Tags)
  4429. if l > 0 {
  4430. n += 1 + l + sovService(uint64(l))
  4431. }
  4432. if m.LiveStatus != 0 {
  4433. n += 1 + sovService(uint64(m.LiveStatus))
  4434. }
  4435. if m.FansNum != 0 {
  4436. n += 1 + sovService(uint64(m.FansNum))
  4437. }
  4438. if m.IsAttention != 0 {
  4439. n += 1 + sovService(uint64(m.IsAttention))
  4440. }
  4441. if m.AreaV2Id != 0 {
  4442. n += 1 + sovService(uint64(m.AreaV2Id))
  4443. }
  4444. l = len(m.AreaV2Name)
  4445. if l > 0 {
  4446. n += 1 + l + sovService(uint64(l))
  4447. }
  4448. l = len(m.AreaV2ParentName)
  4449. if l > 0 {
  4450. n += 1 + l + sovService(uint64(l))
  4451. }
  4452. if m.AreaV2ParentId != 0 {
  4453. n += 2 + sovService(uint64(m.AreaV2ParentId))
  4454. }
  4455. if m.XXX_unrecognized != nil {
  4456. n += len(m.XXX_unrecognized)
  4457. }
  4458. return n
  4459. }
  4460. func (m *DelHistoryReq) Size() (n int) {
  4461. if m == nil {
  4462. return 0
  4463. }
  4464. var l int
  4465. _ = l
  4466. if m.XXX_unrecognized != nil {
  4467. n += len(m.XXX_unrecognized)
  4468. }
  4469. return n
  4470. }
  4471. func (m *DelHistoryResp) Size() (n int) {
  4472. if m == nil {
  4473. return 0
  4474. }
  4475. var l int
  4476. _ = l
  4477. if m.XXX_unrecognized != nil {
  4478. n += len(m.XXX_unrecognized)
  4479. }
  4480. return n
  4481. }
  4482. func (m *AnchorTaskAddRewardReq) Size() (n int) {
  4483. if m == nil {
  4484. return 0
  4485. }
  4486. var l int
  4487. _ = l
  4488. if m.RewardId != 0 {
  4489. n += 1 + sovService(uint64(m.RewardId))
  4490. }
  4491. if m.Roomid != 0 {
  4492. n += 1 + sovService(uint64(m.Roomid))
  4493. }
  4494. if m.Source != 0 {
  4495. n += 1 + sovService(uint64(m.Source))
  4496. }
  4497. if m.Uid != 0 {
  4498. n += 1 + sovService(uint64(m.Uid))
  4499. }
  4500. l = len(m.OrderId)
  4501. if l > 0 {
  4502. n += 1 + l + sovService(uint64(l))
  4503. }
  4504. if m.XXX_unrecognized != nil {
  4505. n += len(m.XXX_unrecognized)
  4506. }
  4507. return n
  4508. }
  4509. func (m *AnchorTaskAddRewardResp) Size() (n int) {
  4510. if m == nil {
  4511. return 0
  4512. }
  4513. var l int
  4514. _ = l
  4515. if m.Result != 0 {
  4516. n += 1 + sovService(uint64(m.Result))
  4517. }
  4518. if m.XXX_unrecognized != nil {
  4519. n += len(m.XXX_unrecognized)
  4520. }
  4521. return n
  4522. }
  4523. func (m *AnchorTaskMyRewardReq) Size() (n int) {
  4524. if m == nil {
  4525. return 0
  4526. }
  4527. var l int
  4528. _ = l
  4529. if m.Page != 0 {
  4530. n += 1 + sovService(uint64(m.Page))
  4531. }
  4532. if m.XXX_unrecognized != nil {
  4533. n += len(m.XXX_unrecognized)
  4534. }
  4535. return n
  4536. }
  4537. func (m *AnchorTaskMyRewardResp) Size() (n int) {
  4538. if m == nil {
  4539. return 0
  4540. }
  4541. var l int
  4542. _ = l
  4543. if len(m.Data) > 0 {
  4544. for _, e := range m.Data {
  4545. l = e.Size()
  4546. n += 1 + l + sovService(uint64(l))
  4547. }
  4548. }
  4549. if m.Page != nil {
  4550. l = m.Page.Size()
  4551. n += 1 + l + sovService(uint64(l))
  4552. }
  4553. if m.ExpireCount != 0 {
  4554. n += 1 + sovService(uint64(m.ExpireCount))
  4555. }
  4556. if m.XXX_unrecognized != nil {
  4557. n += len(m.XXX_unrecognized)
  4558. }
  4559. return n
  4560. }
  4561. func (m *AnchorTaskMyRewardResp_RewardObj) Size() (n int) {
  4562. if m == nil {
  4563. return 0
  4564. }
  4565. var l int
  4566. _ = l
  4567. if m.Id != 0 {
  4568. n += 1 + sovService(uint64(m.Id))
  4569. }
  4570. if m.RewardType != 0 {
  4571. n += 1 + sovService(uint64(m.RewardType))
  4572. }
  4573. if m.Status != 0 {
  4574. n += 1 + sovService(uint64(m.Status))
  4575. }
  4576. if m.RewardId != 0 {
  4577. n += 1 + sovService(uint64(m.RewardId))
  4578. }
  4579. l = len(m.Name)
  4580. if l > 0 {
  4581. n += 1 + l + sovService(uint64(l))
  4582. }
  4583. l = len(m.Icon)
  4584. if l > 0 {
  4585. n += 1 + l + sovService(uint64(l))
  4586. }
  4587. l = len(m.AchieveTime)
  4588. if l > 0 {
  4589. n += 1 + l + sovService(uint64(l))
  4590. }
  4591. l = len(m.ExpireTime)
  4592. if l > 0 {
  4593. n += 1 + l + sovService(uint64(l))
  4594. }
  4595. if m.Source != 0 {
  4596. n += 1 + sovService(uint64(m.Source))
  4597. }
  4598. l = len(m.RewardIntro)
  4599. if l > 0 {
  4600. n += 1 + l + sovService(uint64(l))
  4601. }
  4602. if m.XXX_unrecognized != nil {
  4603. n += len(m.XXX_unrecognized)
  4604. }
  4605. return n
  4606. }
  4607. func (m *AnchorTaskMyRewardResp_Page) Size() (n int) {
  4608. if m == nil {
  4609. return 0
  4610. }
  4611. var l int
  4612. _ = l
  4613. if m.Page != 0 {
  4614. n += 1 + sovService(uint64(m.Page))
  4615. }
  4616. if m.PageSize != 0 {
  4617. n += 1 + sovService(uint64(m.PageSize))
  4618. }
  4619. if m.TotalPage != 0 {
  4620. n += 1 + sovService(uint64(m.TotalPage))
  4621. }
  4622. if m.TotalCount != 0 {
  4623. n += 1 + sovService(uint64(m.TotalCount))
  4624. }
  4625. if m.XXX_unrecognized != nil {
  4626. n += len(m.XXX_unrecognized)
  4627. }
  4628. return n
  4629. }
  4630. func (m *AnchorTaskUseRecordReq) Size() (n int) {
  4631. if m == nil {
  4632. return 0
  4633. }
  4634. var l int
  4635. _ = l
  4636. if m.Page != 0 {
  4637. n += 1 + sovService(uint64(m.Page))
  4638. }
  4639. if m.XXX_unrecognized != nil {
  4640. n += len(m.XXX_unrecognized)
  4641. }
  4642. return n
  4643. }
  4644. func (m *AnchorTaskUseRecordResp) Size() (n int) {
  4645. if m == nil {
  4646. return 0
  4647. }
  4648. var l int
  4649. _ = l
  4650. if len(m.Data) > 0 {
  4651. for _, e := range m.Data {
  4652. l = e.Size()
  4653. n += 1 + l + sovService(uint64(l))
  4654. }
  4655. }
  4656. if m.Page != nil {
  4657. l = m.Page.Size()
  4658. n += 1 + l + sovService(uint64(l))
  4659. }
  4660. if m.XXX_unrecognized != nil {
  4661. n += len(m.XXX_unrecognized)
  4662. }
  4663. return n
  4664. }
  4665. func (m *AnchorTaskUseRecordResp_RewardObj) Size() (n int) {
  4666. if m == nil {
  4667. return 0
  4668. }
  4669. var l int
  4670. _ = l
  4671. if m.Id != 0 {
  4672. n += 1 + sovService(uint64(m.Id))
  4673. }
  4674. if m.RewardId != 0 {
  4675. n += 1 + sovService(uint64(m.RewardId))
  4676. }
  4677. if m.Status != 0 {
  4678. n += 1 + sovService(uint64(m.Status))
  4679. }
  4680. l = len(m.Name)
  4681. if l > 0 {
  4682. n += 1 + l + sovService(uint64(l))
  4683. }
  4684. l = len(m.Icon)
  4685. if l > 0 {
  4686. n += 1 + l + sovService(uint64(l))
  4687. }
  4688. l = len(m.AchieveTime)
  4689. if l > 0 {
  4690. n += 1 + l + sovService(uint64(l))
  4691. }
  4692. l = len(m.ExpireTime)
  4693. if l > 0 {
  4694. n += 1 + l + sovService(uint64(l))
  4695. }
  4696. if m.Source != 0 {
  4697. n += 1 + sovService(uint64(m.Source))
  4698. }
  4699. l = len(m.RewardIntro)
  4700. if l > 0 {
  4701. n += 1 + l + sovService(uint64(l))
  4702. }
  4703. l = len(m.UseTime)
  4704. if l > 0 {
  4705. n += 1 + l + sovService(uint64(l))
  4706. }
  4707. if m.XXX_unrecognized != nil {
  4708. n += len(m.XXX_unrecognized)
  4709. }
  4710. return n
  4711. }
  4712. func (m *AnchorTaskUseRecordResp_Page) Size() (n int) {
  4713. if m == nil {
  4714. return 0
  4715. }
  4716. var l int
  4717. _ = l
  4718. if m.Page != 0 {
  4719. n += 1 + sovService(uint64(m.Page))
  4720. }
  4721. if m.PageSize != 0 {
  4722. n += 1 + sovService(uint64(m.PageSize))
  4723. }
  4724. if m.TotalPage != 0 {
  4725. n += 1 + sovService(uint64(m.TotalPage))
  4726. }
  4727. if m.TotalCount != 0 {
  4728. n += 1 + sovService(uint64(m.TotalCount))
  4729. }
  4730. if m.XXX_unrecognized != nil {
  4731. n += len(m.XXX_unrecognized)
  4732. }
  4733. return n
  4734. }
  4735. func (m *AnchorTaskUseRewardReq) Size() (n int) {
  4736. if m == nil {
  4737. return 0
  4738. }
  4739. var l int
  4740. _ = l
  4741. if m.Id != 0 {
  4742. n += 1 + sovService(uint64(m.Id))
  4743. }
  4744. l = len(m.Platform)
  4745. if l > 0 {
  4746. n += 1 + l + sovService(uint64(l))
  4747. }
  4748. if m.XXX_unrecognized != nil {
  4749. n += len(m.XXX_unrecognized)
  4750. }
  4751. return n
  4752. }
  4753. func (m *AnchorTaskUseRewardResp) Size() (n int) {
  4754. if m == nil {
  4755. return 0
  4756. }
  4757. var l int
  4758. _ = l
  4759. if m.Result != 0 {
  4760. n += 1 + sovService(uint64(m.Result))
  4761. }
  4762. if m.XXX_unrecognized != nil {
  4763. n += len(m.XXX_unrecognized)
  4764. }
  4765. return n
  4766. }
  4767. func (m *AnchorTaskIsViewedReq) Size() (n int) {
  4768. if m == nil {
  4769. return 0
  4770. }
  4771. var l int
  4772. _ = l
  4773. if m.XXX_unrecognized != nil {
  4774. n += len(m.XXX_unrecognized)
  4775. }
  4776. return n
  4777. }
  4778. func (m *AnchorTaskIsViewedResp) Size() (n int) {
  4779. if m == nil {
  4780. return 0
  4781. }
  4782. var l int
  4783. _ = l
  4784. if m.TaskShouldNotice != 0 {
  4785. n += 1 + sovService(uint64(m.TaskShouldNotice))
  4786. }
  4787. if m.RewardShouldNotice != 0 {
  4788. n += 1 + sovService(uint64(m.RewardShouldNotice))
  4789. }
  4790. if m.TaskStatus != 0 {
  4791. n += 1 + sovService(uint64(m.TaskStatus))
  4792. }
  4793. if m.IsBlacked != 0 {
  4794. n += 1 + sovService(uint64(m.IsBlacked))
  4795. }
  4796. if m.ShowRewardEntry != 0 {
  4797. n += 1 + sovService(uint64(m.ShowRewardEntry))
  4798. }
  4799. l = len(m.Url)
  4800. if l > 0 {
  4801. n += 1 + l + sovService(uint64(l))
  4802. }
  4803. if m.XXX_unrecognized != nil {
  4804. n += len(m.XXX_unrecognized)
  4805. }
  4806. return n
  4807. }
  4808. func (m *CapsuleGetDetailReq) Size() (n int) {
  4809. if m == nil {
  4810. return 0
  4811. }
  4812. var l int
  4813. _ = l
  4814. l = len(m.From)
  4815. if l > 0 {
  4816. n += 1 + l + sovService(uint64(l))
  4817. }
  4818. if m.XXX_unrecognized != nil {
  4819. n += len(m.XXX_unrecognized)
  4820. }
  4821. return n
  4822. }
  4823. func (m *Usage) Size() (n int) {
  4824. if m == nil {
  4825. return 0
  4826. }
  4827. var l int
  4828. _ = l
  4829. l = len(m.Text)
  4830. if l > 0 {
  4831. n += 1 + l + sovService(uint64(l))
  4832. }
  4833. l = len(m.Url)
  4834. if l > 0 {
  4835. n += 1 + l + sovService(uint64(l))
  4836. }
  4837. if m.XXX_unrecognized != nil {
  4838. n += len(m.XXX_unrecognized)
  4839. }
  4840. return n
  4841. }
  4842. func (m *Progress) Size() (n int) {
  4843. if m == nil {
  4844. return 0
  4845. }
  4846. var l int
  4847. _ = l
  4848. if m.Now != 0 {
  4849. n += 1 + sovService(uint64(m.Now))
  4850. }
  4851. if m.Max != 0 {
  4852. n += 1 + sovService(uint64(m.Max))
  4853. }
  4854. if m.XXX_unrecognized != nil {
  4855. n += len(m.XXX_unrecognized)
  4856. }
  4857. return n
  4858. }
  4859. func (m *CapsuleGetDetailResp) Size() (n int) {
  4860. if m == nil {
  4861. return 0
  4862. }
  4863. var l int
  4864. _ = l
  4865. if m.Normal != nil {
  4866. l = m.Normal.Size()
  4867. n += 1 + l + sovService(uint64(l))
  4868. }
  4869. if m.Colorful != nil {
  4870. l = m.Colorful.Size()
  4871. n += 1 + l + sovService(uint64(l))
  4872. }
  4873. if m.XXX_unrecognized != nil {
  4874. n += len(m.XXX_unrecognized)
  4875. }
  4876. return n
  4877. }
  4878. func (m *CapsuleGetDetailResp_Gift) Size() (n int) {
  4879. if m == nil {
  4880. return 0
  4881. }
  4882. var l int
  4883. _ = l
  4884. l = len(m.Name)
  4885. if l > 0 {
  4886. n += 1 + l + sovService(uint64(l))
  4887. }
  4888. l = len(m.Image)
  4889. if l > 0 {
  4890. n += 1 + l + sovService(uint64(l))
  4891. }
  4892. if m.Usage != nil {
  4893. l = m.Usage.Size()
  4894. n += 1 + l + sovService(uint64(l))
  4895. }
  4896. l = len(m.WebImage)
  4897. if l > 0 {
  4898. n += 1 + l + sovService(uint64(l))
  4899. }
  4900. l = len(m.MobileImage)
  4901. if l > 0 {
  4902. n += 1 + l + sovService(uint64(l))
  4903. }
  4904. if m.XXX_unrecognized != nil {
  4905. n += len(m.XXX_unrecognized)
  4906. }
  4907. return n
  4908. }
  4909. func (m *CapsuleGetDetailResp_List) Size() (n int) {
  4910. if m == nil {
  4911. return 0
  4912. }
  4913. var l int
  4914. _ = l
  4915. if m.Num != 0 {
  4916. n += 1 + sovService(uint64(m.Num))
  4917. }
  4918. l = len(m.Gift)
  4919. if l > 0 {
  4920. n += 1 + l + sovService(uint64(l))
  4921. }
  4922. l = len(m.Date)
  4923. if l > 0 {
  4924. n += 1 + l + sovService(uint64(l))
  4925. }
  4926. l = len(m.Name)
  4927. if l > 0 {
  4928. n += 1 + l + sovService(uint64(l))
  4929. }
  4930. if m.XXX_unrecognized != nil {
  4931. n += len(m.XXX_unrecognized)
  4932. }
  4933. return n
  4934. }
  4935. func (m *CapsuleGetDetailResp_CapsuleInfo) Size() (n int) {
  4936. if m == nil {
  4937. return 0
  4938. }
  4939. var l int
  4940. _ = l
  4941. if m.Status {
  4942. n += 2
  4943. }
  4944. if m.Coin != 0 {
  4945. n += 1 + sovService(uint64(m.Coin))
  4946. }
  4947. if m.Change != 0 {
  4948. n += 1 + sovService(uint64(m.Change))
  4949. }
  4950. if m.Progress != nil {
  4951. l = m.Progress.Size()
  4952. n += 1 + l + sovService(uint64(l))
  4953. }
  4954. l = len(m.Rule)
  4955. if l > 0 {
  4956. n += 1 + l + sovService(uint64(l))
  4957. }
  4958. if len(m.Gift) > 0 {
  4959. for _, e := range m.Gift {
  4960. l = e.Size()
  4961. n += 1 + l + sovService(uint64(l))
  4962. }
  4963. }
  4964. if len(m.List) > 0 {
  4965. for _, e := range m.List {
  4966. l = e.Size()
  4967. n += 1 + l + sovService(uint64(l))
  4968. }
  4969. }
  4970. if m.XXX_unrecognized != nil {
  4971. n += len(m.XXX_unrecognized)
  4972. }
  4973. return n
  4974. }
  4975. func (m *CapsuleOpenCapsuleReq) Size() (n int) {
  4976. if m == nil {
  4977. return 0
  4978. }
  4979. var l int
  4980. _ = l
  4981. l = len(m.Type)
  4982. if l > 0 {
  4983. n += 1 + l + sovService(uint64(l))
  4984. }
  4985. if m.Count != 0 {
  4986. n += 1 + sovService(uint64(m.Count))
  4987. }
  4988. l = len(m.Platform)
  4989. if l > 0 {
  4990. n += 1 + l + sovService(uint64(l))
  4991. }
  4992. if m.XXX_unrecognized != nil {
  4993. n += len(m.XXX_unrecognized)
  4994. }
  4995. return n
  4996. }
  4997. func (m *CapsuleOpenCapsuleResp) Size() (n int) {
  4998. if m == nil {
  4999. return 0
  5000. }
  5001. var l int
  5002. _ = l
  5003. if m.Status {
  5004. n += 2
  5005. }
  5006. if len(m.Text) > 0 {
  5007. for _, s := range m.Text {
  5008. l = len(s)
  5009. n += 1 + l + sovService(uint64(l))
  5010. }
  5011. }
  5012. if m.IsEntity {
  5013. n += 2
  5014. }
  5015. if m.Info != nil {
  5016. l = m.Info.Size()
  5017. n += 1 + l + sovService(uint64(l))
  5018. }
  5019. l = len(m.ShowTitle)
  5020. if l > 0 {
  5021. n += 1 + l + sovService(uint64(l))
  5022. }
  5023. if len(m.Awards) > 0 {
  5024. for _, e := range m.Awards {
  5025. l = e.Size()
  5026. n += 1 + l + sovService(uint64(l))
  5027. }
  5028. }
  5029. if m.XXX_unrecognized != nil {
  5030. n += len(m.XXX_unrecognized)
  5031. }
  5032. return n
  5033. }
  5034. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) Size() (n int) {
  5035. if m == nil {
  5036. return 0
  5037. }
  5038. var l int
  5039. _ = l
  5040. if m.Coin != 0 {
  5041. n += 1 + sovService(uint64(m.Coin))
  5042. }
  5043. if m.Change != 0 {
  5044. n += 1 + sovService(uint64(m.Change))
  5045. }
  5046. if m.Progress != nil {
  5047. l = m.Progress.Size()
  5048. n += 1 + l + sovService(uint64(l))
  5049. }
  5050. if m.XXX_unrecognized != nil {
  5051. n += len(m.XXX_unrecognized)
  5052. }
  5053. return n
  5054. }
  5055. func (m *CapsuleOpenCapsuleResp_Info) Size() (n int) {
  5056. if m == nil {
  5057. return 0
  5058. }
  5059. var l int
  5060. _ = l
  5061. if m.Normal != nil {
  5062. l = m.Normal.Size()
  5063. n += 1 + l + sovService(uint64(l))
  5064. }
  5065. if m.Colorful != nil {
  5066. l = m.Colorful.Size()
  5067. n += 1 + l + sovService(uint64(l))
  5068. }
  5069. if m.XXX_unrecognized != nil {
  5070. n += len(m.XXX_unrecognized)
  5071. }
  5072. return n
  5073. }
  5074. func (m *CapsuleOpenCapsuleResp_Award) Size() (n int) {
  5075. if m == nil {
  5076. return 0
  5077. }
  5078. var l int
  5079. _ = l
  5080. l = len(m.Name)
  5081. if l > 0 {
  5082. n += 1 + l + sovService(uint64(l))
  5083. }
  5084. if m.Num != 0 {
  5085. n += 1 + sovService(uint64(m.Num))
  5086. }
  5087. l = len(m.Text)
  5088. if l > 0 {
  5089. n += 1 + l + sovService(uint64(l))
  5090. }
  5091. l = len(m.Img)
  5092. if l > 0 {
  5093. n += 1 + l + sovService(uint64(l))
  5094. }
  5095. if m.Usage != nil {
  5096. l = m.Usage.Size()
  5097. n += 1 + l + sovService(uint64(l))
  5098. }
  5099. l = len(m.WebImage)
  5100. if l > 0 {
  5101. n += 1 + l + sovService(uint64(l))
  5102. }
  5103. l = len(m.MobileImage)
  5104. if l > 0 {
  5105. n += 1 + l + sovService(uint64(l))
  5106. }
  5107. if m.XXX_unrecognized != nil {
  5108. n += len(m.XXX_unrecognized)
  5109. }
  5110. return n
  5111. }
  5112. func (m *CapsuleGetCapsuleInfoReq) Size() (n int) {
  5113. if m == nil {
  5114. return 0
  5115. }
  5116. var l int
  5117. _ = l
  5118. l = len(m.Type)
  5119. if l > 0 {
  5120. n += 1 + l + sovService(uint64(l))
  5121. }
  5122. l = len(m.From)
  5123. if l > 0 {
  5124. n += 1 + l + sovService(uint64(l))
  5125. }
  5126. if m.XXX_unrecognized != nil {
  5127. n += len(m.XXX_unrecognized)
  5128. }
  5129. return n
  5130. }
  5131. func (m *CapsuleGetCapsuleInfoResp) Size() (n int) {
  5132. if m == nil {
  5133. return 0
  5134. }
  5135. var l int
  5136. _ = l
  5137. if m.Coin != 0 {
  5138. n += 1 + sovService(uint64(m.Coin))
  5139. }
  5140. l = len(m.Rule)
  5141. if l > 0 {
  5142. n += 1 + l + sovService(uint64(l))
  5143. }
  5144. if len(m.GiftList) > 0 {
  5145. for _, e := range m.GiftList {
  5146. l = e.Size()
  5147. n += 1 + l + sovService(uint64(l))
  5148. }
  5149. }
  5150. if len(m.GiftFilter) > 0 {
  5151. for _, e := range m.GiftFilter {
  5152. l = e.Size()
  5153. n += 1 + l + sovService(uint64(l))
  5154. }
  5155. }
  5156. if m.XXX_unrecognized != nil {
  5157. n += len(m.XXX_unrecognized)
  5158. }
  5159. return n
  5160. }
  5161. func (m *CapsuleGetCapsuleInfoResp_GiftList) Size() (n int) {
  5162. if m == nil {
  5163. return 0
  5164. }
  5165. var l int
  5166. _ = l
  5167. if m.Id != 0 {
  5168. n += 1 + sovService(uint64(m.Id))
  5169. }
  5170. l = len(m.Name)
  5171. if l > 0 {
  5172. n += 1 + l + sovService(uint64(l))
  5173. }
  5174. if m.Num != 0 {
  5175. n += 1 + sovService(uint64(m.Num))
  5176. }
  5177. l = len(m.WebUrl)
  5178. if l > 0 {
  5179. n += 1 + l + sovService(uint64(l))
  5180. }
  5181. l = len(m.MobileUrl)
  5182. if l > 0 {
  5183. n += 1 + l + sovService(uint64(l))
  5184. }
  5185. if m.Usage != nil {
  5186. l = m.Usage.Size()
  5187. n += 1 + l + sovService(uint64(l))
  5188. }
  5189. if m.Type != 0 {
  5190. n += 1 + sovService(uint64(m.Type))
  5191. }
  5192. l = len(m.Expire)
  5193. if l > 0 {
  5194. n += 1 + l + sovService(uint64(l))
  5195. }
  5196. if m.XXX_unrecognized != nil {
  5197. n += len(m.XXX_unrecognized)
  5198. }
  5199. return n
  5200. }
  5201. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) Size() (n int) {
  5202. if m == nil {
  5203. return 0
  5204. }
  5205. var l int
  5206. _ = l
  5207. if m.Id != 0 {
  5208. n += 1 + sovService(uint64(m.Id))
  5209. }
  5210. l = len(m.Name)
  5211. if l > 0 {
  5212. n += 1 + l + sovService(uint64(l))
  5213. }
  5214. l = len(m.WebUrl)
  5215. if l > 0 {
  5216. n += 1 + l + sovService(uint64(l))
  5217. }
  5218. l = len(m.MobileUrl)
  5219. if l > 0 {
  5220. n += 1 + l + sovService(uint64(l))
  5221. }
  5222. if m.Usage != nil {
  5223. l = m.Usage.Size()
  5224. n += 1 + l + sovService(uint64(l))
  5225. }
  5226. if m.XXX_unrecognized != nil {
  5227. n += len(m.XXX_unrecognized)
  5228. }
  5229. return n
  5230. }
  5231. func (m *CapsuleOpenCapsuleByTypeReq) Size() (n int) {
  5232. if m == nil {
  5233. return 0
  5234. }
  5235. var l int
  5236. _ = l
  5237. l = len(m.Type)
  5238. if l > 0 {
  5239. n += 1 + l + sovService(uint64(l))
  5240. }
  5241. if m.Count != 0 {
  5242. n += 1 + sovService(uint64(m.Count))
  5243. }
  5244. l = len(m.Platform)
  5245. if l > 0 {
  5246. n += 1 + l + sovService(uint64(l))
  5247. }
  5248. if m.XXX_unrecognized != nil {
  5249. n += len(m.XXX_unrecognized)
  5250. }
  5251. return n
  5252. }
  5253. func (m *CapsuleOpenCapsuleByTypeResp) Size() (n int) {
  5254. if m == nil {
  5255. return 0
  5256. }
  5257. var l int
  5258. _ = l
  5259. if m.Status {
  5260. n += 2
  5261. }
  5262. if m.IsEntity {
  5263. n += 2
  5264. }
  5265. if m.Info != nil {
  5266. l = m.Info.Size()
  5267. n += 1 + l + sovService(uint64(l))
  5268. }
  5269. if len(m.Awards) > 0 {
  5270. for _, e := range m.Awards {
  5271. l = e.Size()
  5272. n += 1 + l + sovService(uint64(l))
  5273. }
  5274. }
  5275. if len(m.Text) > 0 {
  5276. for _, s := range m.Text {
  5277. l = len(s)
  5278. n += 1 + l + sovService(uint64(l))
  5279. }
  5280. }
  5281. if m.XXX_unrecognized != nil {
  5282. n += len(m.XXX_unrecognized)
  5283. }
  5284. return n
  5285. }
  5286. func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) Size() (n int) {
  5287. if m == nil {
  5288. return 0
  5289. }
  5290. var l int
  5291. _ = l
  5292. if m.Coin != 0 {
  5293. n += 1 + sovService(uint64(m.Coin))
  5294. }
  5295. if m.XXX_unrecognized != nil {
  5296. n += len(m.XXX_unrecognized)
  5297. }
  5298. return n
  5299. }
  5300. func (m *CapsuleOpenCapsuleByTypeResp_Award) Size() (n int) {
  5301. if m == nil {
  5302. return 0
  5303. }
  5304. var l int
  5305. _ = l
  5306. if m.Id != 0 {
  5307. n += 1 + sovService(uint64(m.Id))
  5308. }
  5309. l = len(m.Name)
  5310. if l > 0 {
  5311. n += 1 + l + sovService(uint64(l))
  5312. }
  5313. if m.Num != 0 {
  5314. n += 1 + sovService(uint64(m.Num))
  5315. }
  5316. l = len(m.Text)
  5317. if l > 0 {
  5318. n += 1 + l + sovService(uint64(l))
  5319. }
  5320. l = len(m.WebUrl)
  5321. if l > 0 {
  5322. n += 1 + l + sovService(uint64(l))
  5323. }
  5324. l = len(m.MobileUrl)
  5325. if l > 0 {
  5326. n += 1 + l + sovService(uint64(l))
  5327. }
  5328. if m.Usage != nil {
  5329. l = m.Usage.Size()
  5330. n += 1 + l + sovService(uint64(l))
  5331. }
  5332. if m.Type != 0 {
  5333. n += 1 + sovService(uint64(m.Type))
  5334. }
  5335. l = len(m.Expire)
  5336. if l > 0 {
  5337. n += 1 + l + sovService(uint64(l))
  5338. }
  5339. if m.XXX_unrecognized != nil {
  5340. n += len(m.XXX_unrecognized)
  5341. }
  5342. return n
  5343. }
  5344. func sovService(x uint64) (n int) {
  5345. for {
  5346. n++
  5347. x >>= 7
  5348. if x == 0 {
  5349. break
  5350. }
  5351. }
  5352. return n
  5353. }
  5354. func sozService(x uint64) (n int) {
  5355. return sovService(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  5356. }
  5357. func (m *GetHistoryReq) Unmarshal(dAtA []byte) error {
  5358. l := len(dAtA)
  5359. iNdEx := 0
  5360. for iNdEx < l {
  5361. preIndex := iNdEx
  5362. var wire uint64
  5363. for shift := uint(0); ; shift += 7 {
  5364. if shift >= 64 {
  5365. return ErrIntOverflowService
  5366. }
  5367. if iNdEx >= l {
  5368. return io.ErrUnexpectedEOF
  5369. }
  5370. b := dAtA[iNdEx]
  5371. iNdEx++
  5372. wire |= (uint64(b) & 0x7F) << shift
  5373. if b < 0x80 {
  5374. break
  5375. }
  5376. }
  5377. fieldNum := int32(wire >> 3)
  5378. wireType := int(wire & 0x7)
  5379. if wireType == 4 {
  5380. return fmt.Errorf("proto: GetHistoryReq: wiretype end group for non-group")
  5381. }
  5382. if fieldNum <= 0 {
  5383. return fmt.Errorf("proto: GetHistoryReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5384. }
  5385. switch fieldNum {
  5386. default:
  5387. iNdEx = preIndex
  5388. skippy, err := skipService(dAtA[iNdEx:])
  5389. if err != nil {
  5390. return err
  5391. }
  5392. if skippy < 0 {
  5393. return ErrInvalidLengthService
  5394. }
  5395. if (iNdEx + skippy) > l {
  5396. return io.ErrUnexpectedEOF
  5397. }
  5398. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5399. iNdEx += skippy
  5400. }
  5401. }
  5402. if iNdEx > l {
  5403. return io.ErrUnexpectedEOF
  5404. }
  5405. return nil
  5406. }
  5407. func (m *GetHistoryResp) Unmarshal(dAtA []byte) error {
  5408. l := len(dAtA)
  5409. iNdEx := 0
  5410. for iNdEx < l {
  5411. preIndex := iNdEx
  5412. var wire uint64
  5413. for shift := uint(0); ; shift += 7 {
  5414. if shift >= 64 {
  5415. return ErrIntOverflowService
  5416. }
  5417. if iNdEx >= l {
  5418. return io.ErrUnexpectedEOF
  5419. }
  5420. b := dAtA[iNdEx]
  5421. iNdEx++
  5422. wire |= (uint64(b) & 0x7F) << shift
  5423. if b < 0x80 {
  5424. break
  5425. }
  5426. }
  5427. fieldNum := int32(wire >> 3)
  5428. wireType := int(wire & 0x7)
  5429. if wireType == 4 {
  5430. return fmt.Errorf("proto: GetHistoryResp: wiretype end group for non-group")
  5431. }
  5432. if fieldNum <= 0 {
  5433. return fmt.Errorf("proto: GetHistoryResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5434. }
  5435. switch fieldNum {
  5436. case 1:
  5437. if wireType != 2 {
  5438. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  5439. }
  5440. var stringLen uint64
  5441. for shift := uint(0); ; shift += 7 {
  5442. if shift >= 64 {
  5443. return ErrIntOverflowService
  5444. }
  5445. if iNdEx >= l {
  5446. return io.ErrUnexpectedEOF
  5447. }
  5448. b := dAtA[iNdEx]
  5449. iNdEx++
  5450. stringLen |= (uint64(b) & 0x7F) << shift
  5451. if b < 0x80 {
  5452. break
  5453. }
  5454. }
  5455. intStringLen := int(stringLen)
  5456. if intStringLen < 0 {
  5457. return ErrInvalidLengthService
  5458. }
  5459. postIndex := iNdEx + intStringLen
  5460. if postIndex > l {
  5461. return io.ErrUnexpectedEOF
  5462. }
  5463. m.Title = string(dAtA[iNdEx:postIndex])
  5464. iNdEx = postIndex
  5465. case 4:
  5466. if wireType != 0 {
  5467. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  5468. }
  5469. m.Count = 0
  5470. for shift := uint(0); ; shift += 7 {
  5471. if shift >= 64 {
  5472. return ErrIntOverflowService
  5473. }
  5474. if iNdEx >= l {
  5475. return io.ErrUnexpectedEOF
  5476. }
  5477. b := dAtA[iNdEx]
  5478. iNdEx++
  5479. m.Count |= (int32(b) & 0x7F) << shift
  5480. if b < 0x80 {
  5481. break
  5482. }
  5483. }
  5484. case 5:
  5485. if wireType != 2 {
  5486. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  5487. }
  5488. var msglen int
  5489. for shift := uint(0); ; shift += 7 {
  5490. if shift >= 64 {
  5491. return ErrIntOverflowService
  5492. }
  5493. if iNdEx >= l {
  5494. return io.ErrUnexpectedEOF
  5495. }
  5496. b := dAtA[iNdEx]
  5497. iNdEx++
  5498. msglen |= (int(b) & 0x7F) << shift
  5499. if b < 0x80 {
  5500. break
  5501. }
  5502. }
  5503. if msglen < 0 {
  5504. return ErrInvalidLengthService
  5505. }
  5506. postIndex := iNdEx + msglen
  5507. if postIndex > l {
  5508. return io.ErrUnexpectedEOF
  5509. }
  5510. m.List = append(m.List, &GetHistoryResp_List{})
  5511. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5512. return err
  5513. }
  5514. iNdEx = postIndex
  5515. default:
  5516. iNdEx = preIndex
  5517. skippy, err := skipService(dAtA[iNdEx:])
  5518. if err != nil {
  5519. return err
  5520. }
  5521. if skippy < 0 {
  5522. return ErrInvalidLengthService
  5523. }
  5524. if (iNdEx + skippy) > l {
  5525. return io.ErrUnexpectedEOF
  5526. }
  5527. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5528. iNdEx += skippy
  5529. }
  5530. }
  5531. if iNdEx > l {
  5532. return io.ErrUnexpectedEOF
  5533. }
  5534. return nil
  5535. }
  5536. func (m *GetHistoryResp_List) Unmarshal(dAtA []byte) error {
  5537. l := len(dAtA)
  5538. iNdEx := 0
  5539. for iNdEx < l {
  5540. preIndex := iNdEx
  5541. var wire uint64
  5542. for shift := uint(0); ; shift += 7 {
  5543. if shift >= 64 {
  5544. return ErrIntOverflowService
  5545. }
  5546. if iNdEx >= l {
  5547. return io.ErrUnexpectedEOF
  5548. }
  5549. b := dAtA[iNdEx]
  5550. iNdEx++
  5551. wire |= (uint64(b) & 0x7F) << shift
  5552. if b < 0x80 {
  5553. break
  5554. }
  5555. }
  5556. fieldNum := int32(wire >> 3)
  5557. wireType := int(wire & 0x7)
  5558. if wireType == 4 {
  5559. return fmt.Errorf("proto: List: wiretype end group for non-group")
  5560. }
  5561. if fieldNum <= 0 {
  5562. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  5563. }
  5564. switch fieldNum {
  5565. case 1:
  5566. if wireType != 0 {
  5567. return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
  5568. }
  5569. m.Roomid = 0
  5570. for shift := uint(0); ; shift += 7 {
  5571. if shift >= 64 {
  5572. return ErrIntOverflowService
  5573. }
  5574. if iNdEx >= l {
  5575. return io.ErrUnexpectedEOF
  5576. }
  5577. b := dAtA[iNdEx]
  5578. iNdEx++
  5579. m.Roomid |= (int64(b) & 0x7F) << shift
  5580. if b < 0x80 {
  5581. break
  5582. }
  5583. }
  5584. case 2:
  5585. if wireType != 0 {
  5586. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  5587. }
  5588. m.Uid = 0
  5589. for shift := uint(0); ; shift += 7 {
  5590. if shift >= 64 {
  5591. return ErrIntOverflowService
  5592. }
  5593. if iNdEx >= l {
  5594. return io.ErrUnexpectedEOF
  5595. }
  5596. b := dAtA[iNdEx]
  5597. iNdEx++
  5598. m.Uid |= (int32(b) & 0x7F) << shift
  5599. if b < 0x80 {
  5600. break
  5601. }
  5602. }
  5603. case 3:
  5604. if wireType != 2 {
  5605. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  5606. }
  5607. var stringLen uint64
  5608. for shift := uint(0); ; shift += 7 {
  5609. if shift >= 64 {
  5610. return ErrIntOverflowService
  5611. }
  5612. if iNdEx >= l {
  5613. return io.ErrUnexpectedEOF
  5614. }
  5615. b := dAtA[iNdEx]
  5616. iNdEx++
  5617. stringLen |= (uint64(b) & 0x7F) << shift
  5618. if b < 0x80 {
  5619. break
  5620. }
  5621. }
  5622. intStringLen := int(stringLen)
  5623. if intStringLen < 0 {
  5624. return ErrInvalidLengthService
  5625. }
  5626. postIndex := iNdEx + intStringLen
  5627. if postIndex > l {
  5628. return io.ErrUnexpectedEOF
  5629. }
  5630. m.Uname = string(dAtA[iNdEx:postIndex])
  5631. iNdEx = postIndex
  5632. case 4:
  5633. if wireType != 2 {
  5634. return fmt.Errorf("proto: wrong wireType = %d for field UserCover", wireType)
  5635. }
  5636. var stringLen uint64
  5637. for shift := uint(0); ; shift += 7 {
  5638. if shift >= 64 {
  5639. return ErrIntOverflowService
  5640. }
  5641. if iNdEx >= l {
  5642. return io.ErrUnexpectedEOF
  5643. }
  5644. b := dAtA[iNdEx]
  5645. iNdEx++
  5646. stringLen |= (uint64(b) & 0x7F) << shift
  5647. if b < 0x80 {
  5648. break
  5649. }
  5650. }
  5651. intStringLen := int(stringLen)
  5652. if intStringLen < 0 {
  5653. return ErrInvalidLengthService
  5654. }
  5655. postIndex := iNdEx + intStringLen
  5656. if postIndex > l {
  5657. return io.ErrUnexpectedEOF
  5658. }
  5659. m.UserCover = string(dAtA[iNdEx:postIndex])
  5660. iNdEx = postIndex
  5661. case 5:
  5662. if wireType != 2 {
  5663. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  5664. }
  5665. var stringLen uint64
  5666. for shift := uint(0); ; shift += 7 {
  5667. if shift >= 64 {
  5668. return ErrIntOverflowService
  5669. }
  5670. if iNdEx >= l {
  5671. return io.ErrUnexpectedEOF
  5672. }
  5673. b := dAtA[iNdEx]
  5674. iNdEx++
  5675. stringLen |= (uint64(b) & 0x7F) << shift
  5676. if b < 0x80 {
  5677. break
  5678. }
  5679. }
  5680. intStringLen := int(stringLen)
  5681. if intStringLen < 0 {
  5682. return ErrInvalidLengthService
  5683. }
  5684. postIndex := iNdEx + intStringLen
  5685. if postIndex > l {
  5686. return io.ErrUnexpectedEOF
  5687. }
  5688. m.Title = string(dAtA[iNdEx:postIndex])
  5689. iNdEx = postIndex
  5690. case 6:
  5691. if wireType != 2 {
  5692. return fmt.Errorf("proto: wrong wireType = %d for field Face", wireType)
  5693. }
  5694. var stringLen uint64
  5695. for shift := uint(0); ; shift += 7 {
  5696. if shift >= 64 {
  5697. return ErrIntOverflowService
  5698. }
  5699. if iNdEx >= l {
  5700. return io.ErrUnexpectedEOF
  5701. }
  5702. b := dAtA[iNdEx]
  5703. iNdEx++
  5704. stringLen |= (uint64(b) & 0x7F) << shift
  5705. if b < 0x80 {
  5706. break
  5707. }
  5708. }
  5709. intStringLen := int(stringLen)
  5710. if intStringLen < 0 {
  5711. return ErrInvalidLengthService
  5712. }
  5713. postIndex := iNdEx + intStringLen
  5714. if postIndex > l {
  5715. return io.ErrUnexpectedEOF
  5716. }
  5717. m.Face = string(dAtA[iNdEx:postIndex])
  5718. iNdEx = postIndex
  5719. case 7:
  5720. if wireType != 2 {
  5721. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  5722. }
  5723. var stringLen uint64
  5724. for shift := uint(0); ; shift += 7 {
  5725. if shift >= 64 {
  5726. return ErrIntOverflowService
  5727. }
  5728. if iNdEx >= l {
  5729. return io.ErrUnexpectedEOF
  5730. }
  5731. b := dAtA[iNdEx]
  5732. iNdEx++
  5733. stringLen |= (uint64(b) & 0x7F) << shift
  5734. if b < 0x80 {
  5735. break
  5736. }
  5737. }
  5738. intStringLen := int(stringLen)
  5739. if intStringLen < 0 {
  5740. return ErrInvalidLengthService
  5741. }
  5742. postIndex := iNdEx + intStringLen
  5743. if postIndex > l {
  5744. return io.ErrUnexpectedEOF
  5745. }
  5746. m.Tags = string(dAtA[iNdEx:postIndex])
  5747. iNdEx = postIndex
  5748. case 9:
  5749. if wireType != 0 {
  5750. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  5751. }
  5752. m.LiveStatus = 0
  5753. for shift := uint(0); ; shift += 7 {
  5754. if shift >= 64 {
  5755. return ErrIntOverflowService
  5756. }
  5757. if iNdEx >= l {
  5758. return io.ErrUnexpectedEOF
  5759. }
  5760. b := dAtA[iNdEx]
  5761. iNdEx++
  5762. m.LiveStatus |= (int32(b) & 0x7F) << shift
  5763. if b < 0x80 {
  5764. break
  5765. }
  5766. }
  5767. case 10:
  5768. if wireType != 0 {
  5769. return fmt.Errorf("proto: wrong wireType = %d for field FansNum", wireType)
  5770. }
  5771. m.FansNum = 0
  5772. for shift := uint(0); ; shift += 7 {
  5773. if shift >= 64 {
  5774. return ErrIntOverflowService
  5775. }
  5776. if iNdEx >= l {
  5777. return io.ErrUnexpectedEOF
  5778. }
  5779. b := dAtA[iNdEx]
  5780. iNdEx++
  5781. m.FansNum |= (int32(b) & 0x7F) << shift
  5782. if b < 0x80 {
  5783. break
  5784. }
  5785. }
  5786. case 12:
  5787. if wireType != 0 {
  5788. return fmt.Errorf("proto: wrong wireType = %d for field IsAttention", wireType)
  5789. }
  5790. m.IsAttention = 0
  5791. for shift := uint(0); ; shift += 7 {
  5792. if shift >= 64 {
  5793. return ErrIntOverflowService
  5794. }
  5795. if iNdEx >= l {
  5796. return io.ErrUnexpectedEOF
  5797. }
  5798. b := dAtA[iNdEx]
  5799. iNdEx++
  5800. m.IsAttention |= (int32(b) & 0x7F) << shift
  5801. if b < 0x80 {
  5802. break
  5803. }
  5804. }
  5805. case 13:
  5806. if wireType != 0 {
  5807. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
  5808. }
  5809. m.AreaV2Id = 0
  5810. for shift := uint(0); ; shift += 7 {
  5811. if shift >= 64 {
  5812. return ErrIntOverflowService
  5813. }
  5814. if iNdEx >= l {
  5815. return io.ErrUnexpectedEOF
  5816. }
  5817. b := dAtA[iNdEx]
  5818. iNdEx++
  5819. m.AreaV2Id |= (int32(b) & 0x7F) << shift
  5820. if b < 0x80 {
  5821. break
  5822. }
  5823. }
  5824. case 14:
  5825. if wireType != 2 {
  5826. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Name", wireType)
  5827. }
  5828. var stringLen uint64
  5829. for shift := uint(0); ; shift += 7 {
  5830. if shift >= 64 {
  5831. return ErrIntOverflowService
  5832. }
  5833. if iNdEx >= l {
  5834. return io.ErrUnexpectedEOF
  5835. }
  5836. b := dAtA[iNdEx]
  5837. iNdEx++
  5838. stringLen |= (uint64(b) & 0x7F) << shift
  5839. if b < 0x80 {
  5840. break
  5841. }
  5842. }
  5843. intStringLen := int(stringLen)
  5844. if intStringLen < 0 {
  5845. return ErrInvalidLengthService
  5846. }
  5847. postIndex := iNdEx + intStringLen
  5848. if postIndex > l {
  5849. return io.ErrUnexpectedEOF
  5850. }
  5851. m.AreaV2Name = string(dAtA[iNdEx:postIndex])
  5852. iNdEx = postIndex
  5853. case 15:
  5854. if wireType != 2 {
  5855. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentName", wireType)
  5856. }
  5857. var stringLen uint64
  5858. for shift := uint(0); ; shift += 7 {
  5859. if shift >= 64 {
  5860. return ErrIntOverflowService
  5861. }
  5862. if iNdEx >= l {
  5863. return io.ErrUnexpectedEOF
  5864. }
  5865. b := dAtA[iNdEx]
  5866. iNdEx++
  5867. stringLen |= (uint64(b) & 0x7F) << shift
  5868. if b < 0x80 {
  5869. break
  5870. }
  5871. }
  5872. intStringLen := int(stringLen)
  5873. if intStringLen < 0 {
  5874. return ErrInvalidLengthService
  5875. }
  5876. postIndex := iNdEx + intStringLen
  5877. if postIndex > l {
  5878. return io.ErrUnexpectedEOF
  5879. }
  5880. m.AreaV2ParentName = string(dAtA[iNdEx:postIndex])
  5881. iNdEx = postIndex
  5882. case 16:
  5883. if wireType != 0 {
  5884. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentId", wireType)
  5885. }
  5886. m.AreaV2ParentId = 0
  5887. for shift := uint(0); ; shift += 7 {
  5888. if shift >= 64 {
  5889. return ErrIntOverflowService
  5890. }
  5891. if iNdEx >= l {
  5892. return io.ErrUnexpectedEOF
  5893. }
  5894. b := dAtA[iNdEx]
  5895. iNdEx++
  5896. m.AreaV2ParentId |= (int32(b) & 0x7F) << shift
  5897. if b < 0x80 {
  5898. break
  5899. }
  5900. }
  5901. default:
  5902. iNdEx = preIndex
  5903. skippy, err := skipService(dAtA[iNdEx:])
  5904. if err != nil {
  5905. return err
  5906. }
  5907. if skippy < 0 {
  5908. return ErrInvalidLengthService
  5909. }
  5910. if (iNdEx + skippy) > l {
  5911. return io.ErrUnexpectedEOF
  5912. }
  5913. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5914. iNdEx += skippy
  5915. }
  5916. }
  5917. if iNdEx > l {
  5918. return io.ErrUnexpectedEOF
  5919. }
  5920. return nil
  5921. }
  5922. func (m *DelHistoryReq) Unmarshal(dAtA []byte) error {
  5923. l := len(dAtA)
  5924. iNdEx := 0
  5925. for iNdEx < l {
  5926. preIndex := iNdEx
  5927. var wire uint64
  5928. for shift := uint(0); ; shift += 7 {
  5929. if shift >= 64 {
  5930. return ErrIntOverflowService
  5931. }
  5932. if iNdEx >= l {
  5933. return io.ErrUnexpectedEOF
  5934. }
  5935. b := dAtA[iNdEx]
  5936. iNdEx++
  5937. wire |= (uint64(b) & 0x7F) << shift
  5938. if b < 0x80 {
  5939. break
  5940. }
  5941. }
  5942. fieldNum := int32(wire >> 3)
  5943. wireType := int(wire & 0x7)
  5944. if wireType == 4 {
  5945. return fmt.Errorf("proto: DelHistoryReq: wiretype end group for non-group")
  5946. }
  5947. if fieldNum <= 0 {
  5948. return fmt.Errorf("proto: DelHistoryReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5949. }
  5950. switch fieldNum {
  5951. default:
  5952. iNdEx = preIndex
  5953. skippy, err := skipService(dAtA[iNdEx:])
  5954. if err != nil {
  5955. return err
  5956. }
  5957. if skippy < 0 {
  5958. return ErrInvalidLengthService
  5959. }
  5960. if (iNdEx + skippy) > l {
  5961. return io.ErrUnexpectedEOF
  5962. }
  5963. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5964. iNdEx += skippy
  5965. }
  5966. }
  5967. if iNdEx > l {
  5968. return io.ErrUnexpectedEOF
  5969. }
  5970. return nil
  5971. }
  5972. func (m *DelHistoryResp) Unmarshal(dAtA []byte) error {
  5973. l := len(dAtA)
  5974. iNdEx := 0
  5975. for iNdEx < l {
  5976. preIndex := iNdEx
  5977. var wire uint64
  5978. for shift := uint(0); ; shift += 7 {
  5979. if shift >= 64 {
  5980. return ErrIntOverflowService
  5981. }
  5982. if iNdEx >= l {
  5983. return io.ErrUnexpectedEOF
  5984. }
  5985. b := dAtA[iNdEx]
  5986. iNdEx++
  5987. wire |= (uint64(b) & 0x7F) << shift
  5988. if b < 0x80 {
  5989. break
  5990. }
  5991. }
  5992. fieldNum := int32(wire >> 3)
  5993. wireType := int(wire & 0x7)
  5994. if wireType == 4 {
  5995. return fmt.Errorf("proto: DelHistoryResp: wiretype end group for non-group")
  5996. }
  5997. if fieldNum <= 0 {
  5998. return fmt.Errorf("proto: DelHistoryResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5999. }
  6000. switch fieldNum {
  6001. default:
  6002. iNdEx = preIndex
  6003. skippy, err := skipService(dAtA[iNdEx:])
  6004. if err != nil {
  6005. return err
  6006. }
  6007. if skippy < 0 {
  6008. return ErrInvalidLengthService
  6009. }
  6010. if (iNdEx + skippy) > l {
  6011. return io.ErrUnexpectedEOF
  6012. }
  6013. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6014. iNdEx += skippy
  6015. }
  6016. }
  6017. if iNdEx > l {
  6018. return io.ErrUnexpectedEOF
  6019. }
  6020. return nil
  6021. }
  6022. func (m *AnchorTaskAddRewardReq) Unmarshal(dAtA []byte) error {
  6023. l := len(dAtA)
  6024. iNdEx := 0
  6025. for iNdEx < l {
  6026. preIndex := iNdEx
  6027. var wire uint64
  6028. for shift := uint(0); ; shift += 7 {
  6029. if shift >= 64 {
  6030. return ErrIntOverflowService
  6031. }
  6032. if iNdEx >= l {
  6033. return io.ErrUnexpectedEOF
  6034. }
  6035. b := dAtA[iNdEx]
  6036. iNdEx++
  6037. wire |= (uint64(b) & 0x7F) << shift
  6038. if b < 0x80 {
  6039. break
  6040. }
  6041. }
  6042. fieldNum := int32(wire >> 3)
  6043. wireType := int(wire & 0x7)
  6044. if wireType == 4 {
  6045. return fmt.Errorf("proto: AnchorTaskAddRewardReq: wiretype end group for non-group")
  6046. }
  6047. if fieldNum <= 0 {
  6048. return fmt.Errorf("proto: AnchorTaskAddRewardReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6049. }
  6050. switch fieldNum {
  6051. case 4:
  6052. if wireType != 0 {
  6053. return fmt.Errorf("proto: wrong wireType = %d for field RewardId", wireType)
  6054. }
  6055. m.RewardId = 0
  6056. for shift := uint(0); ; shift += 7 {
  6057. if shift >= 64 {
  6058. return ErrIntOverflowService
  6059. }
  6060. if iNdEx >= l {
  6061. return io.ErrUnexpectedEOF
  6062. }
  6063. b := dAtA[iNdEx]
  6064. iNdEx++
  6065. m.RewardId |= (int64(b) & 0x7F) << shift
  6066. if b < 0x80 {
  6067. break
  6068. }
  6069. }
  6070. case 8:
  6071. if wireType != 0 {
  6072. return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
  6073. }
  6074. m.Roomid = 0
  6075. for shift := uint(0); ; shift += 7 {
  6076. if shift >= 64 {
  6077. return ErrIntOverflowService
  6078. }
  6079. if iNdEx >= l {
  6080. return io.ErrUnexpectedEOF
  6081. }
  6082. b := dAtA[iNdEx]
  6083. iNdEx++
  6084. m.Roomid |= (int64(b) & 0x7F) << shift
  6085. if b < 0x80 {
  6086. break
  6087. }
  6088. }
  6089. case 9:
  6090. if wireType != 0 {
  6091. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  6092. }
  6093. m.Source = 0
  6094. for shift := uint(0); ; shift += 7 {
  6095. if shift >= 64 {
  6096. return ErrIntOverflowService
  6097. }
  6098. if iNdEx >= l {
  6099. return io.ErrUnexpectedEOF
  6100. }
  6101. b := dAtA[iNdEx]
  6102. iNdEx++
  6103. m.Source |= (int64(b) & 0x7F) << shift
  6104. if b < 0x80 {
  6105. break
  6106. }
  6107. }
  6108. case 10:
  6109. if wireType != 0 {
  6110. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  6111. }
  6112. m.Uid = 0
  6113. for shift := uint(0); ; shift += 7 {
  6114. if shift >= 64 {
  6115. return ErrIntOverflowService
  6116. }
  6117. if iNdEx >= l {
  6118. return io.ErrUnexpectedEOF
  6119. }
  6120. b := dAtA[iNdEx]
  6121. iNdEx++
  6122. m.Uid |= (int64(b) & 0x7F) << shift
  6123. if b < 0x80 {
  6124. break
  6125. }
  6126. }
  6127. case 11:
  6128. if wireType != 2 {
  6129. return fmt.Errorf("proto: wrong wireType = %d for field OrderId", wireType)
  6130. }
  6131. var stringLen uint64
  6132. for shift := uint(0); ; shift += 7 {
  6133. if shift >= 64 {
  6134. return ErrIntOverflowService
  6135. }
  6136. if iNdEx >= l {
  6137. return io.ErrUnexpectedEOF
  6138. }
  6139. b := dAtA[iNdEx]
  6140. iNdEx++
  6141. stringLen |= (uint64(b) & 0x7F) << shift
  6142. if b < 0x80 {
  6143. break
  6144. }
  6145. }
  6146. intStringLen := int(stringLen)
  6147. if intStringLen < 0 {
  6148. return ErrInvalidLengthService
  6149. }
  6150. postIndex := iNdEx + intStringLen
  6151. if postIndex > l {
  6152. return io.ErrUnexpectedEOF
  6153. }
  6154. m.OrderId = string(dAtA[iNdEx:postIndex])
  6155. iNdEx = postIndex
  6156. default:
  6157. iNdEx = preIndex
  6158. skippy, err := skipService(dAtA[iNdEx:])
  6159. if err != nil {
  6160. return err
  6161. }
  6162. if skippy < 0 {
  6163. return ErrInvalidLengthService
  6164. }
  6165. if (iNdEx + skippy) > l {
  6166. return io.ErrUnexpectedEOF
  6167. }
  6168. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6169. iNdEx += skippy
  6170. }
  6171. }
  6172. if iNdEx > l {
  6173. return io.ErrUnexpectedEOF
  6174. }
  6175. return nil
  6176. }
  6177. func (m *AnchorTaskAddRewardResp) Unmarshal(dAtA []byte) error {
  6178. l := len(dAtA)
  6179. iNdEx := 0
  6180. for iNdEx < l {
  6181. preIndex := iNdEx
  6182. var wire uint64
  6183. for shift := uint(0); ; shift += 7 {
  6184. if shift >= 64 {
  6185. return ErrIntOverflowService
  6186. }
  6187. if iNdEx >= l {
  6188. return io.ErrUnexpectedEOF
  6189. }
  6190. b := dAtA[iNdEx]
  6191. iNdEx++
  6192. wire |= (uint64(b) & 0x7F) << shift
  6193. if b < 0x80 {
  6194. break
  6195. }
  6196. }
  6197. fieldNum := int32(wire >> 3)
  6198. wireType := int(wire & 0x7)
  6199. if wireType == 4 {
  6200. return fmt.Errorf("proto: AnchorTaskAddRewardResp: wiretype end group for non-group")
  6201. }
  6202. if fieldNum <= 0 {
  6203. return fmt.Errorf("proto: AnchorTaskAddRewardResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6204. }
  6205. switch fieldNum {
  6206. case 1:
  6207. if wireType != 0 {
  6208. return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  6209. }
  6210. m.Result = 0
  6211. for shift := uint(0); ; shift += 7 {
  6212. if shift >= 64 {
  6213. return ErrIntOverflowService
  6214. }
  6215. if iNdEx >= l {
  6216. return io.ErrUnexpectedEOF
  6217. }
  6218. b := dAtA[iNdEx]
  6219. iNdEx++
  6220. m.Result |= (int64(b) & 0x7F) << shift
  6221. if b < 0x80 {
  6222. break
  6223. }
  6224. }
  6225. default:
  6226. iNdEx = preIndex
  6227. skippy, err := skipService(dAtA[iNdEx:])
  6228. if err != nil {
  6229. return err
  6230. }
  6231. if skippy < 0 {
  6232. return ErrInvalidLengthService
  6233. }
  6234. if (iNdEx + skippy) > l {
  6235. return io.ErrUnexpectedEOF
  6236. }
  6237. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6238. iNdEx += skippy
  6239. }
  6240. }
  6241. if iNdEx > l {
  6242. return io.ErrUnexpectedEOF
  6243. }
  6244. return nil
  6245. }
  6246. func (m *AnchorTaskMyRewardReq) Unmarshal(dAtA []byte) error {
  6247. l := len(dAtA)
  6248. iNdEx := 0
  6249. for iNdEx < l {
  6250. preIndex := iNdEx
  6251. var wire uint64
  6252. for shift := uint(0); ; shift += 7 {
  6253. if shift >= 64 {
  6254. return ErrIntOverflowService
  6255. }
  6256. if iNdEx >= l {
  6257. return io.ErrUnexpectedEOF
  6258. }
  6259. b := dAtA[iNdEx]
  6260. iNdEx++
  6261. wire |= (uint64(b) & 0x7F) << shift
  6262. if b < 0x80 {
  6263. break
  6264. }
  6265. }
  6266. fieldNum := int32(wire >> 3)
  6267. wireType := int(wire & 0x7)
  6268. if wireType == 4 {
  6269. return fmt.Errorf("proto: AnchorTaskMyRewardReq: wiretype end group for non-group")
  6270. }
  6271. if fieldNum <= 0 {
  6272. return fmt.Errorf("proto: AnchorTaskMyRewardReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6273. }
  6274. switch fieldNum {
  6275. case 1:
  6276. if wireType != 0 {
  6277. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  6278. }
  6279. m.Page = 0
  6280. for shift := uint(0); ; shift += 7 {
  6281. if shift >= 64 {
  6282. return ErrIntOverflowService
  6283. }
  6284. if iNdEx >= l {
  6285. return io.ErrUnexpectedEOF
  6286. }
  6287. b := dAtA[iNdEx]
  6288. iNdEx++
  6289. m.Page |= (int64(b) & 0x7F) << shift
  6290. if b < 0x80 {
  6291. break
  6292. }
  6293. }
  6294. default:
  6295. iNdEx = preIndex
  6296. skippy, err := skipService(dAtA[iNdEx:])
  6297. if err != nil {
  6298. return err
  6299. }
  6300. if skippy < 0 {
  6301. return ErrInvalidLengthService
  6302. }
  6303. if (iNdEx + skippy) > l {
  6304. return io.ErrUnexpectedEOF
  6305. }
  6306. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6307. iNdEx += skippy
  6308. }
  6309. }
  6310. if iNdEx > l {
  6311. return io.ErrUnexpectedEOF
  6312. }
  6313. return nil
  6314. }
  6315. func (m *AnchorTaskMyRewardResp) Unmarshal(dAtA []byte) error {
  6316. l := len(dAtA)
  6317. iNdEx := 0
  6318. for iNdEx < l {
  6319. preIndex := iNdEx
  6320. var wire uint64
  6321. for shift := uint(0); ; shift += 7 {
  6322. if shift >= 64 {
  6323. return ErrIntOverflowService
  6324. }
  6325. if iNdEx >= l {
  6326. return io.ErrUnexpectedEOF
  6327. }
  6328. b := dAtA[iNdEx]
  6329. iNdEx++
  6330. wire |= (uint64(b) & 0x7F) << shift
  6331. if b < 0x80 {
  6332. break
  6333. }
  6334. }
  6335. fieldNum := int32(wire >> 3)
  6336. wireType := int(wire & 0x7)
  6337. if wireType == 4 {
  6338. return fmt.Errorf("proto: AnchorTaskMyRewardResp: wiretype end group for non-group")
  6339. }
  6340. if fieldNum <= 0 {
  6341. return fmt.Errorf("proto: AnchorTaskMyRewardResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6342. }
  6343. switch fieldNum {
  6344. case 1:
  6345. if wireType != 2 {
  6346. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  6347. }
  6348. var msglen int
  6349. for shift := uint(0); ; shift += 7 {
  6350. if shift >= 64 {
  6351. return ErrIntOverflowService
  6352. }
  6353. if iNdEx >= l {
  6354. return io.ErrUnexpectedEOF
  6355. }
  6356. b := dAtA[iNdEx]
  6357. iNdEx++
  6358. msglen |= (int(b) & 0x7F) << shift
  6359. if b < 0x80 {
  6360. break
  6361. }
  6362. }
  6363. if msglen < 0 {
  6364. return ErrInvalidLengthService
  6365. }
  6366. postIndex := iNdEx + msglen
  6367. if postIndex > l {
  6368. return io.ErrUnexpectedEOF
  6369. }
  6370. m.Data = append(m.Data, &AnchorTaskMyRewardResp_RewardObj{})
  6371. if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6372. return err
  6373. }
  6374. iNdEx = postIndex
  6375. case 2:
  6376. if wireType != 2 {
  6377. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  6378. }
  6379. var msglen int
  6380. for shift := uint(0); ; shift += 7 {
  6381. if shift >= 64 {
  6382. return ErrIntOverflowService
  6383. }
  6384. if iNdEx >= l {
  6385. return io.ErrUnexpectedEOF
  6386. }
  6387. b := dAtA[iNdEx]
  6388. iNdEx++
  6389. msglen |= (int(b) & 0x7F) << shift
  6390. if b < 0x80 {
  6391. break
  6392. }
  6393. }
  6394. if msglen < 0 {
  6395. return ErrInvalidLengthService
  6396. }
  6397. postIndex := iNdEx + msglen
  6398. if postIndex > l {
  6399. return io.ErrUnexpectedEOF
  6400. }
  6401. if m.Page == nil {
  6402. m.Page = &AnchorTaskMyRewardResp_Page{}
  6403. }
  6404. if err := m.Page.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6405. return err
  6406. }
  6407. iNdEx = postIndex
  6408. case 3:
  6409. if wireType != 0 {
  6410. return fmt.Errorf("proto: wrong wireType = %d for field ExpireCount", wireType)
  6411. }
  6412. m.ExpireCount = 0
  6413. for shift := uint(0); ; shift += 7 {
  6414. if shift >= 64 {
  6415. return ErrIntOverflowService
  6416. }
  6417. if iNdEx >= l {
  6418. return io.ErrUnexpectedEOF
  6419. }
  6420. b := dAtA[iNdEx]
  6421. iNdEx++
  6422. m.ExpireCount |= (int64(b) & 0x7F) << shift
  6423. if b < 0x80 {
  6424. break
  6425. }
  6426. }
  6427. default:
  6428. iNdEx = preIndex
  6429. skippy, err := skipService(dAtA[iNdEx:])
  6430. if err != nil {
  6431. return err
  6432. }
  6433. if skippy < 0 {
  6434. return ErrInvalidLengthService
  6435. }
  6436. if (iNdEx + skippy) > l {
  6437. return io.ErrUnexpectedEOF
  6438. }
  6439. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6440. iNdEx += skippy
  6441. }
  6442. }
  6443. if iNdEx > l {
  6444. return io.ErrUnexpectedEOF
  6445. }
  6446. return nil
  6447. }
  6448. func (m *AnchorTaskMyRewardResp_RewardObj) Unmarshal(dAtA []byte) error {
  6449. l := len(dAtA)
  6450. iNdEx := 0
  6451. for iNdEx < l {
  6452. preIndex := iNdEx
  6453. var wire uint64
  6454. for shift := uint(0); ; shift += 7 {
  6455. if shift >= 64 {
  6456. return ErrIntOverflowService
  6457. }
  6458. if iNdEx >= l {
  6459. return io.ErrUnexpectedEOF
  6460. }
  6461. b := dAtA[iNdEx]
  6462. iNdEx++
  6463. wire |= (uint64(b) & 0x7F) << shift
  6464. if b < 0x80 {
  6465. break
  6466. }
  6467. }
  6468. fieldNum := int32(wire >> 3)
  6469. wireType := int(wire & 0x7)
  6470. if wireType == 4 {
  6471. return fmt.Errorf("proto: RewardObj: wiretype end group for non-group")
  6472. }
  6473. if fieldNum <= 0 {
  6474. return fmt.Errorf("proto: RewardObj: illegal tag %d (wire type %d)", fieldNum, wire)
  6475. }
  6476. switch fieldNum {
  6477. case 1:
  6478. if wireType != 0 {
  6479. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  6480. }
  6481. m.Id = 0
  6482. for shift := uint(0); ; shift += 7 {
  6483. if shift >= 64 {
  6484. return ErrIntOverflowService
  6485. }
  6486. if iNdEx >= l {
  6487. return io.ErrUnexpectedEOF
  6488. }
  6489. b := dAtA[iNdEx]
  6490. iNdEx++
  6491. m.Id |= (int64(b) & 0x7F) << shift
  6492. if b < 0x80 {
  6493. break
  6494. }
  6495. }
  6496. case 2:
  6497. if wireType != 0 {
  6498. return fmt.Errorf("proto: wrong wireType = %d for field RewardType", wireType)
  6499. }
  6500. m.RewardType = 0
  6501. for shift := uint(0); ; shift += 7 {
  6502. if shift >= 64 {
  6503. return ErrIntOverflowService
  6504. }
  6505. if iNdEx >= l {
  6506. return io.ErrUnexpectedEOF
  6507. }
  6508. b := dAtA[iNdEx]
  6509. iNdEx++
  6510. m.RewardType |= (int64(b) & 0x7F) << shift
  6511. if b < 0x80 {
  6512. break
  6513. }
  6514. }
  6515. case 3:
  6516. if wireType != 0 {
  6517. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  6518. }
  6519. m.Status = 0
  6520. for shift := uint(0); ; shift += 7 {
  6521. if shift >= 64 {
  6522. return ErrIntOverflowService
  6523. }
  6524. if iNdEx >= l {
  6525. return io.ErrUnexpectedEOF
  6526. }
  6527. b := dAtA[iNdEx]
  6528. iNdEx++
  6529. m.Status |= (int64(b) & 0x7F) << shift
  6530. if b < 0x80 {
  6531. break
  6532. }
  6533. }
  6534. case 4:
  6535. if wireType != 0 {
  6536. return fmt.Errorf("proto: wrong wireType = %d for field RewardId", wireType)
  6537. }
  6538. m.RewardId = 0
  6539. for shift := uint(0); ; shift += 7 {
  6540. if shift >= 64 {
  6541. return ErrIntOverflowService
  6542. }
  6543. if iNdEx >= l {
  6544. return io.ErrUnexpectedEOF
  6545. }
  6546. b := dAtA[iNdEx]
  6547. iNdEx++
  6548. m.RewardId |= (int64(b) & 0x7F) << shift
  6549. if b < 0x80 {
  6550. break
  6551. }
  6552. }
  6553. case 5:
  6554. if wireType != 2 {
  6555. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  6556. }
  6557. var stringLen uint64
  6558. for shift := uint(0); ; shift += 7 {
  6559. if shift >= 64 {
  6560. return ErrIntOverflowService
  6561. }
  6562. if iNdEx >= l {
  6563. return io.ErrUnexpectedEOF
  6564. }
  6565. b := dAtA[iNdEx]
  6566. iNdEx++
  6567. stringLen |= (uint64(b) & 0x7F) << shift
  6568. if b < 0x80 {
  6569. break
  6570. }
  6571. }
  6572. intStringLen := int(stringLen)
  6573. if intStringLen < 0 {
  6574. return ErrInvalidLengthService
  6575. }
  6576. postIndex := iNdEx + intStringLen
  6577. if postIndex > l {
  6578. return io.ErrUnexpectedEOF
  6579. }
  6580. m.Name = string(dAtA[iNdEx:postIndex])
  6581. iNdEx = postIndex
  6582. case 6:
  6583. if wireType != 2 {
  6584. return fmt.Errorf("proto: wrong wireType = %d for field Icon", wireType)
  6585. }
  6586. var stringLen uint64
  6587. for shift := uint(0); ; shift += 7 {
  6588. if shift >= 64 {
  6589. return ErrIntOverflowService
  6590. }
  6591. if iNdEx >= l {
  6592. return io.ErrUnexpectedEOF
  6593. }
  6594. b := dAtA[iNdEx]
  6595. iNdEx++
  6596. stringLen |= (uint64(b) & 0x7F) << shift
  6597. if b < 0x80 {
  6598. break
  6599. }
  6600. }
  6601. intStringLen := int(stringLen)
  6602. if intStringLen < 0 {
  6603. return ErrInvalidLengthService
  6604. }
  6605. postIndex := iNdEx + intStringLen
  6606. if postIndex > l {
  6607. return io.ErrUnexpectedEOF
  6608. }
  6609. m.Icon = string(dAtA[iNdEx:postIndex])
  6610. iNdEx = postIndex
  6611. case 7:
  6612. if wireType != 2 {
  6613. return fmt.Errorf("proto: wrong wireType = %d for field AchieveTime", wireType)
  6614. }
  6615. var stringLen uint64
  6616. for shift := uint(0); ; shift += 7 {
  6617. if shift >= 64 {
  6618. return ErrIntOverflowService
  6619. }
  6620. if iNdEx >= l {
  6621. return io.ErrUnexpectedEOF
  6622. }
  6623. b := dAtA[iNdEx]
  6624. iNdEx++
  6625. stringLen |= (uint64(b) & 0x7F) << shift
  6626. if b < 0x80 {
  6627. break
  6628. }
  6629. }
  6630. intStringLen := int(stringLen)
  6631. if intStringLen < 0 {
  6632. return ErrInvalidLengthService
  6633. }
  6634. postIndex := iNdEx + intStringLen
  6635. if postIndex > l {
  6636. return io.ErrUnexpectedEOF
  6637. }
  6638. m.AchieveTime = string(dAtA[iNdEx:postIndex])
  6639. iNdEx = postIndex
  6640. case 8:
  6641. if wireType != 2 {
  6642. return fmt.Errorf("proto: wrong wireType = %d for field ExpireTime", wireType)
  6643. }
  6644. var stringLen uint64
  6645. for shift := uint(0); ; shift += 7 {
  6646. if shift >= 64 {
  6647. return ErrIntOverflowService
  6648. }
  6649. if iNdEx >= l {
  6650. return io.ErrUnexpectedEOF
  6651. }
  6652. b := dAtA[iNdEx]
  6653. iNdEx++
  6654. stringLen |= (uint64(b) & 0x7F) << shift
  6655. if b < 0x80 {
  6656. break
  6657. }
  6658. }
  6659. intStringLen := int(stringLen)
  6660. if intStringLen < 0 {
  6661. return ErrInvalidLengthService
  6662. }
  6663. postIndex := iNdEx + intStringLen
  6664. if postIndex > l {
  6665. return io.ErrUnexpectedEOF
  6666. }
  6667. m.ExpireTime = string(dAtA[iNdEx:postIndex])
  6668. iNdEx = postIndex
  6669. case 9:
  6670. if wireType != 0 {
  6671. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  6672. }
  6673. m.Source = 0
  6674. for shift := uint(0); ; shift += 7 {
  6675. if shift >= 64 {
  6676. return ErrIntOverflowService
  6677. }
  6678. if iNdEx >= l {
  6679. return io.ErrUnexpectedEOF
  6680. }
  6681. b := dAtA[iNdEx]
  6682. iNdEx++
  6683. m.Source |= (int64(b) & 0x7F) << shift
  6684. if b < 0x80 {
  6685. break
  6686. }
  6687. }
  6688. case 10:
  6689. if wireType != 2 {
  6690. return fmt.Errorf("proto: wrong wireType = %d for field RewardIntro", wireType)
  6691. }
  6692. var stringLen uint64
  6693. for shift := uint(0); ; shift += 7 {
  6694. if shift >= 64 {
  6695. return ErrIntOverflowService
  6696. }
  6697. if iNdEx >= l {
  6698. return io.ErrUnexpectedEOF
  6699. }
  6700. b := dAtA[iNdEx]
  6701. iNdEx++
  6702. stringLen |= (uint64(b) & 0x7F) << shift
  6703. if b < 0x80 {
  6704. break
  6705. }
  6706. }
  6707. intStringLen := int(stringLen)
  6708. if intStringLen < 0 {
  6709. return ErrInvalidLengthService
  6710. }
  6711. postIndex := iNdEx + intStringLen
  6712. if postIndex > l {
  6713. return io.ErrUnexpectedEOF
  6714. }
  6715. m.RewardIntro = string(dAtA[iNdEx:postIndex])
  6716. iNdEx = postIndex
  6717. default:
  6718. iNdEx = preIndex
  6719. skippy, err := skipService(dAtA[iNdEx:])
  6720. if err != nil {
  6721. return err
  6722. }
  6723. if skippy < 0 {
  6724. return ErrInvalidLengthService
  6725. }
  6726. if (iNdEx + skippy) > l {
  6727. return io.ErrUnexpectedEOF
  6728. }
  6729. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6730. iNdEx += skippy
  6731. }
  6732. }
  6733. if iNdEx > l {
  6734. return io.ErrUnexpectedEOF
  6735. }
  6736. return nil
  6737. }
  6738. func (m *AnchorTaskMyRewardResp_Page) Unmarshal(dAtA []byte) error {
  6739. l := len(dAtA)
  6740. iNdEx := 0
  6741. for iNdEx < l {
  6742. preIndex := iNdEx
  6743. var wire uint64
  6744. for shift := uint(0); ; shift += 7 {
  6745. if shift >= 64 {
  6746. return ErrIntOverflowService
  6747. }
  6748. if iNdEx >= l {
  6749. return io.ErrUnexpectedEOF
  6750. }
  6751. b := dAtA[iNdEx]
  6752. iNdEx++
  6753. wire |= (uint64(b) & 0x7F) << shift
  6754. if b < 0x80 {
  6755. break
  6756. }
  6757. }
  6758. fieldNum := int32(wire >> 3)
  6759. wireType := int(wire & 0x7)
  6760. if wireType == 4 {
  6761. return fmt.Errorf("proto: Page: wiretype end group for non-group")
  6762. }
  6763. if fieldNum <= 0 {
  6764. return fmt.Errorf("proto: Page: illegal tag %d (wire type %d)", fieldNum, wire)
  6765. }
  6766. switch fieldNum {
  6767. case 1:
  6768. if wireType != 0 {
  6769. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  6770. }
  6771. m.Page = 0
  6772. for shift := uint(0); ; shift += 7 {
  6773. if shift >= 64 {
  6774. return ErrIntOverflowService
  6775. }
  6776. if iNdEx >= l {
  6777. return io.ErrUnexpectedEOF
  6778. }
  6779. b := dAtA[iNdEx]
  6780. iNdEx++
  6781. m.Page |= (int64(b) & 0x7F) << shift
  6782. if b < 0x80 {
  6783. break
  6784. }
  6785. }
  6786. case 2:
  6787. if wireType != 0 {
  6788. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  6789. }
  6790. m.PageSize = 0
  6791. for shift := uint(0); ; shift += 7 {
  6792. if shift >= 64 {
  6793. return ErrIntOverflowService
  6794. }
  6795. if iNdEx >= l {
  6796. return io.ErrUnexpectedEOF
  6797. }
  6798. b := dAtA[iNdEx]
  6799. iNdEx++
  6800. m.PageSize |= (int64(b) & 0x7F) << shift
  6801. if b < 0x80 {
  6802. break
  6803. }
  6804. }
  6805. case 3:
  6806. if wireType != 0 {
  6807. return fmt.Errorf("proto: wrong wireType = %d for field TotalPage", wireType)
  6808. }
  6809. m.TotalPage = 0
  6810. for shift := uint(0); ; shift += 7 {
  6811. if shift >= 64 {
  6812. return ErrIntOverflowService
  6813. }
  6814. if iNdEx >= l {
  6815. return io.ErrUnexpectedEOF
  6816. }
  6817. b := dAtA[iNdEx]
  6818. iNdEx++
  6819. m.TotalPage |= (int64(b) & 0x7F) << shift
  6820. if b < 0x80 {
  6821. break
  6822. }
  6823. }
  6824. case 4:
  6825. if wireType != 0 {
  6826. return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType)
  6827. }
  6828. m.TotalCount = 0
  6829. for shift := uint(0); ; shift += 7 {
  6830. if shift >= 64 {
  6831. return ErrIntOverflowService
  6832. }
  6833. if iNdEx >= l {
  6834. return io.ErrUnexpectedEOF
  6835. }
  6836. b := dAtA[iNdEx]
  6837. iNdEx++
  6838. m.TotalCount |= (int64(b) & 0x7F) << shift
  6839. if b < 0x80 {
  6840. break
  6841. }
  6842. }
  6843. default:
  6844. iNdEx = preIndex
  6845. skippy, err := skipService(dAtA[iNdEx:])
  6846. if err != nil {
  6847. return err
  6848. }
  6849. if skippy < 0 {
  6850. return ErrInvalidLengthService
  6851. }
  6852. if (iNdEx + skippy) > l {
  6853. return io.ErrUnexpectedEOF
  6854. }
  6855. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6856. iNdEx += skippy
  6857. }
  6858. }
  6859. if iNdEx > l {
  6860. return io.ErrUnexpectedEOF
  6861. }
  6862. return nil
  6863. }
  6864. func (m *AnchorTaskUseRecordReq) Unmarshal(dAtA []byte) error {
  6865. l := len(dAtA)
  6866. iNdEx := 0
  6867. for iNdEx < l {
  6868. preIndex := iNdEx
  6869. var wire uint64
  6870. for shift := uint(0); ; shift += 7 {
  6871. if shift >= 64 {
  6872. return ErrIntOverflowService
  6873. }
  6874. if iNdEx >= l {
  6875. return io.ErrUnexpectedEOF
  6876. }
  6877. b := dAtA[iNdEx]
  6878. iNdEx++
  6879. wire |= (uint64(b) & 0x7F) << shift
  6880. if b < 0x80 {
  6881. break
  6882. }
  6883. }
  6884. fieldNum := int32(wire >> 3)
  6885. wireType := int(wire & 0x7)
  6886. if wireType == 4 {
  6887. return fmt.Errorf("proto: AnchorTaskUseRecordReq: wiretype end group for non-group")
  6888. }
  6889. if fieldNum <= 0 {
  6890. return fmt.Errorf("proto: AnchorTaskUseRecordReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6891. }
  6892. switch fieldNum {
  6893. case 1:
  6894. if wireType != 0 {
  6895. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  6896. }
  6897. m.Page = 0
  6898. for shift := uint(0); ; shift += 7 {
  6899. if shift >= 64 {
  6900. return ErrIntOverflowService
  6901. }
  6902. if iNdEx >= l {
  6903. return io.ErrUnexpectedEOF
  6904. }
  6905. b := dAtA[iNdEx]
  6906. iNdEx++
  6907. m.Page |= (int64(b) & 0x7F) << shift
  6908. if b < 0x80 {
  6909. break
  6910. }
  6911. }
  6912. default:
  6913. iNdEx = preIndex
  6914. skippy, err := skipService(dAtA[iNdEx:])
  6915. if err != nil {
  6916. return err
  6917. }
  6918. if skippy < 0 {
  6919. return ErrInvalidLengthService
  6920. }
  6921. if (iNdEx + skippy) > l {
  6922. return io.ErrUnexpectedEOF
  6923. }
  6924. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6925. iNdEx += skippy
  6926. }
  6927. }
  6928. if iNdEx > l {
  6929. return io.ErrUnexpectedEOF
  6930. }
  6931. return nil
  6932. }
  6933. func (m *AnchorTaskUseRecordResp) Unmarshal(dAtA []byte) error {
  6934. l := len(dAtA)
  6935. iNdEx := 0
  6936. for iNdEx < l {
  6937. preIndex := iNdEx
  6938. var wire uint64
  6939. for shift := uint(0); ; shift += 7 {
  6940. if shift >= 64 {
  6941. return ErrIntOverflowService
  6942. }
  6943. if iNdEx >= l {
  6944. return io.ErrUnexpectedEOF
  6945. }
  6946. b := dAtA[iNdEx]
  6947. iNdEx++
  6948. wire |= (uint64(b) & 0x7F) << shift
  6949. if b < 0x80 {
  6950. break
  6951. }
  6952. }
  6953. fieldNum := int32(wire >> 3)
  6954. wireType := int(wire & 0x7)
  6955. if wireType == 4 {
  6956. return fmt.Errorf("proto: AnchorTaskUseRecordResp: wiretype end group for non-group")
  6957. }
  6958. if fieldNum <= 0 {
  6959. return fmt.Errorf("proto: AnchorTaskUseRecordResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6960. }
  6961. switch fieldNum {
  6962. case 1:
  6963. if wireType != 2 {
  6964. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  6965. }
  6966. var msglen int
  6967. for shift := uint(0); ; shift += 7 {
  6968. if shift >= 64 {
  6969. return ErrIntOverflowService
  6970. }
  6971. if iNdEx >= l {
  6972. return io.ErrUnexpectedEOF
  6973. }
  6974. b := dAtA[iNdEx]
  6975. iNdEx++
  6976. msglen |= (int(b) & 0x7F) << shift
  6977. if b < 0x80 {
  6978. break
  6979. }
  6980. }
  6981. if msglen < 0 {
  6982. return ErrInvalidLengthService
  6983. }
  6984. postIndex := iNdEx + msglen
  6985. if postIndex > l {
  6986. return io.ErrUnexpectedEOF
  6987. }
  6988. m.Data = append(m.Data, &AnchorTaskUseRecordResp_RewardObj{})
  6989. if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6990. return err
  6991. }
  6992. iNdEx = postIndex
  6993. case 2:
  6994. if wireType != 2 {
  6995. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  6996. }
  6997. var msglen int
  6998. for shift := uint(0); ; shift += 7 {
  6999. if shift >= 64 {
  7000. return ErrIntOverflowService
  7001. }
  7002. if iNdEx >= l {
  7003. return io.ErrUnexpectedEOF
  7004. }
  7005. b := dAtA[iNdEx]
  7006. iNdEx++
  7007. msglen |= (int(b) & 0x7F) << shift
  7008. if b < 0x80 {
  7009. break
  7010. }
  7011. }
  7012. if msglen < 0 {
  7013. return ErrInvalidLengthService
  7014. }
  7015. postIndex := iNdEx + msglen
  7016. if postIndex > l {
  7017. return io.ErrUnexpectedEOF
  7018. }
  7019. if m.Page == nil {
  7020. m.Page = &AnchorTaskUseRecordResp_Page{}
  7021. }
  7022. if err := m.Page.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7023. return err
  7024. }
  7025. iNdEx = postIndex
  7026. default:
  7027. iNdEx = preIndex
  7028. skippy, err := skipService(dAtA[iNdEx:])
  7029. if err != nil {
  7030. return err
  7031. }
  7032. if skippy < 0 {
  7033. return ErrInvalidLengthService
  7034. }
  7035. if (iNdEx + skippy) > l {
  7036. return io.ErrUnexpectedEOF
  7037. }
  7038. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7039. iNdEx += skippy
  7040. }
  7041. }
  7042. if iNdEx > l {
  7043. return io.ErrUnexpectedEOF
  7044. }
  7045. return nil
  7046. }
  7047. func (m *AnchorTaskUseRecordResp_RewardObj) Unmarshal(dAtA []byte) error {
  7048. l := len(dAtA)
  7049. iNdEx := 0
  7050. for iNdEx < l {
  7051. preIndex := iNdEx
  7052. var wire uint64
  7053. for shift := uint(0); ; shift += 7 {
  7054. if shift >= 64 {
  7055. return ErrIntOverflowService
  7056. }
  7057. if iNdEx >= l {
  7058. return io.ErrUnexpectedEOF
  7059. }
  7060. b := dAtA[iNdEx]
  7061. iNdEx++
  7062. wire |= (uint64(b) & 0x7F) << shift
  7063. if b < 0x80 {
  7064. break
  7065. }
  7066. }
  7067. fieldNum := int32(wire >> 3)
  7068. wireType := int(wire & 0x7)
  7069. if wireType == 4 {
  7070. return fmt.Errorf("proto: RewardObj: wiretype end group for non-group")
  7071. }
  7072. if fieldNum <= 0 {
  7073. return fmt.Errorf("proto: RewardObj: illegal tag %d (wire type %d)", fieldNum, wire)
  7074. }
  7075. switch fieldNum {
  7076. case 1:
  7077. if wireType != 0 {
  7078. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  7079. }
  7080. m.Id = 0
  7081. for shift := uint(0); ; shift += 7 {
  7082. if shift >= 64 {
  7083. return ErrIntOverflowService
  7084. }
  7085. if iNdEx >= l {
  7086. return io.ErrUnexpectedEOF
  7087. }
  7088. b := dAtA[iNdEx]
  7089. iNdEx++
  7090. m.Id |= (int64(b) & 0x7F) << shift
  7091. if b < 0x80 {
  7092. break
  7093. }
  7094. }
  7095. case 2:
  7096. if wireType != 0 {
  7097. return fmt.Errorf("proto: wrong wireType = %d for field RewardId", wireType)
  7098. }
  7099. m.RewardId = 0
  7100. for shift := uint(0); ; shift += 7 {
  7101. if shift >= 64 {
  7102. return ErrIntOverflowService
  7103. }
  7104. if iNdEx >= l {
  7105. return io.ErrUnexpectedEOF
  7106. }
  7107. b := dAtA[iNdEx]
  7108. iNdEx++
  7109. m.RewardId |= (int64(b) & 0x7F) << shift
  7110. if b < 0x80 {
  7111. break
  7112. }
  7113. }
  7114. case 3:
  7115. if wireType != 0 {
  7116. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  7117. }
  7118. m.Status = 0
  7119. for shift := uint(0); ; shift += 7 {
  7120. if shift >= 64 {
  7121. return ErrIntOverflowService
  7122. }
  7123. if iNdEx >= l {
  7124. return io.ErrUnexpectedEOF
  7125. }
  7126. b := dAtA[iNdEx]
  7127. iNdEx++
  7128. m.Status |= (int64(b) & 0x7F) << shift
  7129. if b < 0x80 {
  7130. break
  7131. }
  7132. }
  7133. case 4:
  7134. if wireType != 2 {
  7135. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  7136. }
  7137. var stringLen uint64
  7138. for shift := uint(0); ; shift += 7 {
  7139. if shift >= 64 {
  7140. return ErrIntOverflowService
  7141. }
  7142. if iNdEx >= l {
  7143. return io.ErrUnexpectedEOF
  7144. }
  7145. b := dAtA[iNdEx]
  7146. iNdEx++
  7147. stringLen |= (uint64(b) & 0x7F) << shift
  7148. if b < 0x80 {
  7149. break
  7150. }
  7151. }
  7152. intStringLen := int(stringLen)
  7153. if intStringLen < 0 {
  7154. return ErrInvalidLengthService
  7155. }
  7156. postIndex := iNdEx + intStringLen
  7157. if postIndex > l {
  7158. return io.ErrUnexpectedEOF
  7159. }
  7160. m.Name = string(dAtA[iNdEx:postIndex])
  7161. iNdEx = postIndex
  7162. case 5:
  7163. if wireType != 2 {
  7164. return fmt.Errorf("proto: wrong wireType = %d for field Icon", wireType)
  7165. }
  7166. var stringLen uint64
  7167. for shift := uint(0); ; shift += 7 {
  7168. if shift >= 64 {
  7169. return ErrIntOverflowService
  7170. }
  7171. if iNdEx >= l {
  7172. return io.ErrUnexpectedEOF
  7173. }
  7174. b := dAtA[iNdEx]
  7175. iNdEx++
  7176. stringLen |= (uint64(b) & 0x7F) << shift
  7177. if b < 0x80 {
  7178. break
  7179. }
  7180. }
  7181. intStringLen := int(stringLen)
  7182. if intStringLen < 0 {
  7183. return ErrInvalidLengthService
  7184. }
  7185. postIndex := iNdEx + intStringLen
  7186. if postIndex > l {
  7187. return io.ErrUnexpectedEOF
  7188. }
  7189. m.Icon = string(dAtA[iNdEx:postIndex])
  7190. iNdEx = postIndex
  7191. case 6:
  7192. if wireType != 2 {
  7193. return fmt.Errorf("proto: wrong wireType = %d for field AchieveTime", wireType)
  7194. }
  7195. var stringLen uint64
  7196. for shift := uint(0); ; shift += 7 {
  7197. if shift >= 64 {
  7198. return ErrIntOverflowService
  7199. }
  7200. if iNdEx >= l {
  7201. return io.ErrUnexpectedEOF
  7202. }
  7203. b := dAtA[iNdEx]
  7204. iNdEx++
  7205. stringLen |= (uint64(b) & 0x7F) << shift
  7206. if b < 0x80 {
  7207. break
  7208. }
  7209. }
  7210. intStringLen := int(stringLen)
  7211. if intStringLen < 0 {
  7212. return ErrInvalidLengthService
  7213. }
  7214. postIndex := iNdEx + intStringLen
  7215. if postIndex > l {
  7216. return io.ErrUnexpectedEOF
  7217. }
  7218. m.AchieveTime = string(dAtA[iNdEx:postIndex])
  7219. iNdEx = postIndex
  7220. case 7:
  7221. if wireType != 2 {
  7222. return fmt.Errorf("proto: wrong wireType = %d for field ExpireTime", wireType)
  7223. }
  7224. var stringLen uint64
  7225. for shift := uint(0); ; shift += 7 {
  7226. if shift >= 64 {
  7227. return ErrIntOverflowService
  7228. }
  7229. if iNdEx >= l {
  7230. return io.ErrUnexpectedEOF
  7231. }
  7232. b := dAtA[iNdEx]
  7233. iNdEx++
  7234. stringLen |= (uint64(b) & 0x7F) << shift
  7235. if b < 0x80 {
  7236. break
  7237. }
  7238. }
  7239. intStringLen := int(stringLen)
  7240. if intStringLen < 0 {
  7241. return ErrInvalidLengthService
  7242. }
  7243. postIndex := iNdEx + intStringLen
  7244. if postIndex > l {
  7245. return io.ErrUnexpectedEOF
  7246. }
  7247. m.ExpireTime = string(dAtA[iNdEx:postIndex])
  7248. iNdEx = postIndex
  7249. case 8:
  7250. if wireType != 0 {
  7251. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  7252. }
  7253. m.Source = 0
  7254. for shift := uint(0); ; shift += 7 {
  7255. if shift >= 64 {
  7256. return ErrIntOverflowService
  7257. }
  7258. if iNdEx >= l {
  7259. return io.ErrUnexpectedEOF
  7260. }
  7261. b := dAtA[iNdEx]
  7262. iNdEx++
  7263. m.Source |= (int64(b) & 0x7F) << shift
  7264. if b < 0x80 {
  7265. break
  7266. }
  7267. }
  7268. case 9:
  7269. if wireType != 2 {
  7270. return fmt.Errorf("proto: wrong wireType = %d for field RewardIntro", wireType)
  7271. }
  7272. var stringLen uint64
  7273. for shift := uint(0); ; shift += 7 {
  7274. if shift >= 64 {
  7275. return ErrIntOverflowService
  7276. }
  7277. if iNdEx >= l {
  7278. return io.ErrUnexpectedEOF
  7279. }
  7280. b := dAtA[iNdEx]
  7281. iNdEx++
  7282. stringLen |= (uint64(b) & 0x7F) << shift
  7283. if b < 0x80 {
  7284. break
  7285. }
  7286. }
  7287. intStringLen := int(stringLen)
  7288. if intStringLen < 0 {
  7289. return ErrInvalidLengthService
  7290. }
  7291. postIndex := iNdEx + intStringLen
  7292. if postIndex > l {
  7293. return io.ErrUnexpectedEOF
  7294. }
  7295. m.RewardIntro = string(dAtA[iNdEx:postIndex])
  7296. iNdEx = postIndex
  7297. case 10:
  7298. if wireType != 2 {
  7299. return fmt.Errorf("proto: wrong wireType = %d for field UseTime", wireType)
  7300. }
  7301. var stringLen uint64
  7302. for shift := uint(0); ; shift += 7 {
  7303. if shift >= 64 {
  7304. return ErrIntOverflowService
  7305. }
  7306. if iNdEx >= l {
  7307. return io.ErrUnexpectedEOF
  7308. }
  7309. b := dAtA[iNdEx]
  7310. iNdEx++
  7311. stringLen |= (uint64(b) & 0x7F) << shift
  7312. if b < 0x80 {
  7313. break
  7314. }
  7315. }
  7316. intStringLen := int(stringLen)
  7317. if intStringLen < 0 {
  7318. return ErrInvalidLengthService
  7319. }
  7320. postIndex := iNdEx + intStringLen
  7321. if postIndex > l {
  7322. return io.ErrUnexpectedEOF
  7323. }
  7324. m.UseTime = string(dAtA[iNdEx:postIndex])
  7325. iNdEx = postIndex
  7326. default:
  7327. iNdEx = preIndex
  7328. skippy, err := skipService(dAtA[iNdEx:])
  7329. if err != nil {
  7330. return err
  7331. }
  7332. if skippy < 0 {
  7333. return ErrInvalidLengthService
  7334. }
  7335. if (iNdEx + skippy) > l {
  7336. return io.ErrUnexpectedEOF
  7337. }
  7338. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7339. iNdEx += skippy
  7340. }
  7341. }
  7342. if iNdEx > l {
  7343. return io.ErrUnexpectedEOF
  7344. }
  7345. return nil
  7346. }
  7347. func (m *AnchorTaskUseRecordResp_Page) Unmarshal(dAtA []byte) error {
  7348. l := len(dAtA)
  7349. iNdEx := 0
  7350. for iNdEx < l {
  7351. preIndex := iNdEx
  7352. var wire uint64
  7353. for shift := uint(0); ; shift += 7 {
  7354. if shift >= 64 {
  7355. return ErrIntOverflowService
  7356. }
  7357. if iNdEx >= l {
  7358. return io.ErrUnexpectedEOF
  7359. }
  7360. b := dAtA[iNdEx]
  7361. iNdEx++
  7362. wire |= (uint64(b) & 0x7F) << shift
  7363. if b < 0x80 {
  7364. break
  7365. }
  7366. }
  7367. fieldNum := int32(wire >> 3)
  7368. wireType := int(wire & 0x7)
  7369. if wireType == 4 {
  7370. return fmt.Errorf("proto: Page: wiretype end group for non-group")
  7371. }
  7372. if fieldNum <= 0 {
  7373. return fmt.Errorf("proto: Page: illegal tag %d (wire type %d)", fieldNum, wire)
  7374. }
  7375. switch fieldNum {
  7376. case 1:
  7377. if wireType != 0 {
  7378. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  7379. }
  7380. m.Page = 0
  7381. for shift := uint(0); ; shift += 7 {
  7382. if shift >= 64 {
  7383. return ErrIntOverflowService
  7384. }
  7385. if iNdEx >= l {
  7386. return io.ErrUnexpectedEOF
  7387. }
  7388. b := dAtA[iNdEx]
  7389. iNdEx++
  7390. m.Page |= (int64(b) & 0x7F) << shift
  7391. if b < 0x80 {
  7392. break
  7393. }
  7394. }
  7395. case 2:
  7396. if wireType != 0 {
  7397. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  7398. }
  7399. m.PageSize = 0
  7400. for shift := uint(0); ; shift += 7 {
  7401. if shift >= 64 {
  7402. return ErrIntOverflowService
  7403. }
  7404. if iNdEx >= l {
  7405. return io.ErrUnexpectedEOF
  7406. }
  7407. b := dAtA[iNdEx]
  7408. iNdEx++
  7409. m.PageSize |= (int64(b) & 0x7F) << shift
  7410. if b < 0x80 {
  7411. break
  7412. }
  7413. }
  7414. case 3:
  7415. if wireType != 0 {
  7416. return fmt.Errorf("proto: wrong wireType = %d for field TotalPage", wireType)
  7417. }
  7418. m.TotalPage = 0
  7419. for shift := uint(0); ; shift += 7 {
  7420. if shift >= 64 {
  7421. return ErrIntOverflowService
  7422. }
  7423. if iNdEx >= l {
  7424. return io.ErrUnexpectedEOF
  7425. }
  7426. b := dAtA[iNdEx]
  7427. iNdEx++
  7428. m.TotalPage |= (int64(b) & 0x7F) << shift
  7429. if b < 0x80 {
  7430. break
  7431. }
  7432. }
  7433. case 4:
  7434. if wireType != 0 {
  7435. return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType)
  7436. }
  7437. m.TotalCount = 0
  7438. for shift := uint(0); ; shift += 7 {
  7439. if shift >= 64 {
  7440. return ErrIntOverflowService
  7441. }
  7442. if iNdEx >= l {
  7443. return io.ErrUnexpectedEOF
  7444. }
  7445. b := dAtA[iNdEx]
  7446. iNdEx++
  7447. m.TotalCount |= (int64(b) & 0x7F) << shift
  7448. if b < 0x80 {
  7449. break
  7450. }
  7451. }
  7452. default:
  7453. iNdEx = preIndex
  7454. skippy, err := skipService(dAtA[iNdEx:])
  7455. if err != nil {
  7456. return err
  7457. }
  7458. if skippy < 0 {
  7459. return ErrInvalidLengthService
  7460. }
  7461. if (iNdEx + skippy) > l {
  7462. return io.ErrUnexpectedEOF
  7463. }
  7464. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7465. iNdEx += skippy
  7466. }
  7467. }
  7468. if iNdEx > l {
  7469. return io.ErrUnexpectedEOF
  7470. }
  7471. return nil
  7472. }
  7473. func (m *AnchorTaskUseRewardReq) Unmarshal(dAtA []byte) error {
  7474. l := len(dAtA)
  7475. iNdEx := 0
  7476. for iNdEx < l {
  7477. preIndex := iNdEx
  7478. var wire uint64
  7479. for shift := uint(0); ; shift += 7 {
  7480. if shift >= 64 {
  7481. return ErrIntOverflowService
  7482. }
  7483. if iNdEx >= l {
  7484. return io.ErrUnexpectedEOF
  7485. }
  7486. b := dAtA[iNdEx]
  7487. iNdEx++
  7488. wire |= (uint64(b) & 0x7F) << shift
  7489. if b < 0x80 {
  7490. break
  7491. }
  7492. }
  7493. fieldNum := int32(wire >> 3)
  7494. wireType := int(wire & 0x7)
  7495. if wireType == 4 {
  7496. return fmt.Errorf("proto: AnchorTaskUseRewardReq: wiretype end group for non-group")
  7497. }
  7498. if fieldNum <= 0 {
  7499. return fmt.Errorf("proto: AnchorTaskUseRewardReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7500. }
  7501. switch fieldNum {
  7502. case 1:
  7503. if wireType != 0 {
  7504. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  7505. }
  7506. m.Id = 0
  7507. for shift := uint(0); ; shift += 7 {
  7508. if shift >= 64 {
  7509. return ErrIntOverflowService
  7510. }
  7511. if iNdEx >= l {
  7512. return io.ErrUnexpectedEOF
  7513. }
  7514. b := dAtA[iNdEx]
  7515. iNdEx++
  7516. m.Id |= (int64(b) & 0x7F) << shift
  7517. if b < 0x80 {
  7518. break
  7519. }
  7520. }
  7521. case 2:
  7522. if wireType != 2 {
  7523. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  7524. }
  7525. var stringLen uint64
  7526. for shift := uint(0); ; shift += 7 {
  7527. if shift >= 64 {
  7528. return ErrIntOverflowService
  7529. }
  7530. if iNdEx >= l {
  7531. return io.ErrUnexpectedEOF
  7532. }
  7533. b := dAtA[iNdEx]
  7534. iNdEx++
  7535. stringLen |= (uint64(b) & 0x7F) << shift
  7536. if b < 0x80 {
  7537. break
  7538. }
  7539. }
  7540. intStringLen := int(stringLen)
  7541. if intStringLen < 0 {
  7542. return ErrInvalidLengthService
  7543. }
  7544. postIndex := iNdEx + intStringLen
  7545. if postIndex > l {
  7546. return io.ErrUnexpectedEOF
  7547. }
  7548. m.Platform = string(dAtA[iNdEx:postIndex])
  7549. iNdEx = postIndex
  7550. default:
  7551. iNdEx = preIndex
  7552. skippy, err := skipService(dAtA[iNdEx:])
  7553. if err != nil {
  7554. return err
  7555. }
  7556. if skippy < 0 {
  7557. return ErrInvalidLengthService
  7558. }
  7559. if (iNdEx + skippy) > l {
  7560. return io.ErrUnexpectedEOF
  7561. }
  7562. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7563. iNdEx += skippy
  7564. }
  7565. }
  7566. if iNdEx > l {
  7567. return io.ErrUnexpectedEOF
  7568. }
  7569. return nil
  7570. }
  7571. func (m *AnchorTaskUseRewardResp) Unmarshal(dAtA []byte) error {
  7572. l := len(dAtA)
  7573. iNdEx := 0
  7574. for iNdEx < l {
  7575. preIndex := iNdEx
  7576. var wire uint64
  7577. for shift := uint(0); ; shift += 7 {
  7578. if shift >= 64 {
  7579. return ErrIntOverflowService
  7580. }
  7581. if iNdEx >= l {
  7582. return io.ErrUnexpectedEOF
  7583. }
  7584. b := dAtA[iNdEx]
  7585. iNdEx++
  7586. wire |= (uint64(b) & 0x7F) << shift
  7587. if b < 0x80 {
  7588. break
  7589. }
  7590. }
  7591. fieldNum := int32(wire >> 3)
  7592. wireType := int(wire & 0x7)
  7593. if wireType == 4 {
  7594. return fmt.Errorf("proto: AnchorTaskUseRewardResp: wiretype end group for non-group")
  7595. }
  7596. if fieldNum <= 0 {
  7597. return fmt.Errorf("proto: AnchorTaskUseRewardResp: illegal tag %d (wire type %d)", fieldNum, wire)
  7598. }
  7599. switch fieldNum {
  7600. case 1:
  7601. if wireType != 0 {
  7602. return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  7603. }
  7604. m.Result = 0
  7605. for shift := uint(0); ; shift += 7 {
  7606. if shift >= 64 {
  7607. return ErrIntOverflowService
  7608. }
  7609. if iNdEx >= l {
  7610. return io.ErrUnexpectedEOF
  7611. }
  7612. b := dAtA[iNdEx]
  7613. iNdEx++
  7614. m.Result |= (int64(b) & 0x7F) << shift
  7615. if b < 0x80 {
  7616. break
  7617. }
  7618. }
  7619. default:
  7620. iNdEx = preIndex
  7621. skippy, err := skipService(dAtA[iNdEx:])
  7622. if err != nil {
  7623. return err
  7624. }
  7625. if skippy < 0 {
  7626. return ErrInvalidLengthService
  7627. }
  7628. if (iNdEx + skippy) > l {
  7629. return io.ErrUnexpectedEOF
  7630. }
  7631. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7632. iNdEx += skippy
  7633. }
  7634. }
  7635. if iNdEx > l {
  7636. return io.ErrUnexpectedEOF
  7637. }
  7638. return nil
  7639. }
  7640. func (m *AnchorTaskIsViewedReq) Unmarshal(dAtA []byte) error {
  7641. l := len(dAtA)
  7642. iNdEx := 0
  7643. for iNdEx < l {
  7644. preIndex := iNdEx
  7645. var wire uint64
  7646. for shift := uint(0); ; shift += 7 {
  7647. if shift >= 64 {
  7648. return ErrIntOverflowService
  7649. }
  7650. if iNdEx >= l {
  7651. return io.ErrUnexpectedEOF
  7652. }
  7653. b := dAtA[iNdEx]
  7654. iNdEx++
  7655. wire |= (uint64(b) & 0x7F) << shift
  7656. if b < 0x80 {
  7657. break
  7658. }
  7659. }
  7660. fieldNum := int32(wire >> 3)
  7661. wireType := int(wire & 0x7)
  7662. if wireType == 4 {
  7663. return fmt.Errorf("proto: AnchorTaskIsViewedReq: wiretype end group for non-group")
  7664. }
  7665. if fieldNum <= 0 {
  7666. return fmt.Errorf("proto: AnchorTaskIsViewedReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7667. }
  7668. switch fieldNum {
  7669. default:
  7670. iNdEx = preIndex
  7671. skippy, err := skipService(dAtA[iNdEx:])
  7672. if err != nil {
  7673. return err
  7674. }
  7675. if skippy < 0 {
  7676. return ErrInvalidLengthService
  7677. }
  7678. if (iNdEx + skippy) > l {
  7679. return io.ErrUnexpectedEOF
  7680. }
  7681. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7682. iNdEx += skippy
  7683. }
  7684. }
  7685. if iNdEx > l {
  7686. return io.ErrUnexpectedEOF
  7687. }
  7688. return nil
  7689. }
  7690. func (m *AnchorTaskIsViewedResp) Unmarshal(dAtA []byte) error {
  7691. l := len(dAtA)
  7692. iNdEx := 0
  7693. for iNdEx < l {
  7694. preIndex := iNdEx
  7695. var wire uint64
  7696. for shift := uint(0); ; shift += 7 {
  7697. if shift >= 64 {
  7698. return ErrIntOverflowService
  7699. }
  7700. if iNdEx >= l {
  7701. return io.ErrUnexpectedEOF
  7702. }
  7703. b := dAtA[iNdEx]
  7704. iNdEx++
  7705. wire |= (uint64(b) & 0x7F) << shift
  7706. if b < 0x80 {
  7707. break
  7708. }
  7709. }
  7710. fieldNum := int32(wire >> 3)
  7711. wireType := int(wire & 0x7)
  7712. if wireType == 4 {
  7713. return fmt.Errorf("proto: AnchorTaskIsViewedResp: wiretype end group for non-group")
  7714. }
  7715. if fieldNum <= 0 {
  7716. return fmt.Errorf("proto: AnchorTaskIsViewedResp: illegal tag %d (wire type %d)", fieldNum, wire)
  7717. }
  7718. switch fieldNum {
  7719. case 1:
  7720. if wireType != 0 {
  7721. return fmt.Errorf("proto: wrong wireType = %d for field TaskShouldNotice", wireType)
  7722. }
  7723. m.TaskShouldNotice = 0
  7724. for shift := uint(0); ; shift += 7 {
  7725. if shift >= 64 {
  7726. return ErrIntOverflowService
  7727. }
  7728. if iNdEx >= l {
  7729. return io.ErrUnexpectedEOF
  7730. }
  7731. b := dAtA[iNdEx]
  7732. iNdEx++
  7733. m.TaskShouldNotice |= (int64(b) & 0x7F) << shift
  7734. if b < 0x80 {
  7735. break
  7736. }
  7737. }
  7738. case 2:
  7739. if wireType != 0 {
  7740. return fmt.Errorf("proto: wrong wireType = %d for field RewardShouldNotice", wireType)
  7741. }
  7742. m.RewardShouldNotice = 0
  7743. for shift := uint(0); ; shift += 7 {
  7744. if shift >= 64 {
  7745. return ErrIntOverflowService
  7746. }
  7747. if iNdEx >= l {
  7748. return io.ErrUnexpectedEOF
  7749. }
  7750. b := dAtA[iNdEx]
  7751. iNdEx++
  7752. m.RewardShouldNotice |= (int64(b) & 0x7F) << shift
  7753. if b < 0x80 {
  7754. break
  7755. }
  7756. }
  7757. case 3:
  7758. if wireType != 0 {
  7759. return fmt.Errorf("proto: wrong wireType = %d for field TaskStatus", wireType)
  7760. }
  7761. m.TaskStatus = 0
  7762. for shift := uint(0); ; shift += 7 {
  7763. if shift >= 64 {
  7764. return ErrIntOverflowService
  7765. }
  7766. if iNdEx >= l {
  7767. return io.ErrUnexpectedEOF
  7768. }
  7769. b := dAtA[iNdEx]
  7770. iNdEx++
  7771. m.TaskStatus |= (int64(b) & 0x7F) << shift
  7772. if b < 0x80 {
  7773. break
  7774. }
  7775. }
  7776. case 4:
  7777. if wireType != 0 {
  7778. return fmt.Errorf("proto: wrong wireType = %d for field IsBlacked", wireType)
  7779. }
  7780. m.IsBlacked = 0
  7781. for shift := uint(0); ; shift += 7 {
  7782. if shift >= 64 {
  7783. return ErrIntOverflowService
  7784. }
  7785. if iNdEx >= l {
  7786. return io.ErrUnexpectedEOF
  7787. }
  7788. b := dAtA[iNdEx]
  7789. iNdEx++
  7790. m.IsBlacked |= (int64(b) & 0x7F) << shift
  7791. if b < 0x80 {
  7792. break
  7793. }
  7794. }
  7795. case 5:
  7796. if wireType != 0 {
  7797. return fmt.Errorf("proto: wrong wireType = %d for field ShowRewardEntry", wireType)
  7798. }
  7799. m.ShowRewardEntry = 0
  7800. for shift := uint(0); ; shift += 7 {
  7801. if shift >= 64 {
  7802. return ErrIntOverflowService
  7803. }
  7804. if iNdEx >= l {
  7805. return io.ErrUnexpectedEOF
  7806. }
  7807. b := dAtA[iNdEx]
  7808. iNdEx++
  7809. m.ShowRewardEntry |= (int64(b) & 0x7F) << shift
  7810. if b < 0x80 {
  7811. break
  7812. }
  7813. }
  7814. case 6:
  7815. if wireType != 2 {
  7816. return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType)
  7817. }
  7818. var stringLen uint64
  7819. for shift := uint(0); ; shift += 7 {
  7820. if shift >= 64 {
  7821. return ErrIntOverflowService
  7822. }
  7823. if iNdEx >= l {
  7824. return io.ErrUnexpectedEOF
  7825. }
  7826. b := dAtA[iNdEx]
  7827. iNdEx++
  7828. stringLen |= (uint64(b) & 0x7F) << shift
  7829. if b < 0x80 {
  7830. break
  7831. }
  7832. }
  7833. intStringLen := int(stringLen)
  7834. if intStringLen < 0 {
  7835. return ErrInvalidLengthService
  7836. }
  7837. postIndex := iNdEx + intStringLen
  7838. if postIndex > l {
  7839. return io.ErrUnexpectedEOF
  7840. }
  7841. m.Url = string(dAtA[iNdEx:postIndex])
  7842. iNdEx = postIndex
  7843. default:
  7844. iNdEx = preIndex
  7845. skippy, err := skipService(dAtA[iNdEx:])
  7846. if err != nil {
  7847. return err
  7848. }
  7849. if skippy < 0 {
  7850. return ErrInvalidLengthService
  7851. }
  7852. if (iNdEx + skippy) > l {
  7853. return io.ErrUnexpectedEOF
  7854. }
  7855. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7856. iNdEx += skippy
  7857. }
  7858. }
  7859. if iNdEx > l {
  7860. return io.ErrUnexpectedEOF
  7861. }
  7862. return nil
  7863. }
  7864. func (m *CapsuleGetDetailReq) Unmarshal(dAtA []byte) error {
  7865. l := len(dAtA)
  7866. iNdEx := 0
  7867. for iNdEx < l {
  7868. preIndex := iNdEx
  7869. var wire uint64
  7870. for shift := uint(0); ; shift += 7 {
  7871. if shift >= 64 {
  7872. return ErrIntOverflowService
  7873. }
  7874. if iNdEx >= l {
  7875. return io.ErrUnexpectedEOF
  7876. }
  7877. b := dAtA[iNdEx]
  7878. iNdEx++
  7879. wire |= (uint64(b) & 0x7F) << shift
  7880. if b < 0x80 {
  7881. break
  7882. }
  7883. }
  7884. fieldNum := int32(wire >> 3)
  7885. wireType := int(wire & 0x7)
  7886. if wireType == 4 {
  7887. return fmt.Errorf("proto: CapsuleGetDetailReq: wiretype end group for non-group")
  7888. }
  7889. if fieldNum <= 0 {
  7890. return fmt.Errorf("proto: CapsuleGetDetailReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7891. }
  7892. switch fieldNum {
  7893. case 2:
  7894. if wireType != 2 {
  7895. return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
  7896. }
  7897. var stringLen uint64
  7898. for shift := uint(0); ; shift += 7 {
  7899. if shift >= 64 {
  7900. return ErrIntOverflowService
  7901. }
  7902. if iNdEx >= l {
  7903. return io.ErrUnexpectedEOF
  7904. }
  7905. b := dAtA[iNdEx]
  7906. iNdEx++
  7907. stringLen |= (uint64(b) & 0x7F) << shift
  7908. if b < 0x80 {
  7909. break
  7910. }
  7911. }
  7912. intStringLen := int(stringLen)
  7913. if intStringLen < 0 {
  7914. return ErrInvalidLengthService
  7915. }
  7916. postIndex := iNdEx + intStringLen
  7917. if postIndex > l {
  7918. return io.ErrUnexpectedEOF
  7919. }
  7920. m.From = string(dAtA[iNdEx:postIndex])
  7921. iNdEx = postIndex
  7922. default:
  7923. iNdEx = preIndex
  7924. skippy, err := skipService(dAtA[iNdEx:])
  7925. if err != nil {
  7926. return err
  7927. }
  7928. if skippy < 0 {
  7929. return ErrInvalidLengthService
  7930. }
  7931. if (iNdEx + skippy) > l {
  7932. return io.ErrUnexpectedEOF
  7933. }
  7934. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7935. iNdEx += skippy
  7936. }
  7937. }
  7938. if iNdEx > l {
  7939. return io.ErrUnexpectedEOF
  7940. }
  7941. return nil
  7942. }
  7943. func (m *Usage) Unmarshal(dAtA []byte) error {
  7944. l := len(dAtA)
  7945. iNdEx := 0
  7946. for iNdEx < l {
  7947. preIndex := iNdEx
  7948. var wire uint64
  7949. for shift := uint(0); ; shift += 7 {
  7950. if shift >= 64 {
  7951. return ErrIntOverflowService
  7952. }
  7953. if iNdEx >= l {
  7954. return io.ErrUnexpectedEOF
  7955. }
  7956. b := dAtA[iNdEx]
  7957. iNdEx++
  7958. wire |= (uint64(b) & 0x7F) << shift
  7959. if b < 0x80 {
  7960. break
  7961. }
  7962. }
  7963. fieldNum := int32(wire >> 3)
  7964. wireType := int(wire & 0x7)
  7965. if wireType == 4 {
  7966. return fmt.Errorf("proto: Usage: wiretype end group for non-group")
  7967. }
  7968. if fieldNum <= 0 {
  7969. return fmt.Errorf("proto: Usage: illegal tag %d (wire type %d)", fieldNum, wire)
  7970. }
  7971. switch fieldNum {
  7972. case 1:
  7973. if wireType != 2 {
  7974. return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
  7975. }
  7976. var stringLen uint64
  7977. for shift := uint(0); ; shift += 7 {
  7978. if shift >= 64 {
  7979. return ErrIntOverflowService
  7980. }
  7981. if iNdEx >= l {
  7982. return io.ErrUnexpectedEOF
  7983. }
  7984. b := dAtA[iNdEx]
  7985. iNdEx++
  7986. stringLen |= (uint64(b) & 0x7F) << shift
  7987. if b < 0x80 {
  7988. break
  7989. }
  7990. }
  7991. intStringLen := int(stringLen)
  7992. if intStringLen < 0 {
  7993. return ErrInvalidLengthService
  7994. }
  7995. postIndex := iNdEx + intStringLen
  7996. if postIndex > l {
  7997. return io.ErrUnexpectedEOF
  7998. }
  7999. m.Text = string(dAtA[iNdEx:postIndex])
  8000. iNdEx = postIndex
  8001. case 2:
  8002. if wireType != 2 {
  8003. return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType)
  8004. }
  8005. var stringLen uint64
  8006. for shift := uint(0); ; shift += 7 {
  8007. if shift >= 64 {
  8008. return ErrIntOverflowService
  8009. }
  8010. if iNdEx >= l {
  8011. return io.ErrUnexpectedEOF
  8012. }
  8013. b := dAtA[iNdEx]
  8014. iNdEx++
  8015. stringLen |= (uint64(b) & 0x7F) << shift
  8016. if b < 0x80 {
  8017. break
  8018. }
  8019. }
  8020. intStringLen := int(stringLen)
  8021. if intStringLen < 0 {
  8022. return ErrInvalidLengthService
  8023. }
  8024. postIndex := iNdEx + intStringLen
  8025. if postIndex > l {
  8026. return io.ErrUnexpectedEOF
  8027. }
  8028. m.Url = string(dAtA[iNdEx:postIndex])
  8029. iNdEx = postIndex
  8030. default:
  8031. iNdEx = preIndex
  8032. skippy, err := skipService(dAtA[iNdEx:])
  8033. if err != nil {
  8034. return err
  8035. }
  8036. if skippy < 0 {
  8037. return ErrInvalidLengthService
  8038. }
  8039. if (iNdEx + skippy) > l {
  8040. return io.ErrUnexpectedEOF
  8041. }
  8042. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8043. iNdEx += skippy
  8044. }
  8045. }
  8046. if iNdEx > l {
  8047. return io.ErrUnexpectedEOF
  8048. }
  8049. return nil
  8050. }
  8051. func (m *Progress) Unmarshal(dAtA []byte) error {
  8052. l := len(dAtA)
  8053. iNdEx := 0
  8054. for iNdEx < l {
  8055. preIndex := iNdEx
  8056. var wire uint64
  8057. for shift := uint(0); ; shift += 7 {
  8058. if shift >= 64 {
  8059. return ErrIntOverflowService
  8060. }
  8061. if iNdEx >= l {
  8062. return io.ErrUnexpectedEOF
  8063. }
  8064. b := dAtA[iNdEx]
  8065. iNdEx++
  8066. wire |= (uint64(b) & 0x7F) << shift
  8067. if b < 0x80 {
  8068. break
  8069. }
  8070. }
  8071. fieldNum := int32(wire >> 3)
  8072. wireType := int(wire & 0x7)
  8073. if wireType == 4 {
  8074. return fmt.Errorf("proto: Progress: wiretype end group for non-group")
  8075. }
  8076. if fieldNum <= 0 {
  8077. return fmt.Errorf("proto: Progress: illegal tag %d (wire type %d)", fieldNum, wire)
  8078. }
  8079. switch fieldNum {
  8080. case 1:
  8081. if wireType != 0 {
  8082. return fmt.Errorf("proto: wrong wireType = %d for field Now", wireType)
  8083. }
  8084. m.Now = 0
  8085. for shift := uint(0); ; shift += 7 {
  8086. if shift >= 64 {
  8087. return ErrIntOverflowService
  8088. }
  8089. if iNdEx >= l {
  8090. return io.ErrUnexpectedEOF
  8091. }
  8092. b := dAtA[iNdEx]
  8093. iNdEx++
  8094. m.Now |= (int64(b) & 0x7F) << shift
  8095. if b < 0x80 {
  8096. break
  8097. }
  8098. }
  8099. case 2:
  8100. if wireType != 0 {
  8101. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  8102. }
  8103. m.Max = 0
  8104. for shift := uint(0); ; shift += 7 {
  8105. if shift >= 64 {
  8106. return ErrIntOverflowService
  8107. }
  8108. if iNdEx >= l {
  8109. return io.ErrUnexpectedEOF
  8110. }
  8111. b := dAtA[iNdEx]
  8112. iNdEx++
  8113. m.Max |= (int64(b) & 0x7F) << shift
  8114. if b < 0x80 {
  8115. break
  8116. }
  8117. }
  8118. default:
  8119. iNdEx = preIndex
  8120. skippy, err := skipService(dAtA[iNdEx:])
  8121. if err != nil {
  8122. return err
  8123. }
  8124. if skippy < 0 {
  8125. return ErrInvalidLengthService
  8126. }
  8127. if (iNdEx + skippy) > l {
  8128. return io.ErrUnexpectedEOF
  8129. }
  8130. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8131. iNdEx += skippy
  8132. }
  8133. }
  8134. if iNdEx > l {
  8135. return io.ErrUnexpectedEOF
  8136. }
  8137. return nil
  8138. }
  8139. func (m *CapsuleGetDetailResp) Unmarshal(dAtA []byte) error {
  8140. l := len(dAtA)
  8141. iNdEx := 0
  8142. for iNdEx < l {
  8143. preIndex := iNdEx
  8144. var wire uint64
  8145. for shift := uint(0); ; shift += 7 {
  8146. if shift >= 64 {
  8147. return ErrIntOverflowService
  8148. }
  8149. if iNdEx >= l {
  8150. return io.ErrUnexpectedEOF
  8151. }
  8152. b := dAtA[iNdEx]
  8153. iNdEx++
  8154. wire |= (uint64(b) & 0x7F) << shift
  8155. if b < 0x80 {
  8156. break
  8157. }
  8158. }
  8159. fieldNum := int32(wire >> 3)
  8160. wireType := int(wire & 0x7)
  8161. if wireType == 4 {
  8162. return fmt.Errorf("proto: CapsuleGetDetailResp: wiretype end group for non-group")
  8163. }
  8164. if fieldNum <= 0 {
  8165. return fmt.Errorf("proto: CapsuleGetDetailResp: illegal tag %d (wire type %d)", fieldNum, wire)
  8166. }
  8167. switch fieldNum {
  8168. case 1:
  8169. if wireType != 2 {
  8170. return fmt.Errorf("proto: wrong wireType = %d for field Normal", wireType)
  8171. }
  8172. var msglen int
  8173. for shift := uint(0); ; shift += 7 {
  8174. if shift >= 64 {
  8175. return ErrIntOverflowService
  8176. }
  8177. if iNdEx >= l {
  8178. return io.ErrUnexpectedEOF
  8179. }
  8180. b := dAtA[iNdEx]
  8181. iNdEx++
  8182. msglen |= (int(b) & 0x7F) << shift
  8183. if b < 0x80 {
  8184. break
  8185. }
  8186. }
  8187. if msglen < 0 {
  8188. return ErrInvalidLengthService
  8189. }
  8190. postIndex := iNdEx + msglen
  8191. if postIndex > l {
  8192. return io.ErrUnexpectedEOF
  8193. }
  8194. if m.Normal == nil {
  8195. m.Normal = &CapsuleGetDetailResp_CapsuleInfo{}
  8196. }
  8197. if err := m.Normal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8198. return err
  8199. }
  8200. iNdEx = postIndex
  8201. case 2:
  8202. if wireType != 2 {
  8203. return fmt.Errorf("proto: wrong wireType = %d for field Colorful", wireType)
  8204. }
  8205. var msglen int
  8206. for shift := uint(0); ; shift += 7 {
  8207. if shift >= 64 {
  8208. return ErrIntOverflowService
  8209. }
  8210. if iNdEx >= l {
  8211. return io.ErrUnexpectedEOF
  8212. }
  8213. b := dAtA[iNdEx]
  8214. iNdEx++
  8215. msglen |= (int(b) & 0x7F) << shift
  8216. if b < 0x80 {
  8217. break
  8218. }
  8219. }
  8220. if msglen < 0 {
  8221. return ErrInvalidLengthService
  8222. }
  8223. postIndex := iNdEx + msglen
  8224. if postIndex > l {
  8225. return io.ErrUnexpectedEOF
  8226. }
  8227. if m.Colorful == nil {
  8228. m.Colorful = &CapsuleGetDetailResp_CapsuleInfo{}
  8229. }
  8230. if err := m.Colorful.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8231. return err
  8232. }
  8233. iNdEx = postIndex
  8234. default:
  8235. iNdEx = preIndex
  8236. skippy, err := skipService(dAtA[iNdEx:])
  8237. if err != nil {
  8238. return err
  8239. }
  8240. if skippy < 0 {
  8241. return ErrInvalidLengthService
  8242. }
  8243. if (iNdEx + skippy) > l {
  8244. return io.ErrUnexpectedEOF
  8245. }
  8246. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8247. iNdEx += skippy
  8248. }
  8249. }
  8250. if iNdEx > l {
  8251. return io.ErrUnexpectedEOF
  8252. }
  8253. return nil
  8254. }
  8255. func (m *CapsuleGetDetailResp_Gift) Unmarshal(dAtA []byte) error {
  8256. l := len(dAtA)
  8257. iNdEx := 0
  8258. for iNdEx < l {
  8259. preIndex := iNdEx
  8260. var wire uint64
  8261. for shift := uint(0); ; shift += 7 {
  8262. if shift >= 64 {
  8263. return ErrIntOverflowService
  8264. }
  8265. if iNdEx >= l {
  8266. return io.ErrUnexpectedEOF
  8267. }
  8268. b := dAtA[iNdEx]
  8269. iNdEx++
  8270. wire |= (uint64(b) & 0x7F) << shift
  8271. if b < 0x80 {
  8272. break
  8273. }
  8274. }
  8275. fieldNum := int32(wire >> 3)
  8276. wireType := int(wire & 0x7)
  8277. if wireType == 4 {
  8278. return fmt.Errorf("proto: Gift: wiretype end group for non-group")
  8279. }
  8280. if fieldNum <= 0 {
  8281. return fmt.Errorf("proto: Gift: illegal tag %d (wire type %d)", fieldNum, wire)
  8282. }
  8283. switch fieldNum {
  8284. case 2:
  8285. if wireType != 2 {
  8286. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  8287. }
  8288. var stringLen uint64
  8289. for shift := uint(0); ; shift += 7 {
  8290. if shift >= 64 {
  8291. return ErrIntOverflowService
  8292. }
  8293. if iNdEx >= l {
  8294. return io.ErrUnexpectedEOF
  8295. }
  8296. b := dAtA[iNdEx]
  8297. iNdEx++
  8298. stringLen |= (uint64(b) & 0x7F) << shift
  8299. if b < 0x80 {
  8300. break
  8301. }
  8302. }
  8303. intStringLen := int(stringLen)
  8304. if intStringLen < 0 {
  8305. return ErrInvalidLengthService
  8306. }
  8307. postIndex := iNdEx + intStringLen
  8308. if postIndex > l {
  8309. return io.ErrUnexpectedEOF
  8310. }
  8311. m.Name = string(dAtA[iNdEx:postIndex])
  8312. iNdEx = postIndex
  8313. case 3:
  8314. if wireType != 2 {
  8315. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  8316. }
  8317. var stringLen uint64
  8318. for shift := uint(0); ; shift += 7 {
  8319. if shift >= 64 {
  8320. return ErrIntOverflowService
  8321. }
  8322. if iNdEx >= l {
  8323. return io.ErrUnexpectedEOF
  8324. }
  8325. b := dAtA[iNdEx]
  8326. iNdEx++
  8327. stringLen |= (uint64(b) & 0x7F) << shift
  8328. if b < 0x80 {
  8329. break
  8330. }
  8331. }
  8332. intStringLen := int(stringLen)
  8333. if intStringLen < 0 {
  8334. return ErrInvalidLengthService
  8335. }
  8336. postIndex := iNdEx + intStringLen
  8337. if postIndex > l {
  8338. return io.ErrUnexpectedEOF
  8339. }
  8340. m.Image = string(dAtA[iNdEx:postIndex])
  8341. iNdEx = postIndex
  8342. case 4:
  8343. if wireType != 2 {
  8344. return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType)
  8345. }
  8346. var msglen int
  8347. for shift := uint(0); ; shift += 7 {
  8348. if shift >= 64 {
  8349. return ErrIntOverflowService
  8350. }
  8351. if iNdEx >= l {
  8352. return io.ErrUnexpectedEOF
  8353. }
  8354. b := dAtA[iNdEx]
  8355. iNdEx++
  8356. msglen |= (int(b) & 0x7F) << shift
  8357. if b < 0x80 {
  8358. break
  8359. }
  8360. }
  8361. if msglen < 0 {
  8362. return ErrInvalidLengthService
  8363. }
  8364. postIndex := iNdEx + msglen
  8365. if postIndex > l {
  8366. return io.ErrUnexpectedEOF
  8367. }
  8368. if m.Usage == nil {
  8369. m.Usage = &Usage{}
  8370. }
  8371. if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8372. return err
  8373. }
  8374. iNdEx = postIndex
  8375. case 5:
  8376. if wireType != 2 {
  8377. return fmt.Errorf("proto: wrong wireType = %d for field WebImage", wireType)
  8378. }
  8379. var stringLen uint64
  8380. for shift := uint(0); ; shift += 7 {
  8381. if shift >= 64 {
  8382. return ErrIntOverflowService
  8383. }
  8384. if iNdEx >= l {
  8385. return io.ErrUnexpectedEOF
  8386. }
  8387. b := dAtA[iNdEx]
  8388. iNdEx++
  8389. stringLen |= (uint64(b) & 0x7F) << shift
  8390. if b < 0x80 {
  8391. break
  8392. }
  8393. }
  8394. intStringLen := int(stringLen)
  8395. if intStringLen < 0 {
  8396. return ErrInvalidLengthService
  8397. }
  8398. postIndex := iNdEx + intStringLen
  8399. if postIndex > l {
  8400. return io.ErrUnexpectedEOF
  8401. }
  8402. m.WebImage = string(dAtA[iNdEx:postIndex])
  8403. iNdEx = postIndex
  8404. case 6:
  8405. if wireType != 2 {
  8406. return fmt.Errorf("proto: wrong wireType = %d for field MobileImage", wireType)
  8407. }
  8408. var stringLen uint64
  8409. for shift := uint(0); ; shift += 7 {
  8410. if shift >= 64 {
  8411. return ErrIntOverflowService
  8412. }
  8413. if iNdEx >= l {
  8414. return io.ErrUnexpectedEOF
  8415. }
  8416. b := dAtA[iNdEx]
  8417. iNdEx++
  8418. stringLen |= (uint64(b) & 0x7F) << shift
  8419. if b < 0x80 {
  8420. break
  8421. }
  8422. }
  8423. intStringLen := int(stringLen)
  8424. if intStringLen < 0 {
  8425. return ErrInvalidLengthService
  8426. }
  8427. postIndex := iNdEx + intStringLen
  8428. if postIndex > l {
  8429. return io.ErrUnexpectedEOF
  8430. }
  8431. m.MobileImage = string(dAtA[iNdEx:postIndex])
  8432. iNdEx = postIndex
  8433. default:
  8434. iNdEx = preIndex
  8435. skippy, err := skipService(dAtA[iNdEx:])
  8436. if err != nil {
  8437. return err
  8438. }
  8439. if skippy < 0 {
  8440. return ErrInvalidLengthService
  8441. }
  8442. if (iNdEx + skippy) > l {
  8443. return io.ErrUnexpectedEOF
  8444. }
  8445. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8446. iNdEx += skippy
  8447. }
  8448. }
  8449. if iNdEx > l {
  8450. return io.ErrUnexpectedEOF
  8451. }
  8452. return nil
  8453. }
  8454. func (m *CapsuleGetDetailResp_List) Unmarshal(dAtA []byte) error {
  8455. l := len(dAtA)
  8456. iNdEx := 0
  8457. for iNdEx < l {
  8458. preIndex := iNdEx
  8459. var wire uint64
  8460. for shift := uint(0); ; shift += 7 {
  8461. if shift >= 64 {
  8462. return ErrIntOverflowService
  8463. }
  8464. if iNdEx >= l {
  8465. return io.ErrUnexpectedEOF
  8466. }
  8467. b := dAtA[iNdEx]
  8468. iNdEx++
  8469. wire |= (uint64(b) & 0x7F) << shift
  8470. if b < 0x80 {
  8471. break
  8472. }
  8473. }
  8474. fieldNum := int32(wire >> 3)
  8475. wireType := int(wire & 0x7)
  8476. if wireType == 4 {
  8477. return fmt.Errorf("proto: List: wiretype end group for non-group")
  8478. }
  8479. if fieldNum <= 0 {
  8480. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  8481. }
  8482. switch fieldNum {
  8483. case 1:
  8484. if wireType != 0 {
  8485. return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
  8486. }
  8487. m.Num = 0
  8488. for shift := uint(0); ; shift += 7 {
  8489. if shift >= 64 {
  8490. return ErrIntOverflowService
  8491. }
  8492. if iNdEx >= l {
  8493. return io.ErrUnexpectedEOF
  8494. }
  8495. b := dAtA[iNdEx]
  8496. iNdEx++
  8497. m.Num |= (int64(b) & 0x7F) << shift
  8498. if b < 0x80 {
  8499. break
  8500. }
  8501. }
  8502. case 2:
  8503. if wireType != 2 {
  8504. return fmt.Errorf("proto: wrong wireType = %d for field Gift", wireType)
  8505. }
  8506. var stringLen uint64
  8507. for shift := uint(0); ; shift += 7 {
  8508. if shift >= 64 {
  8509. return ErrIntOverflowService
  8510. }
  8511. if iNdEx >= l {
  8512. return io.ErrUnexpectedEOF
  8513. }
  8514. b := dAtA[iNdEx]
  8515. iNdEx++
  8516. stringLen |= (uint64(b) & 0x7F) << shift
  8517. if b < 0x80 {
  8518. break
  8519. }
  8520. }
  8521. intStringLen := int(stringLen)
  8522. if intStringLen < 0 {
  8523. return ErrInvalidLengthService
  8524. }
  8525. postIndex := iNdEx + intStringLen
  8526. if postIndex > l {
  8527. return io.ErrUnexpectedEOF
  8528. }
  8529. m.Gift = string(dAtA[iNdEx:postIndex])
  8530. iNdEx = postIndex
  8531. case 3:
  8532. if wireType != 2 {
  8533. return fmt.Errorf("proto: wrong wireType = %d for field Date", wireType)
  8534. }
  8535. var stringLen uint64
  8536. for shift := uint(0); ; shift += 7 {
  8537. if shift >= 64 {
  8538. return ErrIntOverflowService
  8539. }
  8540. if iNdEx >= l {
  8541. return io.ErrUnexpectedEOF
  8542. }
  8543. b := dAtA[iNdEx]
  8544. iNdEx++
  8545. stringLen |= (uint64(b) & 0x7F) << shift
  8546. if b < 0x80 {
  8547. break
  8548. }
  8549. }
  8550. intStringLen := int(stringLen)
  8551. if intStringLen < 0 {
  8552. return ErrInvalidLengthService
  8553. }
  8554. postIndex := iNdEx + intStringLen
  8555. if postIndex > l {
  8556. return io.ErrUnexpectedEOF
  8557. }
  8558. m.Date = string(dAtA[iNdEx:postIndex])
  8559. iNdEx = postIndex
  8560. case 4:
  8561. if wireType != 2 {
  8562. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  8563. }
  8564. var stringLen uint64
  8565. for shift := uint(0); ; shift += 7 {
  8566. if shift >= 64 {
  8567. return ErrIntOverflowService
  8568. }
  8569. if iNdEx >= l {
  8570. return io.ErrUnexpectedEOF
  8571. }
  8572. b := dAtA[iNdEx]
  8573. iNdEx++
  8574. stringLen |= (uint64(b) & 0x7F) << shift
  8575. if b < 0x80 {
  8576. break
  8577. }
  8578. }
  8579. intStringLen := int(stringLen)
  8580. if intStringLen < 0 {
  8581. return ErrInvalidLengthService
  8582. }
  8583. postIndex := iNdEx + intStringLen
  8584. if postIndex > l {
  8585. return io.ErrUnexpectedEOF
  8586. }
  8587. m.Name = string(dAtA[iNdEx:postIndex])
  8588. iNdEx = postIndex
  8589. default:
  8590. iNdEx = preIndex
  8591. skippy, err := skipService(dAtA[iNdEx:])
  8592. if err != nil {
  8593. return err
  8594. }
  8595. if skippy < 0 {
  8596. return ErrInvalidLengthService
  8597. }
  8598. if (iNdEx + skippy) > l {
  8599. return io.ErrUnexpectedEOF
  8600. }
  8601. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8602. iNdEx += skippy
  8603. }
  8604. }
  8605. if iNdEx > l {
  8606. return io.ErrUnexpectedEOF
  8607. }
  8608. return nil
  8609. }
  8610. func (m *CapsuleGetDetailResp_CapsuleInfo) Unmarshal(dAtA []byte) error {
  8611. l := len(dAtA)
  8612. iNdEx := 0
  8613. for iNdEx < l {
  8614. preIndex := iNdEx
  8615. var wire uint64
  8616. for shift := uint(0); ; shift += 7 {
  8617. if shift >= 64 {
  8618. return ErrIntOverflowService
  8619. }
  8620. if iNdEx >= l {
  8621. return io.ErrUnexpectedEOF
  8622. }
  8623. b := dAtA[iNdEx]
  8624. iNdEx++
  8625. wire |= (uint64(b) & 0x7F) << shift
  8626. if b < 0x80 {
  8627. break
  8628. }
  8629. }
  8630. fieldNum := int32(wire >> 3)
  8631. wireType := int(wire & 0x7)
  8632. if wireType == 4 {
  8633. return fmt.Errorf("proto: CapsuleInfo: wiretype end group for non-group")
  8634. }
  8635. if fieldNum <= 0 {
  8636. return fmt.Errorf("proto: CapsuleInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  8637. }
  8638. switch fieldNum {
  8639. case 1:
  8640. if wireType != 0 {
  8641. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  8642. }
  8643. var v int
  8644. for shift := uint(0); ; shift += 7 {
  8645. if shift >= 64 {
  8646. return ErrIntOverflowService
  8647. }
  8648. if iNdEx >= l {
  8649. return io.ErrUnexpectedEOF
  8650. }
  8651. b := dAtA[iNdEx]
  8652. iNdEx++
  8653. v |= (int(b) & 0x7F) << shift
  8654. if b < 0x80 {
  8655. break
  8656. }
  8657. }
  8658. m.Status = bool(v != 0)
  8659. case 2:
  8660. if wireType != 0 {
  8661. return fmt.Errorf("proto: wrong wireType = %d for field Coin", wireType)
  8662. }
  8663. m.Coin = 0
  8664. for shift := uint(0); ; shift += 7 {
  8665. if shift >= 64 {
  8666. return ErrIntOverflowService
  8667. }
  8668. if iNdEx >= l {
  8669. return io.ErrUnexpectedEOF
  8670. }
  8671. b := dAtA[iNdEx]
  8672. iNdEx++
  8673. m.Coin |= (int64(b) & 0x7F) << shift
  8674. if b < 0x80 {
  8675. break
  8676. }
  8677. }
  8678. case 3:
  8679. if wireType != 0 {
  8680. return fmt.Errorf("proto: wrong wireType = %d for field Change", wireType)
  8681. }
  8682. m.Change = 0
  8683. for shift := uint(0); ; shift += 7 {
  8684. if shift >= 64 {
  8685. return ErrIntOverflowService
  8686. }
  8687. if iNdEx >= l {
  8688. return io.ErrUnexpectedEOF
  8689. }
  8690. b := dAtA[iNdEx]
  8691. iNdEx++
  8692. m.Change |= (int64(b) & 0x7F) << shift
  8693. if b < 0x80 {
  8694. break
  8695. }
  8696. }
  8697. case 4:
  8698. if wireType != 2 {
  8699. return fmt.Errorf("proto: wrong wireType = %d for field Progress", wireType)
  8700. }
  8701. var msglen int
  8702. for shift := uint(0); ; shift += 7 {
  8703. if shift >= 64 {
  8704. return ErrIntOverflowService
  8705. }
  8706. if iNdEx >= l {
  8707. return io.ErrUnexpectedEOF
  8708. }
  8709. b := dAtA[iNdEx]
  8710. iNdEx++
  8711. msglen |= (int(b) & 0x7F) << shift
  8712. if b < 0x80 {
  8713. break
  8714. }
  8715. }
  8716. if msglen < 0 {
  8717. return ErrInvalidLengthService
  8718. }
  8719. postIndex := iNdEx + msglen
  8720. if postIndex > l {
  8721. return io.ErrUnexpectedEOF
  8722. }
  8723. if m.Progress == nil {
  8724. m.Progress = &Progress{}
  8725. }
  8726. if err := m.Progress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8727. return err
  8728. }
  8729. iNdEx = postIndex
  8730. case 5:
  8731. if wireType != 2 {
  8732. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  8733. }
  8734. var stringLen uint64
  8735. for shift := uint(0); ; shift += 7 {
  8736. if shift >= 64 {
  8737. return ErrIntOverflowService
  8738. }
  8739. if iNdEx >= l {
  8740. return io.ErrUnexpectedEOF
  8741. }
  8742. b := dAtA[iNdEx]
  8743. iNdEx++
  8744. stringLen |= (uint64(b) & 0x7F) << shift
  8745. if b < 0x80 {
  8746. break
  8747. }
  8748. }
  8749. intStringLen := int(stringLen)
  8750. if intStringLen < 0 {
  8751. return ErrInvalidLengthService
  8752. }
  8753. postIndex := iNdEx + intStringLen
  8754. if postIndex > l {
  8755. return io.ErrUnexpectedEOF
  8756. }
  8757. m.Rule = string(dAtA[iNdEx:postIndex])
  8758. iNdEx = postIndex
  8759. case 6:
  8760. if wireType != 2 {
  8761. return fmt.Errorf("proto: wrong wireType = %d for field Gift", wireType)
  8762. }
  8763. var msglen int
  8764. for shift := uint(0); ; shift += 7 {
  8765. if shift >= 64 {
  8766. return ErrIntOverflowService
  8767. }
  8768. if iNdEx >= l {
  8769. return io.ErrUnexpectedEOF
  8770. }
  8771. b := dAtA[iNdEx]
  8772. iNdEx++
  8773. msglen |= (int(b) & 0x7F) << shift
  8774. if b < 0x80 {
  8775. break
  8776. }
  8777. }
  8778. if msglen < 0 {
  8779. return ErrInvalidLengthService
  8780. }
  8781. postIndex := iNdEx + msglen
  8782. if postIndex > l {
  8783. return io.ErrUnexpectedEOF
  8784. }
  8785. m.Gift = append(m.Gift, &CapsuleGetDetailResp_Gift{})
  8786. if err := m.Gift[len(m.Gift)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8787. return err
  8788. }
  8789. iNdEx = postIndex
  8790. case 7:
  8791. if wireType != 2 {
  8792. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  8793. }
  8794. var msglen int
  8795. for shift := uint(0); ; shift += 7 {
  8796. if shift >= 64 {
  8797. return ErrIntOverflowService
  8798. }
  8799. if iNdEx >= l {
  8800. return io.ErrUnexpectedEOF
  8801. }
  8802. b := dAtA[iNdEx]
  8803. iNdEx++
  8804. msglen |= (int(b) & 0x7F) << shift
  8805. if b < 0x80 {
  8806. break
  8807. }
  8808. }
  8809. if msglen < 0 {
  8810. return ErrInvalidLengthService
  8811. }
  8812. postIndex := iNdEx + msglen
  8813. if postIndex > l {
  8814. return io.ErrUnexpectedEOF
  8815. }
  8816. m.List = append(m.List, &CapsuleGetDetailResp_List{})
  8817. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8818. return err
  8819. }
  8820. iNdEx = postIndex
  8821. default:
  8822. iNdEx = preIndex
  8823. skippy, err := skipService(dAtA[iNdEx:])
  8824. if err != nil {
  8825. return err
  8826. }
  8827. if skippy < 0 {
  8828. return ErrInvalidLengthService
  8829. }
  8830. if (iNdEx + skippy) > l {
  8831. return io.ErrUnexpectedEOF
  8832. }
  8833. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8834. iNdEx += skippy
  8835. }
  8836. }
  8837. if iNdEx > l {
  8838. return io.ErrUnexpectedEOF
  8839. }
  8840. return nil
  8841. }
  8842. func (m *CapsuleOpenCapsuleReq) Unmarshal(dAtA []byte) error {
  8843. l := len(dAtA)
  8844. iNdEx := 0
  8845. for iNdEx < l {
  8846. preIndex := iNdEx
  8847. var wire uint64
  8848. for shift := uint(0); ; shift += 7 {
  8849. if shift >= 64 {
  8850. return ErrIntOverflowService
  8851. }
  8852. if iNdEx >= l {
  8853. return io.ErrUnexpectedEOF
  8854. }
  8855. b := dAtA[iNdEx]
  8856. iNdEx++
  8857. wire |= (uint64(b) & 0x7F) << shift
  8858. if b < 0x80 {
  8859. break
  8860. }
  8861. }
  8862. fieldNum := int32(wire >> 3)
  8863. wireType := int(wire & 0x7)
  8864. if wireType == 4 {
  8865. return fmt.Errorf("proto: CapsuleOpenCapsuleReq: wiretype end group for non-group")
  8866. }
  8867. if fieldNum <= 0 {
  8868. return fmt.Errorf("proto: CapsuleOpenCapsuleReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8869. }
  8870. switch fieldNum {
  8871. case 2:
  8872. if wireType != 2 {
  8873. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  8874. }
  8875. var stringLen uint64
  8876. for shift := uint(0); ; shift += 7 {
  8877. if shift >= 64 {
  8878. return ErrIntOverflowService
  8879. }
  8880. if iNdEx >= l {
  8881. return io.ErrUnexpectedEOF
  8882. }
  8883. b := dAtA[iNdEx]
  8884. iNdEx++
  8885. stringLen |= (uint64(b) & 0x7F) << shift
  8886. if b < 0x80 {
  8887. break
  8888. }
  8889. }
  8890. intStringLen := int(stringLen)
  8891. if intStringLen < 0 {
  8892. return ErrInvalidLengthService
  8893. }
  8894. postIndex := iNdEx + intStringLen
  8895. if postIndex > l {
  8896. return io.ErrUnexpectedEOF
  8897. }
  8898. m.Type = string(dAtA[iNdEx:postIndex])
  8899. iNdEx = postIndex
  8900. case 3:
  8901. if wireType != 0 {
  8902. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  8903. }
  8904. m.Count = 0
  8905. for shift := uint(0); ; shift += 7 {
  8906. if shift >= 64 {
  8907. return ErrIntOverflowService
  8908. }
  8909. if iNdEx >= l {
  8910. return io.ErrUnexpectedEOF
  8911. }
  8912. b := dAtA[iNdEx]
  8913. iNdEx++
  8914. m.Count |= (int64(b) & 0x7F) << shift
  8915. if b < 0x80 {
  8916. break
  8917. }
  8918. }
  8919. case 4:
  8920. if wireType != 2 {
  8921. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  8922. }
  8923. var stringLen uint64
  8924. for shift := uint(0); ; shift += 7 {
  8925. if shift >= 64 {
  8926. return ErrIntOverflowService
  8927. }
  8928. if iNdEx >= l {
  8929. return io.ErrUnexpectedEOF
  8930. }
  8931. b := dAtA[iNdEx]
  8932. iNdEx++
  8933. stringLen |= (uint64(b) & 0x7F) << shift
  8934. if b < 0x80 {
  8935. break
  8936. }
  8937. }
  8938. intStringLen := int(stringLen)
  8939. if intStringLen < 0 {
  8940. return ErrInvalidLengthService
  8941. }
  8942. postIndex := iNdEx + intStringLen
  8943. if postIndex > l {
  8944. return io.ErrUnexpectedEOF
  8945. }
  8946. m.Platform = string(dAtA[iNdEx:postIndex])
  8947. iNdEx = postIndex
  8948. default:
  8949. iNdEx = preIndex
  8950. skippy, err := skipService(dAtA[iNdEx:])
  8951. if err != nil {
  8952. return err
  8953. }
  8954. if skippy < 0 {
  8955. return ErrInvalidLengthService
  8956. }
  8957. if (iNdEx + skippy) > l {
  8958. return io.ErrUnexpectedEOF
  8959. }
  8960. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8961. iNdEx += skippy
  8962. }
  8963. }
  8964. if iNdEx > l {
  8965. return io.ErrUnexpectedEOF
  8966. }
  8967. return nil
  8968. }
  8969. func (m *CapsuleOpenCapsuleResp) Unmarshal(dAtA []byte) error {
  8970. l := len(dAtA)
  8971. iNdEx := 0
  8972. for iNdEx < l {
  8973. preIndex := iNdEx
  8974. var wire uint64
  8975. for shift := uint(0); ; shift += 7 {
  8976. if shift >= 64 {
  8977. return ErrIntOverflowService
  8978. }
  8979. if iNdEx >= l {
  8980. return io.ErrUnexpectedEOF
  8981. }
  8982. b := dAtA[iNdEx]
  8983. iNdEx++
  8984. wire |= (uint64(b) & 0x7F) << shift
  8985. if b < 0x80 {
  8986. break
  8987. }
  8988. }
  8989. fieldNum := int32(wire >> 3)
  8990. wireType := int(wire & 0x7)
  8991. if wireType == 4 {
  8992. return fmt.Errorf("proto: CapsuleOpenCapsuleResp: wiretype end group for non-group")
  8993. }
  8994. if fieldNum <= 0 {
  8995. return fmt.Errorf("proto: CapsuleOpenCapsuleResp: illegal tag %d (wire type %d)", fieldNum, wire)
  8996. }
  8997. switch fieldNum {
  8998. case 1:
  8999. if wireType != 0 {
  9000. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  9001. }
  9002. var v int
  9003. for shift := uint(0); ; shift += 7 {
  9004. if shift >= 64 {
  9005. return ErrIntOverflowService
  9006. }
  9007. if iNdEx >= l {
  9008. return io.ErrUnexpectedEOF
  9009. }
  9010. b := dAtA[iNdEx]
  9011. iNdEx++
  9012. v |= (int(b) & 0x7F) << shift
  9013. if b < 0x80 {
  9014. break
  9015. }
  9016. }
  9017. m.Status = bool(v != 0)
  9018. case 2:
  9019. if wireType != 2 {
  9020. return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
  9021. }
  9022. var stringLen uint64
  9023. for shift := uint(0); ; shift += 7 {
  9024. if shift >= 64 {
  9025. return ErrIntOverflowService
  9026. }
  9027. if iNdEx >= l {
  9028. return io.ErrUnexpectedEOF
  9029. }
  9030. b := dAtA[iNdEx]
  9031. iNdEx++
  9032. stringLen |= (uint64(b) & 0x7F) << shift
  9033. if b < 0x80 {
  9034. break
  9035. }
  9036. }
  9037. intStringLen := int(stringLen)
  9038. if intStringLen < 0 {
  9039. return ErrInvalidLengthService
  9040. }
  9041. postIndex := iNdEx + intStringLen
  9042. if postIndex > l {
  9043. return io.ErrUnexpectedEOF
  9044. }
  9045. m.Text = append(m.Text, string(dAtA[iNdEx:postIndex]))
  9046. iNdEx = postIndex
  9047. case 3:
  9048. if wireType != 0 {
  9049. return fmt.Errorf("proto: wrong wireType = %d for field IsEntity", wireType)
  9050. }
  9051. var v int
  9052. for shift := uint(0); ; shift += 7 {
  9053. if shift >= 64 {
  9054. return ErrIntOverflowService
  9055. }
  9056. if iNdEx >= l {
  9057. return io.ErrUnexpectedEOF
  9058. }
  9059. b := dAtA[iNdEx]
  9060. iNdEx++
  9061. v |= (int(b) & 0x7F) << shift
  9062. if b < 0x80 {
  9063. break
  9064. }
  9065. }
  9066. m.IsEntity = bool(v != 0)
  9067. case 4:
  9068. if wireType != 2 {
  9069. return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
  9070. }
  9071. var msglen int
  9072. for shift := uint(0); ; shift += 7 {
  9073. if shift >= 64 {
  9074. return ErrIntOverflowService
  9075. }
  9076. if iNdEx >= l {
  9077. return io.ErrUnexpectedEOF
  9078. }
  9079. b := dAtA[iNdEx]
  9080. iNdEx++
  9081. msglen |= (int(b) & 0x7F) << shift
  9082. if b < 0x80 {
  9083. break
  9084. }
  9085. }
  9086. if msglen < 0 {
  9087. return ErrInvalidLengthService
  9088. }
  9089. postIndex := iNdEx + msglen
  9090. if postIndex > l {
  9091. return io.ErrUnexpectedEOF
  9092. }
  9093. if m.Info == nil {
  9094. m.Info = &CapsuleOpenCapsuleResp_Info{}
  9095. }
  9096. if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9097. return err
  9098. }
  9099. iNdEx = postIndex
  9100. case 5:
  9101. if wireType != 2 {
  9102. return fmt.Errorf("proto: wrong wireType = %d for field ShowTitle", wireType)
  9103. }
  9104. var stringLen uint64
  9105. for shift := uint(0); ; shift += 7 {
  9106. if shift >= 64 {
  9107. return ErrIntOverflowService
  9108. }
  9109. if iNdEx >= l {
  9110. return io.ErrUnexpectedEOF
  9111. }
  9112. b := dAtA[iNdEx]
  9113. iNdEx++
  9114. stringLen |= (uint64(b) & 0x7F) << shift
  9115. if b < 0x80 {
  9116. break
  9117. }
  9118. }
  9119. intStringLen := int(stringLen)
  9120. if intStringLen < 0 {
  9121. return ErrInvalidLengthService
  9122. }
  9123. postIndex := iNdEx + intStringLen
  9124. if postIndex > l {
  9125. return io.ErrUnexpectedEOF
  9126. }
  9127. m.ShowTitle = string(dAtA[iNdEx:postIndex])
  9128. iNdEx = postIndex
  9129. case 6:
  9130. if wireType != 2 {
  9131. return fmt.Errorf("proto: wrong wireType = %d for field Awards", wireType)
  9132. }
  9133. var msglen int
  9134. for shift := uint(0); ; shift += 7 {
  9135. if shift >= 64 {
  9136. return ErrIntOverflowService
  9137. }
  9138. if iNdEx >= l {
  9139. return io.ErrUnexpectedEOF
  9140. }
  9141. b := dAtA[iNdEx]
  9142. iNdEx++
  9143. msglen |= (int(b) & 0x7F) << shift
  9144. if b < 0x80 {
  9145. break
  9146. }
  9147. }
  9148. if msglen < 0 {
  9149. return ErrInvalidLengthService
  9150. }
  9151. postIndex := iNdEx + msglen
  9152. if postIndex > l {
  9153. return io.ErrUnexpectedEOF
  9154. }
  9155. m.Awards = append(m.Awards, &CapsuleOpenCapsuleResp_Award{})
  9156. if err := m.Awards[len(m.Awards)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9157. return err
  9158. }
  9159. iNdEx = postIndex
  9160. default:
  9161. iNdEx = preIndex
  9162. skippy, err := skipService(dAtA[iNdEx:])
  9163. if err != nil {
  9164. return err
  9165. }
  9166. if skippy < 0 {
  9167. return ErrInvalidLengthService
  9168. }
  9169. if (iNdEx + skippy) > l {
  9170. return io.ErrUnexpectedEOF
  9171. }
  9172. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9173. iNdEx += skippy
  9174. }
  9175. }
  9176. if iNdEx > l {
  9177. return io.ErrUnexpectedEOF
  9178. }
  9179. return nil
  9180. }
  9181. func (m *CapsuleOpenCapsuleResp_CapsuleInfo) Unmarshal(dAtA []byte) error {
  9182. l := len(dAtA)
  9183. iNdEx := 0
  9184. for iNdEx < l {
  9185. preIndex := iNdEx
  9186. var wire uint64
  9187. for shift := uint(0); ; shift += 7 {
  9188. if shift >= 64 {
  9189. return ErrIntOverflowService
  9190. }
  9191. if iNdEx >= l {
  9192. return io.ErrUnexpectedEOF
  9193. }
  9194. b := dAtA[iNdEx]
  9195. iNdEx++
  9196. wire |= (uint64(b) & 0x7F) << shift
  9197. if b < 0x80 {
  9198. break
  9199. }
  9200. }
  9201. fieldNum := int32(wire >> 3)
  9202. wireType := int(wire & 0x7)
  9203. if wireType == 4 {
  9204. return fmt.Errorf("proto: CapsuleInfo: wiretype end group for non-group")
  9205. }
  9206. if fieldNum <= 0 {
  9207. return fmt.Errorf("proto: CapsuleInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  9208. }
  9209. switch fieldNum {
  9210. case 1:
  9211. if wireType != 0 {
  9212. return fmt.Errorf("proto: wrong wireType = %d for field Coin", wireType)
  9213. }
  9214. m.Coin = 0
  9215. for shift := uint(0); ; shift += 7 {
  9216. if shift >= 64 {
  9217. return ErrIntOverflowService
  9218. }
  9219. if iNdEx >= l {
  9220. return io.ErrUnexpectedEOF
  9221. }
  9222. b := dAtA[iNdEx]
  9223. iNdEx++
  9224. m.Coin |= (int64(b) & 0x7F) << shift
  9225. if b < 0x80 {
  9226. break
  9227. }
  9228. }
  9229. case 2:
  9230. if wireType != 0 {
  9231. return fmt.Errorf("proto: wrong wireType = %d for field Change", wireType)
  9232. }
  9233. m.Change = 0
  9234. for shift := uint(0); ; shift += 7 {
  9235. if shift >= 64 {
  9236. return ErrIntOverflowService
  9237. }
  9238. if iNdEx >= l {
  9239. return io.ErrUnexpectedEOF
  9240. }
  9241. b := dAtA[iNdEx]
  9242. iNdEx++
  9243. m.Change |= (int64(b) & 0x7F) << shift
  9244. if b < 0x80 {
  9245. break
  9246. }
  9247. }
  9248. case 3:
  9249. if wireType != 2 {
  9250. return fmt.Errorf("proto: wrong wireType = %d for field Progress", wireType)
  9251. }
  9252. var msglen int
  9253. for shift := uint(0); ; shift += 7 {
  9254. if shift >= 64 {
  9255. return ErrIntOverflowService
  9256. }
  9257. if iNdEx >= l {
  9258. return io.ErrUnexpectedEOF
  9259. }
  9260. b := dAtA[iNdEx]
  9261. iNdEx++
  9262. msglen |= (int(b) & 0x7F) << shift
  9263. if b < 0x80 {
  9264. break
  9265. }
  9266. }
  9267. if msglen < 0 {
  9268. return ErrInvalidLengthService
  9269. }
  9270. postIndex := iNdEx + msglen
  9271. if postIndex > l {
  9272. return io.ErrUnexpectedEOF
  9273. }
  9274. if m.Progress == nil {
  9275. m.Progress = &Progress{}
  9276. }
  9277. if err := m.Progress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9278. return err
  9279. }
  9280. iNdEx = postIndex
  9281. default:
  9282. iNdEx = preIndex
  9283. skippy, err := skipService(dAtA[iNdEx:])
  9284. if err != nil {
  9285. return err
  9286. }
  9287. if skippy < 0 {
  9288. return ErrInvalidLengthService
  9289. }
  9290. if (iNdEx + skippy) > l {
  9291. return io.ErrUnexpectedEOF
  9292. }
  9293. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9294. iNdEx += skippy
  9295. }
  9296. }
  9297. if iNdEx > l {
  9298. return io.ErrUnexpectedEOF
  9299. }
  9300. return nil
  9301. }
  9302. func (m *CapsuleOpenCapsuleResp_Info) Unmarshal(dAtA []byte) error {
  9303. l := len(dAtA)
  9304. iNdEx := 0
  9305. for iNdEx < l {
  9306. preIndex := iNdEx
  9307. var wire uint64
  9308. for shift := uint(0); ; shift += 7 {
  9309. if shift >= 64 {
  9310. return ErrIntOverflowService
  9311. }
  9312. if iNdEx >= l {
  9313. return io.ErrUnexpectedEOF
  9314. }
  9315. b := dAtA[iNdEx]
  9316. iNdEx++
  9317. wire |= (uint64(b) & 0x7F) << shift
  9318. if b < 0x80 {
  9319. break
  9320. }
  9321. }
  9322. fieldNum := int32(wire >> 3)
  9323. wireType := int(wire & 0x7)
  9324. if wireType == 4 {
  9325. return fmt.Errorf("proto: Info: wiretype end group for non-group")
  9326. }
  9327. if fieldNum <= 0 {
  9328. return fmt.Errorf("proto: Info: illegal tag %d (wire type %d)", fieldNum, wire)
  9329. }
  9330. switch fieldNum {
  9331. case 1:
  9332. if wireType != 2 {
  9333. return fmt.Errorf("proto: wrong wireType = %d for field Normal", wireType)
  9334. }
  9335. var msglen int
  9336. for shift := uint(0); ; shift += 7 {
  9337. if shift >= 64 {
  9338. return ErrIntOverflowService
  9339. }
  9340. if iNdEx >= l {
  9341. return io.ErrUnexpectedEOF
  9342. }
  9343. b := dAtA[iNdEx]
  9344. iNdEx++
  9345. msglen |= (int(b) & 0x7F) << shift
  9346. if b < 0x80 {
  9347. break
  9348. }
  9349. }
  9350. if msglen < 0 {
  9351. return ErrInvalidLengthService
  9352. }
  9353. postIndex := iNdEx + msglen
  9354. if postIndex > l {
  9355. return io.ErrUnexpectedEOF
  9356. }
  9357. if m.Normal == nil {
  9358. m.Normal = &CapsuleOpenCapsuleResp_CapsuleInfo{}
  9359. }
  9360. if err := m.Normal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9361. return err
  9362. }
  9363. iNdEx = postIndex
  9364. case 2:
  9365. if wireType != 2 {
  9366. return fmt.Errorf("proto: wrong wireType = %d for field Colorful", wireType)
  9367. }
  9368. var msglen int
  9369. for shift := uint(0); ; shift += 7 {
  9370. if shift >= 64 {
  9371. return ErrIntOverflowService
  9372. }
  9373. if iNdEx >= l {
  9374. return io.ErrUnexpectedEOF
  9375. }
  9376. b := dAtA[iNdEx]
  9377. iNdEx++
  9378. msglen |= (int(b) & 0x7F) << shift
  9379. if b < 0x80 {
  9380. break
  9381. }
  9382. }
  9383. if msglen < 0 {
  9384. return ErrInvalidLengthService
  9385. }
  9386. postIndex := iNdEx + msglen
  9387. if postIndex > l {
  9388. return io.ErrUnexpectedEOF
  9389. }
  9390. if m.Colorful == nil {
  9391. m.Colorful = &CapsuleOpenCapsuleResp_CapsuleInfo{}
  9392. }
  9393. if err := m.Colorful.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9394. return err
  9395. }
  9396. iNdEx = postIndex
  9397. default:
  9398. iNdEx = preIndex
  9399. skippy, err := skipService(dAtA[iNdEx:])
  9400. if err != nil {
  9401. return err
  9402. }
  9403. if skippy < 0 {
  9404. return ErrInvalidLengthService
  9405. }
  9406. if (iNdEx + skippy) > l {
  9407. return io.ErrUnexpectedEOF
  9408. }
  9409. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9410. iNdEx += skippy
  9411. }
  9412. }
  9413. if iNdEx > l {
  9414. return io.ErrUnexpectedEOF
  9415. }
  9416. return nil
  9417. }
  9418. func (m *CapsuleOpenCapsuleResp_Award) Unmarshal(dAtA []byte) error {
  9419. l := len(dAtA)
  9420. iNdEx := 0
  9421. for iNdEx < l {
  9422. preIndex := iNdEx
  9423. var wire uint64
  9424. for shift := uint(0); ; shift += 7 {
  9425. if shift >= 64 {
  9426. return ErrIntOverflowService
  9427. }
  9428. if iNdEx >= l {
  9429. return io.ErrUnexpectedEOF
  9430. }
  9431. b := dAtA[iNdEx]
  9432. iNdEx++
  9433. wire |= (uint64(b) & 0x7F) << shift
  9434. if b < 0x80 {
  9435. break
  9436. }
  9437. }
  9438. fieldNum := int32(wire >> 3)
  9439. wireType := int(wire & 0x7)
  9440. if wireType == 4 {
  9441. return fmt.Errorf("proto: Award: wiretype end group for non-group")
  9442. }
  9443. if fieldNum <= 0 {
  9444. return fmt.Errorf("proto: Award: illegal tag %d (wire type %d)", fieldNum, wire)
  9445. }
  9446. switch fieldNum {
  9447. case 2:
  9448. if wireType != 2 {
  9449. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  9450. }
  9451. var stringLen uint64
  9452. for shift := uint(0); ; shift += 7 {
  9453. if shift >= 64 {
  9454. return ErrIntOverflowService
  9455. }
  9456. if iNdEx >= l {
  9457. return io.ErrUnexpectedEOF
  9458. }
  9459. b := dAtA[iNdEx]
  9460. iNdEx++
  9461. stringLen |= (uint64(b) & 0x7F) << shift
  9462. if b < 0x80 {
  9463. break
  9464. }
  9465. }
  9466. intStringLen := int(stringLen)
  9467. if intStringLen < 0 {
  9468. return ErrInvalidLengthService
  9469. }
  9470. postIndex := iNdEx + intStringLen
  9471. if postIndex > l {
  9472. return io.ErrUnexpectedEOF
  9473. }
  9474. m.Name = string(dAtA[iNdEx:postIndex])
  9475. iNdEx = postIndex
  9476. case 3:
  9477. if wireType != 0 {
  9478. return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
  9479. }
  9480. m.Num = 0
  9481. for shift := uint(0); ; shift += 7 {
  9482. if shift >= 64 {
  9483. return ErrIntOverflowService
  9484. }
  9485. if iNdEx >= l {
  9486. return io.ErrUnexpectedEOF
  9487. }
  9488. b := dAtA[iNdEx]
  9489. iNdEx++
  9490. m.Num |= (int64(b) & 0x7F) << shift
  9491. if b < 0x80 {
  9492. break
  9493. }
  9494. }
  9495. case 4:
  9496. if wireType != 2 {
  9497. return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
  9498. }
  9499. var stringLen uint64
  9500. for shift := uint(0); ; shift += 7 {
  9501. if shift >= 64 {
  9502. return ErrIntOverflowService
  9503. }
  9504. if iNdEx >= l {
  9505. return io.ErrUnexpectedEOF
  9506. }
  9507. b := dAtA[iNdEx]
  9508. iNdEx++
  9509. stringLen |= (uint64(b) & 0x7F) << shift
  9510. if b < 0x80 {
  9511. break
  9512. }
  9513. }
  9514. intStringLen := int(stringLen)
  9515. if intStringLen < 0 {
  9516. return ErrInvalidLengthService
  9517. }
  9518. postIndex := iNdEx + intStringLen
  9519. if postIndex > l {
  9520. return io.ErrUnexpectedEOF
  9521. }
  9522. m.Text = string(dAtA[iNdEx:postIndex])
  9523. iNdEx = postIndex
  9524. case 5:
  9525. if wireType != 2 {
  9526. return fmt.Errorf("proto: wrong wireType = %d for field Img", wireType)
  9527. }
  9528. var stringLen uint64
  9529. for shift := uint(0); ; shift += 7 {
  9530. if shift >= 64 {
  9531. return ErrIntOverflowService
  9532. }
  9533. if iNdEx >= l {
  9534. return io.ErrUnexpectedEOF
  9535. }
  9536. b := dAtA[iNdEx]
  9537. iNdEx++
  9538. stringLen |= (uint64(b) & 0x7F) << shift
  9539. if b < 0x80 {
  9540. break
  9541. }
  9542. }
  9543. intStringLen := int(stringLen)
  9544. if intStringLen < 0 {
  9545. return ErrInvalidLengthService
  9546. }
  9547. postIndex := iNdEx + intStringLen
  9548. if postIndex > l {
  9549. return io.ErrUnexpectedEOF
  9550. }
  9551. m.Img = string(dAtA[iNdEx:postIndex])
  9552. iNdEx = postIndex
  9553. case 6:
  9554. if wireType != 2 {
  9555. return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType)
  9556. }
  9557. var msglen int
  9558. for shift := uint(0); ; shift += 7 {
  9559. if shift >= 64 {
  9560. return ErrIntOverflowService
  9561. }
  9562. if iNdEx >= l {
  9563. return io.ErrUnexpectedEOF
  9564. }
  9565. b := dAtA[iNdEx]
  9566. iNdEx++
  9567. msglen |= (int(b) & 0x7F) << shift
  9568. if b < 0x80 {
  9569. break
  9570. }
  9571. }
  9572. if msglen < 0 {
  9573. return ErrInvalidLengthService
  9574. }
  9575. postIndex := iNdEx + msglen
  9576. if postIndex > l {
  9577. return io.ErrUnexpectedEOF
  9578. }
  9579. if m.Usage == nil {
  9580. m.Usage = &Usage{}
  9581. }
  9582. if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9583. return err
  9584. }
  9585. iNdEx = postIndex
  9586. case 7:
  9587. if wireType != 2 {
  9588. return fmt.Errorf("proto: wrong wireType = %d for field WebImage", wireType)
  9589. }
  9590. var stringLen uint64
  9591. for shift := uint(0); ; shift += 7 {
  9592. if shift >= 64 {
  9593. return ErrIntOverflowService
  9594. }
  9595. if iNdEx >= l {
  9596. return io.ErrUnexpectedEOF
  9597. }
  9598. b := dAtA[iNdEx]
  9599. iNdEx++
  9600. stringLen |= (uint64(b) & 0x7F) << shift
  9601. if b < 0x80 {
  9602. break
  9603. }
  9604. }
  9605. intStringLen := int(stringLen)
  9606. if intStringLen < 0 {
  9607. return ErrInvalidLengthService
  9608. }
  9609. postIndex := iNdEx + intStringLen
  9610. if postIndex > l {
  9611. return io.ErrUnexpectedEOF
  9612. }
  9613. m.WebImage = string(dAtA[iNdEx:postIndex])
  9614. iNdEx = postIndex
  9615. case 8:
  9616. if wireType != 2 {
  9617. return fmt.Errorf("proto: wrong wireType = %d for field MobileImage", wireType)
  9618. }
  9619. var stringLen uint64
  9620. for shift := uint(0); ; shift += 7 {
  9621. if shift >= 64 {
  9622. return ErrIntOverflowService
  9623. }
  9624. if iNdEx >= l {
  9625. return io.ErrUnexpectedEOF
  9626. }
  9627. b := dAtA[iNdEx]
  9628. iNdEx++
  9629. stringLen |= (uint64(b) & 0x7F) << shift
  9630. if b < 0x80 {
  9631. break
  9632. }
  9633. }
  9634. intStringLen := int(stringLen)
  9635. if intStringLen < 0 {
  9636. return ErrInvalidLengthService
  9637. }
  9638. postIndex := iNdEx + intStringLen
  9639. if postIndex > l {
  9640. return io.ErrUnexpectedEOF
  9641. }
  9642. m.MobileImage = string(dAtA[iNdEx:postIndex])
  9643. iNdEx = postIndex
  9644. default:
  9645. iNdEx = preIndex
  9646. skippy, err := skipService(dAtA[iNdEx:])
  9647. if err != nil {
  9648. return err
  9649. }
  9650. if skippy < 0 {
  9651. return ErrInvalidLengthService
  9652. }
  9653. if (iNdEx + skippy) > l {
  9654. return io.ErrUnexpectedEOF
  9655. }
  9656. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9657. iNdEx += skippy
  9658. }
  9659. }
  9660. if iNdEx > l {
  9661. return io.ErrUnexpectedEOF
  9662. }
  9663. return nil
  9664. }
  9665. func (m *CapsuleGetCapsuleInfoReq) Unmarshal(dAtA []byte) error {
  9666. l := len(dAtA)
  9667. iNdEx := 0
  9668. for iNdEx < l {
  9669. preIndex := iNdEx
  9670. var wire uint64
  9671. for shift := uint(0); ; shift += 7 {
  9672. if shift >= 64 {
  9673. return ErrIntOverflowService
  9674. }
  9675. if iNdEx >= l {
  9676. return io.ErrUnexpectedEOF
  9677. }
  9678. b := dAtA[iNdEx]
  9679. iNdEx++
  9680. wire |= (uint64(b) & 0x7F) << shift
  9681. if b < 0x80 {
  9682. break
  9683. }
  9684. }
  9685. fieldNum := int32(wire >> 3)
  9686. wireType := int(wire & 0x7)
  9687. if wireType == 4 {
  9688. return fmt.Errorf("proto: CapsuleGetCapsuleInfoReq: wiretype end group for non-group")
  9689. }
  9690. if fieldNum <= 0 {
  9691. return fmt.Errorf("proto: CapsuleGetCapsuleInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9692. }
  9693. switch fieldNum {
  9694. case 2:
  9695. if wireType != 2 {
  9696. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  9697. }
  9698. var stringLen uint64
  9699. for shift := uint(0); ; shift += 7 {
  9700. if shift >= 64 {
  9701. return ErrIntOverflowService
  9702. }
  9703. if iNdEx >= l {
  9704. return io.ErrUnexpectedEOF
  9705. }
  9706. b := dAtA[iNdEx]
  9707. iNdEx++
  9708. stringLen |= (uint64(b) & 0x7F) << shift
  9709. if b < 0x80 {
  9710. break
  9711. }
  9712. }
  9713. intStringLen := int(stringLen)
  9714. if intStringLen < 0 {
  9715. return ErrInvalidLengthService
  9716. }
  9717. postIndex := iNdEx + intStringLen
  9718. if postIndex > l {
  9719. return io.ErrUnexpectedEOF
  9720. }
  9721. m.Type = string(dAtA[iNdEx:postIndex])
  9722. iNdEx = postIndex
  9723. case 3:
  9724. if wireType != 2 {
  9725. return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
  9726. }
  9727. var stringLen uint64
  9728. for shift := uint(0); ; shift += 7 {
  9729. if shift >= 64 {
  9730. return ErrIntOverflowService
  9731. }
  9732. if iNdEx >= l {
  9733. return io.ErrUnexpectedEOF
  9734. }
  9735. b := dAtA[iNdEx]
  9736. iNdEx++
  9737. stringLen |= (uint64(b) & 0x7F) << shift
  9738. if b < 0x80 {
  9739. break
  9740. }
  9741. }
  9742. intStringLen := int(stringLen)
  9743. if intStringLen < 0 {
  9744. return ErrInvalidLengthService
  9745. }
  9746. postIndex := iNdEx + intStringLen
  9747. if postIndex > l {
  9748. return io.ErrUnexpectedEOF
  9749. }
  9750. m.From = string(dAtA[iNdEx:postIndex])
  9751. iNdEx = postIndex
  9752. default:
  9753. iNdEx = preIndex
  9754. skippy, err := skipService(dAtA[iNdEx:])
  9755. if err != nil {
  9756. return err
  9757. }
  9758. if skippy < 0 {
  9759. return ErrInvalidLengthService
  9760. }
  9761. if (iNdEx + skippy) > l {
  9762. return io.ErrUnexpectedEOF
  9763. }
  9764. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9765. iNdEx += skippy
  9766. }
  9767. }
  9768. if iNdEx > l {
  9769. return io.ErrUnexpectedEOF
  9770. }
  9771. return nil
  9772. }
  9773. func (m *CapsuleGetCapsuleInfoResp) Unmarshal(dAtA []byte) error {
  9774. l := len(dAtA)
  9775. iNdEx := 0
  9776. for iNdEx < l {
  9777. preIndex := iNdEx
  9778. var wire uint64
  9779. for shift := uint(0); ; shift += 7 {
  9780. if shift >= 64 {
  9781. return ErrIntOverflowService
  9782. }
  9783. if iNdEx >= l {
  9784. return io.ErrUnexpectedEOF
  9785. }
  9786. b := dAtA[iNdEx]
  9787. iNdEx++
  9788. wire |= (uint64(b) & 0x7F) << shift
  9789. if b < 0x80 {
  9790. break
  9791. }
  9792. }
  9793. fieldNum := int32(wire >> 3)
  9794. wireType := int(wire & 0x7)
  9795. if wireType == 4 {
  9796. return fmt.Errorf("proto: CapsuleGetCapsuleInfoResp: wiretype end group for non-group")
  9797. }
  9798. if fieldNum <= 0 {
  9799. return fmt.Errorf("proto: CapsuleGetCapsuleInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
  9800. }
  9801. switch fieldNum {
  9802. case 1:
  9803. if wireType != 0 {
  9804. return fmt.Errorf("proto: wrong wireType = %d for field Coin", wireType)
  9805. }
  9806. m.Coin = 0
  9807. for shift := uint(0); ; shift += 7 {
  9808. if shift >= 64 {
  9809. return ErrIntOverflowService
  9810. }
  9811. if iNdEx >= l {
  9812. return io.ErrUnexpectedEOF
  9813. }
  9814. b := dAtA[iNdEx]
  9815. iNdEx++
  9816. m.Coin |= (int64(b) & 0x7F) << shift
  9817. if b < 0x80 {
  9818. break
  9819. }
  9820. }
  9821. case 2:
  9822. if wireType != 2 {
  9823. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  9824. }
  9825. var stringLen uint64
  9826. for shift := uint(0); ; shift += 7 {
  9827. if shift >= 64 {
  9828. return ErrIntOverflowService
  9829. }
  9830. if iNdEx >= l {
  9831. return io.ErrUnexpectedEOF
  9832. }
  9833. b := dAtA[iNdEx]
  9834. iNdEx++
  9835. stringLen |= (uint64(b) & 0x7F) << shift
  9836. if b < 0x80 {
  9837. break
  9838. }
  9839. }
  9840. intStringLen := int(stringLen)
  9841. if intStringLen < 0 {
  9842. return ErrInvalidLengthService
  9843. }
  9844. postIndex := iNdEx + intStringLen
  9845. if postIndex > l {
  9846. return io.ErrUnexpectedEOF
  9847. }
  9848. m.Rule = string(dAtA[iNdEx:postIndex])
  9849. iNdEx = postIndex
  9850. case 3:
  9851. if wireType != 2 {
  9852. return fmt.Errorf("proto: wrong wireType = %d for field GiftList", wireType)
  9853. }
  9854. var msglen int
  9855. for shift := uint(0); ; shift += 7 {
  9856. if shift >= 64 {
  9857. return ErrIntOverflowService
  9858. }
  9859. if iNdEx >= l {
  9860. return io.ErrUnexpectedEOF
  9861. }
  9862. b := dAtA[iNdEx]
  9863. iNdEx++
  9864. msglen |= (int(b) & 0x7F) << shift
  9865. if b < 0x80 {
  9866. break
  9867. }
  9868. }
  9869. if msglen < 0 {
  9870. return ErrInvalidLengthService
  9871. }
  9872. postIndex := iNdEx + msglen
  9873. if postIndex > l {
  9874. return io.ErrUnexpectedEOF
  9875. }
  9876. m.GiftList = append(m.GiftList, &CapsuleGetCapsuleInfoResp_GiftList{})
  9877. if err := m.GiftList[len(m.GiftList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9878. return err
  9879. }
  9880. iNdEx = postIndex
  9881. case 4:
  9882. if wireType != 2 {
  9883. return fmt.Errorf("proto: wrong wireType = %d for field GiftFilter", wireType)
  9884. }
  9885. var msglen int
  9886. for shift := uint(0); ; shift += 7 {
  9887. if shift >= 64 {
  9888. return ErrIntOverflowService
  9889. }
  9890. if iNdEx >= l {
  9891. return io.ErrUnexpectedEOF
  9892. }
  9893. b := dAtA[iNdEx]
  9894. iNdEx++
  9895. msglen |= (int(b) & 0x7F) << shift
  9896. if b < 0x80 {
  9897. break
  9898. }
  9899. }
  9900. if msglen < 0 {
  9901. return ErrInvalidLengthService
  9902. }
  9903. postIndex := iNdEx + msglen
  9904. if postIndex > l {
  9905. return io.ErrUnexpectedEOF
  9906. }
  9907. m.GiftFilter = append(m.GiftFilter, &CapsuleGetCapsuleInfoResp_GiftFilter{})
  9908. if err := m.GiftFilter[len(m.GiftFilter)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9909. return err
  9910. }
  9911. iNdEx = postIndex
  9912. default:
  9913. iNdEx = preIndex
  9914. skippy, err := skipService(dAtA[iNdEx:])
  9915. if err != nil {
  9916. return err
  9917. }
  9918. if skippy < 0 {
  9919. return ErrInvalidLengthService
  9920. }
  9921. if (iNdEx + skippy) > l {
  9922. return io.ErrUnexpectedEOF
  9923. }
  9924. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9925. iNdEx += skippy
  9926. }
  9927. }
  9928. if iNdEx > l {
  9929. return io.ErrUnexpectedEOF
  9930. }
  9931. return nil
  9932. }
  9933. func (m *CapsuleGetCapsuleInfoResp_GiftList) Unmarshal(dAtA []byte) error {
  9934. l := len(dAtA)
  9935. iNdEx := 0
  9936. for iNdEx < l {
  9937. preIndex := iNdEx
  9938. var wire uint64
  9939. for shift := uint(0); ; shift += 7 {
  9940. if shift >= 64 {
  9941. return ErrIntOverflowService
  9942. }
  9943. if iNdEx >= l {
  9944. return io.ErrUnexpectedEOF
  9945. }
  9946. b := dAtA[iNdEx]
  9947. iNdEx++
  9948. wire |= (uint64(b) & 0x7F) << shift
  9949. if b < 0x80 {
  9950. break
  9951. }
  9952. }
  9953. fieldNum := int32(wire >> 3)
  9954. wireType := int(wire & 0x7)
  9955. if wireType == 4 {
  9956. return fmt.Errorf("proto: GiftList: wiretype end group for non-group")
  9957. }
  9958. if fieldNum <= 0 {
  9959. return fmt.Errorf("proto: GiftList: illegal tag %d (wire type %d)", fieldNum, wire)
  9960. }
  9961. switch fieldNum {
  9962. case 1:
  9963. if wireType != 0 {
  9964. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  9965. }
  9966. m.Id = 0
  9967. for shift := uint(0); ; shift += 7 {
  9968. if shift >= 64 {
  9969. return ErrIntOverflowService
  9970. }
  9971. if iNdEx >= l {
  9972. return io.ErrUnexpectedEOF
  9973. }
  9974. b := dAtA[iNdEx]
  9975. iNdEx++
  9976. m.Id |= (int64(b) & 0x7F) << shift
  9977. if b < 0x80 {
  9978. break
  9979. }
  9980. }
  9981. case 2:
  9982. if wireType != 2 {
  9983. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  9984. }
  9985. var stringLen uint64
  9986. for shift := uint(0); ; shift += 7 {
  9987. if shift >= 64 {
  9988. return ErrIntOverflowService
  9989. }
  9990. if iNdEx >= l {
  9991. return io.ErrUnexpectedEOF
  9992. }
  9993. b := dAtA[iNdEx]
  9994. iNdEx++
  9995. stringLen |= (uint64(b) & 0x7F) << shift
  9996. if b < 0x80 {
  9997. break
  9998. }
  9999. }
  10000. intStringLen := int(stringLen)
  10001. if intStringLen < 0 {
  10002. return ErrInvalidLengthService
  10003. }
  10004. postIndex := iNdEx + intStringLen
  10005. if postIndex > l {
  10006. return io.ErrUnexpectedEOF
  10007. }
  10008. m.Name = string(dAtA[iNdEx:postIndex])
  10009. iNdEx = postIndex
  10010. case 3:
  10011. if wireType != 0 {
  10012. return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
  10013. }
  10014. m.Num = 0
  10015. for shift := uint(0); ; shift += 7 {
  10016. if shift >= 64 {
  10017. return ErrIntOverflowService
  10018. }
  10019. if iNdEx >= l {
  10020. return io.ErrUnexpectedEOF
  10021. }
  10022. b := dAtA[iNdEx]
  10023. iNdEx++
  10024. m.Num |= (int64(b) & 0x7F) << shift
  10025. if b < 0x80 {
  10026. break
  10027. }
  10028. }
  10029. case 5:
  10030. if wireType != 2 {
  10031. return fmt.Errorf("proto: wrong wireType = %d for field WebUrl", wireType)
  10032. }
  10033. var stringLen uint64
  10034. for shift := uint(0); ; shift += 7 {
  10035. if shift >= 64 {
  10036. return ErrIntOverflowService
  10037. }
  10038. if iNdEx >= l {
  10039. return io.ErrUnexpectedEOF
  10040. }
  10041. b := dAtA[iNdEx]
  10042. iNdEx++
  10043. stringLen |= (uint64(b) & 0x7F) << shift
  10044. if b < 0x80 {
  10045. break
  10046. }
  10047. }
  10048. intStringLen := int(stringLen)
  10049. if intStringLen < 0 {
  10050. return ErrInvalidLengthService
  10051. }
  10052. postIndex := iNdEx + intStringLen
  10053. if postIndex > l {
  10054. return io.ErrUnexpectedEOF
  10055. }
  10056. m.WebUrl = string(dAtA[iNdEx:postIndex])
  10057. iNdEx = postIndex
  10058. case 6:
  10059. if wireType != 2 {
  10060. return fmt.Errorf("proto: wrong wireType = %d for field MobileUrl", wireType)
  10061. }
  10062. var stringLen uint64
  10063. for shift := uint(0); ; shift += 7 {
  10064. if shift >= 64 {
  10065. return ErrIntOverflowService
  10066. }
  10067. if iNdEx >= l {
  10068. return io.ErrUnexpectedEOF
  10069. }
  10070. b := dAtA[iNdEx]
  10071. iNdEx++
  10072. stringLen |= (uint64(b) & 0x7F) << shift
  10073. if b < 0x80 {
  10074. break
  10075. }
  10076. }
  10077. intStringLen := int(stringLen)
  10078. if intStringLen < 0 {
  10079. return ErrInvalidLengthService
  10080. }
  10081. postIndex := iNdEx + intStringLen
  10082. if postIndex > l {
  10083. return io.ErrUnexpectedEOF
  10084. }
  10085. m.MobileUrl = string(dAtA[iNdEx:postIndex])
  10086. iNdEx = postIndex
  10087. case 7:
  10088. if wireType != 2 {
  10089. return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType)
  10090. }
  10091. var msglen int
  10092. for shift := uint(0); ; shift += 7 {
  10093. if shift >= 64 {
  10094. return ErrIntOverflowService
  10095. }
  10096. if iNdEx >= l {
  10097. return io.ErrUnexpectedEOF
  10098. }
  10099. b := dAtA[iNdEx]
  10100. iNdEx++
  10101. msglen |= (int(b) & 0x7F) << shift
  10102. if b < 0x80 {
  10103. break
  10104. }
  10105. }
  10106. if msglen < 0 {
  10107. return ErrInvalidLengthService
  10108. }
  10109. postIndex := iNdEx + msglen
  10110. if postIndex > l {
  10111. return io.ErrUnexpectedEOF
  10112. }
  10113. if m.Usage == nil {
  10114. m.Usage = &Usage{}
  10115. }
  10116. if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10117. return err
  10118. }
  10119. iNdEx = postIndex
  10120. case 8:
  10121. if wireType != 0 {
  10122. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  10123. }
  10124. m.Type = 0
  10125. for shift := uint(0); ; shift += 7 {
  10126. if shift >= 64 {
  10127. return ErrIntOverflowService
  10128. }
  10129. if iNdEx >= l {
  10130. return io.ErrUnexpectedEOF
  10131. }
  10132. b := dAtA[iNdEx]
  10133. iNdEx++
  10134. m.Type |= (int64(b) & 0x7F) << shift
  10135. if b < 0x80 {
  10136. break
  10137. }
  10138. }
  10139. case 9:
  10140. if wireType != 2 {
  10141. return fmt.Errorf("proto: wrong wireType = %d for field Expire", wireType)
  10142. }
  10143. var stringLen uint64
  10144. for shift := uint(0); ; shift += 7 {
  10145. if shift >= 64 {
  10146. return ErrIntOverflowService
  10147. }
  10148. if iNdEx >= l {
  10149. return io.ErrUnexpectedEOF
  10150. }
  10151. b := dAtA[iNdEx]
  10152. iNdEx++
  10153. stringLen |= (uint64(b) & 0x7F) << shift
  10154. if b < 0x80 {
  10155. break
  10156. }
  10157. }
  10158. intStringLen := int(stringLen)
  10159. if intStringLen < 0 {
  10160. return ErrInvalidLengthService
  10161. }
  10162. postIndex := iNdEx + intStringLen
  10163. if postIndex > l {
  10164. return io.ErrUnexpectedEOF
  10165. }
  10166. m.Expire = string(dAtA[iNdEx:postIndex])
  10167. iNdEx = postIndex
  10168. default:
  10169. iNdEx = preIndex
  10170. skippy, err := skipService(dAtA[iNdEx:])
  10171. if err != nil {
  10172. return err
  10173. }
  10174. if skippy < 0 {
  10175. return ErrInvalidLengthService
  10176. }
  10177. if (iNdEx + skippy) > l {
  10178. return io.ErrUnexpectedEOF
  10179. }
  10180. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10181. iNdEx += skippy
  10182. }
  10183. }
  10184. if iNdEx > l {
  10185. return io.ErrUnexpectedEOF
  10186. }
  10187. return nil
  10188. }
  10189. func (m *CapsuleGetCapsuleInfoResp_GiftFilter) Unmarshal(dAtA []byte) error {
  10190. l := len(dAtA)
  10191. iNdEx := 0
  10192. for iNdEx < l {
  10193. preIndex := iNdEx
  10194. var wire uint64
  10195. for shift := uint(0); ; shift += 7 {
  10196. if shift >= 64 {
  10197. return ErrIntOverflowService
  10198. }
  10199. if iNdEx >= l {
  10200. return io.ErrUnexpectedEOF
  10201. }
  10202. b := dAtA[iNdEx]
  10203. iNdEx++
  10204. wire |= (uint64(b) & 0x7F) << shift
  10205. if b < 0x80 {
  10206. break
  10207. }
  10208. }
  10209. fieldNum := int32(wire >> 3)
  10210. wireType := int(wire & 0x7)
  10211. if wireType == 4 {
  10212. return fmt.Errorf("proto: GiftFilter: wiretype end group for non-group")
  10213. }
  10214. if fieldNum <= 0 {
  10215. return fmt.Errorf("proto: GiftFilter: illegal tag %d (wire type %d)", fieldNum, wire)
  10216. }
  10217. switch fieldNum {
  10218. case 1:
  10219. if wireType != 0 {
  10220. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  10221. }
  10222. m.Id = 0
  10223. for shift := uint(0); ; shift += 7 {
  10224. if shift >= 64 {
  10225. return ErrIntOverflowService
  10226. }
  10227. if iNdEx >= l {
  10228. return io.ErrUnexpectedEOF
  10229. }
  10230. b := dAtA[iNdEx]
  10231. iNdEx++
  10232. m.Id |= (int64(b) & 0x7F) << shift
  10233. if b < 0x80 {
  10234. break
  10235. }
  10236. }
  10237. case 2:
  10238. if wireType != 2 {
  10239. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  10240. }
  10241. var stringLen uint64
  10242. for shift := uint(0); ; shift += 7 {
  10243. if shift >= 64 {
  10244. return ErrIntOverflowService
  10245. }
  10246. if iNdEx >= l {
  10247. return io.ErrUnexpectedEOF
  10248. }
  10249. b := dAtA[iNdEx]
  10250. iNdEx++
  10251. stringLen |= (uint64(b) & 0x7F) << shift
  10252. if b < 0x80 {
  10253. break
  10254. }
  10255. }
  10256. intStringLen := int(stringLen)
  10257. if intStringLen < 0 {
  10258. return ErrInvalidLengthService
  10259. }
  10260. postIndex := iNdEx + intStringLen
  10261. if postIndex > l {
  10262. return io.ErrUnexpectedEOF
  10263. }
  10264. m.Name = string(dAtA[iNdEx:postIndex])
  10265. iNdEx = postIndex
  10266. case 3:
  10267. if wireType != 2 {
  10268. return fmt.Errorf("proto: wrong wireType = %d for field WebUrl", wireType)
  10269. }
  10270. var stringLen uint64
  10271. for shift := uint(0); ; shift += 7 {
  10272. if shift >= 64 {
  10273. return ErrIntOverflowService
  10274. }
  10275. if iNdEx >= l {
  10276. return io.ErrUnexpectedEOF
  10277. }
  10278. b := dAtA[iNdEx]
  10279. iNdEx++
  10280. stringLen |= (uint64(b) & 0x7F) << shift
  10281. if b < 0x80 {
  10282. break
  10283. }
  10284. }
  10285. intStringLen := int(stringLen)
  10286. if intStringLen < 0 {
  10287. return ErrInvalidLengthService
  10288. }
  10289. postIndex := iNdEx + intStringLen
  10290. if postIndex > l {
  10291. return io.ErrUnexpectedEOF
  10292. }
  10293. m.WebUrl = string(dAtA[iNdEx:postIndex])
  10294. iNdEx = postIndex
  10295. case 4:
  10296. if wireType != 2 {
  10297. return fmt.Errorf("proto: wrong wireType = %d for field MobileUrl", wireType)
  10298. }
  10299. var stringLen uint64
  10300. for shift := uint(0); ; shift += 7 {
  10301. if shift >= 64 {
  10302. return ErrIntOverflowService
  10303. }
  10304. if iNdEx >= l {
  10305. return io.ErrUnexpectedEOF
  10306. }
  10307. b := dAtA[iNdEx]
  10308. iNdEx++
  10309. stringLen |= (uint64(b) & 0x7F) << shift
  10310. if b < 0x80 {
  10311. break
  10312. }
  10313. }
  10314. intStringLen := int(stringLen)
  10315. if intStringLen < 0 {
  10316. return ErrInvalidLengthService
  10317. }
  10318. postIndex := iNdEx + intStringLen
  10319. if postIndex > l {
  10320. return io.ErrUnexpectedEOF
  10321. }
  10322. m.MobileUrl = string(dAtA[iNdEx:postIndex])
  10323. iNdEx = postIndex
  10324. case 5:
  10325. if wireType != 2 {
  10326. return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType)
  10327. }
  10328. var msglen int
  10329. for shift := uint(0); ; shift += 7 {
  10330. if shift >= 64 {
  10331. return ErrIntOverflowService
  10332. }
  10333. if iNdEx >= l {
  10334. return io.ErrUnexpectedEOF
  10335. }
  10336. b := dAtA[iNdEx]
  10337. iNdEx++
  10338. msglen |= (int(b) & 0x7F) << shift
  10339. if b < 0x80 {
  10340. break
  10341. }
  10342. }
  10343. if msglen < 0 {
  10344. return ErrInvalidLengthService
  10345. }
  10346. postIndex := iNdEx + msglen
  10347. if postIndex > l {
  10348. return io.ErrUnexpectedEOF
  10349. }
  10350. if m.Usage == nil {
  10351. m.Usage = &Usage{}
  10352. }
  10353. if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10354. return err
  10355. }
  10356. iNdEx = postIndex
  10357. default:
  10358. iNdEx = preIndex
  10359. skippy, err := skipService(dAtA[iNdEx:])
  10360. if err != nil {
  10361. return err
  10362. }
  10363. if skippy < 0 {
  10364. return ErrInvalidLengthService
  10365. }
  10366. if (iNdEx + skippy) > l {
  10367. return io.ErrUnexpectedEOF
  10368. }
  10369. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10370. iNdEx += skippy
  10371. }
  10372. }
  10373. if iNdEx > l {
  10374. return io.ErrUnexpectedEOF
  10375. }
  10376. return nil
  10377. }
  10378. func (m *CapsuleOpenCapsuleByTypeReq) Unmarshal(dAtA []byte) error {
  10379. l := len(dAtA)
  10380. iNdEx := 0
  10381. for iNdEx < l {
  10382. preIndex := iNdEx
  10383. var wire uint64
  10384. for shift := uint(0); ; shift += 7 {
  10385. if shift >= 64 {
  10386. return ErrIntOverflowService
  10387. }
  10388. if iNdEx >= l {
  10389. return io.ErrUnexpectedEOF
  10390. }
  10391. b := dAtA[iNdEx]
  10392. iNdEx++
  10393. wire |= (uint64(b) & 0x7F) << shift
  10394. if b < 0x80 {
  10395. break
  10396. }
  10397. }
  10398. fieldNum := int32(wire >> 3)
  10399. wireType := int(wire & 0x7)
  10400. if wireType == 4 {
  10401. return fmt.Errorf("proto: CapsuleOpenCapsuleByTypeReq: wiretype end group for non-group")
  10402. }
  10403. if fieldNum <= 0 {
  10404. return fmt.Errorf("proto: CapsuleOpenCapsuleByTypeReq: illegal tag %d (wire type %d)", fieldNum, wire)
  10405. }
  10406. switch fieldNum {
  10407. case 2:
  10408. if wireType != 2 {
  10409. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  10410. }
  10411. var stringLen uint64
  10412. for shift := uint(0); ; shift += 7 {
  10413. if shift >= 64 {
  10414. return ErrIntOverflowService
  10415. }
  10416. if iNdEx >= l {
  10417. return io.ErrUnexpectedEOF
  10418. }
  10419. b := dAtA[iNdEx]
  10420. iNdEx++
  10421. stringLen |= (uint64(b) & 0x7F) << shift
  10422. if b < 0x80 {
  10423. break
  10424. }
  10425. }
  10426. intStringLen := int(stringLen)
  10427. if intStringLen < 0 {
  10428. return ErrInvalidLengthService
  10429. }
  10430. postIndex := iNdEx + intStringLen
  10431. if postIndex > l {
  10432. return io.ErrUnexpectedEOF
  10433. }
  10434. m.Type = string(dAtA[iNdEx:postIndex])
  10435. iNdEx = postIndex
  10436. case 3:
  10437. if wireType != 0 {
  10438. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  10439. }
  10440. m.Count = 0
  10441. for shift := uint(0); ; shift += 7 {
  10442. if shift >= 64 {
  10443. return ErrIntOverflowService
  10444. }
  10445. if iNdEx >= l {
  10446. return io.ErrUnexpectedEOF
  10447. }
  10448. b := dAtA[iNdEx]
  10449. iNdEx++
  10450. m.Count |= (int64(b) & 0x7F) << shift
  10451. if b < 0x80 {
  10452. break
  10453. }
  10454. }
  10455. case 4:
  10456. if wireType != 2 {
  10457. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  10458. }
  10459. var stringLen uint64
  10460. for shift := uint(0); ; shift += 7 {
  10461. if shift >= 64 {
  10462. return ErrIntOverflowService
  10463. }
  10464. if iNdEx >= l {
  10465. return io.ErrUnexpectedEOF
  10466. }
  10467. b := dAtA[iNdEx]
  10468. iNdEx++
  10469. stringLen |= (uint64(b) & 0x7F) << shift
  10470. if b < 0x80 {
  10471. break
  10472. }
  10473. }
  10474. intStringLen := int(stringLen)
  10475. if intStringLen < 0 {
  10476. return ErrInvalidLengthService
  10477. }
  10478. postIndex := iNdEx + intStringLen
  10479. if postIndex > l {
  10480. return io.ErrUnexpectedEOF
  10481. }
  10482. m.Platform = string(dAtA[iNdEx:postIndex])
  10483. iNdEx = postIndex
  10484. default:
  10485. iNdEx = preIndex
  10486. skippy, err := skipService(dAtA[iNdEx:])
  10487. if err != nil {
  10488. return err
  10489. }
  10490. if skippy < 0 {
  10491. return ErrInvalidLengthService
  10492. }
  10493. if (iNdEx + skippy) > l {
  10494. return io.ErrUnexpectedEOF
  10495. }
  10496. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10497. iNdEx += skippy
  10498. }
  10499. }
  10500. if iNdEx > l {
  10501. return io.ErrUnexpectedEOF
  10502. }
  10503. return nil
  10504. }
  10505. func (m *CapsuleOpenCapsuleByTypeResp) Unmarshal(dAtA []byte) error {
  10506. l := len(dAtA)
  10507. iNdEx := 0
  10508. for iNdEx < l {
  10509. preIndex := iNdEx
  10510. var wire uint64
  10511. for shift := uint(0); ; shift += 7 {
  10512. if shift >= 64 {
  10513. return ErrIntOverflowService
  10514. }
  10515. if iNdEx >= l {
  10516. return io.ErrUnexpectedEOF
  10517. }
  10518. b := dAtA[iNdEx]
  10519. iNdEx++
  10520. wire |= (uint64(b) & 0x7F) << shift
  10521. if b < 0x80 {
  10522. break
  10523. }
  10524. }
  10525. fieldNum := int32(wire >> 3)
  10526. wireType := int(wire & 0x7)
  10527. if wireType == 4 {
  10528. return fmt.Errorf("proto: CapsuleOpenCapsuleByTypeResp: wiretype end group for non-group")
  10529. }
  10530. if fieldNum <= 0 {
  10531. return fmt.Errorf("proto: CapsuleOpenCapsuleByTypeResp: illegal tag %d (wire type %d)", fieldNum, wire)
  10532. }
  10533. switch fieldNum {
  10534. case 1:
  10535. if wireType != 0 {
  10536. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  10537. }
  10538. var v int
  10539. for shift := uint(0); ; shift += 7 {
  10540. if shift >= 64 {
  10541. return ErrIntOverflowService
  10542. }
  10543. if iNdEx >= l {
  10544. return io.ErrUnexpectedEOF
  10545. }
  10546. b := dAtA[iNdEx]
  10547. iNdEx++
  10548. v |= (int(b) & 0x7F) << shift
  10549. if b < 0x80 {
  10550. break
  10551. }
  10552. }
  10553. m.Status = bool(v != 0)
  10554. case 2:
  10555. if wireType != 0 {
  10556. return fmt.Errorf("proto: wrong wireType = %d for field IsEntity", wireType)
  10557. }
  10558. var v int
  10559. for shift := uint(0); ; shift += 7 {
  10560. if shift >= 64 {
  10561. return ErrIntOverflowService
  10562. }
  10563. if iNdEx >= l {
  10564. return io.ErrUnexpectedEOF
  10565. }
  10566. b := dAtA[iNdEx]
  10567. iNdEx++
  10568. v |= (int(b) & 0x7F) << shift
  10569. if b < 0x80 {
  10570. break
  10571. }
  10572. }
  10573. m.IsEntity = bool(v != 0)
  10574. case 3:
  10575. if wireType != 2 {
  10576. return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
  10577. }
  10578. var msglen int
  10579. for shift := uint(0); ; shift += 7 {
  10580. if shift >= 64 {
  10581. return ErrIntOverflowService
  10582. }
  10583. if iNdEx >= l {
  10584. return io.ErrUnexpectedEOF
  10585. }
  10586. b := dAtA[iNdEx]
  10587. iNdEx++
  10588. msglen |= (int(b) & 0x7F) << shift
  10589. if b < 0x80 {
  10590. break
  10591. }
  10592. }
  10593. if msglen < 0 {
  10594. return ErrInvalidLengthService
  10595. }
  10596. postIndex := iNdEx + msglen
  10597. if postIndex > l {
  10598. return io.ErrUnexpectedEOF
  10599. }
  10600. if m.Info == nil {
  10601. m.Info = &CapsuleOpenCapsuleByTypeResp_CapsuleInfo{}
  10602. }
  10603. if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10604. return err
  10605. }
  10606. iNdEx = postIndex
  10607. case 4:
  10608. if wireType != 2 {
  10609. return fmt.Errorf("proto: wrong wireType = %d for field Awards", wireType)
  10610. }
  10611. var msglen int
  10612. for shift := uint(0); ; shift += 7 {
  10613. if shift >= 64 {
  10614. return ErrIntOverflowService
  10615. }
  10616. if iNdEx >= l {
  10617. return io.ErrUnexpectedEOF
  10618. }
  10619. b := dAtA[iNdEx]
  10620. iNdEx++
  10621. msglen |= (int(b) & 0x7F) << shift
  10622. if b < 0x80 {
  10623. break
  10624. }
  10625. }
  10626. if msglen < 0 {
  10627. return ErrInvalidLengthService
  10628. }
  10629. postIndex := iNdEx + msglen
  10630. if postIndex > l {
  10631. return io.ErrUnexpectedEOF
  10632. }
  10633. m.Awards = append(m.Awards, &CapsuleOpenCapsuleByTypeResp_Award{})
  10634. if err := m.Awards[len(m.Awards)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10635. return err
  10636. }
  10637. iNdEx = postIndex
  10638. case 5:
  10639. if wireType != 2 {
  10640. return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
  10641. }
  10642. var stringLen uint64
  10643. for shift := uint(0); ; shift += 7 {
  10644. if shift >= 64 {
  10645. return ErrIntOverflowService
  10646. }
  10647. if iNdEx >= l {
  10648. return io.ErrUnexpectedEOF
  10649. }
  10650. b := dAtA[iNdEx]
  10651. iNdEx++
  10652. stringLen |= (uint64(b) & 0x7F) << shift
  10653. if b < 0x80 {
  10654. break
  10655. }
  10656. }
  10657. intStringLen := int(stringLen)
  10658. if intStringLen < 0 {
  10659. return ErrInvalidLengthService
  10660. }
  10661. postIndex := iNdEx + intStringLen
  10662. if postIndex > l {
  10663. return io.ErrUnexpectedEOF
  10664. }
  10665. m.Text = append(m.Text, string(dAtA[iNdEx:postIndex]))
  10666. iNdEx = postIndex
  10667. default:
  10668. iNdEx = preIndex
  10669. skippy, err := skipService(dAtA[iNdEx:])
  10670. if err != nil {
  10671. return err
  10672. }
  10673. if skippy < 0 {
  10674. return ErrInvalidLengthService
  10675. }
  10676. if (iNdEx + skippy) > l {
  10677. return io.ErrUnexpectedEOF
  10678. }
  10679. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10680. iNdEx += skippy
  10681. }
  10682. }
  10683. if iNdEx > l {
  10684. return io.ErrUnexpectedEOF
  10685. }
  10686. return nil
  10687. }
  10688. func (m *CapsuleOpenCapsuleByTypeResp_CapsuleInfo) Unmarshal(dAtA []byte) error {
  10689. l := len(dAtA)
  10690. iNdEx := 0
  10691. for iNdEx < l {
  10692. preIndex := iNdEx
  10693. var wire uint64
  10694. for shift := uint(0); ; shift += 7 {
  10695. if shift >= 64 {
  10696. return ErrIntOverflowService
  10697. }
  10698. if iNdEx >= l {
  10699. return io.ErrUnexpectedEOF
  10700. }
  10701. b := dAtA[iNdEx]
  10702. iNdEx++
  10703. wire |= (uint64(b) & 0x7F) << shift
  10704. if b < 0x80 {
  10705. break
  10706. }
  10707. }
  10708. fieldNum := int32(wire >> 3)
  10709. wireType := int(wire & 0x7)
  10710. if wireType == 4 {
  10711. return fmt.Errorf("proto: CapsuleInfo: wiretype end group for non-group")
  10712. }
  10713. if fieldNum <= 0 {
  10714. return fmt.Errorf("proto: CapsuleInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  10715. }
  10716. switch fieldNum {
  10717. case 1:
  10718. if wireType != 0 {
  10719. return fmt.Errorf("proto: wrong wireType = %d for field Coin", wireType)
  10720. }
  10721. m.Coin = 0
  10722. for shift := uint(0); ; shift += 7 {
  10723. if shift >= 64 {
  10724. return ErrIntOverflowService
  10725. }
  10726. if iNdEx >= l {
  10727. return io.ErrUnexpectedEOF
  10728. }
  10729. b := dAtA[iNdEx]
  10730. iNdEx++
  10731. m.Coin |= (int64(b) & 0x7F) << shift
  10732. if b < 0x80 {
  10733. break
  10734. }
  10735. }
  10736. default:
  10737. iNdEx = preIndex
  10738. skippy, err := skipService(dAtA[iNdEx:])
  10739. if err != nil {
  10740. return err
  10741. }
  10742. if skippy < 0 {
  10743. return ErrInvalidLengthService
  10744. }
  10745. if (iNdEx + skippy) > l {
  10746. return io.ErrUnexpectedEOF
  10747. }
  10748. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10749. iNdEx += skippy
  10750. }
  10751. }
  10752. if iNdEx > l {
  10753. return io.ErrUnexpectedEOF
  10754. }
  10755. return nil
  10756. }
  10757. func (m *CapsuleOpenCapsuleByTypeResp_Award) Unmarshal(dAtA []byte) error {
  10758. l := len(dAtA)
  10759. iNdEx := 0
  10760. for iNdEx < l {
  10761. preIndex := iNdEx
  10762. var wire uint64
  10763. for shift := uint(0); ; shift += 7 {
  10764. if shift >= 64 {
  10765. return ErrIntOverflowService
  10766. }
  10767. if iNdEx >= l {
  10768. return io.ErrUnexpectedEOF
  10769. }
  10770. b := dAtA[iNdEx]
  10771. iNdEx++
  10772. wire |= (uint64(b) & 0x7F) << shift
  10773. if b < 0x80 {
  10774. break
  10775. }
  10776. }
  10777. fieldNum := int32(wire >> 3)
  10778. wireType := int(wire & 0x7)
  10779. if wireType == 4 {
  10780. return fmt.Errorf("proto: Award: wiretype end group for non-group")
  10781. }
  10782. if fieldNum <= 0 {
  10783. return fmt.Errorf("proto: Award: illegal tag %d (wire type %d)", fieldNum, wire)
  10784. }
  10785. switch fieldNum {
  10786. case 1:
  10787. if wireType != 0 {
  10788. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  10789. }
  10790. m.Id = 0
  10791. for shift := uint(0); ; shift += 7 {
  10792. if shift >= 64 {
  10793. return ErrIntOverflowService
  10794. }
  10795. if iNdEx >= l {
  10796. return io.ErrUnexpectedEOF
  10797. }
  10798. b := dAtA[iNdEx]
  10799. iNdEx++
  10800. m.Id |= (int64(b) & 0x7F) << shift
  10801. if b < 0x80 {
  10802. break
  10803. }
  10804. }
  10805. case 2:
  10806. if wireType != 2 {
  10807. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  10808. }
  10809. var stringLen uint64
  10810. for shift := uint(0); ; shift += 7 {
  10811. if shift >= 64 {
  10812. return ErrIntOverflowService
  10813. }
  10814. if iNdEx >= l {
  10815. return io.ErrUnexpectedEOF
  10816. }
  10817. b := dAtA[iNdEx]
  10818. iNdEx++
  10819. stringLen |= (uint64(b) & 0x7F) << shift
  10820. if b < 0x80 {
  10821. break
  10822. }
  10823. }
  10824. intStringLen := int(stringLen)
  10825. if intStringLen < 0 {
  10826. return ErrInvalidLengthService
  10827. }
  10828. postIndex := iNdEx + intStringLen
  10829. if postIndex > l {
  10830. return io.ErrUnexpectedEOF
  10831. }
  10832. m.Name = string(dAtA[iNdEx:postIndex])
  10833. iNdEx = postIndex
  10834. case 3:
  10835. if wireType != 0 {
  10836. return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
  10837. }
  10838. m.Num = 0
  10839. for shift := uint(0); ; shift += 7 {
  10840. if shift >= 64 {
  10841. return ErrIntOverflowService
  10842. }
  10843. if iNdEx >= l {
  10844. return io.ErrUnexpectedEOF
  10845. }
  10846. b := dAtA[iNdEx]
  10847. iNdEx++
  10848. m.Num |= (int64(b) & 0x7F) << shift
  10849. if b < 0x80 {
  10850. break
  10851. }
  10852. }
  10853. case 4:
  10854. if wireType != 2 {
  10855. return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
  10856. }
  10857. var stringLen uint64
  10858. for shift := uint(0); ; shift += 7 {
  10859. if shift >= 64 {
  10860. return ErrIntOverflowService
  10861. }
  10862. if iNdEx >= l {
  10863. return io.ErrUnexpectedEOF
  10864. }
  10865. b := dAtA[iNdEx]
  10866. iNdEx++
  10867. stringLen |= (uint64(b) & 0x7F) << shift
  10868. if b < 0x80 {
  10869. break
  10870. }
  10871. }
  10872. intStringLen := int(stringLen)
  10873. if intStringLen < 0 {
  10874. return ErrInvalidLengthService
  10875. }
  10876. postIndex := iNdEx + intStringLen
  10877. if postIndex > l {
  10878. return io.ErrUnexpectedEOF
  10879. }
  10880. m.Text = string(dAtA[iNdEx:postIndex])
  10881. iNdEx = postIndex
  10882. case 5:
  10883. if wireType != 2 {
  10884. return fmt.Errorf("proto: wrong wireType = %d for field WebUrl", wireType)
  10885. }
  10886. var stringLen uint64
  10887. for shift := uint(0); ; shift += 7 {
  10888. if shift >= 64 {
  10889. return ErrIntOverflowService
  10890. }
  10891. if iNdEx >= l {
  10892. return io.ErrUnexpectedEOF
  10893. }
  10894. b := dAtA[iNdEx]
  10895. iNdEx++
  10896. stringLen |= (uint64(b) & 0x7F) << shift
  10897. if b < 0x80 {
  10898. break
  10899. }
  10900. }
  10901. intStringLen := int(stringLen)
  10902. if intStringLen < 0 {
  10903. return ErrInvalidLengthService
  10904. }
  10905. postIndex := iNdEx + intStringLen
  10906. if postIndex > l {
  10907. return io.ErrUnexpectedEOF
  10908. }
  10909. m.WebUrl = string(dAtA[iNdEx:postIndex])
  10910. iNdEx = postIndex
  10911. case 6:
  10912. if wireType != 2 {
  10913. return fmt.Errorf("proto: wrong wireType = %d for field MobileUrl", wireType)
  10914. }
  10915. var stringLen uint64
  10916. for shift := uint(0); ; shift += 7 {
  10917. if shift >= 64 {
  10918. return ErrIntOverflowService
  10919. }
  10920. if iNdEx >= l {
  10921. return io.ErrUnexpectedEOF
  10922. }
  10923. b := dAtA[iNdEx]
  10924. iNdEx++
  10925. stringLen |= (uint64(b) & 0x7F) << shift
  10926. if b < 0x80 {
  10927. break
  10928. }
  10929. }
  10930. intStringLen := int(stringLen)
  10931. if intStringLen < 0 {
  10932. return ErrInvalidLengthService
  10933. }
  10934. postIndex := iNdEx + intStringLen
  10935. if postIndex > l {
  10936. return io.ErrUnexpectedEOF
  10937. }
  10938. m.MobileUrl = string(dAtA[iNdEx:postIndex])
  10939. iNdEx = postIndex
  10940. case 7:
  10941. if wireType != 2 {
  10942. return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType)
  10943. }
  10944. var msglen int
  10945. for shift := uint(0); ; shift += 7 {
  10946. if shift >= 64 {
  10947. return ErrIntOverflowService
  10948. }
  10949. if iNdEx >= l {
  10950. return io.ErrUnexpectedEOF
  10951. }
  10952. b := dAtA[iNdEx]
  10953. iNdEx++
  10954. msglen |= (int(b) & 0x7F) << shift
  10955. if b < 0x80 {
  10956. break
  10957. }
  10958. }
  10959. if msglen < 0 {
  10960. return ErrInvalidLengthService
  10961. }
  10962. postIndex := iNdEx + msglen
  10963. if postIndex > l {
  10964. return io.ErrUnexpectedEOF
  10965. }
  10966. if m.Usage == nil {
  10967. m.Usage = &Usage{}
  10968. }
  10969. if err := m.Usage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10970. return err
  10971. }
  10972. iNdEx = postIndex
  10973. case 8:
  10974. if wireType != 0 {
  10975. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  10976. }
  10977. m.Type = 0
  10978. for shift := uint(0); ; shift += 7 {
  10979. if shift >= 64 {
  10980. return ErrIntOverflowService
  10981. }
  10982. if iNdEx >= l {
  10983. return io.ErrUnexpectedEOF
  10984. }
  10985. b := dAtA[iNdEx]
  10986. iNdEx++
  10987. m.Type |= (int64(b) & 0x7F) << shift
  10988. if b < 0x80 {
  10989. break
  10990. }
  10991. }
  10992. case 9:
  10993. if wireType != 2 {
  10994. return fmt.Errorf("proto: wrong wireType = %d for field Expire", wireType)
  10995. }
  10996. var stringLen uint64
  10997. for shift := uint(0); ; shift += 7 {
  10998. if shift >= 64 {
  10999. return ErrIntOverflowService
  11000. }
  11001. if iNdEx >= l {
  11002. return io.ErrUnexpectedEOF
  11003. }
  11004. b := dAtA[iNdEx]
  11005. iNdEx++
  11006. stringLen |= (uint64(b) & 0x7F) << shift
  11007. if b < 0x80 {
  11008. break
  11009. }
  11010. }
  11011. intStringLen := int(stringLen)
  11012. if intStringLen < 0 {
  11013. return ErrInvalidLengthService
  11014. }
  11015. postIndex := iNdEx + intStringLen
  11016. if postIndex > l {
  11017. return io.ErrUnexpectedEOF
  11018. }
  11019. m.Expire = string(dAtA[iNdEx:postIndex])
  11020. iNdEx = postIndex
  11021. default:
  11022. iNdEx = preIndex
  11023. skippy, err := skipService(dAtA[iNdEx:])
  11024. if err != nil {
  11025. return err
  11026. }
  11027. if skippy < 0 {
  11028. return ErrInvalidLengthService
  11029. }
  11030. if (iNdEx + skippy) > l {
  11031. return io.ErrUnexpectedEOF
  11032. }
  11033. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11034. iNdEx += skippy
  11035. }
  11036. }
  11037. if iNdEx > l {
  11038. return io.ErrUnexpectedEOF
  11039. }
  11040. return nil
  11041. }
  11042. func skipService(dAtA []byte) (n int, err error) {
  11043. l := len(dAtA)
  11044. iNdEx := 0
  11045. for iNdEx < l {
  11046. var wire uint64
  11047. for shift := uint(0); ; shift += 7 {
  11048. if shift >= 64 {
  11049. return 0, ErrIntOverflowService
  11050. }
  11051. if iNdEx >= l {
  11052. return 0, io.ErrUnexpectedEOF
  11053. }
  11054. b := dAtA[iNdEx]
  11055. iNdEx++
  11056. wire |= (uint64(b) & 0x7F) << shift
  11057. if b < 0x80 {
  11058. break
  11059. }
  11060. }
  11061. wireType := int(wire & 0x7)
  11062. switch wireType {
  11063. case 0:
  11064. for shift := uint(0); ; shift += 7 {
  11065. if shift >= 64 {
  11066. return 0, ErrIntOverflowService
  11067. }
  11068. if iNdEx >= l {
  11069. return 0, io.ErrUnexpectedEOF
  11070. }
  11071. iNdEx++
  11072. if dAtA[iNdEx-1] < 0x80 {
  11073. break
  11074. }
  11075. }
  11076. return iNdEx, nil
  11077. case 1:
  11078. iNdEx += 8
  11079. return iNdEx, nil
  11080. case 2:
  11081. var length int
  11082. for shift := uint(0); ; shift += 7 {
  11083. if shift >= 64 {
  11084. return 0, ErrIntOverflowService
  11085. }
  11086. if iNdEx >= l {
  11087. return 0, io.ErrUnexpectedEOF
  11088. }
  11089. b := dAtA[iNdEx]
  11090. iNdEx++
  11091. length |= (int(b) & 0x7F) << shift
  11092. if b < 0x80 {
  11093. break
  11094. }
  11095. }
  11096. iNdEx += length
  11097. if length < 0 {
  11098. return 0, ErrInvalidLengthService
  11099. }
  11100. return iNdEx, nil
  11101. case 3:
  11102. for {
  11103. var innerWire uint64
  11104. var start int = iNdEx
  11105. for shift := uint(0); ; shift += 7 {
  11106. if shift >= 64 {
  11107. return 0, ErrIntOverflowService
  11108. }
  11109. if iNdEx >= l {
  11110. return 0, io.ErrUnexpectedEOF
  11111. }
  11112. b := dAtA[iNdEx]
  11113. iNdEx++
  11114. innerWire |= (uint64(b) & 0x7F) << shift
  11115. if b < 0x80 {
  11116. break
  11117. }
  11118. }
  11119. innerWireType := int(innerWire & 0x7)
  11120. if innerWireType == 4 {
  11121. break
  11122. }
  11123. next, err := skipService(dAtA[start:])
  11124. if err != nil {
  11125. return 0, err
  11126. }
  11127. iNdEx = start + next
  11128. }
  11129. return iNdEx, nil
  11130. case 4:
  11131. return iNdEx, nil
  11132. case 5:
  11133. iNdEx += 4
  11134. return iNdEx, nil
  11135. default:
  11136. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  11137. }
  11138. }
  11139. panic("unreachable")
  11140. }
  11141. var (
  11142. ErrInvalidLengthService = fmt.Errorf("proto: negative length found during unmarshaling")
  11143. ErrIntOverflowService = fmt.Errorf("proto: integer overflow")
  11144. )
  11145. func init() { proto.RegisterFile("service.proto", fileDescriptor_service_9f54252a761dae68) }
  11146. var fileDescriptor_service_9f54252a761dae68 = []byte{
  11147. // 2466 bytes of a gzipped FileDescriptorProto
  11148. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xcb, 0x6f, 0x1c, 0xc7,
  11149. 0xd1, 0xc7, 0xbe, 0x67, 0x6b, 0x29, 0x91, 0x6e, 0xbd, 0x56, 0xfb, 0xf1, 0xd3, 0x50, 0x23, 0x05,
  11150. 0xa2, 0xa5, 0x88, 0x94, 0x28, 0xc7, 0x0e, 0x04, 0x0b, 0xb0, 0xa8, 0x57, 0x18, 0xc7, 0xb2, 0xd0,
  11151. 0xa2, 0x8c, 0x40, 0x01, 0x32, 0x99, 0xdd, 0xe9, 0x5d, 0x8e, 0x35, 0x3b, 0xb3, 0x9c, 0x07, 0x29,
  11152. 0x3a, 0x39, 0xe6, 0x98, 0x5c, 0x93, 0x5c, 0x73, 0xcb, 0xc9, 0x40, 0xce, 0xb1, 0x4f, 0xc9, 0xc1,
  11153. 0xb9, 0x19, 0xc8, 0x21, 0x39, 0x0d, 0x02, 0xdd, 0xb2, 0x47, 0xe6, 0x1f, 0x08, 0xba, 0xba, 0xe7,
  11154. 0xb1, 0xe4, 0x2c, 0x39, 0x4b, 0xe7, 0xe2, 0x5c, 0x7a, 0xba, 0xab, 0xbb, 0xaa, 0x1f, 0x55, 0xbf,
  11155. 0xaa, 0xea, 0xed, 0x85, 0x53, 0x3e, 0xf3, 0x76, 0xac, 0x1e, 0x5b, 0x19, 0x79, 0x6e, 0xe0, 0x12,
  11156. 0x62, 0x5b, 0x3b, 0x6c, 0x65, 0x97, 0x75, 0xc3, 0x1e, 0x73, 0x02, 0xe6, 0xad, 0xec, 0xdc, 0xee,
  11157. 0xdc, 0x1c, 0x58, 0xc1, 0x56, 0xd8, 0x5d, 0xe9, 0xb9, 0xc3, 0xd5, 0x81, 0x3b, 0x70, 0x57, 0x71,
  11158. 0x68, 0x37, 0xec, 0x63, 0x0b, 0x1b, 0x58, 0x13, 0x22, 0xb4, 0x79, 0x38, 0xf5, 0x84, 0x05, 0x3f,
  11159. 0xb0, 0xfc, 0xc0, 0xf5, 0xf6, 0x28, 0xdb, 0xd6, 0xfe, 0x51, 0x83, 0xd3, 0x59, 0x8a, 0x3f, 0x22,
  11160. 0x2a, 0xd4, 0x02, 0x2b, 0xb0, 0x59, 0xbb, 0xb4, 0x54, 0x5a, 0x6e, 0xae, 0x37, 0xc7, 0x91, 0x2a,
  11161. 0x08, 0x54, 0x7c, 0xf8, 0x80, 0x9e, 0x1b, 0x3a, 0x41, 0xbb, 0xba, 0x54, 0x5a, 0xae, 0x89, 0x01,
  11162. 0x48, 0xa0, 0xe2, 0x43, 0x1e, 0x41, 0xd5, 0xb6, 0xfc, 0xa0, 0x5d, 0x5b, 0xaa, 0x2c, 0xb7, 0xd6,
  11163. 0xae, 0xad, 0x1c, 0x5e, 0xf7, 0xca, 0xe4, 0x9c, 0x2b, 0x3f, 0xb2, 0xfc, 0x60, 0x5d, 0x19, 0x47,
  11164. 0x2a, 0x32, 0x52, 0x2c, 0x3b, 0x5f, 0x54, 0xa1, 0xca, 0x3b, 0x88, 0x06, 0x75, 0xcf, 0x75, 0x87,
  11165. 0x96, 0x89, 0x4b, 0xaa, 0xac, 0xc3, 0x38, 0x52, 0x25, 0x85, 0xca, 0x2f, 0xb9, 0x08, 0x95, 0xd0,
  11166. 0x32, 0xdb, 0x65, 0x5c, 0x52, 0x63, 0x1c, 0xa9, 0xbc, 0x49, 0x79, 0x41, 0xce, 0x42, 0x2d, 0x74,
  11167. 0x8c, 0x21, 0x6b, 0x57, 0xf8, 0x86, 0xa8, 0x68, 0x90, 0x9b, 0x00, 0xa1, 0xcf, 0x3c, 0xbd, 0xe7,
  11168. 0xee, 0x30, 0x0f, 0xb7, 0xd2, 0x5c, 0x3f, 0x3d, 0x8e, 0xd4, 0x0c, 0x95, 0x36, 0x79, 0xfd, 0x01,
  11169. 0xaf, 0xa6, 0xa7, 0x52, 0x9b, 0x72, 0x2a, 0x8b, 0x50, 0xed, 0x1b, 0x3d, 0xd6, 0xae, 0x63, 0x3f,
  11170. 0xee, 0x85, 0xb7, 0x29, 0x96, 0xbc, 0x37, 0x30, 0x06, 0x7e, 0xbb, 0x91, 0xf6, 0xf2, 0x36, 0xc5,
  11171. 0x92, 0xdc, 0x82, 0x16, 0x3f, 0x23, 0xdd, 0x0f, 0x8c, 0x20, 0xf4, 0xdb, 0x4d, 0xdc, 0xc4, 0xfc,
  11172. 0x38, 0x52, 0xb3, 0x64, 0x0a, 0xbc, 0xf1, 0x1c, 0xeb, 0xe4, 0x1a, 0x28, 0x7d, 0xc3, 0xf1, 0x75,
  11173. 0x27, 0x1c, 0xb6, 0x01, 0x87, 0xcf, 0x8d, 0x23, 0x35, 0xa1, 0xd1, 0x06, 0xaf, 0x3d, 0x0d, 0x87,
  11174. 0xe4, 0x0e, 0xcc, 0x59, 0xbe, 0x6e, 0x04, 0x01, 0x73, 0x02, 0xcb, 0x75, 0xda, 0x73, 0x38, 0x78,
  11175. 0x61, 0x1c, 0xa9, 0x13, 0x74, 0xda, 0xb2, 0xfc, 0xfb, 0x71, 0x83, 0x2c, 0x02, 0x18, 0x1e, 0x33,
  11176. 0xf4, 0x9d, 0x35, 0xdd, 0x32, 0xdb, 0xa7, 0x38, 0x0b, 0x55, 0x38, 0xe5, 0x93, 0xb5, 0x0d, 0x93,
  11177. 0xac, 0xc1, 0x5c, 0xdc, 0x8b, 0xc7, 0x7a, 0x1a, 0xf7, 0x84, 0x22, 0xb3, 0x74, 0x0a, 0x82, 0xe3,
  11178. 0x29, 0x3f, 0xed, 0xc7, 0x70, 0x26, 0xee, 0x1b, 0x19, 0x1e, 0x73, 0x02, 0xc1, 0x3a, 0x8f, 0xac,
  11179. 0x17, 0xc6, 0x91, 0x9a, 0xd7, 0x4d, 0x17, 0x84, 0x84, 0x67, 0x48, 0x42, 0x39, 0x6f, 0xc3, 0x5b,
  11180. 0x07, 0x06, 0x5a, 0x66, 0x7b, 0x01, 0x17, 0x78, 0x3a, 0x3b, 0x78, 0xc3, 0xe4, 0xb6, 0xfe, 0x90,
  11181. 0xd9, 0x19, 0x5b, 0x5f, 0x80, 0xd3, 0x59, 0x82, 0x3f, 0xd2, 0xfe, 0x5e, 0x86, 0xf3, 0xf7, 0x9d,
  11182. 0xde, 0x96, 0xeb, 0x6d, 0x1a, 0xfe, 0xab, 0xfb, 0xa6, 0x49, 0xd9, 0xae, 0xe1, 0x99, 0x94, 0x6d,
  11183. 0x93, 0x47, 0xd0, 0xf4, 0xb0, 0xc1, 0x27, 0xa8, 0xa2, 0xd9, 0x2d, 0xef, 0x47, 0xea, 0xd5, 0xbe,
  11184. 0xeb, 0x0d, 0xef, 0x6a, 0x49, 0x97, 0xb6, 0xb4, 0x63, 0xd8, 0x96, 0x69, 0x04, 0x8c, 0x13, 0xb7,
  11185. 0x43, 0xcb, 0x63, 0xa6, 0x46, 0x15, 0xd1, 0xbf, 0x61, 0x92, 0x7b, 0x89, 0xe9, 0x2a, 0x28, 0xe3,
  11186. 0x3b, 0xfb, 0x91, 0x7a, 0x59, 0xca, 0x40, 0x7a, 0xbe, 0x80, 0xd8, 0xaa, 0xef, 0x41, 0xdd, 0x77,
  11187. 0x43, 0xaf, 0xc7, 0xd0, 0x26, 0x26, 0xd8, 0x05, 0x7d, 0x0a, 0xbb, 0xe8, 0x24, 0xef, 0x08, 0x50,
  11188. 0x00, 0xf2, 0x6a, 0xfb, 0x91, 0x7a, 0x49, 0xf0, 0x86, 0xd3, 0xe6, 0x45, 0xbc, 0xac, 0x83, 0xe2,
  11189. 0x7a, 0x26, 0xf3, 0xf8, 0xce, 0x5b, 0xa8, 0xa0, 0x6b, 0xfb, 0x91, 0x7a, 0x45, 0xb0, 0xc6, 0x3d,
  11190. 0xf9, 0xfc, 0x0d, 0xec, 0xde, 0x30, 0xb5, 0x7b, 0x70, 0x21, 0xf7, 0x60, 0xfd, 0x11, 0xa2, 0x99,
  11191. 0xf9, 0xa1, 0x1d, 0x4c, 0xa0, 0x19, 0x29, 0x54, 0x7e, 0xb5, 0xf7, 0xe1, 0x5c, 0xca, 0xfe, 0xd1,
  11192. 0x5e, 0xaa, 0x96, 0x2b, 0x50, 0x1d, 0x19, 0x03, 0x26, 0x59, 0xe7, 0xf7, 0x23, 0xb5, 0x25, 0xd6,
  11193. 0xc5, 0xa9, 0x1a, 0xc5, 0x4e, 0xed, 0xab, 0x7a, 0x56, 0xad, 0x29, 0xbb, 0x3f, 0x22, 0x14, 0xaa,
  11194. 0xa6, 0x11, 0x18, 0xed, 0x12, 0xba, 0xa6, 0x77, 0xf2, 0x5c, 0x53, 0x3e, 0xe7, 0x8a, 0xa8, 0x7e,
  11195. 0xdc, 0xfd, 0x54, 0xa0, 0x97, 0x4b, 0xa1, 0x58, 0x92, 0x8f, 0xe4, 0x9a, 0xb8, 0xef, 0x69, 0xad,
  11196. 0xad, 0xce, 0x20, 0xf3, 0x99, 0x31, 0x60, 0x42, 0x1c, 0x17, 0x20, 0x56, 0xcf, 0x11, 0xcb, 0x5e,
  11197. 0x8f, 0x2c, 0x8f, 0xe9, 0xc2, 0xcb, 0x56, 0x70, 0xab, 0x08, 0xaf, 0x2c, 0x9d, 0xb6, 0x44, 0xeb,
  11198. 0x01, 0x6f, 0x74, 0x7e, 0x5f, 0x81, 0x66, 0xb2, 0x42, 0x72, 0x1e, 0xca, 0x89, 0xb3, 0xac, 0x8f,
  11199. 0x23, 0xb5, 0x6c, 0x99, 0xb4, 0x6c, 0x99, 0xdc, 0xcf, 0x48, 0xcb, 0x0d, 0xf6, 0x46, 0x62, 0xc1,
  11200. 0x15, 0xe1, 0x67, 0x32, 0x64, 0x0a, 0xa2, 0xb1, 0xb9, 0x37, 0x62, 0x5c, 0x59, 0xd2, 0x29, 0x55,
  11201. 0x52, 0x65, 0x49, 0x7f, 0x24, 0xbf, 0xe4, 0xfa, 0x61, 0xa8, 0x9c, 0x1a, 0x47, 0x6a, 0x4a, 0xcc,
  11202. 0xe0, 0x61, 0x11, 0xaa, 0x08, 0xfc, 0x5a, 0xea, 0x07, 0x11, 0xe9, 0x58, 0xf2, 0x5e, 0xab, 0xe7,
  11203. 0x3a, 0x59, 0x1f, 0xca, 0xdb, 0x14, 0x4b, 0x7e, 0x30, 0x46, 0x6f, 0xcb, 0x62, 0x3b, 0x4c, 0x0f,
  11204. 0xac, 0x21, 0x93, 0xbe, 0x54, 0xf8, 0x9d, 0x0c, 0x9d, 0xb6, 0x64, 0x6b, 0xd3, 0x1a, 0x32, 0xbe,
  11205. 0x65, 0x79, 0x6a, 0xc8, 0xa3, 0x20, 0x0f, 0x6e, 0x39, 0x43, 0xa6, 0x20, 0x1a, 0xc8, 0xa1, 0x1d,
  11206. 0xc0, 0x9c, 0xd8, 0x32, 0x52, 0x12, 0x60, 0xdd, 0x81, 0xb9, 0x78, 0x77, 0x4e, 0xe0, 0xb9, 0x88,
  11207. 0x30, 0xb9, 0x94, 0x2c, 0x9d, 0xca, 0x73, 0xdd, 0xe0, 0x8d, 0xce, 0x1f, 0x4b, 0x50, 0xe5, 0x1a,
  11208. 0xe7, 0xdb, 0xcc, 0x18, 0xf1, 0x41, 0xfd, 0x5f, 0x87, 0x26, 0xff, 0xea, 0xbe, 0xf5, 0x59, 0xac,
  11209. 0x22, 0x3c, 0xce, 0x84, 0x48, 0x15, 0x5e, 0x7d, 0x6e, 0x7d, 0x86, 0x41, 0x2c, 0x70, 0x03, 0xc3,
  11210. 0xd6, 0x51, 0x9e, 0x50, 0x11, 0x06, 0xb1, 0x94, 0x4a, 0x9b, 0x58, 0xc7, 0x89, 0x6f, 0x41, 0x4b,
  11211. 0x74, 0xa4, 0xf1, 0x5b, 0xea, 0x3f, 0x43, 0xa6, 0x82, 0x19, 0xed, 0x4a, 0xbb, 0x97, 0x45, 0xd2,
  11212. 0x0b, 0x9f, 0x51, 0xd6, 0x73, 0x67, 0x40, 0xe2, 0xaf, 0xeb, 0x59, 0x3f, 0x90, 0xe1, 0xf7, 0x47,
  11213. 0xe4, 0xf9, 0x04, 0x14, 0xbf, 0x77, 0x34, 0x6c, 0x26, 0x58, 0x8f, 0xc0, 0xe2, 0xd3, 0x09, 0x2c,
  11214. 0xde, 0x9a, 0x45, 0x68, 0x1e, 0x18, 0x3b, 0xbf, 0x2b, 0x84, 0xab, 0x09, 0x04, 0x94, 0x8f, 0x46,
  11215. 0x40, 0x11, 0x44, 0xc5, 0x28, 0xa9, 0x1e, 0x89, 0x92, 0x5a, 0x21, 0x94, 0xd4, 0x4f, 0x80, 0x92,
  11216. 0xc6, 0x2c, 0x28, 0x51, 0x0a, 0xa3, 0xa4, 0x59, 0x00, 0x25, 0x3c, 0xb3, 0x09, 0x7d, 0xb9, 0x0e,
  11217. 0x01, 0x2b, 0xcc, 0x6c, 0x62, 0x1a, 0x6d, 0x84, 0x3e, 0xae, 0xe0, 0x5b, 0x09, 0xa7, 0x5f, 0x1c,
  11218. 0x82, 0x53, 0x1c, 0xd8, 0x6e, 0x67, 0x4c, 0xeb, 0xf2, 0x7e, 0xa4, 0xfe, 0xbf, 0x00, 0xd3, 0xb4,
  11219. 0x40, 0xcb, 0xad, 0x6e, 0x15, 0x94, 0x91, 0x6d, 0x04, 0x7c, 0x20, 0x6e, 0xac, 0xb9, 0x7e, 0x66,
  11220. 0x3f, 0x52, 0xe7, 0x25, 0x0a, 0x65, 0x8f, 0x46, 0x93, 0x41, 0x93, 0x41, 0x39, 0x33, 0x7b, 0xc1,
  11221. 0xa0, 0x7c, 0x21, 0x1b, 0x94, 0x37, 0xfc, 0x4f, 0x2c, 0xb6, 0xcb, 0xf8, 0xda, 0xb5, 0x7f, 0x4d,
  11222. 0xa4, 0x51, 0x69, 0x8f, 0x3f, 0x22, 0x0f, 0x81, 0x04, 0x86, 0xff, 0x4a, 0xf7, 0xb7, 0xdc, 0xd0,
  11223. 0x36, 0x75, 0xc7, 0x0d, 0xac, 0x5e, 0xac, 0xa9, 0xf3, 0xe3, 0x48, 0xcd, 0xe9, 0xa5, 0x0b, 0x9c,
  11224. 0xf6, 0x1c, 0x49, 0x4f, 0x91, 0x42, 0x7e, 0x08, 0x67, 0xa5, 0xc1, 0x4c, 0xca, 0x11, 0xea, 0x6c,
  11225. 0x8f, 0x23, 0x35, 0xb7, 0x9f, 0x12, 0x41, 0x9d, 0x90, 0xc5, 0x95, 0x86, 0x73, 0x66, 0x41, 0x28,
  11226. 0x94, 0x96, 0x92, 0x29, 0xe0, 0x1a, 0x04, 0x1a, 0x6f, 0x02, 0x58, 0xbe, 0xde, 0xb5, 0x8d, 0xde,
  11227. 0x2b, 0x16, 0x07, 0x38, 0xb4, 0x8a, 0x94, 0x4a, 0x9b, 0x96, 0xbf, 0x2e, 0xaa, 0xe4, 0x3e, 0xbc,
  11228. 0xe5, 0x6f, 0xb9, 0xbb, 0xba, 0x5c, 0x11, 0x73, 0x02, 0x6f, 0x0f, 0xb1, 0x5a, 0x59, 0x3f, 0x37,
  11229. 0x8e, 0xd4, 0xc3, 0x9d, 0x74, 0x9e, 0x93, 0x84, 0x32, 0x1e, 0x71, 0x02, 0x5e, 0x66, 0x3c, 0x5b,
  11230. 0x42, 0x57, 0x5c, 0x66, 0x3c, 0x9b, 0xf2, 0x42, 0xbb, 0x0b, 0x67, 0x1e, 0x18, 0x23, 0x3f, 0xb4,
  11231. 0xd9, 0x13, 0x16, 0x3c, 0x64, 0x81, 0x61, 0xd9, 0xd2, 0x1b, 0xf7, 0x3d, 0x37, 0xb6, 0x83, 0x8c,
  11232. 0x37, 0xe6, 0x54, 0x8d, 0x62, 0xa7, 0xf6, 0x01, 0xd4, 0x5e, 0xf8, 0x12, 0x31, 0x01, 0x7b, 0x1d,
  11233. 0xc8, 0x1b, 0x9e, 0xb8, 0x8d, 0xb0, 0xd7, 0x01, 0xc5, 0x32, 0x9e, 0xbd, 0x9c, 0x33, 0xfb, 0x07,
  11234. 0xa0, 0x3c, 0xf3, 0xdc, 0x81, 0xc7, 0x7c, 0x9f, 0x0f, 0x73, 0xdc, 0x5d, 0xa9, 0x4b, 0x1c, 0xe6,
  11235. 0xb8, 0xbb, 0x94, 0x17, 0xbc, 0x6b, 0x68, 0xbc, 0x96, 0xea, 0xc1, 0xae, 0xa1, 0xf1, 0x9a, 0xf2,
  11236. 0x42, 0xfb, 0x43, 0x03, 0xce, 0x1e, 0xde, 0x80, 0x3f, 0x22, 0x3f, 0x86, 0xba, 0xe3, 0x7a, 0x43,
  11237. 0xc3, 0x46, 0x89, 0x53, 0x72, 0xb3, 0x3c, 0xce, 0x98, 0xb8, 0xe1, 0xf4, 0x5d, 0x61, 0xb7, 0x42,
  11238. 0x0e, 0x95, 0x5f, 0xf2, 0x53, 0x50, 0x7a, 0xae, 0xed, 0x7a, 0xfd, 0xd0, 0x96, 0x71, 0xe1, 0x64,
  11239. 0xb2, 0xd1, 0x0f, 0xc5, 0x92, 0x68, 0x52, 0xeb, 0xbc, 0x29, 0x41, 0xf5, 0x89, 0xd5, 0x0f, 0x12,
  11240. 0xb7, 0x5d, 0xce, 0x75, 0xdb, 0x2a, 0xd4, 0xac, 0x61, 0xec, 0x57, 0xe4, 0x0d, 0x12, 0x09, 0x54,
  11241. 0x7c, 0xc8, 0x5d, 0xa8, 0x85, 0x5c, 0x3d, 0x68, 0x62, 0xad, 0xb5, 0x8b, 0x79, 0x8b, 0x44, 0xfd,
  11242. 0x09, 0x5e, 0x1c, 0x4b, 0xc5, 0x87, 0x7b, 0xb9, 0x5d, 0xd6, 0xd5, 0xc5, 0x04, 0x22, 0x30, 0xa0,
  11243. 0x97, 0x4b, 0x88, 0x54, 0xd9, 0x65, 0xdd, 0x8d, 0xa1, 0x4c, 0x30, 0x87, 0x6e, 0xd7, 0xb2, 0x99,
  11244. 0x1c, 0x9e, 0x89, 0x10, 0x59, 0x3a, 0x6d, 0x89, 0x16, 0x32, 0x75, 0x7e, 0x2e, 0xef, 0xe2, 0x5c,
  11245. 0xeb, 0xe1, 0x70, 0x42, 0xeb, 0xe1, 0x90, 0xf2, 0x82, 0x6f, 0x7f, 0x60, 0xf5, 0x83, 0xec, 0xf6,
  11246. 0x79, 0x9b, 0x62, 0xc9, 0x7b, 0xb9, 0x13, 0x93, 0xbb, 0x8f, 0xe3, 0x36, 0xc3, 0xb8, 0xcd, 0x8e,
  11247. 0x8e, 0x78, 0x9d, 0x7f, 0x97, 0xa1, 0x95, 0xd1, 0x44, 0x26, 0x86, 0xf2, 0x75, 0x28, 0xd3, 0x62,
  11248. 0x68, 0xcf, 0xb5, 0x1c, 0x69, 0x84, 0x28, 0x91, 0xb7, 0x29, 0x96, 0x5c, 0x42, 0x6f, 0xcb, 0x70,
  11249. 0x12, 0x2f, 0x8f, 0x12, 0x04, 0x85, 0xca, 0x2f, 0x79, 0x0c, 0xca, 0x48, 0x1a, 0xbb, 0x54, 0xc9,
  11250. 0x62, 0x9e, 0x4a, 0x62, 0x40, 0x08, 0xfb, 0x88, 0x39, 0x68, 0x52, 0xe3, 0x2b, 0xf1, 0x42, 0x7b,
  11251. 0x22, 0xe7, 0xe5, 0x6d, 0x8a, 0x25, 0xf9, 0x50, 0x9e, 0x5a, 0x1d, 0xd3, 0xa0, 0x9b, 0x85, 0x2d,
  11252. 0x93, 0x5b, 0xdc, 0xa1, 0x43, 0xfe, 0x50, 0xfe, 0xf2, 0xd2, 0x98, 0x51, 0x58, 0xde, 0xef, 0x2f,
  11253. 0xda, 0x97, 0x25, 0x38, 0x27, 0x47, 0x7f, 0x3c, 0x62, 0x8e, 0xac, 0x72, 0x6f, 0xf3, 0x1e, 0x54,
  11254. 0x93, 0x0b, 0x44, 0x73, 0xfd, 0xca, 0x7e, 0xa4, 0xaa, 0xc2, 0xdb, 0x70, 0x6a, 0x7e, 0xc0, 0x42,
  11255. 0x06, 0x6e, 0xe2, 0xd9, 0x4b, 0xcd, 0xd5, 0xfd, 0x48, 0x5d, 0x12, 0x9c, 0x48, 0xce, 0x67, 0x95,
  11256. 0xbf, 0x2a, 0x65, 0xc3, 0x5d, 0xb5, 0x48, 0xb8, 0xfb, 0xba, 0x01, 0xe7, 0xf3, 0xd6, 0x2f, 0xc2,
  11257. 0x5d, 0x11, 0x03, 0x42, 0x27, 0x59, 0x5e, 0xaa, 0xe4, 0x38, 0xc9, 0x65, 0x50, 0x2c, 0xff, 0x91,
  11258. 0x13, 0x58, 0xc1, 0x1e, 0x6e, 0x46, 0x11, 0xea, 0x8f, 0x69, 0x34, 0xa9, 0xf1, 0xeb, 0xa1, 0xe5,
  11259. 0xf4, 0x5d, 0x69, 0x42, 0xab, 0x47, 0xe8, 0xe4, 0xc0, 0x2a, 0x57, 0xd0, 0xeb, 0x88, 0xfc, 0xce,
  11260. 0xe9, 0xbb, 0x14, 0x4b, 0x72, 0x03, 0x9a, 0x3c, 0x5c, 0x6c, 0x66, 0x7e, 0x8c, 0x42, 0xa4, 0x27,
  11261. 0x44, 0x9a, 0x56, 0xc9, 0x26, 0xd4, 0x0d, 0x1e, 0x56, 0x7c, 0x69, 0x5e, 0xb7, 0x66, 0x98, 0xfd,
  11262. 0x3e, 0x67, 0x14, 0x27, 0x23, 0x64, 0x50, 0xf9, 0xed, 0xfc, 0xb6, 0x34, 0x09, 0xc7, 0x18, 0x6a,
  11263. 0xa5, 0x63, 0xa0, 0x56, 0x2e, 0x04, 0xb5, 0xca, 0xc9, 0xa1, 0xd6, 0xf9, 0x4b, 0x09, 0xaa, 0xb8,
  11264. 0xa4, 0x97, 0x07, 0xa2, 0xc9, 0xbb, 0x33, 0x6c, 0xfc, 0xb8, 0x78, 0xf2, 0xb3, 0x43, 0xf1, 0xe4,
  11265. 0xa4, 0xd2, 0xa7, 0x45, 0x94, 0xdf, 0x94, 0xa1, 0x86, 0xc7, 0x7f, 0x4c, 0x48, 0x91, 0xce, 0xb8,
  11266. 0x92, 0xef, 0x8c, 0xd1, 0x7a, 0xab, 0xd3, 0x42, 0xbc, 0x35, 0x1c, 0x48, 0xf3, 0x41, 0x46, 0x6b,
  11267. 0x38, 0xa0, 0xbc, 0x48, 0xa3, 0x50, 0xfd, 0x1b, 0x46, 0xa1, 0xc6, 0x6c, 0x51, 0x48, 0x29, 0x10,
  11268. 0x85, 0xb4, 0x5f, 0x95, 0xa0, 0x9d, 0x3a, 0xb0, 0xcc, 0x51, 0x7e, 0x23, 0xaf, 0xf4, 0x9e, 0x4c,
  11269. 0x9e, 0x2a, 0x07, 0x19, 0x31, 0x6b, 0xca, 0x67, 0xc4, 0xae, 0xcf, 0xeb, 0x70, 0x71, 0xca, 0x72,
  11270. 0xfc, 0xd1, 0x31, 0xb0, 0x88, 0xa3, 0x42, 0x39, 0x37, 0x2a, 0x74, 0xa1, 0xc9, 0x1d, 0xba, 0x8e,
  11271. 0xde, 0xbc, 0x82, 0xd8, 0x7d, 0xf7, 0x68, 0x6f, 0x7e, 0x60, 0x76, 0x8c, 0x0f, 0xe8, 0xd6, 0x51,
  11272. 0x03, 0x89, 0x30, 0xaa, 0x0c, 0x64, 0x07, 0xf9, 0x14, 0x5a, 0x48, 0xee, 0x5b, 0x76, 0x80, 0x3f,
  11273. 0x81, 0xf3, 0x59, 0xbe, 0x3f, 0xfb, 0x2c, 0x8f, 0x91, 0x5f, 0xe4, 0xd0, 0x19, 0x81, 0x14, 0x06,
  11274. 0x49, 0x67, 0xe7, 0xf3, 0x32, 0x28, 0xf1, 0x8a, 0xa6, 0x5e, 0xa3, 0x4f, 0x6c, 0xec, 0x57, 0xa1,
  11275. 0xc1, 0x4d, 0x8c, 0x67, 0xad, 0xc2, 0xa4, 0x5b, 0xe3, 0x48, 0x8d, 0x49, 0xb4, 0xbe, 0xcb, 0xba,
  11276. 0x2f, 0x3c, 0x9b, 0xe7, 0xf1, 0xd2, 0xb2, 0xd2, 0xe4, 0x1a, 0xf3, 0xf8, 0x94, 0x4a, 0x9b, 0xa2,
  11277. 0xce, 0x87, 0x27, 0x40, 0x68, 0xcc, 0x0e, 0x84, 0x45, 0x69, 0x8a, 0x4a, 0xaa, 0x7a, 0xfc, 0x69,
  11278. 0x4d, 0xd8, 0x9b, 0x06, 0x75, 0x71, 0x93, 0x96, 0x37, 0x62, 0x74, 0x32, 0x82, 0x42, 0xe5, 0xb7,
  11279. 0xf3, 0xb7, 0x12, 0x40, 0x7a, 0xb8, 0x27, 0x3c, 0xb2, 0xcc, 0xb9, 0x54, 0x8a, 0x9e, 0x4b, 0xb5,
  11280. 0xf0, 0xb9, 0xd4, 0x66, 0x3e, 0x17, 0xed, 0xcf, 0x25, 0xf8, 0xbf, 0xc3, 0x7e, 0x71, 0x7d, 0x6f,
  11281. 0x93, 0x1f, 0xce, 0xb7, 0x26, 0xb1, 0xf8, 0x53, 0x0d, 0x16, 0xa7, 0xef, 0xa2, 0x60, 0x7a, 0x91,
  11282. 0x4d, 0x20, 0xca, 0x47, 0x26, 0x10, 0x2f, 0x65, 0x02, 0x21, 0x02, 0xe3, 0xfb, 0xc5, 0x62, 0x4d,
  11283. 0xba, 0x9a, 0x89, 0x88, 0x73, 0x30, 0x9b, 0x78, 0x99, 0x24, 0x08, 0xd5, 0x63, 0x9d, 0x4c, 0xbe,
  11284. 0xf4, 0xa9, 0x69, 0x42, 0x12, 0x82, 0x6a, 0x79, 0x09, 0x54, 0xe7, 0xc6, 0x0c, 0x39, 0x44, 0xe7,
  11285. 0xaf, 0x49, 0x40, 0xfc, 0xaf, 0xfb, 0x8e, 0xa3, 0x03, 0xe5, 0xff, 0x9e, 0x67, 0x59, 0xfb, 0xa2,
  11286. 0x04, 0x8d, 0x2d, 0xf1, 0x08, 0x46, 0x7e, 0x02, 0x64, 0xc0, 0x02, 0x5d, 0x36, 0xf5, 0xee, 0x9e,
  11287. 0x1e, 0x5a, 0x26, 0xb9, 0x7c, 0xdc, 0x8b, 0xed, 0x76, 0x47, 0x3b, 0xfe, 0x51, 0x97, 0x6c, 0x42,
  11288. 0xcb, 0x64, 0x76, 0x2c, 0x3c, 0x5f, 0xea, 0xc4, 0x0b, 0x5d, 0xbe, 0xd4, 0xc9, 0x37, 0xbb, 0xb5,
  11289. 0x2f, 0x2b, 0xd0, 0x90, 0x86, 0x43, 0x74, 0x00, 0xbe, 0x7c, 0x13, 0x2f, 0x32, 0xe4, 0x5a, 0xb1,
  11290. 0xeb, 0xce, 0x76, 0x67, 0xb9, 0xe8, 0xbd, 0x88, 0x30, 0x98, 0x73, 0x47, 0xcc, 0xd1, 0x7b, 0x72,
  11291. 0xc2, 0xb7, 0x8b, 0x26, 0x7a, 0xdb, 0x9d, 0xeb, 0xc5, 0x73, 0x42, 0xe2, 0xc2, 0x02, 0xdf, 0x87,
  11292. 0x9c, 0x45, 0x47, 0x64, 0x7e, 0x77, 0x86, 0x40, 0xbc, 0xdd, 0xb9, 0x39, 0x53, 0xd8, 0x26, 0x7b,
  11293. 0x70, 0x36, 0xbb, 0x2f, 0xae, 0x78, 0xb4, 0x9f, 0xd5, 0xd9, 0xe0, 0xbf, 0xdd, 0xb9, 0x35, 0xab,
  11294. 0xbf, 0x58, 0xfb, 0x65, 0x15, 0x20, 0xfd, 0xb1, 0x90, 0x18, 0xa0, 0x0c, 0xe5, 0x93, 0x58, 0xfe,
  11295. 0xe9, 0xe6, 0xbe, 0x03, 0xe6, 0x9f, 0xee, 0x94, 0x37, 0x3f, 0x13, 0x9a, 0x61, 0xfc, 0x4b, 0x3f,
  11296. 0xb9, 0x5e, 0xf8, 0x49, 0x60, 0xbb, 0x73, 0x63, 0x86, 0xe7, 0x83, 0x64, 0x16, 0xdc, 0x49, 0x91,
  11297. 0x59, 0xe2, 0xad, 0xdc, 0x28, 0x3c, 0xd6, 0x1f, 0xf1, 0xe3, 0xb2, 0xe4, 0xef, 0xab, 0xc7, 0x1d,
  11298. 0x57, 0xe6, 0x17, 0xda, 0xe3, 0x8e, 0x6b, 0xe2, 0x27, 0x5b, 0x13, 0x9a, 0x46, 0xfc, 0x60, 0x7b,
  11299. 0xdc, 0x46, 0xb2, 0x4f, 0xe6, 0xc7, 0x6d, 0x64, 0xe2, 0x15, 0x78, 0x7d, 0xe1, 0xab, 0x37, 0x97,
  11300. 0x4a, 0x5f, 0xbf, 0xb9, 0x54, 0xfa, 0xe7, 0x9b, 0x4b, 0xa5, 0x97, 0xe5, 0x9d, 0xdb, 0xdd, 0x3a,
  11301. 0xfe, 0x45, 0xe5, 0xce, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x67, 0xfa, 0x5a, 0xf6, 0x22,
  11302. 0x00, 0x00,
  11303. }