model.pb.go 129 KB

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