api.pb.go 133 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/bbq/search/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/search/api/grpc/v1/api.proto
  7. It has these top-level messages:
  8. SaveVideoRequest
  9. VideoESInfo
  10. VideoESTags
  11. SaveVideoResponse
  12. RecVideoInfo
  13. RecVideoDataRequest
  14. RecVideoDataResponse
  15. VideoDataRequest
  16. VideoDataResponse
  17. ESVideoDataRequest
  18. ESVideoDataResponse
  19. DelVideoBySVIDRequest
  20. DelVideoBySVIDResponse
  21. */
  22. package v1
  23. import proto "github.com/gogo/protobuf/proto"
  24. import fmt "fmt"
  25. import math "math"
  26. import _ "github.com/gogo/protobuf/gogoproto"
  27. import context "golang.org/x/net/context"
  28. import grpc "google.golang.org/grpc"
  29. import binary "encoding/binary"
  30. import strings "strings"
  31. import reflect "reflect"
  32. import io "io"
  33. // Reference imports to suppress errors if they are not otherwise used.
  34. var _ = proto.Marshal
  35. var _ = fmt.Errorf
  36. var _ = math.Inf
  37. // This is a compile-time assertion to ensure that this generated file
  38. // is compatible with the proto package it is being compiled against.
  39. // A compilation error at this line likely means your copy of the
  40. // proto package needs to be updated.
  41. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  42. type SaveVideoRequest struct {
  43. List []*VideoESInfo `protobuf:"bytes,1,rep,name=list" json:"list" form:"list" validate:"required"`
  44. }
  45. func (m *SaveVideoRequest) Reset() { *m = SaveVideoRequest{} }
  46. func (*SaveVideoRequest) ProtoMessage() {}
  47. func (*SaveVideoRequest) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{0} }
  48. type VideoESInfo struct {
  49. SVID int64 `protobuf:"varint,1,opt,name=svid,proto3" json:"svid" form:"svid"`
  50. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title" form:"title"`
  51. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content" form:"content"`
  52. MID int64 `protobuf:"varint,4,opt,name=mid,proto3" json:"mid" form:"mid"`
  53. CID int64 `protobuf:"varint,5,opt,name=cid,proto3" json:"cid" form:"cid"`
  54. Pubtime int64 `protobuf:"varint,6,opt,name=pubtime,proto3" json:"pubtime" form:"pubtime"`
  55. Ctime int64 `protobuf:"varint,7,opt,name=ctime,proto3" json:"ctime" form:"ctime"`
  56. Mtime int64 `protobuf:"varint,8,opt,name=mtime,proto3" json:"mtime" form:"mtime"`
  57. Duration int64 `protobuf:"varint,9,opt,name=duration,proto3" json:"duration" form:"duration"`
  58. Original int64 `protobuf:"varint,10,opt,name=original,proto3" json:"original" form:"original"`
  59. State int64 `protobuf:"varint,11,opt,name=state,proto3" json:"state" form:"state"`
  60. VerID int64 `protobuf:"varint,12,opt,name=ver_id,json=verId,proto3" json:"ver_id" form:"ver_id"`
  61. Ver string `protobuf:"bytes,13,opt,name=ver,proto3" json:"ver" form:"ver"`
  62. From int64 `protobuf:"varint,14,opt,name=from,proto3" json:"from" form:"from"`
  63. AVID int64 `protobuf:"varint,15,opt,name=avid,proto3" json:"avid" form:"avid"`
  64. Tid int64 `protobuf:"varint,16,opt,name=tid,proto3" json:"tid" form:"tid"`
  65. SubTid int64 `protobuf:"varint,17,opt,name=sub_tid,json=subTid,proto3" json:"sub_tid" form:"sub_tid"`
  66. Score int64 `protobuf:"varint,18,opt,name=score,proto3" json:"score" form:"score"`
  67. RoughScore int64 `protobuf:"varint,19,opt,name=rough_score,json=roughScore,proto3" json:"rough_score" form:"rough_score"`
  68. Tags []*VideoESTags `protobuf:"bytes,20,rep,name=tags" json:"tags" form:"tags"`
  69. PlayHive int64 `protobuf:"varint,21,opt,name=play_hive,json=playHive,proto3" json:"play_hive" form:"play_hive"`
  70. FavHive int64 `protobuf:"varint,22,opt,name=fav_hive,json=favHive,proto3" json:"fav_hive" form:"fav_hive"`
  71. CoinHive int64 `protobuf:"varint,23,opt,name=coin_hive,json=coinHive,proto3" json:"coin_hive" form:"coin_hive"`
  72. SubtitlesHive int64 `protobuf:"varint,24,opt,name=subtitles_hive,json=subtitlesHive,proto3" json:"subtitles_hive" form:"subtitles_hive"`
  73. LikesHive int64 `protobuf:"varint,25,opt,name=likes_hive,json=likesHive,proto3" json:"likes_hive" form:"likes_hive"`
  74. ShareHive int64 `protobuf:"varint,26,opt,name=share_hive,json=shareHive,proto3" json:"share_hive" form:"share_hive"`
  75. ReportHive int64 `protobuf:"varint,27,opt,name=report_hive,json=reportHive,proto3" json:"report_hive" form:"report_hive"`
  76. DurationDailyHive int64 `protobuf:"varint,28,opt,name=duration_daily_hive,json=durationDailyHive,proto3" json:"duration_daily_hive" form:"duration_daily_hive"`
  77. DurationAllHive int64 `protobuf:"varint,29,opt,name=duration_all_hive,json=durationAllHive,proto3" json:"duration_all_hive" form:"duration_all_hive"`
  78. ReplyHive int64 `protobuf:"varint,30,opt,name=reply_hive,json=replyHive,proto3" json:"reply_hive" form:"reply_hive"`
  79. ShareDailyHive int64 `protobuf:"varint,31,opt,name=share_daily_hive,json=shareDailyHive,proto3" json:"share_daily_hive" form:"share_daily_hive"`
  80. PlayDailyHive int64 `protobuf:"varint,32,opt,name=play_daily_hive,json=playDailyHive,proto3" json:"play_daily_hive" form:"play_daily_hive"`
  81. SubtitlesDailyHive int64 `protobuf:"varint,33,opt,name=subtitles_daily_hive,json=subtitlesDailyHive,proto3" json:"subtitles_daily_hive" form:"subtitles_daily_hive"`
  82. LikesDailyHive int64 `protobuf:"varint,34,opt,name=likes_daily_hive,json=likesDailyHive,proto3" json:"likes_daily_hive" form:"likes_daily_hive"`
  83. FavDailyHive int64 `protobuf:"varint,35,opt,name=fav_daily_hive,json=favDailyHive,proto3" json:"fav_daily_hive" form:"fav_daily_hive"`
  84. ReplyDailyHive int64 `protobuf:"varint,36,opt,name=reply_daily_hive,json=replyDailyHive,proto3" json:"reply_daily_hive" form:"reply_daily_hive"`
  85. AccessHive int64 `protobuf:"varint,37,opt,name=access_hive,json=accessHive,proto3" json:"access_hive" form:"access_hive"`
  86. Play int64 `protobuf:"varint,38,opt,name=play,proto3" json:"play" form:"play"`
  87. Subtitles int64 `protobuf:"varint,39,opt,name=subtitles,proto3" json:"subtitles" form:"subtitles"`
  88. Like int64 `protobuf:"varint,40,opt,name=like,proto3" json:"like" form:"like"`
  89. Share int64 `protobuf:"varint,41,opt,name=share,proto3" json:"share" form:"share"`
  90. Report int64 `protobuf:"varint,42,opt,name=report,proto3" json:"report" form:"report"`
  91. SimilarID []int64 `protobuf:"varint,43,rep,packed,name=similar_id,json=similarId" json:"similar_id" form:"similar_id"`
  92. ISFullScreen int64 `protobuf:"varint,44,opt,name=is_full_screen,json=isFullScreen,proto3" json:"is_full_screen" form:"is_full_screen"`
  93. }
  94. func (m *VideoESInfo) Reset() { *m = VideoESInfo{} }
  95. func (*VideoESInfo) ProtoMessage() {}
  96. func (*VideoESInfo) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{1} }
  97. type VideoESTags struct {
  98. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" form:"id"`
  99. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"`
  100. Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type" form:"type"`
  101. }
  102. func (m *VideoESTags) Reset() { *m = VideoESTags{} }
  103. func (*VideoESTags) ProtoMessage() {}
  104. func (*VideoESTags) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{2} }
  105. type SaveVideoResponse struct {
  106. }
  107. func (m *SaveVideoResponse) Reset() { *m = SaveVideoResponse{} }
  108. func (*SaveVideoResponse) ProtoMessage() {}
  109. func (*SaveVideoResponse) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{3} }
  110. type RecVideoInfo struct {
  111. SVID int64 `protobuf:"varint,1,opt,name=svid,proto3" json:"svid" form:"svid"`
  112. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title" form:"title"`
  113. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content" form:"content"`
  114. MID int64 `protobuf:"varint,4,opt,name=mid,proto3" json:"mid" form:"mid"`
  115. CID int64 `protobuf:"varint,5,opt,name=cid,proto3" json:"cid" form:"cid"`
  116. Pubtime int64 `protobuf:"varint,6,opt,name=pubtime,proto3" json:"pubtime" form:"pubtime"`
  117. Ctime int64 `protobuf:"varint,7,opt,name=ctime,proto3" json:"ctime" form:"ctime"`
  118. Mtime int64 `protobuf:"varint,8,opt,name=mtime,proto3" json:"mtime" form:"mtime"`
  119. Duration int64 `protobuf:"varint,9,opt,name=duration,proto3" json:"duration" form:"duration"`
  120. Original int64 `protobuf:"varint,10,opt,name=original,proto3" json:"original" form:"original"`
  121. State int64 `protobuf:"varint,11,opt,name=state,proto3" json:"state" form:"state"`
  122. VerID int64 `protobuf:"varint,12,opt,name=ver_id,json=verId,proto3" json:"ver_id" form:"ver_id"`
  123. Ver string `protobuf:"bytes,13,opt,name=ver,proto3" json:"ver" form:"ver"`
  124. From int64 `protobuf:"varint,14,opt,name=from,proto3" json:"from" form:"from"`
  125. AVID int64 `protobuf:"varint,15,opt,name=avid,proto3" json:"avid" form:"avid"`
  126. Tid int64 `protobuf:"varint,16,opt,name=tid,proto3" json:"tid" form:"tid"`
  127. SubTid int64 `protobuf:"varint,17,opt,name=sub_tid,json=subTid,proto3" json:"sub_tid" form:"sub_tid"`
  128. Score int64 `protobuf:"varint,18,opt,name=score,proto3" json:"score" form:"score"`
  129. RoughScore int64 `protobuf:"varint,19,opt,name=rough_score,json=roughScore,proto3" json:"rough_score" form:"rough_score"`
  130. Tags []*VideoESTags `protobuf:"bytes,20,rep,name=tags" json:"tags" form:"tags"`
  131. PlayHive int64 `protobuf:"varint,21,opt,name=play_hive,json=playHive,proto3" json:"play_hive" form:"play_hive"`
  132. FavHive int64 `protobuf:"varint,22,opt,name=fav_hive,json=favHive,proto3" json:"fav_hive" form:"fav_hive"`
  133. CoinHive int64 `protobuf:"varint,23,opt,name=coin_hive,json=coinHive,proto3" json:"coin_hive" form:"coin_hive"`
  134. SubtitlesHive int64 `protobuf:"varint,24,opt,name=subtitles_hive,json=subtitlesHive,proto3" json:"subtitles_hive" form:"subtitles_hive"`
  135. LikesHive int64 `protobuf:"varint,25,opt,name=likes_hive,json=likesHive,proto3" json:"likes_hive" form:"likes_hive"`
  136. ShareHive int64 `protobuf:"varint,26,opt,name=share_hive,json=shareHive,proto3" json:"share_hive" form:"share_hive"`
  137. ReportHive int64 `protobuf:"varint,27,opt,name=report_hive,json=reportHive,proto3" json:"report_hive" form:"report_hive"`
  138. DurationDailyHive int64 `protobuf:"varint,28,opt,name=duration_daily_hive,json=durationDailyHive,proto3" json:"duration_daily_hive" form:"duration_daily_hive"`
  139. DurationAllHive int64 `protobuf:"varint,29,opt,name=duration_all_hive,json=durationAllHive,proto3" json:"duration_all_hive" form:"duration_all_hive"`
  140. ReplyHive int64 `protobuf:"varint,30,opt,name=reply_hive,json=replyHive,proto3" json:"reply_hive" form:"reply_hive"`
  141. ShareDailyHive int64 `protobuf:"varint,31,opt,name=share_daily_hive,json=shareDailyHive,proto3" json:"share_daily_hive" form:"share_daily_hive"`
  142. PlayDailyHive int64 `protobuf:"varint,32,opt,name=play_daily_hive,json=playDailyHive,proto3" json:"play_daily_hive" form:"play_daily_hive"`
  143. SubtitlesDailyHive int64 `protobuf:"varint,33,opt,name=subtitles_daily_hive,json=subtitlesDailyHive,proto3" json:"subtitles_daily_hive" form:"subtitles_daily_hive"`
  144. LikesDailyHive int64 `protobuf:"varint,34,opt,name=likes_daily_hive,json=likesDailyHive,proto3" json:"likes_daily_hive" form:"likes_daily_hive"`
  145. FavDailyHive int64 `protobuf:"varint,35,opt,name=fav_daily_hive,json=favDailyHive,proto3" json:"fav_daily_hive" form:"fav_daily_hive"`
  146. ReplyDailyHive int64 `protobuf:"varint,36,opt,name=reply_daily_hive,json=replyDailyHive,proto3" json:"reply_daily_hive" form:"reply_daily_hive"`
  147. AccessHive int64 `protobuf:"varint,37,opt,name=access_hive,json=accessHive,proto3" json:"access_hive" form:"access_hive"`
  148. Play int64 `protobuf:"varint,38,opt,name=play,proto3" json:"play" form:"play"`
  149. Subtitles int64 `protobuf:"varint,39,opt,name=subtitles,proto3" json:"subtitles" form:"subtitles"`
  150. Like int64 `protobuf:"varint,40,opt,name=like,proto3" json:"like" form:"like"`
  151. Share int64 `protobuf:"varint,41,opt,name=share,proto3" json:"share" form:"share"`
  152. Report int64 `protobuf:"varint,42,opt,name=report,proto3" json:"report" form:"report"`
  153. SimilarID []int64 `protobuf:"varint,43,rep,packed,name=similar_id,json=similarId" json:"similar_id" form:"similar_id"`
  154. ESScore float64 `protobuf:"fixed32,44,opt,name=es_score,json=esScore,proto3,casttype=float64" json:"es_score" form:"es_score"`
  155. CustomScore []float64 `protobuf:"fixed32,45,rep,packed,name=custom_score,json=customScore,casttype=float64" json:"custom_score" form:"custom_score"`
  156. ISFullScreen int64 `protobuf:"varint,46,opt,name=is_full_screen,json=isFullScreen,proto3" json:"is_full_screen" form:"is_full_screen"`
  157. }
  158. func (m *RecVideoInfo) Reset() { *m = RecVideoInfo{} }
  159. func (*RecVideoInfo) ProtoMessage() {}
  160. func (*RecVideoInfo) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{4} }
  161. type RecVideoDataRequest struct {
  162. Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query" form:"query" validate:"required"`
  163. }
  164. func (m *RecVideoDataRequest) Reset() { *m = RecVideoDataRequest{} }
  165. func (*RecVideoDataRequest) ProtoMessage() {}
  166. func (*RecVideoDataRequest) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{5} }
  167. type RecVideoDataResponse struct {
  168. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  169. List []*RecVideoInfo `protobuf:"bytes,2,rep,name=list" json:"list"`
  170. }
  171. func (m *RecVideoDataResponse) Reset() { *m = RecVideoDataResponse{} }
  172. func (*RecVideoDataResponse) ProtoMessage() {}
  173. func (*RecVideoDataResponse) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{6} }
  174. type VideoDataRequest struct {
  175. Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query" form:"query" validate:"required"`
  176. }
  177. func (m *VideoDataRequest) Reset() { *m = VideoDataRequest{} }
  178. func (*VideoDataRequest) ProtoMessage() {}
  179. func (*VideoDataRequest) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{7} }
  180. type VideoDataResponse struct {
  181. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  182. List []*VideoESInfo `protobuf:"bytes,2,rep,name=list" json:"list"`
  183. }
  184. func (m *VideoDataResponse) Reset() { *m = VideoDataResponse{} }
  185. func (*VideoDataResponse) ProtoMessage() {}
  186. func (*VideoDataResponse) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{8} }
  187. type ESVideoDataRequest struct {
  188. Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query" form:"query" validate:"required"`
  189. }
  190. func (m *ESVideoDataRequest) Reset() { *m = ESVideoDataRequest{} }
  191. func (*ESVideoDataRequest) ProtoMessage() {}
  192. func (*ESVideoDataRequest) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{9} }
  193. type ESVideoDataResponse struct {
  194. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  195. List []*RecVideoInfo `protobuf:"bytes,2,rep,name=list" json:"list"`
  196. }
  197. func (m *ESVideoDataResponse) Reset() { *m = ESVideoDataResponse{} }
  198. func (*ESVideoDataResponse) ProtoMessage() {}
  199. func (*ESVideoDataResponse) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{10} }
  200. type DelVideoBySVIDRequest struct {
  201. SVIDs []int64 `protobuf:"varint,1,rep,packed,name=svids" json:"query" form:"svids" validate:"required"`
  202. }
  203. func (m *DelVideoBySVIDRequest) Reset() { *m = DelVideoBySVIDRequest{} }
  204. func (*DelVideoBySVIDRequest) ProtoMessage() {}
  205. func (*DelVideoBySVIDRequest) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{11} }
  206. type DelVideoBySVIDResponse struct {
  207. }
  208. func (m *DelVideoBySVIDResponse) Reset() { *m = DelVideoBySVIDResponse{} }
  209. func (*DelVideoBySVIDResponse) ProtoMessage() {}
  210. func (*DelVideoBySVIDResponse) Descriptor() ([]byte, []int) { return fileDescriptorApi, []int{12} }
  211. func init() {
  212. proto.RegisterType((*SaveVideoRequest)(nil), "bbq.service.search.v1.SaveVideoRequest")
  213. proto.RegisterType((*VideoESInfo)(nil), "bbq.service.search.v1.VideoESInfo")
  214. proto.RegisterType((*VideoESTags)(nil), "bbq.service.search.v1.VideoESTags")
  215. proto.RegisterType((*SaveVideoResponse)(nil), "bbq.service.search.v1.SaveVideoResponse")
  216. proto.RegisterType((*RecVideoInfo)(nil), "bbq.service.search.v1.RecVideoInfo")
  217. proto.RegisterType((*RecVideoDataRequest)(nil), "bbq.service.search.v1.RecVideoDataRequest")
  218. proto.RegisterType((*RecVideoDataResponse)(nil), "bbq.service.search.v1.RecVideoDataResponse")
  219. proto.RegisterType((*VideoDataRequest)(nil), "bbq.service.search.v1.VideoDataRequest")
  220. proto.RegisterType((*VideoDataResponse)(nil), "bbq.service.search.v1.VideoDataResponse")
  221. proto.RegisterType((*ESVideoDataRequest)(nil), "bbq.service.search.v1.ESVideoDataRequest")
  222. proto.RegisterType((*ESVideoDataResponse)(nil), "bbq.service.search.v1.ESVideoDataResponse")
  223. proto.RegisterType((*DelVideoBySVIDRequest)(nil), "bbq.service.search.v1.DelVideoBySVIDRequest")
  224. proto.RegisterType((*DelVideoBySVIDResponse)(nil), "bbq.service.search.v1.DelVideoBySVIDResponse")
  225. }
  226. // Reference imports to suppress errors if they are not otherwise used.
  227. var _ context.Context
  228. var _ grpc.ClientConn
  229. // This is a compile-time assertion to ensure that this generated file
  230. // is compatible with the grpc package it is being compiled against.
  231. const _ = grpc.SupportPackageIsVersion4
  232. // Client API for Search service
  233. type SearchClient interface {
  234. SaveVideo(ctx context.Context, in *SaveVideoRequest, opts ...grpc.CallOption) (*SaveVideoResponse, error)
  235. VideoData(ctx context.Context, in *VideoDataRequest, opts ...grpc.CallOption) (*VideoDataResponse, error)
  236. RecVideoData(ctx context.Context, in *RecVideoDataRequest, opts ...grpc.CallOption) (*RecVideoDataResponse, error)
  237. ESVideoData(ctx context.Context, in *ESVideoDataRequest, opts ...grpc.CallOption) (*ESVideoDataResponse, error)
  238. DelVideoBySVID(ctx context.Context, in *DelVideoBySVIDRequest, opts ...grpc.CallOption) (*DelVideoBySVIDResponse, error)
  239. }
  240. type searchClient struct {
  241. cc *grpc.ClientConn
  242. }
  243. func NewSearchClient(cc *grpc.ClientConn) SearchClient {
  244. return &searchClient{cc}
  245. }
  246. func (c *searchClient) SaveVideo(ctx context.Context, in *SaveVideoRequest, opts ...grpc.CallOption) (*SaveVideoResponse, error) {
  247. out := new(SaveVideoResponse)
  248. err := grpc.Invoke(ctx, "/bbq.service.search.v1.Search/SaveVideo", in, out, c.cc, opts...)
  249. if err != nil {
  250. return nil, err
  251. }
  252. return out, nil
  253. }
  254. func (c *searchClient) VideoData(ctx context.Context, in *VideoDataRequest, opts ...grpc.CallOption) (*VideoDataResponse, error) {
  255. out := new(VideoDataResponse)
  256. err := grpc.Invoke(ctx, "/bbq.service.search.v1.Search/VideoData", in, out, c.cc, opts...)
  257. if err != nil {
  258. return nil, err
  259. }
  260. return out, nil
  261. }
  262. func (c *searchClient) RecVideoData(ctx context.Context, in *RecVideoDataRequest, opts ...grpc.CallOption) (*RecVideoDataResponse, error) {
  263. out := new(RecVideoDataResponse)
  264. err := grpc.Invoke(ctx, "/bbq.service.search.v1.Search/RecVideoData", in, out, c.cc, opts...)
  265. if err != nil {
  266. return nil, err
  267. }
  268. return out, nil
  269. }
  270. func (c *searchClient) ESVideoData(ctx context.Context, in *ESVideoDataRequest, opts ...grpc.CallOption) (*ESVideoDataResponse, error) {
  271. out := new(ESVideoDataResponse)
  272. err := grpc.Invoke(ctx, "/bbq.service.search.v1.Search/ESVideoData", in, out, c.cc, opts...)
  273. if err != nil {
  274. return nil, err
  275. }
  276. return out, nil
  277. }
  278. func (c *searchClient) DelVideoBySVID(ctx context.Context, in *DelVideoBySVIDRequest, opts ...grpc.CallOption) (*DelVideoBySVIDResponse, error) {
  279. out := new(DelVideoBySVIDResponse)
  280. err := grpc.Invoke(ctx, "/bbq.service.search.v1.Search/DelVideoBySVID", in, out, c.cc, opts...)
  281. if err != nil {
  282. return nil, err
  283. }
  284. return out, nil
  285. }
  286. // Server API for Search service
  287. type SearchServer interface {
  288. SaveVideo(context.Context, *SaveVideoRequest) (*SaveVideoResponse, error)
  289. VideoData(context.Context, *VideoDataRequest) (*VideoDataResponse, error)
  290. RecVideoData(context.Context, *RecVideoDataRequest) (*RecVideoDataResponse, error)
  291. ESVideoData(context.Context, *ESVideoDataRequest) (*ESVideoDataResponse, error)
  292. DelVideoBySVID(context.Context, *DelVideoBySVIDRequest) (*DelVideoBySVIDResponse, error)
  293. }
  294. func RegisterSearchServer(s *grpc.Server, srv SearchServer) {
  295. s.RegisterService(&_Search_serviceDesc, srv)
  296. }
  297. func _Search_SaveVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  298. in := new(SaveVideoRequest)
  299. if err := dec(in); err != nil {
  300. return nil, err
  301. }
  302. if interceptor == nil {
  303. return srv.(SearchServer).SaveVideo(ctx, in)
  304. }
  305. info := &grpc.UnaryServerInfo{
  306. Server: srv,
  307. FullMethod: "/bbq.service.search.v1.Search/SaveVideo",
  308. }
  309. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  310. return srv.(SearchServer).SaveVideo(ctx, req.(*SaveVideoRequest))
  311. }
  312. return interceptor(ctx, in, info, handler)
  313. }
  314. func _Search_VideoData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  315. in := new(VideoDataRequest)
  316. if err := dec(in); err != nil {
  317. return nil, err
  318. }
  319. if interceptor == nil {
  320. return srv.(SearchServer).VideoData(ctx, in)
  321. }
  322. info := &grpc.UnaryServerInfo{
  323. Server: srv,
  324. FullMethod: "/bbq.service.search.v1.Search/VideoData",
  325. }
  326. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  327. return srv.(SearchServer).VideoData(ctx, req.(*VideoDataRequest))
  328. }
  329. return interceptor(ctx, in, info, handler)
  330. }
  331. func _Search_RecVideoData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  332. in := new(RecVideoDataRequest)
  333. if err := dec(in); err != nil {
  334. return nil, err
  335. }
  336. if interceptor == nil {
  337. return srv.(SearchServer).RecVideoData(ctx, in)
  338. }
  339. info := &grpc.UnaryServerInfo{
  340. Server: srv,
  341. FullMethod: "/bbq.service.search.v1.Search/RecVideoData",
  342. }
  343. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  344. return srv.(SearchServer).RecVideoData(ctx, req.(*RecVideoDataRequest))
  345. }
  346. return interceptor(ctx, in, info, handler)
  347. }
  348. func _Search_ESVideoData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  349. in := new(ESVideoDataRequest)
  350. if err := dec(in); err != nil {
  351. return nil, err
  352. }
  353. if interceptor == nil {
  354. return srv.(SearchServer).ESVideoData(ctx, in)
  355. }
  356. info := &grpc.UnaryServerInfo{
  357. Server: srv,
  358. FullMethod: "/bbq.service.search.v1.Search/ESVideoData",
  359. }
  360. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  361. return srv.(SearchServer).ESVideoData(ctx, req.(*ESVideoDataRequest))
  362. }
  363. return interceptor(ctx, in, info, handler)
  364. }
  365. func _Search_DelVideoBySVID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  366. in := new(DelVideoBySVIDRequest)
  367. if err := dec(in); err != nil {
  368. return nil, err
  369. }
  370. if interceptor == nil {
  371. return srv.(SearchServer).DelVideoBySVID(ctx, in)
  372. }
  373. info := &grpc.UnaryServerInfo{
  374. Server: srv,
  375. FullMethod: "/bbq.service.search.v1.Search/DelVideoBySVID",
  376. }
  377. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  378. return srv.(SearchServer).DelVideoBySVID(ctx, req.(*DelVideoBySVIDRequest))
  379. }
  380. return interceptor(ctx, in, info, handler)
  381. }
  382. var _Search_serviceDesc = grpc.ServiceDesc{
  383. ServiceName: "bbq.service.search.v1.Search",
  384. HandlerType: (*SearchServer)(nil),
  385. Methods: []grpc.MethodDesc{
  386. {
  387. MethodName: "SaveVideo",
  388. Handler: _Search_SaveVideo_Handler,
  389. },
  390. {
  391. MethodName: "VideoData",
  392. Handler: _Search_VideoData_Handler,
  393. },
  394. {
  395. MethodName: "RecVideoData",
  396. Handler: _Search_RecVideoData_Handler,
  397. },
  398. {
  399. MethodName: "ESVideoData",
  400. Handler: _Search_ESVideoData_Handler,
  401. },
  402. {
  403. MethodName: "DelVideoBySVID",
  404. Handler: _Search_DelVideoBySVID_Handler,
  405. },
  406. },
  407. Streams: []grpc.StreamDesc{},
  408. Metadata: "app/service/bbq/search/api/grpc/v1/api.proto",
  409. }
  410. func (m *SaveVideoRequest) Marshal() (dAtA []byte, err error) {
  411. size := m.Size()
  412. dAtA = make([]byte, size)
  413. n, err := m.MarshalTo(dAtA)
  414. if err != nil {
  415. return nil, err
  416. }
  417. return dAtA[:n], nil
  418. }
  419. func (m *SaveVideoRequest) MarshalTo(dAtA []byte) (int, error) {
  420. var i int
  421. _ = i
  422. var l int
  423. _ = l
  424. if len(m.List) > 0 {
  425. for _, msg := range m.List {
  426. dAtA[i] = 0xa
  427. i++
  428. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  429. n, err := msg.MarshalTo(dAtA[i:])
  430. if err != nil {
  431. return 0, err
  432. }
  433. i += n
  434. }
  435. }
  436. return i, nil
  437. }
  438. func (m *VideoESInfo) Marshal() (dAtA []byte, err error) {
  439. size := m.Size()
  440. dAtA = make([]byte, size)
  441. n, err := m.MarshalTo(dAtA)
  442. if err != nil {
  443. return nil, err
  444. }
  445. return dAtA[:n], nil
  446. }
  447. func (m *VideoESInfo) MarshalTo(dAtA []byte) (int, error) {
  448. var i int
  449. _ = i
  450. var l int
  451. _ = l
  452. if m.SVID != 0 {
  453. dAtA[i] = 0x8
  454. i++
  455. i = encodeVarintApi(dAtA, i, uint64(m.SVID))
  456. }
  457. if len(m.Title) > 0 {
  458. dAtA[i] = 0x12
  459. i++
  460. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  461. i += copy(dAtA[i:], m.Title)
  462. }
  463. if len(m.Content) > 0 {
  464. dAtA[i] = 0x1a
  465. i++
  466. i = encodeVarintApi(dAtA, i, uint64(len(m.Content)))
  467. i += copy(dAtA[i:], m.Content)
  468. }
  469. if m.MID != 0 {
  470. dAtA[i] = 0x20
  471. i++
  472. i = encodeVarintApi(dAtA, i, uint64(m.MID))
  473. }
  474. if m.CID != 0 {
  475. dAtA[i] = 0x28
  476. i++
  477. i = encodeVarintApi(dAtA, i, uint64(m.CID))
  478. }
  479. if m.Pubtime != 0 {
  480. dAtA[i] = 0x30
  481. i++
  482. i = encodeVarintApi(dAtA, i, uint64(m.Pubtime))
  483. }
  484. if m.Ctime != 0 {
  485. dAtA[i] = 0x38
  486. i++
  487. i = encodeVarintApi(dAtA, i, uint64(m.Ctime))
  488. }
  489. if m.Mtime != 0 {
  490. dAtA[i] = 0x40
  491. i++
  492. i = encodeVarintApi(dAtA, i, uint64(m.Mtime))
  493. }
  494. if m.Duration != 0 {
  495. dAtA[i] = 0x48
  496. i++
  497. i = encodeVarintApi(dAtA, i, uint64(m.Duration))
  498. }
  499. if m.Original != 0 {
  500. dAtA[i] = 0x50
  501. i++
  502. i = encodeVarintApi(dAtA, i, uint64(m.Original))
  503. }
  504. if m.State != 0 {
  505. dAtA[i] = 0x58
  506. i++
  507. i = encodeVarintApi(dAtA, i, uint64(m.State))
  508. }
  509. if m.VerID != 0 {
  510. dAtA[i] = 0x60
  511. i++
  512. i = encodeVarintApi(dAtA, i, uint64(m.VerID))
  513. }
  514. if len(m.Ver) > 0 {
  515. dAtA[i] = 0x6a
  516. i++
  517. i = encodeVarintApi(dAtA, i, uint64(len(m.Ver)))
  518. i += copy(dAtA[i:], m.Ver)
  519. }
  520. if m.From != 0 {
  521. dAtA[i] = 0x70
  522. i++
  523. i = encodeVarintApi(dAtA, i, uint64(m.From))
  524. }
  525. if m.AVID != 0 {
  526. dAtA[i] = 0x78
  527. i++
  528. i = encodeVarintApi(dAtA, i, uint64(m.AVID))
  529. }
  530. if m.Tid != 0 {
  531. dAtA[i] = 0x80
  532. i++
  533. dAtA[i] = 0x1
  534. i++
  535. i = encodeVarintApi(dAtA, i, uint64(m.Tid))
  536. }
  537. if m.SubTid != 0 {
  538. dAtA[i] = 0x88
  539. i++
  540. dAtA[i] = 0x1
  541. i++
  542. i = encodeVarintApi(dAtA, i, uint64(m.SubTid))
  543. }
  544. if m.Score != 0 {
  545. dAtA[i] = 0x90
  546. i++
  547. dAtA[i] = 0x1
  548. i++
  549. i = encodeVarintApi(dAtA, i, uint64(m.Score))
  550. }
  551. if m.RoughScore != 0 {
  552. dAtA[i] = 0x98
  553. i++
  554. dAtA[i] = 0x1
  555. i++
  556. i = encodeVarintApi(dAtA, i, uint64(m.RoughScore))
  557. }
  558. if len(m.Tags) > 0 {
  559. for _, msg := range m.Tags {
  560. dAtA[i] = 0xa2
  561. i++
  562. dAtA[i] = 0x1
  563. i++
  564. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  565. n, err := msg.MarshalTo(dAtA[i:])
  566. if err != nil {
  567. return 0, err
  568. }
  569. i += n
  570. }
  571. }
  572. if m.PlayHive != 0 {
  573. dAtA[i] = 0xa8
  574. i++
  575. dAtA[i] = 0x1
  576. i++
  577. i = encodeVarintApi(dAtA, i, uint64(m.PlayHive))
  578. }
  579. if m.FavHive != 0 {
  580. dAtA[i] = 0xb0
  581. i++
  582. dAtA[i] = 0x1
  583. i++
  584. i = encodeVarintApi(dAtA, i, uint64(m.FavHive))
  585. }
  586. if m.CoinHive != 0 {
  587. dAtA[i] = 0xb8
  588. i++
  589. dAtA[i] = 0x1
  590. i++
  591. i = encodeVarintApi(dAtA, i, uint64(m.CoinHive))
  592. }
  593. if m.SubtitlesHive != 0 {
  594. dAtA[i] = 0xc0
  595. i++
  596. dAtA[i] = 0x1
  597. i++
  598. i = encodeVarintApi(dAtA, i, uint64(m.SubtitlesHive))
  599. }
  600. if m.LikesHive != 0 {
  601. dAtA[i] = 0xc8
  602. i++
  603. dAtA[i] = 0x1
  604. i++
  605. i = encodeVarintApi(dAtA, i, uint64(m.LikesHive))
  606. }
  607. if m.ShareHive != 0 {
  608. dAtA[i] = 0xd0
  609. i++
  610. dAtA[i] = 0x1
  611. i++
  612. i = encodeVarintApi(dAtA, i, uint64(m.ShareHive))
  613. }
  614. if m.ReportHive != 0 {
  615. dAtA[i] = 0xd8
  616. i++
  617. dAtA[i] = 0x1
  618. i++
  619. i = encodeVarintApi(dAtA, i, uint64(m.ReportHive))
  620. }
  621. if m.DurationDailyHive != 0 {
  622. dAtA[i] = 0xe0
  623. i++
  624. dAtA[i] = 0x1
  625. i++
  626. i = encodeVarintApi(dAtA, i, uint64(m.DurationDailyHive))
  627. }
  628. if m.DurationAllHive != 0 {
  629. dAtA[i] = 0xe8
  630. i++
  631. dAtA[i] = 0x1
  632. i++
  633. i = encodeVarintApi(dAtA, i, uint64(m.DurationAllHive))
  634. }
  635. if m.ReplyHive != 0 {
  636. dAtA[i] = 0xf0
  637. i++
  638. dAtA[i] = 0x1
  639. i++
  640. i = encodeVarintApi(dAtA, i, uint64(m.ReplyHive))
  641. }
  642. if m.ShareDailyHive != 0 {
  643. dAtA[i] = 0xf8
  644. i++
  645. dAtA[i] = 0x1
  646. i++
  647. i = encodeVarintApi(dAtA, i, uint64(m.ShareDailyHive))
  648. }
  649. if m.PlayDailyHive != 0 {
  650. dAtA[i] = 0x80
  651. i++
  652. dAtA[i] = 0x2
  653. i++
  654. i = encodeVarintApi(dAtA, i, uint64(m.PlayDailyHive))
  655. }
  656. if m.SubtitlesDailyHive != 0 {
  657. dAtA[i] = 0x88
  658. i++
  659. dAtA[i] = 0x2
  660. i++
  661. i = encodeVarintApi(dAtA, i, uint64(m.SubtitlesDailyHive))
  662. }
  663. if m.LikesDailyHive != 0 {
  664. dAtA[i] = 0x90
  665. i++
  666. dAtA[i] = 0x2
  667. i++
  668. i = encodeVarintApi(dAtA, i, uint64(m.LikesDailyHive))
  669. }
  670. if m.FavDailyHive != 0 {
  671. dAtA[i] = 0x98
  672. i++
  673. dAtA[i] = 0x2
  674. i++
  675. i = encodeVarintApi(dAtA, i, uint64(m.FavDailyHive))
  676. }
  677. if m.ReplyDailyHive != 0 {
  678. dAtA[i] = 0xa0
  679. i++
  680. dAtA[i] = 0x2
  681. i++
  682. i = encodeVarintApi(dAtA, i, uint64(m.ReplyDailyHive))
  683. }
  684. if m.AccessHive != 0 {
  685. dAtA[i] = 0xa8
  686. i++
  687. dAtA[i] = 0x2
  688. i++
  689. i = encodeVarintApi(dAtA, i, uint64(m.AccessHive))
  690. }
  691. if m.Play != 0 {
  692. dAtA[i] = 0xb0
  693. i++
  694. dAtA[i] = 0x2
  695. i++
  696. i = encodeVarintApi(dAtA, i, uint64(m.Play))
  697. }
  698. if m.Subtitles != 0 {
  699. dAtA[i] = 0xb8
  700. i++
  701. dAtA[i] = 0x2
  702. i++
  703. i = encodeVarintApi(dAtA, i, uint64(m.Subtitles))
  704. }
  705. if m.Like != 0 {
  706. dAtA[i] = 0xc0
  707. i++
  708. dAtA[i] = 0x2
  709. i++
  710. i = encodeVarintApi(dAtA, i, uint64(m.Like))
  711. }
  712. if m.Share != 0 {
  713. dAtA[i] = 0xc8
  714. i++
  715. dAtA[i] = 0x2
  716. i++
  717. i = encodeVarintApi(dAtA, i, uint64(m.Share))
  718. }
  719. if m.Report != 0 {
  720. dAtA[i] = 0xd0
  721. i++
  722. dAtA[i] = 0x2
  723. i++
  724. i = encodeVarintApi(dAtA, i, uint64(m.Report))
  725. }
  726. if len(m.SimilarID) > 0 {
  727. dAtA2 := make([]byte, len(m.SimilarID)*10)
  728. var j1 int
  729. for _, num1 := range m.SimilarID {
  730. num := uint64(num1)
  731. for num >= 1<<7 {
  732. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  733. num >>= 7
  734. j1++
  735. }
  736. dAtA2[j1] = uint8(num)
  737. j1++
  738. }
  739. dAtA[i] = 0xda
  740. i++
  741. dAtA[i] = 0x2
  742. i++
  743. i = encodeVarintApi(dAtA, i, uint64(j1))
  744. i += copy(dAtA[i:], dAtA2[:j1])
  745. }
  746. if m.ISFullScreen != 0 {
  747. dAtA[i] = 0xe0
  748. i++
  749. dAtA[i] = 0x2
  750. i++
  751. i = encodeVarintApi(dAtA, i, uint64(m.ISFullScreen))
  752. }
  753. return i, nil
  754. }
  755. func (m *VideoESTags) Marshal() (dAtA []byte, err error) {
  756. size := m.Size()
  757. dAtA = make([]byte, size)
  758. n, err := m.MarshalTo(dAtA)
  759. if err != nil {
  760. return nil, err
  761. }
  762. return dAtA[:n], nil
  763. }
  764. func (m *VideoESTags) MarshalTo(dAtA []byte) (int, error) {
  765. var i int
  766. _ = i
  767. var l int
  768. _ = l
  769. if m.ID != 0 {
  770. dAtA[i] = 0x8
  771. i++
  772. i = encodeVarintApi(dAtA, i, uint64(m.ID))
  773. }
  774. if len(m.Name) > 0 {
  775. dAtA[i] = 0x12
  776. i++
  777. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  778. i += copy(dAtA[i:], m.Name)
  779. }
  780. if m.Type != 0 {
  781. dAtA[i] = 0x18
  782. i++
  783. i = encodeVarintApi(dAtA, i, uint64(m.Type))
  784. }
  785. return i, nil
  786. }
  787. func (m *SaveVideoResponse) Marshal() (dAtA []byte, err error) {
  788. size := m.Size()
  789. dAtA = make([]byte, size)
  790. n, err := m.MarshalTo(dAtA)
  791. if err != nil {
  792. return nil, err
  793. }
  794. return dAtA[:n], nil
  795. }
  796. func (m *SaveVideoResponse) MarshalTo(dAtA []byte) (int, error) {
  797. var i int
  798. _ = i
  799. var l int
  800. _ = l
  801. return i, nil
  802. }
  803. func (m *RecVideoInfo) Marshal() (dAtA []byte, err error) {
  804. size := m.Size()
  805. dAtA = make([]byte, size)
  806. n, err := m.MarshalTo(dAtA)
  807. if err != nil {
  808. return nil, err
  809. }
  810. return dAtA[:n], nil
  811. }
  812. func (m *RecVideoInfo) MarshalTo(dAtA []byte) (int, error) {
  813. var i int
  814. _ = i
  815. var l int
  816. _ = l
  817. if m.SVID != 0 {
  818. dAtA[i] = 0x8
  819. i++
  820. i = encodeVarintApi(dAtA, i, uint64(m.SVID))
  821. }
  822. if len(m.Title) > 0 {
  823. dAtA[i] = 0x12
  824. i++
  825. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  826. i += copy(dAtA[i:], m.Title)
  827. }
  828. if len(m.Content) > 0 {
  829. dAtA[i] = 0x1a
  830. i++
  831. i = encodeVarintApi(dAtA, i, uint64(len(m.Content)))
  832. i += copy(dAtA[i:], m.Content)
  833. }
  834. if m.MID != 0 {
  835. dAtA[i] = 0x20
  836. i++
  837. i = encodeVarintApi(dAtA, i, uint64(m.MID))
  838. }
  839. if m.CID != 0 {
  840. dAtA[i] = 0x28
  841. i++
  842. i = encodeVarintApi(dAtA, i, uint64(m.CID))
  843. }
  844. if m.Pubtime != 0 {
  845. dAtA[i] = 0x30
  846. i++
  847. i = encodeVarintApi(dAtA, i, uint64(m.Pubtime))
  848. }
  849. if m.Ctime != 0 {
  850. dAtA[i] = 0x38
  851. i++
  852. i = encodeVarintApi(dAtA, i, uint64(m.Ctime))
  853. }
  854. if m.Mtime != 0 {
  855. dAtA[i] = 0x40
  856. i++
  857. i = encodeVarintApi(dAtA, i, uint64(m.Mtime))
  858. }
  859. if m.Duration != 0 {
  860. dAtA[i] = 0x48
  861. i++
  862. i = encodeVarintApi(dAtA, i, uint64(m.Duration))
  863. }
  864. if m.Original != 0 {
  865. dAtA[i] = 0x50
  866. i++
  867. i = encodeVarintApi(dAtA, i, uint64(m.Original))
  868. }
  869. if m.State != 0 {
  870. dAtA[i] = 0x58
  871. i++
  872. i = encodeVarintApi(dAtA, i, uint64(m.State))
  873. }
  874. if m.VerID != 0 {
  875. dAtA[i] = 0x60
  876. i++
  877. i = encodeVarintApi(dAtA, i, uint64(m.VerID))
  878. }
  879. if len(m.Ver) > 0 {
  880. dAtA[i] = 0x6a
  881. i++
  882. i = encodeVarintApi(dAtA, i, uint64(len(m.Ver)))
  883. i += copy(dAtA[i:], m.Ver)
  884. }
  885. if m.From != 0 {
  886. dAtA[i] = 0x70
  887. i++
  888. i = encodeVarintApi(dAtA, i, uint64(m.From))
  889. }
  890. if m.AVID != 0 {
  891. dAtA[i] = 0x78
  892. i++
  893. i = encodeVarintApi(dAtA, i, uint64(m.AVID))
  894. }
  895. if m.Tid != 0 {
  896. dAtA[i] = 0x80
  897. i++
  898. dAtA[i] = 0x1
  899. i++
  900. i = encodeVarintApi(dAtA, i, uint64(m.Tid))
  901. }
  902. if m.SubTid != 0 {
  903. dAtA[i] = 0x88
  904. i++
  905. dAtA[i] = 0x1
  906. i++
  907. i = encodeVarintApi(dAtA, i, uint64(m.SubTid))
  908. }
  909. if m.Score != 0 {
  910. dAtA[i] = 0x90
  911. i++
  912. dAtA[i] = 0x1
  913. i++
  914. i = encodeVarintApi(dAtA, i, uint64(m.Score))
  915. }
  916. if m.RoughScore != 0 {
  917. dAtA[i] = 0x98
  918. i++
  919. dAtA[i] = 0x1
  920. i++
  921. i = encodeVarintApi(dAtA, i, uint64(m.RoughScore))
  922. }
  923. if len(m.Tags) > 0 {
  924. for _, msg := range m.Tags {
  925. dAtA[i] = 0xa2
  926. i++
  927. dAtA[i] = 0x1
  928. i++
  929. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  930. n, err := msg.MarshalTo(dAtA[i:])
  931. if err != nil {
  932. return 0, err
  933. }
  934. i += n
  935. }
  936. }
  937. if m.PlayHive != 0 {
  938. dAtA[i] = 0xa8
  939. i++
  940. dAtA[i] = 0x1
  941. i++
  942. i = encodeVarintApi(dAtA, i, uint64(m.PlayHive))
  943. }
  944. if m.FavHive != 0 {
  945. dAtA[i] = 0xb0
  946. i++
  947. dAtA[i] = 0x1
  948. i++
  949. i = encodeVarintApi(dAtA, i, uint64(m.FavHive))
  950. }
  951. if m.CoinHive != 0 {
  952. dAtA[i] = 0xb8
  953. i++
  954. dAtA[i] = 0x1
  955. i++
  956. i = encodeVarintApi(dAtA, i, uint64(m.CoinHive))
  957. }
  958. if m.SubtitlesHive != 0 {
  959. dAtA[i] = 0xc0
  960. i++
  961. dAtA[i] = 0x1
  962. i++
  963. i = encodeVarintApi(dAtA, i, uint64(m.SubtitlesHive))
  964. }
  965. if m.LikesHive != 0 {
  966. dAtA[i] = 0xc8
  967. i++
  968. dAtA[i] = 0x1
  969. i++
  970. i = encodeVarintApi(dAtA, i, uint64(m.LikesHive))
  971. }
  972. if m.ShareHive != 0 {
  973. dAtA[i] = 0xd0
  974. i++
  975. dAtA[i] = 0x1
  976. i++
  977. i = encodeVarintApi(dAtA, i, uint64(m.ShareHive))
  978. }
  979. if m.ReportHive != 0 {
  980. dAtA[i] = 0xd8
  981. i++
  982. dAtA[i] = 0x1
  983. i++
  984. i = encodeVarintApi(dAtA, i, uint64(m.ReportHive))
  985. }
  986. if m.DurationDailyHive != 0 {
  987. dAtA[i] = 0xe0
  988. i++
  989. dAtA[i] = 0x1
  990. i++
  991. i = encodeVarintApi(dAtA, i, uint64(m.DurationDailyHive))
  992. }
  993. if m.DurationAllHive != 0 {
  994. dAtA[i] = 0xe8
  995. i++
  996. dAtA[i] = 0x1
  997. i++
  998. i = encodeVarintApi(dAtA, i, uint64(m.DurationAllHive))
  999. }
  1000. if m.ReplyHive != 0 {
  1001. dAtA[i] = 0xf0
  1002. i++
  1003. dAtA[i] = 0x1
  1004. i++
  1005. i = encodeVarintApi(dAtA, i, uint64(m.ReplyHive))
  1006. }
  1007. if m.ShareDailyHive != 0 {
  1008. dAtA[i] = 0xf8
  1009. i++
  1010. dAtA[i] = 0x1
  1011. i++
  1012. i = encodeVarintApi(dAtA, i, uint64(m.ShareDailyHive))
  1013. }
  1014. if m.PlayDailyHive != 0 {
  1015. dAtA[i] = 0x80
  1016. i++
  1017. dAtA[i] = 0x2
  1018. i++
  1019. i = encodeVarintApi(dAtA, i, uint64(m.PlayDailyHive))
  1020. }
  1021. if m.SubtitlesDailyHive != 0 {
  1022. dAtA[i] = 0x88
  1023. i++
  1024. dAtA[i] = 0x2
  1025. i++
  1026. i = encodeVarintApi(dAtA, i, uint64(m.SubtitlesDailyHive))
  1027. }
  1028. if m.LikesDailyHive != 0 {
  1029. dAtA[i] = 0x90
  1030. i++
  1031. dAtA[i] = 0x2
  1032. i++
  1033. i = encodeVarintApi(dAtA, i, uint64(m.LikesDailyHive))
  1034. }
  1035. if m.FavDailyHive != 0 {
  1036. dAtA[i] = 0x98
  1037. i++
  1038. dAtA[i] = 0x2
  1039. i++
  1040. i = encodeVarintApi(dAtA, i, uint64(m.FavDailyHive))
  1041. }
  1042. if m.ReplyDailyHive != 0 {
  1043. dAtA[i] = 0xa0
  1044. i++
  1045. dAtA[i] = 0x2
  1046. i++
  1047. i = encodeVarintApi(dAtA, i, uint64(m.ReplyDailyHive))
  1048. }
  1049. if m.AccessHive != 0 {
  1050. dAtA[i] = 0xa8
  1051. i++
  1052. dAtA[i] = 0x2
  1053. i++
  1054. i = encodeVarintApi(dAtA, i, uint64(m.AccessHive))
  1055. }
  1056. if m.Play != 0 {
  1057. dAtA[i] = 0xb0
  1058. i++
  1059. dAtA[i] = 0x2
  1060. i++
  1061. i = encodeVarintApi(dAtA, i, uint64(m.Play))
  1062. }
  1063. if m.Subtitles != 0 {
  1064. dAtA[i] = 0xb8
  1065. i++
  1066. dAtA[i] = 0x2
  1067. i++
  1068. i = encodeVarintApi(dAtA, i, uint64(m.Subtitles))
  1069. }
  1070. if m.Like != 0 {
  1071. dAtA[i] = 0xc0
  1072. i++
  1073. dAtA[i] = 0x2
  1074. i++
  1075. i = encodeVarintApi(dAtA, i, uint64(m.Like))
  1076. }
  1077. if m.Share != 0 {
  1078. dAtA[i] = 0xc8
  1079. i++
  1080. dAtA[i] = 0x2
  1081. i++
  1082. i = encodeVarintApi(dAtA, i, uint64(m.Share))
  1083. }
  1084. if m.Report != 0 {
  1085. dAtA[i] = 0xd0
  1086. i++
  1087. dAtA[i] = 0x2
  1088. i++
  1089. i = encodeVarintApi(dAtA, i, uint64(m.Report))
  1090. }
  1091. if len(m.SimilarID) > 0 {
  1092. dAtA4 := make([]byte, len(m.SimilarID)*10)
  1093. var j3 int
  1094. for _, num1 := range m.SimilarID {
  1095. num := uint64(num1)
  1096. for num >= 1<<7 {
  1097. dAtA4[j3] = uint8(uint64(num)&0x7f | 0x80)
  1098. num >>= 7
  1099. j3++
  1100. }
  1101. dAtA4[j3] = uint8(num)
  1102. j3++
  1103. }
  1104. dAtA[i] = 0xda
  1105. i++
  1106. dAtA[i] = 0x2
  1107. i++
  1108. i = encodeVarintApi(dAtA, i, uint64(j3))
  1109. i += copy(dAtA[i:], dAtA4[:j3])
  1110. }
  1111. if m.ESScore != 0 {
  1112. dAtA[i] = 0xe5
  1113. i++
  1114. dAtA[i] = 0x2
  1115. i++
  1116. binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ESScore))))
  1117. i += 4
  1118. }
  1119. if len(m.CustomScore) > 0 {
  1120. dAtA[i] = 0xea
  1121. i++
  1122. dAtA[i] = 0x2
  1123. i++
  1124. i = encodeVarintApi(dAtA, i, uint64(len(m.CustomScore)*4))
  1125. for _, num := range m.CustomScore {
  1126. f5 := math.Float32bits(float32(num))
  1127. binary.LittleEndian.PutUint32(dAtA[i:], uint32(f5))
  1128. i += 4
  1129. }
  1130. }
  1131. if m.ISFullScreen != 0 {
  1132. dAtA[i] = 0xf0
  1133. i++
  1134. dAtA[i] = 0x2
  1135. i++
  1136. i = encodeVarintApi(dAtA, i, uint64(m.ISFullScreen))
  1137. }
  1138. return i, nil
  1139. }
  1140. func (m *RecVideoDataRequest) Marshal() (dAtA []byte, err error) {
  1141. size := m.Size()
  1142. dAtA = make([]byte, size)
  1143. n, err := m.MarshalTo(dAtA)
  1144. if err != nil {
  1145. return nil, err
  1146. }
  1147. return dAtA[:n], nil
  1148. }
  1149. func (m *RecVideoDataRequest) MarshalTo(dAtA []byte) (int, error) {
  1150. var i int
  1151. _ = i
  1152. var l int
  1153. _ = l
  1154. if len(m.Query) > 0 {
  1155. dAtA[i] = 0xa
  1156. i++
  1157. i = encodeVarintApi(dAtA, i, uint64(len(m.Query)))
  1158. i += copy(dAtA[i:], m.Query)
  1159. }
  1160. return i, nil
  1161. }
  1162. func (m *RecVideoDataResponse) Marshal() (dAtA []byte, err error) {
  1163. size := m.Size()
  1164. dAtA = make([]byte, size)
  1165. n, err := m.MarshalTo(dAtA)
  1166. if err != nil {
  1167. return nil, err
  1168. }
  1169. return dAtA[:n], nil
  1170. }
  1171. func (m *RecVideoDataResponse) MarshalTo(dAtA []byte) (int, error) {
  1172. var i int
  1173. _ = i
  1174. var l int
  1175. _ = l
  1176. if m.Total != 0 {
  1177. dAtA[i] = 0x8
  1178. i++
  1179. i = encodeVarintApi(dAtA, i, uint64(m.Total))
  1180. }
  1181. if len(m.List) > 0 {
  1182. for _, msg := range m.List {
  1183. dAtA[i] = 0x12
  1184. i++
  1185. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  1186. n, err := msg.MarshalTo(dAtA[i:])
  1187. if err != nil {
  1188. return 0, err
  1189. }
  1190. i += n
  1191. }
  1192. }
  1193. return i, nil
  1194. }
  1195. func (m *VideoDataRequest) Marshal() (dAtA []byte, err error) {
  1196. size := m.Size()
  1197. dAtA = make([]byte, size)
  1198. n, err := m.MarshalTo(dAtA)
  1199. if err != nil {
  1200. return nil, err
  1201. }
  1202. return dAtA[:n], nil
  1203. }
  1204. func (m *VideoDataRequest) MarshalTo(dAtA []byte) (int, error) {
  1205. var i int
  1206. _ = i
  1207. var l int
  1208. _ = l
  1209. if len(m.Query) > 0 {
  1210. dAtA[i] = 0xa
  1211. i++
  1212. i = encodeVarintApi(dAtA, i, uint64(len(m.Query)))
  1213. i += copy(dAtA[i:], m.Query)
  1214. }
  1215. return i, nil
  1216. }
  1217. func (m *VideoDataResponse) Marshal() (dAtA []byte, err error) {
  1218. size := m.Size()
  1219. dAtA = make([]byte, size)
  1220. n, err := m.MarshalTo(dAtA)
  1221. if err != nil {
  1222. return nil, err
  1223. }
  1224. return dAtA[:n], nil
  1225. }
  1226. func (m *VideoDataResponse) MarshalTo(dAtA []byte) (int, error) {
  1227. var i int
  1228. _ = i
  1229. var l int
  1230. _ = l
  1231. if m.Total != 0 {
  1232. dAtA[i] = 0x8
  1233. i++
  1234. i = encodeVarintApi(dAtA, i, uint64(m.Total))
  1235. }
  1236. if len(m.List) > 0 {
  1237. for _, msg := range m.List {
  1238. dAtA[i] = 0x12
  1239. i++
  1240. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  1241. n, err := msg.MarshalTo(dAtA[i:])
  1242. if err != nil {
  1243. return 0, err
  1244. }
  1245. i += n
  1246. }
  1247. }
  1248. return i, nil
  1249. }
  1250. func (m *ESVideoDataRequest) Marshal() (dAtA []byte, err error) {
  1251. size := m.Size()
  1252. dAtA = make([]byte, size)
  1253. n, err := m.MarshalTo(dAtA)
  1254. if err != nil {
  1255. return nil, err
  1256. }
  1257. return dAtA[:n], nil
  1258. }
  1259. func (m *ESVideoDataRequest) MarshalTo(dAtA []byte) (int, error) {
  1260. var i int
  1261. _ = i
  1262. var l int
  1263. _ = l
  1264. if len(m.Query) > 0 {
  1265. dAtA[i] = 0xa
  1266. i++
  1267. i = encodeVarintApi(dAtA, i, uint64(len(m.Query)))
  1268. i += copy(dAtA[i:], m.Query)
  1269. }
  1270. return i, nil
  1271. }
  1272. func (m *ESVideoDataResponse) Marshal() (dAtA []byte, err error) {
  1273. size := m.Size()
  1274. dAtA = make([]byte, size)
  1275. n, err := m.MarshalTo(dAtA)
  1276. if err != nil {
  1277. return nil, err
  1278. }
  1279. return dAtA[:n], nil
  1280. }
  1281. func (m *ESVideoDataResponse) MarshalTo(dAtA []byte) (int, error) {
  1282. var i int
  1283. _ = i
  1284. var l int
  1285. _ = l
  1286. if m.Total != 0 {
  1287. dAtA[i] = 0x8
  1288. i++
  1289. i = encodeVarintApi(dAtA, i, uint64(m.Total))
  1290. }
  1291. if len(m.List) > 0 {
  1292. for _, msg := range m.List {
  1293. dAtA[i] = 0x12
  1294. i++
  1295. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  1296. n, err := msg.MarshalTo(dAtA[i:])
  1297. if err != nil {
  1298. return 0, err
  1299. }
  1300. i += n
  1301. }
  1302. }
  1303. return i, nil
  1304. }
  1305. func (m *DelVideoBySVIDRequest) Marshal() (dAtA []byte, err error) {
  1306. size := m.Size()
  1307. dAtA = make([]byte, size)
  1308. n, err := m.MarshalTo(dAtA)
  1309. if err != nil {
  1310. return nil, err
  1311. }
  1312. return dAtA[:n], nil
  1313. }
  1314. func (m *DelVideoBySVIDRequest) MarshalTo(dAtA []byte) (int, error) {
  1315. var i int
  1316. _ = i
  1317. var l int
  1318. _ = l
  1319. if len(m.SVIDs) > 0 {
  1320. dAtA7 := make([]byte, len(m.SVIDs)*10)
  1321. var j6 int
  1322. for _, num1 := range m.SVIDs {
  1323. num := uint64(num1)
  1324. for num >= 1<<7 {
  1325. dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80)
  1326. num >>= 7
  1327. j6++
  1328. }
  1329. dAtA7[j6] = uint8(num)
  1330. j6++
  1331. }
  1332. dAtA[i] = 0xa
  1333. i++
  1334. i = encodeVarintApi(dAtA, i, uint64(j6))
  1335. i += copy(dAtA[i:], dAtA7[:j6])
  1336. }
  1337. return i, nil
  1338. }
  1339. func (m *DelVideoBySVIDResponse) Marshal() (dAtA []byte, err error) {
  1340. size := m.Size()
  1341. dAtA = make([]byte, size)
  1342. n, err := m.MarshalTo(dAtA)
  1343. if err != nil {
  1344. return nil, err
  1345. }
  1346. return dAtA[:n], nil
  1347. }
  1348. func (m *DelVideoBySVIDResponse) MarshalTo(dAtA []byte) (int, error) {
  1349. var i int
  1350. _ = i
  1351. var l int
  1352. _ = l
  1353. return i, nil
  1354. }
  1355. func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
  1356. for v >= 1<<7 {
  1357. dAtA[offset] = uint8(v&0x7f | 0x80)
  1358. v >>= 7
  1359. offset++
  1360. }
  1361. dAtA[offset] = uint8(v)
  1362. return offset + 1
  1363. }
  1364. func (m *SaveVideoRequest) Size() (n int) {
  1365. var l int
  1366. _ = l
  1367. if len(m.List) > 0 {
  1368. for _, e := range m.List {
  1369. l = e.Size()
  1370. n += 1 + l + sovApi(uint64(l))
  1371. }
  1372. }
  1373. return n
  1374. }
  1375. func (m *VideoESInfo) Size() (n int) {
  1376. var l int
  1377. _ = l
  1378. if m.SVID != 0 {
  1379. n += 1 + sovApi(uint64(m.SVID))
  1380. }
  1381. l = len(m.Title)
  1382. if l > 0 {
  1383. n += 1 + l + sovApi(uint64(l))
  1384. }
  1385. l = len(m.Content)
  1386. if l > 0 {
  1387. n += 1 + l + sovApi(uint64(l))
  1388. }
  1389. if m.MID != 0 {
  1390. n += 1 + sovApi(uint64(m.MID))
  1391. }
  1392. if m.CID != 0 {
  1393. n += 1 + sovApi(uint64(m.CID))
  1394. }
  1395. if m.Pubtime != 0 {
  1396. n += 1 + sovApi(uint64(m.Pubtime))
  1397. }
  1398. if m.Ctime != 0 {
  1399. n += 1 + sovApi(uint64(m.Ctime))
  1400. }
  1401. if m.Mtime != 0 {
  1402. n += 1 + sovApi(uint64(m.Mtime))
  1403. }
  1404. if m.Duration != 0 {
  1405. n += 1 + sovApi(uint64(m.Duration))
  1406. }
  1407. if m.Original != 0 {
  1408. n += 1 + sovApi(uint64(m.Original))
  1409. }
  1410. if m.State != 0 {
  1411. n += 1 + sovApi(uint64(m.State))
  1412. }
  1413. if m.VerID != 0 {
  1414. n += 1 + sovApi(uint64(m.VerID))
  1415. }
  1416. l = len(m.Ver)
  1417. if l > 0 {
  1418. n += 1 + l + sovApi(uint64(l))
  1419. }
  1420. if m.From != 0 {
  1421. n += 1 + sovApi(uint64(m.From))
  1422. }
  1423. if m.AVID != 0 {
  1424. n += 1 + sovApi(uint64(m.AVID))
  1425. }
  1426. if m.Tid != 0 {
  1427. n += 2 + sovApi(uint64(m.Tid))
  1428. }
  1429. if m.SubTid != 0 {
  1430. n += 2 + sovApi(uint64(m.SubTid))
  1431. }
  1432. if m.Score != 0 {
  1433. n += 2 + sovApi(uint64(m.Score))
  1434. }
  1435. if m.RoughScore != 0 {
  1436. n += 2 + sovApi(uint64(m.RoughScore))
  1437. }
  1438. if len(m.Tags) > 0 {
  1439. for _, e := range m.Tags {
  1440. l = e.Size()
  1441. n += 2 + l + sovApi(uint64(l))
  1442. }
  1443. }
  1444. if m.PlayHive != 0 {
  1445. n += 2 + sovApi(uint64(m.PlayHive))
  1446. }
  1447. if m.FavHive != 0 {
  1448. n += 2 + sovApi(uint64(m.FavHive))
  1449. }
  1450. if m.CoinHive != 0 {
  1451. n += 2 + sovApi(uint64(m.CoinHive))
  1452. }
  1453. if m.SubtitlesHive != 0 {
  1454. n += 2 + sovApi(uint64(m.SubtitlesHive))
  1455. }
  1456. if m.LikesHive != 0 {
  1457. n += 2 + sovApi(uint64(m.LikesHive))
  1458. }
  1459. if m.ShareHive != 0 {
  1460. n += 2 + sovApi(uint64(m.ShareHive))
  1461. }
  1462. if m.ReportHive != 0 {
  1463. n += 2 + sovApi(uint64(m.ReportHive))
  1464. }
  1465. if m.DurationDailyHive != 0 {
  1466. n += 2 + sovApi(uint64(m.DurationDailyHive))
  1467. }
  1468. if m.DurationAllHive != 0 {
  1469. n += 2 + sovApi(uint64(m.DurationAllHive))
  1470. }
  1471. if m.ReplyHive != 0 {
  1472. n += 2 + sovApi(uint64(m.ReplyHive))
  1473. }
  1474. if m.ShareDailyHive != 0 {
  1475. n += 2 + sovApi(uint64(m.ShareDailyHive))
  1476. }
  1477. if m.PlayDailyHive != 0 {
  1478. n += 2 + sovApi(uint64(m.PlayDailyHive))
  1479. }
  1480. if m.SubtitlesDailyHive != 0 {
  1481. n += 2 + sovApi(uint64(m.SubtitlesDailyHive))
  1482. }
  1483. if m.LikesDailyHive != 0 {
  1484. n += 2 + sovApi(uint64(m.LikesDailyHive))
  1485. }
  1486. if m.FavDailyHive != 0 {
  1487. n += 2 + sovApi(uint64(m.FavDailyHive))
  1488. }
  1489. if m.ReplyDailyHive != 0 {
  1490. n += 2 + sovApi(uint64(m.ReplyDailyHive))
  1491. }
  1492. if m.AccessHive != 0 {
  1493. n += 2 + sovApi(uint64(m.AccessHive))
  1494. }
  1495. if m.Play != 0 {
  1496. n += 2 + sovApi(uint64(m.Play))
  1497. }
  1498. if m.Subtitles != 0 {
  1499. n += 2 + sovApi(uint64(m.Subtitles))
  1500. }
  1501. if m.Like != 0 {
  1502. n += 2 + sovApi(uint64(m.Like))
  1503. }
  1504. if m.Share != 0 {
  1505. n += 2 + sovApi(uint64(m.Share))
  1506. }
  1507. if m.Report != 0 {
  1508. n += 2 + sovApi(uint64(m.Report))
  1509. }
  1510. if len(m.SimilarID) > 0 {
  1511. l = 0
  1512. for _, e := range m.SimilarID {
  1513. l += sovApi(uint64(e))
  1514. }
  1515. n += 2 + sovApi(uint64(l)) + l
  1516. }
  1517. if m.ISFullScreen != 0 {
  1518. n += 2 + sovApi(uint64(m.ISFullScreen))
  1519. }
  1520. return n
  1521. }
  1522. func (m *VideoESTags) Size() (n int) {
  1523. var l int
  1524. _ = l
  1525. if m.ID != 0 {
  1526. n += 1 + sovApi(uint64(m.ID))
  1527. }
  1528. l = len(m.Name)
  1529. if l > 0 {
  1530. n += 1 + l + sovApi(uint64(l))
  1531. }
  1532. if m.Type != 0 {
  1533. n += 1 + sovApi(uint64(m.Type))
  1534. }
  1535. return n
  1536. }
  1537. func (m *SaveVideoResponse) Size() (n int) {
  1538. var l int
  1539. _ = l
  1540. return n
  1541. }
  1542. func (m *RecVideoInfo) Size() (n int) {
  1543. var l int
  1544. _ = l
  1545. if m.SVID != 0 {
  1546. n += 1 + sovApi(uint64(m.SVID))
  1547. }
  1548. l = len(m.Title)
  1549. if l > 0 {
  1550. n += 1 + l + sovApi(uint64(l))
  1551. }
  1552. l = len(m.Content)
  1553. if l > 0 {
  1554. n += 1 + l + sovApi(uint64(l))
  1555. }
  1556. if m.MID != 0 {
  1557. n += 1 + sovApi(uint64(m.MID))
  1558. }
  1559. if m.CID != 0 {
  1560. n += 1 + sovApi(uint64(m.CID))
  1561. }
  1562. if m.Pubtime != 0 {
  1563. n += 1 + sovApi(uint64(m.Pubtime))
  1564. }
  1565. if m.Ctime != 0 {
  1566. n += 1 + sovApi(uint64(m.Ctime))
  1567. }
  1568. if m.Mtime != 0 {
  1569. n += 1 + sovApi(uint64(m.Mtime))
  1570. }
  1571. if m.Duration != 0 {
  1572. n += 1 + sovApi(uint64(m.Duration))
  1573. }
  1574. if m.Original != 0 {
  1575. n += 1 + sovApi(uint64(m.Original))
  1576. }
  1577. if m.State != 0 {
  1578. n += 1 + sovApi(uint64(m.State))
  1579. }
  1580. if m.VerID != 0 {
  1581. n += 1 + sovApi(uint64(m.VerID))
  1582. }
  1583. l = len(m.Ver)
  1584. if l > 0 {
  1585. n += 1 + l + sovApi(uint64(l))
  1586. }
  1587. if m.From != 0 {
  1588. n += 1 + sovApi(uint64(m.From))
  1589. }
  1590. if m.AVID != 0 {
  1591. n += 1 + sovApi(uint64(m.AVID))
  1592. }
  1593. if m.Tid != 0 {
  1594. n += 2 + sovApi(uint64(m.Tid))
  1595. }
  1596. if m.SubTid != 0 {
  1597. n += 2 + sovApi(uint64(m.SubTid))
  1598. }
  1599. if m.Score != 0 {
  1600. n += 2 + sovApi(uint64(m.Score))
  1601. }
  1602. if m.RoughScore != 0 {
  1603. n += 2 + sovApi(uint64(m.RoughScore))
  1604. }
  1605. if len(m.Tags) > 0 {
  1606. for _, e := range m.Tags {
  1607. l = e.Size()
  1608. n += 2 + l + sovApi(uint64(l))
  1609. }
  1610. }
  1611. if m.PlayHive != 0 {
  1612. n += 2 + sovApi(uint64(m.PlayHive))
  1613. }
  1614. if m.FavHive != 0 {
  1615. n += 2 + sovApi(uint64(m.FavHive))
  1616. }
  1617. if m.CoinHive != 0 {
  1618. n += 2 + sovApi(uint64(m.CoinHive))
  1619. }
  1620. if m.SubtitlesHive != 0 {
  1621. n += 2 + sovApi(uint64(m.SubtitlesHive))
  1622. }
  1623. if m.LikesHive != 0 {
  1624. n += 2 + sovApi(uint64(m.LikesHive))
  1625. }
  1626. if m.ShareHive != 0 {
  1627. n += 2 + sovApi(uint64(m.ShareHive))
  1628. }
  1629. if m.ReportHive != 0 {
  1630. n += 2 + sovApi(uint64(m.ReportHive))
  1631. }
  1632. if m.DurationDailyHive != 0 {
  1633. n += 2 + sovApi(uint64(m.DurationDailyHive))
  1634. }
  1635. if m.DurationAllHive != 0 {
  1636. n += 2 + sovApi(uint64(m.DurationAllHive))
  1637. }
  1638. if m.ReplyHive != 0 {
  1639. n += 2 + sovApi(uint64(m.ReplyHive))
  1640. }
  1641. if m.ShareDailyHive != 0 {
  1642. n += 2 + sovApi(uint64(m.ShareDailyHive))
  1643. }
  1644. if m.PlayDailyHive != 0 {
  1645. n += 2 + sovApi(uint64(m.PlayDailyHive))
  1646. }
  1647. if m.SubtitlesDailyHive != 0 {
  1648. n += 2 + sovApi(uint64(m.SubtitlesDailyHive))
  1649. }
  1650. if m.LikesDailyHive != 0 {
  1651. n += 2 + sovApi(uint64(m.LikesDailyHive))
  1652. }
  1653. if m.FavDailyHive != 0 {
  1654. n += 2 + sovApi(uint64(m.FavDailyHive))
  1655. }
  1656. if m.ReplyDailyHive != 0 {
  1657. n += 2 + sovApi(uint64(m.ReplyDailyHive))
  1658. }
  1659. if m.AccessHive != 0 {
  1660. n += 2 + sovApi(uint64(m.AccessHive))
  1661. }
  1662. if m.Play != 0 {
  1663. n += 2 + sovApi(uint64(m.Play))
  1664. }
  1665. if m.Subtitles != 0 {
  1666. n += 2 + sovApi(uint64(m.Subtitles))
  1667. }
  1668. if m.Like != 0 {
  1669. n += 2 + sovApi(uint64(m.Like))
  1670. }
  1671. if m.Share != 0 {
  1672. n += 2 + sovApi(uint64(m.Share))
  1673. }
  1674. if m.Report != 0 {
  1675. n += 2 + sovApi(uint64(m.Report))
  1676. }
  1677. if len(m.SimilarID) > 0 {
  1678. l = 0
  1679. for _, e := range m.SimilarID {
  1680. l += sovApi(uint64(e))
  1681. }
  1682. n += 2 + sovApi(uint64(l)) + l
  1683. }
  1684. if m.ESScore != 0 {
  1685. n += 6
  1686. }
  1687. if len(m.CustomScore) > 0 {
  1688. n += 2 + sovApi(uint64(len(m.CustomScore)*4)) + len(m.CustomScore)*4
  1689. }
  1690. if m.ISFullScreen != 0 {
  1691. n += 2 + sovApi(uint64(m.ISFullScreen))
  1692. }
  1693. return n
  1694. }
  1695. func (m *RecVideoDataRequest) Size() (n int) {
  1696. var l int
  1697. _ = l
  1698. l = len(m.Query)
  1699. if l > 0 {
  1700. n += 1 + l + sovApi(uint64(l))
  1701. }
  1702. return n
  1703. }
  1704. func (m *RecVideoDataResponse) Size() (n int) {
  1705. var l int
  1706. _ = l
  1707. if m.Total != 0 {
  1708. n += 1 + sovApi(uint64(m.Total))
  1709. }
  1710. if len(m.List) > 0 {
  1711. for _, e := range m.List {
  1712. l = e.Size()
  1713. n += 1 + l + sovApi(uint64(l))
  1714. }
  1715. }
  1716. return n
  1717. }
  1718. func (m *VideoDataRequest) Size() (n int) {
  1719. var l int
  1720. _ = l
  1721. l = len(m.Query)
  1722. if l > 0 {
  1723. n += 1 + l + sovApi(uint64(l))
  1724. }
  1725. return n
  1726. }
  1727. func (m *VideoDataResponse) Size() (n int) {
  1728. var l int
  1729. _ = l
  1730. if m.Total != 0 {
  1731. n += 1 + sovApi(uint64(m.Total))
  1732. }
  1733. if len(m.List) > 0 {
  1734. for _, e := range m.List {
  1735. l = e.Size()
  1736. n += 1 + l + sovApi(uint64(l))
  1737. }
  1738. }
  1739. return n
  1740. }
  1741. func (m *ESVideoDataRequest) Size() (n int) {
  1742. var l int
  1743. _ = l
  1744. l = len(m.Query)
  1745. if l > 0 {
  1746. n += 1 + l + sovApi(uint64(l))
  1747. }
  1748. return n
  1749. }
  1750. func (m *ESVideoDataResponse) Size() (n int) {
  1751. var l int
  1752. _ = l
  1753. if m.Total != 0 {
  1754. n += 1 + sovApi(uint64(m.Total))
  1755. }
  1756. if len(m.List) > 0 {
  1757. for _, e := range m.List {
  1758. l = e.Size()
  1759. n += 1 + l + sovApi(uint64(l))
  1760. }
  1761. }
  1762. return n
  1763. }
  1764. func (m *DelVideoBySVIDRequest) Size() (n int) {
  1765. var l int
  1766. _ = l
  1767. if len(m.SVIDs) > 0 {
  1768. l = 0
  1769. for _, e := range m.SVIDs {
  1770. l += sovApi(uint64(e))
  1771. }
  1772. n += 1 + sovApi(uint64(l)) + l
  1773. }
  1774. return n
  1775. }
  1776. func (m *DelVideoBySVIDResponse) Size() (n int) {
  1777. var l int
  1778. _ = l
  1779. return n
  1780. }
  1781. func sovApi(x uint64) (n int) {
  1782. for {
  1783. n++
  1784. x >>= 7
  1785. if x == 0 {
  1786. break
  1787. }
  1788. }
  1789. return n
  1790. }
  1791. func sozApi(x uint64) (n int) {
  1792. return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1793. }
  1794. func (this *SaveVideoRequest) String() string {
  1795. if this == nil {
  1796. return "nil"
  1797. }
  1798. s := ""
  1799. return s
  1800. }
  1801. func (this *VideoESInfo) String() string {
  1802. if this == nil {
  1803. return "nil"
  1804. }
  1805. s := strings.Join([]string{`&VideoESInfo{`,
  1806. `SVID:` + fmt.Sprintf("%v", this.SVID) + `,`,
  1807. `Title:` + fmt.Sprintf("%v", this.Title) + `,`,
  1808. `Content:` + fmt.Sprintf("%v", this.Content) + `,`,
  1809. `MID:` + fmt.Sprintf("%v", this.MID) + `,`,
  1810. `CID:` + fmt.Sprintf("%v", this.CID) + `,`,
  1811. `Pubtime:` + fmt.Sprintf("%v", this.Pubtime) + `,`,
  1812. `Ctime:` + fmt.Sprintf("%v", this.Ctime) + `,`,
  1813. `Mtime:` + fmt.Sprintf("%v", this.Mtime) + `,`,
  1814. `Duration:` + fmt.Sprintf("%v", this.Duration) + `,`,
  1815. `Original:` + fmt.Sprintf("%v", this.Original) + `,`,
  1816. `State:` + fmt.Sprintf("%v", this.State) + `,`,
  1817. `VerID:` + fmt.Sprintf("%v", this.VerID) + `,`,
  1818. `Ver:` + fmt.Sprintf("%v", this.Ver) + `,`,
  1819. `From:` + fmt.Sprintf("%v", this.From) + `,`,
  1820. `AVID:` + fmt.Sprintf("%v", this.AVID) + `,`,
  1821. `Tid:` + fmt.Sprintf("%v", this.Tid) + `,`,
  1822. `SubTid:` + fmt.Sprintf("%v", this.SubTid) + `,`,
  1823. `Score:` + fmt.Sprintf("%v", this.Score) + `,`,
  1824. `RoughScore:` + fmt.Sprintf("%v", this.RoughScore) + `,`,
  1825. `Tags:` + strings.Replace(fmt.Sprintf("%v", this.Tags), "VideoESTags", "VideoESTags", 1) + `,`,
  1826. `PlayHive:` + fmt.Sprintf("%v", this.PlayHive) + `,`,
  1827. `FavHive:` + fmt.Sprintf("%v", this.FavHive) + `,`,
  1828. `CoinHive:` + fmt.Sprintf("%v", this.CoinHive) + `,`,
  1829. `SubtitlesHive:` + fmt.Sprintf("%v", this.SubtitlesHive) + `,`,
  1830. `LikesHive:` + fmt.Sprintf("%v", this.LikesHive) + `,`,
  1831. `ShareHive:` + fmt.Sprintf("%v", this.ShareHive) + `,`,
  1832. `ReportHive:` + fmt.Sprintf("%v", this.ReportHive) + `,`,
  1833. `DurationDailyHive:` + fmt.Sprintf("%v", this.DurationDailyHive) + `,`,
  1834. `DurationAllHive:` + fmt.Sprintf("%v", this.DurationAllHive) + `,`,
  1835. `ReplyHive:` + fmt.Sprintf("%v", this.ReplyHive) + `,`,
  1836. `ShareDailyHive:` + fmt.Sprintf("%v", this.ShareDailyHive) + `,`,
  1837. `PlayDailyHive:` + fmt.Sprintf("%v", this.PlayDailyHive) + `,`,
  1838. `SubtitlesDailyHive:` + fmt.Sprintf("%v", this.SubtitlesDailyHive) + `,`,
  1839. `LikesDailyHive:` + fmt.Sprintf("%v", this.LikesDailyHive) + `,`,
  1840. `FavDailyHive:` + fmt.Sprintf("%v", this.FavDailyHive) + `,`,
  1841. `ReplyDailyHive:` + fmt.Sprintf("%v", this.ReplyDailyHive) + `,`,
  1842. `AccessHive:` + fmt.Sprintf("%v", this.AccessHive) + `,`,
  1843. `Play:` + fmt.Sprintf("%v", this.Play) + `,`,
  1844. `Subtitles:` + fmt.Sprintf("%v", this.Subtitles) + `,`,
  1845. `Like:` + fmt.Sprintf("%v", this.Like) + `,`,
  1846. `Share:` + fmt.Sprintf("%v", this.Share) + `,`,
  1847. `Report:` + fmt.Sprintf("%v", this.Report) + `,`,
  1848. `SimilarID:` + fmt.Sprintf("%v", this.SimilarID) + `,`,
  1849. `ISFullScreen:` + fmt.Sprintf("%v", this.ISFullScreen) + `,`,
  1850. `}`,
  1851. }, "")
  1852. return s
  1853. }
  1854. func (this *VideoESTags) String() string {
  1855. if this == nil {
  1856. return "nil"
  1857. }
  1858. s := strings.Join([]string{`&VideoESTags{`,
  1859. `ID:` + fmt.Sprintf("%v", this.ID) + `,`,
  1860. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1861. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1862. `}`,
  1863. }, "")
  1864. return s
  1865. }
  1866. func (this *SaveVideoResponse) String() string {
  1867. if this == nil {
  1868. return "nil"
  1869. }
  1870. s := strings.Join([]string{`&SaveVideoResponse{`,
  1871. `}`,
  1872. }, "")
  1873. return s
  1874. }
  1875. func (this *RecVideoInfo) String() string {
  1876. if this == nil {
  1877. return "nil"
  1878. }
  1879. s := strings.Join([]string{`&RecVideoInfo{`,
  1880. `SVID:` + fmt.Sprintf("%v", this.SVID) + `,`,
  1881. `Title:` + fmt.Sprintf("%v", this.Title) + `,`,
  1882. `Content:` + fmt.Sprintf("%v", this.Content) + `,`,
  1883. `MID:` + fmt.Sprintf("%v", this.MID) + `,`,
  1884. `CID:` + fmt.Sprintf("%v", this.CID) + `,`,
  1885. `Pubtime:` + fmt.Sprintf("%v", this.Pubtime) + `,`,
  1886. `Ctime:` + fmt.Sprintf("%v", this.Ctime) + `,`,
  1887. `Mtime:` + fmt.Sprintf("%v", this.Mtime) + `,`,
  1888. `Duration:` + fmt.Sprintf("%v", this.Duration) + `,`,
  1889. `Original:` + fmt.Sprintf("%v", this.Original) + `,`,
  1890. `State:` + fmt.Sprintf("%v", this.State) + `,`,
  1891. `VerID:` + fmt.Sprintf("%v", this.VerID) + `,`,
  1892. `Ver:` + fmt.Sprintf("%v", this.Ver) + `,`,
  1893. `From:` + fmt.Sprintf("%v", this.From) + `,`,
  1894. `AVID:` + fmt.Sprintf("%v", this.AVID) + `,`,
  1895. `Tid:` + fmt.Sprintf("%v", this.Tid) + `,`,
  1896. `SubTid:` + fmt.Sprintf("%v", this.SubTid) + `,`,
  1897. `Score:` + fmt.Sprintf("%v", this.Score) + `,`,
  1898. `RoughScore:` + fmt.Sprintf("%v", this.RoughScore) + `,`,
  1899. `Tags:` + strings.Replace(fmt.Sprintf("%v", this.Tags), "VideoESTags", "VideoESTags", 1) + `,`,
  1900. `PlayHive:` + fmt.Sprintf("%v", this.PlayHive) + `,`,
  1901. `FavHive:` + fmt.Sprintf("%v", this.FavHive) + `,`,
  1902. `CoinHive:` + fmt.Sprintf("%v", this.CoinHive) + `,`,
  1903. `SubtitlesHive:` + fmt.Sprintf("%v", this.SubtitlesHive) + `,`,
  1904. `LikesHive:` + fmt.Sprintf("%v", this.LikesHive) + `,`,
  1905. `ShareHive:` + fmt.Sprintf("%v", this.ShareHive) + `,`,
  1906. `ReportHive:` + fmt.Sprintf("%v", this.ReportHive) + `,`,
  1907. `DurationDailyHive:` + fmt.Sprintf("%v", this.DurationDailyHive) + `,`,
  1908. `DurationAllHive:` + fmt.Sprintf("%v", this.DurationAllHive) + `,`,
  1909. `ReplyHive:` + fmt.Sprintf("%v", this.ReplyHive) + `,`,
  1910. `ShareDailyHive:` + fmt.Sprintf("%v", this.ShareDailyHive) + `,`,
  1911. `PlayDailyHive:` + fmt.Sprintf("%v", this.PlayDailyHive) + `,`,
  1912. `SubtitlesDailyHive:` + fmt.Sprintf("%v", this.SubtitlesDailyHive) + `,`,
  1913. `LikesDailyHive:` + fmt.Sprintf("%v", this.LikesDailyHive) + `,`,
  1914. `FavDailyHive:` + fmt.Sprintf("%v", this.FavDailyHive) + `,`,
  1915. `ReplyDailyHive:` + fmt.Sprintf("%v", this.ReplyDailyHive) + `,`,
  1916. `AccessHive:` + fmt.Sprintf("%v", this.AccessHive) + `,`,
  1917. `Play:` + fmt.Sprintf("%v", this.Play) + `,`,
  1918. `Subtitles:` + fmt.Sprintf("%v", this.Subtitles) + `,`,
  1919. `Like:` + fmt.Sprintf("%v", this.Like) + `,`,
  1920. `Share:` + fmt.Sprintf("%v", this.Share) + `,`,
  1921. `Report:` + fmt.Sprintf("%v", this.Report) + `,`,
  1922. `SimilarID:` + fmt.Sprintf("%v", this.SimilarID) + `,`,
  1923. `ESScore:` + fmt.Sprintf("%v", this.ESScore) + `,`,
  1924. `CustomScore:` + fmt.Sprintf("%v", this.CustomScore) + `,`,
  1925. `ISFullScreen:` + fmt.Sprintf("%v", this.ISFullScreen) + `,`,
  1926. `}`,
  1927. }, "")
  1928. return s
  1929. }
  1930. func (this *RecVideoDataRequest) String() string {
  1931. if this == nil {
  1932. return "nil"
  1933. }
  1934. s := ""
  1935. return s
  1936. }
  1937. func (this *RecVideoDataResponse) String() string {
  1938. if this == nil {
  1939. return "nil"
  1940. }
  1941. s := strings.Join([]string{`&RecVideoDataResponse{`,
  1942. `Total:` + fmt.Sprintf("%v", this.Total) + `,`,
  1943. `List:` + `,`,
  1944. `}`,
  1945. }, "")
  1946. return s
  1947. }
  1948. func (this *VideoDataRequest) String() string {
  1949. if this == nil {
  1950. return "nil"
  1951. }
  1952. s := ""
  1953. return s
  1954. }
  1955. func (this *VideoDataResponse) String() string {
  1956. if this == nil {
  1957. return "nil"
  1958. }
  1959. s := strings.Join([]string{`&VideoDataResponse{`,
  1960. `Total:` + fmt.Sprintf("%v", this.Total) + `,`,
  1961. `List:` + `,`,
  1962. `}`,
  1963. }, "")
  1964. return s
  1965. }
  1966. func (this *ESVideoDataRequest) String() string {
  1967. if this == nil {
  1968. return "nil"
  1969. }
  1970. s := ""
  1971. return s
  1972. }
  1973. func (this *ESVideoDataResponse) String() string {
  1974. if this == nil {
  1975. return "nil"
  1976. }
  1977. s := strings.Join([]string{`&ESVideoDataResponse{`,
  1978. `Total:` + fmt.Sprintf("%v", this.Total) + `,`,
  1979. `List:` + `,`,
  1980. `}`,
  1981. }, "")
  1982. return s
  1983. }
  1984. func (this *DelVideoBySVIDRequest) String() string {
  1985. if this == nil {
  1986. return "nil"
  1987. }
  1988. s := strings.Join([]string{`&DelVideoBySVIDRequest{`,
  1989. `SVIDs:` + fmt.Sprintf("%v", this.SVIDs) + `,`,
  1990. `}`,
  1991. }, "")
  1992. return s
  1993. }
  1994. func (this *DelVideoBySVIDResponse) String() string {
  1995. if this == nil {
  1996. return "nil"
  1997. }
  1998. s := strings.Join([]string{`&DelVideoBySVIDResponse{`,
  1999. `}`,
  2000. }, "")
  2001. return s
  2002. }
  2003. func valueToStringApi(v interface{}) string {
  2004. rv := reflect.ValueOf(v)
  2005. if rv.IsNil() {
  2006. return "nil"
  2007. }
  2008. pv := reflect.Indirect(rv).Interface()
  2009. return fmt.Sprintf("*%v", pv)
  2010. }
  2011. func (m *SaveVideoRequest) Unmarshal(dAtA []byte) error {
  2012. l := len(dAtA)
  2013. iNdEx := 0
  2014. for iNdEx < l {
  2015. preIndex := iNdEx
  2016. var wire uint64
  2017. for shift := uint(0); ; shift += 7 {
  2018. if shift >= 64 {
  2019. return ErrIntOverflowApi
  2020. }
  2021. if iNdEx >= l {
  2022. return io.ErrUnexpectedEOF
  2023. }
  2024. b := dAtA[iNdEx]
  2025. iNdEx++
  2026. wire |= (uint64(b) & 0x7F) << shift
  2027. if b < 0x80 {
  2028. break
  2029. }
  2030. }
  2031. fieldNum := int32(wire >> 3)
  2032. wireType := int(wire & 0x7)
  2033. if wireType == 4 {
  2034. return fmt.Errorf("proto: SaveVideoRequest: wiretype end group for non-group")
  2035. }
  2036. if fieldNum <= 0 {
  2037. return fmt.Errorf("proto: SaveVideoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2038. }
  2039. switch fieldNum {
  2040. case 1:
  2041. if wireType != 2 {
  2042. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  2043. }
  2044. var msglen int
  2045. for shift := uint(0); ; shift += 7 {
  2046. if shift >= 64 {
  2047. return ErrIntOverflowApi
  2048. }
  2049. if iNdEx >= l {
  2050. return io.ErrUnexpectedEOF
  2051. }
  2052. b := dAtA[iNdEx]
  2053. iNdEx++
  2054. msglen |= (int(b) & 0x7F) << shift
  2055. if b < 0x80 {
  2056. break
  2057. }
  2058. }
  2059. if msglen < 0 {
  2060. return ErrInvalidLengthApi
  2061. }
  2062. postIndex := iNdEx + msglen
  2063. if postIndex > l {
  2064. return io.ErrUnexpectedEOF
  2065. }
  2066. m.List = append(m.List, &VideoESInfo{})
  2067. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2068. return err
  2069. }
  2070. iNdEx = postIndex
  2071. default:
  2072. iNdEx = preIndex
  2073. skippy, err := skipApi(dAtA[iNdEx:])
  2074. if err != nil {
  2075. return err
  2076. }
  2077. if skippy < 0 {
  2078. return ErrInvalidLengthApi
  2079. }
  2080. if (iNdEx + skippy) > l {
  2081. return io.ErrUnexpectedEOF
  2082. }
  2083. iNdEx += skippy
  2084. }
  2085. }
  2086. if iNdEx > l {
  2087. return io.ErrUnexpectedEOF
  2088. }
  2089. return nil
  2090. }
  2091. func (m *VideoESInfo) Unmarshal(dAtA []byte) error {
  2092. l := len(dAtA)
  2093. iNdEx := 0
  2094. for iNdEx < l {
  2095. preIndex := iNdEx
  2096. var wire uint64
  2097. for shift := uint(0); ; shift += 7 {
  2098. if shift >= 64 {
  2099. return ErrIntOverflowApi
  2100. }
  2101. if iNdEx >= l {
  2102. return io.ErrUnexpectedEOF
  2103. }
  2104. b := dAtA[iNdEx]
  2105. iNdEx++
  2106. wire |= (uint64(b) & 0x7F) << shift
  2107. if b < 0x80 {
  2108. break
  2109. }
  2110. }
  2111. fieldNum := int32(wire >> 3)
  2112. wireType := int(wire & 0x7)
  2113. if wireType == 4 {
  2114. return fmt.Errorf("proto: VideoESInfo: wiretype end group for non-group")
  2115. }
  2116. if fieldNum <= 0 {
  2117. return fmt.Errorf("proto: VideoESInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  2118. }
  2119. switch fieldNum {
  2120. case 1:
  2121. if wireType != 0 {
  2122. return fmt.Errorf("proto: wrong wireType = %d for field SVID", wireType)
  2123. }
  2124. m.SVID = 0
  2125. for shift := uint(0); ; shift += 7 {
  2126. if shift >= 64 {
  2127. return ErrIntOverflowApi
  2128. }
  2129. if iNdEx >= l {
  2130. return io.ErrUnexpectedEOF
  2131. }
  2132. b := dAtA[iNdEx]
  2133. iNdEx++
  2134. m.SVID |= (int64(b) & 0x7F) << shift
  2135. if b < 0x80 {
  2136. break
  2137. }
  2138. }
  2139. case 2:
  2140. if wireType != 2 {
  2141. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  2142. }
  2143. var stringLen uint64
  2144. for shift := uint(0); ; shift += 7 {
  2145. if shift >= 64 {
  2146. return ErrIntOverflowApi
  2147. }
  2148. if iNdEx >= l {
  2149. return io.ErrUnexpectedEOF
  2150. }
  2151. b := dAtA[iNdEx]
  2152. iNdEx++
  2153. stringLen |= (uint64(b) & 0x7F) << shift
  2154. if b < 0x80 {
  2155. break
  2156. }
  2157. }
  2158. intStringLen := int(stringLen)
  2159. if intStringLen < 0 {
  2160. return ErrInvalidLengthApi
  2161. }
  2162. postIndex := iNdEx + intStringLen
  2163. if postIndex > l {
  2164. return io.ErrUnexpectedEOF
  2165. }
  2166. m.Title = string(dAtA[iNdEx:postIndex])
  2167. iNdEx = postIndex
  2168. case 3:
  2169. if wireType != 2 {
  2170. return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType)
  2171. }
  2172. var stringLen uint64
  2173. for shift := uint(0); ; shift += 7 {
  2174. if shift >= 64 {
  2175. return ErrIntOverflowApi
  2176. }
  2177. if iNdEx >= l {
  2178. return io.ErrUnexpectedEOF
  2179. }
  2180. b := dAtA[iNdEx]
  2181. iNdEx++
  2182. stringLen |= (uint64(b) & 0x7F) << shift
  2183. if b < 0x80 {
  2184. break
  2185. }
  2186. }
  2187. intStringLen := int(stringLen)
  2188. if intStringLen < 0 {
  2189. return ErrInvalidLengthApi
  2190. }
  2191. postIndex := iNdEx + intStringLen
  2192. if postIndex > l {
  2193. return io.ErrUnexpectedEOF
  2194. }
  2195. m.Content = string(dAtA[iNdEx:postIndex])
  2196. iNdEx = postIndex
  2197. case 4:
  2198. if wireType != 0 {
  2199. return fmt.Errorf("proto: wrong wireType = %d for field MID", wireType)
  2200. }
  2201. m.MID = 0
  2202. for shift := uint(0); ; shift += 7 {
  2203. if shift >= 64 {
  2204. return ErrIntOverflowApi
  2205. }
  2206. if iNdEx >= l {
  2207. return io.ErrUnexpectedEOF
  2208. }
  2209. b := dAtA[iNdEx]
  2210. iNdEx++
  2211. m.MID |= (int64(b) & 0x7F) << shift
  2212. if b < 0x80 {
  2213. break
  2214. }
  2215. }
  2216. case 5:
  2217. if wireType != 0 {
  2218. return fmt.Errorf("proto: wrong wireType = %d for field CID", wireType)
  2219. }
  2220. m.CID = 0
  2221. for shift := uint(0); ; shift += 7 {
  2222. if shift >= 64 {
  2223. return ErrIntOverflowApi
  2224. }
  2225. if iNdEx >= l {
  2226. return io.ErrUnexpectedEOF
  2227. }
  2228. b := dAtA[iNdEx]
  2229. iNdEx++
  2230. m.CID |= (int64(b) & 0x7F) << shift
  2231. if b < 0x80 {
  2232. break
  2233. }
  2234. }
  2235. case 6:
  2236. if wireType != 0 {
  2237. return fmt.Errorf("proto: wrong wireType = %d for field Pubtime", wireType)
  2238. }
  2239. m.Pubtime = 0
  2240. for shift := uint(0); ; shift += 7 {
  2241. if shift >= 64 {
  2242. return ErrIntOverflowApi
  2243. }
  2244. if iNdEx >= l {
  2245. return io.ErrUnexpectedEOF
  2246. }
  2247. b := dAtA[iNdEx]
  2248. iNdEx++
  2249. m.Pubtime |= (int64(b) & 0x7F) << shift
  2250. if b < 0x80 {
  2251. break
  2252. }
  2253. }
  2254. case 7:
  2255. if wireType != 0 {
  2256. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  2257. }
  2258. m.Ctime = 0
  2259. for shift := uint(0); ; shift += 7 {
  2260. if shift >= 64 {
  2261. return ErrIntOverflowApi
  2262. }
  2263. if iNdEx >= l {
  2264. return io.ErrUnexpectedEOF
  2265. }
  2266. b := dAtA[iNdEx]
  2267. iNdEx++
  2268. m.Ctime |= (int64(b) & 0x7F) << shift
  2269. if b < 0x80 {
  2270. break
  2271. }
  2272. }
  2273. case 8:
  2274. if wireType != 0 {
  2275. return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
  2276. }
  2277. m.Mtime = 0
  2278. for shift := uint(0); ; shift += 7 {
  2279. if shift >= 64 {
  2280. return ErrIntOverflowApi
  2281. }
  2282. if iNdEx >= l {
  2283. return io.ErrUnexpectedEOF
  2284. }
  2285. b := dAtA[iNdEx]
  2286. iNdEx++
  2287. m.Mtime |= (int64(b) & 0x7F) << shift
  2288. if b < 0x80 {
  2289. break
  2290. }
  2291. }
  2292. case 9:
  2293. if wireType != 0 {
  2294. return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType)
  2295. }
  2296. m.Duration = 0
  2297. for shift := uint(0); ; shift += 7 {
  2298. if shift >= 64 {
  2299. return ErrIntOverflowApi
  2300. }
  2301. if iNdEx >= l {
  2302. return io.ErrUnexpectedEOF
  2303. }
  2304. b := dAtA[iNdEx]
  2305. iNdEx++
  2306. m.Duration |= (int64(b) & 0x7F) << shift
  2307. if b < 0x80 {
  2308. break
  2309. }
  2310. }
  2311. case 10:
  2312. if wireType != 0 {
  2313. return fmt.Errorf("proto: wrong wireType = %d for field Original", wireType)
  2314. }
  2315. m.Original = 0
  2316. for shift := uint(0); ; shift += 7 {
  2317. if shift >= 64 {
  2318. return ErrIntOverflowApi
  2319. }
  2320. if iNdEx >= l {
  2321. return io.ErrUnexpectedEOF
  2322. }
  2323. b := dAtA[iNdEx]
  2324. iNdEx++
  2325. m.Original |= (int64(b) & 0x7F) << shift
  2326. if b < 0x80 {
  2327. break
  2328. }
  2329. }
  2330. case 11:
  2331. if wireType != 0 {
  2332. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  2333. }
  2334. m.State = 0
  2335. for shift := uint(0); ; shift += 7 {
  2336. if shift >= 64 {
  2337. return ErrIntOverflowApi
  2338. }
  2339. if iNdEx >= l {
  2340. return io.ErrUnexpectedEOF
  2341. }
  2342. b := dAtA[iNdEx]
  2343. iNdEx++
  2344. m.State |= (int64(b) & 0x7F) << shift
  2345. if b < 0x80 {
  2346. break
  2347. }
  2348. }
  2349. case 12:
  2350. if wireType != 0 {
  2351. return fmt.Errorf("proto: wrong wireType = %d for field VerID", wireType)
  2352. }
  2353. m.VerID = 0
  2354. for shift := uint(0); ; shift += 7 {
  2355. if shift >= 64 {
  2356. return ErrIntOverflowApi
  2357. }
  2358. if iNdEx >= l {
  2359. return io.ErrUnexpectedEOF
  2360. }
  2361. b := dAtA[iNdEx]
  2362. iNdEx++
  2363. m.VerID |= (int64(b) & 0x7F) << shift
  2364. if b < 0x80 {
  2365. break
  2366. }
  2367. }
  2368. case 13:
  2369. if wireType != 2 {
  2370. return fmt.Errorf("proto: wrong wireType = %d for field Ver", wireType)
  2371. }
  2372. var stringLen uint64
  2373. for shift := uint(0); ; shift += 7 {
  2374. if shift >= 64 {
  2375. return ErrIntOverflowApi
  2376. }
  2377. if iNdEx >= l {
  2378. return io.ErrUnexpectedEOF
  2379. }
  2380. b := dAtA[iNdEx]
  2381. iNdEx++
  2382. stringLen |= (uint64(b) & 0x7F) << shift
  2383. if b < 0x80 {
  2384. break
  2385. }
  2386. }
  2387. intStringLen := int(stringLen)
  2388. if intStringLen < 0 {
  2389. return ErrInvalidLengthApi
  2390. }
  2391. postIndex := iNdEx + intStringLen
  2392. if postIndex > l {
  2393. return io.ErrUnexpectedEOF
  2394. }
  2395. m.Ver = string(dAtA[iNdEx:postIndex])
  2396. iNdEx = postIndex
  2397. case 14:
  2398. if wireType != 0 {
  2399. return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
  2400. }
  2401. m.From = 0
  2402. for shift := uint(0); ; shift += 7 {
  2403. if shift >= 64 {
  2404. return ErrIntOverflowApi
  2405. }
  2406. if iNdEx >= l {
  2407. return io.ErrUnexpectedEOF
  2408. }
  2409. b := dAtA[iNdEx]
  2410. iNdEx++
  2411. m.From |= (int64(b) & 0x7F) << shift
  2412. if b < 0x80 {
  2413. break
  2414. }
  2415. }
  2416. case 15:
  2417. if wireType != 0 {
  2418. return fmt.Errorf("proto: wrong wireType = %d for field AVID", wireType)
  2419. }
  2420. m.AVID = 0
  2421. for shift := uint(0); ; shift += 7 {
  2422. if shift >= 64 {
  2423. return ErrIntOverflowApi
  2424. }
  2425. if iNdEx >= l {
  2426. return io.ErrUnexpectedEOF
  2427. }
  2428. b := dAtA[iNdEx]
  2429. iNdEx++
  2430. m.AVID |= (int64(b) & 0x7F) << shift
  2431. if b < 0x80 {
  2432. break
  2433. }
  2434. }
  2435. case 16:
  2436. if wireType != 0 {
  2437. return fmt.Errorf("proto: wrong wireType = %d for field Tid", wireType)
  2438. }
  2439. m.Tid = 0
  2440. for shift := uint(0); ; shift += 7 {
  2441. if shift >= 64 {
  2442. return ErrIntOverflowApi
  2443. }
  2444. if iNdEx >= l {
  2445. return io.ErrUnexpectedEOF
  2446. }
  2447. b := dAtA[iNdEx]
  2448. iNdEx++
  2449. m.Tid |= (int64(b) & 0x7F) << shift
  2450. if b < 0x80 {
  2451. break
  2452. }
  2453. }
  2454. case 17:
  2455. if wireType != 0 {
  2456. return fmt.Errorf("proto: wrong wireType = %d for field SubTid", wireType)
  2457. }
  2458. m.SubTid = 0
  2459. for shift := uint(0); ; shift += 7 {
  2460. if shift >= 64 {
  2461. return ErrIntOverflowApi
  2462. }
  2463. if iNdEx >= l {
  2464. return io.ErrUnexpectedEOF
  2465. }
  2466. b := dAtA[iNdEx]
  2467. iNdEx++
  2468. m.SubTid |= (int64(b) & 0x7F) << shift
  2469. if b < 0x80 {
  2470. break
  2471. }
  2472. }
  2473. case 18:
  2474. if wireType != 0 {
  2475. return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType)
  2476. }
  2477. m.Score = 0
  2478. for shift := uint(0); ; shift += 7 {
  2479. if shift >= 64 {
  2480. return ErrIntOverflowApi
  2481. }
  2482. if iNdEx >= l {
  2483. return io.ErrUnexpectedEOF
  2484. }
  2485. b := dAtA[iNdEx]
  2486. iNdEx++
  2487. m.Score |= (int64(b) & 0x7F) << shift
  2488. if b < 0x80 {
  2489. break
  2490. }
  2491. }
  2492. case 19:
  2493. if wireType != 0 {
  2494. return fmt.Errorf("proto: wrong wireType = %d for field RoughScore", wireType)
  2495. }
  2496. m.RoughScore = 0
  2497. for shift := uint(0); ; shift += 7 {
  2498. if shift >= 64 {
  2499. return ErrIntOverflowApi
  2500. }
  2501. if iNdEx >= l {
  2502. return io.ErrUnexpectedEOF
  2503. }
  2504. b := dAtA[iNdEx]
  2505. iNdEx++
  2506. m.RoughScore |= (int64(b) & 0x7F) << shift
  2507. if b < 0x80 {
  2508. break
  2509. }
  2510. }
  2511. case 20:
  2512. if wireType != 2 {
  2513. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  2514. }
  2515. var msglen int
  2516. for shift := uint(0); ; shift += 7 {
  2517. if shift >= 64 {
  2518. return ErrIntOverflowApi
  2519. }
  2520. if iNdEx >= l {
  2521. return io.ErrUnexpectedEOF
  2522. }
  2523. b := dAtA[iNdEx]
  2524. iNdEx++
  2525. msglen |= (int(b) & 0x7F) << shift
  2526. if b < 0x80 {
  2527. break
  2528. }
  2529. }
  2530. if msglen < 0 {
  2531. return ErrInvalidLengthApi
  2532. }
  2533. postIndex := iNdEx + msglen
  2534. if postIndex > l {
  2535. return io.ErrUnexpectedEOF
  2536. }
  2537. m.Tags = append(m.Tags, &VideoESTags{})
  2538. if err := m.Tags[len(m.Tags)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2539. return err
  2540. }
  2541. iNdEx = postIndex
  2542. case 21:
  2543. if wireType != 0 {
  2544. return fmt.Errorf("proto: wrong wireType = %d for field PlayHive", wireType)
  2545. }
  2546. m.PlayHive = 0
  2547. for shift := uint(0); ; shift += 7 {
  2548. if shift >= 64 {
  2549. return ErrIntOverflowApi
  2550. }
  2551. if iNdEx >= l {
  2552. return io.ErrUnexpectedEOF
  2553. }
  2554. b := dAtA[iNdEx]
  2555. iNdEx++
  2556. m.PlayHive |= (int64(b) & 0x7F) << shift
  2557. if b < 0x80 {
  2558. break
  2559. }
  2560. }
  2561. case 22:
  2562. if wireType != 0 {
  2563. return fmt.Errorf("proto: wrong wireType = %d for field FavHive", wireType)
  2564. }
  2565. m.FavHive = 0
  2566. for shift := uint(0); ; shift += 7 {
  2567. if shift >= 64 {
  2568. return ErrIntOverflowApi
  2569. }
  2570. if iNdEx >= l {
  2571. return io.ErrUnexpectedEOF
  2572. }
  2573. b := dAtA[iNdEx]
  2574. iNdEx++
  2575. m.FavHive |= (int64(b) & 0x7F) << shift
  2576. if b < 0x80 {
  2577. break
  2578. }
  2579. }
  2580. case 23:
  2581. if wireType != 0 {
  2582. return fmt.Errorf("proto: wrong wireType = %d for field CoinHive", wireType)
  2583. }
  2584. m.CoinHive = 0
  2585. for shift := uint(0); ; shift += 7 {
  2586. if shift >= 64 {
  2587. return ErrIntOverflowApi
  2588. }
  2589. if iNdEx >= l {
  2590. return io.ErrUnexpectedEOF
  2591. }
  2592. b := dAtA[iNdEx]
  2593. iNdEx++
  2594. m.CoinHive |= (int64(b) & 0x7F) << shift
  2595. if b < 0x80 {
  2596. break
  2597. }
  2598. }
  2599. case 24:
  2600. if wireType != 0 {
  2601. return fmt.Errorf("proto: wrong wireType = %d for field SubtitlesHive", wireType)
  2602. }
  2603. m.SubtitlesHive = 0
  2604. for shift := uint(0); ; shift += 7 {
  2605. if shift >= 64 {
  2606. return ErrIntOverflowApi
  2607. }
  2608. if iNdEx >= l {
  2609. return io.ErrUnexpectedEOF
  2610. }
  2611. b := dAtA[iNdEx]
  2612. iNdEx++
  2613. m.SubtitlesHive |= (int64(b) & 0x7F) << shift
  2614. if b < 0x80 {
  2615. break
  2616. }
  2617. }
  2618. case 25:
  2619. if wireType != 0 {
  2620. return fmt.Errorf("proto: wrong wireType = %d for field LikesHive", wireType)
  2621. }
  2622. m.LikesHive = 0
  2623. for shift := uint(0); ; shift += 7 {
  2624. if shift >= 64 {
  2625. return ErrIntOverflowApi
  2626. }
  2627. if iNdEx >= l {
  2628. return io.ErrUnexpectedEOF
  2629. }
  2630. b := dAtA[iNdEx]
  2631. iNdEx++
  2632. m.LikesHive |= (int64(b) & 0x7F) << shift
  2633. if b < 0x80 {
  2634. break
  2635. }
  2636. }
  2637. case 26:
  2638. if wireType != 0 {
  2639. return fmt.Errorf("proto: wrong wireType = %d for field ShareHive", wireType)
  2640. }
  2641. m.ShareHive = 0
  2642. for shift := uint(0); ; shift += 7 {
  2643. if shift >= 64 {
  2644. return ErrIntOverflowApi
  2645. }
  2646. if iNdEx >= l {
  2647. return io.ErrUnexpectedEOF
  2648. }
  2649. b := dAtA[iNdEx]
  2650. iNdEx++
  2651. m.ShareHive |= (int64(b) & 0x7F) << shift
  2652. if b < 0x80 {
  2653. break
  2654. }
  2655. }
  2656. case 27:
  2657. if wireType != 0 {
  2658. return fmt.Errorf("proto: wrong wireType = %d for field ReportHive", wireType)
  2659. }
  2660. m.ReportHive = 0
  2661. for shift := uint(0); ; shift += 7 {
  2662. if shift >= 64 {
  2663. return ErrIntOverflowApi
  2664. }
  2665. if iNdEx >= l {
  2666. return io.ErrUnexpectedEOF
  2667. }
  2668. b := dAtA[iNdEx]
  2669. iNdEx++
  2670. m.ReportHive |= (int64(b) & 0x7F) << shift
  2671. if b < 0x80 {
  2672. break
  2673. }
  2674. }
  2675. case 28:
  2676. if wireType != 0 {
  2677. return fmt.Errorf("proto: wrong wireType = %d for field DurationDailyHive", wireType)
  2678. }
  2679. m.DurationDailyHive = 0
  2680. for shift := uint(0); ; shift += 7 {
  2681. if shift >= 64 {
  2682. return ErrIntOverflowApi
  2683. }
  2684. if iNdEx >= l {
  2685. return io.ErrUnexpectedEOF
  2686. }
  2687. b := dAtA[iNdEx]
  2688. iNdEx++
  2689. m.DurationDailyHive |= (int64(b) & 0x7F) << shift
  2690. if b < 0x80 {
  2691. break
  2692. }
  2693. }
  2694. case 29:
  2695. if wireType != 0 {
  2696. return fmt.Errorf("proto: wrong wireType = %d for field DurationAllHive", wireType)
  2697. }
  2698. m.DurationAllHive = 0
  2699. for shift := uint(0); ; shift += 7 {
  2700. if shift >= 64 {
  2701. return ErrIntOverflowApi
  2702. }
  2703. if iNdEx >= l {
  2704. return io.ErrUnexpectedEOF
  2705. }
  2706. b := dAtA[iNdEx]
  2707. iNdEx++
  2708. m.DurationAllHive |= (int64(b) & 0x7F) << shift
  2709. if b < 0x80 {
  2710. break
  2711. }
  2712. }
  2713. case 30:
  2714. if wireType != 0 {
  2715. return fmt.Errorf("proto: wrong wireType = %d for field ReplyHive", wireType)
  2716. }
  2717. m.ReplyHive = 0
  2718. for shift := uint(0); ; shift += 7 {
  2719. if shift >= 64 {
  2720. return ErrIntOverflowApi
  2721. }
  2722. if iNdEx >= l {
  2723. return io.ErrUnexpectedEOF
  2724. }
  2725. b := dAtA[iNdEx]
  2726. iNdEx++
  2727. m.ReplyHive |= (int64(b) & 0x7F) << shift
  2728. if b < 0x80 {
  2729. break
  2730. }
  2731. }
  2732. case 31:
  2733. if wireType != 0 {
  2734. return fmt.Errorf("proto: wrong wireType = %d for field ShareDailyHive", wireType)
  2735. }
  2736. m.ShareDailyHive = 0
  2737. for shift := uint(0); ; shift += 7 {
  2738. if shift >= 64 {
  2739. return ErrIntOverflowApi
  2740. }
  2741. if iNdEx >= l {
  2742. return io.ErrUnexpectedEOF
  2743. }
  2744. b := dAtA[iNdEx]
  2745. iNdEx++
  2746. m.ShareDailyHive |= (int64(b) & 0x7F) << shift
  2747. if b < 0x80 {
  2748. break
  2749. }
  2750. }
  2751. case 32:
  2752. if wireType != 0 {
  2753. return fmt.Errorf("proto: wrong wireType = %d for field PlayDailyHive", wireType)
  2754. }
  2755. m.PlayDailyHive = 0
  2756. for shift := uint(0); ; shift += 7 {
  2757. if shift >= 64 {
  2758. return ErrIntOverflowApi
  2759. }
  2760. if iNdEx >= l {
  2761. return io.ErrUnexpectedEOF
  2762. }
  2763. b := dAtA[iNdEx]
  2764. iNdEx++
  2765. m.PlayDailyHive |= (int64(b) & 0x7F) << shift
  2766. if b < 0x80 {
  2767. break
  2768. }
  2769. }
  2770. case 33:
  2771. if wireType != 0 {
  2772. return fmt.Errorf("proto: wrong wireType = %d for field SubtitlesDailyHive", wireType)
  2773. }
  2774. m.SubtitlesDailyHive = 0
  2775. for shift := uint(0); ; shift += 7 {
  2776. if shift >= 64 {
  2777. return ErrIntOverflowApi
  2778. }
  2779. if iNdEx >= l {
  2780. return io.ErrUnexpectedEOF
  2781. }
  2782. b := dAtA[iNdEx]
  2783. iNdEx++
  2784. m.SubtitlesDailyHive |= (int64(b) & 0x7F) << shift
  2785. if b < 0x80 {
  2786. break
  2787. }
  2788. }
  2789. case 34:
  2790. if wireType != 0 {
  2791. return fmt.Errorf("proto: wrong wireType = %d for field LikesDailyHive", wireType)
  2792. }
  2793. m.LikesDailyHive = 0
  2794. for shift := uint(0); ; shift += 7 {
  2795. if shift >= 64 {
  2796. return ErrIntOverflowApi
  2797. }
  2798. if iNdEx >= l {
  2799. return io.ErrUnexpectedEOF
  2800. }
  2801. b := dAtA[iNdEx]
  2802. iNdEx++
  2803. m.LikesDailyHive |= (int64(b) & 0x7F) << shift
  2804. if b < 0x80 {
  2805. break
  2806. }
  2807. }
  2808. case 35:
  2809. if wireType != 0 {
  2810. return fmt.Errorf("proto: wrong wireType = %d for field FavDailyHive", wireType)
  2811. }
  2812. m.FavDailyHive = 0
  2813. for shift := uint(0); ; shift += 7 {
  2814. if shift >= 64 {
  2815. return ErrIntOverflowApi
  2816. }
  2817. if iNdEx >= l {
  2818. return io.ErrUnexpectedEOF
  2819. }
  2820. b := dAtA[iNdEx]
  2821. iNdEx++
  2822. m.FavDailyHive |= (int64(b) & 0x7F) << shift
  2823. if b < 0x80 {
  2824. break
  2825. }
  2826. }
  2827. case 36:
  2828. if wireType != 0 {
  2829. return fmt.Errorf("proto: wrong wireType = %d for field ReplyDailyHive", wireType)
  2830. }
  2831. m.ReplyDailyHive = 0
  2832. for shift := uint(0); ; shift += 7 {
  2833. if shift >= 64 {
  2834. return ErrIntOverflowApi
  2835. }
  2836. if iNdEx >= l {
  2837. return io.ErrUnexpectedEOF
  2838. }
  2839. b := dAtA[iNdEx]
  2840. iNdEx++
  2841. m.ReplyDailyHive |= (int64(b) & 0x7F) << shift
  2842. if b < 0x80 {
  2843. break
  2844. }
  2845. }
  2846. case 37:
  2847. if wireType != 0 {
  2848. return fmt.Errorf("proto: wrong wireType = %d for field AccessHive", wireType)
  2849. }
  2850. m.AccessHive = 0
  2851. for shift := uint(0); ; shift += 7 {
  2852. if shift >= 64 {
  2853. return ErrIntOverflowApi
  2854. }
  2855. if iNdEx >= l {
  2856. return io.ErrUnexpectedEOF
  2857. }
  2858. b := dAtA[iNdEx]
  2859. iNdEx++
  2860. m.AccessHive |= (int64(b) & 0x7F) << shift
  2861. if b < 0x80 {
  2862. break
  2863. }
  2864. }
  2865. case 38:
  2866. if wireType != 0 {
  2867. return fmt.Errorf("proto: wrong wireType = %d for field Play", wireType)
  2868. }
  2869. m.Play = 0
  2870. for shift := uint(0); ; shift += 7 {
  2871. if shift >= 64 {
  2872. return ErrIntOverflowApi
  2873. }
  2874. if iNdEx >= l {
  2875. return io.ErrUnexpectedEOF
  2876. }
  2877. b := dAtA[iNdEx]
  2878. iNdEx++
  2879. m.Play |= (int64(b) & 0x7F) << shift
  2880. if b < 0x80 {
  2881. break
  2882. }
  2883. }
  2884. case 39:
  2885. if wireType != 0 {
  2886. return fmt.Errorf("proto: wrong wireType = %d for field Subtitles", wireType)
  2887. }
  2888. m.Subtitles = 0
  2889. for shift := uint(0); ; shift += 7 {
  2890. if shift >= 64 {
  2891. return ErrIntOverflowApi
  2892. }
  2893. if iNdEx >= l {
  2894. return io.ErrUnexpectedEOF
  2895. }
  2896. b := dAtA[iNdEx]
  2897. iNdEx++
  2898. m.Subtitles |= (int64(b) & 0x7F) << shift
  2899. if b < 0x80 {
  2900. break
  2901. }
  2902. }
  2903. case 40:
  2904. if wireType != 0 {
  2905. return fmt.Errorf("proto: wrong wireType = %d for field Like", wireType)
  2906. }
  2907. m.Like = 0
  2908. for shift := uint(0); ; shift += 7 {
  2909. if shift >= 64 {
  2910. return ErrIntOverflowApi
  2911. }
  2912. if iNdEx >= l {
  2913. return io.ErrUnexpectedEOF
  2914. }
  2915. b := dAtA[iNdEx]
  2916. iNdEx++
  2917. m.Like |= (int64(b) & 0x7F) << shift
  2918. if b < 0x80 {
  2919. break
  2920. }
  2921. }
  2922. case 41:
  2923. if wireType != 0 {
  2924. return fmt.Errorf("proto: wrong wireType = %d for field Share", wireType)
  2925. }
  2926. m.Share = 0
  2927. for shift := uint(0); ; shift += 7 {
  2928. if shift >= 64 {
  2929. return ErrIntOverflowApi
  2930. }
  2931. if iNdEx >= l {
  2932. return io.ErrUnexpectedEOF
  2933. }
  2934. b := dAtA[iNdEx]
  2935. iNdEx++
  2936. m.Share |= (int64(b) & 0x7F) << shift
  2937. if b < 0x80 {
  2938. break
  2939. }
  2940. }
  2941. case 42:
  2942. if wireType != 0 {
  2943. return fmt.Errorf("proto: wrong wireType = %d for field Report", wireType)
  2944. }
  2945. m.Report = 0
  2946. for shift := uint(0); ; shift += 7 {
  2947. if shift >= 64 {
  2948. return ErrIntOverflowApi
  2949. }
  2950. if iNdEx >= l {
  2951. return io.ErrUnexpectedEOF
  2952. }
  2953. b := dAtA[iNdEx]
  2954. iNdEx++
  2955. m.Report |= (int64(b) & 0x7F) << shift
  2956. if b < 0x80 {
  2957. break
  2958. }
  2959. }
  2960. case 43:
  2961. if wireType == 0 {
  2962. var v int64
  2963. for shift := uint(0); ; shift += 7 {
  2964. if shift >= 64 {
  2965. return ErrIntOverflowApi
  2966. }
  2967. if iNdEx >= l {
  2968. return io.ErrUnexpectedEOF
  2969. }
  2970. b := dAtA[iNdEx]
  2971. iNdEx++
  2972. v |= (int64(b) & 0x7F) << shift
  2973. if b < 0x80 {
  2974. break
  2975. }
  2976. }
  2977. m.SimilarID = append(m.SimilarID, v)
  2978. } else if wireType == 2 {
  2979. var packedLen int
  2980. for shift := uint(0); ; shift += 7 {
  2981. if shift >= 64 {
  2982. return ErrIntOverflowApi
  2983. }
  2984. if iNdEx >= l {
  2985. return io.ErrUnexpectedEOF
  2986. }
  2987. b := dAtA[iNdEx]
  2988. iNdEx++
  2989. packedLen |= (int(b) & 0x7F) << shift
  2990. if b < 0x80 {
  2991. break
  2992. }
  2993. }
  2994. if packedLen < 0 {
  2995. return ErrInvalidLengthApi
  2996. }
  2997. postIndex := iNdEx + packedLen
  2998. if postIndex > l {
  2999. return io.ErrUnexpectedEOF
  3000. }
  3001. for iNdEx < postIndex {
  3002. var v int64
  3003. for shift := uint(0); ; shift += 7 {
  3004. if shift >= 64 {
  3005. return ErrIntOverflowApi
  3006. }
  3007. if iNdEx >= l {
  3008. return io.ErrUnexpectedEOF
  3009. }
  3010. b := dAtA[iNdEx]
  3011. iNdEx++
  3012. v |= (int64(b) & 0x7F) << shift
  3013. if b < 0x80 {
  3014. break
  3015. }
  3016. }
  3017. m.SimilarID = append(m.SimilarID, v)
  3018. }
  3019. } else {
  3020. return fmt.Errorf("proto: wrong wireType = %d for field SimilarID", wireType)
  3021. }
  3022. case 44:
  3023. if wireType != 0 {
  3024. return fmt.Errorf("proto: wrong wireType = %d for field ISFullScreen", wireType)
  3025. }
  3026. m.ISFullScreen = 0
  3027. for shift := uint(0); ; shift += 7 {
  3028. if shift >= 64 {
  3029. return ErrIntOverflowApi
  3030. }
  3031. if iNdEx >= l {
  3032. return io.ErrUnexpectedEOF
  3033. }
  3034. b := dAtA[iNdEx]
  3035. iNdEx++
  3036. m.ISFullScreen |= (int64(b) & 0x7F) << shift
  3037. if b < 0x80 {
  3038. break
  3039. }
  3040. }
  3041. default:
  3042. iNdEx = preIndex
  3043. skippy, err := skipApi(dAtA[iNdEx:])
  3044. if err != nil {
  3045. return err
  3046. }
  3047. if skippy < 0 {
  3048. return ErrInvalidLengthApi
  3049. }
  3050. if (iNdEx + skippy) > l {
  3051. return io.ErrUnexpectedEOF
  3052. }
  3053. iNdEx += skippy
  3054. }
  3055. }
  3056. if iNdEx > l {
  3057. return io.ErrUnexpectedEOF
  3058. }
  3059. return nil
  3060. }
  3061. func (m *VideoESTags) Unmarshal(dAtA []byte) error {
  3062. l := len(dAtA)
  3063. iNdEx := 0
  3064. for iNdEx < l {
  3065. preIndex := iNdEx
  3066. var wire uint64
  3067. for shift := uint(0); ; shift += 7 {
  3068. if shift >= 64 {
  3069. return ErrIntOverflowApi
  3070. }
  3071. if iNdEx >= l {
  3072. return io.ErrUnexpectedEOF
  3073. }
  3074. b := dAtA[iNdEx]
  3075. iNdEx++
  3076. wire |= (uint64(b) & 0x7F) << shift
  3077. if b < 0x80 {
  3078. break
  3079. }
  3080. }
  3081. fieldNum := int32(wire >> 3)
  3082. wireType := int(wire & 0x7)
  3083. if wireType == 4 {
  3084. return fmt.Errorf("proto: VideoESTags: wiretype end group for non-group")
  3085. }
  3086. if fieldNum <= 0 {
  3087. return fmt.Errorf("proto: VideoESTags: illegal tag %d (wire type %d)", fieldNum, wire)
  3088. }
  3089. switch fieldNum {
  3090. case 1:
  3091. if wireType != 0 {
  3092. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  3093. }
  3094. m.ID = 0
  3095. for shift := uint(0); ; shift += 7 {
  3096. if shift >= 64 {
  3097. return ErrIntOverflowApi
  3098. }
  3099. if iNdEx >= l {
  3100. return io.ErrUnexpectedEOF
  3101. }
  3102. b := dAtA[iNdEx]
  3103. iNdEx++
  3104. m.ID |= (int64(b) & 0x7F) << shift
  3105. if b < 0x80 {
  3106. break
  3107. }
  3108. }
  3109. case 2:
  3110. if wireType != 2 {
  3111. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  3112. }
  3113. var stringLen uint64
  3114. for shift := uint(0); ; shift += 7 {
  3115. if shift >= 64 {
  3116. return ErrIntOverflowApi
  3117. }
  3118. if iNdEx >= l {
  3119. return io.ErrUnexpectedEOF
  3120. }
  3121. b := dAtA[iNdEx]
  3122. iNdEx++
  3123. stringLen |= (uint64(b) & 0x7F) << shift
  3124. if b < 0x80 {
  3125. break
  3126. }
  3127. }
  3128. intStringLen := int(stringLen)
  3129. if intStringLen < 0 {
  3130. return ErrInvalidLengthApi
  3131. }
  3132. postIndex := iNdEx + intStringLen
  3133. if postIndex > l {
  3134. return io.ErrUnexpectedEOF
  3135. }
  3136. m.Name = string(dAtA[iNdEx:postIndex])
  3137. iNdEx = postIndex
  3138. case 3:
  3139. if wireType != 0 {
  3140. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3141. }
  3142. m.Type = 0
  3143. for shift := uint(0); ; shift += 7 {
  3144. if shift >= 64 {
  3145. return ErrIntOverflowApi
  3146. }
  3147. if iNdEx >= l {
  3148. return io.ErrUnexpectedEOF
  3149. }
  3150. b := dAtA[iNdEx]
  3151. iNdEx++
  3152. m.Type |= (int64(b) & 0x7F) << shift
  3153. if b < 0x80 {
  3154. break
  3155. }
  3156. }
  3157. default:
  3158. iNdEx = preIndex
  3159. skippy, err := skipApi(dAtA[iNdEx:])
  3160. if err != nil {
  3161. return err
  3162. }
  3163. if skippy < 0 {
  3164. return ErrInvalidLengthApi
  3165. }
  3166. if (iNdEx + skippy) > l {
  3167. return io.ErrUnexpectedEOF
  3168. }
  3169. iNdEx += skippy
  3170. }
  3171. }
  3172. if iNdEx > l {
  3173. return io.ErrUnexpectedEOF
  3174. }
  3175. return nil
  3176. }
  3177. func (m *SaveVideoResponse) Unmarshal(dAtA []byte) error {
  3178. l := len(dAtA)
  3179. iNdEx := 0
  3180. for iNdEx < l {
  3181. preIndex := iNdEx
  3182. var wire uint64
  3183. for shift := uint(0); ; shift += 7 {
  3184. if shift >= 64 {
  3185. return ErrIntOverflowApi
  3186. }
  3187. if iNdEx >= l {
  3188. return io.ErrUnexpectedEOF
  3189. }
  3190. b := dAtA[iNdEx]
  3191. iNdEx++
  3192. wire |= (uint64(b) & 0x7F) << shift
  3193. if b < 0x80 {
  3194. break
  3195. }
  3196. }
  3197. fieldNum := int32(wire >> 3)
  3198. wireType := int(wire & 0x7)
  3199. if wireType == 4 {
  3200. return fmt.Errorf("proto: SaveVideoResponse: wiretype end group for non-group")
  3201. }
  3202. if fieldNum <= 0 {
  3203. return fmt.Errorf("proto: SaveVideoResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  3204. }
  3205. switch fieldNum {
  3206. default:
  3207. iNdEx = preIndex
  3208. skippy, err := skipApi(dAtA[iNdEx:])
  3209. if err != nil {
  3210. return err
  3211. }
  3212. if skippy < 0 {
  3213. return ErrInvalidLengthApi
  3214. }
  3215. if (iNdEx + skippy) > l {
  3216. return io.ErrUnexpectedEOF
  3217. }
  3218. iNdEx += skippy
  3219. }
  3220. }
  3221. if iNdEx > l {
  3222. return io.ErrUnexpectedEOF
  3223. }
  3224. return nil
  3225. }
  3226. func (m *RecVideoInfo) Unmarshal(dAtA []byte) error {
  3227. l := len(dAtA)
  3228. iNdEx := 0
  3229. for iNdEx < l {
  3230. preIndex := iNdEx
  3231. var wire uint64
  3232. for shift := uint(0); ; shift += 7 {
  3233. if shift >= 64 {
  3234. return ErrIntOverflowApi
  3235. }
  3236. if iNdEx >= l {
  3237. return io.ErrUnexpectedEOF
  3238. }
  3239. b := dAtA[iNdEx]
  3240. iNdEx++
  3241. wire |= (uint64(b) & 0x7F) << shift
  3242. if b < 0x80 {
  3243. break
  3244. }
  3245. }
  3246. fieldNum := int32(wire >> 3)
  3247. wireType := int(wire & 0x7)
  3248. if wireType == 4 {
  3249. return fmt.Errorf("proto: RecVideoInfo: wiretype end group for non-group")
  3250. }
  3251. if fieldNum <= 0 {
  3252. return fmt.Errorf("proto: RecVideoInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  3253. }
  3254. switch fieldNum {
  3255. case 1:
  3256. if wireType != 0 {
  3257. return fmt.Errorf("proto: wrong wireType = %d for field SVID", wireType)
  3258. }
  3259. m.SVID = 0
  3260. for shift := uint(0); ; shift += 7 {
  3261. if shift >= 64 {
  3262. return ErrIntOverflowApi
  3263. }
  3264. if iNdEx >= l {
  3265. return io.ErrUnexpectedEOF
  3266. }
  3267. b := dAtA[iNdEx]
  3268. iNdEx++
  3269. m.SVID |= (int64(b) & 0x7F) << shift
  3270. if b < 0x80 {
  3271. break
  3272. }
  3273. }
  3274. case 2:
  3275. if wireType != 2 {
  3276. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  3277. }
  3278. var stringLen uint64
  3279. for shift := uint(0); ; shift += 7 {
  3280. if shift >= 64 {
  3281. return ErrIntOverflowApi
  3282. }
  3283. if iNdEx >= l {
  3284. return io.ErrUnexpectedEOF
  3285. }
  3286. b := dAtA[iNdEx]
  3287. iNdEx++
  3288. stringLen |= (uint64(b) & 0x7F) << shift
  3289. if b < 0x80 {
  3290. break
  3291. }
  3292. }
  3293. intStringLen := int(stringLen)
  3294. if intStringLen < 0 {
  3295. return ErrInvalidLengthApi
  3296. }
  3297. postIndex := iNdEx + intStringLen
  3298. if postIndex > l {
  3299. return io.ErrUnexpectedEOF
  3300. }
  3301. m.Title = string(dAtA[iNdEx:postIndex])
  3302. iNdEx = postIndex
  3303. case 3:
  3304. if wireType != 2 {
  3305. return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType)
  3306. }
  3307. var stringLen uint64
  3308. for shift := uint(0); ; shift += 7 {
  3309. if shift >= 64 {
  3310. return ErrIntOverflowApi
  3311. }
  3312. if iNdEx >= l {
  3313. return io.ErrUnexpectedEOF
  3314. }
  3315. b := dAtA[iNdEx]
  3316. iNdEx++
  3317. stringLen |= (uint64(b) & 0x7F) << shift
  3318. if b < 0x80 {
  3319. break
  3320. }
  3321. }
  3322. intStringLen := int(stringLen)
  3323. if intStringLen < 0 {
  3324. return ErrInvalidLengthApi
  3325. }
  3326. postIndex := iNdEx + intStringLen
  3327. if postIndex > l {
  3328. return io.ErrUnexpectedEOF
  3329. }
  3330. m.Content = string(dAtA[iNdEx:postIndex])
  3331. iNdEx = postIndex
  3332. case 4:
  3333. if wireType != 0 {
  3334. return fmt.Errorf("proto: wrong wireType = %d for field MID", wireType)
  3335. }
  3336. m.MID = 0
  3337. for shift := uint(0); ; shift += 7 {
  3338. if shift >= 64 {
  3339. return ErrIntOverflowApi
  3340. }
  3341. if iNdEx >= l {
  3342. return io.ErrUnexpectedEOF
  3343. }
  3344. b := dAtA[iNdEx]
  3345. iNdEx++
  3346. m.MID |= (int64(b) & 0x7F) << shift
  3347. if b < 0x80 {
  3348. break
  3349. }
  3350. }
  3351. case 5:
  3352. if wireType != 0 {
  3353. return fmt.Errorf("proto: wrong wireType = %d for field CID", wireType)
  3354. }
  3355. m.CID = 0
  3356. for shift := uint(0); ; shift += 7 {
  3357. if shift >= 64 {
  3358. return ErrIntOverflowApi
  3359. }
  3360. if iNdEx >= l {
  3361. return io.ErrUnexpectedEOF
  3362. }
  3363. b := dAtA[iNdEx]
  3364. iNdEx++
  3365. m.CID |= (int64(b) & 0x7F) << shift
  3366. if b < 0x80 {
  3367. break
  3368. }
  3369. }
  3370. case 6:
  3371. if wireType != 0 {
  3372. return fmt.Errorf("proto: wrong wireType = %d for field Pubtime", wireType)
  3373. }
  3374. m.Pubtime = 0
  3375. for shift := uint(0); ; shift += 7 {
  3376. if shift >= 64 {
  3377. return ErrIntOverflowApi
  3378. }
  3379. if iNdEx >= l {
  3380. return io.ErrUnexpectedEOF
  3381. }
  3382. b := dAtA[iNdEx]
  3383. iNdEx++
  3384. m.Pubtime |= (int64(b) & 0x7F) << shift
  3385. if b < 0x80 {
  3386. break
  3387. }
  3388. }
  3389. case 7:
  3390. if wireType != 0 {
  3391. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  3392. }
  3393. m.Ctime = 0
  3394. for shift := uint(0); ; shift += 7 {
  3395. if shift >= 64 {
  3396. return ErrIntOverflowApi
  3397. }
  3398. if iNdEx >= l {
  3399. return io.ErrUnexpectedEOF
  3400. }
  3401. b := dAtA[iNdEx]
  3402. iNdEx++
  3403. m.Ctime |= (int64(b) & 0x7F) << shift
  3404. if b < 0x80 {
  3405. break
  3406. }
  3407. }
  3408. case 8:
  3409. if wireType != 0 {
  3410. return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
  3411. }
  3412. m.Mtime = 0
  3413. for shift := uint(0); ; shift += 7 {
  3414. if shift >= 64 {
  3415. return ErrIntOverflowApi
  3416. }
  3417. if iNdEx >= l {
  3418. return io.ErrUnexpectedEOF
  3419. }
  3420. b := dAtA[iNdEx]
  3421. iNdEx++
  3422. m.Mtime |= (int64(b) & 0x7F) << shift
  3423. if b < 0x80 {
  3424. break
  3425. }
  3426. }
  3427. case 9:
  3428. if wireType != 0 {
  3429. return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType)
  3430. }
  3431. m.Duration = 0
  3432. for shift := uint(0); ; shift += 7 {
  3433. if shift >= 64 {
  3434. return ErrIntOverflowApi
  3435. }
  3436. if iNdEx >= l {
  3437. return io.ErrUnexpectedEOF
  3438. }
  3439. b := dAtA[iNdEx]
  3440. iNdEx++
  3441. m.Duration |= (int64(b) & 0x7F) << shift
  3442. if b < 0x80 {
  3443. break
  3444. }
  3445. }
  3446. case 10:
  3447. if wireType != 0 {
  3448. return fmt.Errorf("proto: wrong wireType = %d for field Original", wireType)
  3449. }
  3450. m.Original = 0
  3451. for shift := uint(0); ; shift += 7 {
  3452. if shift >= 64 {
  3453. return ErrIntOverflowApi
  3454. }
  3455. if iNdEx >= l {
  3456. return io.ErrUnexpectedEOF
  3457. }
  3458. b := dAtA[iNdEx]
  3459. iNdEx++
  3460. m.Original |= (int64(b) & 0x7F) << shift
  3461. if b < 0x80 {
  3462. break
  3463. }
  3464. }
  3465. case 11:
  3466. if wireType != 0 {
  3467. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  3468. }
  3469. m.State = 0
  3470. for shift := uint(0); ; shift += 7 {
  3471. if shift >= 64 {
  3472. return ErrIntOverflowApi
  3473. }
  3474. if iNdEx >= l {
  3475. return io.ErrUnexpectedEOF
  3476. }
  3477. b := dAtA[iNdEx]
  3478. iNdEx++
  3479. m.State |= (int64(b) & 0x7F) << shift
  3480. if b < 0x80 {
  3481. break
  3482. }
  3483. }
  3484. case 12:
  3485. if wireType != 0 {
  3486. return fmt.Errorf("proto: wrong wireType = %d for field VerID", wireType)
  3487. }
  3488. m.VerID = 0
  3489. for shift := uint(0); ; shift += 7 {
  3490. if shift >= 64 {
  3491. return ErrIntOverflowApi
  3492. }
  3493. if iNdEx >= l {
  3494. return io.ErrUnexpectedEOF
  3495. }
  3496. b := dAtA[iNdEx]
  3497. iNdEx++
  3498. m.VerID |= (int64(b) & 0x7F) << shift
  3499. if b < 0x80 {
  3500. break
  3501. }
  3502. }
  3503. case 13:
  3504. if wireType != 2 {
  3505. return fmt.Errorf("proto: wrong wireType = %d for field Ver", wireType)
  3506. }
  3507. var stringLen uint64
  3508. for shift := uint(0); ; shift += 7 {
  3509. if shift >= 64 {
  3510. return ErrIntOverflowApi
  3511. }
  3512. if iNdEx >= l {
  3513. return io.ErrUnexpectedEOF
  3514. }
  3515. b := dAtA[iNdEx]
  3516. iNdEx++
  3517. stringLen |= (uint64(b) & 0x7F) << shift
  3518. if b < 0x80 {
  3519. break
  3520. }
  3521. }
  3522. intStringLen := int(stringLen)
  3523. if intStringLen < 0 {
  3524. return ErrInvalidLengthApi
  3525. }
  3526. postIndex := iNdEx + intStringLen
  3527. if postIndex > l {
  3528. return io.ErrUnexpectedEOF
  3529. }
  3530. m.Ver = string(dAtA[iNdEx:postIndex])
  3531. iNdEx = postIndex
  3532. case 14:
  3533. if wireType != 0 {
  3534. return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
  3535. }
  3536. m.From = 0
  3537. for shift := uint(0); ; shift += 7 {
  3538. if shift >= 64 {
  3539. return ErrIntOverflowApi
  3540. }
  3541. if iNdEx >= l {
  3542. return io.ErrUnexpectedEOF
  3543. }
  3544. b := dAtA[iNdEx]
  3545. iNdEx++
  3546. m.From |= (int64(b) & 0x7F) << shift
  3547. if b < 0x80 {
  3548. break
  3549. }
  3550. }
  3551. case 15:
  3552. if wireType != 0 {
  3553. return fmt.Errorf("proto: wrong wireType = %d for field AVID", wireType)
  3554. }
  3555. m.AVID = 0
  3556. for shift := uint(0); ; shift += 7 {
  3557. if shift >= 64 {
  3558. return ErrIntOverflowApi
  3559. }
  3560. if iNdEx >= l {
  3561. return io.ErrUnexpectedEOF
  3562. }
  3563. b := dAtA[iNdEx]
  3564. iNdEx++
  3565. m.AVID |= (int64(b) & 0x7F) << shift
  3566. if b < 0x80 {
  3567. break
  3568. }
  3569. }
  3570. case 16:
  3571. if wireType != 0 {
  3572. return fmt.Errorf("proto: wrong wireType = %d for field Tid", wireType)
  3573. }
  3574. m.Tid = 0
  3575. for shift := uint(0); ; shift += 7 {
  3576. if shift >= 64 {
  3577. return ErrIntOverflowApi
  3578. }
  3579. if iNdEx >= l {
  3580. return io.ErrUnexpectedEOF
  3581. }
  3582. b := dAtA[iNdEx]
  3583. iNdEx++
  3584. m.Tid |= (int64(b) & 0x7F) << shift
  3585. if b < 0x80 {
  3586. break
  3587. }
  3588. }
  3589. case 17:
  3590. if wireType != 0 {
  3591. return fmt.Errorf("proto: wrong wireType = %d for field SubTid", wireType)
  3592. }
  3593. m.SubTid = 0
  3594. for shift := uint(0); ; shift += 7 {
  3595. if shift >= 64 {
  3596. return ErrIntOverflowApi
  3597. }
  3598. if iNdEx >= l {
  3599. return io.ErrUnexpectedEOF
  3600. }
  3601. b := dAtA[iNdEx]
  3602. iNdEx++
  3603. m.SubTid |= (int64(b) & 0x7F) << shift
  3604. if b < 0x80 {
  3605. break
  3606. }
  3607. }
  3608. case 18:
  3609. if wireType != 0 {
  3610. return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType)
  3611. }
  3612. m.Score = 0
  3613. for shift := uint(0); ; shift += 7 {
  3614. if shift >= 64 {
  3615. return ErrIntOverflowApi
  3616. }
  3617. if iNdEx >= l {
  3618. return io.ErrUnexpectedEOF
  3619. }
  3620. b := dAtA[iNdEx]
  3621. iNdEx++
  3622. m.Score |= (int64(b) & 0x7F) << shift
  3623. if b < 0x80 {
  3624. break
  3625. }
  3626. }
  3627. case 19:
  3628. if wireType != 0 {
  3629. return fmt.Errorf("proto: wrong wireType = %d for field RoughScore", wireType)
  3630. }
  3631. m.RoughScore = 0
  3632. for shift := uint(0); ; shift += 7 {
  3633. if shift >= 64 {
  3634. return ErrIntOverflowApi
  3635. }
  3636. if iNdEx >= l {
  3637. return io.ErrUnexpectedEOF
  3638. }
  3639. b := dAtA[iNdEx]
  3640. iNdEx++
  3641. m.RoughScore |= (int64(b) & 0x7F) << shift
  3642. if b < 0x80 {
  3643. break
  3644. }
  3645. }
  3646. case 20:
  3647. if wireType != 2 {
  3648. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  3649. }
  3650. var msglen int
  3651. for shift := uint(0); ; shift += 7 {
  3652. if shift >= 64 {
  3653. return ErrIntOverflowApi
  3654. }
  3655. if iNdEx >= l {
  3656. return io.ErrUnexpectedEOF
  3657. }
  3658. b := dAtA[iNdEx]
  3659. iNdEx++
  3660. msglen |= (int(b) & 0x7F) << shift
  3661. if b < 0x80 {
  3662. break
  3663. }
  3664. }
  3665. if msglen < 0 {
  3666. return ErrInvalidLengthApi
  3667. }
  3668. postIndex := iNdEx + msglen
  3669. if postIndex > l {
  3670. return io.ErrUnexpectedEOF
  3671. }
  3672. m.Tags = append(m.Tags, &VideoESTags{})
  3673. if err := m.Tags[len(m.Tags)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3674. return err
  3675. }
  3676. iNdEx = postIndex
  3677. case 21:
  3678. if wireType != 0 {
  3679. return fmt.Errorf("proto: wrong wireType = %d for field PlayHive", wireType)
  3680. }
  3681. m.PlayHive = 0
  3682. for shift := uint(0); ; shift += 7 {
  3683. if shift >= 64 {
  3684. return ErrIntOverflowApi
  3685. }
  3686. if iNdEx >= l {
  3687. return io.ErrUnexpectedEOF
  3688. }
  3689. b := dAtA[iNdEx]
  3690. iNdEx++
  3691. m.PlayHive |= (int64(b) & 0x7F) << shift
  3692. if b < 0x80 {
  3693. break
  3694. }
  3695. }
  3696. case 22:
  3697. if wireType != 0 {
  3698. return fmt.Errorf("proto: wrong wireType = %d for field FavHive", wireType)
  3699. }
  3700. m.FavHive = 0
  3701. for shift := uint(0); ; shift += 7 {
  3702. if shift >= 64 {
  3703. return ErrIntOverflowApi
  3704. }
  3705. if iNdEx >= l {
  3706. return io.ErrUnexpectedEOF
  3707. }
  3708. b := dAtA[iNdEx]
  3709. iNdEx++
  3710. m.FavHive |= (int64(b) & 0x7F) << shift
  3711. if b < 0x80 {
  3712. break
  3713. }
  3714. }
  3715. case 23:
  3716. if wireType != 0 {
  3717. return fmt.Errorf("proto: wrong wireType = %d for field CoinHive", wireType)
  3718. }
  3719. m.CoinHive = 0
  3720. for shift := uint(0); ; shift += 7 {
  3721. if shift >= 64 {
  3722. return ErrIntOverflowApi
  3723. }
  3724. if iNdEx >= l {
  3725. return io.ErrUnexpectedEOF
  3726. }
  3727. b := dAtA[iNdEx]
  3728. iNdEx++
  3729. m.CoinHive |= (int64(b) & 0x7F) << shift
  3730. if b < 0x80 {
  3731. break
  3732. }
  3733. }
  3734. case 24:
  3735. if wireType != 0 {
  3736. return fmt.Errorf("proto: wrong wireType = %d for field SubtitlesHive", wireType)
  3737. }
  3738. m.SubtitlesHive = 0
  3739. for shift := uint(0); ; shift += 7 {
  3740. if shift >= 64 {
  3741. return ErrIntOverflowApi
  3742. }
  3743. if iNdEx >= l {
  3744. return io.ErrUnexpectedEOF
  3745. }
  3746. b := dAtA[iNdEx]
  3747. iNdEx++
  3748. m.SubtitlesHive |= (int64(b) & 0x7F) << shift
  3749. if b < 0x80 {
  3750. break
  3751. }
  3752. }
  3753. case 25:
  3754. if wireType != 0 {
  3755. return fmt.Errorf("proto: wrong wireType = %d for field LikesHive", wireType)
  3756. }
  3757. m.LikesHive = 0
  3758. for shift := uint(0); ; shift += 7 {
  3759. if shift >= 64 {
  3760. return ErrIntOverflowApi
  3761. }
  3762. if iNdEx >= l {
  3763. return io.ErrUnexpectedEOF
  3764. }
  3765. b := dAtA[iNdEx]
  3766. iNdEx++
  3767. m.LikesHive |= (int64(b) & 0x7F) << shift
  3768. if b < 0x80 {
  3769. break
  3770. }
  3771. }
  3772. case 26:
  3773. if wireType != 0 {
  3774. return fmt.Errorf("proto: wrong wireType = %d for field ShareHive", wireType)
  3775. }
  3776. m.ShareHive = 0
  3777. for shift := uint(0); ; shift += 7 {
  3778. if shift >= 64 {
  3779. return ErrIntOverflowApi
  3780. }
  3781. if iNdEx >= l {
  3782. return io.ErrUnexpectedEOF
  3783. }
  3784. b := dAtA[iNdEx]
  3785. iNdEx++
  3786. m.ShareHive |= (int64(b) & 0x7F) << shift
  3787. if b < 0x80 {
  3788. break
  3789. }
  3790. }
  3791. case 27:
  3792. if wireType != 0 {
  3793. return fmt.Errorf("proto: wrong wireType = %d for field ReportHive", wireType)
  3794. }
  3795. m.ReportHive = 0
  3796. for shift := uint(0); ; shift += 7 {
  3797. if shift >= 64 {
  3798. return ErrIntOverflowApi
  3799. }
  3800. if iNdEx >= l {
  3801. return io.ErrUnexpectedEOF
  3802. }
  3803. b := dAtA[iNdEx]
  3804. iNdEx++
  3805. m.ReportHive |= (int64(b) & 0x7F) << shift
  3806. if b < 0x80 {
  3807. break
  3808. }
  3809. }
  3810. case 28:
  3811. if wireType != 0 {
  3812. return fmt.Errorf("proto: wrong wireType = %d for field DurationDailyHive", wireType)
  3813. }
  3814. m.DurationDailyHive = 0
  3815. for shift := uint(0); ; shift += 7 {
  3816. if shift >= 64 {
  3817. return ErrIntOverflowApi
  3818. }
  3819. if iNdEx >= l {
  3820. return io.ErrUnexpectedEOF
  3821. }
  3822. b := dAtA[iNdEx]
  3823. iNdEx++
  3824. m.DurationDailyHive |= (int64(b) & 0x7F) << shift
  3825. if b < 0x80 {
  3826. break
  3827. }
  3828. }
  3829. case 29:
  3830. if wireType != 0 {
  3831. return fmt.Errorf("proto: wrong wireType = %d for field DurationAllHive", wireType)
  3832. }
  3833. m.DurationAllHive = 0
  3834. for shift := uint(0); ; shift += 7 {
  3835. if shift >= 64 {
  3836. return ErrIntOverflowApi
  3837. }
  3838. if iNdEx >= l {
  3839. return io.ErrUnexpectedEOF
  3840. }
  3841. b := dAtA[iNdEx]
  3842. iNdEx++
  3843. m.DurationAllHive |= (int64(b) & 0x7F) << shift
  3844. if b < 0x80 {
  3845. break
  3846. }
  3847. }
  3848. case 30:
  3849. if wireType != 0 {
  3850. return fmt.Errorf("proto: wrong wireType = %d for field ReplyHive", wireType)
  3851. }
  3852. m.ReplyHive = 0
  3853. for shift := uint(0); ; shift += 7 {
  3854. if shift >= 64 {
  3855. return ErrIntOverflowApi
  3856. }
  3857. if iNdEx >= l {
  3858. return io.ErrUnexpectedEOF
  3859. }
  3860. b := dAtA[iNdEx]
  3861. iNdEx++
  3862. m.ReplyHive |= (int64(b) & 0x7F) << shift
  3863. if b < 0x80 {
  3864. break
  3865. }
  3866. }
  3867. case 31:
  3868. if wireType != 0 {
  3869. return fmt.Errorf("proto: wrong wireType = %d for field ShareDailyHive", wireType)
  3870. }
  3871. m.ShareDailyHive = 0
  3872. for shift := uint(0); ; shift += 7 {
  3873. if shift >= 64 {
  3874. return ErrIntOverflowApi
  3875. }
  3876. if iNdEx >= l {
  3877. return io.ErrUnexpectedEOF
  3878. }
  3879. b := dAtA[iNdEx]
  3880. iNdEx++
  3881. m.ShareDailyHive |= (int64(b) & 0x7F) << shift
  3882. if b < 0x80 {
  3883. break
  3884. }
  3885. }
  3886. case 32:
  3887. if wireType != 0 {
  3888. return fmt.Errorf("proto: wrong wireType = %d for field PlayDailyHive", wireType)
  3889. }
  3890. m.PlayDailyHive = 0
  3891. for shift := uint(0); ; shift += 7 {
  3892. if shift >= 64 {
  3893. return ErrIntOverflowApi
  3894. }
  3895. if iNdEx >= l {
  3896. return io.ErrUnexpectedEOF
  3897. }
  3898. b := dAtA[iNdEx]
  3899. iNdEx++
  3900. m.PlayDailyHive |= (int64(b) & 0x7F) << shift
  3901. if b < 0x80 {
  3902. break
  3903. }
  3904. }
  3905. case 33:
  3906. if wireType != 0 {
  3907. return fmt.Errorf("proto: wrong wireType = %d for field SubtitlesDailyHive", wireType)
  3908. }
  3909. m.SubtitlesDailyHive = 0
  3910. for shift := uint(0); ; shift += 7 {
  3911. if shift >= 64 {
  3912. return ErrIntOverflowApi
  3913. }
  3914. if iNdEx >= l {
  3915. return io.ErrUnexpectedEOF
  3916. }
  3917. b := dAtA[iNdEx]
  3918. iNdEx++
  3919. m.SubtitlesDailyHive |= (int64(b) & 0x7F) << shift
  3920. if b < 0x80 {
  3921. break
  3922. }
  3923. }
  3924. case 34:
  3925. if wireType != 0 {
  3926. return fmt.Errorf("proto: wrong wireType = %d for field LikesDailyHive", wireType)
  3927. }
  3928. m.LikesDailyHive = 0
  3929. for shift := uint(0); ; shift += 7 {
  3930. if shift >= 64 {
  3931. return ErrIntOverflowApi
  3932. }
  3933. if iNdEx >= l {
  3934. return io.ErrUnexpectedEOF
  3935. }
  3936. b := dAtA[iNdEx]
  3937. iNdEx++
  3938. m.LikesDailyHive |= (int64(b) & 0x7F) << shift
  3939. if b < 0x80 {
  3940. break
  3941. }
  3942. }
  3943. case 35:
  3944. if wireType != 0 {
  3945. return fmt.Errorf("proto: wrong wireType = %d for field FavDailyHive", wireType)
  3946. }
  3947. m.FavDailyHive = 0
  3948. for shift := uint(0); ; shift += 7 {
  3949. if shift >= 64 {
  3950. return ErrIntOverflowApi
  3951. }
  3952. if iNdEx >= l {
  3953. return io.ErrUnexpectedEOF
  3954. }
  3955. b := dAtA[iNdEx]
  3956. iNdEx++
  3957. m.FavDailyHive |= (int64(b) & 0x7F) << shift
  3958. if b < 0x80 {
  3959. break
  3960. }
  3961. }
  3962. case 36:
  3963. if wireType != 0 {
  3964. return fmt.Errorf("proto: wrong wireType = %d for field ReplyDailyHive", wireType)
  3965. }
  3966. m.ReplyDailyHive = 0
  3967. for shift := uint(0); ; shift += 7 {
  3968. if shift >= 64 {
  3969. return ErrIntOverflowApi
  3970. }
  3971. if iNdEx >= l {
  3972. return io.ErrUnexpectedEOF
  3973. }
  3974. b := dAtA[iNdEx]
  3975. iNdEx++
  3976. m.ReplyDailyHive |= (int64(b) & 0x7F) << shift
  3977. if b < 0x80 {
  3978. break
  3979. }
  3980. }
  3981. case 37:
  3982. if wireType != 0 {
  3983. return fmt.Errorf("proto: wrong wireType = %d for field AccessHive", wireType)
  3984. }
  3985. m.AccessHive = 0
  3986. for shift := uint(0); ; shift += 7 {
  3987. if shift >= 64 {
  3988. return ErrIntOverflowApi
  3989. }
  3990. if iNdEx >= l {
  3991. return io.ErrUnexpectedEOF
  3992. }
  3993. b := dAtA[iNdEx]
  3994. iNdEx++
  3995. m.AccessHive |= (int64(b) & 0x7F) << shift
  3996. if b < 0x80 {
  3997. break
  3998. }
  3999. }
  4000. case 38:
  4001. if wireType != 0 {
  4002. return fmt.Errorf("proto: wrong wireType = %d for field Play", wireType)
  4003. }
  4004. m.Play = 0
  4005. for shift := uint(0); ; shift += 7 {
  4006. if shift >= 64 {
  4007. return ErrIntOverflowApi
  4008. }
  4009. if iNdEx >= l {
  4010. return io.ErrUnexpectedEOF
  4011. }
  4012. b := dAtA[iNdEx]
  4013. iNdEx++
  4014. m.Play |= (int64(b) & 0x7F) << shift
  4015. if b < 0x80 {
  4016. break
  4017. }
  4018. }
  4019. case 39:
  4020. if wireType != 0 {
  4021. return fmt.Errorf("proto: wrong wireType = %d for field Subtitles", wireType)
  4022. }
  4023. m.Subtitles = 0
  4024. for shift := uint(0); ; shift += 7 {
  4025. if shift >= 64 {
  4026. return ErrIntOverflowApi
  4027. }
  4028. if iNdEx >= l {
  4029. return io.ErrUnexpectedEOF
  4030. }
  4031. b := dAtA[iNdEx]
  4032. iNdEx++
  4033. m.Subtitles |= (int64(b) & 0x7F) << shift
  4034. if b < 0x80 {
  4035. break
  4036. }
  4037. }
  4038. case 40:
  4039. if wireType != 0 {
  4040. return fmt.Errorf("proto: wrong wireType = %d for field Like", wireType)
  4041. }
  4042. m.Like = 0
  4043. for shift := uint(0); ; shift += 7 {
  4044. if shift >= 64 {
  4045. return ErrIntOverflowApi
  4046. }
  4047. if iNdEx >= l {
  4048. return io.ErrUnexpectedEOF
  4049. }
  4050. b := dAtA[iNdEx]
  4051. iNdEx++
  4052. m.Like |= (int64(b) & 0x7F) << shift
  4053. if b < 0x80 {
  4054. break
  4055. }
  4056. }
  4057. case 41:
  4058. if wireType != 0 {
  4059. return fmt.Errorf("proto: wrong wireType = %d for field Share", wireType)
  4060. }
  4061. m.Share = 0
  4062. for shift := uint(0); ; shift += 7 {
  4063. if shift >= 64 {
  4064. return ErrIntOverflowApi
  4065. }
  4066. if iNdEx >= l {
  4067. return io.ErrUnexpectedEOF
  4068. }
  4069. b := dAtA[iNdEx]
  4070. iNdEx++
  4071. m.Share |= (int64(b) & 0x7F) << shift
  4072. if b < 0x80 {
  4073. break
  4074. }
  4075. }
  4076. case 42:
  4077. if wireType != 0 {
  4078. return fmt.Errorf("proto: wrong wireType = %d for field Report", wireType)
  4079. }
  4080. m.Report = 0
  4081. for shift := uint(0); ; shift += 7 {
  4082. if shift >= 64 {
  4083. return ErrIntOverflowApi
  4084. }
  4085. if iNdEx >= l {
  4086. return io.ErrUnexpectedEOF
  4087. }
  4088. b := dAtA[iNdEx]
  4089. iNdEx++
  4090. m.Report |= (int64(b) & 0x7F) << shift
  4091. if b < 0x80 {
  4092. break
  4093. }
  4094. }
  4095. case 43:
  4096. if wireType == 0 {
  4097. var v int64
  4098. for shift := uint(0); ; shift += 7 {
  4099. if shift >= 64 {
  4100. return ErrIntOverflowApi
  4101. }
  4102. if iNdEx >= l {
  4103. return io.ErrUnexpectedEOF
  4104. }
  4105. b := dAtA[iNdEx]
  4106. iNdEx++
  4107. v |= (int64(b) & 0x7F) << shift
  4108. if b < 0x80 {
  4109. break
  4110. }
  4111. }
  4112. m.SimilarID = append(m.SimilarID, v)
  4113. } else if wireType == 2 {
  4114. var packedLen int
  4115. for shift := uint(0); ; shift += 7 {
  4116. if shift >= 64 {
  4117. return ErrIntOverflowApi
  4118. }
  4119. if iNdEx >= l {
  4120. return io.ErrUnexpectedEOF
  4121. }
  4122. b := dAtA[iNdEx]
  4123. iNdEx++
  4124. packedLen |= (int(b) & 0x7F) << shift
  4125. if b < 0x80 {
  4126. break
  4127. }
  4128. }
  4129. if packedLen < 0 {
  4130. return ErrInvalidLengthApi
  4131. }
  4132. postIndex := iNdEx + packedLen
  4133. if postIndex > l {
  4134. return io.ErrUnexpectedEOF
  4135. }
  4136. for iNdEx < postIndex {
  4137. var v int64
  4138. for shift := uint(0); ; shift += 7 {
  4139. if shift >= 64 {
  4140. return ErrIntOverflowApi
  4141. }
  4142. if iNdEx >= l {
  4143. return io.ErrUnexpectedEOF
  4144. }
  4145. b := dAtA[iNdEx]
  4146. iNdEx++
  4147. v |= (int64(b) & 0x7F) << shift
  4148. if b < 0x80 {
  4149. break
  4150. }
  4151. }
  4152. m.SimilarID = append(m.SimilarID, v)
  4153. }
  4154. } else {
  4155. return fmt.Errorf("proto: wrong wireType = %d for field SimilarID", wireType)
  4156. }
  4157. case 44:
  4158. if wireType != 5 {
  4159. return fmt.Errorf("proto: wrong wireType = %d for field ESScore", wireType)
  4160. }
  4161. var v uint32
  4162. if (iNdEx + 4) > l {
  4163. return io.ErrUnexpectedEOF
  4164. }
  4165. v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
  4166. iNdEx += 4
  4167. m.ESScore = float64(math.Float32frombits(v))
  4168. case 45:
  4169. if wireType == 5 {
  4170. var v uint32
  4171. if (iNdEx + 4) > l {
  4172. return io.ErrUnexpectedEOF
  4173. }
  4174. v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
  4175. iNdEx += 4
  4176. v2 := float64(math.Float32frombits(v))
  4177. m.CustomScore = append(m.CustomScore, v2)
  4178. } else if wireType == 2 {
  4179. var packedLen int
  4180. for shift := uint(0); ; shift += 7 {
  4181. if shift >= 64 {
  4182. return ErrIntOverflowApi
  4183. }
  4184. if iNdEx >= l {
  4185. return io.ErrUnexpectedEOF
  4186. }
  4187. b := dAtA[iNdEx]
  4188. iNdEx++
  4189. packedLen |= (int(b) & 0x7F) << shift
  4190. if b < 0x80 {
  4191. break
  4192. }
  4193. }
  4194. if packedLen < 0 {
  4195. return ErrInvalidLengthApi
  4196. }
  4197. postIndex := iNdEx + packedLen
  4198. if postIndex > l {
  4199. return io.ErrUnexpectedEOF
  4200. }
  4201. for iNdEx < postIndex {
  4202. var v uint32
  4203. if (iNdEx + 4) > l {
  4204. return io.ErrUnexpectedEOF
  4205. }
  4206. v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
  4207. iNdEx += 4
  4208. v2 := float64(math.Float32frombits(v))
  4209. m.CustomScore = append(m.CustomScore, v2)
  4210. }
  4211. } else {
  4212. return fmt.Errorf("proto: wrong wireType = %d for field CustomScore", wireType)
  4213. }
  4214. case 46:
  4215. if wireType != 0 {
  4216. return fmt.Errorf("proto: wrong wireType = %d for field ISFullScreen", wireType)
  4217. }
  4218. m.ISFullScreen = 0
  4219. for shift := uint(0); ; shift += 7 {
  4220. if shift >= 64 {
  4221. return ErrIntOverflowApi
  4222. }
  4223. if iNdEx >= l {
  4224. return io.ErrUnexpectedEOF
  4225. }
  4226. b := dAtA[iNdEx]
  4227. iNdEx++
  4228. m.ISFullScreen |= (int64(b) & 0x7F) << shift
  4229. if b < 0x80 {
  4230. break
  4231. }
  4232. }
  4233. default:
  4234. iNdEx = preIndex
  4235. skippy, err := skipApi(dAtA[iNdEx:])
  4236. if err != nil {
  4237. return err
  4238. }
  4239. if skippy < 0 {
  4240. return ErrInvalidLengthApi
  4241. }
  4242. if (iNdEx + skippy) > l {
  4243. return io.ErrUnexpectedEOF
  4244. }
  4245. iNdEx += skippy
  4246. }
  4247. }
  4248. if iNdEx > l {
  4249. return io.ErrUnexpectedEOF
  4250. }
  4251. return nil
  4252. }
  4253. func (m *RecVideoDataRequest) Unmarshal(dAtA []byte) error {
  4254. l := len(dAtA)
  4255. iNdEx := 0
  4256. for iNdEx < l {
  4257. preIndex := iNdEx
  4258. var wire uint64
  4259. for shift := uint(0); ; shift += 7 {
  4260. if shift >= 64 {
  4261. return ErrIntOverflowApi
  4262. }
  4263. if iNdEx >= l {
  4264. return io.ErrUnexpectedEOF
  4265. }
  4266. b := dAtA[iNdEx]
  4267. iNdEx++
  4268. wire |= (uint64(b) & 0x7F) << shift
  4269. if b < 0x80 {
  4270. break
  4271. }
  4272. }
  4273. fieldNum := int32(wire >> 3)
  4274. wireType := int(wire & 0x7)
  4275. if wireType == 4 {
  4276. return fmt.Errorf("proto: RecVideoDataRequest: wiretype end group for non-group")
  4277. }
  4278. if fieldNum <= 0 {
  4279. return fmt.Errorf("proto: RecVideoDataRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  4280. }
  4281. switch fieldNum {
  4282. case 1:
  4283. if wireType != 2 {
  4284. return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
  4285. }
  4286. var stringLen uint64
  4287. for shift := uint(0); ; shift += 7 {
  4288. if shift >= 64 {
  4289. return ErrIntOverflowApi
  4290. }
  4291. if iNdEx >= l {
  4292. return io.ErrUnexpectedEOF
  4293. }
  4294. b := dAtA[iNdEx]
  4295. iNdEx++
  4296. stringLen |= (uint64(b) & 0x7F) << shift
  4297. if b < 0x80 {
  4298. break
  4299. }
  4300. }
  4301. intStringLen := int(stringLen)
  4302. if intStringLen < 0 {
  4303. return ErrInvalidLengthApi
  4304. }
  4305. postIndex := iNdEx + intStringLen
  4306. if postIndex > l {
  4307. return io.ErrUnexpectedEOF
  4308. }
  4309. m.Query = string(dAtA[iNdEx:postIndex])
  4310. iNdEx = postIndex
  4311. default:
  4312. iNdEx = preIndex
  4313. skippy, err := skipApi(dAtA[iNdEx:])
  4314. if err != nil {
  4315. return err
  4316. }
  4317. if skippy < 0 {
  4318. return ErrInvalidLengthApi
  4319. }
  4320. if (iNdEx + skippy) > l {
  4321. return io.ErrUnexpectedEOF
  4322. }
  4323. iNdEx += skippy
  4324. }
  4325. }
  4326. if iNdEx > l {
  4327. return io.ErrUnexpectedEOF
  4328. }
  4329. return nil
  4330. }
  4331. func (m *RecVideoDataResponse) Unmarshal(dAtA []byte) error {
  4332. l := len(dAtA)
  4333. iNdEx := 0
  4334. for iNdEx < l {
  4335. preIndex := iNdEx
  4336. var wire uint64
  4337. for shift := uint(0); ; shift += 7 {
  4338. if shift >= 64 {
  4339. return ErrIntOverflowApi
  4340. }
  4341. if iNdEx >= l {
  4342. return io.ErrUnexpectedEOF
  4343. }
  4344. b := dAtA[iNdEx]
  4345. iNdEx++
  4346. wire |= (uint64(b) & 0x7F) << shift
  4347. if b < 0x80 {
  4348. break
  4349. }
  4350. }
  4351. fieldNum := int32(wire >> 3)
  4352. wireType := int(wire & 0x7)
  4353. if wireType == 4 {
  4354. return fmt.Errorf("proto: RecVideoDataResponse: wiretype end group for non-group")
  4355. }
  4356. if fieldNum <= 0 {
  4357. return fmt.Errorf("proto: RecVideoDataResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  4358. }
  4359. switch fieldNum {
  4360. case 1:
  4361. if wireType != 0 {
  4362. return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
  4363. }
  4364. m.Total = 0
  4365. for shift := uint(0); ; shift += 7 {
  4366. if shift >= 64 {
  4367. return ErrIntOverflowApi
  4368. }
  4369. if iNdEx >= l {
  4370. return io.ErrUnexpectedEOF
  4371. }
  4372. b := dAtA[iNdEx]
  4373. iNdEx++
  4374. m.Total |= (int64(b) & 0x7F) << shift
  4375. if b < 0x80 {
  4376. break
  4377. }
  4378. }
  4379. case 2:
  4380. if wireType != 2 {
  4381. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  4382. }
  4383. var msglen int
  4384. for shift := uint(0); ; shift += 7 {
  4385. if shift >= 64 {
  4386. return ErrIntOverflowApi
  4387. }
  4388. if iNdEx >= l {
  4389. return io.ErrUnexpectedEOF
  4390. }
  4391. b := dAtA[iNdEx]
  4392. iNdEx++
  4393. msglen |= (int(b) & 0x7F) << shift
  4394. if b < 0x80 {
  4395. break
  4396. }
  4397. }
  4398. if msglen < 0 {
  4399. return ErrInvalidLengthApi
  4400. }
  4401. postIndex := iNdEx + msglen
  4402. if postIndex > l {
  4403. return io.ErrUnexpectedEOF
  4404. }
  4405. m.List = append(m.List, &RecVideoInfo{})
  4406. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4407. return err
  4408. }
  4409. iNdEx = postIndex
  4410. default:
  4411. iNdEx = preIndex
  4412. skippy, err := skipApi(dAtA[iNdEx:])
  4413. if err != nil {
  4414. return err
  4415. }
  4416. if skippy < 0 {
  4417. return ErrInvalidLengthApi
  4418. }
  4419. if (iNdEx + skippy) > l {
  4420. return io.ErrUnexpectedEOF
  4421. }
  4422. iNdEx += skippy
  4423. }
  4424. }
  4425. if iNdEx > l {
  4426. return io.ErrUnexpectedEOF
  4427. }
  4428. return nil
  4429. }
  4430. func (m *VideoDataRequest) Unmarshal(dAtA []byte) error {
  4431. l := len(dAtA)
  4432. iNdEx := 0
  4433. for iNdEx < l {
  4434. preIndex := iNdEx
  4435. var wire uint64
  4436. for shift := uint(0); ; shift += 7 {
  4437. if shift >= 64 {
  4438. return ErrIntOverflowApi
  4439. }
  4440. if iNdEx >= l {
  4441. return io.ErrUnexpectedEOF
  4442. }
  4443. b := dAtA[iNdEx]
  4444. iNdEx++
  4445. wire |= (uint64(b) & 0x7F) << shift
  4446. if b < 0x80 {
  4447. break
  4448. }
  4449. }
  4450. fieldNum := int32(wire >> 3)
  4451. wireType := int(wire & 0x7)
  4452. if wireType == 4 {
  4453. return fmt.Errorf("proto: VideoDataRequest: wiretype end group for non-group")
  4454. }
  4455. if fieldNum <= 0 {
  4456. return fmt.Errorf("proto: VideoDataRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  4457. }
  4458. switch fieldNum {
  4459. case 1:
  4460. if wireType != 2 {
  4461. return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
  4462. }
  4463. var stringLen uint64
  4464. for shift := uint(0); ; shift += 7 {
  4465. if shift >= 64 {
  4466. return ErrIntOverflowApi
  4467. }
  4468. if iNdEx >= l {
  4469. return io.ErrUnexpectedEOF
  4470. }
  4471. b := dAtA[iNdEx]
  4472. iNdEx++
  4473. stringLen |= (uint64(b) & 0x7F) << shift
  4474. if b < 0x80 {
  4475. break
  4476. }
  4477. }
  4478. intStringLen := int(stringLen)
  4479. if intStringLen < 0 {
  4480. return ErrInvalidLengthApi
  4481. }
  4482. postIndex := iNdEx + intStringLen
  4483. if postIndex > l {
  4484. return io.ErrUnexpectedEOF
  4485. }
  4486. m.Query = string(dAtA[iNdEx:postIndex])
  4487. iNdEx = postIndex
  4488. default:
  4489. iNdEx = preIndex
  4490. skippy, err := skipApi(dAtA[iNdEx:])
  4491. if err != nil {
  4492. return err
  4493. }
  4494. if skippy < 0 {
  4495. return ErrInvalidLengthApi
  4496. }
  4497. if (iNdEx + skippy) > l {
  4498. return io.ErrUnexpectedEOF
  4499. }
  4500. iNdEx += skippy
  4501. }
  4502. }
  4503. if iNdEx > l {
  4504. return io.ErrUnexpectedEOF
  4505. }
  4506. return nil
  4507. }
  4508. func (m *VideoDataResponse) Unmarshal(dAtA []byte) error {
  4509. l := len(dAtA)
  4510. iNdEx := 0
  4511. for iNdEx < l {
  4512. preIndex := iNdEx
  4513. var wire uint64
  4514. for shift := uint(0); ; shift += 7 {
  4515. if shift >= 64 {
  4516. return ErrIntOverflowApi
  4517. }
  4518. if iNdEx >= l {
  4519. return io.ErrUnexpectedEOF
  4520. }
  4521. b := dAtA[iNdEx]
  4522. iNdEx++
  4523. wire |= (uint64(b) & 0x7F) << shift
  4524. if b < 0x80 {
  4525. break
  4526. }
  4527. }
  4528. fieldNum := int32(wire >> 3)
  4529. wireType := int(wire & 0x7)
  4530. if wireType == 4 {
  4531. return fmt.Errorf("proto: VideoDataResponse: wiretype end group for non-group")
  4532. }
  4533. if fieldNum <= 0 {
  4534. return fmt.Errorf("proto: VideoDataResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  4535. }
  4536. switch fieldNum {
  4537. case 1:
  4538. if wireType != 0 {
  4539. return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
  4540. }
  4541. m.Total = 0
  4542. for shift := uint(0); ; shift += 7 {
  4543. if shift >= 64 {
  4544. return ErrIntOverflowApi
  4545. }
  4546. if iNdEx >= l {
  4547. return io.ErrUnexpectedEOF
  4548. }
  4549. b := dAtA[iNdEx]
  4550. iNdEx++
  4551. m.Total |= (int64(b) & 0x7F) << shift
  4552. if b < 0x80 {
  4553. break
  4554. }
  4555. }
  4556. case 2:
  4557. if wireType != 2 {
  4558. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  4559. }
  4560. var msglen int
  4561. for shift := uint(0); ; shift += 7 {
  4562. if shift >= 64 {
  4563. return ErrIntOverflowApi
  4564. }
  4565. if iNdEx >= l {
  4566. return io.ErrUnexpectedEOF
  4567. }
  4568. b := dAtA[iNdEx]
  4569. iNdEx++
  4570. msglen |= (int(b) & 0x7F) << shift
  4571. if b < 0x80 {
  4572. break
  4573. }
  4574. }
  4575. if msglen < 0 {
  4576. return ErrInvalidLengthApi
  4577. }
  4578. postIndex := iNdEx + msglen
  4579. if postIndex > l {
  4580. return io.ErrUnexpectedEOF
  4581. }
  4582. m.List = append(m.List, &VideoESInfo{})
  4583. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4584. return err
  4585. }
  4586. iNdEx = postIndex
  4587. default:
  4588. iNdEx = preIndex
  4589. skippy, err := skipApi(dAtA[iNdEx:])
  4590. if err != nil {
  4591. return err
  4592. }
  4593. if skippy < 0 {
  4594. return ErrInvalidLengthApi
  4595. }
  4596. if (iNdEx + skippy) > l {
  4597. return io.ErrUnexpectedEOF
  4598. }
  4599. iNdEx += skippy
  4600. }
  4601. }
  4602. if iNdEx > l {
  4603. return io.ErrUnexpectedEOF
  4604. }
  4605. return nil
  4606. }
  4607. func (m *ESVideoDataRequest) Unmarshal(dAtA []byte) error {
  4608. l := len(dAtA)
  4609. iNdEx := 0
  4610. for iNdEx < l {
  4611. preIndex := iNdEx
  4612. var wire uint64
  4613. for shift := uint(0); ; shift += 7 {
  4614. if shift >= 64 {
  4615. return ErrIntOverflowApi
  4616. }
  4617. if iNdEx >= l {
  4618. return io.ErrUnexpectedEOF
  4619. }
  4620. b := dAtA[iNdEx]
  4621. iNdEx++
  4622. wire |= (uint64(b) & 0x7F) << shift
  4623. if b < 0x80 {
  4624. break
  4625. }
  4626. }
  4627. fieldNum := int32(wire >> 3)
  4628. wireType := int(wire & 0x7)
  4629. if wireType == 4 {
  4630. return fmt.Errorf("proto: ESVideoDataRequest: wiretype end group for non-group")
  4631. }
  4632. if fieldNum <= 0 {
  4633. return fmt.Errorf("proto: ESVideoDataRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  4634. }
  4635. switch fieldNum {
  4636. case 1:
  4637. if wireType != 2 {
  4638. return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
  4639. }
  4640. var stringLen uint64
  4641. for shift := uint(0); ; shift += 7 {
  4642. if shift >= 64 {
  4643. return ErrIntOverflowApi
  4644. }
  4645. if iNdEx >= l {
  4646. return io.ErrUnexpectedEOF
  4647. }
  4648. b := dAtA[iNdEx]
  4649. iNdEx++
  4650. stringLen |= (uint64(b) & 0x7F) << shift
  4651. if b < 0x80 {
  4652. break
  4653. }
  4654. }
  4655. intStringLen := int(stringLen)
  4656. if intStringLen < 0 {
  4657. return ErrInvalidLengthApi
  4658. }
  4659. postIndex := iNdEx + intStringLen
  4660. if postIndex > l {
  4661. return io.ErrUnexpectedEOF
  4662. }
  4663. m.Query = string(dAtA[iNdEx:postIndex])
  4664. iNdEx = postIndex
  4665. default:
  4666. iNdEx = preIndex
  4667. skippy, err := skipApi(dAtA[iNdEx:])
  4668. if err != nil {
  4669. return err
  4670. }
  4671. if skippy < 0 {
  4672. return ErrInvalidLengthApi
  4673. }
  4674. if (iNdEx + skippy) > l {
  4675. return io.ErrUnexpectedEOF
  4676. }
  4677. iNdEx += skippy
  4678. }
  4679. }
  4680. if iNdEx > l {
  4681. return io.ErrUnexpectedEOF
  4682. }
  4683. return nil
  4684. }
  4685. func (m *ESVideoDataResponse) Unmarshal(dAtA []byte) error {
  4686. l := len(dAtA)
  4687. iNdEx := 0
  4688. for iNdEx < l {
  4689. preIndex := iNdEx
  4690. var wire uint64
  4691. for shift := uint(0); ; shift += 7 {
  4692. if shift >= 64 {
  4693. return ErrIntOverflowApi
  4694. }
  4695. if iNdEx >= l {
  4696. return io.ErrUnexpectedEOF
  4697. }
  4698. b := dAtA[iNdEx]
  4699. iNdEx++
  4700. wire |= (uint64(b) & 0x7F) << shift
  4701. if b < 0x80 {
  4702. break
  4703. }
  4704. }
  4705. fieldNum := int32(wire >> 3)
  4706. wireType := int(wire & 0x7)
  4707. if wireType == 4 {
  4708. return fmt.Errorf("proto: ESVideoDataResponse: wiretype end group for non-group")
  4709. }
  4710. if fieldNum <= 0 {
  4711. return fmt.Errorf("proto: ESVideoDataResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  4712. }
  4713. switch fieldNum {
  4714. case 1:
  4715. if wireType != 0 {
  4716. return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
  4717. }
  4718. m.Total = 0
  4719. for shift := uint(0); ; shift += 7 {
  4720. if shift >= 64 {
  4721. return ErrIntOverflowApi
  4722. }
  4723. if iNdEx >= l {
  4724. return io.ErrUnexpectedEOF
  4725. }
  4726. b := dAtA[iNdEx]
  4727. iNdEx++
  4728. m.Total |= (int64(b) & 0x7F) << shift
  4729. if b < 0x80 {
  4730. break
  4731. }
  4732. }
  4733. case 2:
  4734. if wireType != 2 {
  4735. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  4736. }
  4737. var msglen int
  4738. for shift := uint(0); ; shift += 7 {
  4739. if shift >= 64 {
  4740. return ErrIntOverflowApi
  4741. }
  4742. if iNdEx >= l {
  4743. return io.ErrUnexpectedEOF
  4744. }
  4745. b := dAtA[iNdEx]
  4746. iNdEx++
  4747. msglen |= (int(b) & 0x7F) << shift
  4748. if b < 0x80 {
  4749. break
  4750. }
  4751. }
  4752. if msglen < 0 {
  4753. return ErrInvalidLengthApi
  4754. }
  4755. postIndex := iNdEx + msglen
  4756. if postIndex > l {
  4757. return io.ErrUnexpectedEOF
  4758. }
  4759. m.List = append(m.List, &RecVideoInfo{})
  4760. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4761. return err
  4762. }
  4763. iNdEx = postIndex
  4764. default:
  4765. iNdEx = preIndex
  4766. skippy, err := skipApi(dAtA[iNdEx:])
  4767. if err != nil {
  4768. return err
  4769. }
  4770. if skippy < 0 {
  4771. return ErrInvalidLengthApi
  4772. }
  4773. if (iNdEx + skippy) > l {
  4774. return io.ErrUnexpectedEOF
  4775. }
  4776. iNdEx += skippy
  4777. }
  4778. }
  4779. if iNdEx > l {
  4780. return io.ErrUnexpectedEOF
  4781. }
  4782. return nil
  4783. }
  4784. func (m *DelVideoBySVIDRequest) Unmarshal(dAtA []byte) error {
  4785. l := len(dAtA)
  4786. iNdEx := 0
  4787. for iNdEx < l {
  4788. preIndex := iNdEx
  4789. var wire uint64
  4790. for shift := uint(0); ; shift += 7 {
  4791. if shift >= 64 {
  4792. return ErrIntOverflowApi
  4793. }
  4794. if iNdEx >= l {
  4795. return io.ErrUnexpectedEOF
  4796. }
  4797. b := dAtA[iNdEx]
  4798. iNdEx++
  4799. wire |= (uint64(b) & 0x7F) << shift
  4800. if b < 0x80 {
  4801. break
  4802. }
  4803. }
  4804. fieldNum := int32(wire >> 3)
  4805. wireType := int(wire & 0x7)
  4806. if wireType == 4 {
  4807. return fmt.Errorf("proto: DelVideoBySVIDRequest: wiretype end group for non-group")
  4808. }
  4809. if fieldNum <= 0 {
  4810. return fmt.Errorf("proto: DelVideoBySVIDRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  4811. }
  4812. switch fieldNum {
  4813. case 1:
  4814. if wireType == 0 {
  4815. var v int64
  4816. for shift := uint(0); ; shift += 7 {
  4817. if shift >= 64 {
  4818. return ErrIntOverflowApi
  4819. }
  4820. if iNdEx >= l {
  4821. return io.ErrUnexpectedEOF
  4822. }
  4823. b := dAtA[iNdEx]
  4824. iNdEx++
  4825. v |= (int64(b) & 0x7F) << shift
  4826. if b < 0x80 {
  4827. break
  4828. }
  4829. }
  4830. m.SVIDs = append(m.SVIDs, v)
  4831. } else if wireType == 2 {
  4832. var packedLen int
  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. packedLen |= (int(b) & 0x7F) << shift
  4843. if b < 0x80 {
  4844. break
  4845. }
  4846. }
  4847. if packedLen < 0 {
  4848. return ErrInvalidLengthApi
  4849. }
  4850. postIndex := iNdEx + packedLen
  4851. if postIndex > l {
  4852. return io.ErrUnexpectedEOF
  4853. }
  4854. for iNdEx < postIndex {
  4855. var v int64
  4856. for shift := uint(0); ; shift += 7 {
  4857. if shift >= 64 {
  4858. return ErrIntOverflowApi
  4859. }
  4860. if iNdEx >= l {
  4861. return io.ErrUnexpectedEOF
  4862. }
  4863. b := dAtA[iNdEx]
  4864. iNdEx++
  4865. v |= (int64(b) & 0x7F) << shift
  4866. if b < 0x80 {
  4867. break
  4868. }
  4869. }
  4870. m.SVIDs = append(m.SVIDs, v)
  4871. }
  4872. } else {
  4873. return fmt.Errorf("proto: wrong wireType = %d for field SVIDs", wireType)
  4874. }
  4875. default:
  4876. iNdEx = preIndex
  4877. skippy, err := skipApi(dAtA[iNdEx:])
  4878. if err != nil {
  4879. return err
  4880. }
  4881. if skippy < 0 {
  4882. return ErrInvalidLengthApi
  4883. }
  4884. if (iNdEx + skippy) > l {
  4885. return io.ErrUnexpectedEOF
  4886. }
  4887. iNdEx += skippy
  4888. }
  4889. }
  4890. if iNdEx > l {
  4891. return io.ErrUnexpectedEOF
  4892. }
  4893. return nil
  4894. }
  4895. func (m *DelVideoBySVIDResponse) Unmarshal(dAtA []byte) error {
  4896. l := len(dAtA)
  4897. iNdEx := 0
  4898. for iNdEx < l {
  4899. preIndex := iNdEx
  4900. var wire uint64
  4901. for shift := uint(0); ; shift += 7 {
  4902. if shift >= 64 {
  4903. return ErrIntOverflowApi
  4904. }
  4905. if iNdEx >= l {
  4906. return io.ErrUnexpectedEOF
  4907. }
  4908. b := dAtA[iNdEx]
  4909. iNdEx++
  4910. wire |= (uint64(b) & 0x7F) << shift
  4911. if b < 0x80 {
  4912. break
  4913. }
  4914. }
  4915. fieldNum := int32(wire >> 3)
  4916. wireType := int(wire & 0x7)
  4917. if wireType == 4 {
  4918. return fmt.Errorf("proto: DelVideoBySVIDResponse: wiretype end group for non-group")
  4919. }
  4920. if fieldNum <= 0 {
  4921. return fmt.Errorf("proto: DelVideoBySVIDResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  4922. }
  4923. switch fieldNum {
  4924. default:
  4925. iNdEx = preIndex
  4926. skippy, err := skipApi(dAtA[iNdEx:])
  4927. if err != nil {
  4928. return err
  4929. }
  4930. if skippy < 0 {
  4931. return ErrInvalidLengthApi
  4932. }
  4933. if (iNdEx + skippy) > l {
  4934. return io.ErrUnexpectedEOF
  4935. }
  4936. iNdEx += skippy
  4937. }
  4938. }
  4939. if iNdEx > l {
  4940. return io.ErrUnexpectedEOF
  4941. }
  4942. return nil
  4943. }
  4944. func skipApi(dAtA []byte) (n int, err error) {
  4945. l := len(dAtA)
  4946. iNdEx := 0
  4947. for iNdEx < l {
  4948. var wire uint64
  4949. for shift := uint(0); ; shift += 7 {
  4950. if shift >= 64 {
  4951. return 0, ErrIntOverflowApi
  4952. }
  4953. if iNdEx >= l {
  4954. return 0, io.ErrUnexpectedEOF
  4955. }
  4956. b := dAtA[iNdEx]
  4957. iNdEx++
  4958. wire |= (uint64(b) & 0x7F) << shift
  4959. if b < 0x80 {
  4960. break
  4961. }
  4962. }
  4963. wireType := int(wire & 0x7)
  4964. switch wireType {
  4965. case 0:
  4966. for shift := uint(0); ; shift += 7 {
  4967. if shift >= 64 {
  4968. return 0, ErrIntOverflowApi
  4969. }
  4970. if iNdEx >= l {
  4971. return 0, io.ErrUnexpectedEOF
  4972. }
  4973. iNdEx++
  4974. if dAtA[iNdEx-1] < 0x80 {
  4975. break
  4976. }
  4977. }
  4978. return iNdEx, nil
  4979. case 1:
  4980. iNdEx += 8
  4981. return iNdEx, nil
  4982. case 2:
  4983. var length int
  4984. for shift := uint(0); ; shift += 7 {
  4985. if shift >= 64 {
  4986. return 0, ErrIntOverflowApi
  4987. }
  4988. if iNdEx >= l {
  4989. return 0, io.ErrUnexpectedEOF
  4990. }
  4991. b := dAtA[iNdEx]
  4992. iNdEx++
  4993. length |= (int(b) & 0x7F) << shift
  4994. if b < 0x80 {
  4995. break
  4996. }
  4997. }
  4998. iNdEx += length
  4999. if length < 0 {
  5000. return 0, ErrInvalidLengthApi
  5001. }
  5002. return iNdEx, nil
  5003. case 3:
  5004. for {
  5005. var innerWire uint64
  5006. var start int = iNdEx
  5007. for shift := uint(0); ; shift += 7 {
  5008. if shift >= 64 {
  5009. return 0, ErrIntOverflowApi
  5010. }
  5011. if iNdEx >= l {
  5012. return 0, io.ErrUnexpectedEOF
  5013. }
  5014. b := dAtA[iNdEx]
  5015. iNdEx++
  5016. innerWire |= (uint64(b) & 0x7F) << shift
  5017. if b < 0x80 {
  5018. break
  5019. }
  5020. }
  5021. innerWireType := int(innerWire & 0x7)
  5022. if innerWireType == 4 {
  5023. break
  5024. }
  5025. next, err := skipApi(dAtA[start:])
  5026. if err != nil {
  5027. return 0, err
  5028. }
  5029. iNdEx = start + next
  5030. }
  5031. return iNdEx, nil
  5032. case 4:
  5033. return iNdEx, nil
  5034. case 5:
  5035. iNdEx += 4
  5036. return iNdEx, nil
  5037. default:
  5038. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  5039. }
  5040. }
  5041. panic("unreachable")
  5042. }
  5043. var (
  5044. ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
  5045. ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
  5046. )
  5047. func init() { proto.RegisterFile("app/service/bbq/search/api/grpc/v1/api.proto", fileDescriptorApi) }
  5048. var fileDescriptorApi = []byte{
  5049. // 1806 bytes of a gzipped FileDescriptorProto
  5050. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0x4f, 0x6f, 0x1b, 0xc7,
  5051. 0x15, 0x37, 0x45, 0xea, 0x0f, 0x47, 0x32, 0x2d, 0xad, 0x2c, 0x7b, 0x2d, 0x3b, 0x1a, 0x65, 0x9c,
  5052. 0xd4, 0xb2, 0x65, 0x93, 0xb5, 0xdd, 0x38, 0x80, 0x0d, 0xa4, 0x35, 0x63, 0x1b, 0x35, 0xd0, 0x22,
  5053. 0xed, 0x30, 0x31, 0x90, 0x02, 0x09, 0xbb, 0x5c, 0x0e, 0xa9, 0x85, 0x97, 0x5c, 0x6a, 0x77, 0xb9,
  5054. 0x80, 0x80, 0x16, 0x0d, 0x7a, 0xe8, 0x07, 0xe8, 0xa9, 0xc7, 0x7e, 0x9c, 0x1c, 0x7b, 0xcc, 0x69,
  5055. 0xd0, 0xf0, 0xc8, 0xe3, 0x1e, 0x7b, 0x2a, 0xde, 0x9b, 0xdd, 0x9d, 0x21, 0x25, 0xc1, 0x42, 0x01,
  5056. 0xf7, 0x10, 0xf0, 0xb4, 0xfb, 0x7e, 0xef, 0xbd, 0xdf, 0x9b, 0x79, 0xf3, 0x76, 0x66, 0x1e, 0x96,
  5057. 0xdc, 0x77, 0x46, 0xa3, 0x46, 0x24, 0xc2, 0xc4, 0x73, 0x45, 0xa3, 0xd3, 0x39, 0x6e, 0x44, 0xc2,
  5058. 0x09, 0xdd, 0xa3, 0x86, 0x33, 0xf2, 0x1a, 0xfd, 0x70, 0xe4, 0x36, 0x92, 0x87, 0xf0, 0x5e, 0x1f,
  5059. 0x85, 0x41, 0x1c, 0x58, 0x3b, 0x9d, 0xce, 0x71, 0x3d, 0xb3, 0xae, 0x2b, 0xcb, 0x7a, 0xf2, 0x70,
  5060. 0xf7, 0x41, 0xdf, 0x8b, 0x8f, 0xc6, 0x9d, 0xba, 0x1b, 0x0c, 0x1a, 0xfd, 0xa0, 0x1f, 0x34, 0xd0,
  5061. 0xba, 0x33, 0xee, 0xa1, 0x84, 0x02, 0xbe, 0x29, 0x16, 0xf6, 0x67, 0xb2, 0xd9, 0x72, 0x12, 0xf1,
  5062. 0xc6, 0xeb, 0x8a, 0x80, 0x8b, 0xe3, 0xb1, 0x88, 0x62, 0xcb, 0x25, 0x15, 0xdf, 0x8b, 0x62, 0xbb,
  5063. 0xb4, 0x5f, 0x3e, 0x58, 0x7f, 0xc4, 0xea, 0x67, 0x06, 0xaa, 0xa3, 0xcb, 0xcb, 0xd6, 0xeb, 0x61,
  5064. 0x2f, 0x68, 0x1e, 0x4e, 0x25, 0x45, 0x9f, 0x54, 0x52, 0xda, 0x0b, 0xc2, 0xc1, 0x53, 0x06, 0x12,
  5065. 0xdb, 0x4f, 0x1c, 0xdf, 0xeb, 0x3a, 0xb1, 0x78, 0xca, 0x42, 0x71, 0x3c, 0xf6, 0x42, 0xd1, 0x65,
  5066. 0x1c, 0x0d, 0x9f, 0x56, 0xfe, 0xf1, 0x4f, 0x7a, 0x89, 0xfd, 0x70, 0x8d, 0xac, 0x1b, 0x44, 0xd6,
  5067. 0x63, 0x52, 0x89, 0x12, 0xaf, 0x6b, 0x97, 0xf6, 0x4b, 0x07, 0xe5, 0x26, 0x9d, 0x48, 0x5a, 0x69,
  5068. 0xbd, 0x79, 0xfd, 0x02, 0xe8, 0x01, 0x4f, 0x25, 0x5d, 0x57, 0xf4, 0x20, 0x31, 0x8e, 0xa0, 0xd5,
  5069. 0x20, 0xcb, 0xb1, 0x17, 0xfb, 0xc2, 0x5e, 0xda, 0x2f, 0x1d, 0x54, 0x9b, 0x37, 0xa6, 0x92, 0x2a,
  5070. 0x20, 0x95, 0x74, 0x43, 0x99, 0xa3, 0xc8, 0xb8, 0x82, 0xad, 0x4f, 0xc9, 0xaa, 0x1b, 0x0c, 0x63,
  5071. 0x31, 0x8c, 0xed, 0x32, 0xba, 0x7c, 0x30, 0x95, 0x34, 0x87, 0x52, 0x49, 0x6b, 0xca, 0x29, 0x03,
  5072. 0x18, 0xcf, 0x55, 0x56, 0x9d, 0x94, 0x07, 0x5e, 0xd7, 0xae, 0xe0, 0xe8, 0x6e, 0x4d, 0x24, 0x2d,
  5073. 0xff, 0x16, 0x07, 0x07, 0x68, 0x2a, 0x29, 0x51, 0x7e, 0x03, 0x18, 0x1a, 0x40, 0x60, 0xef, 0x7a,
  5074. 0x5d, 0x7b, 0x59, 0xdb, 0x7f, 0xae, 0xec, 0x5d, 0xd3, 0xde, 0x45, 0x7b, 0xd7, 0xeb, 0xc2, 0xc0,
  5075. 0x46, 0xe3, 0x4e, 0xec, 0x0d, 0x84, 0xbd, 0x82, 0x3e, 0x38, 0xb0, 0x0c, 0xd2, 0x03, 0xcb, 0x00,
  5076. 0xc6, 0x73, 0x15, 0xa4, 0xc0, 0x45, 0xb7, 0x55, 0x74, 0xc3, 0x14, 0xb8, 0x99, 0x53, 0x96, 0x02,
  5077. 0x57, 0xb9, 0x28, 0x18, 0x1c, 0x06, 0xe8, 0xb0, 0xa6, 0x1d, 0x06, 0xb3, 0x0e, 0x83, 0xcc, 0x01,
  5078. 0x9f, 0xd6, 0x33, 0xb2, 0xd6, 0x1d, 0x87, 0x4e, 0xec, 0x05, 0x43, 0xbb, 0xaa, 0x56, 0x67, 0x2a,
  5079. 0x69, 0x81, 0xa5, 0x92, 0x5e, 0x51, 0x6e, 0x39, 0xc2, 0x78, 0xa1, 0x04, 0xe7, 0x20, 0xf4, 0xfa,
  5080. 0xde, 0xd0, 0xf1, 0x6d, 0xa2, 0x9d, 0x73, 0x4c, 0x3b, 0xe7, 0x08, 0xe3, 0x85, 0x12, 0x86, 0x1a,
  5081. 0xc5, 0x4e, 0x2c, 0xec, 0x75, 0x3d, 0x54, 0x04, 0xf4, 0x50, 0x51, 0x64, 0x5c, 0xc1, 0xd6, 0x33,
  5082. 0xb2, 0x92, 0x88, 0xb0, 0xed, 0x75, 0xed, 0x0d, 0xf4, 0xf8, 0x68, 0x22, 0xe9, 0xf2, 0x1b, 0x11,
  5083. 0x62, 0xea, 0x33, 0x55, 0x2a, 0xe9, 0x65, 0xe5, 0xab, 0x64, 0xc6, 0x97, 0x13, 0x11, 0xbe, 0xee,
  5084. 0x5a, 0x77, 0x48, 0x39, 0x11, 0xa1, 0x7d, 0x19, 0xeb, 0x62, 0x07, 0xd6, 0x2a, 0x11, 0xa1, 0x5e,
  5085. 0xab, 0x44, 0x84, 0x8c, 0x03, 0x64, 0x1d, 0x92, 0x4a, 0x2f, 0x0c, 0x06, 0x76, 0x0d, 0x63, 0x5c,
  5086. 0x87, 0x12, 0x05, 0x59, 0x97, 0x28, 0x48, 0x8c, 0x23, 0x08, 0x75, 0xed, 0x40, 0x5d, 0x5f, 0xd1,
  5087. 0x75, 0xfd, 0x3c, 0xab, 0x6b, 0x67, 0xa6, 0xae, 0x1d, 0x55, 0xd7, 0xf0, 0x80, 0xa1, 0xc4, 0x5e,
  5088. 0xd7, 0xde, 0x44, 0x1f, 0x1c, 0x4a, 0x6c, 0x96, 0x4d, 0x8c, 0x65, 0x13, 0x7b, 0x5d, 0xeb, 0x09,
  5089. 0x59, 0x8d, 0xc6, 0x9d, 0x36, 0x18, 0x6f, 0xe9, 0xb2, 0xc9, 0x20, 0x5d, 0x36, 0x19, 0xc0, 0xf8,
  5090. 0x4a, 0x34, 0xee, 0x7c, 0xa9, 0x3e, 0x9c, 0xc8, 0x0d, 0x42, 0x61, 0x5b, 0x46, 0x66, 0x01, 0x30,
  5091. 0x32, 0x0b, 0x22, 0x64, 0x16, 0x9e, 0xd6, 0x2b, 0xb2, 0x1e, 0x06, 0xe3, 0xfe, 0x51, 0x5b, 0xb9,
  5092. 0x6d, 0xa3, 0xdb, 0xc7, 0x53, 0x49, 0x4d, 0x38, 0x95, 0xd4, 0x52, 0xce, 0x06, 0xc8, 0x38, 0x41,
  5093. 0xa9, 0x85, 0x3c, 0x5f, 0x90, 0x4a, 0xec, 0xf4, 0x23, 0xfb, 0xea, 0x45, 0x76, 0x98, 0x2f, 0x9d,
  5094. 0x7e, 0xa4, 0xf2, 0x0b, 0x3e, 0x3a, 0x55, 0x20, 0x31, 0x8e, 0xa0, 0xf5, 0x19, 0xa9, 0x8e, 0x7c,
  5095. 0xe7, 0xa4, 0x7d, 0xe4, 0x25, 0xc2, 0xde, 0xc1, 0x61, 0x7d, 0x38, 0x95, 0x54, 0x83, 0xa9, 0xa4,
  5096. 0x9b, 0xd9, 0xc7, 0x93, 0x43, 0x8c, 0xaf, 0xc1, 0xfb, 0xaf, 0xbd, 0x44, 0x58, 0x4f, 0xc9, 0x5a,
  5097. 0xcf, 0x49, 0x94, 0xfb, 0x35, 0x5d, 0xa0, 0x39, 0xa6, 0x0b, 0x34, 0x47, 0x18, 0x5f, 0xed, 0x39,
  5098. 0x09, 0xfa, 0x7e, 0x46, 0xaa, 0x6e, 0xe0, 0x0d, 0x95, 0xf3, 0x75, 0x1d, 0xbb, 0x00, 0x75, 0xec,
  5099. 0x02, 0x62, 0x7c, 0x0d, 0xde, 0xd1, 0x9f, 0x93, 0x5a, 0x04, 0x9f, 0x71, 0xec, 0x8b, 0x48, 0x91,
  5100. 0xd8, 0x48, 0x02, 0x9b, 0xea, 0x9c, 0x26, 0x95, 0x74, 0xa7, 0x58, 0x4b, 0x03, 0x67, 0xfc, 0x72,
  5101. 0x01, 0x20, 0x67, 0x93, 0x10, 0xdf, 0x7b, 0x9b, 0xf3, 0xdd, 0x40, 0xbe, 0xdb, 0x53, 0x49, 0x0d,
  5102. 0x34, 0x95, 0x74, 0x2b, 0xdf, 0xaa, 0xdf, 0x16, 0x3c, 0x55, 0x14, 0x72, 0x8e, 0xe8, 0xc8, 0x09,
  5103. 0x85, 0xe2, 0xd8, 0xd5, 0x1c, 0x1a, 0xd5, 0x1c, 0x1a, 0x63, 0xbc, 0x8a, 0x02, 0x72, 0x40, 0xc1,
  5104. 0x88, 0x51, 0x10, 0xc6, 0x8a, 0xe4, 0xa6, 0x51, 0x30, 0x1a, 0x36, 0x0a, 0x46, 0x83, 0x50, 0x30,
  5105. 0x28, 0x21, 0x8f, 0x20, 0xdb, 0xf9, 0x66, 0xd2, 0xee, 0x3a, 0x9e, 0x9f, 0xad, 0xf4, 0x2d, 0xe4,
  5106. 0xfb, 0x64, 0x2a, 0xe9, 0x59, 0xea, 0x54, 0xd2, 0xdd, 0xd9, 0x3d, 0xc9, 0x50, 0x32, 0xbe, 0x95,
  5107. 0xa3, 0x2f, 0x00, 0xc4, 0x30, 0xdf, 0x90, 0x02, 0x6c, 0x3b, 0xbe, 0xaf, 0x82, 0x7c, 0x80, 0x41,
  5108. 0x1e, 0x4e, 0x25, 0x3d, 0xad, 0x4c, 0x25, 0xb5, 0xe7, 0x42, 0xe4, 0x2a, 0xc6, 0xaf, 0xe4, 0xd8,
  5109. 0x73, 0xdf, 0xcf, 0x33, 0x1a, 0x8a, 0x51, 0x3e, 0xf8, 0x3d, 0x9d, 0x51, 0x8d, 0xea, 0x8c, 0x6a,
  5110. 0x8c, 0xf1, 0x2a, 0x0a, 0xc8, 0xf1, 0x35, 0xd9, 0x54, 0xb9, 0x36, 0xd2, 0x40, 0x91, 0xa9, 0x31,
  5111. 0x95, 0xf4, 0x94, 0x2e, 0x95, 0xf4, 0xba, 0xb9, 0x42, 0x66, 0x02, 0x6a, 0x08, 0xe9, 0xd9, 0x7f,
  5112. 0x45, 0xae, 0xe0, 0xc7, 0x61, 0x30, 0xef, 0x23, 0xf3, 0x83, 0xa9, 0xa4, 0xf3, 0xaa, 0x54, 0xd2,
  5113. 0x6b, 0xc6, 0x07, 0x65, 0xf2, 0x5e, 0x06, 0x44, 0xd3, 0x7a, 0xe4, 0xaa, 0xae, 0x56, 0x83, 0xfb,
  5114. 0x43, 0xe4, 0xfe, 0x74, 0x2a, 0xe9, 0x99, 0xfa, 0x54, 0xd2, 0x9b, 0xf3, 0xb5, 0x6e, 0x46, 0xb1,
  5115. 0x0a, 0x58, 0x87, 0xfa, 0x9a, 0x6c, 0xaa, 0x62, 0x36, 0xc2, 0x30, 0x9d, 0x9c, 0x79, 0x9d, 0x4e,
  5116. 0xce, 0xbc, 0x86, 0xf1, 0x1a, 0x42, 0x9a, 0xfa, 0xf7, 0xa4, 0x06, 0xdf, 0xbe, 0x41, 0x7c, 0x5b,
  5117. 0x7f, 0xa5, 0xb3, 0x1a, 0xfd, 0x95, 0xce, 0xe2, 0x8c, 0x6f, 0xf4, 0x9c, 0x64, 0x66, 0xb4, 0x6a,
  5118. 0x91, 0x0d, 0xd2, 0x8f, 0xf4, 0x68, 0xe7, 0x75, 0x7a, 0xb4, 0xf3, 0x1a, 0xc6, 0x6b, 0x08, 0x69,
  5119. 0xea, 0x57, 0x64, 0xdd, 0x71, 0x5d, 0x11, 0x65, 0x1b, 0xc0, 0xc7, 0xfa, 0xbb, 0x33, 0x60, 0xfd,
  5120. 0xdd, 0x19, 0x20, 0xe3, 0x44, 0x49, 0xc8, 0x73, 0x48, 0x2a, 0xb0, 0x98, 0xf6, 0xcf, 0xf4, 0x21,
  5121. 0x07, 0xb2, 0xde, 0x84, 0x41, 0x62, 0x1c, 0x41, 0xeb, 0x97, 0xa4, 0x5a, 0xac, 0x89, 0x7d, 0x47,
  5122. 0x6f, 0x84, 0x05, 0xa8, 0x37, 0xc2, 0x02, 0x82, 0xdd, 0x22, 0x7f, 0x87, 0x68, 0x90, 0x75, 0xfb,
  5123. 0x40, 0x47, 0x03, 0x59, 0x47, 0x03, 0x09, 0x2f, 0x90, 0x6f, 0xf1, 0x06, 0x83, 0xf5, 0x6b, 0xdf,
  5124. 0x35, 0x0e, 0x2f, 0x00, 0x8c, 0xc3, 0x0b, 0x44, 0x38, 0xbc, 0xe0, 0x69, 0x3d, 0x26, 0x2b, 0x6a,
  5125. 0x47, 0xb1, 0xef, 0xa1, 0xc7, 0x4d, 0xb8, 0x0d, 0x28, 0x44, 0xdf, 0x06, 0x94, 0xcc, 0x78, 0xa6,
  5126. 0xb0, 0xbe, 0x20, 0x24, 0xf2, 0x06, 0x9e, 0xef, 0xe0, 0x7d, 0xe2, 0x70, 0xbf, 0x7c, 0x50, 0x6e,
  5127. 0xfe, 0x7c, 0x22, 0x69, 0xb5, 0xa5, 0x50, 0x3c, 0xc3, 0x0d, 0x13, 0x63, 0x47, 0x2c, 0x30, 0x98,
  5128. 0x63, 0x66, 0xdd, 0xb5, 0x1c, 0x52, 0xf3, 0xa2, 0x76, 0x6f, 0xec, 0xfb, 0xed, 0xc8, 0x0d, 0x85,
  5129. 0x18, 0xda, 0xf7, 0x71, 0x34, 0xcf, 0x26, 0x92, 0x6e, 0xbc, 0x6e, 0xbd, 0x1a, 0xfb, 0x7e, 0x0b,
  5130. 0x71, 0xa8, 0xab, 0x59, 0x4b, 0x5d, 0x57, 0xb3, 0x38, 0xe3, 0x1b, 0x5e, 0xa4, 0x1d, 0xb3, 0xab,
  5131. 0xf5, 0xdf, 0x4b, 0xc5, 0xd5, 0x1a, 0x4e, 0x50, 0xeb, 0x2e, 0x59, 0x2a, 0x2e, 0xd6, 0x37, 0x26,
  5132. 0x92, 0x2e, 0xe1, 0xd0, 0x97, 0x70, 0xc8, 0xd5, 0x8c, 0xb6, 0xcb, 0xf8, 0x92, 0xd7, 0x85, 0x75,
  5133. 0x18, 0x3a, 0x83, 0xfc, 0x3e, 0x8d, 0xeb, 0x00, 0xb2, 0x5e, 0x07, 0x90, 0x18, 0x47, 0x10, 0x8c,
  5134. 0xe3, 0x93, 0x91, 0xc0, 0x9b, 0x74, 0xb6, 0x68, 0x20, 0x1b, 0xe7, 0xf4, 0xc9, 0x08, 0x8c, 0xf1,
  5135. 0xb1, 0x4d, 0xb6, 0x8c, 0x76, 0x23, 0x1a, 0x05, 0xc3, 0x48, 0xb0, 0xbf, 0xda, 0x64, 0x83, 0x0b,
  5136. 0x17, 0xc1, 0x45, 0x17, 0xb0, 0xe8, 0x02, 0x16, 0x5d, 0xc0, 0xa2, 0x0b, 0x58, 0x74, 0x01, 0x8b,
  5137. 0x2e, 0x60, 0xd1, 0x05, 0x2c, 0xba, 0x80, 0x45, 0x17, 0xb0, 0xe8, 0x02, 0x7e, 0x82, 0x5d, 0xc0,
  5138. 0xef, 0xc8, 0x9a, 0x88, 0xb2, 0xf3, 0x13, 0xee, 0xff, 0x4b, 0xcd, 0x4f, 0x26, 0x92, 0xae, 0xbe,
  5139. 0x6c, 0xe1, 0xc9, 0x08, 0x87, 0x4e, 0xae, 0xd6, 0x87, 0x4e, 0x8e, 0xb0, 0xff, 0x48, 0xba, 0xda,
  5140. 0xf3, 0x03, 0x27, 0x7e, 0xf2, 0x0b, 0xbe, 0x2a, 0x22, 0x75, 0x98, 0x7e, 0x45, 0x36, 0xdc, 0x71,
  5141. 0x14, 0x07, 0x83, 0x8c, 0xf5, 0xc1, 0x7e, 0xf9, 0x60, 0xa9, 0xf9, 0x68, 0x2a, 0xe9, 0x0c, 0x9e,
  5142. 0x4a, 0xba, 0x9d, 0x9d, 0x42, 0x06, 0x3a, 0x43, 0xb9, 0xae, 0x34, 0x8a, 0xf6, 0x74, 0xbb, 0x52,
  5143. 0x7f, 0x3f, 0xed, 0xca, 0x1f, 0xc9, 0x76, 0xde, 0x03, 0xbc, 0x70, 0x62, 0x27, 0xff, 0x17, 0xf1,
  5144. 0x39, 0x59, 0x3e, 0x1e, 0x8b, 0xf0, 0x04, 0x7b, 0x81, 0x2a, 0xee, 0x41, 0x0a, 0x48, 0x25, 0xdd,
  5145. 0x57, 0xec, 0x28, 0x9e, 0xfd, 0xab, 0x41, 0x99, 0x66, 0x11, 0xbe, 0x2b, 0x91, 0xab, 0xb3, 0x21,
  5146. 0x54, 0xff, 0x61, 0x51, 0xb2, 0x1c, 0x07, 0xb1, 0xe3, 0x67, 0xfd, 0x46, 0x15, 0x3b, 0x07, 0x00,
  5147. 0xb8, 0x7a, 0x58, 0xcf, 0xb3, 0x1f, 0x22, 0x4b, 0x78, 0x51, 0xb9, 0x7d, 0xce, 0x45, 0xc5, 0x6c,
  5148. 0x61, 0x9a, 0x6b, 0xf9, 0x1f, 0x91, 0x99, 0xdf, 0x1d, 0xdf, 0x90, 0xcd, 0xf7, 0x39, 0xc3, 0x3f,
  5149. 0x91, 0xad, 0xff, 0x61, 0x76, 0xbf, 0x9a, 0x99, 0xdd, 0x45, 0x7e, 0xf7, 0x9c, 0x3d, 0xb9, 0x36,
  5150. 0xb1, 0x5e, 0xb6, 0xde, 0xe7, 0xf4, 0xfe, 0x42, 0xb6, 0x67, 0x02, 0xfc, 0xdf, 0x97, 0xef, 0x2d,
  5151. 0xd9, 0x79, 0x21, 0x7c, 0xb4, 0x6a, 0x9e, 0x40, 0x47, 0x9a, 0x4f, 0xf2, 0x37, 0x64, 0x19, 0x7a,
  5152. 0xd0, 0x08, 0x7f, 0x99, 0x95, 0x9b, 0x4f, 0xa0, 0xd5, 0x00, 0x7d, 0x74, 0xc6, 0x6c, 0xd1, 0xf0,
  5153. 0x9c, 0xd9, 0xa2, 0x2e, 0x0b, 0x66, 0x93, 0x6b, 0xf3, 0xc1, 0xd4, 0x84, 0x1f, 0xfd, 0xad, 0x42,
  5154. 0x56, 0x5a, 0x38, 0x6e, 0xeb, 0x5b, 0x52, 0x2d, 0xfa, 0x69, 0xeb, 0xce, 0x39, 0x33, 0x9b, 0xff,
  5155. 0xc1, 0xb7, 0x7b, 0xf0, 0x6e, 0xc3, 0x2c, 0xb7, 0xdf, 0x92, 0x6a, 0x91, 0xf0, 0x73, 0xf9, 0xe7,
  5156. 0xd7, 0xfc, 0x5c, 0xfe, 0xd3, 0x6b, 0xd7, 0xd7, 0x9d, 0x3f, 0x86, 0xb8, 0xf7, 0x8e, 0xc5, 0x31,
  5157. 0xa3, 0x1c, 0x5e, 0xc8, 0x36, 0x0b, 0xd4, 0x25, 0xeb, 0x46, 0xed, 0x58, 0x77, 0xcf, 0xf1, 0x3d,
  5158. 0x5d, 0xc0, 0xbb, 0xf7, 0x2e, 0x62, 0x9a, 0x45, 0x19, 0x90, 0xda, 0xec, 0x9a, 0x59, 0xf7, 0xcf,
  5159. 0xf1, 0x3e, 0xb3, 0x8e, 0x76, 0x1f, 0x5c, 0xd0, 0x5a, 0x85, 0x6b, 0xde, 0xfa, 0xfe, 0xc7, 0xbd,
  5160. 0x4b, 0x3f, 0xfc, 0xb8, 0x77, 0xe9, 0xbb, 0xc9, 0x5e, 0xe9, 0xfb, 0xc9, 0x5e, 0xe9, 0x5f, 0x93,
  5161. 0xbd, 0xd2, 0xbf, 0x27, 0x7b, 0xa5, 0x3f, 0x2c, 0x25, 0x0f, 0x3b, 0x2b, 0xf8, 0x87, 0xf7, 0xf1,
  5162. 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x70, 0x0a, 0x09, 0x57, 0x1e, 0x00, 0x00,
  5163. }