api.pb.go 258 KB

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