api.pb.go 173 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: api/grpc/v1/api.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 (
  9. context "golang.org/x/net/context"
  10. grpc "google.golang.org/grpc"
  11. )
  12. import io "io"
  13. // Reference imports to suppress errors if they are not otherwise used.
  14. var _ = proto.Marshal
  15. var _ = fmt.Errorf
  16. var _ = math.Inf
  17. // This is a compile-time assertion to ensure that this generated file
  18. // is compatible with the proto package it is being compiled against.
  19. // A compilation error at this line likely means your copy of the
  20. // proto package needs to be updated.
  21. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  22. // addReq
  23. type AddReq struct {
  24. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  25. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" form:"title" validate:"required"`
  26. JumpPath string `protobuf:"bytes,3,opt,name=jumpPath,proto3" json:"jumpPath,omitempty" form:"jumpPath"`
  27. JumpTime int64 `protobuf:"varint,4,opt,name=jumpTime,proto3" json:"jumpTime,omitempty" form:"jumpTime"`
  28. Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required"`
  29. Device string `protobuf:"bytes,6,opt,name=device,proto3" json:"device,omitempty" form:"device" validate:"required"`
  30. StartTime string `protobuf:"bytes,7,opt,name=startTime,proto3" json:"startTime,omitempty" form:"startTime" validate:"required"`
  31. EndTime string `protobuf:"bytes,8,opt,name=endTime,proto3" json:"endTime,omitempty" form:"endTime" validate:"required"`
  32. ImageUrl string `protobuf:"bytes,9,opt,name=imageUrl,proto3" json:"imageUrl,omitempty" form:"imageUrl" validate:"required"`
  33. JumpPathType int64 `protobuf:"varint,10,opt,name=jumpPathType,proto3" json:"jumpPathType,omitempty" form:"jumpPathType"`
  34. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  35. XXX_unrecognized []byte `json:"-"`
  36. XXX_sizecache int32 `json:"-"`
  37. }
  38. func (m *AddReq) Reset() { *m = AddReq{} }
  39. func (m *AddReq) String() string { return proto.CompactTextString(m) }
  40. func (*AddReq) ProtoMessage() {}
  41. func (*AddReq) Descriptor() ([]byte, []int) {
  42. return fileDescriptor_api_55838d09c99a73d4, []int{0}
  43. }
  44. func (m *AddReq) XXX_Unmarshal(b []byte) error {
  45. return m.Unmarshal(b)
  46. }
  47. func (m *AddReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  48. if deterministic {
  49. return xxx_messageInfo_AddReq.Marshal(b, m, deterministic)
  50. } else {
  51. b = b[:cap(b)]
  52. n, err := m.MarshalTo(b)
  53. if err != nil {
  54. return nil, err
  55. }
  56. return b[:n], nil
  57. }
  58. }
  59. func (dst *AddReq) XXX_Merge(src proto.Message) {
  60. xxx_messageInfo_AddReq.Merge(dst, src)
  61. }
  62. func (m *AddReq) XXX_Size() int {
  63. return m.Size()
  64. }
  65. func (m *AddReq) XXX_DiscardUnknown() {
  66. xxx_messageInfo_AddReq.DiscardUnknown(m)
  67. }
  68. var xxx_messageInfo_AddReq proto.InternalMessageInfo
  69. func (m *AddReq) GetPlatform() string {
  70. if m != nil {
  71. return m.Platform
  72. }
  73. return ""
  74. }
  75. func (m *AddReq) GetTitle() string {
  76. if m != nil {
  77. return m.Title
  78. }
  79. return ""
  80. }
  81. func (m *AddReq) GetJumpPath() string {
  82. if m != nil {
  83. return m.JumpPath
  84. }
  85. return ""
  86. }
  87. func (m *AddReq) GetJumpTime() int64 {
  88. if m != nil {
  89. return m.JumpTime
  90. }
  91. return 0
  92. }
  93. func (m *AddReq) GetType() string {
  94. if m != nil {
  95. return m.Type
  96. }
  97. return ""
  98. }
  99. func (m *AddReq) GetDevice() string {
  100. if m != nil {
  101. return m.Device
  102. }
  103. return ""
  104. }
  105. func (m *AddReq) GetStartTime() string {
  106. if m != nil {
  107. return m.StartTime
  108. }
  109. return ""
  110. }
  111. func (m *AddReq) GetEndTime() string {
  112. if m != nil {
  113. return m.EndTime
  114. }
  115. return ""
  116. }
  117. func (m *AddReq) GetImageUrl() string {
  118. if m != nil {
  119. return m.ImageUrl
  120. }
  121. return ""
  122. }
  123. func (m *AddReq) GetJumpPathType() int64 {
  124. if m != nil {
  125. return m.JumpPathType
  126. }
  127. return 0
  128. }
  129. // addResp
  130. type AddResp struct {
  131. Id []int64 `protobuf:"varint,1,rep,packed,name=id" json:"id"`
  132. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  133. XXX_unrecognized []byte `json:"-"`
  134. XXX_sizecache int32 `json:"-"`
  135. }
  136. func (m *AddResp) Reset() { *m = AddResp{} }
  137. func (m *AddResp) String() string { return proto.CompactTextString(m) }
  138. func (*AddResp) ProtoMessage() {}
  139. func (*AddResp) Descriptor() ([]byte, []int) {
  140. return fileDescriptor_api_55838d09c99a73d4, []int{1}
  141. }
  142. func (m *AddResp) XXX_Unmarshal(b []byte) error {
  143. return m.Unmarshal(b)
  144. }
  145. func (m *AddResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  146. if deterministic {
  147. return xxx_messageInfo_AddResp.Marshal(b, m, deterministic)
  148. } else {
  149. b = b[:cap(b)]
  150. n, err := m.MarshalTo(b)
  151. if err != nil {
  152. return nil, err
  153. }
  154. return b[:n], nil
  155. }
  156. }
  157. func (dst *AddResp) XXX_Merge(src proto.Message) {
  158. xxx_messageInfo_AddResp.Merge(dst, src)
  159. }
  160. func (m *AddResp) XXX_Size() int {
  161. return m.Size()
  162. }
  163. func (m *AddResp) XXX_DiscardUnknown() {
  164. xxx_messageInfo_AddResp.DiscardUnknown(m)
  165. }
  166. var xxx_messageInfo_AddResp proto.InternalMessageInfo
  167. func (m *AddResp) GetId() []int64 {
  168. if m != nil {
  169. return m.Id
  170. }
  171. return nil
  172. }
  173. // editReq
  174. type EditReq struct {
  175. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  176. Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty" form:"id" validate:"required"`
  177. Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" form:"title"`
  178. JumpPath string `protobuf:"bytes,4,opt,name=jumpPath,proto3" json:"jumpPath,omitempty" form:"jumpPath"`
  179. JumpTime int64 `protobuf:"varint,5,opt,name=jumpTime,proto3" json:"jumpTime,omitempty" form:"jumpTime"`
  180. StartTime string `protobuf:"bytes,7,opt,name=startTime,proto3" json:"startTime,omitempty" form:"startTime"`
  181. EndTime string `protobuf:"bytes,8,opt,name=endTime,proto3" json:"endTime,omitempty" form:"endTime"`
  182. ImageUrl string `protobuf:"bytes,9,opt,name=imageUrl,proto3" json:"imageUrl,omitempty" form:"imageUrl"`
  183. JumpPathType int64 `protobuf:"varint,10,opt,name=jumpPathType,proto3" json:"jumpPathType,omitempty" form:"jumpPathType"`
  184. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  185. XXX_unrecognized []byte `json:"-"`
  186. XXX_sizecache int32 `json:"-"`
  187. }
  188. func (m *EditReq) Reset() { *m = EditReq{} }
  189. func (m *EditReq) String() string { return proto.CompactTextString(m) }
  190. func (*EditReq) ProtoMessage() {}
  191. func (*EditReq) Descriptor() ([]byte, []int) {
  192. return fileDescriptor_api_55838d09c99a73d4, []int{2}
  193. }
  194. func (m *EditReq) XXX_Unmarshal(b []byte) error {
  195. return m.Unmarshal(b)
  196. }
  197. func (m *EditReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  198. if deterministic {
  199. return xxx_messageInfo_EditReq.Marshal(b, m, deterministic)
  200. } else {
  201. b = b[:cap(b)]
  202. n, err := m.MarshalTo(b)
  203. if err != nil {
  204. return nil, err
  205. }
  206. return b[:n], nil
  207. }
  208. }
  209. func (dst *EditReq) XXX_Merge(src proto.Message) {
  210. xxx_messageInfo_EditReq.Merge(dst, src)
  211. }
  212. func (m *EditReq) XXX_Size() int {
  213. return m.Size()
  214. }
  215. func (m *EditReq) XXX_DiscardUnknown() {
  216. xxx_messageInfo_EditReq.DiscardUnknown(m)
  217. }
  218. var xxx_messageInfo_EditReq proto.InternalMessageInfo
  219. func (m *EditReq) GetPlatform() string {
  220. if m != nil {
  221. return m.Platform
  222. }
  223. return ""
  224. }
  225. func (m *EditReq) GetId() int64 {
  226. if m != nil {
  227. return m.Id
  228. }
  229. return 0
  230. }
  231. func (m *EditReq) GetTitle() string {
  232. if m != nil {
  233. return m.Title
  234. }
  235. return ""
  236. }
  237. func (m *EditReq) GetJumpPath() string {
  238. if m != nil {
  239. return m.JumpPath
  240. }
  241. return ""
  242. }
  243. func (m *EditReq) GetJumpTime() int64 {
  244. if m != nil {
  245. return m.JumpTime
  246. }
  247. return 0
  248. }
  249. func (m *EditReq) GetStartTime() string {
  250. if m != nil {
  251. return m.StartTime
  252. }
  253. return ""
  254. }
  255. func (m *EditReq) GetEndTime() string {
  256. if m != nil {
  257. return m.EndTime
  258. }
  259. return ""
  260. }
  261. func (m *EditReq) GetImageUrl() string {
  262. if m != nil {
  263. return m.ImageUrl
  264. }
  265. return ""
  266. }
  267. func (m *EditReq) GetJumpPathType() int64 {
  268. if m != nil {
  269. return m.JumpPathType
  270. }
  271. return 0
  272. }
  273. // editResp
  274. type EditResp struct {
  275. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  276. XXX_unrecognized []byte `json:"-"`
  277. XXX_sizecache int32 `json:"-"`
  278. }
  279. func (m *EditResp) Reset() { *m = EditResp{} }
  280. func (m *EditResp) String() string { return proto.CompactTextString(m) }
  281. func (*EditResp) ProtoMessage() {}
  282. func (*EditResp) Descriptor() ([]byte, []int) {
  283. return fileDescriptor_api_55838d09c99a73d4, []int{3}
  284. }
  285. func (m *EditResp) XXX_Unmarshal(b []byte) error {
  286. return m.Unmarshal(b)
  287. }
  288. func (m *EditResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  289. if deterministic {
  290. return xxx_messageInfo_EditResp.Marshal(b, m, deterministic)
  291. } else {
  292. b = b[:cap(b)]
  293. n, err := m.MarshalTo(b)
  294. if err != nil {
  295. return nil, err
  296. }
  297. return b[:n], nil
  298. }
  299. }
  300. func (dst *EditResp) XXX_Merge(src proto.Message) {
  301. xxx_messageInfo_EditResp.Merge(dst, src)
  302. }
  303. func (m *EditResp) XXX_Size() int {
  304. return m.Size()
  305. }
  306. func (m *EditResp) XXX_DiscardUnknown() {
  307. xxx_messageInfo_EditResp.DiscardUnknown(m)
  308. }
  309. var xxx_messageInfo_EditResp proto.InternalMessageInfo
  310. // 下线闪屏
  311. type OfflineReq struct {
  312. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  313. Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty" form:"id" validate:"required"`
  314. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  315. XXX_unrecognized []byte `json:"-"`
  316. XXX_sizecache int32 `json:"-"`
  317. }
  318. func (m *OfflineReq) Reset() { *m = OfflineReq{} }
  319. func (m *OfflineReq) String() string { return proto.CompactTextString(m) }
  320. func (*OfflineReq) ProtoMessage() {}
  321. func (*OfflineReq) Descriptor() ([]byte, []int) {
  322. return fileDescriptor_api_55838d09c99a73d4, []int{4}
  323. }
  324. func (m *OfflineReq) XXX_Unmarshal(b []byte) error {
  325. return m.Unmarshal(b)
  326. }
  327. func (m *OfflineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  328. if deterministic {
  329. return xxx_messageInfo_OfflineReq.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 *OfflineReq) XXX_Merge(src proto.Message) {
  340. xxx_messageInfo_OfflineReq.Merge(dst, src)
  341. }
  342. func (m *OfflineReq) XXX_Size() int {
  343. return m.Size()
  344. }
  345. func (m *OfflineReq) XXX_DiscardUnknown() {
  346. xxx_messageInfo_OfflineReq.DiscardUnknown(m)
  347. }
  348. var xxx_messageInfo_OfflineReq proto.InternalMessageInfo
  349. func (m *OfflineReq) GetPlatform() string {
  350. if m != nil {
  351. return m.Platform
  352. }
  353. return ""
  354. }
  355. func (m *OfflineReq) GetId() int64 {
  356. if m != nil {
  357. return m.Id
  358. }
  359. return 0
  360. }
  361. type OfflineResp struct {
  362. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  363. XXX_unrecognized []byte `json:"-"`
  364. XXX_sizecache int32 `json:"-"`
  365. }
  366. func (m *OfflineResp) Reset() { *m = OfflineResp{} }
  367. func (m *OfflineResp) String() string { return proto.CompactTextString(m) }
  368. func (*OfflineResp) ProtoMessage() {}
  369. func (*OfflineResp) Descriptor() ([]byte, []int) {
  370. return fileDescriptor_api_55838d09c99a73d4, []int{5}
  371. }
  372. func (m *OfflineResp) XXX_Unmarshal(b []byte) error {
  373. return m.Unmarshal(b)
  374. }
  375. func (m *OfflineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  376. if deterministic {
  377. return xxx_messageInfo_OfflineResp.Marshal(b, m, deterministic)
  378. } else {
  379. b = b[:cap(b)]
  380. n, err := m.MarshalTo(b)
  381. if err != nil {
  382. return nil, err
  383. }
  384. return b[:n], nil
  385. }
  386. }
  387. func (dst *OfflineResp) XXX_Merge(src proto.Message) {
  388. xxx_messageInfo_OfflineResp.Merge(dst, src)
  389. }
  390. func (m *OfflineResp) XXX_Size() int {
  391. return m.Size()
  392. }
  393. func (m *OfflineResp) XXX_DiscardUnknown() {
  394. xxx_messageInfo_OfflineResp.DiscardUnknown(m)
  395. }
  396. var xxx_messageInfo_OfflineResp proto.InternalMessageInfo
  397. // 获取闪屏配置列表
  398. type GetListReq struct {
  399. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  400. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" form:"page"`
  401. PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty" form:"pageSize"`
  402. Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required"`
  403. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  404. XXX_unrecognized []byte `json:"-"`
  405. XXX_sizecache int32 `json:"-"`
  406. }
  407. func (m *GetListReq) Reset() { *m = GetListReq{} }
  408. func (m *GetListReq) String() string { return proto.CompactTextString(m) }
  409. func (*GetListReq) ProtoMessage() {}
  410. func (*GetListReq) Descriptor() ([]byte, []int) {
  411. return fileDescriptor_api_55838d09c99a73d4, []int{6}
  412. }
  413. func (m *GetListReq) XXX_Unmarshal(b []byte) error {
  414. return m.Unmarshal(b)
  415. }
  416. func (m *GetListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  417. if deterministic {
  418. return xxx_messageInfo_GetListReq.Marshal(b, m, deterministic)
  419. } else {
  420. b = b[:cap(b)]
  421. n, err := m.MarshalTo(b)
  422. if err != nil {
  423. return nil, err
  424. }
  425. return b[:n], nil
  426. }
  427. }
  428. func (dst *GetListReq) XXX_Merge(src proto.Message) {
  429. xxx_messageInfo_GetListReq.Merge(dst, src)
  430. }
  431. func (m *GetListReq) XXX_Size() int {
  432. return m.Size()
  433. }
  434. func (m *GetListReq) XXX_DiscardUnknown() {
  435. xxx_messageInfo_GetListReq.DiscardUnknown(m)
  436. }
  437. var xxx_messageInfo_GetListReq proto.InternalMessageInfo
  438. func (m *GetListReq) GetPlatform() string {
  439. if m != nil {
  440. return m.Platform
  441. }
  442. return ""
  443. }
  444. func (m *GetListReq) GetPage() int64 {
  445. if m != nil {
  446. return m.Page
  447. }
  448. return 0
  449. }
  450. func (m *GetListReq) GetPageSize() int64 {
  451. if m != nil {
  452. return m.PageSize
  453. }
  454. return 0
  455. }
  456. func (m *GetListReq) GetType() string {
  457. if m != nil {
  458. return m.Type
  459. }
  460. return ""
  461. }
  462. type GetListResp struct {
  463. CurrentPage int64 `protobuf:"varint,1,opt,name=currentPage,proto3" json:"currentPage"`
  464. TotalCount int64 `protobuf:"varint,2,opt,name=totalCount,proto3" json:"totalCount"`
  465. List []*GetListResp_List `protobuf:"bytes,3,rep,name=list" json:"list"`
  466. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  467. XXX_unrecognized []byte `json:"-"`
  468. XXX_sizecache int32 `json:"-"`
  469. }
  470. func (m *GetListResp) Reset() { *m = GetListResp{} }
  471. func (m *GetListResp) String() string { return proto.CompactTextString(m) }
  472. func (*GetListResp) ProtoMessage() {}
  473. func (*GetListResp) Descriptor() ([]byte, []int) {
  474. return fileDescriptor_api_55838d09c99a73d4, []int{7}
  475. }
  476. func (m *GetListResp) XXX_Unmarshal(b []byte) error {
  477. return m.Unmarshal(b)
  478. }
  479. func (m *GetListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  480. if deterministic {
  481. return xxx_messageInfo_GetListResp.Marshal(b, m, deterministic)
  482. } else {
  483. b = b[:cap(b)]
  484. n, err := m.MarshalTo(b)
  485. if err != nil {
  486. return nil, err
  487. }
  488. return b[:n], nil
  489. }
  490. }
  491. func (dst *GetListResp) XXX_Merge(src proto.Message) {
  492. xxx_messageInfo_GetListResp.Merge(dst, src)
  493. }
  494. func (m *GetListResp) XXX_Size() int {
  495. return m.Size()
  496. }
  497. func (m *GetListResp) XXX_DiscardUnknown() {
  498. xxx_messageInfo_GetListResp.DiscardUnknown(m)
  499. }
  500. var xxx_messageInfo_GetListResp proto.InternalMessageInfo
  501. func (m *GetListResp) GetCurrentPage() int64 {
  502. if m != nil {
  503. return m.CurrentPage
  504. }
  505. return 0
  506. }
  507. func (m *GetListResp) GetTotalCount() int64 {
  508. if m != nil {
  509. return m.TotalCount
  510. }
  511. return 0
  512. }
  513. func (m *GetListResp) GetList() []*GetListResp_List {
  514. if m != nil {
  515. return m.List
  516. }
  517. return nil
  518. }
  519. type GetListResp_List struct {
  520. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  521. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  522. JumpPath string `protobuf:"bytes,3,opt,name=jumpPath,proto3" json:"jumpPath"`
  523. DevicePlatform string `protobuf:"bytes,4,opt,name=device_platform,json=devicePlatform,proto3" json:"device_platform"`
  524. DeviceBuild int64 `protobuf:"varint,5,opt,name=device_build,json=deviceBuild,proto3" json:"device_build"`
  525. StartTime string `protobuf:"bytes,6,opt,name=startTime,proto3" json:"startTime"`
  526. EndTime string `protobuf:"bytes,7,opt,name=endTime,proto3" json:"endTime"`
  527. Status int64 `protobuf:"varint,8,opt,name=status,proto3" json:"status"`
  528. DeviceLimit int64 `protobuf:"varint,9,opt,name=device_limit,json=deviceLimit,proto3" json:"device_limit"`
  529. ImageUrl string `protobuf:"bytes,10,opt,name=imageUrl,proto3" json:"imageUrl"`
  530. JumpPathType int64 `protobuf:"varint,11,opt,name=jumpPathType,proto3" json:"jumpPathType"`
  531. JumpTime int64 `protobuf:"varint,12,opt,name=jumpTime,proto3" json:"jumpTime"`
  532. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  533. XXX_unrecognized []byte `json:"-"`
  534. XXX_sizecache int32 `json:"-"`
  535. }
  536. func (m *GetListResp_List) Reset() { *m = GetListResp_List{} }
  537. func (m *GetListResp_List) String() string { return proto.CompactTextString(m) }
  538. func (*GetListResp_List) ProtoMessage() {}
  539. func (*GetListResp_List) Descriptor() ([]byte, []int) {
  540. return fileDescriptor_api_55838d09c99a73d4, []int{7, 0}
  541. }
  542. func (m *GetListResp_List) XXX_Unmarshal(b []byte) error {
  543. return m.Unmarshal(b)
  544. }
  545. func (m *GetListResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  546. if deterministic {
  547. return xxx_messageInfo_GetListResp_List.Marshal(b, m, deterministic)
  548. } else {
  549. b = b[:cap(b)]
  550. n, err := m.MarshalTo(b)
  551. if err != nil {
  552. return nil, err
  553. }
  554. return b[:n], nil
  555. }
  556. }
  557. func (dst *GetListResp_List) XXX_Merge(src proto.Message) {
  558. xxx_messageInfo_GetListResp_List.Merge(dst, src)
  559. }
  560. func (m *GetListResp_List) XXX_Size() int {
  561. return m.Size()
  562. }
  563. func (m *GetListResp_List) XXX_DiscardUnknown() {
  564. xxx_messageInfo_GetListResp_List.DiscardUnknown(m)
  565. }
  566. var xxx_messageInfo_GetListResp_List proto.InternalMessageInfo
  567. func (m *GetListResp_List) GetId() int64 {
  568. if m != nil {
  569. return m.Id
  570. }
  571. return 0
  572. }
  573. func (m *GetListResp_List) GetTitle() string {
  574. if m != nil {
  575. return m.Title
  576. }
  577. return ""
  578. }
  579. func (m *GetListResp_List) GetJumpPath() string {
  580. if m != nil {
  581. return m.JumpPath
  582. }
  583. return ""
  584. }
  585. func (m *GetListResp_List) GetDevicePlatform() string {
  586. if m != nil {
  587. return m.DevicePlatform
  588. }
  589. return ""
  590. }
  591. func (m *GetListResp_List) GetDeviceBuild() int64 {
  592. if m != nil {
  593. return m.DeviceBuild
  594. }
  595. return 0
  596. }
  597. func (m *GetListResp_List) GetStartTime() string {
  598. if m != nil {
  599. return m.StartTime
  600. }
  601. return ""
  602. }
  603. func (m *GetListResp_List) GetEndTime() string {
  604. if m != nil {
  605. return m.EndTime
  606. }
  607. return ""
  608. }
  609. func (m *GetListResp_List) GetStatus() int64 {
  610. if m != nil {
  611. return m.Status
  612. }
  613. return 0
  614. }
  615. func (m *GetListResp_List) GetDeviceLimit() int64 {
  616. if m != nil {
  617. return m.DeviceLimit
  618. }
  619. return 0
  620. }
  621. func (m *GetListResp_List) GetImageUrl() string {
  622. if m != nil {
  623. return m.ImageUrl
  624. }
  625. return ""
  626. }
  627. func (m *GetListResp_List) GetJumpPathType() int64 {
  628. if m != nil {
  629. return m.JumpPathType
  630. }
  631. return 0
  632. }
  633. func (m *GetListResp_List) GetJumpTime() int64 {
  634. if m != nil {
  635. return m.JumpTime
  636. }
  637. return 0
  638. }
  639. // 获取当前有效闪屏配置(客户端)
  640. type GetInfoReq struct {
  641. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  642. Build int64 `protobuf:"varint,2,opt,name=build,proto3" json:"build,omitempty" form:"build" validate:"required"`
  643. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  644. XXX_unrecognized []byte `json:"-"`
  645. XXX_sizecache int32 `json:"-"`
  646. }
  647. func (m *GetInfoReq) Reset() { *m = GetInfoReq{} }
  648. func (m *GetInfoReq) String() string { return proto.CompactTextString(m) }
  649. func (*GetInfoReq) ProtoMessage() {}
  650. func (*GetInfoReq) Descriptor() ([]byte, []int) {
  651. return fileDescriptor_api_55838d09c99a73d4, []int{8}
  652. }
  653. func (m *GetInfoReq) XXX_Unmarshal(b []byte) error {
  654. return m.Unmarshal(b)
  655. }
  656. func (m *GetInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  657. if deterministic {
  658. return xxx_messageInfo_GetInfoReq.Marshal(b, m, deterministic)
  659. } else {
  660. b = b[:cap(b)]
  661. n, err := m.MarshalTo(b)
  662. if err != nil {
  663. return nil, err
  664. }
  665. return b[:n], nil
  666. }
  667. }
  668. func (dst *GetInfoReq) XXX_Merge(src proto.Message) {
  669. xxx_messageInfo_GetInfoReq.Merge(dst, src)
  670. }
  671. func (m *GetInfoReq) XXX_Size() int {
  672. return m.Size()
  673. }
  674. func (m *GetInfoReq) XXX_DiscardUnknown() {
  675. xxx_messageInfo_GetInfoReq.DiscardUnknown(m)
  676. }
  677. var xxx_messageInfo_GetInfoReq proto.InternalMessageInfo
  678. func (m *GetInfoReq) GetPlatform() string {
  679. if m != nil {
  680. return m.Platform
  681. }
  682. return ""
  683. }
  684. func (m *GetInfoReq) GetBuild() int64 {
  685. if m != nil {
  686. return m.Build
  687. }
  688. return 0
  689. }
  690. type GetInfoResp struct {
  691. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  692. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  693. JumpPath string `protobuf:"bytes,3,opt,name=jumpPath,proto3" json:"jumpPath"`
  694. JumpTime int64 `protobuf:"varint,4,opt,name=jumpTime,proto3" json:"jumpTime"`
  695. JumpPathType int64 `protobuf:"varint,5,opt,name=jumpPathType,proto3" json:"jumpPathType"`
  696. ImageUrl string `protobuf:"bytes,6,opt,name=imageUrl,proto3" json:"imageUrl"`
  697. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  698. XXX_unrecognized []byte `json:"-"`
  699. XXX_sizecache int32 `json:"-"`
  700. }
  701. func (m *GetInfoResp) Reset() { *m = GetInfoResp{} }
  702. func (m *GetInfoResp) String() string { return proto.CompactTextString(m) }
  703. func (*GetInfoResp) ProtoMessage() {}
  704. func (*GetInfoResp) Descriptor() ([]byte, []int) {
  705. return fileDescriptor_api_55838d09c99a73d4, []int{9}
  706. }
  707. func (m *GetInfoResp) XXX_Unmarshal(b []byte) error {
  708. return m.Unmarshal(b)
  709. }
  710. func (m *GetInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  711. if deterministic {
  712. return xxx_messageInfo_GetInfoResp.Marshal(b, m, deterministic)
  713. } else {
  714. b = b[:cap(b)]
  715. n, err := m.MarshalTo(b)
  716. if err != nil {
  717. return nil, err
  718. }
  719. return b[:n], nil
  720. }
  721. }
  722. func (dst *GetInfoResp) XXX_Merge(src proto.Message) {
  723. xxx_messageInfo_GetInfoResp.Merge(dst, src)
  724. }
  725. func (m *GetInfoResp) XXX_Size() int {
  726. return m.Size()
  727. }
  728. func (m *GetInfoResp) XXX_DiscardUnknown() {
  729. xxx_messageInfo_GetInfoResp.DiscardUnknown(m)
  730. }
  731. var xxx_messageInfo_GetInfoResp proto.InternalMessageInfo
  732. func (m *GetInfoResp) GetId() int64 {
  733. if m != nil {
  734. return m.Id
  735. }
  736. return 0
  737. }
  738. func (m *GetInfoResp) GetTitle() string {
  739. if m != nil {
  740. return m.Title
  741. }
  742. return ""
  743. }
  744. func (m *GetInfoResp) GetJumpPath() string {
  745. if m != nil {
  746. return m.JumpPath
  747. }
  748. return ""
  749. }
  750. func (m *GetInfoResp) GetJumpTime() int64 {
  751. if m != nil {
  752. return m.JumpTime
  753. }
  754. return 0
  755. }
  756. func (m *GetInfoResp) GetJumpPathType() int64 {
  757. if m != nil {
  758. return m.JumpPathType
  759. }
  760. return 0
  761. }
  762. func (m *GetInfoResp) GetImageUrl() string {
  763. if m != nil {
  764. return m.ImageUrl
  765. }
  766. return ""
  767. }
  768. // 获取当前有效banner配置(客户端)
  769. type GetBlinkBannerReq struct {
  770. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  771. Build int64 `protobuf:"varint,2,opt,name=build,proto3" json:"build,omitempty" form:"build" validate:"required"`
  772. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  773. XXX_unrecognized []byte `json:"-"`
  774. XXX_sizecache int32 `json:"-"`
  775. }
  776. func (m *GetBlinkBannerReq) Reset() { *m = GetBlinkBannerReq{} }
  777. func (m *GetBlinkBannerReq) String() string { return proto.CompactTextString(m) }
  778. func (*GetBlinkBannerReq) ProtoMessage() {}
  779. func (*GetBlinkBannerReq) Descriptor() ([]byte, []int) {
  780. return fileDescriptor_api_55838d09c99a73d4, []int{10}
  781. }
  782. func (m *GetBlinkBannerReq) XXX_Unmarshal(b []byte) error {
  783. return m.Unmarshal(b)
  784. }
  785. func (m *GetBlinkBannerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  786. if deterministic {
  787. return xxx_messageInfo_GetBlinkBannerReq.Marshal(b, m, deterministic)
  788. } else {
  789. b = b[:cap(b)]
  790. n, err := m.MarshalTo(b)
  791. if err != nil {
  792. return nil, err
  793. }
  794. return b[:n], nil
  795. }
  796. }
  797. func (dst *GetBlinkBannerReq) XXX_Merge(src proto.Message) {
  798. xxx_messageInfo_GetBlinkBannerReq.Merge(dst, src)
  799. }
  800. func (m *GetBlinkBannerReq) XXX_Size() int {
  801. return m.Size()
  802. }
  803. func (m *GetBlinkBannerReq) XXX_DiscardUnknown() {
  804. xxx_messageInfo_GetBlinkBannerReq.DiscardUnknown(m)
  805. }
  806. var xxx_messageInfo_GetBlinkBannerReq proto.InternalMessageInfo
  807. func (m *GetBlinkBannerReq) GetPlatform() string {
  808. if m != nil {
  809. return m.Platform
  810. }
  811. return ""
  812. }
  813. func (m *GetBlinkBannerReq) GetBuild() int64 {
  814. if m != nil {
  815. return m.Build
  816. }
  817. return 0
  818. }
  819. type GetBlinkBannerResp struct {
  820. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  821. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  822. JumpPath string `protobuf:"bytes,3,opt,name=jumpPath,proto3" json:"jumpPath"`
  823. JumpTime int64 `protobuf:"varint,4,opt,name=jumpTime,proto3" json:"jumpTime"`
  824. JumpPathType int64 `protobuf:"varint,5,opt,name=jumpPathType,proto3" json:"jumpPathType"`
  825. ImageUrl string `protobuf:"bytes,6,opt,name=imageUrl,proto3" json:"imageUrl"`
  826. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  827. XXX_unrecognized []byte `json:"-"`
  828. XXX_sizecache int32 `json:"-"`
  829. }
  830. func (m *GetBlinkBannerResp) Reset() { *m = GetBlinkBannerResp{} }
  831. func (m *GetBlinkBannerResp) String() string { return proto.CompactTextString(m) }
  832. func (*GetBlinkBannerResp) ProtoMessage() {}
  833. func (*GetBlinkBannerResp) Descriptor() ([]byte, []int) {
  834. return fileDescriptor_api_55838d09c99a73d4, []int{11}
  835. }
  836. func (m *GetBlinkBannerResp) XXX_Unmarshal(b []byte) error {
  837. return m.Unmarshal(b)
  838. }
  839. func (m *GetBlinkBannerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  840. if deterministic {
  841. return xxx_messageInfo_GetBlinkBannerResp.Marshal(b, m, deterministic)
  842. } else {
  843. b = b[:cap(b)]
  844. n, err := m.MarshalTo(b)
  845. if err != nil {
  846. return nil, err
  847. }
  848. return b[:n], nil
  849. }
  850. }
  851. func (dst *GetBlinkBannerResp) XXX_Merge(src proto.Message) {
  852. xxx_messageInfo_GetBlinkBannerResp.Merge(dst, src)
  853. }
  854. func (m *GetBlinkBannerResp) XXX_Size() int {
  855. return m.Size()
  856. }
  857. func (m *GetBlinkBannerResp) XXX_DiscardUnknown() {
  858. xxx_messageInfo_GetBlinkBannerResp.DiscardUnknown(m)
  859. }
  860. var xxx_messageInfo_GetBlinkBannerResp proto.InternalMessageInfo
  861. func (m *GetBlinkBannerResp) GetId() int64 {
  862. if m != nil {
  863. return m.Id
  864. }
  865. return 0
  866. }
  867. func (m *GetBlinkBannerResp) GetTitle() string {
  868. if m != nil {
  869. return m.Title
  870. }
  871. return ""
  872. }
  873. func (m *GetBlinkBannerResp) GetJumpPath() string {
  874. if m != nil {
  875. return m.JumpPath
  876. }
  877. return ""
  878. }
  879. func (m *GetBlinkBannerResp) GetJumpTime() int64 {
  880. if m != nil {
  881. return m.JumpTime
  882. }
  883. return 0
  884. }
  885. func (m *GetBlinkBannerResp) GetJumpPathType() int64 {
  886. if m != nil {
  887. return m.JumpPathType
  888. }
  889. return 0
  890. }
  891. func (m *GetBlinkBannerResp) GetImageUrl() string {
  892. if m != nil {
  893. return m.ImageUrl
  894. }
  895. return ""
  896. }
  897. // 获取banner配置(客户端)
  898. type GetBannerReq struct {
  899. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  900. Build int64 `protobuf:"varint,2,opt,name=build,proto3" json:"build,omitempty" form:"build" validate:"required"`
  901. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required"`
  902. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  903. XXX_unrecognized []byte `json:"-"`
  904. XXX_sizecache int32 `json:"-"`
  905. }
  906. func (m *GetBannerReq) Reset() { *m = GetBannerReq{} }
  907. func (m *GetBannerReq) String() string { return proto.CompactTextString(m) }
  908. func (*GetBannerReq) ProtoMessage() {}
  909. func (*GetBannerReq) Descriptor() ([]byte, []int) {
  910. return fileDescriptor_api_55838d09c99a73d4, []int{12}
  911. }
  912. func (m *GetBannerReq) XXX_Unmarshal(b []byte) error {
  913. return m.Unmarshal(b)
  914. }
  915. func (m *GetBannerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  916. if deterministic {
  917. return xxx_messageInfo_GetBannerReq.Marshal(b, m, deterministic)
  918. } else {
  919. b = b[:cap(b)]
  920. n, err := m.MarshalTo(b)
  921. if err != nil {
  922. return nil, err
  923. }
  924. return b[:n], nil
  925. }
  926. }
  927. func (dst *GetBannerReq) XXX_Merge(src proto.Message) {
  928. xxx_messageInfo_GetBannerReq.Merge(dst, src)
  929. }
  930. func (m *GetBannerReq) XXX_Size() int {
  931. return m.Size()
  932. }
  933. func (m *GetBannerReq) XXX_DiscardUnknown() {
  934. xxx_messageInfo_GetBannerReq.DiscardUnknown(m)
  935. }
  936. var xxx_messageInfo_GetBannerReq proto.InternalMessageInfo
  937. func (m *GetBannerReq) GetPlatform() string {
  938. if m != nil {
  939. return m.Platform
  940. }
  941. return ""
  942. }
  943. func (m *GetBannerReq) GetBuild() int64 {
  944. if m != nil {
  945. return m.Build
  946. }
  947. return 0
  948. }
  949. func (m *GetBannerReq) GetType() string {
  950. if m != nil {
  951. return m.Type
  952. }
  953. return ""
  954. }
  955. type GetBannerResp struct {
  956. List []*GetBannerResp_List `protobuf:"bytes,1,rep,name=list" json:"list"`
  957. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  958. XXX_unrecognized []byte `json:"-"`
  959. XXX_sizecache int32 `json:"-"`
  960. }
  961. func (m *GetBannerResp) Reset() { *m = GetBannerResp{} }
  962. func (m *GetBannerResp) String() string { return proto.CompactTextString(m) }
  963. func (*GetBannerResp) ProtoMessage() {}
  964. func (*GetBannerResp) Descriptor() ([]byte, []int) {
  965. return fileDescriptor_api_55838d09c99a73d4, []int{13}
  966. }
  967. func (m *GetBannerResp) XXX_Unmarshal(b []byte) error {
  968. return m.Unmarshal(b)
  969. }
  970. func (m *GetBannerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  971. if deterministic {
  972. return xxx_messageInfo_GetBannerResp.Marshal(b, m, deterministic)
  973. } else {
  974. b = b[:cap(b)]
  975. n, err := m.MarshalTo(b)
  976. if err != nil {
  977. return nil, err
  978. }
  979. return b[:n], nil
  980. }
  981. }
  982. func (dst *GetBannerResp) XXX_Merge(src proto.Message) {
  983. xxx_messageInfo_GetBannerResp.Merge(dst, src)
  984. }
  985. func (m *GetBannerResp) XXX_Size() int {
  986. return m.Size()
  987. }
  988. func (m *GetBannerResp) XXX_DiscardUnknown() {
  989. xxx_messageInfo_GetBannerResp.DiscardUnknown(m)
  990. }
  991. var xxx_messageInfo_GetBannerResp proto.InternalMessageInfo
  992. func (m *GetBannerResp) GetList() []*GetBannerResp_List {
  993. if m != nil {
  994. return m.List
  995. }
  996. return nil
  997. }
  998. type GetBannerResp_List struct {
  999. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  1000. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  1001. JumpPath string `protobuf:"bytes,3,opt,name=jumpPath,proto3" json:"jumpPath"`
  1002. JumpTime int64 `protobuf:"varint,4,opt,name=jumpTime,proto3" json:"jumpTime"`
  1003. JumpPathType int64 `protobuf:"varint,5,opt,name=jumpPathType,proto3" json:"jumpPathType"`
  1004. ImageUrl string `protobuf:"bytes,6,opt,name=imageUrl,proto3" json:"imageUrl"`
  1005. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1006. XXX_unrecognized []byte `json:"-"`
  1007. XXX_sizecache int32 `json:"-"`
  1008. }
  1009. func (m *GetBannerResp_List) Reset() { *m = GetBannerResp_List{} }
  1010. func (m *GetBannerResp_List) String() string { return proto.CompactTextString(m) }
  1011. func (*GetBannerResp_List) ProtoMessage() {}
  1012. func (*GetBannerResp_List) Descriptor() ([]byte, []int) {
  1013. return fileDescriptor_api_55838d09c99a73d4, []int{13, 0}
  1014. }
  1015. func (m *GetBannerResp_List) XXX_Unmarshal(b []byte) error {
  1016. return m.Unmarshal(b)
  1017. }
  1018. func (m *GetBannerResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1019. if deterministic {
  1020. return xxx_messageInfo_GetBannerResp_List.Marshal(b, m, deterministic)
  1021. } else {
  1022. b = b[:cap(b)]
  1023. n, err := m.MarshalTo(b)
  1024. if err != nil {
  1025. return nil, err
  1026. }
  1027. return b[:n], nil
  1028. }
  1029. }
  1030. func (dst *GetBannerResp_List) XXX_Merge(src proto.Message) {
  1031. xxx_messageInfo_GetBannerResp_List.Merge(dst, src)
  1032. }
  1033. func (m *GetBannerResp_List) XXX_Size() int {
  1034. return m.Size()
  1035. }
  1036. func (m *GetBannerResp_List) XXX_DiscardUnknown() {
  1037. xxx_messageInfo_GetBannerResp_List.DiscardUnknown(m)
  1038. }
  1039. var xxx_messageInfo_GetBannerResp_List proto.InternalMessageInfo
  1040. func (m *GetBannerResp_List) GetId() int64 {
  1041. if m != nil {
  1042. return m.Id
  1043. }
  1044. return 0
  1045. }
  1046. func (m *GetBannerResp_List) GetTitle() string {
  1047. if m != nil {
  1048. return m.Title
  1049. }
  1050. return ""
  1051. }
  1052. func (m *GetBannerResp_List) GetJumpPath() string {
  1053. if m != nil {
  1054. return m.JumpPath
  1055. }
  1056. return ""
  1057. }
  1058. func (m *GetBannerResp_List) GetJumpTime() int64 {
  1059. if m != nil {
  1060. return m.JumpTime
  1061. }
  1062. return 0
  1063. }
  1064. func (m *GetBannerResp_List) GetJumpPathType() int64 {
  1065. if m != nil {
  1066. return m.JumpPathType
  1067. }
  1068. return 0
  1069. }
  1070. func (m *GetBannerResp_List) GetImageUrl() string {
  1071. if m != nil {
  1072. return m.ImageUrl
  1073. }
  1074. return ""
  1075. }
  1076. type GetPlatformListReq struct {
  1077. Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
  1078. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1079. XXX_unrecognized []byte `json:"-"`
  1080. XXX_sizecache int32 `json:"-"`
  1081. }
  1082. func (m *GetPlatformListReq) Reset() { *m = GetPlatformListReq{} }
  1083. func (m *GetPlatformListReq) String() string { return proto.CompactTextString(m) }
  1084. func (*GetPlatformListReq) ProtoMessage() {}
  1085. func (*GetPlatformListReq) Descriptor() ([]byte, []int) {
  1086. return fileDescriptor_api_55838d09c99a73d4, []int{14}
  1087. }
  1088. func (m *GetPlatformListReq) XXX_Unmarshal(b []byte) error {
  1089. return m.Unmarshal(b)
  1090. }
  1091. func (m *GetPlatformListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1092. if deterministic {
  1093. return xxx_messageInfo_GetPlatformListReq.Marshal(b, m, deterministic)
  1094. } else {
  1095. b = b[:cap(b)]
  1096. n, err := m.MarshalTo(b)
  1097. if err != nil {
  1098. return nil, err
  1099. }
  1100. return b[:n], nil
  1101. }
  1102. }
  1103. func (dst *GetPlatformListReq) XXX_Merge(src proto.Message) {
  1104. xxx_messageInfo_GetPlatformListReq.Merge(dst, src)
  1105. }
  1106. func (m *GetPlatformListReq) XXX_Size() int {
  1107. return m.Size()
  1108. }
  1109. func (m *GetPlatformListReq) XXX_DiscardUnknown() {
  1110. xxx_messageInfo_GetPlatformListReq.DiscardUnknown(m)
  1111. }
  1112. var xxx_messageInfo_GetPlatformListReq proto.InternalMessageInfo
  1113. func (m *GetPlatformListReq) GetType() int64 {
  1114. if m != nil {
  1115. return m.Type
  1116. }
  1117. return 0
  1118. }
  1119. type GetPlatformListResp struct {
  1120. Platform []string `protobuf:"bytes,1,rep,name=platform" json:"platform"`
  1121. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1122. XXX_unrecognized []byte `json:"-"`
  1123. XXX_sizecache int32 `json:"-"`
  1124. }
  1125. func (m *GetPlatformListResp) Reset() { *m = GetPlatformListResp{} }
  1126. func (m *GetPlatformListResp) String() string { return proto.CompactTextString(m) }
  1127. func (*GetPlatformListResp) ProtoMessage() {}
  1128. func (*GetPlatformListResp) Descriptor() ([]byte, []int) {
  1129. return fileDescriptor_api_55838d09c99a73d4, []int{15}
  1130. }
  1131. func (m *GetPlatformListResp) XXX_Unmarshal(b []byte) error {
  1132. return m.Unmarshal(b)
  1133. }
  1134. func (m *GetPlatformListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1135. if deterministic {
  1136. return xxx_messageInfo_GetPlatformListResp.Marshal(b, m, deterministic)
  1137. } else {
  1138. b = b[:cap(b)]
  1139. n, err := m.MarshalTo(b)
  1140. if err != nil {
  1141. return nil, err
  1142. }
  1143. return b[:n], nil
  1144. }
  1145. }
  1146. func (dst *GetPlatformListResp) XXX_Merge(src proto.Message) {
  1147. xxx_messageInfo_GetPlatformListResp.Merge(dst, src)
  1148. }
  1149. func (m *GetPlatformListResp) XXX_Size() int {
  1150. return m.Size()
  1151. }
  1152. func (m *GetPlatformListResp) XXX_DiscardUnknown() {
  1153. xxx_messageInfo_GetPlatformListResp.DiscardUnknown(m)
  1154. }
  1155. var xxx_messageInfo_GetPlatformListResp proto.InternalMessageInfo
  1156. func (m *GetPlatformListResp) GetPlatform() []string {
  1157. if m != nil {
  1158. return m.Platform
  1159. }
  1160. return nil
  1161. }
  1162. type GetListExReq struct {
  1163. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  1164. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" form:"page"`
  1165. PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty" form:"pageSize"`
  1166. Type []string `protobuf:"bytes,4,rep,name=type" json:"type,omitempty" form:"type" validate:"required"`
  1167. DevicePlatform string `protobuf:"bytes,5,opt,name=device_platform,json=devicePlatform,proto3" json:"device_platform,omitempty" form:"device_platform"`
  1168. Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty" form:"status"`
  1169. StartTime string `protobuf:"bytes,7,opt,name=startTime,proto3" json:"startTime,omitempty" form:"startTime"`
  1170. EndTime string `protobuf:"bytes,8,opt,name=endTime,proto3" json:"endTime,omitempty" form:"endTime"`
  1171. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1172. XXX_unrecognized []byte `json:"-"`
  1173. XXX_sizecache int32 `json:"-"`
  1174. }
  1175. func (m *GetListExReq) Reset() { *m = GetListExReq{} }
  1176. func (m *GetListExReq) String() string { return proto.CompactTextString(m) }
  1177. func (*GetListExReq) ProtoMessage() {}
  1178. func (*GetListExReq) Descriptor() ([]byte, []int) {
  1179. return fileDescriptor_api_55838d09c99a73d4, []int{16}
  1180. }
  1181. func (m *GetListExReq) XXX_Unmarshal(b []byte) error {
  1182. return m.Unmarshal(b)
  1183. }
  1184. func (m *GetListExReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1185. if deterministic {
  1186. return xxx_messageInfo_GetListExReq.Marshal(b, m, deterministic)
  1187. } else {
  1188. b = b[:cap(b)]
  1189. n, err := m.MarshalTo(b)
  1190. if err != nil {
  1191. return nil, err
  1192. }
  1193. return b[:n], nil
  1194. }
  1195. }
  1196. func (dst *GetListExReq) XXX_Merge(src proto.Message) {
  1197. xxx_messageInfo_GetListExReq.Merge(dst, src)
  1198. }
  1199. func (m *GetListExReq) XXX_Size() int {
  1200. return m.Size()
  1201. }
  1202. func (m *GetListExReq) XXX_DiscardUnknown() {
  1203. xxx_messageInfo_GetListExReq.DiscardUnknown(m)
  1204. }
  1205. var xxx_messageInfo_GetListExReq proto.InternalMessageInfo
  1206. func (m *GetListExReq) GetPlatform() string {
  1207. if m != nil {
  1208. return m.Platform
  1209. }
  1210. return ""
  1211. }
  1212. func (m *GetListExReq) GetPage() int64 {
  1213. if m != nil {
  1214. return m.Page
  1215. }
  1216. return 0
  1217. }
  1218. func (m *GetListExReq) GetPageSize() int64 {
  1219. if m != nil {
  1220. return m.PageSize
  1221. }
  1222. return 0
  1223. }
  1224. func (m *GetListExReq) GetType() []string {
  1225. if m != nil {
  1226. return m.Type
  1227. }
  1228. return nil
  1229. }
  1230. func (m *GetListExReq) GetDevicePlatform() string {
  1231. if m != nil {
  1232. return m.DevicePlatform
  1233. }
  1234. return ""
  1235. }
  1236. func (m *GetListExReq) GetStatus() string {
  1237. if m != nil {
  1238. return m.Status
  1239. }
  1240. return ""
  1241. }
  1242. func (m *GetListExReq) GetStartTime() string {
  1243. if m != nil {
  1244. return m.StartTime
  1245. }
  1246. return ""
  1247. }
  1248. func (m *GetListExReq) GetEndTime() string {
  1249. if m != nil {
  1250. return m.EndTime
  1251. }
  1252. return ""
  1253. }
  1254. type GetListExResp struct {
  1255. CurrentPage int64 `protobuf:"varint,1,opt,name=currentPage,proto3" json:"currentPage"`
  1256. TotalCount int64 `protobuf:"varint,2,opt,name=totalCount,proto3" json:"totalCount"`
  1257. List []*GetListExResp_List `protobuf:"bytes,3,rep,name=list" json:"list"`
  1258. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1259. XXX_unrecognized []byte `json:"-"`
  1260. XXX_sizecache int32 `json:"-"`
  1261. }
  1262. func (m *GetListExResp) Reset() { *m = GetListExResp{} }
  1263. func (m *GetListExResp) String() string { return proto.CompactTextString(m) }
  1264. func (*GetListExResp) ProtoMessage() {}
  1265. func (*GetListExResp) Descriptor() ([]byte, []int) {
  1266. return fileDescriptor_api_55838d09c99a73d4, []int{17}
  1267. }
  1268. func (m *GetListExResp) XXX_Unmarshal(b []byte) error {
  1269. return m.Unmarshal(b)
  1270. }
  1271. func (m *GetListExResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1272. if deterministic {
  1273. return xxx_messageInfo_GetListExResp.Marshal(b, m, deterministic)
  1274. } else {
  1275. b = b[:cap(b)]
  1276. n, err := m.MarshalTo(b)
  1277. if err != nil {
  1278. return nil, err
  1279. }
  1280. return b[:n], nil
  1281. }
  1282. }
  1283. func (dst *GetListExResp) XXX_Merge(src proto.Message) {
  1284. xxx_messageInfo_GetListExResp.Merge(dst, src)
  1285. }
  1286. func (m *GetListExResp) XXX_Size() int {
  1287. return m.Size()
  1288. }
  1289. func (m *GetListExResp) XXX_DiscardUnknown() {
  1290. xxx_messageInfo_GetListExResp.DiscardUnknown(m)
  1291. }
  1292. var xxx_messageInfo_GetListExResp proto.InternalMessageInfo
  1293. func (m *GetListExResp) GetCurrentPage() int64 {
  1294. if m != nil {
  1295. return m.CurrentPage
  1296. }
  1297. return 0
  1298. }
  1299. func (m *GetListExResp) GetTotalCount() int64 {
  1300. if m != nil {
  1301. return m.TotalCount
  1302. }
  1303. return 0
  1304. }
  1305. func (m *GetListExResp) GetList() []*GetListExResp_List {
  1306. if m != nil {
  1307. return m.List
  1308. }
  1309. return nil
  1310. }
  1311. type GetListExResp_List struct {
  1312. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  1313. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  1314. JumpPath string `protobuf:"bytes,3,opt,name=jumpPath,proto3" json:"jumpPath"`
  1315. DevicePlatform string `protobuf:"bytes,4,opt,name=device_platform,json=devicePlatform,proto3" json:"device_platform"`
  1316. DeviceBuild int64 `protobuf:"varint,5,opt,name=device_build,json=deviceBuild,proto3" json:"device_build"`
  1317. StartTime string `protobuf:"bytes,6,opt,name=startTime,proto3" json:"startTime"`
  1318. EndTime string `protobuf:"bytes,7,opt,name=endTime,proto3" json:"endTime"`
  1319. Status int64 `protobuf:"varint,8,opt,name=status,proto3" json:"status"`
  1320. DeviceLimit int64 `protobuf:"varint,9,opt,name=device_limit,json=deviceLimit,proto3" json:"device_limit"`
  1321. ImageUrl string `protobuf:"bytes,10,opt,name=imageUrl,proto3" json:"imageUrl"`
  1322. JumpPathType int64 `protobuf:"varint,11,opt,name=jumpPathType,proto3" json:"jumpPathType"`
  1323. JumpTime int64 `protobuf:"varint,12,opt,name=jumpTime,proto3" json:"jumpTime"`
  1324. Type string `protobuf:"bytes,13,opt,name=type,proto3" json:"type"`
  1325. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1326. XXX_unrecognized []byte `json:"-"`
  1327. XXX_sizecache int32 `json:"-"`
  1328. }
  1329. func (m *GetListExResp_List) Reset() { *m = GetListExResp_List{} }
  1330. func (m *GetListExResp_List) String() string { return proto.CompactTextString(m) }
  1331. func (*GetListExResp_List) ProtoMessage() {}
  1332. func (*GetListExResp_List) Descriptor() ([]byte, []int) {
  1333. return fileDescriptor_api_55838d09c99a73d4, []int{17, 0}
  1334. }
  1335. func (m *GetListExResp_List) XXX_Unmarshal(b []byte) error {
  1336. return m.Unmarshal(b)
  1337. }
  1338. func (m *GetListExResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1339. if deterministic {
  1340. return xxx_messageInfo_GetListExResp_List.Marshal(b, m, deterministic)
  1341. } else {
  1342. b = b[:cap(b)]
  1343. n, err := m.MarshalTo(b)
  1344. if err != nil {
  1345. return nil, err
  1346. }
  1347. return b[:n], nil
  1348. }
  1349. }
  1350. func (dst *GetListExResp_List) XXX_Merge(src proto.Message) {
  1351. xxx_messageInfo_GetListExResp_List.Merge(dst, src)
  1352. }
  1353. func (m *GetListExResp_List) XXX_Size() int {
  1354. return m.Size()
  1355. }
  1356. func (m *GetListExResp_List) XXX_DiscardUnknown() {
  1357. xxx_messageInfo_GetListExResp_List.DiscardUnknown(m)
  1358. }
  1359. var xxx_messageInfo_GetListExResp_List proto.InternalMessageInfo
  1360. func (m *GetListExResp_List) GetId() int64 {
  1361. if m != nil {
  1362. return m.Id
  1363. }
  1364. return 0
  1365. }
  1366. func (m *GetListExResp_List) GetTitle() string {
  1367. if m != nil {
  1368. return m.Title
  1369. }
  1370. return ""
  1371. }
  1372. func (m *GetListExResp_List) GetJumpPath() string {
  1373. if m != nil {
  1374. return m.JumpPath
  1375. }
  1376. return ""
  1377. }
  1378. func (m *GetListExResp_List) GetDevicePlatform() string {
  1379. if m != nil {
  1380. return m.DevicePlatform
  1381. }
  1382. return ""
  1383. }
  1384. func (m *GetListExResp_List) GetDeviceBuild() int64 {
  1385. if m != nil {
  1386. return m.DeviceBuild
  1387. }
  1388. return 0
  1389. }
  1390. func (m *GetListExResp_List) GetStartTime() string {
  1391. if m != nil {
  1392. return m.StartTime
  1393. }
  1394. return ""
  1395. }
  1396. func (m *GetListExResp_List) GetEndTime() string {
  1397. if m != nil {
  1398. return m.EndTime
  1399. }
  1400. return ""
  1401. }
  1402. func (m *GetListExResp_List) GetStatus() int64 {
  1403. if m != nil {
  1404. return m.Status
  1405. }
  1406. return 0
  1407. }
  1408. func (m *GetListExResp_List) GetDeviceLimit() int64 {
  1409. if m != nil {
  1410. return m.DeviceLimit
  1411. }
  1412. return 0
  1413. }
  1414. func (m *GetListExResp_List) GetImageUrl() string {
  1415. if m != nil {
  1416. return m.ImageUrl
  1417. }
  1418. return ""
  1419. }
  1420. func (m *GetListExResp_List) GetJumpPathType() int64 {
  1421. if m != nil {
  1422. return m.JumpPathType
  1423. }
  1424. return 0
  1425. }
  1426. func (m *GetListExResp_List) GetJumpTime() int64 {
  1427. if m != nil {
  1428. return m.JumpTime
  1429. }
  1430. return 0
  1431. }
  1432. func (m *GetListExResp_List) GetType() string {
  1433. if m != nil {
  1434. return m.Type
  1435. }
  1436. return ""
  1437. }
  1438. func init() {
  1439. proto.RegisterType((*AddReq)(nil), "live.resource.v1.AddReq")
  1440. proto.RegisterType((*AddResp)(nil), "live.resource.v1.AddResp")
  1441. proto.RegisterType((*EditReq)(nil), "live.resource.v1.EditReq")
  1442. proto.RegisterType((*EditResp)(nil), "live.resource.v1.EditResp")
  1443. proto.RegisterType((*OfflineReq)(nil), "live.resource.v1.OfflineReq")
  1444. proto.RegisterType((*OfflineResp)(nil), "live.resource.v1.OfflineResp")
  1445. proto.RegisterType((*GetListReq)(nil), "live.resource.v1.GetListReq")
  1446. proto.RegisterType((*GetListResp)(nil), "live.resource.v1.GetListResp")
  1447. proto.RegisterType((*GetListResp_List)(nil), "live.resource.v1.GetListResp.List")
  1448. proto.RegisterType((*GetInfoReq)(nil), "live.resource.v1.GetInfoReq")
  1449. proto.RegisterType((*GetInfoResp)(nil), "live.resource.v1.GetInfoResp")
  1450. proto.RegisterType((*GetBlinkBannerReq)(nil), "live.resource.v1.GetBlinkBannerReq")
  1451. proto.RegisterType((*GetBlinkBannerResp)(nil), "live.resource.v1.GetBlinkBannerResp")
  1452. proto.RegisterType((*GetBannerReq)(nil), "live.resource.v1.GetBannerReq")
  1453. proto.RegisterType((*GetBannerResp)(nil), "live.resource.v1.GetBannerResp")
  1454. proto.RegisterType((*GetBannerResp_List)(nil), "live.resource.v1.GetBannerResp.List")
  1455. proto.RegisterType((*GetPlatformListReq)(nil), "live.resource.v1.GetPlatformListReq")
  1456. proto.RegisterType((*GetPlatformListResp)(nil), "live.resource.v1.GetPlatformListResp")
  1457. proto.RegisterType((*GetListExReq)(nil), "live.resource.v1.GetListExReq")
  1458. proto.RegisterType((*GetListExResp)(nil), "live.resource.v1.GetListExResp")
  1459. proto.RegisterType((*GetListExResp_List)(nil), "live.resource.v1.GetListExResp.List")
  1460. }
  1461. // Reference imports to suppress errors if they are not otherwise used.
  1462. var _ context.Context
  1463. var _ grpc.ClientConn
  1464. // This is a compile-time assertion to ensure that this generated file
  1465. // is compatible with the grpc package it is being compiled against.
  1466. const _ = grpc.SupportPackageIsVersion4
  1467. // ResourceClient is the client API for Resource service.
  1468. //
  1469. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1470. type ResourceClient interface {
  1471. // Add 添加资源接口
  1472. Add(ctx context.Context, in *AddReq, opts ...grpc.CallOption) (*AddResp, error)
  1473. // Add 添加资源接口(不限制位置和平台)
  1474. AddEx(ctx context.Context, in *AddReq, opts ...grpc.CallOption) (*AddResp, error)
  1475. // Edit 编辑资源接口
  1476. Edit(ctx context.Context, in *EditReq, opts ...grpc.CallOption) (*EditResp, error)
  1477. // Offline 下线资源接口
  1478. Offline(ctx context.Context, in *OfflineReq, opts ...grpc.CallOption) (*OfflineResp, error)
  1479. // GetList 获取资源列表
  1480. GetList(ctx context.Context, in *GetListReq, opts ...grpc.CallOption) (*GetListResp, error)
  1481. // 获取平台列表
  1482. GetPlatformList(ctx context.Context, in *GetPlatformListReq, opts ...grpc.CallOption) (*GetPlatformListResp, error)
  1483. // GetListEx 获取资源列表
  1484. GetListEx(ctx context.Context, in *GetListExReq, opts ...grpc.CallOption) (*GetListExResp, error)
  1485. }
  1486. type resourceClient struct {
  1487. cc *grpc.ClientConn
  1488. }
  1489. func NewResourceClient(cc *grpc.ClientConn) ResourceClient {
  1490. return &resourceClient{cc}
  1491. }
  1492. func (c *resourceClient) Add(ctx context.Context, in *AddReq, opts ...grpc.CallOption) (*AddResp, error) {
  1493. out := new(AddResp)
  1494. err := c.cc.Invoke(ctx, "/live.resource.v1.Resource/Add", in, out, opts...)
  1495. if err != nil {
  1496. return nil, err
  1497. }
  1498. return out, nil
  1499. }
  1500. func (c *resourceClient) AddEx(ctx context.Context, in *AddReq, opts ...grpc.CallOption) (*AddResp, error) {
  1501. out := new(AddResp)
  1502. err := c.cc.Invoke(ctx, "/live.resource.v1.Resource/AddEx", in, out, opts...)
  1503. if err != nil {
  1504. return nil, err
  1505. }
  1506. return out, nil
  1507. }
  1508. func (c *resourceClient) Edit(ctx context.Context, in *EditReq, opts ...grpc.CallOption) (*EditResp, error) {
  1509. out := new(EditResp)
  1510. err := c.cc.Invoke(ctx, "/live.resource.v1.Resource/Edit", in, out, opts...)
  1511. if err != nil {
  1512. return nil, err
  1513. }
  1514. return out, nil
  1515. }
  1516. func (c *resourceClient) Offline(ctx context.Context, in *OfflineReq, opts ...grpc.CallOption) (*OfflineResp, error) {
  1517. out := new(OfflineResp)
  1518. err := c.cc.Invoke(ctx, "/live.resource.v1.Resource/Offline", in, out, opts...)
  1519. if err != nil {
  1520. return nil, err
  1521. }
  1522. return out, nil
  1523. }
  1524. func (c *resourceClient) GetList(ctx context.Context, in *GetListReq, opts ...grpc.CallOption) (*GetListResp, error) {
  1525. out := new(GetListResp)
  1526. err := c.cc.Invoke(ctx, "/live.resource.v1.Resource/GetList", in, out, opts...)
  1527. if err != nil {
  1528. return nil, err
  1529. }
  1530. return out, nil
  1531. }
  1532. func (c *resourceClient) GetPlatformList(ctx context.Context, in *GetPlatformListReq, opts ...grpc.CallOption) (*GetPlatformListResp, error) {
  1533. out := new(GetPlatformListResp)
  1534. err := c.cc.Invoke(ctx, "/live.resource.v1.Resource/GetPlatformList", in, out, opts...)
  1535. if err != nil {
  1536. return nil, err
  1537. }
  1538. return out, nil
  1539. }
  1540. func (c *resourceClient) GetListEx(ctx context.Context, in *GetListExReq, opts ...grpc.CallOption) (*GetListExResp, error) {
  1541. out := new(GetListExResp)
  1542. err := c.cc.Invoke(ctx, "/live.resource.v1.Resource/GetListEx", in, out, opts...)
  1543. if err != nil {
  1544. return nil, err
  1545. }
  1546. return out, nil
  1547. }
  1548. // ResourceServer is the server API for Resource service.
  1549. type ResourceServer interface {
  1550. // Add 添加资源接口
  1551. Add(context.Context, *AddReq) (*AddResp, error)
  1552. // Add 添加资源接口(不限制位置和平台)
  1553. AddEx(context.Context, *AddReq) (*AddResp, error)
  1554. // Edit 编辑资源接口
  1555. Edit(context.Context, *EditReq) (*EditResp, error)
  1556. // Offline 下线资源接口
  1557. Offline(context.Context, *OfflineReq) (*OfflineResp, error)
  1558. // GetList 获取资源列表
  1559. GetList(context.Context, *GetListReq) (*GetListResp, error)
  1560. // 获取平台列表
  1561. GetPlatformList(context.Context, *GetPlatformListReq) (*GetPlatformListResp, error)
  1562. // GetListEx 获取资源列表
  1563. GetListEx(context.Context, *GetListExReq) (*GetListExResp, error)
  1564. }
  1565. func RegisterResourceServer(s *grpc.Server, srv ResourceServer) {
  1566. s.RegisterService(&_Resource_serviceDesc, srv)
  1567. }
  1568. func _Resource_Add_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1569. in := new(AddReq)
  1570. if err := dec(in); err != nil {
  1571. return nil, err
  1572. }
  1573. if interceptor == nil {
  1574. return srv.(ResourceServer).Add(ctx, in)
  1575. }
  1576. info := &grpc.UnaryServerInfo{
  1577. Server: srv,
  1578. FullMethod: "/live.resource.v1.Resource/Add",
  1579. }
  1580. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1581. return srv.(ResourceServer).Add(ctx, req.(*AddReq))
  1582. }
  1583. return interceptor(ctx, in, info, handler)
  1584. }
  1585. func _Resource_AddEx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1586. in := new(AddReq)
  1587. if err := dec(in); err != nil {
  1588. return nil, err
  1589. }
  1590. if interceptor == nil {
  1591. return srv.(ResourceServer).AddEx(ctx, in)
  1592. }
  1593. info := &grpc.UnaryServerInfo{
  1594. Server: srv,
  1595. FullMethod: "/live.resource.v1.Resource/AddEx",
  1596. }
  1597. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1598. return srv.(ResourceServer).AddEx(ctx, req.(*AddReq))
  1599. }
  1600. return interceptor(ctx, in, info, handler)
  1601. }
  1602. func _Resource_Edit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1603. in := new(EditReq)
  1604. if err := dec(in); err != nil {
  1605. return nil, err
  1606. }
  1607. if interceptor == nil {
  1608. return srv.(ResourceServer).Edit(ctx, in)
  1609. }
  1610. info := &grpc.UnaryServerInfo{
  1611. Server: srv,
  1612. FullMethod: "/live.resource.v1.Resource/Edit",
  1613. }
  1614. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1615. return srv.(ResourceServer).Edit(ctx, req.(*EditReq))
  1616. }
  1617. return interceptor(ctx, in, info, handler)
  1618. }
  1619. func _Resource_Offline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1620. in := new(OfflineReq)
  1621. if err := dec(in); err != nil {
  1622. return nil, err
  1623. }
  1624. if interceptor == nil {
  1625. return srv.(ResourceServer).Offline(ctx, in)
  1626. }
  1627. info := &grpc.UnaryServerInfo{
  1628. Server: srv,
  1629. FullMethod: "/live.resource.v1.Resource/Offline",
  1630. }
  1631. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1632. return srv.(ResourceServer).Offline(ctx, req.(*OfflineReq))
  1633. }
  1634. return interceptor(ctx, in, info, handler)
  1635. }
  1636. func _Resource_GetList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1637. in := new(GetListReq)
  1638. if err := dec(in); err != nil {
  1639. return nil, err
  1640. }
  1641. if interceptor == nil {
  1642. return srv.(ResourceServer).GetList(ctx, in)
  1643. }
  1644. info := &grpc.UnaryServerInfo{
  1645. Server: srv,
  1646. FullMethod: "/live.resource.v1.Resource/GetList",
  1647. }
  1648. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1649. return srv.(ResourceServer).GetList(ctx, req.(*GetListReq))
  1650. }
  1651. return interceptor(ctx, in, info, handler)
  1652. }
  1653. func _Resource_GetPlatformList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1654. in := new(GetPlatformListReq)
  1655. if err := dec(in); err != nil {
  1656. return nil, err
  1657. }
  1658. if interceptor == nil {
  1659. return srv.(ResourceServer).GetPlatformList(ctx, in)
  1660. }
  1661. info := &grpc.UnaryServerInfo{
  1662. Server: srv,
  1663. FullMethod: "/live.resource.v1.Resource/GetPlatformList",
  1664. }
  1665. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1666. return srv.(ResourceServer).GetPlatformList(ctx, req.(*GetPlatformListReq))
  1667. }
  1668. return interceptor(ctx, in, info, handler)
  1669. }
  1670. func _Resource_GetListEx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1671. in := new(GetListExReq)
  1672. if err := dec(in); err != nil {
  1673. return nil, err
  1674. }
  1675. if interceptor == nil {
  1676. return srv.(ResourceServer).GetListEx(ctx, in)
  1677. }
  1678. info := &grpc.UnaryServerInfo{
  1679. Server: srv,
  1680. FullMethod: "/live.resource.v1.Resource/GetListEx",
  1681. }
  1682. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1683. return srv.(ResourceServer).GetListEx(ctx, req.(*GetListExReq))
  1684. }
  1685. return interceptor(ctx, in, info, handler)
  1686. }
  1687. var _Resource_serviceDesc = grpc.ServiceDesc{
  1688. ServiceName: "live.resource.v1.Resource",
  1689. HandlerType: (*ResourceServer)(nil),
  1690. Methods: []grpc.MethodDesc{
  1691. {
  1692. MethodName: "Add",
  1693. Handler: _Resource_Add_Handler,
  1694. },
  1695. {
  1696. MethodName: "AddEx",
  1697. Handler: _Resource_AddEx_Handler,
  1698. },
  1699. {
  1700. MethodName: "Edit",
  1701. Handler: _Resource_Edit_Handler,
  1702. },
  1703. {
  1704. MethodName: "Offline",
  1705. Handler: _Resource_Offline_Handler,
  1706. },
  1707. {
  1708. MethodName: "GetList",
  1709. Handler: _Resource_GetList_Handler,
  1710. },
  1711. {
  1712. MethodName: "GetPlatformList",
  1713. Handler: _Resource_GetPlatformList_Handler,
  1714. },
  1715. {
  1716. MethodName: "GetListEx",
  1717. Handler: _Resource_GetListEx_Handler,
  1718. },
  1719. },
  1720. Streams: []grpc.StreamDesc{},
  1721. Metadata: "api/grpc/v1/api.proto",
  1722. }
  1723. // SplashClient is the client API for Splash service.
  1724. //
  1725. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1726. type SplashClient interface {
  1727. // 获取有效闪屏配置
  1728. GetInfo(ctx context.Context, in *GetInfoReq, opts ...grpc.CallOption) (*GetInfoResp, error)
  1729. }
  1730. type splashClient struct {
  1731. cc *grpc.ClientConn
  1732. }
  1733. func NewSplashClient(cc *grpc.ClientConn) SplashClient {
  1734. return &splashClient{cc}
  1735. }
  1736. func (c *splashClient) GetInfo(ctx context.Context, in *GetInfoReq, opts ...grpc.CallOption) (*GetInfoResp, error) {
  1737. out := new(GetInfoResp)
  1738. err := c.cc.Invoke(ctx, "/live.resource.v1.Splash/GetInfo", in, out, opts...)
  1739. if err != nil {
  1740. return nil, err
  1741. }
  1742. return out, nil
  1743. }
  1744. // SplashServer is the server API for Splash service.
  1745. type SplashServer interface {
  1746. // 获取有效闪屏配置
  1747. GetInfo(context.Context, *GetInfoReq) (*GetInfoResp, error)
  1748. }
  1749. func RegisterSplashServer(s *grpc.Server, srv SplashServer) {
  1750. s.RegisterService(&_Splash_serviceDesc, srv)
  1751. }
  1752. func _Splash_GetInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1753. in := new(GetInfoReq)
  1754. if err := dec(in); err != nil {
  1755. return nil, err
  1756. }
  1757. if interceptor == nil {
  1758. return srv.(SplashServer).GetInfo(ctx, in)
  1759. }
  1760. info := &grpc.UnaryServerInfo{
  1761. Server: srv,
  1762. FullMethod: "/live.resource.v1.Splash/GetInfo",
  1763. }
  1764. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1765. return srv.(SplashServer).GetInfo(ctx, req.(*GetInfoReq))
  1766. }
  1767. return interceptor(ctx, in, info, handler)
  1768. }
  1769. var _Splash_serviceDesc = grpc.ServiceDesc{
  1770. ServiceName: "live.resource.v1.Splash",
  1771. HandlerType: (*SplashServer)(nil),
  1772. Methods: []grpc.MethodDesc{
  1773. {
  1774. MethodName: "GetInfo",
  1775. Handler: _Splash_GetInfo_Handler,
  1776. },
  1777. },
  1778. Streams: []grpc.StreamDesc{},
  1779. Metadata: "api/grpc/v1/api.proto",
  1780. }
  1781. // BannerClient is the client API for Banner service.
  1782. //
  1783. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1784. type BannerClient interface {
  1785. // 获取有效banner配置
  1786. GetBlinkBanner(ctx context.Context, in *GetInfoReq, opts ...grpc.CallOption) (*GetInfoResp, error)
  1787. // 获取有效banner配置
  1788. GetBanner(ctx context.Context, in *GetBannerReq, opts ...grpc.CallOption) (*GetBannerResp, error)
  1789. }
  1790. type bannerClient struct {
  1791. cc *grpc.ClientConn
  1792. }
  1793. func NewBannerClient(cc *grpc.ClientConn) BannerClient {
  1794. return &bannerClient{cc}
  1795. }
  1796. func (c *bannerClient) GetBlinkBanner(ctx context.Context, in *GetInfoReq, opts ...grpc.CallOption) (*GetInfoResp, error) {
  1797. out := new(GetInfoResp)
  1798. err := c.cc.Invoke(ctx, "/live.resource.v1.Banner/GetBlinkBanner", in, out, opts...)
  1799. if err != nil {
  1800. return nil, err
  1801. }
  1802. return out, nil
  1803. }
  1804. func (c *bannerClient) GetBanner(ctx context.Context, in *GetBannerReq, opts ...grpc.CallOption) (*GetBannerResp, error) {
  1805. out := new(GetBannerResp)
  1806. err := c.cc.Invoke(ctx, "/live.resource.v1.Banner/GetBanner", in, out, opts...)
  1807. if err != nil {
  1808. return nil, err
  1809. }
  1810. return out, nil
  1811. }
  1812. // BannerServer is the server API for Banner service.
  1813. type BannerServer interface {
  1814. // 获取有效banner配置
  1815. GetBlinkBanner(context.Context, *GetInfoReq) (*GetInfoResp, error)
  1816. // 获取有效banner配置
  1817. GetBanner(context.Context, *GetBannerReq) (*GetBannerResp, error)
  1818. }
  1819. func RegisterBannerServer(s *grpc.Server, srv BannerServer) {
  1820. s.RegisterService(&_Banner_serviceDesc, srv)
  1821. }
  1822. func _Banner_GetBlinkBanner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1823. in := new(GetInfoReq)
  1824. if err := dec(in); err != nil {
  1825. return nil, err
  1826. }
  1827. if interceptor == nil {
  1828. return srv.(BannerServer).GetBlinkBanner(ctx, in)
  1829. }
  1830. info := &grpc.UnaryServerInfo{
  1831. Server: srv,
  1832. FullMethod: "/live.resource.v1.Banner/GetBlinkBanner",
  1833. }
  1834. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1835. return srv.(BannerServer).GetBlinkBanner(ctx, req.(*GetInfoReq))
  1836. }
  1837. return interceptor(ctx, in, info, handler)
  1838. }
  1839. func _Banner_GetBanner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1840. in := new(GetBannerReq)
  1841. if err := dec(in); err != nil {
  1842. return nil, err
  1843. }
  1844. if interceptor == nil {
  1845. return srv.(BannerServer).GetBanner(ctx, in)
  1846. }
  1847. info := &grpc.UnaryServerInfo{
  1848. Server: srv,
  1849. FullMethod: "/live.resource.v1.Banner/GetBanner",
  1850. }
  1851. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1852. return srv.(BannerServer).GetBanner(ctx, req.(*GetBannerReq))
  1853. }
  1854. return interceptor(ctx, in, info, handler)
  1855. }
  1856. var _Banner_serviceDesc = grpc.ServiceDesc{
  1857. ServiceName: "live.resource.v1.Banner",
  1858. HandlerType: (*BannerServer)(nil),
  1859. Methods: []grpc.MethodDesc{
  1860. {
  1861. MethodName: "GetBlinkBanner",
  1862. Handler: _Banner_GetBlinkBanner_Handler,
  1863. },
  1864. {
  1865. MethodName: "GetBanner",
  1866. Handler: _Banner_GetBanner_Handler,
  1867. },
  1868. },
  1869. Streams: []grpc.StreamDesc{},
  1870. Metadata: "api/grpc/v1/api.proto",
  1871. }
  1872. func (m *AddReq) Marshal() (dAtA []byte, err error) {
  1873. size := m.Size()
  1874. dAtA = make([]byte, size)
  1875. n, err := m.MarshalTo(dAtA)
  1876. if err != nil {
  1877. return nil, err
  1878. }
  1879. return dAtA[:n], nil
  1880. }
  1881. func (m *AddReq) MarshalTo(dAtA []byte) (int, error) {
  1882. var i int
  1883. _ = i
  1884. var l int
  1885. _ = l
  1886. if len(m.Platform) > 0 {
  1887. dAtA[i] = 0xa
  1888. i++
  1889. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  1890. i += copy(dAtA[i:], m.Platform)
  1891. }
  1892. if len(m.Title) > 0 {
  1893. dAtA[i] = 0x12
  1894. i++
  1895. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  1896. i += copy(dAtA[i:], m.Title)
  1897. }
  1898. if len(m.JumpPath) > 0 {
  1899. dAtA[i] = 0x1a
  1900. i++
  1901. i = encodeVarintApi(dAtA, i, uint64(len(m.JumpPath)))
  1902. i += copy(dAtA[i:], m.JumpPath)
  1903. }
  1904. if m.JumpTime != 0 {
  1905. dAtA[i] = 0x20
  1906. i++
  1907. i = encodeVarintApi(dAtA, i, uint64(m.JumpTime))
  1908. }
  1909. if len(m.Type) > 0 {
  1910. dAtA[i] = 0x2a
  1911. i++
  1912. i = encodeVarintApi(dAtA, i, uint64(len(m.Type)))
  1913. i += copy(dAtA[i:], m.Type)
  1914. }
  1915. if len(m.Device) > 0 {
  1916. dAtA[i] = 0x32
  1917. i++
  1918. i = encodeVarintApi(dAtA, i, uint64(len(m.Device)))
  1919. i += copy(dAtA[i:], m.Device)
  1920. }
  1921. if len(m.StartTime) > 0 {
  1922. dAtA[i] = 0x3a
  1923. i++
  1924. i = encodeVarintApi(dAtA, i, uint64(len(m.StartTime)))
  1925. i += copy(dAtA[i:], m.StartTime)
  1926. }
  1927. if len(m.EndTime) > 0 {
  1928. dAtA[i] = 0x42
  1929. i++
  1930. i = encodeVarintApi(dAtA, i, uint64(len(m.EndTime)))
  1931. i += copy(dAtA[i:], m.EndTime)
  1932. }
  1933. if len(m.ImageUrl) > 0 {
  1934. dAtA[i] = 0x4a
  1935. i++
  1936. i = encodeVarintApi(dAtA, i, uint64(len(m.ImageUrl)))
  1937. i += copy(dAtA[i:], m.ImageUrl)
  1938. }
  1939. if m.JumpPathType != 0 {
  1940. dAtA[i] = 0x50
  1941. i++
  1942. i = encodeVarintApi(dAtA, i, uint64(m.JumpPathType))
  1943. }
  1944. if m.XXX_unrecognized != nil {
  1945. i += copy(dAtA[i:], m.XXX_unrecognized)
  1946. }
  1947. return i, nil
  1948. }
  1949. func (m *AddResp) Marshal() (dAtA []byte, err error) {
  1950. size := m.Size()
  1951. dAtA = make([]byte, size)
  1952. n, err := m.MarshalTo(dAtA)
  1953. if err != nil {
  1954. return nil, err
  1955. }
  1956. return dAtA[:n], nil
  1957. }
  1958. func (m *AddResp) MarshalTo(dAtA []byte) (int, error) {
  1959. var i int
  1960. _ = i
  1961. var l int
  1962. _ = l
  1963. if len(m.Id) > 0 {
  1964. dAtA2 := make([]byte, len(m.Id)*10)
  1965. var j1 int
  1966. for _, num1 := range m.Id {
  1967. num := uint64(num1)
  1968. for num >= 1<<7 {
  1969. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  1970. num >>= 7
  1971. j1++
  1972. }
  1973. dAtA2[j1] = uint8(num)
  1974. j1++
  1975. }
  1976. dAtA[i] = 0xa
  1977. i++
  1978. i = encodeVarintApi(dAtA, i, uint64(j1))
  1979. i += copy(dAtA[i:], dAtA2[:j1])
  1980. }
  1981. if m.XXX_unrecognized != nil {
  1982. i += copy(dAtA[i:], m.XXX_unrecognized)
  1983. }
  1984. return i, nil
  1985. }
  1986. func (m *EditReq) Marshal() (dAtA []byte, err error) {
  1987. size := m.Size()
  1988. dAtA = make([]byte, size)
  1989. n, err := m.MarshalTo(dAtA)
  1990. if err != nil {
  1991. return nil, err
  1992. }
  1993. return dAtA[:n], nil
  1994. }
  1995. func (m *EditReq) MarshalTo(dAtA []byte) (int, error) {
  1996. var i int
  1997. _ = i
  1998. var l int
  1999. _ = l
  2000. if len(m.Platform) > 0 {
  2001. dAtA[i] = 0xa
  2002. i++
  2003. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  2004. i += copy(dAtA[i:], m.Platform)
  2005. }
  2006. if m.Id != 0 {
  2007. dAtA[i] = 0x10
  2008. i++
  2009. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2010. }
  2011. if len(m.Title) > 0 {
  2012. dAtA[i] = 0x1a
  2013. i++
  2014. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  2015. i += copy(dAtA[i:], m.Title)
  2016. }
  2017. if len(m.JumpPath) > 0 {
  2018. dAtA[i] = 0x22
  2019. i++
  2020. i = encodeVarintApi(dAtA, i, uint64(len(m.JumpPath)))
  2021. i += copy(dAtA[i:], m.JumpPath)
  2022. }
  2023. if m.JumpTime != 0 {
  2024. dAtA[i] = 0x28
  2025. i++
  2026. i = encodeVarintApi(dAtA, i, uint64(m.JumpTime))
  2027. }
  2028. if len(m.StartTime) > 0 {
  2029. dAtA[i] = 0x3a
  2030. i++
  2031. i = encodeVarintApi(dAtA, i, uint64(len(m.StartTime)))
  2032. i += copy(dAtA[i:], m.StartTime)
  2033. }
  2034. if len(m.EndTime) > 0 {
  2035. dAtA[i] = 0x42
  2036. i++
  2037. i = encodeVarintApi(dAtA, i, uint64(len(m.EndTime)))
  2038. i += copy(dAtA[i:], m.EndTime)
  2039. }
  2040. if len(m.ImageUrl) > 0 {
  2041. dAtA[i] = 0x4a
  2042. i++
  2043. i = encodeVarintApi(dAtA, i, uint64(len(m.ImageUrl)))
  2044. i += copy(dAtA[i:], m.ImageUrl)
  2045. }
  2046. if m.JumpPathType != 0 {
  2047. dAtA[i] = 0x50
  2048. i++
  2049. i = encodeVarintApi(dAtA, i, uint64(m.JumpPathType))
  2050. }
  2051. if m.XXX_unrecognized != nil {
  2052. i += copy(dAtA[i:], m.XXX_unrecognized)
  2053. }
  2054. return i, nil
  2055. }
  2056. func (m *EditResp) Marshal() (dAtA []byte, err error) {
  2057. size := m.Size()
  2058. dAtA = make([]byte, size)
  2059. n, err := m.MarshalTo(dAtA)
  2060. if err != nil {
  2061. return nil, err
  2062. }
  2063. return dAtA[:n], nil
  2064. }
  2065. func (m *EditResp) MarshalTo(dAtA []byte) (int, error) {
  2066. var i int
  2067. _ = i
  2068. var l int
  2069. _ = l
  2070. if m.XXX_unrecognized != nil {
  2071. i += copy(dAtA[i:], m.XXX_unrecognized)
  2072. }
  2073. return i, nil
  2074. }
  2075. func (m *OfflineReq) Marshal() (dAtA []byte, err error) {
  2076. size := m.Size()
  2077. dAtA = make([]byte, size)
  2078. n, err := m.MarshalTo(dAtA)
  2079. if err != nil {
  2080. return nil, err
  2081. }
  2082. return dAtA[:n], nil
  2083. }
  2084. func (m *OfflineReq) MarshalTo(dAtA []byte) (int, error) {
  2085. var i int
  2086. _ = i
  2087. var l int
  2088. _ = l
  2089. if len(m.Platform) > 0 {
  2090. dAtA[i] = 0xa
  2091. i++
  2092. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  2093. i += copy(dAtA[i:], m.Platform)
  2094. }
  2095. if m.Id != 0 {
  2096. dAtA[i] = 0x10
  2097. i++
  2098. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2099. }
  2100. if m.XXX_unrecognized != nil {
  2101. i += copy(dAtA[i:], m.XXX_unrecognized)
  2102. }
  2103. return i, nil
  2104. }
  2105. func (m *OfflineResp) Marshal() (dAtA []byte, err error) {
  2106. size := m.Size()
  2107. dAtA = make([]byte, size)
  2108. n, err := m.MarshalTo(dAtA)
  2109. if err != nil {
  2110. return nil, err
  2111. }
  2112. return dAtA[:n], nil
  2113. }
  2114. func (m *OfflineResp) MarshalTo(dAtA []byte) (int, error) {
  2115. var i int
  2116. _ = i
  2117. var l int
  2118. _ = l
  2119. if m.XXX_unrecognized != nil {
  2120. i += copy(dAtA[i:], m.XXX_unrecognized)
  2121. }
  2122. return i, nil
  2123. }
  2124. func (m *GetListReq) Marshal() (dAtA []byte, err error) {
  2125. size := m.Size()
  2126. dAtA = make([]byte, size)
  2127. n, err := m.MarshalTo(dAtA)
  2128. if err != nil {
  2129. return nil, err
  2130. }
  2131. return dAtA[:n], nil
  2132. }
  2133. func (m *GetListReq) MarshalTo(dAtA []byte) (int, error) {
  2134. var i int
  2135. _ = i
  2136. var l int
  2137. _ = l
  2138. if len(m.Platform) > 0 {
  2139. dAtA[i] = 0xa
  2140. i++
  2141. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  2142. i += copy(dAtA[i:], m.Platform)
  2143. }
  2144. if m.Page != 0 {
  2145. dAtA[i] = 0x10
  2146. i++
  2147. i = encodeVarintApi(dAtA, i, uint64(m.Page))
  2148. }
  2149. if m.PageSize != 0 {
  2150. dAtA[i] = 0x18
  2151. i++
  2152. i = encodeVarintApi(dAtA, i, uint64(m.PageSize))
  2153. }
  2154. if len(m.Type) > 0 {
  2155. dAtA[i] = 0x22
  2156. i++
  2157. i = encodeVarintApi(dAtA, i, uint64(len(m.Type)))
  2158. i += copy(dAtA[i:], m.Type)
  2159. }
  2160. if m.XXX_unrecognized != nil {
  2161. i += copy(dAtA[i:], m.XXX_unrecognized)
  2162. }
  2163. return i, nil
  2164. }
  2165. func (m *GetListResp) Marshal() (dAtA []byte, err error) {
  2166. size := m.Size()
  2167. dAtA = make([]byte, size)
  2168. n, err := m.MarshalTo(dAtA)
  2169. if err != nil {
  2170. return nil, err
  2171. }
  2172. return dAtA[:n], nil
  2173. }
  2174. func (m *GetListResp) MarshalTo(dAtA []byte) (int, error) {
  2175. var i int
  2176. _ = i
  2177. var l int
  2178. _ = l
  2179. if m.CurrentPage != 0 {
  2180. dAtA[i] = 0x8
  2181. i++
  2182. i = encodeVarintApi(dAtA, i, uint64(m.CurrentPage))
  2183. }
  2184. if m.TotalCount != 0 {
  2185. dAtA[i] = 0x10
  2186. i++
  2187. i = encodeVarintApi(dAtA, i, uint64(m.TotalCount))
  2188. }
  2189. if len(m.List) > 0 {
  2190. for _, msg := range m.List {
  2191. dAtA[i] = 0x1a
  2192. i++
  2193. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  2194. n, err := msg.MarshalTo(dAtA[i:])
  2195. if err != nil {
  2196. return 0, err
  2197. }
  2198. i += n
  2199. }
  2200. }
  2201. if m.XXX_unrecognized != nil {
  2202. i += copy(dAtA[i:], m.XXX_unrecognized)
  2203. }
  2204. return i, nil
  2205. }
  2206. func (m *GetListResp_List) Marshal() (dAtA []byte, err error) {
  2207. size := m.Size()
  2208. dAtA = make([]byte, size)
  2209. n, err := m.MarshalTo(dAtA)
  2210. if err != nil {
  2211. return nil, err
  2212. }
  2213. return dAtA[:n], nil
  2214. }
  2215. func (m *GetListResp_List) MarshalTo(dAtA []byte) (int, error) {
  2216. var i int
  2217. _ = i
  2218. var l int
  2219. _ = l
  2220. if m.Id != 0 {
  2221. dAtA[i] = 0x8
  2222. i++
  2223. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2224. }
  2225. if len(m.Title) > 0 {
  2226. dAtA[i] = 0x12
  2227. i++
  2228. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  2229. i += copy(dAtA[i:], m.Title)
  2230. }
  2231. if len(m.JumpPath) > 0 {
  2232. dAtA[i] = 0x1a
  2233. i++
  2234. i = encodeVarintApi(dAtA, i, uint64(len(m.JumpPath)))
  2235. i += copy(dAtA[i:], m.JumpPath)
  2236. }
  2237. if len(m.DevicePlatform) > 0 {
  2238. dAtA[i] = 0x22
  2239. i++
  2240. i = encodeVarintApi(dAtA, i, uint64(len(m.DevicePlatform)))
  2241. i += copy(dAtA[i:], m.DevicePlatform)
  2242. }
  2243. if m.DeviceBuild != 0 {
  2244. dAtA[i] = 0x28
  2245. i++
  2246. i = encodeVarintApi(dAtA, i, uint64(m.DeviceBuild))
  2247. }
  2248. if len(m.StartTime) > 0 {
  2249. dAtA[i] = 0x32
  2250. i++
  2251. i = encodeVarintApi(dAtA, i, uint64(len(m.StartTime)))
  2252. i += copy(dAtA[i:], m.StartTime)
  2253. }
  2254. if len(m.EndTime) > 0 {
  2255. dAtA[i] = 0x3a
  2256. i++
  2257. i = encodeVarintApi(dAtA, i, uint64(len(m.EndTime)))
  2258. i += copy(dAtA[i:], m.EndTime)
  2259. }
  2260. if m.Status != 0 {
  2261. dAtA[i] = 0x40
  2262. i++
  2263. i = encodeVarintApi(dAtA, i, uint64(m.Status))
  2264. }
  2265. if m.DeviceLimit != 0 {
  2266. dAtA[i] = 0x48
  2267. i++
  2268. i = encodeVarintApi(dAtA, i, uint64(m.DeviceLimit))
  2269. }
  2270. if len(m.ImageUrl) > 0 {
  2271. dAtA[i] = 0x52
  2272. i++
  2273. i = encodeVarintApi(dAtA, i, uint64(len(m.ImageUrl)))
  2274. i += copy(dAtA[i:], m.ImageUrl)
  2275. }
  2276. if m.JumpPathType != 0 {
  2277. dAtA[i] = 0x58
  2278. i++
  2279. i = encodeVarintApi(dAtA, i, uint64(m.JumpPathType))
  2280. }
  2281. if m.JumpTime != 0 {
  2282. dAtA[i] = 0x60
  2283. i++
  2284. i = encodeVarintApi(dAtA, i, uint64(m.JumpTime))
  2285. }
  2286. if m.XXX_unrecognized != nil {
  2287. i += copy(dAtA[i:], m.XXX_unrecognized)
  2288. }
  2289. return i, nil
  2290. }
  2291. func (m *GetInfoReq) Marshal() (dAtA []byte, err error) {
  2292. size := m.Size()
  2293. dAtA = make([]byte, size)
  2294. n, err := m.MarshalTo(dAtA)
  2295. if err != nil {
  2296. return nil, err
  2297. }
  2298. return dAtA[:n], nil
  2299. }
  2300. func (m *GetInfoReq) MarshalTo(dAtA []byte) (int, error) {
  2301. var i int
  2302. _ = i
  2303. var l int
  2304. _ = l
  2305. if len(m.Platform) > 0 {
  2306. dAtA[i] = 0xa
  2307. i++
  2308. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  2309. i += copy(dAtA[i:], m.Platform)
  2310. }
  2311. if m.Build != 0 {
  2312. dAtA[i] = 0x10
  2313. i++
  2314. i = encodeVarintApi(dAtA, i, uint64(m.Build))
  2315. }
  2316. if m.XXX_unrecognized != nil {
  2317. i += copy(dAtA[i:], m.XXX_unrecognized)
  2318. }
  2319. return i, nil
  2320. }
  2321. func (m *GetInfoResp) Marshal() (dAtA []byte, err error) {
  2322. size := m.Size()
  2323. dAtA = make([]byte, size)
  2324. n, err := m.MarshalTo(dAtA)
  2325. if err != nil {
  2326. return nil, err
  2327. }
  2328. return dAtA[:n], nil
  2329. }
  2330. func (m *GetInfoResp) MarshalTo(dAtA []byte) (int, error) {
  2331. var i int
  2332. _ = i
  2333. var l int
  2334. _ = l
  2335. if m.Id != 0 {
  2336. dAtA[i] = 0x8
  2337. i++
  2338. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2339. }
  2340. if len(m.Title) > 0 {
  2341. dAtA[i] = 0x12
  2342. i++
  2343. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  2344. i += copy(dAtA[i:], m.Title)
  2345. }
  2346. if len(m.JumpPath) > 0 {
  2347. dAtA[i] = 0x1a
  2348. i++
  2349. i = encodeVarintApi(dAtA, i, uint64(len(m.JumpPath)))
  2350. i += copy(dAtA[i:], m.JumpPath)
  2351. }
  2352. if m.JumpTime != 0 {
  2353. dAtA[i] = 0x20
  2354. i++
  2355. i = encodeVarintApi(dAtA, i, uint64(m.JumpTime))
  2356. }
  2357. if m.JumpPathType != 0 {
  2358. dAtA[i] = 0x28
  2359. i++
  2360. i = encodeVarintApi(dAtA, i, uint64(m.JumpPathType))
  2361. }
  2362. if len(m.ImageUrl) > 0 {
  2363. dAtA[i] = 0x32
  2364. i++
  2365. i = encodeVarintApi(dAtA, i, uint64(len(m.ImageUrl)))
  2366. i += copy(dAtA[i:], m.ImageUrl)
  2367. }
  2368. if m.XXX_unrecognized != nil {
  2369. i += copy(dAtA[i:], m.XXX_unrecognized)
  2370. }
  2371. return i, nil
  2372. }
  2373. func (m *GetBlinkBannerReq) Marshal() (dAtA []byte, err error) {
  2374. size := m.Size()
  2375. dAtA = make([]byte, size)
  2376. n, err := m.MarshalTo(dAtA)
  2377. if err != nil {
  2378. return nil, err
  2379. }
  2380. return dAtA[:n], nil
  2381. }
  2382. func (m *GetBlinkBannerReq) MarshalTo(dAtA []byte) (int, error) {
  2383. var i int
  2384. _ = i
  2385. var l int
  2386. _ = l
  2387. if len(m.Platform) > 0 {
  2388. dAtA[i] = 0xa
  2389. i++
  2390. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  2391. i += copy(dAtA[i:], m.Platform)
  2392. }
  2393. if m.Build != 0 {
  2394. dAtA[i] = 0x10
  2395. i++
  2396. i = encodeVarintApi(dAtA, i, uint64(m.Build))
  2397. }
  2398. if m.XXX_unrecognized != nil {
  2399. i += copy(dAtA[i:], m.XXX_unrecognized)
  2400. }
  2401. return i, nil
  2402. }
  2403. func (m *GetBlinkBannerResp) Marshal() (dAtA []byte, err error) {
  2404. size := m.Size()
  2405. dAtA = make([]byte, size)
  2406. n, err := m.MarshalTo(dAtA)
  2407. if err != nil {
  2408. return nil, err
  2409. }
  2410. return dAtA[:n], nil
  2411. }
  2412. func (m *GetBlinkBannerResp) MarshalTo(dAtA []byte) (int, error) {
  2413. var i int
  2414. _ = i
  2415. var l int
  2416. _ = l
  2417. if m.Id != 0 {
  2418. dAtA[i] = 0x8
  2419. i++
  2420. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2421. }
  2422. if len(m.Title) > 0 {
  2423. dAtA[i] = 0x12
  2424. i++
  2425. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  2426. i += copy(dAtA[i:], m.Title)
  2427. }
  2428. if len(m.JumpPath) > 0 {
  2429. dAtA[i] = 0x1a
  2430. i++
  2431. i = encodeVarintApi(dAtA, i, uint64(len(m.JumpPath)))
  2432. i += copy(dAtA[i:], m.JumpPath)
  2433. }
  2434. if m.JumpTime != 0 {
  2435. dAtA[i] = 0x20
  2436. i++
  2437. i = encodeVarintApi(dAtA, i, uint64(m.JumpTime))
  2438. }
  2439. if m.JumpPathType != 0 {
  2440. dAtA[i] = 0x28
  2441. i++
  2442. i = encodeVarintApi(dAtA, i, uint64(m.JumpPathType))
  2443. }
  2444. if len(m.ImageUrl) > 0 {
  2445. dAtA[i] = 0x32
  2446. i++
  2447. i = encodeVarintApi(dAtA, i, uint64(len(m.ImageUrl)))
  2448. i += copy(dAtA[i:], m.ImageUrl)
  2449. }
  2450. if m.XXX_unrecognized != nil {
  2451. i += copy(dAtA[i:], m.XXX_unrecognized)
  2452. }
  2453. return i, nil
  2454. }
  2455. func (m *GetBannerReq) Marshal() (dAtA []byte, err error) {
  2456. size := m.Size()
  2457. dAtA = make([]byte, size)
  2458. n, err := m.MarshalTo(dAtA)
  2459. if err != nil {
  2460. return nil, err
  2461. }
  2462. return dAtA[:n], nil
  2463. }
  2464. func (m *GetBannerReq) MarshalTo(dAtA []byte) (int, error) {
  2465. var i int
  2466. _ = i
  2467. var l int
  2468. _ = l
  2469. if len(m.Platform) > 0 {
  2470. dAtA[i] = 0xa
  2471. i++
  2472. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  2473. i += copy(dAtA[i:], m.Platform)
  2474. }
  2475. if m.Build != 0 {
  2476. dAtA[i] = 0x10
  2477. i++
  2478. i = encodeVarintApi(dAtA, i, uint64(m.Build))
  2479. }
  2480. if len(m.Type) > 0 {
  2481. dAtA[i] = 0x1a
  2482. i++
  2483. i = encodeVarintApi(dAtA, i, uint64(len(m.Type)))
  2484. i += copy(dAtA[i:], m.Type)
  2485. }
  2486. if m.XXX_unrecognized != nil {
  2487. i += copy(dAtA[i:], m.XXX_unrecognized)
  2488. }
  2489. return i, nil
  2490. }
  2491. func (m *GetBannerResp) Marshal() (dAtA []byte, err error) {
  2492. size := m.Size()
  2493. dAtA = make([]byte, size)
  2494. n, err := m.MarshalTo(dAtA)
  2495. if err != nil {
  2496. return nil, err
  2497. }
  2498. return dAtA[:n], nil
  2499. }
  2500. func (m *GetBannerResp) MarshalTo(dAtA []byte) (int, error) {
  2501. var i int
  2502. _ = i
  2503. var l int
  2504. _ = l
  2505. if len(m.List) > 0 {
  2506. for _, msg := range m.List {
  2507. dAtA[i] = 0xa
  2508. i++
  2509. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  2510. n, err := msg.MarshalTo(dAtA[i:])
  2511. if err != nil {
  2512. return 0, err
  2513. }
  2514. i += n
  2515. }
  2516. }
  2517. if m.XXX_unrecognized != nil {
  2518. i += copy(dAtA[i:], m.XXX_unrecognized)
  2519. }
  2520. return i, nil
  2521. }
  2522. func (m *GetBannerResp_List) Marshal() (dAtA []byte, err error) {
  2523. size := m.Size()
  2524. dAtA = make([]byte, size)
  2525. n, err := m.MarshalTo(dAtA)
  2526. if err != nil {
  2527. return nil, err
  2528. }
  2529. return dAtA[:n], nil
  2530. }
  2531. func (m *GetBannerResp_List) MarshalTo(dAtA []byte) (int, error) {
  2532. var i int
  2533. _ = i
  2534. var l int
  2535. _ = l
  2536. if m.Id != 0 {
  2537. dAtA[i] = 0x8
  2538. i++
  2539. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2540. }
  2541. if len(m.Title) > 0 {
  2542. dAtA[i] = 0x12
  2543. i++
  2544. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  2545. i += copy(dAtA[i:], m.Title)
  2546. }
  2547. if len(m.JumpPath) > 0 {
  2548. dAtA[i] = 0x1a
  2549. i++
  2550. i = encodeVarintApi(dAtA, i, uint64(len(m.JumpPath)))
  2551. i += copy(dAtA[i:], m.JumpPath)
  2552. }
  2553. if m.JumpTime != 0 {
  2554. dAtA[i] = 0x20
  2555. i++
  2556. i = encodeVarintApi(dAtA, i, uint64(m.JumpTime))
  2557. }
  2558. if m.JumpPathType != 0 {
  2559. dAtA[i] = 0x28
  2560. i++
  2561. i = encodeVarintApi(dAtA, i, uint64(m.JumpPathType))
  2562. }
  2563. if len(m.ImageUrl) > 0 {
  2564. dAtA[i] = 0x32
  2565. i++
  2566. i = encodeVarintApi(dAtA, i, uint64(len(m.ImageUrl)))
  2567. i += copy(dAtA[i:], m.ImageUrl)
  2568. }
  2569. if m.XXX_unrecognized != nil {
  2570. i += copy(dAtA[i:], m.XXX_unrecognized)
  2571. }
  2572. return i, nil
  2573. }
  2574. func (m *GetPlatformListReq) Marshal() (dAtA []byte, err error) {
  2575. size := m.Size()
  2576. dAtA = make([]byte, size)
  2577. n, err := m.MarshalTo(dAtA)
  2578. if err != nil {
  2579. return nil, err
  2580. }
  2581. return dAtA[:n], nil
  2582. }
  2583. func (m *GetPlatformListReq) MarshalTo(dAtA []byte) (int, error) {
  2584. var i int
  2585. _ = i
  2586. var l int
  2587. _ = l
  2588. if m.Type != 0 {
  2589. dAtA[i] = 0x8
  2590. i++
  2591. i = encodeVarintApi(dAtA, i, uint64(m.Type))
  2592. }
  2593. if m.XXX_unrecognized != nil {
  2594. i += copy(dAtA[i:], m.XXX_unrecognized)
  2595. }
  2596. return i, nil
  2597. }
  2598. func (m *GetPlatformListResp) Marshal() (dAtA []byte, err error) {
  2599. size := m.Size()
  2600. dAtA = make([]byte, size)
  2601. n, err := m.MarshalTo(dAtA)
  2602. if err != nil {
  2603. return nil, err
  2604. }
  2605. return dAtA[:n], nil
  2606. }
  2607. func (m *GetPlatformListResp) MarshalTo(dAtA []byte) (int, error) {
  2608. var i int
  2609. _ = i
  2610. var l int
  2611. _ = l
  2612. if len(m.Platform) > 0 {
  2613. for _, s := range m.Platform {
  2614. dAtA[i] = 0xa
  2615. i++
  2616. l = len(s)
  2617. for l >= 1<<7 {
  2618. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2619. l >>= 7
  2620. i++
  2621. }
  2622. dAtA[i] = uint8(l)
  2623. i++
  2624. i += copy(dAtA[i:], s)
  2625. }
  2626. }
  2627. if m.XXX_unrecognized != nil {
  2628. i += copy(dAtA[i:], m.XXX_unrecognized)
  2629. }
  2630. return i, nil
  2631. }
  2632. func (m *GetListExReq) Marshal() (dAtA []byte, err error) {
  2633. size := m.Size()
  2634. dAtA = make([]byte, size)
  2635. n, err := m.MarshalTo(dAtA)
  2636. if err != nil {
  2637. return nil, err
  2638. }
  2639. return dAtA[:n], nil
  2640. }
  2641. func (m *GetListExReq) MarshalTo(dAtA []byte) (int, error) {
  2642. var i int
  2643. _ = i
  2644. var l int
  2645. _ = l
  2646. if len(m.Platform) > 0 {
  2647. dAtA[i] = 0xa
  2648. i++
  2649. i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
  2650. i += copy(dAtA[i:], m.Platform)
  2651. }
  2652. if m.Page != 0 {
  2653. dAtA[i] = 0x10
  2654. i++
  2655. i = encodeVarintApi(dAtA, i, uint64(m.Page))
  2656. }
  2657. if m.PageSize != 0 {
  2658. dAtA[i] = 0x18
  2659. i++
  2660. i = encodeVarintApi(dAtA, i, uint64(m.PageSize))
  2661. }
  2662. if len(m.Type) > 0 {
  2663. for _, s := range m.Type {
  2664. dAtA[i] = 0x22
  2665. i++
  2666. l = len(s)
  2667. for l >= 1<<7 {
  2668. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2669. l >>= 7
  2670. i++
  2671. }
  2672. dAtA[i] = uint8(l)
  2673. i++
  2674. i += copy(dAtA[i:], s)
  2675. }
  2676. }
  2677. if len(m.DevicePlatform) > 0 {
  2678. dAtA[i] = 0x2a
  2679. i++
  2680. i = encodeVarintApi(dAtA, i, uint64(len(m.DevicePlatform)))
  2681. i += copy(dAtA[i:], m.DevicePlatform)
  2682. }
  2683. if len(m.Status) > 0 {
  2684. dAtA[i] = 0x32
  2685. i++
  2686. i = encodeVarintApi(dAtA, i, uint64(len(m.Status)))
  2687. i += copy(dAtA[i:], m.Status)
  2688. }
  2689. if len(m.StartTime) > 0 {
  2690. dAtA[i] = 0x3a
  2691. i++
  2692. i = encodeVarintApi(dAtA, i, uint64(len(m.StartTime)))
  2693. i += copy(dAtA[i:], m.StartTime)
  2694. }
  2695. if len(m.EndTime) > 0 {
  2696. dAtA[i] = 0x42
  2697. i++
  2698. i = encodeVarintApi(dAtA, i, uint64(len(m.EndTime)))
  2699. i += copy(dAtA[i:], m.EndTime)
  2700. }
  2701. if m.XXX_unrecognized != nil {
  2702. i += copy(dAtA[i:], m.XXX_unrecognized)
  2703. }
  2704. return i, nil
  2705. }
  2706. func (m *GetListExResp) Marshal() (dAtA []byte, err error) {
  2707. size := m.Size()
  2708. dAtA = make([]byte, size)
  2709. n, err := m.MarshalTo(dAtA)
  2710. if err != nil {
  2711. return nil, err
  2712. }
  2713. return dAtA[:n], nil
  2714. }
  2715. func (m *GetListExResp) MarshalTo(dAtA []byte) (int, error) {
  2716. var i int
  2717. _ = i
  2718. var l int
  2719. _ = l
  2720. if m.CurrentPage != 0 {
  2721. dAtA[i] = 0x8
  2722. i++
  2723. i = encodeVarintApi(dAtA, i, uint64(m.CurrentPage))
  2724. }
  2725. if m.TotalCount != 0 {
  2726. dAtA[i] = 0x10
  2727. i++
  2728. i = encodeVarintApi(dAtA, i, uint64(m.TotalCount))
  2729. }
  2730. if len(m.List) > 0 {
  2731. for _, msg := range m.List {
  2732. dAtA[i] = 0x1a
  2733. i++
  2734. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  2735. n, err := msg.MarshalTo(dAtA[i:])
  2736. if err != nil {
  2737. return 0, err
  2738. }
  2739. i += n
  2740. }
  2741. }
  2742. if m.XXX_unrecognized != nil {
  2743. i += copy(dAtA[i:], m.XXX_unrecognized)
  2744. }
  2745. return i, nil
  2746. }
  2747. func (m *GetListExResp_List) Marshal() (dAtA []byte, err error) {
  2748. size := m.Size()
  2749. dAtA = make([]byte, size)
  2750. n, err := m.MarshalTo(dAtA)
  2751. if err != nil {
  2752. return nil, err
  2753. }
  2754. return dAtA[:n], nil
  2755. }
  2756. func (m *GetListExResp_List) MarshalTo(dAtA []byte) (int, error) {
  2757. var i int
  2758. _ = i
  2759. var l int
  2760. _ = l
  2761. if m.Id != 0 {
  2762. dAtA[i] = 0x8
  2763. i++
  2764. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2765. }
  2766. if len(m.Title) > 0 {
  2767. dAtA[i] = 0x12
  2768. i++
  2769. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  2770. i += copy(dAtA[i:], m.Title)
  2771. }
  2772. if len(m.JumpPath) > 0 {
  2773. dAtA[i] = 0x1a
  2774. i++
  2775. i = encodeVarintApi(dAtA, i, uint64(len(m.JumpPath)))
  2776. i += copy(dAtA[i:], m.JumpPath)
  2777. }
  2778. if len(m.DevicePlatform) > 0 {
  2779. dAtA[i] = 0x22
  2780. i++
  2781. i = encodeVarintApi(dAtA, i, uint64(len(m.DevicePlatform)))
  2782. i += copy(dAtA[i:], m.DevicePlatform)
  2783. }
  2784. if m.DeviceBuild != 0 {
  2785. dAtA[i] = 0x28
  2786. i++
  2787. i = encodeVarintApi(dAtA, i, uint64(m.DeviceBuild))
  2788. }
  2789. if len(m.StartTime) > 0 {
  2790. dAtA[i] = 0x32
  2791. i++
  2792. i = encodeVarintApi(dAtA, i, uint64(len(m.StartTime)))
  2793. i += copy(dAtA[i:], m.StartTime)
  2794. }
  2795. if len(m.EndTime) > 0 {
  2796. dAtA[i] = 0x3a
  2797. i++
  2798. i = encodeVarintApi(dAtA, i, uint64(len(m.EndTime)))
  2799. i += copy(dAtA[i:], m.EndTime)
  2800. }
  2801. if m.Status != 0 {
  2802. dAtA[i] = 0x40
  2803. i++
  2804. i = encodeVarintApi(dAtA, i, uint64(m.Status))
  2805. }
  2806. if m.DeviceLimit != 0 {
  2807. dAtA[i] = 0x48
  2808. i++
  2809. i = encodeVarintApi(dAtA, i, uint64(m.DeviceLimit))
  2810. }
  2811. if len(m.ImageUrl) > 0 {
  2812. dAtA[i] = 0x52
  2813. i++
  2814. i = encodeVarintApi(dAtA, i, uint64(len(m.ImageUrl)))
  2815. i += copy(dAtA[i:], m.ImageUrl)
  2816. }
  2817. if m.JumpPathType != 0 {
  2818. dAtA[i] = 0x58
  2819. i++
  2820. i = encodeVarintApi(dAtA, i, uint64(m.JumpPathType))
  2821. }
  2822. if m.JumpTime != 0 {
  2823. dAtA[i] = 0x60
  2824. i++
  2825. i = encodeVarintApi(dAtA, i, uint64(m.JumpTime))
  2826. }
  2827. if len(m.Type) > 0 {
  2828. dAtA[i] = 0x6a
  2829. i++
  2830. i = encodeVarintApi(dAtA, i, uint64(len(m.Type)))
  2831. i += copy(dAtA[i:], m.Type)
  2832. }
  2833. if m.XXX_unrecognized != nil {
  2834. i += copy(dAtA[i:], m.XXX_unrecognized)
  2835. }
  2836. return i, nil
  2837. }
  2838. func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
  2839. for v >= 1<<7 {
  2840. dAtA[offset] = uint8(v&0x7f | 0x80)
  2841. v >>= 7
  2842. offset++
  2843. }
  2844. dAtA[offset] = uint8(v)
  2845. return offset + 1
  2846. }
  2847. func (m *AddReq) Size() (n int) {
  2848. if m == nil {
  2849. return 0
  2850. }
  2851. var l int
  2852. _ = l
  2853. l = len(m.Platform)
  2854. if l > 0 {
  2855. n += 1 + l + sovApi(uint64(l))
  2856. }
  2857. l = len(m.Title)
  2858. if l > 0 {
  2859. n += 1 + l + sovApi(uint64(l))
  2860. }
  2861. l = len(m.JumpPath)
  2862. if l > 0 {
  2863. n += 1 + l + sovApi(uint64(l))
  2864. }
  2865. if m.JumpTime != 0 {
  2866. n += 1 + sovApi(uint64(m.JumpTime))
  2867. }
  2868. l = len(m.Type)
  2869. if l > 0 {
  2870. n += 1 + l + sovApi(uint64(l))
  2871. }
  2872. l = len(m.Device)
  2873. if l > 0 {
  2874. n += 1 + l + sovApi(uint64(l))
  2875. }
  2876. l = len(m.StartTime)
  2877. if l > 0 {
  2878. n += 1 + l + sovApi(uint64(l))
  2879. }
  2880. l = len(m.EndTime)
  2881. if l > 0 {
  2882. n += 1 + l + sovApi(uint64(l))
  2883. }
  2884. l = len(m.ImageUrl)
  2885. if l > 0 {
  2886. n += 1 + l + sovApi(uint64(l))
  2887. }
  2888. if m.JumpPathType != 0 {
  2889. n += 1 + sovApi(uint64(m.JumpPathType))
  2890. }
  2891. if m.XXX_unrecognized != nil {
  2892. n += len(m.XXX_unrecognized)
  2893. }
  2894. return n
  2895. }
  2896. func (m *AddResp) Size() (n int) {
  2897. if m == nil {
  2898. return 0
  2899. }
  2900. var l int
  2901. _ = l
  2902. if len(m.Id) > 0 {
  2903. l = 0
  2904. for _, e := range m.Id {
  2905. l += sovApi(uint64(e))
  2906. }
  2907. n += 1 + sovApi(uint64(l)) + l
  2908. }
  2909. if m.XXX_unrecognized != nil {
  2910. n += len(m.XXX_unrecognized)
  2911. }
  2912. return n
  2913. }
  2914. func (m *EditReq) Size() (n int) {
  2915. if m == nil {
  2916. return 0
  2917. }
  2918. var l int
  2919. _ = l
  2920. l = len(m.Platform)
  2921. if l > 0 {
  2922. n += 1 + l + sovApi(uint64(l))
  2923. }
  2924. if m.Id != 0 {
  2925. n += 1 + sovApi(uint64(m.Id))
  2926. }
  2927. l = len(m.Title)
  2928. if l > 0 {
  2929. n += 1 + l + sovApi(uint64(l))
  2930. }
  2931. l = len(m.JumpPath)
  2932. if l > 0 {
  2933. n += 1 + l + sovApi(uint64(l))
  2934. }
  2935. if m.JumpTime != 0 {
  2936. n += 1 + sovApi(uint64(m.JumpTime))
  2937. }
  2938. l = len(m.StartTime)
  2939. if l > 0 {
  2940. n += 1 + l + sovApi(uint64(l))
  2941. }
  2942. l = len(m.EndTime)
  2943. if l > 0 {
  2944. n += 1 + l + sovApi(uint64(l))
  2945. }
  2946. l = len(m.ImageUrl)
  2947. if l > 0 {
  2948. n += 1 + l + sovApi(uint64(l))
  2949. }
  2950. if m.JumpPathType != 0 {
  2951. n += 1 + sovApi(uint64(m.JumpPathType))
  2952. }
  2953. if m.XXX_unrecognized != nil {
  2954. n += len(m.XXX_unrecognized)
  2955. }
  2956. return n
  2957. }
  2958. func (m *EditResp) Size() (n int) {
  2959. if m == nil {
  2960. return 0
  2961. }
  2962. var l int
  2963. _ = l
  2964. if m.XXX_unrecognized != nil {
  2965. n += len(m.XXX_unrecognized)
  2966. }
  2967. return n
  2968. }
  2969. func (m *OfflineReq) Size() (n int) {
  2970. if m == nil {
  2971. return 0
  2972. }
  2973. var l int
  2974. _ = l
  2975. l = len(m.Platform)
  2976. if l > 0 {
  2977. n += 1 + l + sovApi(uint64(l))
  2978. }
  2979. if m.Id != 0 {
  2980. n += 1 + sovApi(uint64(m.Id))
  2981. }
  2982. if m.XXX_unrecognized != nil {
  2983. n += len(m.XXX_unrecognized)
  2984. }
  2985. return n
  2986. }
  2987. func (m *OfflineResp) Size() (n int) {
  2988. if m == nil {
  2989. return 0
  2990. }
  2991. var l int
  2992. _ = l
  2993. if m.XXX_unrecognized != nil {
  2994. n += len(m.XXX_unrecognized)
  2995. }
  2996. return n
  2997. }
  2998. func (m *GetListReq) Size() (n int) {
  2999. if m == nil {
  3000. return 0
  3001. }
  3002. var l int
  3003. _ = l
  3004. l = len(m.Platform)
  3005. if l > 0 {
  3006. n += 1 + l + sovApi(uint64(l))
  3007. }
  3008. if m.Page != 0 {
  3009. n += 1 + sovApi(uint64(m.Page))
  3010. }
  3011. if m.PageSize != 0 {
  3012. n += 1 + sovApi(uint64(m.PageSize))
  3013. }
  3014. l = len(m.Type)
  3015. if l > 0 {
  3016. n += 1 + l + sovApi(uint64(l))
  3017. }
  3018. if m.XXX_unrecognized != nil {
  3019. n += len(m.XXX_unrecognized)
  3020. }
  3021. return n
  3022. }
  3023. func (m *GetListResp) Size() (n int) {
  3024. if m == nil {
  3025. return 0
  3026. }
  3027. var l int
  3028. _ = l
  3029. if m.CurrentPage != 0 {
  3030. n += 1 + sovApi(uint64(m.CurrentPage))
  3031. }
  3032. if m.TotalCount != 0 {
  3033. n += 1 + sovApi(uint64(m.TotalCount))
  3034. }
  3035. if len(m.List) > 0 {
  3036. for _, e := range m.List {
  3037. l = e.Size()
  3038. n += 1 + l + sovApi(uint64(l))
  3039. }
  3040. }
  3041. if m.XXX_unrecognized != nil {
  3042. n += len(m.XXX_unrecognized)
  3043. }
  3044. return n
  3045. }
  3046. func (m *GetListResp_List) Size() (n int) {
  3047. if m == nil {
  3048. return 0
  3049. }
  3050. var l int
  3051. _ = l
  3052. if m.Id != 0 {
  3053. n += 1 + sovApi(uint64(m.Id))
  3054. }
  3055. l = len(m.Title)
  3056. if l > 0 {
  3057. n += 1 + l + sovApi(uint64(l))
  3058. }
  3059. l = len(m.JumpPath)
  3060. if l > 0 {
  3061. n += 1 + l + sovApi(uint64(l))
  3062. }
  3063. l = len(m.DevicePlatform)
  3064. if l > 0 {
  3065. n += 1 + l + sovApi(uint64(l))
  3066. }
  3067. if m.DeviceBuild != 0 {
  3068. n += 1 + sovApi(uint64(m.DeviceBuild))
  3069. }
  3070. l = len(m.StartTime)
  3071. if l > 0 {
  3072. n += 1 + l + sovApi(uint64(l))
  3073. }
  3074. l = len(m.EndTime)
  3075. if l > 0 {
  3076. n += 1 + l + sovApi(uint64(l))
  3077. }
  3078. if m.Status != 0 {
  3079. n += 1 + sovApi(uint64(m.Status))
  3080. }
  3081. if m.DeviceLimit != 0 {
  3082. n += 1 + sovApi(uint64(m.DeviceLimit))
  3083. }
  3084. l = len(m.ImageUrl)
  3085. if l > 0 {
  3086. n += 1 + l + sovApi(uint64(l))
  3087. }
  3088. if m.JumpPathType != 0 {
  3089. n += 1 + sovApi(uint64(m.JumpPathType))
  3090. }
  3091. if m.JumpTime != 0 {
  3092. n += 1 + sovApi(uint64(m.JumpTime))
  3093. }
  3094. if m.XXX_unrecognized != nil {
  3095. n += len(m.XXX_unrecognized)
  3096. }
  3097. return n
  3098. }
  3099. func (m *GetInfoReq) Size() (n int) {
  3100. if m == nil {
  3101. return 0
  3102. }
  3103. var l int
  3104. _ = l
  3105. l = len(m.Platform)
  3106. if l > 0 {
  3107. n += 1 + l + sovApi(uint64(l))
  3108. }
  3109. if m.Build != 0 {
  3110. n += 1 + sovApi(uint64(m.Build))
  3111. }
  3112. if m.XXX_unrecognized != nil {
  3113. n += len(m.XXX_unrecognized)
  3114. }
  3115. return n
  3116. }
  3117. func (m *GetInfoResp) Size() (n int) {
  3118. if m == nil {
  3119. return 0
  3120. }
  3121. var l int
  3122. _ = l
  3123. if m.Id != 0 {
  3124. n += 1 + sovApi(uint64(m.Id))
  3125. }
  3126. l = len(m.Title)
  3127. if l > 0 {
  3128. n += 1 + l + sovApi(uint64(l))
  3129. }
  3130. l = len(m.JumpPath)
  3131. if l > 0 {
  3132. n += 1 + l + sovApi(uint64(l))
  3133. }
  3134. if m.JumpTime != 0 {
  3135. n += 1 + sovApi(uint64(m.JumpTime))
  3136. }
  3137. if m.JumpPathType != 0 {
  3138. n += 1 + sovApi(uint64(m.JumpPathType))
  3139. }
  3140. l = len(m.ImageUrl)
  3141. if l > 0 {
  3142. n += 1 + l + sovApi(uint64(l))
  3143. }
  3144. if m.XXX_unrecognized != nil {
  3145. n += len(m.XXX_unrecognized)
  3146. }
  3147. return n
  3148. }
  3149. func (m *GetBlinkBannerReq) Size() (n int) {
  3150. if m == nil {
  3151. return 0
  3152. }
  3153. var l int
  3154. _ = l
  3155. l = len(m.Platform)
  3156. if l > 0 {
  3157. n += 1 + l + sovApi(uint64(l))
  3158. }
  3159. if m.Build != 0 {
  3160. n += 1 + sovApi(uint64(m.Build))
  3161. }
  3162. if m.XXX_unrecognized != nil {
  3163. n += len(m.XXX_unrecognized)
  3164. }
  3165. return n
  3166. }
  3167. func (m *GetBlinkBannerResp) Size() (n int) {
  3168. if m == nil {
  3169. return 0
  3170. }
  3171. var l int
  3172. _ = l
  3173. if m.Id != 0 {
  3174. n += 1 + sovApi(uint64(m.Id))
  3175. }
  3176. l = len(m.Title)
  3177. if l > 0 {
  3178. n += 1 + l + sovApi(uint64(l))
  3179. }
  3180. l = len(m.JumpPath)
  3181. if l > 0 {
  3182. n += 1 + l + sovApi(uint64(l))
  3183. }
  3184. if m.JumpTime != 0 {
  3185. n += 1 + sovApi(uint64(m.JumpTime))
  3186. }
  3187. if m.JumpPathType != 0 {
  3188. n += 1 + sovApi(uint64(m.JumpPathType))
  3189. }
  3190. l = len(m.ImageUrl)
  3191. if l > 0 {
  3192. n += 1 + l + sovApi(uint64(l))
  3193. }
  3194. if m.XXX_unrecognized != nil {
  3195. n += len(m.XXX_unrecognized)
  3196. }
  3197. return n
  3198. }
  3199. func (m *GetBannerReq) Size() (n int) {
  3200. if m == nil {
  3201. return 0
  3202. }
  3203. var l int
  3204. _ = l
  3205. l = len(m.Platform)
  3206. if l > 0 {
  3207. n += 1 + l + sovApi(uint64(l))
  3208. }
  3209. if m.Build != 0 {
  3210. n += 1 + sovApi(uint64(m.Build))
  3211. }
  3212. l = len(m.Type)
  3213. if l > 0 {
  3214. n += 1 + l + sovApi(uint64(l))
  3215. }
  3216. if m.XXX_unrecognized != nil {
  3217. n += len(m.XXX_unrecognized)
  3218. }
  3219. return n
  3220. }
  3221. func (m *GetBannerResp) Size() (n int) {
  3222. if m == nil {
  3223. return 0
  3224. }
  3225. var l int
  3226. _ = l
  3227. if len(m.List) > 0 {
  3228. for _, e := range m.List {
  3229. l = e.Size()
  3230. n += 1 + l + sovApi(uint64(l))
  3231. }
  3232. }
  3233. if m.XXX_unrecognized != nil {
  3234. n += len(m.XXX_unrecognized)
  3235. }
  3236. return n
  3237. }
  3238. func (m *GetBannerResp_List) Size() (n int) {
  3239. if m == nil {
  3240. return 0
  3241. }
  3242. var l int
  3243. _ = l
  3244. if m.Id != 0 {
  3245. n += 1 + sovApi(uint64(m.Id))
  3246. }
  3247. l = len(m.Title)
  3248. if l > 0 {
  3249. n += 1 + l + sovApi(uint64(l))
  3250. }
  3251. l = len(m.JumpPath)
  3252. if l > 0 {
  3253. n += 1 + l + sovApi(uint64(l))
  3254. }
  3255. if m.JumpTime != 0 {
  3256. n += 1 + sovApi(uint64(m.JumpTime))
  3257. }
  3258. if m.JumpPathType != 0 {
  3259. n += 1 + sovApi(uint64(m.JumpPathType))
  3260. }
  3261. l = len(m.ImageUrl)
  3262. if l > 0 {
  3263. n += 1 + l + sovApi(uint64(l))
  3264. }
  3265. if m.XXX_unrecognized != nil {
  3266. n += len(m.XXX_unrecognized)
  3267. }
  3268. return n
  3269. }
  3270. func (m *GetPlatformListReq) Size() (n int) {
  3271. if m == nil {
  3272. return 0
  3273. }
  3274. var l int
  3275. _ = l
  3276. if m.Type != 0 {
  3277. n += 1 + sovApi(uint64(m.Type))
  3278. }
  3279. if m.XXX_unrecognized != nil {
  3280. n += len(m.XXX_unrecognized)
  3281. }
  3282. return n
  3283. }
  3284. func (m *GetPlatformListResp) Size() (n int) {
  3285. if m == nil {
  3286. return 0
  3287. }
  3288. var l int
  3289. _ = l
  3290. if len(m.Platform) > 0 {
  3291. for _, s := range m.Platform {
  3292. l = len(s)
  3293. n += 1 + l + sovApi(uint64(l))
  3294. }
  3295. }
  3296. if m.XXX_unrecognized != nil {
  3297. n += len(m.XXX_unrecognized)
  3298. }
  3299. return n
  3300. }
  3301. func (m *GetListExReq) Size() (n int) {
  3302. if m == nil {
  3303. return 0
  3304. }
  3305. var l int
  3306. _ = l
  3307. l = len(m.Platform)
  3308. if l > 0 {
  3309. n += 1 + l + sovApi(uint64(l))
  3310. }
  3311. if m.Page != 0 {
  3312. n += 1 + sovApi(uint64(m.Page))
  3313. }
  3314. if m.PageSize != 0 {
  3315. n += 1 + sovApi(uint64(m.PageSize))
  3316. }
  3317. if len(m.Type) > 0 {
  3318. for _, s := range m.Type {
  3319. l = len(s)
  3320. n += 1 + l + sovApi(uint64(l))
  3321. }
  3322. }
  3323. l = len(m.DevicePlatform)
  3324. if l > 0 {
  3325. n += 1 + l + sovApi(uint64(l))
  3326. }
  3327. l = len(m.Status)
  3328. if l > 0 {
  3329. n += 1 + l + sovApi(uint64(l))
  3330. }
  3331. l = len(m.StartTime)
  3332. if l > 0 {
  3333. n += 1 + l + sovApi(uint64(l))
  3334. }
  3335. l = len(m.EndTime)
  3336. if l > 0 {
  3337. n += 1 + l + sovApi(uint64(l))
  3338. }
  3339. if m.XXX_unrecognized != nil {
  3340. n += len(m.XXX_unrecognized)
  3341. }
  3342. return n
  3343. }
  3344. func (m *GetListExResp) Size() (n int) {
  3345. if m == nil {
  3346. return 0
  3347. }
  3348. var l int
  3349. _ = l
  3350. if m.CurrentPage != 0 {
  3351. n += 1 + sovApi(uint64(m.CurrentPage))
  3352. }
  3353. if m.TotalCount != 0 {
  3354. n += 1 + sovApi(uint64(m.TotalCount))
  3355. }
  3356. if len(m.List) > 0 {
  3357. for _, e := range m.List {
  3358. l = e.Size()
  3359. n += 1 + l + sovApi(uint64(l))
  3360. }
  3361. }
  3362. if m.XXX_unrecognized != nil {
  3363. n += len(m.XXX_unrecognized)
  3364. }
  3365. return n
  3366. }
  3367. func (m *GetListExResp_List) Size() (n int) {
  3368. if m == nil {
  3369. return 0
  3370. }
  3371. var l int
  3372. _ = l
  3373. if m.Id != 0 {
  3374. n += 1 + sovApi(uint64(m.Id))
  3375. }
  3376. l = len(m.Title)
  3377. if l > 0 {
  3378. n += 1 + l + sovApi(uint64(l))
  3379. }
  3380. l = len(m.JumpPath)
  3381. if l > 0 {
  3382. n += 1 + l + sovApi(uint64(l))
  3383. }
  3384. l = len(m.DevicePlatform)
  3385. if l > 0 {
  3386. n += 1 + l + sovApi(uint64(l))
  3387. }
  3388. if m.DeviceBuild != 0 {
  3389. n += 1 + sovApi(uint64(m.DeviceBuild))
  3390. }
  3391. l = len(m.StartTime)
  3392. if l > 0 {
  3393. n += 1 + l + sovApi(uint64(l))
  3394. }
  3395. l = len(m.EndTime)
  3396. if l > 0 {
  3397. n += 1 + l + sovApi(uint64(l))
  3398. }
  3399. if m.Status != 0 {
  3400. n += 1 + sovApi(uint64(m.Status))
  3401. }
  3402. if m.DeviceLimit != 0 {
  3403. n += 1 + sovApi(uint64(m.DeviceLimit))
  3404. }
  3405. l = len(m.ImageUrl)
  3406. if l > 0 {
  3407. n += 1 + l + sovApi(uint64(l))
  3408. }
  3409. if m.JumpPathType != 0 {
  3410. n += 1 + sovApi(uint64(m.JumpPathType))
  3411. }
  3412. if m.JumpTime != 0 {
  3413. n += 1 + sovApi(uint64(m.JumpTime))
  3414. }
  3415. l = len(m.Type)
  3416. if l > 0 {
  3417. n += 1 + l + sovApi(uint64(l))
  3418. }
  3419. if m.XXX_unrecognized != nil {
  3420. n += len(m.XXX_unrecognized)
  3421. }
  3422. return n
  3423. }
  3424. func sovApi(x uint64) (n int) {
  3425. for {
  3426. n++
  3427. x >>= 7
  3428. if x == 0 {
  3429. break
  3430. }
  3431. }
  3432. return n
  3433. }
  3434. func sozApi(x uint64) (n int) {
  3435. return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  3436. }
  3437. func (m *AddReq) Unmarshal(dAtA []byte) error {
  3438. l := len(dAtA)
  3439. iNdEx := 0
  3440. for iNdEx < l {
  3441. preIndex := iNdEx
  3442. var wire uint64
  3443. for shift := uint(0); ; shift += 7 {
  3444. if shift >= 64 {
  3445. return ErrIntOverflowApi
  3446. }
  3447. if iNdEx >= l {
  3448. return io.ErrUnexpectedEOF
  3449. }
  3450. b := dAtA[iNdEx]
  3451. iNdEx++
  3452. wire |= (uint64(b) & 0x7F) << shift
  3453. if b < 0x80 {
  3454. break
  3455. }
  3456. }
  3457. fieldNum := int32(wire >> 3)
  3458. wireType := int(wire & 0x7)
  3459. if wireType == 4 {
  3460. return fmt.Errorf("proto: AddReq: wiretype end group for non-group")
  3461. }
  3462. if fieldNum <= 0 {
  3463. return fmt.Errorf("proto: AddReq: illegal tag %d (wire type %d)", fieldNum, wire)
  3464. }
  3465. switch fieldNum {
  3466. case 1:
  3467. if wireType != 2 {
  3468. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  3469. }
  3470. var stringLen uint64
  3471. for shift := uint(0); ; shift += 7 {
  3472. if shift >= 64 {
  3473. return ErrIntOverflowApi
  3474. }
  3475. if iNdEx >= l {
  3476. return io.ErrUnexpectedEOF
  3477. }
  3478. b := dAtA[iNdEx]
  3479. iNdEx++
  3480. stringLen |= (uint64(b) & 0x7F) << shift
  3481. if b < 0x80 {
  3482. break
  3483. }
  3484. }
  3485. intStringLen := int(stringLen)
  3486. if intStringLen < 0 {
  3487. return ErrInvalidLengthApi
  3488. }
  3489. postIndex := iNdEx + intStringLen
  3490. if postIndex > l {
  3491. return io.ErrUnexpectedEOF
  3492. }
  3493. m.Platform = string(dAtA[iNdEx:postIndex])
  3494. iNdEx = postIndex
  3495. case 2:
  3496. if wireType != 2 {
  3497. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  3498. }
  3499. var stringLen uint64
  3500. for shift := uint(0); ; shift += 7 {
  3501. if shift >= 64 {
  3502. return ErrIntOverflowApi
  3503. }
  3504. if iNdEx >= l {
  3505. return io.ErrUnexpectedEOF
  3506. }
  3507. b := dAtA[iNdEx]
  3508. iNdEx++
  3509. stringLen |= (uint64(b) & 0x7F) << shift
  3510. if b < 0x80 {
  3511. break
  3512. }
  3513. }
  3514. intStringLen := int(stringLen)
  3515. if intStringLen < 0 {
  3516. return ErrInvalidLengthApi
  3517. }
  3518. postIndex := iNdEx + intStringLen
  3519. if postIndex > l {
  3520. return io.ErrUnexpectedEOF
  3521. }
  3522. m.Title = string(dAtA[iNdEx:postIndex])
  3523. iNdEx = postIndex
  3524. case 3:
  3525. if wireType != 2 {
  3526. return fmt.Errorf("proto: wrong wireType = %d for field JumpPath", wireType)
  3527. }
  3528. var stringLen uint64
  3529. for shift := uint(0); ; shift += 7 {
  3530. if shift >= 64 {
  3531. return ErrIntOverflowApi
  3532. }
  3533. if iNdEx >= l {
  3534. return io.ErrUnexpectedEOF
  3535. }
  3536. b := dAtA[iNdEx]
  3537. iNdEx++
  3538. stringLen |= (uint64(b) & 0x7F) << shift
  3539. if b < 0x80 {
  3540. break
  3541. }
  3542. }
  3543. intStringLen := int(stringLen)
  3544. if intStringLen < 0 {
  3545. return ErrInvalidLengthApi
  3546. }
  3547. postIndex := iNdEx + intStringLen
  3548. if postIndex > l {
  3549. return io.ErrUnexpectedEOF
  3550. }
  3551. m.JumpPath = string(dAtA[iNdEx:postIndex])
  3552. iNdEx = postIndex
  3553. case 4:
  3554. if wireType != 0 {
  3555. return fmt.Errorf("proto: wrong wireType = %d for field JumpTime", wireType)
  3556. }
  3557. m.JumpTime = 0
  3558. for shift := uint(0); ; shift += 7 {
  3559. if shift >= 64 {
  3560. return ErrIntOverflowApi
  3561. }
  3562. if iNdEx >= l {
  3563. return io.ErrUnexpectedEOF
  3564. }
  3565. b := dAtA[iNdEx]
  3566. iNdEx++
  3567. m.JumpTime |= (int64(b) & 0x7F) << shift
  3568. if b < 0x80 {
  3569. break
  3570. }
  3571. }
  3572. case 5:
  3573. if wireType != 2 {
  3574. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3575. }
  3576. var stringLen uint64
  3577. for shift := uint(0); ; shift += 7 {
  3578. if shift >= 64 {
  3579. return ErrIntOverflowApi
  3580. }
  3581. if iNdEx >= l {
  3582. return io.ErrUnexpectedEOF
  3583. }
  3584. b := dAtA[iNdEx]
  3585. iNdEx++
  3586. stringLen |= (uint64(b) & 0x7F) << shift
  3587. if b < 0x80 {
  3588. break
  3589. }
  3590. }
  3591. intStringLen := int(stringLen)
  3592. if intStringLen < 0 {
  3593. return ErrInvalidLengthApi
  3594. }
  3595. postIndex := iNdEx + intStringLen
  3596. if postIndex > l {
  3597. return io.ErrUnexpectedEOF
  3598. }
  3599. m.Type = string(dAtA[iNdEx:postIndex])
  3600. iNdEx = postIndex
  3601. case 6:
  3602. if wireType != 2 {
  3603. return fmt.Errorf("proto: wrong wireType = %d for field Device", wireType)
  3604. }
  3605. var stringLen uint64
  3606. for shift := uint(0); ; shift += 7 {
  3607. if shift >= 64 {
  3608. return ErrIntOverflowApi
  3609. }
  3610. if iNdEx >= l {
  3611. return io.ErrUnexpectedEOF
  3612. }
  3613. b := dAtA[iNdEx]
  3614. iNdEx++
  3615. stringLen |= (uint64(b) & 0x7F) << shift
  3616. if b < 0x80 {
  3617. break
  3618. }
  3619. }
  3620. intStringLen := int(stringLen)
  3621. if intStringLen < 0 {
  3622. return ErrInvalidLengthApi
  3623. }
  3624. postIndex := iNdEx + intStringLen
  3625. if postIndex > l {
  3626. return io.ErrUnexpectedEOF
  3627. }
  3628. m.Device = string(dAtA[iNdEx:postIndex])
  3629. iNdEx = postIndex
  3630. case 7:
  3631. if wireType != 2 {
  3632. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  3633. }
  3634. var stringLen uint64
  3635. for shift := uint(0); ; shift += 7 {
  3636. if shift >= 64 {
  3637. return ErrIntOverflowApi
  3638. }
  3639. if iNdEx >= l {
  3640. return io.ErrUnexpectedEOF
  3641. }
  3642. b := dAtA[iNdEx]
  3643. iNdEx++
  3644. stringLen |= (uint64(b) & 0x7F) << shift
  3645. if b < 0x80 {
  3646. break
  3647. }
  3648. }
  3649. intStringLen := int(stringLen)
  3650. if intStringLen < 0 {
  3651. return ErrInvalidLengthApi
  3652. }
  3653. postIndex := iNdEx + intStringLen
  3654. if postIndex > l {
  3655. return io.ErrUnexpectedEOF
  3656. }
  3657. m.StartTime = string(dAtA[iNdEx:postIndex])
  3658. iNdEx = postIndex
  3659. case 8:
  3660. if wireType != 2 {
  3661. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  3662. }
  3663. var stringLen uint64
  3664. for shift := uint(0); ; shift += 7 {
  3665. if shift >= 64 {
  3666. return ErrIntOverflowApi
  3667. }
  3668. if iNdEx >= l {
  3669. return io.ErrUnexpectedEOF
  3670. }
  3671. b := dAtA[iNdEx]
  3672. iNdEx++
  3673. stringLen |= (uint64(b) & 0x7F) << shift
  3674. if b < 0x80 {
  3675. break
  3676. }
  3677. }
  3678. intStringLen := int(stringLen)
  3679. if intStringLen < 0 {
  3680. return ErrInvalidLengthApi
  3681. }
  3682. postIndex := iNdEx + intStringLen
  3683. if postIndex > l {
  3684. return io.ErrUnexpectedEOF
  3685. }
  3686. m.EndTime = string(dAtA[iNdEx:postIndex])
  3687. iNdEx = postIndex
  3688. case 9:
  3689. if wireType != 2 {
  3690. return fmt.Errorf("proto: wrong wireType = %d for field ImageUrl", wireType)
  3691. }
  3692. var stringLen uint64
  3693. for shift := uint(0); ; shift += 7 {
  3694. if shift >= 64 {
  3695. return ErrIntOverflowApi
  3696. }
  3697. if iNdEx >= l {
  3698. return io.ErrUnexpectedEOF
  3699. }
  3700. b := dAtA[iNdEx]
  3701. iNdEx++
  3702. stringLen |= (uint64(b) & 0x7F) << shift
  3703. if b < 0x80 {
  3704. break
  3705. }
  3706. }
  3707. intStringLen := int(stringLen)
  3708. if intStringLen < 0 {
  3709. return ErrInvalidLengthApi
  3710. }
  3711. postIndex := iNdEx + intStringLen
  3712. if postIndex > l {
  3713. return io.ErrUnexpectedEOF
  3714. }
  3715. m.ImageUrl = string(dAtA[iNdEx:postIndex])
  3716. iNdEx = postIndex
  3717. case 10:
  3718. if wireType != 0 {
  3719. return fmt.Errorf("proto: wrong wireType = %d for field JumpPathType", wireType)
  3720. }
  3721. m.JumpPathType = 0
  3722. for shift := uint(0); ; shift += 7 {
  3723. if shift >= 64 {
  3724. return ErrIntOverflowApi
  3725. }
  3726. if iNdEx >= l {
  3727. return io.ErrUnexpectedEOF
  3728. }
  3729. b := dAtA[iNdEx]
  3730. iNdEx++
  3731. m.JumpPathType |= (int64(b) & 0x7F) << shift
  3732. if b < 0x80 {
  3733. break
  3734. }
  3735. }
  3736. default:
  3737. iNdEx = preIndex
  3738. skippy, err := skipApi(dAtA[iNdEx:])
  3739. if err != nil {
  3740. return err
  3741. }
  3742. if skippy < 0 {
  3743. return ErrInvalidLengthApi
  3744. }
  3745. if (iNdEx + skippy) > l {
  3746. return io.ErrUnexpectedEOF
  3747. }
  3748. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3749. iNdEx += skippy
  3750. }
  3751. }
  3752. if iNdEx > l {
  3753. return io.ErrUnexpectedEOF
  3754. }
  3755. return nil
  3756. }
  3757. func (m *AddResp) Unmarshal(dAtA []byte) error {
  3758. l := len(dAtA)
  3759. iNdEx := 0
  3760. for iNdEx < l {
  3761. preIndex := iNdEx
  3762. var wire uint64
  3763. for shift := uint(0); ; shift += 7 {
  3764. if shift >= 64 {
  3765. return ErrIntOverflowApi
  3766. }
  3767. if iNdEx >= l {
  3768. return io.ErrUnexpectedEOF
  3769. }
  3770. b := dAtA[iNdEx]
  3771. iNdEx++
  3772. wire |= (uint64(b) & 0x7F) << shift
  3773. if b < 0x80 {
  3774. break
  3775. }
  3776. }
  3777. fieldNum := int32(wire >> 3)
  3778. wireType := int(wire & 0x7)
  3779. if wireType == 4 {
  3780. return fmt.Errorf("proto: AddResp: wiretype end group for non-group")
  3781. }
  3782. if fieldNum <= 0 {
  3783. return fmt.Errorf("proto: AddResp: illegal tag %d (wire type %d)", fieldNum, wire)
  3784. }
  3785. switch fieldNum {
  3786. case 1:
  3787. if wireType == 0 {
  3788. var v int64
  3789. for shift := uint(0); ; shift += 7 {
  3790. if shift >= 64 {
  3791. return ErrIntOverflowApi
  3792. }
  3793. if iNdEx >= l {
  3794. return io.ErrUnexpectedEOF
  3795. }
  3796. b := dAtA[iNdEx]
  3797. iNdEx++
  3798. v |= (int64(b) & 0x7F) << shift
  3799. if b < 0x80 {
  3800. break
  3801. }
  3802. }
  3803. m.Id = append(m.Id, v)
  3804. } else if wireType == 2 {
  3805. var packedLen int
  3806. for shift := uint(0); ; shift += 7 {
  3807. if shift >= 64 {
  3808. return ErrIntOverflowApi
  3809. }
  3810. if iNdEx >= l {
  3811. return io.ErrUnexpectedEOF
  3812. }
  3813. b := dAtA[iNdEx]
  3814. iNdEx++
  3815. packedLen |= (int(b) & 0x7F) << shift
  3816. if b < 0x80 {
  3817. break
  3818. }
  3819. }
  3820. if packedLen < 0 {
  3821. return ErrInvalidLengthApi
  3822. }
  3823. postIndex := iNdEx + packedLen
  3824. if postIndex > l {
  3825. return io.ErrUnexpectedEOF
  3826. }
  3827. var elementCount int
  3828. var count int
  3829. for _, integer := range dAtA {
  3830. if integer < 128 {
  3831. count++
  3832. }
  3833. }
  3834. elementCount = count
  3835. if elementCount != 0 && len(m.Id) == 0 {
  3836. m.Id = make([]int64, 0, elementCount)
  3837. }
  3838. for iNdEx < postIndex {
  3839. var v int64
  3840. for shift := uint(0); ; shift += 7 {
  3841. if shift >= 64 {
  3842. return ErrIntOverflowApi
  3843. }
  3844. if iNdEx >= l {
  3845. return io.ErrUnexpectedEOF
  3846. }
  3847. b := dAtA[iNdEx]
  3848. iNdEx++
  3849. v |= (int64(b) & 0x7F) << shift
  3850. if b < 0x80 {
  3851. break
  3852. }
  3853. }
  3854. m.Id = append(m.Id, v)
  3855. }
  3856. } else {
  3857. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  3858. }
  3859. default:
  3860. iNdEx = preIndex
  3861. skippy, err := skipApi(dAtA[iNdEx:])
  3862. if err != nil {
  3863. return err
  3864. }
  3865. if skippy < 0 {
  3866. return ErrInvalidLengthApi
  3867. }
  3868. if (iNdEx + skippy) > l {
  3869. return io.ErrUnexpectedEOF
  3870. }
  3871. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3872. iNdEx += skippy
  3873. }
  3874. }
  3875. if iNdEx > l {
  3876. return io.ErrUnexpectedEOF
  3877. }
  3878. return nil
  3879. }
  3880. func (m *EditReq) Unmarshal(dAtA []byte) error {
  3881. l := len(dAtA)
  3882. iNdEx := 0
  3883. for iNdEx < l {
  3884. preIndex := iNdEx
  3885. var wire uint64
  3886. for shift := uint(0); ; shift += 7 {
  3887. if shift >= 64 {
  3888. return ErrIntOverflowApi
  3889. }
  3890. if iNdEx >= l {
  3891. return io.ErrUnexpectedEOF
  3892. }
  3893. b := dAtA[iNdEx]
  3894. iNdEx++
  3895. wire |= (uint64(b) & 0x7F) << shift
  3896. if b < 0x80 {
  3897. break
  3898. }
  3899. }
  3900. fieldNum := int32(wire >> 3)
  3901. wireType := int(wire & 0x7)
  3902. if wireType == 4 {
  3903. return fmt.Errorf("proto: EditReq: wiretype end group for non-group")
  3904. }
  3905. if fieldNum <= 0 {
  3906. return fmt.Errorf("proto: EditReq: illegal tag %d (wire type %d)", fieldNum, wire)
  3907. }
  3908. switch fieldNum {
  3909. case 1:
  3910. if wireType != 2 {
  3911. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  3912. }
  3913. var stringLen uint64
  3914. for shift := uint(0); ; shift += 7 {
  3915. if shift >= 64 {
  3916. return ErrIntOverflowApi
  3917. }
  3918. if iNdEx >= l {
  3919. return io.ErrUnexpectedEOF
  3920. }
  3921. b := dAtA[iNdEx]
  3922. iNdEx++
  3923. stringLen |= (uint64(b) & 0x7F) << shift
  3924. if b < 0x80 {
  3925. break
  3926. }
  3927. }
  3928. intStringLen := int(stringLen)
  3929. if intStringLen < 0 {
  3930. return ErrInvalidLengthApi
  3931. }
  3932. postIndex := iNdEx + intStringLen
  3933. if postIndex > l {
  3934. return io.ErrUnexpectedEOF
  3935. }
  3936. m.Platform = string(dAtA[iNdEx:postIndex])
  3937. iNdEx = postIndex
  3938. case 2:
  3939. if wireType != 0 {
  3940. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  3941. }
  3942. m.Id = 0
  3943. for shift := uint(0); ; shift += 7 {
  3944. if shift >= 64 {
  3945. return ErrIntOverflowApi
  3946. }
  3947. if iNdEx >= l {
  3948. return io.ErrUnexpectedEOF
  3949. }
  3950. b := dAtA[iNdEx]
  3951. iNdEx++
  3952. m.Id |= (int64(b) & 0x7F) << shift
  3953. if b < 0x80 {
  3954. break
  3955. }
  3956. }
  3957. case 3:
  3958. if wireType != 2 {
  3959. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  3960. }
  3961. var stringLen uint64
  3962. for shift := uint(0); ; shift += 7 {
  3963. if shift >= 64 {
  3964. return ErrIntOverflowApi
  3965. }
  3966. if iNdEx >= l {
  3967. return io.ErrUnexpectedEOF
  3968. }
  3969. b := dAtA[iNdEx]
  3970. iNdEx++
  3971. stringLen |= (uint64(b) & 0x7F) << shift
  3972. if b < 0x80 {
  3973. break
  3974. }
  3975. }
  3976. intStringLen := int(stringLen)
  3977. if intStringLen < 0 {
  3978. return ErrInvalidLengthApi
  3979. }
  3980. postIndex := iNdEx + intStringLen
  3981. if postIndex > l {
  3982. return io.ErrUnexpectedEOF
  3983. }
  3984. m.Title = string(dAtA[iNdEx:postIndex])
  3985. iNdEx = postIndex
  3986. case 4:
  3987. if wireType != 2 {
  3988. return fmt.Errorf("proto: wrong wireType = %d for field JumpPath", wireType)
  3989. }
  3990. var stringLen uint64
  3991. for shift := uint(0); ; shift += 7 {
  3992. if shift >= 64 {
  3993. return ErrIntOverflowApi
  3994. }
  3995. if iNdEx >= l {
  3996. return io.ErrUnexpectedEOF
  3997. }
  3998. b := dAtA[iNdEx]
  3999. iNdEx++
  4000. stringLen |= (uint64(b) & 0x7F) << shift
  4001. if b < 0x80 {
  4002. break
  4003. }
  4004. }
  4005. intStringLen := int(stringLen)
  4006. if intStringLen < 0 {
  4007. return ErrInvalidLengthApi
  4008. }
  4009. postIndex := iNdEx + intStringLen
  4010. if postIndex > l {
  4011. return io.ErrUnexpectedEOF
  4012. }
  4013. m.JumpPath = string(dAtA[iNdEx:postIndex])
  4014. iNdEx = postIndex
  4015. case 5:
  4016. if wireType != 0 {
  4017. return fmt.Errorf("proto: wrong wireType = %d for field JumpTime", wireType)
  4018. }
  4019. m.JumpTime = 0
  4020. for shift := uint(0); ; shift += 7 {
  4021. if shift >= 64 {
  4022. return ErrIntOverflowApi
  4023. }
  4024. if iNdEx >= l {
  4025. return io.ErrUnexpectedEOF
  4026. }
  4027. b := dAtA[iNdEx]
  4028. iNdEx++
  4029. m.JumpTime |= (int64(b) & 0x7F) << shift
  4030. if b < 0x80 {
  4031. break
  4032. }
  4033. }
  4034. case 7:
  4035. if wireType != 2 {
  4036. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  4037. }
  4038. var stringLen uint64
  4039. for shift := uint(0); ; shift += 7 {
  4040. if shift >= 64 {
  4041. return ErrIntOverflowApi
  4042. }
  4043. if iNdEx >= l {
  4044. return io.ErrUnexpectedEOF
  4045. }
  4046. b := dAtA[iNdEx]
  4047. iNdEx++
  4048. stringLen |= (uint64(b) & 0x7F) << shift
  4049. if b < 0x80 {
  4050. break
  4051. }
  4052. }
  4053. intStringLen := int(stringLen)
  4054. if intStringLen < 0 {
  4055. return ErrInvalidLengthApi
  4056. }
  4057. postIndex := iNdEx + intStringLen
  4058. if postIndex > l {
  4059. return io.ErrUnexpectedEOF
  4060. }
  4061. m.StartTime = string(dAtA[iNdEx:postIndex])
  4062. iNdEx = postIndex
  4063. case 8:
  4064. if wireType != 2 {
  4065. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  4066. }
  4067. var stringLen uint64
  4068. for shift := uint(0); ; shift += 7 {
  4069. if shift >= 64 {
  4070. return ErrIntOverflowApi
  4071. }
  4072. if iNdEx >= l {
  4073. return io.ErrUnexpectedEOF
  4074. }
  4075. b := dAtA[iNdEx]
  4076. iNdEx++
  4077. stringLen |= (uint64(b) & 0x7F) << shift
  4078. if b < 0x80 {
  4079. break
  4080. }
  4081. }
  4082. intStringLen := int(stringLen)
  4083. if intStringLen < 0 {
  4084. return ErrInvalidLengthApi
  4085. }
  4086. postIndex := iNdEx + intStringLen
  4087. if postIndex > l {
  4088. return io.ErrUnexpectedEOF
  4089. }
  4090. m.EndTime = string(dAtA[iNdEx:postIndex])
  4091. iNdEx = postIndex
  4092. case 9:
  4093. if wireType != 2 {
  4094. return fmt.Errorf("proto: wrong wireType = %d for field ImageUrl", wireType)
  4095. }
  4096. var stringLen uint64
  4097. for shift := uint(0); ; shift += 7 {
  4098. if shift >= 64 {
  4099. return ErrIntOverflowApi
  4100. }
  4101. if iNdEx >= l {
  4102. return io.ErrUnexpectedEOF
  4103. }
  4104. b := dAtA[iNdEx]
  4105. iNdEx++
  4106. stringLen |= (uint64(b) & 0x7F) << shift
  4107. if b < 0x80 {
  4108. break
  4109. }
  4110. }
  4111. intStringLen := int(stringLen)
  4112. if intStringLen < 0 {
  4113. return ErrInvalidLengthApi
  4114. }
  4115. postIndex := iNdEx + intStringLen
  4116. if postIndex > l {
  4117. return io.ErrUnexpectedEOF
  4118. }
  4119. m.ImageUrl = string(dAtA[iNdEx:postIndex])
  4120. iNdEx = postIndex
  4121. case 10:
  4122. if wireType != 0 {
  4123. return fmt.Errorf("proto: wrong wireType = %d for field JumpPathType", wireType)
  4124. }
  4125. m.JumpPathType = 0
  4126. for shift := uint(0); ; shift += 7 {
  4127. if shift >= 64 {
  4128. return ErrIntOverflowApi
  4129. }
  4130. if iNdEx >= l {
  4131. return io.ErrUnexpectedEOF
  4132. }
  4133. b := dAtA[iNdEx]
  4134. iNdEx++
  4135. m.JumpPathType |= (int64(b) & 0x7F) << shift
  4136. if b < 0x80 {
  4137. break
  4138. }
  4139. }
  4140. default:
  4141. iNdEx = preIndex
  4142. skippy, err := skipApi(dAtA[iNdEx:])
  4143. if err != nil {
  4144. return err
  4145. }
  4146. if skippy < 0 {
  4147. return ErrInvalidLengthApi
  4148. }
  4149. if (iNdEx + skippy) > l {
  4150. return io.ErrUnexpectedEOF
  4151. }
  4152. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4153. iNdEx += skippy
  4154. }
  4155. }
  4156. if iNdEx > l {
  4157. return io.ErrUnexpectedEOF
  4158. }
  4159. return nil
  4160. }
  4161. func (m *EditResp) Unmarshal(dAtA []byte) error {
  4162. l := len(dAtA)
  4163. iNdEx := 0
  4164. for iNdEx < l {
  4165. preIndex := iNdEx
  4166. var wire uint64
  4167. for shift := uint(0); ; shift += 7 {
  4168. if shift >= 64 {
  4169. return ErrIntOverflowApi
  4170. }
  4171. if iNdEx >= l {
  4172. return io.ErrUnexpectedEOF
  4173. }
  4174. b := dAtA[iNdEx]
  4175. iNdEx++
  4176. wire |= (uint64(b) & 0x7F) << shift
  4177. if b < 0x80 {
  4178. break
  4179. }
  4180. }
  4181. fieldNum := int32(wire >> 3)
  4182. wireType := int(wire & 0x7)
  4183. if wireType == 4 {
  4184. return fmt.Errorf("proto: EditResp: wiretype end group for non-group")
  4185. }
  4186. if fieldNum <= 0 {
  4187. return fmt.Errorf("proto: EditResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4188. }
  4189. switch fieldNum {
  4190. default:
  4191. iNdEx = preIndex
  4192. skippy, err := skipApi(dAtA[iNdEx:])
  4193. if err != nil {
  4194. return err
  4195. }
  4196. if skippy < 0 {
  4197. return ErrInvalidLengthApi
  4198. }
  4199. if (iNdEx + skippy) > l {
  4200. return io.ErrUnexpectedEOF
  4201. }
  4202. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4203. iNdEx += skippy
  4204. }
  4205. }
  4206. if iNdEx > l {
  4207. return io.ErrUnexpectedEOF
  4208. }
  4209. return nil
  4210. }
  4211. func (m *OfflineReq) Unmarshal(dAtA []byte) error {
  4212. l := len(dAtA)
  4213. iNdEx := 0
  4214. for iNdEx < l {
  4215. preIndex := iNdEx
  4216. var wire uint64
  4217. for shift := uint(0); ; shift += 7 {
  4218. if shift >= 64 {
  4219. return ErrIntOverflowApi
  4220. }
  4221. if iNdEx >= l {
  4222. return io.ErrUnexpectedEOF
  4223. }
  4224. b := dAtA[iNdEx]
  4225. iNdEx++
  4226. wire |= (uint64(b) & 0x7F) << shift
  4227. if b < 0x80 {
  4228. break
  4229. }
  4230. }
  4231. fieldNum := int32(wire >> 3)
  4232. wireType := int(wire & 0x7)
  4233. if wireType == 4 {
  4234. return fmt.Errorf("proto: OfflineReq: wiretype end group for non-group")
  4235. }
  4236. if fieldNum <= 0 {
  4237. return fmt.Errorf("proto: OfflineReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4238. }
  4239. switch fieldNum {
  4240. case 1:
  4241. if wireType != 2 {
  4242. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  4243. }
  4244. var stringLen uint64
  4245. for shift := uint(0); ; shift += 7 {
  4246. if shift >= 64 {
  4247. return ErrIntOverflowApi
  4248. }
  4249. if iNdEx >= l {
  4250. return io.ErrUnexpectedEOF
  4251. }
  4252. b := dAtA[iNdEx]
  4253. iNdEx++
  4254. stringLen |= (uint64(b) & 0x7F) << shift
  4255. if b < 0x80 {
  4256. break
  4257. }
  4258. }
  4259. intStringLen := int(stringLen)
  4260. if intStringLen < 0 {
  4261. return ErrInvalidLengthApi
  4262. }
  4263. postIndex := iNdEx + intStringLen
  4264. if postIndex > l {
  4265. return io.ErrUnexpectedEOF
  4266. }
  4267. m.Platform = string(dAtA[iNdEx:postIndex])
  4268. iNdEx = postIndex
  4269. case 2:
  4270. if wireType != 0 {
  4271. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  4272. }
  4273. m.Id = 0
  4274. for shift := uint(0); ; shift += 7 {
  4275. if shift >= 64 {
  4276. return ErrIntOverflowApi
  4277. }
  4278. if iNdEx >= l {
  4279. return io.ErrUnexpectedEOF
  4280. }
  4281. b := dAtA[iNdEx]
  4282. iNdEx++
  4283. m.Id |= (int64(b) & 0x7F) << shift
  4284. if b < 0x80 {
  4285. break
  4286. }
  4287. }
  4288. default:
  4289. iNdEx = preIndex
  4290. skippy, err := skipApi(dAtA[iNdEx:])
  4291. if err != nil {
  4292. return err
  4293. }
  4294. if skippy < 0 {
  4295. return ErrInvalidLengthApi
  4296. }
  4297. if (iNdEx + skippy) > l {
  4298. return io.ErrUnexpectedEOF
  4299. }
  4300. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4301. iNdEx += skippy
  4302. }
  4303. }
  4304. if iNdEx > l {
  4305. return io.ErrUnexpectedEOF
  4306. }
  4307. return nil
  4308. }
  4309. func (m *OfflineResp) Unmarshal(dAtA []byte) error {
  4310. l := len(dAtA)
  4311. iNdEx := 0
  4312. for iNdEx < l {
  4313. preIndex := iNdEx
  4314. var wire uint64
  4315. for shift := uint(0); ; shift += 7 {
  4316. if shift >= 64 {
  4317. return ErrIntOverflowApi
  4318. }
  4319. if iNdEx >= l {
  4320. return io.ErrUnexpectedEOF
  4321. }
  4322. b := dAtA[iNdEx]
  4323. iNdEx++
  4324. wire |= (uint64(b) & 0x7F) << shift
  4325. if b < 0x80 {
  4326. break
  4327. }
  4328. }
  4329. fieldNum := int32(wire >> 3)
  4330. wireType := int(wire & 0x7)
  4331. if wireType == 4 {
  4332. return fmt.Errorf("proto: OfflineResp: wiretype end group for non-group")
  4333. }
  4334. if fieldNum <= 0 {
  4335. return fmt.Errorf("proto: OfflineResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4336. }
  4337. switch fieldNum {
  4338. default:
  4339. iNdEx = preIndex
  4340. skippy, err := skipApi(dAtA[iNdEx:])
  4341. if err != nil {
  4342. return err
  4343. }
  4344. if skippy < 0 {
  4345. return ErrInvalidLengthApi
  4346. }
  4347. if (iNdEx + skippy) > l {
  4348. return io.ErrUnexpectedEOF
  4349. }
  4350. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4351. iNdEx += skippy
  4352. }
  4353. }
  4354. if iNdEx > l {
  4355. return io.ErrUnexpectedEOF
  4356. }
  4357. return nil
  4358. }
  4359. func (m *GetListReq) Unmarshal(dAtA []byte) error {
  4360. l := len(dAtA)
  4361. iNdEx := 0
  4362. for iNdEx < l {
  4363. preIndex := iNdEx
  4364. var wire uint64
  4365. for shift := uint(0); ; shift += 7 {
  4366. if shift >= 64 {
  4367. return ErrIntOverflowApi
  4368. }
  4369. if iNdEx >= l {
  4370. return io.ErrUnexpectedEOF
  4371. }
  4372. b := dAtA[iNdEx]
  4373. iNdEx++
  4374. wire |= (uint64(b) & 0x7F) << shift
  4375. if b < 0x80 {
  4376. break
  4377. }
  4378. }
  4379. fieldNum := int32(wire >> 3)
  4380. wireType := int(wire & 0x7)
  4381. if wireType == 4 {
  4382. return fmt.Errorf("proto: GetListReq: wiretype end group for non-group")
  4383. }
  4384. if fieldNum <= 0 {
  4385. return fmt.Errorf("proto: GetListReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4386. }
  4387. switch fieldNum {
  4388. case 1:
  4389. if wireType != 2 {
  4390. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  4391. }
  4392. var stringLen uint64
  4393. for shift := uint(0); ; shift += 7 {
  4394. if shift >= 64 {
  4395. return ErrIntOverflowApi
  4396. }
  4397. if iNdEx >= l {
  4398. return io.ErrUnexpectedEOF
  4399. }
  4400. b := dAtA[iNdEx]
  4401. iNdEx++
  4402. stringLen |= (uint64(b) & 0x7F) << shift
  4403. if b < 0x80 {
  4404. break
  4405. }
  4406. }
  4407. intStringLen := int(stringLen)
  4408. if intStringLen < 0 {
  4409. return ErrInvalidLengthApi
  4410. }
  4411. postIndex := iNdEx + intStringLen
  4412. if postIndex > l {
  4413. return io.ErrUnexpectedEOF
  4414. }
  4415. m.Platform = string(dAtA[iNdEx:postIndex])
  4416. iNdEx = postIndex
  4417. case 2:
  4418. if wireType != 0 {
  4419. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  4420. }
  4421. m.Page = 0
  4422. for shift := uint(0); ; shift += 7 {
  4423. if shift >= 64 {
  4424. return ErrIntOverflowApi
  4425. }
  4426. if iNdEx >= l {
  4427. return io.ErrUnexpectedEOF
  4428. }
  4429. b := dAtA[iNdEx]
  4430. iNdEx++
  4431. m.Page |= (int64(b) & 0x7F) << shift
  4432. if b < 0x80 {
  4433. break
  4434. }
  4435. }
  4436. case 3:
  4437. if wireType != 0 {
  4438. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  4439. }
  4440. m.PageSize = 0
  4441. for shift := uint(0); ; shift += 7 {
  4442. if shift >= 64 {
  4443. return ErrIntOverflowApi
  4444. }
  4445. if iNdEx >= l {
  4446. return io.ErrUnexpectedEOF
  4447. }
  4448. b := dAtA[iNdEx]
  4449. iNdEx++
  4450. m.PageSize |= (int64(b) & 0x7F) << shift
  4451. if b < 0x80 {
  4452. break
  4453. }
  4454. }
  4455. case 4:
  4456. if wireType != 2 {
  4457. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4458. }
  4459. var stringLen uint64
  4460. for shift := uint(0); ; shift += 7 {
  4461. if shift >= 64 {
  4462. return ErrIntOverflowApi
  4463. }
  4464. if iNdEx >= l {
  4465. return io.ErrUnexpectedEOF
  4466. }
  4467. b := dAtA[iNdEx]
  4468. iNdEx++
  4469. stringLen |= (uint64(b) & 0x7F) << shift
  4470. if b < 0x80 {
  4471. break
  4472. }
  4473. }
  4474. intStringLen := int(stringLen)
  4475. if intStringLen < 0 {
  4476. return ErrInvalidLengthApi
  4477. }
  4478. postIndex := iNdEx + intStringLen
  4479. if postIndex > l {
  4480. return io.ErrUnexpectedEOF
  4481. }
  4482. m.Type = string(dAtA[iNdEx:postIndex])
  4483. iNdEx = postIndex
  4484. default:
  4485. iNdEx = preIndex
  4486. skippy, err := skipApi(dAtA[iNdEx:])
  4487. if err != nil {
  4488. return err
  4489. }
  4490. if skippy < 0 {
  4491. return ErrInvalidLengthApi
  4492. }
  4493. if (iNdEx + skippy) > l {
  4494. return io.ErrUnexpectedEOF
  4495. }
  4496. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4497. iNdEx += skippy
  4498. }
  4499. }
  4500. if iNdEx > l {
  4501. return io.ErrUnexpectedEOF
  4502. }
  4503. return nil
  4504. }
  4505. func (m *GetListResp) Unmarshal(dAtA []byte) error {
  4506. l := len(dAtA)
  4507. iNdEx := 0
  4508. for iNdEx < l {
  4509. preIndex := iNdEx
  4510. var wire uint64
  4511. for shift := uint(0); ; shift += 7 {
  4512. if shift >= 64 {
  4513. return ErrIntOverflowApi
  4514. }
  4515. if iNdEx >= l {
  4516. return io.ErrUnexpectedEOF
  4517. }
  4518. b := dAtA[iNdEx]
  4519. iNdEx++
  4520. wire |= (uint64(b) & 0x7F) << shift
  4521. if b < 0x80 {
  4522. break
  4523. }
  4524. }
  4525. fieldNum := int32(wire >> 3)
  4526. wireType := int(wire & 0x7)
  4527. if wireType == 4 {
  4528. return fmt.Errorf("proto: GetListResp: wiretype end group for non-group")
  4529. }
  4530. if fieldNum <= 0 {
  4531. return fmt.Errorf("proto: GetListResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4532. }
  4533. switch fieldNum {
  4534. case 1:
  4535. if wireType != 0 {
  4536. return fmt.Errorf("proto: wrong wireType = %d for field CurrentPage", wireType)
  4537. }
  4538. m.CurrentPage = 0
  4539. for shift := uint(0); ; shift += 7 {
  4540. if shift >= 64 {
  4541. return ErrIntOverflowApi
  4542. }
  4543. if iNdEx >= l {
  4544. return io.ErrUnexpectedEOF
  4545. }
  4546. b := dAtA[iNdEx]
  4547. iNdEx++
  4548. m.CurrentPage |= (int64(b) & 0x7F) << shift
  4549. if b < 0x80 {
  4550. break
  4551. }
  4552. }
  4553. case 2:
  4554. if wireType != 0 {
  4555. return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType)
  4556. }
  4557. m.TotalCount = 0
  4558. for shift := uint(0); ; shift += 7 {
  4559. if shift >= 64 {
  4560. return ErrIntOverflowApi
  4561. }
  4562. if iNdEx >= l {
  4563. return io.ErrUnexpectedEOF
  4564. }
  4565. b := dAtA[iNdEx]
  4566. iNdEx++
  4567. m.TotalCount |= (int64(b) & 0x7F) << shift
  4568. if b < 0x80 {
  4569. break
  4570. }
  4571. }
  4572. case 3:
  4573. if wireType != 2 {
  4574. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  4575. }
  4576. var msglen int
  4577. for shift := uint(0); ; shift += 7 {
  4578. if shift >= 64 {
  4579. return ErrIntOverflowApi
  4580. }
  4581. if iNdEx >= l {
  4582. return io.ErrUnexpectedEOF
  4583. }
  4584. b := dAtA[iNdEx]
  4585. iNdEx++
  4586. msglen |= (int(b) & 0x7F) << shift
  4587. if b < 0x80 {
  4588. break
  4589. }
  4590. }
  4591. if msglen < 0 {
  4592. return ErrInvalidLengthApi
  4593. }
  4594. postIndex := iNdEx + msglen
  4595. if postIndex > l {
  4596. return io.ErrUnexpectedEOF
  4597. }
  4598. m.List = append(m.List, &GetListResp_List{})
  4599. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4600. return err
  4601. }
  4602. iNdEx = postIndex
  4603. default:
  4604. iNdEx = preIndex
  4605. skippy, err := skipApi(dAtA[iNdEx:])
  4606. if err != nil {
  4607. return err
  4608. }
  4609. if skippy < 0 {
  4610. return ErrInvalidLengthApi
  4611. }
  4612. if (iNdEx + skippy) > l {
  4613. return io.ErrUnexpectedEOF
  4614. }
  4615. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4616. iNdEx += skippy
  4617. }
  4618. }
  4619. if iNdEx > l {
  4620. return io.ErrUnexpectedEOF
  4621. }
  4622. return nil
  4623. }
  4624. func (m *GetListResp_List) Unmarshal(dAtA []byte) error {
  4625. l := len(dAtA)
  4626. iNdEx := 0
  4627. for iNdEx < l {
  4628. preIndex := iNdEx
  4629. var wire uint64
  4630. for shift := uint(0); ; shift += 7 {
  4631. if shift >= 64 {
  4632. return ErrIntOverflowApi
  4633. }
  4634. if iNdEx >= l {
  4635. return io.ErrUnexpectedEOF
  4636. }
  4637. b := dAtA[iNdEx]
  4638. iNdEx++
  4639. wire |= (uint64(b) & 0x7F) << shift
  4640. if b < 0x80 {
  4641. break
  4642. }
  4643. }
  4644. fieldNum := int32(wire >> 3)
  4645. wireType := int(wire & 0x7)
  4646. if wireType == 4 {
  4647. return fmt.Errorf("proto: List: wiretype end group for non-group")
  4648. }
  4649. if fieldNum <= 0 {
  4650. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  4651. }
  4652. switch fieldNum {
  4653. case 1:
  4654. if wireType != 0 {
  4655. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  4656. }
  4657. m.Id = 0
  4658. for shift := uint(0); ; shift += 7 {
  4659. if shift >= 64 {
  4660. return ErrIntOverflowApi
  4661. }
  4662. if iNdEx >= l {
  4663. return io.ErrUnexpectedEOF
  4664. }
  4665. b := dAtA[iNdEx]
  4666. iNdEx++
  4667. m.Id |= (int64(b) & 0x7F) << shift
  4668. if b < 0x80 {
  4669. break
  4670. }
  4671. }
  4672. case 2:
  4673. if wireType != 2 {
  4674. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  4675. }
  4676. var stringLen uint64
  4677. for shift := uint(0); ; shift += 7 {
  4678. if shift >= 64 {
  4679. return ErrIntOverflowApi
  4680. }
  4681. if iNdEx >= l {
  4682. return io.ErrUnexpectedEOF
  4683. }
  4684. b := dAtA[iNdEx]
  4685. iNdEx++
  4686. stringLen |= (uint64(b) & 0x7F) << shift
  4687. if b < 0x80 {
  4688. break
  4689. }
  4690. }
  4691. intStringLen := int(stringLen)
  4692. if intStringLen < 0 {
  4693. return ErrInvalidLengthApi
  4694. }
  4695. postIndex := iNdEx + intStringLen
  4696. if postIndex > l {
  4697. return io.ErrUnexpectedEOF
  4698. }
  4699. m.Title = string(dAtA[iNdEx:postIndex])
  4700. iNdEx = postIndex
  4701. case 3:
  4702. if wireType != 2 {
  4703. return fmt.Errorf("proto: wrong wireType = %d for field JumpPath", wireType)
  4704. }
  4705. var stringLen uint64
  4706. for shift := uint(0); ; shift += 7 {
  4707. if shift >= 64 {
  4708. return ErrIntOverflowApi
  4709. }
  4710. if iNdEx >= l {
  4711. return io.ErrUnexpectedEOF
  4712. }
  4713. b := dAtA[iNdEx]
  4714. iNdEx++
  4715. stringLen |= (uint64(b) & 0x7F) << shift
  4716. if b < 0x80 {
  4717. break
  4718. }
  4719. }
  4720. intStringLen := int(stringLen)
  4721. if intStringLen < 0 {
  4722. return ErrInvalidLengthApi
  4723. }
  4724. postIndex := iNdEx + intStringLen
  4725. if postIndex > l {
  4726. return io.ErrUnexpectedEOF
  4727. }
  4728. m.JumpPath = string(dAtA[iNdEx:postIndex])
  4729. iNdEx = postIndex
  4730. case 4:
  4731. if wireType != 2 {
  4732. return fmt.Errorf("proto: wrong wireType = %d for field DevicePlatform", wireType)
  4733. }
  4734. var stringLen uint64
  4735. for shift := uint(0); ; shift += 7 {
  4736. if shift >= 64 {
  4737. return ErrIntOverflowApi
  4738. }
  4739. if iNdEx >= l {
  4740. return io.ErrUnexpectedEOF
  4741. }
  4742. b := dAtA[iNdEx]
  4743. iNdEx++
  4744. stringLen |= (uint64(b) & 0x7F) << shift
  4745. if b < 0x80 {
  4746. break
  4747. }
  4748. }
  4749. intStringLen := int(stringLen)
  4750. if intStringLen < 0 {
  4751. return ErrInvalidLengthApi
  4752. }
  4753. postIndex := iNdEx + intStringLen
  4754. if postIndex > l {
  4755. return io.ErrUnexpectedEOF
  4756. }
  4757. m.DevicePlatform = string(dAtA[iNdEx:postIndex])
  4758. iNdEx = postIndex
  4759. case 5:
  4760. if wireType != 0 {
  4761. return fmt.Errorf("proto: wrong wireType = %d for field DeviceBuild", wireType)
  4762. }
  4763. m.DeviceBuild = 0
  4764. for shift := uint(0); ; shift += 7 {
  4765. if shift >= 64 {
  4766. return ErrIntOverflowApi
  4767. }
  4768. if iNdEx >= l {
  4769. return io.ErrUnexpectedEOF
  4770. }
  4771. b := dAtA[iNdEx]
  4772. iNdEx++
  4773. m.DeviceBuild |= (int64(b) & 0x7F) << shift
  4774. if b < 0x80 {
  4775. break
  4776. }
  4777. }
  4778. case 6:
  4779. if wireType != 2 {
  4780. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  4781. }
  4782. var stringLen uint64
  4783. for shift := uint(0); ; shift += 7 {
  4784. if shift >= 64 {
  4785. return ErrIntOverflowApi
  4786. }
  4787. if iNdEx >= l {
  4788. return io.ErrUnexpectedEOF
  4789. }
  4790. b := dAtA[iNdEx]
  4791. iNdEx++
  4792. stringLen |= (uint64(b) & 0x7F) << shift
  4793. if b < 0x80 {
  4794. break
  4795. }
  4796. }
  4797. intStringLen := int(stringLen)
  4798. if intStringLen < 0 {
  4799. return ErrInvalidLengthApi
  4800. }
  4801. postIndex := iNdEx + intStringLen
  4802. if postIndex > l {
  4803. return io.ErrUnexpectedEOF
  4804. }
  4805. m.StartTime = string(dAtA[iNdEx:postIndex])
  4806. iNdEx = postIndex
  4807. case 7:
  4808. if wireType != 2 {
  4809. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  4810. }
  4811. var stringLen uint64
  4812. for shift := uint(0); ; shift += 7 {
  4813. if shift >= 64 {
  4814. return ErrIntOverflowApi
  4815. }
  4816. if iNdEx >= l {
  4817. return io.ErrUnexpectedEOF
  4818. }
  4819. b := dAtA[iNdEx]
  4820. iNdEx++
  4821. stringLen |= (uint64(b) & 0x7F) << shift
  4822. if b < 0x80 {
  4823. break
  4824. }
  4825. }
  4826. intStringLen := int(stringLen)
  4827. if intStringLen < 0 {
  4828. return ErrInvalidLengthApi
  4829. }
  4830. postIndex := iNdEx + intStringLen
  4831. if postIndex > l {
  4832. return io.ErrUnexpectedEOF
  4833. }
  4834. m.EndTime = string(dAtA[iNdEx:postIndex])
  4835. iNdEx = postIndex
  4836. case 8:
  4837. if wireType != 0 {
  4838. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4839. }
  4840. m.Status = 0
  4841. for shift := uint(0); ; shift += 7 {
  4842. if shift >= 64 {
  4843. return ErrIntOverflowApi
  4844. }
  4845. if iNdEx >= l {
  4846. return io.ErrUnexpectedEOF
  4847. }
  4848. b := dAtA[iNdEx]
  4849. iNdEx++
  4850. m.Status |= (int64(b) & 0x7F) << shift
  4851. if b < 0x80 {
  4852. break
  4853. }
  4854. }
  4855. case 9:
  4856. if wireType != 0 {
  4857. return fmt.Errorf("proto: wrong wireType = %d for field DeviceLimit", wireType)
  4858. }
  4859. m.DeviceLimit = 0
  4860. for shift := uint(0); ; shift += 7 {
  4861. if shift >= 64 {
  4862. return ErrIntOverflowApi
  4863. }
  4864. if iNdEx >= l {
  4865. return io.ErrUnexpectedEOF
  4866. }
  4867. b := dAtA[iNdEx]
  4868. iNdEx++
  4869. m.DeviceLimit |= (int64(b) & 0x7F) << shift
  4870. if b < 0x80 {
  4871. break
  4872. }
  4873. }
  4874. case 10:
  4875. if wireType != 2 {
  4876. return fmt.Errorf("proto: wrong wireType = %d for field ImageUrl", wireType)
  4877. }
  4878. var stringLen uint64
  4879. for shift := uint(0); ; shift += 7 {
  4880. if shift >= 64 {
  4881. return ErrIntOverflowApi
  4882. }
  4883. if iNdEx >= l {
  4884. return io.ErrUnexpectedEOF
  4885. }
  4886. b := dAtA[iNdEx]
  4887. iNdEx++
  4888. stringLen |= (uint64(b) & 0x7F) << shift
  4889. if b < 0x80 {
  4890. break
  4891. }
  4892. }
  4893. intStringLen := int(stringLen)
  4894. if intStringLen < 0 {
  4895. return ErrInvalidLengthApi
  4896. }
  4897. postIndex := iNdEx + intStringLen
  4898. if postIndex > l {
  4899. return io.ErrUnexpectedEOF
  4900. }
  4901. m.ImageUrl = string(dAtA[iNdEx:postIndex])
  4902. iNdEx = postIndex
  4903. case 11:
  4904. if wireType != 0 {
  4905. return fmt.Errorf("proto: wrong wireType = %d for field JumpPathType", wireType)
  4906. }
  4907. m.JumpPathType = 0
  4908. for shift := uint(0); ; shift += 7 {
  4909. if shift >= 64 {
  4910. return ErrIntOverflowApi
  4911. }
  4912. if iNdEx >= l {
  4913. return io.ErrUnexpectedEOF
  4914. }
  4915. b := dAtA[iNdEx]
  4916. iNdEx++
  4917. m.JumpPathType |= (int64(b) & 0x7F) << shift
  4918. if b < 0x80 {
  4919. break
  4920. }
  4921. }
  4922. case 12:
  4923. if wireType != 0 {
  4924. return fmt.Errorf("proto: wrong wireType = %d for field JumpTime", wireType)
  4925. }
  4926. m.JumpTime = 0
  4927. for shift := uint(0); ; shift += 7 {
  4928. if shift >= 64 {
  4929. return ErrIntOverflowApi
  4930. }
  4931. if iNdEx >= l {
  4932. return io.ErrUnexpectedEOF
  4933. }
  4934. b := dAtA[iNdEx]
  4935. iNdEx++
  4936. m.JumpTime |= (int64(b) & 0x7F) << shift
  4937. if b < 0x80 {
  4938. break
  4939. }
  4940. }
  4941. default:
  4942. iNdEx = preIndex
  4943. skippy, err := skipApi(dAtA[iNdEx:])
  4944. if err != nil {
  4945. return err
  4946. }
  4947. if skippy < 0 {
  4948. return ErrInvalidLengthApi
  4949. }
  4950. if (iNdEx + skippy) > l {
  4951. return io.ErrUnexpectedEOF
  4952. }
  4953. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4954. iNdEx += skippy
  4955. }
  4956. }
  4957. if iNdEx > l {
  4958. return io.ErrUnexpectedEOF
  4959. }
  4960. return nil
  4961. }
  4962. func (m *GetInfoReq) Unmarshal(dAtA []byte) error {
  4963. l := len(dAtA)
  4964. iNdEx := 0
  4965. for iNdEx < l {
  4966. preIndex := iNdEx
  4967. var wire uint64
  4968. for shift := uint(0); ; shift += 7 {
  4969. if shift >= 64 {
  4970. return ErrIntOverflowApi
  4971. }
  4972. if iNdEx >= l {
  4973. return io.ErrUnexpectedEOF
  4974. }
  4975. b := dAtA[iNdEx]
  4976. iNdEx++
  4977. wire |= (uint64(b) & 0x7F) << shift
  4978. if b < 0x80 {
  4979. break
  4980. }
  4981. }
  4982. fieldNum := int32(wire >> 3)
  4983. wireType := int(wire & 0x7)
  4984. if wireType == 4 {
  4985. return fmt.Errorf("proto: GetInfoReq: wiretype end group for non-group")
  4986. }
  4987. if fieldNum <= 0 {
  4988. return fmt.Errorf("proto: GetInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4989. }
  4990. switch fieldNum {
  4991. case 1:
  4992. if wireType != 2 {
  4993. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  4994. }
  4995. var stringLen uint64
  4996. for shift := uint(0); ; shift += 7 {
  4997. if shift >= 64 {
  4998. return ErrIntOverflowApi
  4999. }
  5000. if iNdEx >= l {
  5001. return io.ErrUnexpectedEOF
  5002. }
  5003. b := dAtA[iNdEx]
  5004. iNdEx++
  5005. stringLen |= (uint64(b) & 0x7F) << shift
  5006. if b < 0x80 {
  5007. break
  5008. }
  5009. }
  5010. intStringLen := int(stringLen)
  5011. if intStringLen < 0 {
  5012. return ErrInvalidLengthApi
  5013. }
  5014. postIndex := iNdEx + intStringLen
  5015. if postIndex > l {
  5016. return io.ErrUnexpectedEOF
  5017. }
  5018. m.Platform = string(dAtA[iNdEx:postIndex])
  5019. iNdEx = postIndex
  5020. case 2:
  5021. if wireType != 0 {
  5022. return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
  5023. }
  5024. m.Build = 0
  5025. for shift := uint(0); ; shift += 7 {
  5026. if shift >= 64 {
  5027. return ErrIntOverflowApi
  5028. }
  5029. if iNdEx >= l {
  5030. return io.ErrUnexpectedEOF
  5031. }
  5032. b := dAtA[iNdEx]
  5033. iNdEx++
  5034. m.Build |= (int64(b) & 0x7F) << shift
  5035. if b < 0x80 {
  5036. break
  5037. }
  5038. }
  5039. default:
  5040. iNdEx = preIndex
  5041. skippy, err := skipApi(dAtA[iNdEx:])
  5042. if err != nil {
  5043. return err
  5044. }
  5045. if skippy < 0 {
  5046. return ErrInvalidLengthApi
  5047. }
  5048. if (iNdEx + skippy) > l {
  5049. return io.ErrUnexpectedEOF
  5050. }
  5051. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5052. iNdEx += skippy
  5053. }
  5054. }
  5055. if iNdEx > l {
  5056. return io.ErrUnexpectedEOF
  5057. }
  5058. return nil
  5059. }
  5060. func (m *GetInfoResp) Unmarshal(dAtA []byte) error {
  5061. l := len(dAtA)
  5062. iNdEx := 0
  5063. for iNdEx < l {
  5064. preIndex := iNdEx
  5065. var wire uint64
  5066. for shift := uint(0); ; shift += 7 {
  5067. if shift >= 64 {
  5068. return ErrIntOverflowApi
  5069. }
  5070. if iNdEx >= l {
  5071. return io.ErrUnexpectedEOF
  5072. }
  5073. b := dAtA[iNdEx]
  5074. iNdEx++
  5075. wire |= (uint64(b) & 0x7F) << shift
  5076. if b < 0x80 {
  5077. break
  5078. }
  5079. }
  5080. fieldNum := int32(wire >> 3)
  5081. wireType := int(wire & 0x7)
  5082. if wireType == 4 {
  5083. return fmt.Errorf("proto: GetInfoResp: wiretype end group for non-group")
  5084. }
  5085. if fieldNum <= 0 {
  5086. return fmt.Errorf("proto: GetInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5087. }
  5088. switch fieldNum {
  5089. case 1:
  5090. if wireType != 0 {
  5091. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  5092. }
  5093. m.Id = 0
  5094. for shift := uint(0); ; shift += 7 {
  5095. if shift >= 64 {
  5096. return ErrIntOverflowApi
  5097. }
  5098. if iNdEx >= l {
  5099. return io.ErrUnexpectedEOF
  5100. }
  5101. b := dAtA[iNdEx]
  5102. iNdEx++
  5103. m.Id |= (int64(b) & 0x7F) << shift
  5104. if b < 0x80 {
  5105. break
  5106. }
  5107. }
  5108. case 2:
  5109. if wireType != 2 {
  5110. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  5111. }
  5112. var stringLen uint64
  5113. for shift := uint(0); ; shift += 7 {
  5114. if shift >= 64 {
  5115. return ErrIntOverflowApi
  5116. }
  5117. if iNdEx >= l {
  5118. return io.ErrUnexpectedEOF
  5119. }
  5120. b := dAtA[iNdEx]
  5121. iNdEx++
  5122. stringLen |= (uint64(b) & 0x7F) << shift
  5123. if b < 0x80 {
  5124. break
  5125. }
  5126. }
  5127. intStringLen := int(stringLen)
  5128. if intStringLen < 0 {
  5129. return ErrInvalidLengthApi
  5130. }
  5131. postIndex := iNdEx + intStringLen
  5132. if postIndex > l {
  5133. return io.ErrUnexpectedEOF
  5134. }
  5135. m.Title = string(dAtA[iNdEx:postIndex])
  5136. iNdEx = postIndex
  5137. case 3:
  5138. if wireType != 2 {
  5139. return fmt.Errorf("proto: wrong wireType = %d for field JumpPath", wireType)
  5140. }
  5141. var stringLen uint64
  5142. for shift := uint(0); ; shift += 7 {
  5143. if shift >= 64 {
  5144. return ErrIntOverflowApi
  5145. }
  5146. if iNdEx >= l {
  5147. return io.ErrUnexpectedEOF
  5148. }
  5149. b := dAtA[iNdEx]
  5150. iNdEx++
  5151. stringLen |= (uint64(b) & 0x7F) << shift
  5152. if b < 0x80 {
  5153. break
  5154. }
  5155. }
  5156. intStringLen := int(stringLen)
  5157. if intStringLen < 0 {
  5158. return ErrInvalidLengthApi
  5159. }
  5160. postIndex := iNdEx + intStringLen
  5161. if postIndex > l {
  5162. return io.ErrUnexpectedEOF
  5163. }
  5164. m.JumpPath = string(dAtA[iNdEx:postIndex])
  5165. iNdEx = postIndex
  5166. case 4:
  5167. if wireType != 0 {
  5168. return fmt.Errorf("proto: wrong wireType = %d for field JumpTime", wireType)
  5169. }
  5170. m.JumpTime = 0
  5171. for shift := uint(0); ; shift += 7 {
  5172. if shift >= 64 {
  5173. return ErrIntOverflowApi
  5174. }
  5175. if iNdEx >= l {
  5176. return io.ErrUnexpectedEOF
  5177. }
  5178. b := dAtA[iNdEx]
  5179. iNdEx++
  5180. m.JumpTime |= (int64(b) & 0x7F) << shift
  5181. if b < 0x80 {
  5182. break
  5183. }
  5184. }
  5185. case 5:
  5186. if wireType != 0 {
  5187. return fmt.Errorf("proto: wrong wireType = %d for field JumpPathType", wireType)
  5188. }
  5189. m.JumpPathType = 0
  5190. for shift := uint(0); ; shift += 7 {
  5191. if shift >= 64 {
  5192. return ErrIntOverflowApi
  5193. }
  5194. if iNdEx >= l {
  5195. return io.ErrUnexpectedEOF
  5196. }
  5197. b := dAtA[iNdEx]
  5198. iNdEx++
  5199. m.JumpPathType |= (int64(b) & 0x7F) << shift
  5200. if b < 0x80 {
  5201. break
  5202. }
  5203. }
  5204. case 6:
  5205. if wireType != 2 {
  5206. return fmt.Errorf("proto: wrong wireType = %d for field ImageUrl", wireType)
  5207. }
  5208. var stringLen uint64
  5209. for shift := uint(0); ; shift += 7 {
  5210. if shift >= 64 {
  5211. return ErrIntOverflowApi
  5212. }
  5213. if iNdEx >= l {
  5214. return io.ErrUnexpectedEOF
  5215. }
  5216. b := dAtA[iNdEx]
  5217. iNdEx++
  5218. stringLen |= (uint64(b) & 0x7F) << shift
  5219. if b < 0x80 {
  5220. break
  5221. }
  5222. }
  5223. intStringLen := int(stringLen)
  5224. if intStringLen < 0 {
  5225. return ErrInvalidLengthApi
  5226. }
  5227. postIndex := iNdEx + intStringLen
  5228. if postIndex > l {
  5229. return io.ErrUnexpectedEOF
  5230. }
  5231. m.ImageUrl = string(dAtA[iNdEx:postIndex])
  5232. iNdEx = postIndex
  5233. default:
  5234. iNdEx = preIndex
  5235. skippy, err := skipApi(dAtA[iNdEx:])
  5236. if err != nil {
  5237. return err
  5238. }
  5239. if skippy < 0 {
  5240. return ErrInvalidLengthApi
  5241. }
  5242. if (iNdEx + skippy) > l {
  5243. return io.ErrUnexpectedEOF
  5244. }
  5245. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5246. iNdEx += skippy
  5247. }
  5248. }
  5249. if iNdEx > l {
  5250. return io.ErrUnexpectedEOF
  5251. }
  5252. return nil
  5253. }
  5254. func (m *GetBlinkBannerReq) Unmarshal(dAtA []byte) error {
  5255. l := len(dAtA)
  5256. iNdEx := 0
  5257. for iNdEx < l {
  5258. preIndex := iNdEx
  5259. var wire uint64
  5260. for shift := uint(0); ; shift += 7 {
  5261. if shift >= 64 {
  5262. return ErrIntOverflowApi
  5263. }
  5264. if iNdEx >= l {
  5265. return io.ErrUnexpectedEOF
  5266. }
  5267. b := dAtA[iNdEx]
  5268. iNdEx++
  5269. wire |= (uint64(b) & 0x7F) << shift
  5270. if b < 0x80 {
  5271. break
  5272. }
  5273. }
  5274. fieldNum := int32(wire >> 3)
  5275. wireType := int(wire & 0x7)
  5276. if wireType == 4 {
  5277. return fmt.Errorf("proto: GetBlinkBannerReq: wiretype end group for non-group")
  5278. }
  5279. if fieldNum <= 0 {
  5280. return fmt.Errorf("proto: GetBlinkBannerReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5281. }
  5282. switch fieldNum {
  5283. case 1:
  5284. if wireType != 2 {
  5285. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  5286. }
  5287. var stringLen uint64
  5288. for shift := uint(0); ; shift += 7 {
  5289. if shift >= 64 {
  5290. return ErrIntOverflowApi
  5291. }
  5292. if iNdEx >= l {
  5293. return io.ErrUnexpectedEOF
  5294. }
  5295. b := dAtA[iNdEx]
  5296. iNdEx++
  5297. stringLen |= (uint64(b) & 0x7F) << shift
  5298. if b < 0x80 {
  5299. break
  5300. }
  5301. }
  5302. intStringLen := int(stringLen)
  5303. if intStringLen < 0 {
  5304. return ErrInvalidLengthApi
  5305. }
  5306. postIndex := iNdEx + intStringLen
  5307. if postIndex > l {
  5308. return io.ErrUnexpectedEOF
  5309. }
  5310. m.Platform = string(dAtA[iNdEx:postIndex])
  5311. iNdEx = postIndex
  5312. case 2:
  5313. if wireType != 0 {
  5314. return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
  5315. }
  5316. m.Build = 0
  5317. for shift := uint(0); ; shift += 7 {
  5318. if shift >= 64 {
  5319. return ErrIntOverflowApi
  5320. }
  5321. if iNdEx >= l {
  5322. return io.ErrUnexpectedEOF
  5323. }
  5324. b := dAtA[iNdEx]
  5325. iNdEx++
  5326. m.Build |= (int64(b) & 0x7F) << shift
  5327. if b < 0x80 {
  5328. break
  5329. }
  5330. }
  5331. default:
  5332. iNdEx = preIndex
  5333. skippy, err := skipApi(dAtA[iNdEx:])
  5334. if err != nil {
  5335. return err
  5336. }
  5337. if skippy < 0 {
  5338. return ErrInvalidLengthApi
  5339. }
  5340. if (iNdEx + skippy) > l {
  5341. return io.ErrUnexpectedEOF
  5342. }
  5343. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5344. iNdEx += skippy
  5345. }
  5346. }
  5347. if iNdEx > l {
  5348. return io.ErrUnexpectedEOF
  5349. }
  5350. return nil
  5351. }
  5352. func (m *GetBlinkBannerResp) Unmarshal(dAtA []byte) error {
  5353. l := len(dAtA)
  5354. iNdEx := 0
  5355. for iNdEx < l {
  5356. preIndex := iNdEx
  5357. var wire uint64
  5358. for shift := uint(0); ; shift += 7 {
  5359. if shift >= 64 {
  5360. return ErrIntOverflowApi
  5361. }
  5362. if iNdEx >= l {
  5363. return io.ErrUnexpectedEOF
  5364. }
  5365. b := dAtA[iNdEx]
  5366. iNdEx++
  5367. wire |= (uint64(b) & 0x7F) << shift
  5368. if b < 0x80 {
  5369. break
  5370. }
  5371. }
  5372. fieldNum := int32(wire >> 3)
  5373. wireType := int(wire & 0x7)
  5374. if wireType == 4 {
  5375. return fmt.Errorf("proto: GetBlinkBannerResp: wiretype end group for non-group")
  5376. }
  5377. if fieldNum <= 0 {
  5378. return fmt.Errorf("proto: GetBlinkBannerResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5379. }
  5380. switch fieldNum {
  5381. case 1:
  5382. if wireType != 0 {
  5383. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  5384. }
  5385. m.Id = 0
  5386. for shift := uint(0); ; shift += 7 {
  5387. if shift >= 64 {
  5388. return ErrIntOverflowApi
  5389. }
  5390. if iNdEx >= l {
  5391. return io.ErrUnexpectedEOF
  5392. }
  5393. b := dAtA[iNdEx]
  5394. iNdEx++
  5395. m.Id |= (int64(b) & 0x7F) << shift
  5396. if b < 0x80 {
  5397. break
  5398. }
  5399. }
  5400. case 2:
  5401. if wireType != 2 {
  5402. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  5403. }
  5404. var stringLen uint64
  5405. for shift := uint(0); ; shift += 7 {
  5406. if shift >= 64 {
  5407. return ErrIntOverflowApi
  5408. }
  5409. if iNdEx >= l {
  5410. return io.ErrUnexpectedEOF
  5411. }
  5412. b := dAtA[iNdEx]
  5413. iNdEx++
  5414. stringLen |= (uint64(b) & 0x7F) << shift
  5415. if b < 0x80 {
  5416. break
  5417. }
  5418. }
  5419. intStringLen := int(stringLen)
  5420. if intStringLen < 0 {
  5421. return ErrInvalidLengthApi
  5422. }
  5423. postIndex := iNdEx + intStringLen
  5424. if postIndex > l {
  5425. return io.ErrUnexpectedEOF
  5426. }
  5427. m.Title = string(dAtA[iNdEx:postIndex])
  5428. iNdEx = postIndex
  5429. case 3:
  5430. if wireType != 2 {
  5431. return fmt.Errorf("proto: wrong wireType = %d for field JumpPath", wireType)
  5432. }
  5433. var stringLen uint64
  5434. for shift := uint(0); ; shift += 7 {
  5435. if shift >= 64 {
  5436. return ErrIntOverflowApi
  5437. }
  5438. if iNdEx >= l {
  5439. return io.ErrUnexpectedEOF
  5440. }
  5441. b := dAtA[iNdEx]
  5442. iNdEx++
  5443. stringLen |= (uint64(b) & 0x7F) << shift
  5444. if b < 0x80 {
  5445. break
  5446. }
  5447. }
  5448. intStringLen := int(stringLen)
  5449. if intStringLen < 0 {
  5450. return ErrInvalidLengthApi
  5451. }
  5452. postIndex := iNdEx + intStringLen
  5453. if postIndex > l {
  5454. return io.ErrUnexpectedEOF
  5455. }
  5456. m.JumpPath = string(dAtA[iNdEx:postIndex])
  5457. iNdEx = postIndex
  5458. case 4:
  5459. if wireType != 0 {
  5460. return fmt.Errorf("proto: wrong wireType = %d for field JumpTime", wireType)
  5461. }
  5462. m.JumpTime = 0
  5463. for shift := uint(0); ; shift += 7 {
  5464. if shift >= 64 {
  5465. return ErrIntOverflowApi
  5466. }
  5467. if iNdEx >= l {
  5468. return io.ErrUnexpectedEOF
  5469. }
  5470. b := dAtA[iNdEx]
  5471. iNdEx++
  5472. m.JumpTime |= (int64(b) & 0x7F) << shift
  5473. if b < 0x80 {
  5474. break
  5475. }
  5476. }
  5477. case 5:
  5478. if wireType != 0 {
  5479. return fmt.Errorf("proto: wrong wireType = %d for field JumpPathType", wireType)
  5480. }
  5481. m.JumpPathType = 0
  5482. for shift := uint(0); ; shift += 7 {
  5483. if shift >= 64 {
  5484. return ErrIntOverflowApi
  5485. }
  5486. if iNdEx >= l {
  5487. return io.ErrUnexpectedEOF
  5488. }
  5489. b := dAtA[iNdEx]
  5490. iNdEx++
  5491. m.JumpPathType |= (int64(b) & 0x7F) << shift
  5492. if b < 0x80 {
  5493. break
  5494. }
  5495. }
  5496. case 6:
  5497. if wireType != 2 {
  5498. return fmt.Errorf("proto: wrong wireType = %d for field ImageUrl", wireType)
  5499. }
  5500. var stringLen uint64
  5501. for shift := uint(0); ; shift += 7 {
  5502. if shift >= 64 {
  5503. return ErrIntOverflowApi
  5504. }
  5505. if iNdEx >= l {
  5506. return io.ErrUnexpectedEOF
  5507. }
  5508. b := dAtA[iNdEx]
  5509. iNdEx++
  5510. stringLen |= (uint64(b) & 0x7F) << shift
  5511. if b < 0x80 {
  5512. break
  5513. }
  5514. }
  5515. intStringLen := int(stringLen)
  5516. if intStringLen < 0 {
  5517. return ErrInvalidLengthApi
  5518. }
  5519. postIndex := iNdEx + intStringLen
  5520. if postIndex > l {
  5521. return io.ErrUnexpectedEOF
  5522. }
  5523. m.ImageUrl = string(dAtA[iNdEx:postIndex])
  5524. iNdEx = postIndex
  5525. default:
  5526. iNdEx = preIndex
  5527. skippy, err := skipApi(dAtA[iNdEx:])
  5528. if err != nil {
  5529. return err
  5530. }
  5531. if skippy < 0 {
  5532. return ErrInvalidLengthApi
  5533. }
  5534. if (iNdEx + skippy) > l {
  5535. return io.ErrUnexpectedEOF
  5536. }
  5537. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5538. iNdEx += skippy
  5539. }
  5540. }
  5541. if iNdEx > l {
  5542. return io.ErrUnexpectedEOF
  5543. }
  5544. return nil
  5545. }
  5546. func (m *GetBannerReq) Unmarshal(dAtA []byte) error {
  5547. l := len(dAtA)
  5548. iNdEx := 0
  5549. for iNdEx < l {
  5550. preIndex := iNdEx
  5551. var wire uint64
  5552. for shift := uint(0); ; shift += 7 {
  5553. if shift >= 64 {
  5554. return ErrIntOverflowApi
  5555. }
  5556. if iNdEx >= l {
  5557. return io.ErrUnexpectedEOF
  5558. }
  5559. b := dAtA[iNdEx]
  5560. iNdEx++
  5561. wire |= (uint64(b) & 0x7F) << shift
  5562. if b < 0x80 {
  5563. break
  5564. }
  5565. }
  5566. fieldNum := int32(wire >> 3)
  5567. wireType := int(wire & 0x7)
  5568. if wireType == 4 {
  5569. return fmt.Errorf("proto: GetBannerReq: wiretype end group for non-group")
  5570. }
  5571. if fieldNum <= 0 {
  5572. return fmt.Errorf("proto: GetBannerReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5573. }
  5574. switch fieldNum {
  5575. case 1:
  5576. if wireType != 2 {
  5577. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  5578. }
  5579. var stringLen uint64
  5580. for shift := uint(0); ; shift += 7 {
  5581. if shift >= 64 {
  5582. return ErrIntOverflowApi
  5583. }
  5584. if iNdEx >= l {
  5585. return io.ErrUnexpectedEOF
  5586. }
  5587. b := dAtA[iNdEx]
  5588. iNdEx++
  5589. stringLen |= (uint64(b) & 0x7F) << shift
  5590. if b < 0x80 {
  5591. break
  5592. }
  5593. }
  5594. intStringLen := int(stringLen)
  5595. if intStringLen < 0 {
  5596. return ErrInvalidLengthApi
  5597. }
  5598. postIndex := iNdEx + intStringLen
  5599. if postIndex > l {
  5600. return io.ErrUnexpectedEOF
  5601. }
  5602. m.Platform = string(dAtA[iNdEx:postIndex])
  5603. iNdEx = postIndex
  5604. case 2:
  5605. if wireType != 0 {
  5606. return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
  5607. }
  5608. m.Build = 0
  5609. for shift := uint(0); ; shift += 7 {
  5610. if shift >= 64 {
  5611. return ErrIntOverflowApi
  5612. }
  5613. if iNdEx >= l {
  5614. return io.ErrUnexpectedEOF
  5615. }
  5616. b := dAtA[iNdEx]
  5617. iNdEx++
  5618. m.Build |= (int64(b) & 0x7F) << shift
  5619. if b < 0x80 {
  5620. break
  5621. }
  5622. }
  5623. case 3:
  5624. if wireType != 2 {
  5625. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  5626. }
  5627. var stringLen uint64
  5628. for shift := uint(0); ; shift += 7 {
  5629. if shift >= 64 {
  5630. return ErrIntOverflowApi
  5631. }
  5632. if iNdEx >= l {
  5633. return io.ErrUnexpectedEOF
  5634. }
  5635. b := dAtA[iNdEx]
  5636. iNdEx++
  5637. stringLen |= (uint64(b) & 0x7F) << shift
  5638. if b < 0x80 {
  5639. break
  5640. }
  5641. }
  5642. intStringLen := int(stringLen)
  5643. if intStringLen < 0 {
  5644. return ErrInvalidLengthApi
  5645. }
  5646. postIndex := iNdEx + intStringLen
  5647. if postIndex > l {
  5648. return io.ErrUnexpectedEOF
  5649. }
  5650. m.Type = string(dAtA[iNdEx:postIndex])
  5651. iNdEx = postIndex
  5652. default:
  5653. iNdEx = preIndex
  5654. skippy, err := skipApi(dAtA[iNdEx:])
  5655. if err != nil {
  5656. return err
  5657. }
  5658. if skippy < 0 {
  5659. return ErrInvalidLengthApi
  5660. }
  5661. if (iNdEx + skippy) > l {
  5662. return io.ErrUnexpectedEOF
  5663. }
  5664. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5665. iNdEx += skippy
  5666. }
  5667. }
  5668. if iNdEx > l {
  5669. return io.ErrUnexpectedEOF
  5670. }
  5671. return nil
  5672. }
  5673. func (m *GetBannerResp) Unmarshal(dAtA []byte) error {
  5674. l := len(dAtA)
  5675. iNdEx := 0
  5676. for iNdEx < l {
  5677. preIndex := iNdEx
  5678. var wire uint64
  5679. for shift := uint(0); ; shift += 7 {
  5680. if shift >= 64 {
  5681. return ErrIntOverflowApi
  5682. }
  5683. if iNdEx >= l {
  5684. return io.ErrUnexpectedEOF
  5685. }
  5686. b := dAtA[iNdEx]
  5687. iNdEx++
  5688. wire |= (uint64(b) & 0x7F) << shift
  5689. if b < 0x80 {
  5690. break
  5691. }
  5692. }
  5693. fieldNum := int32(wire >> 3)
  5694. wireType := int(wire & 0x7)
  5695. if wireType == 4 {
  5696. return fmt.Errorf("proto: GetBannerResp: wiretype end group for non-group")
  5697. }
  5698. if fieldNum <= 0 {
  5699. return fmt.Errorf("proto: GetBannerResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5700. }
  5701. switch fieldNum {
  5702. case 1:
  5703. if wireType != 2 {
  5704. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  5705. }
  5706. var msglen int
  5707. for shift := uint(0); ; shift += 7 {
  5708. if shift >= 64 {
  5709. return ErrIntOverflowApi
  5710. }
  5711. if iNdEx >= l {
  5712. return io.ErrUnexpectedEOF
  5713. }
  5714. b := dAtA[iNdEx]
  5715. iNdEx++
  5716. msglen |= (int(b) & 0x7F) << shift
  5717. if b < 0x80 {
  5718. break
  5719. }
  5720. }
  5721. if msglen < 0 {
  5722. return ErrInvalidLengthApi
  5723. }
  5724. postIndex := iNdEx + msglen
  5725. if postIndex > l {
  5726. return io.ErrUnexpectedEOF
  5727. }
  5728. m.List = append(m.List, &GetBannerResp_List{})
  5729. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5730. return err
  5731. }
  5732. iNdEx = postIndex
  5733. default:
  5734. iNdEx = preIndex
  5735. skippy, err := skipApi(dAtA[iNdEx:])
  5736. if err != nil {
  5737. return err
  5738. }
  5739. if skippy < 0 {
  5740. return ErrInvalidLengthApi
  5741. }
  5742. if (iNdEx + skippy) > l {
  5743. return io.ErrUnexpectedEOF
  5744. }
  5745. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5746. iNdEx += skippy
  5747. }
  5748. }
  5749. if iNdEx > l {
  5750. return io.ErrUnexpectedEOF
  5751. }
  5752. return nil
  5753. }
  5754. func (m *GetBannerResp_List) Unmarshal(dAtA []byte) error {
  5755. l := len(dAtA)
  5756. iNdEx := 0
  5757. for iNdEx < l {
  5758. preIndex := iNdEx
  5759. var wire uint64
  5760. for shift := uint(0); ; shift += 7 {
  5761. if shift >= 64 {
  5762. return ErrIntOverflowApi
  5763. }
  5764. if iNdEx >= l {
  5765. return io.ErrUnexpectedEOF
  5766. }
  5767. b := dAtA[iNdEx]
  5768. iNdEx++
  5769. wire |= (uint64(b) & 0x7F) << shift
  5770. if b < 0x80 {
  5771. break
  5772. }
  5773. }
  5774. fieldNum := int32(wire >> 3)
  5775. wireType := int(wire & 0x7)
  5776. if wireType == 4 {
  5777. return fmt.Errorf("proto: List: wiretype end group for non-group")
  5778. }
  5779. if fieldNum <= 0 {
  5780. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  5781. }
  5782. switch fieldNum {
  5783. case 1:
  5784. if wireType != 0 {
  5785. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  5786. }
  5787. m.Id = 0
  5788. for shift := uint(0); ; shift += 7 {
  5789. if shift >= 64 {
  5790. return ErrIntOverflowApi
  5791. }
  5792. if iNdEx >= l {
  5793. return io.ErrUnexpectedEOF
  5794. }
  5795. b := dAtA[iNdEx]
  5796. iNdEx++
  5797. m.Id |= (int64(b) & 0x7F) << shift
  5798. if b < 0x80 {
  5799. break
  5800. }
  5801. }
  5802. case 2:
  5803. if wireType != 2 {
  5804. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  5805. }
  5806. var stringLen uint64
  5807. for shift := uint(0); ; shift += 7 {
  5808. if shift >= 64 {
  5809. return ErrIntOverflowApi
  5810. }
  5811. if iNdEx >= l {
  5812. return io.ErrUnexpectedEOF
  5813. }
  5814. b := dAtA[iNdEx]
  5815. iNdEx++
  5816. stringLen |= (uint64(b) & 0x7F) << shift
  5817. if b < 0x80 {
  5818. break
  5819. }
  5820. }
  5821. intStringLen := int(stringLen)
  5822. if intStringLen < 0 {
  5823. return ErrInvalidLengthApi
  5824. }
  5825. postIndex := iNdEx + intStringLen
  5826. if postIndex > l {
  5827. return io.ErrUnexpectedEOF
  5828. }
  5829. m.Title = string(dAtA[iNdEx:postIndex])
  5830. iNdEx = postIndex
  5831. case 3:
  5832. if wireType != 2 {
  5833. return fmt.Errorf("proto: wrong wireType = %d for field JumpPath", wireType)
  5834. }
  5835. var stringLen uint64
  5836. for shift := uint(0); ; shift += 7 {
  5837. if shift >= 64 {
  5838. return ErrIntOverflowApi
  5839. }
  5840. if iNdEx >= l {
  5841. return io.ErrUnexpectedEOF
  5842. }
  5843. b := dAtA[iNdEx]
  5844. iNdEx++
  5845. stringLen |= (uint64(b) & 0x7F) << shift
  5846. if b < 0x80 {
  5847. break
  5848. }
  5849. }
  5850. intStringLen := int(stringLen)
  5851. if intStringLen < 0 {
  5852. return ErrInvalidLengthApi
  5853. }
  5854. postIndex := iNdEx + intStringLen
  5855. if postIndex > l {
  5856. return io.ErrUnexpectedEOF
  5857. }
  5858. m.JumpPath = string(dAtA[iNdEx:postIndex])
  5859. iNdEx = postIndex
  5860. case 4:
  5861. if wireType != 0 {
  5862. return fmt.Errorf("proto: wrong wireType = %d for field JumpTime", wireType)
  5863. }
  5864. m.JumpTime = 0
  5865. for shift := uint(0); ; shift += 7 {
  5866. if shift >= 64 {
  5867. return ErrIntOverflowApi
  5868. }
  5869. if iNdEx >= l {
  5870. return io.ErrUnexpectedEOF
  5871. }
  5872. b := dAtA[iNdEx]
  5873. iNdEx++
  5874. m.JumpTime |= (int64(b) & 0x7F) << shift
  5875. if b < 0x80 {
  5876. break
  5877. }
  5878. }
  5879. case 5:
  5880. if wireType != 0 {
  5881. return fmt.Errorf("proto: wrong wireType = %d for field JumpPathType", wireType)
  5882. }
  5883. m.JumpPathType = 0
  5884. for shift := uint(0); ; shift += 7 {
  5885. if shift >= 64 {
  5886. return ErrIntOverflowApi
  5887. }
  5888. if iNdEx >= l {
  5889. return io.ErrUnexpectedEOF
  5890. }
  5891. b := dAtA[iNdEx]
  5892. iNdEx++
  5893. m.JumpPathType |= (int64(b) & 0x7F) << shift
  5894. if b < 0x80 {
  5895. break
  5896. }
  5897. }
  5898. case 6:
  5899. if wireType != 2 {
  5900. return fmt.Errorf("proto: wrong wireType = %d for field ImageUrl", wireType)
  5901. }
  5902. var stringLen uint64
  5903. for shift := uint(0); ; shift += 7 {
  5904. if shift >= 64 {
  5905. return ErrIntOverflowApi
  5906. }
  5907. if iNdEx >= l {
  5908. return io.ErrUnexpectedEOF
  5909. }
  5910. b := dAtA[iNdEx]
  5911. iNdEx++
  5912. stringLen |= (uint64(b) & 0x7F) << shift
  5913. if b < 0x80 {
  5914. break
  5915. }
  5916. }
  5917. intStringLen := int(stringLen)
  5918. if intStringLen < 0 {
  5919. return ErrInvalidLengthApi
  5920. }
  5921. postIndex := iNdEx + intStringLen
  5922. if postIndex > l {
  5923. return io.ErrUnexpectedEOF
  5924. }
  5925. m.ImageUrl = string(dAtA[iNdEx:postIndex])
  5926. iNdEx = postIndex
  5927. default:
  5928. iNdEx = preIndex
  5929. skippy, err := skipApi(dAtA[iNdEx:])
  5930. if err != nil {
  5931. return err
  5932. }
  5933. if skippy < 0 {
  5934. return ErrInvalidLengthApi
  5935. }
  5936. if (iNdEx + skippy) > l {
  5937. return io.ErrUnexpectedEOF
  5938. }
  5939. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5940. iNdEx += skippy
  5941. }
  5942. }
  5943. if iNdEx > l {
  5944. return io.ErrUnexpectedEOF
  5945. }
  5946. return nil
  5947. }
  5948. func (m *GetPlatformListReq) Unmarshal(dAtA []byte) error {
  5949. l := len(dAtA)
  5950. iNdEx := 0
  5951. for iNdEx < l {
  5952. preIndex := iNdEx
  5953. var wire uint64
  5954. for shift := uint(0); ; shift += 7 {
  5955. if shift >= 64 {
  5956. return ErrIntOverflowApi
  5957. }
  5958. if iNdEx >= l {
  5959. return io.ErrUnexpectedEOF
  5960. }
  5961. b := dAtA[iNdEx]
  5962. iNdEx++
  5963. wire |= (uint64(b) & 0x7F) << shift
  5964. if b < 0x80 {
  5965. break
  5966. }
  5967. }
  5968. fieldNum := int32(wire >> 3)
  5969. wireType := int(wire & 0x7)
  5970. if wireType == 4 {
  5971. return fmt.Errorf("proto: GetPlatformListReq: wiretype end group for non-group")
  5972. }
  5973. if fieldNum <= 0 {
  5974. return fmt.Errorf("proto: GetPlatformListReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5975. }
  5976. switch fieldNum {
  5977. case 1:
  5978. if wireType != 0 {
  5979. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  5980. }
  5981. m.Type = 0
  5982. for shift := uint(0); ; shift += 7 {
  5983. if shift >= 64 {
  5984. return ErrIntOverflowApi
  5985. }
  5986. if iNdEx >= l {
  5987. return io.ErrUnexpectedEOF
  5988. }
  5989. b := dAtA[iNdEx]
  5990. iNdEx++
  5991. m.Type |= (int64(b) & 0x7F) << shift
  5992. if b < 0x80 {
  5993. break
  5994. }
  5995. }
  5996. default:
  5997. iNdEx = preIndex
  5998. skippy, err := skipApi(dAtA[iNdEx:])
  5999. if err != nil {
  6000. return err
  6001. }
  6002. if skippy < 0 {
  6003. return ErrInvalidLengthApi
  6004. }
  6005. if (iNdEx + skippy) > l {
  6006. return io.ErrUnexpectedEOF
  6007. }
  6008. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6009. iNdEx += skippy
  6010. }
  6011. }
  6012. if iNdEx > l {
  6013. return io.ErrUnexpectedEOF
  6014. }
  6015. return nil
  6016. }
  6017. func (m *GetPlatformListResp) Unmarshal(dAtA []byte) error {
  6018. l := len(dAtA)
  6019. iNdEx := 0
  6020. for iNdEx < l {
  6021. preIndex := iNdEx
  6022. var wire uint64
  6023. for shift := uint(0); ; shift += 7 {
  6024. if shift >= 64 {
  6025. return ErrIntOverflowApi
  6026. }
  6027. if iNdEx >= l {
  6028. return io.ErrUnexpectedEOF
  6029. }
  6030. b := dAtA[iNdEx]
  6031. iNdEx++
  6032. wire |= (uint64(b) & 0x7F) << shift
  6033. if b < 0x80 {
  6034. break
  6035. }
  6036. }
  6037. fieldNum := int32(wire >> 3)
  6038. wireType := int(wire & 0x7)
  6039. if wireType == 4 {
  6040. return fmt.Errorf("proto: GetPlatformListResp: wiretype end group for non-group")
  6041. }
  6042. if fieldNum <= 0 {
  6043. return fmt.Errorf("proto: GetPlatformListResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6044. }
  6045. switch fieldNum {
  6046. case 1:
  6047. if wireType != 2 {
  6048. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  6049. }
  6050. var stringLen uint64
  6051. for shift := uint(0); ; shift += 7 {
  6052. if shift >= 64 {
  6053. return ErrIntOverflowApi
  6054. }
  6055. if iNdEx >= l {
  6056. return io.ErrUnexpectedEOF
  6057. }
  6058. b := dAtA[iNdEx]
  6059. iNdEx++
  6060. stringLen |= (uint64(b) & 0x7F) << shift
  6061. if b < 0x80 {
  6062. break
  6063. }
  6064. }
  6065. intStringLen := int(stringLen)
  6066. if intStringLen < 0 {
  6067. return ErrInvalidLengthApi
  6068. }
  6069. postIndex := iNdEx + intStringLen
  6070. if postIndex > l {
  6071. return io.ErrUnexpectedEOF
  6072. }
  6073. m.Platform = append(m.Platform, string(dAtA[iNdEx:postIndex]))
  6074. iNdEx = postIndex
  6075. default:
  6076. iNdEx = preIndex
  6077. skippy, err := skipApi(dAtA[iNdEx:])
  6078. if err != nil {
  6079. return err
  6080. }
  6081. if skippy < 0 {
  6082. return ErrInvalidLengthApi
  6083. }
  6084. if (iNdEx + skippy) > l {
  6085. return io.ErrUnexpectedEOF
  6086. }
  6087. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6088. iNdEx += skippy
  6089. }
  6090. }
  6091. if iNdEx > l {
  6092. return io.ErrUnexpectedEOF
  6093. }
  6094. return nil
  6095. }
  6096. func (m *GetListExReq) Unmarshal(dAtA []byte) error {
  6097. l := len(dAtA)
  6098. iNdEx := 0
  6099. for iNdEx < l {
  6100. preIndex := iNdEx
  6101. var wire uint64
  6102. for shift := uint(0); ; shift += 7 {
  6103. if shift >= 64 {
  6104. return ErrIntOverflowApi
  6105. }
  6106. if iNdEx >= l {
  6107. return io.ErrUnexpectedEOF
  6108. }
  6109. b := dAtA[iNdEx]
  6110. iNdEx++
  6111. wire |= (uint64(b) & 0x7F) << shift
  6112. if b < 0x80 {
  6113. break
  6114. }
  6115. }
  6116. fieldNum := int32(wire >> 3)
  6117. wireType := int(wire & 0x7)
  6118. if wireType == 4 {
  6119. return fmt.Errorf("proto: GetListExReq: wiretype end group for non-group")
  6120. }
  6121. if fieldNum <= 0 {
  6122. return fmt.Errorf("proto: GetListExReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6123. }
  6124. switch fieldNum {
  6125. case 1:
  6126. if wireType != 2 {
  6127. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  6128. }
  6129. var stringLen uint64
  6130. for shift := uint(0); ; shift += 7 {
  6131. if shift >= 64 {
  6132. return ErrIntOverflowApi
  6133. }
  6134. if iNdEx >= l {
  6135. return io.ErrUnexpectedEOF
  6136. }
  6137. b := dAtA[iNdEx]
  6138. iNdEx++
  6139. stringLen |= (uint64(b) & 0x7F) << shift
  6140. if b < 0x80 {
  6141. break
  6142. }
  6143. }
  6144. intStringLen := int(stringLen)
  6145. if intStringLen < 0 {
  6146. return ErrInvalidLengthApi
  6147. }
  6148. postIndex := iNdEx + intStringLen
  6149. if postIndex > l {
  6150. return io.ErrUnexpectedEOF
  6151. }
  6152. m.Platform = string(dAtA[iNdEx:postIndex])
  6153. iNdEx = postIndex
  6154. case 2:
  6155. if wireType != 0 {
  6156. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  6157. }
  6158. m.Page = 0
  6159. for shift := uint(0); ; shift += 7 {
  6160. if shift >= 64 {
  6161. return ErrIntOverflowApi
  6162. }
  6163. if iNdEx >= l {
  6164. return io.ErrUnexpectedEOF
  6165. }
  6166. b := dAtA[iNdEx]
  6167. iNdEx++
  6168. m.Page |= (int64(b) & 0x7F) << shift
  6169. if b < 0x80 {
  6170. break
  6171. }
  6172. }
  6173. case 3:
  6174. if wireType != 0 {
  6175. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  6176. }
  6177. m.PageSize = 0
  6178. for shift := uint(0); ; shift += 7 {
  6179. if shift >= 64 {
  6180. return ErrIntOverflowApi
  6181. }
  6182. if iNdEx >= l {
  6183. return io.ErrUnexpectedEOF
  6184. }
  6185. b := dAtA[iNdEx]
  6186. iNdEx++
  6187. m.PageSize |= (int64(b) & 0x7F) << shift
  6188. if b < 0x80 {
  6189. break
  6190. }
  6191. }
  6192. case 4:
  6193. if wireType != 2 {
  6194. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  6195. }
  6196. var stringLen uint64
  6197. for shift := uint(0); ; shift += 7 {
  6198. if shift >= 64 {
  6199. return ErrIntOverflowApi
  6200. }
  6201. if iNdEx >= l {
  6202. return io.ErrUnexpectedEOF
  6203. }
  6204. b := dAtA[iNdEx]
  6205. iNdEx++
  6206. stringLen |= (uint64(b) & 0x7F) << shift
  6207. if b < 0x80 {
  6208. break
  6209. }
  6210. }
  6211. intStringLen := int(stringLen)
  6212. if intStringLen < 0 {
  6213. return ErrInvalidLengthApi
  6214. }
  6215. postIndex := iNdEx + intStringLen
  6216. if postIndex > l {
  6217. return io.ErrUnexpectedEOF
  6218. }
  6219. m.Type = append(m.Type, string(dAtA[iNdEx:postIndex]))
  6220. iNdEx = postIndex
  6221. case 5:
  6222. if wireType != 2 {
  6223. return fmt.Errorf("proto: wrong wireType = %d for field DevicePlatform", wireType)
  6224. }
  6225. var stringLen uint64
  6226. for shift := uint(0); ; shift += 7 {
  6227. if shift >= 64 {
  6228. return ErrIntOverflowApi
  6229. }
  6230. if iNdEx >= l {
  6231. return io.ErrUnexpectedEOF
  6232. }
  6233. b := dAtA[iNdEx]
  6234. iNdEx++
  6235. stringLen |= (uint64(b) & 0x7F) << shift
  6236. if b < 0x80 {
  6237. break
  6238. }
  6239. }
  6240. intStringLen := int(stringLen)
  6241. if intStringLen < 0 {
  6242. return ErrInvalidLengthApi
  6243. }
  6244. postIndex := iNdEx + intStringLen
  6245. if postIndex > l {
  6246. return io.ErrUnexpectedEOF
  6247. }
  6248. m.DevicePlatform = string(dAtA[iNdEx:postIndex])
  6249. iNdEx = postIndex
  6250. case 6:
  6251. if wireType != 2 {
  6252. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  6253. }
  6254. var stringLen uint64
  6255. for shift := uint(0); ; shift += 7 {
  6256. if shift >= 64 {
  6257. return ErrIntOverflowApi
  6258. }
  6259. if iNdEx >= l {
  6260. return io.ErrUnexpectedEOF
  6261. }
  6262. b := dAtA[iNdEx]
  6263. iNdEx++
  6264. stringLen |= (uint64(b) & 0x7F) << shift
  6265. if b < 0x80 {
  6266. break
  6267. }
  6268. }
  6269. intStringLen := int(stringLen)
  6270. if intStringLen < 0 {
  6271. return ErrInvalidLengthApi
  6272. }
  6273. postIndex := iNdEx + intStringLen
  6274. if postIndex > l {
  6275. return io.ErrUnexpectedEOF
  6276. }
  6277. m.Status = string(dAtA[iNdEx:postIndex])
  6278. iNdEx = postIndex
  6279. case 7:
  6280. if wireType != 2 {
  6281. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  6282. }
  6283. var stringLen uint64
  6284. for shift := uint(0); ; shift += 7 {
  6285. if shift >= 64 {
  6286. return ErrIntOverflowApi
  6287. }
  6288. if iNdEx >= l {
  6289. return io.ErrUnexpectedEOF
  6290. }
  6291. b := dAtA[iNdEx]
  6292. iNdEx++
  6293. stringLen |= (uint64(b) & 0x7F) << shift
  6294. if b < 0x80 {
  6295. break
  6296. }
  6297. }
  6298. intStringLen := int(stringLen)
  6299. if intStringLen < 0 {
  6300. return ErrInvalidLengthApi
  6301. }
  6302. postIndex := iNdEx + intStringLen
  6303. if postIndex > l {
  6304. return io.ErrUnexpectedEOF
  6305. }
  6306. m.StartTime = string(dAtA[iNdEx:postIndex])
  6307. iNdEx = postIndex
  6308. case 8:
  6309. if wireType != 2 {
  6310. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  6311. }
  6312. var stringLen uint64
  6313. for shift := uint(0); ; shift += 7 {
  6314. if shift >= 64 {
  6315. return ErrIntOverflowApi
  6316. }
  6317. if iNdEx >= l {
  6318. return io.ErrUnexpectedEOF
  6319. }
  6320. b := dAtA[iNdEx]
  6321. iNdEx++
  6322. stringLen |= (uint64(b) & 0x7F) << shift
  6323. if b < 0x80 {
  6324. break
  6325. }
  6326. }
  6327. intStringLen := int(stringLen)
  6328. if intStringLen < 0 {
  6329. return ErrInvalidLengthApi
  6330. }
  6331. postIndex := iNdEx + intStringLen
  6332. if postIndex > l {
  6333. return io.ErrUnexpectedEOF
  6334. }
  6335. m.EndTime = string(dAtA[iNdEx:postIndex])
  6336. iNdEx = postIndex
  6337. default:
  6338. iNdEx = preIndex
  6339. skippy, err := skipApi(dAtA[iNdEx:])
  6340. if err != nil {
  6341. return err
  6342. }
  6343. if skippy < 0 {
  6344. return ErrInvalidLengthApi
  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 *GetListExResp) 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 ErrIntOverflowApi
  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: GetListExResp: wiretype end group for non-group")
  6382. }
  6383. if fieldNum <= 0 {
  6384. return fmt.Errorf("proto: GetListExResp: 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 CurrentPage", wireType)
  6390. }
  6391. m.CurrentPage = 0
  6392. for shift := uint(0); ; shift += 7 {
  6393. if shift >= 64 {
  6394. return ErrIntOverflowApi
  6395. }
  6396. if iNdEx >= l {
  6397. return io.ErrUnexpectedEOF
  6398. }
  6399. b := dAtA[iNdEx]
  6400. iNdEx++
  6401. m.CurrentPage |= (int64(b) & 0x7F) << shift
  6402. if b < 0x80 {
  6403. break
  6404. }
  6405. }
  6406. case 2:
  6407. if wireType != 0 {
  6408. return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType)
  6409. }
  6410. m.TotalCount = 0
  6411. for shift := uint(0); ; shift += 7 {
  6412. if shift >= 64 {
  6413. return ErrIntOverflowApi
  6414. }
  6415. if iNdEx >= l {
  6416. return io.ErrUnexpectedEOF
  6417. }
  6418. b := dAtA[iNdEx]
  6419. iNdEx++
  6420. m.TotalCount |= (int64(b) & 0x7F) << shift
  6421. if b < 0x80 {
  6422. break
  6423. }
  6424. }
  6425. case 3:
  6426. if wireType != 2 {
  6427. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  6428. }
  6429. var msglen int
  6430. for shift := uint(0); ; shift += 7 {
  6431. if shift >= 64 {
  6432. return ErrIntOverflowApi
  6433. }
  6434. if iNdEx >= l {
  6435. return io.ErrUnexpectedEOF
  6436. }
  6437. b := dAtA[iNdEx]
  6438. iNdEx++
  6439. msglen |= (int(b) & 0x7F) << shift
  6440. if b < 0x80 {
  6441. break
  6442. }
  6443. }
  6444. if msglen < 0 {
  6445. return ErrInvalidLengthApi
  6446. }
  6447. postIndex := iNdEx + msglen
  6448. if postIndex > l {
  6449. return io.ErrUnexpectedEOF
  6450. }
  6451. m.List = append(m.List, &GetListExResp_List{})
  6452. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6453. return err
  6454. }
  6455. iNdEx = postIndex
  6456. default:
  6457. iNdEx = preIndex
  6458. skippy, err := skipApi(dAtA[iNdEx:])
  6459. if err != nil {
  6460. return err
  6461. }
  6462. if skippy < 0 {
  6463. return ErrInvalidLengthApi
  6464. }
  6465. if (iNdEx + skippy) > l {
  6466. return io.ErrUnexpectedEOF
  6467. }
  6468. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6469. iNdEx += skippy
  6470. }
  6471. }
  6472. if iNdEx > l {
  6473. return io.ErrUnexpectedEOF
  6474. }
  6475. return nil
  6476. }
  6477. func (m *GetListExResp_List) Unmarshal(dAtA []byte) error {
  6478. l := len(dAtA)
  6479. iNdEx := 0
  6480. for iNdEx < l {
  6481. preIndex := iNdEx
  6482. var wire uint64
  6483. for shift := uint(0); ; shift += 7 {
  6484. if shift >= 64 {
  6485. return ErrIntOverflowApi
  6486. }
  6487. if iNdEx >= l {
  6488. return io.ErrUnexpectedEOF
  6489. }
  6490. b := dAtA[iNdEx]
  6491. iNdEx++
  6492. wire |= (uint64(b) & 0x7F) << shift
  6493. if b < 0x80 {
  6494. break
  6495. }
  6496. }
  6497. fieldNum := int32(wire >> 3)
  6498. wireType := int(wire & 0x7)
  6499. if wireType == 4 {
  6500. return fmt.Errorf("proto: List: wiretype end group for non-group")
  6501. }
  6502. if fieldNum <= 0 {
  6503. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  6504. }
  6505. switch fieldNum {
  6506. case 1:
  6507. if wireType != 0 {
  6508. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  6509. }
  6510. m.Id = 0
  6511. for shift := uint(0); ; shift += 7 {
  6512. if shift >= 64 {
  6513. return ErrIntOverflowApi
  6514. }
  6515. if iNdEx >= l {
  6516. return io.ErrUnexpectedEOF
  6517. }
  6518. b := dAtA[iNdEx]
  6519. iNdEx++
  6520. m.Id |= (int64(b) & 0x7F) << shift
  6521. if b < 0x80 {
  6522. break
  6523. }
  6524. }
  6525. case 2:
  6526. if wireType != 2 {
  6527. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  6528. }
  6529. var stringLen uint64
  6530. for shift := uint(0); ; shift += 7 {
  6531. if shift >= 64 {
  6532. return ErrIntOverflowApi
  6533. }
  6534. if iNdEx >= l {
  6535. return io.ErrUnexpectedEOF
  6536. }
  6537. b := dAtA[iNdEx]
  6538. iNdEx++
  6539. stringLen |= (uint64(b) & 0x7F) << shift
  6540. if b < 0x80 {
  6541. break
  6542. }
  6543. }
  6544. intStringLen := int(stringLen)
  6545. if intStringLen < 0 {
  6546. return ErrInvalidLengthApi
  6547. }
  6548. postIndex := iNdEx + intStringLen
  6549. if postIndex > l {
  6550. return io.ErrUnexpectedEOF
  6551. }
  6552. m.Title = string(dAtA[iNdEx:postIndex])
  6553. iNdEx = postIndex
  6554. case 3:
  6555. if wireType != 2 {
  6556. return fmt.Errorf("proto: wrong wireType = %d for field JumpPath", wireType)
  6557. }
  6558. var stringLen uint64
  6559. for shift := uint(0); ; shift += 7 {
  6560. if shift >= 64 {
  6561. return ErrIntOverflowApi
  6562. }
  6563. if iNdEx >= l {
  6564. return io.ErrUnexpectedEOF
  6565. }
  6566. b := dAtA[iNdEx]
  6567. iNdEx++
  6568. stringLen |= (uint64(b) & 0x7F) << shift
  6569. if b < 0x80 {
  6570. break
  6571. }
  6572. }
  6573. intStringLen := int(stringLen)
  6574. if intStringLen < 0 {
  6575. return ErrInvalidLengthApi
  6576. }
  6577. postIndex := iNdEx + intStringLen
  6578. if postIndex > l {
  6579. return io.ErrUnexpectedEOF
  6580. }
  6581. m.JumpPath = string(dAtA[iNdEx:postIndex])
  6582. iNdEx = postIndex
  6583. case 4:
  6584. if wireType != 2 {
  6585. return fmt.Errorf("proto: wrong wireType = %d for field DevicePlatform", wireType)
  6586. }
  6587. var stringLen uint64
  6588. for shift := uint(0); ; shift += 7 {
  6589. if shift >= 64 {
  6590. return ErrIntOverflowApi
  6591. }
  6592. if iNdEx >= l {
  6593. return io.ErrUnexpectedEOF
  6594. }
  6595. b := dAtA[iNdEx]
  6596. iNdEx++
  6597. stringLen |= (uint64(b) & 0x7F) << shift
  6598. if b < 0x80 {
  6599. break
  6600. }
  6601. }
  6602. intStringLen := int(stringLen)
  6603. if intStringLen < 0 {
  6604. return ErrInvalidLengthApi
  6605. }
  6606. postIndex := iNdEx + intStringLen
  6607. if postIndex > l {
  6608. return io.ErrUnexpectedEOF
  6609. }
  6610. m.DevicePlatform = string(dAtA[iNdEx:postIndex])
  6611. iNdEx = postIndex
  6612. case 5:
  6613. if wireType != 0 {
  6614. return fmt.Errorf("proto: wrong wireType = %d for field DeviceBuild", wireType)
  6615. }
  6616. m.DeviceBuild = 0
  6617. for shift := uint(0); ; shift += 7 {
  6618. if shift >= 64 {
  6619. return ErrIntOverflowApi
  6620. }
  6621. if iNdEx >= l {
  6622. return io.ErrUnexpectedEOF
  6623. }
  6624. b := dAtA[iNdEx]
  6625. iNdEx++
  6626. m.DeviceBuild |= (int64(b) & 0x7F) << shift
  6627. if b < 0x80 {
  6628. break
  6629. }
  6630. }
  6631. case 6:
  6632. if wireType != 2 {
  6633. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  6634. }
  6635. var stringLen uint64
  6636. for shift := uint(0); ; shift += 7 {
  6637. if shift >= 64 {
  6638. return ErrIntOverflowApi
  6639. }
  6640. if iNdEx >= l {
  6641. return io.ErrUnexpectedEOF
  6642. }
  6643. b := dAtA[iNdEx]
  6644. iNdEx++
  6645. stringLen |= (uint64(b) & 0x7F) << shift
  6646. if b < 0x80 {
  6647. break
  6648. }
  6649. }
  6650. intStringLen := int(stringLen)
  6651. if intStringLen < 0 {
  6652. return ErrInvalidLengthApi
  6653. }
  6654. postIndex := iNdEx + intStringLen
  6655. if postIndex > l {
  6656. return io.ErrUnexpectedEOF
  6657. }
  6658. m.StartTime = string(dAtA[iNdEx:postIndex])
  6659. iNdEx = postIndex
  6660. case 7:
  6661. if wireType != 2 {
  6662. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  6663. }
  6664. var stringLen uint64
  6665. for shift := uint(0); ; shift += 7 {
  6666. if shift >= 64 {
  6667. return ErrIntOverflowApi
  6668. }
  6669. if iNdEx >= l {
  6670. return io.ErrUnexpectedEOF
  6671. }
  6672. b := dAtA[iNdEx]
  6673. iNdEx++
  6674. stringLen |= (uint64(b) & 0x7F) << shift
  6675. if b < 0x80 {
  6676. break
  6677. }
  6678. }
  6679. intStringLen := int(stringLen)
  6680. if intStringLen < 0 {
  6681. return ErrInvalidLengthApi
  6682. }
  6683. postIndex := iNdEx + intStringLen
  6684. if postIndex > l {
  6685. return io.ErrUnexpectedEOF
  6686. }
  6687. m.EndTime = string(dAtA[iNdEx:postIndex])
  6688. iNdEx = postIndex
  6689. case 8:
  6690. if wireType != 0 {
  6691. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  6692. }
  6693. m.Status = 0
  6694. for shift := uint(0); ; shift += 7 {
  6695. if shift >= 64 {
  6696. return ErrIntOverflowApi
  6697. }
  6698. if iNdEx >= l {
  6699. return io.ErrUnexpectedEOF
  6700. }
  6701. b := dAtA[iNdEx]
  6702. iNdEx++
  6703. m.Status |= (int64(b) & 0x7F) << shift
  6704. if b < 0x80 {
  6705. break
  6706. }
  6707. }
  6708. case 9:
  6709. if wireType != 0 {
  6710. return fmt.Errorf("proto: wrong wireType = %d for field DeviceLimit", wireType)
  6711. }
  6712. m.DeviceLimit = 0
  6713. for shift := uint(0); ; shift += 7 {
  6714. if shift >= 64 {
  6715. return ErrIntOverflowApi
  6716. }
  6717. if iNdEx >= l {
  6718. return io.ErrUnexpectedEOF
  6719. }
  6720. b := dAtA[iNdEx]
  6721. iNdEx++
  6722. m.DeviceLimit |= (int64(b) & 0x7F) << shift
  6723. if b < 0x80 {
  6724. break
  6725. }
  6726. }
  6727. case 10:
  6728. if wireType != 2 {
  6729. return fmt.Errorf("proto: wrong wireType = %d for field ImageUrl", wireType)
  6730. }
  6731. var stringLen uint64
  6732. for shift := uint(0); ; shift += 7 {
  6733. if shift >= 64 {
  6734. return ErrIntOverflowApi
  6735. }
  6736. if iNdEx >= l {
  6737. return io.ErrUnexpectedEOF
  6738. }
  6739. b := dAtA[iNdEx]
  6740. iNdEx++
  6741. stringLen |= (uint64(b) & 0x7F) << shift
  6742. if b < 0x80 {
  6743. break
  6744. }
  6745. }
  6746. intStringLen := int(stringLen)
  6747. if intStringLen < 0 {
  6748. return ErrInvalidLengthApi
  6749. }
  6750. postIndex := iNdEx + intStringLen
  6751. if postIndex > l {
  6752. return io.ErrUnexpectedEOF
  6753. }
  6754. m.ImageUrl = string(dAtA[iNdEx:postIndex])
  6755. iNdEx = postIndex
  6756. case 11:
  6757. if wireType != 0 {
  6758. return fmt.Errorf("proto: wrong wireType = %d for field JumpPathType", wireType)
  6759. }
  6760. m.JumpPathType = 0
  6761. for shift := uint(0); ; shift += 7 {
  6762. if shift >= 64 {
  6763. return ErrIntOverflowApi
  6764. }
  6765. if iNdEx >= l {
  6766. return io.ErrUnexpectedEOF
  6767. }
  6768. b := dAtA[iNdEx]
  6769. iNdEx++
  6770. m.JumpPathType |= (int64(b) & 0x7F) << shift
  6771. if b < 0x80 {
  6772. break
  6773. }
  6774. }
  6775. case 12:
  6776. if wireType != 0 {
  6777. return fmt.Errorf("proto: wrong wireType = %d for field JumpTime", wireType)
  6778. }
  6779. m.JumpTime = 0
  6780. for shift := uint(0); ; shift += 7 {
  6781. if shift >= 64 {
  6782. return ErrIntOverflowApi
  6783. }
  6784. if iNdEx >= l {
  6785. return io.ErrUnexpectedEOF
  6786. }
  6787. b := dAtA[iNdEx]
  6788. iNdEx++
  6789. m.JumpTime |= (int64(b) & 0x7F) << shift
  6790. if b < 0x80 {
  6791. break
  6792. }
  6793. }
  6794. case 13:
  6795. if wireType != 2 {
  6796. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  6797. }
  6798. var stringLen uint64
  6799. for shift := uint(0); ; shift += 7 {
  6800. if shift >= 64 {
  6801. return ErrIntOverflowApi
  6802. }
  6803. if iNdEx >= l {
  6804. return io.ErrUnexpectedEOF
  6805. }
  6806. b := dAtA[iNdEx]
  6807. iNdEx++
  6808. stringLen |= (uint64(b) & 0x7F) << shift
  6809. if b < 0x80 {
  6810. break
  6811. }
  6812. }
  6813. intStringLen := int(stringLen)
  6814. if intStringLen < 0 {
  6815. return ErrInvalidLengthApi
  6816. }
  6817. postIndex := iNdEx + intStringLen
  6818. if postIndex > l {
  6819. return io.ErrUnexpectedEOF
  6820. }
  6821. m.Type = string(dAtA[iNdEx:postIndex])
  6822. iNdEx = postIndex
  6823. default:
  6824. iNdEx = preIndex
  6825. skippy, err := skipApi(dAtA[iNdEx:])
  6826. if err != nil {
  6827. return err
  6828. }
  6829. if skippy < 0 {
  6830. return ErrInvalidLengthApi
  6831. }
  6832. if (iNdEx + skippy) > l {
  6833. return io.ErrUnexpectedEOF
  6834. }
  6835. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6836. iNdEx += skippy
  6837. }
  6838. }
  6839. if iNdEx > l {
  6840. return io.ErrUnexpectedEOF
  6841. }
  6842. return nil
  6843. }
  6844. func skipApi(dAtA []byte) (n int, err error) {
  6845. l := len(dAtA)
  6846. iNdEx := 0
  6847. for iNdEx < l {
  6848. var wire uint64
  6849. for shift := uint(0); ; shift += 7 {
  6850. if shift >= 64 {
  6851. return 0, ErrIntOverflowApi
  6852. }
  6853. if iNdEx >= l {
  6854. return 0, io.ErrUnexpectedEOF
  6855. }
  6856. b := dAtA[iNdEx]
  6857. iNdEx++
  6858. wire |= (uint64(b) & 0x7F) << shift
  6859. if b < 0x80 {
  6860. break
  6861. }
  6862. }
  6863. wireType := int(wire & 0x7)
  6864. switch wireType {
  6865. case 0:
  6866. for shift := uint(0); ; shift += 7 {
  6867. if shift >= 64 {
  6868. return 0, ErrIntOverflowApi
  6869. }
  6870. if iNdEx >= l {
  6871. return 0, io.ErrUnexpectedEOF
  6872. }
  6873. iNdEx++
  6874. if dAtA[iNdEx-1] < 0x80 {
  6875. break
  6876. }
  6877. }
  6878. return iNdEx, nil
  6879. case 1:
  6880. iNdEx += 8
  6881. return iNdEx, nil
  6882. case 2:
  6883. var length int
  6884. for shift := uint(0); ; shift += 7 {
  6885. if shift >= 64 {
  6886. return 0, ErrIntOverflowApi
  6887. }
  6888. if iNdEx >= l {
  6889. return 0, io.ErrUnexpectedEOF
  6890. }
  6891. b := dAtA[iNdEx]
  6892. iNdEx++
  6893. length |= (int(b) & 0x7F) << shift
  6894. if b < 0x80 {
  6895. break
  6896. }
  6897. }
  6898. iNdEx += length
  6899. if length < 0 {
  6900. return 0, ErrInvalidLengthApi
  6901. }
  6902. return iNdEx, nil
  6903. case 3:
  6904. for {
  6905. var innerWire uint64
  6906. var start int = iNdEx
  6907. for shift := uint(0); ; shift += 7 {
  6908. if shift >= 64 {
  6909. return 0, ErrIntOverflowApi
  6910. }
  6911. if iNdEx >= l {
  6912. return 0, io.ErrUnexpectedEOF
  6913. }
  6914. b := dAtA[iNdEx]
  6915. iNdEx++
  6916. innerWire |= (uint64(b) & 0x7F) << shift
  6917. if b < 0x80 {
  6918. break
  6919. }
  6920. }
  6921. innerWireType := int(innerWire & 0x7)
  6922. if innerWireType == 4 {
  6923. break
  6924. }
  6925. next, err := skipApi(dAtA[start:])
  6926. if err != nil {
  6927. return 0, err
  6928. }
  6929. iNdEx = start + next
  6930. }
  6931. return iNdEx, nil
  6932. case 4:
  6933. return iNdEx, nil
  6934. case 5:
  6935. iNdEx += 4
  6936. return iNdEx, nil
  6937. default:
  6938. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  6939. }
  6940. }
  6941. panic("unreachable")
  6942. }
  6943. var (
  6944. ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
  6945. ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
  6946. )
  6947. func init() { proto.RegisterFile("api/grpc/v1/api.proto", fileDescriptor_api_55838d09c99a73d4) }
  6948. var fileDescriptor_api_55838d09c99a73d4 = []byte{
  6949. // 1301 bytes of a gzipped FileDescriptorProto
  6950. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x4f, 0x6f, 0x1b, 0x45,
  6951. 0x14, 0xd7, 0x7a, 0x6d, 0xc7, 0x79, 0x76, 0xfe, 0x74, 0x02, 0xc5, 0x58, 0x6d, 0xc6, 0x99, 0x24,
  6952. 0xc5, 0x08, 0xb0, 0x15, 0x17, 0x09, 0x29, 0xb4, 0xa2, 0x71, 0x94, 0x56, 0x48, 0x41, 0x44, 0xdb,
  6953. 0x72, 0xe1, 0x00, 0xda, 0x64, 0x37, 0xce, 0xc0, 0xda, 0xde, 0xec, 0xae, 0xad, 0x96, 0x5b, 0x25,
  6954. 0xae, 0x9c, 0xe0, 0x2b, 0xf0, 0x01, 0x90, 0xf8, 0x10, 0xe1, 0xc6, 0x1d, 0x69, 0x54, 0xe5, 0xb8,
  6955. 0x17, 0xa4, 0xe5, 0xc6, 0x09, 0xed, 0xcc, 0xec, 0x7a, 0x6d, 0xaf, 0x43, 0x02, 0x69, 0x09, 0x6a,
  6956. 0x2f, 0xc9, 0xcc, 0x7b, 0xf3, 0x9e, 0xdf, 0xcc, 0xfb, 0xbd, 0x7f, 0x0b, 0xaf, 0xeb, 0x36, 0x6d,
  6957. 0xb4, 0x1d, 0xfb, 0xa0, 0x31, 0xd8, 0x68, 0xe8, 0x36, 0xad, 0xdb, 0x4e, 0xcf, 0xeb, 0xa1, 0x45,
  6958. 0x8b, 0x0e, 0xcc, 0xba, 0x63, 0xba, 0xbd, 0xbe, 0x73, 0x60, 0xd6, 0x07, 0x1b, 0x95, 0xf7, 0xda,
  6959. 0xd4, 0x3b, 0xea, 0xef, 0xd7, 0x0f, 0x7a, 0x9d, 0x46, 0xbb, 0xd7, 0xee, 0x35, 0xf8, 0xc1, 0xfd,
  6960. 0xfe, 0x21, 0xdf, 0xf1, 0x0d, 0x5f, 0x09, 0x05, 0xe4, 0xf7, 0x2c, 0xe4, 0xb7, 0x0c, 0x43, 0x33,
  6961. 0x8f, 0xd1, 0x36, 0x14, 0x6c, 0x4b, 0xf7, 0x0e, 0x7b, 0x4e, 0xa7, 0xac, 0x54, 0x95, 0xda, 0x6c,
  6962. 0xeb, 0xad, 0x80, 0xe1, 0xd5, 0x70, 0xbf, 0x49, 0x22, 0x0e, 0xa9, 0x0e, 0x74, 0x8b, 0x1a, 0xba,
  6963. 0x67, 0x6e, 0x12, 0xc7, 0x3c, 0xee, 0x53, 0xc7, 0x34, 0x88, 0x16, 0x0b, 0xa2, 0x4d, 0xc8, 0x79,
  6964. 0xd4, 0xb3, 0xcc, 0x72, 0x86, 0x6b, 0x58, 0x0b, 0x18, 0xae, 0x0a, 0x0d, 0x9c, 0x9c, 0x2e, 0x2e,
  6965. 0x44, 0x50, 0x03, 0x0a, 0x5f, 0xf5, 0x3b, 0xf6, 0x9e, 0xee, 0x1d, 0x95, 0x55, 0x2e, 0xbe, 0x14,
  6966. 0x30, 0xbc, 0x20, 0xc4, 0x23, 0x0e, 0xd1, 0xe2, 0x43, 0x91, 0xc0, 0x23, 0xda, 0x31, 0xcb, 0xd9,
  6967. 0xaa, 0x52, 0x53, 0xc7, 0x05, 0x42, 0x8e, 0x14, 0x08, 0x97, 0xe8, 0x03, 0xc8, 0x7a, 0x4f, 0x6c,
  6968. 0xb3, 0x9c, 0xe3, 0xda, 0x57, 0x03, 0x86, 0xb1, 0x34, 0xee, 0x89, 0x3d, 0xc5, 0x36, 0x2e, 0x80,
  6969. 0xee, 0x42, 0xde, 0x30, 0x07, 0xf4, 0xc0, 0x2c, 0xe7, 0xb9, 0xe8, 0x7a, 0xc0, 0xf0, 0x8a, 0x10,
  6970. 0x15, 0xf4, 0x74, 0x61, 0x29, 0x84, 0xee, 0xc3, 0xac, 0xeb, 0xe9, 0x8e, 0xc7, 0x2d, 0x9d, 0xe1,
  6971. 0x1a, 0x6a, 0x01, 0xc3, 0x6b, 0x42, 0x43, 0xcc, 0x4a, 0x57, 0x32, 0x14, 0x45, 0xf7, 0x60, 0xc6,
  6972. 0xec, 0x1a, 0x5c, 0x4b, 0x81, 0x6b, 0xb9, 0x15, 0x30, 0x4c, 0x84, 0x16, 0xc9, 0x48, 0xd7, 0x11,
  6973. 0x89, 0x85, 0x4e, 0xa6, 0x1d, 0xbd, 0x6d, 0x7e, 0xe6, 0x58, 0xe5, 0xd9, 0x71, 0x27, 0x47, 0x9c,
  6974. 0x29, 0x4e, 0x8e, 0xd8, 0xe8, 0x43, 0x28, 0x45, 0x3e, 0x78, 0x14, 0x3e, 0x27, 0xf0, 0xb7, 0x7f,
  6975. 0x23, 0x60, 0x78, 0x69, 0xd4, 0x59, 0x21, 0x97, 0x68, 0x23, 0x87, 0xc9, 0x0a, 0xcc, 0x70, 0xc0,
  6976. 0xb9, 0x36, 0xba, 0x0e, 0x19, 0x6a, 0x94, 0x95, 0xaa, 0x5a, 0x53, 0x5b, 0x79, 0x9f, 0xe1, 0x0c,
  6977. 0x35, 0xb4, 0x0c, 0x35, 0xc8, 0x6f, 0x2a, 0xcc, 0xec, 0x18, 0xd4, 0xbb, 0x34, 0x54, 0x6e, 0xf0,
  6978. 0x1f, 0xca, 0x70, 0x33, 0x57, 0x02, 0x86, 0x6f, 0xca, 0xfb, 0x1a, 0xe9, 0x82, 0x19, 0x6a, 0xa0,
  6979. 0x5b, 0x11, 0x90, 0x05, 0x12, 0x17, 0x03, 0x86, 0x4b, 0x49, 0x20, 0xa7, 0x81, 0x36, 0x7b, 0x51,
  6980. 0xd0, 0xe6, 0xce, 0x03, 0xda, 0xe6, 0x24, 0x78, 0x5e, 0x0b, 0x18, 0x5e, 0x1c, 0x07, 0x4f, 0x12,
  6981. 0x28, 0xef, 0x8e, 0x03, 0x05, 0x05, 0x0c, 0xcf, 0x8f, 0x02, 0x65, 0x08, 0x8a, 0xc6, 0x04, 0x28,
  6982. 0x12, 0x26, 0xc5, 0xa0, 0xb8, 0x2c, 0x00, 0x00, 0x14, 0x84, 0x73, 0x5d, 0x9b, 0x7c, 0xab, 0x00,
  6983. 0x7c, 0x7a, 0x78, 0x68, 0xd1, 0xae, 0xf9, 0x1f, 0x3a, 0x9b, 0xcc, 0x41, 0x31, 0xb6, 0xc2, 0xb5,
  6984. 0xc9, 0x33, 0x05, 0xe0, 0x81, 0xe9, 0xed, 0x52, 0xf7, 0xf2, 0x20, 0xb8, 0x0a, 0x59, 0x5b, 0x6f,
  6985. 0x9b, 0xd2, 0xae, 0x85, 0x80, 0xe1, 0xa2, 0x54, 0xa0, 0xb7, 0x4d, 0xa2, 0x71, 0x66, 0xe8, 0x88,
  6986. 0xf0, 0xff, 0x43, 0xfa, 0x8d, 0xc0, 0xdd, 0x08, 0x36, 0x22, 0x4e, 0xa8, 0x55, 0x2e, 0xe3, 0x84,
  6987. 0x96, 0xbd, 0x60, 0x42, 0x23, 0x27, 0x39, 0x28, 0xc6, 0x57, 0x74, 0x6d, 0xb4, 0x01, 0xc5, 0x83,
  6988. 0xbe, 0xe3, 0x98, 0x5d, 0x6f, 0x2f, 0xb4, 0x52, 0x11, 0x56, 0xfa, 0x0c, 0x27, 0xc9, 0x5a, 0x72,
  6989. 0x83, 0xea, 0x00, 0x5e, 0xcf, 0xd3, 0xad, 0xed, 0x5e, 0xbf, 0xeb, 0xc9, 0x7b, 0xcd, 0xfb, 0x0c,
  6990. 0x27, 0xa8, 0x5a, 0x62, 0x8d, 0xee, 0x41, 0xd6, 0xa2, 0xae, 0x57, 0x56, 0xab, 0x6a, 0xad, 0xd8,
  6991. 0x24, 0xf5, 0xf1, 0xd2, 0x55, 0x4f, 0xd8, 0x53, 0x0f, 0x17, 0xad, 0x82, 0xcf, 0x30, 0x97, 0xd1,
  6992. 0xf8, 0xdf, 0xca, 0xf7, 0x59, 0xc8, 0x86, 0x8c, 0x38, 0x71, 0x28, 0xa3, 0x89, 0x03, 0xe1, 0xd1,
  6993. 0xea, 0x33, 0xeb, 0x33, 0x2c, 0x08, 0x51, 0xb4, 0xd6, 0x26, 0x4a, 0x4c, 0xc9, 0x67, 0x38, 0xa6,
  6994. 0x25, 0xc2, 0xf4, 0x0e, 0x2c, 0x88, 0xe4, 0xfd, 0x65, 0xec, 0x7b, 0x19, 0xde, 0x3e, 0xc3, 0xe3,
  6995. 0x2c, 0x6d, 0x5e, 0x10, 0xf6, 0x22, 0x6f, 0xdf, 0x86, 0x92, 0x3c, 0xb2, 0xdf, 0xa7, 0x96, 0x21,
  6996. 0x03, 0x7d, 0xd1, 0x67, 0x78, 0x84, 0xae, 0x15, 0xc5, 0xae, 0x15, 0x6e, 0xd0, 0x3b, 0xc9, 0x40,
  6997. 0x17, 0x75, 0x66, 0xce, 0x67, 0x78, 0x48, 0x4c, 0x46, 0xf8, 0xfa, 0x30, 0xc2, 0x45, 0x4e, 0x28,
  6998. 0xfa, 0x0c, 0x47, 0xa4, 0x61, 0x68, 0x13, 0xc8, 0xbb, 0x9e, 0xee, 0xf5, 0x5d, 0x9e, 0x07, 0xd4,
  6999. 0x16, 0xf8, 0x0c, 0x4b, 0x8a, 0x26, 0xff, 0x27, 0x8c, 0xb5, 0x68, 0x87, 0x7a, 0x3c, 0x05, 0x8c,
  7000. 0x1a, 0xcb, 0xe9, 0x91, 0xb1, 0xbb, 0xe1, 0x26, 0x7c, 0xc9, 0x38, 0x67, 0xc0, 0xf0, 0x25, 0x23,
  7001. 0x5a, 0x22, 0x59, 0xbc, 0x3f, 0x96, 0x2c, 0x8a, 0x43, 0xf5, 0x49, 0xfa, 0x68, 0x96, 0x88, 0x3c,
  7002. 0xc5, 0x2f, 0x58, 0xe2, 0x12, 0xb1, 0xa7, 0xf8, 0x0d, 0xe3, 0x15, 0xf9, 0x4e, 0x44, 0xeb, 0xc7,
  7003. 0xdd, 0xc3, 0xde, 0x65, 0xb6, 0x31, 0xc2, 0x71, 0x02, 0xd6, 0x89, 0x36, 0x86, 0x93, 0xa7, 0xb4,
  7004. 0x31, 0x82, 0xf7, 0xa7, 0xc2, 0x43, 0x4b, 0xd8, 0x93, 0xa8, 0x72, 0xcf, 0x11, 0xac, 0xb5, 0x89,
  7005. 0x46, 0x68, 0xca, 0x63, 0x4d, 0x38, 0x23, 0x77, 0x5e, 0x67, 0xc4, 0xce, 0xce, 0x9f, 0xe5, 0x6c,
  7006. 0xf2, 0x83, 0x02, 0xd7, 0x1e, 0x98, 0x5e, 0xcb, 0xa2, 0xdd, 0xaf, 0x5b, 0x7a, 0xb7, 0x6b, 0x3a,
  7007. 0x57, 0xc2, 0x27, 0x4f, 0x33, 0x80, 0xc6, 0xcd, 0x7a, 0xd9, 0x5c, 0x73, 0xa2, 0x40, 0x29, 0x7c,
  7008. 0x83, 0x2b, 0xe3, 0x95, 0xb8, 0x7a, 0xa9, 0x17, 0xad, 0x5e, 0xbf, 0x64, 0x60, 0x2e, 0x71, 0x15,
  7009. 0xd7, 0x46, 0x2d, 0x59, 0x5c, 0x14, 0x5e, 0x5c, 0xd6, 0x52, 0x8b, 0xcb, 0xf0, 0x78, 0x7a, 0x79,
  7010. 0xf9, 0x43, 0x79, 0x71, 0xe5, 0xe5, 0xea, 0xc0, 0xa2, 0xc9, 0x23, 0x23, 0xaa, 0x5c, 0x51, 0xcf,
  7011. 0x73, 0x43, 0xba, 0x46, 0x3c, 0x02, 0x7f, 0xa9, 0x70, 0x2f, 0xdf, 0xff, 0x23, 0x58, 0x9a, 0x90,
  7012. 0x71, 0xed, 0xf0, 0x47, 0x13, 0x80, 0x52, 0xa3, 0x1f, 0x8d, 0xab, 0x64, 0xbc, 0x22, 0x3f, 0xab,
  7013. 0x1c, 0x8b, 0xa1, 0xe4, 0xce, 0xe3, 0xff, 0x4d, 0x8f, 0xa5, 0x5e, 0x6c, 0x68, 0xdc, 0x9e, 0x6c,
  7014. 0x21, 0xc4, 0xe0, 0x59, 0x09, 0x18, 0xbe, 0x9e, 0x9c, 0x1e, 0xe3, 0x03, 0x64, 0xa2, 0x93, 0x78,
  7015. 0x3b, 0x2e, 0xe0, 0xc2, 0x8d, 0xd7, 0x02, 0x86, 0xe7, 0xe2, 0xd6, 0xdf, 0xeb, 0xbb, 0x24, 0xae,
  7016. 0xe3, 0xcf, 0x7d, 0x50, 0x20, 0x7e, 0x8e, 0xc7, 0x5d, 0xe4, 0xb6, 0x17, 0xd3, 0x37, 0xb6, 0x46,
  7017. 0xfa, 0xc6, 0xb5, 0xa9, 0x7d, 0xa3, 0xb0, 0x28, 0x3d, 0xb4, 0x7f, 0x7a, 0xd5, 0x39, 0xbe, 0xea,
  7018. 0x1c, 0x27, 0x52, 0x6b, 0x94, 0xe4, 0xe6, 0xb8, 0x15, 0x63, 0x49, 0xae, 0xf9, 0x34, 0x0b, 0x05,
  7019. 0x4d, 0xc2, 0x0c, 0x6d, 0x82, 0xba, 0x65, 0x18, 0xa8, 0x3c, 0x89, 0x3e, 0xf1, 0xf5, 0xac, 0xf2,
  7020. 0xe6, 0x14, 0x8e, 0x6b, 0xa3, 0x3b, 0x90, 0xdb, 0x32, 0x8c, 0x9d, 0xc7, 0xff, 0x4c, 0xfa, 0x2e,
  7021. 0x64, 0xc3, 0x71, 0x19, 0xa5, 0x1c, 0x91, 0xdf, 0x48, 0x2a, 0x95, 0x69, 0x2c, 0xd7, 0x46, 0xf7,
  7022. 0x61, 0x46, 0x8e, 0xb6, 0xe8, 0xc6, 0xe4, 0xb1, 0xe1, 0xec, 0x5d, 0xb9, 0x79, 0x06, 0x57, 0xe8,
  7023. 0x91, 0x71, 0x96, 0xa6, 0x67, 0x38, 0x2d, 0xa7, 0xe9, 0x49, 0x0e, 0x9a, 0x5f, 0xc0, 0xc2, 0x58,
  7024. 0xe9, 0x40, 0xe9, 0x21, 0x3d, 0x56, 0x91, 0x2a, 0xeb, 0xe7, 0x38, 0xe5, 0xda, 0x68, 0x17, 0x66,
  7025. 0xe3, 0x7c, 0x80, 0x96, 0xcf, 0x4c, 0x16, 0xc7, 0x15, 0xfc, 0x37, 0xc9, 0xa4, 0xb9, 0x07, 0xf9,
  7026. 0x87, 0xb6, 0xa5, 0xbb, 0x47, 0xf2, 0xfe, 0x61, 0x53, 0x3f, 0xe5, 0xfe, 0x72, 0xfe, 0x98, 0x72,
  7027. 0xff, 0x68, 0x1a, 0x68, 0xfe, 0xa8, 0x40, 0x5e, 0x34, 0x22, 0xe8, 0x13, 0x98, 0x1f, 0xed, 0x49,
  7028. 0xff, 0x95, 0x66, 0x79, 0x73, 0xa9, 0x69, 0xf9, 0xcc, 0x0e, 0x68, 0xda, 0xcd, 0x87, 0x1d, 0x52,
  7029. 0x6b, 0xf1, 0xe4, 0x74, 0x59, 0xf9, 0xf5, 0x74, 0x59, 0x79, 0x76, 0xba, 0xac, 0x7c, 0x9e, 0x19,
  7030. 0x6c, 0xec, 0xe7, 0xf9, 0x17, 0xe3, 0xdb, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x79, 0xe3, 0xcf,
  7031. 0x78, 0x8b, 0x16, 0x00, 0x00,
  7032. }