guard.pb.go 173 KB

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