api.pb.go 222 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/live/xanchor/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 ExpData struct {
  23. Level int64 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty" validate:"gt=0,required"`
  24. NextLevel int64 `protobuf:"varint,2,opt,name=next_level,json=nextLevel,proto3" json:"next_level,omitempty" validate:"gt=0,required"`
  25. LevelColor int64 `protobuf:"varint,3,opt,name=level_color,json=levelColor,proto3" json:"level_color,omitempty" validate:"gt=0,required"`
  26. Exp int64 `protobuf:"varint,4,opt,name=exp,proto3" json:"exp,omitempty" validate:"gt=0,required"`
  27. CurrentLevelExp int64 `protobuf:"varint,5,opt,name=current_level_exp,json=currentLevelExp,proto3" json:"current_level_exp,omitempty" validate:"gt=0,required"`
  28. NextLevelExp int64 `protobuf:"varint,6,opt,name=next_level_exp,json=nextLevelExp,proto3" json:"next_level_exp,omitempty" validate:"gt=0,required"`
  29. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  30. XXX_unrecognized []byte `json:"-"`
  31. XXX_sizecache int32 `json:"-"`
  32. }
  33. func (m *ExpData) Reset() { *m = ExpData{} }
  34. func (m *ExpData) String() string { return proto.CompactTextString(m) }
  35. func (*ExpData) ProtoMessage() {}
  36. func (*ExpData) Descriptor() ([]byte, []int) {
  37. return fileDescriptor_api_5e82c9cace3801b5, []int{0}
  38. }
  39. func (m *ExpData) XXX_Unmarshal(b []byte) error {
  40. return m.Unmarshal(b)
  41. }
  42. func (m *ExpData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  43. if deterministic {
  44. return xxx_messageInfo_ExpData.Marshal(b, m, deterministic)
  45. } else {
  46. b = b[:cap(b)]
  47. n, err := m.MarshalTo(b)
  48. if err != nil {
  49. return nil, err
  50. }
  51. return b[:n], nil
  52. }
  53. }
  54. func (dst *ExpData) XXX_Merge(src proto.Message) {
  55. xxx_messageInfo_ExpData.Merge(dst, src)
  56. }
  57. func (m *ExpData) XXX_Size() int {
  58. return m.Size()
  59. }
  60. func (m *ExpData) XXX_DiscardUnknown() {
  61. xxx_messageInfo_ExpData.DiscardUnknown(m)
  62. }
  63. var xxx_messageInfo_ExpData proto.InternalMessageInfo
  64. func (m *ExpData) GetLevel() int64 {
  65. if m != nil {
  66. return m.Level
  67. }
  68. return 0
  69. }
  70. func (m *ExpData) GetNextLevel() int64 {
  71. if m != nil {
  72. return m.NextLevel
  73. }
  74. return 0
  75. }
  76. func (m *ExpData) GetLevelColor() int64 {
  77. if m != nil {
  78. return m.LevelColor
  79. }
  80. return 0
  81. }
  82. func (m *ExpData) GetExp() int64 {
  83. if m != nil {
  84. return m.Exp
  85. }
  86. return 0
  87. }
  88. func (m *ExpData) GetCurrentLevelExp() int64 {
  89. if m != nil {
  90. return m.CurrentLevelExp
  91. }
  92. return 0
  93. }
  94. func (m *ExpData) GetNextLevelExp() int64 {
  95. if m != nil {
  96. return m.NextLevelExp
  97. }
  98. return 0
  99. }
  100. type TagData struct {
  101. TagId int64 `protobuf:"varint,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty" validate:"gt=0,required"`
  102. TagType int64 `protobuf:"varint,2,opt,name=tag_type,json=tagType,proto3" json:"tag_type,omitempty" validate:"gt=0,required"`
  103. TagValue int64 `protobuf:"varint,3,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty" validate:"gt=0,required"`
  104. TagAttribute string `protobuf:"bytes,4,opt,name=tag_attribute,json=tagAttribute,proto3" json:"tag_attribute,omitempty" validate:"required"`
  105. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  106. XXX_unrecognized []byte `json:"-"`
  107. XXX_sizecache int32 `json:"-"`
  108. }
  109. func (m *TagData) Reset() { *m = TagData{} }
  110. func (m *TagData) String() string { return proto.CompactTextString(m) }
  111. func (*TagData) ProtoMessage() {}
  112. func (*TagData) Descriptor() ([]byte, []int) {
  113. return fileDescriptor_api_5e82c9cace3801b5, []int{1}
  114. }
  115. func (m *TagData) XXX_Unmarshal(b []byte) error {
  116. return m.Unmarshal(b)
  117. }
  118. func (m *TagData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  119. if deterministic {
  120. return xxx_messageInfo_TagData.Marshal(b, m, deterministic)
  121. } else {
  122. b = b[:cap(b)]
  123. n, err := m.MarshalTo(b)
  124. if err != nil {
  125. return nil, err
  126. }
  127. return b[:n], nil
  128. }
  129. }
  130. func (dst *TagData) XXX_Merge(src proto.Message) {
  131. xxx_messageInfo_TagData.Merge(dst, src)
  132. }
  133. func (m *TagData) XXX_Size() int {
  134. return m.Size()
  135. }
  136. func (m *TagData) XXX_DiscardUnknown() {
  137. xxx_messageInfo_TagData.DiscardUnknown(m)
  138. }
  139. var xxx_messageInfo_TagData proto.InternalMessageInfo
  140. func (m *TagData) GetTagId() int64 {
  141. if m != nil {
  142. return m.TagId
  143. }
  144. return 0
  145. }
  146. func (m *TagData) GetTagType() int64 {
  147. if m != nil {
  148. return m.TagType
  149. }
  150. return 0
  151. }
  152. func (m *TagData) GetTagValue() int64 {
  153. if m != nil {
  154. return m.TagValue
  155. }
  156. return 0
  157. }
  158. func (m *TagData) GetTagAttribute() string {
  159. if m != nil {
  160. return m.TagAttribute
  161. }
  162. return ""
  163. }
  164. type RoomData struct {
  165. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
  166. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  167. ShortId int64 `protobuf:"varint,3,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty" validate:"gt=0,required"`
  168. Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty" validate:"required"`
  169. Cover string `protobuf:"bytes,5,opt,name=cover,proto3" json:"cover,omitempty"`
  170. Tags string `protobuf:"bytes,6,opt,name=tags,proto3" json:"tags,omitempty"`
  171. Background string `protobuf:"bytes,7,opt,name=background,proto3" json:"background,omitempty"`
  172. Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
  173. LiveStatus int64 `protobuf:"varint,9,opt,name=live_status,json=liveStatus,proto3" json:"live_status,omitempty" validate:"gt=0,required"`
  174. LiveStartTime int64 `protobuf:"varint,10,opt,name=live_start_time,json=liveStartTime,proto3" json:"live_start_time,omitempty" validate:"gt=0,required"`
  175. LiveScreenType int64 `protobuf:"varint,11,opt,name=live_screen_type,json=liveScreenType,proto3" json:"live_screen_type,omitempty" validate:"gt=0,required"`
  176. LiveMark int64 `protobuf:"varint,12,opt,name=live_mark,json=liveMark,proto3" json:"live_mark,omitempty"`
  177. LockStatus int64 `protobuf:"varint,13,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status,omitempty"`
  178. LockTime int64 `protobuf:"varint,14,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
  179. HiddenStatus int64 `protobuf:"varint,15,opt,name=hidden_status,json=hiddenStatus,proto3" json:"hidden_status,omitempty" validate:"gt=0,required"`
  180. HiddenTime int64 `protobuf:"varint,16,opt,name=hidden_time,json=hiddenTime,proto3" json:"hidden_time,omitempty"`
  181. AreaId int64 `protobuf:"varint,17,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty" validate:"gt=0,required"`
  182. AreaName string `protobuf:"bytes,18,opt,name=area_name,json=areaName,proto3" json:"area_name,omitempty" validate:"required"`
  183. ParentAreaId int64 `protobuf:"varint,19,opt,name=parent_area_id,json=parentAreaId,proto3" json:"parent_area_id,omitempty" validate:"gt=0,required"`
  184. ParentAreaName string `protobuf:"bytes,20,opt,name=parent_area_name,json=parentAreaName,proto3" json:"parent_area_name,omitempty" validate:"required"`
  185. Keyframe string `protobuf:"bytes,21,opt,name=keyframe,proto3" json:"keyframe,omitempty"`
  186. PopularityCount int64 `protobuf:"varint,22,opt,name=popularity_count,json=popularityCount,proto3" json:"popularity_count,omitempty"`
  187. RoomTagList []*TagData `protobuf:"bytes,23,rep,name=room_tag_list,json=roomTagList" json:"room_tag_list,omitempty"`
  188. AnchorTagList []*TagData `protobuf:"bytes,24,rep,name=anchor_tag_list,json=anchorTagList" json:"anchor_tag_list,omitempty"`
  189. AnchorProfileType int64 `protobuf:"varint,25,opt,name=anchor_profile_type,json=anchorProfileType,proto3" json:"anchor_profile_type,omitempty"`
  190. AnchorExp []*ExpData `protobuf:"bytes,26,rep,name=anchor_exp,json=anchorExp" json:"anchor_exp,omitempty"`
  191. AnchorRoundSwitch int64 `protobuf:"varint,27,opt,name=anchor_round_switch,json=anchorRoundSwitch,proto3" json:"anchor_round_switch,omitempty"`
  192. AnchorRoundStatus int64 `protobuf:"varint,28,opt,name=anchor_round_status,json=anchorRoundStatus,proto3" json:"anchor_round_status,omitempty"`
  193. AnchorRecordSwitch int64 `protobuf:"varint,29,opt,name=anchor_record_switch,json=anchorRecordSwitch,proto3" json:"anchor_record_switch,omitempty"`
  194. AnchorRecordStatus int64 `protobuf:"varint,30,opt,name=anchor_record_status,json=anchorRecordStatus,proto3" json:"anchor_record_status,omitempty"`
  195. AnchorSan int64 `protobuf:"varint,31,opt,name=anchor_san,json=anchorSan,proto3" json:"anchor_san,omitempty"`
  196. LiveType int64 `protobuf:"varint,32,opt,name=live_type,json=liveType,proto3" json:"live_type,omitempty"`
  197. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  198. XXX_unrecognized []byte `json:"-"`
  199. XXX_sizecache int32 `json:"-"`
  200. }
  201. func (m *RoomData) Reset() { *m = RoomData{} }
  202. func (m *RoomData) String() string { return proto.CompactTextString(m) }
  203. func (*RoomData) ProtoMessage() {}
  204. func (*RoomData) Descriptor() ([]byte, []int) {
  205. return fileDescriptor_api_5e82c9cace3801b5, []int{2}
  206. }
  207. func (m *RoomData) XXX_Unmarshal(b []byte) error {
  208. return m.Unmarshal(b)
  209. }
  210. func (m *RoomData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  211. if deterministic {
  212. return xxx_messageInfo_RoomData.Marshal(b, m, deterministic)
  213. } else {
  214. b = b[:cap(b)]
  215. n, err := m.MarshalTo(b)
  216. if err != nil {
  217. return nil, err
  218. }
  219. return b[:n], nil
  220. }
  221. }
  222. func (dst *RoomData) XXX_Merge(src proto.Message) {
  223. xxx_messageInfo_RoomData.Merge(dst, src)
  224. }
  225. func (m *RoomData) XXX_Size() int {
  226. return m.Size()
  227. }
  228. func (m *RoomData) XXX_DiscardUnknown() {
  229. xxx_messageInfo_RoomData.DiscardUnknown(m)
  230. }
  231. var xxx_messageInfo_RoomData proto.InternalMessageInfo
  232. func (m *RoomData) GetUid() int64 {
  233. if m != nil {
  234. return m.Uid
  235. }
  236. return 0
  237. }
  238. func (m *RoomData) GetRoomId() int64 {
  239. if m != nil {
  240. return m.RoomId
  241. }
  242. return 0
  243. }
  244. func (m *RoomData) GetShortId() int64 {
  245. if m != nil {
  246. return m.ShortId
  247. }
  248. return 0
  249. }
  250. func (m *RoomData) GetTitle() string {
  251. if m != nil {
  252. return m.Title
  253. }
  254. return ""
  255. }
  256. func (m *RoomData) GetCover() string {
  257. if m != nil {
  258. return m.Cover
  259. }
  260. return ""
  261. }
  262. func (m *RoomData) GetTags() string {
  263. if m != nil {
  264. return m.Tags
  265. }
  266. return ""
  267. }
  268. func (m *RoomData) GetBackground() string {
  269. if m != nil {
  270. return m.Background
  271. }
  272. return ""
  273. }
  274. func (m *RoomData) GetDescription() string {
  275. if m != nil {
  276. return m.Description
  277. }
  278. return ""
  279. }
  280. func (m *RoomData) GetLiveStatus() int64 {
  281. if m != nil {
  282. return m.LiveStatus
  283. }
  284. return 0
  285. }
  286. func (m *RoomData) GetLiveStartTime() int64 {
  287. if m != nil {
  288. return m.LiveStartTime
  289. }
  290. return 0
  291. }
  292. func (m *RoomData) GetLiveScreenType() int64 {
  293. if m != nil {
  294. return m.LiveScreenType
  295. }
  296. return 0
  297. }
  298. func (m *RoomData) GetLiveMark() int64 {
  299. if m != nil {
  300. return m.LiveMark
  301. }
  302. return 0
  303. }
  304. func (m *RoomData) GetLockStatus() int64 {
  305. if m != nil {
  306. return m.LockStatus
  307. }
  308. return 0
  309. }
  310. func (m *RoomData) GetLockTime() int64 {
  311. if m != nil {
  312. return m.LockTime
  313. }
  314. return 0
  315. }
  316. func (m *RoomData) GetHiddenStatus() int64 {
  317. if m != nil {
  318. return m.HiddenStatus
  319. }
  320. return 0
  321. }
  322. func (m *RoomData) GetHiddenTime() int64 {
  323. if m != nil {
  324. return m.HiddenTime
  325. }
  326. return 0
  327. }
  328. func (m *RoomData) GetAreaId() int64 {
  329. if m != nil {
  330. return m.AreaId
  331. }
  332. return 0
  333. }
  334. func (m *RoomData) GetAreaName() string {
  335. if m != nil {
  336. return m.AreaName
  337. }
  338. return ""
  339. }
  340. func (m *RoomData) GetParentAreaId() int64 {
  341. if m != nil {
  342. return m.ParentAreaId
  343. }
  344. return 0
  345. }
  346. func (m *RoomData) GetParentAreaName() string {
  347. if m != nil {
  348. return m.ParentAreaName
  349. }
  350. return ""
  351. }
  352. func (m *RoomData) GetKeyframe() string {
  353. if m != nil {
  354. return m.Keyframe
  355. }
  356. return ""
  357. }
  358. func (m *RoomData) GetPopularityCount() int64 {
  359. if m != nil {
  360. return m.PopularityCount
  361. }
  362. return 0
  363. }
  364. func (m *RoomData) GetRoomTagList() []*TagData {
  365. if m != nil {
  366. return m.RoomTagList
  367. }
  368. return nil
  369. }
  370. func (m *RoomData) GetAnchorTagList() []*TagData {
  371. if m != nil {
  372. return m.AnchorTagList
  373. }
  374. return nil
  375. }
  376. func (m *RoomData) GetAnchorProfileType() int64 {
  377. if m != nil {
  378. return m.AnchorProfileType
  379. }
  380. return 0
  381. }
  382. func (m *RoomData) GetAnchorExp() []*ExpData {
  383. if m != nil {
  384. return m.AnchorExp
  385. }
  386. return nil
  387. }
  388. func (m *RoomData) GetAnchorRoundSwitch() int64 {
  389. if m != nil {
  390. return m.AnchorRoundSwitch
  391. }
  392. return 0
  393. }
  394. func (m *RoomData) GetAnchorRoundStatus() int64 {
  395. if m != nil {
  396. return m.AnchorRoundStatus
  397. }
  398. return 0
  399. }
  400. func (m *RoomData) GetAnchorRecordSwitch() int64 {
  401. if m != nil {
  402. return m.AnchorRecordSwitch
  403. }
  404. return 0
  405. }
  406. func (m *RoomData) GetAnchorRecordStatus() int64 {
  407. if m != nil {
  408. return m.AnchorRecordStatus
  409. }
  410. return 0
  411. }
  412. func (m *RoomData) GetAnchorSan() int64 {
  413. if m != nil {
  414. return m.AnchorSan
  415. }
  416. return 0
  417. }
  418. func (m *RoomData) GetLiveType() int64 {
  419. if m != nil {
  420. return m.LiveType
  421. }
  422. return 0
  423. }
  424. type RoomByIDsReq struct {
  425. RoomIds []int64 `protobuf:"varint,1,rep,packed,name=room_ids,json=roomIds" json:"room_ids,omitempty"`
  426. Uids []int64 `protobuf:"varint,2,rep,packed,name=uids" json:"uids,omitempty"`
  427. Fields []string `protobuf:"bytes,3,rep,name=fields" json:"fields,omitempty"`
  428. DefaultFields int64 `protobuf:"varint,4,opt,name=default_fields,json=defaultFields,proto3" json:"default_fields,omitempty"`
  429. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  430. XXX_unrecognized []byte `json:"-"`
  431. XXX_sizecache int32 `json:"-"`
  432. }
  433. func (m *RoomByIDsReq) Reset() { *m = RoomByIDsReq{} }
  434. func (m *RoomByIDsReq) String() string { return proto.CompactTextString(m) }
  435. func (*RoomByIDsReq) ProtoMessage() {}
  436. func (*RoomByIDsReq) Descriptor() ([]byte, []int) {
  437. return fileDescriptor_api_5e82c9cace3801b5, []int{3}
  438. }
  439. func (m *RoomByIDsReq) XXX_Unmarshal(b []byte) error {
  440. return m.Unmarshal(b)
  441. }
  442. func (m *RoomByIDsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  443. if deterministic {
  444. return xxx_messageInfo_RoomByIDsReq.Marshal(b, m, deterministic)
  445. } else {
  446. b = b[:cap(b)]
  447. n, err := m.MarshalTo(b)
  448. if err != nil {
  449. return nil, err
  450. }
  451. return b[:n], nil
  452. }
  453. }
  454. func (dst *RoomByIDsReq) XXX_Merge(src proto.Message) {
  455. xxx_messageInfo_RoomByIDsReq.Merge(dst, src)
  456. }
  457. func (m *RoomByIDsReq) XXX_Size() int {
  458. return m.Size()
  459. }
  460. func (m *RoomByIDsReq) XXX_DiscardUnknown() {
  461. xxx_messageInfo_RoomByIDsReq.DiscardUnknown(m)
  462. }
  463. var xxx_messageInfo_RoomByIDsReq proto.InternalMessageInfo
  464. func (m *RoomByIDsReq) GetRoomIds() []int64 {
  465. if m != nil {
  466. return m.RoomIds
  467. }
  468. return nil
  469. }
  470. func (m *RoomByIDsReq) GetUids() []int64 {
  471. if m != nil {
  472. return m.Uids
  473. }
  474. return nil
  475. }
  476. func (m *RoomByIDsReq) GetFields() []string {
  477. if m != nil {
  478. return m.Fields
  479. }
  480. return nil
  481. }
  482. func (m *RoomByIDsReq) GetDefaultFields() int64 {
  483. if m != nil {
  484. return m.DefaultFields
  485. }
  486. return 0
  487. }
  488. type RoomByIDsResp struct {
  489. 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"`
  490. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  491. XXX_unrecognized []byte `json:"-"`
  492. XXX_sizecache int32 `json:"-"`
  493. }
  494. func (m *RoomByIDsResp) Reset() { *m = RoomByIDsResp{} }
  495. func (m *RoomByIDsResp) String() string { return proto.CompactTextString(m) }
  496. func (*RoomByIDsResp) ProtoMessage() {}
  497. func (*RoomByIDsResp) Descriptor() ([]byte, []int) {
  498. return fileDescriptor_api_5e82c9cace3801b5, []int{4}
  499. }
  500. func (m *RoomByIDsResp) XXX_Unmarshal(b []byte) error {
  501. return m.Unmarshal(b)
  502. }
  503. func (m *RoomByIDsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  504. if deterministic {
  505. return xxx_messageInfo_RoomByIDsResp.Marshal(b, m, deterministic)
  506. } else {
  507. b = b[:cap(b)]
  508. n, err := m.MarshalTo(b)
  509. if err != nil {
  510. return nil, err
  511. }
  512. return b[:n], nil
  513. }
  514. }
  515. func (dst *RoomByIDsResp) XXX_Merge(src proto.Message) {
  516. xxx_messageInfo_RoomByIDsResp.Merge(dst, src)
  517. }
  518. func (m *RoomByIDsResp) XXX_Size() int {
  519. return m.Size()
  520. }
  521. func (m *RoomByIDsResp) XXX_DiscardUnknown() {
  522. xxx_messageInfo_RoomByIDsResp.DiscardUnknown(m)
  523. }
  524. var xxx_messageInfo_RoomByIDsResp proto.InternalMessageInfo
  525. func (m *RoomByIDsResp) GetRoomDataSet() map[int64]*RoomData {
  526. if m != nil {
  527. return m.RoomDataSet
  528. }
  529. return nil
  530. }
  531. type RoomOnlineListReq struct {
  532. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
  533. Sort string `protobuf:"bytes,2,opt,name=sort,proto3" json:"sort,omitempty"`
  534. Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
  535. PageSize int64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  536. Fields []string `protobuf:"bytes,5,rep,name=fields" json:"fields,omitempty"`
  537. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  538. XXX_unrecognized []byte `json:"-"`
  539. XXX_sizecache int32 `json:"-"`
  540. }
  541. func (m *RoomOnlineListReq) Reset() { *m = RoomOnlineListReq{} }
  542. func (m *RoomOnlineListReq) String() string { return proto.CompactTextString(m) }
  543. func (*RoomOnlineListReq) ProtoMessage() {}
  544. func (*RoomOnlineListReq) Descriptor() ([]byte, []int) {
  545. return fileDescriptor_api_5e82c9cace3801b5, []int{5}
  546. }
  547. func (m *RoomOnlineListReq) XXX_Unmarshal(b []byte) error {
  548. return m.Unmarshal(b)
  549. }
  550. func (m *RoomOnlineListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  551. if deterministic {
  552. return xxx_messageInfo_RoomOnlineListReq.Marshal(b, m, deterministic)
  553. } else {
  554. b = b[:cap(b)]
  555. n, err := m.MarshalTo(b)
  556. if err != nil {
  557. return nil, err
  558. }
  559. return b[:n], nil
  560. }
  561. }
  562. func (dst *RoomOnlineListReq) XXX_Merge(src proto.Message) {
  563. xxx_messageInfo_RoomOnlineListReq.Merge(dst, src)
  564. }
  565. func (m *RoomOnlineListReq) XXX_Size() int {
  566. return m.Size()
  567. }
  568. func (m *RoomOnlineListReq) XXX_DiscardUnknown() {
  569. xxx_messageInfo_RoomOnlineListReq.DiscardUnknown(m)
  570. }
  571. var xxx_messageInfo_RoomOnlineListReq proto.InternalMessageInfo
  572. func (m *RoomOnlineListReq) GetFilter() string {
  573. if m != nil {
  574. return m.Filter
  575. }
  576. return ""
  577. }
  578. func (m *RoomOnlineListReq) GetSort() string {
  579. if m != nil {
  580. return m.Sort
  581. }
  582. return ""
  583. }
  584. func (m *RoomOnlineListReq) GetPage() int64 {
  585. if m != nil {
  586. return m.Page
  587. }
  588. return 0
  589. }
  590. func (m *RoomOnlineListReq) GetPageSize() int64 {
  591. if m != nil {
  592. return m.PageSize
  593. }
  594. return 0
  595. }
  596. func (m *RoomOnlineListReq) GetFields() []string {
  597. if m != nil {
  598. return m.Fields
  599. }
  600. return nil
  601. }
  602. type RoomOnlineListResp struct {
  603. 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"`
  604. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  605. XXX_unrecognized []byte `json:"-"`
  606. XXX_sizecache int32 `json:"-"`
  607. }
  608. func (m *RoomOnlineListResp) Reset() { *m = RoomOnlineListResp{} }
  609. func (m *RoomOnlineListResp) String() string { return proto.CompactTextString(m) }
  610. func (*RoomOnlineListResp) ProtoMessage() {}
  611. func (*RoomOnlineListResp) Descriptor() ([]byte, []int) {
  612. return fileDescriptor_api_5e82c9cace3801b5, []int{6}
  613. }
  614. func (m *RoomOnlineListResp) XXX_Unmarshal(b []byte) error {
  615. return m.Unmarshal(b)
  616. }
  617. func (m *RoomOnlineListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  618. if deterministic {
  619. return xxx_messageInfo_RoomOnlineListResp.Marshal(b, m, deterministic)
  620. } else {
  621. b = b[:cap(b)]
  622. n, err := m.MarshalTo(b)
  623. if err != nil {
  624. return nil, err
  625. }
  626. return b[:n], nil
  627. }
  628. }
  629. func (dst *RoomOnlineListResp) XXX_Merge(src proto.Message) {
  630. xxx_messageInfo_RoomOnlineListResp.Merge(dst, src)
  631. }
  632. func (m *RoomOnlineListResp) XXX_Size() int {
  633. return m.Size()
  634. }
  635. func (m *RoomOnlineListResp) XXX_DiscardUnknown() {
  636. xxx_messageInfo_RoomOnlineListResp.DiscardUnknown(m)
  637. }
  638. var xxx_messageInfo_RoomOnlineListResp proto.InternalMessageInfo
  639. func (m *RoomOnlineListResp) GetRoomDataList() map[int64]*RoomData {
  640. if m != nil {
  641. return m.RoomDataList
  642. }
  643. return nil
  644. }
  645. type RoomCreateReq struct {
  646. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
  647. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
  648. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  649. XXX_unrecognized []byte `json:"-"`
  650. XXX_sizecache int32 `json:"-"`
  651. }
  652. func (m *RoomCreateReq) Reset() { *m = RoomCreateReq{} }
  653. func (m *RoomCreateReq) String() string { return proto.CompactTextString(m) }
  654. func (*RoomCreateReq) ProtoMessage() {}
  655. func (*RoomCreateReq) Descriptor() ([]byte, []int) {
  656. return fileDescriptor_api_5e82c9cace3801b5, []int{7}
  657. }
  658. func (m *RoomCreateReq) XXX_Unmarshal(b []byte) error {
  659. return m.Unmarshal(b)
  660. }
  661. func (m *RoomCreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  662. if deterministic {
  663. return xxx_messageInfo_RoomCreateReq.Marshal(b, m, deterministic)
  664. } else {
  665. b = b[:cap(b)]
  666. n, err := m.MarshalTo(b)
  667. if err != nil {
  668. return nil, err
  669. }
  670. return b[:n], nil
  671. }
  672. }
  673. func (dst *RoomCreateReq) XXX_Merge(src proto.Message) {
  674. xxx_messageInfo_RoomCreateReq.Merge(dst, src)
  675. }
  676. func (m *RoomCreateReq) XXX_Size() int {
  677. return m.Size()
  678. }
  679. func (m *RoomCreateReq) XXX_DiscardUnknown() {
  680. xxx_messageInfo_RoomCreateReq.DiscardUnknown(m)
  681. }
  682. var xxx_messageInfo_RoomCreateReq proto.InternalMessageInfo
  683. func (m *RoomCreateReq) GetUid() int64 {
  684. if m != nil {
  685. return m.Uid
  686. }
  687. return 0
  688. }
  689. func (m *RoomCreateReq) GetRoomId() int64 {
  690. if m != nil {
  691. return m.RoomId
  692. }
  693. return 0
  694. }
  695. type RoomCreateResp struct {
  696. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
  697. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  698. XXX_unrecognized []byte `json:"-"`
  699. XXX_sizecache int32 `json:"-"`
  700. }
  701. func (m *RoomCreateResp) Reset() { *m = RoomCreateResp{} }
  702. func (m *RoomCreateResp) String() string { return proto.CompactTextString(m) }
  703. func (*RoomCreateResp) ProtoMessage() {}
  704. func (*RoomCreateResp) Descriptor() ([]byte, []int) {
  705. return fileDescriptor_api_5e82c9cace3801b5, []int{8}
  706. }
  707. func (m *RoomCreateResp) XXX_Unmarshal(b []byte) error {
  708. return m.Unmarshal(b)
  709. }
  710. func (m *RoomCreateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  711. if deterministic {
  712. return xxx_messageInfo_RoomCreateResp.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 *RoomCreateResp) XXX_Merge(src proto.Message) {
  723. xxx_messageInfo_RoomCreateResp.Merge(dst, src)
  724. }
  725. func (m *RoomCreateResp) XXX_Size() int {
  726. return m.Size()
  727. }
  728. func (m *RoomCreateResp) XXX_DiscardUnknown() {
  729. xxx_messageInfo_RoomCreateResp.DiscardUnknown(m)
  730. }
  731. var xxx_messageInfo_RoomCreateResp proto.InternalMessageInfo
  732. func (m *RoomCreateResp) GetRoomId() int64 {
  733. if m != nil {
  734. return m.RoomId
  735. }
  736. return 0
  737. }
  738. type UpdateResp struct {
  739. AffectedRows int64 `protobuf:"varint,1,opt,name=affected_rows,json=affectedRows,proto3" json:"affected_rows,omitempty"`
  740. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  741. XXX_unrecognized []byte `json:"-"`
  742. XXX_sizecache int32 `json:"-"`
  743. }
  744. func (m *UpdateResp) Reset() { *m = UpdateResp{} }
  745. func (m *UpdateResp) String() string { return proto.CompactTextString(m) }
  746. func (*UpdateResp) ProtoMessage() {}
  747. func (*UpdateResp) Descriptor() ([]byte, []int) {
  748. return fileDescriptor_api_5e82c9cace3801b5, []int{9}
  749. }
  750. func (m *UpdateResp) XXX_Unmarshal(b []byte) error {
  751. return m.Unmarshal(b)
  752. }
  753. func (m *UpdateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  754. if deterministic {
  755. return xxx_messageInfo_UpdateResp.Marshal(b, m, deterministic)
  756. } else {
  757. b = b[:cap(b)]
  758. n, err := m.MarshalTo(b)
  759. if err != nil {
  760. return nil, err
  761. }
  762. return b[:n], nil
  763. }
  764. }
  765. func (dst *UpdateResp) XXX_Merge(src proto.Message) {
  766. xxx_messageInfo_UpdateResp.Merge(dst, src)
  767. }
  768. func (m *UpdateResp) XXX_Size() int {
  769. return m.Size()
  770. }
  771. func (m *UpdateResp) XXX_DiscardUnknown() {
  772. xxx_messageInfo_UpdateResp.DiscardUnknown(m)
  773. }
  774. var xxx_messageInfo_UpdateResp proto.InternalMessageInfo
  775. func (m *UpdateResp) GetAffectedRows() int64 {
  776. if m != nil {
  777. return m.AffectedRows
  778. }
  779. return 0
  780. }
  781. type RoomUpdateReq struct {
  782. Fields []string `protobuf:"bytes,1,rep,name=fields" json:"fields,omitempty" validate:"required"`
  783. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  784. Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
  785. Cover string `protobuf:"bytes,4,opt,name=cover,proto3" json:"cover,omitempty"`
  786. Tags string `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"`
  787. Background string `protobuf:"bytes,6,opt,name=background,proto3" json:"background,omitempty"`
  788. Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
  789. LiveStartTime int64 `protobuf:"varint,8,opt,name=live_start_time,json=liveStartTime,proto3" json:"live_start_time,omitempty"`
  790. LiveScreenType int64 `protobuf:"varint,9,opt,name=live_screen_type,json=liveScreenType,proto3" json:"live_screen_type,omitempty"`
  791. LockStatus int64 `protobuf:"varint,10,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status,omitempty"`
  792. LockTime int64 `protobuf:"varint,11,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
  793. HiddenTime int64 `protobuf:"varint,12,opt,name=hidden_time,json=hiddenTime,proto3" json:"hidden_time,omitempty"`
  794. AreaId int64 `protobuf:"varint,13,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"`
  795. AnchorRoundSwitch int64 `protobuf:"varint,14,opt,name=anchor_round_switch,json=anchorRoundSwitch,proto3" json:"anchor_round_switch,omitempty"`
  796. AnchorRecordSwitch int64 `protobuf:"varint,15,opt,name=anchor_record_switch,json=anchorRecordSwitch,proto3" json:"anchor_record_switch,omitempty"`
  797. LiveType int64 `protobuf:"varint,16,opt,name=live_type,json=liveType,proto3" json:"live_type,omitempty"`
  798. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  799. XXX_unrecognized []byte `json:"-"`
  800. XXX_sizecache int32 `json:"-"`
  801. }
  802. func (m *RoomUpdateReq) Reset() { *m = RoomUpdateReq{} }
  803. func (m *RoomUpdateReq) String() string { return proto.CompactTextString(m) }
  804. func (*RoomUpdateReq) ProtoMessage() {}
  805. func (*RoomUpdateReq) Descriptor() ([]byte, []int) {
  806. return fileDescriptor_api_5e82c9cace3801b5, []int{10}
  807. }
  808. func (m *RoomUpdateReq) XXX_Unmarshal(b []byte) error {
  809. return m.Unmarshal(b)
  810. }
  811. func (m *RoomUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  812. if deterministic {
  813. return xxx_messageInfo_RoomUpdateReq.Marshal(b, m, deterministic)
  814. } else {
  815. b = b[:cap(b)]
  816. n, err := m.MarshalTo(b)
  817. if err != nil {
  818. return nil, err
  819. }
  820. return b[:n], nil
  821. }
  822. }
  823. func (dst *RoomUpdateReq) XXX_Merge(src proto.Message) {
  824. xxx_messageInfo_RoomUpdateReq.Merge(dst, src)
  825. }
  826. func (m *RoomUpdateReq) XXX_Size() int {
  827. return m.Size()
  828. }
  829. func (m *RoomUpdateReq) XXX_DiscardUnknown() {
  830. xxx_messageInfo_RoomUpdateReq.DiscardUnknown(m)
  831. }
  832. var xxx_messageInfo_RoomUpdateReq proto.InternalMessageInfo
  833. func (m *RoomUpdateReq) GetFields() []string {
  834. if m != nil {
  835. return m.Fields
  836. }
  837. return nil
  838. }
  839. func (m *RoomUpdateReq) GetRoomId() int64 {
  840. if m != nil {
  841. return m.RoomId
  842. }
  843. return 0
  844. }
  845. func (m *RoomUpdateReq) GetTitle() string {
  846. if m != nil {
  847. return m.Title
  848. }
  849. return ""
  850. }
  851. func (m *RoomUpdateReq) GetCover() string {
  852. if m != nil {
  853. return m.Cover
  854. }
  855. return ""
  856. }
  857. func (m *RoomUpdateReq) GetTags() string {
  858. if m != nil {
  859. return m.Tags
  860. }
  861. return ""
  862. }
  863. func (m *RoomUpdateReq) GetBackground() string {
  864. if m != nil {
  865. return m.Background
  866. }
  867. return ""
  868. }
  869. func (m *RoomUpdateReq) GetDescription() string {
  870. if m != nil {
  871. return m.Description
  872. }
  873. return ""
  874. }
  875. func (m *RoomUpdateReq) GetLiveStartTime() int64 {
  876. if m != nil {
  877. return m.LiveStartTime
  878. }
  879. return 0
  880. }
  881. func (m *RoomUpdateReq) GetLiveScreenType() int64 {
  882. if m != nil {
  883. return m.LiveScreenType
  884. }
  885. return 0
  886. }
  887. func (m *RoomUpdateReq) GetLockStatus() int64 {
  888. if m != nil {
  889. return m.LockStatus
  890. }
  891. return 0
  892. }
  893. func (m *RoomUpdateReq) GetLockTime() int64 {
  894. if m != nil {
  895. return m.LockTime
  896. }
  897. return 0
  898. }
  899. func (m *RoomUpdateReq) GetHiddenTime() int64 {
  900. if m != nil {
  901. return m.HiddenTime
  902. }
  903. return 0
  904. }
  905. func (m *RoomUpdateReq) GetAreaId() int64 {
  906. if m != nil {
  907. return m.AreaId
  908. }
  909. return 0
  910. }
  911. func (m *RoomUpdateReq) GetAnchorRoundSwitch() int64 {
  912. if m != nil {
  913. return m.AnchorRoundSwitch
  914. }
  915. return 0
  916. }
  917. func (m *RoomUpdateReq) GetAnchorRecordSwitch() int64 {
  918. if m != nil {
  919. return m.AnchorRecordSwitch
  920. }
  921. return 0
  922. }
  923. func (m *RoomUpdateReq) GetLiveType() int64 {
  924. if m != nil {
  925. return m.LiveType
  926. }
  927. return 0
  928. }
  929. type RoomBatchUpdateReq struct {
  930. Reqs []*RoomUpdateReq `protobuf:"bytes,1,rep,name=reqs" json:"reqs,omitempty" validate:"required"`
  931. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  932. XXX_unrecognized []byte `json:"-"`
  933. XXX_sizecache int32 `json:"-"`
  934. }
  935. func (m *RoomBatchUpdateReq) Reset() { *m = RoomBatchUpdateReq{} }
  936. func (m *RoomBatchUpdateReq) String() string { return proto.CompactTextString(m) }
  937. func (*RoomBatchUpdateReq) ProtoMessage() {}
  938. func (*RoomBatchUpdateReq) Descriptor() ([]byte, []int) {
  939. return fileDescriptor_api_5e82c9cace3801b5, []int{11}
  940. }
  941. func (m *RoomBatchUpdateReq) XXX_Unmarshal(b []byte) error {
  942. return m.Unmarshal(b)
  943. }
  944. func (m *RoomBatchUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  945. if deterministic {
  946. return xxx_messageInfo_RoomBatchUpdateReq.Marshal(b, m, deterministic)
  947. } else {
  948. b = b[:cap(b)]
  949. n, err := m.MarshalTo(b)
  950. if err != nil {
  951. return nil, err
  952. }
  953. return b[:n], nil
  954. }
  955. }
  956. func (dst *RoomBatchUpdateReq) XXX_Merge(src proto.Message) {
  957. xxx_messageInfo_RoomBatchUpdateReq.Merge(dst, src)
  958. }
  959. func (m *RoomBatchUpdateReq) XXX_Size() int {
  960. return m.Size()
  961. }
  962. func (m *RoomBatchUpdateReq) XXX_DiscardUnknown() {
  963. xxx_messageInfo_RoomBatchUpdateReq.DiscardUnknown(m)
  964. }
  965. var xxx_messageInfo_RoomBatchUpdateReq proto.InternalMessageInfo
  966. func (m *RoomBatchUpdateReq) GetReqs() []*RoomUpdateReq {
  967. if m != nil {
  968. return m.Reqs
  969. }
  970. return nil
  971. }
  972. type AnchorData struct {
  973. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
  974. ProfileType int64 `protobuf:"varint,2,opt,name=profile_type,json=profileType,proto3" json:"profile_type,omitempty" validate:"gt=0,required"`
  975. Exp []*ExpData `protobuf:"bytes,3,rep,name=exp" json:"exp,omitempty" validate:"gt=0,required"`
  976. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  977. XXX_unrecognized []byte `json:"-"`
  978. XXX_sizecache int32 `json:"-"`
  979. }
  980. func (m *AnchorData) Reset() { *m = AnchorData{} }
  981. func (m *AnchorData) String() string { return proto.CompactTextString(m) }
  982. func (*AnchorData) ProtoMessage() {}
  983. func (*AnchorData) Descriptor() ([]byte, []int) {
  984. return fileDescriptor_api_5e82c9cace3801b5, []int{12}
  985. }
  986. func (m *AnchorData) XXX_Unmarshal(b []byte) error {
  987. return m.Unmarshal(b)
  988. }
  989. func (m *AnchorData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  990. if deterministic {
  991. return xxx_messageInfo_AnchorData.Marshal(b, m, deterministic)
  992. } else {
  993. b = b[:cap(b)]
  994. n, err := m.MarshalTo(b)
  995. if err != nil {
  996. return nil, err
  997. }
  998. return b[:n], nil
  999. }
  1000. }
  1001. func (dst *AnchorData) XXX_Merge(src proto.Message) {
  1002. xxx_messageInfo_AnchorData.Merge(dst, src)
  1003. }
  1004. func (m *AnchorData) XXX_Size() int {
  1005. return m.Size()
  1006. }
  1007. func (m *AnchorData) XXX_DiscardUnknown() {
  1008. xxx_messageInfo_AnchorData.DiscardUnknown(m)
  1009. }
  1010. var xxx_messageInfo_AnchorData proto.InternalMessageInfo
  1011. func (m *AnchorData) GetUid() int64 {
  1012. if m != nil {
  1013. return m.Uid
  1014. }
  1015. return 0
  1016. }
  1017. func (m *AnchorData) GetProfileType() int64 {
  1018. if m != nil {
  1019. return m.ProfileType
  1020. }
  1021. return 0
  1022. }
  1023. func (m *AnchorData) GetExp() []*ExpData {
  1024. if m != nil {
  1025. return m.Exp
  1026. }
  1027. return nil
  1028. }
  1029. type AnchorUpdateReq struct {
  1030. Fields []string `protobuf:"bytes,1,rep,name=fields" json:"fields,omitempty" validate:"required"`
  1031. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
  1032. ProfileType int64 `protobuf:"varint,3,opt,name=profile_type,json=profileType,proto3" json:"profile_type,omitempty"`
  1033. SanScore int64 `protobuf:"varint,4,opt,name=san_score,json=sanScore,proto3" json:"san_score,omitempty"`
  1034. RoundStatus int64 `protobuf:"varint,5,opt,name=round_status,json=roundStatus,proto3" json:"round_status,omitempty"`
  1035. RecordStatus int64 `protobuf:"varint,6,opt,name=record_status,json=recordStatus,proto3" json:"record_status,omitempty"`
  1036. Exp int64 `protobuf:"varint,7,opt,name=exp,proto3" json:"exp,omitempty"`
  1037. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1038. XXX_unrecognized []byte `json:"-"`
  1039. XXX_sizecache int32 `json:"-"`
  1040. }
  1041. func (m *AnchorUpdateReq) Reset() { *m = AnchorUpdateReq{} }
  1042. func (m *AnchorUpdateReq) String() string { return proto.CompactTextString(m) }
  1043. func (*AnchorUpdateReq) ProtoMessage() {}
  1044. func (*AnchorUpdateReq) Descriptor() ([]byte, []int) {
  1045. return fileDescriptor_api_5e82c9cace3801b5, []int{13}
  1046. }
  1047. func (m *AnchorUpdateReq) XXX_Unmarshal(b []byte) error {
  1048. return m.Unmarshal(b)
  1049. }
  1050. func (m *AnchorUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1051. if deterministic {
  1052. return xxx_messageInfo_AnchorUpdateReq.Marshal(b, m, deterministic)
  1053. } else {
  1054. b = b[:cap(b)]
  1055. n, err := m.MarshalTo(b)
  1056. if err != nil {
  1057. return nil, err
  1058. }
  1059. return b[:n], nil
  1060. }
  1061. }
  1062. func (dst *AnchorUpdateReq) XXX_Merge(src proto.Message) {
  1063. xxx_messageInfo_AnchorUpdateReq.Merge(dst, src)
  1064. }
  1065. func (m *AnchorUpdateReq) XXX_Size() int {
  1066. return m.Size()
  1067. }
  1068. func (m *AnchorUpdateReq) XXX_DiscardUnknown() {
  1069. xxx_messageInfo_AnchorUpdateReq.DiscardUnknown(m)
  1070. }
  1071. var xxx_messageInfo_AnchorUpdateReq proto.InternalMessageInfo
  1072. func (m *AnchorUpdateReq) GetFields() []string {
  1073. if m != nil {
  1074. return m.Fields
  1075. }
  1076. return nil
  1077. }
  1078. func (m *AnchorUpdateReq) GetUid() int64 {
  1079. if m != nil {
  1080. return m.Uid
  1081. }
  1082. return 0
  1083. }
  1084. func (m *AnchorUpdateReq) GetProfileType() int64 {
  1085. if m != nil {
  1086. return m.ProfileType
  1087. }
  1088. return 0
  1089. }
  1090. func (m *AnchorUpdateReq) GetSanScore() int64 {
  1091. if m != nil {
  1092. return m.SanScore
  1093. }
  1094. return 0
  1095. }
  1096. func (m *AnchorUpdateReq) GetRoundStatus() int64 {
  1097. if m != nil {
  1098. return m.RoundStatus
  1099. }
  1100. return 0
  1101. }
  1102. func (m *AnchorUpdateReq) GetRecordStatus() int64 {
  1103. if m != nil {
  1104. return m.RecordStatus
  1105. }
  1106. return 0
  1107. }
  1108. func (m *AnchorUpdateReq) GetExp() int64 {
  1109. if m != nil {
  1110. return m.Exp
  1111. }
  1112. return 0
  1113. }
  1114. type AnchorBatchUpdateReq struct {
  1115. Reqs []*AnchorUpdateReq `protobuf:"bytes,1,rep,name=reqs" json:"reqs,omitempty" validate:"required"`
  1116. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1117. XXX_unrecognized []byte `json:"-"`
  1118. XXX_sizecache int32 `json:"-"`
  1119. }
  1120. func (m *AnchorBatchUpdateReq) Reset() { *m = AnchorBatchUpdateReq{} }
  1121. func (m *AnchorBatchUpdateReq) String() string { return proto.CompactTextString(m) }
  1122. func (*AnchorBatchUpdateReq) ProtoMessage() {}
  1123. func (*AnchorBatchUpdateReq) Descriptor() ([]byte, []int) {
  1124. return fileDescriptor_api_5e82c9cace3801b5, []int{14}
  1125. }
  1126. func (m *AnchorBatchUpdateReq) XXX_Unmarshal(b []byte) error {
  1127. return m.Unmarshal(b)
  1128. }
  1129. func (m *AnchorBatchUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1130. if deterministic {
  1131. return xxx_messageInfo_AnchorBatchUpdateReq.Marshal(b, m, deterministic)
  1132. } else {
  1133. b = b[:cap(b)]
  1134. n, err := m.MarshalTo(b)
  1135. if err != nil {
  1136. return nil, err
  1137. }
  1138. return b[:n], nil
  1139. }
  1140. }
  1141. func (dst *AnchorBatchUpdateReq) XXX_Merge(src proto.Message) {
  1142. xxx_messageInfo_AnchorBatchUpdateReq.Merge(dst, src)
  1143. }
  1144. func (m *AnchorBatchUpdateReq) XXX_Size() int {
  1145. return m.Size()
  1146. }
  1147. func (m *AnchorBatchUpdateReq) XXX_DiscardUnknown() {
  1148. xxx_messageInfo_AnchorBatchUpdateReq.DiscardUnknown(m)
  1149. }
  1150. var xxx_messageInfo_AnchorBatchUpdateReq proto.InternalMessageInfo
  1151. func (m *AnchorBatchUpdateReq) GetReqs() []*AnchorUpdateReq {
  1152. if m != nil {
  1153. return m.Reqs
  1154. }
  1155. return nil
  1156. }
  1157. type AnchorIncreReq struct {
  1158. ReqId string `protobuf:"bytes,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty" validate:"required"`
  1159. Fields []string `protobuf:"bytes,2,rep,name=fields" json:"fields,omitempty" validate:"required"`
  1160. Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty" validate:"gt=0,required"`
  1161. SanScore int64 `protobuf:"varint,4,opt,name=san_score,json=sanScore,proto3" json:"san_score,omitempty"`
  1162. Exp int64 `protobuf:"varint,5,opt,name=exp,proto3" json:"exp,omitempty"`
  1163. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1164. XXX_unrecognized []byte `json:"-"`
  1165. XXX_sizecache int32 `json:"-"`
  1166. }
  1167. func (m *AnchorIncreReq) Reset() { *m = AnchorIncreReq{} }
  1168. func (m *AnchorIncreReq) String() string { return proto.CompactTextString(m) }
  1169. func (*AnchorIncreReq) ProtoMessage() {}
  1170. func (*AnchorIncreReq) Descriptor() ([]byte, []int) {
  1171. return fileDescriptor_api_5e82c9cace3801b5, []int{15}
  1172. }
  1173. func (m *AnchorIncreReq) XXX_Unmarshal(b []byte) error {
  1174. return m.Unmarshal(b)
  1175. }
  1176. func (m *AnchorIncreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1177. if deterministic {
  1178. return xxx_messageInfo_AnchorIncreReq.Marshal(b, m, deterministic)
  1179. } else {
  1180. b = b[:cap(b)]
  1181. n, err := m.MarshalTo(b)
  1182. if err != nil {
  1183. return nil, err
  1184. }
  1185. return b[:n], nil
  1186. }
  1187. }
  1188. func (dst *AnchorIncreReq) XXX_Merge(src proto.Message) {
  1189. xxx_messageInfo_AnchorIncreReq.Merge(dst, src)
  1190. }
  1191. func (m *AnchorIncreReq) XXX_Size() int {
  1192. return m.Size()
  1193. }
  1194. func (m *AnchorIncreReq) XXX_DiscardUnknown() {
  1195. xxx_messageInfo_AnchorIncreReq.DiscardUnknown(m)
  1196. }
  1197. var xxx_messageInfo_AnchorIncreReq proto.InternalMessageInfo
  1198. func (m *AnchorIncreReq) GetReqId() string {
  1199. if m != nil {
  1200. return m.ReqId
  1201. }
  1202. return ""
  1203. }
  1204. func (m *AnchorIncreReq) GetFields() []string {
  1205. if m != nil {
  1206. return m.Fields
  1207. }
  1208. return nil
  1209. }
  1210. func (m *AnchorIncreReq) GetUid() int64 {
  1211. if m != nil {
  1212. return m.Uid
  1213. }
  1214. return 0
  1215. }
  1216. func (m *AnchorIncreReq) GetSanScore() int64 {
  1217. if m != nil {
  1218. return m.SanScore
  1219. }
  1220. return 0
  1221. }
  1222. func (m *AnchorIncreReq) GetExp() int64 {
  1223. if m != nil {
  1224. return m.Exp
  1225. }
  1226. return 0
  1227. }
  1228. type AnchorBatchIncreReq struct {
  1229. Reqs []*AnchorIncreReq `protobuf:"bytes,1,rep,name=reqs" json:"reqs,omitempty" validate:"required"`
  1230. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1231. XXX_unrecognized []byte `json:"-"`
  1232. XXX_sizecache int32 `json:"-"`
  1233. }
  1234. func (m *AnchorBatchIncreReq) Reset() { *m = AnchorBatchIncreReq{} }
  1235. func (m *AnchorBatchIncreReq) String() string { return proto.CompactTextString(m) }
  1236. func (*AnchorBatchIncreReq) ProtoMessage() {}
  1237. func (*AnchorBatchIncreReq) Descriptor() ([]byte, []int) {
  1238. return fileDescriptor_api_5e82c9cace3801b5, []int{16}
  1239. }
  1240. func (m *AnchorBatchIncreReq) XXX_Unmarshal(b []byte) error {
  1241. return m.Unmarshal(b)
  1242. }
  1243. func (m *AnchorBatchIncreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1244. if deterministic {
  1245. return xxx_messageInfo_AnchorBatchIncreReq.Marshal(b, m, deterministic)
  1246. } else {
  1247. b = b[:cap(b)]
  1248. n, err := m.MarshalTo(b)
  1249. if err != nil {
  1250. return nil, err
  1251. }
  1252. return b[:n], nil
  1253. }
  1254. }
  1255. func (dst *AnchorBatchIncreReq) XXX_Merge(src proto.Message) {
  1256. xxx_messageInfo_AnchorBatchIncreReq.Merge(dst, src)
  1257. }
  1258. func (m *AnchorBatchIncreReq) XXX_Size() int {
  1259. return m.Size()
  1260. }
  1261. func (m *AnchorBatchIncreReq) XXX_DiscardUnknown() {
  1262. xxx_messageInfo_AnchorBatchIncreReq.DiscardUnknown(m)
  1263. }
  1264. var xxx_messageInfo_AnchorBatchIncreReq proto.InternalMessageInfo
  1265. func (m *AnchorBatchIncreReq) GetReqs() []*AnchorIncreReq {
  1266. if m != nil {
  1267. return m.Reqs
  1268. }
  1269. return nil
  1270. }
  1271. type RoomExtendUpdateReq struct {
  1272. Fields []string `protobuf:"bytes,1,rep,name=fields" json:"fields,omitempty" validate:"required"`
  1273. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  1274. KeyFrame string `protobuf:"bytes,3,opt,name=key_frame,json=keyFrame,proto3" json:"key_frame,omitempty"`
  1275. DanmuCount int64 `protobuf:"varint,4,opt,name=danmu_count,json=danmuCount,proto3" json:"danmu_count,omitempty"`
  1276. PopularityCount int64 `protobuf:"varint,5,opt,name=popularity_count,json=popularityCount,proto3" json:"popularity_count,omitempty"`
  1277. AudienceCount int64 `protobuf:"varint,6,opt,name=audience_count,json=audienceCount,proto3" json:"audience_count,omitempty"`
  1278. GiftCount int64 `protobuf:"varint,7,opt,name=gift_count,json=giftCount,proto3" json:"gift_count,omitempty"`
  1279. GiftGoldAmount int64 `protobuf:"varint,8,opt,name=gift_gold_amount,json=giftGoldAmount,proto3" json:"gift_gold_amount,omitempty"`
  1280. GiftGoldCount int64 `protobuf:"varint,9,opt,name=gift_gold_count,json=giftGoldCount,proto3" json:"gift_gold_count,omitempty"`
  1281. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1282. XXX_unrecognized []byte `json:"-"`
  1283. XXX_sizecache int32 `json:"-"`
  1284. }
  1285. func (m *RoomExtendUpdateReq) Reset() { *m = RoomExtendUpdateReq{} }
  1286. func (m *RoomExtendUpdateReq) String() string { return proto.CompactTextString(m) }
  1287. func (*RoomExtendUpdateReq) ProtoMessage() {}
  1288. func (*RoomExtendUpdateReq) Descriptor() ([]byte, []int) {
  1289. return fileDescriptor_api_5e82c9cace3801b5, []int{17}
  1290. }
  1291. func (m *RoomExtendUpdateReq) XXX_Unmarshal(b []byte) error {
  1292. return m.Unmarshal(b)
  1293. }
  1294. func (m *RoomExtendUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1295. if deterministic {
  1296. return xxx_messageInfo_RoomExtendUpdateReq.Marshal(b, m, deterministic)
  1297. } else {
  1298. b = b[:cap(b)]
  1299. n, err := m.MarshalTo(b)
  1300. if err != nil {
  1301. return nil, err
  1302. }
  1303. return b[:n], nil
  1304. }
  1305. }
  1306. func (dst *RoomExtendUpdateReq) XXX_Merge(src proto.Message) {
  1307. xxx_messageInfo_RoomExtendUpdateReq.Merge(dst, src)
  1308. }
  1309. func (m *RoomExtendUpdateReq) XXX_Size() int {
  1310. return m.Size()
  1311. }
  1312. func (m *RoomExtendUpdateReq) XXX_DiscardUnknown() {
  1313. xxx_messageInfo_RoomExtendUpdateReq.DiscardUnknown(m)
  1314. }
  1315. var xxx_messageInfo_RoomExtendUpdateReq proto.InternalMessageInfo
  1316. func (m *RoomExtendUpdateReq) GetFields() []string {
  1317. if m != nil {
  1318. return m.Fields
  1319. }
  1320. return nil
  1321. }
  1322. func (m *RoomExtendUpdateReq) GetRoomId() int64 {
  1323. if m != nil {
  1324. return m.RoomId
  1325. }
  1326. return 0
  1327. }
  1328. func (m *RoomExtendUpdateReq) GetKeyFrame() string {
  1329. if m != nil {
  1330. return m.KeyFrame
  1331. }
  1332. return ""
  1333. }
  1334. func (m *RoomExtendUpdateReq) GetDanmuCount() int64 {
  1335. if m != nil {
  1336. return m.DanmuCount
  1337. }
  1338. return 0
  1339. }
  1340. func (m *RoomExtendUpdateReq) GetPopularityCount() int64 {
  1341. if m != nil {
  1342. return m.PopularityCount
  1343. }
  1344. return 0
  1345. }
  1346. func (m *RoomExtendUpdateReq) GetAudienceCount() int64 {
  1347. if m != nil {
  1348. return m.AudienceCount
  1349. }
  1350. return 0
  1351. }
  1352. func (m *RoomExtendUpdateReq) GetGiftCount() int64 {
  1353. if m != nil {
  1354. return m.GiftCount
  1355. }
  1356. return 0
  1357. }
  1358. func (m *RoomExtendUpdateReq) GetGiftGoldAmount() int64 {
  1359. if m != nil {
  1360. return m.GiftGoldAmount
  1361. }
  1362. return 0
  1363. }
  1364. func (m *RoomExtendUpdateReq) GetGiftGoldCount() int64 {
  1365. if m != nil {
  1366. return m.GiftGoldCount
  1367. }
  1368. return 0
  1369. }
  1370. type RoomExtendBatchUpdateReq struct {
  1371. Reqs []*RoomExtendUpdateReq `protobuf:"bytes,1,rep,name=reqs" json:"reqs,omitempty" validate:"required"`
  1372. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1373. XXX_unrecognized []byte `json:"-"`
  1374. XXX_sizecache int32 `json:"-"`
  1375. }
  1376. func (m *RoomExtendBatchUpdateReq) Reset() { *m = RoomExtendBatchUpdateReq{} }
  1377. func (m *RoomExtendBatchUpdateReq) String() string { return proto.CompactTextString(m) }
  1378. func (*RoomExtendBatchUpdateReq) ProtoMessage() {}
  1379. func (*RoomExtendBatchUpdateReq) Descriptor() ([]byte, []int) {
  1380. return fileDescriptor_api_5e82c9cace3801b5, []int{18}
  1381. }
  1382. func (m *RoomExtendBatchUpdateReq) XXX_Unmarshal(b []byte) error {
  1383. return m.Unmarshal(b)
  1384. }
  1385. func (m *RoomExtendBatchUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1386. if deterministic {
  1387. return xxx_messageInfo_RoomExtendBatchUpdateReq.Marshal(b, m, deterministic)
  1388. } else {
  1389. b = b[:cap(b)]
  1390. n, err := m.MarshalTo(b)
  1391. if err != nil {
  1392. return nil, err
  1393. }
  1394. return b[:n], nil
  1395. }
  1396. }
  1397. func (dst *RoomExtendBatchUpdateReq) XXX_Merge(src proto.Message) {
  1398. xxx_messageInfo_RoomExtendBatchUpdateReq.Merge(dst, src)
  1399. }
  1400. func (m *RoomExtendBatchUpdateReq) XXX_Size() int {
  1401. return m.Size()
  1402. }
  1403. func (m *RoomExtendBatchUpdateReq) XXX_DiscardUnknown() {
  1404. xxx_messageInfo_RoomExtendBatchUpdateReq.DiscardUnknown(m)
  1405. }
  1406. var xxx_messageInfo_RoomExtendBatchUpdateReq proto.InternalMessageInfo
  1407. func (m *RoomExtendBatchUpdateReq) GetReqs() []*RoomExtendUpdateReq {
  1408. if m != nil {
  1409. return m.Reqs
  1410. }
  1411. return nil
  1412. }
  1413. type RoomExtendIncreReq struct {
  1414. ReqId string `protobuf:"bytes,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty" validate:"required"`
  1415. Fields []string `protobuf:"bytes,2,rep,name=fields" json:"fields,omitempty" validate:"required"`
  1416. RoomId int64 `protobuf:"varint,3,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  1417. DanmuCount int64 `protobuf:"varint,4,opt,name=danmu_count,json=danmuCount,proto3" json:"danmu_count,omitempty"`
  1418. PopularityCount int64 `protobuf:"varint,5,opt,name=popularity_count,json=popularityCount,proto3" json:"popularity_count,omitempty"`
  1419. AudienceCount int64 `protobuf:"varint,6,opt,name=audience_count,json=audienceCount,proto3" json:"audience_count,omitempty"`
  1420. GiftCount int64 `protobuf:"varint,7,opt,name=gift_count,json=giftCount,proto3" json:"gift_count,omitempty"`
  1421. GiftGoldAmount int64 `protobuf:"varint,8,opt,name=gift_gold_amount,json=giftGoldAmount,proto3" json:"gift_gold_amount,omitempty"`
  1422. GiftGoldCount int64 `protobuf:"varint,9,opt,name=gift_gold_count,json=giftGoldCount,proto3" json:"gift_gold_count,omitempty"`
  1423. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1424. XXX_unrecognized []byte `json:"-"`
  1425. XXX_sizecache int32 `json:"-"`
  1426. }
  1427. func (m *RoomExtendIncreReq) Reset() { *m = RoomExtendIncreReq{} }
  1428. func (m *RoomExtendIncreReq) String() string { return proto.CompactTextString(m) }
  1429. func (*RoomExtendIncreReq) ProtoMessage() {}
  1430. func (*RoomExtendIncreReq) Descriptor() ([]byte, []int) {
  1431. return fileDescriptor_api_5e82c9cace3801b5, []int{19}
  1432. }
  1433. func (m *RoomExtendIncreReq) XXX_Unmarshal(b []byte) error {
  1434. return m.Unmarshal(b)
  1435. }
  1436. func (m *RoomExtendIncreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1437. if deterministic {
  1438. return xxx_messageInfo_RoomExtendIncreReq.Marshal(b, m, deterministic)
  1439. } else {
  1440. b = b[:cap(b)]
  1441. n, err := m.MarshalTo(b)
  1442. if err != nil {
  1443. return nil, err
  1444. }
  1445. return b[:n], nil
  1446. }
  1447. }
  1448. func (dst *RoomExtendIncreReq) XXX_Merge(src proto.Message) {
  1449. xxx_messageInfo_RoomExtendIncreReq.Merge(dst, src)
  1450. }
  1451. func (m *RoomExtendIncreReq) XXX_Size() int {
  1452. return m.Size()
  1453. }
  1454. func (m *RoomExtendIncreReq) XXX_DiscardUnknown() {
  1455. xxx_messageInfo_RoomExtendIncreReq.DiscardUnknown(m)
  1456. }
  1457. var xxx_messageInfo_RoomExtendIncreReq proto.InternalMessageInfo
  1458. func (m *RoomExtendIncreReq) GetReqId() string {
  1459. if m != nil {
  1460. return m.ReqId
  1461. }
  1462. return ""
  1463. }
  1464. func (m *RoomExtendIncreReq) GetFields() []string {
  1465. if m != nil {
  1466. return m.Fields
  1467. }
  1468. return nil
  1469. }
  1470. func (m *RoomExtendIncreReq) GetRoomId() int64 {
  1471. if m != nil {
  1472. return m.RoomId
  1473. }
  1474. return 0
  1475. }
  1476. func (m *RoomExtendIncreReq) GetDanmuCount() int64 {
  1477. if m != nil {
  1478. return m.DanmuCount
  1479. }
  1480. return 0
  1481. }
  1482. func (m *RoomExtendIncreReq) GetPopularityCount() int64 {
  1483. if m != nil {
  1484. return m.PopularityCount
  1485. }
  1486. return 0
  1487. }
  1488. func (m *RoomExtendIncreReq) GetAudienceCount() int64 {
  1489. if m != nil {
  1490. return m.AudienceCount
  1491. }
  1492. return 0
  1493. }
  1494. func (m *RoomExtendIncreReq) GetGiftCount() int64 {
  1495. if m != nil {
  1496. return m.GiftCount
  1497. }
  1498. return 0
  1499. }
  1500. func (m *RoomExtendIncreReq) GetGiftGoldAmount() int64 {
  1501. if m != nil {
  1502. return m.GiftGoldAmount
  1503. }
  1504. return 0
  1505. }
  1506. func (m *RoomExtendIncreReq) GetGiftGoldCount() int64 {
  1507. if m != nil {
  1508. return m.GiftGoldCount
  1509. }
  1510. return 0
  1511. }
  1512. type RoomExtendBatchIncreReq struct {
  1513. Reqs []*RoomExtendIncreReq `protobuf:"bytes,1,rep,name=reqs" json:"reqs,omitempty" validate:"required"`
  1514. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1515. XXX_unrecognized []byte `json:"-"`
  1516. XXX_sizecache int32 `json:"-"`
  1517. }
  1518. func (m *RoomExtendBatchIncreReq) Reset() { *m = RoomExtendBatchIncreReq{} }
  1519. func (m *RoomExtendBatchIncreReq) String() string { return proto.CompactTextString(m) }
  1520. func (*RoomExtendBatchIncreReq) ProtoMessage() {}
  1521. func (*RoomExtendBatchIncreReq) Descriptor() ([]byte, []int) {
  1522. return fileDescriptor_api_5e82c9cace3801b5, []int{20}
  1523. }
  1524. func (m *RoomExtendBatchIncreReq) XXX_Unmarshal(b []byte) error {
  1525. return m.Unmarshal(b)
  1526. }
  1527. func (m *RoomExtendBatchIncreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1528. if deterministic {
  1529. return xxx_messageInfo_RoomExtendBatchIncreReq.Marshal(b, m, deterministic)
  1530. } else {
  1531. b = b[:cap(b)]
  1532. n, err := m.MarshalTo(b)
  1533. if err != nil {
  1534. return nil, err
  1535. }
  1536. return b[:n], nil
  1537. }
  1538. }
  1539. func (dst *RoomExtendBatchIncreReq) XXX_Merge(src proto.Message) {
  1540. xxx_messageInfo_RoomExtendBatchIncreReq.Merge(dst, src)
  1541. }
  1542. func (m *RoomExtendBatchIncreReq) XXX_Size() int {
  1543. return m.Size()
  1544. }
  1545. func (m *RoomExtendBatchIncreReq) XXX_DiscardUnknown() {
  1546. xxx_messageInfo_RoomExtendBatchIncreReq.DiscardUnknown(m)
  1547. }
  1548. var xxx_messageInfo_RoomExtendBatchIncreReq proto.InternalMessageInfo
  1549. func (m *RoomExtendBatchIncreReq) GetReqs() []*RoomExtendIncreReq {
  1550. if m != nil {
  1551. return m.Reqs
  1552. }
  1553. return nil
  1554. }
  1555. type RoomTagSetReq struct {
  1556. Fields []string `protobuf:"bytes,1,rep,name=fields" json:"fields,omitempty" validate:"required"`
  1557. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" validate:"gt=0,required"`
  1558. TagType int64 `protobuf:"varint,3,opt,name=tag_type,json=tagType,proto3" json:"tag_type,omitempty" validate:"gt=0,required"`
  1559. TagValue int64 `protobuf:"varint,4,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"`
  1560. TagAttribute string `protobuf:"bytes,5,opt,name=tag_attribute,json=tagAttribute,proto3" json:"tag_attribute,omitempty"`
  1561. TagExpireAt int64 `protobuf:"varint,6,opt,name=tag_expire_at,json=tagExpireAt,proto3" json:"tag_expire_at,omitempty"`
  1562. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1563. XXX_unrecognized []byte `json:"-"`
  1564. XXX_sizecache int32 `json:"-"`
  1565. }
  1566. func (m *RoomTagSetReq) Reset() { *m = RoomTagSetReq{} }
  1567. func (m *RoomTagSetReq) String() string { return proto.CompactTextString(m) }
  1568. func (*RoomTagSetReq) ProtoMessage() {}
  1569. func (*RoomTagSetReq) Descriptor() ([]byte, []int) {
  1570. return fileDescriptor_api_5e82c9cace3801b5, []int{21}
  1571. }
  1572. func (m *RoomTagSetReq) XXX_Unmarshal(b []byte) error {
  1573. return m.Unmarshal(b)
  1574. }
  1575. func (m *RoomTagSetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1576. if deterministic {
  1577. return xxx_messageInfo_RoomTagSetReq.Marshal(b, m, deterministic)
  1578. } else {
  1579. b = b[:cap(b)]
  1580. n, err := m.MarshalTo(b)
  1581. if err != nil {
  1582. return nil, err
  1583. }
  1584. return b[:n], nil
  1585. }
  1586. }
  1587. func (dst *RoomTagSetReq) XXX_Merge(src proto.Message) {
  1588. xxx_messageInfo_RoomTagSetReq.Merge(dst, src)
  1589. }
  1590. func (m *RoomTagSetReq) XXX_Size() int {
  1591. return m.Size()
  1592. }
  1593. func (m *RoomTagSetReq) XXX_DiscardUnknown() {
  1594. xxx_messageInfo_RoomTagSetReq.DiscardUnknown(m)
  1595. }
  1596. var xxx_messageInfo_RoomTagSetReq proto.InternalMessageInfo
  1597. func (m *RoomTagSetReq) GetFields() []string {
  1598. if m != nil {
  1599. return m.Fields
  1600. }
  1601. return nil
  1602. }
  1603. func (m *RoomTagSetReq) GetRoomId() int64 {
  1604. if m != nil {
  1605. return m.RoomId
  1606. }
  1607. return 0
  1608. }
  1609. func (m *RoomTagSetReq) GetTagType() int64 {
  1610. if m != nil {
  1611. return m.TagType
  1612. }
  1613. return 0
  1614. }
  1615. func (m *RoomTagSetReq) GetTagValue() int64 {
  1616. if m != nil {
  1617. return m.TagValue
  1618. }
  1619. return 0
  1620. }
  1621. func (m *RoomTagSetReq) GetTagAttribute() string {
  1622. if m != nil {
  1623. return m.TagAttribute
  1624. }
  1625. return ""
  1626. }
  1627. func (m *RoomTagSetReq) GetTagExpireAt() int64 {
  1628. if m != nil {
  1629. return m.TagExpireAt
  1630. }
  1631. return 0
  1632. }
  1633. type AnchorTagSetReq struct {
  1634. Fields []string `protobuf:"bytes,1,rep,name=fields" json:"fields,omitempty" validate:"required"`
  1635. AnchorId int64 `protobuf:"varint,2,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id,omitempty" validate:"gt=0,required"`
  1636. TagType int64 `protobuf:"varint,3,opt,name=tag_type,json=tagType,proto3" json:"tag_type,omitempty" validate:"gt=0,required"`
  1637. TagValue int64 `protobuf:"varint,4,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"`
  1638. TagAttribute string `protobuf:"bytes,5,opt,name=tag_attribute,json=tagAttribute,proto3" json:"tag_attribute,omitempty"`
  1639. TagExpireAt int64 `protobuf:"varint,6,opt,name=tag_expire_at,json=tagExpireAt,proto3" json:"tag_expire_at,omitempty"`
  1640. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1641. XXX_unrecognized []byte `json:"-"`
  1642. XXX_sizecache int32 `json:"-"`
  1643. }
  1644. func (m *AnchorTagSetReq) Reset() { *m = AnchorTagSetReq{} }
  1645. func (m *AnchorTagSetReq) String() string { return proto.CompactTextString(m) }
  1646. func (*AnchorTagSetReq) ProtoMessage() {}
  1647. func (*AnchorTagSetReq) Descriptor() ([]byte, []int) {
  1648. return fileDescriptor_api_5e82c9cace3801b5, []int{22}
  1649. }
  1650. func (m *AnchorTagSetReq) XXX_Unmarshal(b []byte) error {
  1651. return m.Unmarshal(b)
  1652. }
  1653. func (m *AnchorTagSetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1654. if deterministic {
  1655. return xxx_messageInfo_AnchorTagSetReq.Marshal(b, m, deterministic)
  1656. } else {
  1657. b = b[:cap(b)]
  1658. n, err := m.MarshalTo(b)
  1659. if err != nil {
  1660. return nil, err
  1661. }
  1662. return b[:n], nil
  1663. }
  1664. }
  1665. func (dst *AnchorTagSetReq) XXX_Merge(src proto.Message) {
  1666. xxx_messageInfo_AnchorTagSetReq.Merge(dst, src)
  1667. }
  1668. func (m *AnchorTagSetReq) XXX_Size() int {
  1669. return m.Size()
  1670. }
  1671. func (m *AnchorTagSetReq) XXX_DiscardUnknown() {
  1672. xxx_messageInfo_AnchorTagSetReq.DiscardUnknown(m)
  1673. }
  1674. var xxx_messageInfo_AnchorTagSetReq proto.InternalMessageInfo
  1675. func (m *AnchorTagSetReq) GetFields() []string {
  1676. if m != nil {
  1677. return m.Fields
  1678. }
  1679. return nil
  1680. }
  1681. func (m *AnchorTagSetReq) GetAnchorId() int64 {
  1682. if m != nil {
  1683. return m.AnchorId
  1684. }
  1685. return 0
  1686. }
  1687. func (m *AnchorTagSetReq) GetTagType() int64 {
  1688. if m != nil {
  1689. return m.TagType
  1690. }
  1691. return 0
  1692. }
  1693. func (m *AnchorTagSetReq) GetTagValue() int64 {
  1694. if m != nil {
  1695. return m.TagValue
  1696. }
  1697. return 0
  1698. }
  1699. func (m *AnchorTagSetReq) GetTagAttribute() string {
  1700. if m != nil {
  1701. return m.TagAttribute
  1702. }
  1703. return ""
  1704. }
  1705. func (m *AnchorTagSetReq) GetTagExpireAt() int64 {
  1706. if m != nil {
  1707. return m.TagExpireAt
  1708. }
  1709. return 0
  1710. }
  1711. func init() {
  1712. proto.RegisterType((*ExpData)(nil), "live.xanchor.v1.ExpData")
  1713. proto.RegisterType((*TagData)(nil), "live.xanchor.v1.TagData")
  1714. proto.RegisterType((*RoomData)(nil), "live.xanchor.v1.RoomData")
  1715. proto.RegisterType((*RoomByIDsReq)(nil), "live.xanchor.v1.RoomByIDsReq")
  1716. proto.RegisterType((*RoomByIDsResp)(nil), "live.xanchor.v1.RoomByIDsResp")
  1717. proto.RegisterMapType((map[int64]*RoomData)(nil), "live.xanchor.v1.RoomByIDsResp.RoomDataSetEntry")
  1718. proto.RegisterType((*RoomOnlineListReq)(nil), "live.xanchor.v1.RoomOnlineListReq")
  1719. proto.RegisterType((*RoomOnlineListResp)(nil), "live.xanchor.v1.RoomOnlineListResp")
  1720. proto.RegisterMapType((map[int64]*RoomData)(nil), "live.xanchor.v1.RoomOnlineListResp.RoomDataListEntry")
  1721. proto.RegisterType((*RoomCreateReq)(nil), "live.xanchor.v1.RoomCreateReq")
  1722. proto.RegisterType((*RoomCreateResp)(nil), "live.xanchor.v1.RoomCreateResp")
  1723. proto.RegisterType((*UpdateResp)(nil), "live.xanchor.v1.UpdateResp")
  1724. proto.RegisterType((*RoomUpdateReq)(nil), "live.xanchor.v1.RoomUpdateReq")
  1725. proto.RegisterType((*RoomBatchUpdateReq)(nil), "live.xanchor.v1.RoomBatchUpdateReq")
  1726. proto.RegisterType((*AnchorData)(nil), "live.xanchor.v1.AnchorData")
  1727. proto.RegisterType((*AnchorUpdateReq)(nil), "live.xanchor.v1.AnchorUpdateReq")
  1728. proto.RegisterType((*AnchorBatchUpdateReq)(nil), "live.xanchor.v1.AnchorBatchUpdateReq")
  1729. proto.RegisterType((*AnchorIncreReq)(nil), "live.xanchor.v1.AnchorIncreReq")
  1730. proto.RegisterType((*AnchorBatchIncreReq)(nil), "live.xanchor.v1.AnchorBatchIncreReq")
  1731. proto.RegisterType((*RoomExtendUpdateReq)(nil), "live.xanchor.v1.RoomExtendUpdateReq")
  1732. proto.RegisterType((*RoomExtendBatchUpdateReq)(nil), "live.xanchor.v1.RoomExtendBatchUpdateReq")
  1733. proto.RegisterType((*RoomExtendIncreReq)(nil), "live.xanchor.v1.RoomExtendIncreReq")
  1734. proto.RegisterType((*RoomExtendBatchIncreReq)(nil), "live.xanchor.v1.RoomExtendBatchIncreReq")
  1735. proto.RegisterType((*RoomTagSetReq)(nil), "live.xanchor.v1.RoomTagSetReq")
  1736. proto.RegisterType((*AnchorTagSetReq)(nil), "live.xanchor.v1.AnchorTagSetReq")
  1737. }
  1738. // Reference imports to suppress errors if they are not otherwise used.
  1739. var _ context.Context
  1740. var _ grpc.ClientConn
  1741. // This is a compile-time assertion to ensure that this generated file
  1742. // is compatible with the grpc package it is being compiled against.
  1743. const _ = grpc.SupportPackageIsVersion4
  1744. // XAnchorClient is the client API for XAnchor service.
  1745. //
  1746. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1747. type XAnchorClient interface {
  1748. // FetchRoomByIDs 查询房间信息
  1749. FetchRoomByIDs(ctx context.Context, in *RoomByIDsReq, opts ...grpc.CallOption) (*RoomByIDsResp, error)
  1750. // RoomOnlineList 在线房间列表
  1751. RoomOnlineList(ctx context.Context, in *RoomOnlineListReq, opts ...grpc.CallOption) (*RoomOnlineListResp, error)
  1752. // RoomCreate 房间创建
  1753. RoomCreate(ctx context.Context, in *RoomCreateReq, opts ...grpc.CallOption) (*RoomCreateResp, error)
  1754. // RoomUpdate 房间信息更新
  1755. RoomUpdate(ctx context.Context, in *RoomUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1756. // RoomBatchUpdate 房间信息批量更新
  1757. RoomBatchUpdate(ctx context.Context, in *RoomBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1758. // RoomExtendUpdate 房间扩展信息更新
  1759. RoomExtendUpdate(ctx context.Context, in *RoomExtendUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1760. // RoomExtendBatchUpdate 房间扩展信息批量更新
  1761. RoomExtendBatchUpdate(ctx context.Context, in *RoomExtendBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1762. // RoomExtendIncre 房间信息增量更新
  1763. RoomExtendIncre(ctx context.Context, in *RoomExtendIncreReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1764. // RoomExtendBatchIncre 房间信息批量增量更新
  1765. RoomExtendBatchIncre(ctx context.Context, in *RoomExtendBatchIncreReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1766. // RoomTagSet 房间Tag更新
  1767. RoomTagSet(ctx context.Context, in *RoomTagSetReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1768. // AnchorUpdate 主播信息更新
  1769. AnchorUpdate(ctx context.Context, in *AnchorUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1770. // AnchorBatchUpdate 主播信息批量更新
  1771. AnchorBatchUpdate(ctx context.Context, in *AnchorBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1772. // AnchorIncre 主播信息增量更新
  1773. AnchorIncre(ctx context.Context, in *AnchorIncreReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1774. // AnchorBatchIncre 主播信息批量增量更新
  1775. AnchorBatchIncre(ctx context.Context, in *AnchorBatchIncreReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1776. // AnchorTagSet 主播Tag更新
  1777. AnchorTagSet(ctx context.Context, in *AnchorTagSetReq, opts ...grpc.CallOption) (*UpdateResp, error)
  1778. }
  1779. type xAnchorClient struct {
  1780. cc *grpc.ClientConn
  1781. }
  1782. func NewXAnchorClient(cc *grpc.ClientConn) XAnchorClient {
  1783. return &xAnchorClient{cc}
  1784. }
  1785. func (c *xAnchorClient) FetchRoomByIDs(ctx context.Context, in *RoomByIDsReq, opts ...grpc.CallOption) (*RoomByIDsResp, error) {
  1786. out := new(RoomByIDsResp)
  1787. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/FetchRoomByIDs", in, out, opts...)
  1788. if err != nil {
  1789. return nil, err
  1790. }
  1791. return out, nil
  1792. }
  1793. func (c *xAnchorClient) RoomOnlineList(ctx context.Context, in *RoomOnlineListReq, opts ...grpc.CallOption) (*RoomOnlineListResp, error) {
  1794. out := new(RoomOnlineListResp)
  1795. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/RoomOnlineList", in, out, opts...)
  1796. if err != nil {
  1797. return nil, err
  1798. }
  1799. return out, nil
  1800. }
  1801. func (c *xAnchorClient) RoomCreate(ctx context.Context, in *RoomCreateReq, opts ...grpc.CallOption) (*RoomCreateResp, error) {
  1802. out := new(RoomCreateResp)
  1803. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/RoomCreate", in, out, opts...)
  1804. if err != nil {
  1805. return nil, err
  1806. }
  1807. return out, nil
  1808. }
  1809. func (c *xAnchorClient) RoomUpdate(ctx context.Context, in *RoomUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1810. out := new(UpdateResp)
  1811. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/RoomUpdate", in, out, opts...)
  1812. if err != nil {
  1813. return nil, err
  1814. }
  1815. return out, nil
  1816. }
  1817. func (c *xAnchorClient) RoomBatchUpdate(ctx context.Context, in *RoomBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1818. out := new(UpdateResp)
  1819. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/RoomBatchUpdate", in, out, opts...)
  1820. if err != nil {
  1821. return nil, err
  1822. }
  1823. return out, nil
  1824. }
  1825. func (c *xAnchorClient) RoomExtendUpdate(ctx context.Context, in *RoomExtendUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1826. out := new(UpdateResp)
  1827. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/RoomExtendUpdate", in, out, opts...)
  1828. if err != nil {
  1829. return nil, err
  1830. }
  1831. return out, nil
  1832. }
  1833. func (c *xAnchorClient) RoomExtendBatchUpdate(ctx context.Context, in *RoomExtendBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1834. out := new(UpdateResp)
  1835. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/RoomExtendBatchUpdate", in, out, opts...)
  1836. if err != nil {
  1837. return nil, err
  1838. }
  1839. return out, nil
  1840. }
  1841. func (c *xAnchorClient) RoomExtendIncre(ctx context.Context, in *RoomExtendIncreReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1842. out := new(UpdateResp)
  1843. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/RoomExtendIncre", in, out, opts...)
  1844. if err != nil {
  1845. return nil, err
  1846. }
  1847. return out, nil
  1848. }
  1849. func (c *xAnchorClient) RoomExtendBatchIncre(ctx context.Context, in *RoomExtendBatchIncreReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1850. out := new(UpdateResp)
  1851. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/RoomExtendBatchIncre", in, out, opts...)
  1852. if err != nil {
  1853. return nil, err
  1854. }
  1855. return out, nil
  1856. }
  1857. func (c *xAnchorClient) RoomTagSet(ctx context.Context, in *RoomTagSetReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1858. out := new(UpdateResp)
  1859. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/RoomTagSet", in, out, opts...)
  1860. if err != nil {
  1861. return nil, err
  1862. }
  1863. return out, nil
  1864. }
  1865. func (c *xAnchorClient) AnchorUpdate(ctx context.Context, in *AnchorUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1866. out := new(UpdateResp)
  1867. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/AnchorUpdate", in, out, opts...)
  1868. if err != nil {
  1869. return nil, err
  1870. }
  1871. return out, nil
  1872. }
  1873. func (c *xAnchorClient) AnchorBatchUpdate(ctx context.Context, in *AnchorBatchUpdateReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1874. out := new(UpdateResp)
  1875. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/AnchorBatchUpdate", in, out, opts...)
  1876. if err != nil {
  1877. return nil, err
  1878. }
  1879. return out, nil
  1880. }
  1881. func (c *xAnchorClient) AnchorIncre(ctx context.Context, in *AnchorIncreReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1882. out := new(UpdateResp)
  1883. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/AnchorIncre", in, out, opts...)
  1884. if err != nil {
  1885. return nil, err
  1886. }
  1887. return out, nil
  1888. }
  1889. func (c *xAnchorClient) AnchorBatchIncre(ctx context.Context, in *AnchorBatchIncreReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1890. out := new(UpdateResp)
  1891. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/AnchorBatchIncre", in, out, opts...)
  1892. if err != nil {
  1893. return nil, err
  1894. }
  1895. return out, nil
  1896. }
  1897. func (c *xAnchorClient) AnchorTagSet(ctx context.Context, in *AnchorTagSetReq, opts ...grpc.CallOption) (*UpdateResp, error) {
  1898. out := new(UpdateResp)
  1899. err := c.cc.Invoke(ctx, "/live.xanchor.v1.XAnchor/AnchorTagSet", in, out, opts...)
  1900. if err != nil {
  1901. return nil, err
  1902. }
  1903. return out, nil
  1904. }
  1905. // XAnchorServer is the server API for XAnchor service.
  1906. type XAnchorServer interface {
  1907. // FetchRoomByIDs 查询房间信息
  1908. FetchRoomByIDs(context.Context, *RoomByIDsReq) (*RoomByIDsResp, error)
  1909. // RoomOnlineList 在线房间列表
  1910. RoomOnlineList(context.Context, *RoomOnlineListReq) (*RoomOnlineListResp, error)
  1911. // RoomCreate 房间创建
  1912. RoomCreate(context.Context, *RoomCreateReq) (*RoomCreateResp, error)
  1913. // RoomUpdate 房间信息更新
  1914. RoomUpdate(context.Context, *RoomUpdateReq) (*UpdateResp, error)
  1915. // RoomBatchUpdate 房间信息批量更新
  1916. RoomBatchUpdate(context.Context, *RoomBatchUpdateReq) (*UpdateResp, error)
  1917. // RoomExtendUpdate 房间扩展信息更新
  1918. RoomExtendUpdate(context.Context, *RoomExtendUpdateReq) (*UpdateResp, error)
  1919. // RoomExtendBatchUpdate 房间扩展信息批量更新
  1920. RoomExtendBatchUpdate(context.Context, *RoomExtendBatchUpdateReq) (*UpdateResp, error)
  1921. // RoomExtendIncre 房间信息增量更新
  1922. RoomExtendIncre(context.Context, *RoomExtendIncreReq) (*UpdateResp, error)
  1923. // RoomExtendBatchIncre 房间信息批量增量更新
  1924. RoomExtendBatchIncre(context.Context, *RoomExtendBatchIncreReq) (*UpdateResp, error)
  1925. // RoomTagSet 房间Tag更新
  1926. RoomTagSet(context.Context, *RoomTagSetReq) (*UpdateResp, error)
  1927. // AnchorUpdate 主播信息更新
  1928. AnchorUpdate(context.Context, *AnchorUpdateReq) (*UpdateResp, error)
  1929. // AnchorBatchUpdate 主播信息批量更新
  1930. AnchorBatchUpdate(context.Context, *AnchorBatchUpdateReq) (*UpdateResp, error)
  1931. // AnchorIncre 主播信息增量更新
  1932. AnchorIncre(context.Context, *AnchorIncreReq) (*UpdateResp, error)
  1933. // AnchorBatchIncre 主播信息批量增量更新
  1934. AnchorBatchIncre(context.Context, *AnchorBatchIncreReq) (*UpdateResp, error)
  1935. // AnchorTagSet 主播Tag更新
  1936. AnchorTagSet(context.Context, *AnchorTagSetReq) (*UpdateResp, error)
  1937. }
  1938. func RegisterXAnchorServer(s *grpc.Server, srv XAnchorServer) {
  1939. s.RegisterService(&_XAnchor_serviceDesc, srv)
  1940. }
  1941. func _XAnchor_FetchRoomByIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1942. in := new(RoomByIDsReq)
  1943. if err := dec(in); err != nil {
  1944. return nil, err
  1945. }
  1946. if interceptor == nil {
  1947. return srv.(XAnchorServer).FetchRoomByIDs(ctx, in)
  1948. }
  1949. info := &grpc.UnaryServerInfo{
  1950. Server: srv,
  1951. FullMethod: "/live.xanchor.v1.XAnchor/FetchRoomByIDs",
  1952. }
  1953. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1954. return srv.(XAnchorServer).FetchRoomByIDs(ctx, req.(*RoomByIDsReq))
  1955. }
  1956. return interceptor(ctx, in, info, handler)
  1957. }
  1958. func _XAnchor_RoomOnlineList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1959. in := new(RoomOnlineListReq)
  1960. if err := dec(in); err != nil {
  1961. return nil, err
  1962. }
  1963. if interceptor == nil {
  1964. return srv.(XAnchorServer).RoomOnlineList(ctx, in)
  1965. }
  1966. info := &grpc.UnaryServerInfo{
  1967. Server: srv,
  1968. FullMethod: "/live.xanchor.v1.XAnchor/RoomOnlineList",
  1969. }
  1970. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1971. return srv.(XAnchorServer).RoomOnlineList(ctx, req.(*RoomOnlineListReq))
  1972. }
  1973. return interceptor(ctx, in, info, handler)
  1974. }
  1975. func _XAnchor_RoomCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1976. in := new(RoomCreateReq)
  1977. if err := dec(in); err != nil {
  1978. return nil, err
  1979. }
  1980. if interceptor == nil {
  1981. return srv.(XAnchorServer).RoomCreate(ctx, in)
  1982. }
  1983. info := &grpc.UnaryServerInfo{
  1984. Server: srv,
  1985. FullMethod: "/live.xanchor.v1.XAnchor/RoomCreate",
  1986. }
  1987. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1988. return srv.(XAnchorServer).RoomCreate(ctx, req.(*RoomCreateReq))
  1989. }
  1990. return interceptor(ctx, in, info, handler)
  1991. }
  1992. func _XAnchor_RoomUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1993. in := new(RoomUpdateReq)
  1994. if err := dec(in); err != nil {
  1995. return nil, err
  1996. }
  1997. if interceptor == nil {
  1998. return srv.(XAnchorServer).RoomUpdate(ctx, in)
  1999. }
  2000. info := &grpc.UnaryServerInfo{
  2001. Server: srv,
  2002. FullMethod: "/live.xanchor.v1.XAnchor/RoomUpdate",
  2003. }
  2004. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2005. return srv.(XAnchorServer).RoomUpdate(ctx, req.(*RoomUpdateReq))
  2006. }
  2007. return interceptor(ctx, in, info, handler)
  2008. }
  2009. func _XAnchor_RoomBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2010. in := new(RoomBatchUpdateReq)
  2011. if err := dec(in); err != nil {
  2012. return nil, err
  2013. }
  2014. if interceptor == nil {
  2015. return srv.(XAnchorServer).RoomBatchUpdate(ctx, in)
  2016. }
  2017. info := &grpc.UnaryServerInfo{
  2018. Server: srv,
  2019. FullMethod: "/live.xanchor.v1.XAnchor/RoomBatchUpdate",
  2020. }
  2021. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2022. return srv.(XAnchorServer).RoomBatchUpdate(ctx, req.(*RoomBatchUpdateReq))
  2023. }
  2024. return interceptor(ctx, in, info, handler)
  2025. }
  2026. func _XAnchor_RoomExtendUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2027. in := new(RoomExtendUpdateReq)
  2028. if err := dec(in); err != nil {
  2029. return nil, err
  2030. }
  2031. if interceptor == nil {
  2032. return srv.(XAnchorServer).RoomExtendUpdate(ctx, in)
  2033. }
  2034. info := &grpc.UnaryServerInfo{
  2035. Server: srv,
  2036. FullMethod: "/live.xanchor.v1.XAnchor/RoomExtendUpdate",
  2037. }
  2038. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2039. return srv.(XAnchorServer).RoomExtendUpdate(ctx, req.(*RoomExtendUpdateReq))
  2040. }
  2041. return interceptor(ctx, in, info, handler)
  2042. }
  2043. func _XAnchor_RoomExtendBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2044. in := new(RoomExtendBatchUpdateReq)
  2045. if err := dec(in); err != nil {
  2046. return nil, err
  2047. }
  2048. if interceptor == nil {
  2049. return srv.(XAnchorServer).RoomExtendBatchUpdate(ctx, in)
  2050. }
  2051. info := &grpc.UnaryServerInfo{
  2052. Server: srv,
  2053. FullMethod: "/live.xanchor.v1.XAnchor/RoomExtendBatchUpdate",
  2054. }
  2055. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2056. return srv.(XAnchorServer).RoomExtendBatchUpdate(ctx, req.(*RoomExtendBatchUpdateReq))
  2057. }
  2058. return interceptor(ctx, in, info, handler)
  2059. }
  2060. func _XAnchor_RoomExtendIncre_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2061. in := new(RoomExtendIncreReq)
  2062. if err := dec(in); err != nil {
  2063. return nil, err
  2064. }
  2065. if interceptor == nil {
  2066. return srv.(XAnchorServer).RoomExtendIncre(ctx, in)
  2067. }
  2068. info := &grpc.UnaryServerInfo{
  2069. Server: srv,
  2070. FullMethod: "/live.xanchor.v1.XAnchor/RoomExtendIncre",
  2071. }
  2072. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2073. return srv.(XAnchorServer).RoomExtendIncre(ctx, req.(*RoomExtendIncreReq))
  2074. }
  2075. return interceptor(ctx, in, info, handler)
  2076. }
  2077. func _XAnchor_RoomExtendBatchIncre_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2078. in := new(RoomExtendBatchIncreReq)
  2079. if err := dec(in); err != nil {
  2080. return nil, err
  2081. }
  2082. if interceptor == nil {
  2083. return srv.(XAnchorServer).RoomExtendBatchIncre(ctx, in)
  2084. }
  2085. info := &grpc.UnaryServerInfo{
  2086. Server: srv,
  2087. FullMethod: "/live.xanchor.v1.XAnchor/RoomExtendBatchIncre",
  2088. }
  2089. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2090. return srv.(XAnchorServer).RoomExtendBatchIncre(ctx, req.(*RoomExtendBatchIncreReq))
  2091. }
  2092. return interceptor(ctx, in, info, handler)
  2093. }
  2094. func _XAnchor_RoomTagSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2095. in := new(RoomTagSetReq)
  2096. if err := dec(in); err != nil {
  2097. return nil, err
  2098. }
  2099. if interceptor == nil {
  2100. return srv.(XAnchorServer).RoomTagSet(ctx, in)
  2101. }
  2102. info := &grpc.UnaryServerInfo{
  2103. Server: srv,
  2104. FullMethod: "/live.xanchor.v1.XAnchor/RoomTagSet",
  2105. }
  2106. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2107. return srv.(XAnchorServer).RoomTagSet(ctx, req.(*RoomTagSetReq))
  2108. }
  2109. return interceptor(ctx, in, info, handler)
  2110. }
  2111. func _XAnchor_AnchorUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2112. in := new(AnchorUpdateReq)
  2113. if err := dec(in); err != nil {
  2114. return nil, err
  2115. }
  2116. if interceptor == nil {
  2117. return srv.(XAnchorServer).AnchorUpdate(ctx, in)
  2118. }
  2119. info := &grpc.UnaryServerInfo{
  2120. Server: srv,
  2121. FullMethod: "/live.xanchor.v1.XAnchor/AnchorUpdate",
  2122. }
  2123. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2124. return srv.(XAnchorServer).AnchorUpdate(ctx, req.(*AnchorUpdateReq))
  2125. }
  2126. return interceptor(ctx, in, info, handler)
  2127. }
  2128. func _XAnchor_AnchorBatchUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2129. in := new(AnchorBatchUpdateReq)
  2130. if err := dec(in); err != nil {
  2131. return nil, err
  2132. }
  2133. if interceptor == nil {
  2134. return srv.(XAnchorServer).AnchorBatchUpdate(ctx, in)
  2135. }
  2136. info := &grpc.UnaryServerInfo{
  2137. Server: srv,
  2138. FullMethod: "/live.xanchor.v1.XAnchor/AnchorBatchUpdate",
  2139. }
  2140. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2141. return srv.(XAnchorServer).AnchorBatchUpdate(ctx, req.(*AnchorBatchUpdateReq))
  2142. }
  2143. return interceptor(ctx, in, info, handler)
  2144. }
  2145. func _XAnchor_AnchorIncre_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2146. in := new(AnchorIncreReq)
  2147. if err := dec(in); err != nil {
  2148. return nil, err
  2149. }
  2150. if interceptor == nil {
  2151. return srv.(XAnchorServer).AnchorIncre(ctx, in)
  2152. }
  2153. info := &grpc.UnaryServerInfo{
  2154. Server: srv,
  2155. FullMethod: "/live.xanchor.v1.XAnchor/AnchorIncre",
  2156. }
  2157. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2158. return srv.(XAnchorServer).AnchorIncre(ctx, req.(*AnchorIncreReq))
  2159. }
  2160. return interceptor(ctx, in, info, handler)
  2161. }
  2162. func _XAnchor_AnchorBatchIncre_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2163. in := new(AnchorBatchIncreReq)
  2164. if err := dec(in); err != nil {
  2165. return nil, err
  2166. }
  2167. if interceptor == nil {
  2168. return srv.(XAnchorServer).AnchorBatchIncre(ctx, in)
  2169. }
  2170. info := &grpc.UnaryServerInfo{
  2171. Server: srv,
  2172. FullMethod: "/live.xanchor.v1.XAnchor/AnchorBatchIncre",
  2173. }
  2174. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2175. return srv.(XAnchorServer).AnchorBatchIncre(ctx, req.(*AnchorBatchIncreReq))
  2176. }
  2177. return interceptor(ctx, in, info, handler)
  2178. }
  2179. func _XAnchor_AnchorTagSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2180. in := new(AnchorTagSetReq)
  2181. if err := dec(in); err != nil {
  2182. return nil, err
  2183. }
  2184. if interceptor == nil {
  2185. return srv.(XAnchorServer).AnchorTagSet(ctx, in)
  2186. }
  2187. info := &grpc.UnaryServerInfo{
  2188. Server: srv,
  2189. FullMethod: "/live.xanchor.v1.XAnchor/AnchorTagSet",
  2190. }
  2191. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2192. return srv.(XAnchorServer).AnchorTagSet(ctx, req.(*AnchorTagSetReq))
  2193. }
  2194. return interceptor(ctx, in, info, handler)
  2195. }
  2196. var _XAnchor_serviceDesc = grpc.ServiceDesc{
  2197. ServiceName: "live.xanchor.v1.XAnchor",
  2198. HandlerType: (*XAnchorServer)(nil),
  2199. Methods: []grpc.MethodDesc{
  2200. {
  2201. MethodName: "FetchRoomByIDs",
  2202. Handler: _XAnchor_FetchRoomByIDs_Handler,
  2203. },
  2204. {
  2205. MethodName: "RoomOnlineList",
  2206. Handler: _XAnchor_RoomOnlineList_Handler,
  2207. },
  2208. {
  2209. MethodName: "RoomCreate",
  2210. Handler: _XAnchor_RoomCreate_Handler,
  2211. },
  2212. {
  2213. MethodName: "RoomUpdate",
  2214. Handler: _XAnchor_RoomUpdate_Handler,
  2215. },
  2216. {
  2217. MethodName: "RoomBatchUpdate",
  2218. Handler: _XAnchor_RoomBatchUpdate_Handler,
  2219. },
  2220. {
  2221. MethodName: "RoomExtendUpdate",
  2222. Handler: _XAnchor_RoomExtendUpdate_Handler,
  2223. },
  2224. {
  2225. MethodName: "RoomExtendBatchUpdate",
  2226. Handler: _XAnchor_RoomExtendBatchUpdate_Handler,
  2227. },
  2228. {
  2229. MethodName: "RoomExtendIncre",
  2230. Handler: _XAnchor_RoomExtendIncre_Handler,
  2231. },
  2232. {
  2233. MethodName: "RoomExtendBatchIncre",
  2234. Handler: _XAnchor_RoomExtendBatchIncre_Handler,
  2235. },
  2236. {
  2237. MethodName: "RoomTagSet",
  2238. Handler: _XAnchor_RoomTagSet_Handler,
  2239. },
  2240. {
  2241. MethodName: "AnchorUpdate",
  2242. Handler: _XAnchor_AnchorUpdate_Handler,
  2243. },
  2244. {
  2245. MethodName: "AnchorBatchUpdate",
  2246. Handler: _XAnchor_AnchorBatchUpdate_Handler,
  2247. },
  2248. {
  2249. MethodName: "AnchorIncre",
  2250. Handler: _XAnchor_AnchorIncre_Handler,
  2251. },
  2252. {
  2253. MethodName: "AnchorBatchIncre",
  2254. Handler: _XAnchor_AnchorBatchIncre_Handler,
  2255. },
  2256. {
  2257. MethodName: "AnchorTagSet",
  2258. Handler: _XAnchor_AnchorTagSet_Handler,
  2259. },
  2260. },
  2261. Streams: []grpc.StreamDesc{},
  2262. Metadata: "app/service/live/xanchor/api/grpc/v1/api.proto",
  2263. }
  2264. func (m *ExpData) Marshal() (dAtA []byte, err error) {
  2265. size := m.Size()
  2266. dAtA = make([]byte, size)
  2267. n, err := m.MarshalTo(dAtA)
  2268. if err != nil {
  2269. return nil, err
  2270. }
  2271. return dAtA[:n], nil
  2272. }
  2273. func (m *ExpData) MarshalTo(dAtA []byte) (int, error) {
  2274. var i int
  2275. _ = i
  2276. var l int
  2277. _ = l
  2278. if m.Level != 0 {
  2279. dAtA[i] = 0x8
  2280. i++
  2281. i = encodeVarintApi(dAtA, i, uint64(m.Level))
  2282. }
  2283. if m.NextLevel != 0 {
  2284. dAtA[i] = 0x10
  2285. i++
  2286. i = encodeVarintApi(dAtA, i, uint64(m.NextLevel))
  2287. }
  2288. if m.LevelColor != 0 {
  2289. dAtA[i] = 0x18
  2290. i++
  2291. i = encodeVarintApi(dAtA, i, uint64(m.LevelColor))
  2292. }
  2293. if m.Exp != 0 {
  2294. dAtA[i] = 0x20
  2295. i++
  2296. i = encodeVarintApi(dAtA, i, uint64(m.Exp))
  2297. }
  2298. if m.CurrentLevelExp != 0 {
  2299. dAtA[i] = 0x28
  2300. i++
  2301. i = encodeVarintApi(dAtA, i, uint64(m.CurrentLevelExp))
  2302. }
  2303. if m.NextLevelExp != 0 {
  2304. dAtA[i] = 0x30
  2305. i++
  2306. i = encodeVarintApi(dAtA, i, uint64(m.NextLevelExp))
  2307. }
  2308. if m.XXX_unrecognized != nil {
  2309. i += copy(dAtA[i:], m.XXX_unrecognized)
  2310. }
  2311. return i, nil
  2312. }
  2313. func (m *TagData) Marshal() (dAtA []byte, err error) {
  2314. size := m.Size()
  2315. dAtA = make([]byte, size)
  2316. n, err := m.MarshalTo(dAtA)
  2317. if err != nil {
  2318. return nil, err
  2319. }
  2320. return dAtA[:n], nil
  2321. }
  2322. func (m *TagData) MarshalTo(dAtA []byte) (int, error) {
  2323. var i int
  2324. _ = i
  2325. var l int
  2326. _ = l
  2327. if m.TagId != 0 {
  2328. dAtA[i] = 0x8
  2329. i++
  2330. i = encodeVarintApi(dAtA, i, uint64(m.TagId))
  2331. }
  2332. if m.TagType != 0 {
  2333. dAtA[i] = 0x10
  2334. i++
  2335. i = encodeVarintApi(dAtA, i, uint64(m.TagType))
  2336. }
  2337. if m.TagValue != 0 {
  2338. dAtA[i] = 0x18
  2339. i++
  2340. i = encodeVarintApi(dAtA, i, uint64(m.TagValue))
  2341. }
  2342. if len(m.TagAttribute) > 0 {
  2343. dAtA[i] = 0x22
  2344. i++
  2345. i = encodeVarintApi(dAtA, i, uint64(len(m.TagAttribute)))
  2346. i += copy(dAtA[i:], m.TagAttribute)
  2347. }
  2348. if m.XXX_unrecognized != nil {
  2349. i += copy(dAtA[i:], m.XXX_unrecognized)
  2350. }
  2351. return i, nil
  2352. }
  2353. func (m *RoomData) Marshal() (dAtA []byte, err error) {
  2354. size := m.Size()
  2355. dAtA = make([]byte, size)
  2356. n, err := m.MarshalTo(dAtA)
  2357. if err != nil {
  2358. return nil, err
  2359. }
  2360. return dAtA[:n], nil
  2361. }
  2362. func (m *RoomData) MarshalTo(dAtA []byte) (int, error) {
  2363. var i int
  2364. _ = i
  2365. var l int
  2366. _ = l
  2367. if m.Uid != 0 {
  2368. dAtA[i] = 0x8
  2369. i++
  2370. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  2371. }
  2372. if m.RoomId != 0 {
  2373. dAtA[i] = 0x10
  2374. i++
  2375. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  2376. }
  2377. if m.ShortId != 0 {
  2378. dAtA[i] = 0x18
  2379. i++
  2380. i = encodeVarintApi(dAtA, i, uint64(m.ShortId))
  2381. }
  2382. if len(m.Title) > 0 {
  2383. dAtA[i] = 0x22
  2384. i++
  2385. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  2386. i += copy(dAtA[i:], m.Title)
  2387. }
  2388. if len(m.Cover) > 0 {
  2389. dAtA[i] = 0x2a
  2390. i++
  2391. i = encodeVarintApi(dAtA, i, uint64(len(m.Cover)))
  2392. i += copy(dAtA[i:], m.Cover)
  2393. }
  2394. if len(m.Tags) > 0 {
  2395. dAtA[i] = 0x32
  2396. i++
  2397. i = encodeVarintApi(dAtA, i, uint64(len(m.Tags)))
  2398. i += copy(dAtA[i:], m.Tags)
  2399. }
  2400. if len(m.Background) > 0 {
  2401. dAtA[i] = 0x3a
  2402. i++
  2403. i = encodeVarintApi(dAtA, i, uint64(len(m.Background)))
  2404. i += copy(dAtA[i:], m.Background)
  2405. }
  2406. if len(m.Description) > 0 {
  2407. dAtA[i] = 0x42
  2408. i++
  2409. i = encodeVarintApi(dAtA, i, uint64(len(m.Description)))
  2410. i += copy(dAtA[i:], m.Description)
  2411. }
  2412. if m.LiveStatus != 0 {
  2413. dAtA[i] = 0x48
  2414. i++
  2415. i = encodeVarintApi(dAtA, i, uint64(m.LiveStatus))
  2416. }
  2417. if m.LiveStartTime != 0 {
  2418. dAtA[i] = 0x50
  2419. i++
  2420. i = encodeVarintApi(dAtA, i, uint64(m.LiveStartTime))
  2421. }
  2422. if m.LiveScreenType != 0 {
  2423. dAtA[i] = 0x58
  2424. i++
  2425. i = encodeVarintApi(dAtA, i, uint64(m.LiveScreenType))
  2426. }
  2427. if m.LiveMark != 0 {
  2428. dAtA[i] = 0x60
  2429. i++
  2430. i = encodeVarintApi(dAtA, i, uint64(m.LiveMark))
  2431. }
  2432. if m.LockStatus != 0 {
  2433. dAtA[i] = 0x68
  2434. i++
  2435. i = encodeVarintApi(dAtA, i, uint64(m.LockStatus))
  2436. }
  2437. if m.LockTime != 0 {
  2438. dAtA[i] = 0x70
  2439. i++
  2440. i = encodeVarintApi(dAtA, i, uint64(m.LockTime))
  2441. }
  2442. if m.HiddenStatus != 0 {
  2443. dAtA[i] = 0x78
  2444. i++
  2445. i = encodeVarintApi(dAtA, i, uint64(m.HiddenStatus))
  2446. }
  2447. if m.HiddenTime != 0 {
  2448. dAtA[i] = 0x80
  2449. i++
  2450. dAtA[i] = 0x1
  2451. i++
  2452. i = encodeVarintApi(dAtA, i, uint64(m.HiddenTime))
  2453. }
  2454. if m.AreaId != 0 {
  2455. dAtA[i] = 0x88
  2456. i++
  2457. dAtA[i] = 0x1
  2458. i++
  2459. i = encodeVarintApi(dAtA, i, uint64(m.AreaId))
  2460. }
  2461. if len(m.AreaName) > 0 {
  2462. dAtA[i] = 0x92
  2463. i++
  2464. dAtA[i] = 0x1
  2465. i++
  2466. i = encodeVarintApi(dAtA, i, uint64(len(m.AreaName)))
  2467. i += copy(dAtA[i:], m.AreaName)
  2468. }
  2469. if m.ParentAreaId != 0 {
  2470. dAtA[i] = 0x98
  2471. i++
  2472. dAtA[i] = 0x1
  2473. i++
  2474. i = encodeVarintApi(dAtA, i, uint64(m.ParentAreaId))
  2475. }
  2476. if len(m.ParentAreaName) > 0 {
  2477. dAtA[i] = 0xa2
  2478. i++
  2479. dAtA[i] = 0x1
  2480. i++
  2481. i = encodeVarintApi(dAtA, i, uint64(len(m.ParentAreaName)))
  2482. i += copy(dAtA[i:], m.ParentAreaName)
  2483. }
  2484. if len(m.Keyframe) > 0 {
  2485. dAtA[i] = 0xaa
  2486. i++
  2487. dAtA[i] = 0x1
  2488. i++
  2489. i = encodeVarintApi(dAtA, i, uint64(len(m.Keyframe)))
  2490. i += copy(dAtA[i:], m.Keyframe)
  2491. }
  2492. if m.PopularityCount != 0 {
  2493. dAtA[i] = 0xb0
  2494. i++
  2495. dAtA[i] = 0x1
  2496. i++
  2497. i = encodeVarintApi(dAtA, i, uint64(m.PopularityCount))
  2498. }
  2499. if len(m.RoomTagList) > 0 {
  2500. for _, msg := range m.RoomTagList {
  2501. dAtA[i] = 0xba
  2502. i++
  2503. dAtA[i] = 0x1
  2504. i++
  2505. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  2506. n, err := msg.MarshalTo(dAtA[i:])
  2507. if err != nil {
  2508. return 0, err
  2509. }
  2510. i += n
  2511. }
  2512. }
  2513. if len(m.AnchorTagList) > 0 {
  2514. for _, msg := range m.AnchorTagList {
  2515. dAtA[i] = 0xc2
  2516. i++
  2517. dAtA[i] = 0x1
  2518. i++
  2519. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  2520. n, err := msg.MarshalTo(dAtA[i:])
  2521. if err != nil {
  2522. return 0, err
  2523. }
  2524. i += n
  2525. }
  2526. }
  2527. if m.AnchorProfileType != 0 {
  2528. dAtA[i] = 0xc8
  2529. i++
  2530. dAtA[i] = 0x1
  2531. i++
  2532. i = encodeVarintApi(dAtA, i, uint64(m.AnchorProfileType))
  2533. }
  2534. if len(m.AnchorExp) > 0 {
  2535. for _, msg := range m.AnchorExp {
  2536. dAtA[i] = 0xd2
  2537. i++
  2538. dAtA[i] = 0x1
  2539. i++
  2540. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  2541. n, err := msg.MarshalTo(dAtA[i:])
  2542. if err != nil {
  2543. return 0, err
  2544. }
  2545. i += n
  2546. }
  2547. }
  2548. if m.AnchorRoundSwitch != 0 {
  2549. dAtA[i] = 0xd8
  2550. i++
  2551. dAtA[i] = 0x1
  2552. i++
  2553. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRoundSwitch))
  2554. }
  2555. if m.AnchorRoundStatus != 0 {
  2556. dAtA[i] = 0xe0
  2557. i++
  2558. dAtA[i] = 0x1
  2559. i++
  2560. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRoundStatus))
  2561. }
  2562. if m.AnchorRecordSwitch != 0 {
  2563. dAtA[i] = 0xe8
  2564. i++
  2565. dAtA[i] = 0x1
  2566. i++
  2567. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRecordSwitch))
  2568. }
  2569. if m.AnchorRecordStatus != 0 {
  2570. dAtA[i] = 0xf0
  2571. i++
  2572. dAtA[i] = 0x1
  2573. i++
  2574. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRecordStatus))
  2575. }
  2576. if m.AnchorSan != 0 {
  2577. dAtA[i] = 0xf8
  2578. i++
  2579. dAtA[i] = 0x1
  2580. i++
  2581. i = encodeVarintApi(dAtA, i, uint64(m.AnchorSan))
  2582. }
  2583. if m.LiveType != 0 {
  2584. dAtA[i] = 0x80
  2585. i++
  2586. dAtA[i] = 0x2
  2587. i++
  2588. i = encodeVarintApi(dAtA, i, uint64(m.LiveType))
  2589. }
  2590. if m.XXX_unrecognized != nil {
  2591. i += copy(dAtA[i:], m.XXX_unrecognized)
  2592. }
  2593. return i, nil
  2594. }
  2595. func (m *RoomByIDsReq) Marshal() (dAtA []byte, err error) {
  2596. size := m.Size()
  2597. dAtA = make([]byte, size)
  2598. n, err := m.MarshalTo(dAtA)
  2599. if err != nil {
  2600. return nil, err
  2601. }
  2602. return dAtA[:n], nil
  2603. }
  2604. func (m *RoomByIDsReq) MarshalTo(dAtA []byte) (int, error) {
  2605. var i int
  2606. _ = i
  2607. var l int
  2608. _ = l
  2609. if len(m.RoomIds) > 0 {
  2610. dAtA2 := make([]byte, len(m.RoomIds)*10)
  2611. var j1 int
  2612. for _, num1 := range m.RoomIds {
  2613. num := uint64(num1)
  2614. for num >= 1<<7 {
  2615. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  2616. num >>= 7
  2617. j1++
  2618. }
  2619. dAtA2[j1] = uint8(num)
  2620. j1++
  2621. }
  2622. dAtA[i] = 0xa
  2623. i++
  2624. i = encodeVarintApi(dAtA, i, uint64(j1))
  2625. i += copy(dAtA[i:], dAtA2[:j1])
  2626. }
  2627. if len(m.Uids) > 0 {
  2628. dAtA4 := make([]byte, len(m.Uids)*10)
  2629. var j3 int
  2630. for _, num1 := range m.Uids {
  2631. num := uint64(num1)
  2632. for num >= 1<<7 {
  2633. dAtA4[j3] = uint8(uint64(num)&0x7f | 0x80)
  2634. num >>= 7
  2635. j3++
  2636. }
  2637. dAtA4[j3] = uint8(num)
  2638. j3++
  2639. }
  2640. dAtA[i] = 0x12
  2641. i++
  2642. i = encodeVarintApi(dAtA, i, uint64(j3))
  2643. i += copy(dAtA[i:], dAtA4[:j3])
  2644. }
  2645. if len(m.Fields) > 0 {
  2646. for _, s := range m.Fields {
  2647. dAtA[i] = 0x1a
  2648. i++
  2649. l = len(s)
  2650. for l >= 1<<7 {
  2651. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2652. l >>= 7
  2653. i++
  2654. }
  2655. dAtA[i] = uint8(l)
  2656. i++
  2657. i += copy(dAtA[i:], s)
  2658. }
  2659. }
  2660. if m.DefaultFields != 0 {
  2661. dAtA[i] = 0x20
  2662. i++
  2663. i = encodeVarintApi(dAtA, i, uint64(m.DefaultFields))
  2664. }
  2665. if m.XXX_unrecognized != nil {
  2666. i += copy(dAtA[i:], m.XXX_unrecognized)
  2667. }
  2668. return i, nil
  2669. }
  2670. func (m *RoomByIDsResp) Marshal() (dAtA []byte, err error) {
  2671. size := m.Size()
  2672. dAtA = make([]byte, size)
  2673. n, err := m.MarshalTo(dAtA)
  2674. if err != nil {
  2675. return nil, err
  2676. }
  2677. return dAtA[:n], nil
  2678. }
  2679. func (m *RoomByIDsResp) MarshalTo(dAtA []byte) (int, error) {
  2680. var i int
  2681. _ = i
  2682. var l int
  2683. _ = l
  2684. if len(m.RoomDataSet) > 0 {
  2685. for k, _ := range m.RoomDataSet {
  2686. dAtA[i] = 0xa
  2687. i++
  2688. v := m.RoomDataSet[k]
  2689. msgSize := 0
  2690. if v != nil {
  2691. msgSize = v.Size()
  2692. msgSize += 1 + sovApi(uint64(msgSize))
  2693. }
  2694. mapSize := 1 + sovApi(uint64(k)) + msgSize
  2695. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  2696. dAtA[i] = 0x8
  2697. i++
  2698. i = encodeVarintApi(dAtA, i, uint64(k))
  2699. if v != nil {
  2700. dAtA[i] = 0x12
  2701. i++
  2702. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  2703. n5, err := v.MarshalTo(dAtA[i:])
  2704. if err != nil {
  2705. return 0, err
  2706. }
  2707. i += n5
  2708. }
  2709. }
  2710. }
  2711. if m.XXX_unrecognized != nil {
  2712. i += copy(dAtA[i:], m.XXX_unrecognized)
  2713. }
  2714. return i, nil
  2715. }
  2716. func (m *RoomOnlineListReq) Marshal() (dAtA []byte, err error) {
  2717. size := m.Size()
  2718. dAtA = make([]byte, size)
  2719. n, err := m.MarshalTo(dAtA)
  2720. if err != nil {
  2721. return nil, err
  2722. }
  2723. return dAtA[:n], nil
  2724. }
  2725. func (m *RoomOnlineListReq) MarshalTo(dAtA []byte) (int, error) {
  2726. var i int
  2727. _ = i
  2728. var l int
  2729. _ = l
  2730. if len(m.Filter) > 0 {
  2731. dAtA[i] = 0xa
  2732. i++
  2733. i = encodeVarintApi(dAtA, i, uint64(len(m.Filter)))
  2734. i += copy(dAtA[i:], m.Filter)
  2735. }
  2736. if len(m.Sort) > 0 {
  2737. dAtA[i] = 0x12
  2738. i++
  2739. i = encodeVarintApi(dAtA, i, uint64(len(m.Sort)))
  2740. i += copy(dAtA[i:], m.Sort)
  2741. }
  2742. if m.Page != 0 {
  2743. dAtA[i] = 0x18
  2744. i++
  2745. i = encodeVarintApi(dAtA, i, uint64(m.Page))
  2746. }
  2747. if m.PageSize != 0 {
  2748. dAtA[i] = 0x20
  2749. i++
  2750. i = encodeVarintApi(dAtA, i, uint64(m.PageSize))
  2751. }
  2752. if len(m.Fields) > 0 {
  2753. for _, s := range m.Fields {
  2754. dAtA[i] = 0x2a
  2755. i++
  2756. l = len(s)
  2757. for l >= 1<<7 {
  2758. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2759. l >>= 7
  2760. i++
  2761. }
  2762. dAtA[i] = uint8(l)
  2763. i++
  2764. i += copy(dAtA[i:], s)
  2765. }
  2766. }
  2767. if m.XXX_unrecognized != nil {
  2768. i += copy(dAtA[i:], m.XXX_unrecognized)
  2769. }
  2770. return i, nil
  2771. }
  2772. func (m *RoomOnlineListResp) Marshal() (dAtA []byte, err error) {
  2773. size := m.Size()
  2774. dAtA = make([]byte, size)
  2775. n, err := m.MarshalTo(dAtA)
  2776. if err != nil {
  2777. return nil, err
  2778. }
  2779. return dAtA[:n], nil
  2780. }
  2781. func (m *RoomOnlineListResp) MarshalTo(dAtA []byte) (int, error) {
  2782. var i int
  2783. _ = i
  2784. var l int
  2785. _ = l
  2786. if len(m.RoomDataList) > 0 {
  2787. for k, _ := range m.RoomDataList {
  2788. dAtA[i] = 0xa
  2789. i++
  2790. v := m.RoomDataList[k]
  2791. msgSize := 0
  2792. if v != nil {
  2793. msgSize = v.Size()
  2794. msgSize += 1 + sovApi(uint64(msgSize))
  2795. }
  2796. mapSize := 1 + sovApi(uint64(k)) + msgSize
  2797. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  2798. dAtA[i] = 0x8
  2799. i++
  2800. i = encodeVarintApi(dAtA, i, uint64(k))
  2801. if v != nil {
  2802. dAtA[i] = 0x12
  2803. i++
  2804. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  2805. n6, err := v.MarshalTo(dAtA[i:])
  2806. if err != nil {
  2807. return 0, err
  2808. }
  2809. i += n6
  2810. }
  2811. }
  2812. }
  2813. if m.XXX_unrecognized != nil {
  2814. i += copy(dAtA[i:], m.XXX_unrecognized)
  2815. }
  2816. return i, nil
  2817. }
  2818. func (m *RoomCreateReq) Marshal() (dAtA []byte, err error) {
  2819. size := m.Size()
  2820. dAtA = make([]byte, size)
  2821. n, err := m.MarshalTo(dAtA)
  2822. if err != nil {
  2823. return nil, err
  2824. }
  2825. return dAtA[:n], nil
  2826. }
  2827. func (m *RoomCreateReq) MarshalTo(dAtA []byte) (int, error) {
  2828. var i int
  2829. _ = i
  2830. var l int
  2831. _ = l
  2832. if m.Uid != 0 {
  2833. dAtA[i] = 0x8
  2834. i++
  2835. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  2836. }
  2837. if m.RoomId != 0 {
  2838. dAtA[i] = 0x10
  2839. i++
  2840. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  2841. }
  2842. if m.XXX_unrecognized != nil {
  2843. i += copy(dAtA[i:], m.XXX_unrecognized)
  2844. }
  2845. return i, nil
  2846. }
  2847. func (m *RoomCreateResp) Marshal() (dAtA []byte, err error) {
  2848. size := m.Size()
  2849. dAtA = make([]byte, size)
  2850. n, err := m.MarshalTo(dAtA)
  2851. if err != nil {
  2852. return nil, err
  2853. }
  2854. return dAtA[:n], nil
  2855. }
  2856. func (m *RoomCreateResp) MarshalTo(dAtA []byte) (int, error) {
  2857. var i int
  2858. _ = i
  2859. var l int
  2860. _ = l
  2861. if m.RoomId != 0 {
  2862. dAtA[i] = 0x8
  2863. i++
  2864. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  2865. }
  2866. if m.XXX_unrecognized != nil {
  2867. i += copy(dAtA[i:], m.XXX_unrecognized)
  2868. }
  2869. return i, nil
  2870. }
  2871. func (m *UpdateResp) Marshal() (dAtA []byte, err error) {
  2872. size := m.Size()
  2873. dAtA = make([]byte, size)
  2874. n, err := m.MarshalTo(dAtA)
  2875. if err != nil {
  2876. return nil, err
  2877. }
  2878. return dAtA[:n], nil
  2879. }
  2880. func (m *UpdateResp) MarshalTo(dAtA []byte) (int, error) {
  2881. var i int
  2882. _ = i
  2883. var l int
  2884. _ = l
  2885. if m.AffectedRows != 0 {
  2886. dAtA[i] = 0x8
  2887. i++
  2888. i = encodeVarintApi(dAtA, i, uint64(m.AffectedRows))
  2889. }
  2890. if m.XXX_unrecognized != nil {
  2891. i += copy(dAtA[i:], m.XXX_unrecognized)
  2892. }
  2893. return i, nil
  2894. }
  2895. func (m *RoomUpdateReq) Marshal() (dAtA []byte, err error) {
  2896. size := m.Size()
  2897. dAtA = make([]byte, size)
  2898. n, err := m.MarshalTo(dAtA)
  2899. if err != nil {
  2900. return nil, err
  2901. }
  2902. return dAtA[:n], nil
  2903. }
  2904. func (m *RoomUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  2905. var i int
  2906. _ = i
  2907. var l int
  2908. _ = l
  2909. if len(m.Fields) > 0 {
  2910. for _, s := range m.Fields {
  2911. dAtA[i] = 0xa
  2912. i++
  2913. l = len(s)
  2914. for l >= 1<<7 {
  2915. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2916. l >>= 7
  2917. i++
  2918. }
  2919. dAtA[i] = uint8(l)
  2920. i++
  2921. i += copy(dAtA[i:], s)
  2922. }
  2923. }
  2924. if m.RoomId != 0 {
  2925. dAtA[i] = 0x10
  2926. i++
  2927. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  2928. }
  2929. if len(m.Title) > 0 {
  2930. dAtA[i] = 0x1a
  2931. i++
  2932. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  2933. i += copy(dAtA[i:], m.Title)
  2934. }
  2935. if len(m.Cover) > 0 {
  2936. dAtA[i] = 0x22
  2937. i++
  2938. i = encodeVarintApi(dAtA, i, uint64(len(m.Cover)))
  2939. i += copy(dAtA[i:], m.Cover)
  2940. }
  2941. if len(m.Tags) > 0 {
  2942. dAtA[i] = 0x2a
  2943. i++
  2944. i = encodeVarintApi(dAtA, i, uint64(len(m.Tags)))
  2945. i += copy(dAtA[i:], m.Tags)
  2946. }
  2947. if len(m.Background) > 0 {
  2948. dAtA[i] = 0x32
  2949. i++
  2950. i = encodeVarintApi(dAtA, i, uint64(len(m.Background)))
  2951. i += copy(dAtA[i:], m.Background)
  2952. }
  2953. if len(m.Description) > 0 {
  2954. dAtA[i] = 0x3a
  2955. i++
  2956. i = encodeVarintApi(dAtA, i, uint64(len(m.Description)))
  2957. i += copy(dAtA[i:], m.Description)
  2958. }
  2959. if m.LiveStartTime != 0 {
  2960. dAtA[i] = 0x40
  2961. i++
  2962. i = encodeVarintApi(dAtA, i, uint64(m.LiveStartTime))
  2963. }
  2964. if m.LiveScreenType != 0 {
  2965. dAtA[i] = 0x48
  2966. i++
  2967. i = encodeVarintApi(dAtA, i, uint64(m.LiveScreenType))
  2968. }
  2969. if m.LockStatus != 0 {
  2970. dAtA[i] = 0x50
  2971. i++
  2972. i = encodeVarintApi(dAtA, i, uint64(m.LockStatus))
  2973. }
  2974. if m.LockTime != 0 {
  2975. dAtA[i] = 0x58
  2976. i++
  2977. i = encodeVarintApi(dAtA, i, uint64(m.LockTime))
  2978. }
  2979. if m.HiddenTime != 0 {
  2980. dAtA[i] = 0x60
  2981. i++
  2982. i = encodeVarintApi(dAtA, i, uint64(m.HiddenTime))
  2983. }
  2984. if m.AreaId != 0 {
  2985. dAtA[i] = 0x68
  2986. i++
  2987. i = encodeVarintApi(dAtA, i, uint64(m.AreaId))
  2988. }
  2989. if m.AnchorRoundSwitch != 0 {
  2990. dAtA[i] = 0x70
  2991. i++
  2992. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRoundSwitch))
  2993. }
  2994. if m.AnchorRecordSwitch != 0 {
  2995. dAtA[i] = 0x78
  2996. i++
  2997. i = encodeVarintApi(dAtA, i, uint64(m.AnchorRecordSwitch))
  2998. }
  2999. if m.LiveType != 0 {
  3000. dAtA[i] = 0x80
  3001. i++
  3002. dAtA[i] = 0x1
  3003. i++
  3004. i = encodeVarintApi(dAtA, i, uint64(m.LiveType))
  3005. }
  3006. if m.XXX_unrecognized != nil {
  3007. i += copy(dAtA[i:], m.XXX_unrecognized)
  3008. }
  3009. return i, nil
  3010. }
  3011. func (m *RoomBatchUpdateReq) Marshal() (dAtA []byte, err error) {
  3012. size := m.Size()
  3013. dAtA = make([]byte, size)
  3014. n, err := m.MarshalTo(dAtA)
  3015. if err != nil {
  3016. return nil, err
  3017. }
  3018. return dAtA[:n], nil
  3019. }
  3020. func (m *RoomBatchUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  3021. var i int
  3022. _ = i
  3023. var l int
  3024. _ = l
  3025. if len(m.Reqs) > 0 {
  3026. for _, msg := range m.Reqs {
  3027. dAtA[i] = 0xa
  3028. i++
  3029. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3030. n, err := msg.MarshalTo(dAtA[i:])
  3031. if err != nil {
  3032. return 0, err
  3033. }
  3034. i += n
  3035. }
  3036. }
  3037. if m.XXX_unrecognized != nil {
  3038. i += copy(dAtA[i:], m.XXX_unrecognized)
  3039. }
  3040. return i, nil
  3041. }
  3042. func (m *AnchorData) Marshal() (dAtA []byte, err error) {
  3043. size := m.Size()
  3044. dAtA = make([]byte, size)
  3045. n, err := m.MarshalTo(dAtA)
  3046. if err != nil {
  3047. return nil, err
  3048. }
  3049. return dAtA[:n], nil
  3050. }
  3051. func (m *AnchorData) MarshalTo(dAtA []byte) (int, error) {
  3052. var i int
  3053. _ = i
  3054. var l int
  3055. _ = l
  3056. if m.Uid != 0 {
  3057. dAtA[i] = 0x8
  3058. i++
  3059. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  3060. }
  3061. if m.ProfileType != 0 {
  3062. dAtA[i] = 0x10
  3063. i++
  3064. i = encodeVarintApi(dAtA, i, uint64(m.ProfileType))
  3065. }
  3066. if len(m.Exp) > 0 {
  3067. for _, msg := range m.Exp {
  3068. dAtA[i] = 0x1a
  3069. i++
  3070. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3071. n, err := msg.MarshalTo(dAtA[i:])
  3072. if err != nil {
  3073. return 0, err
  3074. }
  3075. i += n
  3076. }
  3077. }
  3078. if m.XXX_unrecognized != nil {
  3079. i += copy(dAtA[i:], m.XXX_unrecognized)
  3080. }
  3081. return i, nil
  3082. }
  3083. func (m *AnchorUpdateReq) Marshal() (dAtA []byte, err error) {
  3084. size := m.Size()
  3085. dAtA = make([]byte, size)
  3086. n, err := m.MarshalTo(dAtA)
  3087. if err != nil {
  3088. return nil, err
  3089. }
  3090. return dAtA[:n], nil
  3091. }
  3092. func (m *AnchorUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  3093. var i int
  3094. _ = i
  3095. var l int
  3096. _ = l
  3097. if len(m.Fields) > 0 {
  3098. for _, s := range m.Fields {
  3099. dAtA[i] = 0xa
  3100. i++
  3101. l = len(s)
  3102. for l >= 1<<7 {
  3103. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3104. l >>= 7
  3105. i++
  3106. }
  3107. dAtA[i] = uint8(l)
  3108. i++
  3109. i += copy(dAtA[i:], s)
  3110. }
  3111. }
  3112. if m.Uid != 0 {
  3113. dAtA[i] = 0x10
  3114. i++
  3115. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  3116. }
  3117. if m.ProfileType != 0 {
  3118. dAtA[i] = 0x18
  3119. i++
  3120. i = encodeVarintApi(dAtA, i, uint64(m.ProfileType))
  3121. }
  3122. if m.SanScore != 0 {
  3123. dAtA[i] = 0x20
  3124. i++
  3125. i = encodeVarintApi(dAtA, i, uint64(m.SanScore))
  3126. }
  3127. if m.RoundStatus != 0 {
  3128. dAtA[i] = 0x28
  3129. i++
  3130. i = encodeVarintApi(dAtA, i, uint64(m.RoundStatus))
  3131. }
  3132. if m.RecordStatus != 0 {
  3133. dAtA[i] = 0x30
  3134. i++
  3135. i = encodeVarintApi(dAtA, i, uint64(m.RecordStatus))
  3136. }
  3137. if m.Exp != 0 {
  3138. dAtA[i] = 0x38
  3139. i++
  3140. i = encodeVarintApi(dAtA, i, uint64(m.Exp))
  3141. }
  3142. if m.XXX_unrecognized != nil {
  3143. i += copy(dAtA[i:], m.XXX_unrecognized)
  3144. }
  3145. return i, nil
  3146. }
  3147. func (m *AnchorBatchUpdateReq) Marshal() (dAtA []byte, err error) {
  3148. size := m.Size()
  3149. dAtA = make([]byte, size)
  3150. n, err := m.MarshalTo(dAtA)
  3151. if err != nil {
  3152. return nil, err
  3153. }
  3154. return dAtA[:n], nil
  3155. }
  3156. func (m *AnchorBatchUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  3157. var i int
  3158. _ = i
  3159. var l int
  3160. _ = l
  3161. if len(m.Reqs) > 0 {
  3162. for _, msg := range m.Reqs {
  3163. dAtA[i] = 0xa
  3164. i++
  3165. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3166. n, err := msg.MarshalTo(dAtA[i:])
  3167. if err != nil {
  3168. return 0, err
  3169. }
  3170. i += n
  3171. }
  3172. }
  3173. if m.XXX_unrecognized != nil {
  3174. i += copy(dAtA[i:], m.XXX_unrecognized)
  3175. }
  3176. return i, nil
  3177. }
  3178. func (m *AnchorIncreReq) Marshal() (dAtA []byte, err error) {
  3179. size := m.Size()
  3180. dAtA = make([]byte, size)
  3181. n, err := m.MarshalTo(dAtA)
  3182. if err != nil {
  3183. return nil, err
  3184. }
  3185. return dAtA[:n], nil
  3186. }
  3187. func (m *AnchorIncreReq) MarshalTo(dAtA []byte) (int, error) {
  3188. var i int
  3189. _ = i
  3190. var l int
  3191. _ = l
  3192. if len(m.ReqId) > 0 {
  3193. dAtA[i] = 0xa
  3194. i++
  3195. i = encodeVarintApi(dAtA, i, uint64(len(m.ReqId)))
  3196. i += copy(dAtA[i:], m.ReqId)
  3197. }
  3198. if len(m.Fields) > 0 {
  3199. for _, s := range m.Fields {
  3200. dAtA[i] = 0x12
  3201. i++
  3202. l = len(s)
  3203. for l >= 1<<7 {
  3204. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3205. l >>= 7
  3206. i++
  3207. }
  3208. dAtA[i] = uint8(l)
  3209. i++
  3210. i += copy(dAtA[i:], s)
  3211. }
  3212. }
  3213. if m.Uid != 0 {
  3214. dAtA[i] = 0x18
  3215. i++
  3216. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  3217. }
  3218. if m.SanScore != 0 {
  3219. dAtA[i] = 0x20
  3220. i++
  3221. i = encodeVarintApi(dAtA, i, uint64(m.SanScore))
  3222. }
  3223. if m.Exp != 0 {
  3224. dAtA[i] = 0x28
  3225. i++
  3226. i = encodeVarintApi(dAtA, i, uint64(m.Exp))
  3227. }
  3228. if m.XXX_unrecognized != nil {
  3229. i += copy(dAtA[i:], m.XXX_unrecognized)
  3230. }
  3231. return i, nil
  3232. }
  3233. func (m *AnchorBatchIncreReq) Marshal() (dAtA []byte, err error) {
  3234. size := m.Size()
  3235. dAtA = make([]byte, size)
  3236. n, err := m.MarshalTo(dAtA)
  3237. if err != nil {
  3238. return nil, err
  3239. }
  3240. return dAtA[:n], nil
  3241. }
  3242. func (m *AnchorBatchIncreReq) MarshalTo(dAtA []byte) (int, error) {
  3243. var i int
  3244. _ = i
  3245. var l int
  3246. _ = l
  3247. if len(m.Reqs) > 0 {
  3248. for _, msg := range m.Reqs {
  3249. dAtA[i] = 0xa
  3250. i++
  3251. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3252. n, err := msg.MarshalTo(dAtA[i:])
  3253. if err != nil {
  3254. return 0, err
  3255. }
  3256. i += n
  3257. }
  3258. }
  3259. if m.XXX_unrecognized != nil {
  3260. i += copy(dAtA[i:], m.XXX_unrecognized)
  3261. }
  3262. return i, nil
  3263. }
  3264. func (m *RoomExtendUpdateReq) Marshal() (dAtA []byte, err error) {
  3265. size := m.Size()
  3266. dAtA = make([]byte, size)
  3267. n, err := m.MarshalTo(dAtA)
  3268. if err != nil {
  3269. return nil, err
  3270. }
  3271. return dAtA[:n], nil
  3272. }
  3273. func (m *RoomExtendUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  3274. var i int
  3275. _ = i
  3276. var l int
  3277. _ = l
  3278. if len(m.Fields) > 0 {
  3279. for _, s := range m.Fields {
  3280. dAtA[i] = 0xa
  3281. i++
  3282. l = len(s)
  3283. for l >= 1<<7 {
  3284. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3285. l >>= 7
  3286. i++
  3287. }
  3288. dAtA[i] = uint8(l)
  3289. i++
  3290. i += copy(dAtA[i:], s)
  3291. }
  3292. }
  3293. if m.RoomId != 0 {
  3294. dAtA[i] = 0x10
  3295. i++
  3296. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  3297. }
  3298. if len(m.KeyFrame) > 0 {
  3299. dAtA[i] = 0x1a
  3300. i++
  3301. i = encodeVarintApi(dAtA, i, uint64(len(m.KeyFrame)))
  3302. i += copy(dAtA[i:], m.KeyFrame)
  3303. }
  3304. if m.DanmuCount != 0 {
  3305. dAtA[i] = 0x20
  3306. i++
  3307. i = encodeVarintApi(dAtA, i, uint64(m.DanmuCount))
  3308. }
  3309. if m.PopularityCount != 0 {
  3310. dAtA[i] = 0x28
  3311. i++
  3312. i = encodeVarintApi(dAtA, i, uint64(m.PopularityCount))
  3313. }
  3314. if m.AudienceCount != 0 {
  3315. dAtA[i] = 0x30
  3316. i++
  3317. i = encodeVarintApi(dAtA, i, uint64(m.AudienceCount))
  3318. }
  3319. if m.GiftCount != 0 {
  3320. dAtA[i] = 0x38
  3321. i++
  3322. i = encodeVarintApi(dAtA, i, uint64(m.GiftCount))
  3323. }
  3324. if m.GiftGoldAmount != 0 {
  3325. dAtA[i] = 0x40
  3326. i++
  3327. i = encodeVarintApi(dAtA, i, uint64(m.GiftGoldAmount))
  3328. }
  3329. if m.GiftGoldCount != 0 {
  3330. dAtA[i] = 0x48
  3331. i++
  3332. i = encodeVarintApi(dAtA, i, uint64(m.GiftGoldCount))
  3333. }
  3334. if m.XXX_unrecognized != nil {
  3335. i += copy(dAtA[i:], m.XXX_unrecognized)
  3336. }
  3337. return i, nil
  3338. }
  3339. func (m *RoomExtendBatchUpdateReq) Marshal() (dAtA []byte, err error) {
  3340. size := m.Size()
  3341. dAtA = make([]byte, size)
  3342. n, err := m.MarshalTo(dAtA)
  3343. if err != nil {
  3344. return nil, err
  3345. }
  3346. return dAtA[:n], nil
  3347. }
  3348. func (m *RoomExtendBatchUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  3349. var i int
  3350. _ = i
  3351. var l int
  3352. _ = l
  3353. if len(m.Reqs) > 0 {
  3354. for _, msg := range m.Reqs {
  3355. dAtA[i] = 0xa
  3356. i++
  3357. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3358. n, err := msg.MarshalTo(dAtA[i:])
  3359. if err != nil {
  3360. return 0, err
  3361. }
  3362. i += n
  3363. }
  3364. }
  3365. if m.XXX_unrecognized != nil {
  3366. i += copy(dAtA[i:], m.XXX_unrecognized)
  3367. }
  3368. return i, nil
  3369. }
  3370. func (m *RoomExtendIncreReq) Marshal() (dAtA []byte, err error) {
  3371. size := m.Size()
  3372. dAtA = make([]byte, size)
  3373. n, err := m.MarshalTo(dAtA)
  3374. if err != nil {
  3375. return nil, err
  3376. }
  3377. return dAtA[:n], nil
  3378. }
  3379. func (m *RoomExtendIncreReq) MarshalTo(dAtA []byte) (int, error) {
  3380. var i int
  3381. _ = i
  3382. var l int
  3383. _ = l
  3384. if len(m.ReqId) > 0 {
  3385. dAtA[i] = 0xa
  3386. i++
  3387. i = encodeVarintApi(dAtA, i, uint64(len(m.ReqId)))
  3388. i += copy(dAtA[i:], m.ReqId)
  3389. }
  3390. if len(m.Fields) > 0 {
  3391. for _, s := range m.Fields {
  3392. dAtA[i] = 0x12
  3393. i++
  3394. l = len(s)
  3395. for l >= 1<<7 {
  3396. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3397. l >>= 7
  3398. i++
  3399. }
  3400. dAtA[i] = uint8(l)
  3401. i++
  3402. i += copy(dAtA[i:], s)
  3403. }
  3404. }
  3405. if m.RoomId != 0 {
  3406. dAtA[i] = 0x18
  3407. i++
  3408. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  3409. }
  3410. if m.DanmuCount != 0 {
  3411. dAtA[i] = 0x20
  3412. i++
  3413. i = encodeVarintApi(dAtA, i, uint64(m.DanmuCount))
  3414. }
  3415. if m.PopularityCount != 0 {
  3416. dAtA[i] = 0x28
  3417. i++
  3418. i = encodeVarintApi(dAtA, i, uint64(m.PopularityCount))
  3419. }
  3420. if m.AudienceCount != 0 {
  3421. dAtA[i] = 0x30
  3422. i++
  3423. i = encodeVarintApi(dAtA, i, uint64(m.AudienceCount))
  3424. }
  3425. if m.GiftCount != 0 {
  3426. dAtA[i] = 0x38
  3427. i++
  3428. i = encodeVarintApi(dAtA, i, uint64(m.GiftCount))
  3429. }
  3430. if m.GiftGoldAmount != 0 {
  3431. dAtA[i] = 0x40
  3432. i++
  3433. i = encodeVarintApi(dAtA, i, uint64(m.GiftGoldAmount))
  3434. }
  3435. if m.GiftGoldCount != 0 {
  3436. dAtA[i] = 0x48
  3437. i++
  3438. i = encodeVarintApi(dAtA, i, uint64(m.GiftGoldCount))
  3439. }
  3440. if m.XXX_unrecognized != nil {
  3441. i += copy(dAtA[i:], m.XXX_unrecognized)
  3442. }
  3443. return i, nil
  3444. }
  3445. func (m *RoomExtendBatchIncreReq) Marshal() (dAtA []byte, err error) {
  3446. size := m.Size()
  3447. dAtA = make([]byte, size)
  3448. n, err := m.MarshalTo(dAtA)
  3449. if err != nil {
  3450. return nil, err
  3451. }
  3452. return dAtA[:n], nil
  3453. }
  3454. func (m *RoomExtendBatchIncreReq) MarshalTo(dAtA []byte) (int, error) {
  3455. var i int
  3456. _ = i
  3457. var l int
  3458. _ = l
  3459. if len(m.Reqs) > 0 {
  3460. for _, msg := range m.Reqs {
  3461. dAtA[i] = 0xa
  3462. i++
  3463. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3464. n, err := msg.MarshalTo(dAtA[i:])
  3465. if err != nil {
  3466. return 0, err
  3467. }
  3468. i += n
  3469. }
  3470. }
  3471. if m.XXX_unrecognized != nil {
  3472. i += copy(dAtA[i:], m.XXX_unrecognized)
  3473. }
  3474. return i, nil
  3475. }
  3476. func (m *RoomTagSetReq) Marshal() (dAtA []byte, err error) {
  3477. size := m.Size()
  3478. dAtA = make([]byte, size)
  3479. n, err := m.MarshalTo(dAtA)
  3480. if err != nil {
  3481. return nil, err
  3482. }
  3483. return dAtA[:n], nil
  3484. }
  3485. func (m *RoomTagSetReq) MarshalTo(dAtA []byte) (int, error) {
  3486. var i int
  3487. _ = i
  3488. var l int
  3489. _ = l
  3490. if len(m.Fields) > 0 {
  3491. for _, s := range m.Fields {
  3492. dAtA[i] = 0xa
  3493. i++
  3494. l = len(s)
  3495. for l >= 1<<7 {
  3496. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3497. l >>= 7
  3498. i++
  3499. }
  3500. dAtA[i] = uint8(l)
  3501. i++
  3502. i += copy(dAtA[i:], s)
  3503. }
  3504. }
  3505. if m.RoomId != 0 {
  3506. dAtA[i] = 0x10
  3507. i++
  3508. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  3509. }
  3510. if m.TagType != 0 {
  3511. dAtA[i] = 0x18
  3512. i++
  3513. i = encodeVarintApi(dAtA, i, uint64(m.TagType))
  3514. }
  3515. if m.TagValue != 0 {
  3516. dAtA[i] = 0x20
  3517. i++
  3518. i = encodeVarintApi(dAtA, i, uint64(m.TagValue))
  3519. }
  3520. if len(m.TagAttribute) > 0 {
  3521. dAtA[i] = 0x2a
  3522. i++
  3523. i = encodeVarintApi(dAtA, i, uint64(len(m.TagAttribute)))
  3524. i += copy(dAtA[i:], m.TagAttribute)
  3525. }
  3526. if m.TagExpireAt != 0 {
  3527. dAtA[i] = 0x30
  3528. i++
  3529. i = encodeVarintApi(dAtA, i, uint64(m.TagExpireAt))
  3530. }
  3531. if m.XXX_unrecognized != nil {
  3532. i += copy(dAtA[i:], m.XXX_unrecognized)
  3533. }
  3534. return i, nil
  3535. }
  3536. func (m *AnchorTagSetReq) Marshal() (dAtA []byte, err error) {
  3537. size := m.Size()
  3538. dAtA = make([]byte, size)
  3539. n, err := m.MarshalTo(dAtA)
  3540. if err != nil {
  3541. return nil, err
  3542. }
  3543. return dAtA[:n], nil
  3544. }
  3545. func (m *AnchorTagSetReq) MarshalTo(dAtA []byte) (int, error) {
  3546. var i int
  3547. _ = i
  3548. var l int
  3549. _ = l
  3550. if len(m.Fields) > 0 {
  3551. for _, s := range m.Fields {
  3552. dAtA[i] = 0xa
  3553. i++
  3554. l = len(s)
  3555. for l >= 1<<7 {
  3556. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3557. l >>= 7
  3558. i++
  3559. }
  3560. dAtA[i] = uint8(l)
  3561. i++
  3562. i += copy(dAtA[i:], s)
  3563. }
  3564. }
  3565. if m.AnchorId != 0 {
  3566. dAtA[i] = 0x10
  3567. i++
  3568. i = encodeVarintApi(dAtA, i, uint64(m.AnchorId))
  3569. }
  3570. if m.TagType != 0 {
  3571. dAtA[i] = 0x18
  3572. i++
  3573. i = encodeVarintApi(dAtA, i, uint64(m.TagType))
  3574. }
  3575. if m.TagValue != 0 {
  3576. dAtA[i] = 0x20
  3577. i++
  3578. i = encodeVarintApi(dAtA, i, uint64(m.TagValue))
  3579. }
  3580. if len(m.TagAttribute) > 0 {
  3581. dAtA[i] = 0x2a
  3582. i++
  3583. i = encodeVarintApi(dAtA, i, uint64(len(m.TagAttribute)))
  3584. i += copy(dAtA[i:], m.TagAttribute)
  3585. }
  3586. if m.TagExpireAt != 0 {
  3587. dAtA[i] = 0x30
  3588. i++
  3589. i = encodeVarintApi(dAtA, i, uint64(m.TagExpireAt))
  3590. }
  3591. if m.XXX_unrecognized != nil {
  3592. i += copy(dAtA[i:], m.XXX_unrecognized)
  3593. }
  3594. return i, nil
  3595. }
  3596. func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
  3597. for v >= 1<<7 {
  3598. dAtA[offset] = uint8(v&0x7f | 0x80)
  3599. v >>= 7
  3600. offset++
  3601. }
  3602. dAtA[offset] = uint8(v)
  3603. return offset + 1
  3604. }
  3605. func (m *ExpData) Size() (n int) {
  3606. if m == nil {
  3607. return 0
  3608. }
  3609. var l int
  3610. _ = l
  3611. if m.Level != 0 {
  3612. n += 1 + sovApi(uint64(m.Level))
  3613. }
  3614. if m.NextLevel != 0 {
  3615. n += 1 + sovApi(uint64(m.NextLevel))
  3616. }
  3617. if m.LevelColor != 0 {
  3618. n += 1 + sovApi(uint64(m.LevelColor))
  3619. }
  3620. if m.Exp != 0 {
  3621. n += 1 + sovApi(uint64(m.Exp))
  3622. }
  3623. if m.CurrentLevelExp != 0 {
  3624. n += 1 + sovApi(uint64(m.CurrentLevelExp))
  3625. }
  3626. if m.NextLevelExp != 0 {
  3627. n += 1 + sovApi(uint64(m.NextLevelExp))
  3628. }
  3629. if m.XXX_unrecognized != nil {
  3630. n += len(m.XXX_unrecognized)
  3631. }
  3632. return n
  3633. }
  3634. func (m *TagData) Size() (n int) {
  3635. if m == nil {
  3636. return 0
  3637. }
  3638. var l int
  3639. _ = l
  3640. if m.TagId != 0 {
  3641. n += 1 + sovApi(uint64(m.TagId))
  3642. }
  3643. if m.TagType != 0 {
  3644. n += 1 + sovApi(uint64(m.TagType))
  3645. }
  3646. if m.TagValue != 0 {
  3647. n += 1 + sovApi(uint64(m.TagValue))
  3648. }
  3649. l = len(m.TagAttribute)
  3650. if l > 0 {
  3651. n += 1 + l + sovApi(uint64(l))
  3652. }
  3653. if m.XXX_unrecognized != nil {
  3654. n += len(m.XXX_unrecognized)
  3655. }
  3656. return n
  3657. }
  3658. func (m *RoomData) Size() (n int) {
  3659. if m == nil {
  3660. return 0
  3661. }
  3662. var l int
  3663. _ = l
  3664. if m.Uid != 0 {
  3665. n += 1 + sovApi(uint64(m.Uid))
  3666. }
  3667. if m.RoomId != 0 {
  3668. n += 1 + sovApi(uint64(m.RoomId))
  3669. }
  3670. if m.ShortId != 0 {
  3671. n += 1 + sovApi(uint64(m.ShortId))
  3672. }
  3673. l = len(m.Title)
  3674. if l > 0 {
  3675. n += 1 + l + sovApi(uint64(l))
  3676. }
  3677. l = len(m.Cover)
  3678. if l > 0 {
  3679. n += 1 + l + sovApi(uint64(l))
  3680. }
  3681. l = len(m.Tags)
  3682. if l > 0 {
  3683. n += 1 + l + sovApi(uint64(l))
  3684. }
  3685. l = len(m.Background)
  3686. if l > 0 {
  3687. n += 1 + l + sovApi(uint64(l))
  3688. }
  3689. l = len(m.Description)
  3690. if l > 0 {
  3691. n += 1 + l + sovApi(uint64(l))
  3692. }
  3693. if m.LiveStatus != 0 {
  3694. n += 1 + sovApi(uint64(m.LiveStatus))
  3695. }
  3696. if m.LiveStartTime != 0 {
  3697. n += 1 + sovApi(uint64(m.LiveStartTime))
  3698. }
  3699. if m.LiveScreenType != 0 {
  3700. n += 1 + sovApi(uint64(m.LiveScreenType))
  3701. }
  3702. if m.LiveMark != 0 {
  3703. n += 1 + sovApi(uint64(m.LiveMark))
  3704. }
  3705. if m.LockStatus != 0 {
  3706. n += 1 + sovApi(uint64(m.LockStatus))
  3707. }
  3708. if m.LockTime != 0 {
  3709. n += 1 + sovApi(uint64(m.LockTime))
  3710. }
  3711. if m.HiddenStatus != 0 {
  3712. n += 1 + sovApi(uint64(m.HiddenStatus))
  3713. }
  3714. if m.HiddenTime != 0 {
  3715. n += 2 + sovApi(uint64(m.HiddenTime))
  3716. }
  3717. if m.AreaId != 0 {
  3718. n += 2 + sovApi(uint64(m.AreaId))
  3719. }
  3720. l = len(m.AreaName)
  3721. if l > 0 {
  3722. n += 2 + l + sovApi(uint64(l))
  3723. }
  3724. if m.ParentAreaId != 0 {
  3725. n += 2 + sovApi(uint64(m.ParentAreaId))
  3726. }
  3727. l = len(m.ParentAreaName)
  3728. if l > 0 {
  3729. n += 2 + l + sovApi(uint64(l))
  3730. }
  3731. l = len(m.Keyframe)
  3732. if l > 0 {
  3733. n += 2 + l + sovApi(uint64(l))
  3734. }
  3735. if m.PopularityCount != 0 {
  3736. n += 2 + sovApi(uint64(m.PopularityCount))
  3737. }
  3738. if len(m.RoomTagList) > 0 {
  3739. for _, e := range m.RoomTagList {
  3740. l = e.Size()
  3741. n += 2 + l + sovApi(uint64(l))
  3742. }
  3743. }
  3744. if len(m.AnchorTagList) > 0 {
  3745. for _, e := range m.AnchorTagList {
  3746. l = e.Size()
  3747. n += 2 + l + sovApi(uint64(l))
  3748. }
  3749. }
  3750. if m.AnchorProfileType != 0 {
  3751. n += 2 + sovApi(uint64(m.AnchorProfileType))
  3752. }
  3753. if len(m.AnchorExp) > 0 {
  3754. for _, e := range m.AnchorExp {
  3755. l = e.Size()
  3756. n += 2 + l + sovApi(uint64(l))
  3757. }
  3758. }
  3759. if m.AnchorRoundSwitch != 0 {
  3760. n += 2 + sovApi(uint64(m.AnchorRoundSwitch))
  3761. }
  3762. if m.AnchorRoundStatus != 0 {
  3763. n += 2 + sovApi(uint64(m.AnchorRoundStatus))
  3764. }
  3765. if m.AnchorRecordSwitch != 0 {
  3766. n += 2 + sovApi(uint64(m.AnchorRecordSwitch))
  3767. }
  3768. if m.AnchorRecordStatus != 0 {
  3769. n += 2 + sovApi(uint64(m.AnchorRecordStatus))
  3770. }
  3771. if m.AnchorSan != 0 {
  3772. n += 2 + sovApi(uint64(m.AnchorSan))
  3773. }
  3774. if m.LiveType != 0 {
  3775. n += 2 + sovApi(uint64(m.LiveType))
  3776. }
  3777. if m.XXX_unrecognized != nil {
  3778. n += len(m.XXX_unrecognized)
  3779. }
  3780. return n
  3781. }
  3782. func (m *RoomByIDsReq) Size() (n int) {
  3783. if m == nil {
  3784. return 0
  3785. }
  3786. var l int
  3787. _ = l
  3788. if len(m.RoomIds) > 0 {
  3789. l = 0
  3790. for _, e := range m.RoomIds {
  3791. l += sovApi(uint64(e))
  3792. }
  3793. n += 1 + sovApi(uint64(l)) + l
  3794. }
  3795. if len(m.Uids) > 0 {
  3796. l = 0
  3797. for _, e := range m.Uids {
  3798. l += sovApi(uint64(e))
  3799. }
  3800. n += 1 + sovApi(uint64(l)) + l
  3801. }
  3802. if len(m.Fields) > 0 {
  3803. for _, s := range m.Fields {
  3804. l = len(s)
  3805. n += 1 + l + sovApi(uint64(l))
  3806. }
  3807. }
  3808. if m.DefaultFields != 0 {
  3809. n += 1 + sovApi(uint64(m.DefaultFields))
  3810. }
  3811. if m.XXX_unrecognized != nil {
  3812. n += len(m.XXX_unrecognized)
  3813. }
  3814. return n
  3815. }
  3816. func (m *RoomByIDsResp) Size() (n int) {
  3817. if m == nil {
  3818. return 0
  3819. }
  3820. var l int
  3821. _ = l
  3822. if len(m.RoomDataSet) > 0 {
  3823. for k, v := range m.RoomDataSet {
  3824. _ = k
  3825. _ = v
  3826. l = 0
  3827. if v != nil {
  3828. l = v.Size()
  3829. l += 1 + sovApi(uint64(l))
  3830. }
  3831. mapEntrySize := 1 + sovApi(uint64(k)) + l
  3832. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  3833. }
  3834. }
  3835. if m.XXX_unrecognized != nil {
  3836. n += len(m.XXX_unrecognized)
  3837. }
  3838. return n
  3839. }
  3840. func (m *RoomOnlineListReq) Size() (n int) {
  3841. if m == nil {
  3842. return 0
  3843. }
  3844. var l int
  3845. _ = l
  3846. l = len(m.Filter)
  3847. if l > 0 {
  3848. n += 1 + l + sovApi(uint64(l))
  3849. }
  3850. l = len(m.Sort)
  3851. if l > 0 {
  3852. n += 1 + l + sovApi(uint64(l))
  3853. }
  3854. if m.Page != 0 {
  3855. n += 1 + sovApi(uint64(m.Page))
  3856. }
  3857. if m.PageSize != 0 {
  3858. n += 1 + sovApi(uint64(m.PageSize))
  3859. }
  3860. if len(m.Fields) > 0 {
  3861. for _, s := range m.Fields {
  3862. l = len(s)
  3863. n += 1 + l + sovApi(uint64(l))
  3864. }
  3865. }
  3866. if m.XXX_unrecognized != nil {
  3867. n += len(m.XXX_unrecognized)
  3868. }
  3869. return n
  3870. }
  3871. func (m *RoomOnlineListResp) Size() (n int) {
  3872. if m == nil {
  3873. return 0
  3874. }
  3875. var l int
  3876. _ = l
  3877. if len(m.RoomDataList) > 0 {
  3878. for k, v := range m.RoomDataList {
  3879. _ = k
  3880. _ = v
  3881. l = 0
  3882. if v != nil {
  3883. l = v.Size()
  3884. l += 1 + sovApi(uint64(l))
  3885. }
  3886. mapEntrySize := 1 + sovApi(uint64(k)) + l
  3887. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  3888. }
  3889. }
  3890. if m.XXX_unrecognized != nil {
  3891. n += len(m.XXX_unrecognized)
  3892. }
  3893. return n
  3894. }
  3895. func (m *RoomCreateReq) Size() (n int) {
  3896. if m == nil {
  3897. return 0
  3898. }
  3899. var l int
  3900. _ = l
  3901. if m.Uid != 0 {
  3902. n += 1 + sovApi(uint64(m.Uid))
  3903. }
  3904. if m.RoomId != 0 {
  3905. n += 1 + sovApi(uint64(m.RoomId))
  3906. }
  3907. if m.XXX_unrecognized != nil {
  3908. n += len(m.XXX_unrecognized)
  3909. }
  3910. return n
  3911. }
  3912. func (m *RoomCreateResp) Size() (n int) {
  3913. if m == nil {
  3914. return 0
  3915. }
  3916. var l int
  3917. _ = l
  3918. if m.RoomId != 0 {
  3919. n += 1 + sovApi(uint64(m.RoomId))
  3920. }
  3921. if m.XXX_unrecognized != nil {
  3922. n += len(m.XXX_unrecognized)
  3923. }
  3924. return n
  3925. }
  3926. func (m *UpdateResp) Size() (n int) {
  3927. if m == nil {
  3928. return 0
  3929. }
  3930. var l int
  3931. _ = l
  3932. if m.AffectedRows != 0 {
  3933. n += 1 + sovApi(uint64(m.AffectedRows))
  3934. }
  3935. if m.XXX_unrecognized != nil {
  3936. n += len(m.XXX_unrecognized)
  3937. }
  3938. return n
  3939. }
  3940. func (m *RoomUpdateReq) Size() (n int) {
  3941. if m == nil {
  3942. return 0
  3943. }
  3944. var l int
  3945. _ = l
  3946. if len(m.Fields) > 0 {
  3947. for _, s := range m.Fields {
  3948. l = len(s)
  3949. n += 1 + l + sovApi(uint64(l))
  3950. }
  3951. }
  3952. if m.RoomId != 0 {
  3953. n += 1 + sovApi(uint64(m.RoomId))
  3954. }
  3955. l = len(m.Title)
  3956. if l > 0 {
  3957. n += 1 + l + sovApi(uint64(l))
  3958. }
  3959. l = len(m.Cover)
  3960. if l > 0 {
  3961. n += 1 + l + sovApi(uint64(l))
  3962. }
  3963. l = len(m.Tags)
  3964. if l > 0 {
  3965. n += 1 + l + sovApi(uint64(l))
  3966. }
  3967. l = len(m.Background)
  3968. if l > 0 {
  3969. n += 1 + l + sovApi(uint64(l))
  3970. }
  3971. l = len(m.Description)
  3972. if l > 0 {
  3973. n += 1 + l + sovApi(uint64(l))
  3974. }
  3975. if m.LiveStartTime != 0 {
  3976. n += 1 + sovApi(uint64(m.LiveStartTime))
  3977. }
  3978. if m.LiveScreenType != 0 {
  3979. n += 1 + sovApi(uint64(m.LiveScreenType))
  3980. }
  3981. if m.LockStatus != 0 {
  3982. n += 1 + sovApi(uint64(m.LockStatus))
  3983. }
  3984. if m.LockTime != 0 {
  3985. n += 1 + sovApi(uint64(m.LockTime))
  3986. }
  3987. if m.HiddenTime != 0 {
  3988. n += 1 + sovApi(uint64(m.HiddenTime))
  3989. }
  3990. if m.AreaId != 0 {
  3991. n += 1 + sovApi(uint64(m.AreaId))
  3992. }
  3993. if m.AnchorRoundSwitch != 0 {
  3994. n += 1 + sovApi(uint64(m.AnchorRoundSwitch))
  3995. }
  3996. if m.AnchorRecordSwitch != 0 {
  3997. n += 1 + sovApi(uint64(m.AnchorRecordSwitch))
  3998. }
  3999. if m.LiveType != 0 {
  4000. n += 2 + sovApi(uint64(m.LiveType))
  4001. }
  4002. if m.XXX_unrecognized != nil {
  4003. n += len(m.XXX_unrecognized)
  4004. }
  4005. return n
  4006. }
  4007. func (m *RoomBatchUpdateReq) Size() (n int) {
  4008. if m == nil {
  4009. return 0
  4010. }
  4011. var l int
  4012. _ = l
  4013. if len(m.Reqs) > 0 {
  4014. for _, e := range m.Reqs {
  4015. l = e.Size()
  4016. n += 1 + l + sovApi(uint64(l))
  4017. }
  4018. }
  4019. if m.XXX_unrecognized != nil {
  4020. n += len(m.XXX_unrecognized)
  4021. }
  4022. return n
  4023. }
  4024. func (m *AnchorData) Size() (n int) {
  4025. if m == nil {
  4026. return 0
  4027. }
  4028. var l int
  4029. _ = l
  4030. if m.Uid != 0 {
  4031. n += 1 + sovApi(uint64(m.Uid))
  4032. }
  4033. if m.ProfileType != 0 {
  4034. n += 1 + sovApi(uint64(m.ProfileType))
  4035. }
  4036. if len(m.Exp) > 0 {
  4037. for _, e := range m.Exp {
  4038. l = e.Size()
  4039. n += 1 + l + sovApi(uint64(l))
  4040. }
  4041. }
  4042. if m.XXX_unrecognized != nil {
  4043. n += len(m.XXX_unrecognized)
  4044. }
  4045. return n
  4046. }
  4047. func (m *AnchorUpdateReq) Size() (n int) {
  4048. if m == nil {
  4049. return 0
  4050. }
  4051. var l int
  4052. _ = l
  4053. if len(m.Fields) > 0 {
  4054. for _, s := range m.Fields {
  4055. l = len(s)
  4056. n += 1 + l + sovApi(uint64(l))
  4057. }
  4058. }
  4059. if m.Uid != 0 {
  4060. n += 1 + sovApi(uint64(m.Uid))
  4061. }
  4062. if m.ProfileType != 0 {
  4063. n += 1 + sovApi(uint64(m.ProfileType))
  4064. }
  4065. if m.SanScore != 0 {
  4066. n += 1 + sovApi(uint64(m.SanScore))
  4067. }
  4068. if m.RoundStatus != 0 {
  4069. n += 1 + sovApi(uint64(m.RoundStatus))
  4070. }
  4071. if m.RecordStatus != 0 {
  4072. n += 1 + sovApi(uint64(m.RecordStatus))
  4073. }
  4074. if m.Exp != 0 {
  4075. n += 1 + sovApi(uint64(m.Exp))
  4076. }
  4077. if m.XXX_unrecognized != nil {
  4078. n += len(m.XXX_unrecognized)
  4079. }
  4080. return n
  4081. }
  4082. func (m *AnchorBatchUpdateReq) Size() (n int) {
  4083. if m == nil {
  4084. return 0
  4085. }
  4086. var l int
  4087. _ = l
  4088. if len(m.Reqs) > 0 {
  4089. for _, e := range m.Reqs {
  4090. l = e.Size()
  4091. n += 1 + l + sovApi(uint64(l))
  4092. }
  4093. }
  4094. if m.XXX_unrecognized != nil {
  4095. n += len(m.XXX_unrecognized)
  4096. }
  4097. return n
  4098. }
  4099. func (m *AnchorIncreReq) Size() (n int) {
  4100. if m == nil {
  4101. return 0
  4102. }
  4103. var l int
  4104. _ = l
  4105. l = len(m.ReqId)
  4106. if l > 0 {
  4107. n += 1 + l + sovApi(uint64(l))
  4108. }
  4109. if len(m.Fields) > 0 {
  4110. for _, s := range m.Fields {
  4111. l = len(s)
  4112. n += 1 + l + sovApi(uint64(l))
  4113. }
  4114. }
  4115. if m.Uid != 0 {
  4116. n += 1 + sovApi(uint64(m.Uid))
  4117. }
  4118. if m.SanScore != 0 {
  4119. n += 1 + sovApi(uint64(m.SanScore))
  4120. }
  4121. if m.Exp != 0 {
  4122. n += 1 + sovApi(uint64(m.Exp))
  4123. }
  4124. if m.XXX_unrecognized != nil {
  4125. n += len(m.XXX_unrecognized)
  4126. }
  4127. return n
  4128. }
  4129. func (m *AnchorBatchIncreReq) Size() (n int) {
  4130. if m == nil {
  4131. return 0
  4132. }
  4133. var l int
  4134. _ = l
  4135. if len(m.Reqs) > 0 {
  4136. for _, e := range m.Reqs {
  4137. l = e.Size()
  4138. n += 1 + l + sovApi(uint64(l))
  4139. }
  4140. }
  4141. if m.XXX_unrecognized != nil {
  4142. n += len(m.XXX_unrecognized)
  4143. }
  4144. return n
  4145. }
  4146. func (m *RoomExtendUpdateReq) Size() (n int) {
  4147. if m == nil {
  4148. return 0
  4149. }
  4150. var l int
  4151. _ = l
  4152. if len(m.Fields) > 0 {
  4153. for _, s := range m.Fields {
  4154. l = len(s)
  4155. n += 1 + l + sovApi(uint64(l))
  4156. }
  4157. }
  4158. if m.RoomId != 0 {
  4159. n += 1 + sovApi(uint64(m.RoomId))
  4160. }
  4161. l = len(m.KeyFrame)
  4162. if l > 0 {
  4163. n += 1 + l + sovApi(uint64(l))
  4164. }
  4165. if m.DanmuCount != 0 {
  4166. n += 1 + sovApi(uint64(m.DanmuCount))
  4167. }
  4168. if m.PopularityCount != 0 {
  4169. n += 1 + sovApi(uint64(m.PopularityCount))
  4170. }
  4171. if m.AudienceCount != 0 {
  4172. n += 1 + sovApi(uint64(m.AudienceCount))
  4173. }
  4174. if m.GiftCount != 0 {
  4175. n += 1 + sovApi(uint64(m.GiftCount))
  4176. }
  4177. if m.GiftGoldAmount != 0 {
  4178. n += 1 + sovApi(uint64(m.GiftGoldAmount))
  4179. }
  4180. if m.GiftGoldCount != 0 {
  4181. n += 1 + sovApi(uint64(m.GiftGoldCount))
  4182. }
  4183. if m.XXX_unrecognized != nil {
  4184. n += len(m.XXX_unrecognized)
  4185. }
  4186. return n
  4187. }
  4188. func (m *RoomExtendBatchUpdateReq) Size() (n int) {
  4189. if m == nil {
  4190. return 0
  4191. }
  4192. var l int
  4193. _ = l
  4194. if len(m.Reqs) > 0 {
  4195. for _, e := range m.Reqs {
  4196. l = e.Size()
  4197. n += 1 + l + sovApi(uint64(l))
  4198. }
  4199. }
  4200. if m.XXX_unrecognized != nil {
  4201. n += len(m.XXX_unrecognized)
  4202. }
  4203. return n
  4204. }
  4205. func (m *RoomExtendIncreReq) Size() (n int) {
  4206. if m == nil {
  4207. return 0
  4208. }
  4209. var l int
  4210. _ = l
  4211. l = len(m.ReqId)
  4212. if l > 0 {
  4213. n += 1 + l + sovApi(uint64(l))
  4214. }
  4215. if len(m.Fields) > 0 {
  4216. for _, s := range m.Fields {
  4217. l = len(s)
  4218. n += 1 + l + sovApi(uint64(l))
  4219. }
  4220. }
  4221. if m.RoomId != 0 {
  4222. n += 1 + sovApi(uint64(m.RoomId))
  4223. }
  4224. if m.DanmuCount != 0 {
  4225. n += 1 + sovApi(uint64(m.DanmuCount))
  4226. }
  4227. if m.PopularityCount != 0 {
  4228. n += 1 + sovApi(uint64(m.PopularityCount))
  4229. }
  4230. if m.AudienceCount != 0 {
  4231. n += 1 + sovApi(uint64(m.AudienceCount))
  4232. }
  4233. if m.GiftCount != 0 {
  4234. n += 1 + sovApi(uint64(m.GiftCount))
  4235. }
  4236. if m.GiftGoldAmount != 0 {
  4237. n += 1 + sovApi(uint64(m.GiftGoldAmount))
  4238. }
  4239. if m.GiftGoldCount != 0 {
  4240. n += 1 + sovApi(uint64(m.GiftGoldCount))
  4241. }
  4242. if m.XXX_unrecognized != nil {
  4243. n += len(m.XXX_unrecognized)
  4244. }
  4245. return n
  4246. }
  4247. func (m *RoomExtendBatchIncreReq) Size() (n int) {
  4248. if m == nil {
  4249. return 0
  4250. }
  4251. var l int
  4252. _ = l
  4253. if len(m.Reqs) > 0 {
  4254. for _, e := range m.Reqs {
  4255. l = e.Size()
  4256. n += 1 + l + sovApi(uint64(l))
  4257. }
  4258. }
  4259. if m.XXX_unrecognized != nil {
  4260. n += len(m.XXX_unrecognized)
  4261. }
  4262. return n
  4263. }
  4264. func (m *RoomTagSetReq) Size() (n int) {
  4265. if m == nil {
  4266. return 0
  4267. }
  4268. var l int
  4269. _ = l
  4270. if len(m.Fields) > 0 {
  4271. for _, s := range m.Fields {
  4272. l = len(s)
  4273. n += 1 + l + sovApi(uint64(l))
  4274. }
  4275. }
  4276. if m.RoomId != 0 {
  4277. n += 1 + sovApi(uint64(m.RoomId))
  4278. }
  4279. if m.TagType != 0 {
  4280. n += 1 + sovApi(uint64(m.TagType))
  4281. }
  4282. if m.TagValue != 0 {
  4283. n += 1 + sovApi(uint64(m.TagValue))
  4284. }
  4285. l = len(m.TagAttribute)
  4286. if l > 0 {
  4287. n += 1 + l + sovApi(uint64(l))
  4288. }
  4289. if m.TagExpireAt != 0 {
  4290. n += 1 + sovApi(uint64(m.TagExpireAt))
  4291. }
  4292. if m.XXX_unrecognized != nil {
  4293. n += len(m.XXX_unrecognized)
  4294. }
  4295. return n
  4296. }
  4297. func (m *AnchorTagSetReq) Size() (n int) {
  4298. if m == nil {
  4299. return 0
  4300. }
  4301. var l int
  4302. _ = l
  4303. if len(m.Fields) > 0 {
  4304. for _, s := range m.Fields {
  4305. l = len(s)
  4306. n += 1 + l + sovApi(uint64(l))
  4307. }
  4308. }
  4309. if m.AnchorId != 0 {
  4310. n += 1 + sovApi(uint64(m.AnchorId))
  4311. }
  4312. if m.TagType != 0 {
  4313. n += 1 + sovApi(uint64(m.TagType))
  4314. }
  4315. if m.TagValue != 0 {
  4316. n += 1 + sovApi(uint64(m.TagValue))
  4317. }
  4318. l = len(m.TagAttribute)
  4319. if l > 0 {
  4320. n += 1 + l + sovApi(uint64(l))
  4321. }
  4322. if m.TagExpireAt != 0 {
  4323. n += 1 + sovApi(uint64(m.TagExpireAt))
  4324. }
  4325. if m.XXX_unrecognized != nil {
  4326. n += len(m.XXX_unrecognized)
  4327. }
  4328. return n
  4329. }
  4330. func sovApi(x uint64) (n int) {
  4331. for {
  4332. n++
  4333. x >>= 7
  4334. if x == 0 {
  4335. break
  4336. }
  4337. }
  4338. return n
  4339. }
  4340. func sozApi(x uint64) (n int) {
  4341. return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  4342. }
  4343. func (m *ExpData) Unmarshal(dAtA []byte) error {
  4344. l := len(dAtA)
  4345. iNdEx := 0
  4346. for iNdEx < l {
  4347. preIndex := iNdEx
  4348. var wire uint64
  4349. for shift := uint(0); ; shift += 7 {
  4350. if shift >= 64 {
  4351. return ErrIntOverflowApi
  4352. }
  4353. if iNdEx >= l {
  4354. return io.ErrUnexpectedEOF
  4355. }
  4356. b := dAtA[iNdEx]
  4357. iNdEx++
  4358. wire |= (uint64(b) & 0x7F) << shift
  4359. if b < 0x80 {
  4360. break
  4361. }
  4362. }
  4363. fieldNum := int32(wire >> 3)
  4364. wireType := int(wire & 0x7)
  4365. if wireType == 4 {
  4366. return fmt.Errorf("proto: ExpData: wiretype end group for non-group")
  4367. }
  4368. if fieldNum <= 0 {
  4369. return fmt.Errorf("proto: ExpData: illegal tag %d (wire type %d)", fieldNum, wire)
  4370. }
  4371. switch fieldNum {
  4372. case 1:
  4373. if wireType != 0 {
  4374. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  4375. }
  4376. m.Level = 0
  4377. for shift := uint(0); ; shift += 7 {
  4378. if shift >= 64 {
  4379. return ErrIntOverflowApi
  4380. }
  4381. if iNdEx >= l {
  4382. return io.ErrUnexpectedEOF
  4383. }
  4384. b := dAtA[iNdEx]
  4385. iNdEx++
  4386. m.Level |= (int64(b) & 0x7F) << shift
  4387. if b < 0x80 {
  4388. break
  4389. }
  4390. }
  4391. case 2:
  4392. if wireType != 0 {
  4393. return fmt.Errorf("proto: wrong wireType = %d for field NextLevel", wireType)
  4394. }
  4395. m.NextLevel = 0
  4396. for shift := uint(0); ; shift += 7 {
  4397. if shift >= 64 {
  4398. return ErrIntOverflowApi
  4399. }
  4400. if iNdEx >= l {
  4401. return io.ErrUnexpectedEOF
  4402. }
  4403. b := dAtA[iNdEx]
  4404. iNdEx++
  4405. m.NextLevel |= (int64(b) & 0x7F) << shift
  4406. if b < 0x80 {
  4407. break
  4408. }
  4409. }
  4410. case 3:
  4411. if wireType != 0 {
  4412. return fmt.Errorf("proto: wrong wireType = %d for field LevelColor", wireType)
  4413. }
  4414. m.LevelColor = 0
  4415. for shift := uint(0); ; shift += 7 {
  4416. if shift >= 64 {
  4417. return ErrIntOverflowApi
  4418. }
  4419. if iNdEx >= l {
  4420. return io.ErrUnexpectedEOF
  4421. }
  4422. b := dAtA[iNdEx]
  4423. iNdEx++
  4424. m.LevelColor |= (int64(b) & 0x7F) << shift
  4425. if b < 0x80 {
  4426. break
  4427. }
  4428. }
  4429. case 4:
  4430. if wireType != 0 {
  4431. return fmt.Errorf("proto: wrong wireType = %d for field Exp", wireType)
  4432. }
  4433. m.Exp = 0
  4434. for shift := uint(0); ; shift += 7 {
  4435. if shift >= 64 {
  4436. return ErrIntOverflowApi
  4437. }
  4438. if iNdEx >= l {
  4439. return io.ErrUnexpectedEOF
  4440. }
  4441. b := dAtA[iNdEx]
  4442. iNdEx++
  4443. m.Exp |= (int64(b) & 0x7F) << shift
  4444. if b < 0x80 {
  4445. break
  4446. }
  4447. }
  4448. case 5:
  4449. if wireType != 0 {
  4450. return fmt.Errorf("proto: wrong wireType = %d for field CurrentLevelExp", wireType)
  4451. }
  4452. m.CurrentLevelExp = 0
  4453. for shift := uint(0); ; shift += 7 {
  4454. if shift >= 64 {
  4455. return ErrIntOverflowApi
  4456. }
  4457. if iNdEx >= l {
  4458. return io.ErrUnexpectedEOF
  4459. }
  4460. b := dAtA[iNdEx]
  4461. iNdEx++
  4462. m.CurrentLevelExp |= (int64(b) & 0x7F) << shift
  4463. if b < 0x80 {
  4464. break
  4465. }
  4466. }
  4467. case 6:
  4468. if wireType != 0 {
  4469. return fmt.Errorf("proto: wrong wireType = %d for field NextLevelExp", wireType)
  4470. }
  4471. m.NextLevelExp = 0
  4472. for shift := uint(0); ; shift += 7 {
  4473. if shift >= 64 {
  4474. return ErrIntOverflowApi
  4475. }
  4476. if iNdEx >= l {
  4477. return io.ErrUnexpectedEOF
  4478. }
  4479. b := dAtA[iNdEx]
  4480. iNdEx++
  4481. m.NextLevelExp |= (int64(b) & 0x7F) << shift
  4482. if b < 0x80 {
  4483. break
  4484. }
  4485. }
  4486. default:
  4487. iNdEx = preIndex
  4488. skippy, err := skipApi(dAtA[iNdEx:])
  4489. if err != nil {
  4490. return err
  4491. }
  4492. if skippy < 0 {
  4493. return ErrInvalidLengthApi
  4494. }
  4495. if (iNdEx + skippy) > l {
  4496. return io.ErrUnexpectedEOF
  4497. }
  4498. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4499. iNdEx += skippy
  4500. }
  4501. }
  4502. if iNdEx > l {
  4503. return io.ErrUnexpectedEOF
  4504. }
  4505. return nil
  4506. }
  4507. func (m *TagData) Unmarshal(dAtA []byte) error {
  4508. l := len(dAtA)
  4509. iNdEx := 0
  4510. for iNdEx < l {
  4511. preIndex := iNdEx
  4512. var wire uint64
  4513. for shift := uint(0); ; shift += 7 {
  4514. if shift >= 64 {
  4515. return ErrIntOverflowApi
  4516. }
  4517. if iNdEx >= l {
  4518. return io.ErrUnexpectedEOF
  4519. }
  4520. b := dAtA[iNdEx]
  4521. iNdEx++
  4522. wire |= (uint64(b) & 0x7F) << shift
  4523. if b < 0x80 {
  4524. break
  4525. }
  4526. }
  4527. fieldNum := int32(wire >> 3)
  4528. wireType := int(wire & 0x7)
  4529. if wireType == 4 {
  4530. return fmt.Errorf("proto: TagData: wiretype end group for non-group")
  4531. }
  4532. if fieldNum <= 0 {
  4533. return fmt.Errorf("proto: TagData: illegal tag %d (wire type %d)", fieldNum, wire)
  4534. }
  4535. switch fieldNum {
  4536. case 1:
  4537. if wireType != 0 {
  4538. return fmt.Errorf("proto: wrong wireType = %d for field TagId", wireType)
  4539. }
  4540. m.TagId = 0
  4541. for shift := uint(0); ; shift += 7 {
  4542. if shift >= 64 {
  4543. return ErrIntOverflowApi
  4544. }
  4545. if iNdEx >= l {
  4546. return io.ErrUnexpectedEOF
  4547. }
  4548. b := dAtA[iNdEx]
  4549. iNdEx++
  4550. m.TagId |= (int64(b) & 0x7F) << shift
  4551. if b < 0x80 {
  4552. break
  4553. }
  4554. }
  4555. case 2:
  4556. if wireType != 0 {
  4557. return fmt.Errorf("proto: wrong wireType = %d for field TagType", wireType)
  4558. }
  4559. m.TagType = 0
  4560. for shift := uint(0); ; shift += 7 {
  4561. if shift >= 64 {
  4562. return ErrIntOverflowApi
  4563. }
  4564. if iNdEx >= l {
  4565. return io.ErrUnexpectedEOF
  4566. }
  4567. b := dAtA[iNdEx]
  4568. iNdEx++
  4569. m.TagType |= (int64(b) & 0x7F) << shift
  4570. if b < 0x80 {
  4571. break
  4572. }
  4573. }
  4574. case 3:
  4575. if wireType != 0 {
  4576. return fmt.Errorf("proto: wrong wireType = %d for field TagValue", wireType)
  4577. }
  4578. m.TagValue = 0
  4579. for shift := uint(0); ; shift += 7 {
  4580. if shift >= 64 {
  4581. return ErrIntOverflowApi
  4582. }
  4583. if iNdEx >= l {
  4584. return io.ErrUnexpectedEOF
  4585. }
  4586. b := dAtA[iNdEx]
  4587. iNdEx++
  4588. m.TagValue |= (int64(b) & 0x7F) << shift
  4589. if b < 0x80 {
  4590. break
  4591. }
  4592. }
  4593. case 4:
  4594. if wireType != 2 {
  4595. return fmt.Errorf("proto: wrong wireType = %d for field TagAttribute", wireType)
  4596. }
  4597. var stringLen uint64
  4598. for shift := uint(0); ; shift += 7 {
  4599. if shift >= 64 {
  4600. return ErrIntOverflowApi
  4601. }
  4602. if iNdEx >= l {
  4603. return io.ErrUnexpectedEOF
  4604. }
  4605. b := dAtA[iNdEx]
  4606. iNdEx++
  4607. stringLen |= (uint64(b) & 0x7F) << shift
  4608. if b < 0x80 {
  4609. break
  4610. }
  4611. }
  4612. intStringLen := int(stringLen)
  4613. if intStringLen < 0 {
  4614. return ErrInvalidLengthApi
  4615. }
  4616. postIndex := iNdEx + intStringLen
  4617. if postIndex > l {
  4618. return io.ErrUnexpectedEOF
  4619. }
  4620. m.TagAttribute = string(dAtA[iNdEx:postIndex])
  4621. iNdEx = postIndex
  4622. default:
  4623. iNdEx = preIndex
  4624. skippy, err := skipApi(dAtA[iNdEx:])
  4625. if err != nil {
  4626. return err
  4627. }
  4628. if skippy < 0 {
  4629. return ErrInvalidLengthApi
  4630. }
  4631. if (iNdEx + skippy) > l {
  4632. return io.ErrUnexpectedEOF
  4633. }
  4634. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4635. iNdEx += skippy
  4636. }
  4637. }
  4638. if iNdEx > l {
  4639. return io.ErrUnexpectedEOF
  4640. }
  4641. return nil
  4642. }
  4643. func (m *RoomData) Unmarshal(dAtA []byte) error {
  4644. l := len(dAtA)
  4645. iNdEx := 0
  4646. for iNdEx < l {
  4647. preIndex := iNdEx
  4648. var wire uint64
  4649. for shift := uint(0); ; shift += 7 {
  4650. if shift >= 64 {
  4651. return ErrIntOverflowApi
  4652. }
  4653. if iNdEx >= l {
  4654. return io.ErrUnexpectedEOF
  4655. }
  4656. b := dAtA[iNdEx]
  4657. iNdEx++
  4658. wire |= (uint64(b) & 0x7F) << shift
  4659. if b < 0x80 {
  4660. break
  4661. }
  4662. }
  4663. fieldNum := int32(wire >> 3)
  4664. wireType := int(wire & 0x7)
  4665. if wireType == 4 {
  4666. return fmt.Errorf("proto: RoomData: wiretype end group for non-group")
  4667. }
  4668. if fieldNum <= 0 {
  4669. return fmt.Errorf("proto: RoomData: illegal tag %d (wire type %d)", fieldNum, wire)
  4670. }
  4671. switch fieldNum {
  4672. case 1:
  4673. if wireType != 0 {
  4674. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  4675. }
  4676. m.Uid = 0
  4677. for shift := uint(0); ; shift += 7 {
  4678. if shift >= 64 {
  4679. return ErrIntOverflowApi
  4680. }
  4681. if iNdEx >= l {
  4682. return io.ErrUnexpectedEOF
  4683. }
  4684. b := dAtA[iNdEx]
  4685. iNdEx++
  4686. m.Uid |= (int64(b) & 0x7F) << shift
  4687. if b < 0x80 {
  4688. break
  4689. }
  4690. }
  4691. case 2:
  4692. if wireType != 0 {
  4693. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  4694. }
  4695. m.RoomId = 0
  4696. for shift := uint(0); ; shift += 7 {
  4697. if shift >= 64 {
  4698. return ErrIntOverflowApi
  4699. }
  4700. if iNdEx >= l {
  4701. return io.ErrUnexpectedEOF
  4702. }
  4703. b := dAtA[iNdEx]
  4704. iNdEx++
  4705. m.RoomId |= (int64(b) & 0x7F) << shift
  4706. if b < 0x80 {
  4707. break
  4708. }
  4709. }
  4710. case 3:
  4711. if wireType != 0 {
  4712. return fmt.Errorf("proto: wrong wireType = %d for field ShortId", wireType)
  4713. }
  4714. m.ShortId = 0
  4715. for shift := uint(0); ; shift += 7 {
  4716. if shift >= 64 {
  4717. return ErrIntOverflowApi
  4718. }
  4719. if iNdEx >= l {
  4720. return io.ErrUnexpectedEOF
  4721. }
  4722. b := dAtA[iNdEx]
  4723. iNdEx++
  4724. m.ShortId |= (int64(b) & 0x7F) << shift
  4725. if b < 0x80 {
  4726. break
  4727. }
  4728. }
  4729. case 4:
  4730. if wireType != 2 {
  4731. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  4732. }
  4733. var stringLen uint64
  4734. for shift := uint(0); ; shift += 7 {
  4735. if shift >= 64 {
  4736. return ErrIntOverflowApi
  4737. }
  4738. if iNdEx >= l {
  4739. return io.ErrUnexpectedEOF
  4740. }
  4741. b := dAtA[iNdEx]
  4742. iNdEx++
  4743. stringLen |= (uint64(b) & 0x7F) << shift
  4744. if b < 0x80 {
  4745. break
  4746. }
  4747. }
  4748. intStringLen := int(stringLen)
  4749. if intStringLen < 0 {
  4750. return ErrInvalidLengthApi
  4751. }
  4752. postIndex := iNdEx + intStringLen
  4753. if postIndex > l {
  4754. return io.ErrUnexpectedEOF
  4755. }
  4756. m.Title = string(dAtA[iNdEx:postIndex])
  4757. iNdEx = postIndex
  4758. case 5:
  4759. if wireType != 2 {
  4760. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  4761. }
  4762. var stringLen uint64
  4763. for shift := uint(0); ; shift += 7 {
  4764. if shift >= 64 {
  4765. return ErrIntOverflowApi
  4766. }
  4767. if iNdEx >= l {
  4768. return io.ErrUnexpectedEOF
  4769. }
  4770. b := dAtA[iNdEx]
  4771. iNdEx++
  4772. stringLen |= (uint64(b) & 0x7F) << shift
  4773. if b < 0x80 {
  4774. break
  4775. }
  4776. }
  4777. intStringLen := int(stringLen)
  4778. if intStringLen < 0 {
  4779. return ErrInvalidLengthApi
  4780. }
  4781. postIndex := iNdEx + intStringLen
  4782. if postIndex > l {
  4783. return io.ErrUnexpectedEOF
  4784. }
  4785. m.Cover = string(dAtA[iNdEx:postIndex])
  4786. iNdEx = postIndex
  4787. case 6:
  4788. if wireType != 2 {
  4789. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  4790. }
  4791. var stringLen uint64
  4792. for shift := uint(0); ; shift += 7 {
  4793. if shift >= 64 {
  4794. return ErrIntOverflowApi
  4795. }
  4796. if iNdEx >= l {
  4797. return io.ErrUnexpectedEOF
  4798. }
  4799. b := dAtA[iNdEx]
  4800. iNdEx++
  4801. stringLen |= (uint64(b) & 0x7F) << shift
  4802. if b < 0x80 {
  4803. break
  4804. }
  4805. }
  4806. intStringLen := int(stringLen)
  4807. if intStringLen < 0 {
  4808. return ErrInvalidLengthApi
  4809. }
  4810. postIndex := iNdEx + intStringLen
  4811. if postIndex > l {
  4812. return io.ErrUnexpectedEOF
  4813. }
  4814. m.Tags = string(dAtA[iNdEx:postIndex])
  4815. iNdEx = postIndex
  4816. case 7:
  4817. if wireType != 2 {
  4818. return fmt.Errorf("proto: wrong wireType = %d for field Background", wireType)
  4819. }
  4820. var stringLen uint64
  4821. for shift := uint(0); ; shift += 7 {
  4822. if shift >= 64 {
  4823. return ErrIntOverflowApi
  4824. }
  4825. if iNdEx >= l {
  4826. return io.ErrUnexpectedEOF
  4827. }
  4828. b := dAtA[iNdEx]
  4829. iNdEx++
  4830. stringLen |= (uint64(b) & 0x7F) << shift
  4831. if b < 0x80 {
  4832. break
  4833. }
  4834. }
  4835. intStringLen := int(stringLen)
  4836. if intStringLen < 0 {
  4837. return ErrInvalidLengthApi
  4838. }
  4839. postIndex := iNdEx + intStringLen
  4840. if postIndex > l {
  4841. return io.ErrUnexpectedEOF
  4842. }
  4843. m.Background = string(dAtA[iNdEx:postIndex])
  4844. iNdEx = postIndex
  4845. case 8:
  4846. if wireType != 2 {
  4847. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  4848. }
  4849. var stringLen uint64
  4850. for shift := uint(0); ; shift += 7 {
  4851. if shift >= 64 {
  4852. return ErrIntOverflowApi
  4853. }
  4854. if iNdEx >= l {
  4855. return io.ErrUnexpectedEOF
  4856. }
  4857. b := dAtA[iNdEx]
  4858. iNdEx++
  4859. stringLen |= (uint64(b) & 0x7F) << shift
  4860. if b < 0x80 {
  4861. break
  4862. }
  4863. }
  4864. intStringLen := int(stringLen)
  4865. if intStringLen < 0 {
  4866. return ErrInvalidLengthApi
  4867. }
  4868. postIndex := iNdEx + intStringLen
  4869. if postIndex > l {
  4870. return io.ErrUnexpectedEOF
  4871. }
  4872. m.Description = string(dAtA[iNdEx:postIndex])
  4873. iNdEx = postIndex
  4874. case 9:
  4875. if wireType != 0 {
  4876. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  4877. }
  4878. m.LiveStatus = 0
  4879. for shift := uint(0); ; shift += 7 {
  4880. if shift >= 64 {
  4881. return ErrIntOverflowApi
  4882. }
  4883. if iNdEx >= l {
  4884. return io.ErrUnexpectedEOF
  4885. }
  4886. b := dAtA[iNdEx]
  4887. iNdEx++
  4888. m.LiveStatus |= (int64(b) & 0x7F) << shift
  4889. if b < 0x80 {
  4890. break
  4891. }
  4892. }
  4893. case 10:
  4894. if wireType != 0 {
  4895. return fmt.Errorf("proto: wrong wireType = %d for field LiveStartTime", wireType)
  4896. }
  4897. m.LiveStartTime = 0
  4898. for shift := uint(0); ; shift += 7 {
  4899. if shift >= 64 {
  4900. return ErrIntOverflowApi
  4901. }
  4902. if iNdEx >= l {
  4903. return io.ErrUnexpectedEOF
  4904. }
  4905. b := dAtA[iNdEx]
  4906. iNdEx++
  4907. m.LiveStartTime |= (int64(b) & 0x7F) << shift
  4908. if b < 0x80 {
  4909. break
  4910. }
  4911. }
  4912. case 11:
  4913. if wireType != 0 {
  4914. return fmt.Errorf("proto: wrong wireType = %d for field LiveScreenType", wireType)
  4915. }
  4916. m.LiveScreenType = 0
  4917. for shift := uint(0); ; shift += 7 {
  4918. if shift >= 64 {
  4919. return ErrIntOverflowApi
  4920. }
  4921. if iNdEx >= l {
  4922. return io.ErrUnexpectedEOF
  4923. }
  4924. b := dAtA[iNdEx]
  4925. iNdEx++
  4926. m.LiveScreenType |= (int64(b) & 0x7F) << shift
  4927. if b < 0x80 {
  4928. break
  4929. }
  4930. }
  4931. case 12:
  4932. if wireType != 0 {
  4933. return fmt.Errorf("proto: wrong wireType = %d for field LiveMark", wireType)
  4934. }
  4935. m.LiveMark = 0
  4936. for shift := uint(0); ; shift += 7 {
  4937. if shift >= 64 {
  4938. return ErrIntOverflowApi
  4939. }
  4940. if iNdEx >= l {
  4941. return io.ErrUnexpectedEOF
  4942. }
  4943. b := dAtA[iNdEx]
  4944. iNdEx++
  4945. m.LiveMark |= (int64(b) & 0x7F) << shift
  4946. if b < 0x80 {
  4947. break
  4948. }
  4949. }
  4950. case 13:
  4951. if wireType != 0 {
  4952. return fmt.Errorf("proto: wrong wireType = %d for field LockStatus", wireType)
  4953. }
  4954. m.LockStatus = 0
  4955. for shift := uint(0); ; shift += 7 {
  4956. if shift >= 64 {
  4957. return ErrIntOverflowApi
  4958. }
  4959. if iNdEx >= l {
  4960. return io.ErrUnexpectedEOF
  4961. }
  4962. b := dAtA[iNdEx]
  4963. iNdEx++
  4964. m.LockStatus |= (int64(b) & 0x7F) << shift
  4965. if b < 0x80 {
  4966. break
  4967. }
  4968. }
  4969. case 14:
  4970. if wireType != 0 {
  4971. return fmt.Errorf("proto: wrong wireType = %d for field LockTime", wireType)
  4972. }
  4973. m.LockTime = 0
  4974. for shift := uint(0); ; shift += 7 {
  4975. if shift >= 64 {
  4976. return ErrIntOverflowApi
  4977. }
  4978. if iNdEx >= l {
  4979. return io.ErrUnexpectedEOF
  4980. }
  4981. b := dAtA[iNdEx]
  4982. iNdEx++
  4983. m.LockTime |= (int64(b) & 0x7F) << shift
  4984. if b < 0x80 {
  4985. break
  4986. }
  4987. }
  4988. case 15:
  4989. if wireType != 0 {
  4990. return fmt.Errorf("proto: wrong wireType = %d for field HiddenStatus", wireType)
  4991. }
  4992. m.HiddenStatus = 0
  4993. for shift := uint(0); ; shift += 7 {
  4994. if shift >= 64 {
  4995. return ErrIntOverflowApi
  4996. }
  4997. if iNdEx >= l {
  4998. return io.ErrUnexpectedEOF
  4999. }
  5000. b := dAtA[iNdEx]
  5001. iNdEx++
  5002. m.HiddenStatus |= (int64(b) & 0x7F) << shift
  5003. if b < 0x80 {
  5004. break
  5005. }
  5006. }
  5007. case 16:
  5008. if wireType != 0 {
  5009. return fmt.Errorf("proto: wrong wireType = %d for field HiddenTime", wireType)
  5010. }
  5011. m.HiddenTime = 0
  5012. for shift := uint(0); ; shift += 7 {
  5013. if shift >= 64 {
  5014. return ErrIntOverflowApi
  5015. }
  5016. if iNdEx >= l {
  5017. return io.ErrUnexpectedEOF
  5018. }
  5019. b := dAtA[iNdEx]
  5020. iNdEx++
  5021. m.HiddenTime |= (int64(b) & 0x7F) << shift
  5022. if b < 0x80 {
  5023. break
  5024. }
  5025. }
  5026. case 17:
  5027. if wireType != 0 {
  5028. return fmt.Errorf("proto: wrong wireType = %d for field AreaId", wireType)
  5029. }
  5030. m.AreaId = 0
  5031. for shift := uint(0); ; shift += 7 {
  5032. if shift >= 64 {
  5033. return ErrIntOverflowApi
  5034. }
  5035. if iNdEx >= l {
  5036. return io.ErrUnexpectedEOF
  5037. }
  5038. b := dAtA[iNdEx]
  5039. iNdEx++
  5040. m.AreaId |= (int64(b) & 0x7F) << shift
  5041. if b < 0x80 {
  5042. break
  5043. }
  5044. }
  5045. case 18:
  5046. if wireType != 2 {
  5047. return fmt.Errorf("proto: wrong wireType = %d for field AreaName", wireType)
  5048. }
  5049. var stringLen uint64
  5050. for shift := uint(0); ; shift += 7 {
  5051. if shift >= 64 {
  5052. return ErrIntOverflowApi
  5053. }
  5054. if iNdEx >= l {
  5055. return io.ErrUnexpectedEOF
  5056. }
  5057. b := dAtA[iNdEx]
  5058. iNdEx++
  5059. stringLen |= (uint64(b) & 0x7F) << shift
  5060. if b < 0x80 {
  5061. break
  5062. }
  5063. }
  5064. intStringLen := int(stringLen)
  5065. if intStringLen < 0 {
  5066. return ErrInvalidLengthApi
  5067. }
  5068. postIndex := iNdEx + intStringLen
  5069. if postIndex > l {
  5070. return io.ErrUnexpectedEOF
  5071. }
  5072. m.AreaName = string(dAtA[iNdEx:postIndex])
  5073. iNdEx = postIndex
  5074. case 19:
  5075. if wireType != 0 {
  5076. return fmt.Errorf("proto: wrong wireType = %d for field ParentAreaId", wireType)
  5077. }
  5078. m.ParentAreaId = 0
  5079. for shift := uint(0); ; shift += 7 {
  5080. if shift >= 64 {
  5081. return ErrIntOverflowApi
  5082. }
  5083. if iNdEx >= l {
  5084. return io.ErrUnexpectedEOF
  5085. }
  5086. b := dAtA[iNdEx]
  5087. iNdEx++
  5088. m.ParentAreaId |= (int64(b) & 0x7F) << shift
  5089. if b < 0x80 {
  5090. break
  5091. }
  5092. }
  5093. case 20:
  5094. if wireType != 2 {
  5095. return fmt.Errorf("proto: wrong wireType = %d for field ParentAreaName", wireType)
  5096. }
  5097. var stringLen uint64
  5098. for shift := uint(0); ; shift += 7 {
  5099. if shift >= 64 {
  5100. return ErrIntOverflowApi
  5101. }
  5102. if iNdEx >= l {
  5103. return io.ErrUnexpectedEOF
  5104. }
  5105. b := dAtA[iNdEx]
  5106. iNdEx++
  5107. stringLen |= (uint64(b) & 0x7F) << shift
  5108. if b < 0x80 {
  5109. break
  5110. }
  5111. }
  5112. intStringLen := int(stringLen)
  5113. if intStringLen < 0 {
  5114. return ErrInvalidLengthApi
  5115. }
  5116. postIndex := iNdEx + intStringLen
  5117. if postIndex > l {
  5118. return io.ErrUnexpectedEOF
  5119. }
  5120. m.ParentAreaName = string(dAtA[iNdEx:postIndex])
  5121. iNdEx = postIndex
  5122. case 21:
  5123. if wireType != 2 {
  5124. return fmt.Errorf("proto: wrong wireType = %d for field Keyframe", wireType)
  5125. }
  5126. var stringLen uint64
  5127. for shift := uint(0); ; shift += 7 {
  5128. if shift >= 64 {
  5129. return ErrIntOverflowApi
  5130. }
  5131. if iNdEx >= l {
  5132. return io.ErrUnexpectedEOF
  5133. }
  5134. b := dAtA[iNdEx]
  5135. iNdEx++
  5136. stringLen |= (uint64(b) & 0x7F) << shift
  5137. if b < 0x80 {
  5138. break
  5139. }
  5140. }
  5141. intStringLen := int(stringLen)
  5142. if intStringLen < 0 {
  5143. return ErrInvalidLengthApi
  5144. }
  5145. postIndex := iNdEx + intStringLen
  5146. if postIndex > l {
  5147. return io.ErrUnexpectedEOF
  5148. }
  5149. m.Keyframe = string(dAtA[iNdEx:postIndex])
  5150. iNdEx = postIndex
  5151. case 22:
  5152. if wireType != 0 {
  5153. return fmt.Errorf("proto: wrong wireType = %d for field PopularityCount", wireType)
  5154. }
  5155. m.PopularityCount = 0
  5156. for shift := uint(0); ; shift += 7 {
  5157. if shift >= 64 {
  5158. return ErrIntOverflowApi
  5159. }
  5160. if iNdEx >= l {
  5161. return io.ErrUnexpectedEOF
  5162. }
  5163. b := dAtA[iNdEx]
  5164. iNdEx++
  5165. m.PopularityCount |= (int64(b) & 0x7F) << shift
  5166. if b < 0x80 {
  5167. break
  5168. }
  5169. }
  5170. case 23:
  5171. if wireType != 2 {
  5172. return fmt.Errorf("proto: wrong wireType = %d for field RoomTagList", wireType)
  5173. }
  5174. var msglen int
  5175. for shift := uint(0); ; shift += 7 {
  5176. if shift >= 64 {
  5177. return ErrIntOverflowApi
  5178. }
  5179. if iNdEx >= l {
  5180. return io.ErrUnexpectedEOF
  5181. }
  5182. b := dAtA[iNdEx]
  5183. iNdEx++
  5184. msglen |= (int(b) & 0x7F) << shift
  5185. if b < 0x80 {
  5186. break
  5187. }
  5188. }
  5189. if msglen < 0 {
  5190. return ErrInvalidLengthApi
  5191. }
  5192. postIndex := iNdEx + msglen
  5193. if postIndex > l {
  5194. return io.ErrUnexpectedEOF
  5195. }
  5196. m.RoomTagList = append(m.RoomTagList, &TagData{})
  5197. if err := m.RoomTagList[len(m.RoomTagList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5198. return err
  5199. }
  5200. iNdEx = postIndex
  5201. case 24:
  5202. if wireType != 2 {
  5203. return fmt.Errorf("proto: wrong wireType = %d for field AnchorTagList", wireType)
  5204. }
  5205. var msglen int
  5206. for shift := uint(0); ; shift += 7 {
  5207. if shift >= 64 {
  5208. return ErrIntOverflowApi
  5209. }
  5210. if iNdEx >= l {
  5211. return io.ErrUnexpectedEOF
  5212. }
  5213. b := dAtA[iNdEx]
  5214. iNdEx++
  5215. msglen |= (int(b) & 0x7F) << shift
  5216. if b < 0x80 {
  5217. break
  5218. }
  5219. }
  5220. if msglen < 0 {
  5221. return ErrInvalidLengthApi
  5222. }
  5223. postIndex := iNdEx + msglen
  5224. if postIndex > l {
  5225. return io.ErrUnexpectedEOF
  5226. }
  5227. m.AnchorTagList = append(m.AnchorTagList, &TagData{})
  5228. if err := m.AnchorTagList[len(m.AnchorTagList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5229. return err
  5230. }
  5231. iNdEx = postIndex
  5232. case 25:
  5233. if wireType != 0 {
  5234. return fmt.Errorf("proto: wrong wireType = %d for field AnchorProfileType", wireType)
  5235. }
  5236. m.AnchorProfileType = 0
  5237. for shift := uint(0); ; shift += 7 {
  5238. if shift >= 64 {
  5239. return ErrIntOverflowApi
  5240. }
  5241. if iNdEx >= l {
  5242. return io.ErrUnexpectedEOF
  5243. }
  5244. b := dAtA[iNdEx]
  5245. iNdEx++
  5246. m.AnchorProfileType |= (int64(b) & 0x7F) << shift
  5247. if b < 0x80 {
  5248. break
  5249. }
  5250. }
  5251. case 26:
  5252. if wireType != 2 {
  5253. return fmt.Errorf("proto: wrong wireType = %d for field AnchorExp", wireType)
  5254. }
  5255. var msglen int
  5256. for shift := uint(0); ; shift += 7 {
  5257. if shift >= 64 {
  5258. return ErrIntOverflowApi
  5259. }
  5260. if iNdEx >= l {
  5261. return io.ErrUnexpectedEOF
  5262. }
  5263. b := dAtA[iNdEx]
  5264. iNdEx++
  5265. msglen |= (int(b) & 0x7F) << shift
  5266. if b < 0x80 {
  5267. break
  5268. }
  5269. }
  5270. if msglen < 0 {
  5271. return ErrInvalidLengthApi
  5272. }
  5273. postIndex := iNdEx + msglen
  5274. if postIndex > l {
  5275. return io.ErrUnexpectedEOF
  5276. }
  5277. m.AnchorExp = append(m.AnchorExp, &ExpData{})
  5278. if err := m.AnchorExp[len(m.AnchorExp)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5279. return err
  5280. }
  5281. iNdEx = postIndex
  5282. case 27:
  5283. if wireType != 0 {
  5284. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRoundSwitch", wireType)
  5285. }
  5286. m.AnchorRoundSwitch = 0
  5287. for shift := uint(0); ; shift += 7 {
  5288. if shift >= 64 {
  5289. return ErrIntOverflowApi
  5290. }
  5291. if iNdEx >= l {
  5292. return io.ErrUnexpectedEOF
  5293. }
  5294. b := dAtA[iNdEx]
  5295. iNdEx++
  5296. m.AnchorRoundSwitch |= (int64(b) & 0x7F) << shift
  5297. if b < 0x80 {
  5298. break
  5299. }
  5300. }
  5301. case 28:
  5302. if wireType != 0 {
  5303. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRoundStatus", wireType)
  5304. }
  5305. m.AnchorRoundStatus = 0
  5306. for shift := uint(0); ; shift += 7 {
  5307. if shift >= 64 {
  5308. return ErrIntOverflowApi
  5309. }
  5310. if iNdEx >= l {
  5311. return io.ErrUnexpectedEOF
  5312. }
  5313. b := dAtA[iNdEx]
  5314. iNdEx++
  5315. m.AnchorRoundStatus |= (int64(b) & 0x7F) << shift
  5316. if b < 0x80 {
  5317. break
  5318. }
  5319. }
  5320. case 29:
  5321. if wireType != 0 {
  5322. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRecordSwitch", wireType)
  5323. }
  5324. m.AnchorRecordSwitch = 0
  5325. for shift := uint(0); ; shift += 7 {
  5326. if shift >= 64 {
  5327. return ErrIntOverflowApi
  5328. }
  5329. if iNdEx >= l {
  5330. return io.ErrUnexpectedEOF
  5331. }
  5332. b := dAtA[iNdEx]
  5333. iNdEx++
  5334. m.AnchorRecordSwitch |= (int64(b) & 0x7F) << shift
  5335. if b < 0x80 {
  5336. break
  5337. }
  5338. }
  5339. case 30:
  5340. if wireType != 0 {
  5341. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRecordStatus", wireType)
  5342. }
  5343. m.AnchorRecordStatus = 0
  5344. for shift := uint(0); ; shift += 7 {
  5345. if shift >= 64 {
  5346. return ErrIntOverflowApi
  5347. }
  5348. if iNdEx >= l {
  5349. return io.ErrUnexpectedEOF
  5350. }
  5351. b := dAtA[iNdEx]
  5352. iNdEx++
  5353. m.AnchorRecordStatus |= (int64(b) & 0x7F) << shift
  5354. if b < 0x80 {
  5355. break
  5356. }
  5357. }
  5358. case 31:
  5359. if wireType != 0 {
  5360. return fmt.Errorf("proto: wrong wireType = %d for field AnchorSan", wireType)
  5361. }
  5362. m.AnchorSan = 0
  5363. for shift := uint(0); ; shift += 7 {
  5364. if shift >= 64 {
  5365. return ErrIntOverflowApi
  5366. }
  5367. if iNdEx >= l {
  5368. return io.ErrUnexpectedEOF
  5369. }
  5370. b := dAtA[iNdEx]
  5371. iNdEx++
  5372. m.AnchorSan |= (int64(b) & 0x7F) << shift
  5373. if b < 0x80 {
  5374. break
  5375. }
  5376. }
  5377. case 32:
  5378. if wireType != 0 {
  5379. return fmt.Errorf("proto: wrong wireType = %d for field LiveType", wireType)
  5380. }
  5381. m.LiveType = 0
  5382. for shift := uint(0); ; shift += 7 {
  5383. if shift >= 64 {
  5384. return ErrIntOverflowApi
  5385. }
  5386. if iNdEx >= l {
  5387. return io.ErrUnexpectedEOF
  5388. }
  5389. b := dAtA[iNdEx]
  5390. iNdEx++
  5391. m.LiveType |= (int64(b) & 0x7F) << shift
  5392. if b < 0x80 {
  5393. break
  5394. }
  5395. }
  5396. default:
  5397. iNdEx = preIndex
  5398. skippy, err := skipApi(dAtA[iNdEx:])
  5399. if err != nil {
  5400. return err
  5401. }
  5402. if skippy < 0 {
  5403. return ErrInvalidLengthApi
  5404. }
  5405. if (iNdEx + skippy) > l {
  5406. return io.ErrUnexpectedEOF
  5407. }
  5408. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5409. iNdEx += skippy
  5410. }
  5411. }
  5412. if iNdEx > l {
  5413. return io.ErrUnexpectedEOF
  5414. }
  5415. return nil
  5416. }
  5417. func (m *RoomByIDsReq) Unmarshal(dAtA []byte) error {
  5418. l := len(dAtA)
  5419. iNdEx := 0
  5420. for iNdEx < l {
  5421. preIndex := iNdEx
  5422. var wire uint64
  5423. for shift := uint(0); ; shift += 7 {
  5424. if shift >= 64 {
  5425. return ErrIntOverflowApi
  5426. }
  5427. if iNdEx >= l {
  5428. return io.ErrUnexpectedEOF
  5429. }
  5430. b := dAtA[iNdEx]
  5431. iNdEx++
  5432. wire |= (uint64(b) & 0x7F) << shift
  5433. if b < 0x80 {
  5434. break
  5435. }
  5436. }
  5437. fieldNum := int32(wire >> 3)
  5438. wireType := int(wire & 0x7)
  5439. if wireType == 4 {
  5440. return fmt.Errorf("proto: RoomByIDsReq: wiretype end group for non-group")
  5441. }
  5442. if fieldNum <= 0 {
  5443. return fmt.Errorf("proto: RoomByIDsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5444. }
  5445. switch fieldNum {
  5446. case 1:
  5447. if wireType == 0 {
  5448. var v int64
  5449. for shift := uint(0); ; shift += 7 {
  5450. if shift >= 64 {
  5451. return ErrIntOverflowApi
  5452. }
  5453. if iNdEx >= l {
  5454. return io.ErrUnexpectedEOF
  5455. }
  5456. b := dAtA[iNdEx]
  5457. iNdEx++
  5458. v |= (int64(b) & 0x7F) << shift
  5459. if b < 0x80 {
  5460. break
  5461. }
  5462. }
  5463. m.RoomIds = append(m.RoomIds, v)
  5464. } else if wireType == 2 {
  5465. var packedLen int
  5466. for shift := uint(0); ; shift += 7 {
  5467. if shift >= 64 {
  5468. return ErrIntOverflowApi
  5469. }
  5470. if iNdEx >= l {
  5471. return io.ErrUnexpectedEOF
  5472. }
  5473. b := dAtA[iNdEx]
  5474. iNdEx++
  5475. packedLen |= (int(b) & 0x7F) << shift
  5476. if b < 0x80 {
  5477. break
  5478. }
  5479. }
  5480. if packedLen < 0 {
  5481. return ErrInvalidLengthApi
  5482. }
  5483. postIndex := iNdEx + packedLen
  5484. if postIndex > l {
  5485. return io.ErrUnexpectedEOF
  5486. }
  5487. var elementCount int
  5488. var count int
  5489. for _, integer := range dAtA {
  5490. if integer < 128 {
  5491. count++
  5492. }
  5493. }
  5494. elementCount = count
  5495. if elementCount != 0 && len(m.RoomIds) == 0 {
  5496. m.RoomIds = make([]int64, 0, elementCount)
  5497. }
  5498. for iNdEx < postIndex {
  5499. var v int64
  5500. for shift := uint(0); ; shift += 7 {
  5501. if shift >= 64 {
  5502. return ErrIntOverflowApi
  5503. }
  5504. if iNdEx >= l {
  5505. return io.ErrUnexpectedEOF
  5506. }
  5507. b := dAtA[iNdEx]
  5508. iNdEx++
  5509. v |= (int64(b) & 0x7F) << shift
  5510. if b < 0x80 {
  5511. break
  5512. }
  5513. }
  5514. m.RoomIds = append(m.RoomIds, v)
  5515. }
  5516. } else {
  5517. return fmt.Errorf("proto: wrong wireType = %d for field RoomIds", wireType)
  5518. }
  5519. case 2:
  5520. if wireType == 0 {
  5521. var v int64
  5522. for shift := uint(0); ; shift += 7 {
  5523. if shift >= 64 {
  5524. return ErrIntOverflowApi
  5525. }
  5526. if iNdEx >= l {
  5527. return io.ErrUnexpectedEOF
  5528. }
  5529. b := dAtA[iNdEx]
  5530. iNdEx++
  5531. v |= (int64(b) & 0x7F) << shift
  5532. if b < 0x80 {
  5533. break
  5534. }
  5535. }
  5536. m.Uids = append(m.Uids, v)
  5537. } else if wireType == 2 {
  5538. var packedLen int
  5539. for shift := uint(0); ; shift += 7 {
  5540. if shift >= 64 {
  5541. return ErrIntOverflowApi
  5542. }
  5543. if iNdEx >= l {
  5544. return io.ErrUnexpectedEOF
  5545. }
  5546. b := dAtA[iNdEx]
  5547. iNdEx++
  5548. packedLen |= (int(b) & 0x7F) << shift
  5549. if b < 0x80 {
  5550. break
  5551. }
  5552. }
  5553. if packedLen < 0 {
  5554. return ErrInvalidLengthApi
  5555. }
  5556. postIndex := iNdEx + packedLen
  5557. if postIndex > l {
  5558. return io.ErrUnexpectedEOF
  5559. }
  5560. var elementCount int
  5561. var count int
  5562. for _, integer := range dAtA {
  5563. if integer < 128 {
  5564. count++
  5565. }
  5566. }
  5567. elementCount = count
  5568. if elementCount != 0 && len(m.Uids) == 0 {
  5569. m.Uids = make([]int64, 0, elementCount)
  5570. }
  5571. for iNdEx < postIndex {
  5572. var v int64
  5573. for shift := uint(0); ; shift += 7 {
  5574. if shift >= 64 {
  5575. return ErrIntOverflowApi
  5576. }
  5577. if iNdEx >= l {
  5578. return io.ErrUnexpectedEOF
  5579. }
  5580. b := dAtA[iNdEx]
  5581. iNdEx++
  5582. v |= (int64(b) & 0x7F) << shift
  5583. if b < 0x80 {
  5584. break
  5585. }
  5586. }
  5587. m.Uids = append(m.Uids, v)
  5588. }
  5589. } else {
  5590. return fmt.Errorf("proto: wrong wireType = %d for field Uids", wireType)
  5591. }
  5592. case 3:
  5593. if wireType != 2 {
  5594. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  5595. }
  5596. var stringLen uint64
  5597. for shift := uint(0); ; shift += 7 {
  5598. if shift >= 64 {
  5599. return ErrIntOverflowApi
  5600. }
  5601. if iNdEx >= l {
  5602. return io.ErrUnexpectedEOF
  5603. }
  5604. b := dAtA[iNdEx]
  5605. iNdEx++
  5606. stringLen |= (uint64(b) & 0x7F) << shift
  5607. if b < 0x80 {
  5608. break
  5609. }
  5610. }
  5611. intStringLen := int(stringLen)
  5612. if intStringLen < 0 {
  5613. return ErrInvalidLengthApi
  5614. }
  5615. postIndex := iNdEx + intStringLen
  5616. if postIndex > l {
  5617. return io.ErrUnexpectedEOF
  5618. }
  5619. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  5620. iNdEx = postIndex
  5621. case 4:
  5622. if wireType != 0 {
  5623. return fmt.Errorf("proto: wrong wireType = %d for field DefaultFields", wireType)
  5624. }
  5625. m.DefaultFields = 0
  5626. for shift := uint(0); ; shift += 7 {
  5627. if shift >= 64 {
  5628. return ErrIntOverflowApi
  5629. }
  5630. if iNdEx >= l {
  5631. return io.ErrUnexpectedEOF
  5632. }
  5633. b := dAtA[iNdEx]
  5634. iNdEx++
  5635. m.DefaultFields |= (int64(b) & 0x7F) << shift
  5636. if b < 0x80 {
  5637. break
  5638. }
  5639. }
  5640. default:
  5641. iNdEx = preIndex
  5642. skippy, err := skipApi(dAtA[iNdEx:])
  5643. if err != nil {
  5644. return err
  5645. }
  5646. if skippy < 0 {
  5647. return ErrInvalidLengthApi
  5648. }
  5649. if (iNdEx + skippy) > l {
  5650. return io.ErrUnexpectedEOF
  5651. }
  5652. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5653. iNdEx += skippy
  5654. }
  5655. }
  5656. if iNdEx > l {
  5657. return io.ErrUnexpectedEOF
  5658. }
  5659. return nil
  5660. }
  5661. func (m *RoomByIDsResp) Unmarshal(dAtA []byte) error {
  5662. l := len(dAtA)
  5663. iNdEx := 0
  5664. for iNdEx < l {
  5665. preIndex := iNdEx
  5666. var wire uint64
  5667. for shift := uint(0); ; shift += 7 {
  5668. if shift >= 64 {
  5669. return ErrIntOverflowApi
  5670. }
  5671. if iNdEx >= l {
  5672. return io.ErrUnexpectedEOF
  5673. }
  5674. b := dAtA[iNdEx]
  5675. iNdEx++
  5676. wire |= (uint64(b) & 0x7F) << shift
  5677. if b < 0x80 {
  5678. break
  5679. }
  5680. }
  5681. fieldNum := int32(wire >> 3)
  5682. wireType := int(wire & 0x7)
  5683. if wireType == 4 {
  5684. return fmt.Errorf("proto: RoomByIDsResp: wiretype end group for non-group")
  5685. }
  5686. if fieldNum <= 0 {
  5687. return fmt.Errorf("proto: RoomByIDsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5688. }
  5689. switch fieldNum {
  5690. case 1:
  5691. if wireType != 2 {
  5692. return fmt.Errorf("proto: wrong wireType = %d for field RoomDataSet", wireType)
  5693. }
  5694. var msglen int
  5695. for shift := uint(0); ; shift += 7 {
  5696. if shift >= 64 {
  5697. return ErrIntOverflowApi
  5698. }
  5699. if iNdEx >= l {
  5700. return io.ErrUnexpectedEOF
  5701. }
  5702. b := dAtA[iNdEx]
  5703. iNdEx++
  5704. msglen |= (int(b) & 0x7F) << shift
  5705. if b < 0x80 {
  5706. break
  5707. }
  5708. }
  5709. if msglen < 0 {
  5710. return ErrInvalidLengthApi
  5711. }
  5712. postIndex := iNdEx + msglen
  5713. if postIndex > l {
  5714. return io.ErrUnexpectedEOF
  5715. }
  5716. if m.RoomDataSet == nil {
  5717. m.RoomDataSet = make(map[int64]*RoomData)
  5718. }
  5719. var mapkey int64
  5720. var mapvalue *RoomData
  5721. for iNdEx < postIndex {
  5722. entryPreIndex := iNdEx
  5723. var wire uint64
  5724. for shift := uint(0); ; shift += 7 {
  5725. if shift >= 64 {
  5726. return ErrIntOverflowApi
  5727. }
  5728. if iNdEx >= l {
  5729. return io.ErrUnexpectedEOF
  5730. }
  5731. b := dAtA[iNdEx]
  5732. iNdEx++
  5733. wire |= (uint64(b) & 0x7F) << shift
  5734. if b < 0x80 {
  5735. break
  5736. }
  5737. }
  5738. fieldNum := int32(wire >> 3)
  5739. if fieldNum == 1 {
  5740. for shift := uint(0); ; shift += 7 {
  5741. if shift >= 64 {
  5742. return ErrIntOverflowApi
  5743. }
  5744. if iNdEx >= l {
  5745. return io.ErrUnexpectedEOF
  5746. }
  5747. b := dAtA[iNdEx]
  5748. iNdEx++
  5749. mapkey |= (int64(b) & 0x7F) << shift
  5750. if b < 0x80 {
  5751. break
  5752. }
  5753. }
  5754. } else if fieldNum == 2 {
  5755. var mapmsglen int
  5756. for shift := uint(0); ; shift += 7 {
  5757. if shift >= 64 {
  5758. return ErrIntOverflowApi
  5759. }
  5760. if iNdEx >= l {
  5761. return io.ErrUnexpectedEOF
  5762. }
  5763. b := dAtA[iNdEx]
  5764. iNdEx++
  5765. mapmsglen |= (int(b) & 0x7F) << shift
  5766. if b < 0x80 {
  5767. break
  5768. }
  5769. }
  5770. if mapmsglen < 0 {
  5771. return ErrInvalidLengthApi
  5772. }
  5773. postmsgIndex := iNdEx + mapmsglen
  5774. if mapmsglen < 0 {
  5775. return ErrInvalidLengthApi
  5776. }
  5777. if postmsgIndex > l {
  5778. return io.ErrUnexpectedEOF
  5779. }
  5780. mapvalue = &RoomData{}
  5781. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  5782. return err
  5783. }
  5784. iNdEx = postmsgIndex
  5785. } else {
  5786. iNdEx = entryPreIndex
  5787. skippy, err := skipApi(dAtA[iNdEx:])
  5788. if err != nil {
  5789. return err
  5790. }
  5791. if skippy < 0 {
  5792. return ErrInvalidLengthApi
  5793. }
  5794. if (iNdEx + skippy) > postIndex {
  5795. return io.ErrUnexpectedEOF
  5796. }
  5797. iNdEx += skippy
  5798. }
  5799. }
  5800. m.RoomDataSet[mapkey] = mapvalue
  5801. iNdEx = postIndex
  5802. default:
  5803. iNdEx = preIndex
  5804. skippy, err := skipApi(dAtA[iNdEx:])
  5805. if err != nil {
  5806. return err
  5807. }
  5808. if skippy < 0 {
  5809. return ErrInvalidLengthApi
  5810. }
  5811. if (iNdEx + skippy) > l {
  5812. return io.ErrUnexpectedEOF
  5813. }
  5814. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5815. iNdEx += skippy
  5816. }
  5817. }
  5818. if iNdEx > l {
  5819. return io.ErrUnexpectedEOF
  5820. }
  5821. return nil
  5822. }
  5823. func (m *RoomOnlineListReq) Unmarshal(dAtA []byte) error {
  5824. l := len(dAtA)
  5825. iNdEx := 0
  5826. for iNdEx < l {
  5827. preIndex := iNdEx
  5828. var wire uint64
  5829. for shift := uint(0); ; shift += 7 {
  5830. if shift >= 64 {
  5831. return ErrIntOverflowApi
  5832. }
  5833. if iNdEx >= l {
  5834. return io.ErrUnexpectedEOF
  5835. }
  5836. b := dAtA[iNdEx]
  5837. iNdEx++
  5838. wire |= (uint64(b) & 0x7F) << shift
  5839. if b < 0x80 {
  5840. break
  5841. }
  5842. }
  5843. fieldNum := int32(wire >> 3)
  5844. wireType := int(wire & 0x7)
  5845. if wireType == 4 {
  5846. return fmt.Errorf("proto: RoomOnlineListReq: wiretype end group for non-group")
  5847. }
  5848. if fieldNum <= 0 {
  5849. return fmt.Errorf("proto: RoomOnlineListReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5850. }
  5851. switch fieldNum {
  5852. case 1:
  5853. if wireType != 2 {
  5854. return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType)
  5855. }
  5856. var stringLen uint64
  5857. for shift := uint(0); ; shift += 7 {
  5858. if shift >= 64 {
  5859. return ErrIntOverflowApi
  5860. }
  5861. if iNdEx >= l {
  5862. return io.ErrUnexpectedEOF
  5863. }
  5864. b := dAtA[iNdEx]
  5865. iNdEx++
  5866. stringLen |= (uint64(b) & 0x7F) << shift
  5867. if b < 0x80 {
  5868. break
  5869. }
  5870. }
  5871. intStringLen := int(stringLen)
  5872. if intStringLen < 0 {
  5873. return ErrInvalidLengthApi
  5874. }
  5875. postIndex := iNdEx + intStringLen
  5876. if postIndex > l {
  5877. return io.ErrUnexpectedEOF
  5878. }
  5879. m.Filter = string(dAtA[iNdEx:postIndex])
  5880. iNdEx = postIndex
  5881. case 2:
  5882. if wireType != 2 {
  5883. return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType)
  5884. }
  5885. var stringLen uint64
  5886. for shift := uint(0); ; shift += 7 {
  5887. if shift >= 64 {
  5888. return ErrIntOverflowApi
  5889. }
  5890. if iNdEx >= l {
  5891. return io.ErrUnexpectedEOF
  5892. }
  5893. b := dAtA[iNdEx]
  5894. iNdEx++
  5895. stringLen |= (uint64(b) & 0x7F) << shift
  5896. if b < 0x80 {
  5897. break
  5898. }
  5899. }
  5900. intStringLen := int(stringLen)
  5901. if intStringLen < 0 {
  5902. return ErrInvalidLengthApi
  5903. }
  5904. postIndex := iNdEx + intStringLen
  5905. if postIndex > l {
  5906. return io.ErrUnexpectedEOF
  5907. }
  5908. m.Sort = string(dAtA[iNdEx:postIndex])
  5909. iNdEx = postIndex
  5910. case 3:
  5911. if wireType != 0 {
  5912. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  5913. }
  5914. m.Page = 0
  5915. for shift := uint(0); ; shift += 7 {
  5916. if shift >= 64 {
  5917. return ErrIntOverflowApi
  5918. }
  5919. if iNdEx >= l {
  5920. return io.ErrUnexpectedEOF
  5921. }
  5922. b := dAtA[iNdEx]
  5923. iNdEx++
  5924. m.Page |= (int64(b) & 0x7F) << shift
  5925. if b < 0x80 {
  5926. break
  5927. }
  5928. }
  5929. case 4:
  5930. if wireType != 0 {
  5931. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  5932. }
  5933. m.PageSize = 0
  5934. for shift := uint(0); ; shift += 7 {
  5935. if shift >= 64 {
  5936. return ErrIntOverflowApi
  5937. }
  5938. if iNdEx >= l {
  5939. return io.ErrUnexpectedEOF
  5940. }
  5941. b := dAtA[iNdEx]
  5942. iNdEx++
  5943. m.PageSize |= (int64(b) & 0x7F) << shift
  5944. if b < 0x80 {
  5945. break
  5946. }
  5947. }
  5948. case 5:
  5949. if wireType != 2 {
  5950. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  5951. }
  5952. var stringLen uint64
  5953. for shift := uint(0); ; shift += 7 {
  5954. if shift >= 64 {
  5955. return ErrIntOverflowApi
  5956. }
  5957. if iNdEx >= l {
  5958. return io.ErrUnexpectedEOF
  5959. }
  5960. b := dAtA[iNdEx]
  5961. iNdEx++
  5962. stringLen |= (uint64(b) & 0x7F) << shift
  5963. if b < 0x80 {
  5964. break
  5965. }
  5966. }
  5967. intStringLen := int(stringLen)
  5968. if intStringLen < 0 {
  5969. return ErrInvalidLengthApi
  5970. }
  5971. postIndex := iNdEx + intStringLen
  5972. if postIndex > l {
  5973. return io.ErrUnexpectedEOF
  5974. }
  5975. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  5976. iNdEx = postIndex
  5977. default:
  5978. iNdEx = preIndex
  5979. skippy, err := skipApi(dAtA[iNdEx:])
  5980. if err != nil {
  5981. return err
  5982. }
  5983. if skippy < 0 {
  5984. return ErrInvalidLengthApi
  5985. }
  5986. if (iNdEx + skippy) > l {
  5987. return io.ErrUnexpectedEOF
  5988. }
  5989. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5990. iNdEx += skippy
  5991. }
  5992. }
  5993. if iNdEx > l {
  5994. return io.ErrUnexpectedEOF
  5995. }
  5996. return nil
  5997. }
  5998. func (m *RoomOnlineListResp) Unmarshal(dAtA []byte) error {
  5999. l := len(dAtA)
  6000. iNdEx := 0
  6001. for iNdEx < l {
  6002. preIndex := iNdEx
  6003. var wire uint64
  6004. for shift := uint(0); ; shift += 7 {
  6005. if shift >= 64 {
  6006. return ErrIntOverflowApi
  6007. }
  6008. if iNdEx >= l {
  6009. return io.ErrUnexpectedEOF
  6010. }
  6011. b := dAtA[iNdEx]
  6012. iNdEx++
  6013. wire |= (uint64(b) & 0x7F) << shift
  6014. if b < 0x80 {
  6015. break
  6016. }
  6017. }
  6018. fieldNum := int32(wire >> 3)
  6019. wireType := int(wire & 0x7)
  6020. if wireType == 4 {
  6021. return fmt.Errorf("proto: RoomOnlineListResp: wiretype end group for non-group")
  6022. }
  6023. if fieldNum <= 0 {
  6024. return fmt.Errorf("proto: RoomOnlineListResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6025. }
  6026. switch fieldNum {
  6027. case 1:
  6028. if wireType != 2 {
  6029. return fmt.Errorf("proto: wrong wireType = %d for field RoomDataList", wireType)
  6030. }
  6031. var msglen int
  6032. for shift := uint(0); ; shift += 7 {
  6033. if shift >= 64 {
  6034. return ErrIntOverflowApi
  6035. }
  6036. if iNdEx >= l {
  6037. return io.ErrUnexpectedEOF
  6038. }
  6039. b := dAtA[iNdEx]
  6040. iNdEx++
  6041. msglen |= (int(b) & 0x7F) << shift
  6042. if b < 0x80 {
  6043. break
  6044. }
  6045. }
  6046. if msglen < 0 {
  6047. return ErrInvalidLengthApi
  6048. }
  6049. postIndex := iNdEx + msglen
  6050. if postIndex > l {
  6051. return io.ErrUnexpectedEOF
  6052. }
  6053. if m.RoomDataList == nil {
  6054. m.RoomDataList = make(map[int64]*RoomData)
  6055. }
  6056. var mapkey int64
  6057. var mapvalue *RoomData
  6058. for iNdEx < postIndex {
  6059. entryPreIndex := iNdEx
  6060. var wire uint64
  6061. for shift := uint(0); ; shift += 7 {
  6062. if shift >= 64 {
  6063. return ErrIntOverflowApi
  6064. }
  6065. if iNdEx >= l {
  6066. return io.ErrUnexpectedEOF
  6067. }
  6068. b := dAtA[iNdEx]
  6069. iNdEx++
  6070. wire |= (uint64(b) & 0x7F) << shift
  6071. if b < 0x80 {
  6072. break
  6073. }
  6074. }
  6075. fieldNum := int32(wire >> 3)
  6076. if fieldNum == 1 {
  6077. for shift := uint(0); ; shift += 7 {
  6078. if shift >= 64 {
  6079. return ErrIntOverflowApi
  6080. }
  6081. if iNdEx >= l {
  6082. return io.ErrUnexpectedEOF
  6083. }
  6084. b := dAtA[iNdEx]
  6085. iNdEx++
  6086. mapkey |= (int64(b) & 0x7F) << shift
  6087. if b < 0x80 {
  6088. break
  6089. }
  6090. }
  6091. } else if fieldNum == 2 {
  6092. var mapmsglen int
  6093. for shift := uint(0); ; shift += 7 {
  6094. if shift >= 64 {
  6095. return ErrIntOverflowApi
  6096. }
  6097. if iNdEx >= l {
  6098. return io.ErrUnexpectedEOF
  6099. }
  6100. b := dAtA[iNdEx]
  6101. iNdEx++
  6102. mapmsglen |= (int(b) & 0x7F) << shift
  6103. if b < 0x80 {
  6104. break
  6105. }
  6106. }
  6107. if mapmsglen < 0 {
  6108. return ErrInvalidLengthApi
  6109. }
  6110. postmsgIndex := iNdEx + mapmsglen
  6111. if mapmsglen < 0 {
  6112. return ErrInvalidLengthApi
  6113. }
  6114. if postmsgIndex > l {
  6115. return io.ErrUnexpectedEOF
  6116. }
  6117. mapvalue = &RoomData{}
  6118. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  6119. return err
  6120. }
  6121. iNdEx = postmsgIndex
  6122. } else {
  6123. iNdEx = entryPreIndex
  6124. skippy, err := skipApi(dAtA[iNdEx:])
  6125. if err != nil {
  6126. return err
  6127. }
  6128. if skippy < 0 {
  6129. return ErrInvalidLengthApi
  6130. }
  6131. if (iNdEx + skippy) > postIndex {
  6132. return io.ErrUnexpectedEOF
  6133. }
  6134. iNdEx += skippy
  6135. }
  6136. }
  6137. m.RoomDataList[mapkey] = mapvalue
  6138. iNdEx = postIndex
  6139. default:
  6140. iNdEx = preIndex
  6141. skippy, err := skipApi(dAtA[iNdEx:])
  6142. if err != nil {
  6143. return err
  6144. }
  6145. if skippy < 0 {
  6146. return ErrInvalidLengthApi
  6147. }
  6148. if (iNdEx + skippy) > l {
  6149. return io.ErrUnexpectedEOF
  6150. }
  6151. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6152. iNdEx += skippy
  6153. }
  6154. }
  6155. if iNdEx > l {
  6156. return io.ErrUnexpectedEOF
  6157. }
  6158. return nil
  6159. }
  6160. func (m *RoomCreateReq) Unmarshal(dAtA []byte) error {
  6161. l := len(dAtA)
  6162. iNdEx := 0
  6163. for iNdEx < l {
  6164. preIndex := iNdEx
  6165. var wire uint64
  6166. for shift := uint(0); ; shift += 7 {
  6167. if shift >= 64 {
  6168. return ErrIntOverflowApi
  6169. }
  6170. if iNdEx >= l {
  6171. return io.ErrUnexpectedEOF
  6172. }
  6173. b := dAtA[iNdEx]
  6174. iNdEx++
  6175. wire |= (uint64(b) & 0x7F) << shift
  6176. if b < 0x80 {
  6177. break
  6178. }
  6179. }
  6180. fieldNum := int32(wire >> 3)
  6181. wireType := int(wire & 0x7)
  6182. if wireType == 4 {
  6183. return fmt.Errorf("proto: RoomCreateReq: wiretype end group for non-group")
  6184. }
  6185. if fieldNum <= 0 {
  6186. return fmt.Errorf("proto: RoomCreateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6187. }
  6188. switch fieldNum {
  6189. case 1:
  6190. if wireType != 0 {
  6191. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  6192. }
  6193. m.Uid = 0
  6194. for shift := uint(0); ; shift += 7 {
  6195. if shift >= 64 {
  6196. return ErrIntOverflowApi
  6197. }
  6198. if iNdEx >= l {
  6199. return io.ErrUnexpectedEOF
  6200. }
  6201. b := dAtA[iNdEx]
  6202. iNdEx++
  6203. m.Uid |= (int64(b) & 0x7F) << shift
  6204. if b < 0x80 {
  6205. break
  6206. }
  6207. }
  6208. case 2:
  6209. if wireType != 0 {
  6210. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  6211. }
  6212. m.RoomId = 0
  6213. for shift := uint(0); ; shift += 7 {
  6214. if shift >= 64 {
  6215. return ErrIntOverflowApi
  6216. }
  6217. if iNdEx >= l {
  6218. return io.ErrUnexpectedEOF
  6219. }
  6220. b := dAtA[iNdEx]
  6221. iNdEx++
  6222. m.RoomId |= (int64(b) & 0x7F) << shift
  6223. if b < 0x80 {
  6224. break
  6225. }
  6226. }
  6227. default:
  6228. iNdEx = preIndex
  6229. skippy, err := skipApi(dAtA[iNdEx:])
  6230. if err != nil {
  6231. return err
  6232. }
  6233. if skippy < 0 {
  6234. return ErrInvalidLengthApi
  6235. }
  6236. if (iNdEx + skippy) > l {
  6237. return io.ErrUnexpectedEOF
  6238. }
  6239. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6240. iNdEx += skippy
  6241. }
  6242. }
  6243. if iNdEx > l {
  6244. return io.ErrUnexpectedEOF
  6245. }
  6246. return nil
  6247. }
  6248. func (m *RoomCreateResp) Unmarshal(dAtA []byte) error {
  6249. l := len(dAtA)
  6250. iNdEx := 0
  6251. for iNdEx < l {
  6252. preIndex := iNdEx
  6253. var wire uint64
  6254. for shift := uint(0); ; shift += 7 {
  6255. if shift >= 64 {
  6256. return ErrIntOverflowApi
  6257. }
  6258. if iNdEx >= l {
  6259. return io.ErrUnexpectedEOF
  6260. }
  6261. b := dAtA[iNdEx]
  6262. iNdEx++
  6263. wire |= (uint64(b) & 0x7F) << shift
  6264. if b < 0x80 {
  6265. break
  6266. }
  6267. }
  6268. fieldNum := int32(wire >> 3)
  6269. wireType := int(wire & 0x7)
  6270. if wireType == 4 {
  6271. return fmt.Errorf("proto: RoomCreateResp: wiretype end group for non-group")
  6272. }
  6273. if fieldNum <= 0 {
  6274. return fmt.Errorf("proto: RoomCreateResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6275. }
  6276. switch fieldNum {
  6277. case 1:
  6278. if wireType != 0 {
  6279. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  6280. }
  6281. m.RoomId = 0
  6282. for shift := uint(0); ; shift += 7 {
  6283. if shift >= 64 {
  6284. return ErrIntOverflowApi
  6285. }
  6286. if iNdEx >= l {
  6287. return io.ErrUnexpectedEOF
  6288. }
  6289. b := dAtA[iNdEx]
  6290. iNdEx++
  6291. m.RoomId |= (int64(b) & 0x7F) << shift
  6292. if b < 0x80 {
  6293. break
  6294. }
  6295. }
  6296. default:
  6297. iNdEx = preIndex
  6298. skippy, err := skipApi(dAtA[iNdEx:])
  6299. if err != nil {
  6300. return err
  6301. }
  6302. if skippy < 0 {
  6303. return ErrInvalidLengthApi
  6304. }
  6305. if (iNdEx + skippy) > l {
  6306. return io.ErrUnexpectedEOF
  6307. }
  6308. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6309. iNdEx += skippy
  6310. }
  6311. }
  6312. if iNdEx > l {
  6313. return io.ErrUnexpectedEOF
  6314. }
  6315. return nil
  6316. }
  6317. func (m *UpdateResp) Unmarshal(dAtA []byte) error {
  6318. l := len(dAtA)
  6319. iNdEx := 0
  6320. for iNdEx < l {
  6321. preIndex := iNdEx
  6322. var wire uint64
  6323. for shift := uint(0); ; shift += 7 {
  6324. if shift >= 64 {
  6325. return ErrIntOverflowApi
  6326. }
  6327. if iNdEx >= l {
  6328. return io.ErrUnexpectedEOF
  6329. }
  6330. b := dAtA[iNdEx]
  6331. iNdEx++
  6332. wire |= (uint64(b) & 0x7F) << shift
  6333. if b < 0x80 {
  6334. break
  6335. }
  6336. }
  6337. fieldNum := int32(wire >> 3)
  6338. wireType := int(wire & 0x7)
  6339. if wireType == 4 {
  6340. return fmt.Errorf("proto: UpdateResp: wiretype end group for non-group")
  6341. }
  6342. if fieldNum <= 0 {
  6343. return fmt.Errorf("proto: UpdateResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6344. }
  6345. switch fieldNum {
  6346. case 1:
  6347. if wireType != 0 {
  6348. return fmt.Errorf("proto: wrong wireType = %d for field AffectedRows", wireType)
  6349. }
  6350. m.AffectedRows = 0
  6351. for shift := uint(0); ; shift += 7 {
  6352. if shift >= 64 {
  6353. return ErrIntOverflowApi
  6354. }
  6355. if iNdEx >= l {
  6356. return io.ErrUnexpectedEOF
  6357. }
  6358. b := dAtA[iNdEx]
  6359. iNdEx++
  6360. m.AffectedRows |= (int64(b) & 0x7F) << shift
  6361. if b < 0x80 {
  6362. break
  6363. }
  6364. }
  6365. default:
  6366. iNdEx = preIndex
  6367. skippy, err := skipApi(dAtA[iNdEx:])
  6368. if err != nil {
  6369. return err
  6370. }
  6371. if skippy < 0 {
  6372. return ErrInvalidLengthApi
  6373. }
  6374. if (iNdEx + skippy) > l {
  6375. return io.ErrUnexpectedEOF
  6376. }
  6377. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6378. iNdEx += skippy
  6379. }
  6380. }
  6381. if iNdEx > l {
  6382. return io.ErrUnexpectedEOF
  6383. }
  6384. return nil
  6385. }
  6386. func (m *RoomUpdateReq) Unmarshal(dAtA []byte) error {
  6387. l := len(dAtA)
  6388. iNdEx := 0
  6389. for iNdEx < l {
  6390. preIndex := iNdEx
  6391. var wire uint64
  6392. for shift := uint(0); ; shift += 7 {
  6393. if shift >= 64 {
  6394. return ErrIntOverflowApi
  6395. }
  6396. if iNdEx >= l {
  6397. return io.ErrUnexpectedEOF
  6398. }
  6399. b := dAtA[iNdEx]
  6400. iNdEx++
  6401. wire |= (uint64(b) & 0x7F) << shift
  6402. if b < 0x80 {
  6403. break
  6404. }
  6405. }
  6406. fieldNum := int32(wire >> 3)
  6407. wireType := int(wire & 0x7)
  6408. if wireType == 4 {
  6409. return fmt.Errorf("proto: RoomUpdateReq: wiretype end group for non-group")
  6410. }
  6411. if fieldNum <= 0 {
  6412. return fmt.Errorf("proto: RoomUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6413. }
  6414. switch fieldNum {
  6415. case 1:
  6416. if wireType != 2 {
  6417. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  6418. }
  6419. var stringLen uint64
  6420. for shift := uint(0); ; shift += 7 {
  6421. if shift >= 64 {
  6422. return ErrIntOverflowApi
  6423. }
  6424. if iNdEx >= l {
  6425. return io.ErrUnexpectedEOF
  6426. }
  6427. b := dAtA[iNdEx]
  6428. iNdEx++
  6429. stringLen |= (uint64(b) & 0x7F) << shift
  6430. if b < 0x80 {
  6431. break
  6432. }
  6433. }
  6434. intStringLen := int(stringLen)
  6435. if intStringLen < 0 {
  6436. return ErrInvalidLengthApi
  6437. }
  6438. postIndex := iNdEx + intStringLen
  6439. if postIndex > l {
  6440. return io.ErrUnexpectedEOF
  6441. }
  6442. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  6443. iNdEx = postIndex
  6444. case 2:
  6445. if wireType != 0 {
  6446. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  6447. }
  6448. m.RoomId = 0
  6449. for shift := uint(0); ; shift += 7 {
  6450. if shift >= 64 {
  6451. return ErrIntOverflowApi
  6452. }
  6453. if iNdEx >= l {
  6454. return io.ErrUnexpectedEOF
  6455. }
  6456. b := dAtA[iNdEx]
  6457. iNdEx++
  6458. m.RoomId |= (int64(b) & 0x7F) << shift
  6459. if b < 0x80 {
  6460. break
  6461. }
  6462. }
  6463. case 3:
  6464. if wireType != 2 {
  6465. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  6466. }
  6467. var stringLen uint64
  6468. for shift := uint(0); ; shift += 7 {
  6469. if shift >= 64 {
  6470. return ErrIntOverflowApi
  6471. }
  6472. if iNdEx >= l {
  6473. return io.ErrUnexpectedEOF
  6474. }
  6475. b := dAtA[iNdEx]
  6476. iNdEx++
  6477. stringLen |= (uint64(b) & 0x7F) << shift
  6478. if b < 0x80 {
  6479. break
  6480. }
  6481. }
  6482. intStringLen := int(stringLen)
  6483. if intStringLen < 0 {
  6484. return ErrInvalidLengthApi
  6485. }
  6486. postIndex := iNdEx + intStringLen
  6487. if postIndex > l {
  6488. return io.ErrUnexpectedEOF
  6489. }
  6490. m.Title = string(dAtA[iNdEx:postIndex])
  6491. iNdEx = postIndex
  6492. case 4:
  6493. if wireType != 2 {
  6494. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  6495. }
  6496. var stringLen uint64
  6497. for shift := uint(0); ; shift += 7 {
  6498. if shift >= 64 {
  6499. return ErrIntOverflowApi
  6500. }
  6501. if iNdEx >= l {
  6502. return io.ErrUnexpectedEOF
  6503. }
  6504. b := dAtA[iNdEx]
  6505. iNdEx++
  6506. stringLen |= (uint64(b) & 0x7F) << shift
  6507. if b < 0x80 {
  6508. break
  6509. }
  6510. }
  6511. intStringLen := int(stringLen)
  6512. if intStringLen < 0 {
  6513. return ErrInvalidLengthApi
  6514. }
  6515. postIndex := iNdEx + intStringLen
  6516. if postIndex > l {
  6517. return io.ErrUnexpectedEOF
  6518. }
  6519. m.Cover = string(dAtA[iNdEx:postIndex])
  6520. iNdEx = postIndex
  6521. case 5:
  6522. if wireType != 2 {
  6523. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  6524. }
  6525. var stringLen uint64
  6526. for shift := uint(0); ; shift += 7 {
  6527. if shift >= 64 {
  6528. return ErrIntOverflowApi
  6529. }
  6530. if iNdEx >= l {
  6531. return io.ErrUnexpectedEOF
  6532. }
  6533. b := dAtA[iNdEx]
  6534. iNdEx++
  6535. stringLen |= (uint64(b) & 0x7F) << shift
  6536. if b < 0x80 {
  6537. break
  6538. }
  6539. }
  6540. intStringLen := int(stringLen)
  6541. if intStringLen < 0 {
  6542. return ErrInvalidLengthApi
  6543. }
  6544. postIndex := iNdEx + intStringLen
  6545. if postIndex > l {
  6546. return io.ErrUnexpectedEOF
  6547. }
  6548. m.Tags = string(dAtA[iNdEx:postIndex])
  6549. iNdEx = postIndex
  6550. case 6:
  6551. if wireType != 2 {
  6552. return fmt.Errorf("proto: wrong wireType = %d for field Background", wireType)
  6553. }
  6554. var stringLen uint64
  6555. for shift := uint(0); ; shift += 7 {
  6556. if shift >= 64 {
  6557. return ErrIntOverflowApi
  6558. }
  6559. if iNdEx >= l {
  6560. return io.ErrUnexpectedEOF
  6561. }
  6562. b := dAtA[iNdEx]
  6563. iNdEx++
  6564. stringLen |= (uint64(b) & 0x7F) << shift
  6565. if b < 0x80 {
  6566. break
  6567. }
  6568. }
  6569. intStringLen := int(stringLen)
  6570. if intStringLen < 0 {
  6571. return ErrInvalidLengthApi
  6572. }
  6573. postIndex := iNdEx + intStringLen
  6574. if postIndex > l {
  6575. return io.ErrUnexpectedEOF
  6576. }
  6577. m.Background = string(dAtA[iNdEx:postIndex])
  6578. iNdEx = postIndex
  6579. case 7:
  6580. if wireType != 2 {
  6581. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  6582. }
  6583. var stringLen uint64
  6584. for shift := uint(0); ; shift += 7 {
  6585. if shift >= 64 {
  6586. return ErrIntOverflowApi
  6587. }
  6588. if iNdEx >= l {
  6589. return io.ErrUnexpectedEOF
  6590. }
  6591. b := dAtA[iNdEx]
  6592. iNdEx++
  6593. stringLen |= (uint64(b) & 0x7F) << shift
  6594. if b < 0x80 {
  6595. break
  6596. }
  6597. }
  6598. intStringLen := int(stringLen)
  6599. if intStringLen < 0 {
  6600. return ErrInvalidLengthApi
  6601. }
  6602. postIndex := iNdEx + intStringLen
  6603. if postIndex > l {
  6604. return io.ErrUnexpectedEOF
  6605. }
  6606. m.Description = string(dAtA[iNdEx:postIndex])
  6607. iNdEx = postIndex
  6608. case 8:
  6609. if wireType != 0 {
  6610. return fmt.Errorf("proto: wrong wireType = %d for field LiveStartTime", wireType)
  6611. }
  6612. m.LiveStartTime = 0
  6613. for shift := uint(0); ; shift += 7 {
  6614. if shift >= 64 {
  6615. return ErrIntOverflowApi
  6616. }
  6617. if iNdEx >= l {
  6618. return io.ErrUnexpectedEOF
  6619. }
  6620. b := dAtA[iNdEx]
  6621. iNdEx++
  6622. m.LiveStartTime |= (int64(b) & 0x7F) << shift
  6623. if b < 0x80 {
  6624. break
  6625. }
  6626. }
  6627. case 9:
  6628. if wireType != 0 {
  6629. return fmt.Errorf("proto: wrong wireType = %d for field LiveScreenType", wireType)
  6630. }
  6631. m.LiveScreenType = 0
  6632. for shift := uint(0); ; shift += 7 {
  6633. if shift >= 64 {
  6634. return ErrIntOverflowApi
  6635. }
  6636. if iNdEx >= l {
  6637. return io.ErrUnexpectedEOF
  6638. }
  6639. b := dAtA[iNdEx]
  6640. iNdEx++
  6641. m.LiveScreenType |= (int64(b) & 0x7F) << shift
  6642. if b < 0x80 {
  6643. break
  6644. }
  6645. }
  6646. case 10:
  6647. if wireType != 0 {
  6648. return fmt.Errorf("proto: wrong wireType = %d for field LockStatus", wireType)
  6649. }
  6650. m.LockStatus = 0
  6651. for shift := uint(0); ; shift += 7 {
  6652. if shift >= 64 {
  6653. return ErrIntOverflowApi
  6654. }
  6655. if iNdEx >= l {
  6656. return io.ErrUnexpectedEOF
  6657. }
  6658. b := dAtA[iNdEx]
  6659. iNdEx++
  6660. m.LockStatus |= (int64(b) & 0x7F) << shift
  6661. if b < 0x80 {
  6662. break
  6663. }
  6664. }
  6665. case 11:
  6666. if wireType != 0 {
  6667. return fmt.Errorf("proto: wrong wireType = %d for field LockTime", wireType)
  6668. }
  6669. m.LockTime = 0
  6670. for shift := uint(0); ; shift += 7 {
  6671. if shift >= 64 {
  6672. return ErrIntOverflowApi
  6673. }
  6674. if iNdEx >= l {
  6675. return io.ErrUnexpectedEOF
  6676. }
  6677. b := dAtA[iNdEx]
  6678. iNdEx++
  6679. m.LockTime |= (int64(b) & 0x7F) << shift
  6680. if b < 0x80 {
  6681. break
  6682. }
  6683. }
  6684. case 12:
  6685. if wireType != 0 {
  6686. return fmt.Errorf("proto: wrong wireType = %d for field HiddenTime", wireType)
  6687. }
  6688. m.HiddenTime = 0
  6689. for shift := uint(0); ; shift += 7 {
  6690. if shift >= 64 {
  6691. return ErrIntOverflowApi
  6692. }
  6693. if iNdEx >= l {
  6694. return io.ErrUnexpectedEOF
  6695. }
  6696. b := dAtA[iNdEx]
  6697. iNdEx++
  6698. m.HiddenTime |= (int64(b) & 0x7F) << shift
  6699. if b < 0x80 {
  6700. break
  6701. }
  6702. }
  6703. case 13:
  6704. if wireType != 0 {
  6705. return fmt.Errorf("proto: wrong wireType = %d for field AreaId", wireType)
  6706. }
  6707. m.AreaId = 0
  6708. for shift := uint(0); ; shift += 7 {
  6709. if shift >= 64 {
  6710. return ErrIntOverflowApi
  6711. }
  6712. if iNdEx >= l {
  6713. return io.ErrUnexpectedEOF
  6714. }
  6715. b := dAtA[iNdEx]
  6716. iNdEx++
  6717. m.AreaId |= (int64(b) & 0x7F) << shift
  6718. if b < 0x80 {
  6719. break
  6720. }
  6721. }
  6722. case 14:
  6723. if wireType != 0 {
  6724. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRoundSwitch", wireType)
  6725. }
  6726. m.AnchorRoundSwitch = 0
  6727. for shift := uint(0); ; shift += 7 {
  6728. if shift >= 64 {
  6729. return ErrIntOverflowApi
  6730. }
  6731. if iNdEx >= l {
  6732. return io.ErrUnexpectedEOF
  6733. }
  6734. b := dAtA[iNdEx]
  6735. iNdEx++
  6736. m.AnchorRoundSwitch |= (int64(b) & 0x7F) << shift
  6737. if b < 0x80 {
  6738. break
  6739. }
  6740. }
  6741. case 15:
  6742. if wireType != 0 {
  6743. return fmt.Errorf("proto: wrong wireType = %d for field AnchorRecordSwitch", wireType)
  6744. }
  6745. m.AnchorRecordSwitch = 0
  6746. for shift := uint(0); ; shift += 7 {
  6747. if shift >= 64 {
  6748. return ErrIntOverflowApi
  6749. }
  6750. if iNdEx >= l {
  6751. return io.ErrUnexpectedEOF
  6752. }
  6753. b := dAtA[iNdEx]
  6754. iNdEx++
  6755. m.AnchorRecordSwitch |= (int64(b) & 0x7F) << shift
  6756. if b < 0x80 {
  6757. break
  6758. }
  6759. }
  6760. case 16:
  6761. if wireType != 0 {
  6762. return fmt.Errorf("proto: wrong wireType = %d for field LiveType", wireType)
  6763. }
  6764. m.LiveType = 0
  6765. for shift := uint(0); ; shift += 7 {
  6766. if shift >= 64 {
  6767. return ErrIntOverflowApi
  6768. }
  6769. if iNdEx >= l {
  6770. return io.ErrUnexpectedEOF
  6771. }
  6772. b := dAtA[iNdEx]
  6773. iNdEx++
  6774. m.LiveType |= (int64(b) & 0x7F) << shift
  6775. if b < 0x80 {
  6776. break
  6777. }
  6778. }
  6779. default:
  6780. iNdEx = preIndex
  6781. skippy, err := skipApi(dAtA[iNdEx:])
  6782. if err != nil {
  6783. return err
  6784. }
  6785. if skippy < 0 {
  6786. return ErrInvalidLengthApi
  6787. }
  6788. if (iNdEx + skippy) > l {
  6789. return io.ErrUnexpectedEOF
  6790. }
  6791. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6792. iNdEx += skippy
  6793. }
  6794. }
  6795. if iNdEx > l {
  6796. return io.ErrUnexpectedEOF
  6797. }
  6798. return nil
  6799. }
  6800. func (m *RoomBatchUpdateReq) Unmarshal(dAtA []byte) error {
  6801. l := len(dAtA)
  6802. iNdEx := 0
  6803. for iNdEx < l {
  6804. preIndex := iNdEx
  6805. var wire uint64
  6806. for shift := uint(0); ; shift += 7 {
  6807. if shift >= 64 {
  6808. return ErrIntOverflowApi
  6809. }
  6810. if iNdEx >= l {
  6811. return io.ErrUnexpectedEOF
  6812. }
  6813. b := dAtA[iNdEx]
  6814. iNdEx++
  6815. wire |= (uint64(b) & 0x7F) << shift
  6816. if b < 0x80 {
  6817. break
  6818. }
  6819. }
  6820. fieldNum := int32(wire >> 3)
  6821. wireType := int(wire & 0x7)
  6822. if wireType == 4 {
  6823. return fmt.Errorf("proto: RoomBatchUpdateReq: wiretype end group for non-group")
  6824. }
  6825. if fieldNum <= 0 {
  6826. return fmt.Errorf("proto: RoomBatchUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6827. }
  6828. switch fieldNum {
  6829. case 1:
  6830. if wireType != 2 {
  6831. return fmt.Errorf("proto: wrong wireType = %d for field Reqs", wireType)
  6832. }
  6833. var msglen int
  6834. for shift := uint(0); ; shift += 7 {
  6835. if shift >= 64 {
  6836. return ErrIntOverflowApi
  6837. }
  6838. if iNdEx >= l {
  6839. return io.ErrUnexpectedEOF
  6840. }
  6841. b := dAtA[iNdEx]
  6842. iNdEx++
  6843. msglen |= (int(b) & 0x7F) << shift
  6844. if b < 0x80 {
  6845. break
  6846. }
  6847. }
  6848. if msglen < 0 {
  6849. return ErrInvalidLengthApi
  6850. }
  6851. postIndex := iNdEx + msglen
  6852. if postIndex > l {
  6853. return io.ErrUnexpectedEOF
  6854. }
  6855. m.Reqs = append(m.Reqs, &RoomUpdateReq{})
  6856. if err := m.Reqs[len(m.Reqs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6857. return err
  6858. }
  6859. iNdEx = postIndex
  6860. default:
  6861. iNdEx = preIndex
  6862. skippy, err := skipApi(dAtA[iNdEx:])
  6863. if err != nil {
  6864. return err
  6865. }
  6866. if skippy < 0 {
  6867. return ErrInvalidLengthApi
  6868. }
  6869. if (iNdEx + skippy) > l {
  6870. return io.ErrUnexpectedEOF
  6871. }
  6872. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6873. iNdEx += skippy
  6874. }
  6875. }
  6876. if iNdEx > l {
  6877. return io.ErrUnexpectedEOF
  6878. }
  6879. return nil
  6880. }
  6881. func (m *AnchorData) Unmarshal(dAtA []byte) error {
  6882. l := len(dAtA)
  6883. iNdEx := 0
  6884. for iNdEx < l {
  6885. preIndex := iNdEx
  6886. var wire uint64
  6887. for shift := uint(0); ; shift += 7 {
  6888. if shift >= 64 {
  6889. return ErrIntOverflowApi
  6890. }
  6891. if iNdEx >= l {
  6892. return io.ErrUnexpectedEOF
  6893. }
  6894. b := dAtA[iNdEx]
  6895. iNdEx++
  6896. wire |= (uint64(b) & 0x7F) << shift
  6897. if b < 0x80 {
  6898. break
  6899. }
  6900. }
  6901. fieldNum := int32(wire >> 3)
  6902. wireType := int(wire & 0x7)
  6903. if wireType == 4 {
  6904. return fmt.Errorf("proto: AnchorData: wiretype end group for non-group")
  6905. }
  6906. if fieldNum <= 0 {
  6907. return fmt.Errorf("proto: AnchorData: illegal tag %d (wire type %d)", fieldNum, wire)
  6908. }
  6909. switch fieldNum {
  6910. case 1:
  6911. if wireType != 0 {
  6912. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  6913. }
  6914. m.Uid = 0
  6915. for shift := uint(0); ; shift += 7 {
  6916. if shift >= 64 {
  6917. return ErrIntOverflowApi
  6918. }
  6919. if iNdEx >= l {
  6920. return io.ErrUnexpectedEOF
  6921. }
  6922. b := dAtA[iNdEx]
  6923. iNdEx++
  6924. m.Uid |= (int64(b) & 0x7F) << shift
  6925. if b < 0x80 {
  6926. break
  6927. }
  6928. }
  6929. case 2:
  6930. if wireType != 0 {
  6931. return fmt.Errorf("proto: wrong wireType = %d for field ProfileType", wireType)
  6932. }
  6933. m.ProfileType = 0
  6934. for shift := uint(0); ; shift += 7 {
  6935. if shift >= 64 {
  6936. return ErrIntOverflowApi
  6937. }
  6938. if iNdEx >= l {
  6939. return io.ErrUnexpectedEOF
  6940. }
  6941. b := dAtA[iNdEx]
  6942. iNdEx++
  6943. m.ProfileType |= (int64(b) & 0x7F) << shift
  6944. if b < 0x80 {
  6945. break
  6946. }
  6947. }
  6948. case 3:
  6949. if wireType != 2 {
  6950. return fmt.Errorf("proto: wrong wireType = %d for field Exp", wireType)
  6951. }
  6952. var msglen int
  6953. for shift := uint(0); ; shift += 7 {
  6954. if shift >= 64 {
  6955. return ErrIntOverflowApi
  6956. }
  6957. if iNdEx >= l {
  6958. return io.ErrUnexpectedEOF
  6959. }
  6960. b := dAtA[iNdEx]
  6961. iNdEx++
  6962. msglen |= (int(b) & 0x7F) << shift
  6963. if b < 0x80 {
  6964. break
  6965. }
  6966. }
  6967. if msglen < 0 {
  6968. return ErrInvalidLengthApi
  6969. }
  6970. postIndex := iNdEx + msglen
  6971. if postIndex > l {
  6972. return io.ErrUnexpectedEOF
  6973. }
  6974. m.Exp = append(m.Exp, &ExpData{})
  6975. if err := m.Exp[len(m.Exp)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6976. return err
  6977. }
  6978. iNdEx = postIndex
  6979. default:
  6980. iNdEx = preIndex
  6981. skippy, err := skipApi(dAtA[iNdEx:])
  6982. if err != nil {
  6983. return err
  6984. }
  6985. if skippy < 0 {
  6986. return ErrInvalidLengthApi
  6987. }
  6988. if (iNdEx + skippy) > l {
  6989. return io.ErrUnexpectedEOF
  6990. }
  6991. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6992. iNdEx += skippy
  6993. }
  6994. }
  6995. if iNdEx > l {
  6996. return io.ErrUnexpectedEOF
  6997. }
  6998. return nil
  6999. }
  7000. func (m *AnchorUpdateReq) Unmarshal(dAtA []byte) error {
  7001. l := len(dAtA)
  7002. iNdEx := 0
  7003. for iNdEx < l {
  7004. preIndex := iNdEx
  7005. var wire uint64
  7006. for shift := uint(0); ; shift += 7 {
  7007. if shift >= 64 {
  7008. return ErrIntOverflowApi
  7009. }
  7010. if iNdEx >= l {
  7011. return io.ErrUnexpectedEOF
  7012. }
  7013. b := dAtA[iNdEx]
  7014. iNdEx++
  7015. wire |= (uint64(b) & 0x7F) << shift
  7016. if b < 0x80 {
  7017. break
  7018. }
  7019. }
  7020. fieldNum := int32(wire >> 3)
  7021. wireType := int(wire & 0x7)
  7022. if wireType == 4 {
  7023. return fmt.Errorf("proto: AnchorUpdateReq: wiretype end group for non-group")
  7024. }
  7025. if fieldNum <= 0 {
  7026. return fmt.Errorf("proto: AnchorUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7027. }
  7028. switch fieldNum {
  7029. case 1:
  7030. if wireType != 2 {
  7031. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  7032. }
  7033. var stringLen uint64
  7034. for shift := uint(0); ; shift += 7 {
  7035. if shift >= 64 {
  7036. return ErrIntOverflowApi
  7037. }
  7038. if iNdEx >= l {
  7039. return io.ErrUnexpectedEOF
  7040. }
  7041. b := dAtA[iNdEx]
  7042. iNdEx++
  7043. stringLen |= (uint64(b) & 0x7F) << shift
  7044. if b < 0x80 {
  7045. break
  7046. }
  7047. }
  7048. intStringLen := int(stringLen)
  7049. if intStringLen < 0 {
  7050. return ErrInvalidLengthApi
  7051. }
  7052. postIndex := iNdEx + intStringLen
  7053. if postIndex > l {
  7054. return io.ErrUnexpectedEOF
  7055. }
  7056. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  7057. iNdEx = postIndex
  7058. case 2:
  7059. if wireType != 0 {
  7060. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  7061. }
  7062. m.Uid = 0
  7063. for shift := uint(0); ; shift += 7 {
  7064. if shift >= 64 {
  7065. return ErrIntOverflowApi
  7066. }
  7067. if iNdEx >= l {
  7068. return io.ErrUnexpectedEOF
  7069. }
  7070. b := dAtA[iNdEx]
  7071. iNdEx++
  7072. m.Uid |= (int64(b) & 0x7F) << shift
  7073. if b < 0x80 {
  7074. break
  7075. }
  7076. }
  7077. case 3:
  7078. if wireType != 0 {
  7079. return fmt.Errorf("proto: wrong wireType = %d for field ProfileType", wireType)
  7080. }
  7081. m.ProfileType = 0
  7082. for shift := uint(0); ; shift += 7 {
  7083. if shift >= 64 {
  7084. return ErrIntOverflowApi
  7085. }
  7086. if iNdEx >= l {
  7087. return io.ErrUnexpectedEOF
  7088. }
  7089. b := dAtA[iNdEx]
  7090. iNdEx++
  7091. m.ProfileType |= (int64(b) & 0x7F) << shift
  7092. if b < 0x80 {
  7093. break
  7094. }
  7095. }
  7096. case 4:
  7097. if wireType != 0 {
  7098. return fmt.Errorf("proto: wrong wireType = %d for field SanScore", wireType)
  7099. }
  7100. m.SanScore = 0
  7101. for shift := uint(0); ; shift += 7 {
  7102. if shift >= 64 {
  7103. return ErrIntOverflowApi
  7104. }
  7105. if iNdEx >= l {
  7106. return io.ErrUnexpectedEOF
  7107. }
  7108. b := dAtA[iNdEx]
  7109. iNdEx++
  7110. m.SanScore |= (int64(b) & 0x7F) << shift
  7111. if b < 0x80 {
  7112. break
  7113. }
  7114. }
  7115. case 5:
  7116. if wireType != 0 {
  7117. return fmt.Errorf("proto: wrong wireType = %d for field RoundStatus", wireType)
  7118. }
  7119. m.RoundStatus = 0
  7120. for shift := uint(0); ; shift += 7 {
  7121. if shift >= 64 {
  7122. return ErrIntOverflowApi
  7123. }
  7124. if iNdEx >= l {
  7125. return io.ErrUnexpectedEOF
  7126. }
  7127. b := dAtA[iNdEx]
  7128. iNdEx++
  7129. m.RoundStatus |= (int64(b) & 0x7F) << shift
  7130. if b < 0x80 {
  7131. break
  7132. }
  7133. }
  7134. case 6:
  7135. if wireType != 0 {
  7136. return fmt.Errorf("proto: wrong wireType = %d for field RecordStatus", wireType)
  7137. }
  7138. m.RecordStatus = 0
  7139. for shift := uint(0); ; shift += 7 {
  7140. if shift >= 64 {
  7141. return ErrIntOverflowApi
  7142. }
  7143. if iNdEx >= l {
  7144. return io.ErrUnexpectedEOF
  7145. }
  7146. b := dAtA[iNdEx]
  7147. iNdEx++
  7148. m.RecordStatus |= (int64(b) & 0x7F) << shift
  7149. if b < 0x80 {
  7150. break
  7151. }
  7152. }
  7153. case 7:
  7154. if wireType != 0 {
  7155. return fmt.Errorf("proto: wrong wireType = %d for field Exp", wireType)
  7156. }
  7157. m.Exp = 0
  7158. for shift := uint(0); ; shift += 7 {
  7159. if shift >= 64 {
  7160. return ErrIntOverflowApi
  7161. }
  7162. if iNdEx >= l {
  7163. return io.ErrUnexpectedEOF
  7164. }
  7165. b := dAtA[iNdEx]
  7166. iNdEx++
  7167. m.Exp |= (int64(b) & 0x7F) << shift
  7168. if b < 0x80 {
  7169. break
  7170. }
  7171. }
  7172. default:
  7173. iNdEx = preIndex
  7174. skippy, err := skipApi(dAtA[iNdEx:])
  7175. if err != nil {
  7176. return err
  7177. }
  7178. if skippy < 0 {
  7179. return ErrInvalidLengthApi
  7180. }
  7181. if (iNdEx + skippy) > l {
  7182. return io.ErrUnexpectedEOF
  7183. }
  7184. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7185. iNdEx += skippy
  7186. }
  7187. }
  7188. if iNdEx > l {
  7189. return io.ErrUnexpectedEOF
  7190. }
  7191. return nil
  7192. }
  7193. func (m *AnchorBatchUpdateReq) Unmarshal(dAtA []byte) error {
  7194. l := len(dAtA)
  7195. iNdEx := 0
  7196. for iNdEx < l {
  7197. preIndex := iNdEx
  7198. var wire uint64
  7199. for shift := uint(0); ; shift += 7 {
  7200. if shift >= 64 {
  7201. return ErrIntOverflowApi
  7202. }
  7203. if iNdEx >= l {
  7204. return io.ErrUnexpectedEOF
  7205. }
  7206. b := dAtA[iNdEx]
  7207. iNdEx++
  7208. wire |= (uint64(b) & 0x7F) << shift
  7209. if b < 0x80 {
  7210. break
  7211. }
  7212. }
  7213. fieldNum := int32(wire >> 3)
  7214. wireType := int(wire & 0x7)
  7215. if wireType == 4 {
  7216. return fmt.Errorf("proto: AnchorBatchUpdateReq: wiretype end group for non-group")
  7217. }
  7218. if fieldNum <= 0 {
  7219. return fmt.Errorf("proto: AnchorBatchUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7220. }
  7221. switch fieldNum {
  7222. case 1:
  7223. if wireType != 2 {
  7224. return fmt.Errorf("proto: wrong wireType = %d for field Reqs", wireType)
  7225. }
  7226. var msglen int
  7227. for shift := uint(0); ; shift += 7 {
  7228. if shift >= 64 {
  7229. return ErrIntOverflowApi
  7230. }
  7231. if iNdEx >= l {
  7232. return io.ErrUnexpectedEOF
  7233. }
  7234. b := dAtA[iNdEx]
  7235. iNdEx++
  7236. msglen |= (int(b) & 0x7F) << shift
  7237. if b < 0x80 {
  7238. break
  7239. }
  7240. }
  7241. if msglen < 0 {
  7242. return ErrInvalidLengthApi
  7243. }
  7244. postIndex := iNdEx + msglen
  7245. if postIndex > l {
  7246. return io.ErrUnexpectedEOF
  7247. }
  7248. m.Reqs = append(m.Reqs, &AnchorUpdateReq{})
  7249. if err := m.Reqs[len(m.Reqs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7250. return err
  7251. }
  7252. iNdEx = postIndex
  7253. default:
  7254. iNdEx = preIndex
  7255. skippy, err := skipApi(dAtA[iNdEx:])
  7256. if err != nil {
  7257. return err
  7258. }
  7259. if skippy < 0 {
  7260. return ErrInvalidLengthApi
  7261. }
  7262. if (iNdEx + skippy) > l {
  7263. return io.ErrUnexpectedEOF
  7264. }
  7265. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7266. iNdEx += skippy
  7267. }
  7268. }
  7269. if iNdEx > l {
  7270. return io.ErrUnexpectedEOF
  7271. }
  7272. return nil
  7273. }
  7274. func (m *AnchorIncreReq) Unmarshal(dAtA []byte) error {
  7275. l := len(dAtA)
  7276. iNdEx := 0
  7277. for iNdEx < l {
  7278. preIndex := iNdEx
  7279. var wire uint64
  7280. for shift := uint(0); ; shift += 7 {
  7281. if shift >= 64 {
  7282. return ErrIntOverflowApi
  7283. }
  7284. if iNdEx >= l {
  7285. return io.ErrUnexpectedEOF
  7286. }
  7287. b := dAtA[iNdEx]
  7288. iNdEx++
  7289. wire |= (uint64(b) & 0x7F) << shift
  7290. if b < 0x80 {
  7291. break
  7292. }
  7293. }
  7294. fieldNum := int32(wire >> 3)
  7295. wireType := int(wire & 0x7)
  7296. if wireType == 4 {
  7297. return fmt.Errorf("proto: AnchorIncreReq: wiretype end group for non-group")
  7298. }
  7299. if fieldNum <= 0 {
  7300. return fmt.Errorf("proto: AnchorIncreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7301. }
  7302. switch fieldNum {
  7303. case 1:
  7304. if wireType != 2 {
  7305. return fmt.Errorf("proto: wrong wireType = %d for field ReqId", wireType)
  7306. }
  7307. var stringLen uint64
  7308. for shift := uint(0); ; shift += 7 {
  7309. if shift >= 64 {
  7310. return ErrIntOverflowApi
  7311. }
  7312. if iNdEx >= l {
  7313. return io.ErrUnexpectedEOF
  7314. }
  7315. b := dAtA[iNdEx]
  7316. iNdEx++
  7317. stringLen |= (uint64(b) & 0x7F) << shift
  7318. if b < 0x80 {
  7319. break
  7320. }
  7321. }
  7322. intStringLen := int(stringLen)
  7323. if intStringLen < 0 {
  7324. return ErrInvalidLengthApi
  7325. }
  7326. postIndex := iNdEx + intStringLen
  7327. if postIndex > l {
  7328. return io.ErrUnexpectedEOF
  7329. }
  7330. m.ReqId = string(dAtA[iNdEx:postIndex])
  7331. iNdEx = postIndex
  7332. case 2:
  7333. if wireType != 2 {
  7334. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  7335. }
  7336. var stringLen uint64
  7337. for shift := uint(0); ; shift += 7 {
  7338. if shift >= 64 {
  7339. return ErrIntOverflowApi
  7340. }
  7341. if iNdEx >= l {
  7342. return io.ErrUnexpectedEOF
  7343. }
  7344. b := dAtA[iNdEx]
  7345. iNdEx++
  7346. stringLen |= (uint64(b) & 0x7F) << shift
  7347. if b < 0x80 {
  7348. break
  7349. }
  7350. }
  7351. intStringLen := int(stringLen)
  7352. if intStringLen < 0 {
  7353. return ErrInvalidLengthApi
  7354. }
  7355. postIndex := iNdEx + intStringLen
  7356. if postIndex > l {
  7357. return io.ErrUnexpectedEOF
  7358. }
  7359. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  7360. iNdEx = postIndex
  7361. case 3:
  7362. if wireType != 0 {
  7363. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  7364. }
  7365. m.Uid = 0
  7366. for shift := uint(0); ; shift += 7 {
  7367. if shift >= 64 {
  7368. return ErrIntOverflowApi
  7369. }
  7370. if iNdEx >= l {
  7371. return io.ErrUnexpectedEOF
  7372. }
  7373. b := dAtA[iNdEx]
  7374. iNdEx++
  7375. m.Uid |= (int64(b) & 0x7F) << shift
  7376. if b < 0x80 {
  7377. break
  7378. }
  7379. }
  7380. case 4:
  7381. if wireType != 0 {
  7382. return fmt.Errorf("proto: wrong wireType = %d for field SanScore", wireType)
  7383. }
  7384. m.SanScore = 0
  7385. for shift := uint(0); ; shift += 7 {
  7386. if shift >= 64 {
  7387. return ErrIntOverflowApi
  7388. }
  7389. if iNdEx >= l {
  7390. return io.ErrUnexpectedEOF
  7391. }
  7392. b := dAtA[iNdEx]
  7393. iNdEx++
  7394. m.SanScore |= (int64(b) & 0x7F) << shift
  7395. if b < 0x80 {
  7396. break
  7397. }
  7398. }
  7399. case 5:
  7400. if wireType != 0 {
  7401. return fmt.Errorf("proto: wrong wireType = %d for field Exp", wireType)
  7402. }
  7403. m.Exp = 0
  7404. for shift := uint(0); ; shift += 7 {
  7405. if shift >= 64 {
  7406. return ErrIntOverflowApi
  7407. }
  7408. if iNdEx >= l {
  7409. return io.ErrUnexpectedEOF
  7410. }
  7411. b := dAtA[iNdEx]
  7412. iNdEx++
  7413. m.Exp |= (int64(b) & 0x7F) << shift
  7414. if b < 0x80 {
  7415. break
  7416. }
  7417. }
  7418. default:
  7419. iNdEx = preIndex
  7420. skippy, err := skipApi(dAtA[iNdEx:])
  7421. if err != nil {
  7422. return err
  7423. }
  7424. if skippy < 0 {
  7425. return ErrInvalidLengthApi
  7426. }
  7427. if (iNdEx + skippy) > l {
  7428. return io.ErrUnexpectedEOF
  7429. }
  7430. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7431. iNdEx += skippy
  7432. }
  7433. }
  7434. if iNdEx > l {
  7435. return io.ErrUnexpectedEOF
  7436. }
  7437. return nil
  7438. }
  7439. func (m *AnchorBatchIncreReq) Unmarshal(dAtA []byte) error {
  7440. l := len(dAtA)
  7441. iNdEx := 0
  7442. for iNdEx < l {
  7443. preIndex := iNdEx
  7444. var wire uint64
  7445. for shift := uint(0); ; shift += 7 {
  7446. if shift >= 64 {
  7447. return ErrIntOverflowApi
  7448. }
  7449. if iNdEx >= l {
  7450. return io.ErrUnexpectedEOF
  7451. }
  7452. b := dAtA[iNdEx]
  7453. iNdEx++
  7454. wire |= (uint64(b) & 0x7F) << shift
  7455. if b < 0x80 {
  7456. break
  7457. }
  7458. }
  7459. fieldNum := int32(wire >> 3)
  7460. wireType := int(wire & 0x7)
  7461. if wireType == 4 {
  7462. return fmt.Errorf("proto: AnchorBatchIncreReq: wiretype end group for non-group")
  7463. }
  7464. if fieldNum <= 0 {
  7465. return fmt.Errorf("proto: AnchorBatchIncreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7466. }
  7467. switch fieldNum {
  7468. case 1:
  7469. if wireType != 2 {
  7470. return fmt.Errorf("proto: wrong wireType = %d for field Reqs", wireType)
  7471. }
  7472. var msglen int
  7473. for shift := uint(0); ; shift += 7 {
  7474. if shift >= 64 {
  7475. return ErrIntOverflowApi
  7476. }
  7477. if iNdEx >= l {
  7478. return io.ErrUnexpectedEOF
  7479. }
  7480. b := dAtA[iNdEx]
  7481. iNdEx++
  7482. msglen |= (int(b) & 0x7F) << shift
  7483. if b < 0x80 {
  7484. break
  7485. }
  7486. }
  7487. if msglen < 0 {
  7488. return ErrInvalidLengthApi
  7489. }
  7490. postIndex := iNdEx + msglen
  7491. if postIndex > l {
  7492. return io.ErrUnexpectedEOF
  7493. }
  7494. m.Reqs = append(m.Reqs, &AnchorIncreReq{})
  7495. if err := m.Reqs[len(m.Reqs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7496. return err
  7497. }
  7498. iNdEx = postIndex
  7499. default:
  7500. iNdEx = preIndex
  7501. skippy, err := skipApi(dAtA[iNdEx:])
  7502. if err != nil {
  7503. return err
  7504. }
  7505. if skippy < 0 {
  7506. return ErrInvalidLengthApi
  7507. }
  7508. if (iNdEx + skippy) > l {
  7509. return io.ErrUnexpectedEOF
  7510. }
  7511. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7512. iNdEx += skippy
  7513. }
  7514. }
  7515. if iNdEx > l {
  7516. return io.ErrUnexpectedEOF
  7517. }
  7518. return nil
  7519. }
  7520. func (m *RoomExtendUpdateReq) Unmarshal(dAtA []byte) error {
  7521. l := len(dAtA)
  7522. iNdEx := 0
  7523. for iNdEx < l {
  7524. preIndex := iNdEx
  7525. var wire uint64
  7526. for shift := uint(0); ; shift += 7 {
  7527. if shift >= 64 {
  7528. return ErrIntOverflowApi
  7529. }
  7530. if iNdEx >= l {
  7531. return io.ErrUnexpectedEOF
  7532. }
  7533. b := dAtA[iNdEx]
  7534. iNdEx++
  7535. wire |= (uint64(b) & 0x7F) << shift
  7536. if b < 0x80 {
  7537. break
  7538. }
  7539. }
  7540. fieldNum := int32(wire >> 3)
  7541. wireType := int(wire & 0x7)
  7542. if wireType == 4 {
  7543. return fmt.Errorf("proto: RoomExtendUpdateReq: wiretype end group for non-group")
  7544. }
  7545. if fieldNum <= 0 {
  7546. return fmt.Errorf("proto: RoomExtendUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7547. }
  7548. switch fieldNum {
  7549. case 1:
  7550. if wireType != 2 {
  7551. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  7552. }
  7553. var stringLen uint64
  7554. for shift := uint(0); ; shift += 7 {
  7555. if shift >= 64 {
  7556. return ErrIntOverflowApi
  7557. }
  7558. if iNdEx >= l {
  7559. return io.ErrUnexpectedEOF
  7560. }
  7561. b := dAtA[iNdEx]
  7562. iNdEx++
  7563. stringLen |= (uint64(b) & 0x7F) << shift
  7564. if b < 0x80 {
  7565. break
  7566. }
  7567. }
  7568. intStringLen := int(stringLen)
  7569. if intStringLen < 0 {
  7570. return ErrInvalidLengthApi
  7571. }
  7572. postIndex := iNdEx + intStringLen
  7573. if postIndex > l {
  7574. return io.ErrUnexpectedEOF
  7575. }
  7576. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  7577. iNdEx = postIndex
  7578. case 2:
  7579. if wireType != 0 {
  7580. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  7581. }
  7582. m.RoomId = 0
  7583. for shift := uint(0); ; shift += 7 {
  7584. if shift >= 64 {
  7585. return ErrIntOverflowApi
  7586. }
  7587. if iNdEx >= l {
  7588. return io.ErrUnexpectedEOF
  7589. }
  7590. b := dAtA[iNdEx]
  7591. iNdEx++
  7592. m.RoomId |= (int64(b) & 0x7F) << shift
  7593. if b < 0x80 {
  7594. break
  7595. }
  7596. }
  7597. case 3:
  7598. if wireType != 2 {
  7599. return fmt.Errorf("proto: wrong wireType = %d for field KeyFrame", wireType)
  7600. }
  7601. var stringLen uint64
  7602. for shift := uint(0); ; shift += 7 {
  7603. if shift >= 64 {
  7604. return ErrIntOverflowApi
  7605. }
  7606. if iNdEx >= l {
  7607. return io.ErrUnexpectedEOF
  7608. }
  7609. b := dAtA[iNdEx]
  7610. iNdEx++
  7611. stringLen |= (uint64(b) & 0x7F) << shift
  7612. if b < 0x80 {
  7613. break
  7614. }
  7615. }
  7616. intStringLen := int(stringLen)
  7617. if intStringLen < 0 {
  7618. return ErrInvalidLengthApi
  7619. }
  7620. postIndex := iNdEx + intStringLen
  7621. if postIndex > l {
  7622. return io.ErrUnexpectedEOF
  7623. }
  7624. m.KeyFrame = string(dAtA[iNdEx:postIndex])
  7625. iNdEx = postIndex
  7626. case 4:
  7627. if wireType != 0 {
  7628. return fmt.Errorf("proto: wrong wireType = %d for field DanmuCount", wireType)
  7629. }
  7630. m.DanmuCount = 0
  7631. for shift := uint(0); ; shift += 7 {
  7632. if shift >= 64 {
  7633. return ErrIntOverflowApi
  7634. }
  7635. if iNdEx >= l {
  7636. return io.ErrUnexpectedEOF
  7637. }
  7638. b := dAtA[iNdEx]
  7639. iNdEx++
  7640. m.DanmuCount |= (int64(b) & 0x7F) << shift
  7641. if b < 0x80 {
  7642. break
  7643. }
  7644. }
  7645. case 5:
  7646. if wireType != 0 {
  7647. return fmt.Errorf("proto: wrong wireType = %d for field PopularityCount", wireType)
  7648. }
  7649. m.PopularityCount = 0
  7650. for shift := uint(0); ; shift += 7 {
  7651. if shift >= 64 {
  7652. return ErrIntOverflowApi
  7653. }
  7654. if iNdEx >= l {
  7655. return io.ErrUnexpectedEOF
  7656. }
  7657. b := dAtA[iNdEx]
  7658. iNdEx++
  7659. m.PopularityCount |= (int64(b) & 0x7F) << shift
  7660. if b < 0x80 {
  7661. break
  7662. }
  7663. }
  7664. case 6:
  7665. if wireType != 0 {
  7666. return fmt.Errorf("proto: wrong wireType = %d for field AudienceCount", wireType)
  7667. }
  7668. m.AudienceCount = 0
  7669. for shift := uint(0); ; shift += 7 {
  7670. if shift >= 64 {
  7671. return ErrIntOverflowApi
  7672. }
  7673. if iNdEx >= l {
  7674. return io.ErrUnexpectedEOF
  7675. }
  7676. b := dAtA[iNdEx]
  7677. iNdEx++
  7678. m.AudienceCount |= (int64(b) & 0x7F) << shift
  7679. if b < 0x80 {
  7680. break
  7681. }
  7682. }
  7683. case 7:
  7684. if wireType != 0 {
  7685. return fmt.Errorf("proto: wrong wireType = %d for field GiftCount", wireType)
  7686. }
  7687. m.GiftCount = 0
  7688. for shift := uint(0); ; shift += 7 {
  7689. if shift >= 64 {
  7690. return ErrIntOverflowApi
  7691. }
  7692. if iNdEx >= l {
  7693. return io.ErrUnexpectedEOF
  7694. }
  7695. b := dAtA[iNdEx]
  7696. iNdEx++
  7697. m.GiftCount |= (int64(b) & 0x7F) << shift
  7698. if b < 0x80 {
  7699. break
  7700. }
  7701. }
  7702. case 8:
  7703. if wireType != 0 {
  7704. return fmt.Errorf("proto: wrong wireType = %d for field GiftGoldAmount", wireType)
  7705. }
  7706. m.GiftGoldAmount = 0
  7707. for shift := uint(0); ; shift += 7 {
  7708. if shift >= 64 {
  7709. return ErrIntOverflowApi
  7710. }
  7711. if iNdEx >= l {
  7712. return io.ErrUnexpectedEOF
  7713. }
  7714. b := dAtA[iNdEx]
  7715. iNdEx++
  7716. m.GiftGoldAmount |= (int64(b) & 0x7F) << shift
  7717. if b < 0x80 {
  7718. break
  7719. }
  7720. }
  7721. case 9:
  7722. if wireType != 0 {
  7723. return fmt.Errorf("proto: wrong wireType = %d for field GiftGoldCount", wireType)
  7724. }
  7725. m.GiftGoldCount = 0
  7726. for shift := uint(0); ; shift += 7 {
  7727. if shift >= 64 {
  7728. return ErrIntOverflowApi
  7729. }
  7730. if iNdEx >= l {
  7731. return io.ErrUnexpectedEOF
  7732. }
  7733. b := dAtA[iNdEx]
  7734. iNdEx++
  7735. m.GiftGoldCount |= (int64(b) & 0x7F) << shift
  7736. if b < 0x80 {
  7737. break
  7738. }
  7739. }
  7740. default:
  7741. iNdEx = preIndex
  7742. skippy, err := skipApi(dAtA[iNdEx:])
  7743. if err != nil {
  7744. return err
  7745. }
  7746. if skippy < 0 {
  7747. return ErrInvalidLengthApi
  7748. }
  7749. if (iNdEx + skippy) > l {
  7750. return io.ErrUnexpectedEOF
  7751. }
  7752. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7753. iNdEx += skippy
  7754. }
  7755. }
  7756. if iNdEx > l {
  7757. return io.ErrUnexpectedEOF
  7758. }
  7759. return nil
  7760. }
  7761. func (m *RoomExtendBatchUpdateReq) Unmarshal(dAtA []byte) error {
  7762. l := len(dAtA)
  7763. iNdEx := 0
  7764. for iNdEx < l {
  7765. preIndex := iNdEx
  7766. var wire uint64
  7767. for shift := uint(0); ; shift += 7 {
  7768. if shift >= 64 {
  7769. return ErrIntOverflowApi
  7770. }
  7771. if iNdEx >= l {
  7772. return io.ErrUnexpectedEOF
  7773. }
  7774. b := dAtA[iNdEx]
  7775. iNdEx++
  7776. wire |= (uint64(b) & 0x7F) << shift
  7777. if b < 0x80 {
  7778. break
  7779. }
  7780. }
  7781. fieldNum := int32(wire >> 3)
  7782. wireType := int(wire & 0x7)
  7783. if wireType == 4 {
  7784. return fmt.Errorf("proto: RoomExtendBatchUpdateReq: wiretype end group for non-group")
  7785. }
  7786. if fieldNum <= 0 {
  7787. return fmt.Errorf("proto: RoomExtendBatchUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7788. }
  7789. switch fieldNum {
  7790. case 1:
  7791. if wireType != 2 {
  7792. return fmt.Errorf("proto: wrong wireType = %d for field Reqs", wireType)
  7793. }
  7794. var msglen int
  7795. for shift := uint(0); ; shift += 7 {
  7796. if shift >= 64 {
  7797. return ErrIntOverflowApi
  7798. }
  7799. if iNdEx >= l {
  7800. return io.ErrUnexpectedEOF
  7801. }
  7802. b := dAtA[iNdEx]
  7803. iNdEx++
  7804. msglen |= (int(b) & 0x7F) << shift
  7805. if b < 0x80 {
  7806. break
  7807. }
  7808. }
  7809. if msglen < 0 {
  7810. return ErrInvalidLengthApi
  7811. }
  7812. postIndex := iNdEx + msglen
  7813. if postIndex > l {
  7814. return io.ErrUnexpectedEOF
  7815. }
  7816. m.Reqs = append(m.Reqs, &RoomExtendUpdateReq{})
  7817. if err := m.Reqs[len(m.Reqs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7818. return err
  7819. }
  7820. iNdEx = postIndex
  7821. default:
  7822. iNdEx = preIndex
  7823. skippy, err := skipApi(dAtA[iNdEx:])
  7824. if err != nil {
  7825. return err
  7826. }
  7827. if skippy < 0 {
  7828. return ErrInvalidLengthApi
  7829. }
  7830. if (iNdEx + skippy) > l {
  7831. return io.ErrUnexpectedEOF
  7832. }
  7833. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7834. iNdEx += skippy
  7835. }
  7836. }
  7837. if iNdEx > l {
  7838. return io.ErrUnexpectedEOF
  7839. }
  7840. return nil
  7841. }
  7842. func (m *RoomExtendIncreReq) Unmarshal(dAtA []byte) error {
  7843. l := len(dAtA)
  7844. iNdEx := 0
  7845. for iNdEx < l {
  7846. preIndex := iNdEx
  7847. var wire uint64
  7848. for shift := uint(0); ; shift += 7 {
  7849. if shift >= 64 {
  7850. return ErrIntOverflowApi
  7851. }
  7852. if iNdEx >= l {
  7853. return io.ErrUnexpectedEOF
  7854. }
  7855. b := dAtA[iNdEx]
  7856. iNdEx++
  7857. wire |= (uint64(b) & 0x7F) << shift
  7858. if b < 0x80 {
  7859. break
  7860. }
  7861. }
  7862. fieldNum := int32(wire >> 3)
  7863. wireType := int(wire & 0x7)
  7864. if wireType == 4 {
  7865. return fmt.Errorf("proto: RoomExtendIncreReq: wiretype end group for non-group")
  7866. }
  7867. if fieldNum <= 0 {
  7868. return fmt.Errorf("proto: RoomExtendIncreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7869. }
  7870. switch fieldNum {
  7871. case 1:
  7872. if wireType != 2 {
  7873. return fmt.Errorf("proto: wrong wireType = %d for field ReqId", wireType)
  7874. }
  7875. var stringLen uint64
  7876. for shift := uint(0); ; shift += 7 {
  7877. if shift >= 64 {
  7878. return ErrIntOverflowApi
  7879. }
  7880. if iNdEx >= l {
  7881. return io.ErrUnexpectedEOF
  7882. }
  7883. b := dAtA[iNdEx]
  7884. iNdEx++
  7885. stringLen |= (uint64(b) & 0x7F) << shift
  7886. if b < 0x80 {
  7887. break
  7888. }
  7889. }
  7890. intStringLen := int(stringLen)
  7891. if intStringLen < 0 {
  7892. return ErrInvalidLengthApi
  7893. }
  7894. postIndex := iNdEx + intStringLen
  7895. if postIndex > l {
  7896. return io.ErrUnexpectedEOF
  7897. }
  7898. m.ReqId = string(dAtA[iNdEx:postIndex])
  7899. iNdEx = postIndex
  7900. case 2:
  7901. if wireType != 2 {
  7902. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  7903. }
  7904. var stringLen uint64
  7905. for shift := uint(0); ; shift += 7 {
  7906. if shift >= 64 {
  7907. return ErrIntOverflowApi
  7908. }
  7909. if iNdEx >= l {
  7910. return io.ErrUnexpectedEOF
  7911. }
  7912. b := dAtA[iNdEx]
  7913. iNdEx++
  7914. stringLen |= (uint64(b) & 0x7F) << shift
  7915. if b < 0x80 {
  7916. break
  7917. }
  7918. }
  7919. intStringLen := int(stringLen)
  7920. if intStringLen < 0 {
  7921. return ErrInvalidLengthApi
  7922. }
  7923. postIndex := iNdEx + intStringLen
  7924. if postIndex > l {
  7925. return io.ErrUnexpectedEOF
  7926. }
  7927. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  7928. iNdEx = postIndex
  7929. case 3:
  7930. if wireType != 0 {
  7931. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  7932. }
  7933. m.RoomId = 0
  7934. for shift := uint(0); ; shift += 7 {
  7935. if shift >= 64 {
  7936. return ErrIntOverflowApi
  7937. }
  7938. if iNdEx >= l {
  7939. return io.ErrUnexpectedEOF
  7940. }
  7941. b := dAtA[iNdEx]
  7942. iNdEx++
  7943. m.RoomId |= (int64(b) & 0x7F) << shift
  7944. if b < 0x80 {
  7945. break
  7946. }
  7947. }
  7948. case 4:
  7949. if wireType != 0 {
  7950. return fmt.Errorf("proto: wrong wireType = %d for field DanmuCount", wireType)
  7951. }
  7952. m.DanmuCount = 0
  7953. for shift := uint(0); ; shift += 7 {
  7954. if shift >= 64 {
  7955. return ErrIntOverflowApi
  7956. }
  7957. if iNdEx >= l {
  7958. return io.ErrUnexpectedEOF
  7959. }
  7960. b := dAtA[iNdEx]
  7961. iNdEx++
  7962. m.DanmuCount |= (int64(b) & 0x7F) << shift
  7963. if b < 0x80 {
  7964. break
  7965. }
  7966. }
  7967. case 5:
  7968. if wireType != 0 {
  7969. return fmt.Errorf("proto: wrong wireType = %d for field PopularityCount", wireType)
  7970. }
  7971. m.PopularityCount = 0
  7972. for shift := uint(0); ; shift += 7 {
  7973. if shift >= 64 {
  7974. return ErrIntOverflowApi
  7975. }
  7976. if iNdEx >= l {
  7977. return io.ErrUnexpectedEOF
  7978. }
  7979. b := dAtA[iNdEx]
  7980. iNdEx++
  7981. m.PopularityCount |= (int64(b) & 0x7F) << shift
  7982. if b < 0x80 {
  7983. break
  7984. }
  7985. }
  7986. case 6:
  7987. if wireType != 0 {
  7988. return fmt.Errorf("proto: wrong wireType = %d for field AudienceCount", wireType)
  7989. }
  7990. m.AudienceCount = 0
  7991. for shift := uint(0); ; shift += 7 {
  7992. if shift >= 64 {
  7993. return ErrIntOverflowApi
  7994. }
  7995. if iNdEx >= l {
  7996. return io.ErrUnexpectedEOF
  7997. }
  7998. b := dAtA[iNdEx]
  7999. iNdEx++
  8000. m.AudienceCount |= (int64(b) & 0x7F) << shift
  8001. if b < 0x80 {
  8002. break
  8003. }
  8004. }
  8005. case 7:
  8006. if wireType != 0 {
  8007. return fmt.Errorf("proto: wrong wireType = %d for field GiftCount", wireType)
  8008. }
  8009. m.GiftCount = 0
  8010. for shift := uint(0); ; shift += 7 {
  8011. if shift >= 64 {
  8012. return ErrIntOverflowApi
  8013. }
  8014. if iNdEx >= l {
  8015. return io.ErrUnexpectedEOF
  8016. }
  8017. b := dAtA[iNdEx]
  8018. iNdEx++
  8019. m.GiftCount |= (int64(b) & 0x7F) << shift
  8020. if b < 0x80 {
  8021. break
  8022. }
  8023. }
  8024. case 8:
  8025. if wireType != 0 {
  8026. return fmt.Errorf("proto: wrong wireType = %d for field GiftGoldAmount", wireType)
  8027. }
  8028. m.GiftGoldAmount = 0
  8029. for shift := uint(0); ; shift += 7 {
  8030. if shift >= 64 {
  8031. return ErrIntOverflowApi
  8032. }
  8033. if iNdEx >= l {
  8034. return io.ErrUnexpectedEOF
  8035. }
  8036. b := dAtA[iNdEx]
  8037. iNdEx++
  8038. m.GiftGoldAmount |= (int64(b) & 0x7F) << shift
  8039. if b < 0x80 {
  8040. break
  8041. }
  8042. }
  8043. case 9:
  8044. if wireType != 0 {
  8045. return fmt.Errorf("proto: wrong wireType = %d for field GiftGoldCount", wireType)
  8046. }
  8047. m.GiftGoldCount = 0
  8048. for shift := uint(0); ; shift += 7 {
  8049. if shift >= 64 {
  8050. return ErrIntOverflowApi
  8051. }
  8052. if iNdEx >= l {
  8053. return io.ErrUnexpectedEOF
  8054. }
  8055. b := dAtA[iNdEx]
  8056. iNdEx++
  8057. m.GiftGoldCount |= (int64(b) & 0x7F) << shift
  8058. if b < 0x80 {
  8059. break
  8060. }
  8061. }
  8062. default:
  8063. iNdEx = preIndex
  8064. skippy, err := skipApi(dAtA[iNdEx:])
  8065. if err != nil {
  8066. return err
  8067. }
  8068. if skippy < 0 {
  8069. return ErrInvalidLengthApi
  8070. }
  8071. if (iNdEx + skippy) > l {
  8072. return io.ErrUnexpectedEOF
  8073. }
  8074. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8075. iNdEx += skippy
  8076. }
  8077. }
  8078. if iNdEx > l {
  8079. return io.ErrUnexpectedEOF
  8080. }
  8081. return nil
  8082. }
  8083. func (m *RoomExtendBatchIncreReq) Unmarshal(dAtA []byte) error {
  8084. l := len(dAtA)
  8085. iNdEx := 0
  8086. for iNdEx < l {
  8087. preIndex := iNdEx
  8088. var wire uint64
  8089. for shift := uint(0); ; shift += 7 {
  8090. if shift >= 64 {
  8091. return ErrIntOverflowApi
  8092. }
  8093. if iNdEx >= l {
  8094. return io.ErrUnexpectedEOF
  8095. }
  8096. b := dAtA[iNdEx]
  8097. iNdEx++
  8098. wire |= (uint64(b) & 0x7F) << shift
  8099. if b < 0x80 {
  8100. break
  8101. }
  8102. }
  8103. fieldNum := int32(wire >> 3)
  8104. wireType := int(wire & 0x7)
  8105. if wireType == 4 {
  8106. return fmt.Errorf("proto: RoomExtendBatchIncreReq: wiretype end group for non-group")
  8107. }
  8108. if fieldNum <= 0 {
  8109. return fmt.Errorf("proto: RoomExtendBatchIncreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8110. }
  8111. switch fieldNum {
  8112. case 1:
  8113. if wireType != 2 {
  8114. return fmt.Errorf("proto: wrong wireType = %d for field Reqs", wireType)
  8115. }
  8116. var msglen int
  8117. for shift := uint(0); ; shift += 7 {
  8118. if shift >= 64 {
  8119. return ErrIntOverflowApi
  8120. }
  8121. if iNdEx >= l {
  8122. return io.ErrUnexpectedEOF
  8123. }
  8124. b := dAtA[iNdEx]
  8125. iNdEx++
  8126. msglen |= (int(b) & 0x7F) << shift
  8127. if b < 0x80 {
  8128. break
  8129. }
  8130. }
  8131. if msglen < 0 {
  8132. return ErrInvalidLengthApi
  8133. }
  8134. postIndex := iNdEx + msglen
  8135. if postIndex > l {
  8136. return io.ErrUnexpectedEOF
  8137. }
  8138. m.Reqs = append(m.Reqs, &RoomExtendIncreReq{})
  8139. if err := m.Reqs[len(m.Reqs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8140. return err
  8141. }
  8142. iNdEx = postIndex
  8143. default:
  8144. iNdEx = preIndex
  8145. skippy, err := skipApi(dAtA[iNdEx:])
  8146. if err != nil {
  8147. return err
  8148. }
  8149. if skippy < 0 {
  8150. return ErrInvalidLengthApi
  8151. }
  8152. if (iNdEx + skippy) > l {
  8153. return io.ErrUnexpectedEOF
  8154. }
  8155. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8156. iNdEx += skippy
  8157. }
  8158. }
  8159. if iNdEx > l {
  8160. return io.ErrUnexpectedEOF
  8161. }
  8162. return nil
  8163. }
  8164. func (m *RoomTagSetReq) Unmarshal(dAtA []byte) error {
  8165. l := len(dAtA)
  8166. iNdEx := 0
  8167. for iNdEx < l {
  8168. preIndex := iNdEx
  8169. var wire uint64
  8170. for shift := uint(0); ; shift += 7 {
  8171. if shift >= 64 {
  8172. return ErrIntOverflowApi
  8173. }
  8174. if iNdEx >= l {
  8175. return io.ErrUnexpectedEOF
  8176. }
  8177. b := dAtA[iNdEx]
  8178. iNdEx++
  8179. wire |= (uint64(b) & 0x7F) << shift
  8180. if b < 0x80 {
  8181. break
  8182. }
  8183. }
  8184. fieldNum := int32(wire >> 3)
  8185. wireType := int(wire & 0x7)
  8186. if wireType == 4 {
  8187. return fmt.Errorf("proto: RoomTagSetReq: wiretype end group for non-group")
  8188. }
  8189. if fieldNum <= 0 {
  8190. return fmt.Errorf("proto: RoomTagSetReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8191. }
  8192. switch fieldNum {
  8193. case 1:
  8194. if wireType != 2 {
  8195. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  8196. }
  8197. var stringLen uint64
  8198. for shift := uint(0); ; shift += 7 {
  8199. if shift >= 64 {
  8200. return ErrIntOverflowApi
  8201. }
  8202. if iNdEx >= l {
  8203. return io.ErrUnexpectedEOF
  8204. }
  8205. b := dAtA[iNdEx]
  8206. iNdEx++
  8207. stringLen |= (uint64(b) & 0x7F) << shift
  8208. if b < 0x80 {
  8209. break
  8210. }
  8211. }
  8212. intStringLen := int(stringLen)
  8213. if intStringLen < 0 {
  8214. return ErrInvalidLengthApi
  8215. }
  8216. postIndex := iNdEx + intStringLen
  8217. if postIndex > l {
  8218. return io.ErrUnexpectedEOF
  8219. }
  8220. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  8221. iNdEx = postIndex
  8222. case 2:
  8223. if wireType != 0 {
  8224. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  8225. }
  8226. m.RoomId = 0
  8227. for shift := uint(0); ; shift += 7 {
  8228. if shift >= 64 {
  8229. return ErrIntOverflowApi
  8230. }
  8231. if iNdEx >= l {
  8232. return io.ErrUnexpectedEOF
  8233. }
  8234. b := dAtA[iNdEx]
  8235. iNdEx++
  8236. m.RoomId |= (int64(b) & 0x7F) << shift
  8237. if b < 0x80 {
  8238. break
  8239. }
  8240. }
  8241. case 3:
  8242. if wireType != 0 {
  8243. return fmt.Errorf("proto: wrong wireType = %d for field TagType", wireType)
  8244. }
  8245. m.TagType = 0
  8246. for shift := uint(0); ; shift += 7 {
  8247. if shift >= 64 {
  8248. return ErrIntOverflowApi
  8249. }
  8250. if iNdEx >= l {
  8251. return io.ErrUnexpectedEOF
  8252. }
  8253. b := dAtA[iNdEx]
  8254. iNdEx++
  8255. m.TagType |= (int64(b) & 0x7F) << shift
  8256. if b < 0x80 {
  8257. break
  8258. }
  8259. }
  8260. case 4:
  8261. if wireType != 0 {
  8262. return fmt.Errorf("proto: wrong wireType = %d for field TagValue", wireType)
  8263. }
  8264. m.TagValue = 0
  8265. for shift := uint(0); ; shift += 7 {
  8266. if shift >= 64 {
  8267. return ErrIntOverflowApi
  8268. }
  8269. if iNdEx >= l {
  8270. return io.ErrUnexpectedEOF
  8271. }
  8272. b := dAtA[iNdEx]
  8273. iNdEx++
  8274. m.TagValue |= (int64(b) & 0x7F) << shift
  8275. if b < 0x80 {
  8276. break
  8277. }
  8278. }
  8279. case 5:
  8280. if wireType != 2 {
  8281. return fmt.Errorf("proto: wrong wireType = %d for field TagAttribute", wireType)
  8282. }
  8283. var stringLen uint64
  8284. for shift := uint(0); ; shift += 7 {
  8285. if shift >= 64 {
  8286. return ErrIntOverflowApi
  8287. }
  8288. if iNdEx >= l {
  8289. return io.ErrUnexpectedEOF
  8290. }
  8291. b := dAtA[iNdEx]
  8292. iNdEx++
  8293. stringLen |= (uint64(b) & 0x7F) << shift
  8294. if b < 0x80 {
  8295. break
  8296. }
  8297. }
  8298. intStringLen := int(stringLen)
  8299. if intStringLen < 0 {
  8300. return ErrInvalidLengthApi
  8301. }
  8302. postIndex := iNdEx + intStringLen
  8303. if postIndex > l {
  8304. return io.ErrUnexpectedEOF
  8305. }
  8306. m.TagAttribute = string(dAtA[iNdEx:postIndex])
  8307. iNdEx = postIndex
  8308. case 6:
  8309. if wireType != 0 {
  8310. return fmt.Errorf("proto: wrong wireType = %d for field TagExpireAt", wireType)
  8311. }
  8312. m.TagExpireAt = 0
  8313. for shift := uint(0); ; shift += 7 {
  8314. if shift >= 64 {
  8315. return ErrIntOverflowApi
  8316. }
  8317. if iNdEx >= l {
  8318. return io.ErrUnexpectedEOF
  8319. }
  8320. b := dAtA[iNdEx]
  8321. iNdEx++
  8322. m.TagExpireAt |= (int64(b) & 0x7F) << shift
  8323. if b < 0x80 {
  8324. break
  8325. }
  8326. }
  8327. default:
  8328. iNdEx = preIndex
  8329. skippy, err := skipApi(dAtA[iNdEx:])
  8330. if err != nil {
  8331. return err
  8332. }
  8333. if skippy < 0 {
  8334. return ErrInvalidLengthApi
  8335. }
  8336. if (iNdEx + skippy) > l {
  8337. return io.ErrUnexpectedEOF
  8338. }
  8339. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8340. iNdEx += skippy
  8341. }
  8342. }
  8343. if iNdEx > l {
  8344. return io.ErrUnexpectedEOF
  8345. }
  8346. return nil
  8347. }
  8348. func (m *AnchorTagSetReq) Unmarshal(dAtA []byte) error {
  8349. l := len(dAtA)
  8350. iNdEx := 0
  8351. for iNdEx < l {
  8352. preIndex := iNdEx
  8353. var wire uint64
  8354. for shift := uint(0); ; shift += 7 {
  8355. if shift >= 64 {
  8356. return ErrIntOverflowApi
  8357. }
  8358. if iNdEx >= l {
  8359. return io.ErrUnexpectedEOF
  8360. }
  8361. b := dAtA[iNdEx]
  8362. iNdEx++
  8363. wire |= (uint64(b) & 0x7F) << shift
  8364. if b < 0x80 {
  8365. break
  8366. }
  8367. }
  8368. fieldNum := int32(wire >> 3)
  8369. wireType := int(wire & 0x7)
  8370. if wireType == 4 {
  8371. return fmt.Errorf("proto: AnchorTagSetReq: wiretype end group for non-group")
  8372. }
  8373. if fieldNum <= 0 {
  8374. return fmt.Errorf("proto: AnchorTagSetReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8375. }
  8376. switch fieldNum {
  8377. case 1:
  8378. if wireType != 2 {
  8379. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  8380. }
  8381. var stringLen uint64
  8382. for shift := uint(0); ; shift += 7 {
  8383. if shift >= 64 {
  8384. return ErrIntOverflowApi
  8385. }
  8386. if iNdEx >= l {
  8387. return io.ErrUnexpectedEOF
  8388. }
  8389. b := dAtA[iNdEx]
  8390. iNdEx++
  8391. stringLen |= (uint64(b) & 0x7F) << shift
  8392. if b < 0x80 {
  8393. break
  8394. }
  8395. }
  8396. intStringLen := int(stringLen)
  8397. if intStringLen < 0 {
  8398. return ErrInvalidLengthApi
  8399. }
  8400. postIndex := iNdEx + intStringLen
  8401. if postIndex > l {
  8402. return io.ErrUnexpectedEOF
  8403. }
  8404. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  8405. iNdEx = postIndex
  8406. case 2:
  8407. if wireType != 0 {
  8408. return fmt.Errorf("proto: wrong wireType = %d for field AnchorId", wireType)
  8409. }
  8410. m.AnchorId = 0
  8411. for shift := uint(0); ; shift += 7 {
  8412. if shift >= 64 {
  8413. return ErrIntOverflowApi
  8414. }
  8415. if iNdEx >= l {
  8416. return io.ErrUnexpectedEOF
  8417. }
  8418. b := dAtA[iNdEx]
  8419. iNdEx++
  8420. m.AnchorId |= (int64(b) & 0x7F) << shift
  8421. if b < 0x80 {
  8422. break
  8423. }
  8424. }
  8425. case 3:
  8426. if wireType != 0 {
  8427. return fmt.Errorf("proto: wrong wireType = %d for field TagType", wireType)
  8428. }
  8429. m.TagType = 0
  8430. for shift := uint(0); ; shift += 7 {
  8431. if shift >= 64 {
  8432. return ErrIntOverflowApi
  8433. }
  8434. if iNdEx >= l {
  8435. return io.ErrUnexpectedEOF
  8436. }
  8437. b := dAtA[iNdEx]
  8438. iNdEx++
  8439. m.TagType |= (int64(b) & 0x7F) << shift
  8440. if b < 0x80 {
  8441. break
  8442. }
  8443. }
  8444. case 4:
  8445. if wireType != 0 {
  8446. return fmt.Errorf("proto: wrong wireType = %d for field TagValue", wireType)
  8447. }
  8448. m.TagValue = 0
  8449. for shift := uint(0); ; shift += 7 {
  8450. if shift >= 64 {
  8451. return ErrIntOverflowApi
  8452. }
  8453. if iNdEx >= l {
  8454. return io.ErrUnexpectedEOF
  8455. }
  8456. b := dAtA[iNdEx]
  8457. iNdEx++
  8458. m.TagValue |= (int64(b) & 0x7F) << shift
  8459. if b < 0x80 {
  8460. break
  8461. }
  8462. }
  8463. case 5:
  8464. if wireType != 2 {
  8465. return fmt.Errorf("proto: wrong wireType = %d for field TagAttribute", wireType)
  8466. }
  8467. var stringLen uint64
  8468. for shift := uint(0); ; shift += 7 {
  8469. if shift >= 64 {
  8470. return ErrIntOverflowApi
  8471. }
  8472. if iNdEx >= l {
  8473. return io.ErrUnexpectedEOF
  8474. }
  8475. b := dAtA[iNdEx]
  8476. iNdEx++
  8477. stringLen |= (uint64(b) & 0x7F) << shift
  8478. if b < 0x80 {
  8479. break
  8480. }
  8481. }
  8482. intStringLen := int(stringLen)
  8483. if intStringLen < 0 {
  8484. return ErrInvalidLengthApi
  8485. }
  8486. postIndex := iNdEx + intStringLen
  8487. if postIndex > l {
  8488. return io.ErrUnexpectedEOF
  8489. }
  8490. m.TagAttribute = string(dAtA[iNdEx:postIndex])
  8491. iNdEx = postIndex
  8492. case 6:
  8493. if wireType != 0 {
  8494. return fmt.Errorf("proto: wrong wireType = %d for field TagExpireAt", wireType)
  8495. }
  8496. m.TagExpireAt = 0
  8497. for shift := uint(0); ; shift += 7 {
  8498. if shift >= 64 {
  8499. return ErrIntOverflowApi
  8500. }
  8501. if iNdEx >= l {
  8502. return io.ErrUnexpectedEOF
  8503. }
  8504. b := dAtA[iNdEx]
  8505. iNdEx++
  8506. m.TagExpireAt |= (int64(b) & 0x7F) << shift
  8507. if b < 0x80 {
  8508. break
  8509. }
  8510. }
  8511. default:
  8512. iNdEx = preIndex
  8513. skippy, err := skipApi(dAtA[iNdEx:])
  8514. if err != nil {
  8515. return err
  8516. }
  8517. if skippy < 0 {
  8518. return ErrInvalidLengthApi
  8519. }
  8520. if (iNdEx + skippy) > l {
  8521. return io.ErrUnexpectedEOF
  8522. }
  8523. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8524. iNdEx += skippy
  8525. }
  8526. }
  8527. if iNdEx > l {
  8528. return io.ErrUnexpectedEOF
  8529. }
  8530. return nil
  8531. }
  8532. func skipApi(dAtA []byte) (n int, err error) {
  8533. l := len(dAtA)
  8534. iNdEx := 0
  8535. for iNdEx < l {
  8536. var wire uint64
  8537. for shift := uint(0); ; shift += 7 {
  8538. if shift >= 64 {
  8539. return 0, ErrIntOverflowApi
  8540. }
  8541. if iNdEx >= l {
  8542. return 0, io.ErrUnexpectedEOF
  8543. }
  8544. b := dAtA[iNdEx]
  8545. iNdEx++
  8546. wire |= (uint64(b) & 0x7F) << shift
  8547. if b < 0x80 {
  8548. break
  8549. }
  8550. }
  8551. wireType := int(wire & 0x7)
  8552. switch wireType {
  8553. case 0:
  8554. for shift := uint(0); ; shift += 7 {
  8555. if shift >= 64 {
  8556. return 0, ErrIntOverflowApi
  8557. }
  8558. if iNdEx >= l {
  8559. return 0, io.ErrUnexpectedEOF
  8560. }
  8561. iNdEx++
  8562. if dAtA[iNdEx-1] < 0x80 {
  8563. break
  8564. }
  8565. }
  8566. return iNdEx, nil
  8567. case 1:
  8568. iNdEx += 8
  8569. return iNdEx, nil
  8570. case 2:
  8571. var length int
  8572. for shift := uint(0); ; shift += 7 {
  8573. if shift >= 64 {
  8574. return 0, ErrIntOverflowApi
  8575. }
  8576. if iNdEx >= l {
  8577. return 0, io.ErrUnexpectedEOF
  8578. }
  8579. b := dAtA[iNdEx]
  8580. iNdEx++
  8581. length |= (int(b) & 0x7F) << shift
  8582. if b < 0x80 {
  8583. break
  8584. }
  8585. }
  8586. iNdEx += length
  8587. if length < 0 {
  8588. return 0, ErrInvalidLengthApi
  8589. }
  8590. return iNdEx, nil
  8591. case 3:
  8592. for {
  8593. var innerWire uint64
  8594. var start int = iNdEx
  8595. for shift := uint(0); ; shift += 7 {
  8596. if shift >= 64 {
  8597. return 0, ErrIntOverflowApi
  8598. }
  8599. if iNdEx >= l {
  8600. return 0, io.ErrUnexpectedEOF
  8601. }
  8602. b := dAtA[iNdEx]
  8603. iNdEx++
  8604. innerWire |= (uint64(b) & 0x7F) << shift
  8605. if b < 0x80 {
  8606. break
  8607. }
  8608. }
  8609. innerWireType := int(innerWire & 0x7)
  8610. if innerWireType == 4 {
  8611. break
  8612. }
  8613. next, err := skipApi(dAtA[start:])
  8614. if err != nil {
  8615. return 0, err
  8616. }
  8617. iNdEx = start + next
  8618. }
  8619. return iNdEx, nil
  8620. case 4:
  8621. return iNdEx, nil
  8622. case 5:
  8623. iNdEx += 4
  8624. return iNdEx, nil
  8625. default:
  8626. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  8627. }
  8628. }
  8629. panic("unreachable")
  8630. }
  8631. var (
  8632. ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
  8633. ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
  8634. )
  8635. func init() {
  8636. proto.RegisterFile("app/service/live/xanchor/api/grpc/v1/api.proto", fileDescriptor_api_5e82c9cace3801b5)
  8637. }
  8638. var fileDescriptor_api_5e82c9cace3801b5 = []byte{
  8639. // 2005 bytes of a gzipped FileDescriptorProto
  8640. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x59, 0x5f, 0x6f, 0x23, 0x57,
  8641. 0x15, 0x97, 0xed, 0x38, 0xb6, 0x8f, 0xe3, 0x3f, 0xb9, 0x49, 0x9b, 0x59, 0xa7, 0x9b, 0x04, 0x87,
  8642. 0x45, 0x59, 0x89, 0xda, 0xdd, 0x94, 0x55, 0x69, 0xa1, 0x82, 0x64, 0x37, 0x4b, 0xa3, 0xee, 0xd2,
  8643. 0x62, 0xa7, 0xd0, 0x16, 0x21, 0xeb, 0x66, 0xe6, 0x66, 0x32, 0xb2, 0x3d, 0x33, 0xb9, 0x73, 0xed,
  8644. 0x4d, 0x2a, 0x3e, 0x00, 0x0f, 0x3c, 0xf0, 0xc4, 0x13, 0xdf, 0x05, 0x89, 0x17, 0x78, 0x41, 0xea,
  8645. 0x27, 0xa8, 0xd0, 0x7e, 0x02, 0x54, 0x09, 0x78, 0x43, 0xe8, 0xde, 0x73, 0xc7, 0x1e, 0x8f, 0xff,
  8646. 0x4d, 0xba, 0x68, 0x85, 0xc4, 0x53, 0x3c, 0x67, 0x7e, 0xe7, 0xdc, 0x7b, 0x7e, 0xf7, 0xdc, 0xf3,
  8647. 0x67, 0x02, 0x0d, 0xea, 0xfb, 0xcd, 0x80, 0xf1, 0xa1, 0x63, 0xb2, 0x66, 0xcf, 0x19, 0xb2, 0xe6,
  8648. 0x35, 0x75, 0xcd, 0x4b, 0x8f, 0x37, 0xa9, 0xef, 0x34, 0x6d, 0xee, 0x9b, 0xcd, 0xe1, 0x03, 0xf9,
  8649. 0xbb, 0xe1, 0x73, 0x4f, 0x78, 0xa4, 0x22, 0x31, 0x0d, 0x8d, 0x69, 0x0c, 0x1f, 0xd4, 0xde, 0xb4,
  8650. 0x1d, 0x71, 0x39, 0x38, 0x6f, 0x98, 0x5e, 0xbf, 0x69, 0x7b, 0xb6, 0xd7, 0x54, 0xb8, 0xf3, 0xc1,
  8651. 0x85, 0x7a, 0x52, 0x0f, 0xea, 0x17, 0xea, 0xd7, 0xff, 0x95, 0x86, 0xdc, 0xc9, 0xb5, 0xff, 0x98,
  8652. 0x0a, 0x4a, 0x0e, 0x21, 0xdb, 0x63, 0x43, 0xd6, 0x33, 0x52, 0x7b, 0xa9, 0x83, 0xcc, 0xf1, 0x1b,
  8653. 0x5f, 0x7f, 0xb5, 0x6b, 0x0c, 0x69, 0xcf, 0xb1, 0xa8, 0x60, 0xef, 0xd5, 0x6d, 0xf1, 0xfe, 0x5b,
  8654. 0xdf, 0xe5, 0xec, 0x6a, 0xe0, 0x70, 0x66, 0xd5, 0x5b, 0x08, 0x25, 0x3f, 0x00, 0x70, 0xd9, 0xb5,
  8655. 0xe8, 0xa0, 0x62, 0x3a, 0x81, 0x62, 0x41, 0xe2, 0x9f, 0x2a, 0xe5, 0xf7, 0xa1, 0xa8, 0xf4, 0x3a,
  8656. 0xa6, 0xd7, 0xf3, 0xb8, 0x91, 0x49, 0xa0, 0x0d, 0x4a, 0xe1, 0x91, 0xc4, 0x93, 0x06, 0x64, 0xd8,
  8657. 0xb5, 0x6f, 0xac, 0x24, 0x50, 0x93, 0x40, 0xf2, 0x01, 0xac, 0x9b, 0x03, 0xce, 0x99, 0xab, 0xb7,
  8658. 0xdb, 0x91, 0xda, 0xd9, 0x04, 0xda, 0x15, 0xad, 0xa6, 0x76, 0x7d, 0x72, 0xed, 0x93, 0x63, 0x28,
  8659. 0x8f, 0xbd, 0x56, 0x66, 0x56, 0x13, 0x98, 0x59, 0x1b, 0x79, 0x7e, 0x72, 0xed, 0xd7, 0xff, 0x9e,
  8660. 0x82, 0xdc, 0x19, 0xb5, 0x15, 0xf3, 0x6f, 0xc3, 0xaa, 0xa0, 0x76, 0xc7, 0xb1, 0x92, 0x51, 0x2f,
  8661. 0xa8, 0x7d, 0x6a, 0x91, 0x77, 0x20, 0x2f, 0x95, 0xc4, 0x8d, 0xcf, 0x12, 0x11, 0x9f, 0x13, 0xd4,
  8662. 0x3e, 0xbb, 0xf1, 0x19, 0x79, 0x17, 0x0a, 0x52, 0x71, 0x48, 0x7b, 0x03, 0x96, 0x88, 0x74, 0xb9,
  8663. 0xce, 0xcf, 0x25, 0x9a, 0xfc, 0x10, 0x4a, 0x52, 0x95, 0x0a, 0xc1, 0x9d, 0xf3, 0x81, 0x60, 0x8a,
  8664. 0xfc, 0xc2, 0xf1, 0xd6, 0xd7, 0x5f, 0xed, 0x6e, 0x8c, 0xd5, 0x23, 0x2e, 0x0b, 0x6a, 0x1f, 0x85,
  8665. 0xe0, 0xfa, 0x3f, 0x8a, 0x90, 0x6f, 0x79, 0x5e, 0x5f, 0xf9, 0xdc, 0x80, 0xcc, 0x20, 0xa1, 0xc3,
  8666. 0x12, 0x48, 0x1e, 0x42, 0x8e, 0x7b, 0x5e, 0x5f, 0x92, 0x94, 0xc4, 0xdb, 0x55, 0x09, 0x46, 0x96,
  8667. 0x82, 0x4b, 0x8f, 0x0b, 0xa9, 0x97, 0xc4, 0xd7, 0x9c, 0x42, 0x9f, 0x5a, 0xe4, 0x4d, 0xc8, 0x0a,
  8668. 0x47, 0xf4, 0x96, 0xba, 0x88, 0x28, 0xb2, 0x09, 0x59, 0xd3, 0x1b, 0x32, 0xae, 0x02, 0xaa, 0xd0,
  8669. 0xc2, 0x07, 0x42, 0x60, 0x45, 0x50, 0x3b, 0x50, 0xe1, 0x51, 0x68, 0xa9, 0xdf, 0x64, 0x07, 0xe0,
  8670. 0x9c, 0x9a, 0x5d, 0x9b, 0x7b, 0x03, 0xd7, 0x32, 0x72, 0xea, 0x4d, 0x44, 0x42, 0xf6, 0xa0, 0x68,
  8671. 0xb1, 0xc0, 0xe4, 0x8e, 0x2f, 0x1c, 0xcf, 0x35, 0xf2, 0x0a, 0x10, 0x15, 0xa9, 0x7b, 0xe3, 0x0c,
  8672. 0x59, 0x27, 0x10, 0x54, 0x0c, 0x02, 0xa3, 0x90, 0xe8, 0xde, 0x38, 0x43, 0xd6, 0x56, 0x78, 0xf2,
  8673. 0x18, 0x2a, 0xa1, 0x3a, 0x17, 0x1d, 0xe1, 0xf4, 0x99, 0x01, 0x09, 0x4c, 0x94, 0xb4, 0x09, 0x2e,
  8674. 0xce, 0x9c, 0x3e, 0x23, 0x4f, 0xa0, 0x8a, 0x56, 0x4c, 0xce, 0x98, 0x8b, 0x61, 0x58, 0x4c, 0x60,
  8675. 0xa6, 0xac, 0xcc, 0x28, 0x25, 0x15, 0x8d, 0xdb, 0x50, 0x50, 0x76, 0xfa, 0x94, 0x77, 0x8d, 0x35,
  8676. 0x69, 0xa0, 0x95, 0x97, 0x82, 0x67, 0x94, 0x77, 0xc9, 0x2e, 0x14, 0x7b, 0x9e, 0xd9, 0x0d, 0x3d,
  8677. 0x2d, 0xa9, 0xd7, 0x20, 0x45, 0xda, 0x17, 0xa9, 0x2d, 0x01, 0xca, 0x8b, 0xb2, 0xd6, 0xf6, 0xcc,
  8678. 0xae, 0xda, 0xe2, 0x11, 0x94, 0x2e, 0x1d, 0xcb, 0x62, 0x6e, 0xa8, 0x5f, 0x49, 0x72, 0x4b, 0x51,
  8679. 0x45, 0xdb, 0xdf, 0x85, 0xa2, 0x36, 0xa1, 0x56, 0xa8, 0xe2, 0x06, 0x50, 0xa4, 0xd6, 0x78, 0x08,
  8680. 0x39, 0xca, 0x19, 0x95, 0xe1, 0xb5, 0x9e, 0x24, 0x2c, 0x25, 0xf8, 0xd4, 0x22, 0xdf, 0x83, 0x82,
  8681. 0x52, 0x73, 0x69, 0x9f, 0x19, 0x64, 0x71, 0x84, 0xe5, 0x25, 0xf2, 0xa7, 0xb4, 0xcf, 0x64, 0xde,
  8682. 0xf1, 0xa9, 0x4a, 0x60, 0xe1, 0x9a, 0x1b, 0x49, 0x3c, 0x42, 0x9d, 0x23, 0x5c, 0xf9, 0x08, 0xaa,
  8683. 0x51, 0x1b, 0x6a, 0x03, 0x9b, 0x8b, 0x37, 0x50, 0x1e, 0x1b, 0x50, 0xdb, 0xa8, 0x41, 0xbe, 0xcb,
  8684. 0x6e, 0x2e, 0xb8, 0x54, 0x7d, 0x4d, 0x85, 0xe7, 0xe8, 0x99, 0xdc, 0x87, 0xaa, 0xef, 0xf9, 0x83,
  8685. 0x1e, 0xe5, 0x8e, 0xb8, 0xe9, 0x98, 0xde, 0xc0, 0x15, 0xc6, 0xeb, 0x8a, 0xb5, 0xca, 0x58, 0xfe,
  8686. 0x48, 0x8a, 0x65, 0x32, 0x51, 0x37, 0x5a, 0x66, 0x94, 0x9e, 0x13, 0x08, 0x63, 0x6b, 0x2f, 0x73,
  8687. 0x50, 0x3c, 0x34, 0x1a, 0xb1, 0x9a, 0xd6, 0xd0, 0x69, 0xb2, 0x55, 0x94, 0xf0, 0x33, 0x6a, 0x3f,
  8688. 0x75, 0x02, 0x41, 0x7e, 0x0c, 0x15, 0x44, 0x8c, 0xf5, 0x8d, 0x25, 0xfa, 0x25, 0x14, 0x85, 0x16,
  8689. 0x1a, 0xb0, 0xa1, 0x2d, 0xf8, 0xdc, 0xbb, 0x70, 0x7a, 0x0c, 0x83, 0xf8, 0x8e, 0xda, 0xed, 0x3a,
  8690. 0xbe, 0xfa, 0x18, 0xdf, 0xa8, 0x48, 0x7d, 0x07, 0x40, 0xe3, 0x65, 0xc6, 0xaf, 0xcd, 0x59, 0x4c,
  8691. 0x57, 0xd3, 0x56, 0x01, 0x45, 0xb2, 0x5c, 0x8c, 0x17, 0x52, 0x37, 0xbc, 0x13, 0x3c, 0x77, 0x84,
  8692. 0x79, 0x69, 0x6c, 0x47, 0x17, 0x6a, 0xc9, 0x37, 0x6d, 0xf5, 0x62, 0x1a, 0x8f, 0xd1, 0xfb, 0xc6,
  8693. 0x34, 0x1e, 0x83, 0xf4, 0x2d, 0xd8, 0x0c, 0xf1, 0xcc, 0xf4, 0xf8, 0x68, 0x81, 0xbb, 0x4a, 0x81,
  8694. 0x68, 0x05, 0xf5, 0x4a, 0xaf, 0x30, 0xad, 0x81, 0x4b, 0xec, 0xcc, 0xd0, 0xc0, 0x35, 0xee, 0x8e,
  8695. 0x9c, 0x0f, 0xa8, 0x6b, 0xec, 0x2a, 0x9c, 0x76, 0xb1, 0x4d, 0xdd, 0xd1, 0x2d, 0x56, 0x0c, 0xee,
  8696. 0x8d, 0x6f, 0xb1, 0x24, 0xae, 0xfe, 0x6b, 0x58, 0x93, 0x69, 0xff, 0xf8, 0xe6, 0xf4, 0x71, 0xd0,
  8697. 0x62, 0x57, 0xe4, 0x0e, 0xe4, 0x75, 0x2a, 0x0f, 0x8c, 0xd4, 0x5e, 0xe6, 0x20, 0xd3, 0xca, 0x61,
  8698. 0xb6, 0x0e, 0x64, 0xc2, 0x1c, 0x48, 0x71, 0x5a, 0x89, 0xd5, 0x6f, 0xf2, 0x3a, 0xac, 0x5e, 0x38,
  8699. 0xac, 0x67, 0x05, 0x46, 0x66, 0x2f, 0x73, 0x50, 0x68, 0xe9, 0x27, 0x72, 0x0f, 0xca, 0x16, 0xbb,
  8700. 0xa0, 0x83, 0x9e, 0xe8, 0xe8, 0xf7, 0xaa, 0x15, 0x68, 0x95, 0xb4, 0xf4, 0x89, 0x12, 0xd6, 0xff,
  8701. 0x98, 0x82, 0x52, 0x64, 0xf9, 0xc0, 0x27, 0x6d, 0x1d, 0x78, 0x16, 0x15, 0xb4, 0x13, 0x30, 0xa1,
  8702. 0x36, 0x51, 0x3c, 0x6c, 0x4e, 0x9d, 0xe5, 0x84, 0x5a, 0x23, 0x2c, 0x5d, 0x6d, 0x26, 0x4e, 0x5c,
  8703. 0xc1, 0x6f, 0x30, 0x1e, 0xb5, 0xa4, 0xf6, 0x19, 0x54, 0xe3, 0x00, 0x52, 0x85, 0x4c, 0x97, 0xdd,
  8704. 0x60, 0x8d, 0x6b, 0xc9, 0x9f, 0xa4, 0x09, 0x59, 0xac, 0xbb, 0xb2, 0x86, 0x15, 0x0f, 0xef, 0xcc,
  8705. 0x5c, 0x52, 0xc5, 0x0f, 0xe2, 0xde, 0x4b, 0x7f, 0x3f, 0x55, 0xff, 0x4d, 0x0a, 0xd6, 0xa5, 0xfc,
  8706. 0x23, 0xb7, 0xe7, 0xb8, 0x4c, 0xc6, 0xae, 0x64, 0x51, 0xd1, 0xd2, 0x13, 0x8c, 0x2b, 0xfb, 0x8a,
  8707. 0x16, 0xf9, 0x24, 0x29, 0x0c, 0x3c, 0x2e, 0xd4, 0x0a, 0x85, 0x96, 0xfa, 0x2d, 0x65, 0x3e, 0xb5,
  8708. 0x75, 0xb5, 0x6f, 0xa9, 0xdf, 0xf2, 0xc8, 0xe4, 0xdf, 0x4e, 0xe0, 0x7c, 0xc1, 0x34, 0x73, 0x79,
  8709. 0x29, 0x68, 0x3b, 0x5f, 0xb0, 0x08, 0xe7, 0xd9, 0x28, 0xe7, 0xf5, 0xbf, 0xa6, 0x80, 0xc4, 0xb7,
  8710. 0x12, 0xf8, 0xe4, 0x97, 0x50, 0x1e, 0x33, 0xaa, 0xee, 0x22, 0x52, 0xfa, 0x70, 0xa6, 0x7f, 0x93,
  8711. 0xca, 0x23, 0x97, 0xa5, 0x00, 0x89, 0x5d, 0xe3, 0x11, 0x51, 0xed, 0x73, 0xf4, 0x7e, 0x02, 0xf2,
  8712. 0xdf, 0xa2, 0xf6, 0x53, 0x8c, 0x8d, 0x47, 0x9c, 0x51, 0xc1, 0x24, 0xab, 0xb7, 0x6d, 0x4b, 0xb6,
  8713. 0x62, 0x6d, 0x49, 0xd8, 0x78, 0xd4, 0xef, 0x43, 0x39, 0x6a, 0x39, 0xf0, 0xa3, 0xd0, 0xd4, 0x04,
  8714. 0xf4, 0x01, 0xc0, 0x27, 0xbe, 0x15, 0xc2, 0xf6, 0xa1, 0x44, 0x2f, 0x2e, 0x98, 0x29, 0x98, 0xd5,
  8715. 0xe1, 0xde, 0xf3, 0x40, 0x83, 0xd7, 0x42, 0x61, 0xcb, 0x7b, 0x1e, 0xd4, 0xff, 0xb4, 0x82, 0x1b,
  8716. 0x0f, 0xf5, 0xae, 0x48, 0x73, 0x74, 0x62, 0x92, 0xfa, 0x05, 0xd9, 0x3c, 0xbc, 0x3e, 0xdf, 0xb0,
  8717. 0xa1, 0xda, 0x0c, 0xfb, 0xa2, 0x0c, 0x36, 0x3a, 0xb1, 0xf6, 0x67, 0x65, 0x56, 0xfb, 0x93, 0x9d,
  8718. 0xdb, 0xfe, 0xac, 0x2e, 0x6b, 0x7f, 0x72, 0xd3, 0xed, 0xcf, 0x77, 0xa6, 0xfb, 0x97, 0x3c, 0x5e,
  8719. 0xfc, 0xc9, 0x0e, 0xe5, 0x60, 0x46, 0x87, 0xa2, 0x7a, 0xa5, 0xa9, 0x1e, 0x24, 0xd6, 0x66, 0xc0,
  8720. 0xe2, 0x36, 0xa3, 0x18, 0x6b, 0x33, 0x62, 0x3d, 0xc2, 0xda, 0x54, 0x8f, 0xb0, 0x35, 0xee, 0x11,
  8721. 0xb0, 0x83, 0x09, 0xbb, 0x80, 0x39, 0x85, 0xa1, 0x3c, 0xaf, 0x30, 0xcc, 0x4b, 0xf4, 0x95, 0xb9,
  8722. 0x89, 0x7e, 0x22, 0x2f, 0x57, 0x63, 0x79, 0x99, 0xe2, 0x5d, 0x3e, 0xa6, 0xc2, 0xbc, 0x1c, 0x07,
  8723. 0xd2, 0x87, 0xb0, 0xc2, 0xd9, 0x55, 0xa0, 0x6f, 0xf0, 0xce, 0xcc, 0x6b, 0x34, 0x42, 0xcf, 0x0f,
  8724. 0x33, 0x65, 0xa4, 0xfe, 0xe7, 0x14, 0xc0, 0x91, 0x52, 0xfd, 0x46, 0x4d, 0xff, 0x8f, 0x60, 0x6d,
  8725. 0xa2, 0x36, 0x27, 0x09, 0xd4, 0xa2, 0x1f, 0xa9, 0xd9, 0x1f, 0xe0, 0x8c, 0x98, 0x59, 0x5c, 0xac,
  8726. 0x13, 0x4c, 0x8f, 0xf5, 0xdf, 0xa6, 0xa1, 0x82, 0x9e, 0xbc, 0xc4, 0x9d, 0xd3, 0xfe, 0xa7, 0x93,
  8727. 0xfa, 0xff, 0xad, 0x98, 0xff, 0x98, 0xbf, 0x27, 0x3c, 0xdc, 0x86, 0x42, 0x40, 0xdd, 0x4e, 0x60,
  8728. 0x7a, 0x7c, 0x94, 0xc6, 0x03, 0xea, 0xb6, 0xe5, 0xb3, 0xd4, 0x9f, 0x68, 0x21, 0xb2, 0xa8, 0xcf,
  8729. 0x23, 0xcd, 0xc3, 0x3e, 0x94, 0x26, 0x7b, 0x80, 0x55, 0x4c, 0x37, 0x3c, 0x5a, 0xfd, 0xab, 0x48,
  8730. 0x63, 0x0e, 0xb3, 0xad, 0xa4, 0x83, 0xc1, 0x26, 0xb2, 0x11, 0x8b, 0x9e, 0x67, 0x13, 0xd1, 0xb3,
  8731. 0x37, 0xc5, 0x78, 0x8c, 0xc2, 0x65, 0xf1, 0xf3, 0x65, 0x0a, 0xca, 0xa8, 0x72, 0xea, 0x9a, 0x5c,
  8732. 0x67, 0xe8, 0x55, 0xce, 0xae, 0xc2, 0x2c, 0xba, 0x68, 0x32, 0xe3, 0xec, 0xea, 0xd4, 0x8a, 0x1c,
  8733. 0x52, 0xfa, 0x56, 0x87, 0x94, 0x49, 0x7a, 0x48, 0x0b, 0x4f, 0x40, 0x33, 0x97, 0x1d, 0x33, 0x67,
  8734. 0xc2, 0x46, 0x84, 0xb9, 0x91, 0x5b, 0x4f, 0x27, 0x88, 0xdb, 0x9d, 0x43, 0x5c, 0x08, 0x5f, 0xc6,
  8735. 0xdb, 0xbf, 0xd3, 0xb0, 0x21, 0x2f, 0xea, 0xc9, 0xb5, 0x60, 0xae, 0xf5, 0xea, 0xab, 0xc4, 0x36,
  8736. 0x14, 0xba, 0xec, 0xa6, 0x83, 0x33, 0x42, 0x66, 0x34, 0x23, 0x3c, 0x51, 0x33, 0xc2, 0x2e, 0x14,
  8737. 0x2d, 0xea, 0xf6, 0x07, 0x7a, 0x3c, 0x40, 0xca, 0x40, 0x89, 0x70, 0x32, 0x98, 0x35, 0x44, 0x64,
  8738. 0x67, 0x0f, 0x11, 0xf7, 0xa0, 0x4c, 0x07, 0x96, 0xc3, 0x5c, 0x93, 0x69, 0x20, 0xc6, 0x6f, 0x29,
  8739. 0x94, 0x22, 0xec, 0x2e, 0x80, 0xed, 0x5c, 0x08, 0x0d, 0xc1, 0x38, 0x2e, 0x48, 0x09, 0xbe, 0x3e,
  8740. 0x80, 0xaa, 0x7a, 0x6d, 0x7b, 0x3d, 0xab, 0x43, 0xfb, 0x0a, 0x84, 0x35, 0xa5, 0x2c, 0xe5, 0x3f,
  8741. 0xf1, 0x7a, 0xd6, 0x91, 0x92, 0xca, 0xe2, 0x33, 0x46, 0xa2, 0x35, 0xac, 0x29, 0xa5, 0x10, 0xa8,
  8742. 0x2c, 0xd6, 0xfb, 0x60, 0x8c, 0xf9, 0x8f, 0xdd, 0x91, 0x9f, 0x4d, 0x1c, 0xf5, 0xb7, 0x67, 0x66,
  8743. 0xd8, 0xd8, 0xc1, 0x2d, 0x3b, 0xef, 0xdf, 0x65, 0x30, 0x97, 0xa3, 0xda, 0xab, 0xbb, 0x2b, 0x91,
  8744. 0xf0, 0xc8, 0xdc, 0x22, 0x3c, 0xfe, 0x1f, 0x22, 0xa0, 0x0b, 0x5b, 0xb1, 0x08, 0x18, 0x1d, 0xcb,
  8745. 0xc7, 0x13, 0x01, 0xb0, 0xbf, 0x20, 0x00, 0x92, 0xde, 0xf7, 0xdf, 0xa7, 0xb1, 0x1f, 0x3c, 0xa3,
  8746. 0x76, 0x9b, 0x89, 0x57, 0x79, 0xd3, 0xa3, 0x9f, 0x21, 0x33, 0xb7, 0xf9, 0x0c, 0xb9, 0x1d, 0xfd,
  8747. 0x0c, 0xa9, 0xd3, 0xe6, 0xe8, 0x43, 0xe3, 0x7e, 0xfc, 0x43, 0x23, 0xb6, 0x90, 0x13, 0xdf, 0x13,
  8748. 0x49, 0x1d, 0x41, 0xec, 0xda, 0x77, 0x38, 0xeb, 0xd0, 0xf0, 0xe0, 0x8b, 0x82, 0xda, 0x27, 0x4a,
  8749. 0x76, 0x24, 0xea, 0x7f, 0x18, 0x95, 0xed, 0x97, 0xa0, 0xe6, 0x5d, 0xd0, 0xa3, 0x6e, 0x52, 0x72,
  8750. 0xf2, 0x08, 0xff, 0x9f, 0xa7, 0xe7, 0xf0, 0x9f, 0x05, 0xc8, 0x7d, 0x8a, 0xfc, 0x90, 0x8f, 0xa0,
  8751. 0xfc, 0x84, 0x09, 0xf3, 0x72, 0x34, 0xf5, 0x92, 0xbb, 0x8b, 0x26, 0xe2, 0xab, 0xda, 0xce, 0xe2,
  8752. 0x81, 0x99, 0x7c, 0x86, 0x23, 0xd0, 0x78, 0xdc, 0x23, 0xf5, 0xa5, 0xf3, 0xe0, 0x55, 0x6d, 0x3f,
  8753. 0xc1, 0xcc, 0x48, 0x9e, 0x01, 0x8c, 0xa7, 0x2b, 0x32, 0x7b, 0x23, 0xa3, 0xa1, 0xae, 0xb6, 0xbb,
  8754. 0xf0, 0x7d, 0xe0, 0x93, 0x53, 0x34, 0x87, 0xe9, 0x96, 0x2c, 0xe9, 0x79, 0x6b, 0xdb, 0x53, 0xef,
  8755. 0x23, 0xe3, 0x5b, 0x1b, 0x2a, 0xb1, 0xa6, 0x9a, 0xcc, 0xf6, 0x68, 0xb2, 0x28, 0x2c, 0x36, 0xfa,
  8756. 0x09, 0x7e, 0x5c, 0x88, 0x16, 0x05, 0x92, 0xa8, 0x6e, 0x2c, 0x36, 0xdb, 0x81, 0xd7, 0x66, 0x16,
  8757. 0x29, 0x72, 0x7f, 0x81, 0xed, 0xdb, 0xec, 0x5b, 0x93, 0x11, 0xc9, 0x65, 0x24, 0x49, 0xb6, 0x5b,
  8758. 0x6c, 0xf4, 0x57, 0xb0, 0x39, 0x2b, 0xb1, 0x92, 0x83, 0x65, 0x9b, 0x4e, 0x66, 0x5e, 0xc7, 0x02,
  8759. 0xa6, 0x8b, 0x39, 0xb1, 0x30, 0xca, 0x25, 0x8b, 0x4d, 0x3d, 0x83, 0xb5, 0x68, 0xbf, 0x4b, 0x96,
  8760. 0xb6, 0xc3, 0x8b, 0xcd, 0xfd, 0x02, 0xd6, 0xa7, 0x7a, 0x6e, 0x72, 0x6f, 0x8e, 0xcd, 0xdb, 0x1c,
  8761. 0xd3, 0x87, 0x50, 0x8c, 0xb4, 0x97, 0x64, 0x59, 0xf3, 0xb9, 0x34, 0x56, 0xe3, 0xfd, 0xed, 0x8c,
  8762. 0x58, 0x9d, 0xd1, 0x02, 0x27, 0xe4, 0x52, 0x1f, 0xcc, 0x3c, 0x2e, 0x93, 0x1d, 0xcd, 0x71, 0xf5,
  8763. 0x2f, 0x2f, 0x76, 0x52, 0x5f, 0xbe, 0xd8, 0x49, 0xfd, 0xed, 0xc5, 0x4e, 0xea, 0xf3, 0xf4, 0xf0,
  8764. 0xc1, 0xf9, 0xaa, 0xfa, 0x8f, 0xe8, 0xdb, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x32, 0xbb, 0x1f,
  8765. 0x03, 0x83, 0x1d, 0x00, 0x00,
  8766. }