api.pb.go 305 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/live/dao-anchor/api/grpc/v1/api.proto
  3. package v1
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import (
  9. context "golang.org/x/net/context"
  10. grpc "google.golang.org/grpc"
  11. )
  12. import io "io"
  13. // Reference imports to suppress errors if they are not otherwise used.
  14. var _ = proto.Marshal
  15. var _ = fmt.Errorf
  16. var _ = math.Inf
  17. // This is a compile-time assertion to ensure that this generated file
  18. // is compatible with the proto package it is being compiled against.
  19. // A compilation error at this line likely means your copy of the
  20. // proto package needs to be updated.
  21. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  22. type AnchorLevel struct {
  23. // 当前等级
  24. Level int64 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
  25. // 当前等级颜色
  26. Color int64 `protobuf:"varint,2,opt,name=color,proto3" json:"color,omitempty"`
  27. // 当前积分
  28. Score int64 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"`
  29. // 当前等级最小积分
  30. Left int64 `protobuf:"varint,4,opt,name=left,proto3" json:"left,omitempty"`
  31. // 当前等级最大积分
  32. Right int64 `protobuf:"varint,5,opt,name=right,proto3" json:"right,omitempty"`
  33. // 最大等级
  34. MaxLevel int64 `protobuf:"varint,6,opt,name=max_level,json=maxLevel,proto3" json:"max_level,omitempty"`
  35. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  36. XXX_unrecognized []byte `json:"-"`
  37. XXX_sizecache int32 `json:"-"`
  38. }
  39. func (m *AnchorLevel) Reset() { *m = AnchorLevel{} }
  40. func (m *AnchorLevel) String() string { return proto.CompactTextString(m) }
  41. func (*AnchorLevel) ProtoMessage() {}
  42. func (*AnchorLevel) Descriptor() ([]byte, []int) {
  43. return fileDescriptor_api_ae6aa4fad8591398, []int{0}
  44. }
  45. func (m *AnchorLevel) XXX_Unmarshal(b []byte) error {
  46. return m.Unmarshal(b)
  47. }
  48. func (m *AnchorLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  49. if deterministic {
  50. return xxx_messageInfo_AnchorLevel.Marshal(b, m, deterministic)
  51. } else {
  52. b = b[:cap(b)]
  53. n, err := m.MarshalTo(b)
  54. if err != nil {
  55. return nil, err
  56. }
  57. return b[:n], nil
  58. }
  59. }
  60. func (dst *AnchorLevel) XXX_Merge(src proto.Message) {
  61. xxx_messageInfo_AnchorLevel.Merge(dst, src)
  62. }
  63. func (m *AnchorLevel) XXX_Size() int {
  64. return m.Size()
  65. }
  66. func (m *AnchorLevel) XXX_DiscardUnknown() {
  67. xxx_messageInfo_AnchorLevel.DiscardUnknown(m)
  68. }
  69. var xxx_messageInfo_AnchorLevel proto.InternalMessageInfo
  70. func (m *AnchorLevel) GetLevel() int64 {
  71. if m != nil {
  72. return m.Level
  73. }
  74. return 0
  75. }
  76. func (m *AnchorLevel) GetColor() int64 {
  77. if m != nil {
  78. return m.Color
  79. }
  80. return 0
  81. }
  82. func (m *AnchorLevel) GetScore() int64 {
  83. if m != nil {
  84. return m.Score
  85. }
  86. return 0
  87. }
  88. func (m *AnchorLevel) GetLeft() int64 {
  89. if m != nil {
  90. return m.Left
  91. }
  92. return 0
  93. }
  94. func (m *AnchorLevel) GetRight() int64 {
  95. if m != nil {
  96. return m.Right
  97. }
  98. return 0
  99. }
  100. func (m *AnchorLevel) GetMaxLevel() int64 {
  101. if m != nil {
  102. return m.MaxLevel
  103. }
  104. return 0
  105. }
  106. type TagData struct {
  107. TagId int64 `protobuf:"varint,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"`
  108. TagSubId int64 `protobuf:"varint,2,opt,name=tag_sub_id,json=tagSubId,proto3" json:"tag_sub_id,omitempty"`
  109. TagValue int64 `protobuf:"varint,3,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"`
  110. TagExt string `protobuf:"bytes,4,opt,name=tag_ext,json=tagExt,proto3" json:"tag_ext,omitempty"`
  111. TagExpireAt int64 `protobuf:"varint,5,opt,name=tag_expire_at,json=tagExpireAt,proto3" json:"tag_expire_at,omitempty"`
  112. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  113. XXX_unrecognized []byte `json:"-"`
  114. XXX_sizecache int32 `json:"-"`
  115. }
  116. func (m *TagData) Reset() { *m = TagData{} }
  117. func (m *TagData) String() string { return proto.CompactTextString(m) }
  118. func (*TagData) ProtoMessage() {}
  119. func (*TagData) Descriptor() ([]byte, []int) {
  120. return fileDescriptor_api_ae6aa4fad8591398, []int{1}
  121. }
  122. func (m *TagData) XXX_Unmarshal(b []byte) error {
  123. return m.Unmarshal(b)
  124. }
  125. func (m *TagData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  126. if deterministic {
  127. return xxx_messageInfo_TagData.Marshal(b, m, deterministic)
  128. } else {
  129. b = b[:cap(b)]
  130. n, err := m.MarshalTo(b)
  131. if err != nil {
  132. return nil, err
  133. }
  134. return b[:n], nil
  135. }
  136. }
  137. func (dst *TagData) XXX_Merge(src proto.Message) {
  138. xxx_messageInfo_TagData.Merge(dst, src)
  139. }
  140. func (m *TagData) XXX_Size() int {
  141. return m.Size()
  142. }
  143. func (m *TagData) XXX_DiscardUnknown() {
  144. xxx_messageInfo_TagData.DiscardUnknown(m)
  145. }
  146. var xxx_messageInfo_TagData proto.InternalMessageInfo
  147. func (m *TagData) GetTagId() int64 {
  148. if m != nil {
  149. return m.TagId
  150. }
  151. return 0
  152. }
  153. func (m *TagData) GetTagSubId() int64 {
  154. if m != nil {
  155. return m.TagSubId
  156. }
  157. return 0
  158. }
  159. func (m *TagData) GetTagValue() int64 {
  160. if m != nil {
  161. return m.TagValue
  162. }
  163. return 0
  164. }
  165. func (m *TagData) GetTagExt() string {
  166. if m != nil {
  167. return m.TagExt
  168. }
  169. return ""
  170. }
  171. func (m *TagData) GetTagExpireAt() int64 {
  172. if m != nil {
  173. return m.TagExpireAt
  174. }
  175. return 0
  176. }
  177. type RoomData struct {
  178. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
  179. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  180. ShortId int64 `protobuf:"varint,3,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty" validate:"gt=0,required"`
  181. Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty" validate:"required"`
  182. Cover string `protobuf:"bytes,5,opt,name=cover,proto3" json:"cover,omitempty"`
  183. Tags string `protobuf:"bytes,6,opt,name=tags,proto3" json:"tags,omitempty"`
  184. Background string `protobuf:"bytes,7,opt,name=background,proto3" json:"background,omitempty"`
  185. Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
  186. LiveStatus int64 `protobuf:"varint,9,opt,name=live_status,json=liveStatus,proto3" json:"live_status,omitempty" validate:"gt=0,required"`
  187. LiveStartTime int64 `protobuf:"varint,10,opt,name=live_start_time,json=liveStartTime,proto3" json:"live_start_time,omitempty" validate:"gt=0,required"`
  188. LiveScreenType int64 `protobuf:"varint,11,opt,name=live_screen_type,json=liveScreenType,proto3" json:"live_screen_type,omitempty" validate:"gt=0,required"`
  189. LiveMark int64 `protobuf:"varint,12,opt,name=live_mark,json=liveMark,proto3" json:"live_mark,omitempty"`
  190. LockStatus int64 `protobuf:"varint,13,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status,omitempty"`
  191. LockTime int64 `protobuf:"varint,14,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
  192. HiddenStatus int64 `protobuf:"varint,15,opt,name=hidden_status,json=hiddenStatus,proto3" json:"hidden_status,omitempty" validate:"gt=0,required"`
  193. HiddenTime int64 `protobuf:"varint,16,opt,name=hidden_time,json=hiddenTime,proto3" json:"hidden_time,omitempty"`
  194. AreaId int64 `protobuf:"varint,17,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty" validate:"gt=0,required"`
  195. AreaName string `protobuf:"bytes,18,opt,name=area_name,json=areaName,proto3" json:"area_name,omitempty" validate:"required"`
  196. ParentAreaId int64 `protobuf:"varint,19,opt,name=parent_area_id,json=parentAreaId,proto3" json:"parent_area_id,omitempty" validate:"gt=0,required"`
  197. ParentAreaName string `protobuf:"bytes,20,opt,name=parent_area_name,json=parentAreaName,proto3" json:"parent_area_name,omitempty" validate:"required"`
  198. Keyframe string `protobuf:"bytes,21,opt,name=keyframe,proto3" json:"keyframe,omitempty"`
  199. PopularityCount int64 `protobuf:"varint,22,opt,name=popularity_count,json=popularityCount,proto3" json:"popularity_count,omitempty"`
  200. TagList []*TagData `protobuf:"bytes,23,rep,name=tag_list,json=tagList" json:"tag_list,omitempty"`
  201. AnchorProfileType int64 `protobuf:"varint,25,opt,name=anchor_profile_type,json=anchorProfileType,proto3" json:"anchor_profile_type,omitempty"`
  202. AnchorLevel *AnchorLevel `protobuf:"bytes,26,opt,name=anchor_level,json=anchorLevel" json:"anchor_level,omitempty"`
  203. AnchorRoundSwitch int64 `protobuf:"varint,27,opt,name=anchor_round_switch,json=anchorRoundSwitch,proto3" json:"anchor_round_switch,omitempty"`
  204. AnchorRoundStatus int64 `protobuf:"varint,28,opt,name=anchor_round_status,json=anchorRoundStatus,proto3" json:"anchor_round_status,omitempty"`
  205. AnchorRecordSwitch int64 `protobuf:"varint,29,opt,name=anchor_record_switch,json=anchorRecordSwitch,proto3" json:"anchor_record_switch,omitempty"`
  206. AnchorRecordStatus int64 `protobuf:"varint,30,opt,name=anchor_record_status,json=anchorRecordStatus,proto3" json:"anchor_record_status,omitempty"`
  207. AnchorSan int64 `protobuf:"varint,31,opt,name=anchor_san,json=anchorSan,proto3" json:"anchor_san,omitempty"`
  208. // 0默认 1摄像头直播 2录屏直播 3语音直播
  209. LiveType int64 `protobuf:"varint,32,opt,name=live_type,json=liveType,proto3" json:"live_type,omitempty"`
  210. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  211. XXX_unrecognized []byte `json:"-"`
  212. XXX_sizecache int32 `json:"-"`
  213. }
  214. func (m *RoomData) Reset() { *m = RoomData{} }
  215. func (m *RoomData) String() string { return proto.CompactTextString(m) }
  216. func (*RoomData) ProtoMessage() {}
  217. func (*RoomData) Descriptor() ([]byte, []int) {
  218. return fileDescriptor_api_ae6aa4fad8591398, []int{2}
  219. }
  220. func (m *RoomData) XXX_Unmarshal(b []byte) error {
  221. return m.Unmarshal(b)
  222. }
  223. func (m *RoomData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  224. if deterministic {
  225. return xxx_messageInfo_RoomData.Marshal(b, m, deterministic)
  226. } else {
  227. b = b[:cap(b)]
  228. n, err := m.MarshalTo(b)
  229. if err != nil {
  230. return nil, err
  231. }
  232. return b[:n], nil
  233. }
  234. }
  235. func (dst *RoomData) XXX_Merge(src proto.Message) {
  236. xxx_messageInfo_RoomData.Merge(dst, src)
  237. }
  238. func (m *RoomData) XXX_Size() int {
  239. return m.Size()
  240. }
  241. func (m *RoomData) XXX_DiscardUnknown() {
  242. xxx_messageInfo_RoomData.DiscardUnknown(m)
  243. }
  244. var xxx_messageInfo_RoomData proto.InternalMessageInfo
  245. func (m *RoomData) GetUid() int64 {
  246. if m != nil {
  247. return m.Uid
  248. }
  249. return 0
  250. }
  251. func (m *RoomData) GetRoomId() int64 {
  252. if m != nil {
  253. return m.RoomId
  254. }
  255. return 0
  256. }
  257. func (m *RoomData) GetShortId() int64 {
  258. if m != nil {
  259. return m.ShortId
  260. }
  261. return 0
  262. }
  263. func (m *RoomData) GetTitle() string {
  264. if m != nil {
  265. return m.Title
  266. }
  267. return ""
  268. }
  269. func (m *RoomData) GetCover() string {
  270. if m != nil {
  271. return m.Cover
  272. }
  273. return ""
  274. }
  275. func (m *RoomData) GetTags() string {
  276. if m != nil {
  277. return m.Tags
  278. }
  279. return ""
  280. }
  281. func (m *RoomData) GetBackground() string {
  282. if m != nil {
  283. return m.Background
  284. }
  285. return ""
  286. }
  287. func (m *RoomData) GetDescription() string {
  288. if m != nil {
  289. return m.Description
  290. }
  291. return ""
  292. }
  293. func (m *RoomData) GetLiveStatus() int64 {
  294. if m != nil {
  295. return m.LiveStatus
  296. }
  297. return 0
  298. }
  299. func (m *RoomData) GetLiveStartTime() int64 {
  300. if m != nil {
  301. return m.LiveStartTime
  302. }
  303. return 0
  304. }
  305. func (m *RoomData) GetLiveScreenType() int64 {
  306. if m != nil {
  307. return m.LiveScreenType
  308. }
  309. return 0
  310. }
  311. func (m *RoomData) GetLiveMark() int64 {
  312. if m != nil {
  313. return m.LiveMark
  314. }
  315. return 0
  316. }
  317. func (m *RoomData) GetLockStatus() int64 {
  318. if m != nil {
  319. return m.LockStatus
  320. }
  321. return 0
  322. }
  323. func (m *RoomData) GetLockTime() int64 {
  324. if m != nil {
  325. return m.LockTime
  326. }
  327. return 0
  328. }
  329. func (m *RoomData) GetHiddenStatus() int64 {
  330. if m != nil {
  331. return m.HiddenStatus
  332. }
  333. return 0
  334. }
  335. func (m *RoomData) GetHiddenTime() int64 {
  336. if m != nil {
  337. return m.HiddenTime
  338. }
  339. return 0
  340. }
  341. func (m *RoomData) GetAreaId() int64 {
  342. if m != nil {
  343. return m.AreaId
  344. }
  345. return 0
  346. }
  347. func (m *RoomData) GetAreaName() string {
  348. if m != nil {
  349. return m.AreaName
  350. }
  351. return ""
  352. }
  353. func (m *RoomData) GetParentAreaId() int64 {
  354. if m != nil {
  355. return m.ParentAreaId
  356. }
  357. return 0
  358. }
  359. func (m *RoomData) GetParentAreaName() string {
  360. if m != nil {
  361. return m.ParentAreaName
  362. }
  363. return ""
  364. }
  365. func (m *RoomData) GetKeyframe() string {
  366. if m != nil {
  367. return m.Keyframe
  368. }
  369. return ""
  370. }
  371. func (m *RoomData) GetPopularityCount() int64 {
  372. if m != nil {
  373. return m.PopularityCount
  374. }
  375. return 0
  376. }
  377. func (m *RoomData) GetTagList() []*TagData {
  378. if m != nil {
  379. return m.TagList
  380. }
  381. return nil
  382. }
  383. func (m *RoomData) GetAnchorProfileType() int64 {
  384. if m != nil {
  385. return m.AnchorProfileType
  386. }
  387. return 0
  388. }
  389. func (m *RoomData) GetAnchorLevel() *AnchorLevel {
  390. if m != nil {
  391. return m.AnchorLevel
  392. }
  393. return nil
  394. }
  395. func (m *RoomData) GetAnchorRoundSwitch() int64 {
  396. if m != nil {
  397. return m.AnchorRoundSwitch
  398. }
  399. return 0
  400. }
  401. func (m *RoomData) GetAnchorRoundStatus() int64 {
  402. if m != nil {
  403. return m.AnchorRoundStatus
  404. }
  405. return 0
  406. }
  407. func (m *RoomData) GetAnchorRecordSwitch() int64 {
  408. if m != nil {
  409. return m.AnchorRecordSwitch
  410. }
  411. return 0
  412. }
  413. func (m *RoomData) GetAnchorRecordStatus() int64 {
  414. if m != nil {
  415. return m.AnchorRecordStatus
  416. }
  417. return 0
  418. }
  419. func (m *RoomData) GetAnchorSan() int64 {
  420. if m != nil {
  421. return m.AnchorSan
  422. }
  423. return 0
  424. }
  425. func (m *RoomData) GetLiveType() int64 {
  426. if m != nil {
  427. return m.LiveType
  428. }
  429. return 0
  430. }
  431. type RoomByIDsReq struct {
  432. RoomIds []int64 `protobuf:"varint,1,rep,packed,name=room_ids,json=roomIds" json:"room_ids,omitempty"`
  433. Uids []int64 `protobuf:"varint,2,rep,packed,name=uids" json:"uids,omitempty"`
  434. Fields []string `protobuf:"bytes,3,rep,name=fields" json:"fields,omitempty"`
  435. DefaultFields int64 `protobuf:"varint,4,opt,name=default_fields,json=defaultFields,proto3" json:"default_fields,omitempty"`
  436. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  437. XXX_unrecognized []byte `json:"-"`
  438. XXX_sizecache int32 `json:"-"`
  439. }
  440. func (m *RoomByIDsReq) Reset() { *m = RoomByIDsReq{} }
  441. func (m *RoomByIDsReq) String() string { return proto.CompactTextString(m) }
  442. func (*RoomByIDsReq) ProtoMessage() {}
  443. func (*RoomByIDsReq) Descriptor() ([]byte, []int) {
  444. return fileDescriptor_api_ae6aa4fad8591398, []int{3}
  445. }
  446. func (m *RoomByIDsReq) XXX_Unmarshal(b []byte) error {
  447. return m.Unmarshal(b)
  448. }
  449. func (m *RoomByIDsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  450. if deterministic {
  451. return xxx_messageInfo_RoomByIDsReq.Marshal(b, m, deterministic)
  452. } else {
  453. b = b[:cap(b)]
  454. n, err := m.MarshalTo(b)
  455. if err != nil {
  456. return nil, err
  457. }
  458. return b[:n], nil
  459. }
  460. }
  461. func (dst *RoomByIDsReq) XXX_Merge(src proto.Message) {
  462. xxx_messageInfo_RoomByIDsReq.Merge(dst, src)
  463. }
  464. func (m *RoomByIDsReq) XXX_Size() int {
  465. return m.Size()
  466. }
  467. func (m *RoomByIDsReq) XXX_DiscardUnknown() {
  468. xxx_messageInfo_RoomByIDsReq.DiscardUnknown(m)
  469. }
  470. var xxx_messageInfo_RoomByIDsReq proto.InternalMessageInfo
  471. func (m *RoomByIDsReq) GetRoomIds() []int64 {
  472. if m != nil {
  473. return m.RoomIds
  474. }
  475. return nil
  476. }
  477. func (m *RoomByIDsReq) GetUids() []int64 {
  478. if m != nil {
  479. return m.Uids
  480. }
  481. return nil
  482. }
  483. func (m *RoomByIDsReq) GetFields() []string {
  484. if m != nil {
  485. return m.Fields
  486. }
  487. return nil
  488. }
  489. func (m *RoomByIDsReq) GetDefaultFields() int64 {
  490. if m != nil {
  491. return m.DefaultFields
  492. }
  493. return 0
  494. }
  495. type RoomByIDsResp struct {
  496. RoomDataSet map[int64]*RoomData `protobuf:"bytes,1,rep,name=room_data_set,json=roomDataSet" json:"room_data_set,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  497. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  498. XXX_unrecognized []byte `json:"-"`
  499. XXX_sizecache int32 `json:"-"`
  500. }
  501. func (m *RoomByIDsResp) Reset() { *m = RoomByIDsResp{} }
  502. func (m *RoomByIDsResp) String() string { return proto.CompactTextString(m) }
  503. func (*RoomByIDsResp) ProtoMessage() {}
  504. func (*RoomByIDsResp) Descriptor() ([]byte, []int) {
  505. return fileDescriptor_api_ae6aa4fad8591398, []int{4}
  506. }
  507. func (m *RoomByIDsResp) XXX_Unmarshal(b []byte) error {
  508. return m.Unmarshal(b)
  509. }
  510. func (m *RoomByIDsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  511. if deterministic {
  512. return xxx_messageInfo_RoomByIDsResp.Marshal(b, m, deterministic)
  513. } else {
  514. b = b[:cap(b)]
  515. n, err := m.MarshalTo(b)
  516. if err != nil {
  517. return nil, err
  518. }
  519. return b[:n], nil
  520. }
  521. }
  522. func (dst *RoomByIDsResp) XXX_Merge(src proto.Message) {
  523. xxx_messageInfo_RoomByIDsResp.Merge(dst, src)
  524. }
  525. func (m *RoomByIDsResp) XXX_Size() int {
  526. return m.Size()
  527. }
  528. func (m *RoomByIDsResp) XXX_DiscardUnknown() {
  529. xxx_messageInfo_RoomByIDsResp.DiscardUnknown(m)
  530. }
  531. var xxx_messageInfo_RoomByIDsResp proto.InternalMessageInfo
  532. func (m *RoomByIDsResp) GetRoomDataSet() map[int64]*RoomData {
  533. if m != nil {
  534. return m.RoomDataSet
  535. }
  536. return nil
  537. }
  538. type RoomOnlineListReq struct {
  539. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
  540. Sort string `protobuf:"bytes,2,opt,name=sort,proto3" json:"sort,omitempty"`
  541. Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
  542. PageSize int64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  543. Fields []string `protobuf:"bytes,5,rep,name=fields" json:"fields,omitempty"`
  544. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  545. XXX_unrecognized []byte `json:"-"`
  546. XXX_sizecache int32 `json:"-"`
  547. }
  548. func (m *RoomOnlineListReq) Reset() { *m = RoomOnlineListReq{} }
  549. func (m *RoomOnlineListReq) String() string { return proto.CompactTextString(m) }
  550. func (*RoomOnlineListReq) ProtoMessage() {}
  551. func (*RoomOnlineListReq) Descriptor() ([]byte, []int) {
  552. return fileDescriptor_api_ae6aa4fad8591398, []int{5}
  553. }
  554. func (m *RoomOnlineListReq) XXX_Unmarshal(b []byte) error {
  555. return m.Unmarshal(b)
  556. }
  557. func (m *RoomOnlineListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  558. if deterministic {
  559. return xxx_messageInfo_RoomOnlineListReq.Marshal(b, m, deterministic)
  560. } else {
  561. b = b[:cap(b)]
  562. n, err := m.MarshalTo(b)
  563. if err != nil {
  564. return nil, err
  565. }
  566. return b[:n], nil
  567. }
  568. }
  569. func (dst *RoomOnlineListReq) XXX_Merge(src proto.Message) {
  570. xxx_messageInfo_RoomOnlineListReq.Merge(dst, src)
  571. }
  572. func (m *RoomOnlineListReq) XXX_Size() int {
  573. return m.Size()
  574. }
  575. func (m *RoomOnlineListReq) XXX_DiscardUnknown() {
  576. xxx_messageInfo_RoomOnlineListReq.DiscardUnknown(m)
  577. }
  578. var xxx_messageInfo_RoomOnlineListReq proto.InternalMessageInfo
  579. func (m *RoomOnlineListReq) GetFilter() string {
  580. if m != nil {
  581. return m.Filter
  582. }
  583. return ""
  584. }
  585. func (m *RoomOnlineListReq) GetSort() string {
  586. if m != nil {
  587. return m.Sort
  588. }
  589. return ""
  590. }
  591. func (m *RoomOnlineListReq) GetPage() int64 {
  592. if m != nil {
  593. return m.Page
  594. }
  595. return 0
  596. }
  597. func (m *RoomOnlineListReq) GetPageSize() int64 {
  598. if m != nil {
  599. return m.PageSize
  600. }
  601. return 0
  602. }
  603. func (m *RoomOnlineListReq) GetFields() []string {
  604. if m != nil {
  605. return m.Fields
  606. }
  607. return nil
  608. }
  609. type RoomOnlineListResp struct {
  610. RoomDataList map[int64]*RoomData `protobuf:"bytes,1,rep,name=room_data_list,json=roomDataList" json:"room_data_list,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  611. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  612. XXX_unrecognized []byte `json:"-"`
  613. XXX_sizecache int32 `json:"-"`
  614. }
  615. func (m *RoomOnlineListResp) Reset() { *m = RoomOnlineListResp{} }
  616. func (m *RoomOnlineListResp) String() string { return proto.CompactTextString(m) }
  617. func (*RoomOnlineListResp) ProtoMessage() {}
  618. func (*RoomOnlineListResp) Descriptor() ([]byte, []int) {
  619. return fileDescriptor_api_ae6aa4fad8591398, []int{6}
  620. }
  621. func (m *RoomOnlineListResp) XXX_Unmarshal(b []byte) error {
  622. return m.Unmarshal(b)
  623. }
  624. func (m *RoomOnlineListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  625. if deterministic {
  626. return xxx_messageInfo_RoomOnlineListResp.Marshal(b, m, deterministic)
  627. } else {
  628. b = b[:cap(b)]
  629. n, err := m.MarshalTo(b)
  630. if err != nil {
  631. return nil, err
  632. }
  633. return b[:n], nil
  634. }
  635. }
  636. func (dst *RoomOnlineListResp) XXX_Merge(src proto.Message) {
  637. xxx_messageInfo_RoomOnlineListResp.Merge(dst, src)
  638. }
  639. func (m *RoomOnlineListResp) XXX_Size() int {
  640. return m.Size()
  641. }
  642. func (m *RoomOnlineListResp) XXX_DiscardUnknown() {
  643. xxx_messageInfo_RoomOnlineListResp.DiscardUnknown(m)
  644. }
  645. var xxx_messageInfo_RoomOnlineListResp proto.InternalMessageInfo
  646. func (m *RoomOnlineListResp) GetRoomDataList() map[int64]*RoomData {
  647. if m != nil {
  648. return m.RoomDataList
  649. }
  650. return nil
  651. }
  652. type RoomOnlineListByAreaReq struct {
  653. AreaIds []int64 `protobuf:"varint,1,rep,packed,name=area_ids,json=areaIds" json:"area_ids,omitempty"`
  654. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  655. XXX_unrecognized []byte `json:"-"`
  656. XXX_sizecache int32 `json:"-"`
  657. }
  658. func (m *RoomOnlineListByAreaReq) Reset() { *m = RoomOnlineListByAreaReq{} }
  659. func (m *RoomOnlineListByAreaReq) String() string { return proto.CompactTextString(m) }
  660. func (*RoomOnlineListByAreaReq) ProtoMessage() {}
  661. func (*RoomOnlineListByAreaReq) Descriptor() ([]byte, []int) {
  662. return fileDescriptor_api_ae6aa4fad8591398, []int{7}
  663. }
  664. func (m *RoomOnlineListByAreaReq) XXX_Unmarshal(b []byte) error {
  665. return m.Unmarshal(b)
  666. }
  667. func (m *RoomOnlineListByAreaReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  668. if deterministic {
  669. return xxx_messageInfo_RoomOnlineListByAreaReq.Marshal(b, m, deterministic)
  670. } else {
  671. b = b[:cap(b)]
  672. n, err := m.MarshalTo(b)
  673. if err != nil {
  674. return nil, err
  675. }
  676. return b[:n], nil
  677. }
  678. }
  679. func (dst *RoomOnlineListByAreaReq) XXX_Merge(src proto.Message) {
  680. xxx_messageInfo_RoomOnlineListByAreaReq.Merge(dst, src)
  681. }
  682. func (m *RoomOnlineListByAreaReq) XXX_Size() int {
  683. return m.Size()
  684. }
  685. func (m *RoomOnlineListByAreaReq) XXX_DiscardUnknown() {
  686. xxx_messageInfo_RoomOnlineListByAreaReq.DiscardUnknown(m)
  687. }
  688. var xxx_messageInfo_RoomOnlineListByAreaReq proto.InternalMessageInfo
  689. func (m *RoomOnlineListByAreaReq) GetAreaIds() []int64 {
  690. if m != nil {
  691. return m.AreaIds
  692. }
  693. return nil
  694. }
  695. type RoomOnlineListByAreaResp struct {
  696. RoomIds []int64 `protobuf:"varint,1,rep,packed,name=room_ids,json=roomIds" json:"room_ids,omitempty"`
  697. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  698. XXX_unrecognized []byte `json:"-"`
  699. XXX_sizecache int32 `json:"-"`
  700. }
  701. func (m *RoomOnlineListByAreaResp) Reset() { *m = RoomOnlineListByAreaResp{} }
  702. func (m *RoomOnlineListByAreaResp) String() string { return proto.CompactTextString(m) }
  703. func (*RoomOnlineListByAreaResp) ProtoMessage() {}
  704. func (*RoomOnlineListByAreaResp) Descriptor() ([]byte, []int) {
  705. return fileDescriptor_api_ae6aa4fad8591398, []int{8}
  706. }
  707. func (m *RoomOnlineListByAreaResp) XXX_Unmarshal(b []byte) error {
  708. return m.Unmarshal(b)
  709. }
  710. func (m *RoomOnlineListByAreaResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  711. if deterministic {
  712. return xxx_messageInfo_RoomOnlineListByAreaResp.Marshal(b, m, deterministic)
  713. } else {
  714. b = b[:cap(b)]
  715. n, err := m.MarshalTo(b)
  716. if err != nil {
  717. return nil, err
  718. }
  719. return b[:n], nil
  720. }
  721. }
  722. func (dst *RoomOnlineListByAreaResp) XXX_Merge(src proto.Message) {
  723. xxx_messageInfo_RoomOnlineListByAreaResp.Merge(dst, src)
  724. }
  725. func (m *RoomOnlineListByAreaResp) XXX_Size() int {
  726. return m.Size()
  727. }
  728. func (m *RoomOnlineListByAreaResp) XXX_DiscardUnknown() {
  729. xxx_messageInfo_RoomOnlineListByAreaResp.DiscardUnknown(m)
  730. }
  731. var xxx_messageInfo_RoomOnlineListByAreaResp proto.InternalMessageInfo
  732. func (m *RoomOnlineListByAreaResp) GetRoomIds() []int64 {
  733. if m != nil {
  734. return m.RoomIds
  735. }
  736. return nil
  737. }
  738. type RoomCreateReq struct {
  739. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
  740. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
  741. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  742. XXX_unrecognized []byte `json:"-"`
  743. XXX_sizecache int32 `json:"-"`
  744. }
  745. func (m *RoomCreateReq) Reset() { *m = RoomCreateReq{} }
  746. func (m *RoomCreateReq) String() string { return proto.CompactTextString(m) }
  747. func (*RoomCreateReq) ProtoMessage() {}
  748. func (*RoomCreateReq) Descriptor() ([]byte, []int) {
  749. return fileDescriptor_api_ae6aa4fad8591398, []int{9}
  750. }
  751. func (m *RoomCreateReq) XXX_Unmarshal(b []byte) error {
  752. return m.Unmarshal(b)
  753. }
  754. func (m *RoomCreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  755. if deterministic {
  756. return xxx_messageInfo_RoomCreateReq.Marshal(b, m, deterministic)
  757. } else {
  758. b = b[:cap(b)]
  759. n, err := m.MarshalTo(b)
  760. if err != nil {
  761. return nil, err
  762. }
  763. return b[:n], nil
  764. }
  765. }
  766. func (dst *RoomCreateReq) XXX_Merge(src proto.Message) {
  767. xxx_messageInfo_RoomCreateReq.Merge(dst, src)
  768. }
  769. func (m *RoomCreateReq) XXX_Size() int {
  770. return m.Size()
  771. }
  772. func (m *RoomCreateReq) XXX_DiscardUnknown() {
  773. xxx_messageInfo_RoomCreateReq.DiscardUnknown(m)
  774. }
  775. var xxx_messageInfo_RoomCreateReq proto.InternalMessageInfo
  776. func (m *RoomCreateReq) GetUid() int64 {
  777. if m != nil {
  778. return m.Uid
  779. }
  780. return 0
  781. }
  782. func (m *RoomCreateReq) GetRoomId() int64 {
  783. if m != nil {
  784. return m.RoomId
  785. }
  786. return 0
  787. }
  788. type RoomCreateResp struct {
  789. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
  790. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  791. XXX_unrecognized []byte `json:"-"`
  792. XXX_sizecache int32 `json:"-"`
  793. }
  794. func (m *RoomCreateResp) Reset() { *m = RoomCreateResp{} }
  795. func (m *RoomCreateResp) String() string { return proto.CompactTextString(m) }
  796. func (*RoomCreateResp) ProtoMessage() {}
  797. func (*RoomCreateResp) Descriptor() ([]byte, []int) {
  798. return fileDescriptor_api_ae6aa4fad8591398, []int{10}
  799. }
  800. func (m *RoomCreateResp) XXX_Unmarshal(b []byte) error {
  801. return m.Unmarshal(b)
  802. }
  803. func (m *RoomCreateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  804. if deterministic {
  805. return xxx_messageInfo_RoomCreateResp.Marshal(b, m, deterministic)
  806. } else {
  807. b = b[:cap(b)]
  808. n, err := m.MarshalTo(b)
  809. if err != nil {
  810. return nil, err
  811. }
  812. return b[:n], nil
  813. }
  814. }
  815. func (dst *RoomCreateResp) XXX_Merge(src proto.Message) {
  816. xxx_messageInfo_RoomCreateResp.Merge(dst, src)
  817. }
  818. func (m *RoomCreateResp) XXX_Size() int {
  819. return m.Size()
  820. }
  821. func (m *RoomCreateResp) XXX_DiscardUnknown() {
  822. xxx_messageInfo_RoomCreateResp.DiscardUnknown(m)
  823. }
  824. var xxx_messageInfo_RoomCreateResp proto.InternalMessageInfo
  825. func (m *RoomCreateResp) GetRoomId() int64 {
  826. if m != nil {
  827. return m.RoomId
  828. }
  829. return 0
  830. }
  831. type UpdateResp struct {
  832. AffectedRows int64 `protobuf:"varint,1,opt,name=affected_rows,json=affectedRows,proto3" json:"affected_rows,omitempty"`
  833. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  834. XXX_unrecognized []byte `json:"-"`
  835. XXX_sizecache int32 `json:"-"`
  836. }
  837. func (m *UpdateResp) Reset() { *m = UpdateResp{} }
  838. func (m *UpdateResp) String() string { return proto.CompactTextString(m) }
  839. func (*UpdateResp) ProtoMessage() {}
  840. func (*UpdateResp) Descriptor() ([]byte, []int) {
  841. return fileDescriptor_api_ae6aa4fad8591398, []int{11}
  842. }
  843. func (m *UpdateResp) XXX_Unmarshal(b []byte) error {
  844. return m.Unmarshal(b)
  845. }
  846. func (m *UpdateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  847. if deterministic {
  848. return xxx_messageInfo_UpdateResp.Marshal(b, m, deterministic)
  849. } else {
  850. b = b[:cap(b)]
  851. n, err := m.MarshalTo(b)
  852. if err != nil {
  853. return nil, err
  854. }
  855. return b[:n], nil
  856. }
  857. }
  858. func (dst *UpdateResp) XXX_Merge(src proto.Message) {
  859. xxx_messageInfo_UpdateResp.Merge(dst, src)
  860. }
  861. func (m *UpdateResp) XXX_Size() int {
  862. return m.Size()
  863. }
  864. func (m *UpdateResp) XXX_DiscardUnknown() {
  865. xxx_messageInfo_UpdateResp.DiscardUnknown(m)
  866. }
  867. var xxx_messageInfo_UpdateResp proto.InternalMessageInfo
  868. func (m *UpdateResp) GetAffectedRows() int64 {
  869. if m != nil {
  870. return m.AffectedRows
  871. }
  872. return 0
  873. }
  874. type RoomUpdateReq struct {
  875. Fields []string `protobuf:"bytes,1,rep,name=fields" json:"fields,omitempty" validate:"required"`
  876. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  877. Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
  878. Cover string `protobuf:"bytes,4,opt,name=cover,proto3" json:"cover,omitempty"`
  879. Tags string `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"`
  880. Background string `protobuf:"bytes,6,opt,name=background,proto3" json:"background,omitempty"`
  881. Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
  882. LiveStartTime int64 `protobuf:"varint,8,opt,name=live_start_time,json=liveStartTime,proto3" json:"live_start_time,omitempty"`
  883. LiveScreenType int64 `protobuf:"varint,9,opt,name=live_screen_type,json=liveScreenType,proto3" json:"live_screen_type,omitempty"`
  884. LockStatus int64 `protobuf:"varint,10,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status,omitempty"`
  885. LockTime int64 `protobuf:"varint,11,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
  886. HiddenTime int64 `protobuf:"varint,12,opt,name=hidden_time,json=hiddenTime,proto3" json:"hidden_time,omitempty"`
  887. AreaId int64 `protobuf:"varint,13,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"`
  888. AnchorRoundSwitch int64 `protobuf:"varint,14,opt,name=anchor_round_switch,json=anchorRoundSwitch,proto3" json:"anchor_round_switch,omitempty"`
  889. AnchorRecordSwitch int64 `protobuf:"varint,15,opt,name=anchor_record_switch,json=anchorRecordSwitch,proto3" json:"anchor_record_switch,omitempty"`
  890. LiveType int64 `protobuf:"varint,16,opt,name=live_type,json=liveType,proto3" json:"live_type,omitempty"`
  891. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  892. XXX_unrecognized []byte `json:"-"`
  893. XXX_sizecache int32 `json:"-"`
  894. }
  895. func (m *RoomUpdateReq) Reset() { *m = RoomUpdateReq{} }
  896. func (m *RoomUpdateReq) String() string { return proto.CompactTextString(m) }
  897. func (*RoomUpdateReq) ProtoMessage() {}
  898. func (*RoomUpdateReq) Descriptor() ([]byte, []int) {
  899. return fileDescriptor_api_ae6aa4fad8591398, []int{12}
  900. }
  901. func (m *RoomUpdateReq) XXX_Unmarshal(b []byte) error {
  902. return m.Unmarshal(b)
  903. }
  904. func (m *RoomUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  905. if deterministic {
  906. return xxx_messageInfo_RoomUpdateReq.Marshal(b, m, deterministic)
  907. } else {
  908. b = b[:cap(b)]
  909. n, err := m.MarshalTo(b)
  910. if err != nil {
  911. return nil, err
  912. }
  913. return b[:n], nil
  914. }
  915. }
  916. func (dst *RoomUpdateReq) XXX_Merge(src proto.Message) {
  917. xxx_messageInfo_RoomUpdateReq.Merge(dst, src)
  918. }
  919. func (m *RoomUpdateReq) XXX_Size() int {
  920. return m.Size()
  921. }
  922. func (m *RoomUpdateReq) XXX_DiscardUnknown() {
  923. xxx_messageInfo_RoomUpdateReq.DiscardUnknown(m)
  924. }
  925. var xxx_messageInfo_RoomUpdateReq proto.InternalMessageInfo
  926. func (m *RoomUpdateReq) GetFields() []string {
  927. if m != nil {
  928. return m.Fields
  929. }
  930. return nil
  931. }
  932. func (m *RoomUpdateReq) GetRoomId() int64 {
  933. if m != nil {
  934. return m.RoomId
  935. }
  936. return 0
  937. }
  938. func (m *RoomUpdateReq) GetTitle() string {
  939. if m != nil {
  940. return m.Title
  941. }
  942. return ""
  943. }
  944. func (m *RoomUpdateReq) GetCover() string {
  945. if m != nil {
  946. return m.Cover
  947. }
  948. return ""
  949. }
  950. func (m *RoomUpdateReq) GetTags() string {
  951. if m != nil {
  952. return m.Tags
  953. }
  954. return ""
  955. }
  956. func (m *RoomUpdateReq) GetBackground() string {
  957. if m != nil {
  958. return m.Background
  959. }
  960. return ""
  961. }
  962. func (m *RoomUpdateReq) GetDescription() string {
  963. if m != nil {
  964. return m.Description
  965. }
  966. return ""
  967. }
  968. func (m *RoomUpdateReq) GetLiveStartTime() int64 {
  969. if m != nil {
  970. return m.LiveStartTime
  971. }
  972. return 0
  973. }
  974. func (m *RoomUpdateReq) GetLiveScreenType() int64 {
  975. if m != nil {
  976. return m.LiveScreenType
  977. }
  978. return 0
  979. }
  980. func (m *RoomUpdateReq) GetLockStatus() int64 {
  981. if m != nil {
  982. return m.LockStatus
  983. }
  984. return 0
  985. }
  986. func (m *RoomUpdateReq) GetLockTime() int64 {
  987. if m != nil {
  988. return m.LockTime
  989. }
  990. return 0
  991. }
  992. func (m *RoomUpdateReq) GetHiddenTime() int64 {
  993. if m != nil {
  994. return m.HiddenTime
  995. }
  996. return 0
  997. }
  998. func (m *RoomUpdateReq) GetAreaId() int64 {
  999. if m != nil {
  1000. return m.AreaId
  1001. }
  1002. return 0
  1003. }
  1004. func (m *RoomUpdateReq) GetAnchorRoundSwitch() int64 {
  1005. if m != nil {
  1006. return m.AnchorRoundSwitch
  1007. }
  1008. return 0
  1009. }
  1010. func (m *RoomUpdateReq) GetAnchorRecordSwitch() int64 {
  1011. if m != nil {
  1012. return m.AnchorRecordSwitch
  1013. }
  1014. return 0
  1015. }
  1016. func (m *RoomUpdateReq) GetLiveType() int64 {
  1017. if m != nil {
  1018. return m.LiveType
  1019. }
  1020. return 0
  1021. }
  1022. type RoomBatchUpdateReq struct {
  1023. Reqs []*RoomUpdateReq `protobuf:"bytes,1,rep,name=reqs" json:"reqs,omitempty" validate:"required"`
  1024. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1025. XXX_unrecognized []byte `json:"-"`
  1026. XXX_sizecache int32 `json:"-"`
  1027. }
  1028. func (m *RoomBatchUpdateReq) Reset() { *m = RoomBatchUpdateReq{} }
  1029. func (m *RoomBatchUpdateReq) String() string { return proto.CompactTextString(m) }
  1030. func (*RoomBatchUpdateReq) ProtoMessage() {}
  1031. func (*RoomBatchUpdateReq) Descriptor() ([]byte, []int) {
  1032. return fileDescriptor_api_ae6aa4fad8591398, []int{13}
  1033. }
  1034. func (m *RoomBatchUpdateReq) XXX_Unmarshal(b []byte) error {
  1035. return m.Unmarshal(b)
  1036. }
  1037. func (m *RoomBatchUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1038. if deterministic {
  1039. return xxx_messageInfo_RoomBatchUpdateReq.Marshal(b, m, deterministic)
  1040. } else {
  1041. b = b[:cap(b)]
  1042. n, err := m.MarshalTo(b)
  1043. if err != nil {
  1044. return nil, err
  1045. }
  1046. return b[:n], nil
  1047. }
  1048. }
  1049. func (dst *RoomBatchUpdateReq) XXX_Merge(src proto.Message) {
  1050. xxx_messageInfo_RoomBatchUpdateReq.Merge(dst, src)
  1051. }
  1052. func (m *RoomBatchUpdateReq) XXX_Size() int {
  1053. return m.Size()
  1054. }
  1055. func (m *RoomBatchUpdateReq) XXX_DiscardUnknown() {
  1056. xxx_messageInfo_RoomBatchUpdateReq.DiscardUnknown(m)
  1057. }
  1058. var xxx_messageInfo_RoomBatchUpdateReq proto.InternalMessageInfo
  1059. func (m *RoomBatchUpdateReq) GetReqs() []*RoomUpdateReq {
  1060. if m != nil {
  1061. return m.Reqs
  1062. }
  1063. return nil
  1064. }
  1065. type AnchorUpdateReq struct {
  1066. Fields []string `protobuf:"bytes,1,rep,name=fields" json:"fields,omitempty" validate:"required"`
  1067. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
  1068. ProfileType int64 `protobuf:"varint,3,opt,name=profile_type,json=profileType,proto3" json:"profile_type,omitempty"`
  1069. SanScore int64 `protobuf:"varint,4,opt,name=san_score,json=sanScore,proto3" json:"san_score,omitempty"`
  1070. RoundStatus int64 `protobuf:"varint,5,opt,name=round_status,json=roundStatus,proto3" json:"round_status,omitempty"`
  1071. RecordStatus int64 `protobuf:"varint,6,opt,name=record_status,json=recordStatus,proto3" json:"record_status,omitempty"`
  1072. Exp int64 `protobuf:"varint,7,opt,name=exp,proto3" json:"exp,omitempty"`
  1073. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1074. XXX_unrecognized []byte `json:"-"`
  1075. XXX_sizecache int32 `json:"-"`
  1076. }
  1077. func (m *AnchorUpdateReq) Reset() { *m = AnchorUpdateReq{} }
  1078. func (m *AnchorUpdateReq) String() string { return proto.CompactTextString(m) }
  1079. func (*AnchorUpdateReq) ProtoMessage() {}
  1080. func (*AnchorUpdateReq) Descriptor() ([]byte, []int) {
  1081. return fileDescriptor_api_ae6aa4fad8591398, []int{14}
  1082. }
  1083. func (m *AnchorUpdateReq) XXX_Unmarshal(b []byte) error {
  1084. return m.Unmarshal(b)
  1085. }
  1086. func (m *AnchorUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1087. if deterministic {
  1088. return xxx_messageInfo_AnchorUpdateReq.Marshal(b, m, deterministic)
  1089. } else {
  1090. b = b[:cap(b)]
  1091. n, err := m.MarshalTo(b)
  1092. if err != nil {
  1093. return nil, err
  1094. }
  1095. return b[:n], nil
  1096. }
  1097. }
  1098. func (dst *AnchorUpdateReq) XXX_Merge(src proto.Message) {
  1099. xxx_messageInfo_AnchorUpdateReq.Merge(dst, src)
  1100. }
  1101. func (m *AnchorUpdateReq) XXX_Size() int {
  1102. return m.Size()
  1103. }
  1104. func (m *AnchorUpdateReq) XXX_DiscardUnknown() {
  1105. xxx_messageInfo_AnchorUpdateReq.DiscardUnknown(m)
  1106. }
  1107. var xxx_messageInfo_AnchorUpdateReq proto.InternalMessageInfo
  1108. func (m *AnchorUpdateReq) GetFields() []string {
  1109. if m != nil {
  1110. return m.Fields
  1111. }
  1112. return nil
  1113. }
  1114. func (m *AnchorUpdateReq) GetUid() int64 {
  1115. if m != nil {
  1116. return m.Uid
  1117. }
  1118. return 0
  1119. }
  1120. func (m *AnchorUpdateReq) GetProfileType() int64 {
  1121. if m != nil {
  1122. return m.ProfileType
  1123. }
  1124. return 0
  1125. }
  1126. func (m *AnchorUpdateReq) GetSanScore() int64 {
  1127. if m != nil {
  1128. return m.SanScore
  1129. }
  1130. return 0
  1131. }
  1132. func (m *AnchorUpdateReq) GetRoundStatus() int64 {
  1133. if m != nil {
  1134. return m.RoundStatus
  1135. }
  1136. return 0
  1137. }
  1138. func (m *AnchorUpdateReq) GetRecordStatus() int64 {
  1139. if m != nil {
  1140. return m.RecordStatus
  1141. }
  1142. return 0
  1143. }
  1144. func (m *AnchorUpdateReq) GetExp() int64 {
  1145. if m != nil {
  1146. return m.Exp
  1147. }
  1148. return 0
  1149. }
  1150. type AnchorBatchUpdateReq struct {
  1151. Reqs []*AnchorUpdateReq `protobuf:"bytes,1,rep,name=reqs" json:"reqs,omitempty" validate:"required"`
  1152. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1153. XXX_unrecognized []byte `json:"-"`
  1154. XXX_sizecache int32 `json:"-"`
  1155. }
  1156. func (m *AnchorBatchUpdateReq) Reset() { *m = AnchorBatchUpdateReq{} }
  1157. func (m *AnchorBatchUpdateReq) String() string { return proto.CompactTextString(m) }
  1158. func (*AnchorBatchUpdateReq) ProtoMessage() {}
  1159. func (*AnchorBatchUpdateReq) Descriptor() ([]byte, []int) {
  1160. return fileDescriptor_api_ae6aa4fad8591398, []int{15}
  1161. }
  1162. func (m *AnchorBatchUpdateReq) XXX_Unmarshal(b []byte) error {
  1163. return m.Unmarshal(b)
  1164. }
  1165. func (m *AnchorBatchUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1166. if deterministic {
  1167. return xxx_messageInfo_AnchorBatchUpdateReq.Marshal(b, m, deterministic)
  1168. } else {
  1169. b = b[:cap(b)]
  1170. n, err := m.MarshalTo(b)
  1171. if err != nil {
  1172. return nil, err
  1173. }
  1174. return b[:n], nil
  1175. }
  1176. }
  1177. func (dst *AnchorBatchUpdateReq) XXX_Merge(src proto.Message) {
  1178. xxx_messageInfo_AnchorBatchUpdateReq.Merge(dst, src)
  1179. }
  1180. func (m *AnchorBatchUpdateReq) XXX_Size() int {
  1181. return m.Size()
  1182. }
  1183. func (m *AnchorBatchUpdateReq) XXX_DiscardUnknown() {
  1184. xxx_messageInfo_AnchorBatchUpdateReq.DiscardUnknown(m)
  1185. }
  1186. var xxx_messageInfo_AnchorBatchUpdateReq proto.InternalMessageInfo
  1187. func (m *AnchorBatchUpdateReq) GetReqs() []*AnchorUpdateReq {
  1188. if m != nil {
  1189. return m.Reqs
  1190. }
  1191. return nil
  1192. }
  1193. type AnchorIncreReq struct {
  1194. ReqId string `protobuf:"bytes,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty" validate:"required"`
  1195. Fields []string `protobuf:"bytes,2,rep,name=fields" json:"fields,omitempty" validate:"required"`
  1196. Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
  1197. SanScore int64 `protobuf:"varint,4,opt,name=san_score,json=sanScore,proto3" json:"san_score,omitempty"`
  1198. Exp int64 `protobuf:"varint,5,opt,name=exp,proto3" json:"exp,omitempty"`
  1199. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1200. XXX_unrecognized []byte `json:"-"`
  1201. XXX_sizecache int32 `json:"-"`
  1202. }
  1203. func (m *AnchorIncreReq) Reset() { *m = AnchorIncreReq{} }
  1204. func (m *AnchorIncreReq) String() string { return proto.CompactTextString(m) }
  1205. func (*AnchorIncreReq) ProtoMessage() {}
  1206. func (*AnchorIncreReq) Descriptor() ([]byte, []int) {
  1207. return fileDescriptor_api_ae6aa4fad8591398, []int{16}
  1208. }
  1209. func (m *AnchorIncreReq) XXX_Unmarshal(b []byte) error {
  1210. return m.Unmarshal(b)
  1211. }
  1212. func (m *AnchorIncreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1213. if deterministic {
  1214. return xxx_messageInfo_AnchorIncreReq.Marshal(b, m, deterministic)
  1215. } else {
  1216. b = b[:cap(b)]
  1217. n, err := m.MarshalTo(b)
  1218. if err != nil {
  1219. return nil, err
  1220. }
  1221. return b[:n], nil
  1222. }
  1223. }
  1224. func (dst *AnchorIncreReq) XXX_Merge(src proto.Message) {
  1225. xxx_messageInfo_AnchorIncreReq.Merge(dst, src)
  1226. }
  1227. func (m *AnchorIncreReq) XXX_Size() int {
  1228. return m.Size()
  1229. }
  1230. func (m *AnchorIncreReq) XXX_DiscardUnknown() {
  1231. xxx_messageInfo_AnchorIncreReq.DiscardUnknown(m)
  1232. }
  1233. var xxx_messageInfo_AnchorIncreReq proto.InternalMessageInfo
  1234. func (m *AnchorIncreReq) GetReqId() string {
  1235. if m != nil {
  1236. return m.ReqId
  1237. }
  1238. return ""
  1239. }
  1240. func (m *AnchorIncreReq) GetFields() []string {
  1241. if m != nil {
  1242. return m.Fields
  1243. }
  1244. return nil
  1245. }
  1246. func (m *AnchorIncreReq) GetUid() int64 {
  1247. if m != nil {
  1248. return m.Uid
  1249. }
  1250. return 0
  1251. }
  1252. func (m *AnchorIncreReq) GetSanScore() int64 {
  1253. if m != nil {
  1254. return m.SanScore
  1255. }
  1256. return 0
  1257. }
  1258. func (m *AnchorIncreReq) GetExp() int64 {
  1259. if m != nil {
  1260. return m.Exp
  1261. }
  1262. return 0
  1263. }
  1264. type AnchorBatchIncreReq struct {
  1265. Reqs []*AnchorIncreReq `protobuf:"bytes,1,rep,name=reqs" json:"reqs,omitempty" validate:"required"`
  1266. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1267. XXX_unrecognized []byte `json:"-"`
  1268. XXX_sizecache int32 `json:"-"`
  1269. }
  1270. func (m *AnchorBatchIncreReq) Reset() { *m = AnchorBatchIncreReq{} }
  1271. func (m *AnchorBatchIncreReq) String() string { return proto.CompactTextString(m) }
  1272. func (*AnchorBatchIncreReq) ProtoMessage() {}
  1273. func (*AnchorBatchIncreReq) Descriptor() ([]byte, []int) {
  1274. return fileDescriptor_api_ae6aa4fad8591398, []int{17}
  1275. }
  1276. func (m *AnchorBatchIncreReq) XXX_Unmarshal(b []byte) error {
  1277. return m.Unmarshal(b)
  1278. }
  1279. func (m *AnchorBatchIncreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1280. if deterministic {
  1281. return xxx_messageInfo_AnchorBatchIncreReq.Marshal(b, m, deterministic)
  1282. } else {
  1283. b = b[:cap(b)]
  1284. n, err := m.MarshalTo(b)
  1285. if err != nil {
  1286. return nil, err
  1287. }
  1288. return b[:n], nil
  1289. }
  1290. }
  1291. func (dst *AnchorBatchIncreReq) XXX_Merge(src proto.Message) {
  1292. xxx_messageInfo_AnchorBatchIncreReq.Merge(dst, src)
  1293. }
  1294. func (m *AnchorBatchIncreReq) XXX_Size() int {
  1295. return m.Size()
  1296. }
  1297. func (m *AnchorBatchIncreReq) XXX_DiscardUnknown() {
  1298. xxx_messageInfo_AnchorBatchIncreReq.DiscardUnknown(m)
  1299. }
  1300. var xxx_messageInfo_AnchorBatchIncreReq proto.InternalMessageInfo
  1301. func (m *AnchorBatchIncreReq) GetReqs() []*AnchorIncreReq {
  1302. if m != nil {
  1303. return m.Reqs
  1304. }
  1305. return nil
  1306. }
  1307. type RoomExtendUpdateReq struct {
  1308. Fields []string `protobuf:"bytes,1,rep,name=fields" json:"fields,omitempty" validate:"required"`
  1309. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  1310. Keyframe string `protobuf:"bytes,3,opt,name=keyframe,proto3" json:"keyframe,omitempty"`
  1311. DanmuCount int64 `protobuf:"varint,4,opt,name=danmu_count,json=danmuCount,proto3" json:"danmu_count,omitempty"`
  1312. PopularityCount int64 `protobuf:"varint,5,opt,name=popularity_count,json=popularityCount,proto3" json:"popularity_count,omitempty"`
  1313. AudienceCount int64 `protobuf:"varint,6,opt,name=audience_count,json=audienceCount,proto3" json:"audience_count,omitempty"`
  1314. GiftCount int64 `protobuf:"varint,7,opt,name=gift_count,json=giftCount,proto3" json:"gift_count,omitempty"`
  1315. GiftGoldAmount int64 `protobuf:"varint,8,opt,name=gift_gold_amount,json=giftGoldAmount,proto3" json:"gift_gold_amount,omitempty"`
  1316. GiftGoldCount int64 `protobuf:"varint,9,opt,name=gift_gold_count,json=giftGoldCount,proto3" json:"gift_gold_count,omitempty"`
  1317. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1318. XXX_unrecognized []byte `json:"-"`
  1319. XXX_sizecache int32 `json:"-"`
  1320. }
  1321. func (m *RoomExtendUpdateReq) Reset() { *m = RoomExtendUpdateReq{} }
  1322. func (m *RoomExtendUpdateReq) String() string { return proto.CompactTextString(m) }
  1323. func (*RoomExtendUpdateReq) ProtoMessage() {}
  1324. func (*RoomExtendUpdateReq) Descriptor() ([]byte, []int) {
  1325. return fileDescriptor_api_ae6aa4fad8591398, []int{18}
  1326. }
  1327. func (m *RoomExtendUpdateReq) XXX_Unmarshal(b []byte) error {
  1328. return m.Unmarshal(b)
  1329. }
  1330. func (m *RoomExtendUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1331. if deterministic {
  1332. return xxx_messageInfo_RoomExtendUpdateReq.Marshal(b, m, deterministic)
  1333. } else {
  1334. b = b[:cap(b)]
  1335. n, err := m.MarshalTo(b)
  1336. if err != nil {
  1337. return nil, err
  1338. }
  1339. return b[:n], nil
  1340. }
  1341. }
  1342. func (dst *RoomExtendUpdateReq) XXX_Merge(src proto.Message) {
  1343. xxx_messageInfo_RoomExtendUpdateReq.Merge(dst, src)
  1344. }
  1345. func (m *RoomExtendUpdateReq) XXX_Size() int {
  1346. return m.Size()
  1347. }
  1348. func (m *RoomExtendUpdateReq) XXX_DiscardUnknown() {
  1349. xxx_messageInfo_RoomExtendUpdateReq.DiscardUnknown(m)
  1350. }
  1351. var xxx_messageInfo_RoomExtendUpdateReq proto.InternalMessageInfo
  1352. func (m *RoomExtendUpdateReq) GetFields() []string {
  1353. if m != nil {
  1354. return m.Fields
  1355. }
  1356. return nil
  1357. }
  1358. func (m *RoomExtendUpdateReq) GetRoomId() int64 {
  1359. if m != nil {
  1360. return m.RoomId
  1361. }
  1362. return 0
  1363. }
  1364. func (m *RoomExtendUpdateReq) GetKeyframe() string {
  1365. if m != nil {
  1366. return m.Keyframe
  1367. }
  1368. return ""
  1369. }
  1370. func (m *RoomExtendUpdateReq) GetDanmuCount() int64 {
  1371. if m != nil {
  1372. return m.DanmuCount
  1373. }
  1374. return 0
  1375. }
  1376. func (m *RoomExtendUpdateReq) GetPopularityCount() int64 {
  1377. if m != nil {
  1378. return m.PopularityCount
  1379. }
  1380. return 0
  1381. }
  1382. func (m *RoomExtendUpdateReq) GetAudienceCount() int64 {
  1383. if m != nil {
  1384. return m.AudienceCount
  1385. }
  1386. return 0
  1387. }
  1388. func (m *RoomExtendUpdateReq) GetGiftCount() int64 {
  1389. if m != nil {
  1390. return m.GiftCount
  1391. }
  1392. return 0
  1393. }
  1394. func (m *RoomExtendUpdateReq) GetGiftGoldAmount() int64 {
  1395. if m != nil {
  1396. return m.GiftGoldAmount
  1397. }
  1398. return 0
  1399. }
  1400. func (m *RoomExtendUpdateReq) GetGiftGoldCount() int64 {
  1401. if m != nil {
  1402. return m.GiftGoldCount
  1403. }
  1404. return 0
  1405. }
  1406. type RoomExtendBatchUpdateReq struct {
  1407. Reqs []*RoomExtendUpdateReq `protobuf:"bytes,1,rep,name=reqs" json:"reqs,omitempty" validate:"required"`
  1408. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1409. XXX_unrecognized []byte `json:"-"`
  1410. XXX_sizecache int32 `json:"-"`
  1411. }
  1412. func (m *RoomExtendBatchUpdateReq) Reset() { *m = RoomExtendBatchUpdateReq{} }
  1413. func (m *RoomExtendBatchUpdateReq) String() string { return proto.CompactTextString(m) }
  1414. func (*RoomExtendBatchUpdateReq) ProtoMessage() {}
  1415. func (*RoomExtendBatchUpdateReq) Descriptor() ([]byte, []int) {
  1416. return fileDescriptor_api_ae6aa4fad8591398, []int{19}
  1417. }
  1418. func (m *RoomExtendBatchUpdateReq) XXX_Unmarshal(b []byte) error {
  1419. return m.Unmarshal(b)
  1420. }
  1421. func (m *RoomExtendBatchUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1422. if deterministic {
  1423. return xxx_messageInfo_RoomExtendBatchUpdateReq.Marshal(b, m, deterministic)
  1424. } else {
  1425. b = b[:cap(b)]
  1426. n, err := m.MarshalTo(b)
  1427. if err != nil {
  1428. return nil, err
  1429. }
  1430. return b[:n], nil
  1431. }
  1432. }
  1433. func (dst *RoomExtendBatchUpdateReq) XXX_Merge(src proto.Message) {
  1434. xxx_messageInfo_RoomExtendBatchUpdateReq.Merge(dst, src)
  1435. }
  1436. func (m *RoomExtendBatchUpdateReq) XXX_Size() int {
  1437. return m.Size()
  1438. }
  1439. func (m *RoomExtendBatchUpdateReq) XXX_DiscardUnknown() {
  1440. xxx_messageInfo_RoomExtendBatchUpdateReq.DiscardUnknown(m)
  1441. }
  1442. var xxx_messageInfo_RoomExtendBatchUpdateReq proto.InternalMessageInfo
  1443. func (m *RoomExtendBatchUpdateReq) GetReqs() []*RoomExtendUpdateReq {
  1444. if m != nil {
  1445. return m.Reqs
  1446. }
  1447. return nil
  1448. }
  1449. type RoomExtendIncreReq struct {
  1450. ReqId string `protobuf:"bytes,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty" validate:"required"`
  1451. Fields []string `protobuf:"bytes,2,rep,name=fields" json:"fields,omitempty" validate:"required"`
  1452. RoomId int64 `protobuf:"varint,3,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  1453. DanmuCount int64 `protobuf:"varint,4,opt,name=danmu_count,json=danmuCount,proto3" json:"danmu_count,omitempty"`
  1454. PopularityCount int64 `protobuf:"varint,5,opt,name=popularity_count,json=popularityCount,proto3" json:"popularity_count,omitempty"`
  1455. AudienceCount int64 `protobuf:"varint,6,opt,name=audience_count,json=audienceCount,proto3" json:"audience_count,omitempty"`
  1456. GiftCount int64 `protobuf:"varint,7,opt,name=gift_count,json=giftCount,proto3" json:"gift_count,omitempty"`
  1457. GiftGoldAmount int64 `protobuf:"varint,8,opt,name=gift_gold_amount,json=giftGoldAmount,proto3" json:"gift_gold_amount,omitempty"`
  1458. GiftGoldCount int64 `protobuf:"varint,9,opt,name=gift_gold_count,json=giftGoldCount,proto3" json:"gift_gold_count,omitempty"`
  1459. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1460. XXX_unrecognized []byte `json:"-"`
  1461. XXX_sizecache int32 `json:"-"`
  1462. }
  1463. func (m *RoomExtendIncreReq) Reset() { *m = RoomExtendIncreReq{} }
  1464. func (m *RoomExtendIncreReq) String() string { return proto.CompactTextString(m) }
  1465. func (*RoomExtendIncreReq) ProtoMessage() {}
  1466. func (*RoomExtendIncreReq) Descriptor() ([]byte, []int) {
  1467. return fileDescriptor_api_ae6aa4fad8591398, []int{20}
  1468. }
  1469. func (m *RoomExtendIncreReq) XXX_Unmarshal(b []byte) error {
  1470. return m.Unmarshal(b)
  1471. }
  1472. func (m *RoomExtendIncreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1473. if deterministic {
  1474. return xxx_messageInfo_RoomExtendIncreReq.Marshal(b, m, deterministic)
  1475. } else {
  1476. b = b[:cap(b)]
  1477. n, err := m.MarshalTo(b)
  1478. if err != nil {
  1479. return nil, err
  1480. }
  1481. return b[:n], nil
  1482. }
  1483. }
  1484. func (dst *RoomExtendIncreReq) XXX_Merge(src proto.Message) {
  1485. xxx_messageInfo_RoomExtendIncreReq.Merge(dst, src)
  1486. }
  1487. func (m *RoomExtendIncreReq) XXX_Size() int {
  1488. return m.Size()
  1489. }
  1490. func (m *RoomExtendIncreReq) XXX_DiscardUnknown() {
  1491. xxx_messageInfo_RoomExtendIncreReq.DiscardUnknown(m)
  1492. }
  1493. var xxx_messageInfo_RoomExtendIncreReq proto.InternalMessageInfo
  1494. func (m *RoomExtendIncreReq) GetReqId() string {
  1495. if m != nil {
  1496. return m.ReqId
  1497. }
  1498. return ""
  1499. }
  1500. func (m *RoomExtendIncreReq) GetFields() []string {
  1501. if m != nil {
  1502. return m.Fields
  1503. }
  1504. return nil
  1505. }
  1506. func (m *RoomExtendIncreReq) GetRoomId() int64 {
  1507. if m != nil {
  1508. return m.RoomId
  1509. }
  1510. return 0
  1511. }
  1512. func (m *RoomExtendIncreReq) GetDanmuCount() int64 {
  1513. if m != nil {
  1514. return m.DanmuCount
  1515. }
  1516. return 0
  1517. }
  1518. func (m *RoomExtendIncreReq) GetPopularityCount() int64 {
  1519. if m != nil {
  1520. return m.PopularityCount
  1521. }
  1522. return 0
  1523. }
  1524. func (m *RoomExtendIncreReq) GetAudienceCount() int64 {
  1525. if m != nil {
  1526. return m.AudienceCount
  1527. }
  1528. return 0
  1529. }
  1530. func (m *RoomExtendIncreReq) GetGiftCount() int64 {
  1531. if m != nil {
  1532. return m.GiftCount
  1533. }
  1534. return 0
  1535. }
  1536. func (m *RoomExtendIncreReq) GetGiftGoldAmount() int64 {
  1537. if m != nil {
  1538. return m.GiftGoldAmount
  1539. }
  1540. return 0
  1541. }
  1542. func (m *RoomExtendIncreReq) GetGiftGoldCount() int64 {
  1543. if m != nil {
  1544. return m.GiftGoldCount
  1545. }
  1546. return 0
  1547. }
  1548. type RoomExtendBatchIncreReq struct {
  1549. Reqs []*RoomExtendIncreReq `protobuf:"bytes,1,rep,name=reqs" json:"reqs,omitempty" validate:"required"`
  1550. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1551. XXX_unrecognized []byte `json:"-"`
  1552. XXX_sizecache int32 `json:"-"`
  1553. }
  1554. func (m *RoomExtendBatchIncreReq) Reset() { *m = RoomExtendBatchIncreReq{} }
  1555. func (m *RoomExtendBatchIncreReq) String() string { return proto.CompactTextString(m) }
  1556. func (*RoomExtendBatchIncreReq) ProtoMessage() {}
  1557. func (*RoomExtendBatchIncreReq) Descriptor() ([]byte, []int) {
  1558. return fileDescriptor_api_ae6aa4fad8591398, []int{21}
  1559. }
  1560. func (m *RoomExtendBatchIncreReq) XXX_Unmarshal(b []byte) error {
  1561. return m.Unmarshal(b)
  1562. }
  1563. func (m *RoomExtendBatchIncreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1564. if deterministic {
  1565. return xxx_messageInfo_RoomExtendBatchIncreReq.Marshal(b, m, deterministic)
  1566. } else {
  1567. b = b[:cap(b)]
  1568. n, err := m.MarshalTo(b)
  1569. if err != nil {
  1570. return nil, err
  1571. }
  1572. return b[:n], nil
  1573. }
  1574. }
  1575. func (dst *RoomExtendBatchIncreReq) XXX_Merge(src proto.Message) {
  1576. xxx_messageInfo_RoomExtendBatchIncreReq.Merge(dst, src)
  1577. }
  1578. func (m *RoomExtendBatchIncreReq) XXX_Size() int {
  1579. return m.Size()
  1580. }
  1581. func (m *RoomExtendBatchIncreReq) XXX_DiscardUnknown() {
  1582. xxx_messageInfo_RoomExtendBatchIncreReq.DiscardUnknown(m)
  1583. }
  1584. var xxx_messageInfo_RoomExtendBatchIncreReq proto.InternalMessageInfo
  1585. func (m *RoomExtendBatchIncreReq) GetReqs() []*RoomExtendIncreReq {
  1586. if m != nil {
  1587. return m.Reqs
  1588. }
  1589. return nil
  1590. }
  1591. type RoomTagCreateReq struct {
  1592. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  1593. TagId int64 `protobuf:"varint,2,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty" validate:"gt=0,required"`
  1594. TagSubId int64 `protobuf:"varint,3,opt,name=tag_sub_id,json=tagSubId,proto3" json:"tag_sub_id,omitempty"`
  1595. TagValue int64 `protobuf:"varint,4,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"`
  1596. TagExt string `protobuf:"bytes,5,opt,name=tag_ext,json=tagExt,proto3" json:"tag_ext,omitempty"`
  1597. TagExpireAt int64 `protobuf:"varint,6,opt,name=tag_expire_at,json=tagExpireAt,proto3" json:"tag_expire_at,omitempty"`
  1598. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1599. XXX_unrecognized []byte `json:"-"`
  1600. XXX_sizecache int32 `json:"-"`
  1601. }
  1602. func (m *RoomTagCreateReq) Reset() { *m = RoomTagCreateReq{} }
  1603. func (m *RoomTagCreateReq) String() string { return proto.CompactTextString(m) }
  1604. func (*RoomTagCreateReq) ProtoMessage() {}
  1605. func (*RoomTagCreateReq) Descriptor() ([]byte, []int) {
  1606. return fileDescriptor_api_ae6aa4fad8591398, []int{22}
  1607. }
  1608. func (m *RoomTagCreateReq) XXX_Unmarshal(b []byte) error {
  1609. return m.Unmarshal(b)
  1610. }
  1611. func (m *RoomTagCreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1612. if deterministic {
  1613. return xxx_messageInfo_RoomTagCreateReq.Marshal(b, m, deterministic)
  1614. } else {
  1615. b = b[:cap(b)]
  1616. n, err := m.MarshalTo(b)
  1617. if err != nil {
  1618. return nil, err
  1619. }
  1620. return b[:n], nil
  1621. }
  1622. }
  1623. func (dst *RoomTagCreateReq) XXX_Merge(src proto.Message) {
  1624. xxx_messageInfo_RoomTagCreateReq.Merge(dst, src)
  1625. }
  1626. func (m *RoomTagCreateReq) XXX_Size() int {
  1627. return m.Size()
  1628. }
  1629. func (m *RoomTagCreateReq) XXX_DiscardUnknown() {
  1630. xxx_messageInfo_RoomTagCreateReq.DiscardUnknown(m)
  1631. }
  1632. var xxx_messageInfo_RoomTagCreateReq proto.InternalMessageInfo
  1633. func (m *RoomTagCreateReq) GetRoomId() int64 {
  1634. if m != nil {
  1635. return m.RoomId
  1636. }
  1637. return 0
  1638. }
  1639. func (m *RoomTagCreateReq) GetTagId() int64 {
  1640. if m != nil {
  1641. return m.TagId
  1642. }
  1643. return 0
  1644. }
  1645. func (m *RoomTagCreateReq) GetTagSubId() int64 {
  1646. if m != nil {
  1647. return m.TagSubId
  1648. }
  1649. return 0
  1650. }
  1651. func (m *RoomTagCreateReq) GetTagValue() int64 {
  1652. if m != nil {
  1653. return m.TagValue
  1654. }
  1655. return 0
  1656. }
  1657. func (m *RoomTagCreateReq) GetTagExt() string {
  1658. if m != nil {
  1659. return m.TagExt
  1660. }
  1661. return ""
  1662. }
  1663. func (m *RoomTagCreateReq) GetTagExpireAt() int64 {
  1664. if m != nil {
  1665. return m.TagExpireAt
  1666. }
  1667. return 0
  1668. }
  1669. type RoomAttrCreateReq struct {
  1670. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  1671. AttrId int64 `protobuf:"varint,2,opt,name=attr_id,json=attrId,proto3" json:"attr_id,omitempty" validate:"gt=0,required"`
  1672. AttrSubId int64 `protobuf:"varint,3,opt,name=attr_sub_id,json=attrSubId,proto3" json:"attr_sub_id,omitempty"`
  1673. AttrValue int64 `protobuf:"varint,4,opt,name=attr_value,json=attrValue,proto3" json:"attr_value,omitempty"`
  1674. AttrExt string `protobuf:"bytes,5,opt,name=attr_ext,json=attrExt,proto3" json:"attr_ext,omitempty"`
  1675. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1676. XXX_unrecognized []byte `json:"-"`
  1677. XXX_sizecache int32 `json:"-"`
  1678. }
  1679. func (m *RoomAttrCreateReq) Reset() { *m = RoomAttrCreateReq{} }
  1680. func (m *RoomAttrCreateReq) String() string { return proto.CompactTextString(m) }
  1681. func (*RoomAttrCreateReq) ProtoMessage() {}
  1682. func (*RoomAttrCreateReq) Descriptor() ([]byte, []int) {
  1683. return fileDescriptor_api_ae6aa4fad8591398, []int{23}
  1684. }
  1685. func (m *RoomAttrCreateReq) XXX_Unmarshal(b []byte) error {
  1686. return m.Unmarshal(b)
  1687. }
  1688. func (m *RoomAttrCreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1689. if deterministic {
  1690. return xxx_messageInfo_RoomAttrCreateReq.Marshal(b, m, deterministic)
  1691. } else {
  1692. b = b[:cap(b)]
  1693. n, err := m.MarshalTo(b)
  1694. if err != nil {
  1695. return nil, err
  1696. }
  1697. return b[:n], nil
  1698. }
  1699. }
  1700. func (dst *RoomAttrCreateReq) XXX_Merge(src proto.Message) {
  1701. xxx_messageInfo_RoomAttrCreateReq.Merge(dst, src)
  1702. }
  1703. func (m *RoomAttrCreateReq) XXX_Size() int {
  1704. return m.Size()
  1705. }
  1706. func (m *RoomAttrCreateReq) XXX_DiscardUnknown() {
  1707. xxx_messageInfo_RoomAttrCreateReq.DiscardUnknown(m)
  1708. }
  1709. var xxx_messageInfo_RoomAttrCreateReq proto.InternalMessageInfo
  1710. func (m *RoomAttrCreateReq) GetRoomId() int64 {
  1711. if m != nil {
  1712. return m.RoomId
  1713. }
  1714. return 0
  1715. }
  1716. func (m *RoomAttrCreateReq) GetAttrId() int64 {
  1717. if m != nil {
  1718. return m.AttrId
  1719. }
  1720. return 0
  1721. }
  1722. func (m *RoomAttrCreateReq) GetAttrSubId() int64 {
  1723. if m != nil {
  1724. return m.AttrSubId
  1725. }
  1726. return 0
  1727. }
  1728. func (m *RoomAttrCreateReq) GetAttrValue() int64 {
  1729. if m != nil {
  1730. return m.AttrValue
  1731. }
  1732. return 0
  1733. }
  1734. func (m *RoomAttrCreateReq) GetAttrExt() string {
  1735. if m != nil {
  1736. return m.AttrExt
  1737. }
  1738. return ""
  1739. }
  1740. type RoomAttrSetExReq struct {
  1741. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  1742. AttrId int64 `protobuf:"varint,2,opt,name=attr_id,json=attrId,proto3" json:"attr_id,omitempty" validate:"gt=0,required"`
  1743. AttrSubId int64 `protobuf:"varint,3,opt,name=attr_sub_id,json=attrSubId,proto3" json:"attr_sub_id,omitempty"`
  1744. AttrValue int64 `protobuf:"varint,4,opt,name=attr_value,json=attrValue,proto3" json:"attr_value,omitempty"`
  1745. AttrExt string `protobuf:"bytes,5,opt,name=attr_ext,json=attrExt,proto3" json:"attr_ext,omitempty"`
  1746. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1747. XXX_unrecognized []byte `json:"-"`
  1748. XXX_sizecache int32 `json:"-"`
  1749. }
  1750. func (m *RoomAttrSetExReq) Reset() { *m = RoomAttrSetExReq{} }
  1751. func (m *RoomAttrSetExReq) String() string { return proto.CompactTextString(m) }
  1752. func (*RoomAttrSetExReq) ProtoMessage() {}
  1753. func (*RoomAttrSetExReq) Descriptor() ([]byte, []int) {
  1754. return fileDescriptor_api_ae6aa4fad8591398, []int{24}
  1755. }
  1756. func (m *RoomAttrSetExReq) XXX_Unmarshal(b []byte) error {
  1757. return m.Unmarshal(b)
  1758. }
  1759. func (m *RoomAttrSetExReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1760. if deterministic {
  1761. return xxx_messageInfo_RoomAttrSetExReq.Marshal(b, m, deterministic)
  1762. } else {
  1763. b = b[:cap(b)]
  1764. n, err := m.MarshalTo(b)
  1765. if err != nil {
  1766. return nil, err
  1767. }
  1768. return b[:n], nil
  1769. }
  1770. }
  1771. func (dst *RoomAttrSetExReq) XXX_Merge(src proto.Message) {
  1772. xxx_messageInfo_RoomAttrSetExReq.Merge(dst, src)
  1773. }
  1774. func (m *RoomAttrSetExReq) XXX_Size() int {
  1775. return m.Size()
  1776. }
  1777. func (m *RoomAttrSetExReq) XXX_DiscardUnknown() {
  1778. xxx_messageInfo_RoomAttrSetExReq.DiscardUnknown(m)
  1779. }
  1780. var xxx_messageInfo_RoomAttrSetExReq proto.InternalMessageInfo
  1781. func (m *RoomAttrSetExReq) GetRoomId() int64 {
  1782. if m != nil {
  1783. return m.RoomId
  1784. }
  1785. return 0
  1786. }
  1787. func (m *RoomAttrSetExReq) GetAttrId() int64 {
  1788. if m != nil {
  1789. return m.AttrId
  1790. }
  1791. return 0
  1792. }
  1793. func (m *RoomAttrSetExReq) GetAttrSubId() int64 {
  1794. if m != nil {
  1795. return m.AttrSubId
  1796. }
  1797. return 0
  1798. }
  1799. func (m *RoomAttrSetExReq) GetAttrValue() int64 {
  1800. if m != nil {
  1801. return m.AttrValue
  1802. }
  1803. return 0
  1804. }
  1805. func (m *RoomAttrSetExReq) GetAttrExt() string {
  1806. if m != nil {
  1807. return m.AttrExt
  1808. }
  1809. return ""
  1810. }
  1811. type FetchAreasReq struct {
  1812. AreaId int64 `protobuf:"varint,1,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"`
  1813. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1814. XXX_unrecognized []byte `json:"-"`
  1815. XXX_sizecache int32 `json:"-"`
  1816. }
  1817. func (m *FetchAreasReq) Reset() { *m = FetchAreasReq{} }
  1818. func (m *FetchAreasReq) String() string { return proto.CompactTextString(m) }
  1819. func (*FetchAreasReq) ProtoMessage() {}
  1820. func (*FetchAreasReq) Descriptor() ([]byte, []int) {
  1821. return fileDescriptor_api_ae6aa4fad8591398, []int{25}
  1822. }
  1823. func (m *FetchAreasReq) XXX_Unmarshal(b []byte) error {
  1824. return m.Unmarshal(b)
  1825. }
  1826. func (m *FetchAreasReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1827. if deterministic {
  1828. return xxx_messageInfo_FetchAreasReq.Marshal(b, m, deterministic)
  1829. } else {
  1830. b = b[:cap(b)]
  1831. n, err := m.MarshalTo(b)
  1832. if err != nil {
  1833. return nil, err
  1834. }
  1835. return b[:n], nil
  1836. }
  1837. }
  1838. func (dst *FetchAreasReq) XXX_Merge(src proto.Message) {
  1839. xxx_messageInfo_FetchAreasReq.Merge(dst, src)
  1840. }
  1841. func (m *FetchAreasReq) XXX_Size() int {
  1842. return m.Size()
  1843. }
  1844. func (m *FetchAreasReq) XXX_DiscardUnknown() {
  1845. xxx_messageInfo_FetchAreasReq.DiscardUnknown(m)
  1846. }
  1847. var xxx_messageInfo_FetchAreasReq proto.InternalMessageInfo
  1848. func (m *FetchAreasReq) GetAreaId() int64 {
  1849. if m != nil {
  1850. return m.AreaId
  1851. }
  1852. return 0
  1853. }
  1854. type AreaInfo struct {
  1855. AreaId int64 `protobuf:"varint,1,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"`
  1856. AreaName string `protobuf:"bytes,2,opt,name=area_name,json=areaName,proto3" json:"area_name,omitempty"`
  1857. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1858. XXX_unrecognized []byte `json:"-"`
  1859. XXX_sizecache int32 `json:"-"`
  1860. }
  1861. func (m *AreaInfo) Reset() { *m = AreaInfo{} }
  1862. func (m *AreaInfo) String() string { return proto.CompactTextString(m) }
  1863. func (*AreaInfo) ProtoMessage() {}
  1864. func (*AreaInfo) Descriptor() ([]byte, []int) {
  1865. return fileDescriptor_api_ae6aa4fad8591398, []int{26}
  1866. }
  1867. func (m *AreaInfo) XXX_Unmarshal(b []byte) error {
  1868. return m.Unmarshal(b)
  1869. }
  1870. func (m *AreaInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1871. if deterministic {
  1872. return xxx_messageInfo_AreaInfo.Marshal(b, m, deterministic)
  1873. } else {
  1874. b = b[:cap(b)]
  1875. n, err := m.MarshalTo(b)
  1876. if err != nil {
  1877. return nil, err
  1878. }
  1879. return b[:n], nil
  1880. }
  1881. }
  1882. func (dst *AreaInfo) XXX_Merge(src proto.Message) {
  1883. xxx_messageInfo_AreaInfo.Merge(dst, src)
  1884. }
  1885. func (m *AreaInfo) XXX_Size() int {
  1886. return m.Size()
  1887. }
  1888. func (m *AreaInfo) XXX_DiscardUnknown() {
  1889. xxx_messageInfo_AreaInfo.DiscardUnknown(m)
  1890. }
  1891. var xxx_messageInfo_AreaInfo proto.InternalMessageInfo
  1892. func (m *AreaInfo) GetAreaId() int64 {
  1893. if m != nil {
  1894. return m.AreaId
  1895. }
  1896. return 0
  1897. }
  1898. func (m *AreaInfo) GetAreaName() string {
  1899. if m != nil {
  1900. return m.AreaName
  1901. }
  1902. return ""
  1903. }
  1904. type FetchAreasResp struct {
  1905. Info *AreaInfo `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
  1906. Areas []*AreaInfo `protobuf:"bytes,2,rep,name=areas" json:"areas,omitempty"`
  1907. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1908. XXX_unrecognized []byte `json:"-"`
  1909. XXX_sizecache int32 `json:"-"`
  1910. }
  1911. func (m *FetchAreasResp) Reset() { *m = FetchAreasResp{} }
  1912. func (m *FetchAreasResp) String() string { return proto.CompactTextString(m) }
  1913. func (*FetchAreasResp) ProtoMessage() {}
  1914. func (*FetchAreasResp) Descriptor() ([]byte, []int) {
  1915. return fileDescriptor_api_ae6aa4fad8591398, []int{27}
  1916. }
  1917. func (m *FetchAreasResp) XXX_Unmarshal(b []byte) error {
  1918. return m.Unmarshal(b)
  1919. }
  1920. func (m *FetchAreasResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1921. if deterministic {
  1922. return xxx_messageInfo_FetchAreasResp.Marshal(b, m, deterministic)
  1923. } else {
  1924. b = b[:cap(b)]
  1925. n, err := m.MarshalTo(b)
  1926. if err != nil {
  1927. return nil, err
  1928. }
  1929. return b[:n], nil
  1930. }
  1931. }
  1932. func (dst *FetchAreasResp) XXX_Merge(src proto.Message) {
  1933. xxx_messageInfo_FetchAreasResp.Merge(dst, src)
  1934. }
  1935. func (m *FetchAreasResp) XXX_Size() int {
  1936. return m.Size()
  1937. }
  1938. func (m *FetchAreasResp) XXX_DiscardUnknown() {
  1939. xxx_messageInfo_FetchAreasResp.DiscardUnknown(m)
  1940. }
  1941. var xxx_messageInfo_FetchAreasResp proto.InternalMessageInfo
  1942. func (m *FetchAreasResp) GetInfo() *AreaInfo {
  1943. if m != nil {
  1944. return m.Info
  1945. }
  1946. return nil
  1947. }
  1948. func (m *FetchAreasResp) GetAreas() []*AreaInfo {
  1949. if m != nil {
  1950. return m.Areas
  1951. }
  1952. return nil
  1953. }
  1954. type FetchAttrByIDsReq struct {
  1955. RoomIds []int64 `protobuf:"varint,1,rep,packed,name=room_ids,json=roomIds" json:"room_ids,omitempty" validate:"dive,gt=0,required"`
  1956. AttrId int64 `protobuf:"varint,2,opt,name=attr_id,json=attrId,proto3" json:"attr_id,omitempty" validate:"gt=0,required"`
  1957. AttrSubId int64 `protobuf:"varint,3,opt,name=attr_sub_id,json=attrSubId,proto3" json:"attr_sub_id,omitempty" validate:"gt=0,required"`
  1958. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1959. XXX_unrecognized []byte `json:"-"`
  1960. XXX_sizecache int32 `json:"-"`
  1961. }
  1962. func (m *FetchAttrByIDsReq) Reset() { *m = FetchAttrByIDsReq{} }
  1963. func (m *FetchAttrByIDsReq) String() string { return proto.CompactTextString(m) }
  1964. func (*FetchAttrByIDsReq) ProtoMessage() {}
  1965. func (*FetchAttrByIDsReq) Descriptor() ([]byte, []int) {
  1966. return fileDescriptor_api_ae6aa4fad8591398, []int{28}
  1967. }
  1968. func (m *FetchAttrByIDsReq) XXX_Unmarshal(b []byte) error {
  1969. return m.Unmarshal(b)
  1970. }
  1971. func (m *FetchAttrByIDsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1972. if deterministic {
  1973. return xxx_messageInfo_FetchAttrByIDsReq.Marshal(b, m, deterministic)
  1974. } else {
  1975. b = b[:cap(b)]
  1976. n, err := m.MarshalTo(b)
  1977. if err != nil {
  1978. return nil, err
  1979. }
  1980. return b[:n], nil
  1981. }
  1982. }
  1983. func (dst *FetchAttrByIDsReq) XXX_Merge(src proto.Message) {
  1984. xxx_messageInfo_FetchAttrByIDsReq.Merge(dst, src)
  1985. }
  1986. func (m *FetchAttrByIDsReq) XXX_Size() int {
  1987. return m.Size()
  1988. }
  1989. func (m *FetchAttrByIDsReq) XXX_DiscardUnknown() {
  1990. xxx_messageInfo_FetchAttrByIDsReq.DiscardUnknown(m)
  1991. }
  1992. var xxx_messageInfo_FetchAttrByIDsReq proto.InternalMessageInfo
  1993. func (m *FetchAttrByIDsReq) GetRoomIds() []int64 {
  1994. if m != nil {
  1995. return m.RoomIds
  1996. }
  1997. return nil
  1998. }
  1999. func (m *FetchAttrByIDsReq) GetAttrId() int64 {
  2000. if m != nil {
  2001. return m.AttrId
  2002. }
  2003. return 0
  2004. }
  2005. func (m *FetchAttrByIDsReq) GetAttrSubId() int64 {
  2006. if m != nil {
  2007. return m.AttrSubId
  2008. }
  2009. return 0
  2010. }
  2011. type AttrData struct {
  2012. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
  2013. AttrId int64 `protobuf:"varint,2,opt,name=attr_id,json=attrId,proto3" json:"attr_id,omitempty"`
  2014. AttrSubId int64 `protobuf:"varint,3,opt,name=attr_sub_id,json=attrSubId,proto3" json:"attr_sub_id,omitempty"`
  2015. AttrValue int64 `protobuf:"varint,4,opt,name=attr_value,json=attrValue,proto3" json:"attr_value,omitempty"`
  2016. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2017. XXX_unrecognized []byte `json:"-"`
  2018. XXX_sizecache int32 `json:"-"`
  2019. }
  2020. func (m *AttrData) Reset() { *m = AttrData{} }
  2021. func (m *AttrData) String() string { return proto.CompactTextString(m) }
  2022. func (*AttrData) ProtoMessage() {}
  2023. func (*AttrData) Descriptor() ([]byte, []int) {
  2024. return fileDescriptor_api_ae6aa4fad8591398, []int{29}
  2025. }
  2026. func (m *AttrData) XXX_Unmarshal(b []byte) error {
  2027. return m.Unmarshal(b)
  2028. }
  2029. func (m *AttrData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2030. if deterministic {
  2031. return xxx_messageInfo_AttrData.Marshal(b, m, deterministic)
  2032. } else {
  2033. b = b[:cap(b)]
  2034. n, err := m.MarshalTo(b)
  2035. if err != nil {
  2036. return nil, err
  2037. }
  2038. return b[:n], nil
  2039. }
  2040. }
  2041. func (dst *AttrData) XXX_Merge(src proto.Message) {
  2042. xxx_messageInfo_AttrData.Merge(dst, src)
  2043. }
  2044. func (m *AttrData) XXX_Size() int {
  2045. return m.Size()
  2046. }
  2047. func (m *AttrData) XXX_DiscardUnknown() {
  2048. xxx_messageInfo_AttrData.DiscardUnknown(m)
  2049. }
  2050. var xxx_messageInfo_AttrData proto.InternalMessageInfo
  2051. func (m *AttrData) GetRoomId() int64 {
  2052. if m != nil {
  2053. return m.RoomId
  2054. }
  2055. return 0
  2056. }
  2057. func (m *AttrData) GetAttrId() int64 {
  2058. if m != nil {
  2059. return m.AttrId
  2060. }
  2061. return 0
  2062. }
  2063. func (m *AttrData) GetAttrSubId() int64 {
  2064. if m != nil {
  2065. return m.AttrSubId
  2066. }
  2067. return 0
  2068. }
  2069. func (m *AttrData) GetAttrValue() int64 {
  2070. if m != nil {
  2071. return m.AttrValue
  2072. }
  2073. return 0
  2074. }
  2075. type FetchAttrByIDsResp struct {
  2076. Attrs map[int64]*AttrData `protobuf:"bytes,1,rep,name=attrs" json:"attrs,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  2077. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2078. XXX_unrecognized []byte `json:"-"`
  2079. XXX_sizecache int32 `json:"-"`
  2080. }
  2081. func (m *FetchAttrByIDsResp) Reset() { *m = FetchAttrByIDsResp{} }
  2082. func (m *FetchAttrByIDsResp) String() string { return proto.CompactTextString(m) }
  2083. func (*FetchAttrByIDsResp) ProtoMessage() {}
  2084. func (*FetchAttrByIDsResp) Descriptor() ([]byte, []int) {
  2085. return fileDescriptor_api_ae6aa4fad8591398, []int{30}
  2086. }
  2087. func (m *FetchAttrByIDsResp) XXX_Unmarshal(b []byte) error {
  2088. return m.Unmarshal(b)
  2089. }
  2090. func (m *FetchAttrByIDsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2091. if deterministic {
  2092. return xxx_messageInfo_FetchAttrByIDsResp.Marshal(b, m, deterministic)
  2093. } else {
  2094. b = b[:cap(b)]
  2095. n, err := m.MarshalTo(b)
  2096. if err != nil {
  2097. return nil, err
  2098. }
  2099. return b[:n], nil
  2100. }
  2101. }
  2102. func (dst *FetchAttrByIDsResp) XXX_Merge(src proto.Message) {
  2103. xxx_messageInfo_FetchAttrByIDsResp.Merge(dst, src)
  2104. }
  2105. func (m *FetchAttrByIDsResp) XXX_Size() int {
  2106. return m.Size()
  2107. }
  2108. func (m *FetchAttrByIDsResp) XXX_DiscardUnknown() {
  2109. xxx_messageInfo_FetchAttrByIDsResp.DiscardUnknown(m)
  2110. }
  2111. var xxx_messageInfo_FetchAttrByIDsResp proto.InternalMessageInfo
  2112. func (m *FetchAttrByIDsResp) GetAttrs() map[int64]*AttrData {
  2113. if m != nil {
  2114. return m.Attrs
  2115. }
  2116. return nil
  2117. }
  2118. type AttrReq struct {
  2119. AttrId int64 `protobuf:"varint,1,opt,name=attr_id,json=attrId,proto3" json:"attr_id,omitempty"`
  2120. AttrSubId int64 `protobuf:"varint,2,opt,name=attr_sub_id,json=attrSubId,proto3" json:"attr_sub_id,omitempty"`
  2121. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2122. XXX_unrecognized []byte `json:"-"`
  2123. XXX_sizecache int32 `json:"-"`
  2124. }
  2125. func (m *AttrReq) Reset() { *m = AttrReq{} }
  2126. func (m *AttrReq) String() string { return proto.CompactTextString(m) }
  2127. func (*AttrReq) ProtoMessage() {}
  2128. func (*AttrReq) Descriptor() ([]byte, []int) {
  2129. return fileDescriptor_api_ae6aa4fad8591398, []int{31}
  2130. }
  2131. func (m *AttrReq) XXX_Unmarshal(b []byte) error {
  2132. return m.Unmarshal(b)
  2133. }
  2134. func (m *AttrReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2135. if deterministic {
  2136. return xxx_messageInfo_AttrReq.Marshal(b, m, deterministic)
  2137. } else {
  2138. b = b[:cap(b)]
  2139. n, err := m.MarshalTo(b)
  2140. if err != nil {
  2141. return nil, err
  2142. }
  2143. return b[:n], nil
  2144. }
  2145. }
  2146. func (dst *AttrReq) XXX_Merge(src proto.Message) {
  2147. xxx_messageInfo_AttrReq.Merge(dst, src)
  2148. }
  2149. func (m *AttrReq) XXX_Size() int {
  2150. return m.Size()
  2151. }
  2152. func (m *AttrReq) XXX_DiscardUnknown() {
  2153. xxx_messageInfo_AttrReq.DiscardUnknown(m)
  2154. }
  2155. var xxx_messageInfo_AttrReq proto.InternalMessageInfo
  2156. func (m *AttrReq) GetAttrId() int64 {
  2157. if m != nil {
  2158. return m.AttrId
  2159. }
  2160. return 0
  2161. }
  2162. func (m *AttrReq) GetAttrSubId() int64 {
  2163. if m != nil {
  2164. return m.AttrSubId
  2165. }
  2166. return 0
  2167. }
  2168. type RoomOnlineListByAttrsReq struct {
  2169. Attrs []*AttrReq `protobuf:"bytes,1,rep,name=attrs" json:"attrs,omitempty"`
  2170. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2171. XXX_unrecognized []byte `json:"-"`
  2172. XXX_sizecache int32 `json:"-"`
  2173. }
  2174. func (m *RoomOnlineListByAttrsReq) Reset() { *m = RoomOnlineListByAttrsReq{} }
  2175. func (m *RoomOnlineListByAttrsReq) String() string { return proto.CompactTextString(m) }
  2176. func (*RoomOnlineListByAttrsReq) ProtoMessage() {}
  2177. func (*RoomOnlineListByAttrsReq) Descriptor() ([]byte, []int) {
  2178. return fileDescriptor_api_ae6aa4fad8591398, []int{32}
  2179. }
  2180. func (m *RoomOnlineListByAttrsReq) XXX_Unmarshal(b []byte) error {
  2181. return m.Unmarshal(b)
  2182. }
  2183. func (m *RoomOnlineListByAttrsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2184. if deterministic {
  2185. return xxx_messageInfo_RoomOnlineListByAttrsReq.Marshal(b, m, deterministic)
  2186. } else {
  2187. b = b[:cap(b)]
  2188. n, err := m.MarshalTo(b)
  2189. if err != nil {
  2190. return nil, err
  2191. }
  2192. return b[:n], nil
  2193. }
  2194. }
  2195. func (dst *RoomOnlineListByAttrsReq) XXX_Merge(src proto.Message) {
  2196. xxx_messageInfo_RoomOnlineListByAttrsReq.Merge(dst, src)
  2197. }
  2198. func (m *RoomOnlineListByAttrsReq) XXX_Size() int {
  2199. return m.Size()
  2200. }
  2201. func (m *RoomOnlineListByAttrsReq) XXX_DiscardUnknown() {
  2202. xxx_messageInfo_RoomOnlineListByAttrsReq.DiscardUnknown(m)
  2203. }
  2204. var xxx_messageInfo_RoomOnlineListByAttrsReq proto.InternalMessageInfo
  2205. func (m *RoomOnlineListByAttrsReq) GetAttrs() []*AttrReq {
  2206. if m != nil {
  2207. return m.Attrs
  2208. }
  2209. return nil
  2210. }
  2211. type AttrResp struct {
  2212. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
  2213. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  2214. AreaId int64 `protobuf:"varint,3,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty" validate:"gt=0,required"`
  2215. ParentAreaId int64 `protobuf:"varint,4,opt,name=parent_area_id,json=parentAreaId,proto3" json:"parent_area_id,omitempty" validate:"gt=0,required"`
  2216. TagList []*TagData `protobuf:"bytes,5,rep,name=tag_list,json=tagList" json:"tag_list,omitempty"`
  2217. AttrList []*AttrData `protobuf:"bytes,6,rep,name=attr_list,json=attrList" json:"attr_list,omitempty"`
  2218. PopularityCount int64 `protobuf:"varint,7,opt,name=popularity_count,json=popularityCount,proto3" json:"popularity_count,omitempty"`
  2219. AnchorProfileType int64 `protobuf:"varint,8,opt,name=anchor_profile_type,json=anchorProfileType,proto3" json:"anchor_profile_type,omitempty"`
  2220. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2221. XXX_unrecognized []byte `json:"-"`
  2222. XXX_sizecache int32 `json:"-"`
  2223. }
  2224. func (m *AttrResp) Reset() { *m = AttrResp{} }
  2225. func (m *AttrResp) String() string { return proto.CompactTextString(m) }
  2226. func (*AttrResp) ProtoMessage() {}
  2227. func (*AttrResp) Descriptor() ([]byte, []int) {
  2228. return fileDescriptor_api_ae6aa4fad8591398, []int{33}
  2229. }
  2230. func (m *AttrResp) XXX_Unmarshal(b []byte) error {
  2231. return m.Unmarshal(b)
  2232. }
  2233. func (m *AttrResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2234. if deterministic {
  2235. return xxx_messageInfo_AttrResp.Marshal(b, m, deterministic)
  2236. } else {
  2237. b = b[:cap(b)]
  2238. n, err := m.MarshalTo(b)
  2239. if err != nil {
  2240. return nil, err
  2241. }
  2242. return b[:n], nil
  2243. }
  2244. }
  2245. func (dst *AttrResp) XXX_Merge(src proto.Message) {
  2246. xxx_messageInfo_AttrResp.Merge(dst, src)
  2247. }
  2248. func (m *AttrResp) XXX_Size() int {
  2249. return m.Size()
  2250. }
  2251. func (m *AttrResp) XXX_DiscardUnknown() {
  2252. xxx_messageInfo_AttrResp.DiscardUnknown(m)
  2253. }
  2254. var xxx_messageInfo_AttrResp proto.InternalMessageInfo
  2255. func (m *AttrResp) GetUid() int64 {
  2256. if m != nil {
  2257. return m.Uid
  2258. }
  2259. return 0
  2260. }
  2261. func (m *AttrResp) GetRoomId() int64 {
  2262. if m != nil {
  2263. return m.RoomId
  2264. }
  2265. return 0
  2266. }
  2267. func (m *AttrResp) GetAreaId() int64 {
  2268. if m != nil {
  2269. return m.AreaId
  2270. }
  2271. return 0
  2272. }
  2273. func (m *AttrResp) GetParentAreaId() int64 {
  2274. if m != nil {
  2275. return m.ParentAreaId
  2276. }
  2277. return 0
  2278. }
  2279. func (m *AttrResp) GetTagList() []*TagData {
  2280. if m != nil {
  2281. return m.TagList
  2282. }
  2283. return nil
  2284. }
  2285. func (m *AttrResp) GetAttrList() []*AttrData {
  2286. if m != nil {
  2287. return m.AttrList
  2288. }
  2289. return nil
  2290. }
  2291. func (m *AttrResp) GetPopularityCount() int64 {
  2292. if m != nil {
  2293. return m.PopularityCount
  2294. }
  2295. return 0
  2296. }
  2297. func (m *AttrResp) GetAnchorProfileType() int64 {
  2298. if m != nil {
  2299. return m.AnchorProfileType
  2300. }
  2301. return 0
  2302. }
  2303. type RoomOnlineListByAttrsResp struct {
  2304. Attrs map[int64]*AttrResp `protobuf:"bytes,1,rep,name=attrs" json:"attrs,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  2305. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2306. XXX_unrecognized []byte `json:"-"`
  2307. XXX_sizecache int32 `json:"-"`
  2308. }
  2309. func (m *RoomOnlineListByAttrsResp) Reset() { *m = RoomOnlineListByAttrsResp{} }
  2310. func (m *RoomOnlineListByAttrsResp) String() string { return proto.CompactTextString(m) }
  2311. func (*RoomOnlineListByAttrsResp) ProtoMessage() {}
  2312. func (*RoomOnlineListByAttrsResp) Descriptor() ([]byte, []int) {
  2313. return fileDescriptor_api_ae6aa4fad8591398, []int{34}
  2314. }
  2315. func (m *RoomOnlineListByAttrsResp) XXX_Unmarshal(b []byte) error {
  2316. return m.Unmarshal(b)
  2317. }
  2318. func (m *RoomOnlineListByAttrsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2319. if deterministic {
  2320. return xxx_messageInfo_RoomOnlineListByAttrsResp.Marshal(b, m, deterministic)
  2321. } else {
  2322. b = b[:cap(b)]
  2323. n, err := m.MarshalTo(b)
  2324. if err != nil {
  2325. return nil, err
  2326. }
  2327. return b[:n], nil
  2328. }
  2329. }
  2330. func (dst *RoomOnlineListByAttrsResp) XXX_Merge(src proto.Message) {
  2331. xxx_messageInfo_RoomOnlineListByAttrsResp.Merge(dst, src)
  2332. }
  2333. func (m *RoomOnlineListByAttrsResp) XXX_Size() int {
  2334. return m.Size()
  2335. }
  2336. func (m *RoomOnlineListByAttrsResp) XXX_DiscardUnknown() {
  2337. xxx_messageInfo_RoomOnlineListByAttrsResp.DiscardUnknown(m)
  2338. }
  2339. var xxx_messageInfo_RoomOnlineListByAttrsResp proto.InternalMessageInfo
  2340. func (m *RoomOnlineListByAttrsResp) GetAttrs() map[int64]*AttrResp {
  2341. if m != nil {
  2342. return m.Attrs
  2343. }
  2344. return nil
  2345. }
  2346. type DeleteAttrReq struct {
  2347. AttrId int64 `protobuf:"varint,1,opt,name=attr_id,json=attrId,proto3" json:"attr_id,omitempty" validate:"gt=0,required"`
  2348. AttrSubId int64 `protobuf:"varint,2,opt,name=attr_sub_id,json=attrSubId,proto3" json:"attr_sub_id,omitempty" validate:"gt=0,required"`
  2349. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2350. XXX_unrecognized []byte `json:"-"`
  2351. XXX_sizecache int32 `json:"-"`
  2352. }
  2353. func (m *DeleteAttrReq) Reset() { *m = DeleteAttrReq{} }
  2354. func (m *DeleteAttrReq) String() string { return proto.CompactTextString(m) }
  2355. func (*DeleteAttrReq) ProtoMessage() {}
  2356. func (*DeleteAttrReq) Descriptor() ([]byte, []int) {
  2357. return fileDescriptor_api_ae6aa4fad8591398, []int{35}
  2358. }
  2359. func (m *DeleteAttrReq) XXX_Unmarshal(b []byte) error {
  2360. return m.Unmarshal(b)
  2361. }
  2362. func (m *DeleteAttrReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2363. if deterministic {
  2364. return xxx_messageInfo_DeleteAttrReq.Marshal(b, m, deterministic)
  2365. } else {
  2366. b = b[:cap(b)]
  2367. n, err := m.MarshalTo(b)
  2368. if err != nil {
  2369. return nil, err
  2370. }
  2371. return b[:n], nil
  2372. }
  2373. }
  2374. func (dst *DeleteAttrReq) XXX_Merge(src proto.Message) {
  2375. xxx_messageInfo_DeleteAttrReq.Merge(dst, src)
  2376. }
  2377. func (m *DeleteAttrReq) XXX_Size() int {
  2378. return m.Size()
  2379. }
  2380. func (m *DeleteAttrReq) XXX_DiscardUnknown() {
  2381. xxx_messageInfo_DeleteAttrReq.DiscardUnknown(m)
  2382. }
  2383. var xxx_messageInfo_DeleteAttrReq proto.InternalMessageInfo
  2384. func (m *DeleteAttrReq) GetAttrId() int64 {
  2385. if m != nil {
  2386. return m.AttrId
  2387. }
  2388. return 0
  2389. }
  2390. func (m *DeleteAttrReq) GetAttrSubId() int64 {
  2391. if m != nil {
  2392. return m.AttrSubId
  2393. }
  2394. return 0
  2395. }
  2396. func init() {
  2397. proto.RegisterType((*AnchorLevel)(nil), "live.daoanchor.v1.AnchorLevel")
  2398. proto.RegisterType((*TagData)(nil), "live.daoanchor.v1.TagData")
  2399. proto.RegisterType((*RoomData)(nil), "live.daoanchor.v1.RoomData")
  2400. proto.RegisterType((*RoomByIDsReq)(nil), "live.daoanchor.v1.RoomByIDsReq")
  2401. proto.RegisterType((*RoomByIDsResp)(nil), "live.daoanchor.v1.RoomByIDsResp")
  2402. proto.RegisterMapType((map[int64]*RoomData)(nil), "live.daoanchor.v1.RoomByIDsResp.RoomDataSetEntry")
  2403. proto.RegisterType((*RoomOnlineListReq)(nil), "live.daoanchor.v1.RoomOnlineListReq")
  2404. proto.RegisterType((*RoomOnlineListResp)(nil), "live.daoanchor.v1.RoomOnlineListResp")
  2405. proto.RegisterMapType((map[int64]*RoomData)(nil), "live.daoanchor.v1.RoomOnlineListResp.RoomDataListEntry")
  2406. proto.RegisterType((*RoomOnlineListByAreaReq)(nil), "live.daoanchor.v1.RoomOnlineListByAreaReq")
  2407. proto.RegisterType((*RoomOnlineListByAreaResp)(nil), "live.daoanchor.v1.RoomOnlineListByAreaResp")
  2408. proto.RegisterType((*RoomCreateReq)(nil), "live.daoanchor.v1.RoomCreateReq")
  2409. proto.RegisterType((*RoomCreateResp)(nil), "live.daoanchor.v1.RoomCreateResp")
  2410. proto.RegisterType((*UpdateResp)(nil), "live.daoanchor.v1.UpdateResp")
  2411. proto.RegisterType((*RoomUpdateReq)(nil), "live.daoanchor.v1.RoomUpdateReq")
  2412. proto.RegisterType((*RoomBatchUpdateReq)(nil), "live.daoanchor.v1.RoomBatchUpdateReq")
  2413. proto.RegisterType((*AnchorUpdateReq)(nil), "live.daoanchor.v1.AnchorUpdateReq")
  2414. proto.RegisterType((*AnchorBatchUpdateReq)(nil), "live.daoanchor.v1.AnchorBatchUpdateReq")
  2415. proto.RegisterType((*AnchorIncreReq)(nil), "live.daoanchor.v1.AnchorIncreReq")
  2416. proto.RegisterType((*AnchorBatchIncreReq)(nil), "live.daoanchor.v1.AnchorBatchIncreReq")
  2417. proto.RegisterType((*RoomExtendUpdateReq)(nil), "live.daoanchor.v1.RoomExtendUpdateReq")
  2418. proto.RegisterType((*RoomExtendBatchUpdateReq)(nil), "live.daoanchor.v1.RoomExtendBatchUpdateReq")
  2419. proto.RegisterType((*RoomExtendIncreReq)(nil), "live.daoanchor.v1.RoomExtendIncreReq")
  2420. proto.RegisterType((*RoomExtendBatchIncreReq)(nil), "live.daoanchor.v1.RoomExtendBatchIncreReq")
  2421. proto.RegisterType((*RoomTagCreateReq)(nil), "live.daoanchor.v1.RoomTagCreateReq")
  2422. proto.RegisterType((*RoomAttrCreateReq)(nil), "live.daoanchor.v1.RoomAttrCreateReq")
  2423. proto.RegisterType((*RoomAttrSetExReq)(nil), "live.daoanchor.v1.RoomAttrSetExReq")
  2424. proto.RegisterType((*FetchAreasReq)(nil), "live.daoanchor.v1.FetchAreasReq")
  2425. proto.RegisterType((*AreaInfo)(nil), "live.daoanchor.v1.AreaInfo")
  2426. proto.RegisterType((*FetchAreasResp)(nil), "live.daoanchor.v1.FetchAreasResp")
  2427. proto.RegisterType((*FetchAttrByIDsReq)(nil), "live.daoanchor.v1.FetchAttrByIDsReq")
  2428. proto.RegisterType((*AttrData)(nil), "live.daoanchor.v1.AttrData")
  2429. proto.RegisterType((*FetchAttrByIDsResp)(nil), "live.daoanchor.v1.FetchAttrByIDsResp")
  2430. proto.RegisterMapType((map[int64]*AttrData)(nil), "live.daoanchor.v1.FetchAttrByIDsResp.AttrsEntry")
  2431. proto.RegisterType((*AttrReq)(nil), "live.daoanchor.v1.AttrReq")
  2432. proto.RegisterType((*RoomOnlineListByAttrsReq)(nil), "live.daoanchor.v1.RoomOnlineListByAttrsReq")
  2433. proto.RegisterType((*AttrResp)(nil), "live.daoanchor.v1.AttrResp")
  2434. proto.RegisterType((*RoomOnlineListByAttrsResp)(nil), "live.daoanchor.v1.RoomOnlineListByAttrsResp")
  2435. proto.RegisterMapType((map[int64]*AttrResp)(nil), "live.daoanchor.v1.RoomOnlineListByAttrsResp.AttrsEntry")
  2436. proto.RegisterType((*DeleteAttrReq)(nil), "live.daoanchor.v1.DeleteAttrReq")
  2437. }
  2438. // Reference imports to suppress errors if they are not otherwise used.
  2439. var _ context.Context
  2440. var _ grpc.ClientConn
  2441. // This is a compile-time assertion to ensure that this generated file
  2442. // is compatible with the grpc package it is being compiled against.
  2443. const _ = grpc.SupportPackageIsVersion4
  2444. // DaoAnchorClient is the client API for DaoAnchor service.
  2445. //
  2446. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  2447. type DaoAnchorClient interface {
  2448. // FetchRoomByIDs 查询房间信息
  2449. FetchRoomByIDs(ctx context.Context, in *RoomByIDsReq, opts ...grpc.CallOption) (*RoomByIDsResp, error)
  2450. // RoomOnlineList 在线房间列表
  2451. RoomOnlineList(ctx context.Context, in *RoomOnlineListReq, opts ...grpc.CallOption) (*RoomOnlineListResp, error)
  2452. // RoomOnlineListByArea 分区在线房间列表(只返回room_id列表,不传分区,默认查找所有)
  2453. RoomOnlineListByArea(ctx context.Context, in *RoomOnlineListByAreaReq, opts ...grpc.CallOption) (*RoomOnlineListByAreaResp, error)
  2454. // RoomOnlineListByAttrs 在线房间维度信息(不传attrs,不查询attr)
  2455. RoomOnlineListByAttrs(ctx context.Context, in *RoomOnlineListByAttrsReq, opts ...grpc.CallOption) (*RoomOnlineListByAttrsResp, error)
  2456. // RoomCreate 房间创建
  2457. RoomCreate(ctx context.Context, in *RoomCreateReq, opts ...grpc.CallOption) (*RoomCreateResp, error)
  2458. // RoomUpdate 房间信息更新
  2459. RoomUpdate(ctx context.Context, in *RoomUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2460. // RoomBatchUpdate 房间信息批量更新
  2461. RoomBatchUpdate(ctx context.Context, in *RoomBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2462. // RoomExtendUpdate 房间扩展信息更新
  2463. RoomExtendUpdate(ctx context.Context, in *RoomExtendUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2464. // RoomExtendBatchUpdate 房间扩展信息批量更新
  2465. RoomExtendBatchUpdate(ctx context.Context, in *RoomExtendBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2466. // RoomExtendIncre 房间信息增量更新
  2467. RoomExtendIncre(ctx context.Context, in *RoomExtendIncreReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2468. // RoomExtendBatchIncre 房间信息批量增量更新
  2469. RoomExtendBatchIncre(ctx context.Context, in *RoomExtendBatchIncreReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2470. // RoomTagCreate 房间Tag创建
  2471. RoomTagCreate(ctx context.Context, in *RoomTagCreateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2472. // RoomAttrCreate 房间Attr创建
  2473. RoomAttrCreate(ctx context.Context, in *RoomAttrCreateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2474. // RoomAttrSetEx 房间Attr更新
  2475. RoomAttrSetEx(ctx context.Context, in *RoomAttrSetExReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2476. // AnchorUpdate 主播信息更新
  2477. AnchorUpdate(ctx context.Context, in *AnchorUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2478. // AnchorBatchUpdate 主播信息批量更新
  2479. AnchorBatchUpdate(ctx context.Context, in *AnchorBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2480. // AnchorIncre 主播信息增量更新
  2481. AnchorIncre(ctx context.Context, in *AnchorIncreReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2482. // AnchorBatchIncre 主播信息批量增量更新
  2483. AnchorBatchIncre(ctx context.Context, in *AnchorBatchIncreReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2484. // FetchAreas 根据父分区号查询子分区
  2485. FetchAreas(ctx context.Context, in *FetchAreasReq, opts ...grpc.CallOption) (*FetchAreasResp, error)
  2486. // FetchAttrByIDs 批量根据房间号查询指标
  2487. FetchAttrByIDs(ctx context.Context, in *FetchAttrByIDsReq, opts ...grpc.CallOption) (*FetchAttrByIDsResp, error)
  2488. // DeleteAttr 删除某一个指标
  2489. DeleteAttr(ctx context.Context, in *DeleteAttrReq, opts ...grpc.CallOption) (*UpdateResp, error)
  2490. }
  2491. type daoAnchorClient struct {
  2492. cc *grpc.ClientConn
  2493. }
  2494. func NewDaoAnchorClient(cc *grpc.ClientConn) DaoAnchorClient {
  2495. return &daoAnchorClient{cc}
  2496. }
  2497. func (c *daoAnchorClient) FetchRoomByIDs(ctx context.Context, in *RoomByIDsReq, opts ...grpc.CallOption) (*RoomByIDsResp, error) {
  2498. out := new(RoomByIDsResp)
  2499. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/FetchRoomByIDs", in, out, opts...)
  2500. if err != nil {
  2501. return nil, err
  2502. }
  2503. return out, nil
  2504. }
  2505. func (c *daoAnchorClient) RoomOnlineList(ctx context.Context, in *RoomOnlineListReq, opts ...grpc.CallOption) (*RoomOnlineListResp, error) {
  2506. out := new(RoomOnlineListResp)
  2507. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomOnlineList", in, out, opts...)
  2508. if err != nil {
  2509. return nil, err
  2510. }
  2511. return out, nil
  2512. }
  2513. func (c *daoAnchorClient) RoomOnlineListByArea(ctx context.Context, in *RoomOnlineListByAreaReq, opts ...grpc.CallOption) (*RoomOnlineListByAreaResp, error) {
  2514. out := new(RoomOnlineListByAreaResp)
  2515. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomOnlineListByArea", in, out, opts...)
  2516. if err != nil {
  2517. return nil, err
  2518. }
  2519. return out, nil
  2520. }
  2521. func (c *daoAnchorClient) RoomOnlineListByAttrs(ctx context.Context, in *RoomOnlineListByAttrsReq, opts ...grpc.CallOption) (*RoomOnlineListByAttrsResp, error) {
  2522. out := new(RoomOnlineListByAttrsResp)
  2523. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomOnlineListByAttrs", in, out, opts...)
  2524. if err != nil {
  2525. return nil, err
  2526. }
  2527. return out, nil
  2528. }
  2529. func (c *daoAnchorClient) RoomCreate(ctx context.Context, in *RoomCreateReq, opts ...grpc.CallOption) (*RoomCreateResp, error) {
  2530. out := new(RoomCreateResp)
  2531. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomCreate", in, out, opts...)
  2532. if err != nil {
  2533. return nil, err
  2534. }
  2535. return out, nil
  2536. }
  2537. func (c *daoAnchorClient) RoomUpdate(ctx context.Context, in *RoomUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2538. out := new(UpdateResp)
  2539. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomUpdate", in, out, opts...)
  2540. if err != nil {
  2541. return nil, err
  2542. }
  2543. return out, nil
  2544. }
  2545. func (c *daoAnchorClient) RoomBatchUpdate(ctx context.Context, in *RoomBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2546. out := new(UpdateResp)
  2547. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomBatchUpdate", in, out, opts...)
  2548. if err != nil {
  2549. return nil, err
  2550. }
  2551. return out, nil
  2552. }
  2553. func (c *daoAnchorClient) RoomExtendUpdate(ctx context.Context, in *RoomExtendUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2554. out := new(UpdateResp)
  2555. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomExtendUpdate", in, out, opts...)
  2556. if err != nil {
  2557. return nil, err
  2558. }
  2559. return out, nil
  2560. }
  2561. func (c *daoAnchorClient) RoomExtendBatchUpdate(ctx context.Context, in *RoomExtendBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2562. out := new(UpdateResp)
  2563. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomExtendBatchUpdate", in, out, opts...)
  2564. if err != nil {
  2565. return nil, err
  2566. }
  2567. return out, nil
  2568. }
  2569. func (c *daoAnchorClient) RoomExtendIncre(ctx context.Context, in *RoomExtendIncreReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2570. out := new(UpdateResp)
  2571. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomExtendIncre", in, out, opts...)
  2572. if err != nil {
  2573. return nil, err
  2574. }
  2575. return out, nil
  2576. }
  2577. func (c *daoAnchorClient) RoomExtendBatchIncre(ctx context.Context, in *RoomExtendBatchIncreReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2578. out := new(UpdateResp)
  2579. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomExtendBatchIncre", in, out, opts...)
  2580. if err != nil {
  2581. return nil, err
  2582. }
  2583. return out, nil
  2584. }
  2585. func (c *daoAnchorClient) RoomTagCreate(ctx context.Context, in *RoomTagCreateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2586. out := new(UpdateResp)
  2587. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomTagCreate", in, out, opts...)
  2588. if err != nil {
  2589. return nil, err
  2590. }
  2591. return out, nil
  2592. }
  2593. func (c *daoAnchorClient) RoomAttrCreate(ctx context.Context, in *RoomAttrCreateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2594. out := new(UpdateResp)
  2595. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomAttrCreate", in, out, opts...)
  2596. if err != nil {
  2597. return nil, err
  2598. }
  2599. return out, nil
  2600. }
  2601. func (c *daoAnchorClient) RoomAttrSetEx(ctx context.Context, in *RoomAttrSetExReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2602. out := new(UpdateResp)
  2603. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/RoomAttrSetEx", in, out, opts...)
  2604. if err != nil {
  2605. return nil, err
  2606. }
  2607. return out, nil
  2608. }
  2609. func (c *daoAnchorClient) AnchorUpdate(ctx context.Context, in *AnchorUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2610. out := new(UpdateResp)
  2611. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/AnchorUpdate", in, out, opts...)
  2612. if err != nil {
  2613. return nil, err
  2614. }
  2615. return out, nil
  2616. }
  2617. func (c *daoAnchorClient) AnchorBatchUpdate(ctx context.Context, in *AnchorBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2618. out := new(UpdateResp)
  2619. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/AnchorBatchUpdate", in, out, opts...)
  2620. if err != nil {
  2621. return nil, err
  2622. }
  2623. return out, nil
  2624. }
  2625. func (c *daoAnchorClient) AnchorIncre(ctx context.Context, in *AnchorIncreReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2626. out := new(UpdateResp)
  2627. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/AnchorIncre", in, out, opts...)
  2628. if err != nil {
  2629. return nil, err
  2630. }
  2631. return out, nil
  2632. }
  2633. func (c *daoAnchorClient) AnchorBatchIncre(ctx context.Context, in *AnchorBatchIncreReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2634. out := new(UpdateResp)
  2635. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/AnchorBatchIncre", in, out, opts...)
  2636. if err != nil {
  2637. return nil, err
  2638. }
  2639. return out, nil
  2640. }
  2641. func (c *daoAnchorClient) FetchAreas(ctx context.Context, in *FetchAreasReq, opts ...grpc.CallOption) (*FetchAreasResp, error) {
  2642. out := new(FetchAreasResp)
  2643. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/FetchAreas", in, out, opts...)
  2644. if err != nil {
  2645. return nil, err
  2646. }
  2647. return out, nil
  2648. }
  2649. func (c *daoAnchorClient) FetchAttrByIDs(ctx context.Context, in *FetchAttrByIDsReq, opts ...grpc.CallOption) (*FetchAttrByIDsResp, error) {
  2650. out := new(FetchAttrByIDsResp)
  2651. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/FetchAttrByIDs", in, out, opts...)
  2652. if err != nil {
  2653. return nil, err
  2654. }
  2655. return out, nil
  2656. }
  2657. func (c *daoAnchorClient) DeleteAttr(ctx context.Context, in *DeleteAttrReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  2658. out := new(UpdateResp)
  2659. err := c.cc.Invoke(ctx, "/live.daoanchor.v1.DaoAnchor/DeleteAttr", in, out, opts...)
  2660. if err != nil {
  2661. return nil, err
  2662. }
  2663. return out, nil
  2664. }
  2665. // DaoAnchorServer is the server API for DaoAnchor service.
  2666. type DaoAnchorServer interface {
  2667. // FetchRoomByIDs 查询房间信息
  2668. FetchRoomByIDs(context.Context, *RoomByIDsReq) (*RoomByIDsResp, error)
  2669. // RoomOnlineList 在线房间列表
  2670. RoomOnlineList(context.Context, *RoomOnlineListReq) (*RoomOnlineListResp, error)
  2671. // RoomOnlineListByArea 分区在线房间列表(只返回room_id列表,不传分区,默认查找所有)
  2672. RoomOnlineListByArea(context.Context, *RoomOnlineListByAreaReq) (*RoomOnlineListByAreaResp, error)
  2673. // RoomOnlineListByAttrs 在线房间维度信息(不传attrs,不查询attr)
  2674. RoomOnlineListByAttrs(context.Context, *RoomOnlineListByAttrsReq) (*RoomOnlineListByAttrsResp, error)
  2675. // RoomCreate 房间创建
  2676. RoomCreate(context.Context, *RoomCreateReq) (*RoomCreateResp, error)
  2677. // RoomUpdate 房间信息更新
  2678. RoomUpdate(context.Context, *RoomUpdateReq) (*UpdateResp, error)
  2679. // RoomBatchUpdate 房间信息批量更新
  2680. RoomBatchUpdate(context.Context, *RoomBatchUpdateReq) (*UpdateResp, error)
  2681. // RoomExtendUpdate 房间扩展信息更新
  2682. RoomExtendUpdate(context.Context, *RoomExtendUpdateReq) (*UpdateResp, error)
  2683. // RoomExtendBatchUpdate 房间扩展信息批量更新
  2684. RoomExtendBatchUpdate(context.Context, *RoomExtendBatchUpdateReq) (*UpdateResp, error)
  2685. // RoomExtendIncre 房间信息增量更新
  2686. RoomExtendIncre(context.Context, *RoomExtendIncreReq) (*UpdateResp, error)
  2687. // RoomExtendBatchIncre 房间信息批量增量更新
  2688. RoomExtendBatchIncre(context.Context, *RoomExtendBatchIncreReq) (*UpdateResp, error)
  2689. // RoomTagCreate 房间Tag创建
  2690. RoomTagCreate(context.Context, *RoomTagCreateReq) (*UpdateResp, error)
  2691. // RoomAttrCreate 房间Attr创建
  2692. RoomAttrCreate(context.Context, *RoomAttrCreateReq) (*UpdateResp, error)
  2693. // RoomAttrSetEx 房间Attr更新
  2694. RoomAttrSetEx(context.Context, *RoomAttrSetExReq) (*UpdateResp, error)
  2695. // AnchorUpdate 主播信息更新
  2696. AnchorUpdate(context.Context, *AnchorUpdateReq) (*UpdateResp, error)
  2697. // AnchorBatchUpdate 主播信息批量更新
  2698. AnchorBatchUpdate(context.Context, *AnchorBatchUpdateReq) (*UpdateResp, error)
  2699. // AnchorIncre 主播信息增量更新
  2700. AnchorIncre(context.Context, *AnchorIncreReq) (*UpdateResp, error)
  2701. // AnchorBatchIncre 主播信息批量增量更新
  2702. AnchorBatchIncre(context.Context, *AnchorBatchIncreReq) (*UpdateResp, error)
  2703. // FetchAreas 根据父分区号查询子分区
  2704. FetchAreas(context.Context, *FetchAreasReq) (*FetchAreasResp, error)
  2705. // FetchAttrByIDs 批量根据房间号查询指标
  2706. FetchAttrByIDs(context.Context, *FetchAttrByIDsReq) (*FetchAttrByIDsResp, error)
  2707. // DeleteAttr 删除某一个指标
  2708. DeleteAttr(context.Context, *DeleteAttrReq) (*UpdateResp, error)
  2709. }
  2710. func RegisterDaoAnchorServer(s *grpc.Server, srv DaoAnchorServer) {
  2711. s.RegisterService(&_DaoAnchor_serviceDesc, srv)
  2712. }
  2713. func _DaoAnchor_FetchRoomByIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2714. in := new(RoomByIDsReq)
  2715. if err := dec(in); err != nil {
  2716. return nil, err
  2717. }
  2718. if interceptor == nil {
  2719. return srv.(DaoAnchorServer).FetchRoomByIDs(ctx, in)
  2720. }
  2721. info := &grpc.UnaryServerInfo{
  2722. Server: srv,
  2723. FullMethod: "/live.daoanchor.v1.DaoAnchor/FetchRoomByIDs",
  2724. }
  2725. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2726. return srv.(DaoAnchorServer).FetchRoomByIDs(ctx, req.(*RoomByIDsReq))
  2727. }
  2728. return interceptor(ctx, in, info, handler)
  2729. }
  2730. func _DaoAnchor_RoomOnlineList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2731. in := new(RoomOnlineListReq)
  2732. if err := dec(in); err != nil {
  2733. return nil, err
  2734. }
  2735. if interceptor == nil {
  2736. return srv.(DaoAnchorServer).RoomOnlineList(ctx, in)
  2737. }
  2738. info := &grpc.UnaryServerInfo{
  2739. Server: srv,
  2740. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomOnlineList",
  2741. }
  2742. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2743. return srv.(DaoAnchorServer).RoomOnlineList(ctx, req.(*RoomOnlineListReq))
  2744. }
  2745. return interceptor(ctx, in, info, handler)
  2746. }
  2747. func _DaoAnchor_RoomOnlineListByArea_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2748. in := new(RoomOnlineListByAreaReq)
  2749. if err := dec(in); err != nil {
  2750. return nil, err
  2751. }
  2752. if interceptor == nil {
  2753. return srv.(DaoAnchorServer).RoomOnlineListByArea(ctx, in)
  2754. }
  2755. info := &grpc.UnaryServerInfo{
  2756. Server: srv,
  2757. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomOnlineListByArea",
  2758. }
  2759. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2760. return srv.(DaoAnchorServer).RoomOnlineListByArea(ctx, req.(*RoomOnlineListByAreaReq))
  2761. }
  2762. return interceptor(ctx, in, info, handler)
  2763. }
  2764. func _DaoAnchor_RoomOnlineListByAttrs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2765. in := new(RoomOnlineListByAttrsReq)
  2766. if err := dec(in); err != nil {
  2767. return nil, err
  2768. }
  2769. if interceptor == nil {
  2770. return srv.(DaoAnchorServer).RoomOnlineListByAttrs(ctx, in)
  2771. }
  2772. info := &grpc.UnaryServerInfo{
  2773. Server: srv,
  2774. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomOnlineListByAttrs",
  2775. }
  2776. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2777. return srv.(DaoAnchorServer).RoomOnlineListByAttrs(ctx, req.(*RoomOnlineListByAttrsReq))
  2778. }
  2779. return interceptor(ctx, in, info, handler)
  2780. }
  2781. func _DaoAnchor_RoomCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2782. in := new(RoomCreateReq)
  2783. if err := dec(in); err != nil {
  2784. return nil, err
  2785. }
  2786. if interceptor == nil {
  2787. return srv.(DaoAnchorServer).RoomCreate(ctx, in)
  2788. }
  2789. info := &grpc.UnaryServerInfo{
  2790. Server: srv,
  2791. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomCreate",
  2792. }
  2793. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2794. return srv.(DaoAnchorServer).RoomCreate(ctx, req.(*RoomCreateReq))
  2795. }
  2796. return interceptor(ctx, in, info, handler)
  2797. }
  2798. func _DaoAnchor_RoomUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2799. in := new(RoomUpdateReq)
  2800. if err := dec(in); err != nil {
  2801. return nil, err
  2802. }
  2803. if interceptor == nil {
  2804. return srv.(DaoAnchorServer).RoomUpdate(ctx, in)
  2805. }
  2806. info := &grpc.UnaryServerInfo{
  2807. Server: srv,
  2808. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomUpdate",
  2809. }
  2810. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2811. return srv.(DaoAnchorServer).RoomUpdate(ctx, req.(*RoomUpdateReq))
  2812. }
  2813. return interceptor(ctx, in, info, handler)
  2814. }
  2815. func _DaoAnchor_RoomBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2816. in := new(RoomBatchUpdateReq)
  2817. if err := dec(in); err != nil {
  2818. return nil, err
  2819. }
  2820. if interceptor == nil {
  2821. return srv.(DaoAnchorServer).RoomBatchUpdate(ctx, in)
  2822. }
  2823. info := &grpc.UnaryServerInfo{
  2824. Server: srv,
  2825. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomBatchUpdate",
  2826. }
  2827. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2828. return srv.(DaoAnchorServer).RoomBatchUpdate(ctx, req.(*RoomBatchUpdateReq))
  2829. }
  2830. return interceptor(ctx, in, info, handler)
  2831. }
  2832. func _DaoAnchor_RoomExtendUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2833. in := new(RoomExtendUpdateReq)
  2834. if err := dec(in); err != nil {
  2835. return nil, err
  2836. }
  2837. if interceptor == nil {
  2838. return srv.(DaoAnchorServer).RoomExtendUpdate(ctx, in)
  2839. }
  2840. info := &grpc.UnaryServerInfo{
  2841. Server: srv,
  2842. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomExtendUpdate",
  2843. }
  2844. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2845. return srv.(DaoAnchorServer).RoomExtendUpdate(ctx, req.(*RoomExtendUpdateReq))
  2846. }
  2847. return interceptor(ctx, in, info, handler)
  2848. }
  2849. func _DaoAnchor_RoomExtendBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2850. in := new(RoomExtendBatchUpdateReq)
  2851. if err := dec(in); err != nil {
  2852. return nil, err
  2853. }
  2854. if interceptor == nil {
  2855. return srv.(DaoAnchorServer).RoomExtendBatchUpdate(ctx, in)
  2856. }
  2857. info := &grpc.UnaryServerInfo{
  2858. Server: srv,
  2859. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomExtendBatchUpdate",
  2860. }
  2861. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2862. return srv.(DaoAnchorServer).RoomExtendBatchUpdate(ctx, req.(*RoomExtendBatchUpdateReq))
  2863. }
  2864. return interceptor(ctx, in, info, handler)
  2865. }
  2866. func _DaoAnchor_RoomExtendIncre_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2867. in := new(RoomExtendIncreReq)
  2868. if err := dec(in); err != nil {
  2869. return nil, err
  2870. }
  2871. if interceptor == nil {
  2872. return srv.(DaoAnchorServer).RoomExtendIncre(ctx, in)
  2873. }
  2874. info := &grpc.UnaryServerInfo{
  2875. Server: srv,
  2876. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomExtendIncre",
  2877. }
  2878. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2879. return srv.(DaoAnchorServer).RoomExtendIncre(ctx, req.(*RoomExtendIncreReq))
  2880. }
  2881. return interceptor(ctx, in, info, handler)
  2882. }
  2883. func _DaoAnchor_RoomExtendBatchIncre_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2884. in := new(RoomExtendBatchIncreReq)
  2885. if err := dec(in); err != nil {
  2886. return nil, err
  2887. }
  2888. if interceptor == nil {
  2889. return srv.(DaoAnchorServer).RoomExtendBatchIncre(ctx, in)
  2890. }
  2891. info := &grpc.UnaryServerInfo{
  2892. Server: srv,
  2893. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomExtendBatchIncre",
  2894. }
  2895. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2896. return srv.(DaoAnchorServer).RoomExtendBatchIncre(ctx, req.(*RoomExtendBatchIncreReq))
  2897. }
  2898. return interceptor(ctx, in, info, handler)
  2899. }
  2900. func _DaoAnchor_RoomTagCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2901. in := new(RoomTagCreateReq)
  2902. if err := dec(in); err != nil {
  2903. return nil, err
  2904. }
  2905. if interceptor == nil {
  2906. return srv.(DaoAnchorServer).RoomTagCreate(ctx, in)
  2907. }
  2908. info := &grpc.UnaryServerInfo{
  2909. Server: srv,
  2910. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomTagCreate",
  2911. }
  2912. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2913. return srv.(DaoAnchorServer).RoomTagCreate(ctx, req.(*RoomTagCreateReq))
  2914. }
  2915. return interceptor(ctx, in, info, handler)
  2916. }
  2917. func _DaoAnchor_RoomAttrCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2918. in := new(RoomAttrCreateReq)
  2919. if err := dec(in); err != nil {
  2920. return nil, err
  2921. }
  2922. if interceptor == nil {
  2923. return srv.(DaoAnchorServer).RoomAttrCreate(ctx, in)
  2924. }
  2925. info := &grpc.UnaryServerInfo{
  2926. Server: srv,
  2927. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomAttrCreate",
  2928. }
  2929. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2930. return srv.(DaoAnchorServer).RoomAttrCreate(ctx, req.(*RoomAttrCreateReq))
  2931. }
  2932. return interceptor(ctx, in, info, handler)
  2933. }
  2934. func _DaoAnchor_RoomAttrSetEx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2935. in := new(RoomAttrSetExReq)
  2936. if err := dec(in); err != nil {
  2937. return nil, err
  2938. }
  2939. if interceptor == nil {
  2940. return srv.(DaoAnchorServer).RoomAttrSetEx(ctx, in)
  2941. }
  2942. info := &grpc.UnaryServerInfo{
  2943. Server: srv,
  2944. FullMethod: "/live.daoanchor.v1.DaoAnchor/RoomAttrSetEx",
  2945. }
  2946. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2947. return srv.(DaoAnchorServer).RoomAttrSetEx(ctx, req.(*RoomAttrSetExReq))
  2948. }
  2949. return interceptor(ctx, in, info, handler)
  2950. }
  2951. func _DaoAnchor_AnchorUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2952. in := new(AnchorUpdateReq)
  2953. if err := dec(in); err != nil {
  2954. return nil, err
  2955. }
  2956. if interceptor == nil {
  2957. return srv.(DaoAnchorServer).AnchorUpdate(ctx, in)
  2958. }
  2959. info := &grpc.UnaryServerInfo{
  2960. Server: srv,
  2961. FullMethod: "/live.daoanchor.v1.DaoAnchor/AnchorUpdate",
  2962. }
  2963. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2964. return srv.(DaoAnchorServer).AnchorUpdate(ctx, req.(*AnchorUpdateReq))
  2965. }
  2966. return interceptor(ctx, in, info, handler)
  2967. }
  2968. func _DaoAnchor_AnchorBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2969. in := new(AnchorBatchUpdateReq)
  2970. if err := dec(in); err != nil {
  2971. return nil, err
  2972. }
  2973. if interceptor == nil {
  2974. return srv.(DaoAnchorServer).AnchorBatchUpdate(ctx, in)
  2975. }
  2976. info := &grpc.UnaryServerInfo{
  2977. Server: srv,
  2978. FullMethod: "/live.daoanchor.v1.DaoAnchor/AnchorBatchUpdate",
  2979. }
  2980. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2981. return srv.(DaoAnchorServer).AnchorBatchUpdate(ctx, req.(*AnchorBatchUpdateReq))
  2982. }
  2983. return interceptor(ctx, in, info, handler)
  2984. }
  2985. func _DaoAnchor_AnchorIncre_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2986. in := new(AnchorIncreReq)
  2987. if err := dec(in); err != nil {
  2988. return nil, err
  2989. }
  2990. if interceptor == nil {
  2991. return srv.(DaoAnchorServer).AnchorIncre(ctx, in)
  2992. }
  2993. info := &grpc.UnaryServerInfo{
  2994. Server: srv,
  2995. FullMethod: "/live.daoanchor.v1.DaoAnchor/AnchorIncre",
  2996. }
  2997. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2998. return srv.(DaoAnchorServer).AnchorIncre(ctx, req.(*AnchorIncreReq))
  2999. }
  3000. return interceptor(ctx, in, info, handler)
  3001. }
  3002. func _DaoAnchor_AnchorBatchIncre_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3003. in := new(AnchorBatchIncreReq)
  3004. if err := dec(in); err != nil {
  3005. return nil, err
  3006. }
  3007. if interceptor == nil {
  3008. return srv.(DaoAnchorServer).AnchorBatchIncre(ctx, in)
  3009. }
  3010. info := &grpc.UnaryServerInfo{
  3011. Server: srv,
  3012. FullMethod: "/live.daoanchor.v1.DaoAnchor/AnchorBatchIncre",
  3013. }
  3014. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3015. return srv.(DaoAnchorServer).AnchorBatchIncre(ctx, req.(*AnchorBatchIncreReq))
  3016. }
  3017. return interceptor(ctx, in, info, handler)
  3018. }
  3019. func _DaoAnchor_FetchAreas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3020. in := new(FetchAreasReq)
  3021. if err := dec(in); err != nil {
  3022. return nil, err
  3023. }
  3024. if interceptor == nil {
  3025. return srv.(DaoAnchorServer).FetchAreas(ctx, in)
  3026. }
  3027. info := &grpc.UnaryServerInfo{
  3028. Server: srv,
  3029. FullMethod: "/live.daoanchor.v1.DaoAnchor/FetchAreas",
  3030. }
  3031. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3032. return srv.(DaoAnchorServer).FetchAreas(ctx, req.(*FetchAreasReq))
  3033. }
  3034. return interceptor(ctx, in, info, handler)
  3035. }
  3036. func _DaoAnchor_FetchAttrByIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3037. in := new(FetchAttrByIDsReq)
  3038. if err := dec(in); err != nil {
  3039. return nil, err
  3040. }
  3041. if interceptor == nil {
  3042. return srv.(DaoAnchorServer).FetchAttrByIDs(ctx, in)
  3043. }
  3044. info := &grpc.UnaryServerInfo{
  3045. Server: srv,
  3046. FullMethod: "/live.daoanchor.v1.DaoAnchor/FetchAttrByIDs",
  3047. }
  3048. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3049. return srv.(DaoAnchorServer).FetchAttrByIDs(ctx, req.(*FetchAttrByIDsReq))
  3050. }
  3051. return interceptor(ctx, in, info, handler)
  3052. }
  3053. func _DaoAnchor_DeleteAttr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3054. in := new(DeleteAttrReq)
  3055. if err := dec(in); err != nil {
  3056. return nil, err
  3057. }
  3058. if interceptor == nil {
  3059. return srv.(DaoAnchorServer).DeleteAttr(ctx, in)
  3060. }
  3061. info := &grpc.UnaryServerInfo{
  3062. Server: srv,
  3063. FullMethod: "/live.daoanchor.v1.DaoAnchor/DeleteAttr",
  3064. }
  3065. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3066. return srv.(DaoAnchorServer).DeleteAttr(ctx, req.(*DeleteAttrReq))
  3067. }
  3068. return interceptor(ctx, in, info, handler)
  3069. }
  3070. var _DaoAnchor_serviceDesc = grpc.ServiceDesc{
  3071. ServiceName: "live.daoanchor.v1.DaoAnchor",
  3072. HandlerType: (*DaoAnchorServer)(nil),
  3073. Methods: []grpc.MethodDesc{
  3074. {
  3075. MethodName: "FetchRoomByIDs",
  3076. Handler: _DaoAnchor_FetchRoomByIDs_Handler,
  3077. },
  3078. {
  3079. MethodName: "RoomOnlineList",
  3080. Handler: _DaoAnchor_RoomOnlineList_Handler,
  3081. },
  3082. {
  3083. MethodName: "RoomOnlineListByArea",
  3084. Handler: _DaoAnchor_RoomOnlineListByArea_Handler,
  3085. },
  3086. {
  3087. MethodName: "RoomOnlineListByAttrs",
  3088. Handler: _DaoAnchor_RoomOnlineListByAttrs_Handler,
  3089. },
  3090. {
  3091. MethodName: "RoomCreate",
  3092. Handler: _DaoAnchor_RoomCreate_Handler,
  3093. },
  3094. {
  3095. MethodName: "RoomUpdate",
  3096. Handler: _DaoAnchor_RoomUpdate_Handler,
  3097. },
  3098. {
  3099. MethodName: "RoomBatchUpdate",
  3100. Handler: _DaoAnchor_RoomBatchUpdate_Handler,
  3101. },
  3102. {
  3103. MethodName: "RoomExtendUpdate",
  3104. Handler: _DaoAnchor_RoomExtendUpdate_Handler,
  3105. },
  3106. {
  3107. MethodName: "RoomExtendBatchUpdate",
  3108. Handler: _DaoAnchor_RoomExtendBatchUpdate_Handler,
  3109. },
  3110. {
  3111. MethodName: "RoomExtendIncre",
  3112. Handler: _DaoAnchor_RoomExtendIncre_Handler,
  3113. },
  3114. {
  3115. MethodName: "RoomExtendBatchIncre",
  3116. Handler: _DaoAnchor_RoomExtendBatchIncre_Handler,
  3117. },
  3118. {
  3119. MethodName: "RoomTagCreate",
  3120. Handler: _DaoAnchor_RoomTagCreate_Handler,
  3121. },
  3122. {
  3123. MethodName: "RoomAttrCreate",
  3124. Handler: _DaoAnchor_RoomAttrCreate_Handler,
  3125. },
  3126. {
  3127. MethodName: "RoomAttrSetEx",
  3128. Handler: _DaoAnchor_RoomAttrSetEx_Handler,
  3129. },
  3130. {
  3131. MethodName: "AnchorUpdate",
  3132. Handler: _DaoAnchor_AnchorUpdate_Handler,
  3133. },
  3134. {
  3135. MethodName: "AnchorBatchUpdate",
  3136. Handler: _DaoAnchor_AnchorBatchUpdate_Handler,
  3137. },
  3138. {
  3139. MethodName: "AnchorIncre",
  3140. Handler: _DaoAnchor_AnchorIncre_Handler,
  3141. },
  3142. {
  3143. MethodName: "AnchorBatchIncre",
  3144. Handler: _DaoAnchor_AnchorBatchIncre_Handler,
  3145. },
  3146. {
  3147. MethodName: "FetchAreas",
  3148. Handler: _DaoAnchor_FetchAreas_Handler,
  3149. },
  3150. {
  3151. MethodName: "FetchAttrByIDs",
  3152. Handler: _DaoAnchor_FetchAttrByIDs_Handler,
  3153. },
  3154. {
  3155. MethodName: "DeleteAttr",
  3156. Handler: _DaoAnchor_DeleteAttr_Handler,
  3157. },
  3158. },
  3159. Streams: []grpc.StreamDesc{},
  3160. Metadata: "app/service/live/dao-anchor/api/grpc/v1/api.proto",
  3161. }
  3162. func (m *AnchorLevel) Marshal() (dAtA []byte, err error) {
  3163. size := m.Size()
  3164. dAtA = make([]byte, size)
  3165. n, err := m.MarshalTo(dAtA)
  3166. if err != nil {
  3167. return nil, err
  3168. }
  3169. return dAtA[:n], nil
  3170. }
  3171. func (m *AnchorLevel) MarshalTo(dAtA []byte) (int, error) {
  3172. var i int
  3173. _ = i
  3174. var l int
  3175. _ = l
  3176. if m.Level != 0 {
  3177. dAtA[i] = 0x8
  3178. i++
  3179. i = encodeVarintApi(dAtA, i, uint64(m.Level))
  3180. }
  3181. if m.Color != 0 {
  3182. dAtA[i] = 0x10
  3183. i++
  3184. i = encodeVarintApi(dAtA, i, uint64(m.Color))
  3185. }
  3186. if m.Score != 0 {
  3187. dAtA[i] = 0x18
  3188. i++
  3189. i = encodeVarintApi(dAtA, i, uint64(m.Score))
  3190. }
  3191. if m.Left != 0 {
  3192. dAtA[i] = 0x20
  3193. i++
  3194. i = encodeVarintApi(dAtA, i, uint64(m.Left))
  3195. }
  3196. if m.Right != 0 {
  3197. dAtA[i] = 0x28
  3198. i++
  3199. i = encodeVarintApi(dAtA, i, uint64(m.Right))
  3200. }
  3201. if m.MaxLevel != 0 {
  3202. dAtA[i] = 0x30
  3203. i++
  3204. i = encodeVarintApi(dAtA, i, uint64(m.MaxLevel))
  3205. }
  3206. if m.XXX_unrecognized != nil {
  3207. i += copy(dAtA[i:], m.XXX_unrecognized)
  3208. }
  3209. return i, nil
  3210. }
  3211. func (m *TagData) Marshal() (dAtA []byte, err error) {
  3212. size := m.Size()
  3213. dAtA = make([]byte, size)
  3214. n, err := m.MarshalTo(dAtA)
  3215. if err != nil {
  3216. return nil, err
  3217. }
  3218. return dAtA[:n], nil
  3219. }
  3220. func (m *TagData) MarshalTo(dAtA []byte) (int, error) {
  3221. var i int
  3222. _ = i
  3223. var l int
  3224. _ = l
  3225. if m.TagId != 0 {
  3226. dAtA[i] = 0x8
  3227. i++
  3228. i = encodeVarintApi(dAtA, i, uint64(m.TagId))
  3229. }
  3230. if m.TagSubId != 0 {
  3231. dAtA[i] = 0x10
  3232. i++
  3233. i = encodeVarintApi(dAtA, i, uint64(m.TagSubId))
  3234. }
  3235. if m.TagValue != 0 {
  3236. dAtA[i] = 0x18
  3237. i++
  3238. i = encodeVarintApi(dAtA, i, uint64(m.TagValue))
  3239. }
  3240. if len(m.TagExt) > 0 {
  3241. dAtA[i] = 0x22
  3242. i++
  3243. i = encodeVarintApi(dAtA, i, uint64(len(m.TagExt)))
  3244. i += copy(dAtA[i:], m.TagExt)
  3245. }
  3246. if m.TagExpireAt != 0 {
  3247. dAtA[i] = 0x28
  3248. i++
  3249. i = encodeVarintApi(dAtA, i, uint64(m.TagExpireAt))
  3250. }
  3251. if m.XXX_unrecognized != nil {
  3252. i += copy(dAtA[i:], m.XXX_unrecognized)
  3253. }
  3254. return i, nil
  3255. }
  3256. func (m *RoomData) Marshal() (dAtA []byte, err error) {
  3257. size := m.Size()
  3258. dAtA = make([]byte, size)
  3259. n, err := m.MarshalTo(dAtA)
  3260. if err != nil {
  3261. return nil, err
  3262. }
  3263. return dAtA[:n], nil
  3264. }
  3265. func (m *RoomData) MarshalTo(dAtA []byte) (int, error) {
  3266. var i int
  3267. _ = i
  3268. var l int
  3269. _ = l
  3270. if m.Uid != 0 {
  3271. dAtA[i] = 0x8
  3272. i++
  3273. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  3274. }
  3275. if m.RoomId != 0 {
  3276. dAtA[i] = 0x10
  3277. i++
  3278. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  3279. }
  3280. if m.ShortId != 0 {
  3281. dAtA[i] = 0x18
  3282. i++
  3283. i = encodeVarintApi(dAtA, i, uint64(m.ShortId))
  3284. }
  3285. if len(m.Title) > 0 {
  3286. dAtA[i] = 0x22
  3287. i++
  3288. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  3289. i += copy(dAtA[i:], m.Title)
  3290. }
  3291. if len(m.Cover) > 0 {
  3292. dAtA[i] = 0x2a
  3293. i++
  3294. i = encodeVarintApi(dAtA, i, uint64(len(m.Cover)))
  3295. i += copy(dAtA[i:], m.Cover)
  3296. }
  3297. if len(m.Tags) > 0 {
  3298. dAtA[i] = 0x32
  3299. i++
  3300. i = encodeVarintApi(dAtA, i, uint64(len(m.Tags)))
  3301. i += copy(dAtA[i:], m.Tags)
  3302. }
  3303. if len(m.Background) > 0 {
  3304. dAtA[i] = 0x3a
  3305. i++
  3306. i = encodeVarintApi(dAtA, i, uint64(len(m.Background)))
  3307. i += copy(dAtA[i:], m.Background)
  3308. }
  3309. if len(m.Description) > 0 {
  3310. dAtA[i] = 0x42
  3311. i++
  3312. i = encodeVarintApi(dAtA, i, uint64(len(m.Description)))
  3313. i += copy(dAtA[i:], m.Description)
  3314. }
  3315. if m.LiveStatus != 0 {
  3316. dAtA[i] = 0x48
  3317. i++
  3318. i = encodeVarintApi(dAtA, i, uint64(m.LiveStatus))
  3319. }
  3320. if m.LiveStartTime != 0 {
  3321. dAtA[i] = 0x50
  3322. i++
  3323. i = encodeVarintApi(dAtA, i, uint64(m.LiveStartTime))
  3324. }
  3325. if m.LiveScreenType != 0 {
  3326. dAtA[i] = 0x58
  3327. i++
  3328. i = encodeVarintApi(dAtA, i, uint64(m.LiveScreenType))
  3329. }
  3330. if m.LiveMark != 0 {
  3331. dAtA[i] = 0x60
  3332. i++
  3333. i = encodeVarintApi(dAtA, i, uint64(m.LiveMark))
  3334. }
  3335. if m.LockStatus != 0 {
  3336. dAtA[i] = 0x68
  3337. i++
  3338. i = encodeVarintApi(dAtA, i, uint64(m.LockStatus))
  3339. }
  3340. if m.LockTime != 0 {
  3341. dAtA[i] = 0x70
  3342. i++
  3343. i = encodeVarintApi(dAtA, i, uint64(m.LockTime))
  3344. }
  3345. if m.HiddenStatus != 0 {
  3346. dAtA[i] = 0x78
  3347. i++
  3348. i = encodeVarintApi(dAtA, i, uint64(m.HiddenStatus))
  3349. }
  3350. if m.HiddenTime != 0 {
  3351. dAtA[i] = 0x80
  3352. i++
  3353. dAtA[i] = 0x1
  3354. i++
  3355. i = encodeVarintApi(dAtA, i, uint64(m.HiddenTime))
  3356. }
  3357. if m.AreaId != 0 {
  3358. dAtA[i] = 0x88
  3359. i++
  3360. dAtA[i] = 0x1
  3361. i++
  3362. i = encodeVarintApi(dAtA, i, uint64(m.AreaId))
  3363. }
  3364. if len(m.AreaName) > 0 {
  3365. dAtA[i] = 0x92
  3366. i++
  3367. dAtA[i] = 0x1
  3368. i++
  3369. i = encodeVarintApi(dAtA, i, uint64(len(m.AreaName)))
  3370. i += copy(dAtA[i:], m.AreaName)
  3371. }
  3372. if m.ParentAreaId != 0 {
  3373. dAtA[i] = 0x98
  3374. i++
  3375. dAtA[i] = 0x1
  3376. i++
  3377. i = encodeVarintApi(dAtA, i, uint64(m.ParentAreaId))
  3378. }
  3379. if len(m.ParentAreaName) > 0 {
  3380. dAtA[i] = 0xa2
  3381. i++
  3382. dAtA[i] = 0x1
  3383. i++
  3384. i = encodeVarintApi(dAtA, i, uint64(len(m.ParentAreaName)))
  3385. i += copy(dAtA[i:], m.ParentAreaName)
  3386. }
  3387. if len(m.Keyframe) > 0 {
  3388. dAtA[i] = 0xaa
  3389. i++
  3390. dAtA[i] = 0x1
  3391. i++
  3392. i = encodeVarintApi(dAtA, i, uint64(len(m.Keyframe)))
  3393. i += copy(dAtA[i:], m.Keyframe)
  3394. }
  3395. if m.PopularityCount != 0 {
  3396. dAtA[i] = 0xb0
  3397. i++
  3398. dAtA[i] = 0x1
  3399. i++
  3400. i = encodeVarintApi(dAtA, i, uint64(m.PopularityCount))
  3401. }
  3402. if len(m.TagList) > 0 {
  3403. for _, msg := range m.TagList {
  3404. dAtA[i] = 0xba
  3405. i++
  3406. dAtA[i] = 0x1
  3407. i++
  3408. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3409. n, err := msg.MarshalTo(dAtA[i:])
  3410. if err != nil {
  3411. return 0, err
  3412. }
  3413. i += n
  3414. }
  3415. }
  3416. if m.AnchorProfileType != 0 {
  3417. dAtA[i] = 0xc8
  3418. i++
  3419. dAtA[i] = 0x1
  3420. i++
  3421. i = encodeVarintApi(dAtA, i, uint64(m.AnchorProfileType))
  3422. }
  3423. if m.AnchorLevel != nil {
  3424. dAtA[i] = 0xd2
  3425. i++
  3426. dAtA[i] = 0x1
  3427. i++
  3428. i = encodeVarintApi(dAtA, i, uint64(m.AnchorLevel.Size()))
  3429. n1, err := m.AnchorLevel.MarshalTo(dAtA[i:])
  3430. if err != nil {
  3431. return 0, err
  3432. }
  3433. i += n1
  3434. }
  3435. if m.AnchorRoundSwitch != 0 {
  3436. dAtA[i] = 0xd8
  3437. i++
  3438. dAtA[i] = 0x1
  3439. i++
  3440. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRoundSwitch))
  3441. }
  3442. if m.AnchorRoundStatus != 0 {
  3443. dAtA[i] = 0xe0
  3444. i++
  3445. dAtA[i] = 0x1
  3446. i++
  3447. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRoundStatus))
  3448. }
  3449. if m.AnchorRecordSwitch != 0 {
  3450. dAtA[i] = 0xe8
  3451. i++
  3452. dAtA[i] = 0x1
  3453. i++
  3454. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRecordSwitch))
  3455. }
  3456. if m.AnchorRecordStatus != 0 {
  3457. dAtA[i] = 0xf0
  3458. i++
  3459. dAtA[i] = 0x1
  3460. i++
  3461. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRecordStatus))
  3462. }
  3463. if m.AnchorSan != 0 {
  3464. dAtA[i] = 0xf8
  3465. i++
  3466. dAtA[i] = 0x1
  3467. i++
  3468. i = encodeVarintApi(dAtA, i, uint64(m.AnchorSan))
  3469. }
  3470. if m.LiveType != 0 {
  3471. dAtA[i] = 0x80
  3472. i++
  3473. dAtA[i] = 0x2
  3474. i++
  3475. i = encodeVarintApi(dAtA, i, uint64(m.LiveType))
  3476. }
  3477. if m.XXX_unrecognized != nil {
  3478. i += copy(dAtA[i:], m.XXX_unrecognized)
  3479. }
  3480. return i, nil
  3481. }
  3482. func (m *RoomByIDsReq) Marshal() (dAtA []byte, err error) {
  3483. size := m.Size()
  3484. dAtA = make([]byte, size)
  3485. n, err := m.MarshalTo(dAtA)
  3486. if err != nil {
  3487. return nil, err
  3488. }
  3489. return dAtA[:n], nil
  3490. }
  3491. func (m *RoomByIDsReq) MarshalTo(dAtA []byte) (int, error) {
  3492. var i int
  3493. _ = i
  3494. var l int
  3495. _ = l
  3496. if len(m.RoomIds) > 0 {
  3497. dAtA3 := make([]byte, len(m.RoomIds)*10)
  3498. var j2 int
  3499. for _, num1 := range m.RoomIds {
  3500. num := uint64(num1)
  3501. for num >= 1<<7 {
  3502. dAtA3[j2] = uint8(uint64(num)&0x7f | 0x80)
  3503. num >>= 7
  3504. j2++
  3505. }
  3506. dAtA3[j2] = uint8(num)
  3507. j2++
  3508. }
  3509. dAtA[i] = 0xa
  3510. i++
  3511. i = encodeVarintApi(dAtA, i, uint64(j2))
  3512. i += copy(dAtA[i:], dAtA3[:j2])
  3513. }
  3514. if len(m.Uids) > 0 {
  3515. dAtA5 := make([]byte, len(m.Uids)*10)
  3516. var j4 int
  3517. for _, num1 := range m.Uids {
  3518. num := uint64(num1)
  3519. for num >= 1<<7 {
  3520. dAtA5[j4] = uint8(uint64(num)&0x7f | 0x80)
  3521. num >>= 7
  3522. j4++
  3523. }
  3524. dAtA5[j4] = uint8(num)
  3525. j4++
  3526. }
  3527. dAtA[i] = 0x12
  3528. i++
  3529. i = encodeVarintApi(dAtA, i, uint64(j4))
  3530. i += copy(dAtA[i:], dAtA5[:j4])
  3531. }
  3532. if len(m.Fields) > 0 {
  3533. for _, s := range m.Fields {
  3534. dAtA[i] = 0x1a
  3535. i++
  3536. l = len(s)
  3537. for l >= 1<<7 {
  3538. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3539. l >>= 7
  3540. i++
  3541. }
  3542. dAtA[i] = uint8(l)
  3543. i++
  3544. i += copy(dAtA[i:], s)
  3545. }
  3546. }
  3547. if m.DefaultFields != 0 {
  3548. dAtA[i] = 0x20
  3549. i++
  3550. i = encodeVarintApi(dAtA, i, uint64(m.DefaultFields))
  3551. }
  3552. if m.XXX_unrecognized != nil {
  3553. i += copy(dAtA[i:], m.XXX_unrecognized)
  3554. }
  3555. return i, nil
  3556. }
  3557. func (m *RoomByIDsResp) Marshal() (dAtA []byte, err error) {
  3558. size := m.Size()
  3559. dAtA = make([]byte, size)
  3560. n, err := m.MarshalTo(dAtA)
  3561. if err != nil {
  3562. return nil, err
  3563. }
  3564. return dAtA[:n], nil
  3565. }
  3566. func (m *RoomByIDsResp) MarshalTo(dAtA []byte) (int, error) {
  3567. var i int
  3568. _ = i
  3569. var l int
  3570. _ = l
  3571. if len(m.RoomDataSet) > 0 {
  3572. for k, _ := range m.RoomDataSet {
  3573. dAtA[i] = 0xa
  3574. i++
  3575. v := m.RoomDataSet[k]
  3576. msgSize := 0
  3577. if v != nil {
  3578. msgSize = v.Size()
  3579. msgSize += 1 + sovApi(uint64(msgSize))
  3580. }
  3581. mapSize := 1 + sovApi(uint64(k)) + msgSize
  3582. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  3583. dAtA[i] = 0x8
  3584. i++
  3585. i = encodeVarintApi(dAtA, i, uint64(k))
  3586. if v != nil {
  3587. dAtA[i] = 0x12
  3588. i++
  3589. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  3590. n6, err := v.MarshalTo(dAtA[i:])
  3591. if err != nil {
  3592. return 0, err
  3593. }
  3594. i += n6
  3595. }
  3596. }
  3597. }
  3598. if m.XXX_unrecognized != nil {
  3599. i += copy(dAtA[i:], m.XXX_unrecognized)
  3600. }
  3601. return i, nil
  3602. }
  3603. func (m *RoomOnlineListReq) Marshal() (dAtA []byte, err error) {
  3604. size := m.Size()
  3605. dAtA = make([]byte, size)
  3606. n, err := m.MarshalTo(dAtA)
  3607. if err != nil {
  3608. return nil, err
  3609. }
  3610. return dAtA[:n], nil
  3611. }
  3612. func (m *RoomOnlineListReq) MarshalTo(dAtA []byte) (int, error) {
  3613. var i int
  3614. _ = i
  3615. var l int
  3616. _ = l
  3617. if len(m.Filter) > 0 {
  3618. dAtA[i] = 0xa
  3619. i++
  3620. i = encodeVarintApi(dAtA, i, uint64(len(m.Filter)))
  3621. i += copy(dAtA[i:], m.Filter)
  3622. }
  3623. if len(m.Sort) > 0 {
  3624. dAtA[i] = 0x12
  3625. i++
  3626. i = encodeVarintApi(dAtA, i, uint64(len(m.Sort)))
  3627. i += copy(dAtA[i:], m.Sort)
  3628. }
  3629. if m.Page != 0 {
  3630. dAtA[i] = 0x18
  3631. i++
  3632. i = encodeVarintApi(dAtA, i, uint64(m.Page))
  3633. }
  3634. if m.PageSize != 0 {
  3635. dAtA[i] = 0x20
  3636. i++
  3637. i = encodeVarintApi(dAtA, i, uint64(m.PageSize))
  3638. }
  3639. if len(m.Fields) > 0 {
  3640. for _, s := range m.Fields {
  3641. dAtA[i] = 0x2a
  3642. i++
  3643. l = len(s)
  3644. for l >= 1<<7 {
  3645. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3646. l >>= 7
  3647. i++
  3648. }
  3649. dAtA[i] = uint8(l)
  3650. i++
  3651. i += copy(dAtA[i:], s)
  3652. }
  3653. }
  3654. if m.XXX_unrecognized != nil {
  3655. i += copy(dAtA[i:], m.XXX_unrecognized)
  3656. }
  3657. return i, nil
  3658. }
  3659. func (m *RoomOnlineListResp) Marshal() (dAtA []byte, err error) {
  3660. size := m.Size()
  3661. dAtA = make([]byte, size)
  3662. n, err := m.MarshalTo(dAtA)
  3663. if err != nil {
  3664. return nil, err
  3665. }
  3666. return dAtA[:n], nil
  3667. }
  3668. func (m *RoomOnlineListResp) MarshalTo(dAtA []byte) (int, error) {
  3669. var i int
  3670. _ = i
  3671. var l int
  3672. _ = l
  3673. if len(m.RoomDataList) > 0 {
  3674. for k, _ := range m.RoomDataList {
  3675. dAtA[i] = 0xa
  3676. i++
  3677. v := m.RoomDataList[k]
  3678. msgSize := 0
  3679. if v != nil {
  3680. msgSize = v.Size()
  3681. msgSize += 1 + sovApi(uint64(msgSize))
  3682. }
  3683. mapSize := 1 + sovApi(uint64(k)) + msgSize
  3684. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  3685. dAtA[i] = 0x8
  3686. i++
  3687. i = encodeVarintApi(dAtA, i, uint64(k))
  3688. if v != nil {
  3689. dAtA[i] = 0x12
  3690. i++
  3691. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  3692. n7, err := v.MarshalTo(dAtA[i:])
  3693. if err != nil {
  3694. return 0, err
  3695. }
  3696. i += n7
  3697. }
  3698. }
  3699. }
  3700. if m.XXX_unrecognized != nil {
  3701. i += copy(dAtA[i:], m.XXX_unrecognized)
  3702. }
  3703. return i, nil
  3704. }
  3705. func (m *RoomOnlineListByAreaReq) Marshal() (dAtA []byte, err error) {
  3706. size := m.Size()
  3707. dAtA = make([]byte, size)
  3708. n, err := m.MarshalTo(dAtA)
  3709. if err != nil {
  3710. return nil, err
  3711. }
  3712. return dAtA[:n], nil
  3713. }
  3714. func (m *RoomOnlineListByAreaReq) MarshalTo(dAtA []byte) (int, error) {
  3715. var i int
  3716. _ = i
  3717. var l int
  3718. _ = l
  3719. if len(m.AreaIds) > 0 {
  3720. dAtA9 := make([]byte, len(m.AreaIds)*10)
  3721. var j8 int
  3722. for _, num1 := range m.AreaIds {
  3723. num := uint64(num1)
  3724. for num >= 1<<7 {
  3725. dAtA9[j8] = uint8(uint64(num)&0x7f | 0x80)
  3726. num >>= 7
  3727. j8++
  3728. }
  3729. dAtA9[j8] = uint8(num)
  3730. j8++
  3731. }
  3732. dAtA[i] = 0xa
  3733. i++
  3734. i = encodeVarintApi(dAtA, i, uint64(j8))
  3735. i += copy(dAtA[i:], dAtA9[:j8])
  3736. }
  3737. if m.XXX_unrecognized != nil {
  3738. i += copy(dAtA[i:], m.XXX_unrecognized)
  3739. }
  3740. return i, nil
  3741. }
  3742. func (m *RoomOnlineListByAreaResp) Marshal() (dAtA []byte, err error) {
  3743. size := m.Size()
  3744. dAtA = make([]byte, size)
  3745. n, err := m.MarshalTo(dAtA)
  3746. if err != nil {
  3747. return nil, err
  3748. }
  3749. return dAtA[:n], nil
  3750. }
  3751. func (m *RoomOnlineListByAreaResp) MarshalTo(dAtA []byte) (int, error) {
  3752. var i int
  3753. _ = i
  3754. var l int
  3755. _ = l
  3756. if len(m.RoomIds) > 0 {
  3757. dAtA11 := make([]byte, len(m.RoomIds)*10)
  3758. var j10 int
  3759. for _, num1 := range m.RoomIds {
  3760. num := uint64(num1)
  3761. for num >= 1<<7 {
  3762. dAtA11[j10] = uint8(uint64(num)&0x7f | 0x80)
  3763. num >>= 7
  3764. j10++
  3765. }
  3766. dAtA11[j10] = uint8(num)
  3767. j10++
  3768. }
  3769. dAtA[i] = 0xa
  3770. i++
  3771. i = encodeVarintApi(dAtA, i, uint64(j10))
  3772. i += copy(dAtA[i:], dAtA11[:j10])
  3773. }
  3774. if m.XXX_unrecognized != nil {
  3775. i += copy(dAtA[i:], m.XXX_unrecognized)
  3776. }
  3777. return i, nil
  3778. }
  3779. func (m *RoomCreateReq) Marshal() (dAtA []byte, err error) {
  3780. size := m.Size()
  3781. dAtA = make([]byte, size)
  3782. n, err := m.MarshalTo(dAtA)
  3783. if err != nil {
  3784. return nil, err
  3785. }
  3786. return dAtA[:n], nil
  3787. }
  3788. func (m *RoomCreateReq) MarshalTo(dAtA []byte) (int, error) {
  3789. var i int
  3790. _ = i
  3791. var l int
  3792. _ = l
  3793. if m.Uid != 0 {
  3794. dAtA[i] = 0x8
  3795. i++
  3796. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  3797. }
  3798. if m.RoomId != 0 {
  3799. dAtA[i] = 0x10
  3800. i++
  3801. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  3802. }
  3803. if m.XXX_unrecognized != nil {
  3804. i += copy(dAtA[i:], m.XXX_unrecognized)
  3805. }
  3806. return i, nil
  3807. }
  3808. func (m *RoomCreateResp) Marshal() (dAtA []byte, err error) {
  3809. size := m.Size()
  3810. dAtA = make([]byte, size)
  3811. n, err := m.MarshalTo(dAtA)
  3812. if err != nil {
  3813. return nil, err
  3814. }
  3815. return dAtA[:n], nil
  3816. }
  3817. func (m *RoomCreateResp) MarshalTo(dAtA []byte) (int, error) {
  3818. var i int
  3819. _ = i
  3820. var l int
  3821. _ = l
  3822. if m.RoomId != 0 {
  3823. dAtA[i] = 0x8
  3824. i++
  3825. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  3826. }
  3827. if m.XXX_unrecognized != nil {
  3828. i += copy(dAtA[i:], m.XXX_unrecognized)
  3829. }
  3830. return i, nil
  3831. }
  3832. func (m *UpdateResp) Marshal() (dAtA []byte, err error) {
  3833. size := m.Size()
  3834. dAtA = make([]byte, size)
  3835. n, err := m.MarshalTo(dAtA)
  3836. if err != nil {
  3837. return nil, err
  3838. }
  3839. return dAtA[:n], nil
  3840. }
  3841. func (m *UpdateResp) MarshalTo(dAtA []byte) (int, error) {
  3842. var i int
  3843. _ = i
  3844. var l int
  3845. _ = l
  3846. if m.AffectedRows != 0 {
  3847. dAtA[i] = 0x8
  3848. i++
  3849. i = encodeVarintApi(dAtA, i, uint64(m.AffectedRows))
  3850. }
  3851. if m.XXX_unrecognized != nil {
  3852. i += copy(dAtA[i:], m.XXX_unrecognized)
  3853. }
  3854. return i, nil
  3855. }
  3856. func (m *RoomUpdateReq) Marshal() (dAtA []byte, err error) {
  3857. size := m.Size()
  3858. dAtA = make([]byte, size)
  3859. n, err := m.MarshalTo(dAtA)
  3860. if err != nil {
  3861. return nil, err
  3862. }
  3863. return dAtA[:n], nil
  3864. }
  3865. func (m *RoomUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  3866. var i int
  3867. _ = i
  3868. var l int
  3869. _ = l
  3870. if len(m.Fields) > 0 {
  3871. for _, s := range m.Fields {
  3872. dAtA[i] = 0xa
  3873. i++
  3874. l = len(s)
  3875. for l >= 1<<7 {
  3876. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3877. l >>= 7
  3878. i++
  3879. }
  3880. dAtA[i] = uint8(l)
  3881. i++
  3882. i += copy(dAtA[i:], s)
  3883. }
  3884. }
  3885. if m.RoomId != 0 {
  3886. dAtA[i] = 0x10
  3887. i++
  3888. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  3889. }
  3890. if len(m.Title) > 0 {
  3891. dAtA[i] = 0x1a
  3892. i++
  3893. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  3894. i += copy(dAtA[i:], m.Title)
  3895. }
  3896. if len(m.Cover) > 0 {
  3897. dAtA[i] = 0x22
  3898. i++
  3899. i = encodeVarintApi(dAtA, i, uint64(len(m.Cover)))
  3900. i += copy(dAtA[i:], m.Cover)
  3901. }
  3902. if len(m.Tags) > 0 {
  3903. dAtA[i] = 0x2a
  3904. i++
  3905. i = encodeVarintApi(dAtA, i, uint64(len(m.Tags)))
  3906. i += copy(dAtA[i:], m.Tags)
  3907. }
  3908. if len(m.Background) > 0 {
  3909. dAtA[i] = 0x32
  3910. i++
  3911. i = encodeVarintApi(dAtA, i, uint64(len(m.Background)))
  3912. i += copy(dAtA[i:], m.Background)
  3913. }
  3914. if len(m.Description) > 0 {
  3915. dAtA[i] = 0x3a
  3916. i++
  3917. i = encodeVarintApi(dAtA, i, uint64(len(m.Description)))
  3918. i += copy(dAtA[i:], m.Description)
  3919. }
  3920. if m.LiveStartTime != 0 {
  3921. dAtA[i] = 0x40
  3922. i++
  3923. i = encodeVarintApi(dAtA, i, uint64(m.LiveStartTime))
  3924. }
  3925. if m.LiveScreenType != 0 {
  3926. dAtA[i] = 0x48
  3927. i++
  3928. i = encodeVarintApi(dAtA, i, uint64(m.LiveScreenType))
  3929. }
  3930. if m.LockStatus != 0 {
  3931. dAtA[i] = 0x50
  3932. i++
  3933. i = encodeVarintApi(dAtA, i, uint64(m.LockStatus))
  3934. }
  3935. if m.LockTime != 0 {
  3936. dAtA[i] = 0x58
  3937. i++
  3938. i = encodeVarintApi(dAtA, i, uint64(m.LockTime))
  3939. }
  3940. if m.HiddenTime != 0 {
  3941. dAtA[i] = 0x60
  3942. i++
  3943. i = encodeVarintApi(dAtA, i, uint64(m.HiddenTime))
  3944. }
  3945. if m.AreaId != 0 {
  3946. dAtA[i] = 0x68
  3947. i++
  3948. i = encodeVarintApi(dAtA, i, uint64(m.AreaId))
  3949. }
  3950. if m.AnchorRoundSwitch != 0 {
  3951. dAtA[i] = 0x70
  3952. i++
  3953. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRoundSwitch))
  3954. }
  3955. if m.AnchorRecordSwitch != 0 {
  3956. dAtA[i] = 0x78
  3957. i++
  3958. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRecordSwitch))
  3959. }
  3960. if m.LiveType != 0 {
  3961. dAtA[i] = 0x80
  3962. i++
  3963. dAtA[i] = 0x1
  3964. i++
  3965. i = encodeVarintApi(dAtA, i, uint64(m.LiveType))
  3966. }
  3967. if m.XXX_unrecognized != nil {
  3968. i += copy(dAtA[i:], m.XXX_unrecognized)
  3969. }
  3970. return i, nil
  3971. }
  3972. func (m *RoomBatchUpdateReq) Marshal() (dAtA []byte, err error) {
  3973. size := m.Size()
  3974. dAtA = make([]byte, size)
  3975. n, err := m.MarshalTo(dAtA)
  3976. if err != nil {
  3977. return nil, err
  3978. }
  3979. return dAtA[:n], nil
  3980. }
  3981. func (m *RoomBatchUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  3982. var i int
  3983. _ = i
  3984. var l int
  3985. _ = l
  3986. if len(m.Reqs) > 0 {
  3987. for _, msg := range m.Reqs {
  3988. dAtA[i] = 0xa
  3989. i++
  3990. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3991. n, err := msg.MarshalTo(dAtA[i:])
  3992. if err != nil {
  3993. return 0, err
  3994. }
  3995. i += n
  3996. }
  3997. }
  3998. if m.XXX_unrecognized != nil {
  3999. i += copy(dAtA[i:], m.XXX_unrecognized)
  4000. }
  4001. return i, nil
  4002. }
  4003. func (m *AnchorUpdateReq) Marshal() (dAtA []byte, err error) {
  4004. size := m.Size()
  4005. dAtA = make([]byte, size)
  4006. n, err := m.MarshalTo(dAtA)
  4007. if err != nil {
  4008. return nil, err
  4009. }
  4010. return dAtA[:n], nil
  4011. }
  4012. func (m *AnchorUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  4013. var i int
  4014. _ = i
  4015. var l int
  4016. _ = l
  4017. if len(m.Fields) > 0 {
  4018. for _, s := range m.Fields {
  4019. dAtA[i] = 0xa
  4020. i++
  4021. l = len(s)
  4022. for l >= 1<<7 {
  4023. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  4024. l >>= 7
  4025. i++
  4026. }
  4027. dAtA[i] = uint8(l)
  4028. i++
  4029. i += copy(dAtA[i:], s)
  4030. }
  4031. }
  4032. if m.Uid != 0 {
  4033. dAtA[i] = 0x10
  4034. i++
  4035. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  4036. }
  4037. if m.ProfileType != 0 {
  4038. dAtA[i] = 0x18
  4039. i++
  4040. i = encodeVarintApi(dAtA, i, uint64(m.ProfileType))
  4041. }
  4042. if m.SanScore != 0 {
  4043. dAtA[i] = 0x20
  4044. i++
  4045. i = encodeVarintApi(dAtA, i, uint64(m.SanScore))
  4046. }
  4047. if m.RoundStatus != 0 {
  4048. dAtA[i] = 0x28
  4049. i++
  4050. i = encodeVarintApi(dAtA, i, uint64(m.RoundStatus))
  4051. }
  4052. if m.RecordStatus != 0 {
  4053. dAtA[i] = 0x30
  4054. i++
  4055. i = encodeVarintApi(dAtA, i, uint64(m.RecordStatus))
  4056. }
  4057. if m.Exp != 0 {
  4058. dAtA[i] = 0x38
  4059. i++
  4060. i = encodeVarintApi(dAtA, i, uint64(m.Exp))
  4061. }
  4062. if m.XXX_unrecognized != nil {
  4063. i += copy(dAtA[i:], m.XXX_unrecognized)
  4064. }
  4065. return i, nil
  4066. }
  4067. func (m *AnchorBatchUpdateReq) Marshal() (dAtA []byte, err error) {
  4068. size := m.Size()
  4069. dAtA = make([]byte, size)
  4070. n, err := m.MarshalTo(dAtA)
  4071. if err != nil {
  4072. return nil, err
  4073. }
  4074. return dAtA[:n], nil
  4075. }
  4076. func (m *AnchorBatchUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  4077. var i int
  4078. _ = i
  4079. var l int
  4080. _ = l
  4081. if len(m.Reqs) > 0 {
  4082. for _, msg := range m.Reqs {
  4083. dAtA[i] = 0xa
  4084. i++
  4085. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4086. n, err := msg.MarshalTo(dAtA[i:])
  4087. if err != nil {
  4088. return 0, err
  4089. }
  4090. i += n
  4091. }
  4092. }
  4093. if m.XXX_unrecognized != nil {
  4094. i += copy(dAtA[i:], m.XXX_unrecognized)
  4095. }
  4096. return i, nil
  4097. }
  4098. func (m *AnchorIncreReq) Marshal() (dAtA []byte, err error) {
  4099. size := m.Size()
  4100. dAtA = make([]byte, size)
  4101. n, err := m.MarshalTo(dAtA)
  4102. if err != nil {
  4103. return nil, err
  4104. }
  4105. return dAtA[:n], nil
  4106. }
  4107. func (m *AnchorIncreReq) MarshalTo(dAtA []byte) (int, error) {
  4108. var i int
  4109. _ = i
  4110. var l int
  4111. _ = l
  4112. if len(m.ReqId) > 0 {
  4113. dAtA[i] = 0xa
  4114. i++
  4115. i = encodeVarintApi(dAtA, i, uint64(len(m.ReqId)))
  4116. i += copy(dAtA[i:], m.ReqId)
  4117. }
  4118. if len(m.Fields) > 0 {
  4119. for _, s := range m.Fields {
  4120. dAtA[i] = 0x12
  4121. i++
  4122. l = len(s)
  4123. for l >= 1<<7 {
  4124. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  4125. l >>= 7
  4126. i++
  4127. }
  4128. dAtA[i] = uint8(l)
  4129. i++
  4130. i += copy(dAtA[i:], s)
  4131. }
  4132. }
  4133. if m.Uid != 0 {
  4134. dAtA[i] = 0x18
  4135. i++
  4136. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  4137. }
  4138. if m.SanScore != 0 {
  4139. dAtA[i] = 0x20
  4140. i++
  4141. i = encodeVarintApi(dAtA, i, uint64(m.SanScore))
  4142. }
  4143. if m.Exp != 0 {
  4144. dAtA[i] = 0x28
  4145. i++
  4146. i = encodeVarintApi(dAtA, i, uint64(m.Exp))
  4147. }
  4148. if m.XXX_unrecognized != nil {
  4149. i += copy(dAtA[i:], m.XXX_unrecognized)
  4150. }
  4151. return i, nil
  4152. }
  4153. func (m *AnchorBatchIncreReq) Marshal() (dAtA []byte, err error) {
  4154. size := m.Size()
  4155. dAtA = make([]byte, size)
  4156. n, err := m.MarshalTo(dAtA)
  4157. if err != nil {
  4158. return nil, err
  4159. }
  4160. return dAtA[:n], nil
  4161. }
  4162. func (m *AnchorBatchIncreReq) MarshalTo(dAtA []byte) (int, error) {
  4163. var i int
  4164. _ = i
  4165. var l int
  4166. _ = l
  4167. if len(m.Reqs) > 0 {
  4168. for _, msg := range m.Reqs {
  4169. dAtA[i] = 0xa
  4170. i++
  4171. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4172. n, err := msg.MarshalTo(dAtA[i:])
  4173. if err != nil {
  4174. return 0, err
  4175. }
  4176. i += n
  4177. }
  4178. }
  4179. if m.XXX_unrecognized != nil {
  4180. i += copy(dAtA[i:], m.XXX_unrecognized)
  4181. }
  4182. return i, nil
  4183. }
  4184. func (m *RoomExtendUpdateReq) Marshal() (dAtA []byte, err error) {
  4185. size := m.Size()
  4186. dAtA = make([]byte, size)
  4187. n, err := m.MarshalTo(dAtA)
  4188. if err != nil {
  4189. return nil, err
  4190. }
  4191. return dAtA[:n], nil
  4192. }
  4193. func (m *RoomExtendUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  4194. var i int
  4195. _ = i
  4196. var l int
  4197. _ = l
  4198. if len(m.Fields) > 0 {
  4199. for _, s := range m.Fields {
  4200. dAtA[i] = 0xa
  4201. i++
  4202. l = len(s)
  4203. for l >= 1<<7 {
  4204. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  4205. l >>= 7
  4206. i++
  4207. }
  4208. dAtA[i] = uint8(l)
  4209. i++
  4210. i += copy(dAtA[i:], s)
  4211. }
  4212. }
  4213. if m.RoomId != 0 {
  4214. dAtA[i] = 0x10
  4215. i++
  4216. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  4217. }
  4218. if len(m.Keyframe) > 0 {
  4219. dAtA[i] = 0x1a
  4220. i++
  4221. i = encodeVarintApi(dAtA, i, uint64(len(m.Keyframe)))
  4222. i += copy(dAtA[i:], m.Keyframe)
  4223. }
  4224. if m.DanmuCount != 0 {
  4225. dAtA[i] = 0x20
  4226. i++
  4227. i = encodeVarintApi(dAtA, i, uint64(m.DanmuCount))
  4228. }
  4229. if m.PopularityCount != 0 {
  4230. dAtA[i] = 0x28
  4231. i++
  4232. i = encodeVarintApi(dAtA, i, uint64(m.PopularityCount))
  4233. }
  4234. if m.AudienceCount != 0 {
  4235. dAtA[i] = 0x30
  4236. i++
  4237. i = encodeVarintApi(dAtA, i, uint64(m.AudienceCount))
  4238. }
  4239. if m.GiftCount != 0 {
  4240. dAtA[i] = 0x38
  4241. i++
  4242. i = encodeVarintApi(dAtA, i, uint64(m.GiftCount))
  4243. }
  4244. if m.GiftGoldAmount != 0 {
  4245. dAtA[i] = 0x40
  4246. i++
  4247. i = encodeVarintApi(dAtA, i, uint64(m.GiftGoldAmount))
  4248. }
  4249. if m.GiftGoldCount != 0 {
  4250. dAtA[i] = 0x48
  4251. i++
  4252. i = encodeVarintApi(dAtA, i, uint64(m.GiftGoldCount))
  4253. }
  4254. if m.XXX_unrecognized != nil {
  4255. i += copy(dAtA[i:], m.XXX_unrecognized)
  4256. }
  4257. return i, nil
  4258. }
  4259. func (m *RoomExtendBatchUpdateReq) Marshal() (dAtA []byte, err error) {
  4260. size := m.Size()
  4261. dAtA = make([]byte, size)
  4262. n, err := m.MarshalTo(dAtA)
  4263. if err != nil {
  4264. return nil, err
  4265. }
  4266. return dAtA[:n], nil
  4267. }
  4268. func (m *RoomExtendBatchUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  4269. var i int
  4270. _ = i
  4271. var l int
  4272. _ = l
  4273. if len(m.Reqs) > 0 {
  4274. for _, msg := range m.Reqs {
  4275. dAtA[i] = 0xa
  4276. i++
  4277. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4278. n, err := msg.MarshalTo(dAtA[i:])
  4279. if err != nil {
  4280. return 0, err
  4281. }
  4282. i += n
  4283. }
  4284. }
  4285. if m.XXX_unrecognized != nil {
  4286. i += copy(dAtA[i:], m.XXX_unrecognized)
  4287. }
  4288. return i, nil
  4289. }
  4290. func (m *RoomExtendIncreReq) Marshal() (dAtA []byte, err error) {
  4291. size := m.Size()
  4292. dAtA = make([]byte, size)
  4293. n, err := m.MarshalTo(dAtA)
  4294. if err != nil {
  4295. return nil, err
  4296. }
  4297. return dAtA[:n], nil
  4298. }
  4299. func (m *RoomExtendIncreReq) MarshalTo(dAtA []byte) (int, error) {
  4300. var i int
  4301. _ = i
  4302. var l int
  4303. _ = l
  4304. if len(m.ReqId) > 0 {
  4305. dAtA[i] = 0xa
  4306. i++
  4307. i = encodeVarintApi(dAtA, i, uint64(len(m.ReqId)))
  4308. i += copy(dAtA[i:], m.ReqId)
  4309. }
  4310. if len(m.Fields) > 0 {
  4311. for _, s := range m.Fields {
  4312. dAtA[i] = 0x12
  4313. i++
  4314. l = len(s)
  4315. for l >= 1<<7 {
  4316. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  4317. l >>= 7
  4318. i++
  4319. }
  4320. dAtA[i] = uint8(l)
  4321. i++
  4322. i += copy(dAtA[i:], s)
  4323. }
  4324. }
  4325. if m.RoomId != 0 {
  4326. dAtA[i] = 0x18
  4327. i++
  4328. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  4329. }
  4330. if m.DanmuCount != 0 {
  4331. dAtA[i] = 0x20
  4332. i++
  4333. i = encodeVarintApi(dAtA, i, uint64(m.DanmuCount))
  4334. }
  4335. if m.PopularityCount != 0 {
  4336. dAtA[i] = 0x28
  4337. i++
  4338. i = encodeVarintApi(dAtA, i, uint64(m.PopularityCount))
  4339. }
  4340. if m.AudienceCount != 0 {
  4341. dAtA[i] = 0x30
  4342. i++
  4343. i = encodeVarintApi(dAtA, i, uint64(m.AudienceCount))
  4344. }
  4345. if m.GiftCount != 0 {
  4346. dAtA[i] = 0x38
  4347. i++
  4348. i = encodeVarintApi(dAtA, i, uint64(m.GiftCount))
  4349. }
  4350. if m.GiftGoldAmount != 0 {
  4351. dAtA[i] = 0x40
  4352. i++
  4353. i = encodeVarintApi(dAtA, i, uint64(m.GiftGoldAmount))
  4354. }
  4355. if m.GiftGoldCount != 0 {
  4356. dAtA[i] = 0x48
  4357. i++
  4358. i = encodeVarintApi(dAtA, i, uint64(m.GiftGoldCount))
  4359. }
  4360. if m.XXX_unrecognized != nil {
  4361. i += copy(dAtA[i:], m.XXX_unrecognized)
  4362. }
  4363. return i, nil
  4364. }
  4365. func (m *RoomExtendBatchIncreReq) Marshal() (dAtA []byte, err error) {
  4366. size := m.Size()
  4367. dAtA = make([]byte, size)
  4368. n, err := m.MarshalTo(dAtA)
  4369. if err != nil {
  4370. return nil, err
  4371. }
  4372. return dAtA[:n], nil
  4373. }
  4374. func (m *RoomExtendBatchIncreReq) MarshalTo(dAtA []byte) (int, error) {
  4375. var i int
  4376. _ = i
  4377. var l int
  4378. _ = l
  4379. if len(m.Reqs) > 0 {
  4380. for _, msg := range m.Reqs {
  4381. dAtA[i] = 0xa
  4382. i++
  4383. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4384. n, err := msg.MarshalTo(dAtA[i:])
  4385. if err != nil {
  4386. return 0, err
  4387. }
  4388. i += n
  4389. }
  4390. }
  4391. if m.XXX_unrecognized != nil {
  4392. i += copy(dAtA[i:], m.XXX_unrecognized)
  4393. }
  4394. return i, nil
  4395. }
  4396. func (m *RoomTagCreateReq) Marshal() (dAtA []byte, err error) {
  4397. size := m.Size()
  4398. dAtA = make([]byte, size)
  4399. n, err := m.MarshalTo(dAtA)
  4400. if err != nil {
  4401. return nil, err
  4402. }
  4403. return dAtA[:n], nil
  4404. }
  4405. func (m *RoomTagCreateReq) MarshalTo(dAtA []byte) (int, error) {
  4406. var i int
  4407. _ = i
  4408. var l int
  4409. _ = l
  4410. if m.RoomId != 0 {
  4411. dAtA[i] = 0x8
  4412. i++
  4413. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  4414. }
  4415. if m.TagId != 0 {
  4416. dAtA[i] = 0x10
  4417. i++
  4418. i = encodeVarintApi(dAtA, i, uint64(m.TagId))
  4419. }
  4420. if m.TagSubId != 0 {
  4421. dAtA[i] = 0x18
  4422. i++
  4423. i = encodeVarintApi(dAtA, i, uint64(m.TagSubId))
  4424. }
  4425. if m.TagValue != 0 {
  4426. dAtA[i] = 0x20
  4427. i++
  4428. i = encodeVarintApi(dAtA, i, uint64(m.TagValue))
  4429. }
  4430. if len(m.TagExt) > 0 {
  4431. dAtA[i] = 0x2a
  4432. i++
  4433. i = encodeVarintApi(dAtA, i, uint64(len(m.TagExt)))
  4434. i += copy(dAtA[i:], m.TagExt)
  4435. }
  4436. if m.TagExpireAt != 0 {
  4437. dAtA[i] = 0x30
  4438. i++
  4439. i = encodeVarintApi(dAtA, i, uint64(m.TagExpireAt))
  4440. }
  4441. if m.XXX_unrecognized != nil {
  4442. i += copy(dAtA[i:], m.XXX_unrecognized)
  4443. }
  4444. return i, nil
  4445. }
  4446. func (m *RoomAttrCreateReq) Marshal() (dAtA []byte, err error) {
  4447. size := m.Size()
  4448. dAtA = make([]byte, size)
  4449. n, err := m.MarshalTo(dAtA)
  4450. if err != nil {
  4451. return nil, err
  4452. }
  4453. return dAtA[:n], nil
  4454. }
  4455. func (m *RoomAttrCreateReq) MarshalTo(dAtA []byte) (int, error) {
  4456. var i int
  4457. _ = i
  4458. var l int
  4459. _ = l
  4460. if m.RoomId != 0 {
  4461. dAtA[i] = 0x8
  4462. i++
  4463. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  4464. }
  4465. if m.AttrId != 0 {
  4466. dAtA[i] = 0x10
  4467. i++
  4468. i = encodeVarintApi(dAtA, i, uint64(m.AttrId))
  4469. }
  4470. if m.AttrSubId != 0 {
  4471. dAtA[i] = 0x18
  4472. i++
  4473. i = encodeVarintApi(dAtA, i, uint64(m.AttrSubId))
  4474. }
  4475. if m.AttrValue != 0 {
  4476. dAtA[i] = 0x20
  4477. i++
  4478. i = encodeVarintApi(dAtA, i, uint64(m.AttrValue))
  4479. }
  4480. if len(m.AttrExt) > 0 {
  4481. dAtA[i] = 0x2a
  4482. i++
  4483. i = encodeVarintApi(dAtA, i, uint64(len(m.AttrExt)))
  4484. i += copy(dAtA[i:], m.AttrExt)
  4485. }
  4486. if m.XXX_unrecognized != nil {
  4487. i += copy(dAtA[i:], m.XXX_unrecognized)
  4488. }
  4489. return i, nil
  4490. }
  4491. func (m *RoomAttrSetExReq) Marshal() (dAtA []byte, err error) {
  4492. size := m.Size()
  4493. dAtA = make([]byte, size)
  4494. n, err := m.MarshalTo(dAtA)
  4495. if err != nil {
  4496. return nil, err
  4497. }
  4498. return dAtA[:n], nil
  4499. }
  4500. func (m *RoomAttrSetExReq) MarshalTo(dAtA []byte) (int, error) {
  4501. var i int
  4502. _ = i
  4503. var l int
  4504. _ = l
  4505. if m.RoomId != 0 {
  4506. dAtA[i] = 0x8
  4507. i++
  4508. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  4509. }
  4510. if m.AttrId != 0 {
  4511. dAtA[i] = 0x10
  4512. i++
  4513. i = encodeVarintApi(dAtA, i, uint64(m.AttrId))
  4514. }
  4515. if m.AttrSubId != 0 {
  4516. dAtA[i] = 0x18
  4517. i++
  4518. i = encodeVarintApi(dAtA, i, uint64(m.AttrSubId))
  4519. }
  4520. if m.AttrValue != 0 {
  4521. dAtA[i] = 0x20
  4522. i++
  4523. i = encodeVarintApi(dAtA, i, uint64(m.AttrValue))
  4524. }
  4525. if len(m.AttrExt) > 0 {
  4526. dAtA[i] = 0x2a
  4527. i++
  4528. i = encodeVarintApi(dAtA, i, uint64(len(m.AttrExt)))
  4529. i += copy(dAtA[i:], m.AttrExt)
  4530. }
  4531. if m.XXX_unrecognized != nil {
  4532. i += copy(dAtA[i:], m.XXX_unrecognized)
  4533. }
  4534. return i, nil
  4535. }
  4536. func (m *FetchAreasReq) Marshal() (dAtA []byte, err error) {
  4537. size := m.Size()
  4538. dAtA = make([]byte, size)
  4539. n, err := m.MarshalTo(dAtA)
  4540. if err != nil {
  4541. return nil, err
  4542. }
  4543. return dAtA[:n], nil
  4544. }
  4545. func (m *FetchAreasReq) MarshalTo(dAtA []byte) (int, error) {
  4546. var i int
  4547. _ = i
  4548. var l int
  4549. _ = l
  4550. if m.AreaId != 0 {
  4551. dAtA[i] = 0x8
  4552. i++
  4553. i = encodeVarintApi(dAtA, i, uint64(m.AreaId))
  4554. }
  4555. if m.XXX_unrecognized != nil {
  4556. i += copy(dAtA[i:], m.XXX_unrecognized)
  4557. }
  4558. return i, nil
  4559. }
  4560. func (m *AreaInfo) Marshal() (dAtA []byte, err error) {
  4561. size := m.Size()
  4562. dAtA = make([]byte, size)
  4563. n, err := m.MarshalTo(dAtA)
  4564. if err != nil {
  4565. return nil, err
  4566. }
  4567. return dAtA[:n], nil
  4568. }
  4569. func (m *AreaInfo) MarshalTo(dAtA []byte) (int, error) {
  4570. var i int
  4571. _ = i
  4572. var l int
  4573. _ = l
  4574. if m.AreaId != 0 {
  4575. dAtA[i] = 0x8
  4576. i++
  4577. i = encodeVarintApi(dAtA, i, uint64(m.AreaId))
  4578. }
  4579. if len(m.AreaName) > 0 {
  4580. dAtA[i] = 0x12
  4581. i++
  4582. i = encodeVarintApi(dAtA, i, uint64(len(m.AreaName)))
  4583. i += copy(dAtA[i:], m.AreaName)
  4584. }
  4585. if m.XXX_unrecognized != nil {
  4586. i += copy(dAtA[i:], m.XXX_unrecognized)
  4587. }
  4588. return i, nil
  4589. }
  4590. func (m *FetchAreasResp) Marshal() (dAtA []byte, err error) {
  4591. size := m.Size()
  4592. dAtA = make([]byte, size)
  4593. n, err := m.MarshalTo(dAtA)
  4594. if err != nil {
  4595. return nil, err
  4596. }
  4597. return dAtA[:n], nil
  4598. }
  4599. func (m *FetchAreasResp) MarshalTo(dAtA []byte) (int, error) {
  4600. var i int
  4601. _ = i
  4602. var l int
  4603. _ = l
  4604. if m.Info != nil {
  4605. dAtA[i] = 0xa
  4606. i++
  4607. i = encodeVarintApi(dAtA, i, uint64(m.Info.Size()))
  4608. n12, err := m.Info.MarshalTo(dAtA[i:])
  4609. if err != nil {
  4610. return 0, err
  4611. }
  4612. i += n12
  4613. }
  4614. if len(m.Areas) > 0 {
  4615. for _, msg := range m.Areas {
  4616. dAtA[i] = 0x12
  4617. i++
  4618. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4619. n, err := msg.MarshalTo(dAtA[i:])
  4620. if err != nil {
  4621. return 0, err
  4622. }
  4623. i += n
  4624. }
  4625. }
  4626. if m.XXX_unrecognized != nil {
  4627. i += copy(dAtA[i:], m.XXX_unrecognized)
  4628. }
  4629. return i, nil
  4630. }
  4631. func (m *FetchAttrByIDsReq) Marshal() (dAtA []byte, err error) {
  4632. size := m.Size()
  4633. dAtA = make([]byte, size)
  4634. n, err := m.MarshalTo(dAtA)
  4635. if err != nil {
  4636. return nil, err
  4637. }
  4638. return dAtA[:n], nil
  4639. }
  4640. func (m *FetchAttrByIDsReq) MarshalTo(dAtA []byte) (int, error) {
  4641. var i int
  4642. _ = i
  4643. var l int
  4644. _ = l
  4645. if len(m.RoomIds) > 0 {
  4646. dAtA14 := make([]byte, len(m.RoomIds)*10)
  4647. var j13 int
  4648. for _, num1 := range m.RoomIds {
  4649. num := uint64(num1)
  4650. for num >= 1<<7 {
  4651. dAtA14[j13] = uint8(uint64(num)&0x7f | 0x80)
  4652. num >>= 7
  4653. j13++
  4654. }
  4655. dAtA14[j13] = uint8(num)
  4656. j13++
  4657. }
  4658. dAtA[i] = 0xa
  4659. i++
  4660. i = encodeVarintApi(dAtA, i, uint64(j13))
  4661. i += copy(dAtA[i:], dAtA14[:j13])
  4662. }
  4663. if m.AttrId != 0 {
  4664. dAtA[i] = 0x10
  4665. i++
  4666. i = encodeVarintApi(dAtA, i, uint64(m.AttrId))
  4667. }
  4668. if m.AttrSubId != 0 {
  4669. dAtA[i] = 0x18
  4670. i++
  4671. i = encodeVarintApi(dAtA, i, uint64(m.AttrSubId))
  4672. }
  4673. if m.XXX_unrecognized != nil {
  4674. i += copy(dAtA[i:], m.XXX_unrecognized)
  4675. }
  4676. return i, nil
  4677. }
  4678. func (m *AttrData) Marshal() (dAtA []byte, err error) {
  4679. size := m.Size()
  4680. dAtA = make([]byte, size)
  4681. n, err := m.MarshalTo(dAtA)
  4682. if err != nil {
  4683. return nil, err
  4684. }
  4685. return dAtA[:n], nil
  4686. }
  4687. func (m *AttrData) MarshalTo(dAtA []byte) (int, error) {
  4688. var i int
  4689. _ = i
  4690. var l int
  4691. _ = l
  4692. if m.RoomId != 0 {
  4693. dAtA[i] = 0x8
  4694. i++
  4695. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  4696. }
  4697. if m.AttrId != 0 {
  4698. dAtA[i] = 0x10
  4699. i++
  4700. i = encodeVarintApi(dAtA, i, uint64(m.AttrId))
  4701. }
  4702. if m.AttrSubId != 0 {
  4703. dAtA[i] = 0x18
  4704. i++
  4705. i = encodeVarintApi(dAtA, i, uint64(m.AttrSubId))
  4706. }
  4707. if m.AttrValue != 0 {
  4708. dAtA[i] = 0x20
  4709. i++
  4710. i = encodeVarintApi(dAtA, i, uint64(m.AttrValue))
  4711. }
  4712. if m.XXX_unrecognized != nil {
  4713. i += copy(dAtA[i:], m.XXX_unrecognized)
  4714. }
  4715. return i, nil
  4716. }
  4717. func (m *FetchAttrByIDsResp) Marshal() (dAtA []byte, err error) {
  4718. size := m.Size()
  4719. dAtA = make([]byte, size)
  4720. n, err := m.MarshalTo(dAtA)
  4721. if err != nil {
  4722. return nil, err
  4723. }
  4724. return dAtA[:n], nil
  4725. }
  4726. func (m *FetchAttrByIDsResp) MarshalTo(dAtA []byte) (int, error) {
  4727. var i int
  4728. _ = i
  4729. var l int
  4730. _ = l
  4731. if len(m.Attrs) > 0 {
  4732. for k, _ := range m.Attrs {
  4733. dAtA[i] = 0xa
  4734. i++
  4735. v := m.Attrs[k]
  4736. msgSize := 0
  4737. if v != nil {
  4738. msgSize = v.Size()
  4739. msgSize += 1 + sovApi(uint64(msgSize))
  4740. }
  4741. mapSize := 1 + sovApi(uint64(k)) + msgSize
  4742. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  4743. dAtA[i] = 0x8
  4744. i++
  4745. i = encodeVarintApi(dAtA, i, uint64(k))
  4746. if v != nil {
  4747. dAtA[i] = 0x12
  4748. i++
  4749. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  4750. n15, err := v.MarshalTo(dAtA[i:])
  4751. if err != nil {
  4752. return 0, err
  4753. }
  4754. i += n15
  4755. }
  4756. }
  4757. }
  4758. if m.XXX_unrecognized != nil {
  4759. i += copy(dAtA[i:], m.XXX_unrecognized)
  4760. }
  4761. return i, nil
  4762. }
  4763. func (m *AttrReq) Marshal() (dAtA []byte, err error) {
  4764. size := m.Size()
  4765. dAtA = make([]byte, size)
  4766. n, err := m.MarshalTo(dAtA)
  4767. if err != nil {
  4768. return nil, err
  4769. }
  4770. return dAtA[:n], nil
  4771. }
  4772. func (m *AttrReq) MarshalTo(dAtA []byte) (int, error) {
  4773. var i int
  4774. _ = i
  4775. var l int
  4776. _ = l
  4777. if m.AttrId != 0 {
  4778. dAtA[i] = 0x8
  4779. i++
  4780. i = encodeVarintApi(dAtA, i, uint64(m.AttrId))
  4781. }
  4782. if m.AttrSubId != 0 {
  4783. dAtA[i] = 0x10
  4784. i++
  4785. i = encodeVarintApi(dAtA, i, uint64(m.AttrSubId))
  4786. }
  4787. if m.XXX_unrecognized != nil {
  4788. i += copy(dAtA[i:], m.XXX_unrecognized)
  4789. }
  4790. return i, nil
  4791. }
  4792. func (m *RoomOnlineListByAttrsReq) Marshal() (dAtA []byte, err error) {
  4793. size := m.Size()
  4794. dAtA = make([]byte, size)
  4795. n, err := m.MarshalTo(dAtA)
  4796. if err != nil {
  4797. return nil, err
  4798. }
  4799. return dAtA[:n], nil
  4800. }
  4801. func (m *RoomOnlineListByAttrsReq) MarshalTo(dAtA []byte) (int, error) {
  4802. var i int
  4803. _ = i
  4804. var l int
  4805. _ = l
  4806. if len(m.Attrs) > 0 {
  4807. for _, msg := range m.Attrs {
  4808. dAtA[i] = 0xa
  4809. i++
  4810. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4811. n, err := msg.MarshalTo(dAtA[i:])
  4812. if err != nil {
  4813. return 0, err
  4814. }
  4815. i += n
  4816. }
  4817. }
  4818. if m.XXX_unrecognized != nil {
  4819. i += copy(dAtA[i:], m.XXX_unrecognized)
  4820. }
  4821. return i, nil
  4822. }
  4823. func (m *AttrResp) Marshal() (dAtA []byte, err error) {
  4824. size := m.Size()
  4825. dAtA = make([]byte, size)
  4826. n, err := m.MarshalTo(dAtA)
  4827. if err != nil {
  4828. return nil, err
  4829. }
  4830. return dAtA[:n], nil
  4831. }
  4832. func (m *AttrResp) MarshalTo(dAtA []byte) (int, error) {
  4833. var i int
  4834. _ = i
  4835. var l int
  4836. _ = l
  4837. if m.Uid != 0 {
  4838. dAtA[i] = 0x8
  4839. i++
  4840. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  4841. }
  4842. if m.RoomId != 0 {
  4843. dAtA[i] = 0x10
  4844. i++
  4845. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  4846. }
  4847. if m.AreaId != 0 {
  4848. dAtA[i] = 0x18
  4849. i++
  4850. i = encodeVarintApi(dAtA, i, uint64(m.AreaId))
  4851. }
  4852. if m.ParentAreaId != 0 {
  4853. dAtA[i] = 0x20
  4854. i++
  4855. i = encodeVarintApi(dAtA, i, uint64(m.ParentAreaId))
  4856. }
  4857. if len(m.TagList) > 0 {
  4858. for _, msg := range m.TagList {
  4859. dAtA[i] = 0x2a
  4860. i++
  4861. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4862. n, err := msg.MarshalTo(dAtA[i:])
  4863. if err != nil {
  4864. return 0, err
  4865. }
  4866. i += n
  4867. }
  4868. }
  4869. if len(m.AttrList) > 0 {
  4870. for _, msg := range m.AttrList {
  4871. dAtA[i] = 0x32
  4872. i++
  4873. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4874. n, err := msg.MarshalTo(dAtA[i:])
  4875. if err != nil {
  4876. return 0, err
  4877. }
  4878. i += n
  4879. }
  4880. }
  4881. if m.PopularityCount != 0 {
  4882. dAtA[i] = 0x38
  4883. i++
  4884. i = encodeVarintApi(dAtA, i, uint64(m.PopularityCount))
  4885. }
  4886. if m.AnchorProfileType != 0 {
  4887. dAtA[i] = 0x40
  4888. i++
  4889. i = encodeVarintApi(dAtA, i, uint64(m.AnchorProfileType))
  4890. }
  4891. if m.XXX_unrecognized != nil {
  4892. i += copy(dAtA[i:], m.XXX_unrecognized)
  4893. }
  4894. return i, nil
  4895. }
  4896. func (m *RoomOnlineListByAttrsResp) Marshal() (dAtA []byte, err error) {
  4897. size := m.Size()
  4898. dAtA = make([]byte, size)
  4899. n, err := m.MarshalTo(dAtA)
  4900. if err != nil {
  4901. return nil, err
  4902. }
  4903. return dAtA[:n], nil
  4904. }
  4905. func (m *RoomOnlineListByAttrsResp) MarshalTo(dAtA []byte) (int, error) {
  4906. var i int
  4907. _ = i
  4908. var l int
  4909. _ = l
  4910. if len(m.Attrs) > 0 {
  4911. for k, _ := range m.Attrs {
  4912. dAtA[i] = 0xa
  4913. i++
  4914. v := m.Attrs[k]
  4915. msgSize := 0
  4916. if v != nil {
  4917. msgSize = v.Size()
  4918. msgSize += 1 + sovApi(uint64(msgSize))
  4919. }
  4920. mapSize := 1 + sovApi(uint64(k)) + msgSize
  4921. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  4922. dAtA[i] = 0x8
  4923. i++
  4924. i = encodeVarintApi(dAtA, i, uint64(k))
  4925. if v != nil {
  4926. dAtA[i] = 0x12
  4927. i++
  4928. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  4929. n16, err := v.MarshalTo(dAtA[i:])
  4930. if err != nil {
  4931. return 0, err
  4932. }
  4933. i += n16
  4934. }
  4935. }
  4936. }
  4937. if m.XXX_unrecognized != nil {
  4938. i += copy(dAtA[i:], m.XXX_unrecognized)
  4939. }
  4940. return i, nil
  4941. }
  4942. func (m *DeleteAttrReq) Marshal() (dAtA []byte, err error) {
  4943. size := m.Size()
  4944. dAtA = make([]byte, size)
  4945. n, err := m.MarshalTo(dAtA)
  4946. if err != nil {
  4947. return nil, err
  4948. }
  4949. return dAtA[:n], nil
  4950. }
  4951. func (m *DeleteAttrReq) MarshalTo(dAtA []byte) (int, error) {
  4952. var i int
  4953. _ = i
  4954. var l int
  4955. _ = l
  4956. if m.AttrId != 0 {
  4957. dAtA[i] = 0x8
  4958. i++
  4959. i = encodeVarintApi(dAtA, i, uint64(m.AttrId))
  4960. }
  4961. if m.AttrSubId != 0 {
  4962. dAtA[i] = 0x10
  4963. i++
  4964. i = encodeVarintApi(dAtA, i, uint64(m.AttrSubId))
  4965. }
  4966. if m.XXX_unrecognized != nil {
  4967. i += copy(dAtA[i:], m.XXX_unrecognized)
  4968. }
  4969. return i, nil
  4970. }
  4971. func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
  4972. for v >= 1<<7 {
  4973. dAtA[offset] = uint8(v&0x7f | 0x80)
  4974. v >>= 7
  4975. offset++
  4976. }
  4977. dAtA[offset] = uint8(v)
  4978. return offset + 1
  4979. }
  4980. func (m *AnchorLevel) Size() (n int) {
  4981. if m == nil {
  4982. return 0
  4983. }
  4984. var l int
  4985. _ = l
  4986. if m.Level != 0 {
  4987. n += 1 + sovApi(uint64(m.Level))
  4988. }
  4989. if m.Color != 0 {
  4990. n += 1 + sovApi(uint64(m.Color))
  4991. }
  4992. if m.Score != 0 {
  4993. n += 1 + sovApi(uint64(m.Score))
  4994. }
  4995. if m.Left != 0 {
  4996. n += 1 + sovApi(uint64(m.Left))
  4997. }
  4998. if m.Right != 0 {
  4999. n += 1 + sovApi(uint64(m.Right))
  5000. }
  5001. if m.MaxLevel != 0 {
  5002. n += 1 + sovApi(uint64(m.MaxLevel))
  5003. }
  5004. if m.XXX_unrecognized != nil {
  5005. n += len(m.XXX_unrecognized)
  5006. }
  5007. return n
  5008. }
  5009. func (m *TagData) Size() (n int) {
  5010. if m == nil {
  5011. return 0
  5012. }
  5013. var l int
  5014. _ = l
  5015. if m.TagId != 0 {
  5016. n += 1 + sovApi(uint64(m.TagId))
  5017. }
  5018. if m.TagSubId != 0 {
  5019. n += 1 + sovApi(uint64(m.TagSubId))
  5020. }
  5021. if m.TagValue != 0 {
  5022. n += 1 + sovApi(uint64(m.TagValue))
  5023. }
  5024. l = len(m.TagExt)
  5025. if l > 0 {
  5026. n += 1 + l + sovApi(uint64(l))
  5027. }
  5028. if m.TagExpireAt != 0 {
  5029. n += 1 + sovApi(uint64(m.TagExpireAt))
  5030. }
  5031. if m.XXX_unrecognized != nil {
  5032. n += len(m.XXX_unrecognized)
  5033. }
  5034. return n
  5035. }
  5036. func (m *RoomData) Size() (n int) {
  5037. if m == nil {
  5038. return 0
  5039. }
  5040. var l int
  5041. _ = l
  5042. if m.Uid != 0 {
  5043. n += 1 + sovApi(uint64(m.Uid))
  5044. }
  5045. if m.RoomId != 0 {
  5046. n += 1 + sovApi(uint64(m.RoomId))
  5047. }
  5048. if m.ShortId != 0 {
  5049. n += 1 + sovApi(uint64(m.ShortId))
  5050. }
  5051. l = len(m.Title)
  5052. if l > 0 {
  5053. n += 1 + l + sovApi(uint64(l))
  5054. }
  5055. l = len(m.Cover)
  5056. if l > 0 {
  5057. n += 1 + l + sovApi(uint64(l))
  5058. }
  5059. l = len(m.Tags)
  5060. if l > 0 {
  5061. n += 1 + l + sovApi(uint64(l))
  5062. }
  5063. l = len(m.Background)
  5064. if l > 0 {
  5065. n += 1 + l + sovApi(uint64(l))
  5066. }
  5067. l = len(m.Description)
  5068. if l > 0 {
  5069. n += 1 + l + sovApi(uint64(l))
  5070. }
  5071. if m.LiveStatus != 0 {
  5072. n += 1 + sovApi(uint64(m.LiveStatus))
  5073. }
  5074. if m.LiveStartTime != 0 {
  5075. n += 1 + sovApi(uint64(m.LiveStartTime))
  5076. }
  5077. if m.LiveScreenType != 0 {
  5078. n += 1 + sovApi(uint64(m.LiveScreenType))
  5079. }
  5080. if m.LiveMark != 0 {
  5081. n += 1 + sovApi(uint64(m.LiveMark))
  5082. }
  5083. if m.LockStatus != 0 {
  5084. n += 1 + sovApi(uint64(m.LockStatus))
  5085. }
  5086. if m.LockTime != 0 {
  5087. n += 1 + sovApi(uint64(m.LockTime))
  5088. }
  5089. if m.HiddenStatus != 0 {
  5090. n += 1 + sovApi(uint64(m.HiddenStatus))
  5091. }
  5092. if m.HiddenTime != 0 {
  5093. n += 2 + sovApi(uint64(m.HiddenTime))
  5094. }
  5095. if m.AreaId != 0 {
  5096. n += 2 + sovApi(uint64(m.AreaId))
  5097. }
  5098. l = len(m.AreaName)
  5099. if l > 0 {
  5100. n += 2 + l + sovApi(uint64(l))
  5101. }
  5102. if m.ParentAreaId != 0 {
  5103. n += 2 + sovApi(uint64(m.ParentAreaId))
  5104. }
  5105. l = len(m.ParentAreaName)
  5106. if l > 0 {
  5107. n += 2 + l + sovApi(uint64(l))
  5108. }
  5109. l = len(m.Keyframe)
  5110. if l > 0 {
  5111. n += 2 + l + sovApi(uint64(l))
  5112. }
  5113. if m.PopularityCount != 0 {
  5114. n += 2 + sovApi(uint64(m.PopularityCount))
  5115. }
  5116. if len(m.TagList) > 0 {
  5117. for _, e := range m.TagList {
  5118. l = e.Size()
  5119. n += 2 + l + sovApi(uint64(l))
  5120. }
  5121. }
  5122. if m.AnchorProfileType != 0 {
  5123. n += 2 + sovApi(uint64(m.AnchorProfileType))
  5124. }
  5125. if m.AnchorLevel != nil {
  5126. l = m.AnchorLevel.Size()
  5127. n += 2 + l + sovApi(uint64(l))
  5128. }
  5129. if m.AnchorRoundSwitch != 0 {
  5130. n += 2 + sovApi(uint64(m.AnchorRoundSwitch))
  5131. }
  5132. if m.AnchorRoundStatus != 0 {
  5133. n += 2 + sovApi(uint64(m.AnchorRoundStatus))
  5134. }
  5135. if m.AnchorRecordSwitch != 0 {
  5136. n += 2 + sovApi(uint64(m.AnchorRecordSwitch))
  5137. }
  5138. if m.AnchorRecordStatus != 0 {
  5139. n += 2 + sovApi(uint64(m.AnchorRecordStatus))
  5140. }
  5141. if m.AnchorSan != 0 {
  5142. n += 2 + sovApi(uint64(m.AnchorSan))
  5143. }
  5144. if m.LiveType != 0 {
  5145. n += 2 + sovApi(uint64(m.LiveType))
  5146. }
  5147. if m.XXX_unrecognized != nil {
  5148. n += len(m.XXX_unrecognized)
  5149. }
  5150. return n
  5151. }
  5152. func (m *RoomByIDsReq) Size() (n int) {
  5153. if m == nil {
  5154. return 0
  5155. }
  5156. var l int
  5157. _ = l
  5158. if len(m.RoomIds) > 0 {
  5159. l = 0
  5160. for _, e := range m.RoomIds {
  5161. l += sovApi(uint64(e))
  5162. }
  5163. n += 1 + sovApi(uint64(l)) + l
  5164. }
  5165. if len(m.Uids) > 0 {
  5166. l = 0
  5167. for _, e := range m.Uids {
  5168. l += sovApi(uint64(e))
  5169. }
  5170. n += 1 + sovApi(uint64(l)) + l
  5171. }
  5172. if len(m.Fields) > 0 {
  5173. for _, s := range m.Fields {
  5174. l = len(s)
  5175. n += 1 + l + sovApi(uint64(l))
  5176. }
  5177. }
  5178. if m.DefaultFields != 0 {
  5179. n += 1 + sovApi(uint64(m.DefaultFields))
  5180. }
  5181. if m.XXX_unrecognized != nil {
  5182. n += len(m.XXX_unrecognized)
  5183. }
  5184. return n
  5185. }
  5186. func (m *RoomByIDsResp) Size() (n int) {
  5187. if m == nil {
  5188. return 0
  5189. }
  5190. var l int
  5191. _ = l
  5192. if len(m.RoomDataSet) > 0 {
  5193. for k, v := range m.RoomDataSet {
  5194. _ = k
  5195. _ = v
  5196. l = 0
  5197. if v != nil {
  5198. l = v.Size()
  5199. l += 1 + sovApi(uint64(l))
  5200. }
  5201. mapEntrySize := 1 + sovApi(uint64(k)) + l
  5202. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  5203. }
  5204. }
  5205. if m.XXX_unrecognized != nil {
  5206. n += len(m.XXX_unrecognized)
  5207. }
  5208. return n
  5209. }
  5210. func (m *RoomOnlineListReq) Size() (n int) {
  5211. if m == nil {
  5212. return 0
  5213. }
  5214. var l int
  5215. _ = l
  5216. l = len(m.Filter)
  5217. if l > 0 {
  5218. n += 1 + l + sovApi(uint64(l))
  5219. }
  5220. l = len(m.Sort)
  5221. if l > 0 {
  5222. n += 1 + l + sovApi(uint64(l))
  5223. }
  5224. if m.Page != 0 {
  5225. n += 1 + sovApi(uint64(m.Page))
  5226. }
  5227. if m.PageSize != 0 {
  5228. n += 1 + sovApi(uint64(m.PageSize))
  5229. }
  5230. if len(m.Fields) > 0 {
  5231. for _, s := range m.Fields {
  5232. l = len(s)
  5233. n += 1 + l + sovApi(uint64(l))
  5234. }
  5235. }
  5236. if m.XXX_unrecognized != nil {
  5237. n += len(m.XXX_unrecognized)
  5238. }
  5239. return n
  5240. }
  5241. func (m *RoomOnlineListResp) Size() (n int) {
  5242. if m == nil {
  5243. return 0
  5244. }
  5245. var l int
  5246. _ = l
  5247. if len(m.RoomDataList) > 0 {
  5248. for k, v := range m.RoomDataList {
  5249. _ = k
  5250. _ = v
  5251. l = 0
  5252. if v != nil {
  5253. l = v.Size()
  5254. l += 1 + sovApi(uint64(l))
  5255. }
  5256. mapEntrySize := 1 + sovApi(uint64(k)) + l
  5257. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  5258. }
  5259. }
  5260. if m.XXX_unrecognized != nil {
  5261. n += len(m.XXX_unrecognized)
  5262. }
  5263. return n
  5264. }
  5265. func (m *RoomOnlineListByAreaReq) Size() (n int) {
  5266. if m == nil {
  5267. return 0
  5268. }
  5269. var l int
  5270. _ = l
  5271. if len(m.AreaIds) > 0 {
  5272. l = 0
  5273. for _, e := range m.AreaIds {
  5274. l += sovApi(uint64(e))
  5275. }
  5276. n += 1 + sovApi(uint64(l)) + l
  5277. }
  5278. if m.XXX_unrecognized != nil {
  5279. n += len(m.XXX_unrecognized)
  5280. }
  5281. return n
  5282. }
  5283. func (m *RoomOnlineListByAreaResp) Size() (n int) {
  5284. if m == nil {
  5285. return 0
  5286. }
  5287. var l int
  5288. _ = l
  5289. if len(m.RoomIds) > 0 {
  5290. l = 0
  5291. for _, e := range m.RoomIds {
  5292. l += sovApi(uint64(e))
  5293. }
  5294. n += 1 + sovApi(uint64(l)) + l
  5295. }
  5296. if m.XXX_unrecognized != nil {
  5297. n += len(m.XXX_unrecognized)
  5298. }
  5299. return n
  5300. }
  5301. func (m *RoomCreateReq) Size() (n int) {
  5302. if m == nil {
  5303. return 0
  5304. }
  5305. var l int
  5306. _ = l
  5307. if m.Uid != 0 {
  5308. n += 1 + sovApi(uint64(m.Uid))
  5309. }
  5310. if m.RoomId != 0 {
  5311. n += 1 + sovApi(uint64(m.RoomId))
  5312. }
  5313. if m.XXX_unrecognized != nil {
  5314. n += len(m.XXX_unrecognized)
  5315. }
  5316. return n
  5317. }
  5318. func (m *RoomCreateResp) Size() (n int) {
  5319. if m == nil {
  5320. return 0
  5321. }
  5322. var l int
  5323. _ = l
  5324. if m.RoomId != 0 {
  5325. n += 1 + sovApi(uint64(m.RoomId))
  5326. }
  5327. if m.XXX_unrecognized != nil {
  5328. n += len(m.XXX_unrecognized)
  5329. }
  5330. return n
  5331. }
  5332. func (m *UpdateResp) Size() (n int) {
  5333. if m == nil {
  5334. return 0
  5335. }
  5336. var l int
  5337. _ = l
  5338. if m.AffectedRows != 0 {
  5339. n += 1 + sovApi(uint64(m.AffectedRows))
  5340. }
  5341. if m.XXX_unrecognized != nil {
  5342. n += len(m.XXX_unrecognized)
  5343. }
  5344. return n
  5345. }
  5346. func (m *RoomUpdateReq) Size() (n int) {
  5347. if m == nil {
  5348. return 0
  5349. }
  5350. var l int
  5351. _ = l
  5352. if len(m.Fields) > 0 {
  5353. for _, s := range m.Fields {
  5354. l = len(s)
  5355. n += 1 + l + sovApi(uint64(l))
  5356. }
  5357. }
  5358. if m.RoomId != 0 {
  5359. n += 1 + sovApi(uint64(m.RoomId))
  5360. }
  5361. l = len(m.Title)
  5362. if l > 0 {
  5363. n += 1 + l + sovApi(uint64(l))
  5364. }
  5365. l = len(m.Cover)
  5366. if l > 0 {
  5367. n += 1 + l + sovApi(uint64(l))
  5368. }
  5369. l = len(m.Tags)
  5370. if l > 0 {
  5371. n += 1 + l + sovApi(uint64(l))
  5372. }
  5373. l = len(m.Background)
  5374. if l > 0 {
  5375. n += 1 + l + sovApi(uint64(l))
  5376. }
  5377. l = len(m.Description)
  5378. if l > 0 {
  5379. n += 1 + l + sovApi(uint64(l))
  5380. }
  5381. if m.LiveStartTime != 0 {
  5382. n += 1 + sovApi(uint64(m.LiveStartTime))
  5383. }
  5384. if m.LiveScreenType != 0 {
  5385. n += 1 + sovApi(uint64(m.LiveScreenType))
  5386. }
  5387. if m.LockStatus != 0 {
  5388. n += 1 + sovApi(uint64(m.LockStatus))
  5389. }
  5390. if m.LockTime != 0 {
  5391. n += 1 + sovApi(uint64(m.LockTime))
  5392. }
  5393. if m.HiddenTime != 0 {
  5394. n += 1 + sovApi(uint64(m.HiddenTime))
  5395. }
  5396. if m.AreaId != 0 {
  5397. n += 1 + sovApi(uint64(m.AreaId))
  5398. }
  5399. if m.AnchorRoundSwitch != 0 {
  5400. n += 1 + sovApi(uint64(m.AnchorRoundSwitch))
  5401. }
  5402. if m.AnchorRecordSwitch != 0 {
  5403. n += 1 + sovApi(uint64(m.AnchorRecordSwitch))
  5404. }
  5405. if m.LiveType != 0 {
  5406. n += 2 + sovApi(uint64(m.LiveType))
  5407. }
  5408. if m.XXX_unrecognized != nil {
  5409. n += len(m.XXX_unrecognized)
  5410. }
  5411. return n
  5412. }
  5413. func (m *RoomBatchUpdateReq) Size() (n int) {
  5414. if m == nil {
  5415. return 0
  5416. }
  5417. var l int
  5418. _ = l
  5419. if len(m.Reqs) > 0 {
  5420. for _, e := range m.Reqs {
  5421. l = e.Size()
  5422. n += 1 + l + sovApi(uint64(l))
  5423. }
  5424. }
  5425. if m.XXX_unrecognized != nil {
  5426. n += len(m.XXX_unrecognized)
  5427. }
  5428. return n
  5429. }
  5430. func (m *AnchorUpdateReq) Size() (n int) {
  5431. if m == nil {
  5432. return 0
  5433. }
  5434. var l int
  5435. _ = l
  5436. if len(m.Fields) > 0 {
  5437. for _, s := range m.Fields {
  5438. l = len(s)
  5439. n += 1 + l + sovApi(uint64(l))
  5440. }
  5441. }
  5442. if m.Uid != 0 {
  5443. n += 1 + sovApi(uint64(m.Uid))
  5444. }
  5445. if m.ProfileType != 0 {
  5446. n += 1 + sovApi(uint64(m.ProfileType))
  5447. }
  5448. if m.SanScore != 0 {
  5449. n += 1 + sovApi(uint64(m.SanScore))
  5450. }
  5451. if m.RoundStatus != 0 {
  5452. n += 1 + sovApi(uint64(m.RoundStatus))
  5453. }
  5454. if m.RecordStatus != 0 {
  5455. n += 1 + sovApi(uint64(m.RecordStatus))
  5456. }
  5457. if m.Exp != 0 {
  5458. n += 1 + sovApi(uint64(m.Exp))
  5459. }
  5460. if m.XXX_unrecognized != nil {
  5461. n += len(m.XXX_unrecognized)
  5462. }
  5463. return n
  5464. }
  5465. func (m *AnchorBatchUpdateReq) Size() (n int) {
  5466. if m == nil {
  5467. return 0
  5468. }
  5469. var l int
  5470. _ = l
  5471. if len(m.Reqs) > 0 {
  5472. for _, e := range m.Reqs {
  5473. l = e.Size()
  5474. n += 1 + l + sovApi(uint64(l))
  5475. }
  5476. }
  5477. if m.XXX_unrecognized != nil {
  5478. n += len(m.XXX_unrecognized)
  5479. }
  5480. return n
  5481. }
  5482. func (m *AnchorIncreReq) Size() (n int) {
  5483. if m == nil {
  5484. return 0
  5485. }
  5486. var l int
  5487. _ = l
  5488. l = len(m.ReqId)
  5489. if l > 0 {
  5490. n += 1 + l + sovApi(uint64(l))
  5491. }
  5492. if len(m.Fields) > 0 {
  5493. for _, s := range m.Fields {
  5494. l = len(s)
  5495. n += 1 + l + sovApi(uint64(l))
  5496. }
  5497. }
  5498. if m.Uid != 0 {
  5499. n += 1 + sovApi(uint64(m.Uid))
  5500. }
  5501. if m.SanScore != 0 {
  5502. n += 1 + sovApi(uint64(m.SanScore))
  5503. }
  5504. if m.Exp != 0 {
  5505. n += 1 + sovApi(uint64(m.Exp))
  5506. }
  5507. if m.XXX_unrecognized != nil {
  5508. n += len(m.XXX_unrecognized)
  5509. }
  5510. return n
  5511. }
  5512. func (m *AnchorBatchIncreReq) Size() (n int) {
  5513. if m == nil {
  5514. return 0
  5515. }
  5516. var l int
  5517. _ = l
  5518. if len(m.Reqs) > 0 {
  5519. for _, e := range m.Reqs {
  5520. l = e.Size()
  5521. n += 1 + l + sovApi(uint64(l))
  5522. }
  5523. }
  5524. if m.XXX_unrecognized != nil {
  5525. n += len(m.XXX_unrecognized)
  5526. }
  5527. return n
  5528. }
  5529. func (m *RoomExtendUpdateReq) Size() (n int) {
  5530. if m == nil {
  5531. return 0
  5532. }
  5533. var l int
  5534. _ = l
  5535. if len(m.Fields) > 0 {
  5536. for _, s := range m.Fields {
  5537. l = len(s)
  5538. n += 1 + l + sovApi(uint64(l))
  5539. }
  5540. }
  5541. if m.RoomId != 0 {
  5542. n += 1 + sovApi(uint64(m.RoomId))
  5543. }
  5544. l = len(m.Keyframe)
  5545. if l > 0 {
  5546. n += 1 + l + sovApi(uint64(l))
  5547. }
  5548. if m.DanmuCount != 0 {
  5549. n += 1 + sovApi(uint64(m.DanmuCount))
  5550. }
  5551. if m.PopularityCount != 0 {
  5552. n += 1 + sovApi(uint64(m.PopularityCount))
  5553. }
  5554. if m.AudienceCount != 0 {
  5555. n += 1 + sovApi(uint64(m.AudienceCount))
  5556. }
  5557. if m.GiftCount != 0 {
  5558. n += 1 + sovApi(uint64(m.GiftCount))
  5559. }
  5560. if m.GiftGoldAmount != 0 {
  5561. n += 1 + sovApi(uint64(m.GiftGoldAmount))
  5562. }
  5563. if m.GiftGoldCount != 0 {
  5564. n += 1 + sovApi(uint64(m.GiftGoldCount))
  5565. }
  5566. if m.XXX_unrecognized != nil {
  5567. n += len(m.XXX_unrecognized)
  5568. }
  5569. return n
  5570. }
  5571. func (m *RoomExtendBatchUpdateReq) Size() (n int) {
  5572. if m == nil {
  5573. return 0
  5574. }
  5575. var l int
  5576. _ = l
  5577. if len(m.Reqs) > 0 {
  5578. for _, e := range m.Reqs {
  5579. l = e.Size()
  5580. n += 1 + l + sovApi(uint64(l))
  5581. }
  5582. }
  5583. if m.XXX_unrecognized != nil {
  5584. n += len(m.XXX_unrecognized)
  5585. }
  5586. return n
  5587. }
  5588. func (m *RoomExtendIncreReq) Size() (n int) {
  5589. if m == nil {
  5590. return 0
  5591. }
  5592. var l int
  5593. _ = l
  5594. l = len(m.ReqId)
  5595. if l > 0 {
  5596. n += 1 + l + sovApi(uint64(l))
  5597. }
  5598. if len(m.Fields) > 0 {
  5599. for _, s := range m.Fields {
  5600. l = len(s)
  5601. n += 1 + l + sovApi(uint64(l))
  5602. }
  5603. }
  5604. if m.RoomId != 0 {
  5605. n += 1 + sovApi(uint64(m.RoomId))
  5606. }
  5607. if m.DanmuCount != 0 {
  5608. n += 1 + sovApi(uint64(m.DanmuCount))
  5609. }
  5610. if m.PopularityCount != 0 {
  5611. n += 1 + sovApi(uint64(m.PopularityCount))
  5612. }
  5613. if m.AudienceCount != 0 {
  5614. n += 1 + sovApi(uint64(m.AudienceCount))
  5615. }
  5616. if m.GiftCount != 0 {
  5617. n += 1 + sovApi(uint64(m.GiftCount))
  5618. }
  5619. if m.GiftGoldAmount != 0 {
  5620. n += 1 + sovApi(uint64(m.GiftGoldAmount))
  5621. }
  5622. if m.GiftGoldCount != 0 {
  5623. n += 1 + sovApi(uint64(m.GiftGoldCount))
  5624. }
  5625. if m.XXX_unrecognized != nil {
  5626. n += len(m.XXX_unrecognized)
  5627. }
  5628. return n
  5629. }
  5630. func (m *RoomExtendBatchIncreReq) Size() (n int) {
  5631. if m == nil {
  5632. return 0
  5633. }
  5634. var l int
  5635. _ = l
  5636. if len(m.Reqs) > 0 {
  5637. for _, e := range m.Reqs {
  5638. l = e.Size()
  5639. n += 1 + l + sovApi(uint64(l))
  5640. }
  5641. }
  5642. if m.XXX_unrecognized != nil {
  5643. n += len(m.XXX_unrecognized)
  5644. }
  5645. return n
  5646. }
  5647. func (m *RoomTagCreateReq) Size() (n int) {
  5648. if m == nil {
  5649. return 0
  5650. }
  5651. var l int
  5652. _ = l
  5653. if m.RoomId != 0 {
  5654. n += 1 + sovApi(uint64(m.RoomId))
  5655. }
  5656. if m.TagId != 0 {
  5657. n += 1 + sovApi(uint64(m.TagId))
  5658. }
  5659. if m.TagSubId != 0 {
  5660. n += 1 + sovApi(uint64(m.TagSubId))
  5661. }
  5662. if m.TagValue != 0 {
  5663. n += 1 + sovApi(uint64(m.TagValue))
  5664. }
  5665. l = len(m.TagExt)
  5666. if l > 0 {
  5667. n += 1 + l + sovApi(uint64(l))
  5668. }
  5669. if m.TagExpireAt != 0 {
  5670. n += 1 + sovApi(uint64(m.TagExpireAt))
  5671. }
  5672. if m.XXX_unrecognized != nil {
  5673. n += len(m.XXX_unrecognized)
  5674. }
  5675. return n
  5676. }
  5677. func (m *RoomAttrCreateReq) Size() (n int) {
  5678. if m == nil {
  5679. return 0
  5680. }
  5681. var l int
  5682. _ = l
  5683. if m.RoomId != 0 {
  5684. n += 1 + sovApi(uint64(m.RoomId))
  5685. }
  5686. if m.AttrId != 0 {
  5687. n += 1 + sovApi(uint64(m.AttrId))
  5688. }
  5689. if m.AttrSubId != 0 {
  5690. n += 1 + sovApi(uint64(m.AttrSubId))
  5691. }
  5692. if m.AttrValue != 0 {
  5693. n += 1 + sovApi(uint64(m.AttrValue))
  5694. }
  5695. l = len(m.AttrExt)
  5696. if l > 0 {
  5697. n += 1 + l + sovApi(uint64(l))
  5698. }
  5699. if m.XXX_unrecognized != nil {
  5700. n += len(m.XXX_unrecognized)
  5701. }
  5702. return n
  5703. }
  5704. func (m *RoomAttrSetExReq) Size() (n int) {
  5705. if m == nil {
  5706. return 0
  5707. }
  5708. var l int
  5709. _ = l
  5710. if m.RoomId != 0 {
  5711. n += 1 + sovApi(uint64(m.RoomId))
  5712. }
  5713. if m.AttrId != 0 {
  5714. n += 1 + sovApi(uint64(m.AttrId))
  5715. }
  5716. if m.AttrSubId != 0 {
  5717. n += 1 + sovApi(uint64(m.AttrSubId))
  5718. }
  5719. if m.AttrValue != 0 {
  5720. n += 1 + sovApi(uint64(m.AttrValue))
  5721. }
  5722. l = len(m.AttrExt)
  5723. if l > 0 {
  5724. n += 1 + l + sovApi(uint64(l))
  5725. }
  5726. if m.XXX_unrecognized != nil {
  5727. n += len(m.XXX_unrecognized)
  5728. }
  5729. return n
  5730. }
  5731. func (m *FetchAreasReq) Size() (n int) {
  5732. if m == nil {
  5733. return 0
  5734. }
  5735. var l int
  5736. _ = l
  5737. if m.AreaId != 0 {
  5738. n += 1 + sovApi(uint64(m.AreaId))
  5739. }
  5740. if m.XXX_unrecognized != nil {
  5741. n += len(m.XXX_unrecognized)
  5742. }
  5743. return n
  5744. }
  5745. func (m *AreaInfo) Size() (n int) {
  5746. if m == nil {
  5747. return 0
  5748. }
  5749. var l int
  5750. _ = l
  5751. if m.AreaId != 0 {
  5752. n += 1 + sovApi(uint64(m.AreaId))
  5753. }
  5754. l = len(m.AreaName)
  5755. if l > 0 {
  5756. n += 1 + l + sovApi(uint64(l))
  5757. }
  5758. if m.XXX_unrecognized != nil {
  5759. n += len(m.XXX_unrecognized)
  5760. }
  5761. return n
  5762. }
  5763. func (m *FetchAreasResp) Size() (n int) {
  5764. if m == nil {
  5765. return 0
  5766. }
  5767. var l int
  5768. _ = l
  5769. if m.Info != nil {
  5770. l = m.Info.Size()
  5771. n += 1 + l + sovApi(uint64(l))
  5772. }
  5773. if len(m.Areas) > 0 {
  5774. for _, e := range m.Areas {
  5775. l = e.Size()
  5776. n += 1 + l + sovApi(uint64(l))
  5777. }
  5778. }
  5779. if m.XXX_unrecognized != nil {
  5780. n += len(m.XXX_unrecognized)
  5781. }
  5782. return n
  5783. }
  5784. func (m *FetchAttrByIDsReq) Size() (n int) {
  5785. if m == nil {
  5786. return 0
  5787. }
  5788. var l int
  5789. _ = l
  5790. if len(m.RoomIds) > 0 {
  5791. l = 0
  5792. for _, e := range m.RoomIds {
  5793. l += sovApi(uint64(e))
  5794. }
  5795. n += 1 + sovApi(uint64(l)) + l
  5796. }
  5797. if m.AttrId != 0 {
  5798. n += 1 + sovApi(uint64(m.AttrId))
  5799. }
  5800. if m.AttrSubId != 0 {
  5801. n += 1 + sovApi(uint64(m.AttrSubId))
  5802. }
  5803. if m.XXX_unrecognized != nil {
  5804. n += len(m.XXX_unrecognized)
  5805. }
  5806. return n
  5807. }
  5808. func (m *AttrData) Size() (n int) {
  5809. if m == nil {
  5810. return 0
  5811. }
  5812. var l int
  5813. _ = l
  5814. if m.RoomId != 0 {
  5815. n += 1 + sovApi(uint64(m.RoomId))
  5816. }
  5817. if m.AttrId != 0 {
  5818. n += 1 + sovApi(uint64(m.AttrId))
  5819. }
  5820. if m.AttrSubId != 0 {
  5821. n += 1 + sovApi(uint64(m.AttrSubId))
  5822. }
  5823. if m.AttrValue != 0 {
  5824. n += 1 + sovApi(uint64(m.AttrValue))
  5825. }
  5826. if m.XXX_unrecognized != nil {
  5827. n += len(m.XXX_unrecognized)
  5828. }
  5829. return n
  5830. }
  5831. func (m *FetchAttrByIDsResp) Size() (n int) {
  5832. if m == nil {
  5833. return 0
  5834. }
  5835. var l int
  5836. _ = l
  5837. if len(m.Attrs) > 0 {
  5838. for k, v := range m.Attrs {
  5839. _ = k
  5840. _ = v
  5841. l = 0
  5842. if v != nil {
  5843. l = v.Size()
  5844. l += 1 + sovApi(uint64(l))
  5845. }
  5846. mapEntrySize := 1 + sovApi(uint64(k)) + l
  5847. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  5848. }
  5849. }
  5850. if m.XXX_unrecognized != nil {
  5851. n += len(m.XXX_unrecognized)
  5852. }
  5853. return n
  5854. }
  5855. func (m *AttrReq) Size() (n int) {
  5856. if m == nil {
  5857. return 0
  5858. }
  5859. var l int
  5860. _ = l
  5861. if m.AttrId != 0 {
  5862. n += 1 + sovApi(uint64(m.AttrId))
  5863. }
  5864. if m.AttrSubId != 0 {
  5865. n += 1 + sovApi(uint64(m.AttrSubId))
  5866. }
  5867. if m.XXX_unrecognized != nil {
  5868. n += len(m.XXX_unrecognized)
  5869. }
  5870. return n
  5871. }
  5872. func (m *RoomOnlineListByAttrsReq) Size() (n int) {
  5873. if m == nil {
  5874. return 0
  5875. }
  5876. var l int
  5877. _ = l
  5878. if len(m.Attrs) > 0 {
  5879. for _, e := range m.Attrs {
  5880. l = e.Size()
  5881. n += 1 + l + sovApi(uint64(l))
  5882. }
  5883. }
  5884. if m.XXX_unrecognized != nil {
  5885. n += len(m.XXX_unrecognized)
  5886. }
  5887. return n
  5888. }
  5889. func (m *AttrResp) Size() (n int) {
  5890. if m == nil {
  5891. return 0
  5892. }
  5893. var l int
  5894. _ = l
  5895. if m.Uid != 0 {
  5896. n += 1 + sovApi(uint64(m.Uid))
  5897. }
  5898. if m.RoomId != 0 {
  5899. n += 1 + sovApi(uint64(m.RoomId))
  5900. }
  5901. if m.AreaId != 0 {
  5902. n += 1 + sovApi(uint64(m.AreaId))
  5903. }
  5904. if m.ParentAreaId != 0 {
  5905. n += 1 + sovApi(uint64(m.ParentAreaId))
  5906. }
  5907. if len(m.TagList) > 0 {
  5908. for _, e := range m.TagList {
  5909. l = e.Size()
  5910. n += 1 + l + sovApi(uint64(l))
  5911. }
  5912. }
  5913. if len(m.AttrList) > 0 {
  5914. for _, e := range m.AttrList {
  5915. l = e.Size()
  5916. n += 1 + l + sovApi(uint64(l))
  5917. }
  5918. }
  5919. if m.PopularityCount != 0 {
  5920. n += 1 + sovApi(uint64(m.PopularityCount))
  5921. }
  5922. if m.AnchorProfileType != 0 {
  5923. n += 1 + sovApi(uint64(m.AnchorProfileType))
  5924. }
  5925. if m.XXX_unrecognized != nil {
  5926. n += len(m.XXX_unrecognized)
  5927. }
  5928. return n
  5929. }
  5930. func (m *RoomOnlineListByAttrsResp) Size() (n int) {
  5931. if m == nil {
  5932. return 0
  5933. }
  5934. var l int
  5935. _ = l
  5936. if len(m.Attrs) > 0 {
  5937. for k, v := range m.Attrs {
  5938. _ = k
  5939. _ = v
  5940. l = 0
  5941. if v != nil {
  5942. l = v.Size()
  5943. l += 1 + sovApi(uint64(l))
  5944. }
  5945. mapEntrySize := 1 + sovApi(uint64(k)) + l
  5946. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  5947. }
  5948. }
  5949. if m.XXX_unrecognized != nil {
  5950. n += len(m.XXX_unrecognized)
  5951. }
  5952. return n
  5953. }
  5954. func (m *DeleteAttrReq) Size() (n int) {
  5955. if m == nil {
  5956. return 0
  5957. }
  5958. var l int
  5959. _ = l
  5960. if m.AttrId != 0 {
  5961. n += 1 + sovApi(uint64(m.AttrId))
  5962. }
  5963. if m.AttrSubId != 0 {
  5964. n += 1 + sovApi(uint64(m.AttrSubId))
  5965. }
  5966. if m.XXX_unrecognized != nil {
  5967. n += len(m.XXX_unrecognized)
  5968. }
  5969. return n
  5970. }
  5971. func sovApi(x uint64) (n int) {
  5972. for {
  5973. n++
  5974. x >>= 7
  5975. if x == 0 {
  5976. break
  5977. }
  5978. }
  5979. return n
  5980. }
  5981. func sozApi(x uint64) (n int) {
  5982. return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  5983. }
  5984. func (m *AnchorLevel) Unmarshal(dAtA []byte) error {
  5985. l := len(dAtA)
  5986. iNdEx := 0
  5987. for iNdEx < l {
  5988. preIndex := iNdEx
  5989. var wire uint64
  5990. for shift := uint(0); ; shift += 7 {
  5991. if shift >= 64 {
  5992. return ErrIntOverflowApi
  5993. }
  5994. if iNdEx >= l {
  5995. return io.ErrUnexpectedEOF
  5996. }
  5997. b := dAtA[iNdEx]
  5998. iNdEx++
  5999. wire |= (uint64(b) & 0x7F) << shift
  6000. if b < 0x80 {
  6001. break
  6002. }
  6003. }
  6004. fieldNum := int32(wire >> 3)
  6005. wireType := int(wire & 0x7)
  6006. if wireType == 4 {
  6007. return fmt.Errorf("proto: AnchorLevel: wiretype end group for non-group")
  6008. }
  6009. if fieldNum <= 0 {
  6010. return fmt.Errorf("proto: AnchorLevel: illegal tag %d (wire type %d)", fieldNum, wire)
  6011. }
  6012. switch fieldNum {
  6013. case 1:
  6014. if wireType != 0 {
  6015. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  6016. }
  6017. m.Level = 0
  6018. for shift := uint(0); ; shift += 7 {
  6019. if shift >= 64 {
  6020. return ErrIntOverflowApi
  6021. }
  6022. if iNdEx >= l {
  6023. return io.ErrUnexpectedEOF
  6024. }
  6025. b := dAtA[iNdEx]
  6026. iNdEx++
  6027. m.Level |= (int64(b) & 0x7F) << shift
  6028. if b < 0x80 {
  6029. break
  6030. }
  6031. }
  6032. case 2:
  6033. if wireType != 0 {
  6034. return fmt.Errorf("proto: wrong wireType = %d for field Color", wireType)
  6035. }
  6036. m.Color = 0
  6037. for shift := uint(0); ; shift += 7 {
  6038. if shift >= 64 {
  6039. return ErrIntOverflowApi
  6040. }
  6041. if iNdEx >= l {
  6042. return io.ErrUnexpectedEOF
  6043. }
  6044. b := dAtA[iNdEx]
  6045. iNdEx++
  6046. m.Color |= (int64(b) & 0x7F) << shift
  6047. if b < 0x80 {
  6048. break
  6049. }
  6050. }
  6051. case 3:
  6052. if wireType != 0 {
  6053. return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType)
  6054. }
  6055. m.Score = 0
  6056. for shift := uint(0); ; shift += 7 {
  6057. if shift >= 64 {
  6058. return ErrIntOverflowApi
  6059. }
  6060. if iNdEx >= l {
  6061. return io.ErrUnexpectedEOF
  6062. }
  6063. b := dAtA[iNdEx]
  6064. iNdEx++
  6065. m.Score |= (int64(b) & 0x7F) << shift
  6066. if b < 0x80 {
  6067. break
  6068. }
  6069. }
  6070. case 4:
  6071. if wireType != 0 {
  6072. return fmt.Errorf("proto: wrong wireType = %d for field Left", wireType)
  6073. }
  6074. m.Left = 0
  6075. for shift := uint(0); ; shift += 7 {
  6076. if shift >= 64 {
  6077. return ErrIntOverflowApi
  6078. }
  6079. if iNdEx >= l {
  6080. return io.ErrUnexpectedEOF
  6081. }
  6082. b := dAtA[iNdEx]
  6083. iNdEx++
  6084. m.Left |= (int64(b) & 0x7F) << shift
  6085. if b < 0x80 {
  6086. break
  6087. }
  6088. }
  6089. case 5:
  6090. if wireType != 0 {
  6091. return fmt.Errorf("proto: wrong wireType = %d for field Right", wireType)
  6092. }
  6093. m.Right = 0
  6094. for shift := uint(0); ; shift += 7 {
  6095. if shift >= 64 {
  6096. return ErrIntOverflowApi
  6097. }
  6098. if iNdEx >= l {
  6099. return io.ErrUnexpectedEOF
  6100. }
  6101. b := dAtA[iNdEx]
  6102. iNdEx++
  6103. m.Right |= (int64(b) & 0x7F) << shift
  6104. if b < 0x80 {
  6105. break
  6106. }
  6107. }
  6108. case 6:
  6109. if wireType != 0 {
  6110. return fmt.Errorf("proto: wrong wireType = %d for field MaxLevel", wireType)
  6111. }
  6112. m.MaxLevel = 0
  6113. for shift := uint(0); ; shift += 7 {
  6114. if shift >= 64 {
  6115. return ErrIntOverflowApi
  6116. }
  6117. if iNdEx >= l {
  6118. return io.ErrUnexpectedEOF
  6119. }
  6120. b := dAtA[iNdEx]
  6121. iNdEx++
  6122. m.MaxLevel |= (int64(b) & 0x7F) << shift
  6123. if b < 0x80 {
  6124. break
  6125. }
  6126. }
  6127. default:
  6128. iNdEx = preIndex
  6129. skippy, err := skipApi(dAtA[iNdEx:])
  6130. if err != nil {
  6131. return err
  6132. }
  6133. if skippy < 0 {
  6134. return ErrInvalidLengthApi
  6135. }
  6136. if (iNdEx + skippy) > l {
  6137. return io.ErrUnexpectedEOF
  6138. }
  6139. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6140. iNdEx += skippy
  6141. }
  6142. }
  6143. if iNdEx > l {
  6144. return io.ErrUnexpectedEOF
  6145. }
  6146. return nil
  6147. }
  6148. func (m *TagData) Unmarshal(dAtA []byte) error {
  6149. l := len(dAtA)
  6150. iNdEx := 0
  6151. for iNdEx < l {
  6152. preIndex := iNdEx
  6153. var wire uint64
  6154. for shift := uint(0); ; shift += 7 {
  6155. if shift >= 64 {
  6156. return ErrIntOverflowApi
  6157. }
  6158. if iNdEx >= l {
  6159. return io.ErrUnexpectedEOF
  6160. }
  6161. b := dAtA[iNdEx]
  6162. iNdEx++
  6163. wire |= (uint64(b) & 0x7F) << shift
  6164. if b < 0x80 {
  6165. break
  6166. }
  6167. }
  6168. fieldNum := int32(wire >> 3)
  6169. wireType := int(wire & 0x7)
  6170. if wireType == 4 {
  6171. return fmt.Errorf("proto: TagData: wiretype end group for non-group")
  6172. }
  6173. if fieldNum <= 0 {
  6174. return fmt.Errorf("proto: TagData: illegal tag %d (wire type %d)", fieldNum, wire)
  6175. }
  6176. switch fieldNum {
  6177. case 1:
  6178. if wireType != 0 {
  6179. return fmt.Errorf("proto: wrong wireType = %d for field TagId", wireType)
  6180. }
  6181. m.TagId = 0
  6182. for shift := uint(0); ; shift += 7 {
  6183. if shift >= 64 {
  6184. return ErrIntOverflowApi
  6185. }
  6186. if iNdEx >= l {
  6187. return io.ErrUnexpectedEOF
  6188. }
  6189. b := dAtA[iNdEx]
  6190. iNdEx++
  6191. m.TagId |= (int64(b) & 0x7F) << shift
  6192. if b < 0x80 {
  6193. break
  6194. }
  6195. }
  6196. case 2:
  6197. if wireType != 0 {
  6198. return fmt.Errorf("proto: wrong wireType = %d for field TagSubId", wireType)
  6199. }
  6200. m.TagSubId = 0
  6201. for shift := uint(0); ; shift += 7 {
  6202. if shift >= 64 {
  6203. return ErrIntOverflowApi
  6204. }
  6205. if iNdEx >= l {
  6206. return io.ErrUnexpectedEOF
  6207. }
  6208. b := dAtA[iNdEx]
  6209. iNdEx++
  6210. m.TagSubId |= (int64(b) & 0x7F) << shift
  6211. if b < 0x80 {
  6212. break
  6213. }
  6214. }
  6215. case 3:
  6216. if wireType != 0 {
  6217. return fmt.Errorf("proto: wrong wireType = %d for field TagValue", wireType)
  6218. }
  6219. m.TagValue = 0
  6220. for shift := uint(0); ; shift += 7 {
  6221. if shift >= 64 {
  6222. return ErrIntOverflowApi
  6223. }
  6224. if iNdEx >= l {
  6225. return io.ErrUnexpectedEOF
  6226. }
  6227. b := dAtA[iNdEx]
  6228. iNdEx++
  6229. m.TagValue |= (int64(b) & 0x7F) << shift
  6230. if b < 0x80 {
  6231. break
  6232. }
  6233. }
  6234. case 4:
  6235. if wireType != 2 {
  6236. return fmt.Errorf("proto: wrong wireType = %d for field TagExt", wireType)
  6237. }
  6238. var stringLen uint64
  6239. for shift := uint(0); ; shift += 7 {
  6240. if shift >= 64 {
  6241. return ErrIntOverflowApi
  6242. }
  6243. if iNdEx >= l {
  6244. return io.ErrUnexpectedEOF
  6245. }
  6246. b := dAtA[iNdEx]
  6247. iNdEx++
  6248. stringLen |= (uint64(b) & 0x7F) << shift
  6249. if b < 0x80 {
  6250. break
  6251. }
  6252. }
  6253. intStringLen := int(stringLen)
  6254. if intStringLen < 0 {
  6255. return ErrInvalidLengthApi
  6256. }
  6257. postIndex := iNdEx + intStringLen
  6258. if postIndex > l {
  6259. return io.ErrUnexpectedEOF
  6260. }
  6261. m.TagExt = string(dAtA[iNdEx:postIndex])
  6262. iNdEx = postIndex
  6263. case 5:
  6264. if wireType != 0 {
  6265. return fmt.Errorf("proto: wrong wireType = %d for field TagExpireAt", wireType)
  6266. }
  6267. m.TagExpireAt = 0
  6268. for shift := uint(0); ; shift += 7 {
  6269. if shift >= 64 {
  6270. return ErrIntOverflowApi
  6271. }
  6272. if iNdEx >= l {
  6273. return io.ErrUnexpectedEOF
  6274. }
  6275. b := dAtA[iNdEx]
  6276. iNdEx++
  6277. m.TagExpireAt |= (int64(b) & 0x7F) << shift
  6278. if b < 0x80 {
  6279. break
  6280. }
  6281. }
  6282. default:
  6283. iNdEx = preIndex
  6284. skippy, err := skipApi(dAtA[iNdEx:])
  6285. if err != nil {
  6286. return err
  6287. }
  6288. if skippy < 0 {
  6289. return ErrInvalidLengthApi
  6290. }
  6291. if (iNdEx + skippy) > l {
  6292. return io.ErrUnexpectedEOF
  6293. }
  6294. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6295. iNdEx += skippy
  6296. }
  6297. }
  6298. if iNdEx > l {
  6299. return io.ErrUnexpectedEOF
  6300. }
  6301. return nil
  6302. }
  6303. func (m *RoomData) Unmarshal(dAtA []byte) error {
  6304. l := len(dAtA)
  6305. iNdEx := 0
  6306. for iNdEx < l {
  6307. preIndex := iNdEx
  6308. var wire uint64
  6309. for shift := uint(0); ; shift += 7 {
  6310. if shift >= 64 {
  6311. return ErrIntOverflowApi
  6312. }
  6313. if iNdEx >= l {
  6314. return io.ErrUnexpectedEOF
  6315. }
  6316. b := dAtA[iNdEx]
  6317. iNdEx++
  6318. wire |= (uint64(b) & 0x7F) << shift
  6319. if b < 0x80 {
  6320. break
  6321. }
  6322. }
  6323. fieldNum := int32(wire >> 3)
  6324. wireType := int(wire & 0x7)
  6325. if wireType == 4 {
  6326. return fmt.Errorf("proto: RoomData: wiretype end group for non-group")
  6327. }
  6328. if fieldNum <= 0 {
  6329. return fmt.Errorf("proto: RoomData: illegal tag %d (wire type %d)", fieldNum, wire)
  6330. }
  6331. switch fieldNum {
  6332. case 1:
  6333. if wireType != 0 {
  6334. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  6335. }
  6336. m.Uid = 0
  6337. for shift := uint(0); ; shift += 7 {
  6338. if shift >= 64 {
  6339. return ErrIntOverflowApi
  6340. }
  6341. if iNdEx >= l {
  6342. return io.ErrUnexpectedEOF
  6343. }
  6344. b := dAtA[iNdEx]
  6345. iNdEx++
  6346. m.Uid |= (int64(b) & 0x7F) << shift
  6347. if b < 0x80 {
  6348. break
  6349. }
  6350. }
  6351. case 2:
  6352. if wireType != 0 {
  6353. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  6354. }
  6355. m.RoomId = 0
  6356. for shift := uint(0); ; shift += 7 {
  6357. if shift >= 64 {
  6358. return ErrIntOverflowApi
  6359. }
  6360. if iNdEx >= l {
  6361. return io.ErrUnexpectedEOF
  6362. }
  6363. b := dAtA[iNdEx]
  6364. iNdEx++
  6365. m.RoomId |= (int64(b) & 0x7F) << shift
  6366. if b < 0x80 {
  6367. break
  6368. }
  6369. }
  6370. case 3:
  6371. if wireType != 0 {
  6372. return fmt.Errorf("proto: wrong wireType = %d for field ShortId", wireType)
  6373. }
  6374. m.ShortId = 0
  6375. for shift := uint(0); ; shift += 7 {
  6376. if shift >= 64 {
  6377. return ErrIntOverflowApi
  6378. }
  6379. if iNdEx >= l {
  6380. return io.ErrUnexpectedEOF
  6381. }
  6382. b := dAtA[iNdEx]
  6383. iNdEx++
  6384. m.ShortId |= (int64(b) & 0x7F) << shift
  6385. if b < 0x80 {
  6386. break
  6387. }
  6388. }
  6389. case 4:
  6390. if wireType != 2 {
  6391. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  6392. }
  6393. var stringLen uint64
  6394. for shift := uint(0); ; shift += 7 {
  6395. if shift >= 64 {
  6396. return ErrIntOverflowApi
  6397. }
  6398. if iNdEx >= l {
  6399. return io.ErrUnexpectedEOF
  6400. }
  6401. b := dAtA[iNdEx]
  6402. iNdEx++
  6403. stringLen |= (uint64(b) & 0x7F) << shift
  6404. if b < 0x80 {
  6405. break
  6406. }
  6407. }
  6408. intStringLen := int(stringLen)
  6409. if intStringLen < 0 {
  6410. return ErrInvalidLengthApi
  6411. }
  6412. postIndex := iNdEx + intStringLen
  6413. if postIndex > l {
  6414. return io.ErrUnexpectedEOF
  6415. }
  6416. m.Title = string(dAtA[iNdEx:postIndex])
  6417. iNdEx = postIndex
  6418. case 5:
  6419. if wireType != 2 {
  6420. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  6421. }
  6422. var stringLen uint64
  6423. for shift := uint(0); ; shift += 7 {
  6424. if shift >= 64 {
  6425. return ErrIntOverflowApi
  6426. }
  6427. if iNdEx >= l {
  6428. return io.ErrUnexpectedEOF
  6429. }
  6430. b := dAtA[iNdEx]
  6431. iNdEx++
  6432. stringLen |= (uint64(b) & 0x7F) << shift
  6433. if b < 0x80 {
  6434. break
  6435. }
  6436. }
  6437. intStringLen := int(stringLen)
  6438. if intStringLen < 0 {
  6439. return ErrInvalidLengthApi
  6440. }
  6441. postIndex := iNdEx + intStringLen
  6442. if postIndex > l {
  6443. return io.ErrUnexpectedEOF
  6444. }
  6445. m.Cover = string(dAtA[iNdEx:postIndex])
  6446. iNdEx = postIndex
  6447. case 6:
  6448. if wireType != 2 {
  6449. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  6450. }
  6451. var stringLen uint64
  6452. for shift := uint(0); ; shift += 7 {
  6453. if shift >= 64 {
  6454. return ErrIntOverflowApi
  6455. }
  6456. if iNdEx >= l {
  6457. return io.ErrUnexpectedEOF
  6458. }
  6459. b := dAtA[iNdEx]
  6460. iNdEx++
  6461. stringLen |= (uint64(b) & 0x7F) << shift
  6462. if b < 0x80 {
  6463. break
  6464. }
  6465. }
  6466. intStringLen := int(stringLen)
  6467. if intStringLen < 0 {
  6468. return ErrInvalidLengthApi
  6469. }
  6470. postIndex := iNdEx + intStringLen
  6471. if postIndex > l {
  6472. return io.ErrUnexpectedEOF
  6473. }
  6474. m.Tags = string(dAtA[iNdEx:postIndex])
  6475. iNdEx = postIndex
  6476. case 7:
  6477. if wireType != 2 {
  6478. return fmt.Errorf("proto: wrong wireType = %d for field Background", wireType)
  6479. }
  6480. var stringLen uint64
  6481. for shift := uint(0); ; shift += 7 {
  6482. if shift >= 64 {
  6483. return ErrIntOverflowApi
  6484. }
  6485. if iNdEx >= l {
  6486. return io.ErrUnexpectedEOF
  6487. }
  6488. b := dAtA[iNdEx]
  6489. iNdEx++
  6490. stringLen |= (uint64(b) & 0x7F) << shift
  6491. if b < 0x80 {
  6492. break
  6493. }
  6494. }
  6495. intStringLen := int(stringLen)
  6496. if intStringLen < 0 {
  6497. return ErrInvalidLengthApi
  6498. }
  6499. postIndex := iNdEx + intStringLen
  6500. if postIndex > l {
  6501. return io.ErrUnexpectedEOF
  6502. }
  6503. m.Background = string(dAtA[iNdEx:postIndex])
  6504. iNdEx = postIndex
  6505. case 8:
  6506. if wireType != 2 {
  6507. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  6508. }
  6509. var stringLen uint64
  6510. for shift := uint(0); ; shift += 7 {
  6511. if shift >= 64 {
  6512. return ErrIntOverflowApi
  6513. }
  6514. if iNdEx >= l {
  6515. return io.ErrUnexpectedEOF
  6516. }
  6517. b := dAtA[iNdEx]
  6518. iNdEx++
  6519. stringLen |= (uint64(b) & 0x7F) << shift
  6520. if b < 0x80 {
  6521. break
  6522. }
  6523. }
  6524. intStringLen := int(stringLen)
  6525. if intStringLen < 0 {
  6526. return ErrInvalidLengthApi
  6527. }
  6528. postIndex := iNdEx + intStringLen
  6529. if postIndex > l {
  6530. return io.ErrUnexpectedEOF
  6531. }
  6532. m.Description = string(dAtA[iNdEx:postIndex])
  6533. iNdEx = postIndex
  6534. case 9:
  6535. if wireType != 0 {
  6536. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  6537. }
  6538. m.LiveStatus = 0
  6539. for shift := uint(0); ; shift += 7 {
  6540. if shift >= 64 {
  6541. return ErrIntOverflowApi
  6542. }
  6543. if iNdEx >= l {
  6544. return io.ErrUnexpectedEOF
  6545. }
  6546. b := dAtA[iNdEx]
  6547. iNdEx++
  6548. m.LiveStatus |= (int64(b) & 0x7F) << shift
  6549. if b < 0x80 {
  6550. break
  6551. }
  6552. }
  6553. case 10:
  6554. if wireType != 0 {
  6555. return fmt.Errorf("proto: wrong wireType = %d for field LiveStartTime", wireType)
  6556. }
  6557. m.LiveStartTime = 0
  6558. for shift := uint(0); ; shift += 7 {
  6559. if shift >= 64 {
  6560. return ErrIntOverflowApi
  6561. }
  6562. if iNdEx >= l {
  6563. return io.ErrUnexpectedEOF
  6564. }
  6565. b := dAtA[iNdEx]
  6566. iNdEx++
  6567. m.LiveStartTime |= (int64(b) & 0x7F) << shift
  6568. if b < 0x80 {
  6569. break
  6570. }
  6571. }
  6572. case 11:
  6573. if wireType != 0 {
  6574. return fmt.Errorf("proto: wrong wireType = %d for field LiveScreenType", wireType)
  6575. }
  6576. m.LiveScreenType = 0
  6577. for shift := uint(0); ; shift += 7 {
  6578. if shift >= 64 {
  6579. return ErrIntOverflowApi
  6580. }
  6581. if iNdEx >= l {
  6582. return io.ErrUnexpectedEOF
  6583. }
  6584. b := dAtA[iNdEx]
  6585. iNdEx++
  6586. m.LiveScreenType |= (int64(b) & 0x7F) << shift
  6587. if b < 0x80 {
  6588. break
  6589. }
  6590. }
  6591. case 12:
  6592. if wireType != 0 {
  6593. return fmt.Errorf("proto: wrong wireType = %d for field LiveMark", wireType)
  6594. }
  6595. m.LiveMark = 0
  6596. for shift := uint(0); ; shift += 7 {
  6597. if shift >= 64 {
  6598. return ErrIntOverflowApi
  6599. }
  6600. if iNdEx >= l {
  6601. return io.ErrUnexpectedEOF
  6602. }
  6603. b := dAtA[iNdEx]
  6604. iNdEx++
  6605. m.LiveMark |= (int64(b) & 0x7F) << shift
  6606. if b < 0x80 {
  6607. break
  6608. }
  6609. }
  6610. case 13:
  6611. if wireType != 0 {
  6612. return fmt.Errorf("proto: wrong wireType = %d for field LockStatus", wireType)
  6613. }
  6614. m.LockStatus = 0
  6615. for shift := uint(0); ; shift += 7 {
  6616. if shift >= 64 {
  6617. return ErrIntOverflowApi
  6618. }
  6619. if iNdEx >= l {
  6620. return io.ErrUnexpectedEOF
  6621. }
  6622. b := dAtA[iNdEx]
  6623. iNdEx++
  6624. m.LockStatus |= (int64(b) & 0x7F) << shift
  6625. if b < 0x80 {
  6626. break
  6627. }
  6628. }
  6629. case 14:
  6630. if wireType != 0 {
  6631. return fmt.Errorf("proto: wrong wireType = %d for field LockTime", wireType)
  6632. }
  6633. m.LockTime = 0
  6634. for shift := uint(0); ; shift += 7 {
  6635. if shift >= 64 {
  6636. return ErrIntOverflowApi
  6637. }
  6638. if iNdEx >= l {
  6639. return io.ErrUnexpectedEOF
  6640. }
  6641. b := dAtA[iNdEx]
  6642. iNdEx++
  6643. m.LockTime |= (int64(b) & 0x7F) << shift
  6644. if b < 0x80 {
  6645. break
  6646. }
  6647. }
  6648. case 15:
  6649. if wireType != 0 {
  6650. return fmt.Errorf("proto: wrong wireType = %d for field HiddenStatus", wireType)
  6651. }
  6652. m.HiddenStatus = 0
  6653. for shift := uint(0); ; shift += 7 {
  6654. if shift >= 64 {
  6655. return ErrIntOverflowApi
  6656. }
  6657. if iNdEx >= l {
  6658. return io.ErrUnexpectedEOF
  6659. }
  6660. b := dAtA[iNdEx]
  6661. iNdEx++
  6662. m.HiddenStatus |= (int64(b) & 0x7F) << shift
  6663. if b < 0x80 {
  6664. break
  6665. }
  6666. }
  6667. case 16:
  6668. if wireType != 0 {
  6669. return fmt.Errorf("proto: wrong wireType = %d for field HiddenTime", wireType)
  6670. }
  6671. m.HiddenTime = 0
  6672. for shift := uint(0); ; shift += 7 {
  6673. if shift >= 64 {
  6674. return ErrIntOverflowApi
  6675. }
  6676. if iNdEx >= l {
  6677. return io.ErrUnexpectedEOF
  6678. }
  6679. b := dAtA[iNdEx]
  6680. iNdEx++
  6681. m.HiddenTime |= (int64(b) & 0x7F) << shift
  6682. if b < 0x80 {
  6683. break
  6684. }
  6685. }
  6686. case 17:
  6687. if wireType != 0 {
  6688. return fmt.Errorf("proto: wrong wireType = %d for field AreaId", wireType)
  6689. }
  6690. m.AreaId = 0
  6691. for shift := uint(0); ; shift += 7 {
  6692. if shift >= 64 {
  6693. return ErrIntOverflowApi
  6694. }
  6695. if iNdEx >= l {
  6696. return io.ErrUnexpectedEOF
  6697. }
  6698. b := dAtA[iNdEx]
  6699. iNdEx++
  6700. m.AreaId |= (int64(b) & 0x7F) << shift
  6701. if b < 0x80 {
  6702. break
  6703. }
  6704. }
  6705. case 18:
  6706. if wireType != 2 {
  6707. return fmt.Errorf("proto: wrong wireType = %d for field AreaName", wireType)
  6708. }
  6709. var stringLen uint64
  6710. for shift := uint(0); ; shift += 7 {
  6711. if shift >= 64 {
  6712. return ErrIntOverflowApi
  6713. }
  6714. if iNdEx >= l {
  6715. return io.ErrUnexpectedEOF
  6716. }
  6717. b := dAtA[iNdEx]
  6718. iNdEx++
  6719. stringLen |= (uint64(b) & 0x7F) << shift
  6720. if b < 0x80 {
  6721. break
  6722. }
  6723. }
  6724. intStringLen := int(stringLen)
  6725. if intStringLen < 0 {
  6726. return ErrInvalidLengthApi
  6727. }
  6728. postIndex := iNdEx + intStringLen
  6729. if postIndex > l {
  6730. return io.ErrUnexpectedEOF
  6731. }
  6732. m.AreaName = string(dAtA[iNdEx:postIndex])
  6733. iNdEx = postIndex
  6734. case 19:
  6735. if wireType != 0 {
  6736. return fmt.Errorf("proto: wrong wireType = %d for field ParentAreaId", wireType)
  6737. }
  6738. m.ParentAreaId = 0
  6739. for shift := uint(0); ; shift += 7 {
  6740. if shift >= 64 {
  6741. return ErrIntOverflowApi
  6742. }
  6743. if iNdEx >= l {
  6744. return io.ErrUnexpectedEOF
  6745. }
  6746. b := dAtA[iNdEx]
  6747. iNdEx++
  6748. m.ParentAreaId |= (int64(b) & 0x7F) << shift
  6749. if b < 0x80 {
  6750. break
  6751. }
  6752. }
  6753. case 20:
  6754. if wireType != 2 {
  6755. return fmt.Errorf("proto: wrong wireType = %d for field ParentAreaName", wireType)
  6756. }
  6757. var stringLen uint64
  6758. for shift := uint(0); ; shift += 7 {
  6759. if shift >= 64 {
  6760. return ErrIntOverflowApi
  6761. }
  6762. if iNdEx >= l {
  6763. return io.ErrUnexpectedEOF
  6764. }
  6765. b := dAtA[iNdEx]
  6766. iNdEx++
  6767. stringLen |= (uint64(b) & 0x7F) << shift
  6768. if b < 0x80 {
  6769. break
  6770. }
  6771. }
  6772. intStringLen := int(stringLen)
  6773. if intStringLen < 0 {
  6774. return ErrInvalidLengthApi
  6775. }
  6776. postIndex := iNdEx + intStringLen
  6777. if postIndex > l {
  6778. return io.ErrUnexpectedEOF
  6779. }
  6780. m.ParentAreaName = string(dAtA[iNdEx:postIndex])
  6781. iNdEx = postIndex
  6782. case 21:
  6783. if wireType != 2 {
  6784. return fmt.Errorf("proto: wrong wireType = %d for field Keyframe", wireType)
  6785. }
  6786. var stringLen uint64
  6787. for shift := uint(0); ; shift += 7 {
  6788. if shift >= 64 {
  6789. return ErrIntOverflowApi
  6790. }
  6791. if iNdEx >= l {
  6792. return io.ErrUnexpectedEOF
  6793. }
  6794. b := dAtA[iNdEx]
  6795. iNdEx++
  6796. stringLen |= (uint64(b) & 0x7F) << shift
  6797. if b < 0x80 {
  6798. break
  6799. }
  6800. }
  6801. intStringLen := int(stringLen)
  6802. if intStringLen < 0 {
  6803. return ErrInvalidLengthApi
  6804. }
  6805. postIndex := iNdEx + intStringLen
  6806. if postIndex > l {
  6807. return io.ErrUnexpectedEOF
  6808. }
  6809. m.Keyframe = string(dAtA[iNdEx:postIndex])
  6810. iNdEx = postIndex
  6811. case 22:
  6812. if wireType != 0 {
  6813. return fmt.Errorf("proto: wrong wireType = %d for field PopularityCount", wireType)
  6814. }
  6815. m.PopularityCount = 0
  6816. for shift := uint(0); ; shift += 7 {
  6817. if shift >= 64 {
  6818. return ErrIntOverflowApi
  6819. }
  6820. if iNdEx >= l {
  6821. return io.ErrUnexpectedEOF
  6822. }
  6823. b := dAtA[iNdEx]
  6824. iNdEx++
  6825. m.PopularityCount |= (int64(b) & 0x7F) << shift
  6826. if b < 0x80 {
  6827. break
  6828. }
  6829. }
  6830. case 23:
  6831. if wireType != 2 {
  6832. return fmt.Errorf("proto: wrong wireType = %d for field TagList", wireType)
  6833. }
  6834. var msglen int
  6835. for shift := uint(0); ; shift += 7 {
  6836. if shift >= 64 {
  6837. return ErrIntOverflowApi
  6838. }
  6839. if iNdEx >= l {
  6840. return io.ErrUnexpectedEOF
  6841. }
  6842. b := dAtA[iNdEx]
  6843. iNdEx++
  6844. msglen |= (int(b) & 0x7F) << shift
  6845. if b < 0x80 {
  6846. break
  6847. }
  6848. }
  6849. if msglen < 0 {
  6850. return ErrInvalidLengthApi
  6851. }
  6852. postIndex := iNdEx + msglen
  6853. if postIndex > l {
  6854. return io.ErrUnexpectedEOF
  6855. }
  6856. m.TagList = append(m.TagList, &TagData{})
  6857. if err := m.TagList[len(m.TagList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6858. return err
  6859. }
  6860. iNdEx = postIndex
  6861. case 25:
  6862. if wireType != 0 {
  6863. return fmt.Errorf("proto: wrong wireType = %d for field AnchorProfileType", wireType)
  6864. }
  6865. m.AnchorProfileType = 0
  6866. for shift := uint(0); ; shift += 7 {
  6867. if shift >= 64 {
  6868. return ErrIntOverflowApi
  6869. }
  6870. if iNdEx >= l {
  6871. return io.ErrUnexpectedEOF
  6872. }
  6873. b := dAtA[iNdEx]
  6874. iNdEx++
  6875. m.AnchorProfileType |= (int64(b) & 0x7F) << shift
  6876. if b < 0x80 {
  6877. break
  6878. }
  6879. }
  6880. case 26:
  6881. if wireType != 2 {
  6882. return fmt.Errorf("proto: wrong wireType = %d for field AnchorLevel", wireType)
  6883. }
  6884. var msglen int
  6885. for shift := uint(0); ; shift += 7 {
  6886. if shift >= 64 {
  6887. return ErrIntOverflowApi
  6888. }
  6889. if iNdEx >= l {
  6890. return io.ErrUnexpectedEOF
  6891. }
  6892. b := dAtA[iNdEx]
  6893. iNdEx++
  6894. msglen |= (int(b) & 0x7F) << shift
  6895. if b < 0x80 {
  6896. break
  6897. }
  6898. }
  6899. if msglen < 0 {
  6900. return ErrInvalidLengthApi
  6901. }
  6902. postIndex := iNdEx + msglen
  6903. if postIndex > l {
  6904. return io.ErrUnexpectedEOF
  6905. }
  6906. if m.AnchorLevel == nil {
  6907. m.AnchorLevel = &AnchorLevel{}
  6908. }
  6909. if err := m.AnchorLevel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6910. return err
  6911. }
  6912. iNdEx = postIndex
  6913. case 27:
  6914. if wireType != 0 {
  6915. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRoundSwitch", wireType)
  6916. }
  6917. m.AnchorRoundSwitch = 0
  6918. for shift := uint(0); ; shift += 7 {
  6919. if shift >= 64 {
  6920. return ErrIntOverflowApi
  6921. }
  6922. if iNdEx >= l {
  6923. return io.ErrUnexpectedEOF
  6924. }
  6925. b := dAtA[iNdEx]
  6926. iNdEx++
  6927. m.AnchorRoundSwitch |= (int64(b) & 0x7F) << shift
  6928. if b < 0x80 {
  6929. break
  6930. }
  6931. }
  6932. case 28:
  6933. if wireType != 0 {
  6934. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRoundStatus", wireType)
  6935. }
  6936. m.AnchorRoundStatus = 0
  6937. for shift := uint(0); ; shift += 7 {
  6938. if shift >= 64 {
  6939. return ErrIntOverflowApi
  6940. }
  6941. if iNdEx >= l {
  6942. return io.ErrUnexpectedEOF
  6943. }
  6944. b := dAtA[iNdEx]
  6945. iNdEx++
  6946. m.AnchorRoundStatus |= (int64(b) & 0x7F) << shift
  6947. if b < 0x80 {
  6948. break
  6949. }
  6950. }
  6951. case 29:
  6952. if wireType != 0 {
  6953. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRecordSwitch", wireType)
  6954. }
  6955. m.AnchorRecordSwitch = 0
  6956. for shift := uint(0); ; shift += 7 {
  6957. if shift >= 64 {
  6958. return ErrIntOverflowApi
  6959. }
  6960. if iNdEx >= l {
  6961. return io.ErrUnexpectedEOF
  6962. }
  6963. b := dAtA[iNdEx]
  6964. iNdEx++
  6965. m.AnchorRecordSwitch |= (int64(b) & 0x7F) << shift
  6966. if b < 0x80 {
  6967. break
  6968. }
  6969. }
  6970. case 30:
  6971. if wireType != 0 {
  6972. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRecordStatus", wireType)
  6973. }
  6974. m.AnchorRecordStatus = 0
  6975. for shift := uint(0); ; shift += 7 {
  6976. if shift >= 64 {
  6977. return ErrIntOverflowApi
  6978. }
  6979. if iNdEx >= l {
  6980. return io.ErrUnexpectedEOF
  6981. }
  6982. b := dAtA[iNdEx]
  6983. iNdEx++
  6984. m.AnchorRecordStatus |= (int64(b) & 0x7F) << shift
  6985. if b < 0x80 {
  6986. break
  6987. }
  6988. }
  6989. case 31:
  6990. if wireType != 0 {
  6991. return fmt.Errorf("proto: wrong wireType = %d for field AnchorSan", wireType)
  6992. }
  6993. m.AnchorSan = 0
  6994. for shift := uint(0); ; shift += 7 {
  6995. if shift >= 64 {
  6996. return ErrIntOverflowApi
  6997. }
  6998. if iNdEx >= l {
  6999. return io.ErrUnexpectedEOF
  7000. }
  7001. b := dAtA[iNdEx]
  7002. iNdEx++
  7003. m.AnchorSan |= (int64(b) & 0x7F) << shift
  7004. if b < 0x80 {
  7005. break
  7006. }
  7007. }
  7008. case 32:
  7009. if wireType != 0 {
  7010. return fmt.Errorf("proto: wrong wireType = %d for field LiveType", wireType)
  7011. }
  7012. m.LiveType = 0
  7013. for shift := uint(0); ; shift += 7 {
  7014. if shift >= 64 {
  7015. return ErrIntOverflowApi
  7016. }
  7017. if iNdEx >= l {
  7018. return io.ErrUnexpectedEOF
  7019. }
  7020. b := dAtA[iNdEx]
  7021. iNdEx++
  7022. m.LiveType |= (int64(b) & 0x7F) << shift
  7023. if b < 0x80 {
  7024. break
  7025. }
  7026. }
  7027. default:
  7028. iNdEx = preIndex
  7029. skippy, err := skipApi(dAtA[iNdEx:])
  7030. if err != nil {
  7031. return err
  7032. }
  7033. if skippy < 0 {
  7034. return ErrInvalidLengthApi
  7035. }
  7036. if (iNdEx + skippy) > l {
  7037. return io.ErrUnexpectedEOF
  7038. }
  7039. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7040. iNdEx += skippy
  7041. }
  7042. }
  7043. if iNdEx > l {
  7044. return io.ErrUnexpectedEOF
  7045. }
  7046. return nil
  7047. }
  7048. func (m *RoomByIDsReq) Unmarshal(dAtA []byte) error {
  7049. l := len(dAtA)
  7050. iNdEx := 0
  7051. for iNdEx < l {
  7052. preIndex := iNdEx
  7053. var wire uint64
  7054. for shift := uint(0); ; shift += 7 {
  7055. if shift >= 64 {
  7056. return ErrIntOverflowApi
  7057. }
  7058. if iNdEx >= l {
  7059. return io.ErrUnexpectedEOF
  7060. }
  7061. b := dAtA[iNdEx]
  7062. iNdEx++
  7063. wire |= (uint64(b) & 0x7F) << shift
  7064. if b < 0x80 {
  7065. break
  7066. }
  7067. }
  7068. fieldNum := int32(wire >> 3)
  7069. wireType := int(wire & 0x7)
  7070. if wireType == 4 {
  7071. return fmt.Errorf("proto: RoomByIDsReq: wiretype end group for non-group")
  7072. }
  7073. if fieldNum <= 0 {
  7074. return fmt.Errorf("proto: RoomByIDsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7075. }
  7076. switch fieldNum {
  7077. case 1:
  7078. if wireType == 0 {
  7079. var v int64
  7080. for shift := uint(0); ; shift += 7 {
  7081. if shift >= 64 {
  7082. return ErrIntOverflowApi
  7083. }
  7084. if iNdEx >= l {
  7085. return io.ErrUnexpectedEOF
  7086. }
  7087. b := dAtA[iNdEx]
  7088. iNdEx++
  7089. v |= (int64(b) & 0x7F) << shift
  7090. if b < 0x80 {
  7091. break
  7092. }
  7093. }
  7094. m.RoomIds = append(m.RoomIds, v)
  7095. } else if wireType == 2 {
  7096. var packedLen int
  7097. for shift := uint(0); ; shift += 7 {
  7098. if shift >= 64 {
  7099. return ErrIntOverflowApi
  7100. }
  7101. if iNdEx >= l {
  7102. return io.ErrUnexpectedEOF
  7103. }
  7104. b := dAtA[iNdEx]
  7105. iNdEx++
  7106. packedLen |= (int(b) & 0x7F) << shift
  7107. if b < 0x80 {
  7108. break
  7109. }
  7110. }
  7111. if packedLen < 0 {
  7112. return ErrInvalidLengthApi
  7113. }
  7114. postIndex := iNdEx + packedLen
  7115. if postIndex > l {
  7116. return io.ErrUnexpectedEOF
  7117. }
  7118. var elementCount int
  7119. var count int
  7120. for _, integer := range dAtA {
  7121. if integer < 128 {
  7122. count++
  7123. }
  7124. }
  7125. elementCount = count
  7126. if elementCount != 0 && len(m.RoomIds) == 0 {
  7127. m.RoomIds = make([]int64, 0, elementCount)
  7128. }
  7129. for iNdEx < postIndex {
  7130. var v int64
  7131. for shift := uint(0); ; shift += 7 {
  7132. if shift >= 64 {
  7133. return ErrIntOverflowApi
  7134. }
  7135. if iNdEx >= l {
  7136. return io.ErrUnexpectedEOF
  7137. }
  7138. b := dAtA[iNdEx]
  7139. iNdEx++
  7140. v |= (int64(b) & 0x7F) << shift
  7141. if b < 0x80 {
  7142. break
  7143. }
  7144. }
  7145. m.RoomIds = append(m.RoomIds, v)
  7146. }
  7147. } else {
  7148. return fmt.Errorf("proto: wrong wireType = %d for field RoomIds", wireType)
  7149. }
  7150. case 2:
  7151. if wireType == 0 {
  7152. var v int64
  7153. for shift := uint(0); ; shift += 7 {
  7154. if shift >= 64 {
  7155. return ErrIntOverflowApi
  7156. }
  7157. if iNdEx >= l {
  7158. return io.ErrUnexpectedEOF
  7159. }
  7160. b := dAtA[iNdEx]
  7161. iNdEx++
  7162. v |= (int64(b) & 0x7F) << shift
  7163. if b < 0x80 {
  7164. break
  7165. }
  7166. }
  7167. m.Uids = append(m.Uids, v)
  7168. } else if wireType == 2 {
  7169. var packedLen int
  7170. for shift := uint(0); ; shift += 7 {
  7171. if shift >= 64 {
  7172. return ErrIntOverflowApi
  7173. }
  7174. if iNdEx >= l {
  7175. return io.ErrUnexpectedEOF
  7176. }
  7177. b := dAtA[iNdEx]
  7178. iNdEx++
  7179. packedLen |= (int(b) & 0x7F) << shift
  7180. if b < 0x80 {
  7181. break
  7182. }
  7183. }
  7184. if packedLen < 0 {
  7185. return ErrInvalidLengthApi
  7186. }
  7187. postIndex := iNdEx + packedLen
  7188. if postIndex > l {
  7189. return io.ErrUnexpectedEOF
  7190. }
  7191. var elementCount int
  7192. var count int
  7193. for _, integer := range dAtA {
  7194. if integer < 128 {
  7195. count++
  7196. }
  7197. }
  7198. elementCount = count
  7199. if elementCount != 0 && len(m.Uids) == 0 {
  7200. m.Uids = make([]int64, 0, elementCount)
  7201. }
  7202. for iNdEx < postIndex {
  7203. var v int64
  7204. for shift := uint(0); ; shift += 7 {
  7205. if shift >= 64 {
  7206. return ErrIntOverflowApi
  7207. }
  7208. if iNdEx >= l {
  7209. return io.ErrUnexpectedEOF
  7210. }
  7211. b := dAtA[iNdEx]
  7212. iNdEx++
  7213. v |= (int64(b) & 0x7F) << shift
  7214. if b < 0x80 {
  7215. break
  7216. }
  7217. }
  7218. m.Uids = append(m.Uids, v)
  7219. }
  7220. } else {
  7221. return fmt.Errorf("proto: wrong wireType = %d for field Uids", wireType)
  7222. }
  7223. case 3:
  7224. if wireType != 2 {
  7225. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  7226. }
  7227. var stringLen uint64
  7228. for shift := uint(0); ; shift += 7 {
  7229. if shift >= 64 {
  7230. return ErrIntOverflowApi
  7231. }
  7232. if iNdEx >= l {
  7233. return io.ErrUnexpectedEOF
  7234. }
  7235. b := dAtA[iNdEx]
  7236. iNdEx++
  7237. stringLen |= (uint64(b) & 0x7F) << shift
  7238. if b < 0x80 {
  7239. break
  7240. }
  7241. }
  7242. intStringLen := int(stringLen)
  7243. if intStringLen < 0 {
  7244. return ErrInvalidLengthApi
  7245. }
  7246. postIndex := iNdEx + intStringLen
  7247. if postIndex > l {
  7248. return io.ErrUnexpectedEOF
  7249. }
  7250. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  7251. iNdEx = postIndex
  7252. case 4:
  7253. if wireType != 0 {
  7254. return fmt.Errorf("proto: wrong wireType = %d for field DefaultFields", wireType)
  7255. }
  7256. m.DefaultFields = 0
  7257. for shift := uint(0); ; shift += 7 {
  7258. if shift >= 64 {
  7259. return ErrIntOverflowApi
  7260. }
  7261. if iNdEx >= l {
  7262. return io.ErrUnexpectedEOF
  7263. }
  7264. b := dAtA[iNdEx]
  7265. iNdEx++
  7266. m.DefaultFields |= (int64(b) & 0x7F) << shift
  7267. if b < 0x80 {
  7268. break
  7269. }
  7270. }
  7271. default:
  7272. iNdEx = preIndex
  7273. skippy, err := skipApi(dAtA[iNdEx:])
  7274. if err != nil {
  7275. return err
  7276. }
  7277. if skippy < 0 {
  7278. return ErrInvalidLengthApi
  7279. }
  7280. if (iNdEx + skippy) > l {
  7281. return io.ErrUnexpectedEOF
  7282. }
  7283. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7284. iNdEx += skippy
  7285. }
  7286. }
  7287. if iNdEx > l {
  7288. return io.ErrUnexpectedEOF
  7289. }
  7290. return nil
  7291. }
  7292. func (m *RoomByIDsResp) Unmarshal(dAtA []byte) error {
  7293. l := len(dAtA)
  7294. iNdEx := 0
  7295. for iNdEx < l {
  7296. preIndex := iNdEx
  7297. var wire uint64
  7298. for shift := uint(0); ; shift += 7 {
  7299. if shift >= 64 {
  7300. return ErrIntOverflowApi
  7301. }
  7302. if iNdEx >= l {
  7303. return io.ErrUnexpectedEOF
  7304. }
  7305. b := dAtA[iNdEx]
  7306. iNdEx++
  7307. wire |= (uint64(b) & 0x7F) << shift
  7308. if b < 0x80 {
  7309. break
  7310. }
  7311. }
  7312. fieldNum := int32(wire >> 3)
  7313. wireType := int(wire & 0x7)
  7314. if wireType == 4 {
  7315. return fmt.Errorf("proto: RoomByIDsResp: wiretype end group for non-group")
  7316. }
  7317. if fieldNum <= 0 {
  7318. return fmt.Errorf("proto: RoomByIDsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  7319. }
  7320. switch fieldNum {
  7321. case 1:
  7322. if wireType != 2 {
  7323. return fmt.Errorf("proto: wrong wireType = %d for field RoomDataSet", wireType)
  7324. }
  7325. var msglen int
  7326. for shift := uint(0); ; shift += 7 {
  7327. if shift >= 64 {
  7328. return ErrIntOverflowApi
  7329. }
  7330. if iNdEx >= l {
  7331. return io.ErrUnexpectedEOF
  7332. }
  7333. b := dAtA[iNdEx]
  7334. iNdEx++
  7335. msglen |= (int(b) & 0x7F) << shift
  7336. if b < 0x80 {
  7337. break
  7338. }
  7339. }
  7340. if msglen < 0 {
  7341. return ErrInvalidLengthApi
  7342. }
  7343. postIndex := iNdEx + msglen
  7344. if postIndex > l {
  7345. return io.ErrUnexpectedEOF
  7346. }
  7347. if m.RoomDataSet == nil {
  7348. m.RoomDataSet = make(map[int64]*RoomData)
  7349. }
  7350. var mapkey int64
  7351. var mapvalue *RoomData
  7352. for iNdEx < postIndex {
  7353. entryPreIndex := iNdEx
  7354. var wire uint64
  7355. for shift := uint(0); ; shift += 7 {
  7356. if shift >= 64 {
  7357. return ErrIntOverflowApi
  7358. }
  7359. if iNdEx >= l {
  7360. return io.ErrUnexpectedEOF
  7361. }
  7362. b := dAtA[iNdEx]
  7363. iNdEx++
  7364. wire |= (uint64(b) & 0x7F) << shift
  7365. if b < 0x80 {
  7366. break
  7367. }
  7368. }
  7369. fieldNum := int32(wire >> 3)
  7370. if fieldNum == 1 {
  7371. for shift := uint(0); ; shift += 7 {
  7372. if shift >= 64 {
  7373. return ErrIntOverflowApi
  7374. }
  7375. if iNdEx >= l {
  7376. return io.ErrUnexpectedEOF
  7377. }
  7378. b := dAtA[iNdEx]
  7379. iNdEx++
  7380. mapkey |= (int64(b) & 0x7F) << shift
  7381. if b < 0x80 {
  7382. break
  7383. }
  7384. }
  7385. } else if fieldNum == 2 {
  7386. var mapmsglen int
  7387. for shift := uint(0); ; shift += 7 {
  7388. if shift >= 64 {
  7389. return ErrIntOverflowApi
  7390. }
  7391. if iNdEx >= l {
  7392. return io.ErrUnexpectedEOF
  7393. }
  7394. b := dAtA[iNdEx]
  7395. iNdEx++
  7396. mapmsglen |= (int(b) & 0x7F) << shift
  7397. if b < 0x80 {
  7398. break
  7399. }
  7400. }
  7401. if mapmsglen < 0 {
  7402. return ErrInvalidLengthApi
  7403. }
  7404. postmsgIndex := iNdEx + mapmsglen
  7405. if mapmsglen < 0 {
  7406. return ErrInvalidLengthApi
  7407. }
  7408. if postmsgIndex > l {
  7409. return io.ErrUnexpectedEOF
  7410. }
  7411. mapvalue = &RoomData{}
  7412. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  7413. return err
  7414. }
  7415. iNdEx = postmsgIndex
  7416. } else {
  7417. iNdEx = entryPreIndex
  7418. skippy, err := skipApi(dAtA[iNdEx:])
  7419. if err != nil {
  7420. return err
  7421. }
  7422. if skippy < 0 {
  7423. return ErrInvalidLengthApi
  7424. }
  7425. if (iNdEx + skippy) > postIndex {
  7426. return io.ErrUnexpectedEOF
  7427. }
  7428. iNdEx += skippy
  7429. }
  7430. }
  7431. m.RoomDataSet[mapkey] = mapvalue
  7432. iNdEx = postIndex
  7433. default:
  7434. iNdEx = preIndex
  7435. skippy, err := skipApi(dAtA[iNdEx:])
  7436. if err != nil {
  7437. return err
  7438. }
  7439. if skippy < 0 {
  7440. return ErrInvalidLengthApi
  7441. }
  7442. if (iNdEx + skippy) > l {
  7443. return io.ErrUnexpectedEOF
  7444. }
  7445. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7446. iNdEx += skippy
  7447. }
  7448. }
  7449. if iNdEx > l {
  7450. return io.ErrUnexpectedEOF
  7451. }
  7452. return nil
  7453. }
  7454. func (m *RoomOnlineListReq) Unmarshal(dAtA []byte) error {
  7455. l := len(dAtA)
  7456. iNdEx := 0
  7457. for iNdEx < l {
  7458. preIndex := iNdEx
  7459. var wire uint64
  7460. for shift := uint(0); ; shift += 7 {
  7461. if shift >= 64 {
  7462. return ErrIntOverflowApi
  7463. }
  7464. if iNdEx >= l {
  7465. return io.ErrUnexpectedEOF
  7466. }
  7467. b := dAtA[iNdEx]
  7468. iNdEx++
  7469. wire |= (uint64(b) & 0x7F) << shift
  7470. if b < 0x80 {
  7471. break
  7472. }
  7473. }
  7474. fieldNum := int32(wire >> 3)
  7475. wireType := int(wire & 0x7)
  7476. if wireType == 4 {
  7477. return fmt.Errorf("proto: RoomOnlineListReq: wiretype end group for non-group")
  7478. }
  7479. if fieldNum <= 0 {
  7480. return fmt.Errorf("proto: RoomOnlineListReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7481. }
  7482. switch fieldNum {
  7483. case 1:
  7484. if wireType != 2 {
  7485. return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType)
  7486. }
  7487. var stringLen uint64
  7488. for shift := uint(0); ; shift += 7 {
  7489. if shift >= 64 {
  7490. return ErrIntOverflowApi
  7491. }
  7492. if iNdEx >= l {
  7493. return io.ErrUnexpectedEOF
  7494. }
  7495. b := dAtA[iNdEx]
  7496. iNdEx++
  7497. stringLen |= (uint64(b) & 0x7F) << shift
  7498. if b < 0x80 {
  7499. break
  7500. }
  7501. }
  7502. intStringLen := int(stringLen)
  7503. if intStringLen < 0 {
  7504. return ErrInvalidLengthApi
  7505. }
  7506. postIndex := iNdEx + intStringLen
  7507. if postIndex > l {
  7508. return io.ErrUnexpectedEOF
  7509. }
  7510. m.Filter = string(dAtA[iNdEx:postIndex])
  7511. iNdEx = postIndex
  7512. case 2:
  7513. if wireType != 2 {
  7514. return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType)
  7515. }
  7516. var stringLen uint64
  7517. for shift := uint(0); ; shift += 7 {
  7518. if shift >= 64 {
  7519. return ErrIntOverflowApi
  7520. }
  7521. if iNdEx >= l {
  7522. return io.ErrUnexpectedEOF
  7523. }
  7524. b := dAtA[iNdEx]
  7525. iNdEx++
  7526. stringLen |= (uint64(b) & 0x7F) << shift
  7527. if b < 0x80 {
  7528. break
  7529. }
  7530. }
  7531. intStringLen := int(stringLen)
  7532. if intStringLen < 0 {
  7533. return ErrInvalidLengthApi
  7534. }
  7535. postIndex := iNdEx + intStringLen
  7536. if postIndex > l {
  7537. return io.ErrUnexpectedEOF
  7538. }
  7539. m.Sort = string(dAtA[iNdEx:postIndex])
  7540. iNdEx = postIndex
  7541. case 3:
  7542. if wireType != 0 {
  7543. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  7544. }
  7545. m.Page = 0
  7546. for shift := uint(0); ; shift += 7 {
  7547. if shift >= 64 {
  7548. return ErrIntOverflowApi
  7549. }
  7550. if iNdEx >= l {
  7551. return io.ErrUnexpectedEOF
  7552. }
  7553. b := dAtA[iNdEx]
  7554. iNdEx++
  7555. m.Page |= (int64(b) & 0x7F) << shift
  7556. if b < 0x80 {
  7557. break
  7558. }
  7559. }
  7560. case 4:
  7561. if wireType != 0 {
  7562. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  7563. }
  7564. m.PageSize = 0
  7565. for shift := uint(0); ; shift += 7 {
  7566. if shift >= 64 {
  7567. return ErrIntOverflowApi
  7568. }
  7569. if iNdEx >= l {
  7570. return io.ErrUnexpectedEOF
  7571. }
  7572. b := dAtA[iNdEx]
  7573. iNdEx++
  7574. m.PageSize |= (int64(b) & 0x7F) << shift
  7575. if b < 0x80 {
  7576. break
  7577. }
  7578. }
  7579. case 5:
  7580. if wireType != 2 {
  7581. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  7582. }
  7583. var stringLen uint64
  7584. for shift := uint(0); ; shift += 7 {
  7585. if shift >= 64 {
  7586. return ErrIntOverflowApi
  7587. }
  7588. if iNdEx >= l {
  7589. return io.ErrUnexpectedEOF
  7590. }
  7591. b := dAtA[iNdEx]
  7592. iNdEx++
  7593. stringLen |= (uint64(b) & 0x7F) << shift
  7594. if b < 0x80 {
  7595. break
  7596. }
  7597. }
  7598. intStringLen := int(stringLen)
  7599. if intStringLen < 0 {
  7600. return ErrInvalidLengthApi
  7601. }
  7602. postIndex := iNdEx + intStringLen
  7603. if postIndex > l {
  7604. return io.ErrUnexpectedEOF
  7605. }
  7606. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  7607. iNdEx = postIndex
  7608. default:
  7609. iNdEx = preIndex
  7610. skippy, err := skipApi(dAtA[iNdEx:])
  7611. if err != nil {
  7612. return err
  7613. }
  7614. if skippy < 0 {
  7615. return ErrInvalidLengthApi
  7616. }
  7617. if (iNdEx + skippy) > l {
  7618. return io.ErrUnexpectedEOF
  7619. }
  7620. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7621. iNdEx += skippy
  7622. }
  7623. }
  7624. if iNdEx > l {
  7625. return io.ErrUnexpectedEOF
  7626. }
  7627. return nil
  7628. }
  7629. func (m *RoomOnlineListResp) Unmarshal(dAtA []byte) error {
  7630. l := len(dAtA)
  7631. iNdEx := 0
  7632. for iNdEx < l {
  7633. preIndex := iNdEx
  7634. var wire uint64
  7635. for shift := uint(0); ; shift += 7 {
  7636. if shift >= 64 {
  7637. return ErrIntOverflowApi
  7638. }
  7639. if iNdEx >= l {
  7640. return io.ErrUnexpectedEOF
  7641. }
  7642. b := dAtA[iNdEx]
  7643. iNdEx++
  7644. wire |= (uint64(b) & 0x7F) << shift
  7645. if b < 0x80 {
  7646. break
  7647. }
  7648. }
  7649. fieldNum := int32(wire >> 3)
  7650. wireType := int(wire & 0x7)
  7651. if wireType == 4 {
  7652. return fmt.Errorf("proto: RoomOnlineListResp: wiretype end group for non-group")
  7653. }
  7654. if fieldNum <= 0 {
  7655. return fmt.Errorf("proto: RoomOnlineListResp: illegal tag %d (wire type %d)", fieldNum, wire)
  7656. }
  7657. switch fieldNum {
  7658. case 1:
  7659. if wireType != 2 {
  7660. return fmt.Errorf("proto: wrong wireType = %d for field RoomDataList", wireType)
  7661. }
  7662. var msglen int
  7663. for shift := uint(0); ; shift += 7 {
  7664. if shift >= 64 {
  7665. return ErrIntOverflowApi
  7666. }
  7667. if iNdEx >= l {
  7668. return io.ErrUnexpectedEOF
  7669. }
  7670. b := dAtA[iNdEx]
  7671. iNdEx++
  7672. msglen |= (int(b) & 0x7F) << shift
  7673. if b < 0x80 {
  7674. break
  7675. }
  7676. }
  7677. if msglen < 0 {
  7678. return ErrInvalidLengthApi
  7679. }
  7680. postIndex := iNdEx + msglen
  7681. if postIndex > l {
  7682. return io.ErrUnexpectedEOF
  7683. }
  7684. if m.RoomDataList == nil {
  7685. m.RoomDataList = make(map[int64]*RoomData)
  7686. }
  7687. var mapkey int64
  7688. var mapvalue *RoomData
  7689. for iNdEx < postIndex {
  7690. entryPreIndex := iNdEx
  7691. var wire uint64
  7692. for shift := uint(0); ; shift += 7 {
  7693. if shift >= 64 {
  7694. return ErrIntOverflowApi
  7695. }
  7696. if iNdEx >= l {
  7697. return io.ErrUnexpectedEOF
  7698. }
  7699. b := dAtA[iNdEx]
  7700. iNdEx++
  7701. wire |= (uint64(b) & 0x7F) << shift
  7702. if b < 0x80 {
  7703. break
  7704. }
  7705. }
  7706. fieldNum := int32(wire >> 3)
  7707. if fieldNum == 1 {
  7708. for shift := uint(0); ; shift += 7 {
  7709. if shift >= 64 {
  7710. return ErrIntOverflowApi
  7711. }
  7712. if iNdEx >= l {
  7713. return io.ErrUnexpectedEOF
  7714. }
  7715. b := dAtA[iNdEx]
  7716. iNdEx++
  7717. mapkey |= (int64(b) & 0x7F) << shift
  7718. if b < 0x80 {
  7719. break
  7720. }
  7721. }
  7722. } else if fieldNum == 2 {
  7723. var mapmsglen int
  7724. for shift := uint(0); ; shift += 7 {
  7725. if shift >= 64 {
  7726. return ErrIntOverflowApi
  7727. }
  7728. if iNdEx >= l {
  7729. return io.ErrUnexpectedEOF
  7730. }
  7731. b := dAtA[iNdEx]
  7732. iNdEx++
  7733. mapmsglen |= (int(b) & 0x7F) << shift
  7734. if b < 0x80 {
  7735. break
  7736. }
  7737. }
  7738. if mapmsglen < 0 {
  7739. return ErrInvalidLengthApi
  7740. }
  7741. postmsgIndex := iNdEx + mapmsglen
  7742. if mapmsglen < 0 {
  7743. return ErrInvalidLengthApi
  7744. }
  7745. if postmsgIndex > l {
  7746. return io.ErrUnexpectedEOF
  7747. }
  7748. mapvalue = &RoomData{}
  7749. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  7750. return err
  7751. }
  7752. iNdEx = postmsgIndex
  7753. } else {
  7754. iNdEx = entryPreIndex
  7755. skippy, err := skipApi(dAtA[iNdEx:])
  7756. if err != nil {
  7757. return err
  7758. }
  7759. if skippy < 0 {
  7760. return ErrInvalidLengthApi
  7761. }
  7762. if (iNdEx + skippy) > postIndex {
  7763. return io.ErrUnexpectedEOF
  7764. }
  7765. iNdEx += skippy
  7766. }
  7767. }
  7768. m.RoomDataList[mapkey] = mapvalue
  7769. iNdEx = postIndex
  7770. default:
  7771. iNdEx = preIndex
  7772. skippy, err := skipApi(dAtA[iNdEx:])
  7773. if err != nil {
  7774. return err
  7775. }
  7776. if skippy < 0 {
  7777. return ErrInvalidLengthApi
  7778. }
  7779. if (iNdEx + skippy) > l {
  7780. return io.ErrUnexpectedEOF
  7781. }
  7782. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7783. iNdEx += skippy
  7784. }
  7785. }
  7786. if iNdEx > l {
  7787. return io.ErrUnexpectedEOF
  7788. }
  7789. return nil
  7790. }
  7791. func (m *RoomOnlineListByAreaReq) Unmarshal(dAtA []byte) error {
  7792. l := len(dAtA)
  7793. iNdEx := 0
  7794. for iNdEx < l {
  7795. preIndex := iNdEx
  7796. var wire uint64
  7797. for shift := uint(0); ; shift += 7 {
  7798. if shift >= 64 {
  7799. return ErrIntOverflowApi
  7800. }
  7801. if iNdEx >= l {
  7802. return io.ErrUnexpectedEOF
  7803. }
  7804. b := dAtA[iNdEx]
  7805. iNdEx++
  7806. wire |= (uint64(b) & 0x7F) << shift
  7807. if b < 0x80 {
  7808. break
  7809. }
  7810. }
  7811. fieldNum := int32(wire >> 3)
  7812. wireType := int(wire & 0x7)
  7813. if wireType == 4 {
  7814. return fmt.Errorf("proto: RoomOnlineListByAreaReq: wiretype end group for non-group")
  7815. }
  7816. if fieldNum <= 0 {
  7817. return fmt.Errorf("proto: RoomOnlineListByAreaReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7818. }
  7819. switch fieldNum {
  7820. case 1:
  7821. if wireType == 0 {
  7822. var v int64
  7823. for shift := uint(0); ; shift += 7 {
  7824. if shift >= 64 {
  7825. return ErrIntOverflowApi
  7826. }
  7827. if iNdEx >= l {
  7828. return io.ErrUnexpectedEOF
  7829. }
  7830. b := dAtA[iNdEx]
  7831. iNdEx++
  7832. v |= (int64(b) & 0x7F) << shift
  7833. if b < 0x80 {
  7834. break
  7835. }
  7836. }
  7837. m.AreaIds = append(m.AreaIds, v)
  7838. } else if wireType == 2 {
  7839. var packedLen int
  7840. for shift := uint(0); ; shift += 7 {
  7841. if shift >= 64 {
  7842. return ErrIntOverflowApi
  7843. }
  7844. if iNdEx >= l {
  7845. return io.ErrUnexpectedEOF
  7846. }
  7847. b := dAtA[iNdEx]
  7848. iNdEx++
  7849. packedLen |= (int(b) & 0x7F) << shift
  7850. if b < 0x80 {
  7851. break
  7852. }
  7853. }
  7854. if packedLen < 0 {
  7855. return ErrInvalidLengthApi
  7856. }
  7857. postIndex := iNdEx + packedLen
  7858. if postIndex > l {
  7859. return io.ErrUnexpectedEOF
  7860. }
  7861. var elementCount int
  7862. var count int
  7863. for _, integer := range dAtA {
  7864. if integer < 128 {
  7865. count++
  7866. }
  7867. }
  7868. elementCount = count
  7869. if elementCount != 0 && len(m.AreaIds) == 0 {
  7870. m.AreaIds = make([]int64, 0, elementCount)
  7871. }
  7872. for iNdEx < postIndex {
  7873. var v int64
  7874. for shift := uint(0); ; shift += 7 {
  7875. if shift >= 64 {
  7876. return ErrIntOverflowApi
  7877. }
  7878. if iNdEx >= l {
  7879. return io.ErrUnexpectedEOF
  7880. }
  7881. b := dAtA[iNdEx]
  7882. iNdEx++
  7883. v |= (int64(b) & 0x7F) << shift
  7884. if b < 0x80 {
  7885. break
  7886. }
  7887. }
  7888. m.AreaIds = append(m.AreaIds, v)
  7889. }
  7890. } else {
  7891. return fmt.Errorf("proto: wrong wireType = %d for field AreaIds", wireType)
  7892. }
  7893. default:
  7894. iNdEx = preIndex
  7895. skippy, err := skipApi(dAtA[iNdEx:])
  7896. if err != nil {
  7897. return err
  7898. }
  7899. if skippy < 0 {
  7900. return ErrInvalidLengthApi
  7901. }
  7902. if (iNdEx + skippy) > l {
  7903. return io.ErrUnexpectedEOF
  7904. }
  7905. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7906. iNdEx += skippy
  7907. }
  7908. }
  7909. if iNdEx > l {
  7910. return io.ErrUnexpectedEOF
  7911. }
  7912. return nil
  7913. }
  7914. func (m *RoomOnlineListByAreaResp) Unmarshal(dAtA []byte) error {
  7915. l := len(dAtA)
  7916. iNdEx := 0
  7917. for iNdEx < l {
  7918. preIndex := iNdEx
  7919. var wire uint64
  7920. for shift := uint(0); ; shift += 7 {
  7921. if shift >= 64 {
  7922. return ErrIntOverflowApi
  7923. }
  7924. if iNdEx >= l {
  7925. return io.ErrUnexpectedEOF
  7926. }
  7927. b := dAtA[iNdEx]
  7928. iNdEx++
  7929. wire |= (uint64(b) & 0x7F) << shift
  7930. if b < 0x80 {
  7931. break
  7932. }
  7933. }
  7934. fieldNum := int32(wire >> 3)
  7935. wireType := int(wire & 0x7)
  7936. if wireType == 4 {
  7937. return fmt.Errorf("proto: RoomOnlineListByAreaResp: wiretype end group for non-group")
  7938. }
  7939. if fieldNum <= 0 {
  7940. return fmt.Errorf("proto: RoomOnlineListByAreaResp: illegal tag %d (wire type %d)", fieldNum, wire)
  7941. }
  7942. switch fieldNum {
  7943. case 1:
  7944. if wireType == 0 {
  7945. var v int64
  7946. for shift := uint(0); ; shift += 7 {
  7947. if shift >= 64 {
  7948. return ErrIntOverflowApi
  7949. }
  7950. if iNdEx >= l {
  7951. return io.ErrUnexpectedEOF
  7952. }
  7953. b := dAtA[iNdEx]
  7954. iNdEx++
  7955. v |= (int64(b) & 0x7F) << shift
  7956. if b < 0x80 {
  7957. break
  7958. }
  7959. }
  7960. m.RoomIds = append(m.RoomIds, v)
  7961. } else if wireType == 2 {
  7962. var packedLen int
  7963. for shift := uint(0); ; shift += 7 {
  7964. if shift >= 64 {
  7965. return ErrIntOverflowApi
  7966. }
  7967. if iNdEx >= l {
  7968. return io.ErrUnexpectedEOF
  7969. }
  7970. b := dAtA[iNdEx]
  7971. iNdEx++
  7972. packedLen |= (int(b) & 0x7F) << shift
  7973. if b < 0x80 {
  7974. break
  7975. }
  7976. }
  7977. if packedLen < 0 {
  7978. return ErrInvalidLengthApi
  7979. }
  7980. postIndex := iNdEx + packedLen
  7981. if postIndex > l {
  7982. return io.ErrUnexpectedEOF
  7983. }
  7984. var elementCount int
  7985. var count int
  7986. for _, integer := range dAtA {
  7987. if integer < 128 {
  7988. count++
  7989. }
  7990. }
  7991. elementCount = count
  7992. if elementCount != 0 && len(m.RoomIds) == 0 {
  7993. m.RoomIds = make([]int64, 0, elementCount)
  7994. }
  7995. for iNdEx < postIndex {
  7996. var v int64
  7997. for shift := uint(0); ; shift += 7 {
  7998. if shift >= 64 {
  7999. return ErrIntOverflowApi
  8000. }
  8001. if iNdEx >= l {
  8002. return io.ErrUnexpectedEOF
  8003. }
  8004. b := dAtA[iNdEx]
  8005. iNdEx++
  8006. v |= (int64(b) & 0x7F) << shift
  8007. if b < 0x80 {
  8008. break
  8009. }
  8010. }
  8011. m.RoomIds = append(m.RoomIds, v)
  8012. }
  8013. } else {
  8014. return fmt.Errorf("proto: wrong wireType = %d for field RoomIds", wireType)
  8015. }
  8016. default:
  8017. iNdEx = preIndex
  8018. skippy, err := skipApi(dAtA[iNdEx:])
  8019. if err != nil {
  8020. return err
  8021. }
  8022. if skippy < 0 {
  8023. return ErrInvalidLengthApi
  8024. }
  8025. if (iNdEx + skippy) > l {
  8026. return io.ErrUnexpectedEOF
  8027. }
  8028. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8029. iNdEx += skippy
  8030. }
  8031. }
  8032. if iNdEx > l {
  8033. return io.ErrUnexpectedEOF
  8034. }
  8035. return nil
  8036. }
  8037. func (m *RoomCreateReq) Unmarshal(dAtA []byte) error {
  8038. l := len(dAtA)
  8039. iNdEx := 0
  8040. for iNdEx < l {
  8041. preIndex := iNdEx
  8042. var wire uint64
  8043. for shift := uint(0); ; shift += 7 {
  8044. if shift >= 64 {
  8045. return ErrIntOverflowApi
  8046. }
  8047. if iNdEx >= l {
  8048. return io.ErrUnexpectedEOF
  8049. }
  8050. b := dAtA[iNdEx]
  8051. iNdEx++
  8052. wire |= (uint64(b) & 0x7F) << shift
  8053. if b < 0x80 {
  8054. break
  8055. }
  8056. }
  8057. fieldNum := int32(wire >> 3)
  8058. wireType := int(wire & 0x7)
  8059. if wireType == 4 {
  8060. return fmt.Errorf("proto: RoomCreateReq: wiretype end group for non-group")
  8061. }
  8062. if fieldNum <= 0 {
  8063. return fmt.Errorf("proto: RoomCreateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8064. }
  8065. switch fieldNum {
  8066. case 1:
  8067. if wireType != 0 {
  8068. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  8069. }
  8070. m.Uid = 0
  8071. for shift := uint(0); ; shift += 7 {
  8072. if shift >= 64 {
  8073. return ErrIntOverflowApi
  8074. }
  8075. if iNdEx >= l {
  8076. return io.ErrUnexpectedEOF
  8077. }
  8078. b := dAtA[iNdEx]
  8079. iNdEx++
  8080. m.Uid |= (int64(b) & 0x7F) << shift
  8081. if b < 0x80 {
  8082. break
  8083. }
  8084. }
  8085. case 2:
  8086. if wireType != 0 {
  8087. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  8088. }
  8089. m.RoomId = 0
  8090. for shift := uint(0); ; shift += 7 {
  8091. if shift >= 64 {
  8092. return ErrIntOverflowApi
  8093. }
  8094. if iNdEx >= l {
  8095. return io.ErrUnexpectedEOF
  8096. }
  8097. b := dAtA[iNdEx]
  8098. iNdEx++
  8099. m.RoomId |= (int64(b) & 0x7F) << shift
  8100. if b < 0x80 {
  8101. break
  8102. }
  8103. }
  8104. default:
  8105. iNdEx = preIndex
  8106. skippy, err := skipApi(dAtA[iNdEx:])
  8107. if err != nil {
  8108. return err
  8109. }
  8110. if skippy < 0 {
  8111. return ErrInvalidLengthApi
  8112. }
  8113. if (iNdEx + skippy) > l {
  8114. return io.ErrUnexpectedEOF
  8115. }
  8116. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8117. iNdEx += skippy
  8118. }
  8119. }
  8120. if iNdEx > l {
  8121. return io.ErrUnexpectedEOF
  8122. }
  8123. return nil
  8124. }
  8125. func (m *RoomCreateResp) Unmarshal(dAtA []byte) error {
  8126. l := len(dAtA)
  8127. iNdEx := 0
  8128. for iNdEx < l {
  8129. preIndex := iNdEx
  8130. var wire uint64
  8131. for shift := uint(0); ; shift += 7 {
  8132. if shift >= 64 {
  8133. return ErrIntOverflowApi
  8134. }
  8135. if iNdEx >= l {
  8136. return io.ErrUnexpectedEOF
  8137. }
  8138. b := dAtA[iNdEx]
  8139. iNdEx++
  8140. wire |= (uint64(b) & 0x7F) << shift
  8141. if b < 0x80 {
  8142. break
  8143. }
  8144. }
  8145. fieldNum := int32(wire >> 3)
  8146. wireType := int(wire & 0x7)
  8147. if wireType == 4 {
  8148. return fmt.Errorf("proto: RoomCreateResp: wiretype end group for non-group")
  8149. }
  8150. if fieldNum <= 0 {
  8151. return fmt.Errorf("proto: RoomCreateResp: illegal tag %d (wire type %d)", fieldNum, wire)
  8152. }
  8153. switch fieldNum {
  8154. case 1:
  8155. if wireType != 0 {
  8156. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  8157. }
  8158. m.RoomId = 0
  8159. for shift := uint(0); ; shift += 7 {
  8160. if shift >= 64 {
  8161. return ErrIntOverflowApi
  8162. }
  8163. if iNdEx >= l {
  8164. return io.ErrUnexpectedEOF
  8165. }
  8166. b := dAtA[iNdEx]
  8167. iNdEx++
  8168. m.RoomId |= (int64(b) & 0x7F) << shift
  8169. if b < 0x80 {
  8170. break
  8171. }
  8172. }
  8173. default:
  8174. iNdEx = preIndex
  8175. skippy, err := skipApi(dAtA[iNdEx:])
  8176. if err != nil {
  8177. return err
  8178. }
  8179. if skippy < 0 {
  8180. return ErrInvalidLengthApi
  8181. }
  8182. if (iNdEx + skippy) > l {
  8183. return io.ErrUnexpectedEOF
  8184. }
  8185. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8186. iNdEx += skippy
  8187. }
  8188. }
  8189. if iNdEx > l {
  8190. return io.ErrUnexpectedEOF
  8191. }
  8192. return nil
  8193. }
  8194. func (m *UpdateResp) Unmarshal(dAtA []byte) error {
  8195. l := len(dAtA)
  8196. iNdEx := 0
  8197. for iNdEx < l {
  8198. preIndex := iNdEx
  8199. var wire uint64
  8200. for shift := uint(0); ; shift += 7 {
  8201. if shift >= 64 {
  8202. return ErrIntOverflowApi
  8203. }
  8204. if iNdEx >= l {
  8205. return io.ErrUnexpectedEOF
  8206. }
  8207. b := dAtA[iNdEx]
  8208. iNdEx++
  8209. wire |= (uint64(b) & 0x7F) << shift
  8210. if b < 0x80 {
  8211. break
  8212. }
  8213. }
  8214. fieldNum := int32(wire >> 3)
  8215. wireType := int(wire & 0x7)
  8216. if wireType == 4 {
  8217. return fmt.Errorf("proto: UpdateResp: wiretype end group for non-group")
  8218. }
  8219. if fieldNum <= 0 {
  8220. return fmt.Errorf("proto: UpdateResp: illegal tag %d (wire type %d)", fieldNum, wire)
  8221. }
  8222. switch fieldNum {
  8223. case 1:
  8224. if wireType != 0 {
  8225. return fmt.Errorf("proto: wrong wireType = %d for field AffectedRows", wireType)
  8226. }
  8227. m.AffectedRows = 0
  8228. for shift := uint(0); ; shift += 7 {
  8229. if shift >= 64 {
  8230. return ErrIntOverflowApi
  8231. }
  8232. if iNdEx >= l {
  8233. return io.ErrUnexpectedEOF
  8234. }
  8235. b := dAtA[iNdEx]
  8236. iNdEx++
  8237. m.AffectedRows |= (int64(b) & 0x7F) << shift
  8238. if b < 0x80 {
  8239. break
  8240. }
  8241. }
  8242. default:
  8243. iNdEx = preIndex
  8244. skippy, err := skipApi(dAtA[iNdEx:])
  8245. if err != nil {
  8246. return err
  8247. }
  8248. if skippy < 0 {
  8249. return ErrInvalidLengthApi
  8250. }
  8251. if (iNdEx + skippy) > l {
  8252. return io.ErrUnexpectedEOF
  8253. }
  8254. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8255. iNdEx += skippy
  8256. }
  8257. }
  8258. if iNdEx > l {
  8259. return io.ErrUnexpectedEOF
  8260. }
  8261. return nil
  8262. }
  8263. func (m *RoomUpdateReq) Unmarshal(dAtA []byte) error {
  8264. l := len(dAtA)
  8265. iNdEx := 0
  8266. for iNdEx < l {
  8267. preIndex := iNdEx
  8268. var wire uint64
  8269. for shift := uint(0); ; shift += 7 {
  8270. if shift >= 64 {
  8271. return ErrIntOverflowApi
  8272. }
  8273. if iNdEx >= l {
  8274. return io.ErrUnexpectedEOF
  8275. }
  8276. b := dAtA[iNdEx]
  8277. iNdEx++
  8278. wire |= (uint64(b) & 0x7F) << shift
  8279. if b < 0x80 {
  8280. break
  8281. }
  8282. }
  8283. fieldNum := int32(wire >> 3)
  8284. wireType := int(wire & 0x7)
  8285. if wireType == 4 {
  8286. return fmt.Errorf("proto: RoomUpdateReq: wiretype end group for non-group")
  8287. }
  8288. if fieldNum <= 0 {
  8289. return fmt.Errorf("proto: RoomUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8290. }
  8291. switch fieldNum {
  8292. case 1:
  8293. if wireType != 2 {
  8294. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  8295. }
  8296. var stringLen uint64
  8297. for shift := uint(0); ; shift += 7 {
  8298. if shift >= 64 {
  8299. return ErrIntOverflowApi
  8300. }
  8301. if iNdEx >= l {
  8302. return io.ErrUnexpectedEOF
  8303. }
  8304. b := dAtA[iNdEx]
  8305. iNdEx++
  8306. stringLen |= (uint64(b) & 0x7F) << shift
  8307. if b < 0x80 {
  8308. break
  8309. }
  8310. }
  8311. intStringLen := int(stringLen)
  8312. if intStringLen < 0 {
  8313. return ErrInvalidLengthApi
  8314. }
  8315. postIndex := iNdEx + intStringLen
  8316. if postIndex > l {
  8317. return io.ErrUnexpectedEOF
  8318. }
  8319. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  8320. iNdEx = postIndex
  8321. case 2:
  8322. if wireType != 0 {
  8323. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  8324. }
  8325. m.RoomId = 0
  8326. for shift := uint(0); ; shift += 7 {
  8327. if shift >= 64 {
  8328. return ErrIntOverflowApi
  8329. }
  8330. if iNdEx >= l {
  8331. return io.ErrUnexpectedEOF
  8332. }
  8333. b := dAtA[iNdEx]
  8334. iNdEx++
  8335. m.RoomId |= (int64(b) & 0x7F) << shift
  8336. if b < 0x80 {
  8337. break
  8338. }
  8339. }
  8340. case 3:
  8341. if wireType != 2 {
  8342. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  8343. }
  8344. var stringLen uint64
  8345. for shift := uint(0); ; shift += 7 {
  8346. if shift >= 64 {
  8347. return ErrIntOverflowApi
  8348. }
  8349. if iNdEx >= l {
  8350. return io.ErrUnexpectedEOF
  8351. }
  8352. b := dAtA[iNdEx]
  8353. iNdEx++
  8354. stringLen |= (uint64(b) & 0x7F) << shift
  8355. if b < 0x80 {
  8356. break
  8357. }
  8358. }
  8359. intStringLen := int(stringLen)
  8360. if intStringLen < 0 {
  8361. return ErrInvalidLengthApi
  8362. }
  8363. postIndex := iNdEx + intStringLen
  8364. if postIndex > l {
  8365. return io.ErrUnexpectedEOF
  8366. }
  8367. m.Title = string(dAtA[iNdEx:postIndex])
  8368. iNdEx = postIndex
  8369. case 4:
  8370. if wireType != 2 {
  8371. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  8372. }
  8373. var stringLen uint64
  8374. for shift := uint(0); ; shift += 7 {
  8375. if shift >= 64 {
  8376. return ErrIntOverflowApi
  8377. }
  8378. if iNdEx >= l {
  8379. return io.ErrUnexpectedEOF
  8380. }
  8381. b := dAtA[iNdEx]
  8382. iNdEx++
  8383. stringLen |= (uint64(b) & 0x7F) << shift
  8384. if b < 0x80 {
  8385. break
  8386. }
  8387. }
  8388. intStringLen := int(stringLen)
  8389. if intStringLen < 0 {
  8390. return ErrInvalidLengthApi
  8391. }
  8392. postIndex := iNdEx + intStringLen
  8393. if postIndex > l {
  8394. return io.ErrUnexpectedEOF
  8395. }
  8396. m.Cover = string(dAtA[iNdEx:postIndex])
  8397. iNdEx = postIndex
  8398. case 5:
  8399. if wireType != 2 {
  8400. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  8401. }
  8402. var stringLen uint64
  8403. for shift := uint(0); ; shift += 7 {
  8404. if shift >= 64 {
  8405. return ErrIntOverflowApi
  8406. }
  8407. if iNdEx >= l {
  8408. return io.ErrUnexpectedEOF
  8409. }
  8410. b := dAtA[iNdEx]
  8411. iNdEx++
  8412. stringLen |= (uint64(b) & 0x7F) << shift
  8413. if b < 0x80 {
  8414. break
  8415. }
  8416. }
  8417. intStringLen := int(stringLen)
  8418. if intStringLen < 0 {
  8419. return ErrInvalidLengthApi
  8420. }
  8421. postIndex := iNdEx + intStringLen
  8422. if postIndex > l {
  8423. return io.ErrUnexpectedEOF
  8424. }
  8425. m.Tags = string(dAtA[iNdEx:postIndex])
  8426. iNdEx = postIndex
  8427. case 6:
  8428. if wireType != 2 {
  8429. return fmt.Errorf("proto: wrong wireType = %d for field Background", wireType)
  8430. }
  8431. var stringLen uint64
  8432. for shift := uint(0); ; shift += 7 {
  8433. if shift >= 64 {
  8434. return ErrIntOverflowApi
  8435. }
  8436. if iNdEx >= l {
  8437. return io.ErrUnexpectedEOF
  8438. }
  8439. b := dAtA[iNdEx]
  8440. iNdEx++
  8441. stringLen |= (uint64(b) & 0x7F) << shift
  8442. if b < 0x80 {
  8443. break
  8444. }
  8445. }
  8446. intStringLen := int(stringLen)
  8447. if intStringLen < 0 {
  8448. return ErrInvalidLengthApi
  8449. }
  8450. postIndex := iNdEx + intStringLen
  8451. if postIndex > l {
  8452. return io.ErrUnexpectedEOF
  8453. }
  8454. m.Background = string(dAtA[iNdEx:postIndex])
  8455. iNdEx = postIndex
  8456. case 7:
  8457. if wireType != 2 {
  8458. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  8459. }
  8460. var stringLen uint64
  8461. for shift := uint(0); ; shift += 7 {
  8462. if shift >= 64 {
  8463. return ErrIntOverflowApi
  8464. }
  8465. if iNdEx >= l {
  8466. return io.ErrUnexpectedEOF
  8467. }
  8468. b := dAtA[iNdEx]
  8469. iNdEx++
  8470. stringLen |= (uint64(b) & 0x7F) << shift
  8471. if b < 0x80 {
  8472. break
  8473. }
  8474. }
  8475. intStringLen := int(stringLen)
  8476. if intStringLen < 0 {
  8477. return ErrInvalidLengthApi
  8478. }
  8479. postIndex := iNdEx + intStringLen
  8480. if postIndex > l {
  8481. return io.ErrUnexpectedEOF
  8482. }
  8483. m.Description = string(dAtA[iNdEx:postIndex])
  8484. iNdEx = postIndex
  8485. case 8:
  8486. if wireType != 0 {
  8487. return fmt.Errorf("proto: wrong wireType = %d for field LiveStartTime", wireType)
  8488. }
  8489. m.LiveStartTime = 0
  8490. for shift := uint(0); ; shift += 7 {
  8491. if shift >= 64 {
  8492. return ErrIntOverflowApi
  8493. }
  8494. if iNdEx >= l {
  8495. return io.ErrUnexpectedEOF
  8496. }
  8497. b := dAtA[iNdEx]
  8498. iNdEx++
  8499. m.LiveStartTime |= (int64(b) & 0x7F) << shift
  8500. if b < 0x80 {
  8501. break
  8502. }
  8503. }
  8504. case 9:
  8505. if wireType != 0 {
  8506. return fmt.Errorf("proto: wrong wireType = %d for field LiveScreenType", wireType)
  8507. }
  8508. m.LiveScreenType = 0
  8509. for shift := uint(0); ; shift += 7 {
  8510. if shift >= 64 {
  8511. return ErrIntOverflowApi
  8512. }
  8513. if iNdEx >= l {
  8514. return io.ErrUnexpectedEOF
  8515. }
  8516. b := dAtA[iNdEx]
  8517. iNdEx++
  8518. m.LiveScreenType |= (int64(b) & 0x7F) << shift
  8519. if b < 0x80 {
  8520. break
  8521. }
  8522. }
  8523. case 10:
  8524. if wireType != 0 {
  8525. return fmt.Errorf("proto: wrong wireType = %d for field LockStatus", wireType)
  8526. }
  8527. m.LockStatus = 0
  8528. for shift := uint(0); ; shift += 7 {
  8529. if shift >= 64 {
  8530. return ErrIntOverflowApi
  8531. }
  8532. if iNdEx >= l {
  8533. return io.ErrUnexpectedEOF
  8534. }
  8535. b := dAtA[iNdEx]
  8536. iNdEx++
  8537. m.LockStatus |= (int64(b) & 0x7F) << shift
  8538. if b < 0x80 {
  8539. break
  8540. }
  8541. }
  8542. case 11:
  8543. if wireType != 0 {
  8544. return fmt.Errorf("proto: wrong wireType = %d for field LockTime", wireType)
  8545. }
  8546. m.LockTime = 0
  8547. for shift := uint(0); ; shift += 7 {
  8548. if shift >= 64 {
  8549. return ErrIntOverflowApi
  8550. }
  8551. if iNdEx >= l {
  8552. return io.ErrUnexpectedEOF
  8553. }
  8554. b := dAtA[iNdEx]
  8555. iNdEx++
  8556. m.LockTime |= (int64(b) & 0x7F) << shift
  8557. if b < 0x80 {
  8558. break
  8559. }
  8560. }
  8561. case 12:
  8562. if wireType != 0 {
  8563. return fmt.Errorf("proto: wrong wireType = %d for field HiddenTime", wireType)
  8564. }
  8565. m.HiddenTime = 0
  8566. for shift := uint(0); ; shift += 7 {
  8567. if shift >= 64 {
  8568. return ErrIntOverflowApi
  8569. }
  8570. if iNdEx >= l {
  8571. return io.ErrUnexpectedEOF
  8572. }
  8573. b := dAtA[iNdEx]
  8574. iNdEx++
  8575. m.HiddenTime |= (int64(b) & 0x7F) << shift
  8576. if b < 0x80 {
  8577. break
  8578. }
  8579. }
  8580. case 13:
  8581. if wireType != 0 {
  8582. return fmt.Errorf("proto: wrong wireType = %d for field AreaId", wireType)
  8583. }
  8584. m.AreaId = 0
  8585. for shift := uint(0); ; shift += 7 {
  8586. if shift >= 64 {
  8587. return ErrIntOverflowApi
  8588. }
  8589. if iNdEx >= l {
  8590. return io.ErrUnexpectedEOF
  8591. }
  8592. b := dAtA[iNdEx]
  8593. iNdEx++
  8594. m.AreaId |= (int64(b) & 0x7F) << shift
  8595. if b < 0x80 {
  8596. break
  8597. }
  8598. }
  8599. case 14:
  8600. if wireType != 0 {
  8601. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRoundSwitch", wireType)
  8602. }
  8603. m.AnchorRoundSwitch = 0
  8604. for shift := uint(0); ; shift += 7 {
  8605. if shift >= 64 {
  8606. return ErrIntOverflowApi
  8607. }
  8608. if iNdEx >= l {
  8609. return io.ErrUnexpectedEOF
  8610. }
  8611. b := dAtA[iNdEx]
  8612. iNdEx++
  8613. m.AnchorRoundSwitch |= (int64(b) & 0x7F) << shift
  8614. if b < 0x80 {
  8615. break
  8616. }
  8617. }
  8618. case 15:
  8619. if wireType != 0 {
  8620. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRecordSwitch", wireType)
  8621. }
  8622. m.AnchorRecordSwitch = 0
  8623. for shift := uint(0); ; shift += 7 {
  8624. if shift >= 64 {
  8625. return ErrIntOverflowApi
  8626. }
  8627. if iNdEx >= l {
  8628. return io.ErrUnexpectedEOF
  8629. }
  8630. b := dAtA[iNdEx]
  8631. iNdEx++
  8632. m.AnchorRecordSwitch |= (int64(b) & 0x7F) << shift
  8633. if b < 0x80 {
  8634. break
  8635. }
  8636. }
  8637. case 16:
  8638. if wireType != 0 {
  8639. return fmt.Errorf("proto: wrong wireType = %d for field LiveType", wireType)
  8640. }
  8641. m.LiveType = 0
  8642. for shift := uint(0); ; shift += 7 {
  8643. if shift >= 64 {
  8644. return ErrIntOverflowApi
  8645. }
  8646. if iNdEx >= l {
  8647. return io.ErrUnexpectedEOF
  8648. }
  8649. b := dAtA[iNdEx]
  8650. iNdEx++
  8651. m.LiveType |= (int64(b) & 0x7F) << shift
  8652. if b < 0x80 {
  8653. break
  8654. }
  8655. }
  8656. default:
  8657. iNdEx = preIndex
  8658. skippy, err := skipApi(dAtA[iNdEx:])
  8659. if err != nil {
  8660. return err
  8661. }
  8662. if skippy < 0 {
  8663. return ErrInvalidLengthApi
  8664. }
  8665. if (iNdEx + skippy) > l {
  8666. return io.ErrUnexpectedEOF
  8667. }
  8668. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8669. iNdEx += skippy
  8670. }
  8671. }
  8672. if iNdEx > l {
  8673. return io.ErrUnexpectedEOF
  8674. }
  8675. return nil
  8676. }
  8677. func (m *RoomBatchUpdateReq) Unmarshal(dAtA []byte) error {
  8678. l := len(dAtA)
  8679. iNdEx := 0
  8680. for iNdEx < l {
  8681. preIndex := iNdEx
  8682. var wire uint64
  8683. for shift := uint(0); ; shift += 7 {
  8684. if shift >= 64 {
  8685. return ErrIntOverflowApi
  8686. }
  8687. if iNdEx >= l {
  8688. return io.ErrUnexpectedEOF
  8689. }
  8690. b := dAtA[iNdEx]
  8691. iNdEx++
  8692. wire |= (uint64(b) & 0x7F) << shift
  8693. if b < 0x80 {
  8694. break
  8695. }
  8696. }
  8697. fieldNum := int32(wire >> 3)
  8698. wireType := int(wire & 0x7)
  8699. if wireType == 4 {
  8700. return fmt.Errorf("proto: RoomBatchUpdateReq: wiretype end group for non-group")
  8701. }
  8702. if fieldNum <= 0 {
  8703. return fmt.Errorf("proto: RoomBatchUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8704. }
  8705. switch fieldNum {
  8706. case 1:
  8707. if wireType != 2 {
  8708. return fmt.Errorf("proto: wrong wireType = %d for field Reqs", wireType)
  8709. }
  8710. var msglen int
  8711. for shift := uint(0); ; shift += 7 {
  8712. if shift >= 64 {
  8713. return ErrIntOverflowApi
  8714. }
  8715. if iNdEx >= l {
  8716. return io.ErrUnexpectedEOF
  8717. }
  8718. b := dAtA[iNdEx]
  8719. iNdEx++
  8720. msglen |= (int(b) & 0x7F) << shift
  8721. if b < 0x80 {
  8722. break
  8723. }
  8724. }
  8725. if msglen < 0 {
  8726. return ErrInvalidLengthApi
  8727. }
  8728. postIndex := iNdEx + msglen
  8729. if postIndex > l {
  8730. return io.ErrUnexpectedEOF
  8731. }
  8732. m.Reqs = append(m.Reqs, &RoomUpdateReq{})
  8733. if err := m.Reqs[len(m.Reqs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8734. return err
  8735. }
  8736. iNdEx = postIndex
  8737. default:
  8738. iNdEx = preIndex
  8739. skippy, err := skipApi(dAtA[iNdEx:])
  8740. if err != nil {
  8741. return err
  8742. }
  8743. if skippy < 0 {
  8744. return ErrInvalidLengthApi
  8745. }
  8746. if (iNdEx + skippy) > l {
  8747. return io.ErrUnexpectedEOF
  8748. }
  8749. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8750. iNdEx += skippy
  8751. }
  8752. }
  8753. if iNdEx > l {
  8754. return io.ErrUnexpectedEOF
  8755. }
  8756. return nil
  8757. }
  8758. func (m *AnchorUpdateReq) Unmarshal(dAtA []byte) error {
  8759. l := len(dAtA)
  8760. iNdEx := 0
  8761. for iNdEx < l {
  8762. preIndex := iNdEx
  8763. var wire uint64
  8764. for shift := uint(0); ; shift += 7 {
  8765. if shift >= 64 {
  8766. return ErrIntOverflowApi
  8767. }
  8768. if iNdEx >= l {
  8769. return io.ErrUnexpectedEOF
  8770. }
  8771. b := dAtA[iNdEx]
  8772. iNdEx++
  8773. wire |= (uint64(b) & 0x7F) << shift
  8774. if b < 0x80 {
  8775. break
  8776. }
  8777. }
  8778. fieldNum := int32(wire >> 3)
  8779. wireType := int(wire & 0x7)
  8780. if wireType == 4 {
  8781. return fmt.Errorf("proto: AnchorUpdateReq: wiretype end group for non-group")
  8782. }
  8783. if fieldNum <= 0 {
  8784. return fmt.Errorf("proto: AnchorUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8785. }
  8786. switch fieldNum {
  8787. case 1:
  8788. if wireType != 2 {
  8789. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  8790. }
  8791. var stringLen uint64
  8792. for shift := uint(0); ; shift += 7 {
  8793. if shift >= 64 {
  8794. return ErrIntOverflowApi
  8795. }
  8796. if iNdEx >= l {
  8797. return io.ErrUnexpectedEOF
  8798. }
  8799. b := dAtA[iNdEx]
  8800. iNdEx++
  8801. stringLen |= (uint64(b) & 0x7F) << shift
  8802. if b < 0x80 {
  8803. break
  8804. }
  8805. }
  8806. intStringLen := int(stringLen)
  8807. if intStringLen < 0 {
  8808. return ErrInvalidLengthApi
  8809. }
  8810. postIndex := iNdEx + intStringLen
  8811. if postIndex > l {
  8812. return io.ErrUnexpectedEOF
  8813. }
  8814. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  8815. iNdEx = postIndex
  8816. case 2:
  8817. if wireType != 0 {
  8818. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  8819. }
  8820. m.Uid = 0
  8821. for shift := uint(0); ; shift += 7 {
  8822. if shift >= 64 {
  8823. return ErrIntOverflowApi
  8824. }
  8825. if iNdEx >= l {
  8826. return io.ErrUnexpectedEOF
  8827. }
  8828. b := dAtA[iNdEx]
  8829. iNdEx++
  8830. m.Uid |= (int64(b) & 0x7F) << shift
  8831. if b < 0x80 {
  8832. break
  8833. }
  8834. }
  8835. case 3:
  8836. if wireType != 0 {
  8837. return fmt.Errorf("proto: wrong wireType = %d for field ProfileType", wireType)
  8838. }
  8839. m.ProfileType = 0
  8840. for shift := uint(0); ; shift += 7 {
  8841. if shift >= 64 {
  8842. return ErrIntOverflowApi
  8843. }
  8844. if iNdEx >= l {
  8845. return io.ErrUnexpectedEOF
  8846. }
  8847. b := dAtA[iNdEx]
  8848. iNdEx++
  8849. m.ProfileType |= (int64(b) & 0x7F) << shift
  8850. if b < 0x80 {
  8851. break
  8852. }
  8853. }
  8854. case 4:
  8855. if wireType != 0 {
  8856. return fmt.Errorf("proto: wrong wireType = %d for field SanScore", wireType)
  8857. }
  8858. m.SanScore = 0
  8859. for shift := uint(0); ; shift += 7 {
  8860. if shift >= 64 {
  8861. return ErrIntOverflowApi
  8862. }
  8863. if iNdEx >= l {
  8864. return io.ErrUnexpectedEOF
  8865. }
  8866. b := dAtA[iNdEx]
  8867. iNdEx++
  8868. m.SanScore |= (int64(b) & 0x7F) << shift
  8869. if b < 0x80 {
  8870. break
  8871. }
  8872. }
  8873. case 5:
  8874. if wireType != 0 {
  8875. return fmt.Errorf("proto: wrong wireType = %d for field RoundStatus", wireType)
  8876. }
  8877. m.RoundStatus = 0
  8878. for shift := uint(0); ; shift += 7 {
  8879. if shift >= 64 {
  8880. return ErrIntOverflowApi
  8881. }
  8882. if iNdEx >= l {
  8883. return io.ErrUnexpectedEOF
  8884. }
  8885. b := dAtA[iNdEx]
  8886. iNdEx++
  8887. m.RoundStatus |= (int64(b) & 0x7F) << shift
  8888. if b < 0x80 {
  8889. break
  8890. }
  8891. }
  8892. case 6:
  8893. if wireType != 0 {
  8894. return fmt.Errorf("proto: wrong wireType = %d for field RecordStatus", wireType)
  8895. }
  8896. m.RecordStatus = 0
  8897. for shift := uint(0); ; shift += 7 {
  8898. if shift >= 64 {
  8899. return ErrIntOverflowApi
  8900. }
  8901. if iNdEx >= l {
  8902. return io.ErrUnexpectedEOF
  8903. }
  8904. b := dAtA[iNdEx]
  8905. iNdEx++
  8906. m.RecordStatus |= (int64(b) & 0x7F) << shift
  8907. if b < 0x80 {
  8908. break
  8909. }
  8910. }
  8911. case 7:
  8912. if wireType != 0 {
  8913. return fmt.Errorf("proto: wrong wireType = %d for field Exp", wireType)
  8914. }
  8915. m.Exp = 0
  8916. for shift := uint(0); ; shift += 7 {
  8917. if shift >= 64 {
  8918. return ErrIntOverflowApi
  8919. }
  8920. if iNdEx >= l {
  8921. return io.ErrUnexpectedEOF
  8922. }
  8923. b := dAtA[iNdEx]
  8924. iNdEx++
  8925. m.Exp |= (int64(b) & 0x7F) << shift
  8926. if b < 0x80 {
  8927. break
  8928. }
  8929. }
  8930. default:
  8931. iNdEx = preIndex
  8932. skippy, err := skipApi(dAtA[iNdEx:])
  8933. if err != nil {
  8934. return err
  8935. }
  8936. if skippy < 0 {
  8937. return ErrInvalidLengthApi
  8938. }
  8939. if (iNdEx + skippy) > l {
  8940. return io.ErrUnexpectedEOF
  8941. }
  8942. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8943. iNdEx += skippy
  8944. }
  8945. }
  8946. if iNdEx > l {
  8947. return io.ErrUnexpectedEOF
  8948. }
  8949. return nil
  8950. }
  8951. func (m *AnchorBatchUpdateReq) Unmarshal(dAtA []byte) error {
  8952. l := len(dAtA)
  8953. iNdEx := 0
  8954. for iNdEx < l {
  8955. preIndex := iNdEx
  8956. var wire uint64
  8957. for shift := uint(0); ; shift += 7 {
  8958. if shift >= 64 {
  8959. return ErrIntOverflowApi
  8960. }
  8961. if iNdEx >= l {
  8962. return io.ErrUnexpectedEOF
  8963. }
  8964. b := dAtA[iNdEx]
  8965. iNdEx++
  8966. wire |= (uint64(b) & 0x7F) << shift
  8967. if b < 0x80 {
  8968. break
  8969. }
  8970. }
  8971. fieldNum := int32(wire >> 3)
  8972. wireType := int(wire & 0x7)
  8973. if wireType == 4 {
  8974. return fmt.Errorf("proto: AnchorBatchUpdateReq: wiretype end group for non-group")
  8975. }
  8976. if fieldNum <= 0 {
  8977. return fmt.Errorf("proto: AnchorBatchUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8978. }
  8979. switch fieldNum {
  8980. case 1:
  8981. if wireType != 2 {
  8982. return fmt.Errorf("proto: wrong wireType = %d for field Reqs", wireType)
  8983. }
  8984. var msglen int
  8985. for shift := uint(0); ; shift += 7 {
  8986. if shift >= 64 {
  8987. return ErrIntOverflowApi
  8988. }
  8989. if iNdEx >= l {
  8990. return io.ErrUnexpectedEOF
  8991. }
  8992. b := dAtA[iNdEx]
  8993. iNdEx++
  8994. msglen |= (int(b) & 0x7F) << shift
  8995. if b < 0x80 {
  8996. break
  8997. }
  8998. }
  8999. if msglen < 0 {
  9000. return ErrInvalidLengthApi
  9001. }
  9002. postIndex := iNdEx + msglen
  9003. if postIndex > l {
  9004. return io.ErrUnexpectedEOF
  9005. }
  9006. m.Reqs = append(m.Reqs, &AnchorUpdateReq{})
  9007. if err := m.Reqs[len(m.Reqs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9008. return err
  9009. }
  9010. iNdEx = postIndex
  9011. default:
  9012. iNdEx = preIndex
  9013. skippy, err := skipApi(dAtA[iNdEx:])
  9014. if err != nil {
  9015. return err
  9016. }
  9017. if skippy < 0 {
  9018. return ErrInvalidLengthApi
  9019. }
  9020. if (iNdEx + skippy) > l {
  9021. return io.ErrUnexpectedEOF
  9022. }
  9023. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9024. iNdEx += skippy
  9025. }
  9026. }
  9027. if iNdEx > l {
  9028. return io.ErrUnexpectedEOF
  9029. }
  9030. return nil
  9031. }
  9032. func (m *AnchorIncreReq) Unmarshal(dAtA []byte) error {
  9033. l := len(dAtA)
  9034. iNdEx := 0
  9035. for iNdEx < l {
  9036. preIndex := iNdEx
  9037. var wire uint64
  9038. for shift := uint(0); ; shift += 7 {
  9039. if shift >= 64 {
  9040. return ErrIntOverflowApi
  9041. }
  9042. if iNdEx >= l {
  9043. return io.ErrUnexpectedEOF
  9044. }
  9045. b := dAtA[iNdEx]
  9046. iNdEx++
  9047. wire |= (uint64(b) & 0x7F) << shift
  9048. if b < 0x80 {
  9049. break
  9050. }
  9051. }
  9052. fieldNum := int32(wire >> 3)
  9053. wireType := int(wire & 0x7)
  9054. if wireType == 4 {
  9055. return fmt.Errorf("proto: AnchorIncreReq: wiretype end group for non-group")
  9056. }
  9057. if fieldNum <= 0 {
  9058. return fmt.Errorf("proto: AnchorIncreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9059. }
  9060. switch fieldNum {
  9061. case 1:
  9062. if wireType != 2 {
  9063. return fmt.Errorf("proto: wrong wireType = %d for field ReqId", wireType)
  9064. }
  9065. var stringLen uint64
  9066. for shift := uint(0); ; shift += 7 {
  9067. if shift >= 64 {
  9068. return ErrIntOverflowApi
  9069. }
  9070. if iNdEx >= l {
  9071. return io.ErrUnexpectedEOF
  9072. }
  9073. b := dAtA[iNdEx]
  9074. iNdEx++
  9075. stringLen |= (uint64(b) & 0x7F) << shift
  9076. if b < 0x80 {
  9077. break
  9078. }
  9079. }
  9080. intStringLen := int(stringLen)
  9081. if intStringLen < 0 {
  9082. return ErrInvalidLengthApi
  9083. }
  9084. postIndex := iNdEx + intStringLen
  9085. if postIndex > l {
  9086. return io.ErrUnexpectedEOF
  9087. }
  9088. m.ReqId = string(dAtA[iNdEx:postIndex])
  9089. iNdEx = postIndex
  9090. case 2:
  9091. if wireType != 2 {
  9092. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  9093. }
  9094. var stringLen uint64
  9095. for shift := uint(0); ; shift += 7 {
  9096. if shift >= 64 {
  9097. return ErrIntOverflowApi
  9098. }
  9099. if iNdEx >= l {
  9100. return io.ErrUnexpectedEOF
  9101. }
  9102. b := dAtA[iNdEx]
  9103. iNdEx++
  9104. stringLen |= (uint64(b) & 0x7F) << shift
  9105. if b < 0x80 {
  9106. break
  9107. }
  9108. }
  9109. intStringLen := int(stringLen)
  9110. if intStringLen < 0 {
  9111. return ErrInvalidLengthApi
  9112. }
  9113. postIndex := iNdEx + intStringLen
  9114. if postIndex > l {
  9115. return io.ErrUnexpectedEOF
  9116. }
  9117. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  9118. iNdEx = postIndex
  9119. case 3:
  9120. if wireType != 0 {
  9121. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  9122. }
  9123. m.Uid = 0
  9124. for shift := uint(0); ; shift += 7 {
  9125. if shift >= 64 {
  9126. return ErrIntOverflowApi
  9127. }
  9128. if iNdEx >= l {
  9129. return io.ErrUnexpectedEOF
  9130. }
  9131. b := dAtA[iNdEx]
  9132. iNdEx++
  9133. m.Uid |= (int64(b) & 0x7F) << shift
  9134. if b < 0x80 {
  9135. break
  9136. }
  9137. }
  9138. case 4:
  9139. if wireType != 0 {
  9140. return fmt.Errorf("proto: wrong wireType = %d for field SanScore", wireType)
  9141. }
  9142. m.SanScore = 0
  9143. for shift := uint(0); ; shift += 7 {
  9144. if shift >= 64 {
  9145. return ErrIntOverflowApi
  9146. }
  9147. if iNdEx >= l {
  9148. return io.ErrUnexpectedEOF
  9149. }
  9150. b := dAtA[iNdEx]
  9151. iNdEx++
  9152. m.SanScore |= (int64(b) & 0x7F) << shift
  9153. if b < 0x80 {
  9154. break
  9155. }
  9156. }
  9157. case 5:
  9158. if wireType != 0 {
  9159. return fmt.Errorf("proto: wrong wireType = %d for field Exp", wireType)
  9160. }
  9161. m.Exp = 0
  9162. for shift := uint(0); ; shift += 7 {
  9163. if shift >= 64 {
  9164. return ErrIntOverflowApi
  9165. }
  9166. if iNdEx >= l {
  9167. return io.ErrUnexpectedEOF
  9168. }
  9169. b := dAtA[iNdEx]
  9170. iNdEx++
  9171. m.Exp |= (int64(b) & 0x7F) << shift
  9172. if b < 0x80 {
  9173. break
  9174. }
  9175. }
  9176. default:
  9177. iNdEx = preIndex
  9178. skippy, err := skipApi(dAtA[iNdEx:])
  9179. if err != nil {
  9180. return err
  9181. }
  9182. if skippy < 0 {
  9183. return ErrInvalidLengthApi
  9184. }
  9185. if (iNdEx + skippy) > l {
  9186. return io.ErrUnexpectedEOF
  9187. }
  9188. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9189. iNdEx += skippy
  9190. }
  9191. }
  9192. if iNdEx > l {
  9193. return io.ErrUnexpectedEOF
  9194. }
  9195. return nil
  9196. }
  9197. func (m *AnchorBatchIncreReq) Unmarshal(dAtA []byte) error {
  9198. l := len(dAtA)
  9199. iNdEx := 0
  9200. for iNdEx < l {
  9201. preIndex := iNdEx
  9202. var wire uint64
  9203. for shift := uint(0); ; shift += 7 {
  9204. if shift >= 64 {
  9205. return ErrIntOverflowApi
  9206. }
  9207. if iNdEx >= l {
  9208. return io.ErrUnexpectedEOF
  9209. }
  9210. b := dAtA[iNdEx]
  9211. iNdEx++
  9212. wire |= (uint64(b) & 0x7F) << shift
  9213. if b < 0x80 {
  9214. break
  9215. }
  9216. }
  9217. fieldNum := int32(wire >> 3)
  9218. wireType := int(wire & 0x7)
  9219. if wireType == 4 {
  9220. return fmt.Errorf("proto: AnchorBatchIncreReq: wiretype end group for non-group")
  9221. }
  9222. if fieldNum <= 0 {
  9223. return fmt.Errorf("proto: AnchorBatchIncreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9224. }
  9225. switch fieldNum {
  9226. case 1:
  9227. if wireType != 2 {
  9228. return fmt.Errorf("proto: wrong wireType = %d for field Reqs", wireType)
  9229. }
  9230. var msglen int
  9231. for shift := uint(0); ; shift += 7 {
  9232. if shift >= 64 {
  9233. return ErrIntOverflowApi
  9234. }
  9235. if iNdEx >= l {
  9236. return io.ErrUnexpectedEOF
  9237. }
  9238. b := dAtA[iNdEx]
  9239. iNdEx++
  9240. msglen |= (int(b) & 0x7F) << shift
  9241. if b < 0x80 {
  9242. break
  9243. }
  9244. }
  9245. if msglen < 0 {
  9246. return ErrInvalidLengthApi
  9247. }
  9248. postIndex := iNdEx + msglen
  9249. if postIndex > l {
  9250. return io.ErrUnexpectedEOF
  9251. }
  9252. m.Reqs = append(m.Reqs, &AnchorIncreReq{})
  9253. if err := m.Reqs[len(m.Reqs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9254. return err
  9255. }
  9256. iNdEx = postIndex
  9257. default:
  9258. iNdEx = preIndex
  9259. skippy, err := skipApi(dAtA[iNdEx:])
  9260. if err != nil {
  9261. return err
  9262. }
  9263. if skippy < 0 {
  9264. return ErrInvalidLengthApi
  9265. }
  9266. if (iNdEx + skippy) > l {
  9267. return io.ErrUnexpectedEOF
  9268. }
  9269. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9270. iNdEx += skippy
  9271. }
  9272. }
  9273. if iNdEx > l {
  9274. return io.ErrUnexpectedEOF
  9275. }
  9276. return nil
  9277. }
  9278. func (m *RoomExtendUpdateReq) Unmarshal(dAtA []byte) error {
  9279. l := len(dAtA)
  9280. iNdEx := 0
  9281. for iNdEx < l {
  9282. preIndex := iNdEx
  9283. var wire uint64
  9284. for shift := uint(0); ; shift += 7 {
  9285. if shift >= 64 {
  9286. return ErrIntOverflowApi
  9287. }
  9288. if iNdEx >= l {
  9289. return io.ErrUnexpectedEOF
  9290. }
  9291. b := dAtA[iNdEx]
  9292. iNdEx++
  9293. wire |= (uint64(b) & 0x7F) << shift
  9294. if b < 0x80 {
  9295. break
  9296. }
  9297. }
  9298. fieldNum := int32(wire >> 3)
  9299. wireType := int(wire & 0x7)
  9300. if wireType == 4 {
  9301. return fmt.Errorf("proto: RoomExtendUpdateReq: wiretype end group for non-group")
  9302. }
  9303. if fieldNum <= 0 {
  9304. return fmt.Errorf("proto: RoomExtendUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9305. }
  9306. switch fieldNum {
  9307. case 1:
  9308. if wireType != 2 {
  9309. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  9310. }
  9311. var stringLen uint64
  9312. for shift := uint(0); ; shift += 7 {
  9313. if shift >= 64 {
  9314. return ErrIntOverflowApi
  9315. }
  9316. if iNdEx >= l {
  9317. return io.ErrUnexpectedEOF
  9318. }
  9319. b := dAtA[iNdEx]
  9320. iNdEx++
  9321. stringLen |= (uint64(b) & 0x7F) << shift
  9322. if b < 0x80 {
  9323. break
  9324. }
  9325. }
  9326. intStringLen := int(stringLen)
  9327. if intStringLen < 0 {
  9328. return ErrInvalidLengthApi
  9329. }
  9330. postIndex := iNdEx + intStringLen
  9331. if postIndex > l {
  9332. return io.ErrUnexpectedEOF
  9333. }
  9334. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  9335. iNdEx = postIndex
  9336. case 2:
  9337. if wireType != 0 {
  9338. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  9339. }
  9340. m.RoomId = 0
  9341. for shift := uint(0); ; shift += 7 {
  9342. if shift >= 64 {
  9343. return ErrIntOverflowApi
  9344. }
  9345. if iNdEx >= l {
  9346. return io.ErrUnexpectedEOF
  9347. }
  9348. b := dAtA[iNdEx]
  9349. iNdEx++
  9350. m.RoomId |= (int64(b) & 0x7F) << shift
  9351. if b < 0x80 {
  9352. break
  9353. }
  9354. }
  9355. case 3:
  9356. if wireType != 2 {
  9357. return fmt.Errorf("proto: wrong wireType = %d for field Keyframe", wireType)
  9358. }
  9359. var stringLen uint64
  9360. for shift := uint(0); ; shift += 7 {
  9361. if shift >= 64 {
  9362. return ErrIntOverflowApi
  9363. }
  9364. if iNdEx >= l {
  9365. return io.ErrUnexpectedEOF
  9366. }
  9367. b := dAtA[iNdEx]
  9368. iNdEx++
  9369. stringLen |= (uint64(b) & 0x7F) << shift
  9370. if b < 0x80 {
  9371. break
  9372. }
  9373. }
  9374. intStringLen := int(stringLen)
  9375. if intStringLen < 0 {
  9376. return ErrInvalidLengthApi
  9377. }
  9378. postIndex := iNdEx + intStringLen
  9379. if postIndex > l {
  9380. return io.ErrUnexpectedEOF
  9381. }
  9382. m.Keyframe = string(dAtA[iNdEx:postIndex])
  9383. iNdEx = postIndex
  9384. case 4:
  9385. if wireType != 0 {
  9386. return fmt.Errorf("proto: wrong wireType = %d for field DanmuCount", wireType)
  9387. }
  9388. m.DanmuCount = 0
  9389. for shift := uint(0); ; shift += 7 {
  9390. if shift >= 64 {
  9391. return ErrIntOverflowApi
  9392. }
  9393. if iNdEx >= l {
  9394. return io.ErrUnexpectedEOF
  9395. }
  9396. b := dAtA[iNdEx]
  9397. iNdEx++
  9398. m.DanmuCount |= (int64(b) & 0x7F) << shift
  9399. if b < 0x80 {
  9400. break
  9401. }
  9402. }
  9403. case 5:
  9404. if wireType != 0 {
  9405. return fmt.Errorf("proto: wrong wireType = %d for field PopularityCount", wireType)
  9406. }
  9407. m.PopularityCount = 0
  9408. for shift := uint(0); ; shift += 7 {
  9409. if shift >= 64 {
  9410. return ErrIntOverflowApi
  9411. }
  9412. if iNdEx >= l {
  9413. return io.ErrUnexpectedEOF
  9414. }
  9415. b := dAtA[iNdEx]
  9416. iNdEx++
  9417. m.PopularityCount |= (int64(b) & 0x7F) << shift
  9418. if b < 0x80 {
  9419. break
  9420. }
  9421. }
  9422. case 6:
  9423. if wireType != 0 {
  9424. return fmt.Errorf("proto: wrong wireType = %d for field AudienceCount", wireType)
  9425. }
  9426. m.AudienceCount = 0
  9427. for shift := uint(0); ; shift += 7 {
  9428. if shift >= 64 {
  9429. return ErrIntOverflowApi
  9430. }
  9431. if iNdEx >= l {
  9432. return io.ErrUnexpectedEOF
  9433. }
  9434. b := dAtA[iNdEx]
  9435. iNdEx++
  9436. m.AudienceCount |= (int64(b) & 0x7F) << shift
  9437. if b < 0x80 {
  9438. break
  9439. }
  9440. }
  9441. case 7:
  9442. if wireType != 0 {
  9443. return fmt.Errorf("proto: wrong wireType = %d for field GiftCount", wireType)
  9444. }
  9445. m.GiftCount = 0
  9446. for shift := uint(0); ; shift += 7 {
  9447. if shift >= 64 {
  9448. return ErrIntOverflowApi
  9449. }
  9450. if iNdEx >= l {
  9451. return io.ErrUnexpectedEOF
  9452. }
  9453. b := dAtA[iNdEx]
  9454. iNdEx++
  9455. m.GiftCount |= (int64(b) & 0x7F) << shift
  9456. if b < 0x80 {
  9457. break
  9458. }
  9459. }
  9460. case 8:
  9461. if wireType != 0 {
  9462. return fmt.Errorf("proto: wrong wireType = %d for field GiftGoldAmount", wireType)
  9463. }
  9464. m.GiftGoldAmount = 0
  9465. for shift := uint(0); ; shift += 7 {
  9466. if shift >= 64 {
  9467. return ErrIntOverflowApi
  9468. }
  9469. if iNdEx >= l {
  9470. return io.ErrUnexpectedEOF
  9471. }
  9472. b := dAtA[iNdEx]
  9473. iNdEx++
  9474. m.GiftGoldAmount |= (int64(b) & 0x7F) << shift
  9475. if b < 0x80 {
  9476. break
  9477. }
  9478. }
  9479. case 9:
  9480. if wireType != 0 {
  9481. return fmt.Errorf("proto: wrong wireType = %d for field GiftGoldCount", wireType)
  9482. }
  9483. m.GiftGoldCount = 0
  9484. for shift := uint(0); ; shift += 7 {
  9485. if shift >= 64 {
  9486. return ErrIntOverflowApi
  9487. }
  9488. if iNdEx >= l {
  9489. return io.ErrUnexpectedEOF
  9490. }
  9491. b := dAtA[iNdEx]
  9492. iNdEx++
  9493. m.GiftGoldCount |= (int64(b) & 0x7F) << shift
  9494. if b < 0x80 {
  9495. break
  9496. }
  9497. }
  9498. default:
  9499. iNdEx = preIndex
  9500. skippy, err := skipApi(dAtA[iNdEx:])
  9501. if err != nil {
  9502. return err
  9503. }
  9504. if skippy < 0 {
  9505. return ErrInvalidLengthApi
  9506. }
  9507. if (iNdEx + skippy) > l {
  9508. return io.ErrUnexpectedEOF
  9509. }
  9510. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9511. iNdEx += skippy
  9512. }
  9513. }
  9514. if iNdEx > l {
  9515. return io.ErrUnexpectedEOF
  9516. }
  9517. return nil
  9518. }
  9519. func (m *RoomExtendBatchUpdateReq) Unmarshal(dAtA []byte) error {
  9520. l := len(dAtA)
  9521. iNdEx := 0
  9522. for iNdEx < l {
  9523. preIndex := iNdEx
  9524. var wire uint64
  9525. for shift := uint(0); ; shift += 7 {
  9526. if shift >= 64 {
  9527. return ErrIntOverflowApi
  9528. }
  9529. if iNdEx >= l {
  9530. return io.ErrUnexpectedEOF
  9531. }
  9532. b := dAtA[iNdEx]
  9533. iNdEx++
  9534. wire |= (uint64(b) & 0x7F) << shift
  9535. if b < 0x80 {
  9536. break
  9537. }
  9538. }
  9539. fieldNum := int32(wire >> 3)
  9540. wireType := int(wire & 0x7)
  9541. if wireType == 4 {
  9542. return fmt.Errorf("proto: RoomExtendBatchUpdateReq: wiretype end group for non-group")
  9543. }
  9544. if fieldNum <= 0 {
  9545. return fmt.Errorf("proto: RoomExtendBatchUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9546. }
  9547. switch fieldNum {
  9548. case 1:
  9549. if wireType != 2 {
  9550. return fmt.Errorf("proto: wrong wireType = %d for field Reqs", wireType)
  9551. }
  9552. var msglen int
  9553. for shift := uint(0); ; shift += 7 {
  9554. if shift >= 64 {
  9555. return ErrIntOverflowApi
  9556. }
  9557. if iNdEx >= l {
  9558. return io.ErrUnexpectedEOF
  9559. }
  9560. b := dAtA[iNdEx]
  9561. iNdEx++
  9562. msglen |= (int(b) & 0x7F) << shift
  9563. if b < 0x80 {
  9564. break
  9565. }
  9566. }
  9567. if msglen < 0 {
  9568. return ErrInvalidLengthApi
  9569. }
  9570. postIndex := iNdEx + msglen
  9571. if postIndex > l {
  9572. return io.ErrUnexpectedEOF
  9573. }
  9574. m.Reqs = append(m.Reqs, &RoomExtendUpdateReq{})
  9575. if err := m.Reqs[len(m.Reqs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9576. return err
  9577. }
  9578. iNdEx = postIndex
  9579. default:
  9580. iNdEx = preIndex
  9581. skippy, err := skipApi(dAtA[iNdEx:])
  9582. if err != nil {
  9583. return err
  9584. }
  9585. if skippy < 0 {
  9586. return ErrInvalidLengthApi
  9587. }
  9588. if (iNdEx + skippy) > l {
  9589. return io.ErrUnexpectedEOF
  9590. }
  9591. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9592. iNdEx += skippy
  9593. }
  9594. }
  9595. if iNdEx > l {
  9596. return io.ErrUnexpectedEOF
  9597. }
  9598. return nil
  9599. }
  9600. func (m *RoomExtendIncreReq) Unmarshal(dAtA []byte) error {
  9601. l := len(dAtA)
  9602. iNdEx := 0
  9603. for iNdEx < l {
  9604. preIndex := iNdEx
  9605. var wire uint64
  9606. for shift := uint(0); ; shift += 7 {
  9607. if shift >= 64 {
  9608. return ErrIntOverflowApi
  9609. }
  9610. if iNdEx >= l {
  9611. return io.ErrUnexpectedEOF
  9612. }
  9613. b := dAtA[iNdEx]
  9614. iNdEx++
  9615. wire |= (uint64(b) & 0x7F) << shift
  9616. if b < 0x80 {
  9617. break
  9618. }
  9619. }
  9620. fieldNum := int32(wire >> 3)
  9621. wireType := int(wire & 0x7)
  9622. if wireType == 4 {
  9623. return fmt.Errorf("proto: RoomExtendIncreReq: wiretype end group for non-group")
  9624. }
  9625. if fieldNum <= 0 {
  9626. return fmt.Errorf("proto: RoomExtendIncreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9627. }
  9628. switch fieldNum {
  9629. case 1:
  9630. if wireType != 2 {
  9631. return fmt.Errorf("proto: wrong wireType = %d for field ReqId", wireType)
  9632. }
  9633. var stringLen uint64
  9634. for shift := uint(0); ; shift += 7 {
  9635. if shift >= 64 {
  9636. return ErrIntOverflowApi
  9637. }
  9638. if iNdEx >= l {
  9639. return io.ErrUnexpectedEOF
  9640. }
  9641. b := dAtA[iNdEx]
  9642. iNdEx++
  9643. stringLen |= (uint64(b) & 0x7F) << shift
  9644. if b < 0x80 {
  9645. break
  9646. }
  9647. }
  9648. intStringLen := int(stringLen)
  9649. if intStringLen < 0 {
  9650. return ErrInvalidLengthApi
  9651. }
  9652. postIndex := iNdEx + intStringLen
  9653. if postIndex > l {
  9654. return io.ErrUnexpectedEOF
  9655. }
  9656. m.ReqId = string(dAtA[iNdEx:postIndex])
  9657. iNdEx = postIndex
  9658. case 2:
  9659. if wireType != 2 {
  9660. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  9661. }
  9662. var stringLen uint64
  9663. for shift := uint(0); ; shift += 7 {
  9664. if shift >= 64 {
  9665. return ErrIntOverflowApi
  9666. }
  9667. if iNdEx >= l {
  9668. return io.ErrUnexpectedEOF
  9669. }
  9670. b := dAtA[iNdEx]
  9671. iNdEx++
  9672. stringLen |= (uint64(b) & 0x7F) << shift
  9673. if b < 0x80 {
  9674. break
  9675. }
  9676. }
  9677. intStringLen := int(stringLen)
  9678. if intStringLen < 0 {
  9679. return ErrInvalidLengthApi
  9680. }
  9681. postIndex := iNdEx + intStringLen
  9682. if postIndex > l {
  9683. return io.ErrUnexpectedEOF
  9684. }
  9685. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  9686. iNdEx = postIndex
  9687. case 3:
  9688. if wireType != 0 {
  9689. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  9690. }
  9691. m.RoomId = 0
  9692. for shift := uint(0); ; shift += 7 {
  9693. if shift >= 64 {
  9694. return ErrIntOverflowApi
  9695. }
  9696. if iNdEx >= l {
  9697. return io.ErrUnexpectedEOF
  9698. }
  9699. b := dAtA[iNdEx]
  9700. iNdEx++
  9701. m.RoomId |= (int64(b) & 0x7F) << shift
  9702. if b < 0x80 {
  9703. break
  9704. }
  9705. }
  9706. case 4:
  9707. if wireType != 0 {
  9708. return fmt.Errorf("proto: wrong wireType = %d for field DanmuCount", wireType)
  9709. }
  9710. m.DanmuCount = 0
  9711. for shift := uint(0); ; shift += 7 {
  9712. if shift >= 64 {
  9713. return ErrIntOverflowApi
  9714. }
  9715. if iNdEx >= l {
  9716. return io.ErrUnexpectedEOF
  9717. }
  9718. b := dAtA[iNdEx]
  9719. iNdEx++
  9720. m.DanmuCount |= (int64(b) & 0x7F) << shift
  9721. if b < 0x80 {
  9722. break
  9723. }
  9724. }
  9725. case 5:
  9726. if wireType != 0 {
  9727. return fmt.Errorf("proto: wrong wireType = %d for field PopularityCount", wireType)
  9728. }
  9729. m.PopularityCount = 0
  9730. for shift := uint(0); ; shift += 7 {
  9731. if shift >= 64 {
  9732. return ErrIntOverflowApi
  9733. }
  9734. if iNdEx >= l {
  9735. return io.ErrUnexpectedEOF
  9736. }
  9737. b := dAtA[iNdEx]
  9738. iNdEx++
  9739. m.PopularityCount |= (int64(b) & 0x7F) << shift
  9740. if b < 0x80 {
  9741. break
  9742. }
  9743. }
  9744. case 6:
  9745. if wireType != 0 {
  9746. return fmt.Errorf("proto: wrong wireType = %d for field AudienceCount", wireType)
  9747. }
  9748. m.AudienceCount = 0
  9749. for shift := uint(0); ; shift += 7 {
  9750. if shift >= 64 {
  9751. return ErrIntOverflowApi
  9752. }
  9753. if iNdEx >= l {
  9754. return io.ErrUnexpectedEOF
  9755. }
  9756. b := dAtA[iNdEx]
  9757. iNdEx++
  9758. m.AudienceCount |= (int64(b) & 0x7F) << shift
  9759. if b < 0x80 {
  9760. break
  9761. }
  9762. }
  9763. case 7:
  9764. if wireType != 0 {
  9765. return fmt.Errorf("proto: wrong wireType = %d for field GiftCount", wireType)
  9766. }
  9767. m.GiftCount = 0
  9768. for shift := uint(0); ; shift += 7 {
  9769. if shift >= 64 {
  9770. return ErrIntOverflowApi
  9771. }
  9772. if iNdEx >= l {
  9773. return io.ErrUnexpectedEOF
  9774. }
  9775. b := dAtA[iNdEx]
  9776. iNdEx++
  9777. m.GiftCount |= (int64(b) & 0x7F) << shift
  9778. if b < 0x80 {
  9779. break
  9780. }
  9781. }
  9782. case 8:
  9783. if wireType != 0 {
  9784. return fmt.Errorf("proto: wrong wireType = %d for field GiftGoldAmount", wireType)
  9785. }
  9786. m.GiftGoldAmount = 0
  9787. for shift := uint(0); ; shift += 7 {
  9788. if shift >= 64 {
  9789. return ErrIntOverflowApi
  9790. }
  9791. if iNdEx >= l {
  9792. return io.ErrUnexpectedEOF
  9793. }
  9794. b := dAtA[iNdEx]
  9795. iNdEx++
  9796. m.GiftGoldAmount |= (int64(b) & 0x7F) << shift
  9797. if b < 0x80 {
  9798. break
  9799. }
  9800. }
  9801. case 9:
  9802. if wireType != 0 {
  9803. return fmt.Errorf("proto: wrong wireType = %d for field GiftGoldCount", wireType)
  9804. }
  9805. m.GiftGoldCount = 0
  9806. for shift := uint(0); ; shift += 7 {
  9807. if shift >= 64 {
  9808. return ErrIntOverflowApi
  9809. }
  9810. if iNdEx >= l {
  9811. return io.ErrUnexpectedEOF
  9812. }
  9813. b := dAtA[iNdEx]
  9814. iNdEx++
  9815. m.GiftGoldCount |= (int64(b) & 0x7F) << shift
  9816. if b < 0x80 {
  9817. break
  9818. }
  9819. }
  9820. default:
  9821. iNdEx = preIndex
  9822. skippy, err := skipApi(dAtA[iNdEx:])
  9823. if err != nil {
  9824. return err
  9825. }
  9826. if skippy < 0 {
  9827. return ErrInvalidLengthApi
  9828. }
  9829. if (iNdEx + skippy) > l {
  9830. return io.ErrUnexpectedEOF
  9831. }
  9832. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9833. iNdEx += skippy
  9834. }
  9835. }
  9836. if iNdEx > l {
  9837. return io.ErrUnexpectedEOF
  9838. }
  9839. return nil
  9840. }
  9841. func (m *RoomExtendBatchIncreReq) Unmarshal(dAtA []byte) error {
  9842. l := len(dAtA)
  9843. iNdEx := 0
  9844. for iNdEx < l {
  9845. preIndex := iNdEx
  9846. var wire uint64
  9847. for shift := uint(0); ; shift += 7 {
  9848. if shift >= 64 {
  9849. return ErrIntOverflowApi
  9850. }
  9851. if iNdEx >= l {
  9852. return io.ErrUnexpectedEOF
  9853. }
  9854. b := dAtA[iNdEx]
  9855. iNdEx++
  9856. wire |= (uint64(b) & 0x7F) << shift
  9857. if b < 0x80 {
  9858. break
  9859. }
  9860. }
  9861. fieldNum := int32(wire >> 3)
  9862. wireType := int(wire & 0x7)
  9863. if wireType == 4 {
  9864. return fmt.Errorf("proto: RoomExtendBatchIncreReq: wiretype end group for non-group")
  9865. }
  9866. if fieldNum <= 0 {
  9867. return fmt.Errorf("proto: RoomExtendBatchIncreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9868. }
  9869. switch fieldNum {
  9870. case 1:
  9871. if wireType != 2 {
  9872. return fmt.Errorf("proto: wrong wireType = %d for field Reqs", wireType)
  9873. }
  9874. var msglen int
  9875. for shift := uint(0); ; shift += 7 {
  9876. if shift >= 64 {
  9877. return ErrIntOverflowApi
  9878. }
  9879. if iNdEx >= l {
  9880. return io.ErrUnexpectedEOF
  9881. }
  9882. b := dAtA[iNdEx]
  9883. iNdEx++
  9884. msglen |= (int(b) & 0x7F) << shift
  9885. if b < 0x80 {
  9886. break
  9887. }
  9888. }
  9889. if msglen < 0 {
  9890. return ErrInvalidLengthApi
  9891. }
  9892. postIndex := iNdEx + msglen
  9893. if postIndex > l {
  9894. return io.ErrUnexpectedEOF
  9895. }
  9896. m.Reqs = append(m.Reqs, &RoomExtendIncreReq{})
  9897. if err := m.Reqs[len(m.Reqs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9898. return err
  9899. }
  9900. iNdEx = postIndex
  9901. default:
  9902. iNdEx = preIndex
  9903. skippy, err := skipApi(dAtA[iNdEx:])
  9904. if err != nil {
  9905. return err
  9906. }
  9907. if skippy < 0 {
  9908. return ErrInvalidLengthApi
  9909. }
  9910. if (iNdEx + skippy) > l {
  9911. return io.ErrUnexpectedEOF
  9912. }
  9913. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9914. iNdEx += skippy
  9915. }
  9916. }
  9917. if iNdEx > l {
  9918. return io.ErrUnexpectedEOF
  9919. }
  9920. return nil
  9921. }
  9922. func (m *RoomTagCreateReq) Unmarshal(dAtA []byte) error {
  9923. l := len(dAtA)
  9924. iNdEx := 0
  9925. for iNdEx < l {
  9926. preIndex := iNdEx
  9927. var wire uint64
  9928. for shift := uint(0); ; shift += 7 {
  9929. if shift >= 64 {
  9930. return ErrIntOverflowApi
  9931. }
  9932. if iNdEx >= l {
  9933. return io.ErrUnexpectedEOF
  9934. }
  9935. b := dAtA[iNdEx]
  9936. iNdEx++
  9937. wire |= (uint64(b) & 0x7F) << shift
  9938. if b < 0x80 {
  9939. break
  9940. }
  9941. }
  9942. fieldNum := int32(wire >> 3)
  9943. wireType := int(wire & 0x7)
  9944. if wireType == 4 {
  9945. return fmt.Errorf("proto: RoomTagCreateReq: wiretype end group for non-group")
  9946. }
  9947. if fieldNum <= 0 {
  9948. return fmt.Errorf("proto: RoomTagCreateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9949. }
  9950. switch fieldNum {
  9951. case 1:
  9952. if wireType != 0 {
  9953. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  9954. }
  9955. m.RoomId = 0
  9956. for shift := uint(0); ; shift += 7 {
  9957. if shift >= 64 {
  9958. return ErrIntOverflowApi
  9959. }
  9960. if iNdEx >= l {
  9961. return io.ErrUnexpectedEOF
  9962. }
  9963. b := dAtA[iNdEx]
  9964. iNdEx++
  9965. m.RoomId |= (int64(b) & 0x7F) << shift
  9966. if b < 0x80 {
  9967. break
  9968. }
  9969. }
  9970. case 2:
  9971. if wireType != 0 {
  9972. return fmt.Errorf("proto: wrong wireType = %d for field TagId", wireType)
  9973. }
  9974. m.TagId = 0
  9975. for shift := uint(0); ; shift += 7 {
  9976. if shift >= 64 {
  9977. return ErrIntOverflowApi
  9978. }
  9979. if iNdEx >= l {
  9980. return io.ErrUnexpectedEOF
  9981. }
  9982. b := dAtA[iNdEx]
  9983. iNdEx++
  9984. m.TagId |= (int64(b) & 0x7F) << shift
  9985. if b < 0x80 {
  9986. break
  9987. }
  9988. }
  9989. case 3:
  9990. if wireType != 0 {
  9991. return fmt.Errorf("proto: wrong wireType = %d for field TagSubId", wireType)
  9992. }
  9993. m.TagSubId = 0
  9994. for shift := uint(0); ; shift += 7 {
  9995. if shift >= 64 {
  9996. return ErrIntOverflowApi
  9997. }
  9998. if iNdEx >= l {
  9999. return io.ErrUnexpectedEOF
  10000. }
  10001. b := dAtA[iNdEx]
  10002. iNdEx++
  10003. m.TagSubId |= (int64(b) & 0x7F) << shift
  10004. if b < 0x80 {
  10005. break
  10006. }
  10007. }
  10008. case 4:
  10009. if wireType != 0 {
  10010. return fmt.Errorf("proto: wrong wireType = %d for field TagValue", wireType)
  10011. }
  10012. m.TagValue = 0
  10013. for shift := uint(0); ; shift += 7 {
  10014. if shift >= 64 {
  10015. return ErrIntOverflowApi
  10016. }
  10017. if iNdEx >= l {
  10018. return io.ErrUnexpectedEOF
  10019. }
  10020. b := dAtA[iNdEx]
  10021. iNdEx++
  10022. m.TagValue |= (int64(b) & 0x7F) << shift
  10023. if b < 0x80 {
  10024. break
  10025. }
  10026. }
  10027. case 5:
  10028. if wireType != 2 {
  10029. return fmt.Errorf("proto: wrong wireType = %d for field TagExt", wireType)
  10030. }
  10031. var stringLen uint64
  10032. for shift := uint(0); ; shift += 7 {
  10033. if shift >= 64 {
  10034. return ErrIntOverflowApi
  10035. }
  10036. if iNdEx >= l {
  10037. return io.ErrUnexpectedEOF
  10038. }
  10039. b := dAtA[iNdEx]
  10040. iNdEx++
  10041. stringLen |= (uint64(b) & 0x7F) << shift
  10042. if b < 0x80 {
  10043. break
  10044. }
  10045. }
  10046. intStringLen := int(stringLen)
  10047. if intStringLen < 0 {
  10048. return ErrInvalidLengthApi
  10049. }
  10050. postIndex := iNdEx + intStringLen
  10051. if postIndex > l {
  10052. return io.ErrUnexpectedEOF
  10053. }
  10054. m.TagExt = string(dAtA[iNdEx:postIndex])
  10055. iNdEx = postIndex
  10056. case 6:
  10057. if wireType != 0 {
  10058. return fmt.Errorf("proto: wrong wireType = %d for field TagExpireAt", wireType)
  10059. }
  10060. m.TagExpireAt = 0
  10061. for shift := uint(0); ; shift += 7 {
  10062. if shift >= 64 {
  10063. return ErrIntOverflowApi
  10064. }
  10065. if iNdEx >= l {
  10066. return io.ErrUnexpectedEOF
  10067. }
  10068. b := dAtA[iNdEx]
  10069. iNdEx++
  10070. m.TagExpireAt |= (int64(b) & 0x7F) << shift
  10071. if b < 0x80 {
  10072. break
  10073. }
  10074. }
  10075. default:
  10076. iNdEx = preIndex
  10077. skippy, err := skipApi(dAtA[iNdEx:])
  10078. if err != nil {
  10079. return err
  10080. }
  10081. if skippy < 0 {
  10082. return ErrInvalidLengthApi
  10083. }
  10084. if (iNdEx + skippy) > l {
  10085. return io.ErrUnexpectedEOF
  10086. }
  10087. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10088. iNdEx += skippy
  10089. }
  10090. }
  10091. if iNdEx > l {
  10092. return io.ErrUnexpectedEOF
  10093. }
  10094. return nil
  10095. }
  10096. func (m *RoomAttrCreateReq) Unmarshal(dAtA []byte) error {
  10097. l := len(dAtA)
  10098. iNdEx := 0
  10099. for iNdEx < l {
  10100. preIndex := iNdEx
  10101. var wire uint64
  10102. for shift := uint(0); ; shift += 7 {
  10103. if shift >= 64 {
  10104. return ErrIntOverflowApi
  10105. }
  10106. if iNdEx >= l {
  10107. return io.ErrUnexpectedEOF
  10108. }
  10109. b := dAtA[iNdEx]
  10110. iNdEx++
  10111. wire |= (uint64(b) & 0x7F) << shift
  10112. if b < 0x80 {
  10113. break
  10114. }
  10115. }
  10116. fieldNum := int32(wire >> 3)
  10117. wireType := int(wire & 0x7)
  10118. if wireType == 4 {
  10119. return fmt.Errorf("proto: RoomAttrCreateReq: wiretype end group for non-group")
  10120. }
  10121. if fieldNum <= 0 {
  10122. return fmt.Errorf("proto: RoomAttrCreateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  10123. }
  10124. switch fieldNum {
  10125. case 1:
  10126. if wireType != 0 {
  10127. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  10128. }
  10129. m.RoomId = 0
  10130. for shift := uint(0); ; shift += 7 {
  10131. if shift >= 64 {
  10132. return ErrIntOverflowApi
  10133. }
  10134. if iNdEx >= l {
  10135. return io.ErrUnexpectedEOF
  10136. }
  10137. b := dAtA[iNdEx]
  10138. iNdEx++
  10139. m.RoomId |= (int64(b) & 0x7F) << shift
  10140. if b < 0x80 {
  10141. break
  10142. }
  10143. }
  10144. case 2:
  10145. if wireType != 0 {
  10146. return fmt.Errorf("proto: wrong wireType = %d for field AttrId", wireType)
  10147. }
  10148. m.AttrId = 0
  10149. for shift := uint(0); ; shift += 7 {
  10150. if shift >= 64 {
  10151. return ErrIntOverflowApi
  10152. }
  10153. if iNdEx >= l {
  10154. return io.ErrUnexpectedEOF
  10155. }
  10156. b := dAtA[iNdEx]
  10157. iNdEx++
  10158. m.AttrId |= (int64(b) & 0x7F) << shift
  10159. if b < 0x80 {
  10160. break
  10161. }
  10162. }
  10163. case 3:
  10164. if wireType != 0 {
  10165. return fmt.Errorf("proto: wrong wireType = %d for field AttrSubId", wireType)
  10166. }
  10167. m.AttrSubId = 0
  10168. for shift := uint(0); ; shift += 7 {
  10169. if shift >= 64 {
  10170. return ErrIntOverflowApi
  10171. }
  10172. if iNdEx >= l {
  10173. return io.ErrUnexpectedEOF
  10174. }
  10175. b := dAtA[iNdEx]
  10176. iNdEx++
  10177. m.AttrSubId |= (int64(b) & 0x7F) << shift
  10178. if b < 0x80 {
  10179. break
  10180. }
  10181. }
  10182. case 4:
  10183. if wireType != 0 {
  10184. return fmt.Errorf("proto: wrong wireType = %d for field AttrValue", wireType)
  10185. }
  10186. m.AttrValue = 0
  10187. for shift := uint(0); ; shift += 7 {
  10188. if shift >= 64 {
  10189. return ErrIntOverflowApi
  10190. }
  10191. if iNdEx >= l {
  10192. return io.ErrUnexpectedEOF
  10193. }
  10194. b := dAtA[iNdEx]
  10195. iNdEx++
  10196. m.AttrValue |= (int64(b) & 0x7F) << shift
  10197. if b < 0x80 {
  10198. break
  10199. }
  10200. }
  10201. case 5:
  10202. if wireType != 2 {
  10203. return fmt.Errorf("proto: wrong wireType = %d for field AttrExt", wireType)
  10204. }
  10205. var stringLen uint64
  10206. for shift := uint(0); ; shift += 7 {
  10207. if shift >= 64 {
  10208. return ErrIntOverflowApi
  10209. }
  10210. if iNdEx >= l {
  10211. return io.ErrUnexpectedEOF
  10212. }
  10213. b := dAtA[iNdEx]
  10214. iNdEx++
  10215. stringLen |= (uint64(b) & 0x7F) << shift
  10216. if b < 0x80 {
  10217. break
  10218. }
  10219. }
  10220. intStringLen := int(stringLen)
  10221. if intStringLen < 0 {
  10222. return ErrInvalidLengthApi
  10223. }
  10224. postIndex := iNdEx + intStringLen
  10225. if postIndex > l {
  10226. return io.ErrUnexpectedEOF
  10227. }
  10228. m.AttrExt = string(dAtA[iNdEx:postIndex])
  10229. iNdEx = postIndex
  10230. default:
  10231. iNdEx = preIndex
  10232. skippy, err := skipApi(dAtA[iNdEx:])
  10233. if err != nil {
  10234. return err
  10235. }
  10236. if skippy < 0 {
  10237. return ErrInvalidLengthApi
  10238. }
  10239. if (iNdEx + skippy) > l {
  10240. return io.ErrUnexpectedEOF
  10241. }
  10242. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10243. iNdEx += skippy
  10244. }
  10245. }
  10246. if iNdEx > l {
  10247. return io.ErrUnexpectedEOF
  10248. }
  10249. return nil
  10250. }
  10251. func (m *RoomAttrSetExReq) Unmarshal(dAtA []byte) error {
  10252. l := len(dAtA)
  10253. iNdEx := 0
  10254. for iNdEx < l {
  10255. preIndex := iNdEx
  10256. var wire uint64
  10257. for shift := uint(0); ; shift += 7 {
  10258. if shift >= 64 {
  10259. return ErrIntOverflowApi
  10260. }
  10261. if iNdEx >= l {
  10262. return io.ErrUnexpectedEOF
  10263. }
  10264. b := dAtA[iNdEx]
  10265. iNdEx++
  10266. wire |= (uint64(b) & 0x7F) << shift
  10267. if b < 0x80 {
  10268. break
  10269. }
  10270. }
  10271. fieldNum := int32(wire >> 3)
  10272. wireType := int(wire & 0x7)
  10273. if wireType == 4 {
  10274. return fmt.Errorf("proto: RoomAttrSetExReq: wiretype end group for non-group")
  10275. }
  10276. if fieldNum <= 0 {
  10277. return fmt.Errorf("proto: RoomAttrSetExReq: illegal tag %d (wire type %d)", fieldNum, wire)
  10278. }
  10279. switch fieldNum {
  10280. case 1:
  10281. if wireType != 0 {
  10282. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  10283. }
  10284. m.RoomId = 0
  10285. for shift := uint(0); ; shift += 7 {
  10286. if shift >= 64 {
  10287. return ErrIntOverflowApi
  10288. }
  10289. if iNdEx >= l {
  10290. return io.ErrUnexpectedEOF
  10291. }
  10292. b := dAtA[iNdEx]
  10293. iNdEx++
  10294. m.RoomId |= (int64(b) & 0x7F) << shift
  10295. if b < 0x80 {
  10296. break
  10297. }
  10298. }
  10299. case 2:
  10300. if wireType != 0 {
  10301. return fmt.Errorf("proto: wrong wireType = %d for field AttrId", wireType)
  10302. }
  10303. m.AttrId = 0
  10304. for shift := uint(0); ; shift += 7 {
  10305. if shift >= 64 {
  10306. return ErrIntOverflowApi
  10307. }
  10308. if iNdEx >= l {
  10309. return io.ErrUnexpectedEOF
  10310. }
  10311. b := dAtA[iNdEx]
  10312. iNdEx++
  10313. m.AttrId |= (int64(b) & 0x7F) << shift
  10314. if b < 0x80 {
  10315. break
  10316. }
  10317. }
  10318. case 3:
  10319. if wireType != 0 {
  10320. return fmt.Errorf("proto: wrong wireType = %d for field AttrSubId", wireType)
  10321. }
  10322. m.AttrSubId = 0
  10323. for shift := uint(0); ; shift += 7 {
  10324. if shift >= 64 {
  10325. return ErrIntOverflowApi
  10326. }
  10327. if iNdEx >= l {
  10328. return io.ErrUnexpectedEOF
  10329. }
  10330. b := dAtA[iNdEx]
  10331. iNdEx++
  10332. m.AttrSubId |= (int64(b) & 0x7F) << shift
  10333. if b < 0x80 {
  10334. break
  10335. }
  10336. }
  10337. case 4:
  10338. if wireType != 0 {
  10339. return fmt.Errorf("proto: wrong wireType = %d for field AttrValue", wireType)
  10340. }
  10341. m.AttrValue = 0
  10342. for shift := uint(0); ; shift += 7 {
  10343. if shift >= 64 {
  10344. return ErrIntOverflowApi
  10345. }
  10346. if iNdEx >= l {
  10347. return io.ErrUnexpectedEOF
  10348. }
  10349. b := dAtA[iNdEx]
  10350. iNdEx++
  10351. m.AttrValue |= (int64(b) & 0x7F) << shift
  10352. if b < 0x80 {
  10353. break
  10354. }
  10355. }
  10356. case 5:
  10357. if wireType != 2 {
  10358. return fmt.Errorf("proto: wrong wireType = %d for field AttrExt", wireType)
  10359. }
  10360. var stringLen uint64
  10361. for shift := uint(0); ; shift += 7 {
  10362. if shift >= 64 {
  10363. return ErrIntOverflowApi
  10364. }
  10365. if iNdEx >= l {
  10366. return io.ErrUnexpectedEOF
  10367. }
  10368. b := dAtA[iNdEx]
  10369. iNdEx++
  10370. stringLen |= (uint64(b) & 0x7F) << shift
  10371. if b < 0x80 {
  10372. break
  10373. }
  10374. }
  10375. intStringLen := int(stringLen)
  10376. if intStringLen < 0 {
  10377. return ErrInvalidLengthApi
  10378. }
  10379. postIndex := iNdEx + intStringLen
  10380. if postIndex > l {
  10381. return io.ErrUnexpectedEOF
  10382. }
  10383. m.AttrExt = string(dAtA[iNdEx:postIndex])
  10384. iNdEx = postIndex
  10385. default:
  10386. iNdEx = preIndex
  10387. skippy, err := skipApi(dAtA[iNdEx:])
  10388. if err != nil {
  10389. return err
  10390. }
  10391. if skippy < 0 {
  10392. return ErrInvalidLengthApi
  10393. }
  10394. if (iNdEx + skippy) > l {
  10395. return io.ErrUnexpectedEOF
  10396. }
  10397. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10398. iNdEx += skippy
  10399. }
  10400. }
  10401. if iNdEx > l {
  10402. return io.ErrUnexpectedEOF
  10403. }
  10404. return nil
  10405. }
  10406. func (m *FetchAreasReq) Unmarshal(dAtA []byte) error {
  10407. l := len(dAtA)
  10408. iNdEx := 0
  10409. for iNdEx < l {
  10410. preIndex := iNdEx
  10411. var wire uint64
  10412. for shift := uint(0); ; shift += 7 {
  10413. if shift >= 64 {
  10414. return ErrIntOverflowApi
  10415. }
  10416. if iNdEx >= l {
  10417. return io.ErrUnexpectedEOF
  10418. }
  10419. b := dAtA[iNdEx]
  10420. iNdEx++
  10421. wire |= (uint64(b) & 0x7F) << shift
  10422. if b < 0x80 {
  10423. break
  10424. }
  10425. }
  10426. fieldNum := int32(wire >> 3)
  10427. wireType := int(wire & 0x7)
  10428. if wireType == 4 {
  10429. return fmt.Errorf("proto: FetchAreasReq: wiretype end group for non-group")
  10430. }
  10431. if fieldNum <= 0 {
  10432. return fmt.Errorf("proto: FetchAreasReq: illegal tag %d (wire type %d)", fieldNum, wire)
  10433. }
  10434. switch fieldNum {
  10435. case 1:
  10436. if wireType != 0 {
  10437. return fmt.Errorf("proto: wrong wireType = %d for field AreaId", wireType)
  10438. }
  10439. m.AreaId = 0
  10440. for shift := uint(0); ; shift += 7 {
  10441. if shift >= 64 {
  10442. return ErrIntOverflowApi
  10443. }
  10444. if iNdEx >= l {
  10445. return io.ErrUnexpectedEOF
  10446. }
  10447. b := dAtA[iNdEx]
  10448. iNdEx++
  10449. m.AreaId |= (int64(b) & 0x7F) << shift
  10450. if b < 0x80 {
  10451. break
  10452. }
  10453. }
  10454. default:
  10455. iNdEx = preIndex
  10456. skippy, err := skipApi(dAtA[iNdEx:])
  10457. if err != nil {
  10458. return err
  10459. }
  10460. if skippy < 0 {
  10461. return ErrInvalidLengthApi
  10462. }
  10463. if (iNdEx + skippy) > l {
  10464. return io.ErrUnexpectedEOF
  10465. }
  10466. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10467. iNdEx += skippy
  10468. }
  10469. }
  10470. if iNdEx > l {
  10471. return io.ErrUnexpectedEOF
  10472. }
  10473. return nil
  10474. }
  10475. func (m *AreaInfo) Unmarshal(dAtA []byte) error {
  10476. l := len(dAtA)
  10477. iNdEx := 0
  10478. for iNdEx < l {
  10479. preIndex := iNdEx
  10480. var wire uint64
  10481. for shift := uint(0); ; shift += 7 {
  10482. if shift >= 64 {
  10483. return ErrIntOverflowApi
  10484. }
  10485. if iNdEx >= l {
  10486. return io.ErrUnexpectedEOF
  10487. }
  10488. b := dAtA[iNdEx]
  10489. iNdEx++
  10490. wire |= (uint64(b) & 0x7F) << shift
  10491. if b < 0x80 {
  10492. break
  10493. }
  10494. }
  10495. fieldNum := int32(wire >> 3)
  10496. wireType := int(wire & 0x7)
  10497. if wireType == 4 {
  10498. return fmt.Errorf("proto: AreaInfo: wiretype end group for non-group")
  10499. }
  10500. if fieldNum <= 0 {
  10501. return fmt.Errorf("proto: AreaInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  10502. }
  10503. switch fieldNum {
  10504. case 1:
  10505. if wireType != 0 {
  10506. return fmt.Errorf("proto: wrong wireType = %d for field AreaId", wireType)
  10507. }
  10508. m.AreaId = 0
  10509. for shift := uint(0); ; shift += 7 {
  10510. if shift >= 64 {
  10511. return ErrIntOverflowApi
  10512. }
  10513. if iNdEx >= l {
  10514. return io.ErrUnexpectedEOF
  10515. }
  10516. b := dAtA[iNdEx]
  10517. iNdEx++
  10518. m.AreaId |= (int64(b) & 0x7F) << shift
  10519. if b < 0x80 {
  10520. break
  10521. }
  10522. }
  10523. case 2:
  10524. if wireType != 2 {
  10525. return fmt.Errorf("proto: wrong wireType = %d for field AreaName", wireType)
  10526. }
  10527. var stringLen uint64
  10528. for shift := uint(0); ; shift += 7 {
  10529. if shift >= 64 {
  10530. return ErrIntOverflowApi
  10531. }
  10532. if iNdEx >= l {
  10533. return io.ErrUnexpectedEOF
  10534. }
  10535. b := dAtA[iNdEx]
  10536. iNdEx++
  10537. stringLen |= (uint64(b) & 0x7F) << shift
  10538. if b < 0x80 {
  10539. break
  10540. }
  10541. }
  10542. intStringLen := int(stringLen)
  10543. if intStringLen < 0 {
  10544. return ErrInvalidLengthApi
  10545. }
  10546. postIndex := iNdEx + intStringLen
  10547. if postIndex > l {
  10548. return io.ErrUnexpectedEOF
  10549. }
  10550. m.AreaName = string(dAtA[iNdEx:postIndex])
  10551. iNdEx = postIndex
  10552. default:
  10553. iNdEx = preIndex
  10554. skippy, err := skipApi(dAtA[iNdEx:])
  10555. if err != nil {
  10556. return err
  10557. }
  10558. if skippy < 0 {
  10559. return ErrInvalidLengthApi
  10560. }
  10561. if (iNdEx + skippy) > l {
  10562. return io.ErrUnexpectedEOF
  10563. }
  10564. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10565. iNdEx += skippy
  10566. }
  10567. }
  10568. if iNdEx > l {
  10569. return io.ErrUnexpectedEOF
  10570. }
  10571. return nil
  10572. }
  10573. func (m *FetchAreasResp) Unmarshal(dAtA []byte) error {
  10574. l := len(dAtA)
  10575. iNdEx := 0
  10576. for iNdEx < l {
  10577. preIndex := iNdEx
  10578. var wire uint64
  10579. for shift := uint(0); ; shift += 7 {
  10580. if shift >= 64 {
  10581. return ErrIntOverflowApi
  10582. }
  10583. if iNdEx >= l {
  10584. return io.ErrUnexpectedEOF
  10585. }
  10586. b := dAtA[iNdEx]
  10587. iNdEx++
  10588. wire |= (uint64(b) & 0x7F) << shift
  10589. if b < 0x80 {
  10590. break
  10591. }
  10592. }
  10593. fieldNum := int32(wire >> 3)
  10594. wireType := int(wire & 0x7)
  10595. if wireType == 4 {
  10596. return fmt.Errorf("proto: FetchAreasResp: wiretype end group for non-group")
  10597. }
  10598. if fieldNum <= 0 {
  10599. return fmt.Errorf("proto: FetchAreasResp: illegal tag %d (wire type %d)", fieldNum, wire)
  10600. }
  10601. switch fieldNum {
  10602. case 1:
  10603. if wireType != 2 {
  10604. return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
  10605. }
  10606. var msglen int
  10607. for shift := uint(0); ; shift += 7 {
  10608. if shift >= 64 {
  10609. return ErrIntOverflowApi
  10610. }
  10611. if iNdEx >= l {
  10612. return io.ErrUnexpectedEOF
  10613. }
  10614. b := dAtA[iNdEx]
  10615. iNdEx++
  10616. msglen |= (int(b) & 0x7F) << shift
  10617. if b < 0x80 {
  10618. break
  10619. }
  10620. }
  10621. if msglen < 0 {
  10622. return ErrInvalidLengthApi
  10623. }
  10624. postIndex := iNdEx + msglen
  10625. if postIndex > l {
  10626. return io.ErrUnexpectedEOF
  10627. }
  10628. if m.Info == nil {
  10629. m.Info = &AreaInfo{}
  10630. }
  10631. if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10632. return err
  10633. }
  10634. iNdEx = postIndex
  10635. case 2:
  10636. if wireType != 2 {
  10637. return fmt.Errorf("proto: wrong wireType = %d for field Areas", wireType)
  10638. }
  10639. var msglen int
  10640. for shift := uint(0); ; shift += 7 {
  10641. if shift >= 64 {
  10642. return ErrIntOverflowApi
  10643. }
  10644. if iNdEx >= l {
  10645. return io.ErrUnexpectedEOF
  10646. }
  10647. b := dAtA[iNdEx]
  10648. iNdEx++
  10649. msglen |= (int(b) & 0x7F) << shift
  10650. if b < 0x80 {
  10651. break
  10652. }
  10653. }
  10654. if msglen < 0 {
  10655. return ErrInvalidLengthApi
  10656. }
  10657. postIndex := iNdEx + msglen
  10658. if postIndex > l {
  10659. return io.ErrUnexpectedEOF
  10660. }
  10661. m.Areas = append(m.Areas, &AreaInfo{})
  10662. if err := m.Areas[len(m.Areas)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10663. return err
  10664. }
  10665. iNdEx = postIndex
  10666. default:
  10667. iNdEx = preIndex
  10668. skippy, err := skipApi(dAtA[iNdEx:])
  10669. if err != nil {
  10670. return err
  10671. }
  10672. if skippy < 0 {
  10673. return ErrInvalidLengthApi
  10674. }
  10675. if (iNdEx + skippy) > l {
  10676. return io.ErrUnexpectedEOF
  10677. }
  10678. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10679. iNdEx += skippy
  10680. }
  10681. }
  10682. if iNdEx > l {
  10683. return io.ErrUnexpectedEOF
  10684. }
  10685. return nil
  10686. }
  10687. func (m *FetchAttrByIDsReq) Unmarshal(dAtA []byte) error {
  10688. l := len(dAtA)
  10689. iNdEx := 0
  10690. for iNdEx < l {
  10691. preIndex := iNdEx
  10692. var wire uint64
  10693. for shift := uint(0); ; shift += 7 {
  10694. if shift >= 64 {
  10695. return ErrIntOverflowApi
  10696. }
  10697. if iNdEx >= l {
  10698. return io.ErrUnexpectedEOF
  10699. }
  10700. b := dAtA[iNdEx]
  10701. iNdEx++
  10702. wire |= (uint64(b) & 0x7F) << shift
  10703. if b < 0x80 {
  10704. break
  10705. }
  10706. }
  10707. fieldNum := int32(wire >> 3)
  10708. wireType := int(wire & 0x7)
  10709. if wireType == 4 {
  10710. return fmt.Errorf("proto: FetchAttrByIDsReq: wiretype end group for non-group")
  10711. }
  10712. if fieldNum <= 0 {
  10713. return fmt.Errorf("proto: FetchAttrByIDsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  10714. }
  10715. switch fieldNum {
  10716. case 1:
  10717. if wireType == 0 {
  10718. var v int64
  10719. for shift := uint(0); ; shift += 7 {
  10720. if shift >= 64 {
  10721. return ErrIntOverflowApi
  10722. }
  10723. if iNdEx >= l {
  10724. return io.ErrUnexpectedEOF
  10725. }
  10726. b := dAtA[iNdEx]
  10727. iNdEx++
  10728. v |= (int64(b) & 0x7F) << shift
  10729. if b < 0x80 {
  10730. break
  10731. }
  10732. }
  10733. m.RoomIds = append(m.RoomIds, v)
  10734. } else if wireType == 2 {
  10735. var packedLen int
  10736. for shift := uint(0); ; shift += 7 {
  10737. if shift >= 64 {
  10738. return ErrIntOverflowApi
  10739. }
  10740. if iNdEx >= l {
  10741. return io.ErrUnexpectedEOF
  10742. }
  10743. b := dAtA[iNdEx]
  10744. iNdEx++
  10745. packedLen |= (int(b) & 0x7F) << shift
  10746. if b < 0x80 {
  10747. break
  10748. }
  10749. }
  10750. if packedLen < 0 {
  10751. return ErrInvalidLengthApi
  10752. }
  10753. postIndex := iNdEx + packedLen
  10754. if postIndex > l {
  10755. return io.ErrUnexpectedEOF
  10756. }
  10757. var elementCount int
  10758. var count int
  10759. for _, integer := range dAtA {
  10760. if integer < 128 {
  10761. count++
  10762. }
  10763. }
  10764. elementCount = count
  10765. if elementCount != 0 && len(m.RoomIds) == 0 {
  10766. m.RoomIds = make([]int64, 0, elementCount)
  10767. }
  10768. for iNdEx < postIndex {
  10769. var v int64
  10770. for shift := uint(0); ; shift += 7 {
  10771. if shift >= 64 {
  10772. return ErrIntOverflowApi
  10773. }
  10774. if iNdEx >= l {
  10775. return io.ErrUnexpectedEOF
  10776. }
  10777. b := dAtA[iNdEx]
  10778. iNdEx++
  10779. v |= (int64(b) & 0x7F) << shift
  10780. if b < 0x80 {
  10781. break
  10782. }
  10783. }
  10784. m.RoomIds = append(m.RoomIds, v)
  10785. }
  10786. } else {
  10787. return fmt.Errorf("proto: wrong wireType = %d for field RoomIds", wireType)
  10788. }
  10789. case 2:
  10790. if wireType != 0 {
  10791. return fmt.Errorf("proto: wrong wireType = %d for field AttrId", wireType)
  10792. }
  10793. m.AttrId = 0
  10794. for shift := uint(0); ; shift += 7 {
  10795. if shift >= 64 {
  10796. return ErrIntOverflowApi
  10797. }
  10798. if iNdEx >= l {
  10799. return io.ErrUnexpectedEOF
  10800. }
  10801. b := dAtA[iNdEx]
  10802. iNdEx++
  10803. m.AttrId |= (int64(b) & 0x7F) << shift
  10804. if b < 0x80 {
  10805. break
  10806. }
  10807. }
  10808. case 3:
  10809. if wireType != 0 {
  10810. return fmt.Errorf("proto: wrong wireType = %d for field AttrSubId", wireType)
  10811. }
  10812. m.AttrSubId = 0
  10813. for shift := uint(0); ; shift += 7 {
  10814. if shift >= 64 {
  10815. return ErrIntOverflowApi
  10816. }
  10817. if iNdEx >= l {
  10818. return io.ErrUnexpectedEOF
  10819. }
  10820. b := dAtA[iNdEx]
  10821. iNdEx++
  10822. m.AttrSubId |= (int64(b) & 0x7F) << shift
  10823. if b < 0x80 {
  10824. break
  10825. }
  10826. }
  10827. default:
  10828. iNdEx = preIndex
  10829. skippy, err := skipApi(dAtA[iNdEx:])
  10830. if err != nil {
  10831. return err
  10832. }
  10833. if skippy < 0 {
  10834. return ErrInvalidLengthApi
  10835. }
  10836. if (iNdEx + skippy) > l {
  10837. return io.ErrUnexpectedEOF
  10838. }
  10839. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10840. iNdEx += skippy
  10841. }
  10842. }
  10843. if iNdEx > l {
  10844. return io.ErrUnexpectedEOF
  10845. }
  10846. return nil
  10847. }
  10848. func (m *AttrData) Unmarshal(dAtA []byte) error {
  10849. l := len(dAtA)
  10850. iNdEx := 0
  10851. for iNdEx < l {
  10852. preIndex := iNdEx
  10853. var wire uint64
  10854. for shift := uint(0); ; shift += 7 {
  10855. if shift >= 64 {
  10856. return ErrIntOverflowApi
  10857. }
  10858. if iNdEx >= l {
  10859. return io.ErrUnexpectedEOF
  10860. }
  10861. b := dAtA[iNdEx]
  10862. iNdEx++
  10863. wire |= (uint64(b) & 0x7F) << shift
  10864. if b < 0x80 {
  10865. break
  10866. }
  10867. }
  10868. fieldNum := int32(wire >> 3)
  10869. wireType := int(wire & 0x7)
  10870. if wireType == 4 {
  10871. return fmt.Errorf("proto: AttrData: wiretype end group for non-group")
  10872. }
  10873. if fieldNum <= 0 {
  10874. return fmt.Errorf("proto: AttrData: illegal tag %d (wire type %d)", fieldNum, wire)
  10875. }
  10876. switch fieldNum {
  10877. case 1:
  10878. if wireType != 0 {
  10879. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  10880. }
  10881. m.RoomId = 0
  10882. for shift := uint(0); ; shift += 7 {
  10883. if shift >= 64 {
  10884. return ErrIntOverflowApi
  10885. }
  10886. if iNdEx >= l {
  10887. return io.ErrUnexpectedEOF
  10888. }
  10889. b := dAtA[iNdEx]
  10890. iNdEx++
  10891. m.RoomId |= (int64(b) & 0x7F) << shift
  10892. if b < 0x80 {
  10893. break
  10894. }
  10895. }
  10896. case 2:
  10897. if wireType != 0 {
  10898. return fmt.Errorf("proto: wrong wireType = %d for field AttrId", wireType)
  10899. }
  10900. m.AttrId = 0
  10901. for shift := uint(0); ; shift += 7 {
  10902. if shift >= 64 {
  10903. return ErrIntOverflowApi
  10904. }
  10905. if iNdEx >= l {
  10906. return io.ErrUnexpectedEOF
  10907. }
  10908. b := dAtA[iNdEx]
  10909. iNdEx++
  10910. m.AttrId |= (int64(b) & 0x7F) << shift
  10911. if b < 0x80 {
  10912. break
  10913. }
  10914. }
  10915. case 3:
  10916. if wireType != 0 {
  10917. return fmt.Errorf("proto: wrong wireType = %d for field AttrSubId", wireType)
  10918. }
  10919. m.AttrSubId = 0
  10920. for shift := uint(0); ; shift += 7 {
  10921. if shift >= 64 {
  10922. return ErrIntOverflowApi
  10923. }
  10924. if iNdEx >= l {
  10925. return io.ErrUnexpectedEOF
  10926. }
  10927. b := dAtA[iNdEx]
  10928. iNdEx++
  10929. m.AttrSubId |= (int64(b) & 0x7F) << shift
  10930. if b < 0x80 {
  10931. break
  10932. }
  10933. }
  10934. case 4:
  10935. if wireType != 0 {
  10936. return fmt.Errorf("proto: wrong wireType = %d for field AttrValue", wireType)
  10937. }
  10938. m.AttrValue = 0
  10939. for shift := uint(0); ; shift += 7 {
  10940. if shift >= 64 {
  10941. return ErrIntOverflowApi
  10942. }
  10943. if iNdEx >= l {
  10944. return io.ErrUnexpectedEOF
  10945. }
  10946. b := dAtA[iNdEx]
  10947. iNdEx++
  10948. m.AttrValue |= (int64(b) & 0x7F) << shift
  10949. if b < 0x80 {
  10950. break
  10951. }
  10952. }
  10953. default:
  10954. iNdEx = preIndex
  10955. skippy, err := skipApi(dAtA[iNdEx:])
  10956. if err != nil {
  10957. return err
  10958. }
  10959. if skippy < 0 {
  10960. return ErrInvalidLengthApi
  10961. }
  10962. if (iNdEx + skippy) > l {
  10963. return io.ErrUnexpectedEOF
  10964. }
  10965. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10966. iNdEx += skippy
  10967. }
  10968. }
  10969. if iNdEx > l {
  10970. return io.ErrUnexpectedEOF
  10971. }
  10972. return nil
  10973. }
  10974. func (m *FetchAttrByIDsResp) Unmarshal(dAtA []byte) error {
  10975. l := len(dAtA)
  10976. iNdEx := 0
  10977. for iNdEx < l {
  10978. preIndex := iNdEx
  10979. var wire uint64
  10980. for shift := uint(0); ; shift += 7 {
  10981. if shift >= 64 {
  10982. return ErrIntOverflowApi
  10983. }
  10984. if iNdEx >= l {
  10985. return io.ErrUnexpectedEOF
  10986. }
  10987. b := dAtA[iNdEx]
  10988. iNdEx++
  10989. wire |= (uint64(b) & 0x7F) << shift
  10990. if b < 0x80 {
  10991. break
  10992. }
  10993. }
  10994. fieldNum := int32(wire >> 3)
  10995. wireType := int(wire & 0x7)
  10996. if wireType == 4 {
  10997. return fmt.Errorf("proto: FetchAttrByIDsResp: wiretype end group for non-group")
  10998. }
  10999. if fieldNum <= 0 {
  11000. return fmt.Errorf("proto: FetchAttrByIDsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  11001. }
  11002. switch fieldNum {
  11003. case 1:
  11004. if wireType != 2 {
  11005. return fmt.Errorf("proto: wrong wireType = %d for field Attrs", wireType)
  11006. }
  11007. var msglen int
  11008. for shift := uint(0); ; shift += 7 {
  11009. if shift >= 64 {
  11010. return ErrIntOverflowApi
  11011. }
  11012. if iNdEx >= l {
  11013. return io.ErrUnexpectedEOF
  11014. }
  11015. b := dAtA[iNdEx]
  11016. iNdEx++
  11017. msglen |= (int(b) & 0x7F) << shift
  11018. if b < 0x80 {
  11019. break
  11020. }
  11021. }
  11022. if msglen < 0 {
  11023. return ErrInvalidLengthApi
  11024. }
  11025. postIndex := iNdEx + msglen
  11026. if postIndex > l {
  11027. return io.ErrUnexpectedEOF
  11028. }
  11029. if m.Attrs == nil {
  11030. m.Attrs = make(map[int64]*AttrData)
  11031. }
  11032. var mapkey int64
  11033. var mapvalue *AttrData
  11034. for iNdEx < postIndex {
  11035. entryPreIndex := iNdEx
  11036. var wire uint64
  11037. for shift := uint(0); ; shift += 7 {
  11038. if shift >= 64 {
  11039. return ErrIntOverflowApi
  11040. }
  11041. if iNdEx >= l {
  11042. return io.ErrUnexpectedEOF
  11043. }
  11044. b := dAtA[iNdEx]
  11045. iNdEx++
  11046. wire |= (uint64(b) & 0x7F) << shift
  11047. if b < 0x80 {
  11048. break
  11049. }
  11050. }
  11051. fieldNum := int32(wire >> 3)
  11052. if fieldNum == 1 {
  11053. for shift := uint(0); ; shift += 7 {
  11054. if shift >= 64 {
  11055. return ErrIntOverflowApi
  11056. }
  11057. if iNdEx >= l {
  11058. return io.ErrUnexpectedEOF
  11059. }
  11060. b := dAtA[iNdEx]
  11061. iNdEx++
  11062. mapkey |= (int64(b) & 0x7F) << shift
  11063. if b < 0x80 {
  11064. break
  11065. }
  11066. }
  11067. } else if fieldNum == 2 {
  11068. var mapmsglen int
  11069. for shift := uint(0); ; shift += 7 {
  11070. if shift >= 64 {
  11071. return ErrIntOverflowApi
  11072. }
  11073. if iNdEx >= l {
  11074. return io.ErrUnexpectedEOF
  11075. }
  11076. b := dAtA[iNdEx]
  11077. iNdEx++
  11078. mapmsglen |= (int(b) & 0x7F) << shift
  11079. if b < 0x80 {
  11080. break
  11081. }
  11082. }
  11083. if mapmsglen < 0 {
  11084. return ErrInvalidLengthApi
  11085. }
  11086. postmsgIndex := iNdEx + mapmsglen
  11087. if mapmsglen < 0 {
  11088. return ErrInvalidLengthApi
  11089. }
  11090. if postmsgIndex > l {
  11091. return io.ErrUnexpectedEOF
  11092. }
  11093. mapvalue = &AttrData{}
  11094. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  11095. return err
  11096. }
  11097. iNdEx = postmsgIndex
  11098. } else {
  11099. iNdEx = entryPreIndex
  11100. skippy, err := skipApi(dAtA[iNdEx:])
  11101. if err != nil {
  11102. return err
  11103. }
  11104. if skippy < 0 {
  11105. return ErrInvalidLengthApi
  11106. }
  11107. if (iNdEx + skippy) > postIndex {
  11108. return io.ErrUnexpectedEOF
  11109. }
  11110. iNdEx += skippy
  11111. }
  11112. }
  11113. m.Attrs[mapkey] = mapvalue
  11114. iNdEx = postIndex
  11115. default:
  11116. iNdEx = preIndex
  11117. skippy, err := skipApi(dAtA[iNdEx:])
  11118. if err != nil {
  11119. return err
  11120. }
  11121. if skippy < 0 {
  11122. return ErrInvalidLengthApi
  11123. }
  11124. if (iNdEx + skippy) > l {
  11125. return io.ErrUnexpectedEOF
  11126. }
  11127. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11128. iNdEx += skippy
  11129. }
  11130. }
  11131. if iNdEx > l {
  11132. return io.ErrUnexpectedEOF
  11133. }
  11134. return nil
  11135. }
  11136. func (m *AttrReq) Unmarshal(dAtA []byte) error {
  11137. l := len(dAtA)
  11138. iNdEx := 0
  11139. for iNdEx < l {
  11140. preIndex := iNdEx
  11141. var wire uint64
  11142. for shift := uint(0); ; shift += 7 {
  11143. if shift >= 64 {
  11144. return ErrIntOverflowApi
  11145. }
  11146. if iNdEx >= l {
  11147. return io.ErrUnexpectedEOF
  11148. }
  11149. b := dAtA[iNdEx]
  11150. iNdEx++
  11151. wire |= (uint64(b) & 0x7F) << shift
  11152. if b < 0x80 {
  11153. break
  11154. }
  11155. }
  11156. fieldNum := int32(wire >> 3)
  11157. wireType := int(wire & 0x7)
  11158. if wireType == 4 {
  11159. return fmt.Errorf("proto: AttrReq: wiretype end group for non-group")
  11160. }
  11161. if fieldNum <= 0 {
  11162. return fmt.Errorf("proto: AttrReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11163. }
  11164. switch fieldNum {
  11165. case 1:
  11166. if wireType != 0 {
  11167. return fmt.Errorf("proto: wrong wireType = %d for field AttrId", wireType)
  11168. }
  11169. m.AttrId = 0
  11170. for shift := uint(0); ; shift += 7 {
  11171. if shift >= 64 {
  11172. return ErrIntOverflowApi
  11173. }
  11174. if iNdEx >= l {
  11175. return io.ErrUnexpectedEOF
  11176. }
  11177. b := dAtA[iNdEx]
  11178. iNdEx++
  11179. m.AttrId |= (int64(b) & 0x7F) << shift
  11180. if b < 0x80 {
  11181. break
  11182. }
  11183. }
  11184. case 2:
  11185. if wireType != 0 {
  11186. return fmt.Errorf("proto: wrong wireType = %d for field AttrSubId", wireType)
  11187. }
  11188. m.AttrSubId = 0
  11189. for shift := uint(0); ; shift += 7 {
  11190. if shift >= 64 {
  11191. return ErrIntOverflowApi
  11192. }
  11193. if iNdEx >= l {
  11194. return io.ErrUnexpectedEOF
  11195. }
  11196. b := dAtA[iNdEx]
  11197. iNdEx++
  11198. m.AttrSubId |= (int64(b) & 0x7F) << shift
  11199. if b < 0x80 {
  11200. break
  11201. }
  11202. }
  11203. default:
  11204. iNdEx = preIndex
  11205. skippy, err := skipApi(dAtA[iNdEx:])
  11206. if err != nil {
  11207. return err
  11208. }
  11209. if skippy < 0 {
  11210. return ErrInvalidLengthApi
  11211. }
  11212. if (iNdEx + skippy) > l {
  11213. return io.ErrUnexpectedEOF
  11214. }
  11215. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11216. iNdEx += skippy
  11217. }
  11218. }
  11219. if iNdEx > l {
  11220. return io.ErrUnexpectedEOF
  11221. }
  11222. return nil
  11223. }
  11224. func (m *RoomOnlineListByAttrsReq) Unmarshal(dAtA []byte) error {
  11225. l := len(dAtA)
  11226. iNdEx := 0
  11227. for iNdEx < l {
  11228. preIndex := iNdEx
  11229. var wire uint64
  11230. for shift := uint(0); ; shift += 7 {
  11231. if shift >= 64 {
  11232. return ErrIntOverflowApi
  11233. }
  11234. if iNdEx >= l {
  11235. return io.ErrUnexpectedEOF
  11236. }
  11237. b := dAtA[iNdEx]
  11238. iNdEx++
  11239. wire |= (uint64(b) & 0x7F) << shift
  11240. if b < 0x80 {
  11241. break
  11242. }
  11243. }
  11244. fieldNum := int32(wire >> 3)
  11245. wireType := int(wire & 0x7)
  11246. if wireType == 4 {
  11247. return fmt.Errorf("proto: RoomOnlineListByAttrsReq: wiretype end group for non-group")
  11248. }
  11249. if fieldNum <= 0 {
  11250. return fmt.Errorf("proto: RoomOnlineListByAttrsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11251. }
  11252. switch fieldNum {
  11253. case 1:
  11254. if wireType != 2 {
  11255. return fmt.Errorf("proto: wrong wireType = %d for field Attrs", wireType)
  11256. }
  11257. var msglen int
  11258. for shift := uint(0); ; shift += 7 {
  11259. if shift >= 64 {
  11260. return ErrIntOverflowApi
  11261. }
  11262. if iNdEx >= l {
  11263. return io.ErrUnexpectedEOF
  11264. }
  11265. b := dAtA[iNdEx]
  11266. iNdEx++
  11267. msglen |= (int(b) & 0x7F) << shift
  11268. if b < 0x80 {
  11269. break
  11270. }
  11271. }
  11272. if msglen < 0 {
  11273. return ErrInvalidLengthApi
  11274. }
  11275. postIndex := iNdEx + msglen
  11276. if postIndex > l {
  11277. return io.ErrUnexpectedEOF
  11278. }
  11279. m.Attrs = append(m.Attrs, &AttrReq{})
  11280. if err := m.Attrs[len(m.Attrs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  11281. return err
  11282. }
  11283. iNdEx = postIndex
  11284. default:
  11285. iNdEx = preIndex
  11286. skippy, err := skipApi(dAtA[iNdEx:])
  11287. if err != nil {
  11288. return err
  11289. }
  11290. if skippy < 0 {
  11291. return ErrInvalidLengthApi
  11292. }
  11293. if (iNdEx + skippy) > l {
  11294. return io.ErrUnexpectedEOF
  11295. }
  11296. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11297. iNdEx += skippy
  11298. }
  11299. }
  11300. if iNdEx > l {
  11301. return io.ErrUnexpectedEOF
  11302. }
  11303. return nil
  11304. }
  11305. func (m *AttrResp) Unmarshal(dAtA []byte) error {
  11306. l := len(dAtA)
  11307. iNdEx := 0
  11308. for iNdEx < l {
  11309. preIndex := iNdEx
  11310. var wire uint64
  11311. for shift := uint(0); ; shift += 7 {
  11312. if shift >= 64 {
  11313. return ErrIntOverflowApi
  11314. }
  11315. if iNdEx >= l {
  11316. return io.ErrUnexpectedEOF
  11317. }
  11318. b := dAtA[iNdEx]
  11319. iNdEx++
  11320. wire |= (uint64(b) & 0x7F) << shift
  11321. if b < 0x80 {
  11322. break
  11323. }
  11324. }
  11325. fieldNum := int32(wire >> 3)
  11326. wireType := int(wire & 0x7)
  11327. if wireType == 4 {
  11328. return fmt.Errorf("proto: AttrResp: wiretype end group for non-group")
  11329. }
  11330. if fieldNum <= 0 {
  11331. return fmt.Errorf("proto: AttrResp: illegal tag %d (wire type %d)", fieldNum, wire)
  11332. }
  11333. switch fieldNum {
  11334. case 1:
  11335. if wireType != 0 {
  11336. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  11337. }
  11338. m.Uid = 0
  11339. for shift := uint(0); ; shift += 7 {
  11340. if shift >= 64 {
  11341. return ErrIntOverflowApi
  11342. }
  11343. if iNdEx >= l {
  11344. return io.ErrUnexpectedEOF
  11345. }
  11346. b := dAtA[iNdEx]
  11347. iNdEx++
  11348. m.Uid |= (int64(b) & 0x7F) << shift
  11349. if b < 0x80 {
  11350. break
  11351. }
  11352. }
  11353. case 2:
  11354. if wireType != 0 {
  11355. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  11356. }
  11357. m.RoomId = 0
  11358. for shift := uint(0); ; shift += 7 {
  11359. if shift >= 64 {
  11360. return ErrIntOverflowApi
  11361. }
  11362. if iNdEx >= l {
  11363. return io.ErrUnexpectedEOF
  11364. }
  11365. b := dAtA[iNdEx]
  11366. iNdEx++
  11367. m.RoomId |= (int64(b) & 0x7F) << shift
  11368. if b < 0x80 {
  11369. break
  11370. }
  11371. }
  11372. case 3:
  11373. if wireType != 0 {
  11374. return fmt.Errorf("proto: wrong wireType = %d for field AreaId", wireType)
  11375. }
  11376. m.AreaId = 0
  11377. for shift := uint(0); ; shift += 7 {
  11378. if shift >= 64 {
  11379. return ErrIntOverflowApi
  11380. }
  11381. if iNdEx >= l {
  11382. return io.ErrUnexpectedEOF
  11383. }
  11384. b := dAtA[iNdEx]
  11385. iNdEx++
  11386. m.AreaId |= (int64(b) & 0x7F) << shift
  11387. if b < 0x80 {
  11388. break
  11389. }
  11390. }
  11391. case 4:
  11392. if wireType != 0 {
  11393. return fmt.Errorf("proto: wrong wireType = %d for field ParentAreaId", wireType)
  11394. }
  11395. m.ParentAreaId = 0
  11396. for shift := uint(0); ; shift += 7 {
  11397. if shift >= 64 {
  11398. return ErrIntOverflowApi
  11399. }
  11400. if iNdEx >= l {
  11401. return io.ErrUnexpectedEOF
  11402. }
  11403. b := dAtA[iNdEx]
  11404. iNdEx++
  11405. m.ParentAreaId |= (int64(b) & 0x7F) << shift
  11406. if b < 0x80 {
  11407. break
  11408. }
  11409. }
  11410. case 5:
  11411. if wireType != 2 {
  11412. return fmt.Errorf("proto: wrong wireType = %d for field TagList", wireType)
  11413. }
  11414. var msglen int
  11415. for shift := uint(0); ; shift += 7 {
  11416. if shift >= 64 {
  11417. return ErrIntOverflowApi
  11418. }
  11419. if iNdEx >= l {
  11420. return io.ErrUnexpectedEOF
  11421. }
  11422. b := dAtA[iNdEx]
  11423. iNdEx++
  11424. msglen |= (int(b) & 0x7F) << shift
  11425. if b < 0x80 {
  11426. break
  11427. }
  11428. }
  11429. if msglen < 0 {
  11430. return ErrInvalidLengthApi
  11431. }
  11432. postIndex := iNdEx + msglen
  11433. if postIndex > l {
  11434. return io.ErrUnexpectedEOF
  11435. }
  11436. m.TagList = append(m.TagList, &TagData{})
  11437. if err := m.TagList[len(m.TagList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  11438. return err
  11439. }
  11440. iNdEx = postIndex
  11441. case 6:
  11442. if wireType != 2 {
  11443. return fmt.Errorf("proto: wrong wireType = %d for field AttrList", wireType)
  11444. }
  11445. var msglen int
  11446. for shift := uint(0); ; shift += 7 {
  11447. if shift >= 64 {
  11448. return ErrIntOverflowApi
  11449. }
  11450. if iNdEx >= l {
  11451. return io.ErrUnexpectedEOF
  11452. }
  11453. b := dAtA[iNdEx]
  11454. iNdEx++
  11455. msglen |= (int(b) & 0x7F) << shift
  11456. if b < 0x80 {
  11457. break
  11458. }
  11459. }
  11460. if msglen < 0 {
  11461. return ErrInvalidLengthApi
  11462. }
  11463. postIndex := iNdEx + msglen
  11464. if postIndex > l {
  11465. return io.ErrUnexpectedEOF
  11466. }
  11467. m.AttrList = append(m.AttrList, &AttrData{})
  11468. if err := m.AttrList[len(m.AttrList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  11469. return err
  11470. }
  11471. iNdEx = postIndex
  11472. case 7:
  11473. if wireType != 0 {
  11474. return fmt.Errorf("proto: wrong wireType = %d for field PopularityCount", wireType)
  11475. }
  11476. m.PopularityCount = 0
  11477. for shift := uint(0); ; shift += 7 {
  11478. if shift >= 64 {
  11479. return ErrIntOverflowApi
  11480. }
  11481. if iNdEx >= l {
  11482. return io.ErrUnexpectedEOF
  11483. }
  11484. b := dAtA[iNdEx]
  11485. iNdEx++
  11486. m.PopularityCount |= (int64(b) & 0x7F) << shift
  11487. if b < 0x80 {
  11488. break
  11489. }
  11490. }
  11491. case 8:
  11492. if wireType != 0 {
  11493. return fmt.Errorf("proto: wrong wireType = %d for field AnchorProfileType", wireType)
  11494. }
  11495. m.AnchorProfileType = 0
  11496. for shift := uint(0); ; shift += 7 {
  11497. if shift >= 64 {
  11498. return ErrIntOverflowApi
  11499. }
  11500. if iNdEx >= l {
  11501. return io.ErrUnexpectedEOF
  11502. }
  11503. b := dAtA[iNdEx]
  11504. iNdEx++
  11505. m.AnchorProfileType |= (int64(b) & 0x7F) << shift
  11506. if b < 0x80 {
  11507. break
  11508. }
  11509. }
  11510. default:
  11511. iNdEx = preIndex
  11512. skippy, err := skipApi(dAtA[iNdEx:])
  11513. if err != nil {
  11514. return err
  11515. }
  11516. if skippy < 0 {
  11517. return ErrInvalidLengthApi
  11518. }
  11519. if (iNdEx + skippy) > l {
  11520. return io.ErrUnexpectedEOF
  11521. }
  11522. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11523. iNdEx += skippy
  11524. }
  11525. }
  11526. if iNdEx > l {
  11527. return io.ErrUnexpectedEOF
  11528. }
  11529. return nil
  11530. }
  11531. func (m *RoomOnlineListByAttrsResp) Unmarshal(dAtA []byte) error {
  11532. l := len(dAtA)
  11533. iNdEx := 0
  11534. for iNdEx < l {
  11535. preIndex := iNdEx
  11536. var wire uint64
  11537. for shift := uint(0); ; shift += 7 {
  11538. if shift >= 64 {
  11539. return ErrIntOverflowApi
  11540. }
  11541. if iNdEx >= l {
  11542. return io.ErrUnexpectedEOF
  11543. }
  11544. b := dAtA[iNdEx]
  11545. iNdEx++
  11546. wire |= (uint64(b) & 0x7F) << shift
  11547. if b < 0x80 {
  11548. break
  11549. }
  11550. }
  11551. fieldNum := int32(wire >> 3)
  11552. wireType := int(wire & 0x7)
  11553. if wireType == 4 {
  11554. return fmt.Errorf("proto: RoomOnlineListByAttrsResp: wiretype end group for non-group")
  11555. }
  11556. if fieldNum <= 0 {
  11557. return fmt.Errorf("proto: RoomOnlineListByAttrsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  11558. }
  11559. switch fieldNum {
  11560. case 1:
  11561. if wireType != 2 {
  11562. return fmt.Errorf("proto: wrong wireType = %d for field Attrs", wireType)
  11563. }
  11564. var msglen int
  11565. for shift := uint(0); ; shift += 7 {
  11566. if shift >= 64 {
  11567. return ErrIntOverflowApi
  11568. }
  11569. if iNdEx >= l {
  11570. return io.ErrUnexpectedEOF
  11571. }
  11572. b := dAtA[iNdEx]
  11573. iNdEx++
  11574. msglen |= (int(b) & 0x7F) << shift
  11575. if b < 0x80 {
  11576. break
  11577. }
  11578. }
  11579. if msglen < 0 {
  11580. return ErrInvalidLengthApi
  11581. }
  11582. postIndex := iNdEx + msglen
  11583. if postIndex > l {
  11584. return io.ErrUnexpectedEOF
  11585. }
  11586. if m.Attrs == nil {
  11587. m.Attrs = make(map[int64]*AttrResp)
  11588. }
  11589. var mapkey int64
  11590. var mapvalue *AttrResp
  11591. for iNdEx < postIndex {
  11592. entryPreIndex := iNdEx
  11593. var wire uint64
  11594. for shift := uint(0); ; shift += 7 {
  11595. if shift >= 64 {
  11596. return ErrIntOverflowApi
  11597. }
  11598. if iNdEx >= l {
  11599. return io.ErrUnexpectedEOF
  11600. }
  11601. b := dAtA[iNdEx]
  11602. iNdEx++
  11603. wire |= (uint64(b) & 0x7F) << shift
  11604. if b < 0x80 {
  11605. break
  11606. }
  11607. }
  11608. fieldNum := int32(wire >> 3)
  11609. if fieldNum == 1 {
  11610. for shift := uint(0); ; shift += 7 {
  11611. if shift >= 64 {
  11612. return ErrIntOverflowApi
  11613. }
  11614. if iNdEx >= l {
  11615. return io.ErrUnexpectedEOF
  11616. }
  11617. b := dAtA[iNdEx]
  11618. iNdEx++
  11619. mapkey |= (int64(b) & 0x7F) << shift
  11620. if b < 0x80 {
  11621. break
  11622. }
  11623. }
  11624. } else if fieldNum == 2 {
  11625. var mapmsglen int
  11626. for shift := uint(0); ; shift += 7 {
  11627. if shift >= 64 {
  11628. return ErrIntOverflowApi
  11629. }
  11630. if iNdEx >= l {
  11631. return io.ErrUnexpectedEOF
  11632. }
  11633. b := dAtA[iNdEx]
  11634. iNdEx++
  11635. mapmsglen |= (int(b) & 0x7F) << shift
  11636. if b < 0x80 {
  11637. break
  11638. }
  11639. }
  11640. if mapmsglen < 0 {
  11641. return ErrInvalidLengthApi
  11642. }
  11643. postmsgIndex := iNdEx + mapmsglen
  11644. if mapmsglen < 0 {
  11645. return ErrInvalidLengthApi
  11646. }
  11647. if postmsgIndex > l {
  11648. return io.ErrUnexpectedEOF
  11649. }
  11650. mapvalue = &AttrResp{}
  11651. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  11652. return err
  11653. }
  11654. iNdEx = postmsgIndex
  11655. } else {
  11656. iNdEx = entryPreIndex
  11657. skippy, err := skipApi(dAtA[iNdEx:])
  11658. if err != nil {
  11659. return err
  11660. }
  11661. if skippy < 0 {
  11662. return ErrInvalidLengthApi
  11663. }
  11664. if (iNdEx + skippy) > postIndex {
  11665. return io.ErrUnexpectedEOF
  11666. }
  11667. iNdEx += skippy
  11668. }
  11669. }
  11670. m.Attrs[mapkey] = mapvalue
  11671. iNdEx = postIndex
  11672. default:
  11673. iNdEx = preIndex
  11674. skippy, err := skipApi(dAtA[iNdEx:])
  11675. if err != nil {
  11676. return err
  11677. }
  11678. if skippy < 0 {
  11679. return ErrInvalidLengthApi
  11680. }
  11681. if (iNdEx + skippy) > l {
  11682. return io.ErrUnexpectedEOF
  11683. }
  11684. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11685. iNdEx += skippy
  11686. }
  11687. }
  11688. if iNdEx > l {
  11689. return io.ErrUnexpectedEOF
  11690. }
  11691. return nil
  11692. }
  11693. func (m *DeleteAttrReq) Unmarshal(dAtA []byte) error {
  11694. l := len(dAtA)
  11695. iNdEx := 0
  11696. for iNdEx < l {
  11697. preIndex := iNdEx
  11698. var wire uint64
  11699. for shift := uint(0); ; shift += 7 {
  11700. if shift >= 64 {
  11701. return ErrIntOverflowApi
  11702. }
  11703. if iNdEx >= l {
  11704. return io.ErrUnexpectedEOF
  11705. }
  11706. b := dAtA[iNdEx]
  11707. iNdEx++
  11708. wire |= (uint64(b) & 0x7F) << shift
  11709. if b < 0x80 {
  11710. break
  11711. }
  11712. }
  11713. fieldNum := int32(wire >> 3)
  11714. wireType := int(wire & 0x7)
  11715. if wireType == 4 {
  11716. return fmt.Errorf("proto: DeleteAttrReq: wiretype end group for non-group")
  11717. }
  11718. if fieldNum <= 0 {
  11719. return fmt.Errorf("proto: DeleteAttrReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11720. }
  11721. switch fieldNum {
  11722. case 1:
  11723. if wireType != 0 {
  11724. return fmt.Errorf("proto: wrong wireType = %d for field AttrId", wireType)
  11725. }
  11726. m.AttrId = 0
  11727. for shift := uint(0); ; shift += 7 {
  11728. if shift >= 64 {
  11729. return ErrIntOverflowApi
  11730. }
  11731. if iNdEx >= l {
  11732. return io.ErrUnexpectedEOF
  11733. }
  11734. b := dAtA[iNdEx]
  11735. iNdEx++
  11736. m.AttrId |= (int64(b) & 0x7F) << shift
  11737. if b < 0x80 {
  11738. break
  11739. }
  11740. }
  11741. case 2:
  11742. if wireType != 0 {
  11743. return fmt.Errorf("proto: wrong wireType = %d for field AttrSubId", wireType)
  11744. }
  11745. m.AttrSubId = 0
  11746. for shift := uint(0); ; shift += 7 {
  11747. if shift >= 64 {
  11748. return ErrIntOverflowApi
  11749. }
  11750. if iNdEx >= l {
  11751. return io.ErrUnexpectedEOF
  11752. }
  11753. b := dAtA[iNdEx]
  11754. iNdEx++
  11755. m.AttrSubId |= (int64(b) & 0x7F) << shift
  11756. if b < 0x80 {
  11757. break
  11758. }
  11759. }
  11760. default:
  11761. iNdEx = preIndex
  11762. skippy, err := skipApi(dAtA[iNdEx:])
  11763. if err != nil {
  11764. return err
  11765. }
  11766. if skippy < 0 {
  11767. return ErrInvalidLengthApi
  11768. }
  11769. if (iNdEx + skippy) > l {
  11770. return io.ErrUnexpectedEOF
  11771. }
  11772. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11773. iNdEx += skippy
  11774. }
  11775. }
  11776. if iNdEx > l {
  11777. return io.ErrUnexpectedEOF
  11778. }
  11779. return nil
  11780. }
  11781. func skipApi(dAtA []byte) (n int, err error) {
  11782. l := len(dAtA)
  11783. iNdEx := 0
  11784. for iNdEx < l {
  11785. var wire uint64
  11786. for shift := uint(0); ; shift += 7 {
  11787. if shift >= 64 {
  11788. return 0, ErrIntOverflowApi
  11789. }
  11790. if iNdEx >= l {
  11791. return 0, io.ErrUnexpectedEOF
  11792. }
  11793. b := dAtA[iNdEx]
  11794. iNdEx++
  11795. wire |= (uint64(b) & 0x7F) << shift
  11796. if b < 0x80 {
  11797. break
  11798. }
  11799. }
  11800. wireType := int(wire & 0x7)
  11801. switch wireType {
  11802. case 0:
  11803. for shift := uint(0); ; shift += 7 {
  11804. if shift >= 64 {
  11805. return 0, ErrIntOverflowApi
  11806. }
  11807. if iNdEx >= l {
  11808. return 0, io.ErrUnexpectedEOF
  11809. }
  11810. iNdEx++
  11811. if dAtA[iNdEx-1] < 0x80 {
  11812. break
  11813. }
  11814. }
  11815. return iNdEx, nil
  11816. case 1:
  11817. iNdEx += 8
  11818. return iNdEx, nil
  11819. case 2:
  11820. var length int
  11821. for shift := uint(0); ; shift += 7 {
  11822. if shift >= 64 {
  11823. return 0, ErrIntOverflowApi
  11824. }
  11825. if iNdEx >= l {
  11826. return 0, io.ErrUnexpectedEOF
  11827. }
  11828. b := dAtA[iNdEx]
  11829. iNdEx++
  11830. length |= (int(b) & 0x7F) << shift
  11831. if b < 0x80 {
  11832. break
  11833. }
  11834. }
  11835. iNdEx += length
  11836. if length < 0 {
  11837. return 0, ErrInvalidLengthApi
  11838. }
  11839. return iNdEx, nil
  11840. case 3:
  11841. for {
  11842. var innerWire uint64
  11843. var start int = iNdEx
  11844. for shift := uint(0); ; shift += 7 {
  11845. if shift >= 64 {
  11846. return 0, ErrIntOverflowApi
  11847. }
  11848. if iNdEx >= l {
  11849. return 0, io.ErrUnexpectedEOF
  11850. }
  11851. b := dAtA[iNdEx]
  11852. iNdEx++
  11853. innerWire |= (uint64(b) & 0x7F) << shift
  11854. if b < 0x80 {
  11855. break
  11856. }
  11857. }
  11858. innerWireType := int(innerWire & 0x7)
  11859. if innerWireType == 4 {
  11860. break
  11861. }
  11862. next, err := skipApi(dAtA[start:])
  11863. if err != nil {
  11864. return 0, err
  11865. }
  11866. iNdEx = start + next
  11867. }
  11868. return iNdEx, nil
  11869. case 4:
  11870. return iNdEx, nil
  11871. case 5:
  11872. iNdEx += 4
  11873. return iNdEx, nil
  11874. default:
  11875. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  11876. }
  11877. }
  11878. panic("unreachable")
  11879. }
  11880. var (
  11881. ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
  11882. ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
  11883. )
  11884. func init() {
  11885. proto.RegisterFile("app/service/live/dao-anchor/api/grpc/v1/api.proto", fileDescriptor_api_ae6aa4fad8591398)
  11886. }
  11887. var fileDescriptor_api_ae6aa4fad8591398 = []byte{
  11888. // 2430 bytes of a gzipped FileDescriptorProto
  11889. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x3a, 0xcd, 0x6f, 0x1b, 0xc7,
  11890. 0xf5, 0x58, 0x52, 0x14, 0xc9, 0xc7, 0x0f, 0x49, 0x63, 0x25, 0x62, 0x68, 0x5b, 0x92, 0xd7, 0x3f,
  11891. 0xe7, 0xa7, 0x34, 0xb6, 0x64, 0x39, 0x11, 0x12, 0x04, 0x09, 0x50, 0x29, 0xb6, 0x0b, 0x01, 0x76,
  11892. 0xdc, 0x50, 0x76, 0xbf, 0x52, 0x83, 0x18, 0xed, 0x0e, 0xa9, 0x85, 0xc8, 0xdd, 0xd5, 0xec, 0x50,
  11893. 0x96, 0xd2, 0x1e, 0x7b, 0xe8, 0xa1, 0x87, 0x9e, 0x8a, 0xfe, 0x1f, 0x05, 0x8a, 0x5e, 0xdb, 0x02,
  11894. 0x45, 0x8f, 0xe9, 0xb5, 0x05, 0x8c, 0xc2, 0x7f, 0x82, 0x0f, 0x05, 0x7a, 0x28, 0x50, 0xcc, 0xbc,
  11895. 0x5d, 0xee, 0x07, 0x77, 0xc9, 0x95, 0x93, 0xfa, 0xd0, 0x9e, 0xb4, 0xf3, 0xe6, 0x7d, 0xcd, 0x7b,
  11896. 0x6f, 0xde, 0xbc, 0xf7, 0x44, 0xd8, 0xa6, 0xae, 0xbb, 0xe5, 0x31, 0x7e, 0x6a, 0x19, 0x6c, 0x6b,
  11897. 0x60, 0x9d, 0xb2, 0x2d, 0x93, 0x3a, 0xb7, 0xa8, 0x6d, 0x1c, 0x39, 0x7c, 0x8b, 0xba, 0xd6, 0x56,
  11898. 0x9f, 0xbb, 0xc6, 0xd6, 0xe9, 0xb6, 0xfc, 0xde, 0x74, 0xb9, 0x23, 0x1c, 0xb2, 0x24, 0xd1, 0x36,
  11899. 0x4d, 0xea, 0x20, 0xd6, 0xe6, 0xe9, 0x76, 0xfb, 0x56, 0xdf, 0x12, 0x47, 0xa3, 0xc3, 0x4d, 0xc3,
  11900. 0x19, 0x6e, 0xf5, 0x9d, 0xbe, 0xb3, 0xa5, 0x30, 0x0f, 0x47, 0x3d, 0xb5, 0x52, 0x0b, 0xf5, 0x85,
  11901. 0x1c, 0xf4, 0x5f, 0x69, 0x50, 0xdb, 0x55, 0xc4, 0x0f, 0xd8, 0x29, 0x1b, 0x90, 0x65, 0x28, 0x0d,
  11902. 0xe4, 0x47, 0x4b, 0x5b, 0xd7, 0x36, 0x8a, 0x1d, 0x5c, 0x48, 0xa8, 0xe1, 0x0c, 0x1c, 0xde, 0x2a,
  11903. 0x20, 0x54, 0x2d, 0x24, 0xd4, 0x33, 0x1c, 0xce, 0x5a, 0x45, 0x84, 0xaa, 0x05, 0x21, 0x30, 0x37,
  11904. 0x60, 0x3d, 0xd1, 0x9a, 0x53, 0x40, 0xf5, 0x2d, 0x31, 0xb9, 0xd5, 0x3f, 0x12, 0xad, 0x12, 0x62,
  11905. 0xaa, 0x05, 0xb9, 0x0c, 0xd5, 0x21, 0x3d, 0xeb, 0xa2, 0xbc, 0x79, 0xb5, 0x53, 0x19, 0xd2, 0x33,
  11906. 0xa5, 0x88, 0xfe, 0x6b, 0x0d, 0xca, 0x8f, 0x69, 0xff, 0x2e, 0x15, 0x94, 0xbc, 0x01, 0xf3, 0x82,
  11907. 0xf6, 0xbb, 0x96, 0x19, 0x68, 0x25, 0x68, 0x7f, 0xdf, 0x24, 0x57, 0x00, 0x24, 0xd8, 0x1b, 0x1d,
  11908. 0xca, 0x2d, 0x54, 0xad, 0x22, 0x68, 0xff, 0x60, 0x74, 0xb8, 0x6f, 0x4a, 0xee, 0x72, 0xf7, 0x94,
  11909. 0x0e, 0x46, 0x81, 0x86, 0x72, 0xf3, 0x7b, 0x72, 0x4d, 0x56, 0xa0, 0x2c, 0x37, 0xd9, 0x19, 0xea,
  11910. 0x59, 0xed, 0x48, 0x01, 0xf7, 0xce, 0x04, 0xd1, 0xa1, 0x81, 0x1b, 0xae, 0xc5, 0x59, 0x97, 0x06,
  11911. 0x1a, 0xd7, 0xd4, 0xb6, 0x84, 0xed, 0x0a, 0xfd, 0xb7, 0x35, 0xa8, 0x74, 0x1c, 0x67, 0xa8, 0x74,
  11912. 0xdb, 0x84, 0xe2, 0x28, 0x50, 0x6c, 0xef, 0xca, 0xcb, 0xe7, 0x6b, 0xad, 0x53, 0x3a, 0xb0, 0x4c,
  11913. 0x2a, 0xd8, 0x47, 0x7a, 0x5f, 0x7c, 0x72, 0xfb, 0x26, 0x67, 0x27, 0x23, 0x8b, 0x33, 0x53, 0xef,
  11914. 0x48, 0x44, 0xb2, 0x03, 0x65, 0xee, 0x38, 0xc3, 0xb1, 0xc6, 0x33, 0x68, 0xe6, 0x25, 0xf2, 0xbe,
  11915. 0x49, 0x3e, 0x80, 0x8a, 0x77, 0xe4, 0x70, 0x21, 0xe9, 0x8a, 0x39, 0xe8, 0xca, 0x0a, 0x7b, 0xdf,
  11916. 0x24, 0xb7, 0xa0, 0x24, 0x2c, 0x31, 0x60, 0x78, 0xce, 0xbd, 0x95, 0x97, 0xcf, 0xd7, 0x2e, 0x85,
  11917. 0x54, 0x21, 0x01, 0x62, 0xa1, 0xa7, 0x4f, 0x19, 0x57, 0xe7, 0xae, 0x76, 0x70, 0x21, 0x7d, 0x2a,
  11918. 0x68, 0xdf, 0x53, 0x4e, 0xaa, 0x76, 0xd4, 0x37, 0x59, 0x05, 0x38, 0xa4, 0xc6, 0x71, 0x9f, 0x3b,
  11919. 0x23, 0xdb, 0x6c, 0x95, 0xd5, 0x4e, 0x04, 0x42, 0xd6, 0xa1, 0x66, 0x32, 0xcf, 0xe0, 0x96, 0x2b,
  11920. 0x2c, 0xc7, 0x6e, 0x55, 0x14, 0x42, 0x14, 0x44, 0x3e, 0x81, 0x9a, 0x8c, 0xdf, 0xae, 0x27, 0xa8,
  11921. 0x18, 0x79, 0xad, 0x6a, 0x8e, 0x63, 0x81, 0x24, 0x38, 0x50, 0xf8, 0xe4, 0x2e, 0x2c, 0x04, 0xe4,
  11922. 0x5c, 0x74, 0x85, 0x35, 0x64, 0x2d, 0xc8, 0xc1, 0xa2, 0xe1, 0xb3, 0xe0, 0xe2, 0xb1, 0x35, 0x64,
  11923. 0xe4, 0x3e, 0x2c, 0x22, 0x17, 0x83, 0x33, 0x66, 0x77, 0xc5, 0xb9, 0xcb, 0x5a, 0xb5, 0x1c, 0x6c,
  11924. 0x9a, 0x8a, 0x8d, 0x22, 0x7a, 0x7c, 0xee, 0x32, 0x19, 0x6e, 0x8a, 0xcf, 0x90, 0xf2, 0xe3, 0x56,
  11925. 0x1d, 0xc3, 0x4d, 0x02, 0x1e, 0x52, 0x7e, 0x4c, 0xd6, 0xa0, 0x36, 0x70, 0x8c, 0xe3, 0xe0, 0xa4,
  11926. 0x0d, 0xb5, 0x0d, 0x12, 0xe4, 0x9f, 0x45, 0x52, 0x4b, 0x04, 0x75, 0x8a, 0xa6, 0x4f, 0xed, 0x18,
  11927. 0xc7, 0x4a, 0xc5, 0x5d, 0x68, 0x1c, 0x59, 0xa6, 0xc9, 0xec, 0x80, 0x7e, 0x21, 0x87, 0x7e, 0x75,
  11928. 0x24, 0xf1, 0xf9, 0xaf, 0x41, 0xcd, 0x67, 0xa1, 0x24, 0x2c, 0xa2, 0x02, 0x08, 0x52, 0x32, 0x76,
  11929. 0xa0, 0x4c, 0x39, 0xa3, 0x32, 0xbc, 0x96, 0xf2, 0x84, 0xa5, 0x44, 0xde, 0x37, 0xc9, 0xfb, 0x50,
  11930. 0x55, 0x64, 0x36, 0x1d, 0xb2, 0x16, 0x99, 0x1e, 0x61, 0x15, 0x89, 0xf9, 0x19, 0x1d, 0x32, 0xb2,
  11931. 0x07, 0x4d, 0x97, 0x72, 0x66, 0x8b, 0x6e, 0x20, 0xf3, 0x52, 0x9e, 0x13, 0x21, 0xcd, 0x2e, 0x4a,
  11932. 0xde, 0x85, 0xc5, 0x28, 0x0f, 0xa5, 0xc0, 0xf2, 0x74, 0x05, 0x9a, 0x21, 0x03, 0xa5, 0x46, 0x1b,
  11933. 0x2a, 0xc7, 0xec, 0xbc, 0xc7, 0x25, 0xe9, 0x1b, 0x2a, 0x3c, 0xc7, 0x6b, 0xf2, 0x0e, 0x2c, 0xba,
  11934. 0x8e, 0x3b, 0x1a, 0x50, 0x6e, 0x89, 0xf3, 0xae, 0xe1, 0x8c, 0x6c, 0xd1, 0x7a, 0x53, 0x59, 0x6d,
  11935. 0x21, 0x84, 0x7f, 0x2a, 0xc1, 0x64, 0x07, 0x64, 0x5e, 0xe9, 0x0e, 0x2c, 0x4f, 0xb4, 0x56, 0xd6,
  11936. 0x8b, 0x1b, 0xb5, 0x3b, 0xed, 0xcd, 0x89, 0xbc, 0xbc, 0xe9, 0xe7, 0xb2, 0x8e, 0xcc, 0x3b, 0x0f,
  11937. 0x2c, 0x4f, 0x90, 0x4d, 0xb8, 0x84, 0xbb, 0x5d, 0x97, 0x3b, 0x3d, 0x6b, 0xc0, 0x30, 0xf6, 0xde,
  11938. 0x52, 0x42, 0x96, 0x70, 0xeb, 0xbb, 0xb8, 0xa3, 0x02, 0x6c, 0x17, 0xea, 0x3e, 0x3e, 0x26, 0xcc,
  11939. 0xf6, 0xba, 0xb6, 0x51, 0xbb, 0xb3, 0x9a, 0x22, 0x2a, 0x92, 0xcf, 0x3b, 0x35, 0x1a, 0x49, 0xee,
  11940. 0xa1, 0x48, 0x75, 0x45, 0xbb, 0xde, 0x33, 0x4b, 0x18, 0x47, 0xad, 0xcb, 0x51, 0x91, 0x1d, 0xb9,
  11941. 0x73, 0xa0, 0x36, 0x26, 0xf1, 0x31, 0xfc, 0xae, 0x4c, 0xe2, 0x63, 0x94, 0xdd, 0x86, 0xe5, 0x00,
  11942. 0x9f, 0x19, 0x0e, 0x1f, 0x0b, 0xb8, 0xaa, 0x08, 0x88, 0x4f, 0xa0, 0xb6, 0x7c, 0x09, 0x93, 0x14,
  11943. 0x28, 0x62, 0x35, 0x85, 0x02, 0x65, 0x5c, 0x05, 0xf0, 0x29, 0x3c, 0x6a, 0xb7, 0xd6, 0x14, 0x5e,
  11944. 0x15, 0x21, 0x07, 0xd4, 0x1e, 0x5f, 0x43, 0x65, 0xcb, 0xf5, 0xf0, 0x1a, 0x4a, 0x13, 0xea, 0x3f,
  11945. 0x85, 0xba, 0xcc, 0xdb, 0x7b, 0xe7, 0xfb, 0x77, 0xbd, 0x0e, 0x3b, 0x21, 0x6f, 0x41, 0xc5, 0xcf,
  11946. 0xc5, 0x5e, 0x4b, 0x5b, 0x2f, 0x6e, 0x14, 0x3b, 0x65, 0x4c, 0xb7, 0x9e, 0xcc, 0x78, 0x23, 0x09,
  11947. 0x2e, 0x28, 0xb0, 0xfa, 0x26, 0x6f, 0xc2, 0x7c, 0xcf, 0x62, 0x03, 0xd3, 0x6b, 0x15, 0xd7, 0x8b,
  11948. 0xf2, 0xcd, 0xc0, 0x15, 0xb9, 0x01, 0x4d, 0x93, 0xf5, 0xe8, 0x68, 0x20, 0xba, 0xfe, 0x3e, 0xbe,
  11949. 0x7d, 0x0d, 0x1f, 0x7a, 0x5f, 0x01, 0xf5, 0x3f, 0x6a, 0xd0, 0x88, 0x88, 0xf7, 0x5c, 0xf2, 0x04,
  11950. 0x1a, 0x4a, 0xbe, 0x49, 0x05, 0xed, 0x7a, 0x4c, 0x28, 0x25, 0x6a, 0x77, 0xb6, 0x53, 0x7c, 0x1a,
  11951. 0x23, 0xdc, 0x0c, 0x5e, 0x9f, 0x03, 0x26, 0xee, 0xd9, 0x82, 0x9f, 0x77, 0x6a, 0x3c, 0x84, 0xb4,
  11952. 0xbf, 0x80, 0xc5, 0x24, 0x02, 0x59, 0x84, 0xe2, 0x31, 0x3b, 0xf7, 0xdf, 0x4f, 0xf9, 0x49, 0xb6,
  11953. 0xa1, 0x84, 0x6f, 0x63, 0x41, 0x05, 0xd2, 0xe5, 0x0c, 0xa1, 0x2a, 0x68, 0x11, 0xf3, 0xa3, 0xc2,
  11954. 0x87, 0x9a, 0xfe, 0x73, 0x0d, 0x96, 0x24, 0xfc, 0x91, 0x3d, 0xb0, 0x6c, 0x26, 0x23, 0x59, 0x5a,
  11955. 0x52, 0x99, 0x66, 0x20, 0x18, 0x57, 0x12, 0x94, 0x69, 0xe4, 0x4a, 0x9a, 0xd1, 0x73, 0xb8, 0x50,
  11956. 0x32, 0xaa, 0x1d, 0xf5, 0x2d, 0x61, 0x2e, 0xed, 0x07, 0x6f, 0xb2, 0xfa, 0x96, 0x6e, 0x93, 0x7f,
  11957. 0xbb, 0x9e, 0xf5, 0x25, 0xf3, 0xad, 0x57, 0x91, 0x80, 0x03, 0xeb, 0x4b, 0x16, 0xb1, 0x7b, 0x29,
  11958. 0x6a, 0x77, 0xfd, 0x2f, 0x1a, 0x90, 0xa4, 0x2a, 0x9e, 0x4b, 0x9e, 0x42, 0x33, 0xb4, 0xaa, 0xba,
  11959. 0x95, 0x68, 0xd6, 0x0f, 0x32, 0x4e, 0x18, 0x27, 0x1f, 0x1f, 0x5a, 0x02, 0xd0, 0xb8, 0x75, 0x1e,
  11960. 0x01, 0xb5, 0x7f, 0x8c, 0xe7, 0x8f, 0xa1, 0x7c, 0x73, 0xe6, 0x7d, 0x1f, 0x56, 0xe2, 0x3a, 0xed,
  11961. 0x9d, 0xcb, 0x7c, 0xe5, 0x47, 0xab, 0x9f, 0x2e, 0xc7, 0xd1, 0x8a, 0x59, 0xd8, 0xd3, 0x77, 0xa0,
  11962. 0x95, 0x4e, 0xe5, 0xb9, 0x53, 0x82, 0x5c, 0xff, 0x01, 0x06, 0xe4, 0xa7, 0x9c, 0x51, 0xc1, 0xa4,
  11963. 0x88, 0x8b, 0x16, 0x33, 0x2b, 0x89, 0x62, 0x26, 0x28, 0x57, 0xf4, 0x77, 0xa0, 0x19, 0xe5, 0xec,
  11964. 0xb9, 0x51, 0x54, 0x2d, 0x86, 0xba, 0x0d, 0xf0, 0xc4, 0x35, 0x03, 0xb4, 0xeb, 0xd0, 0xa0, 0xbd,
  11965. 0x1e, 0x33, 0x04, 0x33, 0xbb, 0xdc, 0x79, 0xe6, 0xf9, 0xc8, 0xf5, 0x00, 0xd8, 0x71, 0x9e, 0x79,
  11966. 0xfa, 0x1f, 0xe6, 0x50, 0xf1, 0x80, 0xee, 0x84, 0x6c, 0x8d, 0x43, 0x44, 0x1e, 0x71, 0xca, 0x1b,
  11967. 0x10, 0xdc, 0xd9, 0x57, 0x2c, 0xc3, 0x96, 0x83, 0x6a, 0xaa, 0x88, 0xe5, 0x51, 0xa2, 0x68, 0x9a,
  11968. 0x4b, 0x2b, 0x9a, 0x4a, 0x99, 0x45, 0xd3, 0xfc, 0xac, 0xa2, 0xa9, 0x3c, 0x59, 0x34, 0xbd, 0x3d,
  11969. 0x59, 0xf5, 0x54, 0x30, 0xdb, 0xc4, 0xeb, 0x9a, 0x8d, 0x94, 0xba, 0x46, 0x55, 0x58, 0x13, 0x95,
  11970. 0x4b, 0xa2, 0x38, 0x81, 0xe9, 0xc5, 0x49, 0x2d, 0x51, 0x9c, 0x24, 0x2a, 0x8b, 0xfa, 0x44, 0x65,
  11971. 0xb1, 0x12, 0x56, 0x16, 0x58, 0xf7, 0x04, 0xb5, 0x43, 0xc6, 0x6b, 0xd4, 0xcc, 0x7a, 0x8d, 0xb2,
  11972. 0x5e, 0x97, 0x85, 0xcc, 0xd7, 0x25, 0xf6, 0x18, 0x2c, 0x26, 0x1e, 0x03, 0x03, 0x93, 0xc7, 0x1e,
  11973. 0x15, 0xc6, 0x51, 0x18, 0x48, 0x0f, 0x61, 0x8e, 0xb3, 0x13, 0xcf, 0x4f, 0x19, 0xeb, 0x19, 0xb7,
  11974. 0x76, 0x8c, 0x9f, 0x1d, 0x68, 0x8a, 0x8d, 0xfe, 0x8b, 0x02, 0x2c, 0xe0, 0x73, 0xfc, 0x35, 0x62,
  11975. 0xd5, 0xbf, 0x95, 0x85, 0xbc, 0xb7, 0xf2, 0x1a, 0xd4, 0x63, 0x25, 0x05, 0x26, 0xda, 0x9a, 0x1b,
  11976. 0x29, 0x26, 0x2e, 0x43, 0xd5, 0xa3, 0x76, 0x17, 0xdb, 0x37, 0x3f, 0xdf, 0x7a, 0xd4, 0x3e, 0x50,
  11977. 0x1d, 0xdc, 0x35, 0xa8, 0xc7, 0xde, 0x7b, 0xbf, 0x05, 0xe2, 0x91, 0x97, 0xfe, 0x3a, 0x34, 0xe2,
  11978. 0x0f, 0x36, 0xb6, 0x6f, 0x75, 0x1e, 0x7d, 0xaa, 0x17, 0xa1, 0xc8, 0xce, 0x5c, 0x15, 0xc4, 0xc5,
  11979. 0x8e, 0xfc, 0xd4, 0xfb, 0xb0, 0x8c, 0xd6, 0x48, 0x58, 0xfd, 0x51, 0xcc, 0xea, 0x7a, 0x66, 0x4d,
  11980. 0x93, 0xdb, 0xee, 0x5f, 0x69, 0xd0, 0x44, 0x92, 0x7d, 0xdb, 0xe0, 0x7e, 0x6e, 0x9b, 0xe7, 0xec,
  11981. 0x24, 0xc8, 0x3f, 0xd3, 0x3a, 0x21, 0xce, 0x4e, 0xf6, 0xcd, 0x88, 0x9b, 0x0a, 0x17, 0x72, 0x53,
  11982. 0x31, 0xaf, 0x9b, 0xa6, 0xfa, 0xc0, 0xb7, 0x5d, 0x29, 0xb4, 0x1d, 0x83, 0x4b, 0x11, 0xdb, 0x8d,
  11983. 0x8f, 0xf5, 0x59, 0xcc, 0x74, 0xd7, 0x32, 0x4d, 0x17, 0x10, 0xcc, 0xb2, 0xdc, 0xbf, 0x0a, 0x70,
  11984. 0x49, 0x86, 0xf8, 0xbd, 0x33, 0xc1, 0x6c, 0xf3, 0xf5, 0x67, 0xd8, 0x68, 0x51, 0x5e, 0x4c, 0x14,
  11985. 0xe5, 0x6b, 0x50, 0x33, 0xa9, 0x3d, 0x1c, 0xf9, 0xf5, 0x38, 0xda, 0x0c, 0x14, 0x08, 0x4b, 0xf1,
  11986. 0xb4, 0xaa, 0xbd, 0x94, 0x5e, 0xb5, 0xdf, 0x80, 0x26, 0x1d, 0x99, 0x16, 0xb3, 0x0d, 0xe6, 0x23,
  11987. 0x62, 0x08, 0x37, 0x02, 0x28, 0xa2, 0x5d, 0x05, 0xe8, 0x5b, 0x3d, 0xe1, 0xa3, 0x60, 0x28, 0x57,
  11988. 0x25, 0x04, 0xb7, 0x37, 0x60, 0x51, 0x6d, 0xf7, 0x9d, 0x81, 0xd9, 0xa5, 0x43, 0x85, 0x84, 0xe9,
  11989. 0xb8, 0x29, 0xe1, 0xdf, 0x71, 0x06, 0xe6, 0xae, 0x82, 0xca, 0xbc, 0x1d, 0x62, 0x22, 0x37, 0x4c,
  11990. 0xc7, 0x8d, 0x00, 0x51, 0x71, 0xd4, 0x1d, 0x7c, 0xca, 0xd1, 0xfc, 0x89, 0x6b, 0x72, 0x10, 0xf3,
  11991. 0xf5, 0xdb, 0x19, 0xc9, 0x29, 0xe1, 0xb9, 0x59, 0x0e, 0xff, 0x65, 0x11, 0x13, 0x21, 0x92, 0xbd,
  11992. 0xbe, 0xeb, 0x12, 0x89, 0x8f, 0xe2, 0x05, 0xe2, 0xe3, 0x7f, 0x21, 0x06, 0x86, 0x58, 0x04, 0x46,
  11993. 0x62, 0x60, 0xec, 0x96, 0x4e, 0x2c, 0x04, 0x6e, 0x4c, 0x0d, 0x81, 0xbc, 0x57, 0xfe, 0x1f, 0x1a,
  11994. 0x36, 0x0c, 0x8f, 0x69, 0x3f, 0x2c, 0x05, 0x77, 0x12, 0xf5, 0x5a, 0x4e, 0xf7, 0xbc, 0x37, 0x1e,
  11995. 0xd5, 0xe5, 0xb9, 0xf4, 0xa9, 0x83, 0xbc, 0xe2, 0xb4, 0x41, 0xde, 0x5c, 0xf6, 0x20, 0xaf, 0x34,
  11996. 0x7d, 0x90, 0x37, 0x3f, 0x39, 0xc8, 0xfb, 0x9b, 0xdf, 0xcb, 0xec, 0x0a, 0xc1, 0xbf, 0xf6, 0xc9,
  11997. 0x77, 0xa0, 0x4c, 0x85, 0xe0, 0xb9, 0xf3, 0x9d, 0x44, 0xde, 0x37, 0xc9, 0x2a, 0xd4, 0x14, 0x59,
  11998. 0xec, 0xf0, 0x55, 0x09, 0xc2, 0xd3, 0xcb, 0x7e, 0x57, 0xee, 0x47, 0x8f, 0xaf, 0xb6, 0xf1, 0xfc,
  11999. 0xb2, 0x29, 0x90, 0xdb, 0xa1, 0x01, 0x94, 0x16, 0xf7, 0xce, 0x84, 0xfe, 0x57, 0xdf, 0xad, 0xf2,
  12000. 0x74, 0xb2, 0x0f, 0x3c, 0xfb, 0x6f, 0x3a, 0xdc, 0x06, 0x34, 0xee, 0x33, 0x61, 0x1c, 0xc9, 0x36,
  12001. 0x47, 0xf5, 0xf2, 0x91, 0x32, 0x53, 0x8b, 0x96, 0x99, 0xfa, 0xb7, 0xa1, 0xa2, 0x46, 0x46, 0x76,
  12002. 0xcf, 0xc9, 0x44, 0x92, 0x31, 0x16, 0x8e, 0x91, 0xb0, 0x59, 0x1d, 0x8f, 0xab, 0x74, 0x01, 0xcd,
  12003. 0xa8, 0x2c, 0xcf, 0x25, 0x5b, 0x30, 0x67, 0xd9, 0x3d, 0x47, 0x31, 0x49, 0xef, 0xed, 0x02, 0x91,
  12004. 0x1d, 0x85, 0x28, 0xbb, 0x41, 0xc9, 0x0e, 0x93, 0xe3, 0x0c, 0x0a, 0xc4, 0xd4, 0xff, 0xa4, 0xc1,
  12005. 0x12, 0x8a, 0x15, 0x82, 0x8f, 0x47, 0x16, 0x1f, 0x27, 0xbb, 0xb9, 0xbd, 0x6b, 0x2f, 0x9f, 0xaf,
  12006. 0x5d, 0x0d, 0x3d, 0x61, 0x5a, 0xa7, 0xec, 0x66, 0x72, 0x18, 0x1c, 0x4c, 0x35, 0x5e, 0xd1, 0x8d,
  12007. 0x1f, 0xa7, 0xb8, 0x71, 0x06, 0x69, 0xe8, 0x64, 0xfd, 0x27, 0x50, 0x91, 0x47, 0x50, 0xd3, 0xf2,
  12008. 0xac, 0x2e, 0x50, 0x79, 0x26, 0xaa, 0xd9, 0x37, 0x14, 0x42, 0xfa, 0x6f, 0x34, 0x20, 0x49, 0x2b,
  12009. 0x7a, 0x2e, 0xb9, 0x0f, 0x25, 0x89, 0x13, 0xe4, 0xd1, 0xdb, 0x29, 0xfe, 0x98, 0xa4, 0xda, 0x94,
  12010. 0x2b, 0x0f, 0x67, 0x02, 0x48, 0xde, 0x7e, 0x02, 0x10, 0x02, 0x5f, 0x6d, 0x0a, 0x10, 0xd8, 0x26,
  12011. 0x3a, 0x05, 0xd8, 0x83, 0xb2, 0x04, 0x07, 0x71, 0xed, 0x1b, 0x46, 0x9b, 0x66, 0x98, 0x42, 0xc2,
  12012. 0x30, 0xfa, 0x83, 0x94, 0x99, 0x80, 0x54, 0x55, 0x32, 0xbd, 0x1d, 0x3f, 0x7e, 0x3b, 0x43, 0xad,
  12013. 0x0e, 0x3b, 0xf1, 0x0f, 0xaa, 0xff, 0xae, 0x88, 0x5e, 0x54, 0xd6, 0x7b, 0x4d, 0xff, 0xf3, 0x88,
  12014. 0xcc, 0xa4, 0x8b, 0x17, 0x98, 0x49, 0x4f, 0x4e, 0x97, 0xe7, 0x2e, 0x3c, 0x5d, 0x8e, 0xce, 0x74,
  12015. 0x4b, 0xf9, 0x67, 0xba, 0x1f, 0x82, 0x72, 0x00, 0xd2, 0xcd, 0x67, 0x5f, 0xf5, 0xc0, 0xe5, 0x2a,
  12016. 0xbd, 0x29, 0xca, 0xb4, 0xaa, 0xa5, 0x9c, 0x5e, 0xb5, 0x64, 0x0c, 0x8e, 0x2b, 0x19, 0x83, 0x63,
  12017. 0xfd, 0xf7, 0x1a, 0xbc, 0x95, 0x11, 0x09, 0x9e, 0x4b, 0x1e, 0xc6, 0x43, 0x61, 0xf6, 0x90, 0x2c,
  12018. 0x42, 0xfc, 0x9f, 0xbb, 0x10, 0x92, 0x7b, 0xf4, 0x42, 0xfc, 0x4c, 0x83, 0xc6, 0x5d, 0x36, 0x60,
  12019. 0x82, 0x05, 0xf7, 0x62, 0x27, 0x71, 0x2f, 0x5e, 0x2d, 0x95, 0x15, 0x2e, 0x94, 0xca, 0xee, 0xfc,
  12020. 0xb3, 0x09, 0xd5, 0xbb, 0xd4, 0xc1, 0x8e, 0x8a, 0x1c, 0xf8, 0xef, 0xc2, 0x78, 0x36, 0x4b, 0xd6,
  12021. 0xa6, 0x4f, 0x6e, 0x4f, 0xda, 0xeb, 0xb3, 0x46, 0xbb, 0xe4, 0x29, 0x4e, 0xce, 0x42, 0x7b, 0x93,
  12022. 0xff, 0xcb, 0x31, 0xb7, 0x3c, 0x69, 0xdf, 0xc8, 0x35, 0xdd, 0x24, 0x0e, 0x2c, 0xa7, 0x4d, 0x0a,
  12023. 0xc9, 0xb7, 0xf2, 0xf8, 0x1d, 0x07, 0x91, 0xed, 0x77, 0x73, 0xe3, 0x7a, 0x2e, 0xe1, 0xf0, 0x46,
  12024. 0x6a, 0xfc, 0x90, 0x77, 0xf3, 0x47, 0xda, 0x49, 0xfb, 0xe6, 0x45, 0xc2, 0x92, 0x7c, 0x0e, 0x10,
  12025. 0x4e, 0x1f, 0x49, 0x96, 0xcd, 0xc7, 0x15, 0x5f, 0xfb, 0xda, 0x0c, 0x0c, 0x75, 0x4d, 0x20, 0x1c,
  12026. 0xfc, 0x90, 0x99, 0x73, 0xa1, 0xf6, 0xd5, 0x14, 0x8c, 0xc8, 0x98, 0xf3, 0xfb, 0xb0, 0x90, 0x18,
  12027. 0x3e, 0x91, 0x2c, 0x07, 0xc6, 0x7b, 0xc0, 0x59, 0x8c, 0x7f, 0x88, 0x35, 0x5f, 0xb4, 0x07, 0x24,
  12028. 0x39, 0x1b, 0xc5, 0x59, 0xac, 0x0d, 0xf4, 0xe4, 0x44, 0x67, 0x9a, 0xe9, 0xc9, 0xb4, 0x1e, 0x36,
  12029. 0xa7, 0x61, 0x22, 0x0d, 0x0c, 0xc9, 0xd7, 0xe4, 0xcc, 0x62, 0x4c, 0x31, 0xf0, 0x93, 0x3d, 0x55,
  12030. 0x66, 0xe0, 0xa7, 0x34, 0x5f, 0xb3, 0x44, 0x1c, 0xe0, 0x54, 0x7a, 0xdc, 0x46, 0x91, 0xeb, 0x19,
  12031. 0xbc, 0xa3, 0x8d, 0xd6, 0x2c, 0xa6, 0x4f, 0x30, 0x1f, 0x84, 0x2d, 0x4a, 0x66, 0x3e, 0x88, 0x75,
  12032. 0x31, 0x39, 0x75, 0x1d, 0xf7, 0x06, 0x99, 0xba, 0x46, 0xbb, 0x87, 0x59, 0x4c, 0x3f, 0x87, 0x7a,
  12033. 0x74, 0x4e, 0x47, 0x72, 0x0c, 0xf2, 0x66, 0xb1, 0xfc, 0x02, 0x96, 0x26, 0x26, 0x86, 0xe4, 0xff,
  12034. 0x33, 0xf9, 0x5e, 0x2c, 0xd8, 0x1e, 0x05, 0xbf, 0x7d, 0xc1, 0x50, 0x98, 0x3d, 0x3c, 0xcb, 0x71,
  12035. 0xfb, 0x92, 0x33, 0xba, 0xd4, 0xdb, 0x97, 0x32, 0xc8, 0x9b, 0x6d, 0x5b, 0x08, 0x9b, 0x90, 0xd4,
  12036. 0x04, 0x14, 0xeb, 0x87, 0x52, 0x73, 0x5a, 0xa2, 0x8b, 0x79, 0x1a, 0xf4, 0x35, 0x41, 0x91, 0x9b,
  12037. 0x1a, 0x5a, 0x13, 0x3d, 0x48, 0xea, 0x53, 0x93, 0x52, 0x63, 0x3f, 0x04, 0x08, 0x9f, 0xec, 0x54,
  12038. 0x8d, 0x63, 0x2f, 0xfa, 0x0c, 0x03, 0xec, 0x2d, 0xfe, 0xf9, 0xc5, 0xaa, 0xf6, 0xd5, 0x8b, 0x55,
  12039. 0xed, 0xef, 0x2f, 0x56, 0xb5, 0x1f, 0x15, 0x4e, 0xb7, 0x0f, 0xe7, 0xd5, 0x4f, 0x98, 0xde, 0xfb,
  12040. 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x2d, 0xa5, 0x6f, 0x39, 0x25, 0x00, 0x00,
  12041. }