resource.pb.go 161 KB

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