capsule.pb.go 224 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: capsule.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. type GetCoinListReqAdmin struct {
  19. // 页码,从1开始
  20. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page" validate:"required"`
  21. // 页面的大小
  22. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" form:"page_size" validate:"required"`
  23. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  24. XXX_unrecognized []byte `json:"-"`
  25. XXX_sizecache int32 `json:"-"`
  26. }
  27. func (m *GetCoinListReqAdmin) Reset() { *m = GetCoinListReqAdmin{} }
  28. func (m *GetCoinListReqAdmin) String() string { return proto.CompactTextString(m) }
  29. func (*GetCoinListReqAdmin) ProtoMessage() {}
  30. func (*GetCoinListReqAdmin) Descriptor() ([]byte, []int) {
  31. return fileDescriptor_capsule_34fc59ffc8688791, []int{0}
  32. }
  33. func (m *GetCoinListReqAdmin) XXX_Unmarshal(b []byte) error {
  34. return m.Unmarshal(b)
  35. }
  36. func (m *GetCoinListReqAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  37. if deterministic {
  38. return xxx_messageInfo_GetCoinListReqAdmin.Marshal(b, m, deterministic)
  39. } else {
  40. b = b[:cap(b)]
  41. n, err := m.MarshalTo(b)
  42. if err != nil {
  43. return nil, err
  44. }
  45. return b[:n], nil
  46. }
  47. }
  48. func (dst *GetCoinListReqAdmin) XXX_Merge(src proto.Message) {
  49. xxx_messageInfo_GetCoinListReqAdmin.Merge(dst, src)
  50. }
  51. func (m *GetCoinListReqAdmin) XXX_Size() int {
  52. return m.Size()
  53. }
  54. func (m *GetCoinListReqAdmin) XXX_DiscardUnknown() {
  55. xxx_messageInfo_GetCoinListReqAdmin.DiscardUnknown(m)
  56. }
  57. var xxx_messageInfo_GetCoinListReqAdmin proto.InternalMessageInfo
  58. func (m *GetCoinListReqAdmin) GetPage() int64 {
  59. if m != nil {
  60. return m.Page
  61. }
  62. return 0
  63. }
  64. func (m *GetCoinListReqAdmin) GetPageSize() int64 {
  65. if m != nil {
  66. return m.PageSize
  67. }
  68. return 0
  69. }
  70. type GetCoinListRespAdmin struct {
  71. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  72. TotalPage int64 `protobuf:"varint,2,opt,name=total_page,json=totalPage,proto3" json:"total_page"`
  73. List []*GetCoinListRespAdmin_List `protobuf:"bytes,3,rep,name=list" json:"list"`
  74. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  75. XXX_unrecognized []byte `json:"-"`
  76. XXX_sizecache int32 `json:"-"`
  77. }
  78. func (m *GetCoinListRespAdmin) Reset() { *m = GetCoinListRespAdmin{} }
  79. func (m *GetCoinListRespAdmin) String() string { return proto.CompactTextString(m) }
  80. func (*GetCoinListRespAdmin) ProtoMessage() {}
  81. func (*GetCoinListRespAdmin) Descriptor() ([]byte, []int) {
  82. return fileDescriptor_capsule_34fc59ffc8688791, []int{1}
  83. }
  84. func (m *GetCoinListRespAdmin) XXX_Unmarshal(b []byte) error {
  85. return m.Unmarshal(b)
  86. }
  87. func (m *GetCoinListRespAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  88. if deterministic {
  89. return xxx_messageInfo_GetCoinListRespAdmin.Marshal(b, m, deterministic)
  90. } else {
  91. b = b[:cap(b)]
  92. n, err := m.MarshalTo(b)
  93. if err != nil {
  94. return nil, err
  95. }
  96. return b[:n], nil
  97. }
  98. }
  99. func (dst *GetCoinListRespAdmin) XXX_Merge(src proto.Message) {
  100. xxx_messageInfo_GetCoinListRespAdmin.Merge(dst, src)
  101. }
  102. func (m *GetCoinListRespAdmin) XXX_Size() int {
  103. return m.Size()
  104. }
  105. func (m *GetCoinListRespAdmin) XXX_DiscardUnknown() {
  106. xxx_messageInfo_GetCoinListRespAdmin.DiscardUnknown(m)
  107. }
  108. var xxx_messageInfo_GetCoinListRespAdmin proto.InternalMessageInfo
  109. func (m *GetCoinListRespAdmin) GetTotal() int64 {
  110. if m != nil {
  111. return m.Total
  112. }
  113. return 0
  114. }
  115. func (m *GetCoinListRespAdmin) GetTotalPage() int64 {
  116. if m != nil {
  117. return m.TotalPage
  118. }
  119. return 0
  120. }
  121. func (m *GetCoinListRespAdmin) GetList() []*GetCoinListRespAdmin_List {
  122. if m != nil {
  123. return m.List
  124. }
  125. return nil
  126. }
  127. type GetCoinListRespAdmin_List struct {
  128. // 扭蛋ID
  129. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  130. // 名称 普通扭蛋, 梦幻扭蛋
  131. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  132. // 转化数量
  133. ChangeNum int64 `protobuf:"varint,3,opt,name=change_num,json=changeNum,proto3" json:"change_num"`
  134. // 开始时间
  135. StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time"`
  136. // 结束时间
  137. EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time"`
  138. // 状态 0为下线,1为上线
  139. Status int64 `protobuf:"varint,6,opt,name=status,proto3" json:"status"`
  140. // 获得方式 1为所有瓜子道具,2为所有金瓜子道具,3为指定道具ID
  141. GiftType int64 `protobuf:"varint,7,opt,name=gift_type,json=giftType,proto3" json:"gift_type"`
  142. // 道具的ID
  143. GiftConfig string `protobuf:"bytes,8,opt,name=gift_config,json=giftConfig,proto3" json:"gift_config"`
  144. // 活动分区
  145. AreaIds []*GetCoinListRespAdmin_List_AreaIds `protobuf:"bytes,9,rep,name=area_ids,json=areaIds" json:"area_ids"`
  146. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  147. XXX_unrecognized []byte `json:"-"`
  148. XXX_sizecache int32 `json:"-"`
  149. }
  150. func (m *GetCoinListRespAdmin_List) Reset() { *m = GetCoinListRespAdmin_List{} }
  151. func (m *GetCoinListRespAdmin_List) String() string { return proto.CompactTextString(m) }
  152. func (*GetCoinListRespAdmin_List) ProtoMessage() {}
  153. func (*GetCoinListRespAdmin_List) Descriptor() ([]byte, []int) {
  154. return fileDescriptor_capsule_34fc59ffc8688791, []int{1, 0}
  155. }
  156. func (m *GetCoinListRespAdmin_List) XXX_Unmarshal(b []byte) error {
  157. return m.Unmarshal(b)
  158. }
  159. func (m *GetCoinListRespAdmin_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  160. if deterministic {
  161. return xxx_messageInfo_GetCoinListRespAdmin_List.Marshal(b, m, deterministic)
  162. } else {
  163. b = b[:cap(b)]
  164. n, err := m.MarshalTo(b)
  165. if err != nil {
  166. return nil, err
  167. }
  168. return b[:n], nil
  169. }
  170. }
  171. func (dst *GetCoinListRespAdmin_List) XXX_Merge(src proto.Message) {
  172. xxx_messageInfo_GetCoinListRespAdmin_List.Merge(dst, src)
  173. }
  174. func (m *GetCoinListRespAdmin_List) XXX_Size() int {
  175. return m.Size()
  176. }
  177. func (m *GetCoinListRespAdmin_List) XXX_DiscardUnknown() {
  178. xxx_messageInfo_GetCoinListRespAdmin_List.DiscardUnknown(m)
  179. }
  180. var xxx_messageInfo_GetCoinListRespAdmin_List proto.InternalMessageInfo
  181. func (m *GetCoinListRespAdmin_List) GetId() int64 {
  182. if m != nil {
  183. return m.Id
  184. }
  185. return 0
  186. }
  187. func (m *GetCoinListRespAdmin_List) GetTitle() string {
  188. if m != nil {
  189. return m.Title
  190. }
  191. return ""
  192. }
  193. func (m *GetCoinListRespAdmin_List) GetChangeNum() int64 {
  194. if m != nil {
  195. return m.ChangeNum
  196. }
  197. return 0
  198. }
  199. func (m *GetCoinListRespAdmin_List) GetStartTime() string {
  200. if m != nil {
  201. return m.StartTime
  202. }
  203. return ""
  204. }
  205. func (m *GetCoinListRespAdmin_List) GetEndTime() string {
  206. if m != nil {
  207. return m.EndTime
  208. }
  209. return ""
  210. }
  211. func (m *GetCoinListRespAdmin_List) GetStatus() int64 {
  212. if m != nil {
  213. return m.Status
  214. }
  215. return 0
  216. }
  217. func (m *GetCoinListRespAdmin_List) GetGiftType() int64 {
  218. if m != nil {
  219. return m.GiftType
  220. }
  221. return 0
  222. }
  223. func (m *GetCoinListRespAdmin_List) GetGiftConfig() string {
  224. if m != nil {
  225. return m.GiftConfig
  226. }
  227. return ""
  228. }
  229. func (m *GetCoinListRespAdmin_List) GetAreaIds() []*GetCoinListRespAdmin_List_AreaIds {
  230. if m != nil {
  231. return m.AreaIds
  232. }
  233. return nil
  234. }
  235. type GetCoinListRespAdmin_List_AreaIds struct {
  236. // 父分区ID
  237. ParentId int64 `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id"`
  238. // 是否全选
  239. IsAll int64 `protobuf:"varint,2,opt,name=is_all,json=isAll,proto3" json:"is_all"`
  240. // 子分区ID
  241. List []int64 `protobuf:"varint,3,rep,packed,name=list" json:"list"`
  242. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  243. XXX_unrecognized []byte `json:"-"`
  244. XXX_sizecache int32 `json:"-"`
  245. }
  246. func (m *GetCoinListRespAdmin_List_AreaIds) Reset() { *m = GetCoinListRespAdmin_List_AreaIds{} }
  247. func (m *GetCoinListRespAdmin_List_AreaIds) String() string { return proto.CompactTextString(m) }
  248. func (*GetCoinListRespAdmin_List_AreaIds) ProtoMessage() {}
  249. func (*GetCoinListRespAdmin_List_AreaIds) Descriptor() ([]byte, []int) {
  250. return fileDescriptor_capsule_34fc59ffc8688791, []int{1, 0, 0}
  251. }
  252. func (m *GetCoinListRespAdmin_List_AreaIds) XXX_Unmarshal(b []byte) error {
  253. return m.Unmarshal(b)
  254. }
  255. func (m *GetCoinListRespAdmin_List_AreaIds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  256. if deterministic {
  257. return xxx_messageInfo_GetCoinListRespAdmin_List_AreaIds.Marshal(b, m, deterministic)
  258. } else {
  259. b = b[:cap(b)]
  260. n, err := m.MarshalTo(b)
  261. if err != nil {
  262. return nil, err
  263. }
  264. return b[:n], nil
  265. }
  266. }
  267. func (dst *GetCoinListRespAdmin_List_AreaIds) XXX_Merge(src proto.Message) {
  268. xxx_messageInfo_GetCoinListRespAdmin_List_AreaIds.Merge(dst, src)
  269. }
  270. func (m *GetCoinListRespAdmin_List_AreaIds) XXX_Size() int {
  271. return m.Size()
  272. }
  273. func (m *GetCoinListRespAdmin_List_AreaIds) XXX_DiscardUnknown() {
  274. xxx_messageInfo_GetCoinListRespAdmin_List_AreaIds.DiscardUnknown(m)
  275. }
  276. var xxx_messageInfo_GetCoinListRespAdmin_List_AreaIds proto.InternalMessageInfo
  277. func (m *GetCoinListRespAdmin_List_AreaIds) GetParentId() int64 {
  278. if m != nil {
  279. return m.ParentId
  280. }
  281. return 0
  282. }
  283. func (m *GetCoinListRespAdmin_List_AreaIds) GetIsAll() int64 {
  284. if m != nil {
  285. return m.IsAll
  286. }
  287. return 0
  288. }
  289. func (m *GetCoinListRespAdmin_List_AreaIds) GetList() []int64 {
  290. if m != nil {
  291. return m.List
  292. }
  293. return nil
  294. }
  295. type UpdateCoinConfigReqAdmin struct {
  296. // 扭蛋ID
  297. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id"`
  298. // 名称 普通扭蛋, 梦幻扭蛋
  299. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" form:"title" validate:"required"`
  300. // 转化数量
  301. ChangeNum int64 `protobuf:"varint,3,opt,name=change_num,json=changeNum,proto3" json:"change_num,omitempty" form:"change_num" validate:"required"`
  302. // 开始时间
  303. StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" form:"start_time" validate:"required"`
  304. // 结束时间
  305. EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" form:"end_time" validate:"required"`
  306. // 状态 0为下线,1为上线
  307. Status int64 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty" form:"status" validate:"required"`
  308. // 获得方式 1为所有瓜子道具,2为所有金瓜子道具,3为指定道具ID
  309. GiftType int64 `protobuf:"varint,7,opt,name=gift_type,json=giftType,proto3" json:"gift_type,omitempty" form:"gift_type" validate:"required"`
  310. // 道具的ID
  311. GiftConfig string `protobuf:"bytes,8,opt,name=gift_config,json=giftConfig,proto3" json:"gift_config,omitempty" form:"gift_config"`
  312. // 里面是父分区ID,是否全选,分区ID
  313. AreaIds string `protobuf:"bytes,9,opt,name=area_ids,json=areaIds,proto3" json:"area_ids,omitempty" form:"area_ids" validate:"required"`
  314. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  315. XXX_unrecognized []byte `json:"-"`
  316. XXX_sizecache int32 `json:"-"`
  317. }
  318. func (m *UpdateCoinConfigReqAdmin) Reset() { *m = UpdateCoinConfigReqAdmin{} }
  319. func (m *UpdateCoinConfigReqAdmin) String() string { return proto.CompactTextString(m) }
  320. func (*UpdateCoinConfigReqAdmin) ProtoMessage() {}
  321. func (*UpdateCoinConfigReqAdmin) Descriptor() ([]byte, []int) {
  322. return fileDescriptor_capsule_34fc59ffc8688791, []int{2}
  323. }
  324. func (m *UpdateCoinConfigReqAdmin) XXX_Unmarshal(b []byte) error {
  325. return m.Unmarshal(b)
  326. }
  327. func (m *UpdateCoinConfigReqAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  328. if deterministic {
  329. return xxx_messageInfo_UpdateCoinConfigReqAdmin.Marshal(b, m, deterministic)
  330. } else {
  331. b = b[:cap(b)]
  332. n, err := m.MarshalTo(b)
  333. if err != nil {
  334. return nil, err
  335. }
  336. return b[:n], nil
  337. }
  338. }
  339. func (dst *UpdateCoinConfigReqAdmin) XXX_Merge(src proto.Message) {
  340. xxx_messageInfo_UpdateCoinConfigReqAdmin.Merge(dst, src)
  341. }
  342. func (m *UpdateCoinConfigReqAdmin) XXX_Size() int {
  343. return m.Size()
  344. }
  345. func (m *UpdateCoinConfigReqAdmin) XXX_DiscardUnknown() {
  346. xxx_messageInfo_UpdateCoinConfigReqAdmin.DiscardUnknown(m)
  347. }
  348. var xxx_messageInfo_UpdateCoinConfigReqAdmin proto.InternalMessageInfo
  349. func (m *UpdateCoinConfigReqAdmin) GetId() int64 {
  350. if m != nil {
  351. return m.Id
  352. }
  353. return 0
  354. }
  355. func (m *UpdateCoinConfigReqAdmin) GetTitle() string {
  356. if m != nil {
  357. return m.Title
  358. }
  359. return ""
  360. }
  361. func (m *UpdateCoinConfigReqAdmin) GetChangeNum() int64 {
  362. if m != nil {
  363. return m.ChangeNum
  364. }
  365. return 0
  366. }
  367. func (m *UpdateCoinConfigReqAdmin) GetStartTime() string {
  368. if m != nil {
  369. return m.StartTime
  370. }
  371. return ""
  372. }
  373. func (m *UpdateCoinConfigReqAdmin) GetEndTime() string {
  374. if m != nil {
  375. return m.EndTime
  376. }
  377. return ""
  378. }
  379. func (m *UpdateCoinConfigReqAdmin) GetStatus() int64 {
  380. if m != nil {
  381. return m.Status
  382. }
  383. return 0
  384. }
  385. func (m *UpdateCoinConfigReqAdmin) GetGiftType() int64 {
  386. if m != nil {
  387. return m.GiftType
  388. }
  389. return 0
  390. }
  391. func (m *UpdateCoinConfigReqAdmin) GetGiftConfig() string {
  392. if m != nil {
  393. return m.GiftConfig
  394. }
  395. return ""
  396. }
  397. func (m *UpdateCoinConfigReqAdmin) GetAreaIds() string {
  398. if m != nil {
  399. return m.AreaIds
  400. }
  401. return ""
  402. }
  403. type UpdateCoinConfigRespAdmin struct {
  404. // 状态
  405. Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
  406. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  407. XXX_unrecognized []byte `json:"-"`
  408. XXX_sizecache int32 `json:"-"`
  409. }
  410. func (m *UpdateCoinConfigRespAdmin) Reset() { *m = UpdateCoinConfigRespAdmin{} }
  411. func (m *UpdateCoinConfigRespAdmin) String() string { return proto.CompactTextString(m) }
  412. func (*UpdateCoinConfigRespAdmin) ProtoMessage() {}
  413. func (*UpdateCoinConfigRespAdmin) Descriptor() ([]byte, []int) {
  414. return fileDescriptor_capsule_34fc59ffc8688791, []int{3}
  415. }
  416. func (m *UpdateCoinConfigRespAdmin) XXX_Unmarshal(b []byte) error {
  417. return m.Unmarshal(b)
  418. }
  419. func (m *UpdateCoinConfigRespAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  420. if deterministic {
  421. return xxx_messageInfo_UpdateCoinConfigRespAdmin.Marshal(b, m, deterministic)
  422. } else {
  423. b = b[:cap(b)]
  424. n, err := m.MarshalTo(b)
  425. if err != nil {
  426. return nil, err
  427. }
  428. return b[:n], nil
  429. }
  430. }
  431. func (dst *UpdateCoinConfigRespAdmin) XXX_Merge(src proto.Message) {
  432. xxx_messageInfo_UpdateCoinConfigRespAdmin.Merge(dst, src)
  433. }
  434. func (m *UpdateCoinConfigRespAdmin) XXX_Size() int {
  435. return m.Size()
  436. }
  437. func (m *UpdateCoinConfigRespAdmin) XXX_DiscardUnknown() {
  438. xxx_messageInfo_UpdateCoinConfigRespAdmin.DiscardUnknown(m)
  439. }
  440. var xxx_messageInfo_UpdateCoinConfigRespAdmin proto.InternalMessageInfo
  441. func (m *UpdateCoinConfigRespAdmin) GetStatus() bool {
  442. if m != nil {
  443. return m.Status
  444. }
  445. return false
  446. }
  447. type UpdateCoinStatusReqAdmin struct {
  448. // 扭蛋币id
  449. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" validate:"required"`
  450. // 状态 0为下线,1为上线
  451. Status int64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty" form:"status"`
  452. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  453. XXX_unrecognized []byte `json:"-"`
  454. XXX_sizecache int32 `json:"-"`
  455. }
  456. func (m *UpdateCoinStatusReqAdmin) Reset() { *m = UpdateCoinStatusReqAdmin{} }
  457. func (m *UpdateCoinStatusReqAdmin) String() string { return proto.CompactTextString(m) }
  458. func (*UpdateCoinStatusReqAdmin) ProtoMessage() {}
  459. func (*UpdateCoinStatusReqAdmin) Descriptor() ([]byte, []int) {
  460. return fileDescriptor_capsule_34fc59ffc8688791, []int{4}
  461. }
  462. func (m *UpdateCoinStatusReqAdmin) XXX_Unmarshal(b []byte) error {
  463. return m.Unmarshal(b)
  464. }
  465. func (m *UpdateCoinStatusReqAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  466. if deterministic {
  467. return xxx_messageInfo_UpdateCoinStatusReqAdmin.Marshal(b, m, deterministic)
  468. } else {
  469. b = b[:cap(b)]
  470. n, err := m.MarshalTo(b)
  471. if err != nil {
  472. return nil, err
  473. }
  474. return b[:n], nil
  475. }
  476. }
  477. func (dst *UpdateCoinStatusReqAdmin) XXX_Merge(src proto.Message) {
  478. xxx_messageInfo_UpdateCoinStatusReqAdmin.Merge(dst, src)
  479. }
  480. func (m *UpdateCoinStatusReqAdmin) XXX_Size() int {
  481. return m.Size()
  482. }
  483. func (m *UpdateCoinStatusReqAdmin) XXX_DiscardUnknown() {
  484. xxx_messageInfo_UpdateCoinStatusReqAdmin.DiscardUnknown(m)
  485. }
  486. var xxx_messageInfo_UpdateCoinStatusReqAdmin proto.InternalMessageInfo
  487. func (m *UpdateCoinStatusReqAdmin) GetId() int64 {
  488. if m != nil {
  489. return m.Id
  490. }
  491. return 0
  492. }
  493. func (m *UpdateCoinStatusReqAdmin) GetStatus() int64 {
  494. if m != nil {
  495. return m.Status
  496. }
  497. return 0
  498. }
  499. type UpdateCoinStatusRespAdmin struct {
  500. // 状态
  501. Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
  502. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  503. XXX_unrecognized []byte `json:"-"`
  504. XXX_sizecache int32 `json:"-"`
  505. }
  506. func (m *UpdateCoinStatusRespAdmin) Reset() { *m = UpdateCoinStatusRespAdmin{} }
  507. func (m *UpdateCoinStatusRespAdmin) String() string { return proto.CompactTextString(m) }
  508. func (*UpdateCoinStatusRespAdmin) ProtoMessage() {}
  509. func (*UpdateCoinStatusRespAdmin) Descriptor() ([]byte, []int) {
  510. return fileDescriptor_capsule_34fc59ffc8688791, []int{5}
  511. }
  512. func (m *UpdateCoinStatusRespAdmin) XXX_Unmarshal(b []byte) error {
  513. return m.Unmarshal(b)
  514. }
  515. func (m *UpdateCoinStatusRespAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  516. if deterministic {
  517. return xxx_messageInfo_UpdateCoinStatusRespAdmin.Marshal(b, m, deterministic)
  518. } else {
  519. b = b[:cap(b)]
  520. n, err := m.MarshalTo(b)
  521. if err != nil {
  522. return nil, err
  523. }
  524. return b[:n], nil
  525. }
  526. }
  527. func (dst *UpdateCoinStatusRespAdmin) XXX_Merge(src proto.Message) {
  528. xxx_messageInfo_UpdateCoinStatusRespAdmin.Merge(dst, src)
  529. }
  530. func (m *UpdateCoinStatusRespAdmin) XXX_Size() int {
  531. return m.Size()
  532. }
  533. func (m *UpdateCoinStatusRespAdmin) XXX_DiscardUnknown() {
  534. xxx_messageInfo_UpdateCoinStatusRespAdmin.DiscardUnknown(m)
  535. }
  536. var xxx_messageInfo_UpdateCoinStatusRespAdmin proto.InternalMessageInfo
  537. func (m *UpdateCoinStatusRespAdmin) GetStatus() bool {
  538. if m != nil {
  539. return m.Status
  540. }
  541. return false
  542. }
  543. type DeleteCoinReqAdmin struct {
  544. // 扭蛋币id
  545. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" validate:"required"`
  546. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  547. XXX_unrecognized []byte `json:"-"`
  548. XXX_sizecache int32 `json:"-"`
  549. }
  550. func (m *DeleteCoinReqAdmin) Reset() { *m = DeleteCoinReqAdmin{} }
  551. func (m *DeleteCoinReqAdmin) String() string { return proto.CompactTextString(m) }
  552. func (*DeleteCoinReqAdmin) ProtoMessage() {}
  553. func (*DeleteCoinReqAdmin) Descriptor() ([]byte, []int) {
  554. return fileDescriptor_capsule_34fc59ffc8688791, []int{6}
  555. }
  556. func (m *DeleteCoinReqAdmin) XXX_Unmarshal(b []byte) error {
  557. return m.Unmarshal(b)
  558. }
  559. func (m *DeleteCoinReqAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  560. if deterministic {
  561. return xxx_messageInfo_DeleteCoinReqAdmin.Marshal(b, m, deterministic)
  562. } else {
  563. b = b[:cap(b)]
  564. n, err := m.MarshalTo(b)
  565. if err != nil {
  566. return nil, err
  567. }
  568. return b[:n], nil
  569. }
  570. }
  571. func (dst *DeleteCoinReqAdmin) XXX_Merge(src proto.Message) {
  572. xxx_messageInfo_DeleteCoinReqAdmin.Merge(dst, src)
  573. }
  574. func (m *DeleteCoinReqAdmin) XXX_Size() int {
  575. return m.Size()
  576. }
  577. func (m *DeleteCoinReqAdmin) XXX_DiscardUnknown() {
  578. xxx_messageInfo_DeleteCoinReqAdmin.DiscardUnknown(m)
  579. }
  580. var xxx_messageInfo_DeleteCoinReqAdmin proto.InternalMessageInfo
  581. func (m *DeleteCoinReqAdmin) GetId() int64 {
  582. if m != nil {
  583. return m.Id
  584. }
  585. return 0
  586. }
  587. type DeleteCoinRespAdmin struct {
  588. // 状态
  589. Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
  590. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  591. XXX_unrecognized []byte `json:"-"`
  592. XXX_sizecache int32 `json:"-"`
  593. }
  594. func (m *DeleteCoinRespAdmin) Reset() { *m = DeleteCoinRespAdmin{} }
  595. func (m *DeleteCoinRespAdmin) String() string { return proto.CompactTextString(m) }
  596. func (*DeleteCoinRespAdmin) ProtoMessage() {}
  597. func (*DeleteCoinRespAdmin) Descriptor() ([]byte, []int) {
  598. return fileDescriptor_capsule_34fc59ffc8688791, []int{7}
  599. }
  600. func (m *DeleteCoinRespAdmin) XXX_Unmarshal(b []byte) error {
  601. return m.Unmarshal(b)
  602. }
  603. func (m *DeleteCoinRespAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  604. if deterministic {
  605. return xxx_messageInfo_DeleteCoinRespAdmin.Marshal(b, m, deterministic)
  606. } else {
  607. b = b[:cap(b)]
  608. n, err := m.MarshalTo(b)
  609. if err != nil {
  610. return nil, err
  611. }
  612. return b[:n], nil
  613. }
  614. }
  615. func (dst *DeleteCoinRespAdmin) XXX_Merge(src proto.Message) {
  616. xxx_messageInfo_DeleteCoinRespAdmin.Merge(dst, src)
  617. }
  618. func (m *DeleteCoinRespAdmin) XXX_Size() int {
  619. return m.Size()
  620. }
  621. func (m *DeleteCoinRespAdmin) XXX_DiscardUnknown() {
  622. xxx_messageInfo_DeleteCoinRespAdmin.DiscardUnknown(m)
  623. }
  624. var xxx_messageInfo_DeleteCoinRespAdmin proto.InternalMessageInfo
  625. func (m *DeleteCoinRespAdmin) GetStatus() bool {
  626. if m != nil {
  627. return m.Status
  628. }
  629. return false
  630. }
  631. type GetPoolListReqAdmin struct {
  632. // 页码
  633. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page" validate:"required"`
  634. // 页面的大小
  635. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" form:"page_size" validate:"required"`
  636. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  637. XXX_unrecognized []byte `json:"-"`
  638. XXX_sizecache int32 `json:"-"`
  639. }
  640. func (m *GetPoolListReqAdmin) Reset() { *m = GetPoolListReqAdmin{} }
  641. func (m *GetPoolListReqAdmin) String() string { return proto.CompactTextString(m) }
  642. func (*GetPoolListReqAdmin) ProtoMessage() {}
  643. func (*GetPoolListReqAdmin) Descriptor() ([]byte, []int) {
  644. return fileDescriptor_capsule_34fc59ffc8688791, []int{8}
  645. }
  646. func (m *GetPoolListReqAdmin) XXX_Unmarshal(b []byte) error {
  647. return m.Unmarshal(b)
  648. }
  649. func (m *GetPoolListReqAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  650. if deterministic {
  651. return xxx_messageInfo_GetPoolListReqAdmin.Marshal(b, m, deterministic)
  652. } else {
  653. b = b[:cap(b)]
  654. n, err := m.MarshalTo(b)
  655. if err != nil {
  656. return nil, err
  657. }
  658. return b[:n], nil
  659. }
  660. }
  661. func (dst *GetPoolListReqAdmin) XXX_Merge(src proto.Message) {
  662. xxx_messageInfo_GetPoolListReqAdmin.Merge(dst, src)
  663. }
  664. func (m *GetPoolListReqAdmin) XXX_Size() int {
  665. return m.Size()
  666. }
  667. func (m *GetPoolListReqAdmin) XXX_DiscardUnknown() {
  668. xxx_messageInfo_GetPoolListReqAdmin.DiscardUnknown(m)
  669. }
  670. var xxx_messageInfo_GetPoolListReqAdmin proto.InternalMessageInfo
  671. func (m *GetPoolListReqAdmin) GetPage() int64 {
  672. if m != nil {
  673. return m.Page
  674. }
  675. return 0
  676. }
  677. func (m *GetPoolListReqAdmin) GetPageSize() int64 {
  678. if m != nil {
  679. return m.PageSize
  680. }
  681. return 0
  682. }
  683. type GetPoolListRespAdmin struct {
  684. // 总数
  685. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  686. // 总页数
  687. TotalPage int64 `protobuf:"varint,2,opt,name=total_page,json=totalPage,proto3" json:"total_page"`
  688. List []*GetPoolListRespAdmin_List `protobuf:"bytes,3,rep,name=list" json:"list"`
  689. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  690. XXX_unrecognized []byte `json:"-"`
  691. XXX_sizecache int32 `json:"-"`
  692. }
  693. func (m *GetPoolListRespAdmin) Reset() { *m = GetPoolListRespAdmin{} }
  694. func (m *GetPoolListRespAdmin) String() string { return proto.CompactTextString(m) }
  695. func (*GetPoolListRespAdmin) ProtoMessage() {}
  696. func (*GetPoolListRespAdmin) Descriptor() ([]byte, []int) {
  697. return fileDescriptor_capsule_34fc59ffc8688791, []int{9}
  698. }
  699. func (m *GetPoolListRespAdmin) XXX_Unmarshal(b []byte) error {
  700. return m.Unmarshal(b)
  701. }
  702. func (m *GetPoolListRespAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  703. if deterministic {
  704. return xxx_messageInfo_GetPoolListRespAdmin.Marshal(b, m, deterministic)
  705. } else {
  706. b = b[:cap(b)]
  707. n, err := m.MarshalTo(b)
  708. if err != nil {
  709. return nil, err
  710. }
  711. return b[:n], nil
  712. }
  713. }
  714. func (dst *GetPoolListRespAdmin) XXX_Merge(src proto.Message) {
  715. xxx_messageInfo_GetPoolListRespAdmin.Merge(dst, src)
  716. }
  717. func (m *GetPoolListRespAdmin) XXX_Size() int {
  718. return m.Size()
  719. }
  720. func (m *GetPoolListRespAdmin) XXX_DiscardUnknown() {
  721. xxx_messageInfo_GetPoolListRespAdmin.DiscardUnknown(m)
  722. }
  723. var xxx_messageInfo_GetPoolListRespAdmin proto.InternalMessageInfo
  724. func (m *GetPoolListRespAdmin) GetTotal() int64 {
  725. if m != nil {
  726. return m.Total
  727. }
  728. return 0
  729. }
  730. func (m *GetPoolListRespAdmin) GetTotalPage() int64 {
  731. if m != nil {
  732. return m.TotalPage
  733. }
  734. return 0
  735. }
  736. func (m *GetPoolListRespAdmin) GetList() []*GetPoolListRespAdmin_List {
  737. if m != nil {
  738. return m.List
  739. }
  740. return nil
  741. }
  742. type GetPoolListRespAdmin_List struct {
  743. // 奖池id
  744. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  745. // 扭蛋名称
  746. CoinId int64 `protobuf:"varint,2,opt,name=coin_id,json=coinId,proto3" json:"coin_id"`
  747. // 奖池名称
  748. Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title"`
  749. // 奖池名称
  750. CoinTitle string `protobuf:"bytes,8,opt,name=coin_title,json=coinTitle,proto3" json:"coin_title"`
  751. // 开始时间
  752. StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time"`
  753. // 结束时间
  754. EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time"`
  755. // 状态 0为下线,1为上线
  756. Status int64 `protobuf:"varint,6,opt,name=status,proto3" json:"status"`
  757. // 描述
  758. Rule string `protobuf:"bytes,7,opt,name=rule,proto3" json:"rule"`
  759. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  760. XXX_unrecognized []byte `json:"-"`
  761. XXX_sizecache int32 `json:"-"`
  762. }
  763. func (m *GetPoolListRespAdmin_List) Reset() { *m = GetPoolListRespAdmin_List{} }
  764. func (m *GetPoolListRespAdmin_List) String() string { return proto.CompactTextString(m) }
  765. func (*GetPoolListRespAdmin_List) ProtoMessage() {}
  766. func (*GetPoolListRespAdmin_List) Descriptor() ([]byte, []int) {
  767. return fileDescriptor_capsule_34fc59ffc8688791, []int{9, 0}
  768. }
  769. func (m *GetPoolListRespAdmin_List) XXX_Unmarshal(b []byte) error {
  770. return m.Unmarshal(b)
  771. }
  772. func (m *GetPoolListRespAdmin_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  773. if deterministic {
  774. return xxx_messageInfo_GetPoolListRespAdmin_List.Marshal(b, m, deterministic)
  775. } else {
  776. b = b[:cap(b)]
  777. n, err := m.MarshalTo(b)
  778. if err != nil {
  779. return nil, err
  780. }
  781. return b[:n], nil
  782. }
  783. }
  784. func (dst *GetPoolListRespAdmin_List) XXX_Merge(src proto.Message) {
  785. xxx_messageInfo_GetPoolListRespAdmin_List.Merge(dst, src)
  786. }
  787. func (m *GetPoolListRespAdmin_List) XXX_Size() int {
  788. return m.Size()
  789. }
  790. func (m *GetPoolListRespAdmin_List) XXX_DiscardUnknown() {
  791. xxx_messageInfo_GetPoolListRespAdmin_List.DiscardUnknown(m)
  792. }
  793. var xxx_messageInfo_GetPoolListRespAdmin_List proto.InternalMessageInfo
  794. func (m *GetPoolListRespAdmin_List) GetId() int64 {
  795. if m != nil {
  796. return m.Id
  797. }
  798. return 0
  799. }
  800. func (m *GetPoolListRespAdmin_List) GetCoinId() int64 {
  801. if m != nil {
  802. return m.CoinId
  803. }
  804. return 0
  805. }
  806. func (m *GetPoolListRespAdmin_List) GetTitle() string {
  807. if m != nil {
  808. return m.Title
  809. }
  810. return ""
  811. }
  812. func (m *GetPoolListRespAdmin_List) GetCoinTitle() string {
  813. if m != nil {
  814. return m.CoinTitle
  815. }
  816. return ""
  817. }
  818. func (m *GetPoolListRespAdmin_List) GetStartTime() string {
  819. if m != nil {
  820. return m.StartTime
  821. }
  822. return ""
  823. }
  824. func (m *GetPoolListRespAdmin_List) GetEndTime() string {
  825. if m != nil {
  826. return m.EndTime
  827. }
  828. return ""
  829. }
  830. func (m *GetPoolListRespAdmin_List) GetStatus() int64 {
  831. if m != nil {
  832. return m.Status
  833. }
  834. return 0
  835. }
  836. func (m *GetPoolListRespAdmin_List) GetRule() string {
  837. if m != nil {
  838. return m.Rule
  839. }
  840. return ""
  841. }
  842. type UpdatePoolReqAdmin struct {
  843. // 奖池id
  844. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id"`
  845. // 扭蛋名称
  846. CoinId int64 `protobuf:"varint,2,opt,name=coin_id,json=coinId,proto3" json:"coin_id,omitempty" form:"coin_id" validate:"required"`
  847. // 奖池名称
  848. Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" form:"title" validate:"required"`
  849. // 开始时间
  850. StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" form:"start_time" validate:"required"`
  851. // 结束时间
  852. EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" form:"end_time" validate:"required"`
  853. // 描述
  854. Rule string `protobuf:"bytes,6,opt,name=rule,proto3" json:"rule,omitempty" form:"rule" validate:"required"`
  855. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  856. XXX_unrecognized []byte `json:"-"`
  857. XXX_sizecache int32 `json:"-"`
  858. }
  859. func (m *UpdatePoolReqAdmin) Reset() { *m = UpdatePoolReqAdmin{} }
  860. func (m *UpdatePoolReqAdmin) String() string { return proto.CompactTextString(m) }
  861. func (*UpdatePoolReqAdmin) ProtoMessage() {}
  862. func (*UpdatePoolReqAdmin) Descriptor() ([]byte, []int) {
  863. return fileDescriptor_capsule_34fc59ffc8688791, []int{10}
  864. }
  865. func (m *UpdatePoolReqAdmin) XXX_Unmarshal(b []byte) error {
  866. return m.Unmarshal(b)
  867. }
  868. func (m *UpdatePoolReqAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  869. if deterministic {
  870. return xxx_messageInfo_UpdatePoolReqAdmin.Marshal(b, m, deterministic)
  871. } else {
  872. b = b[:cap(b)]
  873. n, err := m.MarshalTo(b)
  874. if err != nil {
  875. return nil, err
  876. }
  877. return b[:n], nil
  878. }
  879. }
  880. func (dst *UpdatePoolReqAdmin) XXX_Merge(src proto.Message) {
  881. xxx_messageInfo_UpdatePoolReqAdmin.Merge(dst, src)
  882. }
  883. func (m *UpdatePoolReqAdmin) XXX_Size() int {
  884. return m.Size()
  885. }
  886. func (m *UpdatePoolReqAdmin) XXX_DiscardUnknown() {
  887. xxx_messageInfo_UpdatePoolReqAdmin.DiscardUnknown(m)
  888. }
  889. var xxx_messageInfo_UpdatePoolReqAdmin proto.InternalMessageInfo
  890. func (m *UpdatePoolReqAdmin) GetId() int64 {
  891. if m != nil {
  892. return m.Id
  893. }
  894. return 0
  895. }
  896. func (m *UpdatePoolReqAdmin) GetCoinId() int64 {
  897. if m != nil {
  898. return m.CoinId
  899. }
  900. return 0
  901. }
  902. func (m *UpdatePoolReqAdmin) GetTitle() string {
  903. if m != nil {
  904. return m.Title
  905. }
  906. return ""
  907. }
  908. func (m *UpdatePoolReqAdmin) GetStartTime() string {
  909. if m != nil {
  910. return m.StartTime
  911. }
  912. return ""
  913. }
  914. func (m *UpdatePoolReqAdmin) GetEndTime() string {
  915. if m != nil {
  916. return m.EndTime
  917. }
  918. return ""
  919. }
  920. func (m *UpdatePoolReqAdmin) GetRule() string {
  921. if m != nil {
  922. return m.Rule
  923. }
  924. return ""
  925. }
  926. type UpdatePoolRespAdmin struct {
  927. // 状态
  928. Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
  929. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  930. XXX_unrecognized []byte `json:"-"`
  931. XXX_sizecache int32 `json:"-"`
  932. }
  933. func (m *UpdatePoolRespAdmin) Reset() { *m = UpdatePoolRespAdmin{} }
  934. func (m *UpdatePoolRespAdmin) String() string { return proto.CompactTextString(m) }
  935. func (*UpdatePoolRespAdmin) ProtoMessage() {}
  936. func (*UpdatePoolRespAdmin) Descriptor() ([]byte, []int) {
  937. return fileDescriptor_capsule_34fc59ffc8688791, []int{11}
  938. }
  939. func (m *UpdatePoolRespAdmin) XXX_Unmarshal(b []byte) error {
  940. return m.Unmarshal(b)
  941. }
  942. func (m *UpdatePoolRespAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  943. if deterministic {
  944. return xxx_messageInfo_UpdatePoolRespAdmin.Marshal(b, m, deterministic)
  945. } else {
  946. b = b[:cap(b)]
  947. n, err := m.MarshalTo(b)
  948. if err != nil {
  949. return nil, err
  950. }
  951. return b[:n], nil
  952. }
  953. }
  954. func (dst *UpdatePoolRespAdmin) XXX_Merge(src proto.Message) {
  955. xxx_messageInfo_UpdatePoolRespAdmin.Merge(dst, src)
  956. }
  957. func (m *UpdatePoolRespAdmin) XXX_Size() int {
  958. return m.Size()
  959. }
  960. func (m *UpdatePoolRespAdmin) XXX_DiscardUnknown() {
  961. xxx_messageInfo_UpdatePoolRespAdmin.DiscardUnknown(m)
  962. }
  963. var xxx_messageInfo_UpdatePoolRespAdmin proto.InternalMessageInfo
  964. func (m *UpdatePoolRespAdmin) GetStatus() bool {
  965. if m != nil {
  966. return m.Status
  967. }
  968. return false
  969. }
  970. type DeletePoolReqAdmin struct {
  971. // 奖池id
  972. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" validate:"required"`
  973. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  974. XXX_unrecognized []byte `json:"-"`
  975. XXX_sizecache int32 `json:"-"`
  976. }
  977. func (m *DeletePoolReqAdmin) Reset() { *m = DeletePoolReqAdmin{} }
  978. func (m *DeletePoolReqAdmin) String() string { return proto.CompactTextString(m) }
  979. func (*DeletePoolReqAdmin) ProtoMessage() {}
  980. func (*DeletePoolReqAdmin) Descriptor() ([]byte, []int) {
  981. return fileDescriptor_capsule_34fc59ffc8688791, []int{12}
  982. }
  983. func (m *DeletePoolReqAdmin) XXX_Unmarshal(b []byte) error {
  984. return m.Unmarshal(b)
  985. }
  986. func (m *DeletePoolReqAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  987. if deterministic {
  988. return xxx_messageInfo_DeletePoolReqAdmin.Marshal(b, m, deterministic)
  989. } else {
  990. b = b[:cap(b)]
  991. n, err := m.MarshalTo(b)
  992. if err != nil {
  993. return nil, err
  994. }
  995. return b[:n], nil
  996. }
  997. }
  998. func (dst *DeletePoolReqAdmin) XXX_Merge(src proto.Message) {
  999. xxx_messageInfo_DeletePoolReqAdmin.Merge(dst, src)
  1000. }
  1001. func (m *DeletePoolReqAdmin) XXX_Size() int {
  1002. return m.Size()
  1003. }
  1004. func (m *DeletePoolReqAdmin) XXX_DiscardUnknown() {
  1005. xxx_messageInfo_DeletePoolReqAdmin.DiscardUnknown(m)
  1006. }
  1007. var xxx_messageInfo_DeletePoolReqAdmin proto.InternalMessageInfo
  1008. func (m *DeletePoolReqAdmin) GetId() int64 {
  1009. if m != nil {
  1010. return m.Id
  1011. }
  1012. return 0
  1013. }
  1014. type DeletePoolRespAdmin struct {
  1015. // 状态
  1016. Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
  1017. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1018. XXX_unrecognized []byte `json:"-"`
  1019. XXX_sizecache int32 `json:"-"`
  1020. }
  1021. func (m *DeletePoolRespAdmin) Reset() { *m = DeletePoolRespAdmin{} }
  1022. func (m *DeletePoolRespAdmin) String() string { return proto.CompactTextString(m) }
  1023. func (*DeletePoolRespAdmin) ProtoMessage() {}
  1024. func (*DeletePoolRespAdmin) Descriptor() ([]byte, []int) {
  1025. return fileDescriptor_capsule_34fc59ffc8688791, []int{13}
  1026. }
  1027. func (m *DeletePoolRespAdmin) XXX_Unmarshal(b []byte) error {
  1028. return m.Unmarshal(b)
  1029. }
  1030. func (m *DeletePoolRespAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1031. if deterministic {
  1032. return xxx_messageInfo_DeletePoolRespAdmin.Marshal(b, m, deterministic)
  1033. } else {
  1034. b = b[:cap(b)]
  1035. n, err := m.MarshalTo(b)
  1036. if err != nil {
  1037. return nil, err
  1038. }
  1039. return b[:n], nil
  1040. }
  1041. }
  1042. func (dst *DeletePoolRespAdmin) XXX_Merge(src proto.Message) {
  1043. xxx_messageInfo_DeletePoolRespAdmin.Merge(dst, src)
  1044. }
  1045. func (m *DeletePoolRespAdmin) XXX_Size() int {
  1046. return m.Size()
  1047. }
  1048. func (m *DeletePoolRespAdmin) XXX_DiscardUnknown() {
  1049. xxx_messageInfo_DeletePoolRespAdmin.DiscardUnknown(m)
  1050. }
  1051. var xxx_messageInfo_DeletePoolRespAdmin proto.InternalMessageInfo
  1052. func (m *DeletePoolRespAdmin) GetStatus() bool {
  1053. if m != nil {
  1054. return m.Status
  1055. }
  1056. return false
  1057. }
  1058. type UpdatePoolStatusReqAdmin struct {
  1059. // 奖池id
  1060. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" validate:"required"`
  1061. // 状态 0为未上线,1为上线
  1062. Status int64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty" form:"status"`
  1063. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1064. XXX_unrecognized []byte `json:"-"`
  1065. XXX_sizecache int32 `json:"-"`
  1066. }
  1067. func (m *UpdatePoolStatusReqAdmin) Reset() { *m = UpdatePoolStatusReqAdmin{} }
  1068. func (m *UpdatePoolStatusReqAdmin) String() string { return proto.CompactTextString(m) }
  1069. func (*UpdatePoolStatusReqAdmin) ProtoMessage() {}
  1070. func (*UpdatePoolStatusReqAdmin) Descriptor() ([]byte, []int) {
  1071. return fileDescriptor_capsule_34fc59ffc8688791, []int{14}
  1072. }
  1073. func (m *UpdatePoolStatusReqAdmin) XXX_Unmarshal(b []byte) error {
  1074. return m.Unmarshal(b)
  1075. }
  1076. func (m *UpdatePoolStatusReqAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1077. if deterministic {
  1078. return xxx_messageInfo_UpdatePoolStatusReqAdmin.Marshal(b, m, deterministic)
  1079. } else {
  1080. b = b[:cap(b)]
  1081. n, err := m.MarshalTo(b)
  1082. if err != nil {
  1083. return nil, err
  1084. }
  1085. return b[:n], nil
  1086. }
  1087. }
  1088. func (dst *UpdatePoolStatusReqAdmin) XXX_Merge(src proto.Message) {
  1089. xxx_messageInfo_UpdatePoolStatusReqAdmin.Merge(dst, src)
  1090. }
  1091. func (m *UpdatePoolStatusReqAdmin) XXX_Size() int {
  1092. return m.Size()
  1093. }
  1094. func (m *UpdatePoolStatusReqAdmin) XXX_DiscardUnknown() {
  1095. xxx_messageInfo_UpdatePoolStatusReqAdmin.DiscardUnknown(m)
  1096. }
  1097. var xxx_messageInfo_UpdatePoolStatusReqAdmin proto.InternalMessageInfo
  1098. func (m *UpdatePoolStatusReqAdmin) GetId() int64 {
  1099. if m != nil {
  1100. return m.Id
  1101. }
  1102. return 0
  1103. }
  1104. func (m *UpdatePoolStatusReqAdmin) GetStatus() int64 {
  1105. if m != nil {
  1106. return m.Status
  1107. }
  1108. return 0
  1109. }
  1110. type UpdatePoolStatusRespAdmin struct {
  1111. // 状态
  1112. Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
  1113. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1114. XXX_unrecognized []byte `json:"-"`
  1115. XXX_sizecache int32 `json:"-"`
  1116. }
  1117. func (m *UpdatePoolStatusRespAdmin) Reset() { *m = UpdatePoolStatusRespAdmin{} }
  1118. func (m *UpdatePoolStatusRespAdmin) String() string { return proto.CompactTextString(m) }
  1119. func (*UpdatePoolStatusRespAdmin) ProtoMessage() {}
  1120. func (*UpdatePoolStatusRespAdmin) Descriptor() ([]byte, []int) {
  1121. return fileDescriptor_capsule_34fc59ffc8688791, []int{15}
  1122. }
  1123. func (m *UpdatePoolStatusRespAdmin) XXX_Unmarshal(b []byte) error {
  1124. return m.Unmarshal(b)
  1125. }
  1126. func (m *UpdatePoolStatusRespAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1127. if deterministic {
  1128. return xxx_messageInfo_UpdatePoolStatusRespAdmin.Marshal(b, m, deterministic)
  1129. } else {
  1130. b = b[:cap(b)]
  1131. n, err := m.MarshalTo(b)
  1132. if err != nil {
  1133. return nil, err
  1134. }
  1135. return b[:n], nil
  1136. }
  1137. }
  1138. func (dst *UpdatePoolStatusRespAdmin) XXX_Merge(src proto.Message) {
  1139. xxx_messageInfo_UpdatePoolStatusRespAdmin.Merge(dst, src)
  1140. }
  1141. func (m *UpdatePoolStatusRespAdmin) XXX_Size() int {
  1142. return m.Size()
  1143. }
  1144. func (m *UpdatePoolStatusRespAdmin) XXX_DiscardUnknown() {
  1145. xxx_messageInfo_UpdatePoolStatusRespAdmin.DiscardUnknown(m)
  1146. }
  1147. var xxx_messageInfo_UpdatePoolStatusRespAdmin proto.InternalMessageInfo
  1148. func (m *UpdatePoolStatusRespAdmin) GetStatus() bool {
  1149. if m != nil {
  1150. return m.Status
  1151. }
  1152. return false
  1153. }
  1154. type GetPoolPrizeReqAdmin struct {
  1155. // 奖池id
  1156. PoolId int64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" form:"pool_id" validate:"required"`
  1157. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1158. XXX_unrecognized []byte `json:"-"`
  1159. XXX_sizecache int32 `json:"-"`
  1160. }
  1161. func (m *GetPoolPrizeReqAdmin) Reset() { *m = GetPoolPrizeReqAdmin{} }
  1162. func (m *GetPoolPrizeReqAdmin) String() string { return proto.CompactTextString(m) }
  1163. func (*GetPoolPrizeReqAdmin) ProtoMessage() {}
  1164. func (*GetPoolPrizeReqAdmin) Descriptor() ([]byte, []int) {
  1165. return fileDescriptor_capsule_34fc59ffc8688791, []int{16}
  1166. }
  1167. func (m *GetPoolPrizeReqAdmin) XXX_Unmarshal(b []byte) error {
  1168. return m.Unmarshal(b)
  1169. }
  1170. func (m *GetPoolPrizeReqAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1171. if deterministic {
  1172. return xxx_messageInfo_GetPoolPrizeReqAdmin.Marshal(b, m, deterministic)
  1173. } else {
  1174. b = b[:cap(b)]
  1175. n, err := m.MarshalTo(b)
  1176. if err != nil {
  1177. return nil, err
  1178. }
  1179. return b[:n], nil
  1180. }
  1181. }
  1182. func (dst *GetPoolPrizeReqAdmin) XXX_Merge(src proto.Message) {
  1183. xxx_messageInfo_GetPoolPrizeReqAdmin.Merge(dst, src)
  1184. }
  1185. func (m *GetPoolPrizeReqAdmin) XXX_Size() int {
  1186. return m.Size()
  1187. }
  1188. func (m *GetPoolPrizeReqAdmin) XXX_DiscardUnknown() {
  1189. xxx_messageInfo_GetPoolPrizeReqAdmin.DiscardUnknown(m)
  1190. }
  1191. var xxx_messageInfo_GetPoolPrizeReqAdmin proto.InternalMessageInfo
  1192. func (m *GetPoolPrizeReqAdmin) GetPoolId() int64 {
  1193. if m != nil {
  1194. return m.PoolId
  1195. }
  1196. return 0
  1197. }
  1198. type GetPoolPrizeRespAdmin struct {
  1199. List []*GetPoolPrizeRespAdmin_List `protobuf:"bytes,1,rep,name=list" json:"list"`
  1200. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1201. XXX_unrecognized []byte `json:"-"`
  1202. XXX_sizecache int32 `json:"-"`
  1203. }
  1204. func (m *GetPoolPrizeRespAdmin) Reset() { *m = GetPoolPrizeRespAdmin{} }
  1205. func (m *GetPoolPrizeRespAdmin) String() string { return proto.CompactTextString(m) }
  1206. func (*GetPoolPrizeRespAdmin) ProtoMessage() {}
  1207. func (*GetPoolPrizeRespAdmin) Descriptor() ([]byte, []int) {
  1208. return fileDescriptor_capsule_34fc59ffc8688791, []int{17}
  1209. }
  1210. func (m *GetPoolPrizeRespAdmin) XXX_Unmarshal(b []byte) error {
  1211. return m.Unmarshal(b)
  1212. }
  1213. func (m *GetPoolPrizeRespAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1214. if deterministic {
  1215. return xxx_messageInfo_GetPoolPrizeRespAdmin.Marshal(b, m, deterministic)
  1216. } else {
  1217. b = b[:cap(b)]
  1218. n, err := m.MarshalTo(b)
  1219. if err != nil {
  1220. return nil, err
  1221. }
  1222. return b[:n], nil
  1223. }
  1224. }
  1225. func (dst *GetPoolPrizeRespAdmin) XXX_Merge(src proto.Message) {
  1226. xxx_messageInfo_GetPoolPrizeRespAdmin.Merge(dst, src)
  1227. }
  1228. func (m *GetPoolPrizeRespAdmin) XXX_Size() int {
  1229. return m.Size()
  1230. }
  1231. func (m *GetPoolPrizeRespAdmin) XXX_DiscardUnknown() {
  1232. xxx_messageInfo_GetPoolPrizeRespAdmin.DiscardUnknown(m)
  1233. }
  1234. var xxx_messageInfo_GetPoolPrizeRespAdmin proto.InternalMessageInfo
  1235. func (m *GetPoolPrizeRespAdmin) GetList() []*GetPoolPrizeRespAdmin_List {
  1236. if m != nil {
  1237. return m.List
  1238. }
  1239. return nil
  1240. }
  1241. type GetPoolPrizeRespAdmin_List struct {
  1242. // 奖励id
  1243. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  1244. // 奖池id
  1245. PoolId int64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id"`
  1246. // 奖品类型 1为道具,2为头衔,3为经验原石,4为经验曜石,5为贤者之石,6为小号小电视,7为舰长守护,8为提督守护,9为总督守护
  1247. Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type"`
  1248. // 数量
  1249. Num int64 `protobuf:"varint,4,opt,name=num,proto3" json:"num"`
  1250. // 奖品真实id
  1251. ObjectId int64 `protobuf:"varint,5,opt,name=object_id,json=objectId,proto3" json:"object_id"`
  1252. // web端图片
  1253. WebUrl string `protobuf:"bytes,6,opt,name=web_url,json=webUrl,proto3" json:"web_url"`
  1254. // 移动端图片
  1255. MobileUrl string `protobuf:"bytes,7,opt,name=mobile_url,json=mobileUrl,proto3" json:"mobile_url"`
  1256. // 奖励描述
  1257. Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description"`
  1258. // 跳转地址
  1259. JumpUrl string `protobuf:"bytes,9,opt,name=jump_url,json=jumpUrl,proto3" json:"jump_url"`
  1260. // 概率类型 1为普通,2为固定每天,3为固定每周
  1261. ProType int64 `protobuf:"varint,10,opt,name=pro_type,json=proType,proto3" json:"pro_type"`
  1262. // 概率,3位小数,''为另一种概率模式
  1263. Chance string `protobuf:"bytes,11,opt,name=chance,proto3" json:"chance"`
  1264. // 循环的数量 0为另一种概率模式
  1265. Loop int64 `protobuf:"varint,12,opt,name=loop,proto3" json:"loop"`
  1266. // 限制数量 0为另一种概率模式
  1267. Limit int64 `protobuf:"varint,13,opt,name=limit,proto3" json:"limit"`
  1268. // 奖励名称
  1269. Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name"`
  1270. // 权重
  1271. Weight int64 `protobuf:"varint,15,opt,name=weight,proto3" json:"weight"`
  1272. // 白名单用户
  1273. WhiteUids string `protobuf:"bytes,16,opt,name=white_uids,json=whiteUids,proto3" json:"white_uids"`
  1274. // 过期类型
  1275. Expire int64 `protobuf:"varint,17,opt,name=expire,proto3" json:"expire"`
  1276. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1277. XXX_unrecognized []byte `json:"-"`
  1278. XXX_sizecache int32 `json:"-"`
  1279. }
  1280. func (m *GetPoolPrizeRespAdmin_List) Reset() { *m = GetPoolPrizeRespAdmin_List{} }
  1281. func (m *GetPoolPrizeRespAdmin_List) String() string { return proto.CompactTextString(m) }
  1282. func (*GetPoolPrizeRespAdmin_List) ProtoMessage() {}
  1283. func (*GetPoolPrizeRespAdmin_List) Descriptor() ([]byte, []int) {
  1284. return fileDescriptor_capsule_34fc59ffc8688791, []int{17, 0}
  1285. }
  1286. func (m *GetPoolPrizeRespAdmin_List) XXX_Unmarshal(b []byte) error {
  1287. return m.Unmarshal(b)
  1288. }
  1289. func (m *GetPoolPrizeRespAdmin_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1290. if deterministic {
  1291. return xxx_messageInfo_GetPoolPrizeRespAdmin_List.Marshal(b, m, deterministic)
  1292. } else {
  1293. b = b[:cap(b)]
  1294. n, err := m.MarshalTo(b)
  1295. if err != nil {
  1296. return nil, err
  1297. }
  1298. return b[:n], nil
  1299. }
  1300. }
  1301. func (dst *GetPoolPrizeRespAdmin_List) XXX_Merge(src proto.Message) {
  1302. xxx_messageInfo_GetPoolPrizeRespAdmin_List.Merge(dst, src)
  1303. }
  1304. func (m *GetPoolPrizeRespAdmin_List) XXX_Size() int {
  1305. return m.Size()
  1306. }
  1307. func (m *GetPoolPrizeRespAdmin_List) XXX_DiscardUnknown() {
  1308. xxx_messageInfo_GetPoolPrizeRespAdmin_List.DiscardUnknown(m)
  1309. }
  1310. var xxx_messageInfo_GetPoolPrizeRespAdmin_List proto.InternalMessageInfo
  1311. func (m *GetPoolPrizeRespAdmin_List) GetId() int64 {
  1312. if m != nil {
  1313. return m.Id
  1314. }
  1315. return 0
  1316. }
  1317. func (m *GetPoolPrizeRespAdmin_List) GetPoolId() int64 {
  1318. if m != nil {
  1319. return m.PoolId
  1320. }
  1321. return 0
  1322. }
  1323. func (m *GetPoolPrizeRespAdmin_List) GetType() int64 {
  1324. if m != nil {
  1325. return m.Type
  1326. }
  1327. return 0
  1328. }
  1329. func (m *GetPoolPrizeRespAdmin_List) GetNum() int64 {
  1330. if m != nil {
  1331. return m.Num
  1332. }
  1333. return 0
  1334. }
  1335. func (m *GetPoolPrizeRespAdmin_List) GetObjectId() int64 {
  1336. if m != nil {
  1337. return m.ObjectId
  1338. }
  1339. return 0
  1340. }
  1341. func (m *GetPoolPrizeRespAdmin_List) GetWebUrl() string {
  1342. if m != nil {
  1343. return m.WebUrl
  1344. }
  1345. return ""
  1346. }
  1347. func (m *GetPoolPrizeRespAdmin_List) GetMobileUrl() string {
  1348. if m != nil {
  1349. return m.MobileUrl
  1350. }
  1351. return ""
  1352. }
  1353. func (m *GetPoolPrizeRespAdmin_List) GetDescription() string {
  1354. if m != nil {
  1355. return m.Description
  1356. }
  1357. return ""
  1358. }
  1359. func (m *GetPoolPrizeRespAdmin_List) GetJumpUrl() string {
  1360. if m != nil {
  1361. return m.JumpUrl
  1362. }
  1363. return ""
  1364. }
  1365. func (m *GetPoolPrizeRespAdmin_List) GetProType() int64 {
  1366. if m != nil {
  1367. return m.ProType
  1368. }
  1369. return 0
  1370. }
  1371. func (m *GetPoolPrizeRespAdmin_List) GetChance() string {
  1372. if m != nil {
  1373. return m.Chance
  1374. }
  1375. return ""
  1376. }
  1377. func (m *GetPoolPrizeRespAdmin_List) GetLoop() int64 {
  1378. if m != nil {
  1379. return m.Loop
  1380. }
  1381. return 0
  1382. }
  1383. func (m *GetPoolPrizeRespAdmin_List) GetLimit() int64 {
  1384. if m != nil {
  1385. return m.Limit
  1386. }
  1387. return 0
  1388. }
  1389. func (m *GetPoolPrizeRespAdmin_List) GetName() string {
  1390. if m != nil {
  1391. return m.Name
  1392. }
  1393. return ""
  1394. }
  1395. func (m *GetPoolPrizeRespAdmin_List) GetWeight() int64 {
  1396. if m != nil {
  1397. return m.Weight
  1398. }
  1399. return 0
  1400. }
  1401. func (m *GetPoolPrizeRespAdmin_List) GetWhiteUids() string {
  1402. if m != nil {
  1403. return m.WhiteUids
  1404. }
  1405. return ""
  1406. }
  1407. func (m *GetPoolPrizeRespAdmin_List) GetExpire() int64 {
  1408. if m != nil {
  1409. return m.Expire
  1410. }
  1411. return 0
  1412. }
  1413. type UpdatePoolPrizeReqAdmin struct {
  1414. // 奖励id
  1415. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id"`
  1416. // 奖池id
  1417. PoolId int64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" form:"pool_id"`
  1418. // 奖品类型 1为道具,2为头衔,3为经验原石,4为经验曜石,5为贤者之石,6为小号小电视,7为舰长守护,8为提督守护,9为总督守护
  1419. Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required"`
  1420. // 数量
  1421. Num int64 `protobuf:"varint,4,opt,name=num,proto3" json:"num,omitempty" form:"num" validate:"required"`
  1422. // 奖品真实id
  1423. ObjectId int64 `protobuf:"varint,5,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty" form:"object_id"`
  1424. // 过期时间
  1425. Expire int64 `protobuf:"varint,6,opt,name=expire,proto3" json:"expire,omitempty" form:"expire"`
  1426. // web端图片
  1427. WebUrl string `protobuf:"bytes,7,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty" form:"web_url" validate:"required"`
  1428. // 移动端图片
  1429. MobileUrl string `protobuf:"bytes,8,opt,name=mobile_url,json=mobileUrl,proto3" json:"mobile_url,omitempty" form:"mobile_url" validate:"required"`
  1430. // 奖励描述
  1431. Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty" form:"description" validate:"required"`
  1432. // 跳转地址
  1433. JumpUrl string `protobuf:"bytes,10,opt,name=jump_url,json=jumpUrl,proto3" json:"jump_url,omitempty" form:"jump_url"`
  1434. // 概率类型 1为普通,2为固定每天,3为固定每周,4位白名单
  1435. ProType int64 `protobuf:"varint,11,opt,name=pro_type,json=proType,proto3" json:"pro_type,omitempty" form:"pro_type" validate:"required"`
  1436. // 概率,3位小数,''为另一种概率模式
  1437. Chance string `protobuf:"bytes,12,opt,name=chance,proto3" json:"chance,omitempty" form:"chance"`
  1438. // 循环的数量 0为另一种概率模式
  1439. Loop int64 `protobuf:"varint,13,opt,name=loop,proto3" json:"loop,omitempty" form:"loop"`
  1440. // 限制数量 0为另一种概率模式
  1441. Limit int64 `protobuf:"varint,14,opt,name=limit,proto3" json:"limit,omitempty" form:"limit"`
  1442. // 权重
  1443. Weight int64 `protobuf:"varint,15,opt,name=weight,proto3" json:"weight,omitempty" form:"weight"`
  1444. // 白名单用户
  1445. WhiteUids string `protobuf:"bytes,16,opt,name=white_uids,json=whiteUids,proto3" json:"white_uids,omitempty" form:"white_uids"`
  1446. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1447. XXX_unrecognized []byte `json:"-"`
  1448. XXX_sizecache int32 `json:"-"`
  1449. }
  1450. func (m *UpdatePoolPrizeReqAdmin) Reset() { *m = UpdatePoolPrizeReqAdmin{} }
  1451. func (m *UpdatePoolPrizeReqAdmin) String() string { return proto.CompactTextString(m) }
  1452. func (*UpdatePoolPrizeReqAdmin) ProtoMessage() {}
  1453. func (*UpdatePoolPrizeReqAdmin) Descriptor() ([]byte, []int) {
  1454. return fileDescriptor_capsule_34fc59ffc8688791, []int{18}
  1455. }
  1456. func (m *UpdatePoolPrizeReqAdmin) XXX_Unmarshal(b []byte) error {
  1457. return m.Unmarshal(b)
  1458. }
  1459. func (m *UpdatePoolPrizeReqAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1460. if deterministic {
  1461. return xxx_messageInfo_UpdatePoolPrizeReqAdmin.Marshal(b, m, deterministic)
  1462. } else {
  1463. b = b[:cap(b)]
  1464. n, err := m.MarshalTo(b)
  1465. if err != nil {
  1466. return nil, err
  1467. }
  1468. return b[:n], nil
  1469. }
  1470. }
  1471. func (dst *UpdatePoolPrizeReqAdmin) XXX_Merge(src proto.Message) {
  1472. xxx_messageInfo_UpdatePoolPrizeReqAdmin.Merge(dst, src)
  1473. }
  1474. func (m *UpdatePoolPrizeReqAdmin) XXX_Size() int {
  1475. return m.Size()
  1476. }
  1477. func (m *UpdatePoolPrizeReqAdmin) XXX_DiscardUnknown() {
  1478. xxx_messageInfo_UpdatePoolPrizeReqAdmin.DiscardUnknown(m)
  1479. }
  1480. var xxx_messageInfo_UpdatePoolPrizeReqAdmin proto.InternalMessageInfo
  1481. func (m *UpdatePoolPrizeReqAdmin) GetId() int64 {
  1482. if m != nil {
  1483. return m.Id
  1484. }
  1485. return 0
  1486. }
  1487. func (m *UpdatePoolPrizeReqAdmin) GetPoolId() int64 {
  1488. if m != nil {
  1489. return m.PoolId
  1490. }
  1491. return 0
  1492. }
  1493. func (m *UpdatePoolPrizeReqAdmin) GetType() int64 {
  1494. if m != nil {
  1495. return m.Type
  1496. }
  1497. return 0
  1498. }
  1499. func (m *UpdatePoolPrizeReqAdmin) GetNum() int64 {
  1500. if m != nil {
  1501. return m.Num
  1502. }
  1503. return 0
  1504. }
  1505. func (m *UpdatePoolPrizeReqAdmin) GetObjectId() int64 {
  1506. if m != nil {
  1507. return m.ObjectId
  1508. }
  1509. return 0
  1510. }
  1511. func (m *UpdatePoolPrizeReqAdmin) GetExpire() int64 {
  1512. if m != nil {
  1513. return m.Expire
  1514. }
  1515. return 0
  1516. }
  1517. func (m *UpdatePoolPrizeReqAdmin) GetWebUrl() string {
  1518. if m != nil {
  1519. return m.WebUrl
  1520. }
  1521. return ""
  1522. }
  1523. func (m *UpdatePoolPrizeReqAdmin) GetMobileUrl() string {
  1524. if m != nil {
  1525. return m.MobileUrl
  1526. }
  1527. return ""
  1528. }
  1529. func (m *UpdatePoolPrizeReqAdmin) GetDescription() string {
  1530. if m != nil {
  1531. return m.Description
  1532. }
  1533. return ""
  1534. }
  1535. func (m *UpdatePoolPrizeReqAdmin) GetJumpUrl() string {
  1536. if m != nil {
  1537. return m.JumpUrl
  1538. }
  1539. return ""
  1540. }
  1541. func (m *UpdatePoolPrizeReqAdmin) GetProType() int64 {
  1542. if m != nil {
  1543. return m.ProType
  1544. }
  1545. return 0
  1546. }
  1547. func (m *UpdatePoolPrizeReqAdmin) GetChance() string {
  1548. if m != nil {
  1549. return m.Chance
  1550. }
  1551. return ""
  1552. }
  1553. func (m *UpdatePoolPrizeReqAdmin) GetLoop() int64 {
  1554. if m != nil {
  1555. return m.Loop
  1556. }
  1557. return 0
  1558. }
  1559. func (m *UpdatePoolPrizeReqAdmin) GetLimit() int64 {
  1560. if m != nil {
  1561. return m.Limit
  1562. }
  1563. return 0
  1564. }
  1565. func (m *UpdatePoolPrizeReqAdmin) GetWeight() int64 {
  1566. if m != nil {
  1567. return m.Weight
  1568. }
  1569. return 0
  1570. }
  1571. func (m *UpdatePoolPrizeReqAdmin) GetWhiteUids() string {
  1572. if m != nil {
  1573. return m.WhiteUids
  1574. }
  1575. return ""
  1576. }
  1577. type UpdatePoolPrizeRespAdmin struct {
  1578. // 状态
  1579. Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
  1580. // 新增id
  1581. PrizeId int64 `protobuf:"varint,2,opt,name=prize_id,json=prizeId,proto3" json:"prize_id"`
  1582. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1583. XXX_unrecognized []byte `json:"-"`
  1584. XXX_sizecache int32 `json:"-"`
  1585. }
  1586. func (m *UpdatePoolPrizeRespAdmin) Reset() { *m = UpdatePoolPrizeRespAdmin{} }
  1587. func (m *UpdatePoolPrizeRespAdmin) String() string { return proto.CompactTextString(m) }
  1588. func (*UpdatePoolPrizeRespAdmin) ProtoMessage() {}
  1589. func (*UpdatePoolPrizeRespAdmin) Descriptor() ([]byte, []int) {
  1590. return fileDescriptor_capsule_34fc59ffc8688791, []int{19}
  1591. }
  1592. func (m *UpdatePoolPrizeRespAdmin) XXX_Unmarshal(b []byte) error {
  1593. return m.Unmarshal(b)
  1594. }
  1595. func (m *UpdatePoolPrizeRespAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1596. if deterministic {
  1597. return xxx_messageInfo_UpdatePoolPrizeRespAdmin.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 *UpdatePoolPrizeRespAdmin) XXX_Merge(src proto.Message) {
  1608. xxx_messageInfo_UpdatePoolPrizeRespAdmin.Merge(dst, src)
  1609. }
  1610. func (m *UpdatePoolPrizeRespAdmin) XXX_Size() int {
  1611. return m.Size()
  1612. }
  1613. func (m *UpdatePoolPrizeRespAdmin) XXX_DiscardUnknown() {
  1614. xxx_messageInfo_UpdatePoolPrizeRespAdmin.DiscardUnknown(m)
  1615. }
  1616. var xxx_messageInfo_UpdatePoolPrizeRespAdmin proto.InternalMessageInfo
  1617. func (m *UpdatePoolPrizeRespAdmin) GetStatus() bool {
  1618. if m != nil {
  1619. return m.Status
  1620. }
  1621. return false
  1622. }
  1623. func (m *UpdatePoolPrizeRespAdmin) GetPrizeId() int64 {
  1624. if m != nil {
  1625. return m.PrizeId
  1626. }
  1627. return 0
  1628. }
  1629. type DeletePoolPrizeReqAdmin struct {
  1630. // 奖励id
  1631. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" validate:"required"`
  1632. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1633. XXX_unrecognized []byte `json:"-"`
  1634. XXX_sizecache int32 `json:"-"`
  1635. }
  1636. func (m *DeletePoolPrizeReqAdmin) Reset() { *m = DeletePoolPrizeReqAdmin{} }
  1637. func (m *DeletePoolPrizeReqAdmin) String() string { return proto.CompactTextString(m) }
  1638. func (*DeletePoolPrizeReqAdmin) ProtoMessage() {}
  1639. func (*DeletePoolPrizeReqAdmin) Descriptor() ([]byte, []int) {
  1640. return fileDescriptor_capsule_34fc59ffc8688791, []int{20}
  1641. }
  1642. func (m *DeletePoolPrizeReqAdmin) XXX_Unmarshal(b []byte) error {
  1643. return m.Unmarshal(b)
  1644. }
  1645. func (m *DeletePoolPrizeReqAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1646. if deterministic {
  1647. return xxx_messageInfo_DeletePoolPrizeReqAdmin.Marshal(b, m, deterministic)
  1648. } else {
  1649. b = b[:cap(b)]
  1650. n, err := m.MarshalTo(b)
  1651. if err != nil {
  1652. return nil, err
  1653. }
  1654. return b[:n], nil
  1655. }
  1656. }
  1657. func (dst *DeletePoolPrizeReqAdmin) XXX_Merge(src proto.Message) {
  1658. xxx_messageInfo_DeletePoolPrizeReqAdmin.Merge(dst, src)
  1659. }
  1660. func (m *DeletePoolPrizeReqAdmin) XXX_Size() int {
  1661. return m.Size()
  1662. }
  1663. func (m *DeletePoolPrizeReqAdmin) XXX_DiscardUnknown() {
  1664. xxx_messageInfo_DeletePoolPrizeReqAdmin.DiscardUnknown(m)
  1665. }
  1666. var xxx_messageInfo_DeletePoolPrizeReqAdmin proto.InternalMessageInfo
  1667. func (m *DeletePoolPrizeReqAdmin) GetId() int64 {
  1668. if m != nil {
  1669. return m.Id
  1670. }
  1671. return 0
  1672. }
  1673. type DeletePoolPrizeRespAdmin struct {
  1674. // 状态
  1675. Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
  1676. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1677. XXX_unrecognized []byte `json:"-"`
  1678. XXX_sizecache int32 `json:"-"`
  1679. }
  1680. func (m *DeletePoolPrizeRespAdmin) Reset() { *m = DeletePoolPrizeRespAdmin{} }
  1681. func (m *DeletePoolPrizeRespAdmin) String() string { return proto.CompactTextString(m) }
  1682. func (*DeletePoolPrizeRespAdmin) ProtoMessage() {}
  1683. func (*DeletePoolPrizeRespAdmin) Descriptor() ([]byte, []int) {
  1684. return fileDescriptor_capsule_34fc59ffc8688791, []int{21}
  1685. }
  1686. func (m *DeletePoolPrizeRespAdmin) XXX_Unmarshal(b []byte) error {
  1687. return m.Unmarshal(b)
  1688. }
  1689. func (m *DeletePoolPrizeRespAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1690. if deterministic {
  1691. return xxx_messageInfo_DeletePoolPrizeRespAdmin.Marshal(b, m, deterministic)
  1692. } else {
  1693. b = b[:cap(b)]
  1694. n, err := m.MarshalTo(b)
  1695. if err != nil {
  1696. return nil, err
  1697. }
  1698. return b[:n], nil
  1699. }
  1700. }
  1701. func (dst *DeletePoolPrizeRespAdmin) XXX_Merge(src proto.Message) {
  1702. xxx_messageInfo_DeletePoolPrizeRespAdmin.Merge(dst, src)
  1703. }
  1704. func (m *DeletePoolPrizeRespAdmin) XXX_Size() int {
  1705. return m.Size()
  1706. }
  1707. func (m *DeletePoolPrizeRespAdmin) XXX_DiscardUnknown() {
  1708. xxx_messageInfo_DeletePoolPrizeRespAdmin.DiscardUnknown(m)
  1709. }
  1710. var xxx_messageInfo_DeletePoolPrizeRespAdmin proto.InternalMessageInfo
  1711. func (m *DeletePoolPrizeRespAdmin) GetStatus() bool {
  1712. if m != nil {
  1713. return m.Status
  1714. }
  1715. return false
  1716. }
  1717. type GetPrizeTypeReq struct {
  1718. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1719. XXX_unrecognized []byte `json:"-"`
  1720. XXX_sizecache int32 `json:"-"`
  1721. }
  1722. func (m *GetPrizeTypeReq) Reset() { *m = GetPrizeTypeReq{} }
  1723. func (m *GetPrizeTypeReq) String() string { return proto.CompactTextString(m) }
  1724. func (*GetPrizeTypeReq) ProtoMessage() {}
  1725. func (*GetPrizeTypeReq) Descriptor() ([]byte, []int) {
  1726. return fileDescriptor_capsule_34fc59ffc8688791, []int{22}
  1727. }
  1728. func (m *GetPrizeTypeReq) XXX_Unmarshal(b []byte) error {
  1729. return m.Unmarshal(b)
  1730. }
  1731. func (m *GetPrizeTypeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1732. if deterministic {
  1733. return xxx_messageInfo_GetPrizeTypeReq.Marshal(b, m, deterministic)
  1734. } else {
  1735. b = b[:cap(b)]
  1736. n, err := m.MarshalTo(b)
  1737. if err != nil {
  1738. return nil, err
  1739. }
  1740. return b[:n], nil
  1741. }
  1742. }
  1743. func (dst *GetPrizeTypeReq) XXX_Merge(src proto.Message) {
  1744. xxx_messageInfo_GetPrizeTypeReq.Merge(dst, src)
  1745. }
  1746. func (m *GetPrizeTypeReq) XXX_Size() int {
  1747. return m.Size()
  1748. }
  1749. func (m *GetPrizeTypeReq) XXX_DiscardUnknown() {
  1750. xxx_messageInfo_GetPrizeTypeReq.DiscardUnknown(m)
  1751. }
  1752. var xxx_messageInfo_GetPrizeTypeReq proto.InternalMessageInfo
  1753. type GetPrizeTypeResp struct {
  1754. List []*GetPrizeTypeResp_List `protobuf:"bytes,3,rep,name=list" json:"list"`
  1755. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1756. XXX_unrecognized []byte `json:"-"`
  1757. XXX_sizecache int32 `json:"-"`
  1758. }
  1759. func (m *GetPrizeTypeResp) Reset() { *m = GetPrizeTypeResp{} }
  1760. func (m *GetPrizeTypeResp) String() string { return proto.CompactTextString(m) }
  1761. func (*GetPrizeTypeResp) ProtoMessage() {}
  1762. func (*GetPrizeTypeResp) Descriptor() ([]byte, []int) {
  1763. return fileDescriptor_capsule_34fc59ffc8688791, []int{23}
  1764. }
  1765. func (m *GetPrizeTypeResp) XXX_Unmarshal(b []byte) error {
  1766. return m.Unmarshal(b)
  1767. }
  1768. func (m *GetPrizeTypeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1769. if deterministic {
  1770. return xxx_messageInfo_GetPrizeTypeResp.Marshal(b, m, deterministic)
  1771. } else {
  1772. b = b[:cap(b)]
  1773. n, err := m.MarshalTo(b)
  1774. if err != nil {
  1775. return nil, err
  1776. }
  1777. return b[:n], nil
  1778. }
  1779. }
  1780. func (dst *GetPrizeTypeResp) XXX_Merge(src proto.Message) {
  1781. xxx_messageInfo_GetPrizeTypeResp.Merge(dst, src)
  1782. }
  1783. func (m *GetPrizeTypeResp) XXX_Size() int {
  1784. return m.Size()
  1785. }
  1786. func (m *GetPrizeTypeResp) XXX_DiscardUnknown() {
  1787. xxx_messageInfo_GetPrizeTypeResp.DiscardUnknown(m)
  1788. }
  1789. var xxx_messageInfo_GetPrizeTypeResp proto.InternalMessageInfo
  1790. func (m *GetPrizeTypeResp) GetList() []*GetPrizeTypeResp_List {
  1791. if m != nil {
  1792. return m.List
  1793. }
  1794. return nil
  1795. }
  1796. type GetPrizeTypeResp_List struct {
  1797. //
  1798. Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
  1799. //
  1800. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  1801. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1802. XXX_unrecognized []byte `json:"-"`
  1803. XXX_sizecache int32 `json:"-"`
  1804. }
  1805. func (m *GetPrizeTypeResp_List) Reset() { *m = GetPrizeTypeResp_List{} }
  1806. func (m *GetPrizeTypeResp_List) String() string { return proto.CompactTextString(m) }
  1807. func (*GetPrizeTypeResp_List) ProtoMessage() {}
  1808. func (*GetPrizeTypeResp_List) Descriptor() ([]byte, []int) {
  1809. return fileDescriptor_capsule_34fc59ffc8688791, []int{23, 0}
  1810. }
  1811. func (m *GetPrizeTypeResp_List) XXX_Unmarshal(b []byte) error {
  1812. return m.Unmarshal(b)
  1813. }
  1814. func (m *GetPrizeTypeResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1815. if deterministic {
  1816. return xxx_messageInfo_GetPrizeTypeResp_List.Marshal(b, m, deterministic)
  1817. } else {
  1818. b = b[:cap(b)]
  1819. n, err := m.MarshalTo(b)
  1820. if err != nil {
  1821. return nil, err
  1822. }
  1823. return b[:n], nil
  1824. }
  1825. }
  1826. func (dst *GetPrizeTypeResp_List) XXX_Merge(src proto.Message) {
  1827. xxx_messageInfo_GetPrizeTypeResp_List.Merge(dst, src)
  1828. }
  1829. func (m *GetPrizeTypeResp_List) XXX_Size() int {
  1830. return m.Size()
  1831. }
  1832. func (m *GetPrizeTypeResp_List) XXX_DiscardUnknown() {
  1833. xxx_messageInfo_GetPrizeTypeResp_List.DiscardUnknown(m)
  1834. }
  1835. var xxx_messageInfo_GetPrizeTypeResp_List proto.InternalMessageInfo
  1836. func (m *GetPrizeTypeResp_List) GetType() int64 {
  1837. if m != nil {
  1838. return m.Type
  1839. }
  1840. return 0
  1841. }
  1842. func (m *GetPrizeTypeResp_List) GetName() string {
  1843. if m != nil {
  1844. return m.Name
  1845. }
  1846. return ""
  1847. }
  1848. type GetPrizeExpireReq struct {
  1849. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1850. XXX_unrecognized []byte `json:"-"`
  1851. XXX_sizecache int32 `json:"-"`
  1852. }
  1853. func (m *GetPrizeExpireReq) Reset() { *m = GetPrizeExpireReq{} }
  1854. func (m *GetPrizeExpireReq) String() string { return proto.CompactTextString(m) }
  1855. func (*GetPrizeExpireReq) ProtoMessage() {}
  1856. func (*GetPrizeExpireReq) Descriptor() ([]byte, []int) {
  1857. return fileDescriptor_capsule_34fc59ffc8688791, []int{24}
  1858. }
  1859. func (m *GetPrizeExpireReq) XXX_Unmarshal(b []byte) error {
  1860. return m.Unmarshal(b)
  1861. }
  1862. func (m *GetPrizeExpireReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1863. if deterministic {
  1864. return xxx_messageInfo_GetPrizeExpireReq.Marshal(b, m, deterministic)
  1865. } else {
  1866. b = b[:cap(b)]
  1867. n, err := m.MarshalTo(b)
  1868. if err != nil {
  1869. return nil, err
  1870. }
  1871. return b[:n], nil
  1872. }
  1873. }
  1874. func (dst *GetPrizeExpireReq) XXX_Merge(src proto.Message) {
  1875. xxx_messageInfo_GetPrizeExpireReq.Merge(dst, src)
  1876. }
  1877. func (m *GetPrizeExpireReq) XXX_Size() int {
  1878. return m.Size()
  1879. }
  1880. func (m *GetPrizeExpireReq) XXX_DiscardUnknown() {
  1881. xxx_messageInfo_GetPrizeExpireReq.DiscardUnknown(m)
  1882. }
  1883. var xxx_messageInfo_GetPrizeExpireReq proto.InternalMessageInfo
  1884. type GetPrizeExpireResp struct {
  1885. List []*GetPrizeExpireResp_List `protobuf:"bytes,3,rep,name=list" json:"list"`
  1886. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1887. XXX_unrecognized []byte `json:"-"`
  1888. XXX_sizecache int32 `json:"-"`
  1889. }
  1890. func (m *GetPrizeExpireResp) Reset() { *m = GetPrizeExpireResp{} }
  1891. func (m *GetPrizeExpireResp) String() string { return proto.CompactTextString(m) }
  1892. func (*GetPrizeExpireResp) ProtoMessage() {}
  1893. func (*GetPrizeExpireResp) Descriptor() ([]byte, []int) {
  1894. return fileDescriptor_capsule_34fc59ffc8688791, []int{25}
  1895. }
  1896. func (m *GetPrizeExpireResp) XXX_Unmarshal(b []byte) error {
  1897. return m.Unmarshal(b)
  1898. }
  1899. func (m *GetPrizeExpireResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1900. if deterministic {
  1901. return xxx_messageInfo_GetPrizeExpireResp.Marshal(b, m, deterministic)
  1902. } else {
  1903. b = b[:cap(b)]
  1904. n, err := m.MarshalTo(b)
  1905. if err != nil {
  1906. return nil, err
  1907. }
  1908. return b[:n], nil
  1909. }
  1910. }
  1911. func (dst *GetPrizeExpireResp) XXX_Merge(src proto.Message) {
  1912. xxx_messageInfo_GetPrizeExpireResp.Merge(dst, src)
  1913. }
  1914. func (m *GetPrizeExpireResp) XXX_Size() int {
  1915. return m.Size()
  1916. }
  1917. func (m *GetPrizeExpireResp) XXX_DiscardUnknown() {
  1918. xxx_messageInfo_GetPrizeExpireResp.DiscardUnknown(m)
  1919. }
  1920. var xxx_messageInfo_GetPrizeExpireResp proto.InternalMessageInfo
  1921. func (m *GetPrizeExpireResp) GetList() []*GetPrizeExpireResp_List {
  1922. if m != nil {
  1923. return m.List
  1924. }
  1925. return nil
  1926. }
  1927. type GetPrizeExpireResp_List struct {
  1928. //
  1929. Expire int64 `protobuf:"varint,1,opt,name=expire,proto3" json:"expire"`
  1930. //
  1931. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  1932. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1933. XXX_unrecognized []byte `json:"-"`
  1934. XXX_sizecache int32 `json:"-"`
  1935. }
  1936. func (m *GetPrizeExpireResp_List) Reset() { *m = GetPrizeExpireResp_List{} }
  1937. func (m *GetPrizeExpireResp_List) String() string { return proto.CompactTextString(m) }
  1938. func (*GetPrizeExpireResp_List) ProtoMessage() {}
  1939. func (*GetPrizeExpireResp_List) Descriptor() ([]byte, []int) {
  1940. return fileDescriptor_capsule_34fc59ffc8688791, []int{25, 0}
  1941. }
  1942. func (m *GetPrizeExpireResp_List) XXX_Unmarshal(b []byte) error {
  1943. return m.Unmarshal(b)
  1944. }
  1945. func (m *GetPrizeExpireResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1946. if deterministic {
  1947. return xxx_messageInfo_GetPrizeExpireResp_List.Marshal(b, m, deterministic)
  1948. } else {
  1949. b = b[:cap(b)]
  1950. n, err := m.MarshalTo(b)
  1951. if err != nil {
  1952. return nil, err
  1953. }
  1954. return b[:n], nil
  1955. }
  1956. }
  1957. func (dst *GetPrizeExpireResp_List) XXX_Merge(src proto.Message) {
  1958. xxx_messageInfo_GetPrizeExpireResp_List.Merge(dst, src)
  1959. }
  1960. func (m *GetPrizeExpireResp_List) XXX_Size() int {
  1961. return m.Size()
  1962. }
  1963. func (m *GetPrizeExpireResp_List) XXX_DiscardUnknown() {
  1964. xxx_messageInfo_GetPrizeExpireResp_List.DiscardUnknown(m)
  1965. }
  1966. var xxx_messageInfo_GetPrizeExpireResp_List proto.InternalMessageInfo
  1967. func (m *GetPrizeExpireResp_List) GetExpire() int64 {
  1968. if m != nil {
  1969. return m.Expire
  1970. }
  1971. return 0
  1972. }
  1973. func (m *GetPrizeExpireResp_List) GetName() string {
  1974. if m != nil {
  1975. return m.Name
  1976. }
  1977. return ""
  1978. }
  1979. type CapsuleGetCouponListReq struct {
  1980. //
  1981. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"`
  1982. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1983. XXX_unrecognized []byte `json:"-"`
  1984. XXX_sizecache int32 `json:"-"`
  1985. }
  1986. func (m *CapsuleGetCouponListReq) Reset() { *m = CapsuleGetCouponListReq{} }
  1987. func (m *CapsuleGetCouponListReq) String() string { return proto.CompactTextString(m) }
  1988. func (*CapsuleGetCouponListReq) ProtoMessage() {}
  1989. func (*CapsuleGetCouponListReq) Descriptor() ([]byte, []int) {
  1990. return fileDescriptor_capsule_34fc59ffc8688791, []int{26}
  1991. }
  1992. func (m *CapsuleGetCouponListReq) XXX_Unmarshal(b []byte) error {
  1993. return m.Unmarshal(b)
  1994. }
  1995. func (m *CapsuleGetCouponListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1996. if deterministic {
  1997. return xxx_messageInfo_CapsuleGetCouponListReq.Marshal(b, m, deterministic)
  1998. } else {
  1999. b = b[:cap(b)]
  2000. n, err := m.MarshalTo(b)
  2001. if err != nil {
  2002. return nil, err
  2003. }
  2004. return b[:n], nil
  2005. }
  2006. }
  2007. func (dst *CapsuleGetCouponListReq) XXX_Merge(src proto.Message) {
  2008. xxx_messageInfo_CapsuleGetCouponListReq.Merge(dst, src)
  2009. }
  2010. func (m *CapsuleGetCouponListReq) XXX_Size() int {
  2011. return m.Size()
  2012. }
  2013. func (m *CapsuleGetCouponListReq) XXX_DiscardUnknown() {
  2014. xxx_messageInfo_CapsuleGetCouponListReq.DiscardUnknown(m)
  2015. }
  2016. var xxx_messageInfo_CapsuleGetCouponListReq proto.InternalMessageInfo
  2017. func (m *CapsuleGetCouponListReq) GetUid() int64 {
  2018. if m != nil {
  2019. return m.Uid
  2020. }
  2021. return 0
  2022. }
  2023. type CapsuleGetCouponListResp struct {
  2024. List []*CapsuleGetCouponListResp_List `protobuf:"bytes,1,rep,name=list" json:"list"`
  2025. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2026. XXX_unrecognized []byte `json:"-"`
  2027. XXX_sizecache int32 `json:"-"`
  2028. }
  2029. func (m *CapsuleGetCouponListResp) Reset() { *m = CapsuleGetCouponListResp{} }
  2030. func (m *CapsuleGetCouponListResp) String() string { return proto.CompactTextString(m) }
  2031. func (*CapsuleGetCouponListResp) ProtoMessage() {}
  2032. func (*CapsuleGetCouponListResp) Descriptor() ([]byte, []int) {
  2033. return fileDescriptor_capsule_34fc59ffc8688791, []int{27}
  2034. }
  2035. func (m *CapsuleGetCouponListResp) XXX_Unmarshal(b []byte) error {
  2036. return m.Unmarshal(b)
  2037. }
  2038. func (m *CapsuleGetCouponListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2039. if deterministic {
  2040. return xxx_messageInfo_CapsuleGetCouponListResp.Marshal(b, m, deterministic)
  2041. } else {
  2042. b = b[:cap(b)]
  2043. n, err := m.MarshalTo(b)
  2044. if err != nil {
  2045. return nil, err
  2046. }
  2047. return b[:n], nil
  2048. }
  2049. }
  2050. func (dst *CapsuleGetCouponListResp) XXX_Merge(src proto.Message) {
  2051. xxx_messageInfo_CapsuleGetCouponListResp.Merge(dst, src)
  2052. }
  2053. func (m *CapsuleGetCouponListResp) XXX_Size() int {
  2054. return m.Size()
  2055. }
  2056. func (m *CapsuleGetCouponListResp) XXX_DiscardUnknown() {
  2057. xxx_messageInfo_CapsuleGetCouponListResp.DiscardUnknown(m)
  2058. }
  2059. var xxx_messageInfo_CapsuleGetCouponListResp proto.InternalMessageInfo
  2060. func (m *CapsuleGetCouponListResp) GetList() []*CapsuleGetCouponListResp_List {
  2061. if m != nil {
  2062. return m.List
  2063. }
  2064. return nil
  2065. }
  2066. type CapsuleGetCouponListResp_List struct {
  2067. //
  2068. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  2069. // 中奖时间
  2070. AwardTime string `protobuf:"bytes,2,opt,name=award_time,json=awardTime,proto3" json:"award_time"`
  2071. // 奖品名称
  2072. AwardName string `protobuf:"bytes,3,opt,name=award_name,json=awardName,proto3" json:"award_name"`
  2073. // 券码
  2074. AwardCode string `protobuf:"bytes,4,opt,name=award_code,json=awardCode,proto3" json:"award_code"`
  2075. // 0 重试 1 成功
  2076. Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status"`
  2077. // 上次重试时间
  2078. RetryTime string `protobuf:"bytes,6,opt,name=retry_time,json=retryTime,proto3" json:"retry_time"`
  2079. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2080. XXX_unrecognized []byte `json:"-"`
  2081. XXX_sizecache int32 `json:"-"`
  2082. }
  2083. func (m *CapsuleGetCouponListResp_List) Reset() { *m = CapsuleGetCouponListResp_List{} }
  2084. func (m *CapsuleGetCouponListResp_List) String() string { return proto.CompactTextString(m) }
  2085. func (*CapsuleGetCouponListResp_List) ProtoMessage() {}
  2086. func (*CapsuleGetCouponListResp_List) Descriptor() ([]byte, []int) {
  2087. return fileDescriptor_capsule_34fc59ffc8688791, []int{27, 0}
  2088. }
  2089. func (m *CapsuleGetCouponListResp_List) XXX_Unmarshal(b []byte) error {
  2090. return m.Unmarshal(b)
  2091. }
  2092. func (m *CapsuleGetCouponListResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2093. if deterministic {
  2094. return xxx_messageInfo_CapsuleGetCouponListResp_List.Marshal(b, m, deterministic)
  2095. } else {
  2096. b = b[:cap(b)]
  2097. n, err := m.MarshalTo(b)
  2098. if err != nil {
  2099. return nil, err
  2100. }
  2101. return b[:n], nil
  2102. }
  2103. }
  2104. func (dst *CapsuleGetCouponListResp_List) XXX_Merge(src proto.Message) {
  2105. xxx_messageInfo_CapsuleGetCouponListResp_List.Merge(dst, src)
  2106. }
  2107. func (m *CapsuleGetCouponListResp_List) XXX_Size() int {
  2108. return m.Size()
  2109. }
  2110. func (m *CapsuleGetCouponListResp_List) XXX_DiscardUnknown() {
  2111. xxx_messageInfo_CapsuleGetCouponListResp_List.DiscardUnknown(m)
  2112. }
  2113. var xxx_messageInfo_CapsuleGetCouponListResp_List proto.InternalMessageInfo
  2114. func (m *CapsuleGetCouponListResp_List) GetUid() int64 {
  2115. if m != nil {
  2116. return m.Uid
  2117. }
  2118. return 0
  2119. }
  2120. func (m *CapsuleGetCouponListResp_List) GetAwardTime() string {
  2121. if m != nil {
  2122. return m.AwardTime
  2123. }
  2124. return ""
  2125. }
  2126. func (m *CapsuleGetCouponListResp_List) GetAwardName() string {
  2127. if m != nil {
  2128. return m.AwardName
  2129. }
  2130. return ""
  2131. }
  2132. func (m *CapsuleGetCouponListResp_List) GetAwardCode() string {
  2133. if m != nil {
  2134. return m.AwardCode
  2135. }
  2136. return ""
  2137. }
  2138. func (m *CapsuleGetCouponListResp_List) GetStatus() int64 {
  2139. if m != nil {
  2140. return m.Status
  2141. }
  2142. return 0
  2143. }
  2144. func (m *CapsuleGetCouponListResp_List) GetRetryTime() string {
  2145. if m != nil {
  2146. return m.RetryTime
  2147. }
  2148. return ""
  2149. }
  2150. func init() {
  2151. proto.RegisterType((*GetCoinListReqAdmin)(nil), "live.liveadmin.v1.GetCoinListReqAdmin")
  2152. proto.RegisterType((*GetCoinListRespAdmin)(nil), "live.liveadmin.v1.GetCoinListRespAdmin")
  2153. proto.RegisterType((*GetCoinListRespAdmin_List)(nil), "live.liveadmin.v1.GetCoinListRespAdmin.List")
  2154. proto.RegisterType((*GetCoinListRespAdmin_List_AreaIds)(nil), "live.liveadmin.v1.GetCoinListRespAdmin.List.Area_ids")
  2155. proto.RegisterType((*UpdateCoinConfigReqAdmin)(nil), "live.liveadmin.v1.UpdateCoinConfigReqAdmin")
  2156. proto.RegisterType((*UpdateCoinConfigRespAdmin)(nil), "live.liveadmin.v1.UpdateCoinConfigRespAdmin")
  2157. proto.RegisterType((*UpdateCoinStatusReqAdmin)(nil), "live.liveadmin.v1.UpdateCoinStatusReqAdmin")
  2158. proto.RegisterType((*UpdateCoinStatusRespAdmin)(nil), "live.liveadmin.v1.UpdateCoinStatusRespAdmin")
  2159. proto.RegisterType((*DeleteCoinReqAdmin)(nil), "live.liveadmin.v1.DeleteCoinReqAdmin")
  2160. proto.RegisterType((*DeleteCoinRespAdmin)(nil), "live.liveadmin.v1.DeleteCoinRespAdmin")
  2161. proto.RegisterType((*GetPoolListReqAdmin)(nil), "live.liveadmin.v1.GetPoolListReqAdmin")
  2162. proto.RegisterType((*GetPoolListRespAdmin)(nil), "live.liveadmin.v1.GetPoolListRespAdmin")
  2163. proto.RegisterType((*GetPoolListRespAdmin_List)(nil), "live.liveadmin.v1.GetPoolListRespAdmin.List")
  2164. proto.RegisterType((*UpdatePoolReqAdmin)(nil), "live.liveadmin.v1.UpdatePoolReqAdmin")
  2165. proto.RegisterType((*UpdatePoolRespAdmin)(nil), "live.liveadmin.v1.UpdatePoolRespAdmin")
  2166. proto.RegisterType((*DeletePoolReqAdmin)(nil), "live.liveadmin.v1.DeletePoolReqAdmin")
  2167. proto.RegisterType((*DeletePoolRespAdmin)(nil), "live.liveadmin.v1.DeletePoolRespAdmin")
  2168. proto.RegisterType((*UpdatePoolStatusReqAdmin)(nil), "live.liveadmin.v1.UpdatePoolStatusReqAdmin")
  2169. proto.RegisterType((*UpdatePoolStatusRespAdmin)(nil), "live.liveadmin.v1.UpdatePoolStatusRespAdmin")
  2170. proto.RegisterType((*GetPoolPrizeReqAdmin)(nil), "live.liveadmin.v1.GetPoolPrizeReqAdmin")
  2171. proto.RegisterType((*GetPoolPrizeRespAdmin)(nil), "live.liveadmin.v1.GetPoolPrizeRespAdmin")
  2172. proto.RegisterType((*GetPoolPrizeRespAdmin_List)(nil), "live.liveadmin.v1.GetPoolPrizeRespAdmin.List")
  2173. proto.RegisterType((*UpdatePoolPrizeReqAdmin)(nil), "live.liveadmin.v1.UpdatePoolPrizeReqAdmin")
  2174. proto.RegisterType((*UpdatePoolPrizeRespAdmin)(nil), "live.liveadmin.v1.UpdatePoolPrizeRespAdmin")
  2175. proto.RegisterType((*DeletePoolPrizeReqAdmin)(nil), "live.liveadmin.v1.DeletePoolPrizeReqAdmin")
  2176. proto.RegisterType((*DeletePoolPrizeRespAdmin)(nil), "live.liveadmin.v1.DeletePoolPrizeRespAdmin")
  2177. proto.RegisterType((*GetPrizeTypeReq)(nil), "live.liveadmin.v1.GetPrizeTypeReq")
  2178. proto.RegisterType((*GetPrizeTypeResp)(nil), "live.liveadmin.v1.GetPrizeTypeResp")
  2179. proto.RegisterType((*GetPrizeTypeResp_List)(nil), "live.liveadmin.v1.GetPrizeTypeResp.List")
  2180. proto.RegisterType((*GetPrizeExpireReq)(nil), "live.liveadmin.v1.GetPrizeExpireReq")
  2181. proto.RegisterType((*GetPrizeExpireResp)(nil), "live.liveadmin.v1.GetPrizeExpireResp")
  2182. proto.RegisterType((*GetPrizeExpireResp_List)(nil), "live.liveadmin.v1.GetPrizeExpireResp.List")
  2183. proto.RegisterType((*CapsuleGetCouponListReq)(nil), "live.liveadmin.v1.CapsuleGetCouponListReq")
  2184. proto.RegisterType((*CapsuleGetCouponListResp)(nil), "live.liveadmin.v1.CapsuleGetCouponListResp")
  2185. proto.RegisterType((*CapsuleGetCouponListResp_List)(nil), "live.liveadmin.v1.CapsuleGetCouponListResp.List")
  2186. }
  2187. func (m *GetCoinListReqAdmin) Marshal() (dAtA []byte, err error) {
  2188. size := m.Size()
  2189. dAtA = make([]byte, size)
  2190. n, err := m.MarshalTo(dAtA)
  2191. if err != nil {
  2192. return nil, err
  2193. }
  2194. return dAtA[:n], nil
  2195. }
  2196. func (m *GetCoinListReqAdmin) MarshalTo(dAtA []byte) (int, error) {
  2197. var i int
  2198. _ = i
  2199. var l int
  2200. _ = l
  2201. if m.Page != 0 {
  2202. dAtA[i] = 0x8
  2203. i++
  2204. i = encodeVarintCapsule(dAtA, i, uint64(m.Page))
  2205. }
  2206. if m.PageSize != 0 {
  2207. dAtA[i] = 0x10
  2208. i++
  2209. i = encodeVarintCapsule(dAtA, i, uint64(m.PageSize))
  2210. }
  2211. if m.XXX_unrecognized != nil {
  2212. i += copy(dAtA[i:], m.XXX_unrecognized)
  2213. }
  2214. return i, nil
  2215. }
  2216. func (m *GetCoinListRespAdmin) Marshal() (dAtA []byte, err error) {
  2217. size := m.Size()
  2218. dAtA = make([]byte, size)
  2219. n, err := m.MarshalTo(dAtA)
  2220. if err != nil {
  2221. return nil, err
  2222. }
  2223. return dAtA[:n], nil
  2224. }
  2225. func (m *GetCoinListRespAdmin) MarshalTo(dAtA []byte) (int, error) {
  2226. var i int
  2227. _ = i
  2228. var l int
  2229. _ = l
  2230. if m.Total != 0 {
  2231. dAtA[i] = 0x8
  2232. i++
  2233. i = encodeVarintCapsule(dAtA, i, uint64(m.Total))
  2234. }
  2235. if m.TotalPage != 0 {
  2236. dAtA[i] = 0x10
  2237. i++
  2238. i = encodeVarintCapsule(dAtA, i, uint64(m.TotalPage))
  2239. }
  2240. if len(m.List) > 0 {
  2241. for _, msg := range m.List {
  2242. dAtA[i] = 0x1a
  2243. i++
  2244. i = encodeVarintCapsule(dAtA, i, uint64(msg.Size()))
  2245. n, err := msg.MarshalTo(dAtA[i:])
  2246. if err != nil {
  2247. return 0, err
  2248. }
  2249. i += n
  2250. }
  2251. }
  2252. if m.XXX_unrecognized != nil {
  2253. i += copy(dAtA[i:], m.XXX_unrecognized)
  2254. }
  2255. return i, nil
  2256. }
  2257. func (m *GetCoinListRespAdmin_List) Marshal() (dAtA []byte, err error) {
  2258. size := m.Size()
  2259. dAtA = make([]byte, size)
  2260. n, err := m.MarshalTo(dAtA)
  2261. if err != nil {
  2262. return nil, err
  2263. }
  2264. return dAtA[:n], nil
  2265. }
  2266. func (m *GetCoinListRespAdmin_List) MarshalTo(dAtA []byte) (int, error) {
  2267. var i int
  2268. _ = i
  2269. var l int
  2270. _ = l
  2271. if m.Id != 0 {
  2272. dAtA[i] = 0x8
  2273. i++
  2274. i = encodeVarintCapsule(dAtA, i, uint64(m.Id))
  2275. }
  2276. if len(m.Title) > 0 {
  2277. dAtA[i] = 0x12
  2278. i++
  2279. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Title)))
  2280. i += copy(dAtA[i:], m.Title)
  2281. }
  2282. if m.ChangeNum != 0 {
  2283. dAtA[i] = 0x18
  2284. i++
  2285. i = encodeVarintCapsule(dAtA, i, uint64(m.ChangeNum))
  2286. }
  2287. if len(m.StartTime) > 0 {
  2288. dAtA[i] = 0x22
  2289. i++
  2290. i = encodeVarintCapsule(dAtA, i, uint64(len(m.StartTime)))
  2291. i += copy(dAtA[i:], m.StartTime)
  2292. }
  2293. if len(m.EndTime) > 0 {
  2294. dAtA[i] = 0x2a
  2295. i++
  2296. i = encodeVarintCapsule(dAtA, i, uint64(len(m.EndTime)))
  2297. i += copy(dAtA[i:], m.EndTime)
  2298. }
  2299. if m.Status != 0 {
  2300. dAtA[i] = 0x30
  2301. i++
  2302. i = encodeVarintCapsule(dAtA, i, uint64(m.Status))
  2303. }
  2304. if m.GiftType != 0 {
  2305. dAtA[i] = 0x38
  2306. i++
  2307. i = encodeVarintCapsule(dAtA, i, uint64(m.GiftType))
  2308. }
  2309. if len(m.GiftConfig) > 0 {
  2310. dAtA[i] = 0x42
  2311. i++
  2312. i = encodeVarintCapsule(dAtA, i, uint64(len(m.GiftConfig)))
  2313. i += copy(dAtA[i:], m.GiftConfig)
  2314. }
  2315. if len(m.AreaIds) > 0 {
  2316. for _, msg := range m.AreaIds {
  2317. dAtA[i] = 0x4a
  2318. i++
  2319. i = encodeVarintCapsule(dAtA, i, uint64(msg.Size()))
  2320. n, err := msg.MarshalTo(dAtA[i:])
  2321. if err != nil {
  2322. return 0, err
  2323. }
  2324. i += n
  2325. }
  2326. }
  2327. if m.XXX_unrecognized != nil {
  2328. i += copy(dAtA[i:], m.XXX_unrecognized)
  2329. }
  2330. return i, nil
  2331. }
  2332. func (m *GetCoinListRespAdmin_List_AreaIds) Marshal() (dAtA []byte, err error) {
  2333. size := m.Size()
  2334. dAtA = make([]byte, size)
  2335. n, err := m.MarshalTo(dAtA)
  2336. if err != nil {
  2337. return nil, err
  2338. }
  2339. return dAtA[:n], nil
  2340. }
  2341. func (m *GetCoinListRespAdmin_List_AreaIds) MarshalTo(dAtA []byte) (int, error) {
  2342. var i int
  2343. _ = i
  2344. var l int
  2345. _ = l
  2346. if m.ParentId != 0 {
  2347. dAtA[i] = 0x8
  2348. i++
  2349. i = encodeVarintCapsule(dAtA, i, uint64(m.ParentId))
  2350. }
  2351. if m.IsAll != 0 {
  2352. dAtA[i] = 0x10
  2353. i++
  2354. i = encodeVarintCapsule(dAtA, i, uint64(m.IsAll))
  2355. }
  2356. if len(m.List) > 0 {
  2357. dAtA2 := make([]byte, len(m.List)*10)
  2358. var j1 int
  2359. for _, num1 := range m.List {
  2360. num := uint64(num1)
  2361. for num >= 1<<7 {
  2362. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  2363. num >>= 7
  2364. j1++
  2365. }
  2366. dAtA2[j1] = uint8(num)
  2367. j1++
  2368. }
  2369. dAtA[i] = 0x1a
  2370. i++
  2371. i = encodeVarintCapsule(dAtA, i, uint64(j1))
  2372. i += copy(dAtA[i:], dAtA2[:j1])
  2373. }
  2374. if m.XXX_unrecognized != nil {
  2375. i += copy(dAtA[i:], m.XXX_unrecognized)
  2376. }
  2377. return i, nil
  2378. }
  2379. func (m *UpdateCoinConfigReqAdmin) Marshal() (dAtA []byte, err error) {
  2380. size := m.Size()
  2381. dAtA = make([]byte, size)
  2382. n, err := m.MarshalTo(dAtA)
  2383. if err != nil {
  2384. return nil, err
  2385. }
  2386. return dAtA[:n], nil
  2387. }
  2388. func (m *UpdateCoinConfigReqAdmin) MarshalTo(dAtA []byte) (int, error) {
  2389. var i int
  2390. _ = i
  2391. var l int
  2392. _ = l
  2393. if m.Id != 0 {
  2394. dAtA[i] = 0x8
  2395. i++
  2396. i = encodeVarintCapsule(dAtA, i, uint64(m.Id))
  2397. }
  2398. if len(m.Title) > 0 {
  2399. dAtA[i] = 0x12
  2400. i++
  2401. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Title)))
  2402. i += copy(dAtA[i:], m.Title)
  2403. }
  2404. if m.ChangeNum != 0 {
  2405. dAtA[i] = 0x18
  2406. i++
  2407. i = encodeVarintCapsule(dAtA, i, uint64(m.ChangeNum))
  2408. }
  2409. if len(m.StartTime) > 0 {
  2410. dAtA[i] = 0x22
  2411. i++
  2412. i = encodeVarintCapsule(dAtA, i, uint64(len(m.StartTime)))
  2413. i += copy(dAtA[i:], m.StartTime)
  2414. }
  2415. if len(m.EndTime) > 0 {
  2416. dAtA[i] = 0x2a
  2417. i++
  2418. i = encodeVarintCapsule(dAtA, i, uint64(len(m.EndTime)))
  2419. i += copy(dAtA[i:], m.EndTime)
  2420. }
  2421. if m.Status != 0 {
  2422. dAtA[i] = 0x30
  2423. i++
  2424. i = encodeVarintCapsule(dAtA, i, uint64(m.Status))
  2425. }
  2426. if m.GiftType != 0 {
  2427. dAtA[i] = 0x38
  2428. i++
  2429. i = encodeVarintCapsule(dAtA, i, uint64(m.GiftType))
  2430. }
  2431. if len(m.GiftConfig) > 0 {
  2432. dAtA[i] = 0x42
  2433. i++
  2434. i = encodeVarintCapsule(dAtA, i, uint64(len(m.GiftConfig)))
  2435. i += copy(dAtA[i:], m.GiftConfig)
  2436. }
  2437. if len(m.AreaIds) > 0 {
  2438. dAtA[i] = 0x4a
  2439. i++
  2440. i = encodeVarintCapsule(dAtA, i, uint64(len(m.AreaIds)))
  2441. i += copy(dAtA[i:], m.AreaIds)
  2442. }
  2443. if m.XXX_unrecognized != nil {
  2444. i += copy(dAtA[i:], m.XXX_unrecognized)
  2445. }
  2446. return i, nil
  2447. }
  2448. func (m *UpdateCoinConfigRespAdmin) Marshal() (dAtA []byte, err error) {
  2449. size := m.Size()
  2450. dAtA = make([]byte, size)
  2451. n, err := m.MarshalTo(dAtA)
  2452. if err != nil {
  2453. return nil, err
  2454. }
  2455. return dAtA[:n], nil
  2456. }
  2457. func (m *UpdateCoinConfigRespAdmin) MarshalTo(dAtA []byte) (int, error) {
  2458. var i int
  2459. _ = i
  2460. var l int
  2461. _ = l
  2462. if m.Status {
  2463. dAtA[i] = 0x8
  2464. i++
  2465. if m.Status {
  2466. dAtA[i] = 1
  2467. } else {
  2468. dAtA[i] = 0
  2469. }
  2470. i++
  2471. }
  2472. if m.XXX_unrecognized != nil {
  2473. i += copy(dAtA[i:], m.XXX_unrecognized)
  2474. }
  2475. return i, nil
  2476. }
  2477. func (m *UpdateCoinStatusReqAdmin) Marshal() (dAtA []byte, err error) {
  2478. size := m.Size()
  2479. dAtA = make([]byte, size)
  2480. n, err := m.MarshalTo(dAtA)
  2481. if err != nil {
  2482. return nil, err
  2483. }
  2484. return dAtA[:n], nil
  2485. }
  2486. func (m *UpdateCoinStatusReqAdmin) MarshalTo(dAtA []byte) (int, error) {
  2487. var i int
  2488. _ = i
  2489. var l int
  2490. _ = l
  2491. if m.Id != 0 {
  2492. dAtA[i] = 0x8
  2493. i++
  2494. i = encodeVarintCapsule(dAtA, i, uint64(m.Id))
  2495. }
  2496. if m.Status != 0 {
  2497. dAtA[i] = 0x10
  2498. i++
  2499. i = encodeVarintCapsule(dAtA, i, uint64(m.Status))
  2500. }
  2501. if m.XXX_unrecognized != nil {
  2502. i += copy(dAtA[i:], m.XXX_unrecognized)
  2503. }
  2504. return i, nil
  2505. }
  2506. func (m *UpdateCoinStatusRespAdmin) Marshal() (dAtA []byte, err error) {
  2507. size := m.Size()
  2508. dAtA = make([]byte, size)
  2509. n, err := m.MarshalTo(dAtA)
  2510. if err != nil {
  2511. return nil, err
  2512. }
  2513. return dAtA[:n], nil
  2514. }
  2515. func (m *UpdateCoinStatusRespAdmin) MarshalTo(dAtA []byte) (int, error) {
  2516. var i int
  2517. _ = i
  2518. var l int
  2519. _ = l
  2520. if m.Status {
  2521. dAtA[i] = 0x8
  2522. i++
  2523. if m.Status {
  2524. dAtA[i] = 1
  2525. } else {
  2526. dAtA[i] = 0
  2527. }
  2528. i++
  2529. }
  2530. if m.XXX_unrecognized != nil {
  2531. i += copy(dAtA[i:], m.XXX_unrecognized)
  2532. }
  2533. return i, nil
  2534. }
  2535. func (m *DeleteCoinReqAdmin) Marshal() (dAtA []byte, err error) {
  2536. size := m.Size()
  2537. dAtA = make([]byte, size)
  2538. n, err := m.MarshalTo(dAtA)
  2539. if err != nil {
  2540. return nil, err
  2541. }
  2542. return dAtA[:n], nil
  2543. }
  2544. func (m *DeleteCoinReqAdmin) MarshalTo(dAtA []byte) (int, error) {
  2545. var i int
  2546. _ = i
  2547. var l int
  2548. _ = l
  2549. if m.Id != 0 {
  2550. dAtA[i] = 0x8
  2551. i++
  2552. i = encodeVarintCapsule(dAtA, i, uint64(m.Id))
  2553. }
  2554. if m.XXX_unrecognized != nil {
  2555. i += copy(dAtA[i:], m.XXX_unrecognized)
  2556. }
  2557. return i, nil
  2558. }
  2559. func (m *DeleteCoinRespAdmin) Marshal() (dAtA []byte, err error) {
  2560. size := m.Size()
  2561. dAtA = make([]byte, size)
  2562. n, err := m.MarshalTo(dAtA)
  2563. if err != nil {
  2564. return nil, err
  2565. }
  2566. return dAtA[:n], nil
  2567. }
  2568. func (m *DeleteCoinRespAdmin) MarshalTo(dAtA []byte) (int, error) {
  2569. var i int
  2570. _ = i
  2571. var l int
  2572. _ = l
  2573. if m.Status {
  2574. dAtA[i] = 0x8
  2575. i++
  2576. if m.Status {
  2577. dAtA[i] = 1
  2578. } else {
  2579. dAtA[i] = 0
  2580. }
  2581. i++
  2582. }
  2583. if m.XXX_unrecognized != nil {
  2584. i += copy(dAtA[i:], m.XXX_unrecognized)
  2585. }
  2586. return i, nil
  2587. }
  2588. func (m *GetPoolListReqAdmin) Marshal() (dAtA []byte, err error) {
  2589. size := m.Size()
  2590. dAtA = make([]byte, size)
  2591. n, err := m.MarshalTo(dAtA)
  2592. if err != nil {
  2593. return nil, err
  2594. }
  2595. return dAtA[:n], nil
  2596. }
  2597. func (m *GetPoolListReqAdmin) MarshalTo(dAtA []byte) (int, error) {
  2598. var i int
  2599. _ = i
  2600. var l int
  2601. _ = l
  2602. if m.Page != 0 {
  2603. dAtA[i] = 0x8
  2604. i++
  2605. i = encodeVarintCapsule(dAtA, i, uint64(m.Page))
  2606. }
  2607. if m.PageSize != 0 {
  2608. dAtA[i] = 0x10
  2609. i++
  2610. i = encodeVarintCapsule(dAtA, i, uint64(m.PageSize))
  2611. }
  2612. if m.XXX_unrecognized != nil {
  2613. i += copy(dAtA[i:], m.XXX_unrecognized)
  2614. }
  2615. return i, nil
  2616. }
  2617. func (m *GetPoolListRespAdmin) Marshal() (dAtA []byte, err error) {
  2618. size := m.Size()
  2619. dAtA = make([]byte, size)
  2620. n, err := m.MarshalTo(dAtA)
  2621. if err != nil {
  2622. return nil, err
  2623. }
  2624. return dAtA[:n], nil
  2625. }
  2626. func (m *GetPoolListRespAdmin) MarshalTo(dAtA []byte) (int, error) {
  2627. var i int
  2628. _ = i
  2629. var l int
  2630. _ = l
  2631. if m.Total != 0 {
  2632. dAtA[i] = 0x8
  2633. i++
  2634. i = encodeVarintCapsule(dAtA, i, uint64(m.Total))
  2635. }
  2636. if m.TotalPage != 0 {
  2637. dAtA[i] = 0x10
  2638. i++
  2639. i = encodeVarintCapsule(dAtA, i, uint64(m.TotalPage))
  2640. }
  2641. if len(m.List) > 0 {
  2642. for _, msg := range m.List {
  2643. dAtA[i] = 0x1a
  2644. i++
  2645. i = encodeVarintCapsule(dAtA, i, uint64(msg.Size()))
  2646. n, err := msg.MarshalTo(dAtA[i:])
  2647. if err != nil {
  2648. return 0, err
  2649. }
  2650. i += n
  2651. }
  2652. }
  2653. if m.XXX_unrecognized != nil {
  2654. i += copy(dAtA[i:], m.XXX_unrecognized)
  2655. }
  2656. return i, nil
  2657. }
  2658. func (m *GetPoolListRespAdmin_List) Marshal() (dAtA []byte, err error) {
  2659. size := m.Size()
  2660. dAtA = make([]byte, size)
  2661. n, err := m.MarshalTo(dAtA)
  2662. if err != nil {
  2663. return nil, err
  2664. }
  2665. return dAtA[:n], nil
  2666. }
  2667. func (m *GetPoolListRespAdmin_List) MarshalTo(dAtA []byte) (int, error) {
  2668. var i int
  2669. _ = i
  2670. var l int
  2671. _ = l
  2672. if m.Id != 0 {
  2673. dAtA[i] = 0x8
  2674. i++
  2675. i = encodeVarintCapsule(dAtA, i, uint64(m.Id))
  2676. }
  2677. if m.CoinId != 0 {
  2678. dAtA[i] = 0x10
  2679. i++
  2680. i = encodeVarintCapsule(dAtA, i, uint64(m.CoinId))
  2681. }
  2682. if len(m.Title) > 0 {
  2683. dAtA[i] = 0x1a
  2684. i++
  2685. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Title)))
  2686. i += copy(dAtA[i:], m.Title)
  2687. }
  2688. if len(m.StartTime) > 0 {
  2689. dAtA[i] = 0x22
  2690. i++
  2691. i = encodeVarintCapsule(dAtA, i, uint64(len(m.StartTime)))
  2692. i += copy(dAtA[i:], m.StartTime)
  2693. }
  2694. if len(m.EndTime) > 0 {
  2695. dAtA[i] = 0x2a
  2696. i++
  2697. i = encodeVarintCapsule(dAtA, i, uint64(len(m.EndTime)))
  2698. i += copy(dAtA[i:], m.EndTime)
  2699. }
  2700. if m.Status != 0 {
  2701. dAtA[i] = 0x30
  2702. i++
  2703. i = encodeVarintCapsule(dAtA, i, uint64(m.Status))
  2704. }
  2705. if len(m.Rule) > 0 {
  2706. dAtA[i] = 0x3a
  2707. i++
  2708. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Rule)))
  2709. i += copy(dAtA[i:], m.Rule)
  2710. }
  2711. if len(m.CoinTitle) > 0 {
  2712. dAtA[i] = 0x42
  2713. i++
  2714. i = encodeVarintCapsule(dAtA, i, uint64(len(m.CoinTitle)))
  2715. i += copy(dAtA[i:], m.CoinTitle)
  2716. }
  2717. if m.XXX_unrecognized != nil {
  2718. i += copy(dAtA[i:], m.XXX_unrecognized)
  2719. }
  2720. return i, nil
  2721. }
  2722. func (m *UpdatePoolReqAdmin) Marshal() (dAtA []byte, err error) {
  2723. size := m.Size()
  2724. dAtA = make([]byte, size)
  2725. n, err := m.MarshalTo(dAtA)
  2726. if err != nil {
  2727. return nil, err
  2728. }
  2729. return dAtA[:n], nil
  2730. }
  2731. func (m *UpdatePoolReqAdmin) MarshalTo(dAtA []byte) (int, error) {
  2732. var i int
  2733. _ = i
  2734. var l int
  2735. _ = l
  2736. if m.Id != 0 {
  2737. dAtA[i] = 0x8
  2738. i++
  2739. i = encodeVarintCapsule(dAtA, i, uint64(m.Id))
  2740. }
  2741. if m.CoinId != 0 {
  2742. dAtA[i] = 0x10
  2743. i++
  2744. i = encodeVarintCapsule(dAtA, i, uint64(m.CoinId))
  2745. }
  2746. if len(m.Title) > 0 {
  2747. dAtA[i] = 0x1a
  2748. i++
  2749. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Title)))
  2750. i += copy(dAtA[i:], m.Title)
  2751. }
  2752. if len(m.StartTime) > 0 {
  2753. dAtA[i] = 0x22
  2754. i++
  2755. i = encodeVarintCapsule(dAtA, i, uint64(len(m.StartTime)))
  2756. i += copy(dAtA[i:], m.StartTime)
  2757. }
  2758. if len(m.EndTime) > 0 {
  2759. dAtA[i] = 0x2a
  2760. i++
  2761. i = encodeVarintCapsule(dAtA, i, uint64(len(m.EndTime)))
  2762. i += copy(dAtA[i:], m.EndTime)
  2763. }
  2764. if len(m.Rule) > 0 {
  2765. dAtA[i] = 0x32
  2766. i++
  2767. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Rule)))
  2768. i += copy(dAtA[i:], m.Rule)
  2769. }
  2770. if m.XXX_unrecognized != nil {
  2771. i += copy(dAtA[i:], m.XXX_unrecognized)
  2772. }
  2773. return i, nil
  2774. }
  2775. func (m *UpdatePoolRespAdmin) Marshal() (dAtA []byte, err error) {
  2776. size := m.Size()
  2777. dAtA = make([]byte, size)
  2778. n, err := m.MarshalTo(dAtA)
  2779. if err != nil {
  2780. return nil, err
  2781. }
  2782. return dAtA[:n], nil
  2783. }
  2784. func (m *UpdatePoolRespAdmin) MarshalTo(dAtA []byte) (int, error) {
  2785. var i int
  2786. _ = i
  2787. var l int
  2788. _ = l
  2789. if m.Status {
  2790. dAtA[i] = 0x8
  2791. i++
  2792. if m.Status {
  2793. dAtA[i] = 1
  2794. } else {
  2795. dAtA[i] = 0
  2796. }
  2797. i++
  2798. }
  2799. if m.XXX_unrecognized != nil {
  2800. i += copy(dAtA[i:], m.XXX_unrecognized)
  2801. }
  2802. return i, nil
  2803. }
  2804. func (m *DeletePoolReqAdmin) Marshal() (dAtA []byte, err error) {
  2805. size := m.Size()
  2806. dAtA = make([]byte, size)
  2807. n, err := m.MarshalTo(dAtA)
  2808. if err != nil {
  2809. return nil, err
  2810. }
  2811. return dAtA[:n], nil
  2812. }
  2813. func (m *DeletePoolReqAdmin) MarshalTo(dAtA []byte) (int, error) {
  2814. var i int
  2815. _ = i
  2816. var l int
  2817. _ = l
  2818. if m.Id != 0 {
  2819. dAtA[i] = 0x8
  2820. i++
  2821. i = encodeVarintCapsule(dAtA, i, uint64(m.Id))
  2822. }
  2823. if m.XXX_unrecognized != nil {
  2824. i += copy(dAtA[i:], m.XXX_unrecognized)
  2825. }
  2826. return i, nil
  2827. }
  2828. func (m *DeletePoolRespAdmin) Marshal() (dAtA []byte, err error) {
  2829. size := m.Size()
  2830. dAtA = make([]byte, size)
  2831. n, err := m.MarshalTo(dAtA)
  2832. if err != nil {
  2833. return nil, err
  2834. }
  2835. return dAtA[:n], nil
  2836. }
  2837. func (m *DeletePoolRespAdmin) MarshalTo(dAtA []byte) (int, error) {
  2838. var i int
  2839. _ = i
  2840. var l int
  2841. _ = l
  2842. if m.Status {
  2843. dAtA[i] = 0x8
  2844. i++
  2845. if m.Status {
  2846. dAtA[i] = 1
  2847. } else {
  2848. dAtA[i] = 0
  2849. }
  2850. i++
  2851. }
  2852. if m.XXX_unrecognized != nil {
  2853. i += copy(dAtA[i:], m.XXX_unrecognized)
  2854. }
  2855. return i, nil
  2856. }
  2857. func (m *UpdatePoolStatusReqAdmin) Marshal() (dAtA []byte, err error) {
  2858. size := m.Size()
  2859. dAtA = make([]byte, size)
  2860. n, err := m.MarshalTo(dAtA)
  2861. if err != nil {
  2862. return nil, err
  2863. }
  2864. return dAtA[:n], nil
  2865. }
  2866. func (m *UpdatePoolStatusReqAdmin) MarshalTo(dAtA []byte) (int, error) {
  2867. var i int
  2868. _ = i
  2869. var l int
  2870. _ = l
  2871. if m.Id != 0 {
  2872. dAtA[i] = 0x8
  2873. i++
  2874. i = encodeVarintCapsule(dAtA, i, uint64(m.Id))
  2875. }
  2876. if m.Status != 0 {
  2877. dAtA[i] = 0x10
  2878. i++
  2879. i = encodeVarintCapsule(dAtA, i, uint64(m.Status))
  2880. }
  2881. if m.XXX_unrecognized != nil {
  2882. i += copy(dAtA[i:], m.XXX_unrecognized)
  2883. }
  2884. return i, nil
  2885. }
  2886. func (m *UpdatePoolStatusRespAdmin) Marshal() (dAtA []byte, err error) {
  2887. size := m.Size()
  2888. dAtA = make([]byte, size)
  2889. n, err := m.MarshalTo(dAtA)
  2890. if err != nil {
  2891. return nil, err
  2892. }
  2893. return dAtA[:n], nil
  2894. }
  2895. func (m *UpdatePoolStatusRespAdmin) MarshalTo(dAtA []byte) (int, error) {
  2896. var i int
  2897. _ = i
  2898. var l int
  2899. _ = l
  2900. if m.Status {
  2901. dAtA[i] = 0x8
  2902. i++
  2903. if m.Status {
  2904. dAtA[i] = 1
  2905. } else {
  2906. dAtA[i] = 0
  2907. }
  2908. i++
  2909. }
  2910. if m.XXX_unrecognized != nil {
  2911. i += copy(dAtA[i:], m.XXX_unrecognized)
  2912. }
  2913. return i, nil
  2914. }
  2915. func (m *GetPoolPrizeReqAdmin) Marshal() (dAtA []byte, err error) {
  2916. size := m.Size()
  2917. dAtA = make([]byte, size)
  2918. n, err := m.MarshalTo(dAtA)
  2919. if err != nil {
  2920. return nil, err
  2921. }
  2922. return dAtA[:n], nil
  2923. }
  2924. func (m *GetPoolPrizeReqAdmin) MarshalTo(dAtA []byte) (int, error) {
  2925. var i int
  2926. _ = i
  2927. var l int
  2928. _ = l
  2929. if m.PoolId != 0 {
  2930. dAtA[i] = 0x8
  2931. i++
  2932. i = encodeVarintCapsule(dAtA, i, uint64(m.PoolId))
  2933. }
  2934. if m.XXX_unrecognized != nil {
  2935. i += copy(dAtA[i:], m.XXX_unrecognized)
  2936. }
  2937. return i, nil
  2938. }
  2939. func (m *GetPoolPrizeRespAdmin) Marshal() (dAtA []byte, err error) {
  2940. size := m.Size()
  2941. dAtA = make([]byte, size)
  2942. n, err := m.MarshalTo(dAtA)
  2943. if err != nil {
  2944. return nil, err
  2945. }
  2946. return dAtA[:n], nil
  2947. }
  2948. func (m *GetPoolPrizeRespAdmin) MarshalTo(dAtA []byte) (int, error) {
  2949. var i int
  2950. _ = i
  2951. var l int
  2952. _ = l
  2953. if len(m.List) > 0 {
  2954. for _, msg := range m.List {
  2955. dAtA[i] = 0xa
  2956. i++
  2957. i = encodeVarintCapsule(dAtA, i, uint64(msg.Size()))
  2958. n, err := msg.MarshalTo(dAtA[i:])
  2959. if err != nil {
  2960. return 0, err
  2961. }
  2962. i += n
  2963. }
  2964. }
  2965. if m.XXX_unrecognized != nil {
  2966. i += copy(dAtA[i:], m.XXX_unrecognized)
  2967. }
  2968. return i, nil
  2969. }
  2970. func (m *GetPoolPrizeRespAdmin_List) Marshal() (dAtA []byte, err error) {
  2971. size := m.Size()
  2972. dAtA = make([]byte, size)
  2973. n, err := m.MarshalTo(dAtA)
  2974. if err != nil {
  2975. return nil, err
  2976. }
  2977. return dAtA[:n], nil
  2978. }
  2979. func (m *GetPoolPrizeRespAdmin_List) MarshalTo(dAtA []byte) (int, error) {
  2980. var i int
  2981. _ = i
  2982. var l int
  2983. _ = l
  2984. if m.Id != 0 {
  2985. dAtA[i] = 0x8
  2986. i++
  2987. i = encodeVarintCapsule(dAtA, i, uint64(m.Id))
  2988. }
  2989. if m.PoolId != 0 {
  2990. dAtA[i] = 0x10
  2991. i++
  2992. i = encodeVarintCapsule(dAtA, i, uint64(m.PoolId))
  2993. }
  2994. if m.Type != 0 {
  2995. dAtA[i] = 0x18
  2996. i++
  2997. i = encodeVarintCapsule(dAtA, i, uint64(m.Type))
  2998. }
  2999. if m.Num != 0 {
  3000. dAtA[i] = 0x20
  3001. i++
  3002. i = encodeVarintCapsule(dAtA, i, uint64(m.Num))
  3003. }
  3004. if m.ObjectId != 0 {
  3005. dAtA[i] = 0x28
  3006. i++
  3007. i = encodeVarintCapsule(dAtA, i, uint64(m.ObjectId))
  3008. }
  3009. if len(m.WebUrl) > 0 {
  3010. dAtA[i] = 0x32
  3011. i++
  3012. i = encodeVarintCapsule(dAtA, i, uint64(len(m.WebUrl)))
  3013. i += copy(dAtA[i:], m.WebUrl)
  3014. }
  3015. if len(m.MobileUrl) > 0 {
  3016. dAtA[i] = 0x3a
  3017. i++
  3018. i = encodeVarintCapsule(dAtA, i, uint64(len(m.MobileUrl)))
  3019. i += copy(dAtA[i:], m.MobileUrl)
  3020. }
  3021. if len(m.Description) > 0 {
  3022. dAtA[i] = 0x42
  3023. i++
  3024. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Description)))
  3025. i += copy(dAtA[i:], m.Description)
  3026. }
  3027. if len(m.JumpUrl) > 0 {
  3028. dAtA[i] = 0x4a
  3029. i++
  3030. i = encodeVarintCapsule(dAtA, i, uint64(len(m.JumpUrl)))
  3031. i += copy(dAtA[i:], m.JumpUrl)
  3032. }
  3033. if m.ProType != 0 {
  3034. dAtA[i] = 0x50
  3035. i++
  3036. i = encodeVarintCapsule(dAtA, i, uint64(m.ProType))
  3037. }
  3038. if len(m.Chance) > 0 {
  3039. dAtA[i] = 0x5a
  3040. i++
  3041. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Chance)))
  3042. i += copy(dAtA[i:], m.Chance)
  3043. }
  3044. if m.Loop != 0 {
  3045. dAtA[i] = 0x60
  3046. i++
  3047. i = encodeVarintCapsule(dAtA, i, uint64(m.Loop))
  3048. }
  3049. if m.Limit != 0 {
  3050. dAtA[i] = 0x68
  3051. i++
  3052. i = encodeVarintCapsule(dAtA, i, uint64(m.Limit))
  3053. }
  3054. if len(m.Name) > 0 {
  3055. dAtA[i] = 0x72
  3056. i++
  3057. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Name)))
  3058. i += copy(dAtA[i:], m.Name)
  3059. }
  3060. if m.Weight != 0 {
  3061. dAtA[i] = 0x78
  3062. i++
  3063. i = encodeVarintCapsule(dAtA, i, uint64(m.Weight))
  3064. }
  3065. if len(m.WhiteUids) > 0 {
  3066. dAtA[i] = 0x82
  3067. i++
  3068. dAtA[i] = 0x1
  3069. i++
  3070. i = encodeVarintCapsule(dAtA, i, uint64(len(m.WhiteUids)))
  3071. i += copy(dAtA[i:], m.WhiteUids)
  3072. }
  3073. if m.Expire != 0 {
  3074. dAtA[i] = 0x88
  3075. i++
  3076. dAtA[i] = 0x1
  3077. i++
  3078. i = encodeVarintCapsule(dAtA, i, uint64(m.Expire))
  3079. }
  3080. if m.XXX_unrecognized != nil {
  3081. i += copy(dAtA[i:], m.XXX_unrecognized)
  3082. }
  3083. return i, nil
  3084. }
  3085. func (m *UpdatePoolPrizeReqAdmin) Marshal() (dAtA []byte, err error) {
  3086. size := m.Size()
  3087. dAtA = make([]byte, size)
  3088. n, err := m.MarshalTo(dAtA)
  3089. if err != nil {
  3090. return nil, err
  3091. }
  3092. return dAtA[:n], nil
  3093. }
  3094. func (m *UpdatePoolPrizeReqAdmin) MarshalTo(dAtA []byte) (int, error) {
  3095. var i int
  3096. _ = i
  3097. var l int
  3098. _ = l
  3099. if m.Id != 0 {
  3100. dAtA[i] = 0x8
  3101. i++
  3102. i = encodeVarintCapsule(dAtA, i, uint64(m.Id))
  3103. }
  3104. if m.PoolId != 0 {
  3105. dAtA[i] = 0x10
  3106. i++
  3107. i = encodeVarintCapsule(dAtA, i, uint64(m.PoolId))
  3108. }
  3109. if m.Type != 0 {
  3110. dAtA[i] = 0x18
  3111. i++
  3112. i = encodeVarintCapsule(dAtA, i, uint64(m.Type))
  3113. }
  3114. if m.Num != 0 {
  3115. dAtA[i] = 0x20
  3116. i++
  3117. i = encodeVarintCapsule(dAtA, i, uint64(m.Num))
  3118. }
  3119. if m.ObjectId != 0 {
  3120. dAtA[i] = 0x28
  3121. i++
  3122. i = encodeVarintCapsule(dAtA, i, uint64(m.ObjectId))
  3123. }
  3124. if m.Expire != 0 {
  3125. dAtA[i] = 0x30
  3126. i++
  3127. i = encodeVarintCapsule(dAtA, i, uint64(m.Expire))
  3128. }
  3129. if len(m.WebUrl) > 0 {
  3130. dAtA[i] = 0x3a
  3131. i++
  3132. i = encodeVarintCapsule(dAtA, i, uint64(len(m.WebUrl)))
  3133. i += copy(dAtA[i:], m.WebUrl)
  3134. }
  3135. if len(m.MobileUrl) > 0 {
  3136. dAtA[i] = 0x42
  3137. i++
  3138. i = encodeVarintCapsule(dAtA, i, uint64(len(m.MobileUrl)))
  3139. i += copy(dAtA[i:], m.MobileUrl)
  3140. }
  3141. if len(m.Description) > 0 {
  3142. dAtA[i] = 0x4a
  3143. i++
  3144. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Description)))
  3145. i += copy(dAtA[i:], m.Description)
  3146. }
  3147. if len(m.JumpUrl) > 0 {
  3148. dAtA[i] = 0x52
  3149. i++
  3150. i = encodeVarintCapsule(dAtA, i, uint64(len(m.JumpUrl)))
  3151. i += copy(dAtA[i:], m.JumpUrl)
  3152. }
  3153. if m.ProType != 0 {
  3154. dAtA[i] = 0x58
  3155. i++
  3156. i = encodeVarintCapsule(dAtA, i, uint64(m.ProType))
  3157. }
  3158. if len(m.Chance) > 0 {
  3159. dAtA[i] = 0x62
  3160. i++
  3161. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Chance)))
  3162. i += copy(dAtA[i:], m.Chance)
  3163. }
  3164. if m.Loop != 0 {
  3165. dAtA[i] = 0x68
  3166. i++
  3167. i = encodeVarintCapsule(dAtA, i, uint64(m.Loop))
  3168. }
  3169. if m.Limit != 0 {
  3170. dAtA[i] = 0x70
  3171. i++
  3172. i = encodeVarintCapsule(dAtA, i, uint64(m.Limit))
  3173. }
  3174. if m.Weight != 0 {
  3175. dAtA[i] = 0x78
  3176. i++
  3177. i = encodeVarintCapsule(dAtA, i, uint64(m.Weight))
  3178. }
  3179. if len(m.WhiteUids) > 0 {
  3180. dAtA[i] = 0x82
  3181. i++
  3182. dAtA[i] = 0x1
  3183. i++
  3184. i = encodeVarintCapsule(dAtA, i, uint64(len(m.WhiteUids)))
  3185. i += copy(dAtA[i:], m.WhiteUids)
  3186. }
  3187. if m.XXX_unrecognized != nil {
  3188. i += copy(dAtA[i:], m.XXX_unrecognized)
  3189. }
  3190. return i, nil
  3191. }
  3192. func (m *UpdatePoolPrizeRespAdmin) Marshal() (dAtA []byte, err error) {
  3193. size := m.Size()
  3194. dAtA = make([]byte, size)
  3195. n, err := m.MarshalTo(dAtA)
  3196. if err != nil {
  3197. return nil, err
  3198. }
  3199. return dAtA[:n], nil
  3200. }
  3201. func (m *UpdatePoolPrizeRespAdmin) MarshalTo(dAtA []byte) (int, error) {
  3202. var i int
  3203. _ = i
  3204. var l int
  3205. _ = l
  3206. if m.Status {
  3207. dAtA[i] = 0x8
  3208. i++
  3209. if m.Status {
  3210. dAtA[i] = 1
  3211. } else {
  3212. dAtA[i] = 0
  3213. }
  3214. i++
  3215. }
  3216. if m.PrizeId != 0 {
  3217. dAtA[i] = 0x10
  3218. i++
  3219. i = encodeVarintCapsule(dAtA, i, uint64(m.PrizeId))
  3220. }
  3221. if m.XXX_unrecognized != nil {
  3222. i += copy(dAtA[i:], m.XXX_unrecognized)
  3223. }
  3224. return i, nil
  3225. }
  3226. func (m *DeletePoolPrizeReqAdmin) Marshal() (dAtA []byte, err error) {
  3227. size := m.Size()
  3228. dAtA = make([]byte, size)
  3229. n, err := m.MarshalTo(dAtA)
  3230. if err != nil {
  3231. return nil, err
  3232. }
  3233. return dAtA[:n], nil
  3234. }
  3235. func (m *DeletePoolPrizeReqAdmin) MarshalTo(dAtA []byte) (int, error) {
  3236. var i int
  3237. _ = i
  3238. var l int
  3239. _ = l
  3240. if m.Id != 0 {
  3241. dAtA[i] = 0x8
  3242. i++
  3243. i = encodeVarintCapsule(dAtA, i, uint64(m.Id))
  3244. }
  3245. if m.XXX_unrecognized != nil {
  3246. i += copy(dAtA[i:], m.XXX_unrecognized)
  3247. }
  3248. return i, nil
  3249. }
  3250. func (m *DeletePoolPrizeRespAdmin) Marshal() (dAtA []byte, err error) {
  3251. size := m.Size()
  3252. dAtA = make([]byte, size)
  3253. n, err := m.MarshalTo(dAtA)
  3254. if err != nil {
  3255. return nil, err
  3256. }
  3257. return dAtA[:n], nil
  3258. }
  3259. func (m *DeletePoolPrizeRespAdmin) MarshalTo(dAtA []byte) (int, error) {
  3260. var i int
  3261. _ = i
  3262. var l int
  3263. _ = l
  3264. if m.Status {
  3265. dAtA[i] = 0x8
  3266. i++
  3267. if m.Status {
  3268. dAtA[i] = 1
  3269. } else {
  3270. dAtA[i] = 0
  3271. }
  3272. i++
  3273. }
  3274. if m.XXX_unrecognized != nil {
  3275. i += copy(dAtA[i:], m.XXX_unrecognized)
  3276. }
  3277. return i, nil
  3278. }
  3279. func (m *GetPrizeTypeReq) Marshal() (dAtA []byte, err error) {
  3280. size := m.Size()
  3281. dAtA = make([]byte, size)
  3282. n, err := m.MarshalTo(dAtA)
  3283. if err != nil {
  3284. return nil, err
  3285. }
  3286. return dAtA[:n], nil
  3287. }
  3288. func (m *GetPrizeTypeReq) MarshalTo(dAtA []byte) (int, error) {
  3289. var i int
  3290. _ = i
  3291. var l int
  3292. _ = l
  3293. if m.XXX_unrecognized != nil {
  3294. i += copy(dAtA[i:], m.XXX_unrecognized)
  3295. }
  3296. return i, nil
  3297. }
  3298. func (m *GetPrizeTypeResp) Marshal() (dAtA []byte, err error) {
  3299. size := m.Size()
  3300. dAtA = make([]byte, size)
  3301. n, err := m.MarshalTo(dAtA)
  3302. if err != nil {
  3303. return nil, err
  3304. }
  3305. return dAtA[:n], nil
  3306. }
  3307. func (m *GetPrizeTypeResp) MarshalTo(dAtA []byte) (int, error) {
  3308. var i int
  3309. _ = i
  3310. var l int
  3311. _ = l
  3312. if len(m.List) > 0 {
  3313. for _, msg := range m.List {
  3314. dAtA[i] = 0x1a
  3315. i++
  3316. i = encodeVarintCapsule(dAtA, i, uint64(msg.Size()))
  3317. n, err := msg.MarshalTo(dAtA[i:])
  3318. if err != nil {
  3319. return 0, err
  3320. }
  3321. i += n
  3322. }
  3323. }
  3324. if m.XXX_unrecognized != nil {
  3325. i += copy(dAtA[i:], m.XXX_unrecognized)
  3326. }
  3327. return i, nil
  3328. }
  3329. func (m *GetPrizeTypeResp_List) Marshal() (dAtA []byte, err error) {
  3330. size := m.Size()
  3331. dAtA = make([]byte, size)
  3332. n, err := m.MarshalTo(dAtA)
  3333. if err != nil {
  3334. return nil, err
  3335. }
  3336. return dAtA[:n], nil
  3337. }
  3338. func (m *GetPrizeTypeResp_List) MarshalTo(dAtA []byte) (int, error) {
  3339. var i int
  3340. _ = i
  3341. var l int
  3342. _ = l
  3343. if m.Type != 0 {
  3344. dAtA[i] = 0x8
  3345. i++
  3346. i = encodeVarintCapsule(dAtA, i, uint64(m.Type))
  3347. }
  3348. if len(m.Name) > 0 {
  3349. dAtA[i] = 0x12
  3350. i++
  3351. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Name)))
  3352. i += copy(dAtA[i:], m.Name)
  3353. }
  3354. if m.XXX_unrecognized != nil {
  3355. i += copy(dAtA[i:], m.XXX_unrecognized)
  3356. }
  3357. return i, nil
  3358. }
  3359. func (m *GetPrizeExpireReq) Marshal() (dAtA []byte, err error) {
  3360. size := m.Size()
  3361. dAtA = make([]byte, size)
  3362. n, err := m.MarshalTo(dAtA)
  3363. if err != nil {
  3364. return nil, err
  3365. }
  3366. return dAtA[:n], nil
  3367. }
  3368. func (m *GetPrizeExpireReq) MarshalTo(dAtA []byte) (int, error) {
  3369. var i int
  3370. _ = i
  3371. var l int
  3372. _ = l
  3373. if m.XXX_unrecognized != nil {
  3374. i += copy(dAtA[i:], m.XXX_unrecognized)
  3375. }
  3376. return i, nil
  3377. }
  3378. func (m *GetPrizeExpireResp) Marshal() (dAtA []byte, err error) {
  3379. size := m.Size()
  3380. dAtA = make([]byte, size)
  3381. n, err := m.MarshalTo(dAtA)
  3382. if err != nil {
  3383. return nil, err
  3384. }
  3385. return dAtA[:n], nil
  3386. }
  3387. func (m *GetPrizeExpireResp) MarshalTo(dAtA []byte) (int, error) {
  3388. var i int
  3389. _ = i
  3390. var l int
  3391. _ = l
  3392. if len(m.List) > 0 {
  3393. for _, msg := range m.List {
  3394. dAtA[i] = 0x1a
  3395. i++
  3396. i = encodeVarintCapsule(dAtA, i, uint64(msg.Size()))
  3397. n, err := msg.MarshalTo(dAtA[i:])
  3398. if err != nil {
  3399. return 0, err
  3400. }
  3401. i += n
  3402. }
  3403. }
  3404. if m.XXX_unrecognized != nil {
  3405. i += copy(dAtA[i:], m.XXX_unrecognized)
  3406. }
  3407. return i, nil
  3408. }
  3409. func (m *GetPrizeExpireResp_List) Marshal() (dAtA []byte, err error) {
  3410. size := m.Size()
  3411. dAtA = make([]byte, size)
  3412. n, err := m.MarshalTo(dAtA)
  3413. if err != nil {
  3414. return nil, err
  3415. }
  3416. return dAtA[:n], nil
  3417. }
  3418. func (m *GetPrizeExpireResp_List) MarshalTo(dAtA []byte) (int, error) {
  3419. var i int
  3420. _ = i
  3421. var l int
  3422. _ = l
  3423. if m.Expire != 0 {
  3424. dAtA[i] = 0x8
  3425. i++
  3426. i = encodeVarintCapsule(dAtA, i, uint64(m.Expire))
  3427. }
  3428. if len(m.Name) > 0 {
  3429. dAtA[i] = 0x12
  3430. i++
  3431. i = encodeVarintCapsule(dAtA, i, uint64(len(m.Name)))
  3432. i += copy(dAtA[i:], m.Name)
  3433. }
  3434. if m.XXX_unrecognized != nil {
  3435. i += copy(dAtA[i:], m.XXX_unrecognized)
  3436. }
  3437. return i, nil
  3438. }
  3439. func (m *CapsuleGetCouponListReq) 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 *CapsuleGetCouponListReq) MarshalTo(dAtA []byte) (int, error) {
  3449. var i int
  3450. _ = i
  3451. var l int
  3452. _ = l
  3453. if m.Uid != 0 {
  3454. dAtA[i] = 0x8
  3455. i++
  3456. i = encodeVarintCapsule(dAtA, i, uint64(m.Uid))
  3457. }
  3458. if m.XXX_unrecognized != nil {
  3459. i += copy(dAtA[i:], m.XXX_unrecognized)
  3460. }
  3461. return i, nil
  3462. }
  3463. func (m *CapsuleGetCouponListResp) Marshal() (dAtA []byte, err error) {
  3464. size := m.Size()
  3465. dAtA = make([]byte, size)
  3466. n, err := m.MarshalTo(dAtA)
  3467. if err != nil {
  3468. return nil, err
  3469. }
  3470. return dAtA[:n], nil
  3471. }
  3472. func (m *CapsuleGetCouponListResp) MarshalTo(dAtA []byte) (int, error) {
  3473. var i int
  3474. _ = i
  3475. var l int
  3476. _ = l
  3477. if len(m.List) > 0 {
  3478. for _, msg := range m.List {
  3479. dAtA[i] = 0xa
  3480. i++
  3481. i = encodeVarintCapsule(dAtA, i, uint64(msg.Size()))
  3482. n, err := msg.MarshalTo(dAtA[i:])
  3483. if err != nil {
  3484. return 0, err
  3485. }
  3486. i += n
  3487. }
  3488. }
  3489. if m.XXX_unrecognized != nil {
  3490. i += copy(dAtA[i:], m.XXX_unrecognized)
  3491. }
  3492. return i, nil
  3493. }
  3494. func (m *CapsuleGetCouponListResp_List) Marshal() (dAtA []byte, err error) {
  3495. size := m.Size()
  3496. dAtA = make([]byte, size)
  3497. n, err := m.MarshalTo(dAtA)
  3498. if err != nil {
  3499. return nil, err
  3500. }
  3501. return dAtA[:n], nil
  3502. }
  3503. func (m *CapsuleGetCouponListResp_List) MarshalTo(dAtA []byte) (int, error) {
  3504. var i int
  3505. _ = i
  3506. var l int
  3507. _ = l
  3508. if m.Uid != 0 {
  3509. dAtA[i] = 0x8
  3510. i++
  3511. i = encodeVarintCapsule(dAtA, i, uint64(m.Uid))
  3512. }
  3513. if len(m.AwardTime) > 0 {
  3514. dAtA[i] = 0x12
  3515. i++
  3516. i = encodeVarintCapsule(dAtA, i, uint64(len(m.AwardTime)))
  3517. i += copy(dAtA[i:], m.AwardTime)
  3518. }
  3519. if len(m.AwardName) > 0 {
  3520. dAtA[i] = 0x1a
  3521. i++
  3522. i = encodeVarintCapsule(dAtA, i, uint64(len(m.AwardName)))
  3523. i += copy(dAtA[i:], m.AwardName)
  3524. }
  3525. if len(m.AwardCode) > 0 {
  3526. dAtA[i] = 0x22
  3527. i++
  3528. i = encodeVarintCapsule(dAtA, i, uint64(len(m.AwardCode)))
  3529. i += copy(dAtA[i:], m.AwardCode)
  3530. }
  3531. if m.Status != 0 {
  3532. dAtA[i] = 0x28
  3533. i++
  3534. i = encodeVarintCapsule(dAtA, i, uint64(m.Status))
  3535. }
  3536. if len(m.RetryTime) > 0 {
  3537. dAtA[i] = 0x32
  3538. i++
  3539. i = encodeVarintCapsule(dAtA, i, uint64(len(m.RetryTime)))
  3540. i += copy(dAtA[i:], m.RetryTime)
  3541. }
  3542. if m.XXX_unrecognized != nil {
  3543. i += copy(dAtA[i:], m.XXX_unrecognized)
  3544. }
  3545. return i, nil
  3546. }
  3547. func encodeVarintCapsule(dAtA []byte, offset int, v uint64) int {
  3548. for v >= 1<<7 {
  3549. dAtA[offset] = uint8(v&0x7f | 0x80)
  3550. v >>= 7
  3551. offset++
  3552. }
  3553. dAtA[offset] = uint8(v)
  3554. return offset + 1
  3555. }
  3556. func (m *GetCoinListReqAdmin) Size() (n int) {
  3557. if m == nil {
  3558. return 0
  3559. }
  3560. var l int
  3561. _ = l
  3562. if m.Page != 0 {
  3563. n += 1 + sovCapsule(uint64(m.Page))
  3564. }
  3565. if m.PageSize != 0 {
  3566. n += 1 + sovCapsule(uint64(m.PageSize))
  3567. }
  3568. if m.XXX_unrecognized != nil {
  3569. n += len(m.XXX_unrecognized)
  3570. }
  3571. return n
  3572. }
  3573. func (m *GetCoinListRespAdmin) Size() (n int) {
  3574. if m == nil {
  3575. return 0
  3576. }
  3577. var l int
  3578. _ = l
  3579. if m.Total != 0 {
  3580. n += 1 + sovCapsule(uint64(m.Total))
  3581. }
  3582. if m.TotalPage != 0 {
  3583. n += 1 + sovCapsule(uint64(m.TotalPage))
  3584. }
  3585. if len(m.List) > 0 {
  3586. for _, e := range m.List {
  3587. l = e.Size()
  3588. n += 1 + l + sovCapsule(uint64(l))
  3589. }
  3590. }
  3591. if m.XXX_unrecognized != nil {
  3592. n += len(m.XXX_unrecognized)
  3593. }
  3594. return n
  3595. }
  3596. func (m *GetCoinListRespAdmin_List) Size() (n int) {
  3597. if m == nil {
  3598. return 0
  3599. }
  3600. var l int
  3601. _ = l
  3602. if m.Id != 0 {
  3603. n += 1 + sovCapsule(uint64(m.Id))
  3604. }
  3605. l = len(m.Title)
  3606. if l > 0 {
  3607. n += 1 + l + sovCapsule(uint64(l))
  3608. }
  3609. if m.ChangeNum != 0 {
  3610. n += 1 + sovCapsule(uint64(m.ChangeNum))
  3611. }
  3612. l = len(m.StartTime)
  3613. if l > 0 {
  3614. n += 1 + l + sovCapsule(uint64(l))
  3615. }
  3616. l = len(m.EndTime)
  3617. if l > 0 {
  3618. n += 1 + l + sovCapsule(uint64(l))
  3619. }
  3620. if m.Status != 0 {
  3621. n += 1 + sovCapsule(uint64(m.Status))
  3622. }
  3623. if m.GiftType != 0 {
  3624. n += 1 + sovCapsule(uint64(m.GiftType))
  3625. }
  3626. l = len(m.GiftConfig)
  3627. if l > 0 {
  3628. n += 1 + l + sovCapsule(uint64(l))
  3629. }
  3630. if len(m.AreaIds) > 0 {
  3631. for _, e := range m.AreaIds {
  3632. l = e.Size()
  3633. n += 1 + l + sovCapsule(uint64(l))
  3634. }
  3635. }
  3636. if m.XXX_unrecognized != nil {
  3637. n += len(m.XXX_unrecognized)
  3638. }
  3639. return n
  3640. }
  3641. func (m *GetCoinListRespAdmin_List_AreaIds) Size() (n int) {
  3642. if m == nil {
  3643. return 0
  3644. }
  3645. var l int
  3646. _ = l
  3647. if m.ParentId != 0 {
  3648. n += 1 + sovCapsule(uint64(m.ParentId))
  3649. }
  3650. if m.IsAll != 0 {
  3651. n += 1 + sovCapsule(uint64(m.IsAll))
  3652. }
  3653. if len(m.List) > 0 {
  3654. l = 0
  3655. for _, e := range m.List {
  3656. l += sovCapsule(uint64(e))
  3657. }
  3658. n += 1 + sovCapsule(uint64(l)) + l
  3659. }
  3660. if m.XXX_unrecognized != nil {
  3661. n += len(m.XXX_unrecognized)
  3662. }
  3663. return n
  3664. }
  3665. func (m *UpdateCoinConfigReqAdmin) Size() (n int) {
  3666. if m == nil {
  3667. return 0
  3668. }
  3669. var l int
  3670. _ = l
  3671. if m.Id != 0 {
  3672. n += 1 + sovCapsule(uint64(m.Id))
  3673. }
  3674. l = len(m.Title)
  3675. if l > 0 {
  3676. n += 1 + l + sovCapsule(uint64(l))
  3677. }
  3678. if m.ChangeNum != 0 {
  3679. n += 1 + sovCapsule(uint64(m.ChangeNum))
  3680. }
  3681. l = len(m.StartTime)
  3682. if l > 0 {
  3683. n += 1 + l + sovCapsule(uint64(l))
  3684. }
  3685. l = len(m.EndTime)
  3686. if l > 0 {
  3687. n += 1 + l + sovCapsule(uint64(l))
  3688. }
  3689. if m.Status != 0 {
  3690. n += 1 + sovCapsule(uint64(m.Status))
  3691. }
  3692. if m.GiftType != 0 {
  3693. n += 1 + sovCapsule(uint64(m.GiftType))
  3694. }
  3695. l = len(m.GiftConfig)
  3696. if l > 0 {
  3697. n += 1 + l + sovCapsule(uint64(l))
  3698. }
  3699. l = len(m.AreaIds)
  3700. if l > 0 {
  3701. n += 1 + l + sovCapsule(uint64(l))
  3702. }
  3703. if m.XXX_unrecognized != nil {
  3704. n += len(m.XXX_unrecognized)
  3705. }
  3706. return n
  3707. }
  3708. func (m *UpdateCoinConfigRespAdmin) Size() (n int) {
  3709. if m == nil {
  3710. return 0
  3711. }
  3712. var l int
  3713. _ = l
  3714. if m.Status {
  3715. n += 2
  3716. }
  3717. if m.XXX_unrecognized != nil {
  3718. n += len(m.XXX_unrecognized)
  3719. }
  3720. return n
  3721. }
  3722. func (m *UpdateCoinStatusReqAdmin) Size() (n int) {
  3723. if m == nil {
  3724. return 0
  3725. }
  3726. var l int
  3727. _ = l
  3728. if m.Id != 0 {
  3729. n += 1 + sovCapsule(uint64(m.Id))
  3730. }
  3731. if m.Status != 0 {
  3732. n += 1 + sovCapsule(uint64(m.Status))
  3733. }
  3734. if m.XXX_unrecognized != nil {
  3735. n += len(m.XXX_unrecognized)
  3736. }
  3737. return n
  3738. }
  3739. func (m *UpdateCoinStatusRespAdmin) Size() (n int) {
  3740. if m == nil {
  3741. return 0
  3742. }
  3743. var l int
  3744. _ = l
  3745. if m.Status {
  3746. n += 2
  3747. }
  3748. if m.XXX_unrecognized != nil {
  3749. n += len(m.XXX_unrecognized)
  3750. }
  3751. return n
  3752. }
  3753. func (m *DeleteCoinReqAdmin) Size() (n int) {
  3754. if m == nil {
  3755. return 0
  3756. }
  3757. var l int
  3758. _ = l
  3759. if m.Id != 0 {
  3760. n += 1 + sovCapsule(uint64(m.Id))
  3761. }
  3762. if m.XXX_unrecognized != nil {
  3763. n += len(m.XXX_unrecognized)
  3764. }
  3765. return n
  3766. }
  3767. func (m *DeleteCoinRespAdmin) Size() (n int) {
  3768. if m == nil {
  3769. return 0
  3770. }
  3771. var l int
  3772. _ = l
  3773. if m.Status {
  3774. n += 2
  3775. }
  3776. if m.XXX_unrecognized != nil {
  3777. n += len(m.XXX_unrecognized)
  3778. }
  3779. return n
  3780. }
  3781. func (m *GetPoolListReqAdmin) Size() (n int) {
  3782. if m == nil {
  3783. return 0
  3784. }
  3785. var l int
  3786. _ = l
  3787. if m.Page != 0 {
  3788. n += 1 + sovCapsule(uint64(m.Page))
  3789. }
  3790. if m.PageSize != 0 {
  3791. n += 1 + sovCapsule(uint64(m.PageSize))
  3792. }
  3793. if m.XXX_unrecognized != nil {
  3794. n += len(m.XXX_unrecognized)
  3795. }
  3796. return n
  3797. }
  3798. func (m *GetPoolListRespAdmin) Size() (n int) {
  3799. if m == nil {
  3800. return 0
  3801. }
  3802. var l int
  3803. _ = l
  3804. if m.Total != 0 {
  3805. n += 1 + sovCapsule(uint64(m.Total))
  3806. }
  3807. if m.TotalPage != 0 {
  3808. n += 1 + sovCapsule(uint64(m.TotalPage))
  3809. }
  3810. if len(m.List) > 0 {
  3811. for _, e := range m.List {
  3812. l = e.Size()
  3813. n += 1 + l + sovCapsule(uint64(l))
  3814. }
  3815. }
  3816. if m.XXX_unrecognized != nil {
  3817. n += len(m.XXX_unrecognized)
  3818. }
  3819. return n
  3820. }
  3821. func (m *GetPoolListRespAdmin_List) Size() (n int) {
  3822. if m == nil {
  3823. return 0
  3824. }
  3825. var l int
  3826. _ = l
  3827. if m.Id != 0 {
  3828. n += 1 + sovCapsule(uint64(m.Id))
  3829. }
  3830. if m.CoinId != 0 {
  3831. n += 1 + sovCapsule(uint64(m.CoinId))
  3832. }
  3833. l = len(m.Title)
  3834. if l > 0 {
  3835. n += 1 + l + sovCapsule(uint64(l))
  3836. }
  3837. l = len(m.StartTime)
  3838. if l > 0 {
  3839. n += 1 + l + sovCapsule(uint64(l))
  3840. }
  3841. l = len(m.EndTime)
  3842. if l > 0 {
  3843. n += 1 + l + sovCapsule(uint64(l))
  3844. }
  3845. if m.Status != 0 {
  3846. n += 1 + sovCapsule(uint64(m.Status))
  3847. }
  3848. l = len(m.Rule)
  3849. if l > 0 {
  3850. n += 1 + l + sovCapsule(uint64(l))
  3851. }
  3852. l = len(m.CoinTitle)
  3853. if l > 0 {
  3854. n += 1 + l + sovCapsule(uint64(l))
  3855. }
  3856. if m.XXX_unrecognized != nil {
  3857. n += len(m.XXX_unrecognized)
  3858. }
  3859. return n
  3860. }
  3861. func (m *UpdatePoolReqAdmin) Size() (n int) {
  3862. if m == nil {
  3863. return 0
  3864. }
  3865. var l int
  3866. _ = l
  3867. if m.Id != 0 {
  3868. n += 1 + sovCapsule(uint64(m.Id))
  3869. }
  3870. if m.CoinId != 0 {
  3871. n += 1 + sovCapsule(uint64(m.CoinId))
  3872. }
  3873. l = len(m.Title)
  3874. if l > 0 {
  3875. n += 1 + l + sovCapsule(uint64(l))
  3876. }
  3877. l = len(m.StartTime)
  3878. if l > 0 {
  3879. n += 1 + l + sovCapsule(uint64(l))
  3880. }
  3881. l = len(m.EndTime)
  3882. if l > 0 {
  3883. n += 1 + l + sovCapsule(uint64(l))
  3884. }
  3885. l = len(m.Rule)
  3886. if l > 0 {
  3887. n += 1 + l + sovCapsule(uint64(l))
  3888. }
  3889. if m.XXX_unrecognized != nil {
  3890. n += len(m.XXX_unrecognized)
  3891. }
  3892. return n
  3893. }
  3894. func (m *UpdatePoolRespAdmin) Size() (n int) {
  3895. if m == nil {
  3896. return 0
  3897. }
  3898. var l int
  3899. _ = l
  3900. if m.Status {
  3901. n += 2
  3902. }
  3903. if m.XXX_unrecognized != nil {
  3904. n += len(m.XXX_unrecognized)
  3905. }
  3906. return n
  3907. }
  3908. func (m *DeletePoolReqAdmin) Size() (n int) {
  3909. if m == nil {
  3910. return 0
  3911. }
  3912. var l int
  3913. _ = l
  3914. if m.Id != 0 {
  3915. n += 1 + sovCapsule(uint64(m.Id))
  3916. }
  3917. if m.XXX_unrecognized != nil {
  3918. n += len(m.XXX_unrecognized)
  3919. }
  3920. return n
  3921. }
  3922. func (m *DeletePoolRespAdmin) Size() (n int) {
  3923. if m == nil {
  3924. return 0
  3925. }
  3926. var l int
  3927. _ = l
  3928. if m.Status {
  3929. n += 2
  3930. }
  3931. if m.XXX_unrecognized != nil {
  3932. n += len(m.XXX_unrecognized)
  3933. }
  3934. return n
  3935. }
  3936. func (m *UpdatePoolStatusReqAdmin) Size() (n int) {
  3937. if m == nil {
  3938. return 0
  3939. }
  3940. var l int
  3941. _ = l
  3942. if m.Id != 0 {
  3943. n += 1 + sovCapsule(uint64(m.Id))
  3944. }
  3945. if m.Status != 0 {
  3946. n += 1 + sovCapsule(uint64(m.Status))
  3947. }
  3948. if m.XXX_unrecognized != nil {
  3949. n += len(m.XXX_unrecognized)
  3950. }
  3951. return n
  3952. }
  3953. func (m *UpdatePoolStatusRespAdmin) Size() (n int) {
  3954. if m == nil {
  3955. return 0
  3956. }
  3957. var l int
  3958. _ = l
  3959. if m.Status {
  3960. n += 2
  3961. }
  3962. if m.XXX_unrecognized != nil {
  3963. n += len(m.XXX_unrecognized)
  3964. }
  3965. return n
  3966. }
  3967. func (m *GetPoolPrizeReqAdmin) Size() (n int) {
  3968. if m == nil {
  3969. return 0
  3970. }
  3971. var l int
  3972. _ = l
  3973. if m.PoolId != 0 {
  3974. n += 1 + sovCapsule(uint64(m.PoolId))
  3975. }
  3976. if m.XXX_unrecognized != nil {
  3977. n += len(m.XXX_unrecognized)
  3978. }
  3979. return n
  3980. }
  3981. func (m *GetPoolPrizeRespAdmin) Size() (n int) {
  3982. if m == nil {
  3983. return 0
  3984. }
  3985. var l int
  3986. _ = l
  3987. if len(m.List) > 0 {
  3988. for _, e := range m.List {
  3989. l = e.Size()
  3990. n += 1 + l + sovCapsule(uint64(l))
  3991. }
  3992. }
  3993. if m.XXX_unrecognized != nil {
  3994. n += len(m.XXX_unrecognized)
  3995. }
  3996. return n
  3997. }
  3998. func (m *GetPoolPrizeRespAdmin_List) Size() (n int) {
  3999. if m == nil {
  4000. return 0
  4001. }
  4002. var l int
  4003. _ = l
  4004. if m.Id != 0 {
  4005. n += 1 + sovCapsule(uint64(m.Id))
  4006. }
  4007. if m.PoolId != 0 {
  4008. n += 1 + sovCapsule(uint64(m.PoolId))
  4009. }
  4010. if m.Type != 0 {
  4011. n += 1 + sovCapsule(uint64(m.Type))
  4012. }
  4013. if m.Num != 0 {
  4014. n += 1 + sovCapsule(uint64(m.Num))
  4015. }
  4016. if m.ObjectId != 0 {
  4017. n += 1 + sovCapsule(uint64(m.ObjectId))
  4018. }
  4019. l = len(m.WebUrl)
  4020. if l > 0 {
  4021. n += 1 + l + sovCapsule(uint64(l))
  4022. }
  4023. l = len(m.MobileUrl)
  4024. if l > 0 {
  4025. n += 1 + l + sovCapsule(uint64(l))
  4026. }
  4027. l = len(m.Description)
  4028. if l > 0 {
  4029. n += 1 + l + sovCapsule(uint64(l))
  4030. }
  4031. l = len(m.JumpUrl)
  4032. if l > 0 {
  4033. n += 1 + l + sovCapsule(uint64(l))
  4034. }
  4035. if m.ProType != 0 {
  4036. n += 1 + sovCapsule(uint64(m.ProType))
  4037. }
  4038. l = len(m.Chance)
  4039. if l > 0 {
  4040. n += 1 + l + sovCapsule(uint64(l))
  4041. }
  4042. if m.Loop != 0 {
  4043. n += 1 + sovCapsule(uint64(m.Loop))
  4044. }
  4045. if m.Limit != 0 {
  4046. n += 1 + sovCapsule(uint64(m.Limit))
  4047. }
  4048. l = len(m.Name)
  4049. if l > 0 {
  4050. n += 1 + l + sovCapsule(uint64(l))
  4051. }
  4052. if m.Weight != 0 {
  4053. n += 1 + sovCapsule(uint64(m.Weight))
  4054. }
  4055. l = len(m.WhiteUids)
  4056. if l > 0 {
  4057. n += 2 + l + sovCapsule(uint64(l))
  4058. }
  4059. if m.Expire != 0 {
  4060. n += 2 + sovCapsule(uint64(m.Expire))
  4061. }
  4062. if m.XXX_unrecognized != nil {
  4063. n += len(m.XXX_unrecognized)
  4064. }
  4065. return n
  4066. }
  4067. func (m *UpdatePoolPrizeReqAdmin) Size() (n int) {
  4068. if m == nil {
  4069. return 0
  4070. }
  4071. var l int
  4072. _ = l
  4073. if m.Id != 0 {
  4074. n += 1 + sovCapsule(uint64(m.Id))
  4075. }
  4076. if m.PoolId != 0 {
  4077. n += 1 + sovCapsule(uint64(m.PoolId))
  4078. }
  4079. if m.Type != 0 {
  4080. n += 1 + sovCapsule(uint64(m.Type))
  4081. }
  4082. if m.Num != 0 {
  4083. n += 1 + sovCapsule(uint64(m.Num))
  4084. }
  4085. if m.ObjectId != 0 {
  4086. n += 1 + sovCapsule(uint64(m.ObjectId))
  4087. }
  4088. if m.Expire != 0 {
  4089. n += 1 + sovCapsule(uint64(m.Expire))
  4090. }
  4091. l = len(m.WebUrl)
  4092. if l > 0 {
  4093. n += 1 + l + sovCapsule(uint64(l))
  4094. }
  4095. l = len(m.MobileUrl)
  4096. if l > 0 {
  4097. n += 1 + l + sovCapsule(uint64(l))
  4098. }
  4099. l = len(m.Description)
  4100. if l > 0 {
  4101. n += 1 + l + sovCapsule(uint64(l))
  4102. }
  4103. l = len(m.JumpUrl)
  4104. if l > 0 {
  4105. n += 1 + l + sovCapsule(uint64(l))
  4106. }
  4107. if m.ProType != 0 {
  4108. n += 1 + sovCapsule(uint64(m.ProType))
  4109. }
  4110. l = len(m.Chance)
  4111. if l > 0 {
  4112. n += 1 + l + sovCapsule(uint64(l))
  4113. }
  4114. if m.Loop != 0 {
  4115. n += 1 + sovCapsule(uint64(m.Loop))
  4116. }
  4117. if m.Limit != 0 {
  4118. n += 1 + sovCapsule(uint64(m.Limit))
  4119. }
  4120. if m.Weight != 0 {
  4121. n += 1 + sovCapsule(uint64(m.Weight))
  4122. }
  4123. l = len(m.WhiteUids)
  4124. if l > 0 {
  4125. n += 2 + l + sovCapsule(uint64(l))
  4126. }
  4127. if m.XXX_unrecognized != nil {
  4128. n += len(m.XXX_unrecognized)
  4129. }
  4130. return n
  4131. }
  4132. func (m *UpdatePoolPrizeRespAdmin) Size() (n int) {
  4133. if m == nil {
  4134. return 0
  4135. }
  4136. var l int
  4137. _ = l
  4138. if m.Status {
  4139. n += 2
  4140. }
  4141. if m.PrizeId != 0 {
  4142. n += 1 + sovCapsule(uint64(m.PrizeId))
  4143. }
  4144. if m.XXX_unrecognized != nil {
  4145. n += len(m.XXX_unrecognized)
  4146. }
  4147. return n
  4148. }
  4149. func (m *DeletePoolPrizeReqAdmin) Size() (n int) {
  4150. if m == nil {
  4151. return 0
  4152. }
  4153. var l int
  4154. _ = l
  4155. if m.Id != 0 {
  4156. n += 1 + sovCapsule(uint64(m.Id))
  4157. }
  4158. if m.XXX_unrecognized != nil {
  4159. n += len(m.XXX_unrecognized)
  4160. }
  4161. return n
  4162. }
  4163. func (m *DeletePoolPrizeRespAdmin) Size() (n int) {
  4164. if m == nil {
  4165. return 0
  4166. }
  4167. var l int
  4168. _ = l
  4169. if m.Status {
  4170. n += 2
  4171. }
  4172. if m.XXX_unrecognized != nil {
  4173. n += len(m.XXX_unrecognized)
  4174. }
  4175. return n
  4176. }
  4177. func (m *GetPrizeTypeReq) Size() (n int) {
  4178. if m == nil {
  4179. return 0
  4180. }
  4181. var l int
  4182. _ = l
  4183. if m.XXX_unrecognized != nil {
  4184. n += len(m.XXX_unrecognized)
  4185. }
  4186. return n
  4187. }
  4188. func (m *GetPrizeTypeResp) Size() (n int) {
  4189. if m == nil {
  4190. return 0
  4191. }
  4192. var l int
  4193. _ = l
  4194. if len(m.List) > 0 {
  4195. for _, e := range m.List {
  4196. l = e.Size()
  4197. n += 1 + l + sovCapsule(uint64(l))
  4198. }
  4199. }
  4200. if m.XXX_unrecognized != nil {
  4201. n += len(m.XXX_unrecognized)
  4202. }
  4203. return n
  4204. }
  4205. func (m *GetPrizeTypeResp_List) Size() (n int) {
  4206. if m == nil {
  4207. return 0
  4208. }
  4209. var l int
  4210. _ = l
  4211. if m.Type != 0 {
  4212. n += 1 + sovCapsule(uint64(m.Type))
  4213. }
  4214. l = len(m.Name)
  4215. if l > 0 {
  4216. n += 1 + l + sovCapsule(uint64(l))
  4217. }
  4218. if m.XXX_unrecognized != nil {
  4219. n += len(m.XXX_unrecognized)
  4220. }
  4221. return n
  4222. }
  4223. func (m *GetPrizeExpireReq) Size() (n int) {
  4224. if m == nil {
  4225. return 0
  4226. }
  4227. var l int
  4228. _ = l
  4229. if m.XXX_unrecognized != nil {
  4230. n += len(m.XXX_unrecognized)
  4231. }
  4232. return n
  4233. }
  4234. func (m *GetPrizeExpireResp) Size() (n int) {
  4235. if m == nil {
  4236. return 0
  4237. }
  4238. var l int
  4239. _ = l
  4240. if len(m.List) > 0 {
  4241. for _, e := range m.List {
  4242. l = e.Size()
  4243. n += 1 + l + sovCapsule(uint64(l))
  4244. }
  4245. }
  4246. if m.XXX_unrecognized != nil {
  4247. n += len(m.XXX_unrecognized)
  4248. }
  4249. return n
  4250. }
  4251. func (m *GetPrizeExpireResp_List) Size() (n int) {
  4252. if m == nil {
  4253. return 0
  4254. }
  4255. var l int
  4256. _ = l
  4257. if m.Expire != 0 {
  4258. n += 1 + sovCapsule(uint64(m.Expire))
  4259. }
  4260. l = len(m.Name)
  4261. if l > 0 {
  4262. n += 1 + l + sovCapsule(uint64(l))
  4263. }
  4264. if m.XXX_unrecognized != nil {
  4265. n += len(m.XXX_unrecognized)
  4266. }
  4267. return n
  4268. }
  4269. func (m *CapsuleGetCouponListReq) Size() (n int) {
  4270. if m == nil {
  4271. return 0
  4272. }
  4273. var l int
  4274. _ = l
  4275. if m.Uid != 0 {
  4276. n += 1 + sovCapsule(uint64(m.Uid))
  4277. }
  4278. if m.XXX_unrecognized != nil {
  4279. n += len(m.XXX_unrecognized)
  4280. }
  4281. return n
  4282. }
  4283. func (m *CapsuleGetCouponListResp) Size() (n int) {
  4284. if m == nil {
  4285. return 0
  4286. }
  4287. var l int
  4288. _ = l
  4289. if len(m.List) > 0 {
  4290. for _, e := range m.List {
  4291. l = e.Size()
  4292. n += 1 + l + sovCapsule(uint64(l))
  4293. }
  4294. }
  4295. if m.XXX_unrecognized != nil {
  4296. n += len(m.XXX_unrecognized)
  4297. }
  4298. return n
  4299. }
  4300. func (m *CapsuleGetCouponListResp_List) Size() (n int) {
  4301. if m == nil {
  4302. return 0
  4303. }
  4304. var l int
  4305. _ = l
  4306. if m.Uid != 0 {
  4307. n += 1 + sovCapsule(uint64(m.Uid))
  4308. }
  4309. l = len(m.AwardTime)
  4310. if l > 0 {
  4311. n += 1 + l + sovCapsule(uint64(l))
  4312. }
  4313. l = len(m.AwardName)
  4314. if l > 0 {
  4315. n += 1 + l + sovCapsule(uint64(l))
  4316. }
  4317. l = len(m.AwardCode)
  4318. if l > 0 {
  4319. n += 1 + l + sovCapsule(uint64(l))
  4320. }
  4321. if m.Status != 0 {
  4322. n += 1 + sovCapsule(uint64(m.Status))
  4323. }
  4324. l = len(m.RetryTime)
  4325. if l > 0 {
  4326. n += 1 + l + sovCapsule(uint64(l))
  4327. }
  4328. if m.XXX_unrecognized != nil {
  4329. n += len(m.XXX_unrecognized)
  4330. }
  4331. return n
  4332. }
  4333. func sovCapsule(x uint64) (n int) {
  4334. for {
  4335. n++
  4336. x >>= 7
  4337. if x == 0 {
  4338. break
  4339. }
  4340. }
  4341. return n
  4342. }
  4343. func sozCapsule(x uint64) (n int) {
  4344. return sovCapsule(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  4345. }
  4346. func (m *GetCoinListReqAdmin) Unmarshal(dAtA []byte) error {
  4347. l := len(dAtA)
  4348. iNdEx := 0
  4349. for iNdEx < l {
  4350. preIndex := iNdEx
  4351. var wire uint64
  4352. for shift := uint(0); ; shift += 7 {
  4353. if shift >= 64 {
  4354. return ErrIntOverflowCapsule
  4355. }
  4356. if iNdEx >= l {
  4357. return io.ErrUnexpectedEOF
  4358. }
  4359. b := dAtA[iNdEx]
  4360. iNdEx++
  4361. wire |= (uint64(b) & 0x7F) << shift
  4362. if b < 0x80 {
  4363. break
  4364. }
  4365. }
  4366. fieldNum := int32(wire >> 3)
  4367. wireType := int(wire & 0x7)
  4368. if wireType == 4 {
  4369. return fmt.Errorf("proto: GetCoinListReqAdmin: wiretype end group for non-group")
  4370. }
  4371. if fieldNum <= 0 {
  4372. return fmt.Errorf("proto: GetCoinListReqAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  4373. }
  4374. switch fieldNum {
  4375. case 1:
  4376. if wireType != 0 {
  4377. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  4378. }
  4379. m.Page = 0
  4380. for shift := uint(0); ; shift += 7 {
  4381. if shift >= 64 {
  4382. return ErrIntOverflowCapsule
  4383. }
  4384. if iNdEx >= l {
  4385. return io.ErrUnexpectedEOF
  4386. }
  4387. b := dAtA[iNdEx]
  4388. iNdEx++
  4389. m.Page |= (int64(b) & 0x7F) << shift
  4390. if b < 0x80 {
  4391. break
  4392. }
  4393. }
  4394. case 2:
  4395. if wireType != 0 {
  4396. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  4397. }
  4398. m.PageSize = 0
  4399. for shift := uint(0); ; shift += 7 {
  4400. if shift >= 64 {
  4401. return ErrIntOverflowCapsule
  4402. }
  4403. if iNdEx >= l {
  4404. return io.ErrUnexpectedEOF
  4405. }
  4406. b := dAtA[iNdEx]
  4407. iNdEx++
  4408. m.PageSize |= (int64(b) & 0x7F) << shift
  4409. if b < 0x80 {
  4410. break
  4411. }
  4412. }
  4413. default:
  4414. iNdEx = preIndex
  4415. skippy, err := skipCapsule(dAtA[iNdEx:])
  4416. if err != nil {
  4417. return err
  4418. }
  4419. if skippy < 0 {
  4420. return ErrInvalidLengthCapsule
  4421. }
  4422. if (iNdEx + skippy) > l {
  4423. return io.ErrUnexpectedEOF
  4424. }
  4425. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4426. iNdEx += skippy
  4427. }
  4428. }
  4429. if iNdEx > l {
  4430. return io.ErrUnexpectedEOF
  4431. }
  4432. return nil
  4433. }
  4434. func (m *GetCoinListRespAdmin) Unmarshal(dAtA []byte) error {
  4435. l := len(dAtA)
  4436. iNdEx := 0
  4437. for iNdEx < l {
  4438. preIndex := iNdEx
  4439. var wire uint64
  4440. for shift := uint(0); ; shift += 7 {
  4441. if shift >= 64 {
  4442. return ErrIntOverflowCapsule
  4443. }
  4444. if iNdEx >= l {
  4445. return io.ErrUnexpectedEOF
  4446. }
  4447. b := dAtA[iNdEx]
  4448. iNdEx++
  4449. wire |= (uint64(b) & 0x7F) << shift
  4450. if b < 0x80 {
  4451. break
  4452. }
  4453. }
  4454. fieldNum := int32(wire >> 3)
  4455. wireType := int(wire & 0x7)
  4456. if wireType == 4 {
  4457. return fmt.Errorf("proto: GetCoinListRespAdmin: wiretype end group for non-group")
  4458. }
  4459. if fieldNum <= 0 {
  4460. return fmt.Errorf("proto: GetCoinListRespAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  4461. }
  4462. switch fieldNum {
  4463. case 1:
  4464. if wireType != 0 {
  4465. return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
  4466. }
  4467. m.Total = 0
  4468. for shift := uint(0); ; shift += 7 {
  4469. if shift >= 64 {
  4470. return ErrIntOverflowCapsule
  4471. }
  4472. if iNdEx >= l {
  4473. return io.ErrUnexpectedEOF
  4474. }
  4475. b := dAtA[iNdEx]
  4476. iNdEx++
  4477. m.Total |= (int64(b) & 0x7F) << shift
  4478. if b < 0x80 {
  4479. break
  4480. }
  4481. }
  4482. case 2:
  4483. if wireType != 0 {
  4484. return fmt.Errorf("proto: wrong wireType = %d for field TotalPage", wireType)
  4485. }
  4486. m.TotalPage = 0
  4487. for shift := uint(0); ; shift += 7 {
  4488. if shift >= 64 {
  4489. return ErrIntOverflowCapsule
  4490. }
  4491. if iNdEx >= l {
  4492. return io.ErrUnexpectedEOF
  4493. }
  4494. b := dAtA[iNdEx]
  4495. iNdEx++
  4496. m.TotalPage |= (int64(b) & 0x7F) << shift
  4497. if b < 0x80 {
  4498. break
  4499. }
  4500. }
  4501. case 3:
  4502. if wireType != 2 {
  4503. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  4504. }
  4505. var msglen int
  4506. for shift := uint(0); ; shift += 7 {
  4507. if shift >= 64 {
  4508. return ErrIntOverflowCapsule
  4509. }
  4510. if iNdEx >= l {
  4511. return io.ErrUnexpectedEOF
  4512. }
  4513. b := dAtA[iNdEx]
  4514. iNdEx++
  4515. msglen |= (int(b) & 0x7F) << shift
  4516. if b < 0x80 {
  4517. break
  4518. }
  4519. }
  4520. if msglen < 0 {
  4521. return ErrInvalidLengthCapsule
  4522. }
  4523. postIndex := iNdEx + msglen
  4524. if postIndex > l {
  4525. return io.ErrUnexpectedEOF
  4526. }
  4527. m.List = append(m.List, &GetCoinListRespAdmin_List{})
  4528. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4529. return err
  4530. }
  4531. iNdEx = postIndex
  4532. default:
  4533. iNdEx = preIndex
  4534. skippy, err := skipCapsule(dAtA[iNdEx:])
  4535. if err != nil {
  4536. return err
  4537. }
  4538. if skippy < 0 {
  4539. return ErrInvalidLengthCapsule
  4540. }
  4541. if (iNdEx + skippy) > l {
  4542. return io.ErrUnexpectedEOF
  4543. }
  4544. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4545. iNdEx += skippy
  4546. }
  4547. }
  4548. if iNdEx > l {
  4549. return io.ErrUnexpectedEOF
  4550. }
  4551. return nil
  4552. }
  4553. func (m *GetCoinListRespAdmin_List) Unmarshal(dAtA []byte) error {
  4554. l := len(dAtA)
  4555. iNdEx := 0
  4556. for iNdEx < l {
  4557. preIndex := iNdEx
  4558. var wire uint64
  4559. for shift := uint(0); ; shift += 7 {
  4560. if shift >= 64 {
  4561. return ErrIntOverflowCapsule
  4562. }
  4563. if iNdEx >= l {
  4564. return io.ErrUnexpectedEOF
  4565. }
  4566. b := dAtA[iNdEx]
  4567. iNdEx++
  4568. wire |= (uint64(b) & 0x7F) << shift
  4569. if b < 0x80 {
  4570. break
  4571. }
  4572. }
  4573. fieldNum := int32(wire >> 3)
  4574. wireType := int(wire & 0x7)
  4575. if wireType == 4 {
  4576. return fmt.Errorf("proto: List: wiretype end group for non-group")
  4577. }
  4578. if fieldNum <= 0 {
  4579. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  4580. }
  4581. switch fieldNum {
  4582. case 1:
  4583. if wireType != 0 {
  4584. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  4585. }
  4586. m.Id = 0
  4587. for shift := uint(0); ; shift += 7 {
  4588. if shift >= 64 {
  4589. return ErrIntOverflowCapsule
  4590. }
  4591. if iNdEx >= l {
  4592. return io.ErrUnexpectedEOF
  4593. }
  4594. b := dAtA[iNdEx]
  4595. iNdEx++
  4596. m.Id |= (int64(b) & 0x7F) << shift
  4597. if b < 0x80 {
  4598. break
  4599. }
  4600. }
  4601. case 2:
  4602. if wireType != 2 {
  4603. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  4604. }
  4605. var stringLen uint64
  4606. for shift := uint(0); ; shift += 7 {
  4607. if shift >= 64 {
  4608. return ErrIntOverflowCapsule
  4609. }
  4610. if iNdEx >= l {
  4611. return io.ErrUnexpectedEOF
  4612. }
  4613. b := dAtA[iNdEx]
  4614. iNdEx++
  4615. stringLen |= (uint64(b) & 0x7F) << shift
  4616. if b < 0x80 {
  4617. break
  4618. }
  4619. }
  4620. intStringLen := int(stringLen)
  4621. if intStringLen < 0 {
  4622. return ErrInvalidLengthCapsule
  4623. }
  4624. postIndex := iNdEx + intStringLen
  4625. if postIndex > l {
  4626. return io.ErrUnexpectedEOF
  4627. }
  4628. m.Title = string(dAtA[iNdEx:postIndex])
  4629. iNdEx = postIndex
  4630. case 3:
  4631. if wireType != 0 {
  4632. return fmt.Errorf("proto: wrong wireType = %d for field ChangeNum", wireType)
  4633. }
  4634. m.ChangeNum = 0
  4635. for shift := uint(0); ; shift += 7 {
  4636. if shift >= 64 {
  4637. return ErrIntOverflowCapsule
  4638. }
  4639. if iNdEx >= l {
  4640. return io.ErrUnexpectedEOF
  4641. }
  4642. b := dAtA[iNdEx]
  4643. iNdEx++
  4644. m.ChangeNum |= (int64(b) & 0x7F) << shift
  4645. if b < 0x80 {
  4646. break
  4647. }
  4648. }
  4649. case 4:
  4650. if wireType != 2 {
  4651. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  4652. }
  4653. var stringLen uint64
  4654. for shift := uint(0); ; shift += 7 {
  4655. if shift >= 64 {
  4656. return ErrIntOverflowCapsule
  4657. }
  4658. if iNdEx >= l {
  4659. return io.ErrUnexpectedEOF
  4660. }
  4661. b := dAtA[iNdEx]
  4662. iNdEx++
  4663. stringLen |= (uint64(b) & 0x7F) << shift
  4664. if b < 0x80 {
  4665. break
  4666. }
  4667. }
  4668. intStringLen := int(stringLen)
  4669. if intStringLen < 0 {
  4670. return ErrInvalidLengthCapsule
  4671. }
  4672. postIndex := iNdEx + intStringLen
  4673. if postIndex > l {
  4674. return io.ErrUnexpectedEOF
  4675. }
  4676. m.StartTime = string(dAtA[iNdEx:postIndex])
  4677. iNdEx = postIndex
  4678. case 5:
  4679. if wireType != 2 {
  4680. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  4681. }
  4682. var stringLen uint64
  4683. for shift := uint(0); ; shift += 7 {
  4684. if shift >= 64 {
  4685. return ErrIntOverflowCapsule
  4686. }
  4687. if iNdEx >= l {
  4688. return io.ErrUnexpectedEOF
  4689. }
  4690. b := dAtA[iNdEx]
  4691. iNdEx++
  4692. stringLen |= (uint64(b) & 0x7F) << shift
  4693. if b < 0x80 {
  4694. break
  4695. }
  4696. }
  4697. intStringLen := int(stringLen)
  4698. if intStringLen < 0 {
  4699. return ErrInvalidLengthCapsule
  4700. }
  4701. postIndex := iNdEx + intStringLen
  4702. if postIndex > l {
  4703. return io.ErrUnexpectedEOF
  4704. }
  4705. m.EndTime = string(dAtA[iNdEx:postIndex])
  4706. iNdEx = postIndex
  4707. case 6:
  4708. if wireType != 0 {
  4709. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4710. }
  4711. m.Status = 0
  4712. for shift := uint(0); ; shift += 7 {
  4713. if shift >= 64 {
  4714. return ErrIntOverflowCapsule
  4715. }
  4716. if iNdEx >= l {
  4717. return io.ErrUnexpectedEOF
  4718. }
  4719. b := dAtA[iNdEx]
  4720. iNdEx++
  4721. m.Status |= (int64(b) & 0x7F) << shift
  4722. if b < 0x80 {
  4723. break
  4724. }
  4725. }
  4726. case 7:
  4727. if wireType != 0 {
  4728. return fmt.Errorf("proto: wrong wireType = %d for field GiftType", wireType)
  4729. }
  4730. m.GiftType = 0
  4731. for shift := uint(0); ; shift += 7 {
  4732. if shift >= 64 {
  4733. return ErrIntOverflowCapsule
  4734. }
  4735. if iNdEx >= l {
  4736. return io.ErrUnexpectedEOF
  4737. }
  4738. b := dAtA[iNdEx]
  4739. iNdEx++
  4740. m.GiftType |= (int64(b) & 0x7F) << shift
  4741. if b < 0x80 {
  4742. break
  4743. }
  4744. }
  4745. case 8:
  4746. if wireType != 2 {
  4747. return fmt.Errorf("proto: wrong wireType = %d for field GiftConfig", wireType)
  4748. }
  4749. var stringLen uint64
  4750. for shift := uint(0); ; shift += 7 {
  4751. if shift >= 64 {
  4752. return ErrIntOverflowCapsule
  4753. }
  4754. if iNdEx >= l {
  4755. return io.ErrUnexpectedEOF
  4756. }
  4757. b := dAtA[iNdEx]
  4758. iNdEx++
  4759. stringLen |= (uint64(b) & 0x7F) << shift
  4760. if b < 0x80 {
  4761. break
  4762. }
  4763. }
  4764. intStringLen := int(stringLen)
  4765. if intStringLen < 0 {
  4766. return ErrInvalidLengthCapsule
  4767. }
  4768. postIndex := iNdEx + intStringLen
  4769. if postIndex > l {
  4770. return io.ErrUnexpectedEOF
  4771. }
  4772. m.GiftConfig = string(dAtA[iNdEx:postIndex])
  4773. iNdEx = postIndex
  4774. case 9:
  4775. if wireType != 2 {
  4776. return fmt.Errorf("proto: wrong wireType = %d for field AreaIds", wireType)
  4777. }
  4778. var msglen int
  4779. for shift := uint(0); ; shift += 7 {
  4780. if shift >= 64 {
  4781. return ErrIntOverflowCapsule
  4782. }
  4783. if iNdEx >= l {
  4784. return io.ErrUnexpectedEOF
  4785. }
  4786. b := dAtA[iNdEx]
  4787. iNdEx++
  4788. msglen |= (int(b) & 0x7F) << shift
  4789. if b < 0x80 {
  4790. break
  4791. }
  4792. }
  4793. if msglen < 0 {
  4794. return ErrInvalidLengthCapsule
  4795. }
  4796. postIndex := iNdEx + msglen
  4797. if postIndex > l {
  4798. return io.ErrUnexpectedEOF
  4799. }
  4800. m.AreaIds = append(m.AreaIds, &GetCoinListRespAdmin_List_AreaIds{})
  4801. if err := m.AreaIds[len(m.AreaIds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4802. return err
  4803. }
  4804. iNdEx = postIndex
  4805. default:
  4806. iNdEx = preIndex
  4807. skippy, err := skipCapsule(dAtA[iNdEx:])
  4808. if err != nil {
  4809. return err
  4810. }
  4811. if skippy < 0 {
  4812. return ErrInvalidLengthCapsule
  4813. }
  4814. if (iNdEx + skippy) > l {
  4815. return io.ErrUnexpectedEOF
  4816. }
  4817. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4818. iNdEx += skippy
  4819. }
  4820. }
  4821. if iNdEx > l {
  4822. return io.ErrUnexpectedEOF
  4823. }
  4824. return nil
  4825. }
  4826. func (m *GetCoinListRespAdmin_List_AreaIds) Unmarshal(dAtA []byte) error {
  4827. l := len(dAtA)
  4828. iNdEx := 0
  4829. for iNdEx < l {
  4830. preIndex := iNdEx
  4831. var wire uint64
  4832. for shift := uint(0); ; shift += 7 {
  4833. if shift >= 64 {
  4834. return ErrIntOverflowCapsule
  4835. }
  4836. if iNdEx >= l {
  4837. return io.ErrUnexpectedEOF
  4838. }
  4839. b := dAtA[iNdEx]
  4840. iNdEx++
  4841. wire |= (uint64(b) & 0x7F) << shift
  4842. if b < 0x80 {
  4843. break
  4844. }
  4845. }
  4846. fieldNum := int32(wire >> 3)
  4847. wireType := int(wire & 0x7)
  4848. if wireType == 4 {
  4849. return fmt.Errorf("proto: Area_ids: wiretype end group for non-group")
  4850. }
  4851. if fieldNum <= 0 {
  4852. return fmt.Errorf("proto: Area_ids: illegal tag %d (wire type %d)", fieldNum, wire)
  4853. }
  4854. switch fieldNum {
  4855. case 1:
  4856. if wireType != 0 {
  4857. return fmt.Errorf("proto: wrong wireType = %d for field ParentId", wireType)
  4858. }
  4859. m.ParentId = 0
  4860. for shift := uint(0); ; shift += 7 {
  4861. if shift >= 64 {
  4862. return ErrIntOverflowCapsule
  4863. }
  4864. if iNdEx >= l {
  4865. return io.ErrUnexpectedEOF
  4866. }
  4867. b := dAtA[iNdEx]
  4868. iNdEx++
  4869. m.ParentId |= (int64(b) & 0x7F) << shift
  4870. if b < 0x80 {
  4871. break
  4872. }
  4873. }
  4874. case 2:
  4875. if wireType != 0 {
  4876. return fmt.Errorf("proto: wrong wireType = %d for field IsAll", wireType)
  4877. }
  4878. m.IsAll = 0
  4879. for shift := uint(0); ; shift += 7 {
  4880. if shift >= 64 {
  4881. return ErrIntOverflowCapsule
  4882. }
  4883. if iNdEx >= l {
  4884. return io.ErrUnexpectedEOF
  4885. }
  4886. b := dAtA[iNdEx]
  4887. iNdEx++
  4888. m.IsAll |= (int64(b) & 0x7F) << shift
  4889. if b < 0x80 {
  4890. break
  4891. }
  4892. }
  4893. case 3:
  4894. if wireType == 0 {
  4895. var v int64
  4896. for shift := uint(0); ; shift += 7 {
  4897. if shift >= 64 {
  4898. return ErrIntOverflowCapsule
  4899. }
  4900. if iNdEx >= l {
  4901. return io.ErrUnexpectedEOF
  4902. }
  4903. b := dAtA[iNdEx]
  4904. iNdEx++
  4905. v |= (int64(b) & 0x7F) << shift
  4906. if b < 0x80 {
  4907. break
  4908. }
  4909. }
  4910. m.List = append(m.List, v)
  4911. } else if wireType == 2 {
  4912. var packedLen int
  4913. for shift := uint(0); ; shift += 7 {
  4914. if shift >= 64 {
  4915. return ErrIntOverflowCapsule
  4916. }
  4917. if iNdEx >= l {
  4918. return io.ErrUnexpectedEOF
  4919. }
  4920. b := dAtA[iNdEx]
  4921. iNdEx++
  4922. packedLen |= (int(b) & 0x7F) << shift
  4923. if b < 0x80 {
  4924. break
  4925. }
  4926. }
  4927. if packedLen < 0 {
  4928. return ErrInvalidLengthCapsule
  4929. }
  4930. postIndex := iNdEx + packedLen
  4931. if postIndex > l {
  4932. return io.ErrUnexpectedEOF
  4933. }
  4934. var elementCount int
  4935. var count int
  4936. for _, integer := range dAtA {
  4937. if integer < 128 {
  4938. count++
  4939. }
  4940. }
  4941. elementCount = count
  4942. if elementCount != 0 && len(m.List) == 0 {
  4943. m.List = make([]int64, 0, elementCount)
  4944. }
  4945. for iNdEx < postIndex {
  4946. var v int64
  4947. for shift := uint(0); ; shift += 7 {
  4948. if shift >= 64 {
  4949. return ErrIntOverflowCapsule
  4950. }
  4951. if iNdEx >= l {
  4952. return io.ErrUnexpectedEOF
  4953. }
  4954. b := dAtA[iNdEx]
  4955. iNdEx++
  4956. v |= (int64(b) & 0x7F) << shift
  4957. if b < 0x80 {
  4958. break
  4959. }
  4960. }
  4961. m.List = append(m.List, v)
  4962. }
  4963. } else {
  4964. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  4965. }
  4966. default:
  4967. iNdEx = preIndex
  4968. skippy, err := skipCapsule(dAtA[iNdEx:])
  4969. if err != nil {
  4970. return err
  4971. }
  4972. if skippy < 0 {
  4973. return ErrInvalidLengthCapsule
  4974. }
  4975. if (iNdEx + skippy) > l {
  4976. return io.ErrUnexpectedEOF
  4977. }
  4978. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4979. iNdEx += skippy
  4980. }
  4981. }
  4982. if iNdEx > l {
  4983. return io.ErrUnexpectedEOF
  4984. }
  4985. return nil
  4986. }
  4987. func (m *UpdateCoinConfigReqAdmin) Unmarshal(dAtA []byte) error {
  4988. l := len(dAtA)
  4989. iNdEx := 0
  4990. for iNdEx < l {
  4991. preIndex := iNdEx
  4992. var wire uint64
  4993. for shift := uint(0); ; shift += 7 {
  4994. if shift >= 64 {
  4995. return ErrIntOverflowCapsule
  4996. }
  4997. if iNdEx >= l {
  4998. return io.ErrUnexpectedEOF
  4999. }
  5000. b := dAtA[iNdEx]
  5001. iNdEx++
  5002. wire |= (uint64(b) & 0x7F) << shift
  5003. if b < 0x80 {
  5004. break
  5005. }
  5006. }
  5007. fieldNum := int32(wire >> 3)
  5008. wireType := int(wire & 0x7)
  5009. if wireType == 4 {
  5010. return fmt.Errorf("proto: UpdateCoinConfigReqAdmin: wiretype end group for non-group")
  5011. }
  5012. if fieldNum <= 0 {
  5013. return fmt.Errorf("proto: UpdateCoinConfigReqAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  5014. }
  5015. switch fieldNum {
  5016. case 1:
  5017. if wireType != 0 {
  5018. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  5019. }
  5020. m.Id = 0
  5021. for shift := uint(0); ; shift += 7 {
  5022. if shift >= 64 {
  5023. return ErrIntOverflowCapsule
  5024. }
  5025. if iNdEx >= l {
  5026. return io.ErrUnexpectedEOF
  5027. }
  5028. b := dAtA[iNdEx]
  5029. iNdEx++
  5030. m.Id |= (int64(b) & 0x7F) << shift
  5031. if b < 0x80 {
  5032. break
  5033. }
  5034. }
  5035. case 2:
  5036. if wireType != 2 {
  5037. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  5038. }
  5039. var stringLen uint64
  5040. for shift := uint(0); ; shift += 7 {
  5041. if shift >= 64 {
  5042. return ErrIntOverflowCapsule
  5043. }
  5044. if iNdEx >= l {
  5045. return io.ErrUnexpectedEOF
  5046. }
  5047. b := dAtA[iNdEx]
  5048. iNdEx++
  5049. stringLen |= (uint64(b) & 0x7F) << shift
  5050. if b < 0x80 {
  5051. break
  5052. }
  5053. }
  5054. intStringLen := int(stringLen)
  5055. if intStringLen < 0 {
  5056. return ErrInvalidLengthCapsule
  5057. }
  5058. postIndex := iNdEx + intStringLen
  5059. if postIndex > l {
  5060. return io.ErrUnexpectedEOF
  5061. }
  5062. m.Title = string(dAtA[iNdEx:postIndex])
  5063. iNdEx = postIndex
  5064. case 3:
  5065. if wireType != 0 {
  5066. return fmt.Errorf("proto: wrong wireType = %d for field ChangeNum", wireType)
  5067. }
  5068. m.ChangeNum = 0
  5069. for shift := uint(0); ; shift += 7 {
  5070. if shift >= 64 {
  5071. return ErrIntOverflowCapsule
  5072. }
  5073. if iNdEx >= l {
  5074. return io.ErrUnexpectedEOF
  5075. }
  5076. b := dAtA[iNdEx]
  5077. iNdEx++
  5078. m.ChangeNum |= (int64(b) & 0x7F) << shift
  5079. if b < 0x80 {
  5080. break
  5081. }
  5082. }
  5083. case 4:
  5084. if wireType != 2 {
  5085. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  5086. }
  5087. var stringLen uint64
  5088. for shift := uint(0); ; shift += 7 {
  5089. if shift >= 64 {
  5090. return ErrIntOverflowCapsule
  5091. }
  5092. if iNdEx >= l {
  5093. return io.ErrUnexpectedEOF
  5094. }
  5095. b := dAtA[iNdEx]
  5096. iNdEx++
  5097. stringLen |= (uint64(b) & 0x7F) << shift
  5098. if b < 0x80 {
  5099. break
  5100. }
  5101. }
  5102. intStringLen := int(stringLen)
  5103. if intStringLen < 0 {
  5104. return ErrInvalidLengthCapsule
  5105. }
  5106. postIndex := iNdEx + intStringLen
  5107. if postIndex > l {
  5108. return io.ErrUnexpectedEOF
  5109. }
  5110. m.StartTime = string(dAtA[iNdEx:postIndex])
  5111. iNdEx = postIndex
  5112. case 5:
  5113. if wireType != 2 {
  5114. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  5115. }
  5116. var stringLen uint64
  5117. for shift := uint(0); ; shift += 7 {
  5118. if shift >= 64 {
  5119. return ErrIntOverflowCapsule
  5120. }
  5121. if iNdEx >= l {
  5122. return io.ErrUnexpectedEOF
  5123. }
  5124. b := dAtA[iNdEx]
  5125. iNdEx++
  5126. stringLen |= (uint64(b) & 0x7F) << shift
  5127. if b < 0x80 {
  5128. break
  5129. }
  5130. }
  5131. intStringLen := int(stringLen)
  5132. if intStringLen < 0 {
  5133. return ErrInvalidLengthCapsule
  5134. }
  5135. postIndex := iNdEx + intStringLen
  5136. if postIndex > l {
  5137. return io.ErrUnexpectedEOF
  5138. }
  5139. m.EndTime = string(dAtA[iNdEx:postIndex])
  5140. iNdEx = postIndex
  5141. case 6:
  5142. if wireType != 0 {
  5143. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5144. }
  5145. m.Status = 0
  5146. for shift := uint(0); ; shift += 7 {
  5147. if shift >= 64 {
  5148. return ErrIntOverflowCapsule
  5149. }
  5150. if iNdEx >= l {
  5151. return io.ErrUnexpectedEOF
  5152. }
  5153. b := dAtA[iNdEx]
  5154. iNdEx++
  5155. m.Status |= (int64(b) & 0x7F) << shift
  5156. if b < 0x80 {
  5157. break
  5158. }
  5159. }
  5160. case 7:
  5161. if wireType != 0 {
  5162. return fmt.Errorf("proto: wrong wireType = %d for field GiftType", wireType)
  5163. }
  5164. m.GiftType = 0
  5165. for shift := uint(0); ; shift += 7 {
  5166. if shift >= 64 {
  5167. return ErrIntOverflowCapsule
  5168. }
  5169. if iNdEx >= l {
  5170. return io.ErrUnexpectedEOF
  5171. }
  5172. b := dAtA[iNdEx]
  5173. iNdEx++
  5174. m.GiftType |= (int64(b) & 0x7F) << shift
  5175. if b < 0x80 {
  5176. break
  5177. }
  5178. }
  5179. case 8:
  5180. if wireType != 2 {
  5181. return fmt.Errorf("proto: wrong wireType = %d for field GiftConfig", wireType)
  5182. }
  5183. var stringLen uint64
  5184. for shift := uint(0); ; shift += 7 {
  5185. if shift >= 64 {
  5186. return ErrIntOverflowCapsule
  5187. }
  5188. if iNdEx >= l {
  5189. return io.ErrUnexpectedEOF
  5190. }
  5191. b := dAtA[iNdEx]
  5192. iNdEx++
  5193. stringLen |= (uint64(b) & 0x7F) << shift
  5194. if b < 0x80 {
  5195. break
  5196. }
  5197. }
  5198. intStringLen := int(stringLen)
  5199. if intStringLen < 0 {
  5200. return ErrInvalidLengthCapsule
  5201. }
  5202. postIndex := iNdEx + intStringLen
  5203. if postIndex > l {
  5204. return io.ErrUnexpectedEOF
  5205. }
  5206. m.GiftConfig = string(dAtA[iNdEx:postIndex])
  5207. iNdEx = postIndex
  5208. case 9:
  5209. if wireType != 2 {
  5210. return fmt.Errorf("proto: wrong wireType = %d for field AreaIds", wireType)
  5211. }
  5212. var stringLen uint64
  5213. for shift := uint(0); ; shift += 7 {
  5214. if shift >= 64 {
  5215. return ErrIntOverflowCapsule
  5216. }
  5217. if iNdEx >= l {
  5218. return io.ErrUnexpectedEOF
  5219. }
  5220. b := dAtA[iNdEx]
  5221. iNdEx++
  5222. stringLen |= (uint64(b) & 0x7F) << shift
  5223. if b < 0x80 {
  5224. break
  5225. }
  5226. }
  5227. intStringLen := int(stringLen)
  5228. if intStringLen < 0 {
  5229. return ErrInvalidLengthCapsule
  5230. }
  5231. postIndex := iNdEx + intStringLen
  5232. if postIndex > l {
  5233. return io.ErrUnexpectedEOF
  5234. }
  5235. m.AreaIds = string(dAtA[iNdEx:postIndex])
  5236. iNdEx = postIndex
  5237. default:
  5238. iNdEx = preIndex
  5239. skippy, err := skipCapsule(dAtA[iNdEx:])
  5240. if err != nil {
  5241. return err
  5242. }
  5243. if skippy < 0 {
  5244. return ErrInvalidLengthCapsule
  5245. }
  5246. if (iNdEx + skippy) > l {
  5247. return io.ErrUnexpectedEOF
  5248. }
  5249. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5250. iNdEx += skippy
  5251. }
  5252. }
  5253. if iNdEx > l {
  5254. return io.ErrUnexpectedEOF
  5255. }
  5256. return nil
  5257. }
  5258. func (m *UpdateCoinConfigRespAdmin) Unmarshal(dAtA []byte) error {
  5259. l := len(dAtA)
  5260. iNdEx := 0
  5261. for iNdEx < l {
  5262. preIndex := iNdEx
  5263. var wire uint64
  5264. for shift := uint(0); ; shift += 7 {
  5265. if shift >= 64 {
  5266. return ErrIntOverflowCapsule
  5267. }
  5268. if iNdEx >= l {
  5269. return io.ErrUnexpectedEOF
  5270. }
  5271. b := dAtA[iNdEx]
  5272. iNdEx++
  5273. wire |= (uint64(b) & 0x7F) << shift
  5274. if b < 0x80 {
  5275. break
  5276. }
  5277. }
  5278. fieldNum := int32(wire >> 3)
  5279. wireType := int(wire & 0x7)
  5280. if wireType == 4 {
  5281. return fmt.Errorf("proto: UpdateCoinConfigRespAdmin: wiretype end group for non-group")
  5282. }
  5283. if fieldNum <= 0 {
  5284. return fmt.Errorf("proto: UpdateCoinConfigRespAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  5285. }
  5286. switch fieldNum {
  5287. case 1:
  5288. if wireType != 0 {
  5289. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5290. }
  5291. var v int
  5292. for shift := uint(0); ; shift += 7 {
  5293. if shift >= 64 {
  5294. return ErrIntOverflowCapsule
  5295. }
  5296. if iNdEx >= l {
  5297. return io.ErrUnexpectedEOF
  5298. }
  5299. b := dAtA[iNdEx]
  5300. iNdEx++
  5301. v |= (int(b) & 0x7F) << shift
  5302. if b < 0x80 {
  5303. break
  5304. }
  5305. }
  5306. m.Status = bool(v != 0)
  5307. default:
  5308. iNdEx = preIndex
  5309. skippy, err := skipCapsule(dAtA[iNdEx:])
  5310. if err != nil {
  5311. return err
  5312. }
  5313. if skippy < 0 {
  5314. return ErrInvalidLengthCapsule
  5315. }
  5316. if (iNdEx + skippy) > l {
  5317. return io.ErrUnexpectedEOF
  5318. }
  5319. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5320. iNdEx += skippy
  5321. }
  5322. }
  5323. if iNdEx > l {
  5324. return io.ErrUnexpectedEOF
  5325. }
  5326. return nil
  5327. }
  5328. func (m *UpdateCoinStatusReqAdmin) Unmarshal(dAtA []byte) error {
  5329. l := len(dAtA)
  5330. iNdEx := 0
  5331. for iNdEx < l {
  5332. preIndex := iNdEx
  5333. var wire uint64
  5334. for shift := uint(0); ; shift += 7 {
  5335. if shift >= 64 {
  5336. return ErrIntOverflowCapsule
  5337. }
  5338. if iNdEx >= l {
  5339. return io.ErrUnexpectedEOF
  5340. }
  5341. b := dAtA[iNdEx]
  5342. iNdEx++
  5343. wire |= (uint64(b) & 0x7F) << shift
  5344. if b < 0x80 {
  5345. break
  5346. }
  5347. }
  5348. fieldNum := int32(wire >> 3)
  5349. wireType := int(wire & 0x7)
  5350. if wireType == 4 {
  5351. return fmt.Errorf("proto: UpdateCoinStatusReqAdmin: wiretype end group for non-group")
  5352. }
  5353. if fieldNum <= 0 {
  5354. return fmt.Errorf("proto: UpdateCoinStatusReqAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  5355. }
  5356. switch fieldNum {
  5357. case 1:
  5358. if wireType != 0 {
  5359. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  5360. }
  5361. m.Id = 0
  5362. for shift := uint(0); ; shift += 7 {
  5363. if shift >= 64 {
  5364. return ErrIntOverflowCapsule
  5365. }
  5366. if iNdEx >= l {
  5367. return io.ErrUnexpectedEOF
  5368. }
  5369. b := dAtA[iNdEx]
  5370. iNdEx++
  5371. m.Id |= (int64(b) & 0x7F) << shift
  5372. if b < 0x80 {
  5373. break
  5374. }
  5375. }
  5376. case 2:
  5377. if wireType != 0 {
  5378. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5379. }
  5380. m.Status = 0
  5381. for shift := uint(0); ; shift += 7 {
  5382. if shift >= 64 {
  5383. return ErrIntOverflowCapsule
  5384. }
  5385. if iNdEx >= l {
  5386. return io.ErrUnexpectedEOF
  5387. }
  5388. b := dAtA[iNdEx]
  5389. iNdEx++
  5390. m.Status |= (int64(b) & 0x7F) << shift
  5391. if b < 0x80 {
  5392. break
  5393. }
  5394. }
  5395. default:
  5396. iNdEx = preIndex
  5397. skippy, err := skipCapsule(dAtA[iNdEx:])
  5398. if err != nil {
  5399. return err
  5400. }
  5401. if skippy < 0 {
  5402. return ErrInvalidLengthCapsule
  5403. }
  5404. if (iNdEx + skippy) > l {
  5405. return io.ErrUnexpectedEOF
  5406. }
  5407. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5408. iNdEx += skippy
  5409. }
  5410. }
  5411. if iNdEx > l {
  5412. return io.ErrUnexpectedEOF
  5413. }
  5414. return nil
  5415. }
  5416. func (m *UpdateCoinStatusRespAdmin) Unmarshal(dAtA []byte) error {
  5417. l := len(dAtA)
  5418. iNdEx := 0
  5419. for iNdEx < l {
  5420. preIndex := iNdEx
  5421. var wire uint64
  5422. for shift := uint(0); ; shift += 7 {
  5423. if shift >= 64 {
  5424. return ErrIntOverflowCapsule
  5425. }
  5426. if iNdEx >= l {
  5427. return io.ErrUnexpectedEOF
  5428. }
  5429. b := dAtA[iNdEx]
  5430. iNdEx++
  5431. wire |= (uint64(b) & 0x7F) << shift
  5432. if b < 0x80 {
  5433. break
  5434. }
  5435. }
  5436. fieldNum := int32(wire >> 3)
  5437. wireType := int(wire & 0x7)
  5438. if wireType == 4 {
  5439. return fmt.Errorf("proto: UpdateCoinStatusRespAdmin: wiretype end group for non-group")
  5440. }
  5441. if fieldNum <= 0 {
  5442. return fmt.Errorf("proto: UpdateCoinStatusRespAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  5443. }
  5444. switch fieldNum {
  5445. case 1:
  5446. if wireType != 0 {
  5447. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5448. }
  5449. var v int
  5450. for shift := uint(0); ; shift += 7 {
  5451. if shift >= 64 {
  5452. return ErrIntOverflowCapsule
  5453. }
  5454. if iNdEx >= l {
  5455. return io.ErrUnexpectedEOF
  5456. }
  5457. b := dAtA[iNdEx]
  5458. iNdEx++
  5459. v |= (int(b) & 0x7F) << shift
  5460. if b < 0x80 {
  5461. break
  5462. }
  5463. }
  5464. m.Status = bool(v != 0)
  5465. default:
  5466. iNdEx = preIndex
  5467. skippy, err := skipCapsule(dAtA[iNdEx:])
  5468. if err != nil {
  5469. return err
  5470. }
  5471. if skippy < 0 {
  5472. return ErrInvalidLengthCapsule
  5473. }
  5474. if (iNdEx + skippy) > l {
  5475. return io.ErrUnexpectedEOF
  5476. }
  5477. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5478. iNdEx += skippy
  5479. }
  5480. }
  5481. if iNdEx > l {
  5482. return io.ErrUnexpectedEOF
  5483. }
  5484. return nil
  5485. }
  5486. func (m *DeleteCoinReqAdmin) Unmarshal(dAtA []byte) error {
  5487. l := len(dAtA)
  5488. iNdEx := 0
  5489. for iNdEx < l {
  5490. preIndex := iNdEx
  5491. var wire uint64
  5492. for shift := uint(0); ; shift += 7 {
  5493. if shift >= 64 {
  5494. return ErrIntOverflowCapsule
  5495. }
  5496. if iNdEx >= l {
  5497. return io.ErrUnexpectedEOF
  5498. }
  5499. b := dAtA[iNdEx]
  5500. iNdEx++
  5501. wire |= (uint64(b) & 0x7F) << shift
  5502. if b < 0x80 {
  5503. break
  5504. }
  5505. }
  5506. fieldNum := int32(wire >> 3)
  5507. wireType := int(wire & 0x7)
  5508. if wireType == 4 {
  5509. return fmt.Errorf("proto: DeleteCoinReqAdmin: wiretype end group for non-group")
  5510. }
  5511. if fieldNum <= 0 {
  5512. return fmt.Errorf("proto: DeleteCoinReqAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  5513. }
  5514. switch fieldNum {
  5515. case 1:
  5516. if wireType != 0 {
  5517. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  5518. }
  5519. m.Id = 0
  5520. for shift := uint(0); ; shift += 7 {
  5521. if shift >= 64 {
  5522. return ErrIntOverflowCapsule
  5523. }
  5524. if iNdEx >= l {
  5525. return io.ErrUnexpectedEOF
  5526. }
  5527. b := dAtA[iNdEx]
  5528. iNdEx++
  5529. m.Id |= (int64(b) & 0x7F) << shift
  5530. if b < 0x80 {
  5531. break
  5532. }
  5533. }
  5534. default:
  5535. iNdEx = preIndex
  5536. skippy, err := skipCapsule(dAtA[iNdEx:])
  5537. if err != nil {
  5538. return err
  5539. }
  5540. if skippy < 0 {
  5541. return ErrInvalidLengthCapsule
  5542. }
  5543. if (iNdEx + skippy) > l {
  5544. return io.ErrUnexpectedEOF
  5545. }
  5546. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5547. iNdEx += skippy
  5548. }
  5549. }
  5550. if iNdEx > l {
  5551. return io.ErrUnexpectedEOF
  5552. }
  5553. return nil
  5554. }
  5555. func (m *DeleteCoinRespAdmin) Unmarshal(dAtA []byte) error {
  5556. l := len(dAtA)
  5557. iNdEx := 0
  5558. for iNdEx < l {
  5559. preIndex := iNdEx
  5560. var wire uint64
  5561. for shift := uint(0); ; shift += 7 {
  5562. if shift >= 64 {
  5563. return ErrIntOverflowCapsule
  5564. }
  5565. if iNdEx >= l {
  5566. return io.ErrUnexpectedEOF
  5567. }
  5568. b := dAtA[iNdEx]
  5569. iNdEx++
  5570. wire |= (uint64(b) & 0x7F) << shift
  5571. if b < 0x80 {
  5572. break
  5573. }
  5574. }
  5575. fieldNum := int32(wire >> 3)
  5576. wireType := int(wire & 0x7)
  5577. if wireType == 4 {
  5578. return fmt.Errorf("proto: DeleteCoinRespAdmin: wiretype end group for non-group")
  5579. }
  5580. if fieldNum <= 0 {
  5581. return fmt.Errorf("proto: DeleteCoinRespAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  5582. }
  5583. switch fieldNum {
  5584. case 1:
  5585. if wireType != 0 {
  5586. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5587. }
  5588. var v int
  5589. for shift := uint(0); ; shift += 7 {
  5590. if shift >= 64 {
  5591. return ErrIntOverflowCapsule
  5592. }
  5593. if iNdEx >= l {
  5594. return io.ErrUnexpectedEOF
  5595. }
  5596. b := dAtA[iNdEx]
  5597. iNdEx++
  5598. v |= (int(b) & 0x7F) << shift
  5599. if b < 0x80 {
  5600. break
  5601. }
  5602. }
  5603. m.Status = bool(v != 0)
  5604. default:
  5605. iNdEx = preIndex
  5606. skippy, err := skipCapsule(dAtA[iNdEx:])
  5607. if err != nil {
  5608. return err
  5609. }
  5610. if skippy < 0 {
  5611. return ErrInvalidLengthCapsule
  5612. }
  5613. if (iNdEx + skippy) > l {
  5614. return io.ErrUnexpectedEOF
  5615. }
  5616. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5617. iNdEx += skippy
  5618. }
  5619. }
  5620. if iNdEx > l {
  5621. return io.ErrUnexpectedEOF
  5622. }
  5623. return nil
  5624. }
  5625. func (m *GetPoolListReqAdmin) Unmarshal(dAtA []byte) error {
  5626. l := len(dAtA)
  5627. iNdEx := 0
  5628. for iNdEx < l {
  5629. preIndex := iNdEx
  5630. var wire uint64
  5631. for shift := uint(0); ; shift += 7 {
  5632. if shift >= 64 {
  5633. return ErrIntOverflowCapsule
  5634. }
  5635. if iNdEx >= l {
  5636. return io.ErrUnexpectedEOF
  5637. }
  5638. b := dAtA[iNdEx]
  5639. iNdEx++
  5640. wire |= (uint64(b) & 0x7F) << shift
  5641. if b < 0x80 {
  5642. break
  5643. }
  5644. }
  5645. fieldNum := int32(wire >> 3)
  5646. wireType := int(wire & 0x7)
  5647. if wireType == 4 {
  5648. return fmt.Errorf("proto: GetPoolListReqAdmin: wiretype end group for non-group")
  5649. }
  5650. if fieldNum <= 0 {
  5651. return fmt.Errorf("proto: GetPoolListReqAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  5652. }
  5653. switch fieldNum {
  5654. case 1:
  5655. if wireType != 0 {
  5656. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  5657. }
  5658. m.Page = 0
  5659. for shift := uint(0); ; shift += 7 {
  5660. if shift >= 64 {
  5661. return ErrIntOverflowCapsule
  5662. }
  5663. if iNdEx >= l {
  5664. return io.ErrUnexpectedEOF
  5665. }
  5666. b := dAtA[iNdEx]
  5667. iNdEx++
  5668. m.Page |= (int64(b) & 0x7F) << shift
  5669. if b < 0x80 {
  5670. break
  5671. }
  5672. }
  5673. case 2:
  5674. if wireType != 0 {
  5675. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  5676. }
  5677. m.PageSize = 0
  5678. for shift := uint(0); ; shift += 7 {
  5679. if shift >= 64 {
  5680. return ErrIntOverflowCapsule
  5681. }
  5682. if iNdEx >= l {
  5683. return io.ErrUnexpectedEOF
  5684. }
  5685. b := dAtA[iNdEx]
  5686. iNdEx++
  5687. m.PageSize |= (int64(b) & 0x7F) << shift
  5688. if b < 0x80 {
  5689. break
  5690. }
  5691. }
  5692. default:
  5693. iNdEx = preIndex
  5694. skippy, err := skipCapsule(dAtA[iNdEx:])
  5695. if err != nil {
  5696. return err
  5697. }
  5698. if skippy < 0 {
  5699. return ErrInvalidLengthCapsule
  5700. }
  5701. if (iNdEx + skippy) > l {
  5702. return io.ErrUnexpectedEOF
  5703. }
  5704. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5705. iNdEx += skippy
  5706. }
  5707. }
  5708. if iNdEx > l {
  5709. return io.ErrUnexpectedEOF
  5710. }
  5711. return nil
  5712. }
  5713. func (m *GetPoolListRespAdmin) Unmarshal(dAtA []byte) error {
  5714. l := len(dAtA)
  5715. iNdEx := 0
  5716. for iNdEx < l {
  5717. preIndex := iNdEx
  5718. var wire uint64
  5719. for shift := uint(0); ; shift += 7 {
  5720. if shift >= 64 {
  5721. return ErrIntOverflowCapsule
  5722. }
  5723. if iNdEx >= l {
  5724. return io.ErrUnexpectedEOF
  5725. }
  5726. b := dAtA[iNdEx]
  5727. iNdEx++
  5728. wire |= (uint64(b) & 0x7F) << shift
  5729. if b < 0x80 {
  5730. break
  5731. }
  5732. }
  5733. fieldNum := int32(wire >> 3)
  5734. wireType := int(wire & 0x7)
  5735. if wireType == 4 {
  5736. return fmt.Errorf("proto: GetPoolListRespAdmin: wiretype end group for non-group")
  5737. }
  5738. if fieldNum <= 0 {
  5739. return fmt.Errorf("proto: GetPoolListRespAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  5740. }
  5741. switch fieldNum {
  5742. case 1:
  5743. if wireType != 0 {
  5744. return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
  5745. }
  5746. m.Total = 0
  5747. for shift := uint(0); ; shift += 7 {
  5748. if shift >= 64 {
  5749. return ErrIntOverflowCapsule
  5750. }
  5751. if iNdEx >= l {
  5752. return io.ErrUnexpectedEOF
  5753. }
  5754. b := dAtA[iNdEx]
  5755. iNdEx++
  5756. m.Total |= (int64(b) & 0x7F) << shift
  5757. if b < 0x80 {
  5758. break
  5759. }
  5760. }
  5761. case 2:
  5762. if wireType != 0 {
  5763. return fmt.Errorf("proto: wrong wireType = %d for field TotalPage", wireType)
  5764. }
  5765. m.TotalPage = 0
  5766. for shift := uint(0); ; shift += 7 {
  5767. if shift >= 64 {
  5768. return ErrIntOverflowCapsule
  5769. }
  5770. if iNdEx >= l {
  5771. return io.ErrUnexpectedEOF
  5772. }
  5773. b := dAtA[iNdEx]
  5774. iNdEx++
  5775. m.TotalPage |= (int64(b) & 0x7F) << shift
  5776. if b < 0x80 {
  5777. break
  5778. }
  5779. }
  5780. case 3:
  5781. if wireType != 2 {
  5782. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  5783. }
  5784. var msglen int
  5785. for shift := uint(0); ; shift += 7 {
  5786. if shift >= 64 {
  5787. return ErrIntOverflowCapsule
  5788. }
  5789. if iNdEx >= l {
  5790. return io.ErrUnexpectedEOF
  5791. }
  5792. b := dAtA[iNdEx]
  5793. iNdEx++
  5794. msglen |= (int(b) & 0x7F) << shift
  5795. if b < 0x80 {
  5796. break
  5797. }
  5798. }
  5799. if msglen < 0 {
  5800. return ErrInvalidLengthCapsule
  5801. }
  5802. postIndex := iNdEx + msglen
  5803. if postIndex > l {
  5804. return io.ErrUnexpectedEOF
  5805. }
  5806. m.List = append(m.List, &GetPoolListRespAdmin_List{})
  5807. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5808. return err
  5809. }
  5810. iNdEx = postIndex
  5811. default:
  5812. iNdEx = preIndex
  5813. skippy, err := skipCapsule(dAtA[iNdEx:])
  5814. if err != nil {
  5815. return err
  5816. }
  5817. if skippy < 0 {
  5818. return ErrInvalidLengthCapsule
  5819. }
  5820. if (iNdEx + skippy) > l {
  5821. return io.ErrUnexpectedEOF
  5822. }
  5823. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5824. iNdEx += skippy
  5825. }
  5826. }
  5827. if iNdEx > l {
  5828. return io.ErrUnexpectedEOF
  5829. }
  5830. return nil
  5831. }
  5832. func (m *GetPoolListRespAdmin_List) Unmarshal(dAtA []byte) error {
  5833. l := len(dAtA)
  5834. iNdEx := 0
  5835. for iNdEx < l {
  5836. preIndex := iNdEx
  5837. var wire uint64
  5838. for shift := uint(0); ; shift += 7 {
  5839. if shift >= 64 {
  5840. return ErrIntOverflowCapsule
  5841. }
  5842. if iNdEx >= l {
  5843. return io.ErrUnexpectedEOF
  5844. }
  5845. b := dAtA[iNdEx]
  5846. iNdEx++
  5847. wire |= (uint64(b) & 0x7F) << shift
  5848. if b < 0x80 {
  5849. break
  5850. }
  5851. }
  5852. fieldNum := int32(wire >> 3)
  5853. wireType := int(wire & 0x7)
  5854. if wireType == 4 {
  5855. return fmt.Errorf("proto: List: wiretype end group for non-group")
  5856. }
  5857. if fieldNum <= 0 {
  5858. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  5859. }
  5860. switch fieldNum {
  5861. case 1:
  5862. if wireType != 0 {
  5863. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  5864. }
  5865. m.Id = 0
  5866. for shift := uint(0); ; shift += 7 {
  5867. if shift >= 64 {
  5868. return ErrIntOverflowCapsule
  5869. }
  5870. if iNdEx >= l {
  5871. return io.ErrUnexpectedEOF
  5872. }
  5873. b := dAtA[iNdEx]
  5874. iNdEx++
  5875. m.Id |= (int64(b) & 0x7F) << shift
  5876. if b < 0x80 {
  5877. break
  5878. }
  5879. }
  5880. case 2:
  5881. if wireType != 0 {
  5882. return fmt.Errorf("proto: wrong wireType = %d for field CoinId", wireType)
  5883. }
  5884. m.CoinId = 0
  5885. for shift := uint(0); ; shift += 7 {
  5886. if shift >= 64 {
  5887. return ErrIntOverflowCapsule
  5888. }
  5889. if iNdEx >= l {
  5890. return io.ErrUnexpectedEOF
  5891. }
  5892. b := dAtA[iNdEx]
  5893. iNdEx++
  5894. m.CoinId |= (int64(b) & 0x7F) << shift
  5895. if b < 0x80 {
  5896. break
  5897. }
  5898. }
  5899. case 3:
  5900. if wireType != 2 {
  5901. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  5902. }
  5903. var stringLen uint64
  5904. for shift := uint(0); ; shift += 7 {
  5905. if shift >= 64 {
  5906. return ErrIntOverflowCapsule
  5907. }
  5908. if iNdEx >= l {
  5909. return io.ErrUnexpectedEOF
  5910. }
  5911. b := dAtA[iNdEx]
  5912. iNdEx++
  5913. stringLen |= (uint64(b) & 0x7F) << shift
  5914. if b < 0x80 {
  5915. break
  5916. }
  5917. }
  5918. intStringLen := int(stringLen)
  5919. if intStringLen < 0 {
  5920. return ErrInvalidLengthCapsule
  5921. }
  5922. postIndex := iNdEx + intStringLen
  5923. if postIndex > l {
  5924. return io.ErrUnexpectedEOF
  5925. }
  5926. m.Title = string(dAtA[iNdEx:postIndex])
  5927. iNdEx = postIndex
  5928. case 4:
  5929. if wireType != 2 {
  5930. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  5931. }
  5932. var stringLen uint64
  5933. for shift := uint(0); ; shift += 7 {
  5934. if shift >= 64 {
  5935. return ErrIntOverflowCapsule
  5936. }
  5937. if iNdEx >= l {
  5938. return io.ErrUnexpectedEOF
  5939. }
  5940. b := dAtA[iNdEx]
  5941. iNdEx++
  5942. stringLen |= (uint64(b) & 0x7F) << shift
  5943. if b < 0x80 {
  5944. break
  5945. }
  5946. }
  5947. intStringLen := int(stringLen)
  5948. if intStringLen < 0 {
  5949. return ErrInvalidLengthCapsule
  5950. }
  5951. postIndex := iNdEx + intStringLen
  5952. if postIndex > l {
  5953. return io.ErrUnexpectedEOF
  5954. }
  5955. m.StartTime = string(dAtA[iNdEx:postIndex])
  5956. iNdEx = postIndex
  5957. case 5:
  5958. if wireType != 2 {
  5959. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  5960. }
  5961. var stringLen uint64
  5962. for shift := uint(0); ; shift += 7 {
  5963. if shift >= 64 {
  5964. return ErrIntOverflowCapsule
  5965. }
  5966. if iNdEx >= l {
  5967. return io.ErrUnexpectedEOF
  5968. }
  5969. b := dAtA[iNdEx]
  5970. iNdEx++
  5971. stringLen |= (uint64(b) & 0x7F) << shift
  5972. if b < 0x80 {
  5973. break
  5974. }
  5975. }
  5976. intStringLen := int(stringLen)
  5977. if intStringLen < 0 {
  5978. return ErrInvalidLengthCapsule
  5979. }
  5980. postIndex := iNdEx + intStringLen
  5981. if postIndex > l {
  5982. return io.ErrUnexpectedEOF
  5983. }
  5984. m.EndTime = string(dAtA[iNdEx:postIndex])
  5985. iNdEx = postIndex
  5986. case 6:
  5987. if wireType != 0 {
  5988. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5989. }
  5990. m.Status = 0
  5991. for shift := uint(0); ; shift += 7 {
  5992. if shift >= 64 {
  5993. return ErrIntOverflowCapsule
  5994. }
  5995. if iNdEx >= l {
  5996. return io.ErrUnexpectedEOF
  5997. }
  5998. b := dAtA[iNdEx]
  5999. iNdEx++
  6000. m.Status |= (int64(b) & 0x7F) << shift
  6001. if b < 0x80 {
  6002. break
  6003. }
  6004. }
  6005. case 7:
  6006. if wireType != 2 {
  6007. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  6008. }
  6009. var stringLen uint64
  6010. for shift := uint(0); ; shift += 7 {
  6011. if shift >= 64 {
  6012. return ErrIntOverflowCapsule
  6013. }
  6014. if iNdEx >= l {
  6015. return io.ErrUnexpectedEOF
  6016. }
  6017. b := dAtA[iNdEx]
  6018. iNdEx++
  6019. stringLen |= (uint64(b) & 0x7F) << shift
  6020. if b < 0x80 {
  6021. break
  6022. }
  6023. }
  6024. intStringLen := int(stringLen)
  6025. if intStringLen < 0 {
  6026. return ErrInvalidLengthCapsule
  6027. }
  6028. postIndex := iNdEx + intStringLen
  6029. if postIndex > l {
  6030. return io.ErrUnexpectedEOF
  6031. }
  6032. m.Rule = string(dAtA[iNdEx:postIndex])
  6033. iNdEx = postIndex
  6034. case 8:
  6035. if wireType != 2 {
  6036. return fmt.Errorf("proto: wrong wireType = %d for field CoinTitle", wireType)
  6037. }
  6038. var stringLen uint64
  6039. for shift := uint(0); ; shift += 7 {
  6040. if shift >= 64 {
  6041. return ErrIntOverflowCapsule
  6042. }
  6043. if iNdEx >= l {
  6044. return io.ErrUnexpectedEOF
  6045. }
  6046. b := dAtA[iNdEx]
  6047. iNdEx++
  6048. stringLen |= (uint64(b) & 0x7F) << shift
  6049. if b < 0x80 {
  6050. break
  6051. }
  6052. }
  6053. intStringLen := int(stringLen)
  6054. if intStringLen < 0 {
  6055. return ErrInvalidLengthCapsule
  6056. }
  6057. postIndex := iNdEx + intStringLen
  6058. if postIndex > l {
  6059. return io.ErrUnexpectedEOF
  6060. }
  6061. m.CoinTitle = string(dAtA[iNdEx:postIndex])
  6062. iNdEx = postIndex
  6063. default:
  6064. iNdEx = preIndex
  6065. skippy, err := skipCapsule(dAtA[iNdEx:])
  6066. if err != nil {
  6067. return err
  6068. }
  6069. if skippy < 0 {
  6070. return ErrInvalidLengthCapsule
  6071. }
  6072. if (iNdEx + skippy) > l {
  6073. return io.ErrUnexpectedEOF
  6074. }
  6075. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6076. iNdEx += skippy
  6077. }
  6078. }
  6079. if iNdEx > l {
  6080. return io.ErrUnexpectedEOF
  6081. }
  6082. return nil
  6083. }
  6084. func (m *UpdatePoolReqAdmin) Unmarshal(dAtA []byte) error {
  6085. l := len(dAtA)
  6086. iNdEx := 0
  6087. for iNdEx < l {
  6088. preIndex := iNdEx
  6089. var wire uint64
  6090. for shift := uint(0); ; shift += 7 {
  6091. if shift >= 64 {
  6092. return ErrIntOverflowCapsule
  6093. }
  6094. if iNdEx >= l {
  6095. return io.ErrUnexpectedEOF
  6096. }
  6097. b := dAtA[iNdEx]
  6098. iNdEx++
  6099. wire |= (uint64(b) & 0x7F) << shift
  6100. if b < 0x80 {
  6101. break
  6102. }
  6103. }
  6104. fieldNum := int32(wire >> 3)
  6105. wireType := int(wire & 0x7)
  6106. if wireType == 4 {
  6107. return fmt.Errorf("proto: UpdatePoolReqAdmin: wiretype end group for non-group")
  6108. }
  6109. if fieldNum <= 0 {
  6110. return fmt.Errorf("proto: UpdatePoolReqAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  6111. }
  6112. switch fieldNum {
  6113. case 1:
  6114. if wireType != 0 {
  6115. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  6116. }
  6117. m.Id = 0
  6118. for shift := uint(0); ; shift += 7 {
  6119. if shift >= 64 {
  6120. return ErrIntOverflowCapsule
  6121. }
  6122. if iNdEx >= l {
  6123. return io.ErrUnexpectedEOF
  6124. }
  6125. b := dAtA[iNdEx]
  6126. iNdEx++
  6127. m.Id |= (int64(b) & 0x7F) << shift
  6128. if b < 0x80 {
  6129. break
  6130. }
  6131. }
  6132. case 2:
  6133. if wireType != 0 {
  6134. return fmt.Errorf("proto: wrong wireType = %d for field CoinId", wireType)
  6135. }
  6136. m.CoinId = 0
  6137. for shift := uint(0); ; shift += 7 {
  6138. if shift >= 64 {
  6139. return ErrIntOverflowCapsule
  6140. }
  6141. if iNdEx >= l {
  6142. return io.ErrUnexpectedEOF
  6143. }
  6144. b := dAtA[iNdEx]
  6145. iNdEx++
  6146. m.CoinId |= (int64(b) & 0x7F) << shift
  6147. if b < 0x80 {
  6148. break
  6149. }
  6150. }
  6151. case 3:
  6152. if wireType != 2 {
  6153. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  6154. }
  6155. var stringLen uint64
  6156. for shift := uint(0); ; shift += 7 {
  6157. if shift >= 64 {
  6158. return ErrIntOverflowCapsule
  6159. }
  6160. if iNdEx >= l {
  6161. return io.ErrUnexpectedEOF
  6162. }
  6163. b := dAtA[iNdEx]
  6164. iNdEx++
  6165. stringLen |= (uint64(b) & 0x7F) << shift
  6166. if b < 0x80 {
  6167. break
  6168. }
  6169. }
  6170. intStringLen := int(stringLen)
  6171. if intStringLen < 0 {
  6172. return ErrInvalidLengthCapsule
  6173. }
  6174. postIndex := iNdEx + intStringLen
  6175. if postIndex > l {
  6176. return io.ErrUnexpectedEOF
  6177. }
  6178. m.Title = string(dAtA[iNdEx:postIndex])
  6179. iNdEx = postIndex
  6180. case 4:
  6181. if wireType != 2 {
  6182. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  6183. }
  6184. var stringLen uint64
  6185. for shift := uint(0); ; shift += 7 {
  6186. if shift >= 64 {
  6187. return ErrIntOverflowCapsule
  6188. }
  6189. if iNdEx >= l {
  6190. return io.ErrUnexpectedEOF
  6191. }
  6192. b := dAtA[iNdEx]
  6193. iNdEx++
  6194. stringLen |= (uint64(b) & 0x7F) << shift
  6195. if b < 0x80 {
  6196. break
  6197. }
  6198. }
  6199. intStringLen := int(stringLen)
  6200. if intStringLen < 0 {
  6201. return ErrInvalidLengthCapsule
  6202. }
  6203. postIndex := iNdEx + intStringLen
  6204. if postIndex > l {
  6205. return io.ErrUnexpectedEOF
  6206. }
  6207. m.StartTime = string(dAtA[iNdEx:postIndex])
  6208. iNdEx = postIndex
  6209. case 5:
  6210. if wireType != 2 {
  6211. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  6212. }
  6213. var stringLen uint64
  6214. for shift := uint(0); ; shift += 7 {
  6215. if shift >= 64 {
  6216. return ErrIntOverflowCapsule
  6217. }
  6218. if iNdEx >= l {
  6219. return io.ErrUnexpectedEOF
  6220. }
  6221. b := dAtA[iNdEx]
  6222. iNdEx++
  6223. stringLen |= (uint64(b) & 0x7F) << shift
  6224. if b < 0x80 {
  6225. break
  6226. }
  6227. }
  6228. intStringLen := int(stringLen)
  6229. if intStringLen < 0 {
  6230. return ErrInvalidLengthCapsule
  6231. }
  6232. postIndex := iNdEx + intStringLen
  6233. if postIndex > l {
  6234. return io.ErrUnexpectedEOF
  6235. }
  6236. m.EndTime = string(dAtA[iNdEx:postIndex])
  6237. iNdEx = postIndex
  6238. case 6:
  6239. if wireType != 2 {
  6240. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  6241. }
  6242. var stringLen uint64
  6243. for shift := uint(0); ; shift += 7 {
  6244. if shift >= 64 {
  6245. return ErrIntOverflowCapsule
  6246. }
  6247. if iNdEx >= l {
  6248. return io.ErrUnexpectedEOF
  6249. }
  6250. b := dAtA[iNdEx]
  6251. iNdEx++
  6252. stringLen |= (uint64(b) & 0x7F) << shift
  6253. if b < 0x80 {
  6254. break
  6255. }
  6256. }
  6257. intStringLen := int(stringLen)
  6258. if intStringLen < 0 {
  6259. return ErrInvalidLengthCapsule
  6260. }
  6261. postIndex := iNdEx + intStringLen
  6262. if postIndex > l {
  6263. return io.ErrUnexpectedEOF
  6264. }
  6265. m.Rule = string(dAtA[iNdEx:postIndex])
  6266. iNdEx = postIndex
  6267. default:
  6268. iNdEx = preIndex
  6269. skippy, err := skipCapsule(dAtA[iNdEx:])
  6270. if err != nil {
  6271. return err
  6272. }
  6273. if skippy < 0 {
  6274. return ErrInvalidLengthCapsule
  6275. }
  6276. if (iNdEx + skippy) > l {
  6277. return io.ErrUnexpectedEOF
  6278. }
  6279. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6280. iNdEx += skippy
  6281. }
  6282. }
  6283. if iNdEx > l {
  6284. return io.ErrUnexpectedEOF
  6285. }
  6286. return nil
  6287. }
  6288. func (m *UpdatePoolRespAdmin) Unmarshal(dAtA []byte) error {
  6289. l := len(dAtA)
  6290. iNdEx := 0
  6291. for iNdEx < l {
  6292. preIndex := iNdEx
  6293. var wire uint64
  6294. for shift := uint(0); ; shift += 7 {
  6295. if shift >= 64 {
  6296. return ErrIntOverflowCapsule
  6297. }
  6298. if iNdEx >= l {
  6299. return io.ErrUnexpectedEOF
  6300. }
  6301. b := dAtA[iNdEx]
  6302. iNdEx++
  6303. wire |= (uint64(b) & 0x7F) << shift
  6304. if b < 0x80 {
  6305. break
  6306. }
  6307. }
  6308. fieldNum := int32(wire >> 3)
  6309. wireType := int(wire & 0x7)
  6310. if wireType == 4 {
  6311. return fmt.Errorf("proto: UpdatePoolRespAdmin: wiretype end group for non-group")
  6312. }
  6313. if fieldNum <= 0 {
  6314. return fmt.Errorf("proto: UpdatePoolRespAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  6315. }
  6316. switch fieldNum {
  6317. case 1:
  6318. if wireType != 0 {
  6319. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  6320. }
  6321. var v int
  6322. for shift := uint(0); ; shift += 7 {
  6323. if shift >= 64 {
  6324. return ErrIntOverflowCapsule
  6325. }
  6326. if iNdEx >= l {
  6327. return io.ErrUnexpectedEOF
  6328. }
  6329. b := dAtA[iNdEx]
  6330. iNdEx++
  6331. v |= (int(b) & 0x7F) << shift
  6332. if b < 0x80 {
  6333. break
  6334. }
  6335. }
  6336. m.Status = bool(v != 0)
  6337. default:
  6338. iNdEx = preIndex
  6339. skippy, err := skipCapsule(dAtA[iNdEx:])
  6340. if err != nil {
  6341. return err
  6342. }
  6343. if skippy < 0 {
  6344. return ErrInvalidLengthCapsule
  6345. }
  6346. if (iNdEx + skippy) > l {
  6347. return io.ErrUnexpectedEOF
  6348. }
  6349. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6350. iNdEx += skippy
  6351. }
  6352. }
  6353. if iNdEx > l {
  6354. return io.ErrUnexpectedEOF
  6355. }
  6356. return nil
  6357. }
  6358. func (m *DeletePoolReqAdmin) Unmarshal(dAtA []byte) error {
  6359. l := len(dAtA)
  6360. iNdEx := 0
  6361. for iNdEx < l {
  6362. preIndex := iNdEx
  6363. var wire uint64
  6364. for shift := uint(0); ; shift += 7 {
  6365. if shift >= 64 {
  6366. return ErrIntOverflowCapsule
  6367. }
  6368. if iNdEx >= l {
  6369. return io.ErrUnexpectedEOF
  6370. }
  6371. b := dAtA[iNdEx]
  6372. iNdEx++
  6373. wire |= (uint64(b) & 0x7F) << shift
  6374. if b < 0x80 {
  6375. break
  6376. }
  6377. }
  6378. fieldNum := int32(wire >> 3)
  6379. wireType := int(wire & 0x7)
  6380. if wireType == 4 {
  6381. return fmt.Errorf("proto: DeletePoolReqAdmin: wiretype end group for non-group")
  6382. }
  6383. if fieldNum <= 0 {
  6384. return fmt.Errorf("proto: DeletePoolReqAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  6385. }
  6386. switch fieldNum {
  6387. case 1:
  6388. if wireType != 0 {
  6389. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  6390. }
  6391. m.Id = 0
  6392. for shift := uint(0); ; shift += 7 {
  6393. if shift >= 64 {
  6394. return ErrIntOverflowCapsule
  6395. }
  6396. if iNdEx >= l {
  6397. return io.ErrUnexpectedEOF
  6398. }
  6399. b := dAtA[iNdEx]
  6400. iNdEx++
  6401. m.Id |= (int64(b) & 0x7F) << shift
  6402. if b < 0x80 {
  6403. break
  6404. }
  6405. }
  6406. default:
  6407. iNdEx = preIndex
  6408. skippy, err := skipCapsule(dAtA[iNdEx:])
  6409. if err != nil {
  6410. return err
  6411. }
  6412. if skippy < 0 {
  6413. return ErrInvalidLengthCapsule
  6414. }
  6415. if (iNdEx + skippy) > l {
  6416. return io.ErrUnexpectedEOF
  6417. }
  6418. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6419. iNdEx += skippy
  6420. }
  6421. }
  6422. if iNdEx > l {
  6423. return io.ErrUnexpectedEOF
  6424. }
  6425. return nil
  6426. }
  6427. func (m *DeletePoolRespAdmin) Unmarshal(dAtA []byte) error {
  6428. l := len(dAtA)
  6429. iNdEx := 0
  6430. for iNdEx < l {
  6431. preIndex := iNdEx
  6432. var wire uint64
  6433. for shift := uint(0); ; shift += 7 {
  6434. if shift >= 64 {
  6435. return ErrIntOverflowCapsule
  6436. }
  6437. if iNdEx >= l {
  6438. return io.ErrUnexpectedEOF
  6439. }
  6440. b := dAtA[iNdEx]
  6441. iNdEx++
  6442. wire |= (uint64(b) & 0x7F) << shift
  6443. if b < 0x80 {
  6444. break
  6445. }
  6446. }
  6447. fieldNum := int32(wire >> 3)
  6448. wireType := int(wire & 0x7)
  6449. if wireType == 4 {
  6450. return fmt.Errorf("proto: DeletePoolRespAdmin: wiretype end group for non-group")
  6451. }
  6452. if fieldNum <= 0 {
  6453. return fmt.Errorf("proto: DeletePoolRespAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  6454. }
  6455. switch fieldNum {
  6456. case 1:
  6457. if wireType != 0 {
  6458. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  6459. }
  6460. var v int
  6461. for shift := uint(0); ; shift += 7 {
  6462. if shift >= 64 {
  6463. return ErrIntOverflowCapsule
  6464. }
  6465. if iNdEx >= l {
  6466. return io.ErrUnexpectedEOF
  6467. }
  6468. b := dAtA[iNdEx]
  6469. iNdEx++
  6470. v |= (int(b) & 0x7F) << shift
  6471. if b < 0x80 {
  6472. break
  6473. }
  6474. }
  6475. m.Status = bool(v != 0)
  6476. default:
  6477. iNdEx = preIndex
  6478. skippy, err := skipCapsule(dAtA[iNdEx:])
  6479. if err != nil {
  6480. return err
  6481. }
  6482. if skippy < 0 {
  6483. return ErrInvalidLengthCapsule
  6484. }
  6485. if (iNdEx + skippy) > l {
  6486. return io.ErrUnexpectedEOF
  6487. }
  6488. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6489. iNdEx += skippy
  6490. }
  6491. }
  6492. if iNdEx > l {
  6493. return io.ErrUnexpectedEOF
  6494. }
  6495. return nil
  6496. }
  6497. func (m *UpdatePoolStatusReqAdmin) Unmarshal(dAtA []byte) error {
  6498. l := len(dAtA)
  6499. iNdEx := 0
  6500. for iNdEx < l {
  6501. preIndex := iNdEx
  6502. var wire uint64
  6503. for shift := uint(0); ; shift += 7 {
  6504. if shift >= 64 {
  6505. return ErrIntOverflowCapsule
  6506. }
  6507. if iNdEx >= l {
  6508. return io.ErrUnexpectedEOF
  6509. }
  6510. b := dAtA[iNdEx]
  6511. iNdEx++
  6512. wire |= (uint64(b) & 0x7F) << shift
  6513. if b < 0x80 {
  6514. break
  6515. }
  6516. }
  6517. fieldNum := int32(wire >> 3)
  6518. wireType := int(wire & 0x7)
  6519. if wireType == 4 {
  6520. return fmt.Errorf("proto: UpdatePoolStatusReqAdmin: wiretype end group for non-group")
  6521. }
  6522. if fieldNum <= 0 {
  6523. return fmt.Errorf("proto: UpdatePoolStatusReqAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  6524. }
  6525. switch fieldNum {
  6526. case 1:
  6527. if wireType != 0 {
  6528. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  6529. }
  6530. m.Id = 0
  6531. for shift := uint(0); ; shift += 7 {
  6532. if shift >= 64 {
  6533. return ErrIntOverflowCapsule
  6534. }
  6535. if iNdEx >= l {
  6536. return io.ErrUnexpectedEOF
  6537. }
  6538. b := dAtA[iNdEx]
  6539. iNdEx++
  6540. m.Id |= (int64(b) & 0x7F) << shift
  6541. if b < 0x80 {
  6542. break
  6543. }
  6544. }
  6545. case 2:
  6546. if wireType != 0 {
  6547. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  6548. }
  6549. m.Status = 0
  6550. for shift := uint(0); ; shift += 7 {
  6551. if shift >= 64 {
  6552. return ErrIntOverflowCapsule
  6553. }
  6554. if iNdEx >= l {
  6555. return io.ErrUnexpectedEOF
  6556. }
  6557. b := dAtA[iNdEx]
  6558. iNdEx++
  6559. m.Status |= (int64(b) & 0x7F) << shift
  6560. if b < 0x80 {
  6561. break
  6562. }
  6563. }
  6564. default:
  6565. iNdEx = preIndex
  6566. skippy, err := skipCapsule(dAtA[iNdEx:])
  6567. if err != nil {
  6568. return err
  6569. }
  6570. if skippy < 0 {
  6571. return ErrInvalidLengthCapsule
  6572. }
  6573. if (iNdEx + skippy) > l {
  6574. return io.ErrUnexpectedEOF
  6575. }
  6576. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6577. iNdEx += skippy
  6578. }
  6579. }
  6580. if iNdEx > l {
  6581. return io.ErrUnexpectedEOF
  6582. }
  6583. return nil
  6584. }
  6585. func (m *UpdatePoolStatusRespAdmin) Unmarshal(dAtA []byte) error {
  6586. l := len(dAtA)
  6587. iNdEx := 0
  6588. for iNdEx < l {
  6589. preIndex := iNdEx
  6590. var wire uint64
  6591. for shift := uint(0); ; shift += 7 {
  6592. if shift >= 64 {
  6593. return ErrIntOverflowCapsule
  6594. }
  6595. if iNdEx >= l {
  6596. return io.ErrUnexpectedEOF
  6597. }
  6598. b := dAtA[iNdEx]
  6599. iNdEx++
  6600. wire |= (uint64(b) & 0x7F) << shift
  6601. if b < 0x80 {
  6602. break
  6603. }
  6604. }
  6605. fieldNum := int32(wire >> 3)
  6606. wireType := int(wire & 0x7)
  6607. if wireType == 4 {
  6608. return fmt.Errorf("proto: UpdatePoolStatusRespAdmin: wiretype end group for non-group")
  6609. }
  6610. if fieldNum <= 0 {
  6611. return fmt.Errorf("proto: UpdatePoolStatusRespAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  6612. }
  6613. switch fieldNum {
  6614. case 1:
  6615. if wireType != 0 {
  6616. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  6617. }
  6618. var v int
  6619. for shift := uint(0); ; shift += 7 {
  6620. if shift >= 64 {
  6621. return ErrIntOverflowCapsule
  6622. }
  6623. if iNdEx >= l {
  6624. return io.ErrUnexpectedEOF
  6625. }
  6626. b := dAtA[iNdEx]
  6627. iNdEx++
  6628. v |= (int(b) & 0x7F) << shift
  6629. if b < 0x80 {
  6630. break
  6631. }
  6632. }
  6633. m.Status = bool(v != 0)
  6634. default:
  6635. iNdEx = preIndex
  6636. skippy, err := skipCapsule(dAtA[iNdEx:])
  6637. if err != nil {
  6638. return err
  6639. }
  6640. if skippy < 0 {
  6641. return ErrInvalidLengthCapsule
  6642. }
  6643. if (iNdEx + skippy) > l {
  6644. return io.ErrUnexpectedEOF
  6645. }
  6646. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6647. iNdEx += skippy
  6648. }
  6649. }
  6650. if iNdEx > l {
  6651. return io.ErrUnexpectedEOF
  6652. }
  6653. return nil
  6654. }
  6655. func (m *GetPoolPrizeReqAdmin) Unmarshal(dAtA []byte) error {
  6656. l := len(dAtA)
  6657. iNdEx := 0
  6658. for iNdEx < l {
  6659. preIndex := iNdEx
  6660. var wire uint64
  6661. for shift := uint(0); ; shift += 7 {
  6662. if shift >= 64 {
  6663. return ErrIntOverflowCapsule
  6664. }
  6665. if iNdEx >= l {
  6666. return io.ErrUnexpectedEOF
  6667. }
  6668. b := dAtA[iNdEx]
  6669. iNdEx++
  6670. wire |= (uint64(b) & 0x7F) << shift
  6671. if b < 0x80 {
  6672. break
  6673. }
  6674. }
  6675. fieldNum := int32(wire >> 3)
  6676. wireType := int(wire & 0x7)
  6677. if wireType == 4 {
  6678. return fmt.Errorf("proto: GetPoolPrizeReqAdmin: wiretype end group for non-group")
  6679. }
  6680. if fieldNum <= 0 {
  6681. return fmt.Errorf("proto: GetPoolPrizeReqAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  6682. }
  6683. switch fieldNum {
  6684. case 1:
  6685. if wireType != 0 {
  6686. return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType)
  6687. }
  6688. m.PoolId = 0
  6689. for shift := uint(0); ; shift += 7 {
  6690. if shift >= 64 {
  6691. return ErrIntOverflowCapsule
  6692. }
  6693. if iNdEx >= l {
  6694. return io.ErrUnexpectedEOF
  6695. }
  6696. b := dAtA[iNdEx]
  6697. iNdEx++
  6698. m.PoolId |= (int64(b) & 0x7F) << shift
  6699. if b < 0x80 {
  6700. break
  6701. }
  6702. }
  6703. default:
  6704. iNdEx = preIndex
  6705. skippy, err := skipCapsule(dAtA[iNdEx:])
  6706. if err != nil {
  6707. return err
  6708. }
  6709. if skippy < 0 {
  6710. return ErrInvalidLengthCapsule
  6711. }
  6712. if (iNdEx + skippy) > l {
  6713. return io.ErrUnexpectedEOF
  6714. }
  6715. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6716. iNdEx += skippy
  6717. }
  6718. }
  6719. if iNdEx > l {
  6720. return io.ErrUnexpectedEOF
  6721. }
  6722. return nil
  6723. }
  6724. func (m *GetPoolPrizeRespAdmin) Unmarshal(dAtA []byte) error {
  6725. l := len(dAtA)
  6726. iNdEx := 0
  6727. for iNdEx < l {
  6728. preIndex := iNdEx
  6729. var wire uint64
  6730. for shift := uint(0); ; shift += 7 {
  6731. if shift >= 64 {
  6732. return ErrIntOverflowCapsule
  6733. }
  6734. if iNdEx >= l {
  6735. return io.ErrUnexpectedEOF
  6736. }
  6737. b := dAtA[iNdEx]
  6738. iNdEx++
  6739. wire |= (uint64(b) & 0x7F) << shift
  6740. if b < 0x80 {
  6741. break
  6742. }
  6743. }
  6744. fieldNum := int32(wire >> 3)
  6745. wireType := int(wire & 0x7)
  6746. if wireType == 4 {
  6747. return fmt.Errorf("proto: GetPoolPrizeRespAdmin: wiretype end group for non-group")
  6748. }
  6749. if fieldNum <= 0 {
  6750. return fmt.Errorf("proto: GetPoolPrizeRespAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  6751. }
  6752. switch fieldNum {
  6753. case 1:
  6754. if wireType != 2 {
  6755. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  6756. }
  6757. var msglen int
  6758. for shift := uint(0); ; shift += 7 {
  6759. if shift >= 64 {
  6760. return ErrIntOverflowCapsule
  6761. }
  6762. if iNdEx >= l {
  6763. return io.ErrUnexpectedEOF
  6764. }
  6765. b := dAtA[iNdEx]
  6766. iNdEx++
  6767. msglen |= (int(b) & 0x7F) << shift
  6768. if b < 0x80 {
  6769. break
  6770. }
  6771. }
  6772. if msglen < 0 {
  6773. return ErrInvalidLengthCapsule
  6774. }
  6775. postIndex := iNdEx + msglen
  6776. if postIndex > l {
  6777. return io.ErrUnexpectedEOF
  6778. }
  6779. m.List = append(m.List, &GetPoolPrizeRespAdmin_List{})
  6780. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6781. return err
  6782. }
  6783. iNdEx = postIndex
  6784. default:
  6785. iNdEx = preIndex
  6786. skippy, err := skipCapsule(dAtA[iNdEx:])
  6787. if err != nil {
  6788. return err
  6789. }
  6790. if skippy < 0 {
  6791. return ErrInvalidLengthCapsule
  6792. }
  6793. if (iNdEx + skippy) > l {
  6794. return io.ErrUnexpectedEOF
  6795. }
  6796. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6797. iNdEx += skippy
  6798. }
  6799. }
  6800. if iNdEx > l {
  6801. return io.ErrUnexpectedEOF
  6802. }
  6803. return nil
  6804. }
  6805. func (m *GetPoolPrizeRespAdmin_List) Unmarshal(dAtA []byte) error {
  6806. l := len(dAtA)
  6807. iNdEx := 0
  6808. for iNdEx < l {
  6809. preIndex := iNdEx
  6810. var wire uint64
  6811. for shift := uint(0); ; shift += 7 {
  6812. if shift >= 64 {
  6813. return ErrIntOverflowCapsule
  6814. }
  6815. if iNdEx >= l {
  6816. return io.ErrUnexpectedEOF
  6817. }
  6818. b := dAtA[iNdEx]
  6819. iNdEx++
  6820. wire |= (uint64(b) & 0x7F) << shift
  6821. if b < 0x80 {
  6822. break
  6823. }
  6824. }
  6825. fieldNum := int32(wire >> 3)
  6826. wireType := int(wire & 0x7)
  6827. if wireType == 4 {
  6828. return fmt.Errorf("proto: List: wiretype end group for non-group")
  6829. }
  6830. if fieldNum <= 0 {
  6831. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  6832. }
  6833. switch fieldNum {
  6834. case 1:
  6835. if wireType != 0 {
  6836. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  6837. }
  6838. m.Id = 0
  6839. for shift := uint(0); ; shift += 7 {
  6840. if shift >= 64 {
  6841. return ErrIntOverflowCapsule
  6842. }
  6843. if iNdEx >= l {
  6844. return io.ErrUnexpectedEOF
  6845. }
  6846. b := dAtA[iNdEx]
  6847. iNdEx++
  6848. m.Id |= (int64(b) & 0x7F) << shift
  6849. if b < 0x80 {
  6850. break
  6851. }
  6852. }
  6853. case 2:
  6854. if wireType != 0 {
  6855. return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType)
  6856. }
  6857. m.PoolId = 0
  6858. for shift := uint(0); ; shift += 7 {
  6859. if shift >= 64 {
  6860. return ErrIntOverflowCapsule
  6861. }
  6862. if iNdEx >= l {
  6863. return io.ErrUnexpectedEOF
  6864. }
  6865. b := dAtA[iNdEx]
  6866. iNdEx++
  6867. m.PoolId |= (int64(b) & 0x7F) << shift
  6868. if b < 0x80 {
  6869. break
  6870. }
  6871. }
  6872. case 3:
  6873. if wireType != 0 {
  6874. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  6875. }
  6876. m.Type = 0
  6877. for shift := uint(0); ; shift += 7 {
  6878. if shift >= 64 {
  6879. return ErrIntOverflowCapsule
  6880. }
  6881. if iNdEx >= l {
  6882. return io.ErrUnexpectedEOF
  6883. }
  6884. b := dAtA[iNdEx]
  6885. iNdEx++
  6886. m.Type |= (int64(b) & 0x7F) << shift
  6887. if b < 0x80 {
  6888. break
  6889. }
  6890. }
  6891. case 4:
  6892. if wireType != 0 {
  6893. return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
  6894. }
  6895. m.Num = 0
  6896. for shift := uint(0); ; shift += 7 {
  6897. if shift >= 64 {
  6898. return ErrIntOverflowCapsule
  6899. }
  6900. if iNdEx >= l {
  6901. return io.ErrUnexpectedEOF
  6902. }
  6903. b := dAtA[iNdEx]
  6904. iNdEx++
  6905. m.Num |= (int64(b) & 0x7F) << shift
  6906. if b < 0x80 {
  6907. break
  6908. }
  6909. }
  6910. case 5:
  6911. if wireType != 0 {
  6912. return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType)
  6913. }
  6914. m.ObjectId = 0
  6915. for shift := uint(0); ; shift += 7 {
  6916. if shift >= 64 {
  6917. return ErrIntOverflowCapsule
  6918. }
  6919. if iNdEx >= l {
  6920. return io.ErrUnexpectedEOF
  6921. }
  6922. b := dAtA[iNdEx]
  6923. iNdEx++
  6924. m.ObjectId |= (int64(b) & 0x7F) << shift
  6925. if b < 0x80 {
  6926. break
  6927. }
  6928. }
  6929. case 6:
  6930. if wireType != 2 {
  6931. return fmt.Errorf("proto: wrong wireType = %d for field WebUrl", wireType)
  6932. }
  6933. var stringLen uint64
  6934. for shift := uint(0); ; shift += 7 {
  6935. if shift >= 64 {
  6936. return ErrIntOverflowCapsule
  6937. }
  6938. if iNdEx >= l {
  6939. return io.ErrUnexpectedEOF
  6940. }
  6941. b := dAtA[iNdEx]
  6942. iNdEx++
  6943. stringLen |= (uint64(b) & 0x7F) << shift
  6944. if b < 0x80 {
  6945. break
  6946. }
  6947. }
  6948. intStringLen := int(stringLen)
  6949. if intStringLen < 0 {
  6950. return ErrInvalidLengthCapsule
  6951. }
  6952. postIndex := iNdEx + intStringLen
  6953. if postIndex > l {
  6954. return io.ErrUnexpectedEOF
  6955. }
  6956. m.WebUrl = string(dAtA[iNdEx:postIndex])
  6957. iNdEx = postIndex
  6958. case 7:
  6959. if wireType != 2 {
  6960. return fmt.Errorf("proto: wrong wireType = %d for field MobileUrl", wireType)
  6961. }
  6962. var stringLen uint64
  6963. for shift := uint(0); ; shift += 7 {
  6964. if shift >= 64 {
  6965. return ErrIntOverflowCapsule
  6966. }
  6967. if iNdEx >= l {
  6968. return io.ErrUnexpectedEOF
  6969. }
  6970. b := dAtA[iNdEx]
  6971. iNdEx++
  6972. stringLen |= (uint64(b) & 0x7F) << shift
  6973. if b < 0x80 {
  6974. break
  6975. }
  6976. }
  6977. intStringLen := int(stringLen)
  6978. if intStringLen < 0 {
  6979. return ErrInvalidLengthCapsule
  6980. }
  6981. postIndex := iNdEx + intStringLen
  6982. if postIndex > l {
  6983. return io.ErrUnexpectedEOF
  6984. }
  6985. m.MobileUrl = string(dAtA[iNdEx:postIndex])
  6986. iNdEx = postIndex
  6987. case 8:
  6988. if wireType != 2 {
  6989. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  6990. }
  6991. var stringLen uint64
  6992. for shift := uint(0); ; shift += 7 {
  6993. if shift >= 64 {
  6994. return ErrIntOverflowCapsule
  6995. }
  6996. if iNdEx >= l {
  6997. return io.ErrUnexpectedEOF
  6998. }
  6999. b := dAtA[iNdEx]
  7000. iNdEx++
  7001. stringLen |= (uint64(b) & 0x7F) << shift
  7002. if b < 0x80 {
  7003. break
  7004. }
  7005. }
  7006. intStringLen := int(stringLen)
  7007. if intStringLen < 0 {
  7008. return ErrInvalidLengthCapsule
  7009. }
  7010. postIndex := iNdEx + intStringLen
  7011. if postIndex > l {
  7012. return io.ErrUnexpectedEOF
  7013. }
  7014. m.Description = string(dAtA[iNdEx:postIndex])
  7015. iNdEx = postIndex
  7016. case 9:
  7017. if wireType != 2 {
  7018. return fmt.Errorf("proto: wrong wireType = %d for field JumpUrl", wireType)
  7019. }
  7020. var stringLen uint64
  7021. for shift := uint(0); ; shift += 7 {
  7022. if shift >= 64 {
  7023. return ErrIntOverflowCapsule
  7024. }
  7025. if iNdEx >= l {
  7026. return io.ErrUnexpectedEOF
  7027. }
  7028. b := dAtA[iNdEx]
  7029. iNdEx++
  7030. stringLen |= (uint64(b) & 0x7F) << shift
  7031. if b < 0x80 {
  7032. break
  7033. }
  7034. }
  7035. intStringLen := int(stringLen)
  7036. if intStringLen < 0 {
  7037. return ErrInvalidLengthCapsule
  7038. }
  7039. postIndex := iNdEx + intStringLen
  7040. if postIndex > l {
  7041. return io.ErrUnexpectedEOF
  7042. }
  7043. m.JumpUrl = string(dAtA[iNdEx:postIndex])
  7044. iNdEx = postIndex
  7045. case 10:
  7046. if wireType != 0 {
  7047. return fmt.Errorf("proto: wrong wireType = %d for field ProType", wireType)
  7048. }
  7049. m.ProType = 0
  7050. for shift := uint(0); ; shift += 7 {
  7051. if shift >= 64 {
  7052. return ErrIntOverflowCapsule
  7053. }
  7054. if iNdEx >= l {
  7055. return io.ErrUnexpectedEOF
  7056. }
  7057. b := dAtA[iNdEx]
  7058. iNdEx++
  7059. m.ProType |= (int64(b) & 0x7F) << shift
  7060. if b < 0x80 {
  7061. break
  7062. }
  7063. }
  7064. case 11:
  7065. if wireType != 2 {
  7066. return fmt.Errorf("proto: wrong wireType = %d for field Chance", wireType)
  7067. }
  7068. var stringLen uint64
  7069. for shift := uint(0); ; shift += 7 {
  7070. if shift >= 64 {
  7071. return ErrIntOverflowCapsule
  7072. }
  7073. if iNdEx >= l {
  7074. return io.ErrUnexpectedEOF
  7075. }
  7076. b := dAtA[iNdEx]
  7077. iNdEx++
  7078. stringLen |= (uint64(b) & 0x7F) << shift
  7079. if b < 0x80 {
  7080. break
  7081. }
  7082. }
  7083. intStringLen := int(stringLen)
  7084. if intStringLen < 0 {
  7085. return ErrInvalidLengthCapsule
  7086. }
  7087. postIndex := iNdEx + intStringLen
  7088. if postIndex > l {
  7089. return io.ErrUnexpectedEOF
  7090. }
  7091. m.Chance = string(dAtA[iNdEx:postIndex])
  7092. iNdEx = postIndex
  7093. case 12:
  7094. if wireType != 0 {
  7095. return fmt.Errorf("proto: wrong wireType = %d for field Loop", wireType)
  7096. }
  7097. m.Loop = 0
  7098. for shift := uint(0); ; shift += 7 {
  7099. if shift >= 64 {
  7100. return ErrIntOverflowCapsule
  7101. }
  7102. if iNdEx >= l {
  7103. return io.ErrUnexpectedEOF
  7104. }
  7105. b := dAtA[iNdEx]
  7106. iNdEx++
  7107. m.Loop |= (int64(b) & 0x7F) << shift
  7108. if b < 0x80 {
  7109. break
  7110. }
  7111. }
  7112. case 13:
  7113. if wireType != 0 {
  7114. return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
  7115. }
  7116. m.Limit = 0
  7117. for shift := uint(0); ; shift += 7 {
  7118. if shift >= 64 {
  7119. return ErrIntOverflowCapsule
  7120. }
  7121. if iNdEx >= l {
  7122. return io.ErrUnexpectedEOF
  7123. }
  7124. b := dAtA[iNdEx]
  7125. iNdEx++
  7126. m.Limit |= (int64(b) & 0x7F) << shift
  7127. if b < 0x80 {
  7128. break
  7129. }
  7130. }
  7131. case 14:
  7132. if wireType != 2 {
  7133. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  7134. }
  7135. var stringLen uint64
  7136. for shift := uint(0); ; shift += 7 {
  7137. if shift >= 64 {
  7138. return ErrIntOverflowCapsule
  7139. }
  7140. if iNdEx >= l {
  7141. return io.ErrUnexpectedEOF
  7142. }
  7143. b := dAtA[iNdEx]
  7144. iNdEx++
  7145. stringLen |= (uint64(b) & 0x7F) << shift
  7146. if b < 0x80 {
  7147. break
  7148. }
  7149. }
  7150. intStringLen := int(stringLen)
  7151. if intStringLen < 0 {
  7152. return ErrInvalidLengthCapsule
  7153. }
  7154. postIndex := iNdEx + intStringLen
  7155. if postIndex > l {
  7156. return io.ErrUnexpectedEOF
  7157. }
  7158. m.Name = string(dAtA[iNdEx:postIndex])
  7159. iNdEx = postIndex
  7160. case 15:
  7161. if wireType != 0 {
  7162. return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  7163. }
  7164. m.Weight = 0
  7165. for shift := uint(0); ; shift += 7 {
  7166. if shift >= 64 {
  7167. return ErrIntOverflowCapsule
  7168. }
  7169. if iNdEx >= l {
  7170. return io.ErrUnexpectedEOF
  7171. }
  7172. b := dAtA[iNdEx]
  7173. iNdEx++
  7174. m.Weight |= (int64(b) & 0x7F) << shift
  7175. if b < 0x80 {
  7176. break
  7177. }
  7178. }
  7179. case 16:
  7180. if wireType != 2 {
  7181. return fmt.Errorf("proto: wrong wireType = %d for field WhiteUids", wireType)
  7182. }
  7183. var stringLen uint64
  7184. for shift := uint(0); ; shift += 7 {
  7185. if shift >= 64 {
  7186. return ErrIntOverflowCapsule
  7187. }
  7188. if iNdEx >= l {
  7189. return io.ErrUnexpectedEOF
  7190. }
  7191. b := dAtA[iNdEx]
  7192. iNdEx++
  7193. stringLen |= (uint64(b) & 0x7F) << shift
  7194. if b < 0x80 {
  7195. break
  7196. }
  7197. }
  7198. intStringLen := int(stringLen)
  7199. if intStringLen < 0 {
  7200. return ErrInvalidLengthCapsule
  7201. }
  7202. postIndex := iNdEx + intStringLen
  7203. if postIndex > l {
  7204. return io.ErrUnexpectedEOF
  7205. }
  7206. m.WhiteUids = string(dAtA[iNdEx:postIndex])
  7207. iNdEx = postIndex
  7208. case 17:
  7209. if wireType != 0 {
  7210. return fmt.Errorf("proto: wrong wireType = %d for field Expire", wireType)
  7211. }
  7212. m.Expire = 0
  7213. for shift := uint(0); ; shift += 7 {
  7214. if shift >= 64 {
  7215. return ErrIntOverflowCapsule
  7216. }
  7217. if iNdEx >= l {
  7218. return io.ErrUnexpectedEOF
  7219. }
  7220. b := dAtA[iNdEx]
  7221. iNdEx++
  7222. m.Expire |= (int64(b) & 0x7F) << shift
  7223. if b < 0x80 {
  7224. break
  7225. }
  7226. }
  7227. default:
  7228. iNdEx = preIndex
  7229. skippy, err := skipCapsule(dAtA[iNdEx:])
  7230. if err != nil {
  7231. return err
  7232. }
  7233. if skippy < 0 {
  7234. return ErrInvalidLengthCapsule
  7235. }
  7236. if (iNdEx + skippy) > l {
  7237. return io.ErrUnexpectedEOF
  7238. }
  7239. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7240. iNdEx += skippy
  7241. }
  7242. }
  7243. if iNdEx > l {
  7244. return io.ErrUnexpectedEOF
  7245. }
  7246. return nil
  7247. }
  7248. func (m *UpdatePoolPrizeReqAdmin) Unmarshal(dAtA []byte) error {
  7249. l := len(dAtA)
  7250. iNdEx := 0
  7251. for iNdEx < l {
  7252. preIndex := iNdEx
  7253. var wire uint64
  7254. for shift := uint(0); ; shift += 7 {
  7255. if shift >= 64 {
  7256. return ErrIntOverflowCapsule
  7257. }
  7258. if iNdEx >= l {
  7259. return io.ErrUnexpectedEOF
  7260. }
  7261. b := dAtA[iNdEx]
  7262. iNdEx++
  7263. wire |= (uint64(b) & 0x7F) << shift
  7264. if b < 0x80 {
  7265. break
  7266. }
  7267. }
  7268. fieldNum := int32(wire >> 3)
  7269. wireType := int(wire & 0x7)
  7270. if wireType == 4 {
  7271. return fmt.Errorf("proto: UpdatePoolPrizeReqAdmin: wiretype end group for non-group")
  7272. }
  7273. if fieldNum <= 0 {
  7274. return fmt.Errorf("proto: UpdatePoolPrizeReqAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  7275. }
  7276. switch fieldNum {
  7277. case 1:
  7278. if wireType != 0 {
  7279. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  7280. }
  7281. m.Id = 0
  7282. for shift := uint(0); ; shift += 7 {
  7283. if shift >= 64 {
  7284. return ErrIntOverflowCapsule
  7285. }
  7286. if iNdEx >= l {
  7287. return io.ErrUnexpectedEOF
  7288. }
  7289. b := dAtA[iNdEx]
  7290. iNdEx++
  7291. m.Id |= (int64(b) & 0x7F) << shift
  7292. if b < 0x80 {
  7293. break
  7294. }
  7295. }
  7296. case 2:
  7297. if wireType != 0 {
  7298. return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType)
  7299. }
  7300. m.PoolId = 0
  7301. for shift := uint(0); ; shift += 7 {
  7302. if shift >= 64 {
  7303. return ErrIntOverflowCapsule
  7304. }
  7305. if iNdEx >= l {
  7306. return io.ErrUnexpectedEOF
  7307. }
  7308. b := dAtA[iNdEx]
  7309. iNdEx++
  7310. m.PoolId |= (int64(b) & 0x7F) << shift
  7311. if b < 0x80 {
  7312. break
  7313. }
  7314. }
  7315. case 3:
  7316. if wireType != 0 {
  7317. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  7318. }
  7319. m.Type = 0
  7320. for shift := uint(0); ; shift += 7 {
  7321. if shift >= 64 {
  7322. return ErrIntOverflowCapsule
  7323. }
  7324. if iNdEx >= l {
  7325. return io.ErrUnexpectedEOF
  7326. }
  7327. b := dAtA[iNdEx]
  7328. iNdEx++
  7329. m.Type |= (int64(b) & 0x7F) << shift
  7330. if b < 0x80 {
  7331. break
  7332. }
  7333. }
  7334. case 4:
  7335. if wireType != 0 {
  7336. return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
  7337. }
  7338. m.Num = 0
  7339. for shift := uint(0); ; shift += 7 {
  7340. if shift >= 64 {
  7341. return ErrIntOverflowCapsule
  7342. }
  7343. if iNdEx >= l {
  7344. return io.ErrUnexpectedEOF
  7345. }
  7346. b := dAtA[iNdEx]
  7347. iNdEx++
  7348. m.Num |= (int64(b) & 0x7F) << shift
  7349. if b < 0x80 {
  7350. break
  7351. }
  7352. }
  7353. case 5:
  7354. if wireType != 0 {
  7355. return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType)
  7356. }
  7357. m.ObjectId = 0
  7358. for shift := uint(0); ; shift += 7 {
  7359. if shift >= 64 {
  7360. return ErrIntOverflowCapsule
  7361. }
  7362. if iNdEx >= l {
  7363. return io.ErrUnexpectedEOF
  7364. }
  7365. b := dAtA[iNdEx]
  7366. iNdEx++
  7367. m.ObjectId |= (int64(b) & 0x7F) << shift
  7368. if b < 0x80 {
  7369. break
  7370. }
  7371. }
  7372. case 6:
  7373. if wireType != 0 {
  7374. return fmt.Errorf("proto: wrong wireType = %d for field Expire", wireType)
  7375. }
  7376. m.Expire = 0
  7377. for shift := uint(0); ; shift += 7 {
  7378. if shift >= 64 {
  7379. return ErrIntOverflowCapsule
  7380. }
  7381. if iNdEx >= l {
  7382. return io.ErrUnexpectedEOF
  7383. }
  7384. b := dAtA[iNdEx]
  7385. iNdEx++
  7386. m.Expire |= (int64(b) & 0x7F) << shift
  7387. if b < 0x80 {
  7388. break
  7389. }
  7390. }
  7391. case 7:
  7392. if wireType != 2 {
  7393. return fmt.Errorf("proto: wrong wireType = %d for field WebUrl", wireType)
  7394. }
  7395. var stringLen uint64
  7396. for shift := uint(0); ; shift += 7 {
  7397. if shift >= 64 {
  7398. return ErrIntOverflowCapsule
  7399. }
  7400. if iNdEx >= l {
  7401. return io.ErrUnexpectedEOF
  7402. }
  7403. b := dAtA[iNdEx]
  7404. iNdEx++
  7405. stringLen |= (uint64(b) & 0x7F) << shift
  7406. if b < 0x80 {
  7407. break
  7408. }
  7409. }
  7410. intStringLen := int(stringLen)
  7411. if intStringLen < 0 {
  7412. return ErrInvalidLengthCapsule
  7413. }
  7414. postIndex := iNdEx + intStringLen
  7415. if postIndex > l {
  7416. return io.ErrUnexpectedEOF
  7417. }
  7418. m.WebUrl = string(dAtA[iNdEx:postIndex])
  7419. iNdEx = postIndex
  7420. case 8:
  7421. if wireType != 2 {
  7422. return fmt.Errorf("proto: wrong wireType = %d for field MobileUrl", wireType)
  7423. }
  7424. var stringLen uint64
  7425. for shift := uint(0); ; shift += 7 {
  7426. if shift >= 64 {
  7427. return ErrIntOverflowCapsule
  7428. }
  7429. if iNdEx >= l {
  7430. return io.ErrUnexpectedEOF
  7431. }
  7432. b := dAtA[iNdEx]
  7433. iNdEx++
  7434. stringLen |= (uint64(b) & 0x7F) << shift
  7435. if b < 0x80 {
  7436. break
  7437. }
  7438. }
  7439. intStringLen := int(stringLen)
  7440. if intStringLen < 0 {
  7441. return ErrInvalidLengthCapsule
  7442. }
  7443. postIndex := iNdEx + intStringLen
  7444. if postIndex > l {
  7445. return io.ErrUnexpectedEOF
  7446. }
  7447. m.MobileUrl = string(dAtA[iNdEx:postIndex])
  7448. iNdEx = postIndex
  7449. case 9:
  7450. if wireType != 2 {
  7451. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  7452. }
  7453. var stringLen uint64
  7454. for shift := uint(0); ; shift += 7 {
  7455. if shift >= 64 {
  7456. return ErrIntOverflowCapsule
  7457. }
  7458. if iNdEx >= l {
  7459. return io.ErrUnexpectedEOF
  7460. }
  7461. b := dAtA[iNdEx]
  7462. iNdEx++
  7463. stringLen |= (uint64(b) & 0x7F) << shift
  7464. if b < 0x80 {
  7465. break
  7466. }
  7467. }
  7468. intStringLen := int(stringLen)
  7469. if intStringLen < 0 {
  7470. return ErrInvalidLengthCapsule
  7471. }
  7472. postIndex := iNdEx + intStringLen
  7473. if postIndex > l {
  7474. return io.ErrUnexpectedEOF
  7475. }
  7476. m.Description = string(dAtA[iNdEx:postIndex])
  7477. iNdEx = postIndex
  7478. case 10:
  7479. if wireType != 2 {
  7480. return fmt.Errorf("proto: wrong wireType = %d for field JumpUrl", wireType)
  7481. }
  7482. var stringLen uint64
  7483. for shift := uint(0); ; shift += 7 {
  7484. if shift >= 64 {
  7485. return ErrIntOverflowCapsule
  7486. }
  7487. if iNdEx >= l {
  7488. return io.ErrUnexpectedEOF
  7489. }
  7490. b := dAtA[iNdEx]
  7491. iNdEx++
  7492. stringLen |= (uint64(b) & 0x7F) << shift
  7493. if b < 0x80 {
  7494. break
  7495. }
  7496. }
  7497. intStringLen := int(stringLen)
  7498. if intStringLen < 0 {
  7499. return ErrInvalidLengthCapsule
  7500. }
  7501. postIndex := iNdEx + intStringLen
  7502. if postIndex > l {
  7503. return io.ErrUnexpectedEOF
  7504. }
  7505. m.JumpUrl = string(dAtA[iNdEx:postIndex])
  7506. iNdEx = postIndex
  7507. case 11:
  7508. if wireType != 0 {
  7509. return fmt.Errorf("proto: wrong wireType = %d for field ProType", wireType)
  7510. }
  7511. m.ProType = 0
  7512. for shift := uint(0); ; shift += 7 {
  7513. if shift >= 64 {
  7514. return ErrIntOverflowCapsule
  7515. }
  7516. if iNdEx >= l {
  7517. return io.ErrUnexpectedEOF
  7518. }
  7519. b := dAtA[iNdEx]
  7520. iNdEx++
  7521. m.ProType |= (int64(b) & 0x7F) << shift
  7522. if b < 0x80 {
  7523. break
  7524. }
  7525. }
  7526. case 12:
  7527. if wireType != 2 {
  7528. return fmt.Errorf("proto: wrong wireType = %d for field Chance", wireType)
  7529. }
  7530. var stringLen uint64
  7531. for shift := uint(0); ; shift += 7 {
  7532. if shift >= 64 {
  7533. return ErrIntOverflowCapsule
  7534. }
  7535. if iNdEx >= l {
  7536. return io.ErrUnexpectedEOF
  7537. }
  7538. b := dAtA[iNdEx]
  7539. iNdEx++
  7540. stringLen |= (uint64(b) & 0x7F) << shift
  7541. if b < 0x80 {
  7542. break
  7543. }
  7544. }
  7545. intStringLen := int(stringLen)
  7546. if intStringLen < 0 {
  7547. return ErrInvalidLengthCapsule
  7548. }
  7549. postIndex := iNdEx + intStringLen
  7550. if postIndex > l {
  7551. return io.ErrUnexpectedEOF
  7552. }
  7553. m.Chance = string(dAtA[iNdEx:postIndex])
  7554. iNdEx = postIndex
  7555. case 13:
  7556. if wireType != 0 {
  7557. return fmt.Errorf("proto: wrong wireType = %d for field Loop", wireType)
  7558. }
  7559. m.Loop = 0
  7560. for shift := uint(0); ; shift += 7 {
  7561. if shift >= 64 {
  7562. return ErrIntOverflowCapsule
  7563. }
  7564. if iNdEx >= l {
  7565. return io.ErrUnexpectedEOF
  7566. }
  7567. b := dAtA[iNdEx]
  7568. iNdEx++
  7569. m.Loop |= (int64(b) & 0x7F) << shift
  7570. if b < 0x80 {
  7571. break
  7572. }
  7573. }
  7574. case 14:
  7575. if wireType != 0 {
  7576. return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
  7577. }
  7578. m.Limit = 0
  7579. for shift := uint(0); ; shift += 7 {
  7580. if shift >= 64 {
  7581. return ErrIntOverflowCapsule
  7582. }
  7583. if iNdEx >= l {
  7584. return io.ErrUnexpectedEOF
  7585. }
  7586. b := dAtA[iNdEx]
  7587. iNdEx++
  7588. m.Limit |= (int64(b) & 0x7F) << shift
  7589. if b < 0x80 {
  7590. break
  7591. }
  7592. }
  7593. case 15:
  7594. if wireType != 0 {
  7595. return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
  7596. }
  7597. m.Weight = 0
  7598. for shift := uint(0); ; shift += 7 {
  7599. if shift >= 64 {
  7600. return ErrIntOverflowCapsule
  7601. }
  7602. if iNdEx >= l {
  7603. return io.ErrUnexpectedEOF
  7604. }
  7605. b := dAtA[iNdEx]
  7606. iNdEx++
  7607. m.Weight |= (int64(b) & 0x7F) << shift
  7608. if b < 0x80 {
  7609. break
  7610. }
  7611. }
  7612. case 16:
  7613. if wireType != 2 {
  7614. return fmt.Errorf("proto: wrong wireType = %d for field WhiteUids", wireType)
  7615. }
  7616. var stringLen uint64
  7617. for shift := uint(0); ; shift += 7 {
  7618. if shift >= 64 {
  7619. return ErrIntOverflowCapsule
  7620. }
  7621. if iNdEx >= l {
  7622. return io.ErrUnexpectedEOF
  7623. }
  7624. b := dAtA[iNdEx]
  7625. iNdEx++
  7626. stringLen |= (uint64(b) & 0x7F) << shift
  7627. if b < 0x80 {
  7628. break
  7629. }
  7630. }
  7631. intStringLen := int(stringLen)
  7632. if intStringLen < 0 {
  7633. return ErrInvalidLengthCapsule
  7634. }
  7635. postIndex := iNdEx + intStringLen
  7636. if postIndex > l {
  7637. return io.ErrUnexpectedEOF
  7638. }
  7639. m.WhiteUids = string(dAtA[iNdEx:postIndex])
  7640. iNdEx = postIndex
  7641. default:
  7642. iNdEx = preIndex
  7643. skippy, err := skipCapsule(dAtA[iNdEx:])
  7644. if err != nil {
  7645. return err
  7646. }
  7647. if skippy < 0 {
  7648. return ErrInvalidLengthCapsule
  7649. }
  7650. if (iNdEx + skippy) > l {
  7651. return io.ErrUnexpectedEOF
  7652. }
  7653. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7654. iNdEx += skippy
  7655. }
  7656. }
  7657. if iNdEx > l {
  7658. return io.ErrUnexpectedEOF
  7659. }
  7660. return nil
  7661. }
  7662. func (m *UpdatePoolPrizeRespAdmin) Unmarshal(dAtA []byte) error {
  7663. l := len(dAtA)
  7664. iNdEx := 0
  7665. for iNdEx < l {
  7666. preIndex := iNdEx
  7667. var wire uint64
  7668. for shift := uint(0); ; shift += 7 {
  7669. if shift >= 64 {
  7670. return ErrIntOverflowCapsule
  7671. }
  7672. if iNdEx >= l {
  7673. return io.ErrUnexpectedEOF
  7674. }
  7675. b := dAtA[iNdEx]
  7676. iNdEx++
  7677. wire |= (uint64(b) & 0x7F) << shift
  7678. if b < 0x80 {
  7679. break
  7680. }
  7681. }
  7682. fieldNum := int32(wire >> 3)
  7683. wireType := int(wire & 0x7)
  7684. if wireType == 4 {
  7685. return fmt.Errorf("proto: UpdatePoolPrizeRespAdmin: wiretype end group for non-group")
  7686. }
  7687. if fieldNum <= 0 {
  7688. return fmt.Errorf("proto: UpdatePoolPrizeRespAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  7689. }
  7690. switch fieldNum {
  7691. case 1:
  7692. if wireType != 0 {
  7693. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  7694. }
  7695. var v int
  7696. for shift := uint(0); ; shift += 7 {
  7697. if shift >= 64 {
  7698. return ErrIntOverflowCapsule
  7699. }
  7700. if iNdEx >= l {
  7701. return io.ErrUnexpectedEOF
  7702. }
  7703. b := dAtA[iNdEx]
  7704. iNdEx++
  7705. v |= (int(b) & 0x7F) << shift
  7706. if b < 0x80 {
  7707. break
  7708. }
  7709. }
  7710. m.Status = bool(v != 0)
  7711. case 2:
  7712. if wireType != 0 {
  7713. return fmt.Errorf("proto: wrong wireType = %d for field PrizeId", wireType)
  7714. }
  7715. m.PrizeId = 0
  7716. for shift := uint(0); ; shift += 7 {
  7717. if shift >= 64 {
  7718. return ErrIntOverflowCapsule
  7719. }
  7720. if iNdEx >= l {
  7721. return io.ErrUnexpectedEOF
  7722. }
  7723. b := dAtA[iNdEx]
  7724. iNdEx++
  7725. m.PrizeId |= (int64(b) & 0x7F) << shift
  7726. if b < 0x80 {
  7727. break
  7728. }
  7729. }
  7730. default:
  7731. iNdEx = preIndex
  7732. skippy, err := skipCapsule(dAtA[iNdEx:])
  7733. if err != nil {
  7734. return err
  7735. }
  7736. if skippy < 0 {
  7737. return ErrInvalidLengthCapsule
  7738. }
  7739. if (iNdEx + skippy) > l {
  7740. return io.ErrUnexpectedEOF
  7741. }
  7742. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7743. iNdEx += skippy
  7744. }
  7745. }
  7746. if iNdEx > l {
  7747. return io.ErrUnexpectedEOF
  7748. }
  7749. return nil
  7750. }
  7751. func (m *DeletePoolPrizeReqAdmin) Unmarshal(dAtA []byte) error {
  7752. l := len(dAtA)
  7753. iNdEx := 0
  7754. for iNdEx < l {
  7755. preIndex := iNdEx
  7756. var wire uint64
  7757. for shift := uint(0); ; shift += 7 {
  7758. if shift >= 64 {
  7759. return ErrIntOverflowCapsule
  7760. }
  7761. if iNdEx >= l {
  7762. return io.ErrUnexpectedEOF
  7763. }
  7764. b := dAtA[iNdEx]
  7765. iNdEx++
  7766. wire |= (uint64(b) & 0x7F) << shift
  7767. if b < 0x80 {
  7768. break
  7769. }
  7770. }
  7771. fieldNum := int32(wire >> 3)
  7772. wireType := int(wire & 0x7)
  7773. if wireType == 4 {
  7774. return fmt.Errorf("proto: DeletePoolPrizeReqAdmin: wiretype end group for non-group")
  7775. }
  7776. if fieldNum <= 0 {
  7777. return fmt.Errorf("proto: DeletePoolPrizeReqAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  7778. }
  7779. switch fieldNum {
  7780. case 1:
  7781. if wireType != 0 {
  7782. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  7783. }
  7784. m.Id = 0
  7785. for shift := uint(0); ; shift += 7 {
  7786. if shift >= 64 {
  7787. return ErrIntOverflowCapsule
  7788. }
  7789. if iNdEx >= l {
  7790. return io.ErrUnexpectedEOF
  7791. }
  7792. b := dAtA[iNdEx]
  7793. iNdEx++
  7794. m.Id |= (int64(b) & 0x7F) << shift
  7795. if b < 0x80 {
  7796. break
  7797. }
  7798. }
  7799. default:
  7800. iNdEx = preIndex
  7801. skippy, err := skipCapsule(dAtA[iNdEx:])
  7802. if err != nil {
  7803. return err
  7804. }
  7805. if skippy < 0 {
  7806. return ErrInvalidLengthCapsule
  7807. }
  7808. if (iNdEx + skippy) > l {
  7809. return io.ErrUnexpectedEOF
  7810. }
  7811. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7812. iNdEx += skippy
  7813. }
  7814. }
  7815. if iNdEx > l {
  7816. return io.ErrUnexpectedEOF
  7817. }
  7818. return nil
  7819. }
  7820. func (m *DeletePoolPrizeRespAdmin) Unmarshal(dAtA []byte) error {
  7821. l := len(dAtA)
  7822. iNdEx := 0
  7823. for iNdEx < l {
  7824. preIndex := iNdEx
  7825. var wire uint64
  7826. for shift := uint(0); ; shift += 7 {
  7827. if shift >= 64 {
  7828. return ErrIntOverflowCapsule
  7829. }
  7830. if iNdEx >= l {
  7831. return io.ErrUnexpectedEOF
  7832. }
  7833. b := dAtA[iNdEx]
  7834. iNdEx++
  7835. wire |= (uint64(b) & 0x7F) << shift
  7836. if b < 0x80 {
  7837. break
  7838. }
  7839. }
  7840. fieldNum := int32(wire >> 3)
  7841. wireType := int(wire & 0x7)
  7842. if wireType == 4 {
  7843. return fmt.Errorf("proto: DeletePoolPrizeRespAdmin: wiretype end group for non-group")
  7844. }
  7845. if fieldNum <= 0 {
  7846. return fmt.Errorf("proto: DeletePoolPrizeRespAdmin: illegal tag %d (wire type %d)", fieldNum, wire)
  7847. }
  7848. switch fieldNum {
  7849. case 1:
  7850. if wireType != 0 {
  7851. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  7852. }
  7853. var v int
  7854. for shift := uint(0); ; shift += 7 {
  7855. if shift >= 64 {
  7856. return ErrIntOverflowCapsule
  7857. }
  7858. if iNdEx >= l {
  7859. return io.ErrUnexpectedEOF
  7860. }
  7861. b := dAtA[iNdEx]
  7862. iNdEx++
  7863. v |= (int(b) & 0x7F) << shift
  7864. if b < 0x80 {
  7865. break
  7866. }
  7867. }
  7868. m.Status = bool(v != 0)
  7869. default:
  7870. iNdEx = preIndex
  7871. skippy, err := skipCapsule(dAtA[iNdEx:])
  7872. if err != nil {
  7873. return err
  7874. }
  7875. if skippy < 0 {
  7876. return ErrInvalidLengthCapsule
  7877. }
  7878. if (iNdEx + skippy) > l {
  7879. return io.ErrUnexpectedEOF
  7880. }
  7881. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7882. iNdEx += skippy
  7883. }
  7884. }
  7885. if iNdEx > l {
  7886. return io.ErrUnexpectedEOF
  7887. }
  7888. return nil
  7889. }
  7890. func (m *GetPrizeTypeReq) Unmarshal(dAtA []byte) error {
  7891. l := len(dAtA)
  7892. iNdEx := 0
  7893. for iNdEx < l {
  7894. preIndex := iNdEx
  7895. var wire uint64
  7896. for shift := uint(0); ; shift += 7 {
  7897. if shift >= 64 {
  7898. return ErrIntOverflowCapsule
  7899. }
  7900. if iNdEx >= l {
  7901. return io.ErrUnexpectedEOF
  7902. }
  7903. b := dAtA[iNdEx]
  7904. iNdEx++
  7905. wire |= (uint64(b) & 0x7F) << shift
  7906. if b < 0x80 {
  7907. break
  7908. }
  7909. }
  7910. fieldNum := int32(wire >> 3)
  7911. wireType := int(wire & 0x7)
  7912. if wireType == 4 {
  7913. return fmt.Errorf("proto: GetPrizeTypeReq: wiretype end group for non-group")
  7914. }
  7915. if fieldNum <= 0 {
  7916. return fmt.Errorf("proto: GetPrizeTypeReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7917. }
  7918. switch fieldNum {
  7919. default:
  7920. iNdEx = preIndex
  7921. skippy, err := skipCapsule(dAtA[iNdEx:])
  7922. if err != nil {
  7923. return err
  7924. }
  7925. if skippy < 0 {
  7926. return ErrInvalidLengthCapsule
  7927. }
  7928. if (iNdEx + skippy) > l {
  7929. return io.ErrUnexpectedEOF
  7930. }
  7931. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7932. iNdEx += skippy
  7933. }
  7934. }
  7935. if iNdEx > l {
  7936. return io.ErrUnexpectedEOF
  7937. }
  7938. return nil
  7939. }
  7940. func (m *GetPrizeTypeResp) Unmarshal(dAtA []byte) error {
  7941. l := len(dAtA)
  7942. iNdEx := 0
  7943. for iNdEx < l {
  7944. preIndex := iNdEx
  7945. var wire uint64
  7946. for shift := uint(0); ; shift += 7 {
  7947. if shift >= 64 {
  7948. return ErrIntOverflowCapsule
  7949. }
  7950. if iNdEx >= l {
  7951. return io.ErrUnexpectedEOF
  7952. }
  7953. b := dAtA[iNdEx]
  7954. iNdEx++
  7955. wire |= (uint64(b) & 0x7F) << shift
  7956. if b < 0x80 {
  7957. break
  7958. }
  7959. }
  7960. fieldNum := int32(wire >> 3)
  7961. wireType := int(wire & 0x7)
  7962. if wireType == 4 {
  7963. return fmt.Errorf("proto: GetPrizeTypeResp: wiretype end group for non-group")
  7964. }
  7965. if fieldNum <= 0 {
  7966. return fmt.Errorf("proto: GetPrizeTypeResp: illegal tag %d (wire type %d)", fieldNum, wire)
  7967. }
  7968. switch fieldNum {
  7969. case 3:
  7970. if wireType != 2 {
  7971. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  7972. }
  7973. var msglen int
  7974. for shift := uint(0); ; shift += 7 {
  7975. if shift >= 64 {
  7976. return ErrIntOverflowCapsule
  7977. }
  7978. if iNdEx >= l {
  7979. return io.ErrUnexpectedEOF
  7980. }
  7981. b := dAtA[iNdEx]
  7982. iNdEx++
  7983. msglen |= (int(b) & 0x7F) << shift
  7984. if b < 0x80 {
  7985. break
  7986. }
  7987. }
  7988. if msglen < 0 {
  7989. return ErrInvalidLengthCapsule
  7990. }
  7991. postIndex := iNdEx + msglen
  7992. if postIndex > l {
  7993. return io.ErrUnexpectedEOF
  7994. }
  7995. m.List = append(m.List, &GetPrizeTypeResp_List{})
  7996. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7997. return err
  7998. }
  7999. iNdEx = postIndex
  8000. default:
  8001. iNdEx = preIndex
  8002. skippy, err := skipCapsule(dAtA[iNdEx:])
  8003. if err != nil {
  8004. return err
  8005. }
  8006. if skippy < 0 {
  8007. return ErrInvalidLengthCapsule
  8008. }
  8009. if (iNdEx + skippy) > l {
  8010. return io.ErrUnexpectedEOF
  8011. }
  8012. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8013. iNdEx += skippy
  8014. }
  8015. }
  8016. if iNdEx > l {
  8017. return io.ErrUnexpectedEOF
  8018. }
  8019. return nil
  8020. }
  8021. func (m *GetPrizeTypeResp_List) Unmarshal(dAtA []byte) error {
  8022. l := len(dAtA)
  8023. iNdEx := 0
  8024. for iNdEx < l {
  8025. preIndex := iNdEx
  8026. var wire uint64
  8027. for shift := uint(0); ; shift += 7 {
  8028. if shift >= 64 {
  8029. return ErrIntOverflowCapsule
  8030. }
  8031. if iNdEx >= l {
  8032. return io.ErrUnexpectedEOF
  8033. }
  8034. b := dAtA[iNdEx]
  8035. iNdEx++
  8036. wire |= (uint64(b) & 0x7F) << shift
  8037. if b < 0x80 {
  8038. break
  8039. }
  8040. }
  8041. fieldNum := int32(wire >> 3)
  8042. wireType := int(wire & 0x7)
  8043. if wireType == 4 {
  8044. return fmt.Errorf("proto: List: wiretype end group for non-group")
  8045. }
  8046. if fieldNum <= 0 {
  8047. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  8048. }
  8049. switch fieldNum {
  8050. case 1:
  8051. if wireType != 0 {
  8052. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  8053. }
  8054. m.Type = 0
  8055. for shift := uint(0); ; shift += 7 {
  8056. if shift >= 64 {
  8057. return ErrIntOverflowCapsule
  8058. }
  8059. if iNdEx >= l {
  8060. return io.ErrUnexpectedEOF
  8061. }
  8062. b := dAtA[iNdEx]
  8063. iNdEx++
  8064. m.Type |= (int64(b) & 0x7F) << shift
  8065. if b < 0x80 {
  8066. break
  8067. }
  8068. }
  8069. case 2:
  8070. if wireType != 2 {
  8071. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  8072. }
  8073. var stringLen uint64
  8074. for shift := uint(0); ; shift += 7 {
  8075. if shift >= 64 {
  8076. return ErrIntOverflowCapsule
  8077. }
  8078. if iNdEx >= l {
  8079. return io.ErrUnexpectedEOF
  8080. }
  8081. b := dAtA[iNdEx]
  8082. iNdEx++
  8083. stringLen |= (uint64(b) & 0x7F) << shift
  8084. if b < 0x80 {
  8085. break
  8086. }
  8087. }
  8088. intStringLen := int(stringLen)
  8089. if intStringLen < 0 {
  8090. return ErrInvalidLengthCapsule
  8091. }
  8092. postIndex := iNdEx + intStringLen
  8093. if postIndex > l {
  8094. return io.ErrUnexpectedEOF
  8095. }
  8096. m.Name = string(dAtA[iNdEx:postIndex])
  8097. iNdEx = postIndex
  8098. default:
  8099. iNdEx = preIndex
  8100. skippy, err := skipCapsule(dAtA[iNdEx:])
  8101. if err != nil {
  8102. return err
  8103. }
  8104. if skippy < 0 {
  8105. return ErrInvalidLengthCapsule
  8106. }
  8107. if (iNdEx + skippy) > l {
  8108. return io.ErrUnexpectedEOF
  8109. }
  8110. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8111. iNdEx += skippy
  8112. }
  8113. }
  8114. if iNdEx > l {
  8115. return io.ErrUnexpectedEOF
  8116. }
  8117. return nil
  8118. }
  8119. func (m *GetPrizeExpireReq) Unmarshal(dAtA []byte) error {
  8120. l := len(dAtA)
  8121. iNdEx := 0
  8122. for iNdEx < l {
  8123. preIndex := iNdEx
  8124. var wire uint64
  8125. for shift := uint(0); ; shift += 7 {
  8126. if shift >= 64 {
  8127. return ErrIntOverflowCapsule
  8128. }
  8129. if iNdEx >= l {
  8130. return io.ErrUnexpectedEOF
  8131. }
  8132. b := dAtA[iNdEx]
  8133. iNdEx++
  8134. wire |= (uint64(b) & 0x7F) << shift
  8135. if b < 0x80 {
  8136. break
  8137. }
  8138. }
  8139. fieldNum := int32(wire >> 3)
  8140. wireType := int(wire & 0x7)
  8141. if wireType == 4 {
  8142. return fmt.Errorf("proto: GetPrizeExpireReq: wiretype end group for non-group")
  8143. }
  8144. if fieldNum <= 0 {
  8145. return fmt.Errorf("proto: GetPrizeExpireReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8146. }
  8147. switch fieldNum {
  8148. default:
  8149. iNdEx = preIndex
  8150. skippy, err := skipCapsule(dAtA[iNdEx:])
  8151. if err != nil {
  8152. return err
  8153. }
  8154. if skippy < 0 {
  8155. return ErrInvalidLengthCapsule
  8156. }
  8157. if (iNdEx + skippy) > l {
  8158. return io.ErrUnexpectedEOF
  8159. }
  8160. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8161. iNdEx += skippy
  8162. }
  8163. }
  8164. if iNdEx > l {
  8165. return io.ErrUnexpectedEOF
  8166. }
  8167. return nil
  8168. }
  8169. func (m *GetPrizeExpireResp) Unmarshal(dAtA []byte) error {
  8170. l := len(dAtA)
  8171. iNdEx := 0
  8172. for iNdEx < l {
  8173. preIndex := iNdEx
  8174. var wire uint64
  8175. for shift := uint(0); ; shift += 7 {
  8176. if shift >= 64 {
  8177. return ErrIntOverflowCapsule
  8178. }
  8179. if iNdEx >= l {
  8180. return io.ErrUnexpectedEOF
  8181. }
  8182. b := dAtA[iNdEx]
  8183. iNdEx++
  8184. wire |= (uint64(b) & 0x7F) << shift
  8185. if b < 0x80 {
  8186. break
  8187. }
  8188. }
  8189. fieldNum := int32(wire >> 3)
  8190. wireType := int(wire & 0x7)
  8191. if wireType == 4 {
  8192. return fmt.Errorf("proto: GetPrizeExpireResp: wiretype end group for non-group")
  8193. }
  8194. if fieldNum <= 0 {
  8195. return fmt.Errorf("proto: GetPrizeExpireResp: illegal tag %d (wire type %d)", fieldNum, wire)
  8196. }
  8197. switch fieldNum {
  8198. case 3:
  8199. if wireType != 2 {
  8200. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  8201. }
  8202. var msglen int
  8203. for shift := uint(0); ; shift += 7 {
  8204. if shift >= 64 {
  8205. return ErrIntOverflowCapsule
  8206. }
  8207. if iNdEx >= l {
  8208. return io.ErrUnexpectedEOF
  8209. }
  8210. b := dAtA[iNdEx]
  8211. iNdEx++
  8212. msglen |= (int(b) & 0x7F) << shift
  8213. if b < 0x80 {
  8214. break
  8215. }
  8216. }
  8217. if msglen < 0 {
  8218. return ErrInvalidLengthCapsule
  8219. }
  8220. postIndex := iNdEx + msglen
  8221. if postIndex > l {
  8222. return io.ErrUnexpectedEOF
  8223. }
  8224. m.List = append(m.List, &GetPrizeExpireResp_List{})
  8225. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8226. return err
  8227. }
  8228. iNdEx = postIndex
  8229. default:
  8230. iNdEx = preIndex
  8231. skippy, err := skipCapsule(dAtA[iNdEx:])
  8232. if err != nil {
  8233. return err
  8234. }
  8235. if skippy < 0 {
  8236. return ErrInvalidLengthCapsule
  8237. }
  8238. if (iNdEx + skippy) > l {
  8239. return io.ErrUnexpectedEOF
  8240. }
  8241. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8242. iNdEx += skippy
  8243. }
  8244. }
  8245. if iNdEx > l {
  8246. return io.ErrUnexpectedEOF
  8247. }
  8248. return nil
  8249. }
  8250. func (m *GetPrizeExpireResp_List) Unmarshal(dAtA []byte) error {
  8251. l := len(dAtA)
  8252. iNdEx := 0
  8253. for iNdEx < l {
  8254. preIndex := iNdEx
  8255. var wire uint64
  8256. for shift := uint(0); ; shift += 7 {
  8257. if shift >= 64 {
  8258. return ErrIntOverflowCapsule
  8259. }
  8260. if iNdEx >= l {
  8261. return io.ErrUnexpectedEOF
  8262. }
  8263. b := dAtA[iNdEx]
  8264. iNdEx++
  8265. wire |= (uint64(b) & 0x7F) << shift
  8266. if b < 0x80 {
  8267. break
  8268. }
  8269. }
  8270. fieldNum := int32(wire >> 3)
  8271. wireType := int(wire & 0x7)
  8272. if wireType == 4 {
  8273. return fmt.Errorf("proto: List: wiretype end group for non-group")
  8274. }
  8275. if fieldNum <= 0 {
  8276. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  8277. }
  8278. switch fieldNum {
  8279. case 1:
  8280. if wireType != 0 {
  8281. return fmt.Errorf("proto: wrong wireType = %d for field Expire", wireType)
  8282. }
  8283. m.Expire = 0
  8284. for shift := uint(0); ; shift += 7 {
  8285. if shift >= 64 {
  8286. return ErrIntOverflowCapsule
  8287. }
  8288. if iNdEx >= l {
  8289. return io.ErrUnexpectedEOF
  8290. }
  8291. b := dAtA[iNdEx]
  8292. iNdEx++
  8293. m.Expire |= (int64(b) & 0x7F) << shift
  8294. if b < 0x80 {
  8295. break
  8296. }
  8297. }
  8298. case 2:
  8299. if wireType != 2 {
  8300. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  8301. }
  8302. var stringLen uint64
  8303. for shift := uint(0); ; shift += 7 {
  8304. if shift >= 64 {
  8305. return ErrIntOverflowCapsule
  8306. }
  8307. if iNdEx >= l {
  8308. return io.ErrUnexpectedEOF
  8309. }
  8310. b := dAtA[iNdEx]
  8311. iNdEx++
  8312. stringLen |= (uint64(b) & 0x7F) << shift
  8313. if b < 0x80 {
  8314. break
  8315. }
  8316. }
  8317. intStringLen := int(stringLen)
  8318. if intStringLen < 0 {
  8319. return ErrInvalidLengthCapsule
  8320. }
  8321. postIndex := iNdEx + intStringLen
  8322. if postIndex > l {
  8323. return io.ErrUnexpectedEOF
  8324. }
  8325. m.Name = string(dAtA[iNdEx:postIndex])
  8326. iNdEx = postIndex
  8327. default:
  8328. iNdEx = preIndex
  8329. skippy, err := skipCapsule(dAtA[iNdEx:])
  8330. if err != nil {
  8331. return err
  8332. }
  8333. if skippy < 0 {
  8334. return ErrInvalidLengthCapsule
  8335. }
  8336. if (iNdEx + skippy) > l {
  8337. return io.ErrUnexpectedEOF
  8338. }
  8339. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8340. iNdEx += skippy
  8341. }
  8342. }
  8343. if iNdEx > l {
  8344. return io.ErrUnexpectedEOF
  8345. }
  8346. return nil
  8347. }
  8348. func (m *CapsuleGetCouponListReq) Unmarshal(dAtA []byte) error {
  8349. l := len(dAtA)
  8350. iNdEx := 0
  8351. for iNdEx < l {
  8352. preIndex := iNdEx
  8353. var wire uint64
  8354. for shift := uint(0); ; shift += 7 {
  8355. if shift >= 64 {
  8356. return ErrIntOverflowCapsule
  8357. }
  8358. if iNdEx >= l {
  8359. return io.ErrUnexpectedEOF
  8360. }
  8361. b := dAtA[iNdEx]
  8362. iNdEx++
  8363. wire |= (uint64(b) & 0x7F) << shift
  8364. if b < 0x80 {
  8365. break
  8366. }
  8367. }
  8368. fieldNum := int32(wire >> 3)
  8369. wireType := int(wire & 0x7)
  8370. if wireType == 4 {
  8371. return fmt.Errorf("proto: CapsuleGetCouponListReq: wiretype end group for non-group")
  8372. }
  8373. if fieldNum <= 0 {
  8374. return fmt.Errorf("proto: CapsuleGetCouponListReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8375. }
  8376. switch fieldNum {
  8377. case 1:
  8378. if wireType != 0 {
  8379. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  8380. }
  8381. m.Uid = 0
  8382. for shift := uint(0); ; shift += 7 {
  8383. if shift >= 64 {
  8384. return ErrIntOverflowCapsule
  8385. }
  8386. if iNdEx >= l {
  8387. return io.ErrUnexpectedEOF
  8388. }
  8389. b := dAtA[iNdEx]
  8390. iNdEx++
  8391. m.Uid |= (int64(b) & 0x7F) << shift
  8392. if b < 0x80 {
  8393. break
  8394. }
  8395. }
  8396. default:
  8397. iNdEx = preIndex
  8398. skippy, err := skipCapsule(dAtA[iNdEx:])
  8399. if err != nil {
  8400. return err
  8401. }
  8402. if skippy < 0 {
  8403. return ErrInvalidLengthCapsule
  8404. }
  8405. if (iNdEx + skippy) > l {
  8406. return io.ErrUnexpectedEOF
  8407. }
  8408. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8409. iNdEx += skippy
  8410. }
  8411. }
  8412. if iNdEx > l {
  8413. return io.ErrUnexpectedEOF
  8414. }
  8415. return nil
  8416. }
  8417. func (m *CapsuleGetCouponListResp) Unmarshal(dAtA []byte) error {
  8418. l := len(dAtA)
  8419. iNdEx := 0
  8420. for iNdEx < l {
  8421. preIndex := iNdEx
  8422. var wire uint64
  8423. for shift := uint(0); ; shift += 7 {
  8424. if shift >= 64 {
  8425. return ErrIntOverflowCapsule
  8426. }
  8427. if iNdEx >= l {
  8428. return io.ErrUnexpectedEOF
  8429. }
  8430. b := dAtA[iNdEx]
  8431. iNdEx++
  8432. wire |= (uint64(b) & 0x7F) << shift
  8433. if b < 0x80 {
  8434. break
  8435. }
  8436. }
  8437. fieldNum := int32(wire >> 3)
  8438. wireType := int(wire & 0x7)
  8439. if wireType == 4 {
  8440. return fmt.Errorf("proto: CapsuleGetCouponListResp: wiretype end group for non-group")
  8441. }
  8442. if fieldNum <= 0 {
  8443. return fmt.Errorf("proto: CapsuleGetCouponListResp: illegal tag %d (wire type %d)", fieldNum, wire)
  8444. }
  8445. switch fieldNum {
  8446. case 1:
  8447. if wireType != 2 {
  8448. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  8449. }
  8450. var msglen int
  8451. for shift := uint(0); ; shift += 7 {
  8452. if shift >= 64 {
  8453. return ErrIntOverflowCapsule
  8454. }
  8455. if iNdEx >= l {
  8456. return io.ErrUnexpectedEOF
  8457. }
  8458. b := dAtA[iNdEx]
  8459. iNdEx++
  8460. msglen |= (int(b) & 0x7F) << shift
  8461. if b < 0x80 {
  8462. break
  8463. }
  8464. }
  8465. if msglen < 0 {
  8466. return ErrInvalidLengthCapsule
  8467. }
  8468. postIndex := iNdEx + msglen
  8469. if postIndex > l {
  8470. return io.ErrUnexpectedEOF
  8471. }
  8472. m.List = append(m.List, &CapsuleGetCouponListResp_List{})
  8473. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8474. return err
  8475. }
  8476. iNdEx = postIndex
  8477. default:
  8478. iNdEx = preIndex
  8479. skippy, err := skipCapsule(dAtA[iNdEx:])
  8480. if err != nil {
  8481. return err
  8482. }
  8483. if skippy < 0 {
  8484. return ErrInvalidLengthCapsule
  8485. }
  8486. if (iNdEx + skippy) > l {
  8487. return io.ErrUnexpectedEOF
  8488. }
  8489. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8490. iNdEx += skippy
  8491. }
  8492. }
  8493. if iNdEx > l {
  8494. return io.ErrUnexpectedEOF
  8495. }
  8496. return nil
  8497. }
  8498. func (m *CapsuleGetCouponListResp_List) Unmarshal(dAtA []byte) error {
  8499. l := len(dAtA)
  8500. iNdEx := 0
  8501. for iNdEx < l {
  8502. preIndex := iNdEx
  8503. var wire uint64
  8504. for shift := uint(0); ; shift += 7 {
  8505. if shift >= 64 {
  8506. return ErrIntOverflowCapsule
  8507. }
  8508. if iNdEx >= l {
  8509. return io.ErrUnexpectedEOF
  8510. }
  8511. b := dAtA[iNdEx]
  8512. iNdEx++
  8513. wire |= (uint64(b) & 0x7F) << shift
  8514. if b < 0x80 {
  8515. break
  8516. }
  8517. }
  8518. fieldNum := int32(wire >> 3)
  8519. wireType := int(wire & 0x7)
  8520. if wireType == 4 {
  8521. return fmt.Errorf("proto: List: wiretype end group for non-group")
  8522. }
  8523. if fieldNum <= 0 {
  8524. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  8525. }
  8526. switch fieldNum {
  8527. case 1:
  8528. if wireType != 0 {
  8529. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  8530. }
  8531. m.Uid = 0
  8532. for shift := uint(0); ; shift += 7 {
  8533. if shift >= 64 {
  8534. return ErrIntOverflowCapsule
  8535. }
  8536. if iNdEx >= l {
  8537. return io.ErrUnexpectedEOF
  8538. }
  8539. b := dAtA[iNdEx]
  8540. iNdEx++
  8541. m.Uid |= (int64(b) & 0x7F) << shift
  8542. if b < 0x80 {
  8543. break
  8544. }
  8545. }
  8546. case 2:
  8547. if wireType != 2 {
  8548. return fmt.Errorf("proto: wrong wireType = %d for field AwardTime", wireType)
  8549. }
  8550. var stringLen uint64
  8551. for shift := uint(0); ; shift += 7 {
  8552. if shift >= 64 {
  8553. return ErrIntOverflowCapsule
  8554. }
  8555. if iNdEx >= l {
  8556. return io.ErrUnexpectedEOF
  8557. }
  8558. b := dAtA[iNdEx]
  8559. iNdEx++
  8560. stringLen |= (uint64(b) & 0x7F) << shift
  8561. if b < 0x80 {
  8562. break
  8563. }
  8564. }
  8565. intStringLen := int(stringLen)
  8566. if intStringLen < 0 {
  8567. return ErrInvalidLengthCapsule
  8568. }
  8569. postIndex := iNdEx + intStringLen
  8570. if postIndex > l {
  8571. return io.ErrUnexpectedEOF
  8572. }
  8573. m.AwardTime = string(dAtA[iNdEx:postIndex])
  8574. iNdEx = postIndex
  8575. case 3:
  8576. if wireType != 2 {
  8577. return fmt.Errorf("proto: wrong wireType = %d for field AwardName", wireType)
  8578. }
  8579. var stringLen uint64
  8580. for shift := uint(0); ; shift += 7 {
  8581. if shift >= 64 {
  8582. return ErrIntOverflowCapsule
  8583. }
  8584. if iNdEx >= l {
  8585. return io.ErrUnexpectedEOF
  8586. }
  8587. b := dAtA[iNdEx]
  8588. iNdEx++
  8589. stringLen |= (uint64(b) & 0x7F) << shift
  8590. if b < 0x80 {
  8591. break
  8592. }
  8593. }
  8594. intStringLen := int(stringLen)
  8595. if intStringLen < 0 {
  8596. return ErrInvalidLengthCapsule
  8597. }
  8598. postIndex := iNdEx + intStringLen
  8599. if postIndex > l {
  8600. return io.ErrUnexpectedEOF
  8601. }
  8602. m.AwardName = string(dAtA[iNdEx:postIndex])
  8603. iNdEx = postIndex
  8604. case 4:
  8605. if wireType != 2 {
  8606. return fmt.Errorf("proto: wrong wireType = %d for field AwardCode", wireType)
  8607. }
  8608. var stringLen uint64
  8609. for shift := uint(0); ; shift += 7 {
  8610. if shift >= 64 {
  8611. return ErrIntOverflowCapsule
  8612. }
  8613. if iNdEx >= l {
  8614. return io.ErrUnexpectedEOF
  8615. }
  8616. b := dAtA[iNdEx]
  8617. iNdEx++
  8618. stringLen |= (uint64(b) & 0x7F) << shift
  8619. if b < 0x80 {
  8620. break
  8621. }
  8622. }
  8623. intStringLen := int(stringLen)
  8624. if intStringLen < 0 {
  8625. return ErrInvalidLengthCapsule
  8626. }
  8627. postIndex := iNdEx + intStringLen
  8628. if postIndex > l {
  8629. return io.ErrUnexpectedEOF
  8630. }
  8631. m.AwardCode = string(dAtA[iNdEx:postIndex])
  8632. iNdEx = postIndex
  8633. case 5:
  8634. if wireType != 0 {
  8635. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  8636. }
  8637. m.Status = 0
  8638. for shift := uint(0); ; shift += 7 {
  8639. if shift >= 64 {
  8640. return ErrIntOverflowCapsule
  8641. }
  8642. if iNdEx >= l {
  8643. return io.ErrUnexpectedEOF
  8644. }
  8645. b := dAtA[iNdEx]
  8646. iNdEx++
  8647. m.Status |= (int64(b) & 0x7F) << shift
  8648. if b < 0x80 {
  8649. break
  8650. }
  8651. }
  8652. case 6:
  8653. if wireType != 2 {
  8654. return fmt.Errorf("proto: wrong wireType = %d for field RetryTime", wireType)
  8655. }
  8656. var stringLen uint64
  8657. for shift := uint(0); ; shift += 7 {
  8658. if shift >= 64 {
  8659. return ErrIntOverflowCapsule
  8660. }
  8661. if iNdEx >= l {
  8662. return io.ErrUnexpectedEOF
  8663. }
  8664. b := dAtA[iNdEx]
  8665. iNdEx++
  8666. stringLen |= (uint64(b) & 0x7F) << shift
  8667. if b < 0x80 {
  8668. break
  8669. }
  8670. }
  8671. intStringLen := int(stringLen)
  8672. if intStringLen < 0 {
  8673. return ErrInvalidLengthCapsule
  8674. }
  8675. postIndex := iNdEx + intStringLen
  8676. if postIndex > l {
  8677. return io.ErrUnexpectedEOF
  8678. }
  8679. m.RetryTime = string(dAtA[iNdEx:postIndex])
  8680. iNdEx = postIndex
  8681. default:
  8682. iNdEx = preIndex
  8683. skippy, err := skipCapsule(dAtA[iNdEx:])
  8684. if err != nil {
  8685. return err
  8686. }
  8687. if skippy < 0 {
  8688. return ErrInvalidLengthCapsule
  8689. }
  8690. if (iNdEx + skippy) > l {
  8691. return io.ErrUnexpectedEOF
  8692. }
  8693. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8694. iNdEx += skippy
  8695. }
  8696. }
  8697. if iNdEx > l {
  8698. return io.ErrUnexpectedEOF
  8699. }
  8700. return nil
  8701. }
  8702. func skipCapsule(dAtA []byte) (n int, err error) {
  8703. l := len(dAtA)
  8704. iNdEx := 0
  8705. for iNdEx < l {
  8706. var wire uint64
  8707. for shift := uint(0); ; shift += 7 {
  8708. if shift >= 64 {
  8709. return 0, ErrIntOverflowCapsule
  8710. }
  8711. if iNdEx >= l {
  8712. return 0, io.ErrUnexpectedEOF
  8713. }
  8714. b := dAtA[iNdEx]
  8715. iNdEx++
  8716. wire |= (uint64(b) & 0x7F) << shift
  8717. if b < 0x80 {
  8718. break
  8719. }
  8720. }
  8721. wireType := int(wire & 0x7)
  8722. switch wireType {
  8723. case 0:
  8724. for shift := uint(0); ; shift += 7 {
  8725. if shift >= 64 {
  8726. return 0, ErrIntOverflowCapsule
  8727. }
  8728. if iNdEx >= l {
  8729. return 0, io.ErrUnexpectedEOF
  8730. }
  8731. iNdEx++
  8732. if dAtA[iNdEx-1] < 0x80 {
  8733. break
  8734. }
  8735. }
  8736. return iNdEx, nil
  8737. case 1:
  8738. iNdEx += 8
  8739. return iNdEx, nil
  8740. case 2:
  8741. var length int
  8742. for shift := uint(0); ; shift += 7 {
  8743. if shift >= 64 {
  8744. return 0, ErrIntOverflowCapsule
  8745. }
  8746. if iNdEx >= l {
  8747. return 0, io.ErrUnexpectedEOF
  8748. }
  8749. b := dAtA[iNdEx]
  8750. iNdEx++
  8751. length |= (int(b) & 0x7F) << shift
  8752. if b < 0x80 {
  8753. break
  8754. }
  8755. }
  8756. iNdEx += length
  8757. if length < 0 {
  8758. return 0, ErrInvalidLengthCapsule
  8759. }
  8760. return iNdEx, nil
  8761. case 3:
  8762. for {
  8763. var innerWire uint64
  8764. var start int = iNdEx
  8765. for shift := uint(0); ; shift += 7 {
  8766. if shift >= 64 {
  8767. return 0, ErrIntOverflowCapsule
  8768. }
  8769. if iNdEx >= l {
  8770. return 0, io.ErrUnexpectedEOF
  8771. }
  8772. b := dAtA[iNdEx]
  8773. iNdEx++
  8774. innerWire |= (uint64(b) & 0x7F) << shift
  8775. if b < 0x80 {
  8776. break
  8777. }
  8778. }
  8779. innerWireType := int(innerWire & 0x7)
  8780. if innerWireType == 4 {
  8781. break
  8782. }
  8783. next, err := skipCapsule(dAtA[start:])
  8784. if err != nil {
  8785. return 0, err
  8786. }
  8787. iNdEx = start + next
  8788. }
  8789. return iNdEx, nil
  8790. case 4:
  8791. return iNdEx, nil
  8792. case 5:
  8793. iNdEx += 4
  8794. return iNdEx, nil
  8795. default:
  8796. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  8797. }
  8798. }
  8799. panic("unreachable")
  8800. }
  8801. var (
  8802. ErrInvalidLengthCapsule = fmt.Errorf("proto: negative length found during unmarshaling")
  8803. ErrIntOverflowCapsule = fmt.Errorf("proto: integer overflow")
  8804. )
  8805. func init() { proto.RegisterFile("capsule.proto", fileDescriptor_capsule_34fc59ffc8688791) }
  8806. var fileDescriptor_capsule_34fc59ffc8688791 = []byte{
  8807. // 2024 bytes of a gzipped FileDescriptorProto
  8808. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xcd, 0x8f, 0xdb, 0xc6,
  8809. 0x15, 0x87, 0x3e, 0x56, 0x12, 0x47, 0xde, 0x2f, 0x6e, 0x12, 0xd3, 0x8b, 0xc4, 0xb4, 0x69, 0x7b,
  8810. 0xbf, 0x1c, 0x2b, 0xd9, 0x34, 0x85, 0x11, 0x03, 0xad, 0xe1, 0x75, 0xdd, 0xec, 0xb6, 0x86, 0x6b,
  8811. 0x4c, 0x6c, 0x14, 0x2d, 0x82, 0xaa, 0x5c, 0x71, 0x2c, 0x8f, 0x41, 0x89, 0x5c, 0x7e, 0x78, 0x63,
  8812. 0xdf, 0xfa, 0x47, 0xf4, 0x5a, 0xa0, 0xe8, 0xa5, 0xa7, 0xfe, 0x1d, 0x3d, 0xe6, 0x54, 0xf4, 0x44,
  8813. 0x14, 0xdb, 0x9b, 0x0e, 0x3d, 0xf0, 0xd2, 0x43, 0x2f, 0xc5, 0xbc, 0x19, 0x72, 0x86, 0x12, 0xb9,
  8814. 0xd2, 0x26, 0x07, 0xe7, 0x22, 0x0e, 0xdf, 0x7b, 0xf3, 0xe6, 0xf1, 0xcd, 0x7b, 0xef, 0xf7, 0x66,
  8815. 0x84, 0x96, 0x07, 0xb6, 0x1f, 0xc6, 0x2e, 0xe9, 0xf9, 0x81, 0x17, 0x79, 0xfa, 0xba, 0x4b, 0x5f,
  8816. 0x93, 0x1e, 0xfb, 0xb1, 0x9d, 0x11, 0x1d, 0xf7, 0x5e, 0xef, 0x6f, 0xde, 0x19, 0xd2, 0xe8, 0x65,
  8817. 0x7c, 0xdc, 0x1b, 0x78, 0xa3, 0x4f, 0x86, 0xde, 0xd0, 0xfb, 0x04, 0x24, 0x8f, 0xe3, 0x17, 0xf0,
  8818. 0x06, 0x2f, 0x30, 0xe2, 0x1a, 0xac, 0x3f, 0xd6, 0xd0, 0xc6, 0x97, 0x24, 0x7a, 0xe8, 0xd1, 0xf1,
  8819. 0x63, 0x1a, 0x46, 0x98, 0x9c, 0x3c, 0x60, 0x9a, 0xf4, 0xbb, 0xa8, 0xe9, 0xdb, 0x43, 0x62, 0xd4,
  8820. 0xae, 0xd5, 0x76, 0x1a, 0x07, 0x37, 0xd2, 0xc4, 0x34, 0x5f, 0x78, 0xc1, 0xe8, 0x9e, 0xc5, 0xa8,
  8821. 0xd6, 0xb5, 0xd7, 0xb6, 0x4b, 0x1d, 0x3b, 0x22, 0xf7, 0xac, 0x80, 0x9c, 0xc4, 0x34, 0x20, 0x8e,
  8822. 0x85, 0x61, 0x82, 0xfe, 0x08, 0x69, 0xec, 0xd9, 0x0f, 0xe9, 0x5b, 0x62, 0xd4, 0x61, 0xf6, 0x4e,
  8823. 0x9a, 0x98, 0x37, 0xe5, 0x6c, 0x60, 0x95, 0xab, 0xe8, 0x30, 0xfe, 0x57, 0x8c, 0xfd, 0x8f, 0x25,
  8824. 0xf4, 0x5e, 0xc1, 0xae, 0xd0, 0xe7, 0x86, 0x99, 0x68, 0x29, 0xf2, 0x22, 0xdb, 0x15, 0x96, 0x69,
  8825. 0x93, 0xc4, 0xe4, 0x04, 0xcc, 0x1f, 0xfa, 0x1d, 0x84, 0x60, 0xd0, 0x07, 0xfb, 0xb9, 0x05, 0x2b,
  8826. 0x93, 0xc4, 0x54, 0xa8, 0x58, 0x83, 0xf1, 0x53, 0x66, 0xef, 0x2f, 0x50, 0xd3, 0xa5, 0x61, 0x64,
  8827. 0x34, 0xae, 0x35, 0x76, 0xba, 0x9f, 0x7d, 0xdc, 0x9b, 0xf1, 0x68, 0xaf, 0xcc, 0x8c, 0x1e, 0x7b,
  8828. 0x3b, 0xe8, 0x4c, 0x12, 0x13, 0x66, 0x63, 0xf8, 0xdd, 0xfc, 0x73, 0x13, 0x35, 0x19, 0x43, 0xff,
  8829. 0x00, 0xd5, 0xa9, 0x23, 0x2c, 0x6c, 0x4d, 0x12, 0xb3, 0x4e, 0x1d, 0x5c, 0xa7, 0x0e, 0x18, 0x4f,
  8830. 0x23, 0x97, 0x9b, 0xa5, 0x09, 0xe3, 0x19, 0x01, 0xf3, 0x07, 0x33, 0x7e, 0xf0, 0xd2, 0x1e, 0x0f,
  8831. 0x49, 0x7f, 0x1c, 0x8f, 0x8c, 0x86, 0x34, 0x5e, 0x52, 0xb1, 0xc6, 0xc7, 0x4f, 0xe2, 0x11, 0x13,
  8832. 0x0f, 0x23, 0x3b, 0x88, 0xfa, 0x11, 0x1d, 0x11, 0xa3, 0x09, 0x4a, 0x41, 0x5c, 0x52, 0xb1, 0x06,
  8833. 0xe3, 0x67, 0x74, 0x44, 0xf4, 0x6d, 0xd4, 0x21, 0x63, 0x87, 0x0b, 0x2f, 0x81, 0xf0, 0xa5, 0x49,
  8834. 0x62, 0xe6, 0x34, 0xdc, 0x26, 0x63, 0x07, 0x04, 0x2d, 0xd4, 0x0a, 0x23, 0x3b, 0x8a, 0x43, 0xa3,
  8835. 0x05, 0x26, 0xa0, 0x49, 0x62, 0x0a, 0x0a, 0x16, 0x4f, 0x7d, 0x0f, 0x69, 0x43, 0xfa, 0x22, 0xea,
  8836. 0x47, 0x6f, 0x7c, 0x62, 0xb4, 0x41, 0x6c, 0x79, 0x92, 0x98, 0x92, 0x88, 0x3b, 0x6c, 0xf8, 0xec,
  8837. 0x8d, 0x4f, 0xf4, 0x4f, 0x51, 0x17, 0xc8, 0x03, 0x6f, 0xfc, 0x82, 0x0e, 0x8d, 0x0e, 0xac, 0xbd,
  8838. 0x3a, 0x49, 0x4c, 0x95, 0x8c, 0x11, 0x7b, 0x79, 0x08, 0x63, 0xfd, 0x77, 0xa8, 0x63, 0x07, 0xc4,
  8839. 0xee, 0x53, 0x27, 0x34, 0x34, 0xd8, 0x9a, 0x1f, 0x5f, 0x64, 0x6b, 0x7a, 0x0f, 0xc4, 0x64, 0xfe,
  8840. 0x85, 0x99, 0x2a, 0xdc, 0x66, 0xa3, 0x23, 0x27, 0xdc, 0x3c, 0x45, 0x9d, 0x4c, 0x84, 0x7d, 0x89,
  8841. 0x6f, 0x07, 0x64, 0x1c, 0xf5, 0xf3, 0x4d, 0x83, 0x2f, 0xc9, 0x89, 0x2c, 0x2e, 0xd9, 0xf0, 0xc8,
  8842. 0xd1, 0xaf, 0xa3, 0x16, 0x0d, 0xfb, 0xb6, 0xeb, 0x8a, 0xc8, 0x02, 0xcf, 0x70, 0x0a, 0x5e, 0xa2,
  8843. 0xe1, 0x03, 0xd7, 0xd5, 0x3f, 0x54, 0x22, 0xaa, 0x31, 0x1d, 0x23, 0xd6, 0xb7, 0x4d, 0x64, 0x3c,
  8844. 0xf7, 0x59, 0xe0, 0x33, 0xcb, 0xf9, 0xd7, 0xe6, 0x59, 0xf7, 0x91, 0x12, 0x37, 0xcb, 0x69, 0x62,
  8845. 0x6a, 0x3c, 0x6b, 0xa8, 0x63, 0x41, 0xf8, 0xdc, 0x2b, 0x86, 0xcf, 0xcd, 0x34, 0x31, 0xaf, 0x71,
  8846. 0x09, 0x20, 0x97, 0xe7, 0x94, 0x88, 0xac, 0xc3, 0x92, 0xc8, 0xda, 0x4d, 0x13, 0xf3, 0x16, 0x57,
  8847. 0x20, 0x79, 0xe5, 0x5a, 0x94, 0xa0, 0x3b, 0x2c, 0x09, 0x3a, 0x45, 0x93, 0xe4, 0x55, 0x68, 0x92,
  8848. 0xf1, 0x78, 0x30, 0x13, 0x8f, 0xdb, 0x69, 0x62, 0xde, 0xe0, 0x7a, 0x32, 0x4e, 0xb9, 0x96, 0x3c,
  8849. 0x54, 0x7f, 0x32, 0x15, 0xaa, 0xb7, 0xd2, 0xc4, 0xbc, 0x9e, 0x5b, 0x12, 0xc5, 0x61, 0xf9, 0xfc,
  8850. 0x2c, 0x8a, 0x1f, 0xcd, 0x46, 0xb1, 0x52, 0xae, 0x72, 0x56, 0x45, 0xb9, 0xca, 0x03, 0xfc, 0x6e,
  8851. 0x59, 0x80, 0x7f, 0x90, 0x26, 0xa6, 0xae, 0x28, 0xe2, 0x4c, 0xab, 0x10, 0xe7, 0x07, 0x85, 0x38,
  8852. 0x9f, 0x72, 0x41, 0xc6, 0xa9, 0x70, 0x81, 0x88, 0x65, 0xeb, 0x3e, 0xba, 0x32, 0x1b, 0x51, 0x59,
  8853. 0xbd, 0x94, 0xa9, 0xcc, 0xc2, 0xaa, 0x53, 0x96, 0xca, 0xd6, 0x37, 0x6a, 0x48, 0x7e, 0xc5, 0x79,
  8854. 0x59, 0x48, 0xee, 0x2b, 0x21, 0x79, 0x3d, 0x4d, 0xcc, 0x8f, 0xf2, 0x90, 0x2c, 0x35, 0x8a, 0x85,
  8855. 0xe9, 0x6e, 0xbe, 0x24, 0xcf, 0x91, 0xf5, 0x34, 0x31, 0x97, 0x0b, 0x5b, 0x92, 0xaf, 0x5c, 0x30,
  8856. 0x3d, 0x5b, 0xf9, 0x22, 0xa6, 0x7f, 0x89, 0xf4, 0x9f, 0x11, 0x97, 0x70, 0x05, 0xdf, 0xc3, 0x68,
  8857. 0xeb, 0x0b, 0xb4, 0xa1, 0x2a, 0xba, 0x88, 0x0d, 0x02, 0x43, 0x9f, 0x7a, 0x9e, 0xfb, 0x83, 0xc2,
  8858. 0xd0, 0x7f, 0x37, 0x00, 0x43, 0xa5, 0x5d, 0xef, 0x14, 0x43, 0x67, 0xcc, 0x28, 0xc7, 0xd0, 0xbf,
  8859. 0xd5, 0xe7, 0x60, 0xe8, 0x4d, 0xd4, 0x1e, 0x78, 0x74, 0xcc, 0x6a, 0x35, 0x37, 0xac, 0x3b, 0x49,
  8860. 0xcc, 0x8c, 0x84, 0x5b, 0x6c, 0x70, 0xa4, 0x20, 0x6d, 0xa3, 0x1a, 0x69, 0xdf, 0x19, 0x74, 0x7e,
  8861. 0x88, 0x9a, 0x41, 0xec, 0xf2, 0x7a, 0xa3, 0x71, 0x0f, 0xb0, 0x77, 0x0c, 0xbf, 0xd0, 0x03, 0xb0,
  8862. 0xaf, 0xe1, 0xf6, 0x77, 0xa4, 0x65, 0x92, 0x8a, 0x35, 0x36, 0x7e, 0x06, 0x45, 0xff, 0xbf, 0x75,
  8863. 0xa4, 0xf3, 0x1c, 0x62, 0x1e, 0x5e, 0x14, 0x4a, 0xee, 0x4f, 0x7b, 0x71, 0x2b, 0x4d, 0x4c, 0x4b,
  8864. 0x60, 0x01, 0x67, 0x54, 0x14, 0x4e, 0xe1, 0xe0, 0x7b, 0x45, 0x07, 0x5f, 0x14, 0x8b, 0x7e, 0x40,
  8865. 0x08, 0x72, 0x57, 0xec, 0x46, 0x0b, 0xe6, 0x2b, 0x69, 0xca, 0xa8, 0x15, 0x69, 0x0a, 0xac, 0x2f,
  8866. 0xd0, 0x86, 0xea, 0xf8, 0xef, 0x54, 0xb6, 0x0a, 0x7b, 0xf6, 0x7d, 0xca, 0xd6, 0xc5, 0x6d, 0xc8,
  8867. 0xab, 0x3e, 0x9b, 0xfa, 0x6e, 0xaa, 0xbe, 0xba, 0xf2, 0x45, 0x4c, 0xff, 0x75, 0x5e, 0xd8, 0x9e,
  8868. 0x06, 0xf4, 0x2d, 0xc9, 0xcd, 0xbe, 0x8f, 0xda, 0xbe, 0xe7, 0xb9, 0xb2, 0x8f, 0x53, 0xa2, 0x5a,
  8869. 0x30, 0x2a, 0xa2, 0x9a, 0x71, 0x8f, 0x1c, 0xeb, 0x6c, 0x09, 0xbd, 0x5f, 0xd4, 0x9c, 0x99, 0xf5,
  8870. 0x4b, 0x51, 0xe3, 0x6a, 0x50, 0xe3, 0xee, 0x54, 0xd7, 0xb8, 0xe2, 0xbc, 0xf2, 0x22, 0xf7, 0xbf,
  8871. 0xe6, 0xfc, 0x22, 0x97, 0x7d, 0x88, 0x52, 0xe4, 0x04, 0x29, 0xb3, 0x96, 0xd5, 0x11, 0xe8, 0x5b,
  8872. 0x78, 0x37, 0x07, 0x8b, 0x40, 0xe3, 0x0d, 0xbf, 0xfa, 0x15, 0xd4, 0x60, 0xad, 0x5e, 0x13, 0x98,
  8873. 0xed, 0x49, 0x62, 0xb2, 0x57, 0xcc, 0x7e, 0x58, 0xc7, 0xeb, 0x1d, 0xbf, 0x22, 0x03, 0xe8, 0x78,
  8874. 0x97, 0x64, 0xc7, 0x9b, 0x13, 0x71, 0x87, 0x0f, 0x8f, 0xc0, 0x94, 0x53, 0x72, 0xdc, 0x8f, 0x03,
  8875. 0x57, 0x64, 0x08, 0x98, 0x22, 0x48, 0xb8, 0x75, 0x4a, 0x8e, 0x9f, 0x07, 0x80, 0x18, 0x23, 0xef,
  8876. 0x98, 0xba, 0x04, 0x04, 0xdb, 0xb2, 0x68, 0x49, 0x2a, 0xd6, 0xf8, 0x98, 0x89, 0xef, 0xa3, 0xae,
  8877. 0x43, 0xc2, 0x41, 0x40, 0xfd, 0x88, 0x7a, 0x63, 0xf5, 0x40, 0xa0, 0x90, 0xb1, 0xfa, 0xc2, 0x2a,
  8878. 0xf0, 0xab, 0x78, 0xe4, 0x83, 0x7e, 0x4d, 0x56, 0xe0, 0x8c, 0x86, 0xdb, 0x6c, 0xc4, 0x74, 0x6f,
  8879. 0xa3, 0x8e, 0x1f, 0x78, 0xbc, 0xa3, 0x43, 0xf0, 0x6d, 0x20, 0x98, 0xd1, 0x70, 0xdb, 0x0f, 0x3c,
  8880. 0x68, 0xda, 0x2c, 0xd4, 0x62, 0x5d, 0xed, 0x80, 0x18, 0x5d, 0xd0, 0x07, 0x91, 0xc6, 0x29, 0x58,
  8881. 0x3c, 0xa1, 0x99, 0xf7, 0x3c, 0xdf, 0xb8, 0x24, 0x5d, 0xcc, 0xde, 0x31, 0xfc, 0x32, 0x94, 0x71,
  8882. 0xe9, 0x88, 0x46, 0xc6, 0xb2, 0x04, 0x52, 0x20, 0x60, 0xfe, 0x60, 0xd3, 0xc7, 0xf6, 0x88, 0x18,
  8883. 0x2b, 0xb2, 0xd2, 0xb3, 0x77, 0x0c, 0xbf, 0xcc, 0x80, 0x53, 0x42, 0x87, 0x2f, 0x23, 0x63, 0x55,
  8884. 0x62, 0x05, 0xa7, 0x60, 0xf1, 0x64, 0x8e, 0x3d, 0x7d, 0x49, 0x23, 0xd2, 0x8f, 0x59, 0x8b, 0xb8,
  8885. 0x26, 0x1d, 0x2b, 0xa9, 0x58, 0x83, 0xf1, 0x73, 0x76, 0x96, 0xb1, 0x50, 0x8b, 0x7c, 0xe3, 0xd3,
  8886. 0x80, 0x18, 0xeb, 0x52, 0x25, 0xa7, 0x60, 0xf1, 0xb4, 0xfe, 0xd9, 0x42, 0x97, 0x65, 0xfe, 0x15,
  8887. 0x33, 0x68, 0x0e, 0x6c, 0xdc, 0x9e, 0x8e, 0x4b, 0x3d, 0x4d, 0xcc, 0x95, 0x62, 0x82, 0xe5, 0xe1,
  8888. 0x79, 0xb7, 0x10, 0x9e, 0x4a, 0x61, 0xad, 0xee, 0xa8, 0x79, 0xe4, 0x7e, 0xae, 0x46, 0xae, 0x95,
  8889. 0x26, 0xe6, 0x55, 0x3e, 0xaf, 0xf2, 0x74, 0x02, 0x41, 0xbd, 0x3f, 0x1b, 0xd4, 0xef, 0xa5, 0x89,
  8890. 0xb9, 0xc6, 0xe7, 0xe6, 0x2c, 0x4b, 0x89, 0xed, 0xdd, 0xdc, 0x5b, 0xad, 0xe9, 0x9a, 0x25, 0x7c,
  8891. 0x95, 0x39, 0x8d, 0x95, 0x96, 0x2c, 0x0d, 0x78, 0x74, 0x2b, 0xa5, 0x45, 0x30, 0x2a, 0x4a, 0x8b,
  8892. 0xc8, 0x90, 0xc3, 0x42, 0x86, 0x74, 0xa6, 0x41, 0x4f, 0xf2, 0x2a, 0x40, 0x4f, 0x26, 0xcf, 0xe3,
  8893. 0x62, 0xf2, 0xf0, 0x64, 0xd8, 0x4b, 0x13, 0x73, 0x8b, 0xab, 0x52, 0x98, 0xe5, 0xba, 0x0a, 0x79,
  8894. 0xd5, 0x53, 0xf2, 0x0a, 0x81, 0xaa, 0x8d, 0x34, 0x31, 0x57, 0xb9, 0xaa, 0x8c, 0x63, 0xc9, 0xf4,
  8895. 0x3a, 0x50, 0xd2, 0xab, 0x0b, 0x5e, 0x53, 0x20, 0x37, 0xe3, 0x54, 0x40, 0x6e, 0x96, 0x79, 0xbb,
  8896. 0x79, 0xe6, 0x5d, 0x82, 0x15, 0x15, 0xbf, 0x73, 0xba, 0x95, 0x27, 0xe0, 0x0d, 0x91, 0x80, 0x3c,
  8897. 0xc3, 0x56, 0xd3, 0xc4, 0xec, 0x72, 0x41, 0x46, 0xb5, 0x44, 0x1e, 0x6e, 0x65, 0x79, 0xb8, 0x02,
  8898. 0x52, 0x6b, 0x69, 0x62, 0x5e, 0x12, 0x52, 0x8c, 0x6c, 0x65, 0xe9, 0xb8, 0x3b, 0x95, 0x70, 0xca,
  8899. 0xba, 0x9c, 0x6e, 0xe5, 0x79, 0xf7, 0x79, 0x49, 0xde, 0xbd, 0x9f, 0x26, 0xe6, 0xba, 0x10, 0xcf,
  8900. 0x79, 0x96, 0x92, 0x7e, 0xd6, 0x50, 0xc5, 0xd4, 0x29, 0x04, 0x59, 0x00, 0xd8, 0x78, 0xed, 0xa2,
  8901. 0x6f, 0x89, 0x4c, 0x30, 0x51, 0xbb, 0x38, 0x8d, 0x79, 0x90, 0xbe, 0x25, 0x47, 0x8e, 0xf5, 0x18,
  8902. 0x5d, 0x96, 0xb8, 0x5f, 0x4c, 0xe1, 0xef, 0xd0, 0x45, 0xfc, 0x14, 0x19, 0x33, 0xda, 0x2e, 0x82,
  8903. 0xc7, 0xeb, 0x68, 0x95, 0xa1, 0x1f, 0x9b, 0xc8, 0xf6, 0x17, 0x93, 0x13, 0xeb, 0x4f, 0x35, 0xb4,
  8904. 0x56, 0xa4, 0x85, 0xbe, 0xfe, 0xf3, 0xc2, 0x41, 0x61, 0xa7, 0x02, 0x44, 0xd5, 0x29, 0xe5, 0xf8,
  8905. 0x79, 0x20, 0xe0, 0x33, 0x03, 0xc0, 0x5a, 0x29, 0x00, 0x66, 0xc5, 0xb7, 0x5e, 0x56, 0x7c, 0xad,
  8906. 0x0d, 0xb4, 0x9e, 0x2d, 0xf6, 0x88, 0xd7, 0x47, 0x72, 0x62, 0xfd, 0xb5, 0x86, 0xf4, 0x69, 0x6a,
  8907. 0xe8, 0xeb, 0x87, 0x05, 0xbb, 0xf7, 0xce, 0xb1, 0x5b, 0x4e, 0x2a, 0xb7, 0xfc, 0x50, 0x58, 0x2e,
  8908. 0xeb, 0x74, 0xad, 0xaa, 0x4e, 0xcf, 0xb1, 0xff, 0x57, 0xe8, 0xf2, 0x43, 0x7e, 0x19, 0x0c, 0xb7,
  8909. 0x60, 0xb1, 0xef, 0x65, 0x37, 0xb8, 0xac, 0x7e, 0xc6, 0x79, 0x08, 0x28, 0xf5, 0x33, 0xae, 0x8a,
  8910. 0x01, 0x26, 0x6e, 0xfd, 0xa7, 0x8e, 0x8c, 0x72, 0x8d, 0xa1, 0xaf, 0x3f, 0x29, 0xb4, 0x3f, 0x9f,
  8911. 0x96, 0x78, 0xa0, 0x6a, 0x6a, 0xb9, 0x1f, 0xfe, 0x90, 0x1d, 0xf3, 0xae, 0xa8, 0xb6, 0x42, 0x97,
  8912. 0x12, 0x53, 0x07, 0x0c, 0x62, 0xd0, 0x67, 0x9f, 0xda, 0x81, 0x68, 0xef, 0xeb, 0x12, 0xfa, 0x24,
  8913. 0x15, 0x6b, 0x30, 0x86, 0x3e, 0x3e, 0x17, 0x07, 0xa7, 0x35, 0xa6, 0xc5, 0xc1, 0x75, 0x5c, 0xfc,
  8914. 0x89, 0xad, 0x8a, 0x0f, 0x3c, 0xa7, 0x70, 0x00, 0x94, 0x54, 0x21, 0xfe, 0xd0, 0x73, 0xd4, 0x73,
  8915. 0xdd, 0x52, 0xe5, 0xb9, 0xee, 0x0e, 0x42, 0x01, 0x89, 0x82, 0x37, 0xdc, 0xe0, 0x96, 0x54, 0x29,
  8916. 0xa9, 0x58, 0x83, 0x31, 0x33, 0xf8, 0xb3, 0xbf, 0x74, 0x51, 0x5b, 0x78, 0x4d, 0xff, 0x3d, 0x5a,
  8917. 0x1e, 0x92, 0xa8, 0x0f, 0x47, 0x2f, 0xe6, 0x20, 0x7d, 0x6b, 0xde, 0x75, 0x27, 0xcf, 0xf6, 0xcd,
  8918. 0xed, 0x05, 0xaf, 0x45, 0x75, 0x0f, 0xe9, 0x31, 0x94, 0x26, 0xbe, 0x08, 0xbf, 0x8c, 0xd2, 0x6f,
  8919. 0x97, 0x4c, 0xaf, 0xba, 0x9e, 0xdc, 0xfc, 0x78, 0x21, 0xe1, 0x8a, 0x05, 0x85, 0x8f, 0xce, 0x5f,
  8920. 0xb0, 0x78, 0x0c, 0x99, 0xb3, 0xe0, 0xf4, 0xc9, 0xe1, 0x6b, 0x86, 0x8b, 0xac, 0x8a, 0xc1, 0x82,
  8921. 0xfa, 0xad, 0x92, 0xc9, 0xb3, 0x77, 0x45, 0x9b, 0x5b, 0x73, 0xc4, 0x32, 0xed, 0x62, 0x87, 0xa0,
  8922. 0xcb, 0x39, 0x6f, 0x87, 0xa6, 0xaf, 0x81, 0xaa, 0x76, 0x68, 0xf6, 0x5a, 0xe6, 0x6b, 0xd4, 0x15,
  8923. 0x0e, 0x63, 0x8b, 0x94, 0xda, 0x3f, 0x7b, 0xd0, 0x2f, 0xb5, 0xbf, 0xec, 0x58, 0x2a, 0xbd, 0x53,
  8924. 0xa9, 0x7d, 0xf6, 0x48, 0x7a, 0x8e, 0x77, 0x8a, 0xda, 0xe5, 0x66, 0x83, 0x83, 0xe6, 0x6e, 0xf6,
  8925. 0xec, 0x99, 0xf3, 0x9c, 0xcd, 0x2e, 0x3b, 0x26, 0x0e, 0xd0, 0x4a, 0xbe, 0x1d, 0x00, 0x8a, 0xfa,
  8926. 0xf6, 0xdc, 0x33, 0x99, 0x58, 0x68, 0x67, 0xd1, 0xc3, 0x9b, 0xfe, 0x1b, 0xb1, 0x08, 0xc0, 0x2f,
  8927. 0x60, 0x8a, 0x35, 0x17, 0xb3, 0x4e, 0x36, 0x6f, 0x2c, 0x80, 0x6b, 0x7a, 0x1f, 0xad, 0x49, 0xd5,
  8928. 0xa2, 0xe0, 0xdf, 0x5c, 0x00, 0x58, 0x4e, 0x36, 0x6f, 0x2d, 0x04, 0x3f, 0xba, 0x8b, 0xd6, 0xd5,
  8929. 0x1d, 0xe1, 0x3e, 0xda, 0x3b, 0xd7, 0xc7, 0x45, 0x37, 0xdd, 0x5e, 0x44, 0x36, 0xf3, 0x94, 0x8b,
  8930. 0xd6, 0x95, 0xe8, 0x3a, 0x67, 0xb5, 0x8a, 0xae, 0xa5, 0x74, 0xb5, 0xca, 0x9e, 0xe4, 0x15, 0x5a,
  8931. 0xe5, 0xd5, 0x92, 0x01, 0x0d, 0xcf, 0xc6, 0xbd, 0x85, 0x21, 0xe9, 0xa4, 0x74, 0xad, 0x2a, 0xf8,
  8932. 0x3a, 0x58, 0xfb, 0xfb, 0xd9, 0xd5, 0xda, 0xb7, 0x67, 0x57, 0x6b, 0xff, 0x3a, 0xbb, 0x5a, 0xfb,
  8933. 0x6d, 0xfd, 0xf5, 0xfe, 0x71, 0x0b, 0xfe, 0x3a, 0xfd, 0xd1, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff,
  8934. 0x4b, 0x61, 0xd2, 0xdb, 0x8d, 0x1d, 0x00, 0x00,
  8935. }