api.pb.go 225 KB

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