api.pb.go 168 KB

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