123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987 |
- // Code generated by protoc-gen-gogo. DO NOT EDIT.
- // source: app/service/live/xuser/api/grpc/v1/guard.proto
- package v1
- import proto "github.com/gogo/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import grpc1 "go-common/app/service/live/xuser/api/grpc"
- import _ "github.com/gogo/protobuf/gogoproto"
- import (
- context "golang.org/x/net/context"
- grpc "google.golang.org/grpc"
- )
- import io "io"
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
- type GuardBuyReq struct {
- OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty" validate:"required"`
- Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
- Ruid int64 `protobuf:"varint,3,opt,name=ruid,proto3" json:"ruid,omitempty" validate:"gt=0,required"`
- GuardLevel int `protobuf:"varint,4,opt,name=guard_level,json=guardLevel,proto3,casttype=int" json:"guard_level,omitempty" validate:"gt=0,required"`
- Num int `protobuf:"varint,5,opt,name=num,proto3,casttype=int" json:"num,omitempty" validate:"gt=0,required"`
- Platform grpc1.Platform `protobuf:"varint,6,opt,name=platform,proto3,enum=live.xuser.Platform" json:"platform,omitempty" validate:"required"`
- Source string `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty" validate:"required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GuardBuyReq) Reset() { *m = GuardBuyReq{} }
- func (m *GuardBuyReq) String() string { return proto.CompactTextString(m) }
- func (*GuardBuyReq) ProtoMessage() {}
- func (*GuardBuyReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{0}
- }
- func (m *GuardBuyReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GuardBuyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GuardBuyReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GuardBuyReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GuardBuyReq.Merge(dst, src)
- }
- func (m *GuardBuyReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GuardBuyReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GuardBuyReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GuardBuyReq proto.InternalMessageInfo
- func (m *GuardBuyReq) GetOrderId() string {
- if m != nil {
- return m.OrderId
- }
- return ""
- }
- func (m *GuardBuyReq) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *GuardBuyReq) GetRuid() int64 {
- if m != nil {
- return m.Ruid
- }
- return 0
- }
- func (m *GuardBuyReq) GetGuardLevel() int {
- if m != nil {
- return m.GuardLevel
- }
- return 0
- }
- func (m *GuardBuyReq) GetNum() int {
- if m != nil {
- return m.Num
- }
- return 0
- }
- func (m *GuardBuyReq) GetPlatform() grpc1.Platform {
- if m != nil {
- return m.Platform
- }
- return grpc1.Platform_UNKNOWN
- }
- func (m *GuardBuyReq) GetSource() string {
- if m != nil {
- return m.Source
- }
- return ""
- }
- type GuardBuyReply struct {
- Status int `protobuf:"varint,1,opt,name=status,proto3,casttype=int" json:"status"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GuardBuyReply) Reset() { *m = GuardBuyReply{} }
- func (m *GuardBuyReply) String() string { return proto.CompactTextString(m) }
- func (*GuardBuyReply) ProtoMessage() {}
- func (*GuardBuyReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{1}
- }
- func (m *GuardBuyReply) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GuardBuyReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GuardBuyReply.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GuardBuyReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GuardBuyReply.Merge(dst, src)
- }
- func (m *GuardBuyReply) XXX_Size() int {
- return m.Size()
- }
- func (m *GuardBuyReply) XXX_DiscardUnknown() {
- xxx_messageInfo_GuardBuyReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_GuardBuyReply proto.InternalMessageInfo
- func (m *GuardBuyReply) GetStatus() int {
- if m != nil {
- return m.Status
- }
- return 0
- }
- // GetByUidTargetIdReq 1:1请求
- type ClearUIDCacheReq struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
- MagicKey string `protobuf:"bytes,2,opt,name=magic_key,json=magicKey,proto3" json:"magic_key,omitempty" form:"magic_key" validate:"alpha,required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ClearUIDCacheReq) Reset() { *m = ClearUIDCacheReq{} }
- func (m *ClearUIDCacheReq) String() string { return proto.CompactTextString(m) }
- func (*ClearUIDCacheReq) ProtoMessage() {}
- func (*ClearUIDCacheReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{2}
- }
- func (m *ClearUIDCacheReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *ClearUIDCacheReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ClearUIDCacheReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *ClearUIDCacheReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ClearUIDCacheReq.Merge(dst, src)
- }
- func (m *ClearUIDCacheReq) XXX_Size() int {
- return m.Size()
- }
- func (m *ClearUIDCacheReq) XXX_DiscardUnknown() {
- xxx_messageInfo_ClearUIDCacheReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_ClearUIDCacheReq proto.InternalMessageInfo
- func (m *ClearUIDCacheReq) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *ClearUIDCacheReq) GetMagicKey() string {
- if m != nil {
- return m.MagicKey
- }
- return ""
- }
- type ClearUIDCacheResp struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ClearUIDCacheResp) Reset() { *m = ClearUIDCacheResp{} }
- func (m *ClearUIDCacheResp) String() string { return proto.CompactTextString(m) }
- func (*ClearUIDCacheResp) ProtoMessage() {}
- func (*ClearUIDCacheResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{3}
- }
- func (m *ClearUIDCacheResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *ClearUIDCacheResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ClearUIDCacheResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *ClearUIDCacheResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ClearUIDCacheResp.Merge(dst, src)
- }
- func (m *ClearUIDCacheResp) XXX_Size() int {
- return m.Size()
- }
- func (m *ClearUIDCacheResp) XXX_DiscardUnknown() {
- xxx_messageInfo_ClearUIDCacheResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_ClearUIDCacheResp proto.InternalMessageInfo
- // GetByUidTargetIdReq 1:1请求
- type GetByUidTargetIdReq struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
- TargetId int64 `protobuf:"varint,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" form:"target_id" validate:"required"`
- SortType int64 `protobuf:"varint,3,opt,name=sort_type,json=sortType,proto3" json:"sort_type,omitempty" form:"sort_type" validate:"gte=0"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetByUidTargetIdReq) Reset() { *m = GetByUidTargetIdReq{} }
- func (m *GetByUidTargetIdReq) String() string { return proto.CompactTextString(m) }
- func (*GetByUidTargetIdReq) ProtoMessage() {}
- func (*GetByUidTargetIdReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{4}
- }
- func (m *GetByUidTargetIdReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetByUidTargetIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetByUidTargetIdReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetByUidTargetIdReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetByUidTargetIdReq.Merge(dst, src)
- }
- func (m *GetByUidTargetIdReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GetByUidTargetIdReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetByUidTargetIdReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetByUidTargetIdReq proto.InternalMessageInfo
- func (m *GetByUidTargetIdReq) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *GetByUidTargetIdReq) GetTargetId() int64 {
- if m != nil {
- return m.TargetId
- }
- return 0
- }
- func (m *GetByUidTargetIdReq) GetSortType() int64 {
- if m != nil {
- return m.SortType
- }
- return 0
- }
- type GetByUidTargetIdResp struct {
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetByUidTargetIdResp) Reset() { *m = GetByUidTargetIdResp{} }
- func (m *GetByUidTargetIdResp) String() string { return proto.CompactTextString(m) }
- func (*GetByUidTargetIdResp) ProtoMessage() {}
- func (*GetByUidTargetIdResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{5}
- }
- func (m *GetByUidTargetIdResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetByUidTargetIdResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetByUidTargetIdResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetByUidTargetIdResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetByUidTargetIdResp.Merge(dst, src)
- }
- func (m *GetByUidTargetIdResp) XXX_Size() int {
- return m.Size()
- }
- func (m *GetByUidTargetIdResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetByUidTargetIdResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetByUidTargetIdResp proto.InternalMessageInfo
- func (m *GetByUidTargetIdResp) GetData() map[int64]*DaHangHaiInfo {
- if m != nil {
- return m.Data
- }
- return nil
- }
- type AllDaHangHaiInfo struct {
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AllDaHangHaiInfo) Reset() { *m = AllDaHangHaiInfo{} }
- func (m *AllDaHangHaiInfo) String() string { return proto.CompactTextString(m) }
- func (*AllDaHangHaiInfo) ProtoMessage() {}
- func (*AllDaHangHaiInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{6}
- }
- func (m *AllDaHangHaiInfo) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *AllDaHangHaiInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AllDaHangHaiInfo.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *AllDaHangHaiInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AllDaHangHaiInfo.Merge(dst, src)
- }
- func (m *AllDaHangHaiInfo) XXX_Size() int {
- return m.Size()
- }
- func (m *AllDaHangHaiInfo) XXX_DiscardUnknown() {
- xxx_messageInfo_AllDaHangHaiInfo.DiscardUnknown(m)
- }
- var xxx_messageInfo_AllDaHangHaiInfo proto.InternalMessageInfo
- func (m *AllDaHangHaiInfo) GetGuardInfo() map[int64]*DaHangHaiInfo {
- if m != nil {
- return m.GuardInfo
- }
- return nil
- }
- type FilterDaHangHaiInfo struct {
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *FilterDaHangHaiInfo) Reset() { *m = FilterDaHangHaiInfo{} }
- func (m *FilterDaHangHaiInfo) String() string { return proto.CompactTextString(m) }
- func (*FilterDaHangHaiInfo) ProtoMessage() {}
- func (*FilterDaHangHaiInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{7}
- }
- func (m *FilterDaHangHaiInfo) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *FilterDaHangHaiInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_FilterDaHangHaiInfo.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *FilterDaHangHaiInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FilterDaHangHaiInfo.Merge(dst, src)
- }
- func (m *FilterDaHangHaiInfo) XXX_Size() int {
- return m.Size()
- }
- func (m *FilterDaHangHaiInfo) XXX_DiscardUnknown() {
- xxx_messageInfo_FilterDaHangHaiInfo.DiscardUnknown(m)
- }
- var xxx_messageInfo_FilterDaHangHaiInfo proto.InternalMessageInfo
- func (m *FilterDaHangHaiInfo) GetGuardInfo() map[int64]*DaHangHaiInfo {
- if m != nil {
- return m.GuardInfo
- }
- return nil
- }
- type DaHangHaiInfo struct {
- // 主键
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- // uid
- Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
- // target_id
- TargetId int64 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id"`
- // 守护类型 1为总督,2为提督,3为舰长
- PrivilegeType int64 `protobuf:"varint,4,opt,name=privilege_type,json=privilegeType,proto3" json:"privilege_type"`
- // start_time
- StartTime string `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time"`
- // expired_time
- ExpiredTime string `protobuf:"bytes,6,opt,name=expired_time,json=expiredTime,proto3" json:"expired_time"`
- // ctime
- Ctime string `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime"`
- // utime
- Utime string `protobuf:"bytes,8,opt,name=utime,proto3" json:"utime"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DaHangHaiInfo) Reset() { *m = DaHangHaiInfo{} }
- func (m *DaHangHaiInfo) String() string { return proto.CompactTextString(m) }
- func (*DaHangHaiInfo) ProtoMessage() {}
- func (*DaHangHaiInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{8}
- }
- func (m *DaHangHaiInfo) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DaHangHaiInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DaHangHaiInfo.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DaHangHaiInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DaHangHaiInfo.Merge(dst, src)
- }
- func (m *DaHangHaiInfo) XXX_Size() int {
- return m.Size()
- }
- func (m *DaHangHaiInfo) XXX_DiscardUnknown() {
- xxx_messageInfo_DaHangHaiInfo.DiscardUnknown(m)
- }
- var xxx_messageInfo_DaHangHaiInfo proto.InternalMessageInfo
- func (m *DaHangHaiInfo) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *DaHangHaiInfo) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *DaHangHaiInfo) GetTargetId() int64 {
- if m != nil {
- return m.TargetId
- }
- return 0
- }
- func (m *DaHangHaiInfo) GetPrivilegeType() int64 {
- if m != nil {
- return m.PrivilegeType
- }
- return 0
- }
- func (m *DaHangHaiInfo) GetStartTime() string {
- if m != nil {
- return m.StartTime
- }
- return ""
- }
- func (m *DaHangHaiInfo) GetExpiredTime() string {
- if m != nil {
- return m.ExpiredTime
- }
- return ""
- }
- func (m *DaHangHaiInfo) GetCtime() string {
- if m != nil {
- return m.Ctime
- }
- return ""
- }
- func (m *DaHangHaiInfo) GetUtime() string {
- if m != nil {
- return m.Utime
- }
- return ""
- }
- type DaHangHaiInfoList struct {
- List []*DaHangHaiInfo `protobuf:"bytes,1,rep,name=list" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DaHangHaiInfoList) Reset() { *m = DaHangHaiInfoList{} }
- func (m *DaHangHaiInfoList) String() string { return proto.CompactTextString(m) }
- func (*DaHangHaiInfoList) ProtoMessage() {}
- func (*DaHangHaiInfoList) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{9}
- }
- func (m *DaHangHaiInfoList) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DaHangHaiInfoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DaHangHaiInfoList.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DaHangHaiInfoList) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DaHangHaiInfoList.Merge(dst, src)
- }
- func (m *DaHangHaiInfoList) XXX_Size() int {
- return m.Size()
- }
- func (m *DaHangHaiInfoList) XXX_DiscardUnknown() {
- xxx_messageInfo_DaHangHaiInfoList.DiscardUnknown(m)
- }
- var xxx_messageInfo_DaHangHaiInfoList proto.InternalMessageInfo
- func (m *DaHangHaiInfoList) GetList() []*DaHangHaiInfo {
- if m != nil {
- return m.List
- }
- return nil
- }
- type GetByUidTargetIdsReq struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
- TargetIDs []*TargetIds `protobuf:"bytes,2,rep,name=targetIDs" json:"targetIDs,omitempty" form:"targetIDs" validate:"required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetByUidTargetIdsReq) Reset() { *m = GetByUidTargetIdsReq{} }
- func (m *GetByUidTargetIdsReq) String() string { return proto.CompactTextString(m) }
- func (*GetByUidTargetIdsReq) ProtoMessage() {}
- func (*GetByUidTargetIdsReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{10}
- }
- func (m *GetByUidTargetIdsReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetByUidTargetIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetByUidTargetIdsReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetByUidTargetIdsReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetByUidTargetIdsReq.Merge(dst, src)
- }
- func (m *GetByUidTargetIdsReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GetByUidTargetIdsReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetByUidTargetIdsReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetByUidTargetIdsReq proto.InternalMessageInfo
- func (m *GetByUidTargetIdsReq) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *GetByUidTargetIdsReq) GetTargetIDs() []*TargetIds {
- if m != nil {
- return m.TargetIDs
- }
- return nil
- }
- type GetByUidTargetIdsResp struct {
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetByUidTargetIdsResp) Reset() { *m = GetByUidTargetIdsResp{} }
- func (m *GetByUidTargetIdsResp) String() string { return proto.CompactTextString(m) }
- func (*GetByUidTargetIdsResp) ProtoMessage() {}
- func (*GetByUidTargetIdsResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{11}
- }
- func (m *GetByUidTargetIdsResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetByUidTargetIdsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetByUidTargetIdsResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetByUidTargetIdsResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetByUidTargetIdsResp.Merge(dst, src)
- }
- func (m *GetByUidTargetIdsResp) XXX_Size() int {
- return m.Size()
- }
- func (m *GetByUidTargetIdsResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetByUidTargetIdsResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetByUidTargetIdsResp proto.InternalMessageInfo
- func (m *GetByUidTargetIdsResp) GetData() map[int64]*DaHangHaiInfo {
- if m != nil {
- return m.Data
- }
- return nil
- }
- type TargetIds struct {
- TargetId int64 `protobuf:"varint,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" form:"target_id" validate:"gt=0,required"`
- SortType int64 `protobuf:"varint,2,opt,name=sort_type,json=sortType,proto3" json:"sort_type,omitempty" form:"sort_type" validate:"gt=0"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *TargetIds) Reset() { *m = TargetIds{} }
- func (m *TargetIds) String() string { return proto.CompactTextString(m) }
- func (*TargetIds) ProtoMessage() {}
- func (*TargetIds) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{12}
- }
- func (m *TargetIds) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *TargetIds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_TargetIds.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *TargetIds) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TargetIds.Merge(dst, src)
- }
- func (m *TargetIds) XXX_Size() int {
- return m.Size()
- }
- func (m *TargetIds) XXX_DiscardUnknown() {
- xxx_messageInfo_TargetIds.DiscardUnknown(m)
- }
- var xxx_messageInfo_TargetIds proto.InternalMessageInfo
- func (m *TargetIds) GetTargetId() int64 {
- if m != nil {
- return m.TargetId
- }
- return 0
- }
- func (m *TargetIds) GetSortType() int64 {
- if m != nil {
- return m.SortType
- }
- return 0
- }
- // GetByTargetIdsBatchReq 根据uids批量获取所有守护关系
- type GetByTargetIdsReq struct {
- TargetIDs []*TargetIds `protobuf:"bytes,1,rep,name=targetIDs" json:"targetIDs,omitempty" form:"targetIDs" validate:"required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetByTargetIdsReq) Reset() { *m = GetByTargetIdsReq{} }
- func (m *GetByTargetIdsReq) String() string { return proto.CompactTextString(m) }
- func (*GetByTargetIdsReq) ProtoMessage() {}
- func (*GetByTargetIdsReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{13}
- }
- func (m *GetByTargetIdsReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetByTargetIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetByTargetIdsReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetByTargetIdsReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetByTargetIdsReq.Merge(dst, src)
- }
- func (m *GetByTargetIdsReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GetByTargetIdsReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetByTargetIdsReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetByTargetIdsReq proto.InternalMessageInfo
- func (m *GetByTargetIdsReq) GetTargetIDs() []*TargetIds {
- if m != nil {
- return m.TargetIDs
- }
- return nil
- }
- // TODO 实现
- type GetByTargetIdsResp struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetByTargetIdsResp) Reset() { *m = GetByTargetIdsResp{} }
- func (m *GetByTargetIdsResp) String() string { return proto.CompactTextString(m) }
- func (*GetByTargetIdsResp) ProtoMessage() {}
- func (*GetByTargetIdsResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{14}
- }
- func (m *GetByTargetIdsResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetByTargetIdsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetByTargetIdsResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetByTargetIdsResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetByTargetIdsResp.Merge(dst, src)
- }
- func (m *GetByTargetIdsResp) XXX_Size() int {
- return m.Size()
- }
- func (m *GetByTargetIdsResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetByTargetIdsResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetByTargetIdsResp proto.InternalMessageInfo
- // GetAllShouHuReq 目标全部守护数据
- type GetByUidReq struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetByUidReq) Reset() { *m = GetByUidReq{} }
- func (m *GetByUidReq) String() string { return proto.CompactTextString(m) }
- func (*GetByUidReq) ProtoMessage() {}
- func (*GetByUidReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{15}
- }
- func (m *GetByUidReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetByUidReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetByUidReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetByUidReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetByUidReq.Merge(dst, src)
- }
- func (m *GetByUidReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GetByUidReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetByUidReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetByUidReq proto.InternalMessageInfo
- func (m *GetByUidReq) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- type GetByUidResp struct {
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetByUidResp) Reset() { *m = GetByUidResp{} }
- func (m *GetByUidResp) String() string { return proto.CompactTextString(m) }
- func (*GetByUidResp) ProtoMessage() {}
- func (*GetByUidResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{16}
- }
- func (m *GetByUidResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetByUidResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetByUidResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetByUidResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetByUidResp.Merge(dst, src)
- }
- func (m *GetByUidResp) XXX_Size() int {
- return m.Size()
- }
- func (m *GetByUidResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetByUidResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetByUidResp proto.InternalMessageInfo
- func (m *GetByUidResp) GetData() map[int64]*DaHangHaiInfo {
- if m != nil {
- return m.Data
- }
- return nil
- }
- // GetAllShouHuBatchReq 目标全部守护数据(批量)
- type GetByUidBatchReq struct {
- Uids []int64 `protobuf:"varint,1,rep,packed,name=uids" json:"uids,omitempty" form:"uids" validate:"required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetByUidBatchReq) Reset() { *m = GetByUidBatchReq{} }
- func (m *GetByUidBatchReq) String() string { return proto.CompactTextString(m) }
- func (*GetByUidBatchReq) ProtoMessage() {}
- func (*GetByUidBatchReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{17}
- }
- func (m *GetByUidBatchReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetByUidBatchReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetByUidBatchReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetByUidBatchReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetByUidBatchReq.Merge(dst, src)
- }
- func (m *GetByUidBatchReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GetByUidBatchReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetByUidBatchReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetByUidBatchReq proto.InternalMessageInfo
- func (m *GetByUidBatchReq) GetUids() []int64 {
- if m != nil {
- return m.Uids
- }
- return nil
- }
- type GetByUidBatchResp struct {
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetByUidBatchResp) Reset() { *m = GetByUidBatchResp{} }
- func (m *GetByUidBatchResp) String() string { return proto.CompactTextString(m) }
- func (*GetByUidBatchResp) ProtoMessage() {}
- func (*GetByUidBatchResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{18}
- }
- func (m *GetByUidBatchResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetByUidBatchResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetByUidBatchResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetByUidBatchResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetByUidBatchResp.Merge(dst, src)
- }
- func (m *GetByUidBatchResp) XXX_Size() int {
- return m.Size()
- }
- func (m *GetByUidBatchResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetByUidBatchResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetByUidBatchResp proto.InternalMessageInfo
- func (m *GetByUidBatchResp) GetData() map[int64]*DaHangHaiInfoList {
- if m != nil {
- return m.Data
- }
- return nil
- }
- type GetAnchorRecentTopGuardReq struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetAnchorRecentTopGuardReq) Reset() { *m = GetAnchorRecentTopGuardReq{} }
- func (m *GetAnchorRecentTopGuardReq) String() string { return proto.CompactTextString(m) }
- func (*GetAnchorRecentTopGuardReq) ProtoMessage() {}
- func (*GetAnchorRecentTopGuardReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{19}
- }
- func (m *GetAnchorRecentTopGuardReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetAnchorRecentTopGuardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetAnchorRecentTopGuardReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetAnchorRecentTopGuardReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetAnchorRecentTopGuardReq.Merge(dst, src)
- }
- func (m *GetAnchorRecentTopGuardReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GetAnchorRecentTopGuardReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetAnchorRecentTopGuardReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetAnchorRecentTopGuardReq proto.InternalMessageInfo
- func (m *GetAnchorRecentTopGuardReq) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- type GetAnchorRecentTopGuardResp struct {
- // 主键
- Cnt int64 `protobuf:"varint,1,opt,name=cnt,proto3" json:"cnt"`
- List []*GetAnchorRecentTopGuardList `protobuf:"bytes,2,rep,name=list" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetAnchorRecentTopGuardResp) Reset() { *m = GetAnchorRecentTopGuardResp{} }
- func (m *GetAnchorRecentTopGuardResp) String() string { return proto.CompactTextString(m) }
- func (*GetAnchorRecentTopGuardResp) ProtoMessage() {}
- func (*GetAnchorRecentTopGuardResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{20}
- }
- func (m *GetAnchorRecentTopGuardResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetAnchorRecentTopGuardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetAnchorRecentTopGuardResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetAnchorRecentTopGuardResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetAnchorRecentTopGuardResp.Merge(dst, src)
- }
- func (m *GetAnchorRecentTopGuardResp) XXX_Size() int {
- return m.Size()
- }
- func (m *GetAnchorRecentTopGuardResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetAnchorRecentTopGuardResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetAnchorRecentTopGuardResp proto.InternalMessageInfo
- func (m *GetAnchorRecentTopGuardResp) GetCnt() int64 {
- if m != nil {
- return m.Cnt
- }
- return 0
- }
- func (m *GetAnchorRecentTopGuardResp) GetList() []*GetAnchorRecentTopGuardList {
- if m != nil {
- return m.List
- }
- return nil
- }
- type GetAnchorRecentTopGuardList struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
- EndTime int64 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time"`
- IsOpen int64 `protobuf:"varint,3,opt,name=is_open,json=isOpen,proto3" json:"is_open"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetAnchorRecentTopGuardList) Reset() { *m = GetAnchorRecentTopGuardList{} }
- func (m *GetAnchorRecentTopGuardList) String() string { return proto.CompactTextString(m) }
- func (*GetAnchorRecentTopGuardList) ProtoMessage() {}
- func (*GetAnchorRecentTopGuardList) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{21}
- }
- func (m *GetAnchorRecentTopGuardList) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetAnchorRecentTopGuardList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetAnchorRecentTopGuardList.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetAnchorRecentTopGuardList) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetAnchorRecentTopGuardList.Merge(dst, src)
- }
- func (m *GetAnchorRecentTopGuardList) XXX_Size() int {
- return m.Size()
- }
- func (m *GetAnchorRecentTopGuardList) XXX_DiscardUnknown() {
- xxx_messageInfo_GetAnchorRecentTopGuardList.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetAnchorRecentTopGuardList proto.InternalMessageInfo
- func (m *GetAnchorRecentTopGuardList) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *GetAnchorRecentTopGuardList) GetEndTime() int64 {
- if m != nil {
- return m.EndTime
- }
- return 0
- }
- func (m *GetAnchorRecentTopGuardList) GetIsOpen() int64 {
- if m != nil {
- return m.IsOpen
- }
- return 0
- }
- type GetTopListGuardReq struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
- Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" form:"page" validate:"gte=1"`
- PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" form:"page_size" validate:"gte=1"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetTopListGuardReq) Reset() { *m = GetTopListGuardReq{} }
- func (m *GetTopListGuardReq) String() string { return proto.CompactTextString(m) }
- func (*GetTopListGuardReq) ProtoMessage() {}
- func (*GetTopListGuardReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{22}
- }
- func (m *GetTopListGuardReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetTopListGuardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetTopListGuardReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetTopListGuardReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetTopListGuardReq.Merge(dst, src)
- }
- func (m *GetTopListGuardReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GetTopListGuardReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetTopListGuardReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetTopListGuardReq proto.InternalMessageInfo
- func (m *GetTopListGuardReq) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *GetTopListGuardReq) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *GetTopListGuardReq) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- type GetTopListGuardResp struct {
- // 守护总数量
- Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num"`
- Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
- Now int64 `protobuf:"varint,3,opt,name=now,proto3" json:"now"`
- List []*TopListGuard `protobuf:"bytes,4,rep,name=list" json:"list"`
- Top3 []*TopListGuard `protobuf:"bytes,5,rep,name=top3" json:"top3"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetTopListGuardResp) Reset() { *m = GetTopListGuardResp{} }
- func (m *GetTopListGuardResp) String() string { return proto.CompactTextString(m) }
- func (*GetTopListGuardResp) ProtoMessage() {}
- func (*GetTopListGuardResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{23}
- }
- func (m *GetTopListGuardResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetTopListGuardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetTopListGuardResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetTopListGuardResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetTopListGuardResp.Merge(dst, src)
- }
- func (m *GetTopListGuardResp) XXX_Size() int {
- return m.Size()
- }
- func (m *GetTopListGuardResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetTopListGuardResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetTopListGuardResp proto.InternalMessageInfo
- func (m *GetTopListGuardResp) GetNum() int64 {
- if m != nil {
- return m.Num
- }
- return 0
- }
- func (m *GetTopListGuardResp) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *GetTopListGuardResp) GetNow() int64 {
- if m != nil {
- return m.Now
- }
- return 0
- }
- func (m *GetTopListGuardResp) GetList() []*TopListGuard {
- if m != nil {
- return m.List
- }
- return nil
- }
- func (m *GetTopListGuardResp) GetTop3() []*TopListGuard {
- if m != nil {
- return m.Top3
- }
- return nil
- }
- type TopListGuard struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
- Ruid int64 `protobuf:"varint,2,opt,name=ruid,proto3" json:"ruid"`
- Rank int64 `protobuf:"varint,4,opt,name=rank,proto3" json:"rank"`
- GuardLevel int64 `protobuf:"varint,3,opt,name=guard_level,json=guardLevel,proto3" json:"guard_level"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *TopListGuard) Reset() { *m = TopListGuard{} }
- func (m *TopListGuard) String() string { return proto.CompactTextString(m) }
- func (*TopListGuard) ProtoMessage() {}
- func (*TopListGuard) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{24}
- }
- func (m *TopListGuard) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *TopListGuard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_TopListGuard.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *TopListGuard) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TopListGuard.Merge(dst, src)
- }
- func (m *TopListGuard) XXX_Size() int {
- return m.Size()
- }
- func (m *TopListGuard) XXX_DiscardUnknown() {
- xxx_messageInfo_TopListGuard.DiscardUnknown(m)
- }
- var xxx_messageInfo_TopListGuard proto.InternalMessageInfo
- func (m *TopListGuard) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *TopListGuard) GetRuid() int64 {
- if m != nil {
- return m.Ruid
- }
- return 0
- }
- func (m *TopListGuard) GetRank() int64 {
- if m != nil {
- return m.Rank
- }
- return 0
- }
- func (m *TopListGuard) GetGuardLevel() int64 {
- if m != nil {
- return m.GuardLevel
- }
- return 0
- }
- type GetTopListGuardNumReq struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"gt=0,required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetTopListGuardNumReq) Reset() { *m = GetTopListGuardNumReq{} }
- func (m *GetTopListGuardNumReq) String() string { return proto.CompactTextString(m) }
- func (*GetTopListGuardNumReq) ProtoMessage() {}
- func (*GetTopListGuardNumReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{25}
- }
- func (m *GetTopListGuardNumReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetTopListGuardNumReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetTopListGuardNumReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetTopListGuardNumReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetTopListGuardNumReq.Merge(dst, src)
- }
- func (m *GetTopListGuardNumReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GetTopListGuardNumReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetTopListGuardNumReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetTopListGuardNumReq proto.InternalMessageInfo
- func (m *GetTopListGuardNumReq) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- type GetTopListGuardNumResp struct {
- TotalCount int64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetTopListGuardNumResp) Reset() { *m = GetTopListGuardNumResp{} }
- func (m *GetTopListGuardNumResp) String() string { return proto.CompactTextString(m) }
- func (*GetTopListGuardNumResp) ProtoMessage() {}
- func (*GetTopListGuardNumResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_guard_f5515e6e1476a9e5, []int{26}
- }
- func (m *GetTopListGuardNumResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GetTopListGuardNumResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GetTopListGuardNumResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GetTopListGuardNumResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetTopListGuardNumResp.Merge(dst, src)
- }
- func (m *GetTopListGuardNumResp) XXX_Size() int {
- return m.Size()
- }
- func (m *GetTopListGuardNumResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetTopListGuardNumResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetTopListGuardNumResp proto.InternalMessageInfo
- func (m *GetTopListGuardNumResp) GetTotalCount() int64 {
- if m != nil {
- return m.TotalCount
- }
- return 0
- }
- func init() {
- proto.RegisterType((*GuardBuyReq)(nil), "live.xuser.v1.GuardBuyReq")
- proto.RegisterType((*GuardBuyReply)(nil), "live.xuser.v1.GuardBuyReply")
- proto.RegisterType((*ClearUIDCacheReq)(nil), "live.xuser.v1.ClearUIDCacheReq")
- proto.RegisterType((*ClearUIDCacheResp)(nil), "live.xuser.v1.ClearUIDCacheResp")
- proto.RegisterType((*GetByUidTargetIdReq)(nil), "live.xuser.v1.GetByUidTargetIdReq")
- proto.RegisterType((*GetByUidTargetIdResp)(nil), "live.xuser.v1.GetByUidTargetIdResp")
- proto.RegisterMapType((map[int64]*DaHangHaiInfo)(nil), "live.xuser.v1.GetByUidTargetIdResp.DataEntry")
- proto.RegisterType((*AllDaHangHaiInfo)(nil), "live.xuser.v1.AllDaHangHaiInfo")
- proto.RegisterMapType((map[int64]*DaHangHaiInfo)(nil), "live.xuser.v1.AllDaHangHaiInfo.GuardInfoEntry")
- proto.RegisterType((*FilterDaHangHaiInfo)(nil), "live.xuser.v1.FilterDaHangHaiInfo")
- proto.RegisterMapType((map[int64]*DaHangHaiInfo)(nil), "live.xuser.v1.FilterDaHangHaiInfo.GuardInfoEntry")
- proto.RegisterType((*DaHangHaiInfo)(nil), "live.xuser.v1.DaHangHaiInfo")
- proto.RegisterType((*DaHangHaiInfoList)(nil), "live.xuser.v1.DaHangHaiInfoList")
- proto.RegisterType((*GetByUidTargetIdsReq)(nil), "live.xuser.v1.GetByUidTargetIdsReq")
- proto.RegisterType((*GetByUidTargetIdsResp)(nil), "live.xuser.v1.GetByUidTargetIdsResp")
- proto.RegisterMapType((map[int64]*DaHangHaiInfo)(nil), "live.xuser.v1.GetByUidTargetIdsResp.DataEntry")
- proto.RegisterType((*TargetIds)(nil), "live.xuser.v1.TargetIds")
- proto.RegisterType((*GetByTargetIdsReq)(nil), "live.xuser.v1.GetByTargetIdsReq")
- proto.RegisterType((*GetByTargetIdsResp)(nil), "live.xuser.v1.GetByTargetIdsResp")
- proto.RegisterType((*GetByUidReq)(nil), "live.xuser.v1.GetByUidReq")
- proto.RegisterType((*GetByUidResp)(nil), "live.xuser.v1.GetByUidResp")
- proto.RegisterMapType((map[int64]*DaHangHaiInfo)(nil), "live.xuser.v1.GetByUidResp.DataEntry")
- proto.RegisterType((*GetByUidBatchReq)(nil), "live.xuser.v1.GetByUidBatchReq")
- proto.RegisterType((*GetByUidBatchResp)(nil), "live.xuser.v1.GetByUidBatchResp")
- proto.RegisterMapType((map[int64]*DaHangHaiInfoList)(nil), "live.xuser.v1.GetByUidBatchResp.DataEntry")
- proto.RegisterType((*GetAnchorRecentTopGuardReq)(nil), "live.xuser.v1.GetAnchorRecentTopGuardReq")
- proto.RegisterType((*GetAnchorRecentTopGuardResp)(nil), "live.xuser.v1.GetAnchorRecentTopGuardResp")
- proto.RegisterType((*GetAnchorRecentTopGuardList)(nil), "live.xuser.v1.GetAnchorRecentTopGuardList")
- proto.RegisterType((*GetTopListGuardReq)(nil), "live.xuser.v1.GetTopListGuardReq")
- proto.RegisterType((*GetTopListGuardResp)(nil), "live.xuser.v1.GetTopListGuardResp")
- proto.RegisterType((*TopListGuard)(nil), "live.xuser.v1.TopListGuard")
- proto.RegisterType((*GetTopListGuardNumReq)(nil), "live.xuser.v1.GetTopListGuardNumReq")
- proto.RegisterType((*GetTopListGuardNumResp)(nil), "live.xuser.v1.GetTopListGuardNumResp")
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConn
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion4
- // GuardClient is the client API for Guard service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type GuardClient interface {
- // Buy 购买大航海
- Buy(ctx context.Context, in *GuardBuyReq, opts ...grpc.CallOption) (*GuardBuyReply, error)
- // GetByUIDTargetID 获取我与目标用户守护关系,不支持批量(P0级)
- GetByUIDTargetID(ctx context.Context, in *GetByUidTargetIdReq, opts ...grpc.CallOption) (*GetByUidTargetIdResp, error)
- // GetByTargetIdsBatch 获取我与目标用户守护关系,支持批量(P2级,必要时刻降级)
- GetByTargetIdsBatch(ctx context.Context, in *GetByTargetIdsReq, opts ...grpc.CallOption) (*GetByTargetIdsResp, error)
- // GetByUIDTargetIds 根据uids批量获取所有守护关系,粉丝勋章使用
- GetByUIDTargetIds(ctx context.Context, in *GetByUidTargetIdsReq, opts ...grpc.CallOption) (*GetByUidTargetIdsResp, error)
- // GetByUID 获取我所有的守护,不支持批量(P0级)
- GetByUIDForGift(ctx context.Context, in *GetByUidReq, opts ...grpc.CallOption) (*GetByUidResp, error)
- // GetByUIDBatch 根据uids获取所有的守护,支持批量(P2级)
- GetByUIDBatch(ctx context.Context, in *GetByUidBatchReq, opts ...grpc.CallOption) (*GetByUidBatchResp, error)
- // GetAnchorRecentTopGuard 获取最近的提督弹窗提醒
- GetAnchorRecentTopGuard(ctx context.Context, in *GetAnchorRecentTopGuardReq, opts ...grpc.CallOption) (*GetAnchorRecentTopGuardResp, error)
- // GetTopListGuard 获取某个up主的守护排行榜
- GetTopListGuard(ctx context.Context, in *GetTopListGuardReq, opts ...grpc.CallOption) (*GetTopListGuardResp, error)
- // GetTopListGuardNum 获取某个up主所有的守护数量,和GetTopListGuard接口的区别是此接口用于房间页首屏,逻辑比较简单,因此拆分开来
- GetTopListGuardNum(ctx context.Context, in *GetTopListGuardNumReq, opts ...grpc.CallOption) (*GetTopListGuardNumResp, error)
- // ClearUIDCache 清除cache
- ClearUIDCache(ctx context.Context, in *ClearUIDCacheReq, opts ...grpc.CallOption) (*ClearUIDCacheResp, error)
- }
- type guardClient struct {
- cc *grpc.ClientConn
- }
- func NewGuardClient(cc *grpc.ClientConn) GuardClient {
- return &guardClient{cc}
- }
- func (c *guardClient) Buy(ctx context.Context, in *GuardBuyReq, opts ...grpc.CallOption) (*GuardBuyReply, error) {
- out := new(GuardBuyReply)
- err := c.cc.Invoke(ctx, "/live.xuser.v1.Guard/Buy", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *guardClient) GetByUIDTargetID(ctx context.Context, in *GetByUidTargetIdReq, opts ...grpc.CallOption) (*GetByUidTargetIdResp, error) {
- out := new(GetByUidTargetIdResp)
- err := c.cc.Invoke(ctx, "/live.xuser.v1.Guard/GetByUIDTargetID", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *guardClient) GetByTargetIdsBatch(ctx context.Context, in *GetByTargetIdsReq, opts ...grpc.CallOption) (*GetByTargetIdsResp, error) {
- out := new(GetByTargetIdsResp)
- err := c.cc.Invoke(ctx, "/live.xuser.v1.Guard/GetByTargetIdsBatch", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *guardClient) GetByUIDTargetIds(ctx context.Context, in *GetByUidTargetIdsReq, opts ...grpc.CallOption) (*GetByUidTargetIdsResp, error) {
- out := new(GetByUidTargetIdsResp)
- err := c.cc.Invoke(ctx, "/live.xuser.v1.Guard/GetByUIDTargetIds", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *guardClient) GetByUIDForGift(ctx context.Context, in *GetByUidReq, opts ...grpc.CallOption) (*GetByUidResp, error) {
- out := new(GetByUidResp)
- err := c.cc.Invoke(ctx, "/live.xuser.v1.Guard/GetByUIDForGift", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *guardClient) GetByUIDBatch(ctx context.Context, in *GetByUidBatchReq, opts ...grpc.CallOption) (*GetByUidBatchResp, error) {
- out := new(GetByUidBatchResp)
- err := c.cc.Invoke(ctx, "/live.xuser.v1.Guard/GetByUIDBatch", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *guardClient) GetAnchorRecentTopGuard(ctx context.Context, in *GetAnchorRecentTopGuardReq, opts ...grpc.CallOption) (*GetAnchorRecentTopGuardResp, error) {
- out := new(GetAnchorRecentTopGuardResp)
- err := c.cc.Invoke(ctx, "/live.xuser.v1.Guard/GetAnchorRecentTopGuard", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *guardClient) GetTopListGuard(ctx context.Context, in *GetTopListGuardReq, opts ...grpc.CallOption) (*GetTopListGuardResp, error) {
- out := new(GetTopListGuardResp)
- err := c.cc.Invoke(ctx, "/live.xuser.v1.Guard/GetTopListGuard", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *guardClient) GetTopListGuardNum(ctx context.Context, in *GetTopListGuardNumReq, opts ...grpc.CallOption) (*GetTopListGuardNumResp, error) {
- out := new(GetTopListGuardNumResp)
- err := c.cc.Invoke(ctx, "/live.xuser.v1.Guard/GetTopListGuardNum", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *guardClient) ClearUIDCache(ctx context.Context, in *ClearUIDCacheReq, opts ...grpc.CallOption) (*ClearUIDCacheResp, error) {
- out := new(ClearUIDCacheResp)
- err := c.cc.Invoke(ctx, "/live.xuser.v1.Guard/ClearUIDCache", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // GuardServer is the server API for Guard service.
- type GuardServer interface {
- // Buy 购买大航海
- Buy(context.Context, *GuardBuyReq) (*GuardBuyReply, error)
- // GetByUIDTargetID 获取我与目标用户守护关系,不支持批量(P0级)
- GetByUIDTargetID(context.Context, *GetByUidTargetIdReq) (*GetByUidTargetIdResp, error)
- // GetByTargetIdsBatch 获取我与目标用户守护关系,支持批量(P2级,必要时刻降级)
- GetByTargetIdsBatch(context.Context, *GetByTargetIdsReq) (*GetByTargetIdsResp, error)
- // GetByUIDTargetIds 根据uids批量获取所有守护关系,粉丝勋章使用
- GetByUIDTargetIds(context.Context, *GetByUidTargetIdsReq) (*GetByUidTargetIdsResp, error)
- // GetByUID 获取我所有的守护,不支持批量(P0级)
- GetByUIDForGift(context.Context, *GetByUidReq) (*GetByUidResp, error)
- // GetByUIDBatch 根据uids获取所有的守护,支持批量(P2级)
- GetByUIDBatch(context.Context, *GetByUidBatchReq) (*GetByUidBatchResp, error)
- // GetAnchorRecentTopGuard 获取最近的提督弹窗提醒
- GetAnchorRecentTopGuard(context.Context, *GetAnchorRecentTopGuardReq) (*GetAnchorRecentTopGuardResp, error)
- // GetTopListGuard 获取某个up主的守护排行榜
- GetTopListGuard(context.Context, *GetTopListGuardReq) (*GetTopListGuardResp, error)
- // GetTopListGuardNum 获取某个up主所有的守护数量,和GetTopListGuard接口的区别是此接口用于房间页首屏,逻辑比较简单,因此拆分开来
- GetTopListGuardNum(context.Context, *GetTopListGuardNumReq) (*GetTopListGuardNumResp, error)
- // ClearUIDCache 清除cache
- ClearUIDCache(context.Context, *ClearUIDCacheReq) (*ClearUIDCacheResp, error)
- }
- func RegisterGuardServer(s *grpc.Server, srv GuardServer) {
- s.RegisterService(&_Guard_serviceDesc, srv)
- }
- func _Guard_Buy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GuardBuyReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GuardServer).Buy(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xuser.v1.Guard/Buy",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GuardServer).Buy(ctx, req.(*GuardBuyReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Guard_GetByUIDTargetID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetByUidTargetIdReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GuardServer).GetByUIDTargetID(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xuser.v1.Guard/GetByUIDTargetID",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GuardServer).GetByUIDTargetID(ctx, req.(*GetByUidTargetIdReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Guard_GetByTargetIdsBatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetByTargetIdsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GuardServer).GetByTargetIdsBatch(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xuser.v1.Guard/GetByTargetIdsBatch",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GuardServer).GetByTargetIdsBatch(ctx, req.(*GetByTargetIdsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Guard_GetByUIDTargetIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetByUidTargetIdsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GuardServer).GetByUIDTargetIds(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xuser.v1.Guard/GetByUIDTargetIds",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GuardServer).GetByUIDTargetIds(ctx, req.(*GetByUidTargetIdsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Guard_GetByUIDForGift_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetByUidReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GuardServer).GetByUIDForGift(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xuser.v1.Guard/GetByUIDForGift",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GuardServer).GetByUIDForGift(ctx, req.(*GetByUidReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Guard_GetByUIDBatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetByUidBatchReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GuardServer).GetByUIDBatch(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xuser.v1.Guard/GetByUIDBatch",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GuardServer).GetByUIDBatch(ctx, req.(*GetByUidBatchReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Guard_GetAnchorRecentTopGuard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetAnchorRecentTopGuardReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GuardServer).GetAnchorRecentTopGuard(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xuser.v1.Guard/GetAnchorRecentTopGuard",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GuardServer).GetAnchorRecentTopGuard(ctx, req.(*GetAnchorRecentTopGuardReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Guard_GetTopListGuard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetTopListGuardReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GuardServer).GetTopListGuard(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xuser.v1.Guard/GetTopListGuard",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GuardServer).GetTopListGuard(ctx, req.(*GetTopListGuardReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Guard_GetTopListGuardNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetTopListGuardNumReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GuardServer).GetTopListGuardNum(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xuser.v1.Guard/GetTopListGuardNum",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GuardServer).GetTopListGuardNum(ctx, req.(*GetTopListGuardNumReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Guard_ClearUIDCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ClearUIDCacheReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GuardServer).ClearUIDCache(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xuser.v1.Guard/ClearUIDCache",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GuardServer).ClearUIDCache(ctx, req.(*ClearUIDCacheReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- var _Guard_serviceDesc = grpc.ServiceDesc{
- ServiceName: "live.xuser.v1.Guard",
- HandlerType: (*GuardServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "Buy",
- Handler: _Guard_Buy_Handler,
- },
- {
- MethodName: "GetByUIDTargetID",
- Handler: _Guard_GetByUIDTargetID_Handler,
- },
- {
- MethodName: "GetByTargetIdsBatch",
- Handler: _Guard_GetByTargetIdsBatch_Handler,
- },
- {
- MethodName: "GetByUIDTargetIds",
- Handler: _Guard_GetByUIDTargetIds_Handler,
- },
- {
- MethodName: "GetByUIDForGift",
- Handler: _Guard_GetByUIDForGift_Handler,
- },
- {
- MethodName: "GetByUIDBatch",
- Handler: _Guard_GetByUIDBatch_Handler,
- },
- {
- MethodName: "GetAnchorRecentTopGuard",
- Handler: _Guard_GetAnchorRecentTopGuard_Handler,
- },
- {
- MethodName: "GetTopListGuard",
- Handler: _Guard_GetTopListGuard_Handler,
- },
- {
- MethodName: "GetTopListGuardNum",
- Handler: _Guard_GetTopListGuardNum_Handler,
- },
- {
- MethodName: "ClearUIDCache",
- Handler: _Guard_ClearUIDCache_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "app/service/live/xuser/api/grpc/v1/guard.proto",
- }
- func (m *GuardBuyReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GuardBuyReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.OrderId) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintGuard(dAtA, i, uint64(len(m.OrderId)))
- i += copy(dAtA[i:], m.OrderId)
- }
- if m.Uid != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Uid))
- }
- if m.Ruid != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Ruid))
- }
- if m.GuardLevel != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.GuardLevel))
- }
- if m.Num != 0 {
- dAtA[i] = 0x28
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Num))
- }
- if m.Platform != 0 {
- dAtA[i] = 0x30
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Platform))
- }
- if len(m.Source) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintGuard(dAtA, i, uint64(len(m.Source)))
- i += copy(dAtA[i:], m.Source)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GuardBuyReply) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GuardBuyReply) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Status != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Status))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *ClearUIDCacheReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *ClearUIDCacheReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Uid))
- }
- if len(m.MagicKey) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGuard(dAtA, i, uint64(len(m.MagicKey)))
- i += copy(dAtA[i:], m.MagicKey)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *ClearUIDCacheResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *ClearUIDCacheResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetByUidTargetIdReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetByUidTargetIdReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Uid))
- }
- if m.TargetId != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.TargetId))
- }
- if m.SortType != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.SortType))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetByUidTargetIdResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetByUidTargetIdResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Data) > 0 {
- for k, _ := range m.Data {
- dAtA[i] = 0xa
- i++
- v := m.Data[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovGuard(uint64(msgSize))
- }
- mapSize := 1 + sovGuard(uint64(k)) + msgSize
- i = encodeVarintGuard(dAtA, i, uint64(mapSize))
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(k))
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGuard(dAtA, i, uint64(v.Size()))
- n1, err := v.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n1
- }
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *AllDaHangHaiInfo) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *AllDaHangHaiInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.GuardInfo) > 0 {
- for k, _ := range m.GuardInfo {
- dAtA[i] = 0xa
- i++
- v := m.GuardInfo[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovGuard(uint64(msgSize))
- }
- mapSize := 1 + sovGuard(uint64(k)) + msgSize
- i = encodeVarintGuard(dAtA, i, uint64(mapSize))
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(k))
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGuard(dAtA, i, uint64(v.Size()))
- n2, err := v.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n2
- }
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *FilterDaHangHaiInfo) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *FilterDaHangHaiInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.GuardInfo) > 0 {
- for k, _ := range m.GuardInfo {
- dAtA[i] = 0xa
- i++
- v := m.GuardInfo[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovGuard(uint64(msgSize))
- }
- mapSize := 1 + sovGuard(uint64(k)) + msgSize
- i = encodeVarintGuard(dAtA, i, uint64(mapSize))
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(k))
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGuard(dAtA, i, uint64(v.Size()))
- n3, err := v.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n3
- }
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DaHangHaiInfo) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DaHangHaiInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Id))
- }
- if m.Uid != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Uid))
- }
- if m.TargetId != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.TargetId))
- }
- if m.PrivilegeType != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.PrivilegeType))
- }
- if len(m.StartTime) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintGuard(dAtA, i, uint64(len(m.StartTime)))
- i += copy(dAtA[i:], m.StartTime)
- }
- if len(m.ExpiredTime) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintGuard(dAtA, i, uint64(len(m.ExpiredTime)))
- i += copy(dAtA[i:], m.ExpiredTime)
- }
- if len(m.Ctime) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintGuard(dAtA, i, uint64(len(m.Ctime)))
- i += copy(dAtA[i:], m.Ctime)
- }
- if len(m.Utime) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintGuard(dAtA, i, uint64(len(m.Utime)))
- i += copy(dAtA[i:], m.Utime)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DaHangHaiInfoList) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DaHangHaiInfoList) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.List) > 0 {
- for _, msg := range m.List {
- dAtA[i] = 0xa
- i++
- i = encodeVarintGuard(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetByUidTargetIdsReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetByUidTargetIdsReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Uid))
- }
- if len(m.TargetIDs) > 0 {
- for _, msg := range m.TargetIDs {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGuard(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetByUidTargetIdsResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetByUidTargetIdsResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Data) > 0 {
- for k, _ := range m.Data {
- dAtA[i] = 0xa
- i++
- v := m.Data[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovGuard(uint64(msgSize))
- }
- mapSize := 1 + sovGuard(uint64(k)) + msgSize
- i = encodeVarintGuard(dAtA, i, uint64(mapSize))
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(k))
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGuard(dAtA, i, uint64(v.Size()))
- n4, err := v.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n4
- }
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *TargetIds) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *TargetIds) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.TargetId != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.TargetId))
- }
- if m.SortType != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.SortType))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetByTargetIdsReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetByTargetIdsReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.TargetIDs) > 0 {
- for _, msg := range m.TargetIDs {
- dAtA[i] = 0xa
- i++
- i = encodeVarintGuard(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetByTargetIdsResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetByTargetIdsResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetByUidReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetByUidReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Uid))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetByUidResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetByUidResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Data) > 0 {
- for k, _ := range m.Data {
- dAtA[i] = 0xa
- i++
- v := m.Data[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovGuard(uint64(msgSize))
- }
- mapSize := 1 + sovGuard(uint64(k)) + msgSize
- i = encodeVarintGuard(dAtA, i, uint64(mapSize))
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(k))
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGuard(dAtA, i, uint64(v.Size()))
- n5, err := v.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n5
- }
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetByUidBatchReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetByUidBatchReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Uids) > 0 {
- dAtA7 := make([]byte, len(m.Uids)*10)
- var j6 int
- for _, num1 := range m.Uids {
- num := uint64(num1)
- for num >= 1<<7 {
- dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80)
- num >>= 7
- j6++
- }
- dAtA7[j6] = uint8(num)
- j6++
- }
- dAtA[i] = 0xa
- i++
- i = encodeVarintGuard(dAtA, i, uint64(j6))
- i += copy(dAtA[i:], dAtA7[:j6])
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetByUidBatchResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetByUidBatchResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Data) > 0 {
- for k, _ := range m.Data {
- dAtA[i] = 0xa
- i++
- v := m.Data[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovGuard(uint64(msgSize))
- }
- mapSize := 1 + sovGuard(uint64(k)) + msgSize
- i = encodeVarintGuard(dAtA, i, uint64(mapSize))
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(k))
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGuard(dAtA, i, uint64(v.Size()))
- n8, err := v.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n8
- }
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetAnchorRecentTopGuardReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetAnchorRecentTopGuardReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Uid))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetAnchorRecentTopGuardResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetAnchorRecentTopGuardResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Cnt != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Cnt))
- }
- if len(m.List) > 0 {
- for _, msg := range m.List {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGuard(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetAnchorRecentTopGuardList) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetAnchorRecentTopGuardList) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Uid))
- }
- if m.EndTime != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.EndTime))
- }
- if m.IsOpen != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.IsOpen))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetTopListGuardReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetTopListGuardReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Uid))
- }
- if m.Page != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Page))
- }
- if m.PageSize != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.PageSize))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetTopListGuardResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetTopListGuardResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Num != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Num))
- }
- if m.Page != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Page))
- }
- if m.Now != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Now))
- }
- if len(m.List) > 0 {
- for _, msg := range m.List {
- dAtA[i] = 0x22
- i++
- i = encodeVarintGuard(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if len(m.Top3) > 0 {
- for _, msg := range m.Top3 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintGuard(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *TopListGuard) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *TopListGuard) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Uid))
- }
- if m.Ruid != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Ruid))
- }
- if m.GuardLevel != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.GuardLevel))
- }
- if m.Rank != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Rank))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetTopListGuardNumReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetTopListGuardNumReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.Uid))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GetTopListGuardNumResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GetTopListGuardNumResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.TotalCount != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGuard(dAtA, i, uint64(m.TotalCount))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func encodeVarintGuard(dAtA []byte, offset int, v uint64) int {
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return offset + 1
- }
- func (m *GuardBuyReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.OrderId)
- if l > 0 {
- n += 1 + l + sovGuard(uint64(l))
- }
- if m.Uid != 0 {
- n += 1 + sovGuard(uint64(m.Uid))
- }
- if m.Ruid != 0 {
- n += 1 + sovGuard(uint64(m.Ruid))
- }
- if m.GuardLevel != 0 {
- n += 1 + sovGuard(uint64(m.GuardLevel))
- }
- if m.Num != 0 {
- n += 1 + sovGuard(uint64(m.Num))
- }
- if m.Platform != 0 {
- n += 1 + sovGuard(uint64(m.Platform))
- }
- l = len(m.Source)
- if l > 0 {
- n += 1 + l + sovGuard(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GuardBuyReply) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Status != 0 {
- n += 1 + sovGuard(uint64(m.Status))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *ClearUIDCacheReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovGuard(uint64(m.Uid))
- }
- l = len(m.MagicKey)
- if l > 0 {
- n += 1 + l + sovGuard(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *ClearUIDCacheResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetByUidTargetIdReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovGuard(uint64(m.Uid))
- }
- if m.TargetId != 0 {
- n += 1 + sovGuard(uint64(m.TargetId))
- }
- if m.SortType != 0 {
- n += 1 + sovGuard(uint64(m.SortType))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetByUidTargetIdResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Data) > 0 {
- for k, v := range m.Data {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovGuard(uint64(l))
- }
- mapEntrySize := 1 + sovGuard(uint64(k)) + l
- n += mapEntrySize + 1 + sovGuard(uint64(mapEntrySize))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *AllDaHangHaiInfo) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.GuardInfo) > 0 {
- for k, v := range m.GuardInfo {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovGuard(uint64(l))
- }
- mapEntrySize := 1 + sovGuard(uint64(k)) + l
- n += mapEntrySize + 1 + sovGuard(uint64(mapEntrySize))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *FilterDaHangHaiInfo) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.GuardInfo) > 0 {
- for k, v := range m.GuardInfo {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovGuard(uint64(l))
- }
- mapEntrySize := 1 + sovGuard(uint64(k)) + l
- n += mapEntrySize + 1 + sovGuard(uint64(mapEntrySize))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DaHangHaiInfo) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovGuard(uint64(m.Id))
- }
- if m.Uid != 0 {
- n += 1 + sovGuard(uint64(m.Uid))
- }
- if m.TargetId != 0 {
- n += 1 + sovGuard(uint64(m.TargetId))
- }
- if m.PrivilegeType != 0 {
- n += 1 + sovGuard(uint64(m.PrivilegeType))
- }
- l = len(m.StartTime)
- if l > 0 {
- n += 1 + l + sovGuard(uint64(l))
- }
- l = len(m.ExpiredTime)
- if l > 0 {
- n += 1 + l + sovGuard(uint64(l))
- }
- l = len(m.Ctime)
- if l > 0 {
- n += 1 + l + sovGuard(uint64(l))
- }
- l = len(m.Utime)
- if l > 0 {
- n += 1 + l + sovGuard(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DaHangHaiInfoList) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.List) > 0 {
- for _, e := range m.List {
- l = e.Size()
- n += 1 + l + sovGuard(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetByUidTargetIdsReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovGuard(uint64(m.Uid))
- }
- if len(m.TargetIDs) > 0 {
- for _, e := range m.TargetIDs {
- l = e.Size()
- n += 1 + l + sovGuard(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetByUidTargetIdsResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Data) > 0 {
- for k, v := range m.Data {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovGuard(uint64(l))
- }
- mapEntrySize := 1 + sovGuard(uint64(k)) + l
- n += mapEntrySize + 1 + sovGuard(uint64(mapEntrySize))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *TargetIds) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.TargetId != 0 {
- n += 1 + sovGuard(uint64(m.TargetId))
- }
- if m.SortType != 0 {
- n += 1 + sovGuard(uint64(m.SortType))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetByTargetIdsReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.TargetIDs) > 0 {
- for _, e := range m.TargetIDs {
- l = e.Size()
- n += 1 + l + sovGuard(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetByTargetIdsResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetByUidReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovGuard(uint64(m.Uid))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetByUidResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Data) > 0 {
- for k, v := range m.Data {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovGuard(uint64(l))
- }
- mapEntrySize := 1 + sovGuard(uint64(k)) + l
- n += mapEntrySize + 1 + sovGuard(uint64(mapEntrySize))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetByUidBatchReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Uids) > 0 {
- l = 0
- for _, e := range m.Uids {
- l += sovGuard(uint64(e))
- }
- n += 1 + sovGuard(uint64(l)) + l
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetByUidBatchResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Data) > 0 {
- for k, v := range m.Data {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovGuard(uint64(l))
- }
- mapEntrySize := 1 + sovGuard(uint64(k)) + l
- n += mapEntrySize + 1 + sovGuard(uint64(mapEntrySize))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetAnchorRecentTopGuardReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovGuard(uint64(m.Uid))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetAnchorRecentTopGuardResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Cnt != 0 {
- n += 1 + sovGuard(uint64(m.Cnt))
- }
- if len(m.List) > 0 {
- for _, e := range m.List {
- l = e.Size()
- n += 1 + l + sovGuard(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetAnchorRecentTopGuardList) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovGuard(uint64(m.Uid))
- }
- if m.EndTime != 0 {
- n += 1 + sovGuard(uint64(m.EndTime))
- }
- if m.IsOpen != 0 {
- n += 1 + sovGuard(uint64(m.IsOpen))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetTopListGuardReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovGuard(uint64(m.Uid))
- }
- if m.Page != 0 {
- n += 1 + sovGuard(uint64(m.Page))
- }
- if m.PageSize != 0 {
- n += 1 + sovGuard(uint64(m.PageSize))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetTopListGuardResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Num != 0 {
- n += 1 + sovGuard(uint64(m.Num))
- }
- if m.Page != 0 {
- n += 1 + sovGuard(uint64(m.Page))
- }
- if m.Now != 0 {
- n += 1 + sovGuard(uint64(m.Now))
- }
- if len(m.List) > 0 {
- for _, e := range m.List {
- l = e.Size()
- n += 1 + l + sovGuard(uint64(l))
- }
- }
- if len(m.Top3) > 0 {
- for _, e := range m.Top3 {
- l = e.Size()
- n += 1 + l + sovGuard(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *TopListGuard) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovGuard(uint64(m.Uid))
- }
- if m.Ruid != 0 {
- n += 1 + sovGuard(uint64(m.Ruid))
- }
- if m.GuardLevel != 0 {
- n += 1 + sovGuard(uint64(m.GuardLevel))
- }
- if m.Rank != 0 {
- n += 1 + sovGuard(uint64(m.Rank))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetTopListGuardNumReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovGuard(uint64(m.Uid))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GetTopListGuardNumResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.TotalCount != 0 {
- n += 1 + sovGuard(uint64(m.TotalCount))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func sovGuard(x uint64) (n int) {
- for {
- n++
- x >>= 7
- if x == 0 {
- break
- }
- }
- return n
- }
- func sozGuard(x uint64) (n int) {
- return sovGuard(uint64((x << 1) ^ uint64((int64(x) >> 63))))
- }
- func (m *GuardBuyReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GuardBuyReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GuardBuyReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OrderId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ruid", wireType)
- }
- m.Ruid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Ruid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field GuardLevel", wireType)
- }
- m.GuardLevel = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.GuardLevel |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
- }
- m.Num = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Num |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
- }
- m.Platform = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Platform |= (grpc1.Platform(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Source = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GuardBuyReply) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GuardBuyReply: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GuardBuyReply: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
- }
- m.Status = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Status |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *ClearUIDCacheReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: ClearUIDCacheReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ClearUIDCacheReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MagicKey", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MagicKey = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *ClearUIDCacheResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: ClearUIDCacheResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: ClearUIDCacheResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetByUidTargetIdReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetByUidTargetIdReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetByUidTargetIdReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TargetId", wireType)
- }
- m.TargetId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TargetId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field SortType", wireType)
- }
- m.SortType = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.SortType |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetByUidTargetIdResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetByUidTargetIdResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetByUidTargetIdResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Data == nil {
- m.Data = make(map[int64]*DaHangHaiInfo)
- }
- var mapkey int64
- var mapvalue *DaHangHaiInfo
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapkey |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- postmsgIndex := iNdEx + mapmsglen
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &DaHangHaiInfo{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.Data[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *AllDaHangHaiInfo) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AllDaHangHaiInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AllDaHangHaiInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GuardInfo", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.GuardInfo == nil {
- m.GuardInfo = make(map[int64]*DaHangHaiInfo)
- }
- var mapkey int64
- var mapvalue *DaHangHaiInfo
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapkey |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- postmsgIndex := iNdEx + mapmsglen
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &DaHangHaiInfo{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.GuardInfo[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *FilterDaHangHaiInfo) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: FilterDaHangHaiInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: FilterDaHangHaiInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GuardInfo", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.GuardInfo == nil {
- m.GuardInfo = make(map[int64]*DaHangHaiInfo)
- }
- var mapkey int64
- var mapvalue *DaHangHaiInfo
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapkey |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- postmsgIndex := iNdEx + mapmsglen
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &DaHangHaiInfo{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.GuardInfo[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DaHangHaiInfo) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: DaHangHaiInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: DaHangHaiInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TargetId", wireType)
- }
- m.TargetId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TargetId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PrivilegeType", wireType)
- }
- m.PrivilegeType = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.PrivilegeType |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.StartTime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExpiredTime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ExpiredTime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Ctime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Utime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Utime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DaHangHaiInfoList) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: DaHangHaiInfoList: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: DaHangHaiInfoList: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.List = append(m.List, &DaHangHaiInfo{})
- if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetByUidTargetIdsReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetByUidTargetIdsReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetByUidTargetIdsReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TargetIDs", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.TargetIDs = append(m.TargetIDs, &TargetIds{})
- if err := m.TargetIDs[len(m.TargetIDs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetByUidTargetIdsResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetByUidTargetIdsResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetByUidTargetIdsResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Data == nil {
- m.Data = make(map[int64]*DaHangHaiInfo)
- }
- var mapkey int64
- var mapvalue *DaHangHaiInfo
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapkey |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- postmsgIndex := iNdEx + mapmsglen
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &DaHangHaiInfo{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.Data[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *TargetIds) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: TargetIds: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: TargetIds: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TargetId", wireType)
- }
- m.TargetId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TargetId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field SortType", wireType)
- }
- m.SortType = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.SortType |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetByTargetIdsReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetByTargetIdsReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetByTargetIdsReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TargetIDs", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.TargetIDs = append(m.TargetIDs, &TargetIds{})
- if err := m.TargetIDs[len(m.TargetIDs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetByTargetIdsResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetByTargetIdsResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetByTargetIdsResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetByUidReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetByUidReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetByUidReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetByUidResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetByUidResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetByUidResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Data == nil {
- m.Data = make(map[int64]*DaHangHaiInfo)
- }
- var mapkey int64
- var mapvalue *DaHangHaiInfo
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapkey |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- postmsgIndex := iNdEx + mapmsglen
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &DaHangHaiInfo{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.Data[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetByUidBatchReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetByUidBatchReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetByUidBatchReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType == 0 {
- var v int64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Uids = append(m.Uids, v)
- } else if wireType == 2 {
- var packedLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- packedLen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if packedLen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + packedLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- var elementCount int
- var count int
- for _, integer := range dAtA {
- if integer < 128 {
- count++
- }
- }
- elementCount = count
- if elementCount != 0 && len(m.Uids) == 0 {
- m.Uids = make([]int64, 0, elementCount)
- }
- for iNdEx < postIndex {
- var v int64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Uids = append(m.Uids, v)
- }
- } else {
- return fmt.Errorf("proto: wrong wireType = %d for field Uids", wireType)
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetByUidBatchResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetByUidBatchResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetByUidBatchResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Data == nil {
- m.Data = make(map[int64]*DaHangHaiInfoList)
- }
- var mapkey int64
- var mapvalue *DaHangHaiInfoList
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapkey |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- postmsgIndex := iNdEx + mapmsglen
- if mapmsglen < 0 {
- return ErrInvalidLengthGuard
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &DaHangHaiInfoList{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.Data[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetAnchorRecentTopGuardReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetAnchorRecentTopGuardReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetAnchorRecentTopGuardReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetAnchorRecentTopGuardResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetAnchorRecentTopGuardResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetAnchorRecentTopGuardResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Cnt", wireType)
- }
- m.Cnt = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Cnt |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.List = append(m.List, &GetAnchorRecentTopGuardList{})
- if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetAnchorRecentTopGuardList) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetAnchorRecentTopGuardList: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetAnchorRecentTopGuardList: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
- }
- m.EndTime = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.EndTime |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field IsOpen", wireType)
- }
- m.IsOpen = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.IsOpen |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetTopListGuardReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetTopListGuardReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetTopListGuardReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
- }
- m.Page = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Page |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
- }
- m.PageSize = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.PageSize |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetTopListGuardResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetTopListGuardResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetTopListGuardResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
- }
- m.Num = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Num |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
- }
- m.Page = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Page |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Now", wireType)
- }
- m.Now = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Now |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.List = append(m.List, &TopListGuard{})
- if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Top3", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGuard
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Top3 = append(m.Top3, &TopListGuard{})
- if err := m.Top3[len(m.Top3)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *TopListGuard) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: TopListGuard: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: TopListGuard: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ruid", wireType)
- }
- m.Ruid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Ruid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field GuardLevel", wireType)
- }
- m.GuardLevel = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.GuardLevel |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Rank", wireType)
- }
- m.Rank = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Rank |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetTopListGuardNumReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetTopListGuardNumReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetTopListGuardNumReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GetTopListGuardNumResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GetTopListGuardNumResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GetTopListGuardNumResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType)
- }
- m.TotalCount = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TotalCount |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGuard(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGuard
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func skipGuard(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- return iNdEx, nil
- case 1:
- iNdEx += 8
- return iNdEx, nil
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- iNdEx += length
- if length < 0 {
- return 0, ErrInvalidLengthGuard
- }
- return iNdEx, nil
- case 3:
- for {
- var innerWire uint64
- var start int = iNdEx
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowGuard
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- innerWire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- innerWireType := int(innerWire & 0x7)
- if innerWireType == 4 {
- break
- }
- next, err := skipGuard(dAtA[start:])
- if err != nil {
- return 0, err
- }
- iNdEx = start + next
- }
- return iNdEx, nil
- case 4:
- return iNdEx, nil
- case 5:
- iNdEx += 4
- return iNdEx, nil
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- }
- panic("unreachable")
- }
- var (
- ErrInvalidLengthGuard = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowGuard = fmt.Errorf("proto: integer overflow")
- )
- func init() {
- proto.RegisterFile("app/service/live/xuser/api/grpc/v1/guard.proto", fileDescriptor_guard_f5515e6e1476a9e5)
- }
- var fileDescriptor_guard_f5515e6e1476a9e5 = []byte{
- // 1589 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6f, 0xdb, 0x36,
- 0x18, 0x87, 0x6c, 0x27, 0xb1, 0x99, 0x47, 0x13, 0xb6, 0x6b, 0x5d, 0x37, 0xa8, 0x5c, 0x25, 0x45,
- 0xd3, 0x6c, 0xb1, 0x93, 0x74, 0xaf, 0x06, 0x28, 0x86, 0x3a, 0x6e, 0x13, 0x37, 0x45, 0x3b, 0x68,
- 0x29, 0xb6, 0x75, 0xc0, 0x3c, 0xd5, 0x62, 0x1c, 0xa1, 0xb2, 0xc4, 0x88, 0x94, 0x5b, 0xef, 0x38,
- 0x0c, 0xd8, 0x9f, 0x30, 0xa0, 0xd8, 0x5f, 0xb0, 0xeb, 0x2e, 0xc3, 0xb0, 0x3f, 0x60, 0x3b, 0x6d,
- 0x97, 0x9d, 0x06, 0x68, 0x43, 0x8f, 0x3e, 0xfa, 0xb8, 0xd3, 0x40, 0x52, 0x96, 0x25, 0xf9, 0x09,
- 0xa4, 0x43, 0x77, 0x91, 0x44, 0xf2, 0xfb, 0x7d, 0xfc, 0xde, 0x1f, 0x29, 0x50, 0xd0, 0x30, 0x2e,
- 0x12, 0xe4, 0x34, 0x8d, 0x1a, 0x2a, 0x9a, 0x46, 0x13, 0x15, 0x9f, 0xbb, 0x04, 0x39, 0x45, 0x0d,
- 0x1b, 0xc5, 0xba, 0x83, 0x6b, 0xc5, 0xe6, 0x56, 0xb1, 0xee, 0x6a, 0x8e, 0x5e, 0xc0, 0x8e, 0x4d,
- 0x6d, 0x38, 0xcf, 0x68, 0x0a, 0x9c, 0xa6, 0xd0, 0xdc, 0xca, 0x6d, 0xd4, 0x0d, 0x7a, 0xec, 0x3e,
- 0x29, 0xd4, 0xec, 0x46, 0xb1, 0x6e, 0xd7, 0xed, 0x22, 0xa7, 0x7a, 0xe2, 0x1e, 0xf1, 0x11, 0x1f,
- 0xf0, 0x2f, 0x81, 0xce, 0xbd, 0x39, 0x6e, 0x37, 0xc1, 0x98, 0x13, 0x2b, 0xdf, 0x25, 0xc1, 0xec,
- 0x1e, 0xdb, 0xba, 0xe4, 0xb6, 0x54, 0x74, 0x02, 0xb7, 0x41, 0xda, 0x76, 0x74, 0xe4, 0x54, 0x0d,
- 0x3d, 0x2b, 0xe5, 0xa5, 0xb5, 0x4c, 0xe9, 0x42, 0xc7, 0x93, 0xcf, 0x36, 0x35, 0xd3, 0xd0, 0x35,
- 0x8a, 0x76, 0x14, 0x07, 0x9d, 0xb8, 0x86, 0x83, 0x74, 0x45, 0x9d, 0xe1, 0x84, 0x15, 0x1d, 0x16,
- 0x40, 0xd2, 0x35, 0xf4, 0x6c, 0x22, 0x2f, 0xad, 0x25, 0x4b, 0xcb, 0x1d, 0x4f, 0xce, 0xf6, 0xc8,
- 0xeb, 0xf4, 0xd6, 0xe6, 0x5b, 0x3d, 0x0c, 0x23, 0x84, 0x9b, 0x20, 0xe5, 0x30, 0x40, 0x72, 0x02,
- 0x00, 0xa7, 0x84, 0x65, 0x30, 0xcb, 0xed, 0x53, 0x35, 0x51, 0x13, 0x99, 0xd9, 0x54, 0x5e, 0x5a,
- 0x9b, 0x2a, 0xad, 0x8c, 0x02, 0xfe, 0xe3, 0xc9, 0x49, 0xc3, 0xa2, 0x2a, 0xe0, 0xb8, 0xfb, 0x0c,
- 0x06, 0xdf, 0x01, 0x49, 0xcb, 0x6d, 0x64, 0xa7, 0x26, 0x47, 0x33, 0x7a, 0x58, 0x01, 0x69, 0x6c,
- 0x6a, 0xf4, 0xc8, 0x76, 0x1a, 0xd9, 0xe9, 0xbc, 0xb4, 0xb6, 0xb0, 0x7d, 0xae, 0x10, 0x72, 0xd0,
- 0x87, 0xfe, 0xda, 0x70, 0x43, 0x05, 0x70, 0x58, 0x04, 0xd3, 0xc4, 0x76, 0x9d, 0x1a, 0xca, 0xce,
- 0x8c, 0xb6, 0xad, 0x4f, 0xa6, 0xec, 0x80, 0xf9, 0x9e, 0x77, 0xb0, 0xd9, 0x82, 0xd7, 0xc1, 0x34,
- 0xa1, 0x1a, 0x75, 0x09, 0xf7, 0xce, 0x54, 0x69, 0xa9, 0xed, 0xc9, 0xfe, 0x4c, 0x57, 0x68, 0x7f,
- 0xa8, 0xbc, 0x90, 0xc0, 0xe2, 0xae, 0x89, 0x34, 0xe7, 0x51, 0xa5, 0xbc, 0xab, 0xd5, 0x8e, 0x11,
- 0xf3, 0xef, 0x4d, 0xe1, 0x2b, 0x89, 0x9b, 0xfe, 0x5a, 0xc7, 0x93, 0x57, 0x98, 0x60, 0x3b, 0x8a,
- 0x6b, 0xe8, 0x4a, 0x7e, 0xb4, 0xdb, 0x0e, 0x40, 0xa6, 0xa1, 0xd5, 0x8d, 0x5a, 0xf5, 0x29, 0x6a,
- 0x71, 0x67, 0x67, 0x4a, 0x85, 0x8e, 0x27, 0xaf, 0x0b, 0x06, 0xc1, 0x52, 0x98, 0x8d, 0x66, 0xe2,
- 0x63, 0x2d, 0xc4, 0x27, 0xcd, 0xa9, 0x0e, 0x50, 0x4b, 0x39, 0x0b, 0x96, 0x62, 0xb2, 0x11, 0xac,
- 0xfc, 0x29, 0x81, 0xb3, 0x7b, 0x88, 0x96, 0x5a, 0x8f, 0x0c, 0xfd, 0x50, 0x73, 0xea, 0x88, 0x56,
- 0xf4, 0x53, 0x0a, 0x7d, 0x07, 0x64, 0x28, 0xe7, 0x54, 0x0d, 0x22, 0x74, 0xad, 0xe3, 0xc9, 0xab,
- 0x82, 0x41, 0xb0, 0x14, 0x66, 0x13, 0x12, 0x97, 0xfa, 0x42, 0xc0, 0x12, 0xc8, 0x10, 0xdb, 0xa1,
- 0x55, 0xda, 0xc2, 0xc8, 0x8f, 0xdb, 0xab, 0x1d, 0x4f, 0xbe, 0x22, 0xd8, 0x04, 0x4b, 0x51, 0x69,
- 0xd0, 0xad, 0x4d, 0x45, 0x4d, 0xb3, 0xc5, 0x43, 0xb6, 0xf6, 0x93, 0x04, 0xce, 0xf5, 0x6b, 0x47,
- 0x30, 0x3c, 0x00, 0x29, 0x5d, 0xa3, 0x5a, 0x56, 0xca, 0x27, 0xd7, 0x66, 0xb7, 0x37, 0x0a, 0x91,
- 0xec, 0x2f, 0x0c, 0x82, 0x14, 0xca, 0x1a, 0xd5, 0xee, 0x58, 0xd4, 0x69, 0x95, 0xd2, 0x6d, 0x4f,
- 0xe6, 0x70, 0x95, 0x3f, 0x73, 0x8f, 0x40, 0x26, 0x58, 0x84, 0x8b, 0x20, 0xc9, 0x9c, 0xc5, 0x0d,
- 0xa7, 0xb2, 0x4f, 0xb8, 0x0d, 0xa6, 0x9a, 0x9a, 0xe9, 0x22, 0x6e, 0x8b, 0xd9, 0xed, 0xe5, 0xd8,
- 0x66, 0x65, 0x6d, 0x5f, 0xb3, 0xea, 0xfb, 0x9a, 0x51, 0xb1, 0x8e, 0x6c, 0x55, 0x90, 0xee, 0x24,
- 0xde, 0x97, 0x94, 0x3f, 0x24, 0xb0, 0x78, 0xdb, 0x34, 0x23, 0xeb, 0x10, 0x81, 0x0c, 0x4f, 0x2f,
- 0x36, 0xf0, 0xa5, 0x2f, 0xc4, 0x18, 0xc6, 0x31, 0x85, 0xbd, 0x2e, 0x40, 0x88, 0x3f, 0x34, 0x03,
- 0x7a, 0x9c, 0x73, 0x8f, 0xc1, 0x42, 0x14, 0xf5, 0x0a, 0xf5, 0x62, 0x21, 0x77, 0xd7, 0x30, 0x29,
- 0x72, 0xa2, 0xaa, 0x1d, 0xf7, 0xab, 0xb6, 0x15, 0xe3, 0x39, 0x00, 0xf6, 0x7f, 0xd3, 0xee, 0xb7,
- 0x04, 0x98, 0x8f, 0xea, 0x75, 0x1e, 0x24, 0x82, 0x4c, 0x9a, 0x6e, 0x7b, 0x72, 0xc2, 0xd0, 0xd5,
- 0x84, 0xa1, 0xc3, 0x8b, 0xe1, 0x1a, 0x3e, 0xd3, 0xf6, 0x64, 0x36, 0x14, 0x29, 0xb4, 0x1e, 0x4e,
- 0x21, 0x11, 0xfb, 0xf3, 0x6d, 0x4f, 0xee, 0x4d, 0x86, 0xf2, 0xe4, 0x26, 0x58, 0xc0, 0x8e, 0xd1,
- 0x34, 0x4c, 0x54, 0x47, 0x22, 0x59, 0x52, 0x1c, 0x00, 0xdb, 0x9e, 0x1c, 0x5b, 0x51, 0xe7, 0x83,
- 0x31, 0x4b, 0x0f, 0xb8, 0x01, 0x00, 0xa1, 0x1a, 0x4b, 0x24, 0xa3, 0x81, 0x78, 0x91, 0xce, 0x94,
- 0x16, 0xda, 0x9e, 0x1c, 0x9a, 0x55, 0x33, 0xfc, 0xfb, 0xd0, 0x68, 0x20, 0x78, 0x03, 0xcc, 0xa1,
- 0xe7, 0x98, 0x59, 0x53, 0x00, 0xa6, 0x39, 0x60, 0xb1, 0xed, 0xc9, 0x91, 0x79, 0x75, 0xd6, 0x1f,
- 0x71, 0x90, 0x0c, 0xa6, 0x6a, 0x9c, 0x5a, 0x94, 0xdf, 0x4c, 0xdb, 0x93, 0xc5, 0x84, 0x2a, 0x5e,
- 0x8c, 0xc0, 0xe5, 0x04, 0xe9, 0x1e, 0x81, 0x2b, 0x08, 0xf8, 0x4b, 0x79, 0x08, 0x96, 0x22, 0x06,
- 0xbd, 0x6f, 0x10, 0x0a, 0x77, 0x40, 0xca, 0x34, 0x08, 0xf5, 0xe3, 0x64, 0xa4, 0x77, 0x44, 0xbe,
- 0x32, 0x6a, 0x95, 0x3f, 0x95, 0x1f, 0x06, 0x54, 0x05, 0x72, 0xca, 0xa2, 0xf7, 0x45, 0xd7, 0x63,
- 0x95, 0x32, 0xc9, 0x26, 0xb8, 0x50, 0xd9, 0x98, 0x50, 0xc1, 0x56, 0xfd, 0xe5, 0xb0, 0x52, 0x26,
- 0x83, 0xcb, 0x61, 0x8f, 0xa9, 0xf2, 0xb3, 0x04, 0xde, 0x18, 0x20, 0x35, 0xc1, 0xf0, 0x7e, 0xa4,
- 0x98, 0x15, 0xc6, 0x14, 0x33, 0xf2, 0x7a, 0xaa, 0xd9, 0x0b, 0x09, 0x64, 0x02, 0x11, 0xe0, 0xbd,
- 0x70, 0x80, 0x0b, 0x7b, 0x6f, 0x74, 0x3c, 0xf9, 0xfa, 0x88, 0x1e, 0x11, 0xb3, 0x7a, 0x2f, 0x01,
- 0x6e, 0x87, 0x1b, 0x85, 0xc8, 0xa6, 0xd5, 0x8e, 0x27, 0xe7, 0x47, 0x36, 0x8a, 0x68, 0x9f, 0x70,
- 0xc1, 0x12, 0x37, 0x53, 0x24, 0x1a, 0x22, 0x2e, 0x95, 0xfe, 0x0b, 0x97, 0x9e, 0x03, 0x30, 0xbe,
- 0x2d, 0xc1, 0xca, 0x3e, 0x98, 0xed, 0xfa, 0xec, 0x74, 0x41, 0xa9, 0x7c, 0x2f, 0x81, 0xb9, 0x1e,
- 0x2b, 0x82, 0xe1, 0x6e, 0x24, 0x52, 0xae, 0x0e, 0x89, 0x94, 0xd7, 0x13, 0x20, 0x07, 0x60, 0xb1,
- 0x2b, 0x40, 0x49, 0xa3, 0xb5, 0x63, 0xa6, 0xfb, 0x7b, 0x20, 0xe5, 0x1a, 0xba, 0xb0, 0x7e, 0x92,
- 0x9f, 0x1f, 0xe5, 0x40, 0xf9, 0x21, 0xe6, 0xe5, 0x00, 0xe5, 0x47, 0xc9, 0xf7, 0x68, 0x8f, 0x1b,
- 0xc1, 0x70, 0x3f, 0xa2, 0xfe, 0xfa, 0x10, 0xf5, 0x03, 0xfa, 0x11, 0x36, 0xf8, 0x74, 0xb4, 0x0d,
- 0xde, 0x8d, 0xda, 0x20, 0x3f, 0xca, 0x06, 0xac, 0x9c, 0x85, 0xed, 0xf0, 0x31, 0xc8, 0xed, 0x21,
- 0x7a, 0xdb, 0xaa, 0x1d, 0xdb, 0x8e, 0x8a, 0x6a, 0xc8, 0xa2, 0x87, 0x36, 0xe6, 0xed, 0xea, 0x94,
- 0xd1, 0xf0, 0x95, 0x04, 0x2e, 0x0d, 0xe5, 0x4c, 0x30, 0xeb, 0x47, 0x35, 0x8b, 0xfa, 0xac, 0x79,
- 0x3f, 0xaa, 0xb1, 0xf3, 0x78, 0xcd, 0xa2, 0xcc, 0x70, 0xbc, 0xda, 0x26, 0x86, 0x19, 0x6e, 0x10,
- 0x53, 0xa6, 0x58, 0x5f, 0xed, 0xfd, 0x66, 0xb8, 0x10, 0xbc, 0xae, 0x5f, 0x0c, 0xeb, 0x17, 0x6d,
- 0x8a, 0xd7, 0x40, 0x1a, 0x59, 0x7e, 0xeb, 0x11, 0x69, 0x3e, 0xd7, 0xf6, 0xe4, 0x60, 0x4e, 0x9d,
- 0x41, 0x96, 0x68, 0x39, 0xab, 0x60, 0xc6, 0x20, 0x55, 0x1b, 0x23, 0xcb, 0xef, 0x9d, 0xb3, 0x6d,
- 0x4f, 0xee, 0x4e, 0xa9, 0xd3, 0x06, 0x79, 0x88, 0x91, 0xa5, 0xfc, 0x2a, 0xf1, 0xec, 0x3b, 0xb4,
- 0x31, 0xdb, 0xf8, 0x15, 0x18, 0x18, 0xbe, 0x0d, 0x52, 0x58, 0xab, 0x77, 0x85, 0xcb, 0x77, 0x3c,
- 0x79, 0x59, 0x60, 0xd9, 0x6c, 0xfc, 0x9c, 0xba, 0xa5, 0xa8, 0x9c, 0x9a, 0x9d, 0x73, 0xd9, 0xbb,
- 0x4a, 0x8c, 0x2f, 0x07, 0x9c, 0x73, 0x83, 0xa5, 0x01, 0xf8, 0x34, 0x5b, 0xfc, 0x88, 0xad, 0xfd,
- 0x25, 0x4e, 0xf1, 0x51, 0x5d, 0x84, 0x4b, 0xd9, 0xf5, 0x2b, 0x64, 0x4d, 0xcb, 0x6d, 0x88, 0x2b,
- 0xd6, 0x72, 0x44, 0x58, 0xee, 0x26, 0x36, 0xf6, 0x85, 0x62, 0x40, 0xfb, 0x99, 0x2f, 0x8e, 0x00,
- 0xda, 0xcf, 0x54, 0xf6, 0x80, 0x37, 0xfd, 0x58, 0x48, 0xf1, 0x58, 0xb8, 0x14, 0xaf, 0x88, 0x21,
- 0x11, 0xe2, 0xce, 0x67, 0x50, 0x6a, 0xe3, 0x1b, 0xd9, 0xa9, 0x09, 0xa1, 0x8c, 0x58, 0xe5, 0x4f,
- 0xe5, 0x5b, 0x09, 0xcc, 0x85, 0x09, 0x46, 0x05, 0xca, 0xb2, 0x7f, 0xd9, 0x0d, 0xa9, 0xc6, 0xc6,
- 0xfe, 0xc5, 0x76, 0x33, 0x7a, 0xb1, 0x15, 0x2a, 0x9e, 0x69, 0x7b, 0x72, 0x78, 0x3a, 0x72, 0x89,
- 0x65, 0xfc, 0x34, 0xeb, 0xa9, 0x7f, 0xae, 0x12, 0xfc, 0x34, 0xeb, 0xa9, 0xca, 0x9f, 0x8a, 0xca,
- 0xdb, 0x72, 0x58, 0xb6, 0x07, 0x6e, 0xe3, 0x94, 0xa9, 0x7a, 0x0f, 0x9c, 0x1f, 0xc4, 0x93, 0x60,
- 0x26, 0x3d, 0xb5, 0xa9, 0x66, 0x56, 0x6b, 0xb6, 0x1b, 0x24, 0x2b, 0x97, 0x3e, 0x34, 0xad, 0x02,
- 0x3e, 0xd8, 0x65, 0xdf, 0xdb, 0x5f, 0xcf, 0x80, 0x29, 0x61, 0xb2, 0x0f, 0x40, 0xb2, 0xe4, 0xb6,
- 0x60, 0x2e, 0x9e, 0xbe, 0xbd, 0x7f, 0x11, 0xb9, 0xe5, 0xa1, 0x6b, 0xec, 0x26, 0xfc, 0x59, 0xb7,
- 0x44, 0x57, 0xca, 0x7e, 0xcb, 0x2a, 0x43, 0x65, 0xec, 0xdd, 0xe9, 0x24, 0xb7, 0x32, 0xc1, 0xfd,
- 0x0a, 0x3e, 0xf6, 0x2f, 0xa2, 0xbd, 0x9e, 0xca, 0xea, 0x30, 0xcc, 0x0f, 0xc2, 0x86, 0xfb, 0x74,
- 0xee, 0xca, 0x18, 0x0a, 0x82, 0xe1, 0xe7, 0xdd, 0x6e, 0x10, 0x08, 0xae, 0x13, 0xb8, 0x32, 0xfe,
- 0xa0, 0x74, 0x92, 0x5b, 0x9d, 0xe4, 0x34, 0x05, 0xef, 0x81, 0x33, 0x5d, 0xfe, 0x77, 0x6d, 0x67,
- 0xcf, 0x38, 0xa2, 0xfd, 0x56, 0xee, 0xb5, 0xf4, 0xdc, 0xa5, 0x11, 0x8d, 0x17, 0xaa, 0x60, 0xbe,
- 0xcb, 0x4b, 0x58, 0x40, 0x1e, 0xdd, 0xa7, 0x4e, 0x72, 0xf9, 0x71, 0x8d, 0x0c, 0x62, 0x70, 0x61,
- 0x48, 0xd1, 0x85, 0xd7, 0x27, 0x2b, 0xe6, 0x6c, 0x9f, 0xf5, 0x49, 0x49, 0x09, 0x86, 0x9f, 0x70,
- 0x8b, 0x44, 0x32, 0x76, 0x80, 0x9f, 0x62, 0xc5, 0x37, 0xa7, 0x8c, 0x23, 0x21, 0x18, 0x6a, 0x7d,
- 0x65, 0xfb, 0x81, 0xdb, 0x80, 0xab, 0xa3, 0x91, 0x22, 0x25, 0x73, 0x57, 0x27, 0xa0, 0x12, 0x2e,
- 0x88, 0xfc, 0x29, 0xe9, 0x73, 0x41, 0xfc, 0x1f, 0x4f, 0x9f, 0x0b, 0xfa, 0x7e, 0xb4, 0x94, 0x16,
- 0x7f, 0x79, 0x79, 0x59, 0xfa, 0xfd, 0xe5, 0x65, 0xe9, 0xef, 0x97, 0x97, 0xa5, 0xc7, 0x89, 0xe6,
- 0xd6, 0x93, 0x69, 0xfe, 0x3b, 0xf0, 0xc6, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3f, 0xe0, 0xb4,
- 0x3b, 0xab, 0x14, 0x00, 0x00,
- }
|