api.pb.go 365 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/main/favorite/api/api.proto
  3. package api
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import model "go-common/app/service/main/favorite/model"
  8. import _ "github.com/gogo/protobuf/gogoproto"
  9. import empty "github.com/golang/protobuf/ptypes/empty"
  10. import context "golang.org/x/net/context"
  11. import grpc "google.golang.org/grpc"
  12. import io "io"
  13. // Reference imports to suppress errors if they are not otherwise used.
  14. var _ = proto.Marshal
  15. var _ = fmt.Errorf
  16. var _ = math.Inf
  17. // This is a compile-time assertion to ensure that this generated file
  18. // is compatible with the proto package it is being compiled against.
  19. // A compilation error at this line likely means your copy of the
  20. // proto package needs to be updated.
  21. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  22. type ModelPage struct {
  23. Num int32 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
  24. Size_ int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
  25. Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
  26. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  27. XXX_unrecognized []byte `json:"-"`
  28. XXX_sizecache int32 `json:"-"`
  29. }
  30. func (m *ModelPage) Reset() { *m = ModelPage{} }
  31. func (m *ModelPage) String() string { return proto.CompactTextString(m) }
  32. func (*ModelPage) ProtoMessage() {}
  33. func (*ModelPage) Descriptor() ([]byte, []int) {
  34. return fileDescriptor_api_ba1420d9f4484993, []int{0}
  35. }
  36. func (m *ModelPage) XXX_Unmarshal(b []byte) error {
  37. return m.Unmarshal(b)
  38. }
  39. func (m *ModelPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  40. if deterministic {
  41. return xxx_messageInfo_ModelPage.Marshal(b, m, deterministic)
  42. } else {
  43. b = b[:cap(b)]
  44. n, err := m.MarshalTo(b)
  45. if err != nil {
  46. return nil, err
  47. }
  48. return b[:n], nil
  49. }
  50. }
  51. func (dst *ModelPage) XXX_Merge(src proto.Message) {
  52. xxx_messageInfo_ModelPage.Merge(dst, src)
  53. }
  54. func (m *ModelPage) XXX_Size() int {
  55. return m.Size()
  56. }
  57. func (m *ModelPage) XXX_DiscardUnknown() {
  58. xxx_messageInfo_ModelPage.DiscardUnknown(m)
  59. }
  60. var xxx_messageInfo_ModelPage proto.InternalMessageInfo
  61. func (m *ModelPage) GetNum() int32 {
  62. if m != nil {
  63. return m.Num
  64. }
  65. return 0
  66. }
  67. func (m *ModelPage) GetSize_() int32 {
  68. if m != nil {
  69. return m.Size_
  70. }
  71. return 0
  72. }
  73. func (m *ModelPage) GetCount() int32 {
  74. if m != nil {
  75. return m.Count
  76. }
  77. return 0
  78. }
  79. type ModelFavorite struct {
  80. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  81. Oid int64 `protobuf:"varint,2,opt,name=oid,proto3" json:"oid,omitempty"`
  82. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  83. Fid int64 `protobuf:"varint,4,opt,name=fid,proto3" json:"fid,omitempty"`
  84. Type int32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"`
  85. State int32 `protobuf:"varint,6,opt,name=state,proto3" json:"state,omitempty"`
  86. Ctime int64 `protobuf:"varint,7,opt,name=ctime,proto3" json:"ctime,omitempty"`
  87. Mtime int64 `protobuf:"varint,8,opt,name=mtime,proto3" json:"mtime,omitempty"`
  88. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  89. XXX_unrecognized []byte `json:"-"`
  90. XXX_sizecache int32 `json:"-"`
  91. }
  92. func (m *ModelFavorite) Reset() { *m = ModelFavorite{} }
  93. func (m *ModelFavorite) String() string { return proto.CompactTextString(m) }
  94. func (*ModelFavorite) ProtoMessage() {}
  95. func (*ModelFavorite) Descriptor() ([]byte, []int) {
  96. return fileDescriptor_api_ba1420d9f4484993, []int{1}
  97. }
  98. func (m *ModelFavorite) XXX_Unmarshal(b []byte) error {
  99. return m.Unmarshal(b)
  100. }
  101. func (m *ModelFavorite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  102. if deterministic {
  103. return xxx_messageInfo_ModelFavorite.Marshal(b, m, deterministic)
  104. } else {
  105. b = b[:cap(b)]
  106. n, err := m.MarshalTo(b)
  107. if err != nil {
  108. return nil, err
  109. }
  110. return b[:n], nil
  111. }
  112. }
  113. func (dst *ModelFavorite) XXX_Merge(src proto.Message) {
  114. xxx_messageInfo_ModelFavorite.Merge(dst, src)
  115. }
  116. func (m *ModelFavorite) XXX_Size() int {
  117. return m.Size()
  118. }
  119. func (m *ModelFavorite) XXX_DiscardUnknown() {
  120. xxx_messageInfo_ModelFavorite.DiscardUnknown(m)
  121. }
  122. var xxx_messageInfo_ModelFavorite proto.InternalMessageInfo
  123. func (m *ModelFavorite) GetId() int64 {
  124. if m != nil {
  125. return m.Id
  126. }
  127. return 0
  128. }
  129. func (m *ModelFavorite) GetOid() int64 {
  130. if m != nil {
  131. return m.Oid
  132. }
  133. return 0
  134. }
  135. func (m *ModelFavorite) GetMid() int64 {
  136. if m != nil {
  137. return m.Mid
  138. }
  139. return 0
  140. }
  141. func (m *ModelFavorite) GetFid() int64 {
  142. if m != nil {
  143. return m.Fid
  144. }
  145. return 0
  146. }
  147. func (m *ModelFavorite) GetType() int32 {
  148. if m != nil {
  149. return m.Type
  150. }
  151. return 0
  152. }
  153. func (m *ModelFavorite) GetState() int32 {
  154. if m != nil {
  155. return m.State
  156. }
  157. return 0
  158. }
  159. func (m *ModelFavorite) GetCtime() int64 {
  160. if m != nil {
  161. return m.Ctime
  162. }
  163. return 0
  164. }
  165. func (m *ModelFavorite) GetMtime() int64 {
  166. if m != nil {
  167. return m.Mtime
  168. }
  169. return 0
  170. }
  171. type ModelPartition struct {
  172. Tid int32 `protobuf:"varint,1,opt,name=tid,proto3" json:"tid,omitempty"`
  173. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  174. Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
  175. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  176. XXX_unrecognized []byte `json:"-"`
  177. XXX_sizecache int32 `json:"-"`
  178. }
  179. func (m *ModelPartition) Reset() { *m = ModelPartition{} }
  180. func (m *ModelPartition) String() string { return proto.CompactTextString(m) }
  181. func (*ModelPartition) ProtoMessage() {}
  182. func (*ModelPartition) Descriptor() ([]byte, []int) {
  183. return fileDescriptor_api_ba1420d9f4484993, []int{2}
  184. }
  185. func (m *ModelPartition) XXX_Unmarshal(b []byte) error {
  186. return m.Unmarshal(b)
  187. }
  188. func (m *ModelPartition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  189. if deterministic {
  190. return xxx_messageInfo_ModelPartition.Marshal(b, m, deterministic)
  191. } else {
  192. b = b[:cap(b)]
  193. n, err := m.MarshalTo(b)
  194. if err != nil {
  195. return nil, err
  196. }
  197. return b[:n], nil
  198. }
  199. }
  200. func (dst *ModelPartition) XXX_Merge(src proto.Message) {
  201. xxx_messageInfo_ModelPartition.Merge(dst, src)
  202. }
  203. func (m *ModelPartition) XXX_Size() int {
  204. return m.Size()
  205. }
  206. func (m *ModelPartition) XXX_DiscardUnknown() {
  207. xxx_messageInfo_ModelPartition.DiscardUnknown(m)
  208. }
  209. var xxx_messageInfo_ModelPartition proto.InternalMessageInfo
  210. func (m *ModelPartition) GetTid() int32 {
  211. if m != nil {
  212. return m.Tid
  213. }
  214. return 0
  215. }
  216. func (m *ModelPartition) GetName() string {
  217. if m != nil {
  218. return m.Name
  219. }
  220. return ""
  221. }
  222. func (m *ModelPartition) GetCount() int32 {
  223. if m != nil {
  224. return m.Count
  225. }
  226. return 0
  227. }
  228. type ModelFavorites struct {
  229. Page *ModelPage `protobuf:"bytes,1,opt,name=page" json:"page,omitempty"`
  230. List []*ModelFavorite `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"`
  231. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  232. XXX_unrecognized []byte `json:"-"`
  233. XXX_sizecache int32 `json:"-"`
  234. }
  235. func (m *ModelFavorites) Reset() { *m = ModelFavorites{} }
  236. func (m *ModelFavorites) String() string { return proto.CompactTextString(m) }
  237. func (*ModelFavorites) ProtoMessage() {}
  238. func (*ModelFavorites) Descriptor() ([]byte, []int) {
  239. return fileDescriptor_api_ba1420d9f4484993, []int{3}
  240. }
  241. func (m *ModelFavorites) XXX_Unmarshal(b []byte) error {
  242. return m.Unmarshal(b)
  243. }
  244. func (m *ModelFavorites) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  245. if deterministic {
  246. return xxx_messageInfo_ModelFavorites.Marshal(b, m, deterministic)
  247. } else {
  248. b = b[:cap(b)]
  249. n, err := m.MarshalTo(b)
  250. if err != nil {
  251. return nil, err
  252. }
  253. return b[:n], nil
  254. }
  255. }
  256. func (dst *ModelFavorites) XXX_Merge(src proto.Message) {
  257. xxx_messageInfo_ModelFavorites.Merge(dst, src)
  258. }
  259. func (m *ModelFavorites) XXX_Size() int {
  260. return m.Size()
  261. }
  262. func (m *ModelFavorites) XXX_DiscardUnknown() {
  263. xxx_messageInfo_ModelFavorites.DiscardUnknown(m)
  264. }
  265. var xxx_messageInfo_ModelFavorites proto.InternalMessageInfo
  266. func (m *ModelFavorites) GetPage() *ModelPage {
  267. if m != nil {
  268. return m.Page
  269. }
  270. return nil
  271. }
  272. func (m *ModelFavorites) GetList() []*ModelFavorite {
  273. if m != nil {
  274. return m.List
  275. }
  276. return nil
  277. }
  278. type AddFavReply struct {
  279. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  280. XXX_unrecognized []byte `json:"-"`
  281. XXX_sizecache int32 `json:"-"`
  282. }
  283. func (m *AddFavReply) Reset() { *m = AddFavReply{} }
  284. func (m *AddFavReply) String() string { return proto.CompactTextString(m) }
  285. func (*AddFavReply) ProtoMessage() {}
  286. func (*AddFavReply) Descriptor() ([]byte, []int) {
  287. return fileDescriptor_api_ba1420d9f4484993, []int{4}
  288. }
  289. func (m *AddFavReply) XXX_Unmarshal(b []byte) error {
  290. return m.Unmarshal(b)
  291. }
  292. func (m *AddFavReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  293. if deterministic {
  294. return xxx_messageInfo_AddFavReply.Marshal(b, m, deterministic)
  295. } else {
  296. b = b[:cap(b)]
  297. n, err := m.MarshalTo(b)
  298. if err != nil {
  299. return nil, err
  300. }
  301. return b[:n], nil
  302. }
  303. }
  304. func (dst *AddFavReply) XXX_Merge(src proto.Message) {
  305. xxx_messageInfo_AddFavReply.Merge(dst, src)
  306. }
  307. func (m *AddFavReply) XXX_Size() int {
  308. return m.Size()
  309. }
  310. func (m *AddFavReply) XXX_DiscardUnknown() {
  311. xxx_messageInfo_AddFavReply.DiscardUnknown(m)
  312. }
  313. var xxx_messageInfo_AddFavReply proto.InternalMessageInfo
  314. type AddFavReq struct {
  315. Tp int32 `protobuf:"varint,2,opt,name=tp,proto3" json:"tp,omitempty"`
  316. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  317. Fid int64 `protobuf:"varint,4,opt,name=fid,proto3" json:"fid,omitempty"`
  318. Oid int64 `protobuf:"varint,5,opt,name=oid,proto3" json:"oid,omitempty"`
  319. Otype int32 `protobuf:"varint,6,opt,name=otype,proto3" json:"otype,omitempty"`
  320. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  321. XXX_unrecognized []byte `json:"-"`
  322. XXX_sizecache int32 `json:"-"`
  323. }
  324. func (m *AddFavReq) Reset() { *m = AddFavReq{} }
  325. func (m *AddFavReq) String() string { return proto.CompactTextString(m) }
  326. func (*AddFavReq) ProtoMessage() {}
  327. func (*AddFavReq) Descriptor() ([]byte, []int) {
  328. return fileDescriptor_api_ba1420d9f4484993, []int{5}
  329. }
  330. func (m *AddFavReq) XXX_Unmarshal(b []byte) error {
  331. return m.Unmarshal(b)
  332. }
  333. func (m *AddFavReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  334. if deterministic {
  335. return xxx_messageInfo_AddFavReq.Marshal(b, m, deterministic)
  336. } else {
  337. b = b[:cap(b)]
  338. n, err := m.MarshalTo(b)
  339. if err != nil {
  340. return nil, err
  341. }
  342. return b[:n], nil
  343. }
  344. }
  345. func (dst *AddFavReq) XXX_Merge(src proto.Message) {
  346. xxx_messageInfo_AddFavReq.Merge(dst, src)
  347. }
  348. func (m *AddFavReq) XXX_Size() int {
  349. return m.Size()
  350. }
  351. func (m *AddFavReq) XXX_DiscardUnknown() {
  352. xxx_messageInfo_AddFavReq.DiscardUnknown(m)
  353. }
  354. var xxx_messageInfo_AddFavReq proto.InternalMessageInfo
  355. func (m *AddFavReq) GetTp() int32 {
  356. if m != nil {
  357. return m.Tp
  358. }
  359. return 0
  360. }
  361. func (m *AddFavReq) GetMid() int64 {
  362. if m != nil {
  363. return m.Mid
  364. }
  365. return 0
  366. }
  367. func (m *AddFavReq) GetFid() int64 {
  368. if m != nil {
  369. return m.Fid
  370. }
  371. return 0
  372. }
  373. func (m *AddFavReq) GetOid() int64 {
  374. if m != nil {
  375. return m.Oid
  376. }
  377. return 0
  378. }
  379. func (m *AddFavReq) GetOtype() int32 {
  380. if m != nil {
  381. return m.Otype
  382. }
  383. return 0
  384. }
  385. type DelFavReply struct {
  386. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  387. XXX_unrecognized []byte `json:"-"`
  388. XXX_sizecache int32 `json:"-"`
  389. }
  390. func (m *DelFavReply) Reset() { *m = DelFavReply{} }
  391. func (m *DelFavReply) String() string { return proto.CompactTextString(m) }
  392. func (*DelFavReply) ProtoMessage() {}
  393. func (*DelFavReply) Descriptor() ([]byte, []int) {
  394. return fileDescriptor_api_ba1420d9f4484993, []int{6}
  395. }
  396. func (m *DelFavReply) XXX_Unmarshal(b []byte) error {
  397. return m.Unmarshal(b)
  398. }
  399. func (m *DelFavReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  400. if deterministic {
  401. return xxx_messageInfo_DelFavReply.Marshal(b, m, deterministic)
  402. } else {
  403. b = b[:cap(b)]
  404. n, err := m.MarshalTo(b)
  405. if err != nil {
  406. return nil, err
  407. }
  408. return b[:n], nil
  409. }
  410. }
  411. func (dst *DelFavReply) XXX_Merge(src proto.Message) {
  412. xxx_messageInfo_DelFavReply.Merge(dst, src)
  413. }
  414. func (m *DelFavReply) XXX_Size() int {
  415. return m.Size()
  416. }
  417. func (m *DelFavReply) XXX_DiscardUnknown() {
  418. xxx_messageInfo_DelFavReply.DiscardUnknown(m)
  419. }
  420. var xxx_messageInfo_DelFavReply proto.InternalMessageInfo
  421. type DelFavReq struct {
  422. Tp int32 `protobuf:"varint,2,opt,name=tp,proto3" json:"tp,omitempty"`
  423. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  424. Fid int64 `protobuf:"varint,4,opt,name=fid,proto3" json:"fid,omitempty"`
  425. Oid int64 `protobuf:"varint,5,opt,name=oid,proto3" json:"oid,omitempty"`
  426. Otype int32 `protobuf:"varint,6,opt,name=otype,proto3" json:"otype,omitempty"`
  427. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  428. XXX_unrecognized []byte `json:"-"`
  429. XXX_sizecache int32 `json:"-"`
  430. }
  431. func (m *DelFavReq) Reset() { *m = DelFavReq{} }
  432. func (m *DelFavReq) String() string { return proto.CompactTextString(m) }
  433. func (*DelFavReq) ProtoMessage() {}
  434. func (*DelFavReq) Descriptor() ([]byte, []int) {
  435. return fileDescriptor_api_ba1420d9f4484993, []int{7}
  436. }
  437. func (m *DelFavReq) XXX_Unmarshal(b []byte) error {
  438. return m.Unmarshal(b)
  439. }
  440. func (m *DelFavReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  441. if deterministic {
  442. return xxx_messageInfo_DelFavReq.Marshal(b, m, deterministic)
  443. } else {
  444. b = b[:cap(b)]
  445. n, err := m.MarshalTo(b)
  446. if err != nil {
  447. return nil, err
  448. }
  449. return b[:n], nil
  450. }
  451. }
  452. func (dst *DelFavReq) XXX_Merge(src proto.Message) {
  453. xxx_messageInfo_DelFavReq.Merge(dst, src)
  454. }
  455. func (m *DelFavReq) XXX_Size() int {
  456. return m.Size()
  457. }
  458. func (m *DelFavReq) XXX_DiscardUnknown() {
  459. xxx_messageInfo_DelFavReq.DiscardUnknown(m)
  460. }
  461. var xxx_messageInfo_DelFavReq proto.InternalMessageInfo
  462. func (m *DelFavReq) GetTp() int32 {
  463. if m != nil {
  464. return m.Tp
  465. }
  466. return 0
  467. }
  468. func (m *DelFavReq) GetMid() int64 {
  469. if m != nil {
  470. return m.Mid
  471. }
  472. return 0
  473. }
  474. func (m *DelFavReq) GetFid() int64 {
  475. if m != nil {
  476. return m.Fid
  477. }
  478. return 0
  479. }
  480. func (m *DelFavReq) GetOid() int64 {
  481. if m != nil {
  482. return m.Oid
  483. }
  484. return 0
  485. }
  486. func (m *DelFavReq) GetOtype() int32 {
  487. if m != nil {
  488. return m.Otype
  489. }
  490. return 0
  491. }
  492. type FavoritesReply struct {
  493. Res *ModelFavorites `protobuf:"bytes,1,opt,name=res" json:"res,omitempty"`
  494. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  495. XXX_unrecognized []byte `json:"-"`
  496. XXX_sizecache int32 `json:"-"`
  497. }
  498. func (m *FavoritesReply) Reset() { *m = FavoritesReply{} }
  499. func (m *FavoritesReply) String() string { return proto.CompactTextString(m) }
  500. func (*FavoritesReply) ProtoMessage() {}
  501. func (*FavoritesReply) Descriptor() ([]byte, []int) {
  502. return fileDescriptor_api_ba1420d9f4484993, []int{8}
  503. }
  504. func (m *FavoritesReply) XXX_Unmarshal(b []byte) error {
  505. return m.Unmarshal(b)
  506. }
  507. func (m *FavoritesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  508. if deterministic {
  509. return xxx_messageInfo_FavoritesReply.Marshal(b, m, deterministic)
  510. } else {
  511. b = b[:cap(b)]
  512. n, err := m.MarshalTo(b)
  513. if err != nil {
  514. return nil, err
  515. }
  516. return b[:n], nil
  517. }
  518. }
  519. func (dst *FavoritesReply) XXX_Merge(src proto.Message) {
  520. xxx_messageInfo_FavoritesReply.Merge(dst, src)
  521. }
  522. func (m *FavoritesReply) XXX_Size() int {
  523. return m.Size()
  524. }
  525. func (m *FavoritesReply) XXX_DiscardUnknown() {
  526. xxx_messageInfo_FavoritesReply.DiscardUnknown(m)
  527. }
  528. var xxx_messageInfo_FavoritesReply proto.InternalMessageInfo
  529. func (m *FavoritesReply) GetRes() *ModelFavorites {
  530. if m != nil {
  531. return m.Res
  532. }
  533. return nil
  534. }
  535. type FavoritesReq struct {
  536. Tp int32 `protobuf:"varint,2,opt,name=tp,proto3" json:"tp,omitempty"`
  537. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  538. Uid int64 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"`
  539. Fid int64 `protobuf:"varint,5,opt,name=fid,proto3" json:"fid,omitempty"`
  540. Pn int32 `protobuf:"varint,6,opt,name=pn,proto3" json:"pn,omitempty"`
  541. Ps int32 `protobuf:"varint,7,opt,name=ps,proto3" json:"ps,omitempty"`
  542. Tid int32 `protobuf:"varint,8,opt,name=tid,proto3" json:"tid,omitempty"`
  543. Tv int32 `protobuf:"varint,9,opt,name=tv,proto3" json:"tv,omitempty"`
  544. Keyword string `protobuf:"bytes,10,opt,name=keyword,proto3" json:"keyword,omitempty"`
  545. Order string `protobuf:"bytes,11,opt,name=order,proto3" json:"order,omitempty"`
  546. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  547. XXX_unrecognized []byte `json:"-"`
  548. XXX_sizecache int32 `json:"-"`
  549. }
  550. func (m *FavoritesReq) Reset() { *m = FavoritesReq{} }
  551. func (m *FavoritesReq) String() string { return proto.CompactTextString(m) }
  552. func (*FavoritesReq) ProtoMessage() {}
  553. func (*FavoritesReq) Descriptor() ([]byte, []int) {
  554. return fileDescriptor_api_ba1420d9f4484993, []int{9}
  555. }
  556. func (m *FavoritesReq) XXX_Unmarshal(b []byte) error {
  557. return m.Unmarshal(b)
  558. }
  559. func (m *FavoritesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  560. if deterministic {
  561. return xxx_messageInfo_FavoritesReq.Marshal(b, m, deterministic)
  562. } else {
  563. b = b[:cap(b)]
  564. n, err := m.MarshalTo(b)
  565. if err != nil {
  566. return nil, err
  567. }
  568. return b[:n], nil
  569. }
  570. }
  571. func (dst *FavoritesReq) XXX_Merge(src proto.Message) {
  572. xxx_messageInfo_FavoritesReq.Merge(dst, src)
  573. }
  574. func (m *FavoritesReq) XXX_Size() int {
  575. return m.Size()
  576. }
  577. func (m *FavoritesReq) XXX_DiscardUnknown() {
  578. xxx_messageInfo_FavoritesReq.DiscardUnknown(m)
  579. }
  580. var xxx_messageInfo_FavoritesReq proto.InternalMessageInfo
  581. func (m *FavoritesReq) GetTp() int32 {
  582. if m != nil {
  583. return m.Tp
  584. }
  585. return 0
  586. }
  587. func (m *FavoritesReq) GetMid() int64 {
  588. if m != nil {
  589. return m.Mid
  590. }
  591. return 0
  592. }
  593. func (m *FavoritesReq) GetUid() int64 {
  594. if m != nil {
  595. return m.Uid
  596. }
  597. return 0
  598. }
  599. func (m *FavoritesReq) GetFid() int64 {
  600. if m != nil {
  601. return m.Fid
  602. }
  603. return 0
  604. }
  605. func (m *FavoritesReq) GetPn() int32 {
  606. if m != nil {
  607. return m.Pn
  608. }
  609. return 0
  610. }
  611. func (m *FavoritesReq) GetPs() int32 {
  612. if m != nil {
  613. return m.Ps
  614. }
  615. return 0
  616. }
  617. func (m *FavoritesReq) GetTid() int32 {
  618. if m != nil {
  619. return m.Tid
  620. }
  621. return 0
  622. }
  623. func (m *FavoritesReq) GetTv() int32 {
  624. if m != nil {
  625. return m.Tv
  626. }
  627. return 0
  628. }
  629. func (m *FavoritesReq) GetKeyword() string {
  630. if m != nil {
  631. return m.Keyword
  632. }
  633. return ""
  634. }
  635. func (m *FavoritesReq) GetOrder() string {
  636. if m != nil {
  637. return m.Order
  638. }
  639. return ""
  640. }
  641. type TlistsReply struct {
  642. Res []*ModelPartition `protobuf:"bytes,1,rep,name=res" json:"res,omitempty"`
  643. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  644. XXX_unrecognized []byte `json:"-"`
  645. XXX_sizecache int32 `json:"-"`
  646. }
  647. func (m *TlistsReply) Reset() { *m = TlistsReply{} }
  648. func (m *TlistsReply) String() string { return proto.CompactTextString(m) }
  649. func (*TlistsReply) ProtoMessage() {}
  650. func (*TlistsReply) Descriptor() ([]byte, []int) {
  651. return fileDescriptor_api_ba1420d9f4484993, []int{10}
  652. }
  653. func (m *TlistsReply) XXX_Unmarshal(b []byte) error {
  654. return m.Unmarshal(b)
  655. }
  656. func (m *TlistsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  657. if deterministic {
  658. return xxx_messageInfo_TlistsReply.Marshal(b, m, deterministic)
  659. } else {
  660. b = b[:cap(b)]
  661. n, err := m.MarshalTo(b)
  662. if err != nil {
  663. return nil, err
  664. }
  665. return b[:n], nil
  666. }
  667. }
  668. func (dst *TlistsReply) XXX_Merge(src proto.Message) {
  669. xxx_messageInfo_TlistsReply.Merge(dst, src)
  670. }
  671. func (m *TlistsReply) XXX_Size() int {
  672. return m.Size()
  673. }
  674. func (m *TlistsReply) XXX_DiscardUnknown() {
  675. xxx_messageInfo_TlistsReply.DiscardUnknown(m)
  676. }
  677. var xxx_messageInfo_TlistsReply proto.InternalMessageInfo
  678. func (m *TlistsReply) GetRes() []*ModelPartition {
  679. if m != nil {
  680. return m.Res
  681. }
  682. return nil
  683. }
  684. type TlistsReq struct {
  685. Tp int32 `protobuf:"varint,2,opt,name=tp,proto3" json:"tp,omitempty"`
  686. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  687. Uid int64 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"`
  688. Fid int64 `protobuf:"varint,5,opt,name=fid,proto3" json:"fid,omitempty"`
  689. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  690. XXX_unrecognized []byte `json:"-"`
  691. XXX_sizecache int32 `json:"-"`
  692. }
  693. func (m *TlistsReq) Reset() { *m = TlistsReq{} }
  694. func (m *TlistsReq) String() string { return proto.CompactTextString(m) }
  695. func (*TlistsReq) ProtoMessage() {}
  696. func (*TlistsReq) Descriptor() ([]byte, []int) {
  697. return fileDescriptor_api_ba1420d9f4484993, []int{11}
  698. }
  699. func (m *TlistsReq) XXX_Unmarshal(b []byte) error {
  700. return m.Unmarshal(b)
  701. }
  702. func (m *TlistsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  703. if deterministic {
  704. return xxx_messageInfo_TlistsReq.Marshal(b, m, deterministic)
  705. } else {
  706. b = b[:cap(b)]
  707. n, err := m.MarshalTo(b)
  708. if err != nil {
  709. return nil, err
  710. }
  711. return b[:n], nil
  712. }
  713. }
  714. func (dst *TlistsReq) XXX_Merge(src proto.Message) {
  715. xxx_messageInfo_TlistsReq.Merge(dst, src)
  716. }
  717. func (m *TlistsReq) XXX_Size() int {
  718. return m.Size()
  719. }
  720. func (m *TlistsReq) XXX_DiscardUnknown() {
  721. xxx_messageInfo_TlistsReq.DiscardUnknown(m)
  722. }
  723. var xxx_messageInfo_TlistsReq proto.InternalMessageInfo
  724. func (m *TlistsReq) GetTp() int32 {
  725. if m != nil {
  726. return m.Tp
  727. }
  728. return 0
  729. }
  730. func (m *TlistsReq) GetMid() int64 {
  731. if m != nil {
  732. return m.Mid
  733. }
  734. return 0
  735. }
  736. func (m *TlistsReq) GetUid() int64 {
  737. if m != nil {
  738. return m.Uid
  739. }
  740. return 0
  741. }
  742. func (m *TlistsReq) GetFid() int64 {
  743. if m != nil {
  744. return m.Fid
  745. }
  746. return 0
  747. }
  748. type RecentFavsReply struct {
  749. Res []int64 `protobuf:"varint,1,rep,packed,name=res" json:"res,omitempty"`
  750. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  751. XXX_unrecognized []byte `json:"-"`
  752. XXX_sizecache int32 `json:"-"`
  753. }
  754. func (m *RecentFavsReply) Reset() { *m = RecentFavsReply{} }
  755. func (m *RecentFavsReply) String() string { return proto.CompactTextString(m) }
  756. func (*RecentFavsReply) ProtoMessage() {}
  757. func (*RecentFavsReply) Descriptor() ([]byte, []int) {
  758. return fileDescriptor_api_ba1420d9f4484993, []int{12}
  759. }
  760. func (m *RecentFavsReply) XXX_Unmarshal(b []byte) error {
  761. return m.Unmarshal(b)
  762. }
  763. func (m *RecentFavsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  764. if deterministic {
  765. return xxx_messageInfo_RecentFavsReply.Marshal(b, m, deterministic)
  766. } else {
  767. b = b[:cap(b)]
  768. n, err := m.MarshalTo(b)
  769. if err != nil {
  770. return nil, err
  771. }
  772. return b[:n], nil
  773. }
  774. }
  775. func (dst *RecentFavsReply) XXX_Merge(src proto.Message) {
  776. xxx_messageInfo_RecentFavsReply.Merge(dst, src)
  777. }
  778. func (m *RecentFavsReply) XXX_Size() int {
  779. return m.Size()
  780. }
  781. func (m *RecentFavsReply) XXX_DiscardUnknown() {
  782. xxx_messageInfo_RecentFavsReply.DiscardUnknown(m)
  783. }
  784. var xxx_messageInfo_RecentFavsReply proto.InternalMessageInfo
  785. func (m *RecentFavsReply) GetRes() []int64 {
  786. if m != nil {
  787. return m.Res
  788. }
  789. return nil
  790. }
  791. type RecentFavsReq struct {
  792. Tp int32 `protobuf:"varint,2,opt,name=tp,proto3" json:"tp,omitempty"`
  793. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  794. Size_ int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
  795. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  796. XXX_unrecognized []byte `json:"-"`
  797. XXX_sizecache int32 `json:"-"`
  798. }
  799. func (m *RecentFavsReq) Reset() { *m = RecentFavsReq{} }
  800. func (m *RecentFavsReq) String() string { return proto.CompactTextString(m) }
  801. func (*RecentFavsReq) ProtoMessage() {}
  802. func (*RecentFavsReq) Descriptor() ([]byte, []int) {
  803. return fileDescriptor_api_ba1420d9f4484993, []int{13}
  804. }
  805. func (m *RecentFavsReq) XXX_Unmarshal(b []byte) error {
  806. return m.Unmarshal(b)
  807. }
  808. func (m *RecentFavsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  809. if deterministic {
  810. return xxx_messageInfo_RecentFavsReq.Marshal(b, m, deterministic)
  811. } else {
  812. b = b[:cap(b)]
  813. n, err := m.MarshalTo(b)
  814. if err != nil {
  815. return nil, err
  816. }
  817. return b[:n], nil
  818. }
  819. }
  820. func (dst *RecentFavsReq) XXX_Merge(src proto.Message) {
  821. xxx_messageInfo_RecentFavsReq.Merge(dst, src)
  822. }
  823. func (m *RecentFavsReq) XXX_Size() int {
  824. return m.Size()
  825. }
  826. func (m *RecentFavsReq) XXX_DiscardUnknown() {
  827. xxx_messageInfo_RecentFavsReq.DiscardUnknown(m)
  828. }
  829. var xxx_messageInfo_RecentFavsReq proto.InternalMessageInfo
  830. func (m *RecentFavsReq) GetTp() int32 {
  831. if m != nil {
  832. return m.Tp
  833. }
  834. return 0
  835. }
  836. func (m *RecentFavsReq) GetMid() int64 {
  837. if m != nil {
  838. return m.Mid
  839. }
  840. return 0
  841. }
  842. func (m *RecentFavsReq) GetSize_() int32 {
  843. if m != nil {
  844. return m.Size_
  845. }
  846. return 0
  847. }
  848. type IsFavoredReply struct {
  849. Faved bool `protobuf:"varint,1,opt,name=faved,proto3" json:"faved,omitempty"`
  850. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  851. XXX_unrecognized []byte `json:"-"`
  852. XXX_sizecache int32 `json:"-"`
  853. }
  854. func (m *IsFavoredReply) Reset() { *m = IsFavoredReply{} }
  855. func (m *IsFavoredReply) String() string { return proto.CompactTextString(m) }
  856. func (*IsFavoredReply) ProtoMessage() {}
  857. func (*IsFavoredReply) Descriptor() ([]byte, []int) {
  858. return fileDescriptor_api_ba1420d9f4484993, []int{14}
  859. }
  860. func (m *IsFavoredReply) XXX_Unmarshal(b []byte) error {
  861. return m.Unmarshal(b)
  862. }
  863. func (m *IsFavoredReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  864. if deterministic {
  865. return xxx_messageInfo_IsFavoredReply.Marshal(b, m, deterministic)
  866. } else {
  867. b = b[:cap(b)]
  868. n, err := m.MarshalTo(b)
  869. if err != nil {
  870. return nil, err
  871. }
  872. return b[:n], nil
  873. }
  874. }
  875. func (dst *IsFavoredReply) XXX_Merge(src proto.Message) {
  876. xxx_messageInfo_IsFavoredReply.Merge(dst, src)
  877. }
  878. func (m *IsFavoredReply) XXX_Size() int {
  879. return m.Size()
  880. }
  881. func (m *IsFavoredReply) XXX_DiscardUnknown() {
  882. xxx_messageInfo_IsFavoredReply.DiscardUnknown(m)
  883. }
  884. var xxx_messageInfo_IsFavoredReply proto.InternalMessageInfo
  885. func (m *IsFavoredReply) GetFaved() bool {
  886. if m != nil {
  887. return m.Faved
  888. }
  889. return false
  890. }
  891. type IsFavoredReq struct {
  892. Typ int32 `protobuf:"varint,2,opt,name=typ,proto3" json:"typ,omitempty"`
  893. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  894. Oid int64 `protobuf:"varint,4,opt,name=oid,proto3" json:"oid,omitempty"`
  895. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  896. XXX_unrecognized []byte `json:"-"`
  897. XXX_sizecache int32 `json:"-"`
  898. }
  899. func (m *IsFavoredReq) Reset() { *m = IsFavoredReq{} }
  900. func (m *IsFavoredReq) String() string { return proto.CompactTextString(m) }
  901. func (*IsFavoredReq) ProtoMessage() {}
  902. func (*IsFavoredReq) Descriptor() ([]byte, []int) {
  903. return fileDescriptor_api_ba1420d9f4484993, []int{15}
  904. }
  905. func (m *IsFavoredReq) XXX_Unmarshal(b []byte) error {
  906. return m.Unmarshal(b)
  907. }
  908. func (m *IsFavoredReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  909. if deterministic {
  910. return xxx_messageInfo_IsFavoredReq.Marshal(b, m, deterministic)
  911. } else {
  912. b = b[:cap(b)]
  913. n, err := m.MarshalTo(b)
  914. if err != nil {
  915. return nil, err
  916. }
  917. return b[:n], nil
  918. }
  919. }
  920. func (dst *IsFavoredReq) XXX_Merge(src proto.Message) {
  921. xxx_messageInfo_IsFavoredReq.Merge(dst, src)
  922. }
  923. func (m *IsFavoredReq) XXX_Size() int {
  924. return m.Size()
  925. }
  926. func (m *IsFavoredReq) XXX_DiscardUnknown() {
  927. xxx_messageInfo_IsFavoredReq.DiscardUnknown(m)
  928. }
  929. var xxx_messageInfo_IsFavoredReq proto.InternalMessageInfo
  930. func (m *IsFavoredReq) GetTyp() int32 {
  931. if m != nil {
  932. return m.Typ
  933. }
  934. return 0
  935. }
  936. func (m *IsFavoredReq) GetMid() int64 {
  937. if m != nil {
  938. return m.Mid
  939. }
  940. return 0
  941. }
  942. func (m *IsFavoredReq) GetOid() int64 {
  943. if m != nil {
  944. return m.Oid
  945. }
  946. return 0
  947. }
  948. type IsFavoredByFidReq struct {
  949. Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
  950. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  951. Oid int64 `protobuf:"varint,3,opt,name=oid,proto3" json:"oid,omitempty"`
  952. Fid int64 `protobuf:"varint,4,opt,name=fid,proto3" json:"fid,omitempty"`
  953. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  954. XXX_unrecognized []byte `json:"-"`
  955. XXX_sizecache int32 `json:"-"`
  956. }
  957. func (m *IsFavoredByFidReq) Reset() { *m = IsFavoredByFidReq{} }
  958. func (m *IsFavoredByFidReq) String() string { return proto.CompactTextString(m) }
  959. func (*IsFavoredByFidReq) ProtoMessage() {}
  960. func (*IsFavoredByFidReq) Descriptor() ([]byte, []int) {
  961. return fileDescriptor_api_ba1420d9f4484993, []int{16}
  962. }
  963. func (m *IsFavoredByFidReq) XXX_Unmarshal(b []byte) error {
  964. return m.Unmarshal(b)
  965. }
  966. func (m *IsFavoredByFidReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  967. if deterministic {
  968. return xxx_messageInfo_IsFavoredByFidReq.Marshal(b, m, deterministic)
  969. } else {
  970. b = b[:cap(b)]
  971. n, err := m.MarshalTo(b)
  972. if err != nil {
  973. return nil, err
  974. }
  975. return b[:n], nil
  976. }
  977. }
  978. func (dst *IsFavoredByFidReq) XXX_Merge(src proto.Message) {
  979. xxx_messageInfo_IsFavoredByFidReq.Merge(dst, src)
  980. }
  981. func (m *IsFavoredByFidReq) XXX_Size() int {
  982. return m.Size()
  983. }
  984. func (m *IsFavoredByFidReq) XXX_DiscardUnknown() {
  985. xxx_messageInfo_IsFavoredByFidReq.DiscardUnknown(m)
  986. }
  987. var xxx_messageInfo_IsFavoredByFidReq proto.InternalMessageInfo
  988. func (m *IsFavoredByFidReq) GetType() int32 {
  989. if m != nil {
  990. return m.Type
  991. }
  992. return 0
  993. }
  994. func (m *IsFavoredByFidReq) GetMid() int64 {
  995. if m != nil {
  996. return m.Mid
  997. }
  998. return 0
  999. }
  1000. func (m *IsFavoredByFidReq) GetOid() int64 {
  1001. if m != nil {
  1002. return m.Oid
  1003. }
  1004. return 0
  1005. }
  1006. func (m *IsFavoredByFidReq) GetFid() int64 {
  1007. if m != nil {
  1008. return m.Fid
  1009. }
  1010. return 0
  1011. }
  1012. type IsFavoredsReply struct {
  1013. Faveds map[int64]bool `protobuf:"bytes,1,rep,name=faveds" json:"faveds,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  1014. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1015. XXX_unrecognized []byte `json:"-"`
  1016. XXX_sizecache int32 `json:"-"`
  1017. }
  1018. func (m *IsFavoredsReply) Reset() { *m = IsFavoredsReply{} }
  1019. func (m *IsFavoredsReply) String() string { return proto.CompactTextString(m) }
  1020. func (*IsFavoredsReply) ProtoMessage() {}
  1021. func (*IsFavoredsReply) Descriptor() ([]byte, []int) {
  1022. return fileDescriptor_api_ba1420d9f4484993, []int{17}
  1023. }
  1024. func (m *IsFavoredsReply) XXX_Unmarshal(b []byte) error {
  1025. return m.Unmarshal(b)
  1026. }
  1027. func (m *IsFavoredsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1028. if deterministic {
  1029. return xxx_messageInfo_IsFavoredsReply.Marshal(b, m, deterministic)
  1030. } else {
  1031. b = b[:cap(b)]
  1032. n, err := m.MarshalTo(b)
  1033. if err != nil {
  1034. return nil, err
  1035. }
  1036. return b[:n], nil
  1037. }
  1038. }
  1039. func (dst *IsFavoredsReply) XXX_Merge(src proto.Message) {
  1040. xxx_messageInfo_IsFavoredsReply.Merge(dst, src)
  1041. }
  1042. func (m *IsFavoredsReply) XXX_Size() int {
  1043. return m.Size()
  1044. }
  1045. func (m *IsFavoredsReply) XXX_DiscardUnknown() {
  1046. xxx_messageInfo_IsFavoredsReply.DiscardUnknown(m)
  1047. }
  1048. var xxx_messageInfo_IsFavoredsReply proto.InternalMessageInfo
  1049. func (m *IsFavoredsReply) GetFaveds() map[int64]bool {
  1050. if m != nil {
  1051. return m.Faveds
  1052. }
  1053. return nil
  1054. }
  1055. type IsFavoredsReq struct {
  1056. Typ int32 `protobuf:"varint,2,opt,name=typ,proto3" json:"typ,omitempty"`
  1057. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  1058. Oids []int64 `protobuf:"varint,4,rep,packed,name=oids" json:"oids,omitempty"`
  1059. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1060. XXX_unrecognized []byte `json:"-"`
  1061. XXX_sizecache int32 `json:"-"`
  1062. }
  1063. func (m *IsFavoredsReq) Reset() { *m = IsFavoredsReq{} }
  1064. func (m *IsFavoredsReq) String() string { return proto.CompactTextString(m) }
  1065. func (*IsFavoredsReq) ProtoMessage() {}
  1066. func (*IsFavoredsReq) Descriptor() ([]byte, []int) {
  1067. return fileDescriptor_api_ba1420d9f4484993, []int{18}
  1068. }
  1069. func (m *IsFavoredsReq) XXX_Unmarshal(b []byte) error {
  1070. return m.Unmarshal(b)
  1071. }
  1072. func (m *IsFavoredsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1073. if deterministic {
  1074. return xxx_messageInfo_IsFavoredsReq.Marshal(b, m, deterministic)
  1075. } else {
  1076. b = b[:cap(b)]
  1077. n, err := m.MarshalTo(b)
  1078. if err != nil {
  1079. return nil, err
  1080. }
  1081. return b[:n], nil
  1082. }
  1083. }
  1084. func (dst *IsFavoredsReq) XXX_Merge(src proto.Message) {
  1085. xxx_messageInfo_IsFavoredsReq.Merge(dst, src)
  1086. }
  1087. func (m *IsFavoredsReq) XXX_Size() int {
  1088. return m.Size()
  1089. }
  1090. func (m *IsFavoredsReq) XXX_DiscardUnknown() {
  1091. xxx_messageInfo_IsFavoredsReq.DiscardUnknown(m)
  1092. }
  1093. var xxx_messageInfo_IsFavoredsReq proto.InternalMessageInfo
  1094. func (m *IsFavoredsReq) GetTyp() int32 {
  1095. if m != nil {
  1096. return m.Typ
  1097. }
  1098. return 0
  1099. }
  1100. func (m *IsFavoredsReq) GetMid() int64 {
  1101. if m != nil {
  1102. return m.Mid
  1103. }
  1104. return 0
  1105. }
  1106. func (m *IsFavoredsReq) GetOids() []int64 {
  1107. if m != nil {
  1108. return m.Oids
  1109. }
  1110. return nil
  1111. }
  1112. type UserFoldersReply struct {
  1113. Res []*model.Folder `protobuf:"bytes,1,rep,name=res" json:"res,omitempty"`
  1114. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1115. XXX_unrecognized []byte `json:"-"`
  1116. XXX_sizecache int32 `json:"-"`
  1117. }
  1118. func (m *UserFoldersReply) Reset() { *m = UserFoldersReply{} }
  1119. func (m *UserFoldersReply) String() string { return proto.CompactTextString(m) }
  1120. func (*UserFoldersReply) ProtoMessage() {}
  1121. func (*UserFoldersReply) Descriptor() ([]byte, []int) {
  1122. return fileDescriptor_api_ba1420d9f4484993, []int{19}
  1123. }
  1124. func (m *UserFoldersReply) XXX_Unmarshal(b []byte) error {
  1125. return m.Unmarshal(b)
  1126. }
  1127. func (m *UserFoldersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1128. if deterministic {
  1129. return xxx_messageInfo_UserFoldersReply.Marshal(b, m, deterministic)
  1130. } else {
  1131. b = b[:cap(b)]
  1132. n, err := m.MarshalTo(b)
  1133. if err != nil {
  1134. return nil, err
  1135. }
  1136. return b[:n], nil
  1137. }
  1138. }
  1139. func (dst *UserFoldersReply) XXX_Merge(src proto.Message) {
  1140. xxx_messageInfo_UserFoldersReply.Merge(dst, src)
  1141. }
  1142. func (m *UserFoldersReply) XXX_Size() int {
  1143. return m.Size()
  1144. }
  1145. func (m *UserFoldersReply) XXX_DiscardUnknown() {
  1146. xxx_messageInfo_UserFoldersReply.DiscardUnknown(m)
  1147. }
  1148. var xxx_messageInfo_UserFoldersReply proto.InternalMessageInfo
  1149. func (m *UserFoldersReply) GetRes() []*model.Folder {
  1150. if m != nil {
  1151. return m.Res
  1152. }
  1153. return nil
  1154. }
  1155. type UserFoldersReq struct {
  1156. Typ int32 `protobuf:"varint,2,opt,name=typ,proto3" json:"typ,omitempty"`
  1157. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  1158. Vmid int64 `protobuf:"varint,4,opt,name=vmid,proto3" json:"vmid,omitempty"`
  1159. Oid int64 `protobuf:"varint,5,opt,name=oid,proto3" json:"oid,omitempty"`
  1160. AllCount bool `protobuf:"varint,6,opt,name=allCount,proto3" json:"allCount,omitempty"`
  1161. Otype int32 `protobuf:"varint,7,opt,name=otype,proto3" json:"otype,omitempty"`
  1162. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1163. XXX_unrecognized []byte `json:"-"`
  1164. XXX_sizecache int32 `json:"-"`
  1165. }
  1166. func (m *UserFoldersReq) Reset() { *m = UserFoldersReq{} }
  1167. func (m *UserFoldersReq) String() string { return proto.CompactTextString(m) }
  1168. func (*UserFoldersReq) ProtoMessage() {}
  1169. func (*UserFoldersReq) Descriptor() ([]byte, []int) {
  1170. return fileDescriptor_api_ba1420d9f4484993, []int{20}
  1171. }
  1172. func (m *UserFoldersReq) XXX_Unmarshal(b []byte) error {
  1173. return m.Unmarshal(b)
  1174. }
  1175. func (m *UserFoldersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1176. if deterministic {
  1177. return xxx_messageInfo_UserFoldersReq.Marshal(b, m, deterministic)
  1178. } else {
  1179. b = b[:cap(b)]
  1180. n, err := m.MarshalTo(b)
  1181. if err != nil {
  1182. return nil, err
  1183. }
  1184. return b[:n], nil
  1185. }
  1186. }
  1187. func (dst *UserFoldersReq) XXX_Merge(src proto.Message) {
  1188. xxx_messageInfo_UserFoldersReq.Merge(dst, src)
  1189. }
  1190. func (m *UserFoldersReq) XXX_Size() int {
  1191. return m.Size()
  1192. }
  1193. func (m *UserFoldersReq) XXX_DiscardUnknown() {
  1194. xxx_messageInfo_UserFoldersReq.DiscardUnknown(m)
  1195. }
  1196. var xxx_messageInfo_UserFoldersReq proto.InternalMessageInfo
  1197. func (m *UserFoldersReq) GetTyp() int32 {
  1198. if m != nil {
  1199. return m.Typ
  1200. }
  1201. return 0
  1202. }
  1203. func (m *UserFoldersReq) GetMid() int64 {
  1204. if m != nil {
  1205. return m.Mid
  1206. }
  1207. return 0
  1208. }
  1209. func (m *UserFoldersReq) GetVmid() int64 {
  1210. if m != nil {
  1211. return m.Vmid
  1212. }
  1213. return 0
  1214. }
  1215. func (m *UserFoldersReq) GetOid() int64 {
  1216. if m != nil {
  1217. return m.Oid
  1218. }
  1219. return 0
  1220. }
  1221. func (m *UserFoldersReq) GetAllCount() bool {
  1222. if m != nil {
  1223. return m.AllCount
  1224. }
  1225. return false
  1226. }
  1227. func (m *UserFoldersReq) GetOtype() int32 {
  1228. if m != nil {
  1229. return m.Otype
  1230. }
  1231. return 0
  1232. }
  1233. type UserFolderReply struct {
  1234. Res *model.Folder `protobuf:"bytes,1,opt,name=res" json:"res,omitempty"`
  1235. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1236. XXX_unrecognized []byte `json:"-"`
  1237. XXX_sizecache int32 `json:"-"`
  1238. }
  1239. func (m *UserFolderReply) Reset() { *m = UserFolderReply{} }
  1240. func (m *UserFolderReply) String() string { return proto.CompactTextString(m) }
  1241. func (*UserFolderReply) ProtoMessage() {}
  1242. func (*UserFolderReply) Descriptor() ([]byte, []int) {
  1243. return fileDescriptor_api_ba1420d9f4484993, []int{21}
  1244. }
  1245. func (m *UserFolderReply) XXX_Unmarshal(b []byte) error {
  1246. return m.Unmarshal(b)
  1247. }
  1248. func (m *UserFolderReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1249. if deterministic {
  1250. return xxx_messageInfo_UserFolderReply.Marshal(b, m, deterministic)
  1251. } else {
  1252. b = b[:cap(b)]
  1253. n, err := m.MarshalTo(b)
  1254. if err != nil {
  1255. return nil, err
  1256. }
  1257. return b[:n], nil
  1258. }
  1259. }
  1260. func (dst *UserFolderReply) XXX_Merge(src proto.Message) {
  1261. xxx_messageInfo_UserFolderReply.Merge(dst, src)
  1262. }
  1263. func (m *UserFolderReply) XXX_Size() int {
  1264. return m.Size()
  1265. }
  1266. func (m *UserFolderReply) XXX_DiscardUnknown() {
  1267. xxx_messageInfo_UserFolderReply.DiscardUnknown(m)
  1268. }
  1269. var xxx_messageInfo_UserFolderReply proto.InternalMessageInfo
  1270. func (m *UserFolderReply) GetRes() *model.Folder {
  1271. if m != nil {
  1272. return m.Res
  1273. }
  1274. return nil
  1275. }
  1276. type UserFolderReq struct {
  1277. Typ int32 `protobuf:"varint,2,opt,name=typ,proto3" json:"typ,omitempty"`
  1278. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  1279. Vmid int64 `protobuf:"varint,4,opt,name=vmid,proto3" json:"vmid,omitempty"`
  1280. Fid int64 `protobuf:"varint,5,opt,name=fid,proto3" json:"fid,omitempty"`
  1281. AllCount bool `protobuf:"varint,6,opt,name=allCount,proto3" json:"allCount,omitempty"`
  1282. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1283. XXX_unrecognized []byte `json:"-"`
  1284. XXX_sizecache int32 `json:"-"`
  1285. }
  1286. func (m *UserFolderReq) Reset() { *m = UserFolderReq{} }
  1287. func (m *UserFolderReq) String() string { return proto.CompactTextString(m) }
  1288. func (*UserFolderReq) ProtoMessage() {}
  1289. func (*UserFolderReq) Descriptor() ([]byte, []int) {
  1290. return fileDescriptor_api_ba1420d9f4484993, []int{22}
  1291. }
  1292. func (m *UserFolderReq) XXX_Unmarshal(b []byte) error {
  1293. return m.Unmarshal(b)
  1294. }
  1295. func (m *UserFolderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1296. if deterministic {
  1297. return xxx_messageInfo_UserFolderReq.Marshal(b, m, deterministic)
  1298. } else {
  1299. b = b[:cap(b)]
  1300. n, err := m.MarshalTo(b)
  1301. if err != nil {
  1302. return nil, err
  1303. }
  1304. return b[:n], nil
  1305. }
  1306. }
  1307. func (dst *UserFolderReq) XXX_Merge(src proto.Message) {
  1308. xxx_messageInfo_UserFolderReq.Merge(dst, src)
  1309. }
  1310. func (m *UserFolderReq) XXX_Size() int {
  1311. return m.Size()
  1312. }
  1313. func (m *UserFolderReq) XXX_DiscardUnknown() {
  1314. xxx_messageInfo_UserFolderReq.DiscardUnknown(m)
  1315. }
  1316. var xxx_messageInfo_UserFolderReq proto.InternalMessageInfo
  1317. func (m *UserFolderReq) GetTyp() int32 {
  1318. if m != nil {
  1319. return m.Typ
  1320. }
  1321. return 0
  1322. }
  1323. func (m *UserFolderReq) GetMid() int64 {
  1324. if m != nil {
  1325. return m.Mid
  1326. }
  1327. return 0
  1328. }
  1329. func (m *UserFolderReq) GetVmid() int64 {
  1330. if m != nil {
  1331. return m.Vmid
  1332. }
  1333. return 0
  1334. }
  1335. func (m *UserFolderReq) GetFid() int64 {
  1336. if m != nil {
  1337. return m.Fid
  1338. }
  1339. return 0
  1340. }
  1341. func (m *UserFolderReq) GetAllCount() bool {
  1342. if m != nil {
  1343. return m.AllCount
  1344. }
  1345. return false
  1346. }
  1347. type AddFolderReq struct {
  1348. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  1349. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  1350. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  1351. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
  1352. Cover string `protobuf:"bytes,5,opt,name=cover,proto3" json:"cover,omitempty"`
  1353. Public int32 `protobuf:"varint,6,opt,name=public,proto3" json:"public,omitempty"`
  1354. Cookie string `protobuf:"bytes,7,opt,name=cookie,proto3" json:"cookie,omitempty"`
  1355. AccessKey string `protobuf:"bytes,8,opt,name=accessKey,proto3" json:"accessKey,omitempty"`
  1356. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1357. XXX_unrecognized []byte `json:"-"`
  1358. XXX_sizecache int32 `json:"-"`
  1359. }
  1360. func (m *AddFolderReq) Reset() { *m = AddFolderReq{} }
  1361. func (m *AddFolderReq) String() string { return proto.CompactTextString(m) }
  1362. func (*AddFolderReq) ProtoMessage() {}
  1363. func (*AddFolderReq) Descriptor() ([]byte, []int) {
  1364. return fileDescriptor_api_ba1420d9f4484993, []int{23}
  1365. }
  1366. func (m *AddFolderReq) XXX_Unmarshal(b []byte) error {
  1367. return m.Unmarshal(b)
  1368. }
  1369. func (m *AddFolderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1370. if deterministic {
  1371. return xxx_messageInfo_AddFolderReq.Marshal(b, m, deterministic)
  1372. } else {
  1373. b = b[:cap(b)]
  1374. n, err := m.MarshalTo(b)
  1375. if err != nil {
  1376. return nil, err
  1377. }
  1378. return b[:n], nil
  1379. }
  1380. }
  1381. func (dst *AddFolderReq) XXX_Merge(src proto.Message) {
  1382. xxx_messageInfo_AddFolderReq.Merge(dst, src)
  1383. }
  1384. func (m *AddFolderReq) XXX_Size() int {
  1385. return m.Size()
  1386. }
  1387. func (m *AddFolderReq) XXX_DiscardUnknown() {
  1388. xxx_messageInfo_AddFolderReq.DiscardUnknown(m)
  1389. }
  1390. var xxx_messageInfo_AddFolderReq proto.InternalMessageInfo
  1391. func (m *AddFolderReq) GetTyp() int32 {
  1392. if m != nil {
  1393. return m.Typ
  1394. }
  1395. return 0
  1396. }
  1397. func (m *AddFolderReq) GetMid() int64 {
  1398. if m != nil {
  1399. return m.Mid
  1400. }
  1401. return 0
  1402. }
  1403. func (m *AddFolderReq) GetName() string {
  1404. if m != nil {
  1405. return m.Name
  1406. }
  1407. return ""
  1408. }
  1409. func (m *AddFolderReq) GetDescription() string {
  1410. if m != nil {
  1411. return m.Description
  1412. }
  1413. return ""
  1414. }
  1415. func (m *AddFolderReq) GetCover() string {
  1416. if m != nil {
  1417. return m.Cover
  1418. }
  1419. return ""
  1420. }
  1421. func (m *AddFolderReq) GetPublic() int32 {
  1422. if m != nil {
  1423. return m.Public
  1424. }
  1425. return 0
  1426. }
  1427. func (m *AddFolderReq) GetCookie() string {
  1428. if m != nil {
  1429. return m.Cookie
  1430. }
  1431. return ""
  1432. }
  1433. func (m *AddFolderReq) GetAccessKey() string {
  1434. if m != nil {
  1435. return m.AccessKey
  1436. }
  1437. return ""
  1438. }
  1439. type AddFolderReply struct {
  1440. Fid int64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"`
  1441. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1442. XXX_unrecognized []byte `json:"-"`
  1443. XXX_sizecache int32 `json:"-"`
  1444. }
  1445. func (m *AddFolderReply) Reset() { *m = AddFolderReply{} }
  1446. func (m *AddFolderReply) String() string { return proto.CompactTextString(m) }
  1447. func (*AddFolderReply) ProtoMessage() {}
  1448. func (*AddFolderReply) Descriptor() ([]byte, []int) {
  1449. return fileDescriptor_api_ba1420d9f4484993, []int{24}
  1450. }
  1451. func (m *AddFolderReply) XXX_Unmarshal(b []byte) error {
  1452. return m.Unmarshal(b)
  1453. }
  1454. func (m *AddFolderReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1455. if deterministic {
  1456. return xxx_messageInfo_AddFolderReply.Marshal(b, m, deterministic)
  1457. } else {
  1458. b = b[:cap(b)]
  1459. n, err := m.MarshalTo(b)
  1460. if err != nil {
  1461. return nil, err
  1462. }
  1463. return b[:n], nil
  1464. }
  1465. }
  1466. func (dst *AddFolderReply) XXX_Merge(src proto.Message) {
  1467. xxx_messageInfo_AddFolderReply.Merge(dst, src)
  1468. }
  1469. func (m *AddFolderReply) XXX_Size() int {
  1470. return m.Size()
  1471. }
  1472. func (m *AddFolderReply) XXX_DiscardUnknown() {
  1473. xxx_messageInfo_AddFolderReply.DiscardUnknown(m)
  1474. }
  1475. var xxx_messageInfo_AddFolderReply proto.InternalMessageInfo
  1476. func (m *AddFolderReply) GetFid() int64 {
  1477. if m != nil {
  1478. return m.Fid
  1479. }
  1480. return 0
  1481. }
  1482. type UpdateFolderReq struct {
  1483. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  1484. Fid int64 `protobuf:"varint,2,opt,name=fid,proto3" json:"fid,omitempty"`
  1485. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  1486. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  1487. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
  1488. Cover string `protobuf:"bytes,6,opt,name=cover,proto3" json:"cover,omitempty"`
  1489. Public int32 `protobuf:"varint,7,opt,name=public,proto3" json:"public,omitempty"`
  1490. Cookie string `protobuf:"bytes,8,opt,name=cookie,proto3" json:"cookie,omitempty"`
  1491. AccessKey string `protobuf:"bytes,9,opt,name=accessKey,proto3" json:"accessKey,omitempty"`
  1492. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1493. XXX_unrecognized []byte `json:"-"`
  1494. XXX_sizecache int32 `json:"-"`
  1495. }
  1496. func (m *UpdateFolderReq) Reset() { *m = UpdateFolderReq{} }
  1497. func (m *UpdateFolderReq) String() string { return proto.CompactTextString(m) }
  1498. func (*UpdateFolderReq) ProtoMessage() {}
  1499. func (*UpdateFolderReq) Descriptor() ([]byte, []int) {
  1500. return fileDescriptor_api_ba1420d9f4484993, []int{25}
  1501. }
  1502. func (m *UpdateFolderReq) XXX_Unmarshal(b []byte) error {
  1503. return m.Unmarshal(b)
  1504. }
  1505. func (m *UpdateFolderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1506. if deterministic {
  1507. return xxx_messageInfo_UpdateFolderReq.Marshal(b, m, deterministic)
  1508. } else {
  1509. b = b[:cap(b)]
  1510. n, err := m.MarshalTo(b)
  1511. if err != nil {
  1512. return nil, err
  1513. }
  1514. return b[:n], nil
  1515. }
  1516. }
  1517. func (dst *UpdateFolderReq) XXX_Merge(src proto.Message) {
  1518. xxx_messageInfo_UpdateFolderReq.Merge(dst, src)
  1519. }
  1520. func (m *UpdateFolderReq) XXX_Size() int {
  1521. return m.Size()
  1522. }
  1523. func (m *UpdateFolderReq) XXX_DiscardUnknown() {
  1524. xxx_messageInfo_UpdateFolderReq.DiscardUnknown(m)
  1525. }
  1526. var xxx_messageInfo_UpdateFolderReq proto.InternalMessageInfo
  1527. func (m *UpdateFolderReq) GetTyp() int32 {
  1528. if m != nil {
  1529. return m.Typ
  1530. }
  1531. return 0
  1532. }
  1533. func (m *UpdateFolderReq) GetFid() int64 {
  1534. if m != nil {
  1535. return m.Fid
  1536. }
  1537. return 0
  1538. }
  1539. func (m *UpdateFolderReq) GetMid() int64 {
  1540. if m != nil {
  1541. return m.Mid
  1542. }
  1543. return 0
  1544. }
  1545. func (m *UpdateFolderReq) GetName() string {
  1546. if m != nil {
  1547. return m.Name
  1548. }
  1549. return ""
  1550. }
  1551. func (m *UpdateFolderReq) GetDescription() string {
  1552. if m != nil {
  1553. return m.Description
  1554. }
  1555. return ""
  1556. }
  1557. func (m *UpdateFolderReq) GetCover() string {
  1558. if m != nil {
  1559. return m.Cover
  1560. }
  1561. return ""
  1562. }
  1563. func (m *UpdateFolderReq) GetPublic() int32 {
  1564. if m != nil {
  1565. return m.Public
  1566. }
  1567. return 0
  1568. }
  1569. func (m *UpdateFolderReq) GetCookie() string {
  1570. if m != nil {
  1571. return m.Cookie
  1572. }
  1573. return ""
  1574. }
  1575. func (m *UpdateFolderReq) GetAccessKey() string {
  1576. if m != nil {
  1577. return m.AccessKey
  1578. }
  1579. return ""
  1580. }
  1581. type AdminUpdateFolderReq struct {
  1582. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  1583. Fid int64 `protobuf:"varint,2,opt,name=fid,proto3" json:"fid,omitempty"`
  1584. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  1585. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  1586. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
  1587. Cover string `protobuf:"bytes,6,opt,name=cover,proto3" json:"cover,omitempty"`
  1588. State int32 `protobuf:"varint,7,opt,name=state,proto3" json:"state,omitempty"`
  1589. Attr int32 `protobuf:"varint,8,opt,name=attr,proto3" json:"attr,omitempty"`
  1590. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1591. XXX_unrecognized []byte `json:"-"`
  1592. XXX_sizecache int32 `json:"-"`
  1593. }
  1594. func (m *AdminUpdateFolderReq) Reset() { *m = AdminUpdateFolderReq{} }
  1595. func (m *AdminUpdateFolderReq) String() string { return proto.CompactTextString(m) }
  1596. func (*AdminUpdateFolderReq) ProtoMessage() {}
  1597. func (*AdminUpdateFolderReq) Descriptor() ([]byte, []int) {
  1598. return fileDescriptor_api_ba1420d9f4484993, []int{26}
  1599. }
  1600. func (m *AdminUpdateFolderReq) XXX_Unmarshal(b []byte) error {
  1601. return m.Unmarshal(b)
  1602. }
  1603. func (m *AdminUpdateFolderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1604. if deterministic {
  1605. return xxx_messageInfo_AdminUpdateFolderReq.Marshal(b, m, deterministic)
  1606. } else {
  1607. b = b[:cap(b)]
  1608. n, err := m.MarshalTo(b)
  1609. if err != nil {
  1610. return nil, err
  1611. }
  1612. return b[:n], nil
  1613. }
  1614. }
  1615. func (dst *AdminUpdateFolderReq) XXX_Merge(src proto.Message) {
  1616. xxx_messageInfo_AdminUpdateFolderReq.Merge(dst, src)
  1617. }
  1618. func (m *AdminUpdateFolderReq) XXX_Size() int {
  1619. return m.Size()
  1620. }
  1621. func (m *AdminUpdateFolderReq) XXX_DiscardUnknown() {
  1622. xxx_messageInfo_AdminUpdateFolderReq.DiscardUnknown(m)
  1623. }
  1624. var xxx_messageInfo_AdminUpdateFolderReq proto.InternalMessageInfo
  1625. func (m *AdminUpdateFolderReq) GetTyp() int32 {
  1626. if m != nil {
  1627. return m.Typ
  1628. }
  1629. return 0
  1630. }
  1631. func (m *AdminUpdateFolderReq) GetFid() int64 {
  1632. if m != nil {
  1633. return m.Fid
  1634. }
  1635. return 0
  1636. }
  1637. func (m *AdminUpdateFolderReq) GetMid() int64 {
  1638. if m != nil {
  1639. return m.Mid
  1640. }
  1641. return 0
  1642. }
  1643. func (m *AdminUpdateFolderReq) GetName() string {
  1644. if m != nil {
  1645. return m.Name
  1646. }
  1647. return ""
  1648. }
  1649. func (m *AdminUpdateFolderReq) GetDescription() string {
  1650. if m != nil {
  1651. return m.Description
  1652. }
  1653. return ""
  1654. }
  1655. func (m *AdminUpdateFolderReq) GetCover() string {
  1656. if m != nil {
  1657. return m.Cover
  1658. }
  1659. return ""
  1660. }
  1661. func (m *AdminUpdateFolderReq) GetState() int32 {
  1662. if m != nil {
  1663. return m.State
  1664. }
  1665. return 0
  1666. }
  1667. func (m *AdminUpdateFolderReq) GetAttr() int32 {
  1668. if m != nil {
  1669. return m.Attr
  1670. }
  1671. return 0
  1672. }
  1673. type DelFolderReq struct {
  1674. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  1675. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  1676. Fid int64 `protobuf:"varint,3,opt,name=fid,proto3" json:"fid,omitempty"`
  1677. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1678. XXX_unrecognized []byte `json:"-"`
  1679. XXX_sizecache int32 `json:"-"`
  1680. }
  1681. func (m *DelFolderReq) Reset() { *m = DelFolderReq{} }
  1682. func (m *DelFolderReq) String() string { return proto.CompactTextString(m) }
  1683. func (*DelFolderReq) ProtoMessage() {}
  1684. func (*DelFolderReq) Descriptor() ([]byte, []int) {
  1685. return fileDescriptor_api_ba1420d9f4484993, []int{27}
  1686. }
  1687. func (m *DelFolderReq) XXX_Unmarshal(b []byte) error {
  1688. return m.Unmarshal(b)
  1689. }
  1690. func (m *DelFolderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1691. if deterministic {
  1692. return xxx_messageInfo_DelFolderReq.Marshal(b, m, deterministic)
  1693. } else {
  1694. b = b[:cap(b)]
  1695. n, err := m.MarshalTo(b)
  1696. if err != nil {
  1697. return nil, err
  1698. }
  1699. return b[:n], nil
  1700. }
  1701. }
  1702. func (dst *DelFolderReq) XXX_Merge(src proto.Message) {
  1703. xxx_messageInfo_DelFolderReq.Merge(dst, src)
  1704. }
  1705. func (m *DelFolderReq) XXX_Size() int {
  1706. return m.Size()
  1707. }
  1708. func (m *DelFolderReq) XXX_DiscardUnknown() {
  1709. xxx_messageInfo_DelFolderReq.DiscardUnknown(m)
  1710. }
  1711. var xxx_messageInfo_DelFolderReq proto.InternalMessageInfo
  1712. func (m *DelFolderReq) GetTyp() int32 {
  1713. if m != nil {
  1714. return m.Typ
  1715. }
  1716. return 0
  1717. }
  1718. func (m *DelFolderReq) GetMid() int64 {
  1719. if m != nil {
  1720. return m.Mid
  1721. }
  1722. return 0
  1723. }
  1724. func (m *DelFolderReq) GetFid() int64 {
  1725. if m != nil {
  1726. return m.Fid
  1727. }
  1728. return 0
  1729. }
  1730. type MultiAddReq struct {
  1731. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  1732. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  1733. Oids []int64 `protobuf:"varint,3,rep,packed,name=oids" json:"oids,omitempty"`
  1734. Fid int64 `protobuf:"varint,4,opt,name=fid,proto3" json:"fid,omitempty"`
  1735. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1736. XXX_unrecognized []byte `json:"-"`
  1737. XXX_sizecache int32 `json:"-"`
  1738. }
  1739. func (m *MultiAddReq) Reset() { *m = MultiAddReq{} }
  1740. func (m *MultiAddReq) String() string { return proto.CompactTextString(m) }
  1741. func (*MultiAddReq) ProtoMessage() {}
  1742. func (*MultiAddReq) Descriptor() ([]byte, []int) {
  1743. return fileDescriptor_api_ba1420d9f4484993, []int{28}
  1744. }
  1745. func (m *MultiAddReq) XXX_Unmarshal(b []byte) error {
  1746. return m.Unmarshal(b)
  1747. }
  1748. func (m *MultiAddReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1749. if deterministic {
  1750. return xxx_messageInfo_MultiAddReq.Marshal(b, m, deterministic)
  1751. } else {
  1752. b = b[:cap(b)]
  1753. n, err := m.MarshalTo(b)
  1754. if err != nil {
  1755. return nil, err
  1756. }
  1757. return b[:n], nil
  1758. }
  1759. }
  1760. func (dst *MultiAddReq) XXX_Merge(src proto.Message) {
  1761. xxx_messageInfo_MultiAddReq.Merge(dst, src)
  1762. }
  1763. func (m *MultiAddReq) XXX_Size() int {
  1764. return m.Size()
  1765. }
  1766. func (m *MultiAddReq) XXX_DiscardUnknown() {
  1767. xxx_messageInfo_MultiAddReq.DiscardUnknown(m)
  1768. }
  1769. var xxx_messageInfo_MultiAddReq proto.InternalMessageInfo
  1770. func (m *MultiAddReq) GetTyp() int32 {
  1771. if m != nil {
  1772. return m.Typ
  1773. }
  1774. return 0
  1775. }
  1776. func (m *MultiAddReq) GetMid() int64 {
  1777. if m != nil {
  1778. return m.Mid
  1779. }
  1780. return 0
  1781. }
  1782. func (m *MultiAddReq) GetOids() []int64 {
  1783. if m != nil {
  1784. return m.Oids
  1785. }
  1786. return nil
  1787. }
  1788. func (m *MultiAddReq) GetFid() int64 {
  1789. if m != nil {
  1790. return m.Fid
  1791. }
  1792. return 0
  1793. }
  1794. type MultiDelReq struct {
  1795. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  1796. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  1797. Oids []int64 `protobuf:"varint,3,rep,packed,name=oids" json:"oids,omitempty"`
  1798. Fid int64 `protobuf:"varint,4,opt,name=fid,proto3" json:"fid,omitempty"`
  1799. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1800. XXX_unrecognized []byte `json:"-"`
  1801. XXX_sizecache int32 `json:"-"`
  1802. }
  1803. func (m *MultiDelReq) Reset() { *m = MultiDelReq{} }
  1804. func (m *MultiDelReq) String() string { return proto.CompactTextString(m) }
  1805. func (*MultiDelReq) ProtoMessage() {}
  1806. func (*MultiDelReq) Descriptor() ([]byte, []int) {
  1807. return fileDescriptor_api_ba1420d9f4484993, []int{29}
  1808. }
  1809. func (m *MultiDelReq) XXX_Unmarshal(b []byte) error {
  1810. return m.Unmarshal(b)
  1811. }
  1812. func (m *MultiDelReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1813. if deterministic {
  1814. return xxx_messageInfo_MultiDelReq.Marshal(b, m, deterministic)
  1815. } else {
  1816. b = b[:cap(b)]
  1817. n, err := m.MarshalTo(b)
  1818. if err != nil {
  1819. return nil, err
  1820. }
  1821. return b[:n], nil
  1822. }
  1823. }
  1824. func (dst *MultiDelReq) XXX_Merge(src proto.Message) {
  1825. xxx_messageInfo_MultiDelReq.Merge(dst, src)
  1826. }
  1827. func (m *MultiDelReq) XXX_Size() int {
  1828. return m.Size()
  1829. }
  1830. func (m *MultiDelReq) XXX_DiscardUnknown() {
  1831. xxx_messageInfo_MultiDelReq.DiscardUnknown(m)
  1832. }
  1833. var xxx_messageInfo_MultiDelReq proto.InternalMessageInfo
  1834. func (m *MultiDelReq) GetTyp() int32 {
  1835. if m != nil {
  1836. return m.Typ
  1837. }
  1838. return 0
  1839. }
  1840. func (m *MultiDelReq) GetMid() int64 {
  1841. if m != nil {
  1842. return m.Mid
  1843. }
  1844. return 0
  1845. }
  1846. func (m *MultiDelReq) GetOids() []int64 {
  1847. if m != nil {
  1848. return m.Oids
  1849. }
  1850. return nil
  1851. }
  1852. func (m *MultiDelReq) GetFid() int64 {
  1853. if m != nil {
  1854. return m.Fid
  1855. }
  1856. return 0
  1857. }
  1858. type InDefaultFolderReq struct {
  1859. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  1860. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  1861. Oid int64 `protobuf:"varint,3,opt,name=oid,proto3" json:"oid,omitempty"`
  1862. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1863. XXX_unrecognized []byte `json:"-"`
  1864. XXX_sizecache int32 `json:"-"`
  1865. }
  1866. func (m *InDefaultFolderReq) Reset() { *m = InDefaultFolderReq{} }
  1867. func (m *InDefaultFolderReq) String() string { return proto.CompactTextString(m) }
  1868. func (*InDefaultFolderReq) ProtoMessage() {}
  1869. func (*InDefaultFolderReq) Descriptor() ([]byte, []int) {
  1870. return fileDescriptor_api_ba1420d9f4484993, []int{30}
  1871. }
  1872. func (m *InDefaultFolderReq) XXX_Unmarshal(b []byte) error {
  1873. return m.Unmarshal(b)
  1874. }
  1875. func (m *InDefaultFolderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1876. if deterministic {
  1877. return xxx_messageInfo_InDefaultFolderReq.Marshal(b, m, deterministic)
  1878. } else {
  1879. b = b[:cap(b)]
  1880. n, err := m.MarshalTo(b)
  1881. if err != nil {
  1882. return nil, err
  1883. }
  1884. return b[:n], nil
  1885. }
  1886. }
  1887. func (dst *InDefaultFolderReq) XXX_Merge(src proto.Message) {
  1888. xxx_messageInfo_InDefaultFolderReq.Merge(dst, src)
  1889. }
  1890. func (m *InDefaultFolderReq) XXX_Size() int {
  1891. return m.Size()
  1892. }
  1893. func (m *InDefaultFolderReq) XXX_DiscardUnknown() {
  1894. xxx_messageInfo_InDefaultFolderReq.DiscardUnknown(m)
  1895. }
  1896. var xxx_messageInfo_InDefaultFolderReq proto.InternalMessageInfo
  1897. func (m *InDefaultFolderReq) GetTyp() int32 {
  1898. if m != nil {
  1899. return m.Typ
  1900. }
  1901. return 0
  1902. }
  1903. func (m *InDefaultFolderReq) GetMid() int64 {
  1904. if m != nil {
  1905. return m.Mid
  1906. }
  1907. return 0
  1908. }
  1909. func (m *InDefaultFolderReq) GetOid() int64 {
  1910. if m != nil {
  1911. return m.Oid
  1912. }
  1913. return 0
  1914. }
  1915. type InDefaultFolderReply struct {
  1916. IsIn bool `protobuf:"varint,1,opt,name=isIn,proto3" json:"isIn,omitempty"`
  1917. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1918. XXX_unrecognized []byte `json:"-"`
  1919. XXX_sizecache int32 `json:"-"`
  1920. }
  1921. func (m *InDefaultFolderReply) Reset() { *m = InDefaultFolderReply{} }
  1922. func (m *InDefaultFolderReply) String() string { return proto.CompactTextString(m) }
  1923. func (*InDefaultFolderReply) ProtoMessage() {}
  1924. func (*InDefaultFolderReply) Descriptor() ([]byte, []int) {
  1925. return fileDescriptor_api_ba1420d9f4484993, []int{31}
  1926. }
  1927. func (m *InDefaultFolderReply) XXX_Unmarshal(b []byte) error {
  1928. return m.Unmarshal(b)
  1929. }
  1930. func (m *InDefaultFolderReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1931. if deterministic {
  1932. return xxx_messageInfo_InDefaultFolderReply.Marshal(b, m, deterministic)
  1933. } else {
  1934. b = b[:cap(b)]
  1935. n, err := m.MarshalTo(b)
  1936. if err != nil {
  1937. return nil, err
  1938. }
  1939. return b[:n], nil
  1940. }
  1941. }
  1942. func (dst *InDefaultFolderReply) XXX_Merge(src proto.Message) {
  1943. xxx_messageInfo_InDefaultFolderReply.Merge(dst, src)
  1944. }
  1945. func (m *InDefaultFolderReply) XXX_Size() int {
  1946. return m.Size()
  1947. }
  1948. func (m *InDefaultFolderReply) XXX_DiscardUnknown() {
  1949. xxx_messageInfo_InDefaultFolderReply.DiscardUnknown(m)
  1950. }
  1951. var xxx_messageInfo_InDefaultFolderReply proto.InternalMessageInfo
  1952. func (m *InDefaultFolderReply) GetIsIn() bool {
  1953. if m != nil {
  1954. return m.IsIn
  1955. }
  1956. return false
  1957. }
  1958. type CntUserFoldersReq struct {
  1959. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  1960. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  1961. Vmid int64 `protobuf:"varint,3,opt,name=vmid,proto3" json:"vmid,omitempty"`
  1962. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1963. XXX_unrecognized []byte `json:"-"`
  1964. XXX_sizecache int32 `json:"-"`
  1965. }
  1966. func (m *CntUserFoldersReq) Reset() { *m = CntUserFoldersReq{} }
  1967. func (m *CntUserFoldersReq) String() string { return proto.CompactTextString(m) }
  1968. func (*CntUserFoldersReq) ProtoMessage() {}
  1969. func (*CntUserFoldersReq) Descriptor() ([]byte, []int) {
  1970. return fileDescriptor_api_ba1420d9f4484993, []int{32}
  1971. }
  1972. func (m *CntUserFoldersReq) XXX_Unmarshal(b []byte) error {
  1973. return m.Unmarshal(b)
  1974. }
  1975. func (m *CntUserFoldersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1976. if deterministic {
  1977. return xxx_messageInfo_CntUserFoldersReq.Marshal(b, m, deterministic)
  1978. } else {
  1979. b = b[:cap(b)]
  1980. n, err := m.MarshalTo(b)
  1981. if err != nil {
  1982. return nil, err
  1983. }
  1984. return b[:n], nil
  1985. }
  1986. }
  1987. func (dst *CntUserFoldersReq) XXX_Merge(src proto.Message) {
  1988. xxx_messageInfo_CntUserFoldersReq.Merge(dst, src)
  1989. }
  1990. func (m *CntUserFoldersReq) XXX_Size() int {
  1991. return m.Size()
  1992. }
  1993. func (m *CntUserFoldersReq) XXX_DiscardUnknown() {
  1994. xxx_messageInfo_CntUserFoldersReq.DiscardUnknown(m)
  1995. }
  1996. var xxx_messageInfo_CntUserFoldersReq proto.InternalMessageInfo
  1997. func (m *CntUserFoldersReq) GetTyp() int32 {
  1998. if m != nil {
  1999. return m.Typ
  2000. }
  2001. return 0
  2002. }
  2003. func (m *CntUserFoldersReq) GetMid() int64 {
  2004. if m != nil {
  2005. return m.Mid
  2006. }
  2007. return 0
  2008. }
  2009. func (m *CntUserFoldersReq) GetVmid() int64 {
  2010. if m != nil {
  2011. return m.Vmid
  2012. }
  2013. return 0
  2014. }
  2015. type CntUserFoldersReply struct {
  2016. Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
  2017. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2018. XXX_unrecognized []byte `json:"-"`
  2019. XXX_sizecache int32 `json:"-"`
  2020. }
  2021. func (m *CntUserFoldersReply) Reset() { *m = CntUserFoldersReply{} }
  2022. func (m *CntUserFoldersReply) String() string { return proto.CompactTextString(m) }
  2023. func (*CntUserFoldersReply) ProtoMessage() {}
  2024. func (*CntUserFoldersReply) Descriptor() ([]byte, []int) {
  2025. return fileDescriptor_api_ba1420d9f4484993, []int{33}
  2026. }
  2027. func (m *CntUserFoldersReply) XXX_Unmarshal(b []byte) error {
  2028. return m.Unmarshal(b)
  2029. }
  2030. func (m *CntUserFoldersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2031. if deterministic {
  2032. return xxx_messageInfo_CntUserFoldersReply.Marshal(b, m, deterministic)
  2033. } else {
  2034. b = b[:cap(b)]
  2035. n, err := m.MarshalTo(b)
  2036. if err != nil {
  2037. return nil, err
  2038. }
  2039. return b[:n], nil
  2040. }
  2041. }
  2042. func (dst *CntUserFoldersReply) XXX_Merge(src proto.Message) {
  2043. xxx_messageInfo_CntUserFoldersReply.Merge(dst, src)
  2044. }
  2045. func (m *CntUserFoldersReply) XXX_Size() int {
  2046. return m.Size()
  2047. }
  2048. func (m *CntUserFoldersReply) XXX_DiscardUnknown() {
  2049. xxx_messageInfo_CntUserFoldersReply.DiscardUnknown(m)
  2050. }
  2051. var xxx_messageInfo_CntUserFoldersReply proto.InternalMessageInfo
  2052. func (m *CntUserFoldersReply) GetCount() int32 {
  2053. if m != nil {
  2054. return m.Count
  2055. }
  2056. return 0
  2057. }
  2058. type User struct {
  2059. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  2060. Oid int64 `protobuf:"varint,2,opt,name=oid,proto3" json:"oid,omitempty"`
  2061. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  2062. Typ int32 `protobuf:"varint,4,opt,name=typ,proto3" json:"typ,omitempty"`
  2063. State int32 `protobuf:"varint,5,opt,name=state,proto3" json:"state,omitempty"`
  2064. Ctime int64 `protobuf:"varint,6,opt,name=ctime,proto3" json:"ctime,omitempty"`
  2065. Mtime int64 `protobuf:"varint,7,opt,name=mtime,proto3" json:"mtime,omitempty"`
  2066. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2067. XXX_unrecognized []byte `json:"-"`
  2068. XXX_sizecache int32 `json:"-"`
  2069. }
  2070. func (m *User) Reset() { *m = User{} }
  2071. func (m *User) String() string { return proto.CompactTextString(m) }
  2072. func (*User) ProtoMessage() {}
  2073. func (*User) Descriptor() ([]byte, []int) {
  2074. return fileDescriptor_api_ba1420d9f4484993, []int{34}
  2075. }
  2076. func (m *User) XXX_Unmarshal(b []byte) error {
  2077. return m.Unmarshal(b)
  2078. }
  2079. func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2080. if deterministic {
  2081. return xxx_messageInfo_User.Marshal(b, m, deterministic)
  2082. } else {
  2083. b = b[:cap(b)]
  2084. n, err := m.MarshalTo(b)
  2085. if err != nil {
  2086. return nil, err
  2087. }
  2088. return b[:n], nil
  2089. }
  2090. }
  2091. func (dst *User) XXX_Merge(src proto.Message) {
  2092. xxx_messageInfo_User.Merge(dst, src)
  2093. }
  2094. func (m *User) XXX_Size() int {
  2095. return m.Size()
  2096. }
  2097. func (m *User) XXX_DiscardUnknown() {
  2098. xxx_messageInfo_User.DiscardUnknown(m)
  2099. }
  2100. var xxx_messageInfo_User proto.InternalMessageInfo
  2101. func (m *User) GetId() int64 {
  2102. if m != nil {
  2103. return m.Id
  2104. }
  2105. return 0
  2106. }
  2107. func (m *User) GetOid() int64 {
  2108. if m != nil {
  2109. return m.Oid
  2110. }
  2111. return 0
  2112. }
  2113. func (m *User) GetMid() int64 {
  2114. if m != nil {
  2115. return m.Mid
  2116. }
  2117. return 0
  2118. }
  2119. func (m *User) GetTyp() int32 {
  2120. if m != nil {
  2121. return m.Typ
  2122. }
  2123. return 0
  2124. }
  2125. func (m *User) GetState() int32 {
  2126. if m != nil {
  2127. return m.State
  2128. }
  2129. return 0
  2130. }
  2131. func (m *User) GetCtime() int64 {
  2132. if m != nil {
  2133. return m.Ctime
  2134. }
  2135. return 0
  2136. }
  2137. func (m *User) GetMtime() int64 {
  2138. if m != nil {
  2139. return m.Mtime
  2140. }
  2141. return 0
  2142. }
  2143. type FavedUsersReply struct {
  2144. Page *ModelPage `protobuf:"bytes,1,opt,name=page" json:"page,omitempty"`
  2145. User []*User `protobuf:"bytes,2,rep,name=user" json:"user,omitempty"`
  2146. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2147. XXX_unrecognized []byte `json:"-"`
  2148. XXX_sizecache int32 `json:"-"`
  2149. }
  2150. func (m *FavedUsersReply) Reset() { *m = FavedUsersReply{} }
  2151. func (m *FavedUsersReply) String() string { return proto.CompactTextString(m) }
  2152. func (*FavedUsersReply) ProtoMessage() {}
  2153. func (*FavedUsersReply) Descriptor() ([]byte, []int) {
  2154. return fileDescriptor_api_ba1420d9f4484993, []int{35}
  2155. }
  2156. func (m *FavedUsersReply) XXX_Unmarshal(b []byte) error {
  2157. return m.Unmarshal(b)
  2158. }
  2159. func (m *FavedUsersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2160. if deterministic {
  2161. return xxx_messageInfo_FavedUsersReply.Marshal(b, m, deterministic)
  2162. } else {
  2163. b = b[:cap(b)]
  2164. n, err := m.MarshalTo(b)
  2165. if err != nil {
  2166. return nil, err
  2167. }
  2168. return b[:n], nil
  2169. }
  2170. }
  2171. func (dst *FavedUsersReply) XXX_Merge(src proto.Message) {
  2172. xxx_messageInfo_FavedUsersReply.Merge(dst, src)
  2173. }
  2174. func (m *FavedUsersReply) XXX_Size() int {
  2175. return m.Size()
  2176. }
  2177. func (m *FavedUsersReply) XXX_DiscardUnknown() {
  2178. xxx_messageInfo_FavedUsersReply.DiscardUnknown(m)
  2179. }
  2180. var xxx_messageInfo_FavedUsersReply proto.InternalMessageInfo
  2181. func (m *FavedUsersReply) GetPage() *ModelPage {
  2182. if m != nil {
  2183. return m.Page
  2184. }
  2185. return nil
  2186. }
  2187. func (m *FavedUsersReply) GetUser() []*User {
  2188. if m != nil {
  2189. return m.User
  2190. }
  2191. return nil
  2192. }
  2193. type FavedUsersReq struct {
  2194. Type int32 `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
  2195. Oid int64 `protobuf:"varint,2,opt,name=Oid,proto3" json:"Oid,omitempty"`
  2196. Pn int32 `protobuf:"varint,3,opt,name=pn,proto3" json:"pn,omitempty"`
  2197. Ps int32 `protobuf:"varint,4,opt,name=ps,proto3" json:"ps,omitempty"`
  2198. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2199. XXX_unrecognized []byte `json:"-"`
  2200. XXX_sizecache int32 `json:"-"`
  2201. }
  2202. func (m *FavedUsersReq) Reset() { *m = FavedUsersReq{} }
  2203. func (m *FavedUsersReq) String() string { return proto.CompactTextString(m) }
  2204. func (*FavedUsersReq) ProtoMessage() {}
  2205. func (*FavedUsersReq) Descriptor() ([]byte, []int) {
  2206. return fileDescriptor_api_ba1420d9f4484993, []int{36}
  2207. }
  2208. func (m *FavedUsersReq) XXX_Unmarshal(b []byte) error {
  2209. return m.Unmarshal(b)
  2210. }
  2211. func (m *FavedUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2212. if deterministic {
  2213. return xxx_messageInfo_FavedUsersReq.Marshal(b, m, deterministic)
  2214. } else {
  2215. b = b[:cap(b)]
  2216. n, err := m.MarshalTo(b)
  2217. if err != nil {
  2218. return nil, err
  2219. }
  2220. return b[:n], nil
  2221. }
  2222. }
  2223. func (dst *FavedUsersReq) XXX_Merge(src proto.Message) {
  2224. xxx_messageInfo_FavedUsersReq.Merge(dst, src)
  2225. }
  2226. func (m *FavedUsersReq) XXX_Size() int {
  2227. return m.Size()
  2228. }
  2229. func (m *FavedUsersReq) XXX_DiscardUnknown() {
  2230. xxx_messageInfo_FavedUsersReq.DiscardUnknown(m)
  2231. }
  2232. var xxx_messageInfo_FavedUsersReq proto.InternalMessageInfo
  2233. func (m *FavedUsersReq) GetType() int32 {
  2234. if m != nil {
  2235. return m.Type
  2236. }
  2237. return 0
  2238. }
  2239. func (m *FavedUsersReq) GetOid() int64 {
  2240. if m != nil {
  2241. return m.Oid
  2242. }
  2243. return 0
  2244. }
  2245. func (m *FavedUsersReq) GetPn() int32 {
  2246. if m != nil {
  2247. return m.Pn
  2248. }
  2249. return 0
  2250. }
  2251. func (m *FavedUsersReq) GetPs() int32 {
  2252. if m != nil {
  2253. return m.Ps
  2254. }
  2255. return 0
  2256. }
  2257. type SetFolderSortReq struct {
  2258. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  2259. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  2260. Fids []int64 `protobuf:"varint,4,rep,packed,name=fids" json:"fids,omitempty"`
  2261. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2262. XXX_unrecognized []byte `json:"-"`
  2263. XXX_sizecache int32 `json:"-"`
  2264. }
  2265. func (m *SetFolderSortReq) Reset() { *m = SetFolderSortReq{} }
  2266. func (m *SetFolderSortReq) String() string { return proto.CompactTextString(m) }
  2267. func (*SetFolderSortReq) ProtoMessage() {}
  2268. func (*SetFolderSortReq) Descriptor() ([]byte, []int) {
  2269. return fileDescriptor_api_ba1420d9f4484993, []int{37}
  2270. }
  2271. func (m *SetFolderSortReq) XXX_Unmarshal(b []byte) error {
  2272. return m.Unmarshal(b)
  2273. }
  2274. func (m *SetFolderSortReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2275. if deterministic {
  2276. return xxx_messageInfo_SetFolderSortReq.Marshal(b, m, deterministic)
  2277. } else {
  2278. b = b[:cap(b)]
  2279. n, err := m.MarshalTo(b)
  2280. if err != nil {
  2281. return nil, err
  2282. }
  2283. return b[:n], nil
  2284. }
  2285. }
  2286. func (dst *SetFolderSortReq) XXX_Merge(src proto.Message) {
  2287. xxx_messageInfo_SetFolderSortReq.Merge(dst, src)
  2288. }
  2289. func (m *SetFolderSortReq) XXX_Size() int {
  2290. return m.Size()
  2291. }
  2292. func (m *SetFolderSortReq) XXX_DiscardUnknown() {
  2293. xxx_messageInfo_SetFolderSortReq.DiscardUnknown(m)
  2294. }
  2295. var xxx_messageInfo_SetFolderSortReq proto.InternalMessageInfo
  2296. func (m *SetFolderSortReq) GetTyp() int32 {
  2297. if m != nil {
  2298. return m.Typ
  2299. }
  2300. return 0
  2301. }
  2302. func (m *SetFolderSortReq) GetMid() int64 {
  2303. if m != nil {
  2304. return m.Mid
  2305. }
  2306. return 0
  2307. }
  2308. func (m *SetFolderSortReq) GetFids() []int64 {
  2309. if m != nil {
  2310. return m.Fids
  2311. }
  2312. return nil
  2313. }
  2314. type FoldersReply struct {
  2315. Res []*model.Folder `protobuf:"bytes,1,rep,name=res" json:"res,omitempty"`
  2316. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2317. XXX_unrecognized []byte `json:"-"`
  2318. XXX_sizecache int32 `json:"-"`
  2319. }
  2320. func (m *FoldersReply) Reset() { *m = FoldersReply{} }
  2321. func (m *FoldersReply) String() string { return proto.CompactTextString(m) }
  2322. func (*FoldersReply) ProtoMessage() {}
  2323. func (*FoldersReply) Descriptor() ([]byte, []int) {
  2324. return fileDescriptor_api_ba1420d9f4484993, []int{38}
  2325. }
  2326. func (m *FoldersReply) XXX_Unmarshal(b []byte) error {
  2327. return m.Unmarshal(b)
  2328. }
  2329. func (m *FoldersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2330. if deterministic {
  2331. return xxx_messageInfo_FoldersReply.Marshal(b, m, deterministic)
  2332. } else {
  2333. b = b[:cap(b)]
  2334. n, err := m.MarshalTo(b)
  2335. if err != nil {
  2336. return nil, err
  2337. }
  2338. return b[:n], nil
  2339. }
  2340. }
  2341. func (dst *FoldersReply) XXX_Merge(src proto.Message) {
  2342. xxx_messageInfo_FoldersReply.Merge(dst, src)
  2343. }
  2344. func (m *FoldersReply) XXX_Size() int {
  2345. return m.Size()
  2346. }
  2347. func (m *FoldersReply) XXX_DiscardUnknown() {
  2348. xxx_messageInfo_FoldersReply.DiscardUnknown(m)
  2349. }
  2350. var xxx_messageInfo_FoldersReply proto.InternalMessageInfo
  2351. func (m *FoldersReply) GetRes() []*model.Folder {
  2352. if m != nil {
  2353. return m.Res
  2354. }
  2355. return nil
  2356. }
  2357. type FoldersReq struct {
  2358. // id = fid*100 + mid%100
  2359. Ids []*FolderID `protobuf:"bytes,1,rep,name=ids" json:"ids,omitempty"`
  2360. Typ int32 `protobuf:"varint,2,opt,name=typ,proto3" json:"typ,omitempty"`
  2361. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  2362. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2363. XXX_unrecognized []byte `json:"-"`
  2364. XXX_sizecache int32 `json:"-"`
  2365. }
  2366. func (m *FoldersReq) Reset() { *m = FoldersReq{} }
  2367. func (m *FoldersReq) String() string { return proto.CompactTextString(m) }
  2368. func (*FoldersReq) ProtoMessage() {}
  2369. func (*FoldersReq) Descriptor() ([]byte, []int) {
  2370. return fileDescriptor_api_ba1420d9f4484993, []int{39}
  2371. }
  2372. func (m *FoldersReq) XXX_Unmarshal(b []byte) error {
  2373. return m.Unmarshal(b)
  2374. }
  2375. func (m *FoldersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2376. if deterministic {
  2377. return xxx_messageInfo_FoldersReq.Marshal(b, m, deterministic)
  2378. } else {
  2379. b = b[:cap(b)]
  2380. n, err := m.MarshalTo(b)
  2381. if err != nil {
  2382. return nil, err
  2383. }
  2384. return b[:n], nil
  2385. }
  2386. }
  2387. func (dst *FoldersReq) XXX_Merge(src proto.Message) {
  2388. xxx_messageInfo_FoldersReq.Merge(dst, src)
  2389. }
  2390. func (m *FoldersReq) XXX_Size() int {
  2391. return m.Size()
  2392. }
  2393. func (m *FoldersReq) XXX_DiscardUnknown() {
  2394. xxx_messageInfo_FoldersReq.DiscardUnknown(m)
  2395. }
  2396. var xxx_messageInfo_FoldersReq proto.InternalMessageInfo
  2397. func (m *FoldersReq) GetIds() []*FolderID {
  2398. if m != nil {
  2399. return m.Ids
  2400. }
  2401. return nil
  2402. }
  2403. func (m *FoldersReq) GetTyp() int32 {
  2404. if m != nil {
  2405. return m.Typ
  2406. }
  2407. return 0
  2408. }
  2409. func (m *FoldersReq) GetMid() int64 {
  2410. if m != nil {
  2411. return m.Mid
  2412. }
  2413. return 0
  2414. }
  2415. type FolderID struct {
  2416. Fid int64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"`
  2417. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  2418. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2419. XXX_unrecognized []byte `json:"-"`
  2420. XXX_sizecache int32 `json:"-"`
  2421. }
  2422. func (m *FolderID) Reset() { *m = FolderID{} }
  2423. func (m *FolderID) String() string { return proto.CompactTextString(m) }
  2424. func (*FolderID) ProtoMessage() {}
  2425. func (*FolderID) Descriptor() ([]byte, []int) {
  2426. return fileDescriptor_api_ba1420d9f4484993, []int{40}
  2427. }
  2428. func (m *FolderID) XXX_Unmarshal(b []byte) error {
  2429. return m.Unmarshal(b)
  2430. }
  2431. func (m *FolderID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2432. if deterministic {
  2433. return xxx_messageInfo_FolderID.Marshal(b, m, deterministic)
  2434. } else {
  2435. b = b[:cap(b)]
  2436. n, err := m.MarshalTo(b)
  2437. if err != nil {
  2438. return nil, err
  2439. }
  2440. return b[:n], nil
  2441. }
  2442. }
  2443. func (dst *FolderID) XXX_Merge(src proto.Message) {
  2444. xxx_messageInfo_FolderID.Merge(dst, src)
  2445. }
  2446. func (m *FolderID) XXX_Size() int {
  2447. return m.Size()
  2448. }
  2449. func (m *FolderID) XXX_DiscardUnknown() {
  2450. xxx_messageInfo_FolderID.DiscardUnknown(m)
  2451. }
  2452. var xxx_messageInfo_FolderID proto.InternalMessageInfo
  2453. func (m *FolderID) GetFid() int64 {
  2454. if m != nil {
  2455. return m.Fid
  2456. }
  2457. return 0
  2458. }
  2459. func (m *FolderID) GetMid() int64 {
  2460. if m != nil {
  2461. return m.Mid
  2462. }
  2463. return 0
  2464. }
  2465. type MoveFavsReq struct {
  2466. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  2467. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  2468. OldFid int64 `protobuf:"varint,3,opt,name=oldFid,proto3" json:"oldFid,omitempty"`
  2469. NewFid int64 `protobuf:"varint,4,opt,name=newFid,proto3" json:"newFid,omitempty"`
  2470. Oids []int64 `protobuf:"varint,5,rep,packed,name=oids" json:"oids,omitempty"`
  2471. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2472. XXX_unrecognized []byte `json:"-"`
  2473. XXX_sizecache int32 `json:"-"`
  2474. }
  2475. func (m *MoveFavsReq) Reset() { *m = MoveFavsReq{} }
  2476. func (m *MoveFavsReq) String() string { return proto.CompactTextString(m) }
  2477. func (*MoveFavsReq) ProtoMessage() {}
  2478. func (*MoveFavsReq) Descriptor() ([]byte, []int) {
  2479. return fileDescriptor_api_ba1420d9f4484993, []int{41}
  2480. }
  2481. func (m *MoveFavsReq) XXX_Unmarshal(b []byte) error {
  2482. return m.Unmarshal(b)
  2483. }
  2484. func (m *MoveFavsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2485. if deterministic {
  2486. return xxx_messageInfo_MoveFavsReq.Marshal(b, m, deterministic)
  2487. } else {
  2488. b = b[:cap(b)]
  2489. n, err := m.MarshalTo(b)
  2490. if err != nil {
  2491. return nil, err
  2492. }
  2493. return b[:n], nil
  2494. }
  2495. }
  2496. func (dst *MoveFavsReq) XXX_Merge(src proto.Message) {
  2497. xxx_messageInfo_MoveFavsReq.Merge(dst, src)
  2498. }
  2499. func (m *MoveFavsReq) XXX_Size() int {
  2500. return m.Size()
  2501. }
  2502. func (m *MoveFavsReq) XXX_DiscardUnknown() {
  2503. xxx_messageInfo_MoveFavsReq.DiscardUnknown(m)
  2504. }
  2505. var xxx_messageInfo_MoveFavsReq proto.InternalMessageInfo
  2506. func (m *MoveFavsReq) GetTyp() int32 {
  2507. if m != nil {
  2508. return m.Typ
  2509. }
  2510. return 0
  2511. }
  2512. func (m *MoveFavsReq) GetMid() int64 {
  2513. if m != nil {
  2514. return m.Mid
  2515. }
  2516. return 0
  2517. }
  2518. func (m *MoveFavsReq) GetOldFid() int64 {
  2519. if m != nil {
  2520. return m.OldFid
  2521. }
  2522. return 0
  2523. }
  2524. func (m *MoveFavsReq) GetNewFid() int64 {
  2525. if m != nil {
  2526. return m.NewFid
  2527. }
  2528. return 0
  2529. }
  2530. func (m *MoveFavsReq) GetOids() []int64 {
  2531. if m != nil {
  2532. return m.Oids
  2533. }
  2534. return nil
  2535. }
  2536. type CopyFavsReq struct {
  2537. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  2538. OldMid int64 `protobuf:"varint,2,opt,name=oldMid,proto3" json:"oldMid,omitempty"`
  2539. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  2540. OldFid int64 `protobuf:"varint,4,opt,name=oldFid,proto3" json:"oldFid,omitempty"`
  2541. NewFid int64 `protobuf:"varint,5,opt,name=newFid,proto3" json:"newFid,omitempty"`
  2542. Oids []int64 `protobuf:"varint,6,rep,packed,name=oids" json:"oids,omitempty"`
  2543. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2544. XXX_unrecognized []byte `json:"-"`
  2545. XXX_sizecache int32 `json:"-"`
  2546. }
  2547. func (m *CopyFavsReq) Reset() { *m = CopyFavsReq{} }
  2548. func (m *CopyFavsReq) String() string { return proto.CompactTextString(m) }
  2549. func (*CopyFavsReq) ProtoMessage() {}
  2550. func (*CopyFavsReq) Descriptor() ([]byte, []int) {
  2551. return fileDescriptor_api_ba1420d9f4484993, []int{42}
  2552. }
  2553. func (m *CopyFavsReq) XXX_Unmarshal(b []byte) error {
  2554. return m.Unmarshal(b)
  2555. }
  2556. func (m *CopyFavsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2557. if deterministic {
  2558. return xxx_messageInfo_CopyFavsReq.Marshal(b, m, deterministic)
  2559. } else {
  2560. b = b[:cap(b)]
  2561. n, err := m.MarshalTo(b)
  2562. if err != nil {
  2563. return nil, err
  2564. }
  2565. return b[:n], nil
  2566. }
  2567. }
  2568. func (dst *CopyFavsReq) XXX_Merge(src proto.Message) {
  2569. xxx_messageInfo_CopyFavsReq.Merge(dst, src)
  2570. }
  2571. func (m *CopyFavsReq) XXX_Size() int {
  2572. return m.Size()
  2573. }
  2574. func (m *CopyFavsReq) XXX_DiscardUnknown() {
  2575. xxx_messageInfo_CopyFavsReq.DiscardUnknown(m)
  2576. }
  2577. var xxx_messageInfo_CopyFavsReq proto.InternalMessageInfo
  2578. func (m *CopyFavsReq) GetTyp() int32 {
  2579. if m != nil {
  2580. return m.Typ
  2581. }
  2582. return 0
  2583. }
  2584. func (m *CopyFavsReq) GetOldMid() int64 {
  2585. if m != nil {
  2586. return m.OldMid
  2587. }
  2588. return 0
  2589. }
  2590. func (m *CopyFavsReq) GetMid() int64 {
  2591. if m != nil {
  2592. return m.Mid
  2593. }
  2594. return 0
  2595. }
  2596. func (m *CopyFavsReq) GetOldFid() int64 {
  2597. if m != nil {
  2598. return m.OldFid
  2599. }
  2600. return 0
  2601. }
  2602. func (m *CopyFavsReq) GetNewFid() int64 {
  2603. if m != nil {
  2604. return m.NewFid
  2605. }
  2606. return 0
  2607. }
  2608. func (m *CopyFavsReq) GetOids() []int64 {
  2609. if m != nil {
  2610. return m.Oids
  2611. }
  2612. return nil
  2613. }
  2614. type CleanStateReq struct {
  2615. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  2616. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  2617. Fid int64 `protobuf:"varint,3,opt,name=fid,proto3" json:"fid,omitempty"`
  2618. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2619. XXX_unrecognized []byte `json:"-"`
  2620. XXX_sizecache int32 `json:"-"`
  2621. }
  2622. func (m *CleanStateReq) Reset() { *m = CleanStateReq{} }
  2623. func (m *CleanStateReq) String() string { return proto.CompactTextString(m) }
  2624. func (*CleanStateReq) ProtoMessage() {}
  2625. func (*CleanStateReq) Descriptor() ([]byte, []int) {
  2626. return fileDescriptor_api_ba1420d9f4484993, []int{43}
  2627. }
  2628. func (m *CleanStateReq) XXX_Unmarshal(b []byte) error {
  2629. return m.Unmarshal(b)
  2630. }
  2631. func (m *CleanStateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2632. if deterministic {
  2633. return xxx_messageInfo_CleanStateReq.Marshal(b, m, deterministic)
  2634. } else {
  2635. b = b[:cap(b)]
  2636. n, err := m.MarshalTo(b)
  2637. if err != nil {
  2638. return nil, err
  2639. }
  2640. return b[:n], nil
  2641. }
  2642. }
  2643. func (dst *CleanStateReq) XXX_Merge(src proto.Message) {
  2644. xxx_messageInfo_CleanStateReq.Merge(dst, src)
  2645. }
  2646. func (m *CleanStateReq) XXX_Size() int {
  2647. return m.Size()
  2648. }
  2649. func (m *CleanStateReq) XXX_DiscardUnknown() {
  2650. xxx_messageInfo_CleanStateReq.DiscardUnknown(m)
  2651. }
  2652. var xxx_messageInfo_CleanStateReq proto.InternalMessageInfo
  2653. func (m *CleanStateReq) GetTyp() int32 {
  2654. if m != nil {
  2655. return m.Typ
  2656. }
  2657. return 0
  2658. }
  2659. func (m *CleanStateReq) GetMid() int64 {
  2660. if m != nil {
  2661. return m.Mid
  2662. }
  2663. return 0
  2664. }
  2665. func (m *CleanStateReq) GetFid() int64 {
  2666. if m != nil {
  2667. return m.Fid
  2668. }
  2669. return 0
  2670. }
  2671. type CleanStateReply struct {
  2672. CleanState int32 `protobuf:"varint,1,opt,name=cleanState,proto3" json:"cleanState,omitempty"`
  2673. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2674. XXX_unrecognized []byte `json:"-"`
  2675. XXX_sizecache int32 `json:"-"`
  2676. }
  2677. func (m *CleanStateReply) Reset() { *m = CleanStateReply{} }
  2678. func (m *CleanStateReply) String() string { return proto.CompactTextString(m) }
  2679. func (*CleanStateReply) ProtoMessage() {}
  2680. func (*CleanStateReply) Descriptor() ([]byte, []int) {
  2681. return fileDescriptor_api_ba1420d9f4484993, []int{44}
  2682. }
  2683. func (m *CleanStateReply) XXX_Unmarshal(b []byte) error {
  2684. return m.Unmarshal(b)
  2685. }
  2686. func (m *CleanStateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2687. if deterministic {
  2688. return xxx_messageInfo_CleanStateReply.Marshal(b, m, deterministic)
  2689. } else {
  2690. b = b[:cap(b)]
  2691. n, err := m.MarshalTo(b)
  2692. if err != nil {
  2693. return nil, err
  2694. }
  2695. return b[:n], nil
  2696. }
  2697. }
  2698. func (dst *CleanStateReply) XXX_Merge(src proto.Message) {
  2699. xxx_messageInfo_CleanStateReply.Merge(dst, src)
  2700. }
  2701. func (m *CleanStateReply) XXX_Size() int {
  2702. return m.Size()
  2703. }
  2704. func (m *CleanStateReply) XXX_DiscardUnknown() {
  2705. xxx_messageInfo_CleanStateReply.DiscardUnknown(m)
  2706. }
  2707. var xxx_messageInfo_CleanStateReply proto.InternalMessageInfo
  2708. func (m *CleanStateReply) GetCleanState() int32 {
  2709. if m != nil {
  2710. return m.CleanState
  2711. }
  2712. return 0
  2713. }
  2714. type CleanInvalidFavsReq struct {
  2715. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  2716. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  2717. Fid int64 `protobuf:"varint,3,opt,name=fid,proto3" json:"fid,omitempty"`
  2718. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2719. XXX_unrecognized []byte `json:"-"`
  2720. XXX_sizecache int32 `json:"-"`
  2721. }
  2722. func (m *CleanInvalidFavsReq) Reset() { *m = CleanInvalidFavsReq{} }
  2723. func (m *CleanInvalidFavsReq) String() string { return proto.CompactTextString(m) }
  2724. func (*CleanInvalidFavsReq) ProtoMessage() {}
  2725. func (*CleanInvalidFavsReq) Descriptor() ([]byte, []int) {
  2726. return fileDescriptor_api_ba1420d9f4484993, []int{45}
  2727. }
  2728. func (m *CleanInvalidFavsReq) XXX_Unmarshal(b []byte) error {
  2729. return m.Unmarshal(b)
  2730. }
  2731. func (m *CleanInvalidFavsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2732. if deterministic {
  2733. return xxx_messageInfo_CleanInvalidFavsReq.Marshal(b, m, deterministic)
  2734. } else {
  2735. b = b[:cap(b)]
  2736. n, err := m.MarshalTo(b)
  2737. if err != nil {
  2738. return nil, err
  2739. }
  2740. return b[:n], nil
  2741. }
  2742. }
  2743. func (dst *CleanInvalidFavsReq) XXX_Merge(src proto.Message) {
  2744. xxx_messageInfo_CleanInvalidFavsReq.Merge(dst, src)
  2745. }
  2746. func (m *CleanInvalidFavsReq) XXX_Size() int {
  2747. return m.Size()
  2748. }
  2749. func (m *CleanInvalidFavsReq) XXX_DiscardUnknown() {
  2750. xxx_messageInfo_CleanInvalidFavsReq.DiscardUnknown(m)
  2751. }
  2752. var xxx_messageInfo_CleanInvalidFavsReq proto.InternalMessageInfo
  2753. func (m *CleanInvalidFavsReq) GetTyp() int32 {
  2754. if m != nil {
  2755. return m.Typ
  2756. }
  2757. return 0
  2758. }
  2759. func (m *CleanInvalidFavsReq) GetMid() int64 {
  2760. if m != nil {
  2761. return m.Mid
  2762. }
  2763. return 0
  2764. }
  2765. func (m *CleanInvalidFavsReq) GetFid() int64 {
  2766. if m != nil {
  2767. return m.Fid
  2768. }
  2769. return 0
  2770. }
  2771. type FavAddFoldersReq struct {
  2772. Oid int64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"`
  2773. Typ int32 `protobuf:"varint,2,opt,name=typ,proto3" json:"typ,omitempty"`
  2774. Fids []int64 `protobuf:"varint,3,rep,packed,name=fids" json:"fids,omitempty"`
  2775. Mid int64 `protobuf:"varint,4,opt,name=mid,proto3" json:"mid,omitempty"`
  2776. Otype int32 `protobuf:"varint,5,opt,name=otype,proto3" json:"otype,omitempty"`
  2777. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2778. XXX_unrecognized []byte `json:"-"`
  2779. XXX_sizecache int32 `json:"-"`
  2780. }
  2781. func (m *FavAddFoldersReq) Reset() { *m = FavAddFoldersReq{} }
  2782. func (m *FavAddFoldersReq) String() string { return proto.CompactTextString(m) }
  2783. func (*FavAddFoldersReq) ProtoMessage() {}
  2784. func (*FavAddFoldersReq) Descriptor() ([]byte, []int) {
  2785. return fileDescriptor_api_ba1420d9f4484993, []int{46}
  2786. }
  2787. func (m *FavAddFoldersReq) XXX_Unmarshal(b []byte) error {
  2788. return m.Unmarshal(b)
  2789. }
  2790. func (m *FavAddFoldersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2791. if deterministic {
  2792. return xxx_messageInfo_FavAddFoldersReq.Marshal(b, m, deterministic)
  2793. } else {
  2794. b = b[:cap(b)]
  2795. n, err := m.MarshalTo(b)
  2796. if err != nil {
  2797. return nil, err
  2798. }
  2799. return b[:n], nil
  2800. }
  2801. }
  2802. func (dst *FavAddFoldersReq) XXX_Merge(src proto.Message) {
  2803. xxx_messageInfo_FavAddFoldersReq.Merge(dst, src)
  2804. }
  2805. func (m *FavAddFoldersReq) XXX_Size() int {
  2806. return m.Size()
  2807. }
  2808. func (m *FavAddFoldersReq) XXX_DiscardUnknown() {
  2809. xxx_messageInfo_FavAddFoldersReq.DiscardUnknown(m)
  2810. }
  2811. var xxx_messageInfo_FavAddFoldersReq proto.InternalMessageInfo
  2812. func (m *FavAddFoldersReq) GetOid() int64 {
  2813. if m != nil {
  2814. return m.Oid
  2815. }
  2816. return 0
  2817. }
  2818. func (m *FavAddFoldersReq) GetTyp() int32 {
  2819. if m != nil {
  2820. return m.Typ
  2821. }
  2822. return 0
  2823. }
  2824. func (m *FavAddFoldersReq) GetFids() []int64 {
  2825. if m != nil {
  2826. return m.Fids
  2827. }
  2828. return nil
  2829. }
  2830. func (m *FavAddFoldersReq) GetMid() int64 {
  2831. if m != nil {
  2832. return m.Mid
  2833. }
  2834. return 0
  2835. }
  2836. func (m *FavAddFoldersReq) GetOtype() int32 {
  2837. if m != nil {
  2838. return m.Otype
  2839. }
  2840. return 0
  2841. }
  2842. type FavDelFoldersReq struct {
  2843. Oid int64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"`
  2844. Typ int32 `protobuf:"varint,2,opt,name=typ,proto3" json:"typ,omitempty"`
  2845. Fids []int64 `protobuf:"varint,3,rep,packed,name=fids" json:"fids,omitempty"`
  2846. Mid int64 `protobuf:"varint,4,opt,name=mid,proto3" json:"mid,omitempty"`
  2847. Otype int32 `protobuf:"varint,5,opt,name=otype,proto3" json:"otype,omitempty"`
  2848. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2849. XXX_unrecognized []byte `json:"-"`
  2850. XXX_sizecache int32 `json:"-"`
  2851. }
  2852. func (m *FavDelFoldersReq) Reset() { *m = FavDelFoldersReq{} }
  2853. func (m *FavDelFoldersReq) String() string { return proto.CompactTextString(m) }
  2854. func (*FavDelFoldersReq) ProtoMessage() {}
  2855. func (*FavDelFoldersReq) Descriptor() ([]byte, []int) {
  2856. return fileDescriptor_api_ba1420d9f4484993, []int{47}
  2857. }
  2858. func (m *FavDelFoldersReq) XXX_Unmarshal(b []byte) error {
  2859. return m.Unmarshal(b)
  2860. }
  2861. func (m *FavDelFoldersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2862. if deterministic {
  2863. return xxx_messageInfo_FavDelFoldersReq.Marshal(b, m, deterministic)
  2864. } else {
  2865. b = b[:cap(b)]
  2866. n, err := m.MarshalTo(b)
  2867. if err != nil {
  2868. return nil, err
  2869. }
  2870. return b[:n], nil
  2871. }
  2872. }
  2873. func (dst *FavDelFoldersReq) XXX_Merge(src proto.Message) {
  2874. xxx_messageInfo_FavDelFoldersReq.Merge(dst, src)
  2875. }
  2876. func (m *FavDelFoldersReq) XXX_Size() int {
  2877. return m.Size()
  2878. }
  2879. func (m *FavDelFoldersReq) XXX_DiscardUnknown() {
  2880. xxx_messageInfo_FavDelFoldersReq.DiscardUnknown(m)
  2881. }
  2882. var xxx_messageInfo_FavDelFoldersReq proto.InternalMessageInfo
  2883. func (m *FavDelFoldersReq) GetOid() int64 {
  2884. if m != nil {
  2885. return m.Oid
  2886. }
  2887. return 0
  2888. }
  2889. func (m *FavDelFoldersReq) GetTyp() int32 {
  2890. if m != nil {
  2891. return m.Typ
  2892. }
  2893. return 0
  2894. }
  2895. func (m *FavDelFoldersReq) GetFids() []int64 {
  2896. if m != nil {
  2897. return m.Fids
  2898. }
  2899. return nil
  2900. }
  2901. func (m *FavDelFoldersReq) GetMid() int64 {
  2902. if m != nil {
  2903. return m.Mid
  2904. }
  2905. return 0
  2906. }
  2907. func (m *FavDelFoldersReq) GetOtype() int32 {
  2908. if m != nil {
  2909. return m.Otype
  2910. }
  2911. return 0
  2912. }
  2913. type SortFavsReq struct {
  2914. Sorts []*SortFav `protobuf:"bytes,1,rep,name=sorts" json:"sorts,omitempty"`
  2915. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  2916. Fid int64 `protobuf:"varint,3,opt,name=fid,proto3" json:"fid,omitempty"`
  2917. Typ int32 `protobuf:"varint,4,opt,name=typ,proto3" json:"typ,omitempty"`
  2918. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2919. XXX_unrecognized []byte `json:"-"`
  2920. XXX_sizecache int32 `json:"-"`
  2921. }
  2922. func (m *SortFavsReq) Reset() { *m = SortFavsReq{} }
  2923. func (m *SortFavsReq) String() string { return proto.CompactTextString(m) }
  2924. func (*SortFavsReq) ProtoMessage() {}
  2925. func (*SortFavsReq) Descriptor() ([]byte, []int) {
  2926. return fileDescriptor_api_ba1420d9f4484993, []int{48}
  2927. }
  2928. func (m *SortFavsReq) XXX_Unmarshal(b []byte) error {
  2929. return m.Unmarshal(b)
  2930. }
  2931. func (m *SortFavsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2932. if deterministic {
  2933. return xxx_messageInfo_SortFavsReq.Marshal(b, m, deterministic)
  2934. } else {
  2935. b = b[:cap(b)]
  2936. n, err := m.MarshalTo(b)
  2937. if err != nil {
  2938. return nil, err
  2939. }
  2940. return b[:n], nil
  2941. }
  2942. }
  2943. func (dst *SortFavsReq) XXX_Merge(src proto.Message) {
  2944. xxx_messageInfo_SortFavsReq.Merge(dst, src)
  2945. }
  2946. func (m *SortFavsReq) XXX_Size() int {
  2947. return m.Size()
  2948. }
  2949. func (m *SortFavsReq) XXX_DiscardUnknown() {
  2950. xxx_messageInfo_SortFavsReq.DiscardUnknown(m)
  2951. }
  2952. var xxx_messageInfo_SortFavsReq proto.InternalMessageInfo
  2953. func (m *SortFavsReq) GetSorts() []*SortFav {
  2954. if m != nil {
  2955. return m.Sorts
  2956. }
  2957. return nil
  2958. }
  2959. func (m *SortFavsReq) GetMid() int64 {
  2960. if m != nil {
  2961. return m.Mid
  2962. }
  2963. return 0
  2964. }
  2965. func (m *SortFavsReq) GetFid() int64 {
  2966. if m != nil {
  2967. return m.Fid
  2968. }
  2969. return 0
  2970. }
  2971. func (m *SortFavsReq) GetTyp() int32 {
  2972. if m != nil {
  2973. return m.Typ
  2974. }
  2975. return 0
  2976. }
  2977. type SortFav struct {
  2978. Pre *model.Resource `protobuf:"bytes,1,opt,name=pre" json:"pre,omitempty"`
  2979. Insert *model.Resource `protobuf:"bytes,2,opt,name=insert" json:"insert,omitempty"`
  2980. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2981. XXX_unrecognized []byte `json:"-"`
  2982. XXX_sizecache int32 `json:"-"`
  2983. }
  2984. func (m *SortFav) Reset() { *m = SortFav{} }
  2985. func (m *SortFav) String() string { return proto.CompactTextString(m) }
  2986. func (*SortFav) ProtoMessage() {}
  2987. func (*SortFav) Descriptor() ([]byte, []int) {
  2988. return fileDescriptor_api_ba1420d9f4484993, []int{49}
  2989. }
  2990. func (m *SortFav) XXX_Unmarshal(b []byte) error {
  2991. return m.Unmarshal(b)
  2992. }
  2993. func (m *SortFav) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2994. if deterministic {
  2995. return xxx_messageInfo_SortFav.Marshal(b, m, deterministic)
  2996. } else {
  2997. b = b[:cap(b)]
  2998. n, err := m.MarshalTo(b)
  2999. if err != nil {
  3000. return nil, err
  3001. }
  3002. return b[:n], nil
  3003. }
  3004. }
  3005. func (dst *SortFav) XXX_Merge(src proto.Message) {
  3006. xxx_messageInfo_SortFav.Merge(dst, src)
  3007. }
  3008. func (m *SortFav) XXX_Size() int {
  3009. return m.Size()
  3010. }
  3011. func (m *SortFav) XXX_DiscardUnknown() {
  3012. xxx_messageInfo_SortFav.DiscardUnknown(m)
  3013. }
  3014. var xxx_messageInfo_SortFav proto.InternalMessageInfo
  3015. func (m *SortFav) GetPre() *model.Resource {
  3016. if m != nil {
  3017. return m.Pre
  3018. }
  3019. return nil
  3020. }
  3021. func (m *SortFav) GetInsert() *model.Resource {
  3022. if m != nil {
  3023. return m.Insert
  3024. }
  3025. return nil
  3026. }
  3027. type UpFolderNameReq struct {
  3028. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  3029. Fid int64 `protobuf:"varint,2,opt,name=fid,proto3" json:"fid,omitempty"`
  3030. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  3031. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  3032. Cookie string `protobuf:"bytes,5,opt,name=cookie,proto3" json:"cookie,omitempty"`
  3033. AccessKey string `protobuf:"bytes,6,opt,name=accessKey,proto3" json:"accessKey,omitempty"`
  3034. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3035. XXX_unrecognized []byte `json:"-"`
  3036. XXX_sizecache int32 `json:"-"`
  3037. }
  3038. func (m *UpFolderNameReq) Reset() { *m = UpFolderNameReq{} }
  3039. func (m *UpFolderNameReq) String() string { return proto.CompactTextString(m) }
  3040. func (*UpFolderNameReq) ProtoMessage() {}
  3041. func (*UpFolderNameReq) Descriptor() ([]byte, []int) {
  3042. return fileDescriptor_api_ba1420d9f4484993, []int{50}
  3043. }
  3044. func (m *UpFolderNameReq) XXX_Unmarshal(b []byte) error {
  3045. return m.Unmarshal(b)
  3046. }
  3047. func (m *UpFolderNameReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3048. if deterministic {
  3049. return xxx_messageInfo_UpFolderNameReq.Marshal(b, m, deterministic)
  3050. } else {
  3051. b = b[:cap(b)]
  3052. n, err := m.MarshalTo(b)
  3053. if err != nil {
  3054. return nil, err
  3055. }
  3056. return b[:n], nil
  3057. }
  3058. }
  3059. func (dst *UpFolderNameReq) XXX_Merge(src proto.Message) {
  3060. xxx_messageInfo_UpFolderNameReq.Merge(dst, src)
  3061. }
  3062. func (m *UpFolderNameReq) XXX_Size() int {
  3063. return m.Size()
  3064. }
  3065. func (m *UpFolderNameReq) XXX_DiscardUnknown() {
  3066. xxx_messageInfo_UpFolderNameReq.DiscardUnknown(m)
  3067. }
  3068. var xxx_messageInfo_UpFolderNameReq proto.InternalMessageInfo
  3069. func (m *UpFolderNameReq) GetTyp() int32 {
  3070. if m != nil {
  3071. return m.Typ
  3072. }
  3073. return 0
  3074. }
  3075. func (m *UpFolderNameReq) GetFid() int64 {
  3076. if m != nil {
  3077. return m.Fid
  3078. }
  3079. return 0
  3080. }
  3081. func (m *UpFolderNameReq) GetMid() int64 {
  3082. if m != nil {
  3083. return m.Mid
  3084. }
  3085. return 0
  3086. }
  3087. func (m *UpFolderNameReq) GetName() string {
  3088. if m != nil {
  3089. return m.Name
  3090. }
  3091. return ""
  3092. }
  3093. func (m *UpFolderNameReq) GetCookie() string {
  3094. if m != nil {
  3095. return m.Cookie
  3096. }
  3097. return ""
  3098. }
  3099. func (m *UpFolderNameReq) GetAccessKey() string {
  3100. if m != nil {
  3101. return m.AccessKey
  3102. }
  3103. return ""
  3104. }
  3105. type UpFolderAttrReq struct {
  3106. Typ int32 `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
  3107. Fid int64 `protobuf:"varint,2,opt,name=fid,proto3" json:"fid,omitempty"`
  3108. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  3109. Public int32 `protobuf:"varint,4,opt,name=public,proto3" json:"public,omitempty"`
  3110. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3111. XXX_unrecognized []byte `json:"-"`
  3112. XXX_sizecache int32 `json:"-"`
  3113. }
  3114. func (m *UpFolderAttrReq) Reset() { *m = UpFolderAttrReq{} }
  3115. func (m *UpFolderAttrReq) String() string { return proto.CompactTextString(m) }
  3116. func (*UpFolderAttrReq) ProtoMessage() {}
  3117. func (*UpFolderAttrReq) Descriptor() ([]byte, []int) {
  3118. return fileDescriptor_api_ba1420d9f4484993, []int{51}
  3119. }
  3120. func (m *UpFolderAttrReq) XXX_Unmarshal(b []byte) error {
  3121. return m.Unmarshal(b)
  3122. }
  3123. func (m *UpFolderAttrReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3124. if deterministic {
  3125. return xxx_messageInfo_UpFolderAttrReq.Marshal(b, m, deterministic)
  3126. } else {
  3127. b = b[:cap(b)]
  3128. n, err := m.MarshalTo(b)
  3129. if err != nil {
  3130. return nil, err
  3131. }
  3132. return b[:n], nil
  3133. }
  3134. }
  3135. func (dst *UpFolderAttrReq) XXX_Merge(src proto.Message) {
  3136. xxx_messageInfo_UpFolderAttrReq.Merge(dst, src)
  3137. }
  3138. func (m *UpFolderAttrReq) XXX_Size() int {
  3139. return m.Size()
  3140. }
  3141. func (m *UpFolderAttrReq) XXX_DiscardUnknown() {
  3142. xxx_messageInfo_UpFolderAttrReq.DiscardUnknown(m)
  3143. }
  3144. var xxx_messageInfo_UpFolderAttrReq proto.InternalMessageInfo
  3145. func (m *UpFolderAttrReq) GetTyp() int32 {
  3146. if m != nil {
  3147. return m.Typ
  3148. }
  3149. return 0
  3150. }
  3151. func (m *UpFolderAttrReq) GetFid() int64 {
  3152. if m != nil {
  3153. return m.Fid
  3154. }
  3155. return 0
  3156. }
  3157. func (m *UpFolderAttrReq) GetMid() int64 {
  3158. if m != nil {
  3159. return m.Mid
  3160. }
  3161. return 0
  3162. }
  3163. func (m *UpFolderAttrReq) GetPublic() int32 {
  3164. if m != nil {
  3165. return m.Public
  3166. }
  3167. return 0
  3168. }
  3169. type RecentResourcesReq struct {
  3170. Tp int32 `protobuf:"varint,2,opt,name=tp,proto3" json:"tp,omitempty"`
  3171. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
  3172. Size_ int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
  3173. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3174. XXX_unrecognized []byte `json:"-"`
  3175. XXX_sizecache int32 `json:"-"`
  3176. }
  3177. func (m *RecentResourcesReq) Reset() { *m = RecentResourcesReq{} }
  3178. func (m *RecentResourcesReq) String() string { return proto.CompactTextString(m) }
  3179. func (*RecentResourcesReq) ProtoMessage() {}
  3180. func (*RecentResourcesReq) Descriptor() ([]byte, []int) {
  3181. return fileDescriptor_api_ba1420d9f4484993, []int{52}
  3182. }
  3183. func (m *RecentResourcesReq) XXX_Unmarshal(b []byte) error {
  3184. return m.Unmarshal(b)
  3185. }
  3186. func (m *RecentResourcesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3187. if deterministic {
  3188. return xxx_messageInfo_RecentResourcesReq.Marshal(b, m, deterministic)
  3189. } else {
  3190. b = b[:cap(b)]
  3191. n, err := m.MarshalTo(b)
  3192. if err != nil {
  3193. return nil, err
  3194. }
  3195. return b[:n], nil
  3196. }
  3197. }
  3198. func (dst *RecentResourcesReq) XXX_Merge(src proto.Message) {
  3199. xxx_messageInfo_RecentResourcesReq.Merge(dst, src)
  3200. }
  3201. func (m *RecentResourcesReq) XXX_Size() int {
  3202. return m.Size()
  3203. }
  3204. func (m *RecentResourcesReq) XXX_DiscardUnknown() {
  3205. xxx_messageInfo_RecentResourcesReq.DiscardUnknown(m)
  3206. }
  3207. var xxx_messageInfo_RecentResourcesReq proto.InternalMessageInfo
  3208. func (m *RecentResourcesReq) GetTp() int32 {
  3209. if m != nil {
  3210. return m.Tp
  3211. }
  3212. return 0
  3213. }
  3214. func (m *RecentResourcesReq) GetMid() int64 {
  3215. if m != nil {
  3216. return m.Mid
  3217. }
  3218. return 0
  3219. }
  3220. func (m *RecentResourcesReq) GetSize_() int32 {
  3221. if m != nil {
  3222. return m.Size_
  3223. }
  3224. return 0
  3225. }
  3226. type RecentResourcesReply struct {
  3227. Res []*model.Resource `protobuf:"bytes,1,rep,name=res" json:"res,omitempty"`
  3228. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3229. XXX_unrecognized []byte `json:"-"`
  3230. XXX_sizecache int32 `json:"-"`
  3231. }
  3232. func (m *RecentResourcesReply) Reset() { *m = RecentResourcesReply{} }
  3233. func (m *RecentResourcesReply) String() string { return proto.CompactTextString(m) }
  3234. func (*RecentResourcesReply) ProtoMessage() {}
  3235. func (*RecentResourcesReply) Descriptor() ([]byte, []int) {
  3236. return fileDescriptor_api_ba1420d9f4484993, []int{53}
  3237. }
  3238. func (m *RecentResourcesReply) XXX_Unmarshal(b []byte) error {
  3239. return m.Unmarshal(b)
  3240. }
  3241. func (m *RecentResourcesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3242. if deterministic {
  3243. return xxx_messageInfo_RecentResourcesReply.Marshal(b, m, deterministic)
  3244. } else {
  3245. b = b[:cap(b)]
  3246. n, err := m.MarshalTo(b)
  3247. if err != nil {
  3248. return nil, err
  3249. }
  3250. return b[:n], nil
  3251. }
  3252. }
  3253. func (dst *RecentResourcesReply) XXX_Merge(src proto.Message) {
  3254. xxx_messageInfo_RecentResourcesReply.Merge(dst, src)
  3255. }
  3256. func (m *RecentResourcesReply) XXX_Size() int {
  3257. return m.Size()
  3258. }
  3259. func (m *RecentResourcesReply) XXX_DiscardUnknown() {
  3260. xxx_messageInfo_RecentResourcesReply.DiscardUnknown(m)
  3261. }
  3262. var xxx_messageInfo_RecentResourcesReply proto.InternalMessageInfo
  3263. func (m *RecentResourcesReply) GetRes() []*model.Resource {
  3264. if m != nil {
  3265. return m.Res
  3266. }
  3267. return nil
  3268. }
  3269. func init() {
  3270. proto.RegisterType((*ModelPage)(nil), "community.service.favorite.ModelPage")
  3271. proto.RegisterType((*ModelFavorite)(nil), "community.service.favorite.ModelFavorite")
  3272. proto.RegisterType((*ModelPartition)(nil), "community.service.favorite.ModelPartition")
  3273. proto.RegisterType((*ModelFavorites)(nil), "community.service.favorite.ModelFavorites")
  3274. proto.RegisterType((*AddFavReply)(nil), "community.service.favorite.AddFavReply")
  3275. proto.RegisterType((*AddFavReq)(nil), "community.service.favorite.AddFavReq")
  3276. proto.RegisterType((*DelFavReply)(nil), "community.service.favorite.DelFavReply")
  3277. proto.RegisterType((*DelFavReq)(nil), "community.service.favorite.DelFavReq")
  3278. proto.RegisterType((*FavoritesReply)(nil), "community.service.favorite.FavoritesReply")
  3279. proto.RegisterType((*FavoritesReq)(nil), "community.service.favorite.FavoritesReq")
  3280. proto.RegisterType((*TlistsReply)(nil), "community.service.favorite.TlistsReply")
  3281. proto.RegisterType((*TlistsReq)(nil), "community.service.favorite.TlistsReq")
  3282. proto.RegisterType((*RecentFavsReply)(nil), "community.service.favorite.RecentFavsReply")
  3283. proto.RegisterType((*RecentFavsReq)(nil), "community.service.favorite.RecentFavsReq")
  3284. proto.RegisterType((*IsFavoredReply)(nil), "community.service.favorite.IsFavoredReply")
  3285. proto.RegisterType((*IsFavoredReq)(nil), "community.service.favorite.IsFavoredReq")
  3286. proto.RegisterType((*IsFavoredByFidReq)(nil), "community.service.favorite.IsFavoredByFidReq")
  3287. proto.RegisterType((*IsFavoredsReply)(nil), "community.service.favorite.IsFavoredsReply")
  3288. proto.RegisterMapType((map[int64]bool)(nil), "community.service.favorite.IsFavoredsReply.FavedsEntry")
  3289. proto.RegisterType((*IsFavoredsReq)(nil), "community.service.favorite.IsFavoredsReq")
  3290. proto.RegisterType((*UserFoldersReply)(nil), "community.service.favorite.UserFoldersReply")
  3291. proto.RegisterType((*UserFoldersReq)(nil), "community.service.favorite.UserFoldersReq")
  3292. proto.RegisterType((*UserFolderReply)(nil), "community.service.favorite.UserFolderReply")
  3293. proto.RegisterType((*UserFolderReq)(nil), "community.service.favorite.UserFolderReq")
  3294. proto.RegisterType((*AddFolderReq)(nil), "community.service.favorite.AddFolderReq")
  3295. proto.RegisterType((*AddFolderReply)(nil), "community.service.favorite.AddFolderReply")
  3296. proto.RegisterType((*UpdateFolderReq)(nil), "community.service.favorite.UpdateFolderReq")
  3297. proto.RegisterType((*AdminUpdateFolderReq)(nil), "community.service.favorite.AdminUpdateFolderReq")
  3298. proto.RegisterType((*DelFolderReq)(nil), "community.service.favorite.DelFolderReq")
  3299. proto.RegisterType((*MultiAddReq)(nil), "community.service.favorite.MultiAddReq")
  3300. proto.RegisterType((*MultiDelReq)(nil), "community.service.favorite.MultiDelReq")
  3301. proto.RegisterType((*InDefaultFolderReq)(nil), "community.service.favorite.InDefaultFolderReq")
  3302. proto.RegisterType((*InDefaultFolderReply)(nil), "community.service.favorite.InDefaultFolderReply")
  3303. proto.RegisterType((*CntUserFoldersReq)(nil), "community.service.favorite.CntUserFoldersReq")
  3304. proto.RegisterType((*CntUserFoldersReply)(nil), "community.service.favorite.CntUserFoldersReply")
  3305. proto.RegisterType((*User)(nil), "community.service.favorite.User")
  3306. proto.RegisterType((*FavedUsersReply)(nil), "community.service.favorite.FavedUsersReply")
  3307. proto.RegisterType((*FavedUsersReq)(nil), "community.service.favorite.FavedUsersReq")
  3308. proto.RegisterType((*SetFolderSortReq)(nil), "community.service.favorite.SetFolderSortReq")
  3309. proto.RegisterType((*FoldersReply)(nil), "community.service.favorite.FoldersReply")
  3310. proto.RegisterType((*FoldersReq)(nil), "community.service.favorite.FoldersReq")
  3311. proto.RegisterType((*FolderID)(nil), "community.service.favorite.FolderID")
  3312. proto.RegisterType((*MoveFavsReq)(nil), "community.service.favorite.MoveFavsReq")
  3313. proto.RegisterType((*CopyFavsReq)(nil), "community.service.favorite.CopyFavsReq")
  3314. proto.RegisterType((*CleanStateReq)(nil), "community.service.favorite.CleanStateReq")
  3315. proto.RegisterType((*CleanStateReply)(nil), "community.service.favorite.CleanStateReply")
  3316. proto.RegisterType((*CleanInvalidFavsReq)(nil), "community.service.favorite.CleanInvalidFavsReq")
  3317. proto.RegisterType((*FavAddFoldersReq)(nil), "community.service.favorite.FavAddFoldersReq")
  3318. proto.RegisterType((*FavDelFoldersReq)(nil), "community.service.favorite.FavDelFoldersReq")
  3319. proto.RegisterType((*SortFavsReq)(nil), "community.service.favorite.SortFavsReq")
  3320. proto.RegisterType((*SortFav)(nil), "community.service.favorite.SortFav")
  3321. proto.RegisterType((*UpFolderNameReq)(nil), "community.service.favorite.UpFolderNameReq")
  3322. proto.RegisterType((*UpFolderAttrReq)(nil), "community.service.favorite.UpFolderAttrReq")
  3323. proto.RegisterType((*RecentResourcesReq)(nil), "community.service.favorite.RecentResourcesReq")
  3324. proto.RegisterType((*RecentResourcesReply)(nil), "community.service.favorite.RecentResourcesReply")
  3325. }
  3326. // Reference imports to suppress errors if they are not otherwise used.
  3327. var _ context.Context
  3328. var _ grpc.ClientConn
  3329. // This is a compile-time assertion to ensure that this generated file
  3330. // is compatible with the grpc package it is being compiled against.
  3331. const _ = grpc.SupportPackageIsVersion4
  3332. // Client API for Favorite service
  3333. type FavoriteClient interface {
  3334. // 更新收藏夹V2版本
  3335. AdminUpdateFolder(ctx context.Context, in *AdminUpdateFolderReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3336. // 删除一个资源从多个收藏夹
  3337. FavDelFolders(ctx context.Context, in *FavDelFoldersReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3338. // 添加一个资源至多个收藏夹
  3339. FavAddFolders(ctx context.Context, in *FavAddFoldersReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3340. // 收藏夹重命名
  3341. UpFolderName(ctx context.Context, in *UpFolderNameReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3342. // 设置收藏夹公开
  3343. UpFolderAttr(ctx context.Context, in *UpFolderAttrReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3344. // 清除不合法的收藏资源
  3345. CleanInvalidFavs(ctx context.Context, in *CleanInvalidFavsReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3346. // 返回某个收藏夹是否已经是clean的
  3347. CleanState(ctx context.Context, in *CleanStateReq, opts ...grpc.CallOption) (*CleanStateReply, error)
  3348. // 拷贝收藏夹内的资源至另外一个收藏夹
  3349. CopyFavs(ctx context.Context, in *CopyFavsReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3350. // 移动收藏夹内的资源至另外一个收藏夹
  3351. MoveFavs(ctx context.Context, in *MoveFavsReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3352. // 收藏夹排序
  3353. SetFolderSort(ctx context.Context, in *SetFolderSortReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3354. // 哪些用户收藏了该资源
  3355. FavedUsers(ctx context.Context, in *FavedUsersReq, opts ...grpc.CallOption) (*FavedUsersReply, error)
  3356. // 用户收藏夹数量
  3357. CntUserFolders(ctx context.Context, in *CntUserFoldersReq, opts ...grpc.CallOption) (*CntUserFoldersReply, error)
  3358. // 该资源是否在默认收藏夹中
  3359. InDefault(ctx context.Context, in *InDefaultFolderReq, opts ...grpc.CallOption) (*InDefaultFolderReply, error)
  3360. // 批量删除多个资源
  3361. MultiDel(ctx context.Context, in *MultiDelReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3362. // 批量添加多个资源
  3363. MultiAdd(ctx context.Context, in *MultiAddReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3364. // 删除收藏夹
  3365. DelFolder(ctx context.Context, in *DelFolderReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3366. // 更新收藏夹
  3367. UpdateFolder(ctx context.Context, in *UpdateFolderReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3368. // 创建收藏夹
  3369. AddFolder(ctx context.Context, in *AddFolderReq, opts ...grpc.CallOption) (*AddFolderReply, error)
  3370. // 收藏夹内的资源列表(只显示和收藏夹相同type的资源)
  3371. Favorites(ctx context.Context, in *FavoritesReq, opts ...grpc.CallOption) (*FavoritesReply, error)
  3372. // 收藏夹内的资源列表(显示所有资源)
  3373. FavoritesAll(ctx context.Context, in *FavoritesReq, opts ...grpc.CallOption) (*FavoritesReply, error)
  3374. // 分区信息
  3375. Tlists(ctx context.Context, in *TlistsReq, opts ...grpc.CallOption) (*TlistsReply, error)
  3376. // 该用户最近收藏
  3377. RecentFavs(ctx context.Context, in *RecentFavsReq, opts ...grpc.CallOption) (*RecentFavsReply, error)
  3378. // 该用户最近收藏的资源
  3379. RecentResources(ctx context.Context, in *RecentResourcesReq, opts ...grpc.CallOption) (*RecentResourcesReply, error)
  3380. // 用户是否收藏该资源
  3381. IsFavored(ctx context.Context, in *IsFavoredReq, opts ...grpc.CallOption) (*IsFavoredReply, error)
  3382. // 该资源是否在某个收藏夹内
  3383. IsFavoredByFid(ctx context.Context, in *IsFavoredByFidReq, opts ...grpc.CallOption) (*IsFavoredReply, error)
  3384. // 多个资源是否被用户收藏
  3385. IsFavoreds(ctx context.Context, in *IsFavoredsReq, opts ...grpc.CallOption) (*IsFavoredsReply, error)
  3386. // 添加收藏
  3387. AddFav(ctx context.Context, in *AddFavReq, opts ...grpc.CallOption) (*AddFavReply, error)
  3388. // 删除收藏
  3389. DelFav(ctx context.Context, in *DelFavReq, opts ...grpc.CallOption) (*DelFavReply, error)
  3390. // 用户的收藏夹列表
  3391. UserFolders(ctx context.Context, in *UserFoldersReq, opts ...grpc.CallOption) (*UserFoldersReply, error)
  3392. // 用户的一个收藏夹
  3393. UserFolder(ctx context.Context, in *UserFolderReq, opts ...grpc.CallOption) (*UserFolderReply, error)
  3394. // 通过ID批量返回收藏夹 id = fid*100 + mid%100
  3395. Folders(ctx context.Context, in *FoldersReq, opts ...grpc.CallOption) (*FoldersReply, error)
  3396. // 改变被搜藏的元素的顺序
  3397. SortFavs(ctx context.Context, in *SortFavsReq, opts ...grpc.CallOption) (*empty.Empty, error)
  3398. }
  3399. type favoriteClient struct {
  3400. cc *grpc.ClientConn
  3401. }
  3402. func NewFavoriteClient(cc *grpc.ClientConn) FavoriteClient {
  3403. return &favoriteClient{cc}
  3404. }
  3405. func (c *favoriteClient) AdminUpdateFolder(ctx context.Context, in *AdminUpdateFolderReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3406. out := new(empty.Empty)
  3407. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/AdminUpdateFolder", in, out, opts...)
  3408. if err != nil {
  3409. return nil, err
  3410. }
  3411. return out, nil
  3412. }
  3413. func (c *favoriteClient) FavDelFolders(ctx context.Context, in *FavDelFoldersReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3414. out := new(empty.Empty)
  3415. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/FavDelFolders", in, out, opts...)
  3416. if err != nil {
  3417. return nil, err
  3418. }
  3419. return out, nil
  3420. }
  3421. func (c *favoriteClient) FavAddFolders(ctx context.Context, in *FavAddFoldersReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3422. out := new(empty.Empty)
  3423. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/FavAddFolders", in, out, opts...)
  3424. if err != nil {
  3425. return nil, err
  3426. }
  3427. return out, nil
  3428. }
  3429. func (c *favoriteClient) UpFolderName(ctx context.Context, in *UpFolderNameReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3430. out := new(empty.Empty)
  3431. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/UpFolderName", in, out, opts...)
  3432. if err != nil {
  3433. return nil, err
  3434. }
  3435. return out, nil
  3436. }
  3437. func (c *favoriteClient) UpFolderAttr(ctx context.Context, in *UpFolderAttrReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3438. out := new(empty.Empty)
  3439. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/UpFolderAttr", in, out, opts...)
  3440. if err != nil {
  3441. return nil, err
  3442. }
  3443. return out, nil
  3444. }
  3445. func (c *favoriteClient) CleanInvalidFavs(ctx context.Context, in *CleanInvalidFavsReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3446. out := new(empty.Empty)
  3447. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/CleanInvalidFavs", in, out, opts...)
  3448. if err != nil {
  3449. return nil, err
  3450. }
  3451. return out, nil
  3452. }
  3453. func (c *favoriteClient) CleanState(ctx context.Context, in *CleanStateReq, opts ...grpc.CallOption) (*CleanStateReply, error) {
  3454. out := new(CleanStateReply)
  3455. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/CleanState", in, out, opts...)
  3456. if err != nil {
  3457. return nil, err
  3458. }
  3459. return out, nil
  3460. }
  3461. func (c *favoriteClient) CopyFavs(ctx context.Context, in *CopyFavsReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3462. out := new(empty.Empty)
  3463. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/CopyFavs", in, out, opts...)
  3464. if err != nil {
  3465. return nil, err
  3466. }
  3467. return out, nil
  3468. }
  3469. func (c *favoriteClient) MoveFavs(ctx context.Context, in *MoveFavsReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3470. out := new(empty.Empty)
  3471. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/MoveFavs", in, out, opts...)
  3472. if err != nil {
  3473. return nil, err
  3474. }
  3475. return out, nil
  3476. }
  3477. func (c *favoriteClient) SetFolderSort(ctx context.Context, in *SetFolderSortReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3478. out := new(empty.Empty)
  3479. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/SetFolderSort", in, out, opts...)
  3480. if err != nil {
  3481. return nil, err
  3482. }
  3483. return out, nil
  3484. }
  3485. func (c *favoriteClient) FavedUsers(ctx context.Context, in *FavedUsersReq, opts ...grpc.CallOption) (*FavedUsersReply, error) {
  3486. out := new(FavedUsersReply)
  3487. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/FavedUsers", in, out, opts...)
  3488. if err != nil {
  3489. return nil, err
  3490. }
  3491. return out, nil
  3492. }
  3493. func (c *favoriteClient) CntUserFolders(ctx context.Context, in *CntUserFoldersReq, opts ...grpc.CallOption) (*CntUserFoldersReply, error) {
  3494. out := new(CntUserFoldersReply)
  3495. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/CntUserFolders", in, out, opts...)
  3496. if err != nil {
  3497. return nil, err
  3498. }
  3499. return out, nil
  3500. }
  3501. func (c *favoriteClient) InDefault(ctx context.Context, in *InDefaultFolderReq, opts ...grpc.CallOption) (*InDefaultFolderReply, error) {
  3502. out := new(InDefaultFolderReply)
  3503. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/InDefault", in, out, opts...)
  3504. if err != nil {
  3505. return nil, err
  3506. }
  3507. return out, nil
  3508. }
  3509. func (c *favoriteClient) MultiDel(ctx context.Context, in *MultiDelReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3510. out := new(empty.Empty)
  3511. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/MultiDel", in, out, opts...)
  3512. if err != nil {
  3513. return nil, err
  3514. }
  3515. return out, nil
  3516. }
  3517. func (c *favoriteClient) MultiAdd(ctx context.Context, in *MultiAddReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3518. out := new(empty.Empty)
  3519. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/MultiAdd", in, out, opts...)
  3520. if err != nil {
  3521. return nil, err
  3522. }
  3523. return out, nil
  3524. }
  3525. func (c *favoriteClient) DelFolder(ctx context.Context, in *DelFolderReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3526. out := new(empty.Empty)
  3527. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/DelFolder", in, out, opts...)
  3528. if err != nil {
  3529. return nil, err
  3530. }
  3531. return out, nil
  3532. }
  3533. func (c *favoriteClient) UpdateFolder(ctx context.Context, in *UpdateFolderReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3534. out := new(empty.Empty)
  3535. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/UpdateFolder", in, out, opts...)
  3536. if err != nil {
  3537. return nil, err
  3538. }
  3539. return out, nil
  3540. }
  3541. func (c *favoriteClient) AddFolder(ctx context.Context, in *AddFolderReq, opts ...grpc.CallOption) (*AddFolderReply, error) {
  3542. out := new(AddFolderReply)
  3543. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/AddFolder", in, out, opts...)
  3544. if err != nil {
  3545. return nil, err
  3546. }
  3547. return out, nil
  3548. }
  3549. func (c *favoriteClient) Favorites(ctx context.Context, in *FavoritesReq, opts ...grpc.CallOption) (*FavoritesReply, error) {
  3550. out := new(FavoritesReply)
  3551. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/Favorites", in, out, opts...)
  3552. if err != nil {
  3553. return nil, err
  3554. }
  3555. return out, nil
  3556. }
  3557. func (c *favoriteClient) FavoritesAll(ctx context.Context, in *FavoritesReq, opts ...grpc.CallOption) (*FavoritesReply, error) {
  3558. out := new(FavoritesReply)
  3559. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/FavoritesAll", in, out, opts...)
  3560. if err != nil {
  3561. return nil, err
  3562. }
  3563. return out, nil
  3564. }
  3565. func (c *favoriteClient) Tlists(ctx context.Context, in *TlistsReq, opts ...grpc.CallOption) (*TlistsReply, error) {
  3566. out := new(TlistsReply)
  3567. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/Tlists", in, out, opts...)
  3568. if err != nil {
  3569. return nil, err
  3570. }
  3571. return out, nil
  3572. }
  3573. func (c *favoriteClient) RecentFavs(ctx context.Context, in *RecentFavsReq, opts ...grpc.CallOption) (*RecentFavsReply, error) {
  3574. out := new(RecentFavsReply)
  3575. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/RecentFavs", in, out, opts...)
  3576. if err != nil {
  3577. return nil, err
  3578. }
  3579. return out, nil
  3580. }
  3581. func (c *favoriteClient) RecentResources(ctx context.Context, in *RecentResourcesReq, opts ...grpc.CallOption) (*RecentResourcesReply, error) {
  3582. out := new(RecentResourcesReply)
  3583. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/RecentResources", in, out, opts...)
  3584. if err != nil {
  3585. return nil, err
  3586. }
  3587. return out, nil
  3588. }
  3589. func (c *favoriteClient) IsFavored(ctx context.Context, in *IsFavoredReq, opts ...grpc.CallOption) (*IsFavoredReply, error) {
  3590. out := new(IsFavoredReply)
  3591. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/IsFavored", in, out, opts...)
  3592. if err != nil {
  3593. return nil, err
  3594. }
  3595. return out, nil
  3596. }
  3597. func (c *favoriteClient) IsFavoredByFid(ctx context.Context, in *IsFavoredByFidReq, opts ...grpc.CallOption) (*IsFavoredReply, error) {
  3598. out := new(IsFavoredReply)
  3599. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/IsFavoredByFid", in, out, opts...)
  3600. if err != nil {
  3601. return nil, err
  3602. }
  3603. return out, nil
  3604. }
  3605. func (c *favoriteClient) IsFavoreds(ctx context.Context, in *IsFavoredsReq, opts ...grpc.CallOption) (*IsFavoredsReply, error) {
  3606. out := new(IsFavoredsReply)
  3607. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/IsFavoreds", in, out, opts...)
  3608. if err != nil {
  3609. return nil, err
  3610. }
  3611. return out, nil
  3612. }
  3613. func (c *favoriteClient) AddFav(ctx context.Context, in *AddFavReq, opts ...grpc.CallOption) (*AddFavReply, error) {
  3614. out := new(AddFavReply)
  3615. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/AddFav", in, out, opts...)
  3616. if err != nil {
  3617. return nil, err
  3618. }
  3619. return out, nil
  3620. }
  3621. func (c *favoriteClient) DelFav(ctx context.Context, in *DelFavReq, opts ...grpc.CallOption) (*DelFavReply, error) {
  3622. out := new(DelFavReply)
  3623. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/DelFav", in, out, opts...)
  3624. if err != nil {
  3625. return nil, err
  3626. }
  3627. return out, nil
  3628. }
  3629. func (c *favoriteClient) UserFolders(ctx context.Context, in *UserFoldersReq, opts ...grpc.CallOption) (*UserFoldersReply, error) {
  3630. out := new(UserFoldersReply)
  3631. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/UserFolders", in, out, opts...)
  3632. if err != nil {
  3633. return nil, err
  3634. }
  3635. return out, nil
  3636. }
  3637. func (c *favoriteClient) UserFolder(ctx context.Context, in *UserFolderReq, opts ...grpc.CallOption) (*UserFolderReply, error) {
  3638. out := new(UserFolderReply)
  3639. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/UserFolder", in, out, opts...)
  3640. if err != nil {
  3641. return nil, err
  3642. }
  3643. return out, nil
  3644. }
  3645. func (c *favoriteClient) Folders(ctx context.Context, in *FoldersReq, opts ...grpc.CallOption) (*FoldersReply, error) {
  3646. out := new(FoldersReply)
  3647. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/Folders", in, out, opts...)
  3648. if err != nil {
  3649. return nil, err
  3650. }
  3651. return out, nil
  3652. }
  3653. func (c *favoriteClient) SortFavs(ctx context.Context, in *SortFavsReq, opts ...grpc.CallOption) (*empty.Empty, error) {
  3654. out := new(empty.Empty)
  3655. err := c.cc.Invoke(ctx, "/community.service.favorite.Favorite/SortFavs", in, out, opts...)
  3656. if err != nil {
  3657. return nil, err
  3658. }
  3659. return out, nil
  3660. }
  3661. // Server API for Favorite service
  3662. type FavoriteServer interface {
  3663. // 更新收藏夹V2版本
  3664. AdminUpdateFolder(context.Context, *AdminUpdateFolderReq) (*empty.Empty, error)
  3665. // 删除一个资源从多个收藏夹
  3666. FavDelFolders(context.Context, *FavDelFoldersReq) (*empty.Empty, error)
  3667. // 添加一个资源至多个收藏夹
  3668. FavAddFolders(context.Context, *FavAddFoldersReq) (*empty.Empty, error)
  3669. // 收藏夹重命名
  3670. UpFolderName(context.Context, *UpFolderNameReq) (*empty.Empty, error)
  3671. // 设置收藏夹公开
  3672. UpFolderAttr(context.Context, *UpFolderAttrReq) (*empty.Empty, error)
  3673. // 清除不合法的收藏资源
  3674. CleanInvalidFavs(context.Context, *CleanInvalidFavsReq) (*empty.Empty, error)
  3675. // 返回某个收藏夹是否已经是clean的
  3676. CleanState(context.Context, *CleanStateReq) (*CleanStateReply, error)
  3677. // 拷贝收藏夹内的资源至另外一个收藏夹
  3678. CopyFavs(context.Context, *CopyFavsReq) (*empty.Empty, error)
  3679. // 移动收藏夹内的资源至另外一个收藏夹
  3680. MoveFavs(context.Context, *MoveFavsReq) (*empty.Empty, error)
  3681. // 收藏夹排序
  3682. SetFolderSort(context.Context, *SetFolderSortReq) (*empty.Empty, error)
  3683. // 哪些用户收藏了该资源
  3684. FavedUsers(context.Context, *FavedUsersReq) (*FavedUsersReply, error)
  3685. // 用户收藏夹数量
  3686. CntUserFolders(context.Context, *CntUserFoldersReq) (*CntUserFoldersReply, error)
  3687. // 该资源是否在默认收藏夹中
  3688. InDefault(context.Context, *InDefaultFolderReq) (*InDefaultFolderReply, error)
  3689. // 批量删除多个资源
  3690. MultiDel(context.Context, *MultiDelReq) (*empty.Empty, error)
  3691. // 批量添加多个资源
  3692. MultiAdd(context.Context, *MultiAddReq) (*empty.Empty, error)
  3693. // 删除收藏夹
  3694. DelFolder(context.Context, *DelFolderReq) (*empty.Empty, error)
  3695. // 更新收藏夹
  3696. UpdateFolder(context.Context, *UpdateFolderReq) (*empty.Empty, error)
  3697. // 创建收藏夹
  3698. AddFolder(context.Context, *AddFolderReq) (*AddFolderReply, error)
  3699. // 收藏夹内的资源列表(只显示和收藏夹相同type的资源)
  3700. Favorites(context.Context, *FavoritesReq) (*FavoritesReply, error)
  3701. // 收藏夹内的资源列表(显示所有资源)
  3702. FavoritesAll(context.Context, *FavoritesReq) (*FavoritesReply, error)
  3703. // 分区信息
  3704. Tlists(context.Context, *TlistsReq) (*TlistsReply, error)
  3705. // 该用户最近收藏
  3706. RecentFavs(context.Context, *RecentFavsReq) (*RecentFavsReply, error)
  3707. // 该用户最近收藏的资源
  3708. RecentResources(context.Context, *RecentResourcesReq) (*RecentResourcesReply, error)
  3709. // 用户是否收藏该资源
  3710. IsFavored(context.Context, *IsFavoredReq) (*IsFavoredReply, error)
  3711. // 该资源是否在某个收藏夹内
  3712. IsFavoredByFid(context.Context, *IsFavoredByFidReq) (*IsFavoredReply, error)
  3713. // 多个资源是否被用户收藏
  3714. IsFavoreds(context.Context, *IsFavoredsReq) (*IsFavoredsReply, error)
  3715. // 添加收藏
  3716. AddFav(context.Context, *AddFavReq) (*AddFavReply, error)
  3717. // 删除收藏
  3718. DelFav(context.Context, *DelFavReq) (*DelFavReply, error)
  3719. // 用户的收藏夹列表
  3720. UserFolders(context.Context, *UserFoldersReq) (*UserFoldersReply, error)
  3721. // 用户的一个收藏夹
  3722. UserFolder(context.Context, *UserFolderReq) (*UserFolderReply, error)
  3723. // 通过ID批量返回收藏夹 id = fid*100 + mid%100
  3724. Folders(context.Context, *FoldersReq) (*FoldersReply, error)
  3725. // 改变被搜藏的元素的顺序
  3726. SortFavs(context.Context, *SortFavsReq) (*empty.Empty, error)
  3727. }
  3728. func RegisterFavoriteServer(s *grpc.Server, srv FavoriteServer) {
  3729. s.RegisterService(&_Favorite_serviceDesc, srv)
  3730. }
  3731. func _Favorite_AdminUpdateFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3732. in := new(AdminUpdateFolderReq)
  3733. if err := dec(in); err != nil {
  3734. return nil, err
  3735. }
  3736. if interceptor == nil {
  3737. return srv.(FavoriteServer).AdminUpdateFolder(ctx, in)
  3738. }
  3739. info := &grpc.UnaryServerInfo{
  3740. Server: srv,
  3741. FullMethod: "/community.service.favorite.Favorite/AdminUpdateFolder",
  3742. }
  3743. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3744. return srv.(FavoriteServer).AdminUpdateFolder(ctx, req.(*AdminUpdateFolderReq))
  3745. }
  3746. return interceptor(ctx, in, info, handler)
  3747. }
  3748. func _Favorite_FavDelFolders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3749. in := new(FavDelFoldersReq)
  3750. if err := dec(in); err != nil {
  3751. return nil, err
  3752. }
  3753. if interceptor == nil {
  3754. return srv.(FavoriteServer).FavDelFolders(ctx, in)
  3755. }
  3756. info := &grpc.UnaryServerInfo{
  3757. Server: srv,
  3758. FullMethod: "/community.service.favorite.Favorite/FavDelFolders",
  3759. }
  3760. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3761. return srv.(FavoriteServer).FavDelFolders(ctx, req.(*FavDelFoldersReq))
  3762. }
  3763. return interceptor(ctx, in, info, handler)
  3764. }
  3765. func _Favorite_FavAddFolders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3766. in := new(FavAddFoldersReq)
  3767. if err := dec(in); err != nil {
  3768. return nil, err
  3769. }
  3770. if interceptor == nil {
  3771. return srv.(FavoriteServer).FavAddFolders(ctx, in)
  3772. }
  3773. info := &grpc.UnaryServerInfo{
  3774. Server: srv,
  3775. FullMethod: "/community.service.favorite.Favorite/FavAddFolders",
  3776. }
  3777. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3778. return srv.(FavoriteServer).FavAddFolders(ctx, req.(*FavAddFoldersReq))
  3779. }
  3780. return interceptor(ctx, in, info, handler)
  3781. }
  3782. func _Favorite_UpFolderName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3783. in := new(UpFolderNameReq)
  3784. if err := dec(in); err != nil {
  3785. return nil, err
  3786. }
  3787. if interceptor == nil {
  3788. return srv.(FavoriteServer).UpFolderName(ctx, in)
  3789. }
  3790. info := &grpc.UnaryServerInfo{
  3791. Server: srv,
  3792. FullMethod: "/community.service.favorite.Favorite/UpFolderName",
  3793. }
  3794. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3795. return srv.(FavoriteServer).UpFolderName(ctx, req.(*UpFolderNameReq))
  3796. }
  3797. return interceptor(ctx, in, info, handler)
  3798. }
  3799. func _Favorite_UpFolderAttr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3800. in := new(UpFolderAttrReq)
  3801. if err := dec(in); err != nil {
  3802. return nil, err
  3803. }
  3804. if interceptor == nil {
  3805. return srv.(FavoriteServer).UpFolderAttr(ctx, in)
  3806. }
  3807. info := &grpc.UnaryServerInfo{
  3808. Server: srv,
  3809. FullMethod: "/community.service.favorite.Favorite/UpFolderAttr",
  3810. }
  3811. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3812. return srv.(FavoriteServer).UpFolderAttr(ctx, req.(*UpFolderAttrReq))
  3813. }
  3814. return interceptor(ctx, in, info, handler)
  3815. }
  3816. func _Favorite_CleanInvalidFavs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3817. in := new(CleanInvalidFavsReq)
  3818. if err := dec(in); err != nil {
  3819. return nil, err
  3820. }
  3821. if interceptor == nil {
  3822. return srv.(FavoriteServer).CleanInvalidFavs(ctx, in)
  3823. }
  3824. info := &grpc.UnaryServerInfo{
  3825. Server: srv,
  3826. FullMethod: "/community.service.favorite.Favorite/CleanInvalidFavs",
  3827. }
  3828. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3829. return srv.(FavoriteServer).CleanInvalidFavs(ctx, req.(*CleanInvalidFavsReq))
  3830. }
  3831. return interceptor(ctx, in, info, handler)
  3832. }
  3833. func _Favorite_CleanState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3834. in := new(CleanStateReq)
  3835. if err := dec(in); err != nil {
  3836. return nil, err
  3837. }
  3838. if interceptor == nil {
  3839. return srv.(FavoriteServer).CleanState(ctx, in)
  3840. }
  3841. info := &grpc.UnaryServerInfo{
  3842. Server: srv,
  3843. FullMethod: "/community.service.favorite.Favorite/CleanState",
  3844. }
  3845. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3846. return srv.(FavoriteServer).CleanState(ctx, req.(*CleanStateReq))
  3847. }
  3848. return interceptor(ctx, in, info, handler)
  3849. }
  3850. func _Favorite_CopyFavs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3851. in := new(CopyFavsReq)
  3852. if err := dec(in); err != nil {
  3853. return nil, err
  3854. }
  3855. if interceptor == nil {
  3856. return srv.(FavoriteServer).CopyFavs(ctx, in)
  3857. }
  3858. info := &grpc.UnaryServerInfo{
  3859. Server: srv,
  3860. FullMethod: "/community.service.favorite.Favorite/CopyFavs",
  3861. }
  3862. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3863. return srv.(FavoriteServer).CopyFavs(ctx, req.(*CopyFavsReq))
  3864. }
  3865. return interceptor(ctx, in, info, handler)
  3866. }
  3867. func _Favorite_MoveFavs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3868. in := new(MoveFavsReq)
  3869. if err := dec(in); err != nil {
  3870. return nil, err
  3871. }
  3872. if interceptor == nil {
  3873. return srv.(FavoriteServer).MoveFavs(ctx, in)
  3874. }
  3875. info := &grpc.UnaryServerInfo{
  3876. Server: srv,
  3877. FullMethod: "/community.service.favorite.Favorite/MoveFavs",
  3878. }
  3879. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3880. return srv.(FavoriteServer).MoveFavs(ctx, req.(*MoveFavsReq))
  3881. }
  3882. return interceptor(ctx, in, info, handler)
  3883. }
  3884. func _Favorite_SetFolderSort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3885. in := new(SetFolderSortReq)
  3886. if err := dec(in); err != nil {
  3887. return nil, err
  3888. }
  3889. if interceptor == nil {
  3890. return srv.(FavoriteServer).SetFolderSort(ctx, in)
  3891. }
  3892. info := &grpc.UnaryServerInfo{
  3893. Server: srv,
  3894. FullMethod: "/community.service.favorite.Favorite/SetFolderSort",
  3895. }
  3896. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3897. return srv.(FavoriteServer).SetFolderSort(ctx, req.(*SetFolderSortReq))
  3898. }
  3899. return interceptor(ctx, in, info, handler)
  3900. }
  3901. func _Favorite_FavedUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3902. in := new(FavedUsersReq)
  3903. if err := dec(in); err != nil {
  3904. return nil, err
  3905. }
  3906. if interceptor == nil {
  3907. return srv.(FavoriteServer).FavedUsers(ctx, in)
  3908. }
  3909. info := &grpc.UnaryServerInfo{
  3910. Server: srv,
  3911. FullMethod: "/community.service.favorite.Favorite/FavedUsers",
  3912. }
  3913. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3914. return srv.(FavoriteServer).FavedUsers(ctx, req.(*FavedUsersReq))
  3915. }
  3916. return interceptor(ctx, in, info, handler)
  3917. }
  3918. func _Favorite_CntUserFolders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3919. in := new(CntUserFoldersReq)
  3920. if err := dec(in); err != nil {
  3921. return nil, err
  3922. }
  3923. if interceptor == nil {
  3924. return srv.(FavoriteServer).CntUserFolders(ctx, in)
  3925. }
  3926. info := &grpc.UnaryServerInfo{
  3927. Server: srv,
  3928. FullMethod: "/community.service.favorite.Favorite/CntUserFolders",
  3929. }
  3930. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3931. return srv.(FavoriteServer).CntUserFolders(ctx, req.(*CntUserFoldersReq))
  3932. }
  3933. return interceptor(ctx, in, info, handler)
  3934. }
  3935. func _Favorite_InDefault_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3936. in := new(InDefaultFolderReq)
  3937. if err := dec(in); err != nil {
  3938. return nil, err
  3939. }
  3940. if interceptor == nil {
  3941. return srv.(FavoriteServer).InDefault(ctx, in)
  3942. }
  3943. info := &grpc.UnaryServerInfo{
  3944. Server: srv,
  3945. FullMethod: "/community.service.favorite.Favorite/InDefault",
  3946. }
  3947. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3948. return srv.(FavoriteServer).InDefault(ctx, req.(*InDefaultFolderReq))
  3949. }
  3950. return interceptor(ctx, in, info, handler)
  3951. }
  3952. func _Favorite_MultiDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3953. in := new(MultiDelReq)
  3954. if err := dec(in); err != nil {
  3955. return nil, err
  3956. }
  3957. if interceptor == nil {
  3958. return srv.(FavoriteServer).MultiDel(ctx, in)
  3959. }
  3960. info := &grpc.UnaryServerInfo{
  3961. Server: srv,
  3962. FullMethod: "/community.service.favorite.Favorite/MultiDel",
  3963. }
  3964. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3965. return srv.(FavoriteServer).MultiDel(ctx, req.(*MultiDelReq))
  3966. }
  3967. return interceptor(ctx, in, info, handler)
  3968. }
  3969. func _Favorite_MultiAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3970. in := new(MultiAddReq)
  3971. if err := dec(in); err != nil {
  3972. return nil, err
  3973. }
  3974. if interceptor == nil {
  3975. return srv.(FavoriteServer).MultiAdd(ctx, in)
  3976. }
  3977. info := &grpc.UnaryServerInfo{
  3978. Server: srv,
  3979. FullMethod: "/community.service.favorite.Favorite/MultiAdd",
  3980. }
  3981. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3982. return srv.(FavoriteServer).MultiAdd(ctx, req.(*MultiAddReq))
  3983. }
  3984. return interceptor(ctx, in, info, handler)
  3985. }
  3986. func _Favorite_DelFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3987. in := new(DelFolderReq)
  3988. if err := dec(in); err != nil {
  3989. return nil, err
  3990. }
  3991. if interceptor == nil {
  3992. return srv.(FavoriteServer).DelFolder(ctx, in)
  3993. }
  3994. info := &grpc.UnaryServerInfo{
  3995. Server: srv,
  3996. FullMethod: "/community.service.favorite.Favorite/DelFolder",
  3997. }
  3998. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3999. return srv.(FavoriteServer).DelFolder(ctx, req.(*DelFolderReq))
  4000. }
  4001. return interceptor(ctx, in, info, handler)
  4002. }
  4003. func _Favorite_UpdateFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4004. in := new(UpdateFolderReq)
  4005. if err := dec(in); err != nil {
  4006. return nil, err
  4007. }
  4008. if interceptor == nil {
  4009. return srv.(FavoriteServer).UpdateFolder(ctx, in)
  4010. }
  4011. info := &grpc.UnaryServerInfo{
  4012. Server: srv,
  4013. FullMethod: "/community.service.favorite.Favorite/UpdateFolder",
  4014. }
  4015. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4016. return srv.(FavoriteServer).UpdateFolder(ctx, req.(*UpdateFolderReq))
  4017. }
  4018. return interceptor(ctx, in, info, handler)
  4019. }
  4020. func _Favorite_AddFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4021. in := new(AddFolderReq)
  4022. if err := dec(in); err != nil {
  4023. return nil, err
  4024. }
  4025. if interceptor == nil {
  4026. return srv.(FavoriteServer).AddFolder(ctx, in)
  4027. }
  4028. info := &grpc.UnaryServerInfo{
  4029. Server: srv,
  4030. FullMethod: "/community.service.favorite.Favorite/AddFolder",
  4031. }
  4032. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4033. return srv.(FavoriteServer).AddFolder(ctx, req.(*AddFolderReq))
  4034. }
  4035. return interceptor(ctx, in, info, handler)
  4036. }
  4037. func _Favorite_Favorites_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4038. in := new(FavoritesReq)
  4039. if err := dec(in); err != nil {
  4040. return nil, err
  4041. }
  4042. if interceptor == nil {
  4043. return srv.(FavoriteServer).Favorites(ctx, in)
  4044. }
  4045. info := &grpc.UnaryServerInfo{
  4046. Server: srv,
  4047. FullMethod: "/community.service.favorite.Favorite/Favorites",
  4048. }
  4049. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4050. return srv.(FavoriteServer).Favorites(ctx, req.(*FavoritesReq))
  4051. }
  4052. return interceptor(ctx, in, info, handler)
  4053. }
  4054. func _Favorite_FavoritesAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4055. in := new(FavoritesReq)
  4056. if err := dec(in); err != nil {
  4057. return nil, err
  4058. }
  4059. if interceptor == nil {
  4060. return srv.(FavoriteServer).FavoritesAll(ctx, in)
  4061. }
  4062. info := &grpc.UnaryServerInfo{
  4063. Server: srv,
  4064. FullMethod: "/community.service.favorite.Favorite/FavoritesAll",
  4065. }
  4066. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4067. return srv.(FavoriteServer).FavoritesAll(ctx, req.(*FavoritesReq))
  4068. }
  4069. return interceptor(ctx, in, info, handler)
  4070. }
  4071. func _Favorite_Tlists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4072. in := new(TlistsReq)
  4073. if err := dec(in); err != nil {
  4074. return nil, err
  4075. }
  4076. if interceptor == nil {
  4077. return srv.(FavoriteServer).Tlists(ctx, in)
  4078. }
  4079. info := &grpc.UnaryServerInfo{
  4080. Server: srv,
  4081. FullMethod: "/community.service.favorite.Favorite/Tlists",
  4082. }
  4083. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4084. return srv.(FavoriteServer).Tlists(ctx, req.(*TlistsReq))
  4085. }
  4086. return interceptor(ctx, in, info, handler)
  4087. }
  4088. func _Favorite_RecentFavs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4089. in := new(RecentFavsReq)
  4090. if err := dec(in); err != nil {
  4091. return nil, err
  4092. }
  4093. if interceptor == nil {
  4094. return srv.(FavoriteServer).RecentFavs(ctx, in)
  4095. }
  4096. info := &grpc.UnaryServerInfo{
  4097. Server: srv,
  4098. FullMethod: "/community.service.favorite.Favorite/RecentFavs",
  4099. }
  4100. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4101. return srv.(FavoriteServer).RecentFavs(ctx, req.(*RecentFavsReq))
  4102. }
  4103. return interceptor(ctx, in, info, handler)
  4104. }
  4105. func _Favorite_RecentResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4106. in := new(RecentResourcesReq)
  4107. if err := dec(in); err != nil {
  4108. return nil, err
  4109. }
  4110. if interceptor == nil {
  4111. return srv.(FavoriteServer).RecentResources(ctx, in)
  4112. }
  4113. info := &grpc.UnaryServerInfo{
  4114. Server: srv,
  4115. FullMethod: "/community.service.favorite.Favorite/RecentResources",
  4116. }
  4117. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4118. return srv.(FavoriteServer).RecentResources(ctx, req.(*RecentResourcesReq))
  4119. }
  4120. return interceptor(ctx, in, info, handler)
  4121. }
  4122. func _Favorite_IsFavored_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4123. in := new(IsFavoredReq)
  4124. if err := dec(in); err != nil {
  4125. return nil, err
  4126. }
  4127. if interceptor == nil {
  4128. return srv.(FavoriteServer).IsFavored(ctx, in)
  4129. }
  4130. info := &grpc.UnaryServerInfo{
  4131. Server: srv,
  4132. FullMethod: "/community.service.favorite.Favorite/IsFavored",
  4133. }
  4134. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4135. return srv.(FavoriteServer).IsFavored(ctx, req.(*IsFavoredReq))
  4136. }
  4137. return interceptor(ctx, in, info, handler)
  4138. }
  4139. func _Favorite_IsFavoredByFid_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4140. in := new(IsFavoredByFidReq)
  4141. if err := dec(in); err != nil {
  4142. return nil, err
  4143. }
  4144. if interceptor == nil {
  4145. return srv.(FavoriteServer).IsFavoredByFid(ctx, in)
  4146. }
  4147. info := &grpc.UnaryServerInfo{
  4148. Server: srv,
  4149. FullMethod: "/community.service.favorite.Favorite/IsFavoredByFid",
  4150. }
  4151. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4152. return srv.(FavoriteServer).IsFavoredByFid(ctx, req.(*IsFavoredByFidReq))
  4153. }
  4154. return interceptor(ctx, in, info, handler)
  4155. }
  4156. func _Favorite_IsFavoreds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4157. in := new(IsFavoredsReq)
  4158. if err := dec(in); err != nil {
  4159. return nil, err
  4160. }
  4161. if interceptor == nil {
  4162. return srv.(FavoriteServer).IsFavoreds(ctx, in)
  4163. }
  4164. info := &grpc.UnaryServerInfo{
  4165. Server: srv,
  4166. FullMethod: "/community.service.favorite.Favorite/IsFavoreds",
  4167. }
  4168. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4169. return srv.(FavoriteServer).IsFavoreds(ctx, req.(*IsFavoredsReq))
  4170. }
  4171. return interceptor(ctx, in, info, handler)
  4172. }
  4173. func _Favorite_AddFav_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4174. in := new(AddFavReq)
  4175. if err := dec(in); err != nil {
  4176. return nil, err
  4177. }
  4178. if interceptor == nil {
  4179. return srv.(FavoriteServer).AddFav(ctx, in)
  4180. }
  4181. info := &grpc.UnaryServerInfo{
  4182. Server: srv,
  4183. FullMethod: "/community.service.favorite.Favorite/AddFav",
  4184. }
  4185. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4186. return srv.(FavoriteServer).AddFav(ctx, req.(*AddFavReq))
  4187. }
  4188. return interceptor(ctx, in, info, handler)
  4189. }
  4190. func _Favorite_DelFav_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4191. in := new(DelFavReq)
  4192. if err := dec(in); err != nil {
  4193. return nil, err
  4194. }
  4195. if interceptor == nil {
  4196. return srv.(FavoriteServer).DelFav(ctx, in)
  4197. }
  4198. info := &grpc.UnaryServerInfo{
  4199. Server: srv,
  4200. FullMethod: "/community.service.favorite.Favorite/DelFav",
  4201. }
  4202. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4203. return srv.(FavoriteServer).DelFav(ctx, req.(*DelFavReq))
  4204. }
  4205. return interceptor(ctx, in, info, handler)
  4206. }
  4207. func _Favorite_UserFolders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4208. in := new(UserFoldersReq)
  4209. if err := dec(in); err != nil {
  4210. return nil, err
  4211. }
  4212. if interceptor == nil {
  4213. return srv.(FavoriteServer).UserFolders(ctx, in)
  4214. }
  4215. info := &grpc.UnaryServerInfo{
  4216. Server: srv,
  4217. FullMethod: "/community.service.favorite.Favorite/UserFolders",
  4218. }
  4219. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4220. return srv.(FavoriteServer).UserFolders(ctx, req.(*UserFoldersReq))
  4221. }
  4222. return interceptor(ctx, in, info, handler)
  4223. }
  4224. func _Favorite_UserFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4225. in := new(UserFolderReq)
  4226. if err := dec(in); err != nil {
  4227. return nil, err
  4228. }
  4229. if interceptor == nil {
  4230. return srv.(FavoriteServer).UserFolder(ctx, in)
  4231. }
  4232. info := &grpc.UnaryServerInfo{
  4233. Server: srv,
  4234. FullMethod: "/community.service.favorite.Favorite/UserFolder",
  4235. }
  4236. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4237. return srv.(FavoriteServer).UserFolder(ctx, req.(*UserFolderReq))
  4238. }
  4239. return interceptor(ctx, in, info, handler)
  4240. }
  4241. func _Favorite_Folders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4242. in := new(FoldersReq)
  4243. if err := dec(in); err != nil {
  4244. return nil, err
  4245. }
  4246. if interceptor == nil {
  4247. return srv.(FavoriteServer).Folders(ctx, in)
  4248. }
  4249. info := &grpc.UnaryServerInfo{
  4250. Server: srv,
  4251. FullMethod: "/community.service.favorite.Favorite/Folders",
  4252. }
  4253. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4254. return srv.(FavoriteServer).Folders(ctx, req.(*FoldersReq))
  4255. }
  4256. return interceptor(ctx, in, info, handler)
  4257. }
  4258. func _Favorite_SortFavs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4259. in := new(SortFavsReq)
  4260. if err := dec(in); err != nil {
  4261. return nil, err
  4262. }
  4263. if interceptor == nil {
  4264. return srv.(FavoriteServer).SortFavs(ctx, in)
  4265. }
  4266. info := &grpc.UnaryServerInfo{
  4267. Server: srv,
  4268. FullMethod: "/community.service.favorite.Favorite/SortFavs",
  4269. }
  4270. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4271. return srv.(FavoriteServer).SortFavs(ctx, req.(*SortFavsReq))
  4272. }
  4273. return interceptor(ctx, in, info, handler)
  4274. }
  4275. var _Favorite_serviceDesc = grpc.ServiceDesc{
  4276. ServiceName: "community.service.favorite.Favorite",
  4277. HandlerType: (*FavoriteServer)(nil),
  4278. Methods: []grpc.MethodDesc{
  4279. {
  4280. MethodName: "AdminUpdateFolder",
  4281. Handler: _Favorite_AdminUpdateFolder_Handler,
  4282. },
  4283. {
  4284. MethodName: "FavDelFolders",
  4285. Handler: _Favorite_FavDelFolders_Handler,
  4286. },
  4287. {
  4288. MethodName: "FavAddFolders",
  4289. Handler: _Favorite_FavAddFolders_Handler,
  4290. },
  4291. {
  4292. MethodName: "UpFolderName",
  4293. Handler: _Favorite_UpFolderName_Handler,
  4294. },
  4295. {
  4296. MethodName: "UpFolderAttr",
  4297. Handler: _Favorite_UpFolderAttr_Handler,
  4298. },
  4299. {
  4300. MethodName: "CleanInvalidFavs",
  4301. Handler: _Favorite_CleanInvalidFavs_Handler,
  4302. },
  4303. {
  4304. MethodName: "CleanState",
  4305. Handler: _Favorite_CleanState_Handler,
  4306. },
  4307. {
  4308. MethodName: "CopyFavs",
  4309. Handler: _Favorite_CopyFavs_Handler,
  4310. },
  4311. {
  4312. MethodName: "MoveFavs",
  4313. Handler: _Favorite_MoveFavs_Handler,
  4314. },
  4315. {
  4316. MethodName: "SetFolderSort",
  4317. Handler: _Favorite_SetFolderSort_Handler,
  4318. },
  4319. {
  4320. MethodName: "FavedUsers",
  4321. Handler: _Favorite_FavedUsers_Handler,
  4322. },
  4323. {
  4324. MethodName: "CntUserFolders",
  4325. Handler: _Favorite_CntUserFolders_Handler,
  4326. },
  4327. {
  4328. MethodName: "InDefault",
  4329. Handler: _Favorite_InDefault_Handler,
  4330. },
  4331. {
  4332. MethodName: "MultiDel",
  4333. Handler: _Favorite_MultiDel_Handler,
  4334. },
  4335. {
  4336. MethodName: "MultiAdd",
  4337. Handler: _Favorite_MultiAdd_Handler,
  4338. },
  4339. {
  4340. MethodName: "DelFolder",
  4341. Handler: _Favorite_DelFolder_Handler,
  4342. },
  4343. {
  4344. MethodName: "UpdateFolder",
  4345. Handler: _Favorite_UpdateFolder_Handler,
  4346. },
  4347. {
  4348. MethodName: "AddFolder",
  4349. Handler: _Favorite_AddFolder_Handler,
  4350. },
  4351. {
  4352. MethodName: "Favorites",
  4353. Handler: _Favorite_Favorites_Handler,
  4354. },
  4355. {
  4356. MethodName: "FavoritesAll",
  4357. Handler: _Favorite_FavoritesAll_Handler,
  4358. },
  4359. {
  4360. MethodName: "Tlists",
  4361. Handler: _Favorite_Tlists_Handler,
  4362. },
  4363. {
  4364. MethodName: "RecentFavs",
  4365. Handler: _Favorite_RecentFavs_Handler,
  4366. },
  4367. {
  4368. MethodName: "RecentResources",
  4369. Handler: _Favorite_RecentResources_Handler,
  4370. },
  4371. {
  4372. MethodName: "IsFavored",
  4373. Handler: _Favorite_IsFavored_Handler,
  4374. },
  4375. {
  4376. MethodName: "IsFavoredByFid",
  4377. Handler: _Favorite_IsFavoredByFid_Handler,
  4378. },
  4379. {
  4380. MethodName: "IsFavoreds",
  4381. Handler: _Favorite_IsFavoreds_Handler,
  4382. },
  4383. {
  4384. MethodName: "AddFav",
  4385. Handler: _Favorite_AddFav_Handler,
  4386. },
  4387. {
  4388. MethodName: "DelFav",
  4389. Handler: _Favorite_DelFav_Handler,
  4390. },
  4391. {
  4392. MethodName: "UserFolders",
  4393. Handler: _Favorite_UserFolders_Handler,
  4394. },
  4395. {
  4396. MethodName: "UserFolder",
  4397. Handler: _Favorite_UserFolder_Handler,
  4398. },
  4399. {
  4400. MethodName: "Folders",
  4401. Handler: _Favorite_Folders_Handler,
  4402. },
  4403. {
  4404. MethodName: "SortFavs",
  4405. Handler: _Favorite_SortFavs_Handler,
  4406. },
  4407. },
  4408. Streams: []grpc.StreamDesc{},
  4409. Metadata: "app/service/main/favorite/api/api.proto",
  4410. }
  4411. func (m *ModelPage) Marshal() (dAtA []byte, err error) {
  4412. size := m.Size()
  4413. dAtA = make([]byte, size)
  4414. n, err := m.MarshalTo(dAtA)
  4415. if err != nil {
  4416. return nil, err
  4417. }
  4418. return dAtA[:n], nil
  4419. }
  4420. func (m *ModelPage) MarshalTo(dAtA []byte) (int, error) {
  4421. var i int
  4422. _ = i
  4423. var l int
  4424. _ = l
  4425. if m.Num != 0 {
  4426. dAtA[i] = 0x8
  4427. i++
  4428. i = encodeVarintApi(dAtA, i, uint64(m.Num))
  4429. }
  4430. if m.Size_ != 0 {
  4431. dAtA[i] = 0x10
  4432. i++
  4433. i = encodeVarintApi(dAtA, i, uint64(m.Size_))
  4434. }
  4435. if m.Count != 0 {
  4436. dAtA[i] = 0x18
  4437. i++
  4438. i = encodeVarintApi(dAtA, i, uint64(m.Count))
  4439. }
  4440. if m.XXX_unrecognized != nil {
  4441. i += copy(dAtA[i:], m.XXX_unrecognized)
  4442. }
  4443. return i, nil
  4444. }
  4445. func (m *ModelFavorite) Marshal() (dAtA []byte, err error) {
  4446. size := m.Size()
  4447. dAtA = make([]byte, size)
  4448. n, err := m.MarshalTo(dAtA)
  4449. if err != nil {
  4450. return nil, err
  4451. }
  4452. return dAtA[:n], nil
  4453. }
  4454. func (m *ModelFavorite) MarshalTo(dAtA []byte) (int, error) {
  4455. var i int
  4456. _ = i
  4457. var l int
  4458. _ = l
  4459. if m.Id != 0 {
  4460. dAtA[i] = 0x8
  4461. i++
  4462. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  4463. }
  4464. if m.Oid != 0 {
  4465. dAtA[i] = 0x10
  4466. i++
  4467. i = encodeVarintApi(dAtA, i, uint64(m.Oid))
  4468. }
  4469. if m.Mid != 0 {
  4470. dAtA[i] = 0x18
  4471. i++
  4472. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4473. }
  4474. if m.Fid != 0 {
  4475. dAtA[i] = 0x20
  4476. i++
  4477. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  4478. }
  4479. if m.Type != 0 {
  4480. dAtA[i] = 0x28
  4481. i++
  4482. i = encodeVarintApi(dAtA, i, uint64(m.Type))
  4483. }
  4484. if m.State != 0 {
  4485. dAtA[i] = 0x30
  4486. i++
  4487. i = encodeVarintApi(dAtA, i, uint64(m.State))
  4488. }
  4489. if m.Ctime != 0 {
  4490. dAtA[i] = 0x38
  4491. i++
  4492. i = encodeVarintApi(dAtA, i, uint64(m.Ctime))
  4493. }
  4494. if m.Mtime != 0 {
  4495. dAtA[i] = 0x40
  4496. i++
  4497. i = encodeVarintApi(dAtA, i, uint64(m.Mtime))
  4498. }
  4499. if m.XXX_unrecognized != nil {
  4500. i += copy(dAtA[i:], m.XXX_unrecognized)
  4501. }
  4502. return i, nil
  4503. }
  4504. func (m *ModelPartition) Marshal() (dAtA []byte, err error) {
  4505. size := m.Size()
  4506. dAtA = make([]byte, size)
  4507. n, err := m.MarshalTo(dAtA)
  4508. if err != nil {
  4509. return nil, err
  4510. }
  4511. return dAtA[:n], nil
  4512. }
  4513. func (m *ModelPartition) MarshalTo(dAtA []byte) (int, error) {
  4514. var i int
  4515. _ = i
  4516. var l int
  4517. _ = l
  4518. if m.Tid != 0 {
  4519. dAtA[i] = 0x8
  4520. i++
  4521. i = encodeVarintApi(dAtA, i, uint64(m.Tid))
  4522. }
  4523. if len(m.Name) > 0 {
  4524. dAtA[i] = 0x12
  4525. i++
  4526. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  4527. i += copy(dAtA[i:], m.Name)
  4528. }
  4529. if m.Count != 0 {
  4530. dAtA[i] = 0x18
  4531. i++
  4532. i = encodeVarintApi(dAtA, i, uint64(m.Count))
  4533. }
  4534. if m.XXX_unrecognized != nil {
  4535. i += copy(dAtA[i:], m.XXX_unrecognized)
  4536. }
  4537. return i, nil
  4538. }
  4539. func (m *ModelFavorites) Marshal() (dAtA []byte, err error) {
  4540. size := m.Size()
  4541. dAtA = make([]byte, size)
  4542. n, err := m.MarshalTo(dAtA)
  4543. if err != nil {
  4544. return nil, err
  4545. }
  4546. return dAtA[:n], nil
  4547. }
  4548. func (m *ModelFavorites) MarshalTo(dAtA []byte) (int, error) {
  4549. var i int
  4550. _ = i
  4551. var l int
  4552. _ = l
  4553. if m.Page != nil {
  4554. dAtA[i] = 0xa
  4555. i++
  4556. i = encodeVarintApi(dAtA, i, uint64(m.Page.Size()))
  4557. n1, err := m.Page.MarshalTo(dAtA[i:])
  4558. if err != nil {
  4559. return 0, err
  4560. }
  4561. i += n1
  4562. }
  4563. if len(m.List) > 0 {
  4564. for _, msg := range m.List {
  4565. dAtA[i] = 0x12
  4566. i++
  4567. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4568. n, err := msg.MarshalTo(dAtA[i:])
  4569. if err != nil {
  4570. return 0, err
  4571. }
  4572. i += n
  4573. }
  4574. }
  4575. if m.XXX_unrecognized != nil {
  4576. i += copy(dAtA[i:], m.XXX_unrecognized)
  4577. }
  4578. return i, nil
  4579. }
  4580. func (m *AddFavReply) Marshal() (dAtA []byte, err error) {
  4581. size := m.Size()
  4582. dAtA = make([]byte, size)
  4583. n, err := m.MarshalTo(dAtA)
  4584. if err != nil {
  4585. return nil, err
  4586. }
  4587. return dAtA[:n], nil
  4588. }
  4589. func (m *AddFavReply) MarshalTo(dAtA []byte) (int, error) {
  4590. var i int
  4591. _ = i
  4592. var l int
  4593. _ = l
  4594. if m.XXX_unrecognized != nil {
  4595. i += copy(dAtA[i:], m.XXX_unrecognized)
  4596. }
  4597. return i, nil
  4598. }
  4599. func (m *AddFavReq) Marshal() (dAtA []byte, err error) {
  4600. size := m.Size()
  4601. dAtA = make([]byte, size)
  4602. n, err := m.MarshalTo(dAtA)
  4603. if err != nil {
  4604. return nil, err
  4605. }
  4606. return dAtA[:n], nil
  4607. }
  4608. func (m *AddFavReq) MarshalTo(dAtA []byte) (int, error) {
  4609. var i int
  4610. _ = i
  4611. var l int
  4612. _ = l
  4613. if m.Tp != 0 {
  4614. dAtA[i] = 0x10
  4615. i++
  4616. i = encodeVarintApi(dAtA, i, uint64(m.Tp))
  4617. }
  4618. if m.Mid != 0 {
  4619. dAtA[i] = 0x18
  4620. i++
  4621. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4622. }
  4623. if m.Fid != 0 {
  4624. dAtA[i] = 0x20
  4625. i++
  4626. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  4627. }
  4628. if m.Oid != 0 {
  4629. dAtA[i] = 0x28
  4630. i++
  4631. i = encodeVarintApi(dAtA, i, uint64(m.Oid))
  4632. }
  4633. if m.Otype != 0 {
  4634. dAtA[i] = 0x30
  4635. i++
  4636. i = encodeVarintApi(dAtA, i, uint64(m.Otype))
  4637. }
  4638. if m.XXX_unrecognized != nil {
  4639. i += copy(dAtA[i:], m.XXX_unrecognized)
  4640. }
  4641. return i, nil
  4642. }
  4643. func (m *DelFavReply) Marshal() (dAtA []byte, err error) {
  4644. size := m.Size()
  4645. dAtA = make([]byte, size)
  4646. n, err := m.MarshalTo(dAtA)
  4647. if err != nil {
  4648. return nil, err
  4649. }
  4650. return dAtA[:n], nil
  4651. }
  4652. func (m *DelFavReply) MarshalTo(dAtA []byte) (int, error) {
  4653. var i int
  4654. _ = i
  4655. var l int
  4656. _ = l
  4657. if m.XXX_unrecognized != nil {
  4658. i += copy(dAtA[i:], m.XXX_unrecognized)
  4659. }
  4660. return i, nil
  4661. }
  4662. func (m *DelFavReq) Marshal() (dAtA []byte, err error) {
  4663. size := m.Size()
  4664. dAtA = make([]byte, size)
  4665. n, err := m.MarshalTo(dAtA)
  4666. if err != nil {
  4667. return nil, err
  4668. }
  4669. return dAtA[:n], nil
  4670. }
  4671. func (m *DelFavReq) MarshalTo(dAtA []byte) (int, error) {
  4672. var i int
  4673. _ = i
  4674. var l int
  4675. _ = l
  4676. if m.Tp != 0 {
  4677. dAtA[i] = 0x10
  4678. i++
  4679. i = encodeVarintApi(dAtA, i, uint64(m.Tp))
  4680. }
  4681. if m.Mid != 0 {
  4682. dAtA[i] = 0x18
  4683. i++
  4684. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4685. }
  4686. if m.Fid != 0 {
  4687. dAtA[i] = 0x20
  4688. i++
  4689. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  4690. }
  4691. if m.Oid != 0 {
  4692. dAtA[i] = 0x28
  4693. i++
  4694. i = encodeVarintApi(dAtA, i, uint64(m.Oid))
  4695. }
  4696. if m.Otype != 0 {
  4697. dAtA[i] = 0x30
  4698. i++
  4699. i = encodeVarintApi(dAtA, i, uint64(m.Otype))
  4700. }
  4701. if m.XXX_unrecognized != nil {
  4702. i += copy(dAtA[i:], m.XXX_unrecognized)
  4703. }
  4704. return i, nil
  4705. }
  4706. func (m *FavoritesReply) Marshal() (dAtA []byte, err error) {
  4707. size := m.Size()
  4708. dAtA = make([]byte, size)
  4709. n, err := m.MarshalTo(dAtA)
  4710. if err != nil {
  4711. return nil, err
  4712. }
  4713. return dAtA[:n], nil
  4714. }
  4715. func (m *FavoritesReply) MarshalTo(dAtA []byte) (int, error) {
  4716. var i int
  4717. _ = i
  4718. var l int
  4719. _ = l
  4720. if m.Res != nil {
  4721. dAtA[i] = 0xa
  4722. i++
  4723. i = encodeVarintApi(dAtA, i, uint64(m.Res.Size()))
  4724. n2, err := m.Res.MarshalTo(dAtA[i:])
  4725. if err != nil {
  4726. return 0, err
  4727. }
  4728. i += n2
  4729. }
  4730. if m.XXX_unrecognized != nil {
  4731. i += copy(dAtA[i:], m.XXX_unrecognized)
  4732. }
  4733. return i, nil
  4734. }
  4735. func (m *FavoritesReq) Marshal() (dAtA []byte, err error) {
  4736. size := m.Size()
  4737. dAtA = make([]byte, size)
  4738. n, err := m.MarshalTo(dAtA)
  4739. if err != nil {
  4740. return nil, err
  4741. }
  4742. return dAtA[:n], nil
  4743. }
  4744. func (m *FavoritesReq) MarshalTo(dAtA []byte) (int, error) {
  4745. var i int
  4746. _ = i
  4747. var l int
  4748. _ = l
  4749. if m.Tp != 0 {
  4750. dAtA[i] = 0x10
  4751. i++
  4752. i = encodeVarintApi(dAtA, i, uint64(m.Tp))
  4753. }
  4754. if m.Mid != 0 {
  4755. dAtA[i] = 0x18
  4756. i++
  4757. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4758. }
  4759. if m.Uid != 0 {
  4760. dAtA[i] = 0x20
  4761. i++
  4762. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  4763. }
  4764. if m.Fid != 0 {
  4765. dAtA[i] = 0x28
  4766. i++
  4767. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  4768. }
  4769. if m.Pn != 0 {
  4770. dAtA[i] = 0x30
  4771. i++
  4772. i = encodeVarintApi(dAtA, i, uint64(m.Pn))
  4773. }
  4774. if m.Ps != 0 {
  4775. dAtA[i] = 0x38
  4776. i++
  4777. i = encodeVarintApi(dAtA, i, uint64(m.Ps))
  4778. }
  4779. if m.Tid != 0 {
  4780. dAtA[i] = 0x40
  4781. i++
  4782. i = encodeVarintApi(dAtA, i, uint64(m.Tid))
  4783. }
  4784. if m.Tv != 0 {
  4785. dAtA[i] = 0x48
  4786. i++
  4787. i = encodeVarintApi(dAtA, i, uint64(m.Tv))
  4788. }
  4789. if len(m.Keyword) > 0 {
  4790. dAtA[i] = 0x52
  4791. i++
  4792. i = encodeVarintApi(dAtA, i, uint64(len(m.Keyword)))
  4793. i += copy(dAtA[i:], m.Keyword)
  4794. }
  4795. if len(m.Order) > 0 {
  4796. dAtA[i] = 0x5a
  4797. i++
  4798. i = encodeVarintApi(dAtA, i, uint64(len(m.Order)))
  4799. i += copy(dAtA[i:], m.Order)
  4800. }
  4801. if m.XXX_unrecognized != nil {
  4802. i += copy(dAtA[i:], m.XXX_unrecognized)
  4803. }
  4804. return i, nil
  4805. }
  4806. func (m *TlistsReply) Marshal() (dAtA []byte, err error) {
  4807. size := m.Size()
  4808. dAtA = make([]byte, size)
  4809. n, err := m.MarshalTo(dAtA)
  4810. if err != nil {
  4811. return nil, err
  4812. }
  4813. return dAtA[:n], nil
  4814. }
  4815. func (m *TlistsReply) MarshalTo(dAtA []byte) (int, error) {
  4816. var i int
  4817. _ = i
  4818. var l int
  4819. _ = l
  4820. if len(m.Res) > 0 {
  4821. for _, msg := range m.Res {
  4822. dAtA[i] = 0xa
  4823. i++
  4824. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  4825. n, err := msg.MarshalTo(dAtA[i:])
  4826. if err != nil {
  4827. return 0, err
  4828. }
  4829. i += n
  4830. }
  4831. }
  4832. if m.XXX_unrecognized != nil {
  4833. i += copy(dAtA[i:], m.XXX_unrecognized)
  4834. }
  4835. return i, nil
  4836. }
  4837. func (m *TlistsReq) Marshal() (dAtA []byte, err error) {
  4838. size := m.Size()
  4839. dAtA = make([]byte, size)
  4840. n, err := m.MarshalTo(dAtA)
  4841. if err != nil {
  4842. return nil, err
  4843. }
  4844. return dAtA[:n], nil
  4845. }
  4846. func (m *TlistsReq) MarshalTo(dAtA []byte) (int, error) {
  4847. var i int
  4848. _ = i
  4849. var l int
  4850. _ = l
  4851. if m.Tp != 0 {
  4852. dAtA[i] = 0x10
  4853. i++
  4854. i = encodeVarintApi(dAtA, i, uint64(m.Tp))
  4855. }
  4856. if m.Mid != 0 {
  4857. dAtA[i] = 0x18
  4858. i++
  4859. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4860. }
  4861. if m.Uid != 0 {
  4862. dAtA[i] = 0x20
  4863. i++
  4864. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  4865. }
  4866. if m.Fid != 0 {
  4867. dAtA[i] = 0x28
  4868. i++
  4869. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  4870. }
  4871. if m.XXX_unrecognized != nil {
  4872. i += copy(dAtA[i:], m.XXX_unrecognized)
  4873. }
  4874. return i, nil
  4875. }
  4876. func (m *RecentFavsReply) Marshal() (dAtA []byte, err error) {
  4877. size := m.Size()
  4878. dAtA = make([]byte, size)
  4879. n, err := m.MarshalTo(dAtA)
  4880. if err != nil {
  4881. return nil, err
  4882. }
  4883. return dAtA[:n], nil
  4884. }
  4885. func (m *RecentFavsReply) MarshalTo(dAtA []byte) (int, error) {
  4886. var i int
  4887. _ = i
  4888. var l int
  4889. _ = l
  4890. if len(m.Res) > 0 {
  4891. dAtA4 := make([]byte, len(m.Res)*10)
  4892. var j3 int
  4893. for _, num1 := range m.Res {
  4894. num := uint64(num1)
  4895. for num >= 1<<7 {
  4896. dAtA4[j3] = uint8(uint64(num)&0x7f | 0x80)
  4897. num >>= 7
  4898. j3++
  4899. }
  4900. dAtA4[j3] = uint8(num)
  4901. j3++
  4902. }
  4903. dAtA[i] = 0xa
  4904. i++
  4905. i = encodeVarintApi(dAtA, i, uint64(j3))
  4906. i += copy(dAtA[i:], dAtA4[:j3])
  4907. }
  4908. if m.XXX_unrecognized != nil {
  4909. i += copy(dAtA[i:], m.XXX_unrecognized)
  4910. }
  4911. return i, nil
  4912. }
  4913. func (m *RecentFavsReq) Marshal() (dAtA []byte, err error) {
  4914. size := m.Size()
  4915. dAtA = make([]byte, size)
  4916. n, err := m.MarshalTo(dAtA)
  4917. if err != nil {
  4918. return nil, err
  4919. }
  4920. return dAtA[:n], nil
  4921. }
  4922. func (m *RecentFavsReq) MarshalTo(dAtA []byte) (int, error) {
  4923. var i int
  4924. _ = i
  4925. var l int
  4926. _ = l
  4927. if m.Tp != 0 {
  4928. dAtA[i] = 0x10
  4929. i++
  4930. i = encodeVarintApi(dAtA, i, uint64(m.Tp))
  4931. }
  4932. if m.Mid != 0 {
  4933. dAtA[i] = 0x18
  4934. i++
  4935. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4936. }
  4937. if m.Size_ != 0 {
  4938. dAtA[i] = 0x20
  4939. i++
  4940. i = encodeVarintApi(dAtA, i, uint64(m.Size_))
  4941. }
  4942. if m.XXX_unrecognized != nil {
  4943. i += copy(dAtA[i:], m.XXX_unrecognized)
  4944. }
  4945. return i, nil
  4946. }
  4947. func (m *IsFavoredReply) Marshal() (dAtA []byte, err error) {
  4948. size := m.Size()
  4949. dAtA = make([]byte, size)
  4950. n, err := m.MarshalTo(dAtA)
  4951. if err != nil {
  4952. return nil, err
  4953. }
  4954. return dAtA[:n], nil
  4955. }
  4956. func (m *IsFavoredReply) MarshalTo(dAtA []byte) (int, error) {
  4957. var i int
  4958. _ = i
  4959. var l int
  4960. _ = l
  4961. if m.Faved {
  4962. dAtA[i] = 0x8
  4963. i++
  4964. if m.Faved {
  4965. dAtA[i] = 1
  4966. } else {
  4967. dAtA[i] = 0
  4968. }
  4969. i++
  4970. }
  4971. if m.XXX_unrecognized != nil {
  4972. i += copy(dAtA[i:], m.XXX_unrecognized)
  4973. }
  4974. return i, nil
  4975. }
  4976. func (m *IsFavoredReq) Marshal() (dAtA []byte, err error) {
  4977. size := m.Size()
  4978. dAtA = make([]byte, size)
  4979. n, err := m.MarshalTo(dAtA)
  4980. if err != nil {
  4981. return nil, err
  4982. }
  4983. return dAtA[:n], nil
  4984. }
  4985. func (m *IsFavoredReq) MarshalTo(dAtA []byte) (int, error) {
  4986. var i int
  4987. _ = i
  4988. var l int
  4989. _ = l
  4990. if m.Typ != 0 {
  4991. dAtA[i] = 0x10
  4992. i++
  4993. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  4994. }
  4995. if m.Mid != 0 {
  4996. dAtA[i] = 0x18
  4997. i++
  4998. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4999. }
  5000. if m.Oid != 0 {
  5001. dAtA[i] = 0x20
  5002. i++
  5003. i = encodeVarintApi(dAtA, i, uint64(m.Oid))
  5004. }
  5005. if m.XXX_unrecognized != nil {
  5006. i += copy(dAtA[i:], m.XXX_unrecognized)
  5007. }
  5008. return i, nil
  5009. }
  5010. func (m *IsFavoredByFidReq) Marshal() (dAtA []byte, err error) {
  5011. size := m.Size()
  5012. dAtA = make([]byte, size)
  5013. n, err := m.MarshalTo(dAtA)
  5014. if err != nil {
  5015. return nil, err
  5016. }
  5017. return dAtA[:n], nil
  5018. }
  5019. func (m *IsFavoredByFidReq) MarshalTo(dAtA []byte) (int, error) {
  5020. var i int
  5021. _ = i
  5022. var l int
  5023. _ = l
  5024. if m.Type != 0 {
  5025. dAtA[i] = 0x8
  5026. i++
  5027. i = encodeVarintApi(dAtA, i, uint64(m.Type))
  5028. }
  5029. if m.Mid != 0 {
  5030. dAtA[i] = 0x10
  5031. i++
  5032. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5033. }
  5034. if m.Oid != 0 {
  5035. dAtA[i] = 0x18
  5036. i++
  5037. i = encodeVarintApi(dAtA, i, uint64(m.Oid))
  5038. }
  5039. if m.Fid != 0 {
  5040. dAtA[i] = 0x20
  5041. i++
  5042. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  5043. }
  5044. if m.XXX_unrecognized != nil {
  5045. i += copy(dAtA[i:], m.XXX_unrecognized)
  5046. }
  5047. return i, nil
  5048. }
  5049. func (m *IsFavoredsReply) Marshal() (dAtA []byte, err error) {
  5050. size := m.Size()
  5051. dAtA = make([]byte, size)
  5052. n, err := m.MarshalTo(dAtA)
  5053. if err != nil {
  5054. return nil, err
  5055. }
  5056. return dAtA[:n], nil
  5057. }
  5058. func (m *IsFavoredsReply) MarshalTo(dAtA []byte) (int, error) {
  5059. var i int
  5060. _ = i
  5061. var l int
  5062. _ = l
  5063. if len(m.Faveds) > 0 {
  5064. for k, _ := range m.Faveds {
  5065. dAtA[i] = 0xa
  5066. i++
  5067. v := m.Faveds[k]
  5068. mapSize := 1 + sovApi(uint64(k)) + 1 + 1
  5069. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  5070. dAtA[i] = 0x8
  5071. i++
  5072. i = encodeVarintApi(dAtA, i, uint64(k))
  5073. dAtA[i] = 0x10
  5074. i++
  5075. if v {
  5076. dAtA[i] = 1
  5077. } else {
  5078. dAtA[i] = 0
  5079. }
  5080. i++
  5081. }
  5082. }
  5083. if m.XXX_unrecognized != nil {
  5084. i += copy(dAtA[i:], m.XXX_unrecognized)
  5085. }
  5086. return i, nil
  5087. }
  5088. func (m *IsFavoredsReq) Marshal() (dAtA []byte, err error) {
  5089. size := m.Size()
  5090. dAtA = make([]byte, size)
  5091. n, err := m.MarshalTo(dAtA)
  5092. if err != nil {
  5093. return nil, err
  5094. }
  5095. return dAtA[:n], nil
  5096. }
  5097. func (m *IsFavoredsReq) MarshalTo(dAtA []byte) (int, error) {
  5098. var i int
  5099. _ = i
  5100. var l int
  5101. _ = l
  5102. if m.Typ != 0 {
  5103. dAtA[i] = 0x10
  5104. i++
  5105. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5106. }
  5107. if m.Mid != 0 {
  5108. dAtA[i] = 0x18
  5109. i++
  5110. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5111. }
  5112. if len(m.Oids) > 0 {
  5113. dAtA6 := make([]byte, len(m.Oids)*10)
  5114. var j5 int
  5115. for _, num1 := range m.Oids {
  5116. num := uint64(num1)
  5117. for num >= 1<<7 {
  5118. dAtA6[j5] = uint8(uint64(num)&0x7f | 0x80)
  5119. num >>= 7
  5120. j5++
  5121. }
  5122. dAtA6[j5] = uint8(num)
  5123. j5++
  5124. }
  5125. dAtA[i] = 0x22
  5126. i++
  5127. i = encodeVarintApi(dAtA, i, uint64(j5))
  5128. i += copy(dAtA[i:], dAtA6[:j5])
  5129. }
  5130. if m.XXX_unrecognized != nil {
  5131. i += copy(dAtA[i:], m.XXX_unrecognized)
  5132. }
  5133. return i, nil
  5134. }
  5135. func (m *UserFoldersReply) Marshal() (dAtA []byte, err error) {
  5136. size := m.Size()
  5137. dAtA = make([]byte, size)
  5138. n, err := m.MarshalTo(dAtA)
  5139. if err != nil {
  5140. return nil, err
  5141. }
  5142. return dAtA[:n], nil
  5143. }
  5144. func (m *UserFoldersReply) MarshalTo(dAtA []byte) (int, error) {
  5145. var i int
  5146. _ = i
  5147. var l int
  5148. _ = l
  5149. if len(m.Res) > 0 {
  5150. for _, msg := range m.Res {
  5151. dAtA[i] = 0xa
  5152. i++
  5153. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  5154. n, err := msg.MarshalTo(dAtA[i:])
  5155. if err != nil {
  5156. return 0, err
  5157. }
  5158. i += n
  5159. }
  5160. }
  5161. if m.XXX_unrecognized != nil {
  5162. i += copy(dAtA[i:], m.XXX_unrecognized)
  5163. }
  5164. return i, nil
  5165. }
  5166. func (m *UserFoldersReq) Marshal() (dAtA []byte, err error) {
  5167. size := m.Size()
  5168. dAtA = make([]byte, size)
  5169. n, err := m.MarshalTo(dAtA)
  5170. if err != nil {
  5171. return nil, err
  5172. }
  5173. return dAtA[:n], nil
  5174. }
  5175. func (m *UserFoldersReq) MarshalTo(dAtA []byte) (int, error) {
  5176. var i int
  5177. _ = i
  5178. var l int
  5179. _ = l
  5180. if m.Typ != 0 {
  5181. dAtA[i] = 0x10
  5182. i++
  5183. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5184. }
  5185. if m.Mid != 0 {
  5186. dAtA[i] = 0x18
  5187. i++
  5188. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5189. }
  5190. if m.Vmid != 0 {
  5191. dAtA[i] = 0x20
  5192. i++
  5193. i = encodeVarintApi(dAtA, i, uint64(m.Vmid))
  5194. }
  5195. if m.Oid != 0 {
  5196. dAtA[i] = 0x28
  5197. i++
  5198. i = encodeVarintApi(dAtA, i, uint64(m.Oid))
  5199. }
  5200. if m.AllCount {
  5201. dAtA[i] = 0x30
  5202. i++
  5203. if m.AllCount {
  5204. dAtA[i] = 1
  5205. } else {
  5206. dAtA[i] = 0
  5207. }
  5208. i++
  5209. }
  5210. if m.Otype != 0 {
  5211. dAtA[i] = 0x38
  5212. i++
  5213. i = encodeVarintApi(dAtA, i, uint64(m.Otype))
  5214. }
  5215. if m.XXX_unrecognized != nil {
  5216. i += copy(dAtA[i:], m.XXX_unrecognized)
  5217. }
  5218. return i, nil
  5219. }
  5220. func (m *UserFolderReply) Marshal() (dAtA []byte, err error) {
  5221. size := m.Size()
  5222. dAtA = make([]byte, size)
  5223. n, err := m.MarshalTo(dAtA)
  5224. if err != nil {
  5225. return nil, err
  5226. }
  5227. return dAtA[:n], nil
  5228. }
  5229. func (m *UserFolderReply) MarshalTo(dAtA []byte) (int, error) {
  5230. var i int
  5231. _ = i
  5232. var l int
  5233. _ = l
  5234. if m.Res != nil {
  5235. dAtA[i] = 0xa
  5236. i++
  5237. i = encodeVarintApi(dAtA, i, uint64(m.Res.Size()))
  5238. n7, err := m.Res.MarshalTo(dAtA[i:])
  5239. if err != nil {
  5240. return 0, err
  5241. }
  5242. i += n7
  5243. }
  5244. if m.XXX_unrecognized != nil {
  5245. i += copy(dAtA[i:], m.XXX_unrecognized)
  5246. }
  5247. return i, nil
  5248. }
  5249. func (m *UserFolderReq) Marshal() (dAtA []byte, err error) {
  5250. size := m.Size()
  5251. dAtA = make([]byte, size)
  5252. n, err := m.MarshalTo(dAtA)
  5253. if err != nil {
  5254. return nil, err
  5255. }
  5256. return dAtA[:n], nil
  5257. }
  5258. func (m *UserFolderReq) MarshalTo(dAtA []byte) (int, error) {
  5259. var i int
  5260. _ = i
  5261. var l int
  5262. _ = l
  5263. if m.Typ != 0 {
  5264. dAtA[i] = 0x10
  5265. i++
  5266. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5267. }
  5268. if m.Mid != 0 {
  5269. dAtA[i] = 0x18
  5270. i++
  5271. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5272. }
  5273. if m.Vmid != 0 {
  5274. dAtA[i] = 0x20
  5275. i++
  5276. i = encodeVarintApi(dAtA, i, uint64(m.Vmid))
  5277. }
  5278. if m.Fid != 0 {
  5279. dAtA[i] = 0x28
  5280. i++
  5281. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  5282. }
  5283. if m.AllCount {
  5284. dAtA[i] = 0x30
  5285. i++
  5286. if m.AllCount {
  5287. dAtA[i] = 1
  5288. } else {
  5289. dAtA[i] = 0
  5290. }
  5291. i++
  5292. }
  5293. if m.XXX_unrecognized != nil {
  5294. i += copy(dAtA[i:], m.XXX_unrecognized)
  5295. }
  5296. return i, nil
  5297. }
  5298. func (m *AddFolderReq) Marshal() (dAtA []byte, err error) {
  5299. size := m.Size()
  5300. dAtA = make([]byte, size)
  5301. n, err := m.MarshalTo(dAtA)
  5302. if err != nil {
  5303. return nil, err
  5304. }
  5305. return dAtA[:n], nil
  5306. }
  5307. func (m *AddFolderReq) MarshalTo(dAtA []byte) (int, error) {
  5308. var i int
  5309. _ = i
  5310. var l int
  5311. _ = l
  5312. if m.Typ != 0 {
  5313. dAtA[i] = 0x8
  5314. i++
  5315. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5316. }
  5317. if m.Mid != 0 {
  5318. dAtA[i] = 0x10
  5319. i++
  5320. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5321. }
  5322. if len(m.Name) > 0 {
  5323. dAtA[i] = 0x1a
  5324. i++
  5325. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  5326. i += copy(dAtA[i:], m.Name)
  5327. }
  5328. if len(m.Description) > 0 {
  5329. dAtA[i] = 0x22
  5330. i++
  5331. i = encodeVarintApi(dAtA, i, uint64(len(m.Description)))
  5332. i += copy(dAtA[i:], m.Description)
  5333. }
  5334. if len(m.Cover) > 0 {
  5335. dAtA[i] = 0x2a
  5336. i++
  5337. i = encodeVarintApi(dAtA, i, uint64(len(m.Cover)))
  5338. i += copy(dAtA[i:], m.Cover)
  5339. }
  5340. if m.Public != 0 {
  5341. dAtA[i] = 0x30
  5342. i++
  5343. i = encodeVarintApi(dAtA, i, uint64(m.Public))
  5344. }
  5345. if len(m.Cookie) > 0 {
  5346. dAtA[i] = 0x3a
  5347. i++
  5348. i = encodeVarintApi(dAtA, i, uint64(len(m.Cookie)))
  5349. i += copy(dAtA[i:], m.Cookie)
  5350. }
  5351. if len(m.AccessKey) > 0 {
  5352. dAtA[i] = 0x42
  5353. i++
  5354. i = encodeVarintApi(dAtA, i, uint64(len(m.AccessKey)))
  5355. i += copy(dAtA[i:], m.AccessKey)
  5356. }
  5357. if m.XXX_unrecognized != nil {
  5358. i += copy(dAtA[i:], m.XXX_unrecognized)
  5359. }
  5360. return i, nil
  5361. }
  5362. func (m *AddFolderReply) Marshal() (dAtA []byte, err error) {
  5363. size := m.Size()
  5364. dAtA = make([]byte, size)
  5365. n, err := m.MarshalTo(dAtA)
  5366. if err != nil {
  5367. return nil, err
  5368. }
  5369. return dAtA[:n], nil
  5370. }
  5371. func (m *AddFolderReply) MarshalTo(dAtA []byte) (int, error) {
  5372. var i int
  5373. _ = i
  5374. var l int
  5375. _ = l
  5376. if m.Fid != 0 {
  5377. dAtA[i] = 0x8
  5378. i++
  5379. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  5380. }
  5381. if m.XXX_unrecognized != nil {
  5382. i += copy(dAtA[i:], m.XXX_unrecognized)
  5383. }
  5384. return i, nil
  5385. }
  5386. func (m *UpdateFolderReq) Marshal() (dAtA []byte, err error) {
  5387. size := m.Size()
  5388. dAtA = make([]byte, size)
  5389. n, err := m.MarshalTo(dAtA)
  5390. if err != nil {
  5391. return nil, err
  5392. }
  5393. return dAtA[:n], nil
  5394. }
  5395. func (m *UpdateFolderReq) MarshalTo(dAtA []byte) (int, error) {
  5396. var i int
  5397. _ = i
  5398. var l int
  5399. _ = l
  5400. if m.Typ != 0 {
  5401. dAtA[i] = 0x8
  5402. i++
  5403. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5404. }
  5405. if m.Fid != 0 {
  5406. dAtA[i] = 0x10
  5407. i++
  5408. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  5409. }
  5410. if m.Mid != 0 {
  5411. dAtA[i] = 0x18
  5412. i++
  5413. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5414. }
  5415. if len(m.Name) > 0 {
  5416. dAtA[i] = 0x22
  5417. i++
  5418. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  5419. i += copy(dAtA[i:], m.Name)
  5420. }
  5421. if len(m.Description) > 0 {
  5422. dAtA[i] = 0x2a
  5423. i++
  5424. i = encodeVarintApi(dAtA, i, uint64(len(m.Description)))
  5425. i += copy(dAtA[i:], m.Description)
  5426. }
  5427. if len(m.Cover) > 0 {
  5428. dAtA[i] = 0x32
  5429. i++
  5430. i = encodeVarintApi(dAtA, i, uint64(len(m.Cover)))
  5431. i += copy(dAtA[i:], m.Cover)
  5432. }
  5433. if m.Public != 0 {
  5434. dAtA[i] = 0x38
  5435. i++
  5436. i = encodeVarintApi(dAtA, i, uint64(m.Public))
  5437. }
  5438. if len(m.Cookie) > 0 {
  5439. dAtA[i] = 0x42
  5440. i++
  5441. i = encodeVarintApi(dAtA, i, uint64(len(m.Cookie)))
  5442. i += copy(dAtA[i:], m.Cookie)
  5443. }
  5444. if len(m.AccessKey) > 0 {
  5445. dAtA[i] = 0x4a
  5446. i++
  5447. i = encodeVarintApi(dAtA, i, uint64(len(m.AccessKey)))
  5448. i += copy(dAtA[i:], m.AccessKey)
  5449. }
  5450. if m.XXX_unrecognized != nil {
  5451. i += copy(dAtA[i:], m.XXX_unrecognized)
  5452. }
  5453. return i, nil
  5454. }
  5455. func (m *AdminUpdateFolderReq) Marshal() (dAtA []byte, err error) {
  5456. size := m.Size()
  5457. dAtA = make([]byte, size)
  5458. n, err := m.MarshalTo(dAtA)
  5459. if err != nil {
  5460. return nil, err
  5461. }
  5462. return dAtA[:n], nil
  5463. }
  5464. func (m *AdminUpdateFolderReq) MarshalTo(dAtA []byte) (int, error) {
  5465. var i int
  5466. _ = i
  5467. var l int
  5468. _ = l
  5469. if m.Typ != 0 {
  5470. dAtA[i] = 0x8
  5471. i++
  5472. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5473. }
  5474. if m.Fid != 0 {
  5475. dAtA[i] = 0x10
  5476. i++
  5477. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  5478. }
  5479. if m.Mid != 0 {
  5480. dAtA[i] = 0x18
  5481. i++
  5482. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5483. }
  5484. if len(m.Name) > 0 {
  5485. dAtA[i] = 0x22
  5486. i++
  5487. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  5488. i += copy(dAtA[i:], m.Name)
  5489. }
  5490. if len(m.Description) > 0 {
  5491. dAtA[i] = 0x2a
  5492. i++
  5493. i = encodeVarintApi(dAtA, i, uint64(len(m.Description)))
  5494. i += copy(dAtA[i:], m.Description)
  5495. }
  5496. if len(m.Cover) > 0 {
  5497. dAtA[i] = 0x32
  5498. i++
  5499. i = encodeVarintApi(dAtA, i, uint64(len(m.Cover)))
  5500. i += copy(dAtA[i:], m.Cover)
  5501. }
  5502. if m.State != 0 {
  5503. dAtA[i] = 0x38
  5504. i++
  5505. i = encodeVarintApi(dAtA, i, uint64(m.State))
  5506. }
  5507. if m.Attr != 0 {
  5508. dAtA[i] = 0x40
  5509. i++
  5510. i = encodeVarintApi(dAtA, i, uint64(m.Attr))
  5511. }
  5512. if m.XXX_unrecognized != nil {
  5513. i += copy(dAtA[i:], m.XXX_unrecognized)
  5514. }
  5515. return i, nil
  5516. }
  5517. func (m *DelFolderReq) Marshal() (dAtA []byte, err error) {
  5518. size := m.Size()
  5519. dAtA = make([]byte, size)
  5520. n, err := m.MarshalTo(dAtA)
  5521. if err != nil {
  5522. return nil, err
  5523. }
  5524. return dAtA[:n], nil
  5525. }
  5526. func (m *DelFolderReq) MarshalTo(dAtA []byte) (int, error) {
  5527. var i int
  5528. _ = i
  5529. var l int
  5530. _ = l
  5531. if m.Typ != 0 {
  5532. dAtA[i] = 0x8
  5533. i++
  5534. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5535. }
  5536. if m.Mid != 0 {
  5537. dAtA[i] = 0x10
  5538. i++
  5539. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5540. }
  5541. if m.Fid != 0 {
  5542. dAtA[i] = 0x18
  5543. i++
  5544. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  5545. }
  5546. if m.XXX_unrecognized != nil {
  5547. i += copy(dAtA[i:], m.XXX_unrecognized)
  5548. }
  5549. return i, nil
  5550. }
  5551. func (m *MultiAddReq) Marshal() (dAtA []byte, err error) {
  5552. size := m.Size()
  5553. dAtA = make([]byte, size)
  5554. n, err := m.MarshalTo(dAtA)
  5555. if err != nil {
  5556. return nil, err
  5557. }
  5558. return dAtA[:n], nil
  5559. }
  5560. func (m *MultiAddReq) MarshalTo(dAtA []byte) (int, error) {
  5561. var i int
  5562. _ = i
  5563. var l int
  5564. _ = l
  5565. if m.Typ != 0 {
  5566. dAtA[i] = 0x8
  5567. i++
  5568. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5569. }
  5570. if m.Mid != 0 {
  5571. dAtA[i] = 0x10
  5572. i++
  5573. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5574. }
  5575. if len(m.Oids) > 0 {
  5576. dAtA9 := make([]byte, len(m.Oids)*10)
  5577. var j8 int
  5578. for _, num1 := range m.Oids {
  5579. num := uint64(num1)
  5580. for num >= 1<<7 {
  5581. dAtA9[j8] = uint8(uint64(num)&0x7f | 0x80)
  5582. num >>= 7
  5583. j8++
  5584. }
  5585. dAtA9[j8] = uint8(num)
  5586. j8++
  5587. }
  5588. dAtA[i] = 0x1a
  5589. i++
  5590. i = encodeVarintApi(dAtA, i, uint64(j8))
  5591. i += copy(dAtA[i:], dAtA9[:j8])
  5592. }
  5593. if m.Fid != 0 {
  5594. dAtA[i] = 0x20
  5595. i++
  5596. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  5597. }
  5598. if m.XXX_unrecognized != nil {
  5599. i += copy(dAtA[i:], m.XXX_unrecognized)
  5600. }
  5601. return i, nil
  5602. }
  5603. func (m *MultiDelReq) Marshal() (dAtA []byte, err error) {
  5604. size := m.Size()
  5605. dAtA = make([]byte, size)
  5606. n, err := m.MarshalTo(dAtA)
  5607. if err != nil {
  5608. return nil, err
  5609. }
  5610. return dAtA[:n], nil
  5611. }
  5612. func (m *MultiDelReq) MarshalTo(dAtA []byte) (int, error) {
  5613. var i int
  5614. _ = i
  5615. var l int
  5616. _ = l
  5617. if m.Typ != 0 {
  5618. dAtA[i] = 0x8
  5619. i++
  5620. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5621. }
  5622. if m.Mid != 0 {
  5623. dAtA[i] = 0x10
  5624. i++
  5625. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5626. }
  5627. if len(m.Oids) > 0 {
  5628. dAtA11 := make([]byte, len(m.Oids)*10)
  5629. var j10 int
  5630. for _, num1 := range m.Oids {
  5631. num := uint64(num1)
  5632. for num >= 1<<7 {
  5633. dAtA11[j10] = uint8(uint64(num)&0x7f | 0x80)
  5634. num >>= 7
  5635. j10++
  5636. }
  5637. dAtA11[j10] = uint8(num)
  5638. j10++
  5639. }
  5640. dAtA[i] = 0x1a
  5641. i++
  5642. i = encodeVarintApi(dAtA, i, uint64(j10))
  5643. i += copy(dAtA[i:], dAtA11[:j10])
  5644. }
  5645. if m.Fid != 0 {
  5646. dAtA[i] = 0x20
  5647. i++
  5648. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  5649. }
  5650. if m.XXX_unrecognized != nil {
  5651. i += copy(dAtA[i:], m.XXX_unrecognized)
  5652. }
  5653. return i, nil
  5654. }
  5655. func (m *InDefaultFolderReq) Marshal() (dAtA []byte, err error) {
  5656. size := m.Size()
  5657. dAtA = make([]byte, size)
  5658. n, err := m.MarshalTo(dAtA)
  5659. if err != nil {
  5660. return nil, err
  5661. }
  5662. return dAtA[:n], nil
  5663. }
  5664. func (m *InDefaultFolderReq) MarshalTo(dAtA []byte) (int, error) {
  5665. var i int
  5666. _ = i
  5667. var l int
  5668. _ = l
  5669. if m.Typ != 0 {
  5670. dAtA[i] = 0x8
  5671. i++
  5672. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5673. }
  5674. if m.Mid != 0 {
  5675. dAtA[i] = 0x10
  5676. i++
  5677. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5678. }
  5679. if m.Oid != 0 {
  5680. dAtA[i] = 0x18
  5681. i++
  5682. i = encodeVarintApi(dAtA, i, uint64(m.Oid))
  5683. }
  5684. if m.XXX_unrecognized != nil {
  5685. i += copy(dAtA[i:], m.XXX_unrecognized)
  5686. }
  5687. return i, nil
  5688. }
  5689. func (m *InDefaultFolderReply) Marshal() (dAtA []byte, err error) {
  5690. size := m.Size()
  5691. dAtA = make([]byte, size)
  5692. n, err := m.MarshalTo(dAtA)
  5693. if err != nil {
  5694. return nil, err
  5695. }
  5696. return dAtA[:n], nil
  5697. }
  5698. func (m *InDefaultFolderReply) MarshalTo(dAtA []byte) (int, error) {
  5699. var i int
  5700. _ = i
  5701. var l int
  5702. _ = l
  5703. if m.IsIn {
  5704. dAtA[i] = 0x8
  5705. i++
  5706. if m.IsIn {
  5707. dAtA[i] = 1
  5708. } else {
  5709. dAtA[i] = 0
  5710. }
  5711. i++
  5712. }
  5713. if m.XXX_unrecognized != nil {
  5714. i += copy(dAtA[i:], m.XXX_unrecognized)
  5715. }
  5716. return i, nil
  5717. }
  5718. func (m *CntUserFoldersReq) Marshal() (dAtA []byte, err error) {
  5719. size := m.Size()
  5720. dAtA = make([]byte, size)
  5721. n, err := m.MarshalTo(dAtA)
  5722. if err != nil {
  5723. return nil, err
  5724. }
  5725. return dAtA[:n], nil
  5726. }
  5727. func (m *CntUserFoldersReq) MarshalTo(dAtA []byte) (int, error) {
  5728. var i int
  5729. _ = i
  5730. var l int
  5731. _ = l
  5732. if m.Typ != 0 {
  5733. dAtA[i] = 0x8
  5734. i++
  5735. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5736. }
  5737. if m.Mid != 0 {
  5738. dAtA[i] = 0x10
  5739. i++
  5740. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5741. }
  5742. if m.Vmid != 0 {
  5743. dAtA[i] = 0x18
  5744. i++
  5745. i = encodeVarintApi(dAtA, i, uint64(m.Vmid))
  5746. }
  5747. if m.XXX_unrecognized != nil {
  5748. i += copy(dAtA[i:], m.XXX_unrecognized)
  5749. }
  5750. return i, nil
  5751. }
  5752. func (m *CntUserFoldersReply) Marshal() (dAtA []byte, err error) {
  5753. size := m.Size()
  5754. dAtA = make([]byte, size)
  5755. n, err := m.MarshalTo(dAtA)
  5756. if err != nil {
  5757. return nil, err
  5758. }
  5759. return dAtA[:n], nil
  5760. }
  5761. func (m *CntUserFoldersReply) MarshalTo(dAtA []byte) (int, error) {
  5762. var i int
  5763. _ = i
  5764. var l int
  5765. _ = l
  5766. if m.Count != 0 {
  5767. dAtA[i] = 0x8
  5768. i++
  5769. i = encodeVarintApi(dAtA, i, uint64(m.Count))
  5770. }
  5771. if m.XXX_unrecognized != nil {
  5772. i += copy(dAtA[i:], m.XXX_unrecognized)
  5773. }
  5774. return i, nil
  5775. }
  5776. func (m *User) Marshal() (dAtA []byte, err error) {
  5777. size := m.Size()
  5778. dAtA = make([]byte, size)
  5779. n, err := m.MarshalTo(dAtA)
  5780. if err != nil {
  5781. return nil, err
  5782. }
  5783. return dAtA[:n], nil
  5784. }
  5785. func (m *User) MarshalTo(dAtA []byte) (int, error) {
  5786. var i int
  5787. _ = i
  5788. var l int
  5789. _ = l
  5790. if m.Id != 0 {
  5791. dAtA[i] = 0x8
  5792. i++
  5793. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  5794. }
  5795. if m.Oid != 0 {
  5796. dAtA[i] = 0x10
  5797. i++
  5798. i = encodeVarintApi(dAtA, i, uint64(m.Oid))
  5799. }
  5800. if m.Mid != 0 {
  5801. dAtA[i] = 0x18
  5802. i++
  5803. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5804. }
  5805. if m.Typ != 0 {
  5806. dAtA[i] = 0x20
  5807. i++
  5808. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5809. }
  5810. if m.State != 0 {
  5811. dAtA[i] = 0x28
  5812. i++
  5813. i = encodeVarintApi(dAtA, i, uint64(m.State))
  5814. }
  5815. if m.Ctime != 0 {
  5816. dAtA[i] = 0x30
  5817. i++
  5818. i = encodeVarintApi(dAtA, i, uint64(m.Ctime))
  5819. }
  5820. if m.Mtime != 0 {
  5821. dAtA[i] = 0x38
  5822. i++
  5823. i = encodeVarintApi(dAtA, i, uint64(m.Mtime))
  5824. }
  5825. if m.XXX_unrecognized != nil {
  5826. i += copy(dAtA[i:], m.XXX_unrecognized)
  5827. }
  5828. return i, nil
  5829. }
  5830. func (m *FavedUsersReply) Marshal() (dAtA []byte, err error) {
  5831. size := m.Size()
  5832. dAtA = make([]byte, size)
  5833. n, err := m.MarshalTo(dAtA)
  5834. if err != nil {
  5835. return nil, err
  5836. }
  5837. return dAtA[:n], nil
  5838. }
  5839. func (m *FavedUsersReply) MarshalTo(dAtA []byte) (int, error) {
  5840. var i int
  5841. _ = i
  5842. var l int
  5843. _ = l
  5844. if m.Page != nil {
  5845. dAtA[i] = 0xa
  5846. i++
  5847. i = encodeVarintApi(dAtA, i, uint64(m.Page.Size()))
  5848. n12, err := m.Page.MarshalTo(dAtA[i:])
  5849. if err != nil {
  5850. return 0, err
  5851. }
  5852. i += n12
  5853. }
  5854. if len(m.User) > 0 {
  5855. for _, msg := range m.User {
  5856. dAtA[i] = 0x12
  5857. i++
  5858. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  5859. n, err := msg.MarshalTo(dAtA[i:])
  5860. if err != nil {
  5861. return 0, err
  5862. }
  5863. i += n
  5864. }
  5865. }
  5866. if m.XXX_unrecognized != nil {
  5867. i += copy(dAtA[i:], m.XXX_unrecognized)
  5868. }
  5869. return i, nil
  5870. }
  5871. func (m *FavedUsersReq) Marshal() (dAtA []byte, err error) {
  5872. size := m.Size()
  5873. dAtA = make([]byte, size)
  5874. n, err := m.MarshalTo(dAtA)
  5875. if err != nil {
  5876. return nil, err
  5877. }
  5878. return dAtA[:n], nil
  5879. }
  5880. func (m *FavedUsersReq) MarshalTo(dAtA []byte) (int, error) {
  5881. var i int
  5882. _ = i
  5883. var l int
  5884. _ = l
  5885. if m.Type != 0 {
  5886. dAtA[i] = 0x8
  5887. i++
  5888. i = encodeVarintApi(dAtA, i, uint64(m.Type))
  5889. }
  5890. if m.Oid != 0 {
  5891. dAtA[i] = 0x10
  5892. i++
  5893. i = encodeVarintApi(dAtA, i, uint64(m.Oid))
  5894. }
  5895. if m.Pn != 0 {
  5896. dAtA[i] = 0x18
  5897. i++
  5898. i = encodeVarintApi(dAtA, i, uint64(m.Pn))
  5899. }
  5900. if m.Ps != 0 {
  5901. dAtA[i] = 0x20
  5902. i++
  5903. i = encodeVarintApi(dAtA, i, uint64(m.Ps))
  5904. }
  5905. if m.XXX_unrecognized != nil {
  5906. i += copy(dAtA[i:], m.XXX_unrecognized)
  5907. }
  5908. return i, nil
  5909. }
  5910. func (m *SetFolderSortReq) Marshal() (dAtA []byte, err error) {
  5911. size := m.Size()
  5912. dAtA = make([]byte, size)
  5913. n, err := m.MarshalTo(dAtA)
  5914. if err != nil {
  5915. return nil, err
  5916. }
  5917. return dAtA[:n], nil
  5918. }
  5919. func (m *SetFolderSortReq) MarshalTo(dAtA []byte) (int, error) {
  5920. var i int
  5921. _ = i
  5922. var l int
  5923. _ = l
  5924. if m.Typ != 0 {
  5925. dAtA[i] = 0x8
  5926. i++
  5927. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  5928. }
  5929. if m.Mid != 0 {
  5930. dAtA[i] = 0x18
  5931. i++
  5932. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  5933. }
  5934. if len(m.Fids) > 0 {
  5935. dAtA14 := make([]byte, len(m.Fids)*10)
  5936. var j13 int
  5937. for _, num1 := range m.Fids {
  5938. num := uint64(num1)
  5939. for num >= 1<<7 {
  5940. dAtA14[j13] = uint8(uint64(num)&0x7f | 0x80)
  5941. num >>= 7
  5942. j13++
  5943. }
  5944. dAtA14[j13] = uint8(num)
  5945. j13++
  5946. }
  5947. dAtA[i] = 0x22
  5948. i++
  5949. i = encodeVarintApi(dAtA, i, uint64(j13))
  5950. i += copy(dAtA[i:], dAtA14[:j13])
  5951. }
  5952. if m.XXX_unrecognized != nil {
  5953. i += copy(dAtA[i:], m.XXX_unrecognized)
  5954. }
  5955. return i, nil
  5956. }
  5957. func (m *FoldersReply) Marshal() (dAtA []byte, err error) {
  5958. size := m.Size()
  5959. dAtA = make([]byte, size)
  5960. n, err := m.MarshalTo(dAtA)
  5961. if err != nil {
  5962. return nil, err
  5963. }
  5964. return dAtA[:n], nil
  5965. }
  5966. func (m *FoldersReply) MarshalTo(dAtA []byte) (int, error) {
  5967. var i int
  5968. _ = i
  5969. var l int
  5970. _ = l
  5971. if len(m.Res) > 0 {
  5972. for _, msg := range m.Res {
  5973. dAtA[i] = 0xa
  5974. i++
  5975. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  5976. n, err := msg.MarshalTo(dAtA[i:])
  5977. if err != nil {
  5978. return 0, err
  5979. }
  5980. i += n
  5981. }
  5982. }
  5983. if m.XXX_unrecognized != nil {
  5984. i += copy(dAtA[i:], m.XXX_unrecognized)
  5985. }
  5986. return i, nil
  5987. }
  5988. func (m *FoldersReq) Marshal() (dAtA []byte, err error) {
  5989. size := m.Size()
  5990. dAtA = make([]byte, size)
  5991. n, err := m.MarshalTo(dAtA)
  5992. if err != nil {
  5993. return nil, err
  5994. }
  5995. return dAtA[:n], nil
  5996. }
  5997. func (m *FoldersReq) MarshalTo(dAtA []byte) (int, error) {
  5998. var i int
  5999. _ = i
  6000. var l int
  6001. _ = l
  6002. if len(m.Ids) > 0 {
  6003. for _, msg := range m.Ids {
  6004. dAtA[i] = 0xa
  6005. i++
  6006. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  6007. n, err := msg.MarshalTo(dAtA[i:])
  6008. if err != nil {
  6009. return 0, err
  6010. }
  6011. i += n
  6012. }
  6013. }
  6014. if m.Typ != 0 {
  6015. dAtA[i] = 0x10
  6016. i++
  6017. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  6018. }
  6019. if m.Mid != 0 {
  6020. dAtA[i] = 0x18
  6021. i++
  6022. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6023. }
  6024. if m.XXX_unrecognized != nil {
  6025. i += copy(dAtA[i:], m.XXX_unrecognized)
  6026. }
  6027. return i, nil
  6028. }
  6029. func (m *FolderID) Marshal() (dAtA []byte, err error) {
  6030. size := m.Size()
  6031. dAtA = make([]byte, size)
  6032. n, err := m.MarshalTo(dAtA)
  6033. if err != nil {
  6034. return nil, err
  6035. }
  6036. return dAtA[:n], nil
  6037. }
  6038. func (m *FolderID) MarshalTo(dAtA []byte) (int, error) {
  6039. var i int
  6040. _ = i
  6041. var l int
  6042. _ = l
  6043. if m.Fid != 0 {
  6044. dAtA[i] = 0x8
  6045. i++
  6046. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  6047. }
  6048. if m.Mid != 0 {
  6049. dAtA[i] = 0x10
  6050. i++
  6051. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6052. }
  6053. if m.XXX_unrecognized != nil {
  6054. i += copy(dAtA[i:], m.XXX_unrecognized)
  6055. }
  6056. return i, nil
  6057. }
  6058. func (m *MoveFavsReq) Marshal() (dAtA []byte, err error) {
  6059. size := m.Size()
  6060. dAtA = make([]byte, size)
  6061. n, err := m.MarshalTo(dAtA)
  6062. if err != nil {
  6063. return nil, err
  6064. }
  6065. return dAtA[:n], nil
  6066. }
  6067. func (m *MoveFavsReq) MarshalTo(dAtA []byte) (int, error) {
  6068. var i int
  6069. _ = i
  6070. var l int
  6071. _ = l
  6072. if m.Typ != 0 {
  6073. dAtA[i] = 0x8
  6074. i++
  6075. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  6076. }
  6077. if m.Mid != 0 {
  6078. dAtA[i] = 0x10
  6079. i++
  6080. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6081. }
  6082. if m.OldFid != 0 {
  6083. dAtA[i] = 0x18
  6084. i++
  6085. i = encodeVarintApi(dAtA, i, uint64(m.OldFid))
  6086. }
  6087. if m.NewFid != 0 {
  6088. dAtA[i] = 0x20
  6089. i++
  6090. i = encodeVarintApi(dAtA, i, uint64(m.NewFid))
  6091. }
  6092. if len(m.Oids) > 0 {
  6093. dAtA16 := make([]byte, len(m.Oids)*10)
  6094. var j15 int
  6095. for _, num1 := range m.Oids {
  6096. num := uint64(num1)
  6097. for num >= 1<<7 {
  6098. dAtA16[j15] = uint8(uint64(num)&0x7f | 0x80)
  6099. num >>= 7
  6100. j15++
  6101. }
  6102. dAtA16[j15] = uint8(num)
  6103. j15++
  6104. }
  6105. dAtA[i] = 0x2a
  6106. i++
  6107. i = encodeVarintApi(dAtA, i, uint64(j15))
  6108. i += copy(dAtA[i:], dAtA16[:j15])
  6109. }
  6110. if m.XXX_unrecognized != nil {
  6111. i += copy(dAtA[i:], m.XXX_unrecognized)
  6112. }
  6113. return i, nil
  6114. }
  6115. func (m *CopyFavsReq) Marshal() (dAtA []byte, err error) {
  6116. size := m.Size()
  6117. dAtA = make([]byte, size)
  6118. n, err := m.MarshalTo(dAtA)
  6119. if err != nil {
  6120. return nil, err
  6121. }
  6122. return dAtA[:n], nil
  6123. }
  6124. func (m *CopyFavsReq) MarshalTo(dAtA []byte) (int, error) {
  6125. var i int
  6126. _ = i
  6127. var l int
  6128. _ = l
  6129. if m.Typ != 0 {
  6130. dAtA[i] = 0x8
  6131. i++
  6132. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  6133. }
  6134. if m.OldMid != 0 {
  6135. dAtA[i] = 0x10
  6136. i++
  6137. i = encodeVarintApi(dAtA, i, uint64(m.OldMid))
  6138. }
  6139. if m.Mid != 0 {
  6140. dAtA[i] = 0x18
  6141. i++
  6142. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6143. }
  6144. if m.OldFid != 0 {
  6145. dAtA[i] = 0x20
  6146. i++
  6147. i = encodeVarintApi(dAtA, i, uint64(m.OldFid))
  6148. }
  6149. if m.NewFid != 0 {
  6150. dAtA[i] = 0x28
  6151. i++
  6152. i = encodeVarintApi(dAtA, i, uint64(m.NewFid))
  6153. }
  6154. if len(m.Oids) > 0 {
  6155. dAtA18 := make([]byte, len(m.Oids)*10)
  6156. var j17 int
  6157. for _, num1 := range m.Oids {
  6158. num := uint64(num1)
  6159. for num >= 1<<7 {
  6160. dAtA18[j17] = uint8(uint64(num)&0x7f | 0x80)
  6161. num >>= 7
  6162. j17++
  6163. }
  6164. dAtA18[j17] = uint8(num)
  6165. j17++
  6166. }
  6167. dAtA[i] = 0x32
  6168. i++
  6169. i = encodeVarintApi(dAtA, i, uint64(j17))
  6170. i += copy(dAtA[i:], dAtA18[:j17])
  6171. }
  6172. if m.XXX_unrecognized != nil {
  6173. i += copy(dAtA[i:], m.XXX_unrecognized)
  6174. }
  6175. return i, nil
  6176. }
  6177. func (m *CleanStateReq) Marshal() (dAtA []byte, err error) {
  6178. size := m.Size()
  6179. dAtA = make([]byte, size)
  6180. n, err := m.MarshalTo(dAtA)
  6181. if err != nil {
  6182. return nil, err
  6183. }
  6184. return dAtA[:n], nil
  6185. }
  6186. func (m *CleanStateReq) MarshalTo(dAtA []byte) (int, error) {
  6187. var i int
  6188. _ = i
  6189. var l int
  6190. _ = l
  6191. if m.Typ != 0 {
  6192. dAtA[i] = 0x8
  6193. i++
  6194. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  6195. }
  6196. if m.Mid != 0 {
  6197. dAtA[i] = 0x10
  6198. i++
  6199. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6200. }
  6201. if m.Fid != 0 {
  6202. dAtA[i] = 0x18
  6203. i++
  6204. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  6205. }
  6206. if m.XXX_unrecognized != nil {
  6207. i += copy(dAtA[i:], m.XXX_unrecognized)
  6208. }
  6209. return i, nil
  6210. }
  6211. func (m *CleanStateReply) Marshal() (dAtA []byte, err error) {
  6212. size := m.Size()
  6213. dAtA = make([]byte, size)
  6214. n, err := m.MarshalTo(dAtA)
  6215. if err != nil {
  6216. return nil, err
  6217. }
  6218. return dAtA[:n], nil
  6219. }
  6220. func (m *CleanStateReply) MarshalTo(dAtA []byte) (int, error) {
  6221. var i int
  6222. _ = i
  6223. var l int
  6224. _ = l
  6225. if m.CleanState != 0 {
  6226. dAtA[i] = 0x8
  6227. i++
  6228. i = encodeVarintApi(dAtA, i, uint64(m.CleanState))
  6229. }
  6230. if m.XXX_unrecognized != nil {
  6231. i += copy(dAtA[i:], m.XXX_unrecognized)
  6232. }
  6233. return i, nil
  6234. }
  6235. func (m *CleanInvalidFavsReq) Marshal() (dAtA []byte, err error) {
  6236. size := m.Size()
  6237. dAtA = make([]byte, size)
  6238. n, err := m.MarshalTo(dAtA)
  6239. if err != nil {
  6240. return nil, err
  6241. }
  6242. return dAtA[:n], nil
  6243. }
  6244. func (m *CleanInvalidFavsReq) MarshalTo(dAtA []byte) (int, error) {
  6245. var i int
  6246. _ = i
  6247. var l int
  6248. _ = l
  6249. if m.Typ != 0 {
  6250. dAtA[i] = 0x8
  6251. i++
  6252. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  6253. }
  6254. if m.Mid != 0 {
  6255. dAtA[i] = 0x10
  6256. i++
  6257. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6258. }
  6259. if m.Fid != 0 {
  6260. dAtA[i] = 0x18
  6261. i++
  6262. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  6263. }
  6264. if m.XXX_unrecognized != nil {
  6265. i += copy(dAtA[i:], m.XXX_unrecognized)
  6266. }
  6267. return i, nil
  6268. }
  6269. func (m *FavAddFoldersReq) Marshal() (dAtA []byte, err error) {
  6270. size := m.Size()
  6271. dAtA = make([]byte, size)
  6272. n, err := m.MarshalTo(dAtA)
  6273. if err != nil {
  6274. return nil, err
  6275. }
  6276. return dAtA[:n], nil
  6277. }
  6278. func (m *FavAddFoldersReq) MarshalTo(dAtA []byte) (int, error) {
  6279. var i int
  6280. _ = i
  6281. var l int
  6282. _ = l
  6283. if m.Oid != 0 {
  6284. dAtA[i] = 0x8
  6285. i++
  6286. i = encodeVarintApi(dAtA, i, uint64(m.Oid))
  6287. }
  6288. if m.Typ != 0 {
  6289. dAtA[i] = 0x10
  6290. i++
  6291. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  6292. }
  6293. if len(m.Fids) > 0 {
  6294. dAtA20 := make([]byte, len(m.Fids)*10)
  6295. var j19 int
  6296. for _, num1 := range m.Fids {
  6297. num := uint64(num1)
  6298. for num >= 1<<7 {
  6299. dAtA20[j19] = uint8(uint64(num)&0x7f | 0x80)
  6300. num >>= 7
  6301. j19++
  6302. }
  6303. dAtA20[j19] = uint8(num)
  6304. j19++
  6305. }
  6306. dAtA[i] = 0x1a
  6307. i++
  6308. i = encodeVarintApi(dAtA, i, uint64(j19))
  6309. i += copy(dAtA[i:], dAtA20[:j19])
  6310. }
  6311. if m.Mid != 0 {
  6312. dAtA[i] = 0x20
  6313. i++
  6314. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6315. }
  6316. if m.Otype != 0 {
  6317. dAtA[i] = 0x28
  6318. i++
  6319. i = encodeVarintApi(dAtA, i, uint64(m.Otype))
  6320. }
  6321. if m.XXX_unrecognized != nil {
  6322. i += copy(dAtA[i:], m.XXX_unrecognized)
  6323. }
  6324. return i, nil
  6325. }
  6326. func (m *FavDelFoldersReq) Marshal() (dAtA []byte, err error) {
  6327. size := m.Size()
  6328. dAtA = make([]byte, size)
  6329. n, err := m.MarshalTo(dAtA)
  6330. if err != nil {
  6331. return nil, err
  6332. }
  6333. return dAtA[:n], nil
  6334. }
  6335. func (m *FavDelFoldersReq) MarshalTo(dAtA []byte) (int, error) {
  6336. var i int
  6337. _ = i
  6338. var l int
  6339. _ = l
  6340. if m.Oid != 0 {
  6341. dAtA[i] = 0x8
  6342. i++
  6343. i = encodeVarintApi(dAtA, i, uint64(m.Oid))
  6344. }
  6345. if m.Typ != 0 {
  6346. dAtA[i] = 0x10
  6347. i++
  6348. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  6349. }
  6350. if len(m.Fids) > 0 {
  6351. dAtA22 := make([]byte, len(m.Fids)*10)
  6352. var j21 int
  6353. for _, num1 := range m.Fids {
  6354. num := uint64(num1)
  6355. for num >= 1<<7 {
  6356. dAtA22[j21] = uint8(uint64(num)&0x7f | 0x80)
  6357. num >>= 7
  6358. j21++
  6359. }
  6360. dAtA22[j21] = uint8(num)
  6361. j21++
  6362. }
  6363. dAtA[i] = 0x1a
  6364. i++
  6365. i = encodeVarintApi(dAtA, i, uint64(j21))
  6366. i += copy(dAtA[i:], dAtA22[:j21])
  6367. }
  6368. if m.Mid != 0 {
  6369. dAtA[i] = 0x20
  6370. i++
  6371. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6372. }
  6373. if m.Otype != 0 {
  6374. dAtA[i] = 0x28
  6375. i++
  6376. i = encodeVarintApi(dAtA, i, uint64(m.Otype))
  6377. }
  6378. if m.XXX_unrecognized != nil {
  6379. i += copy(dAtA[i:], m.XXX_unrecognized)
  6380. }
  6381. return i, nil
  6382. }
  6383. func (m *SortFavsReq) Marshal() (dAtA []byte, err error) {
  6384. size := m.Size()
  6385. dAtA = make([]byte, size)
  6386. n, err := m.MarshalTo(dAtA)
  6387. if err != nil {
  6388. return nil, err
  6389. }
  6390. return dAtA[:n], nil
  6391. }
  6392. func (m *SortFavsReq) MarshalTo(dAtA []byte) (int, error) {
  6393. var i int
  6394. _ = i
  6395. var l int
  6396. _ = l
  6397. if len(m.Sorts) > 0 {
  6398. for _, msg := range m.Sorts {
  6399. dAtA[i] = 0xa
  6400. i++
  6401. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  6402. n, err := msg.MarshalTo(dAtA[i:])
  6403. if err != nil {
  6404. return 0, err
  6405. }
  6406. i += n
  6407. }
  6408. }
  6409. if m.Mid != 0 {
  6410. dAtA[i] = 0x10
  6411. i++
  6412. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6413. }
  6414. if m.Fid != 0 {
  6415. dAtA[i] = 0x18
  6416. i++
  6417. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  6418. }
  6419. if m.Typ != 0 {
  6420. dAtA[i] = 0x20
  6421. i++
  6422. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  6423. }
  6424. if m.XXX_unrecognized != nil {
  6425. i += copy(dAtA[i:], m.XXX_unrecognized)
  6426. }
  6427. return i, nil
  6428. }
  6429. func (m *SortFav) Marshal() (dAtA []byte, err error) {
  6430. size := m.Size()
  6431. dAtA = make([]byte, size)
  6432. n, err := m.MarshalTo(dAtA)
  6433. if err != nil {
  6434. return nil, err
  6435. }
  6436. return dAtA[:n], nil
  6437. }
  6438. func (m *SortFav) MarshalTo(dAtA []byte) (int, error) {
  6439. var i int
  6440. _ = i
  6441. var l int
  6442. _ = l
  6443. if m.Pre != nil {
  6444. dAtA[i] = 0xa
  6445. i++
  6446. i = encodeVarintApi(dAtA, i, uint64(m.Pre.Size()))
  6447. n23, err := m.Pre.MarshalTo(dAtA[i:])
  6448. if err != nil {
  6449. return 0, err
  6450. }
  6451. i += n23
  6452. }
  6453. if m.Insert != nil {
  6454. dAtA[i] = 0x12
  6455. i++
  6456. i = encodeVarintApi(dAtA, i, uint64(m.Insert.Size()))
  6457. n24, err := m.Insert.MarshalTo(dAtA[i:])
  6458. if err != nil {
  6459. return 0, err
  6460. }
  6461. i += n24
  6462. }
  6463. if m.XXX_unrecognized != nil {
  6464. i += copy(dAtA[i:], m.XXX_unrecognized)
  6465. }
  6466. return i, nil
  6467. }
  6468. func (m *UpFolderNameReq) Marshal() (dAtA []byte, err error) {
  6469. size := m.Size()
  6470. dAtA = make([]byte, size)
  6471. n, err := m.MarshalTo(dAtA)
  6472. if err != nil {
  6473. return nil, err
  6474. }
  6475. return dAtA[:n], nil
  6476. }
  6477. func (m *UpFolderNameReq) MarshalTo(dAtA []byte) (int, error) {
  6478. var i int
  6479. _ = i
  6480. var l int
  6481. _ = l
  6482. if m.Typ != 0 {
  6483. dAtA[i] = 0x8
  6484. i++
  6485. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  6486. }
  6487. if m.Fid != 0 {
  6488. dAtA[i] = 0x10
  6489. i++
  6490. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  6491. }
  6492. if m.Mid != 0 {
  6493. dAtA[i] = 0x18
  6494. i++
  6495. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6496. }
  6497. if len(m.Name) > 0 {
  6498. dAtA[i] = 0x22
  6499. i++
  6500. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  6501. i += copy(dAtA[i:], m.Name)
  6502. }
  6503. if len(m.Cookie) > 0 {
  6504. dAtA[i] = 0x2a
  6505. i++
  6506. i = encodeVarintApi(dAtA, i, uint64(len(m.Cookie)))
  6507. i += copy(dAtA[i:], m.Cookie)
  6508. }
  6509. if len(m.AccessKey) > 0 {
  6510. dAtA[i] = 0x32
  6511. i++
  6512. i = encodeVarintApi(dAtA, i, uint64(len(m.AccessKey)))
  6513. i += copy(dAtA[i:], m.AccessKey)
  6514. }
  6515. if m.XXX_unrecognized != nil {
  6516. i += copy(dAtA[i:], m.XXX_unrecognized)
  6517. }
  6518. return i, nil
  6519. }
  6520. func (m *UpFolderAttrReq) Marshal() (dAtA []byte, err error) {
  6521. size := m.Size()
  6522. dAtA = make([]byte, size)
  6523. n, err := m.MarshalTo(dAtA)
  6524. if err != nil {
  6525. return nil, err
  6526. }
  6527. return dAtA[:n], nil
  6528. }
  6529. func (m *UpFolderAttrReq) MarshalTo(dAtA []byte) (int, error) {
  6530. var i int
  6531. _ = i
  6532. var l int
  6533. _ = l
  6534. if m.Typ != 0 {
  6535. dAtA[i] = 0x8
  6536. i++
  6537. i = encodeVarintApi(dAtA, i, uint64(m.Typ))
  6538. }
  6539. if m.Fid != 0 {
  6540. dAtA[i] = 0x10
  6541. i++
  6542. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  6543. }
  6544. if m.Mid != 0 {
  6545. dAtA[i] = 0x18
  6546. i++
  6547. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6548. }
  6549. if m.Public != 0 {
  6550. dAtA[i] = 0x20
  6551. i++
  6552. i = encodeVarintApi(dAtA, i, uint64(m.Public))
  6553. }
  6554. if m.XXX_unrecognized != nil {
  6555. i += copy(dAtA[i:], m.XXX_unrecognized)
  6556. }
  6557. return i, nil
  6558. }
  6559. func (m *RecentResourcesReq) Marshal() (dAtA []byte, err error) {
  6560. size := m.Size()
  6561. dAtA = make([]byte, size)
  6562. n, err := m.MarshalTo(dAtA)
  6563. if err != nil {
  6564. return nil, err
  6565. }
  6566. return dAtA[:n], nil
  6567. }
  6568. func (m *RecentResourcesReq) MarshalTo(dAtA []byte) (int, error) {
  6569. var i int
  6570. _ = i
  6571. var l int
  6572. _ = l
  6573. if m.Tp != 0 {
  6574. dAtA[i] = 0x10
  6575. i++
  6576. i = encodeVarintApi(dAtA, i, uint64(m.Tp))
  6577. }
  6578. if m.Mid != 0 {
  6579. dAtA[i] = 0x18
  6580. i++
  6581. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  6582. }
  6583. if m.Size_ != 0 {
  6584. dAtA[i] = 0x20
  6585. i++
  6586. i = encodeVarintApi(dAtA, i, uint64(m.Size_))
  6587. }
  6588. if m.XXX_unrecognized != nil {
  6589. i += copy(dAtA[i:], m.XXX_unrecognized)
  6590. }
  6591. return i, nil
  6592. }
  6593. func (m *RecentResourcesReply) Marshal() (dAtA []byte, err error) {
  6594. size := m.Size()
  6595. dAtA = make([]byte, size)
  6596. n, err := m.MarshalTo(dAtA)
  6597. if err != nil {
  6598. return nil, err
  6599. }
  6600. return dAtA[:n], nil
  6601. }
  6602. func (m *RecentResourcesReply) MarshalTo(dAtA []byte) (int, error) {
  6603. var i int
  6604. _ = i
  6605. var l int
  6606. _ = l
  6607. if len(m.Res) > 0 {
  6608. for _, msg := range m.Res {
  6609. dAtA[i] = 0xa
  6610. i++
  6611. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  6612. n, err := msg.MarshalTo(dAtA[i:])
  6613. if err != nil {
  6614. return 0, err
  6615. }
  6616. i += n
  6617. }
  6618. }
  6619. if m.XXX_unrecognized != nil {
  6620. i += copy(dAtA[i:], m.XXX_unrecognized)
  6621. }
  6622. return i, nil
  6623. }
  6624. func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
  6625. for v >= 1<<7 {
  6626. dAtA[offset] = uint8(v&0x7f | 0x80)
  6627. v >>= 7
  6628. offset++
  6629. }
  6630. dAtA[offset] = uint8(v)
  6631. return offset + 1
  6632. }
  6633. func (m *ModelPage) Size() (n int) {
  6634. var l int
  6635. _ = l
  6636. if m.Num != 0 {
  6637. n += 1 + sovApi(uint64(m.Num))
  6638. }
  6639. if m.Size_ != 0 {
  6640. n += 1 + sovApi(uint64(m.Size_))
  6641. }
  6642. if m.Count != 0 {
  6643. n += 1 + sovApi(uint64(m.Count))
  6644. }
  6645. if m.XXX_unrecognized != nil {
  6646. n += len(m.XXX_unrecognized)
  6647. }
  6648. return n
  6649. }
  6650. func (m *ModelFavorite) Size() (n int) {
  6651. var l int
  6652. _ = l
  6653. if m.Id != 0 {
  6654. n += 1 + sovApi(uint64(m.Id))
  6655. }
  6656. if m.Oid != 0 {
  6657. n += 1 + sovApi(uint64(m.Oid))
  6658. }
  6659. if m.Mid != 0 {
  6660. n += 1 + sovApi(uint64(m.Mid))
  6661. }
  6662. if m.Fid != 0 {
  6663. n += 1 + sovApi(uint64(m.Fid))
  6664. }
  6665. if m.Type != 0 {
  6666. n += 1 + sovApi(uint64(m.Type))
  6667. }
  6668. if m.State != 0 {
  6669. n += 1 + sovApi(uint64(m.State))
  6670. }
  6671. if m.Ctime != 0 {
  6672. n += 1 + sovApi(uint64(m.Ctime))
  6673. }
  6674. if m.Mtime != 0 {
  6675. n += 1 + sovApi(uint64(m.Mtime))
  6676. }
  6677. if m.XXX_unrecognized != nil {
  6678. n += len(m.XXX_unrecognized)
  6679. }
  6680. return n
  6681. }
  6682. func (m *ModelPartition) Size() (n int) {
  6683. var l int
  6684. _ = l
  6685. if m.Tid != 0 {
  6686. n += 1 + sovApi(uint64(m.Tid))
  6687. }
  6688. l = len(m.Name)
  6689. if l > 0 {
  6690. n += 1 + l + sovApi(uint64(l))
  6691. }
  6692. if m.Count != 0 {
  6693. n += 1 + sovApi(uint64(m.Count))
  6694. }
  6695. if m.XXX_unrecognized != nil {
  6696. n += len(m.XXX_unrecognized)
  6697. }
  6698. return n
  6699. }
  6700. func (m *ModelFavorites) Size() (n int) {
  6701. var l int
  6702. _ = l
  6703. if m.Page != nil {
  6704. l = m.Page.Size()
  6705. n += 1 + l + sovApi(uint64(l))
  6706. }
  6707. if len(m.List) > 0 {
  6708. for _, e := range m.List {
  6709. l = e.Size()
  6710. n += 1 + l + sovApi(uint64(l))
  6711. }
  6712. }
  6713. if m.XXX_unrecognized != nil {
  6714. n += len(m.XXX_unrecognized)
  6715. }
  6716. return n
  6717. }
  6718. func (m *AddFavReply) Size() (n int) {
  6719. var l int
  6720. _ = l
  6721. if m.XXX_unrecognized != nil {
  6722. n += len(m.XXX_unrecognized)
  6723. }
  6724. return n
  6725. }
  6726. func (m *AddFavReq) Size() (n int) {
  6727. var l int
  6728. _ = l
  6729. if m.Tp != 0 {
  6730. n += 1 + sovApi(uint64(m.Tp))
  6731. }
  6732. if m.Mid != 0 {
  6733. n += 1 + sovApi(uint64(m.Mid))
  6734. }
  6735. if m.Fid != 0 {
  6736. n += 1 + sovApi(uint64(m.Fid))
  6737. }
  6738. if m.Oid != 0 {
  6739. n += 1 + sovApi(uint64(m.Oid))
  6740. }
  6741. if m.Otype != 0 {
  6742. n += 1 + sovApi(uint64(m.Otype))
  6743. }
  6744. if m.XXX_unrecognized != nil {
  6745. n += len(m.XXX_unrecognized)
  6746. }
  6747. return n
  6748. }
  6749. func (m *DelFavReply) Size() (n int) {
  6750. var l int
  6751. _ = l
  6752. if m.XXX_unrecognized != nil {
  6753. n += len(m.XXX_unrecognized)
  6754. }
  6755. return n
  6756. }
  6757. func (m *DelFavReq) Size() (n int) {
  6758. var l int
  6759. _ = l
  6760. if m.Tp != 0 {
  6761. n += 1 + sovApi(uint64(m.Tp))
  6762. }
  6763. if m.Mid != 0 {
  6764. n += 1 + sovApi(uint64(m.Mid))
  6765. }
  6766. if m.Fid != 0 {
  6767. n += 1 + sovApi(uint64(m.Fid))
  6768. }
  6769. if m.Oid != 0 {
  6770. n += 1 + sovApi(uint64(m.Oid))
  6771. }
  6772. if m.Otype != 0 {
  6773. n += 1 + sovApi(uint64(m.Otype))
  6774. }
  6775. if m.XXX_unrecognized != nil {
  6776. n += len(m.XXX_unrecognized)
  6777. }
  6778. return n
  6779. }
  6780. func (m *FavoritesReply) Size() (n int) {
  6781. var l int
  6782. _ = l
  6783. if m.Res != nil {
  6784. l = m.Res.Size()
  6785. n += 1 + l + sovApi(uint64(l))
  6786. }
  6787. if m.XXX_unrecognized != nil {
  6788. n += len(m.XXX_unrecognized)
  6789. }
  6790. return n
  6791. }
  6792. func (m *FavoritesReq) Size() (n int) {
  6793. var l int
  6794. _ = l
  6795. if m.Tp != 0 {
  6796. n += 1 + sovApi(uint64(m.Tp))
  6797. }
  6798. if m.Mid != 0 {
  6799. n += 1 + sovApi(uint64(m.Mid))
  6800. }
  6801. if m.Uid != 0 {
  6802. n += 1 + sovApi(uint64(m.Uid))
  6803. }
  6804. if m.Fid != 0 {
  6805. n += 1 + sovApi(uint64(m.Fid))
  6806. }
  6807. if m.Pn != 0 {
  6808. n += 1 + sovApi(uint64(m.Pn))
  6809. }
  6810. if m.Ps != 0 {
  6811. n += 1 + sovApi(uint64(m.Ps))
  6812. }
  6813. if m.Tid != 0 {
  6814. n += 1 + sovApi(uint64(m.Tid))
  6815. }
  6816. if m.Tv != 0 {
  6817. n += 1 + sovApi(uint64(m.Tv))
  6818. }
  6819. l = len(m.Keyword)
  6820. if l > 0 {
  6821. n += 1 + l + sovApi(uint64(l))
  6822. }
  6823. l = len(m.Order)
  6824. if l > 0 {
  6825. n += 1 + l + sovApi(uint64(l))
  6826. }
  6827. if m.XXX_unrecognized != nil {
  6828. n += len(m.XXX_unrecognized)
  6829. }
  6830. return n
  6831. }
  6832. func (m *TlistsReply) Size() (n int) {
  6833. var l int
  6834. _ = l
  6835. if len(m.Res) > 0 {
  6836. for _, e := range m.Res {
  6837. l = e.Size()
  6838. n += 1 + l + sovApi(uint64(l))
  6839. }
  6840. }
  6841. if m.XXX_unrecognized != nil {
  6842. n += len(m.XXX_unrecognized)
  6843. }
  6844. return n
  6845. }
  6846. func (m *TlistsReq) Size() (n int) {
  6847. var l int
  6848. _ = l
  6849. if m.Tp != 0 {
  6850. n += 1 + sovApi(uint64(m.Tp))
  6851. }
  6852. if m.Mid != 0 {
  6853. n += 1 + sovApi(uint64(m.Mid))
  6854. }
  6855. if m.Uid != 0 {
  6856. n += 1 + sovApi(uint64(m.Uid))
  6857. }
  6858. if m.Fid != 0 {
  6859. n += 1 + sovApi(uint64(m.Fid))
  6860. }
  6861. if m.XXX_unrecognized != nil {
  6862. n += len(m.XXX_unrecognized)
  6863. }
  6864. return n
  6865. }
  6866. func (m *RecentFavsReply) Size() (n int) {
  6867. var l int
  6868. _ = l
  6869. if len(m.Res) > 0 {
  6870. l = 0
  6871. for _, e := range m.Res {
  6872. l += sovApi(uint64(e))
  6873. }
  6874. n += 1 + sovApi(uint64(l)) + l
  6875. }
  6876. if m.XXX_unrecognized != nil {
  6877. n += len(m.XXX_unrecognized)
  6878. }
  6879. return n
  6880. }
  6881. func (m *RecentFavsReq) Size() (n int) {
  6882. var l int
  6883. _ = l
  6884. if m.Tp != 0 {
  6885. n += 1 + sovApi(uint64(m.Tp))
  6886. }
  6887. if m.Mid != 0 {
  6888. n += 1 + sovApi(uint64(m.Mid))
  6889. }
  6890. if m.Size_ != 0 {
  6891. n += 1 + sovApi(uint64(m.Size_))
  6892. }
  6893. if m.XXX_unrecognized != nil {
  6894. n += len(m.XXX_unrecognized)
  6895. }
  6896. return n
  6897. }
  6898. func (m *IsFavoredReply) Size() (n int) {
  6899. var l int
  6900. _ = l
  6901. if m.Faved {
  6902. n += 2
  6903. }
  6904. if m.XXX_unrecognized != nil {
  6905. n += len(m.XXX_unrecognized)
  6906. }
  6907. return n
  6908. }
  6909. func (m *IsFavoredReq) Size() (n int) {
  6910. var l int
  6911. _ = l
  6912. if m.Typ != 0 {
  6913. n += 1 + sovApi(uint64(m.Typ))
  6914. }
  6915. if m.Mid != 0 {
  6916. n += 1 + sovApi(uint64(m.Mid))
  6917. }
  6918. if m.Oid != 0 {
  6919. n += 1 + sovApi(uint64(m.Oid))
  6920. }
  6921. if m.XXX_unrecognized != nil {
  6922. n += len(m.XXX_unrecognized)
  6923. }
  6924. return n
  6925. }
  6926. func (m *IsFavoredByFidReq) Size() (n int) {
  6927. var l int
  6928. _ = l
  6929. if m.Type != 0 {
  6930. n += 1 + sovApi(uint64(m.Type))
  6931. }
  6932. if m.Mid != 0 {
  6933. n += 1 + sovApi(uint64(m.Mid))
  6934. }
  6935. if m.Oid != 0 {
  6936. n += 1 + sovApi(uint64(m.Oid))
  6937. }
  6938. if m.Fid != 0 {
  6939. n += 1 + sovApi(uint64(m.Fid))
  6940. }
  6941. if m.XXX_unrecognized != nil {
  6942. n += len(m.XXX_unrecognized)
  6943. }
  6944. return n
  6945. }
  6946. func (m *IsFavoredsReply) Size() (n int) {
  6947. var l int
  6948. _ = l
  6949. if len(m.Faveds) > 0 {
  6950. for k, v := range m.Faveds {
  6951. _ = k
  6952. _ = v
  6953. mapEntrySize := 1 + sovApi(uint64(k)) + 1 + 1
  6954. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  6955. }
  6956. }
  6957. if m.XXX_unrecognized != nil {
  6958. n += len(m.XXX_unrecognized)
  6959. }
  6960. return n
  6961. }
  6962. func (m *IsFavoredsReq) Size() (n int) {
  6963. var l int
  6964. _ = l
  6965. if m.Typ != 0 {
  6966. n += 1 + sovApi(uint64(m.Typ))
  6967. }
  6968. if m.Mid != 0 {
  6969. n += 1 + sovApi(uint64(m.Mid))
  6970. }
  6971. if len(m.Oids) > 0 {
  6972. l = 0
  6973. for _, e := range m.Oids {
  6974. l += sovApi(uint64(e))
  6975. }
  6976. n += 1 + sovApi(uint64(l)) + l
  6977. }
  6978. if m.XXX_unrecognized != nil {
  6979. n += len(m.XXX_unrecognized)
  6980. }
  6981. return n
  6982. }
  6983. func (m *UserFoldersReply) Size() (n int) {
  6984. var l int
  6985. _ = l
  6986. if len(m.Res) > 0 {
  6987. for _, e := range m.Res {
  6988. l = e.Size()
  6989. n += 1 + l + sovApi(uint64(l))
  6990. }
  6991. }
  6992. if m.XXX_unrecognized != nil {
  6993. n += len(m.XXX_unrecognized)
  6994. }
  6995. return n
  6996. }
  6997. func (m *UserFoldersReq) Size() (n int) {
  6998. var l int
  6999. _ = l
  7000. if m.Typ != 0 {
  7001. n += 1 + sovApi(uint64(m.Typ))
  7002. }
  7003. if m.Mid != 0 {
  7004. n += 1 + sovApi(uint64(m.Mid))
  7005. }
  7006. if m.Vmid != 0 {
  7007. n += 1 + sovApi(uint64(m.Vmid))
  7008. }
  7009. if m.Oid != 0 {
  7010. n += 1 + sovApi(uint64(m.Oid))
  7011. }
  7012. if m.AllCount {
  7013. n += 2
  7014. }
  7015. if m.Otype != 0 {
  7016. n += 1 + sovApi(uint64(m.Otype))
  7017. }
  7018. if m.XXX_unrecognized != nil {
  7019. n += len(m.XXX_unrecognized)
  7020. }
  7021. return n
  7022. }
  7023. func (m *UserFolderReply) Size() (n int) {
  7024. var l int
  7025. _ = l
  7026. if m.Res != nil {
  7027. l = m.Res.Size()
  7028. n += 1 + l + sovApi(uint64(l))
  7029. }
  7030. if m.XXX_unrecognized != nil {
  7031. n += len(m.XXX_unrecognized)
  7032. }
  7033. return n
  7034. }
  7035. func (m *UserFolderReq) Size() (n int) {
  7036. var l int
  7037. _ = l
  7038. if m.Typ != 0 {
  7039. n += 1 + sovApi(uint64(m.Typ))
  7040. }
  7041. if m.Mid != 0 {
  7042. n += 1 + sovApi(uint64(m.Mid))
  7043. }
  7044. if m.Vmid != 0 {
  7045. n += 1 + sovApi(uint64(m.Vmid))
  7046. }
  7047. if m.Fid != 0 {
  7048. n += 1 + sovApi(uint64(m.Fid))
  7049. }
  7050. if m.AllCount {
  7051. n += 2
  7052. }
  7053. if m.XXX_unrecognized != nil {
  7054. n += len(m.XXX_unrecognized)
  7055. }
  7056. return n
  7057. }
  7058. func (m *AddFolderReq) Size() (n int) {
  7059. var l int
  7060. _ = l
  7061. if m.Typ != 0 {
  7062. n += 1 + sovApi(uint64(m.Typ))
  7063. }
  7064. if m.Mid != 0 {
  7065. n += 1 + sovApi(uint64(m.Mid))
  7066. }
  7067. l = len(m.Name)
  7068. if l > 0 {
  7069. n += 1 + l + sovApi(uint64(l))
  7070. }
  7071. l = len(m.Description)
  7072. if l > 0 {
  7073. n += 1 + l + sovApi(uint64(l))
  7074. }
  7075. l = len(m.Cover)
  7076. if l > 0 {
  7077. n += 1 + l + sovApi(uint64(l))
  7078. }
  7079. if m.Public != 0 {
  7080. n += 1 + sovApi(uint64(m.Public))
  7081. }
  7082. l = len(m.Cookie)
  7083. if l > 0 {
  7084. n += 1 + l + sovApi(uint64(l))
  7085. }
  7086. l = len(m.AccessKey)
  7087. if l > 0 {
  7088. n += 1 + l + sovApi(uint64(l))
  7089. }
  7090. if m.XXX_unrecognized != nil {
  7091. n += len(m.XXX_unrecognized)
  7092. }
  7093. return n
  7094. }
  7095. func (m *AddFolderReply) Size() (n int) {
  7096. var l int
  7097. _ = l
  7098. if m.Fid != 0 {
  7099. n += 1 + sovApi(uint64(m.Fid))
  7100. }
  7101. if m.XXX_unrecognized != nil {
  7102. n += len(m.XXX_unrecognized)
  7103. }
  7104. return n
  7105. }
  7106. func (m *UpdateFolderReq) Size() (n int) {
  7107. var l int
  7108. _ = l
  7109. if m.Typ != 0 {
  7110. n += 1 + sovApi(uint64(m.Typ))
  7111. }
  7112. if m.Fid != 0 {
  7113. n += 1 + sovApi(uint64(m.Fid))
  7114. }
  7115. if m.Mid != 0 {
  7116. n += 1 + sovApi(uint64(m.Mid))
  7117. }
  7118. l = len(m.Name)
  7119. if l > 0 {
  7120. n += 1 + l + sovApi(uint64(l))
  7121. }
  7122. l = len(m.Description)
  7123. if l > 0 {
  7124. n += 1 + l + sovApi(uint64(l))
  7125. }
  7126. l = len(m.Cover)
  7127. if l > 0 {
  7128. n += 1 + l + sovApi(uint64(l))
  7129. }
  7130. if m.Public != 0 {
  7131. n += 1 + sovApi(uint64(m.Public))
  7132. }
  7133. l = len(m.Cookie)
  7134. if l > 0 {
  7135. n += 1 + l + sovApi(uint64(l))
  7136. }
  7137. l = len(m.AccessKey)
  7138. if l > 0 {
  7139. n += 1 + l + sovApi(uint64(l))
  7140. }
  7141. if m.XXX_unrecognized != nil {
  7142. n += len(m.XXX_unrecognized)
  7143. }
  7144. return n
  7145. }
  7146. func (m *AdminUpdateFolderReq) Size() (n int) {
  7147. var l int
  7148. _ = l
  7149. if m.Typ != 0 {
  7150. n += 1 + sovApi(uint64(m.Typ))
  7151. }
  7152. if m.Fid != 0 {
  7153. n += 1 + sovApi(uint64(m.Fid))
  7154. }
  7155. if m.Mid != 0 {
  7156. n += 1 + sovApi(uint64(m.Mid))
  7157. }
  7158. l = len(m.Name)
  7159. if l > 0 {
  7160. n += 1 + l + sovApi(uint64(l))
  7161. }
  7162. l = len(m.Description)
  7163. if l > 0 {
  7164. n += 1 + l + sovApi(uint64(l))
  7165. }
  7166. l = len(m.Cover)
  7167. if l > 0 {
  7168. n += 1 + l + sovApi(uint64(l))
  7169. }
  7170. if m.State != 0 {
  7171. n += 1 + sovApi(uint64(m.State))
  7172. }
  7173. if m.Attr != 0 {
  7174. n += 1 + sovApi(uint64(m.Attr))
  7175. }
  7176. if m.XXX_unrecognized != nil {
  7177. n += len(m.XXX_unrecognized)
  7178. }
  7179. return n
  7180. }
  7181. func (m *DelFolderReq) Size() (n int) {
  7182. var l int
  7183. _ = l
  7184. if m.Typ != 0 {
  7185. n += 1 + sovApi(uint64(m.Typ))
  7186. }
  7187. if m.Mid != 0 {
  7188. n += 1 + sovApi(uint64(m.Mid))
  7189. }
  7190. if m.Fid != 0 {
  7191. n += 1 + sovApi(uint64(m.Fid))
  7192. }
  7193. if m.XXX_unrecognized != nil {
  7194. n += len(m.XXX_unrecognized)
  7195. }
  7196. return n
  7197. }
  7198. func (m *MultiAddReq) Size() (n int) {
  7199. var l int
  7200. _ = l
  7201. if m.Typ != 0 {
  7202. n += 1 + sovApi(uint64(m.Typ))
  7203. }
  7204. if m.Mid != 0 {
  7205. n += 1 + sovApi(uint64(m.Mid))
  7206. }
  7207. if len(m.Oids) > 0 {
  7208. l = 0
  7209. for _, e := range m.Oids {
  7210. l += sovApi(uint64(e))
  7211. }
  7212. n += 1 + sovApi(uint64(l)) + l
  7213. }
  7214. if m.Fid != 0 {
  7215. n += 1 + sovApi(uint64(m.Fid))
  7216. }
  7217. if m.XXX_unrecognized != nil {
  7218. n += len(m.XXX_unrecognized)
  7219. }
  7220. return n
  7221. }
  7222. func (m *MultiDelReq) Size() (n int) {
  7223. var l int
  7224. _ = l
  7225. if m.Typ != 0 {
  7226. n += 1 + sovApi(uint64(m.Typ))
  7227. }
  7228. if m.Mid != 0 {
  7229. n += 1 + sovApi(uint64(m.Mid))
  7230. }
  7231. if len(m.Oids) > 0 {
  7232. l = 0
  7233. for _, e := range m.Oids {
  7234. l += sovApi(uint64(e))
  7235. }
  7236. n += 1 + sovApi(uint64(l)) + l
  7237. }
  7238. if m.Fid != 0 {
  7239. n += 1 + sovApi(uint64(m.Fid))
  7240. }
  7241. if m.XXX_unrecognized != nil {
  7242. n += len(m.XXX_unrecognized)
  7243. }
  7244. return n
  7245. }
  7246. func (m *InDefaultFolderReq) Size() (n int) {
  7247. var l int
  7248. _ = l
  7249. if m.Typ != 0 {
  7250. n += 1 + sovApi(uint64(m.Typ))
  7251. }
  7252. if m.Mid != 0 {
  7253. n += 1 + sovApi(uint64(m.Mid))
  7254. }
  7255. if m.Oid != 0 {
  7256. n += 1 + sovApi(uint64(m.Oid))
  7257. }
  7258. if m.XXX_unrecognized != nil {
  7259. n += len(m.XXX_unrecognized)
  7260. }
  7261. return n
  7262. }
  7263. func (m *InDefaultFolderReply) Size() (n int) {
  7264. var l int
  7265. _ = l
  7266. if m.IsIn {
  7267. n += 2
  7268. }
  7269. if m.XXX_unrecognized != nil {
  7270. n += len(m.XXX_unrecognized)
  7271. }
  7272. return n
  7273. }
  7274. func (m *CntUserFoldersReq) Size() (n int) {
  7275. var l int
  7276. _ = l
  7277. if m.Typ != 0 {
  7278. n += 1 + sovApi(uint64(m.Typ))
  7279. }
  7280. if m.Mid != 0 {
  7281. n += 1 + sovApi(uint64(m.Mid))
  7282. }
  7283. if m.Vmid != 0 {
  7284. n += 1 + sovApi(uint64(m.Vmid))
  7285. }
  7286. if m.XXX_unrecognized != nil {
  7287. n += len(m.XXX_unrecognized)
  7288. }
  7289. return n
  7290. }
  7291. func (m *CntUserFoldersReply) Size() (n int) {
  7292. var l int
  7293. _ = l
  7294. if m.Count != 0 {
  7295. n += 1 + sovApi(uint64(m.Count))
  7296. }
  7297. if m.XXX_unrecognized != nil {
  7298. n += len(m.XXX_unrecognized)
  7299. }
  7300. return n
  7301. }
  7302. func (m *User) Size() (n int) {
  7303. var l int
  7304. _ = l
  7305. if m.Id != 0 {
  7306. n += 1 + sovApi(uint64(m.Id))
  7307. }
  7308. if m.Oid != 0 {
  7309. n += 1 + sovApi(uint64(m.Oid))
  7310. }
  7311. if m.Mid != 0 {
  7312. n += 1 + sovApi(uint64(m.Mid))
  7313. }
  7314. if m.Typ != 0 {
  7315. n += 1 + sovApi(uint64(m.Typ))
  7316. }
  7317. if m.State != 0 {
  7318. n += 1 + sovApi(uint64(m.State))
  7319. }
  7320. if m.Ctime != 0 {
  7321. n += 1 + sovApi(uint64(m.Ctime))
  7322. }
  7323. if m.Mtime != 0 {
  7324. n += 1 + sovApi(uint64(m.Mtime))
  7325. }
  7326. if m.XXX_unrecognized != nil {
  7327. n += len(m.XXX_unrecognized)
  7328. }
  7329. return n
  7330. }
  7331. func (m *FavedUsersReply) Size() (n int) {
  7332. var l int
  7333. _ = l
  7334. if m.Page != nil {
  7335. l = m.Page.Size()
  7336. n += 1 + l + sovApi(uint64(l))
  7337. }
  7338. if len(m.User) > 0 {
  7339. for _, e := range m.User {
  7340. l = e.Size()
  7341. n += 1 + l + sovApi(uint64(l))
  7342. }
  7343. }
  7344. if m.XXX_unrecognized != nil {
  7345. n += len(m.XXX_unrecognized)
  7346. }
  7347. return n
  7348. }
  7349. func (m *FavedUsersReq) Size() (n int) {
  7350. var l int
  7351. _ = l
  7352. if m.Type != 0 {
  7353. n += 1 + sovApi(uint64(m.Type))
  7354. }
  7355. if m.Oid != 0 {
  7356. n += 1 + sovApi(uint64(m.Oid))
  7357. }
  7358. if m.Pn != 0 {
  7359. n += 1 + sovApi(uint64(m.Pn))
  7360. }
  7361. if m.Ps != 0 {
  7362. n += 1 + sovApi(uint64(m.Ps))
  7363. }
  7364. if m.XXX_unrecognized != nil {
  7365. n += len(m.XXX_unrecognized)
  7366. }
  7367. return n
  7368. }
  7369. func (m *SetFolderSortReq) Size() (n int) {
  7370. var l int
  7371. _ = l
  7372. if m.Typ != 0 {
  7373. n += 1 + sovApi(uint64(m.Typ))
  7374. }
  7375. if m.Mid != 0 {
  7376. n += 1 + sovApi(uint64(m.Mid))
  7377. }
  7378. if len(m.Fids) > 0 {
  7379. l = 0
  7380. for _, e := range m.Fids {
  7381. l += sovApi(uint64(e))
  7382. }
  7383. n += 1 + sovApi(uint64(l)) + l
  7384. }
  7385. if m.XXX_unrecognized != nil {
  7386. n += len(m.XXX_unrecognized)
  7387. }
  7388. return n
  7389. }
  7390. func (m *FoldersReply) Size() (n int) {
  7391. var l int
  7392. _ = l
  7393. if len(m.Res) > 0 {
  7394. for _, e := range m.Res {
  7395. l = e.Size()
  7396. n += 1 + l + sovApi(uint64(l))
  7397. }
  7398. }
  7399. if m.XXX_unrecognized != nil {
  7400. n += len(m.XXX_unrecognized)
  7401. }
  7402. return n
  7403. }
  7404. func (m *FoldersReq) Size() (n int) {
  7405. var l int
  7406. _ = l
  7407. if len(m.Ids) > 0 {
  7408. for _, e := range m.Ids {
  7409. l = e.Size()
  7410. n += 1 + l + sovApi(uint64(l))
  7411. }
  7412. }
  7413. if m.Typ != 0 {
  7414. n += 1 + sovApi(uint64(m.Typ))
  7415. }
  7416. if m.Mid != 0 {
  7417. n += 1 + sovApi(uint64(m.Mid))
  7418. }
  7419. if m.XXX_unrecognized != nil {
  7420. n += len(m.XXX_unrecognized)
  7421. }
  7422. return n
  7423. }
  7424. func (m *FolderID) Size() (n int) {
  7425. var l int
  7426. _ = l
  7427. if m.Fid != 0 {
  7428. n += 1 + sovApi(uint64(m.Fid))
  7429. }
  7430. if m.Mid != 0 {
  7431. n += 1 + sovApi(uint64(m.Mid))
  7432. }
  7433. if m.XXX_unrecognized != nil {
  7434. n += len(m.XXX_unrecognized)
  7435. }
  7436. return n
  7437. }
  7438. func (m *MoveFavsReq) Size() (n int) {
  7439. var l int
  7440. _ = l
  7441. if m.Typ != 0 {
  7442. n += 1 + sovApi(uint64(m.Typ))
  7443. }
  7444. if m.Mid != 0 {
  7445. n += 1 + sovApi(uint64(m.Mid))
  7446. }
  7447. if m.OldFid != 0 {
  7448. n += 1 + sovApi(uint64(m.OldFid))
  7449. }
  7450. if m.NewFid != 0 {
  7451. n += 1 + sovApi(uint64(m.NewFid))
  7452. }
  7453. if len(m.Oids) > 0 {
  7454. l = 0
  7455. for _, e := range m.Oids {
  7456. l += sovApi(uint64(e))
  7457. }
  7458. n += 1 + sovApi(uint64(l)) + l
  7459. }
  7460. if m.XXX_unrecognized != nil {
  7461. n += len(m.XXX_unrecognized)
  7462. }
  7463. return n
  7464. }
  7465. func (m *CopyFavsReq) Size() (n int) {
  7466. var l int
  7467. _ = l
  7468. if m.Typ != 0 {
  7469. n += 1 + sovApi(uint64(m.Typ))
  7470. }
  7471. if m.OldMid != 0 {
  7472. n += 1 + sovApi(uint64(m.OldMid))
  7473. }
  7474. if m.Mid != 0 {
  7475. n += 1 + sovApi(uint64(m.Mid))
  7476. }
  7477. if m.OldFid != 0 {
  7478. n += 1 + sovApi(uint64(m.OldFid))
  7479. }
  7480. if m.NewFid != 0 {
  7481. n += 1 + sovApi(uint64(m.NewFid))
  7482. }
  7483. if len(m.Oids) > 0 {
  7484. l = 0
  7485. for _, e := range m.Oids {
  7486. l += sovApi(uint64(e))
  7487. }
  7488. n += 1 + sovApi(uint64(l)) + l
  7489. }
  7490. if m.XXX_unrecognized != nil {
  7491. n += len(m.XXX_unrecognized)
  7492. }
  7493. return n
  7494. }
  7495. func (m *CleanStateReq) Size() (n int) {
  7496. var l int
  7497. _ = l
  7498. if m.Typ != 0 {
  7499. n += 1 + sovApi(uint64(m.Typ))
  7500. }
  7501. if m.Mid != 0 {
  7502. n += 1 + sovApi(uint64(m.Mid))
  7503. }
  7504. if m.Fid != 0 {
  7505. n += 1 + sovApi(uint64(m.Fid))
  7506. }
  7507. if m.XXX_unrecognized != nil {
  7508. n += len(m.XXX_unrecognized)
  7509. }
  7510. return n
  7511. }
  7512. func (m *CleanStateReply) Size() (n int) {
  7513. var l int
  7514. _ = l
  7515. if m.CleanState != 0 {
  7516. n += 1 + sovApi(uint64(m.CleanState))
  7517. }
  7518. if m.XXX_unrecognized != nil {
  7519. n += len(m.XXX_unrecognized)
  7520. }
  7521. return n
  7522. }
  7523. func (m *CleanInvalidFavsReq) Size() (n int) {
  7524. var l int
  7525. _ = l
  7526. if m.Typ != 0 {
  7527. n += 1 + sovApi(uint64(m.Typ))
  7528. }
  7529. if m.Mid != 0 {
  7530. n += 1 + sovApi(uint64(m.Mid))
  7531. }
  7532. if m.Fid != 0 {
  7533. n += 1 + sovApi(uint64(m.Fid))
  7534. }
  7535. if m.XXX_unrecognized != nil {
  7536. n += len(m.XXX_unrecognized)
  7537. }
  7538. return n
  7539. }
  7540. func (m *FavAddFoldersReq) Size() (n int) {
  7541. var l int
  7542. _ = l
  7543. if m.Oid != 0 {
  7544. n += 1 + sovApi(uint64(m.Oid))
  7545. }
  7546. if m.Typ != 0 {
  7547. n += 1 + sovApi(uint64(m.Typ))
  7548. }
  7549. if len(m.Fids) > 0 {
  7550. l = 0
  7551. for _, e := range m.Fids {
  7552. l += sovApi(uint64(e))
  7553. }
  7554. n += 1 + sovApi(uint64(l)) + l
  7555. }
  7556. if m.Mid != 0 {
  7557. n += 1 + sovApi(uint64(m.Mid))
  7558. }
  7559. if m.Otype != 0 {
  7560. n += 1 + sovApi(uint64(m.Otype))
  7561. }
  7562. if m.XXX_unrecognized != nil {
  7563. n += len(m.XXX_unrecognized)
  7564. }
  7565. return n
  7566. }
  7567. func (m *FavDelFoldersReq) Size() (n int) {
  7568. var l int
  7569. _ = l
  7570. if m.Oid != 0 {
  7571. n += 1 + sovApi(uint64(m.Oid))
  7572. }
  7573. if m.Typ != 0 {
  7574. n += 1 + sovApi(uint64(m.Typ))
  7575. }
  7576. if len(m.Fids) > 0 {
  7577. l = 0
  7578. for _, e := range m.Fids {
  7579. l += sovApi(uint64(e))
  7580. }
  7581. n += 1 + sovApi(uint64(l)) + l
  7582. }
  7583. if m.Mid != 0 {
  7584. n += 1 + sovApi(uint64(m.Mid))
  7585. }
  7586. if m.Otype != 0 {
  7587. n += 1 + sovApi(uint64(m.Otype))
  7588. }
  7589. if m.XXX_unrecognized != nil {
  7590. n += len(m.XXX_unrecognized)
  7591. }
  7592. return n
  7593. }
  7594. func (m *SortFavsReq) Size() (n int) {
  7595. var l int
  7596. _ = l
  7597. if len(m.Sorts) > 0 {
  7598. for _, e := range m.Sorts {
  7599. l = e.Size()
  7600. n += 1 + l + sovApi(uint64(l))
  7601. }
  7602. }
  7603. if m.Mid != 0 {
  7604. n += 1 + sovApi(uint64(m.Mid))
  7605. }
  7606. if m.Fid != 0 {
  7607. n += 1 + sovApi(uint64(m.Fid))
  7608. }
  7609. if m.Typ != 0 {
  7610. n += 1 + sovApi(uint64(m.Typ))
  7611. }
  7612. if m.XXX_unrecognized != nil {
  7613. n += len(m.XXX_unrecognized)
  7614. }
  7615. return n
  7616. }
  7617. func (m *SortFav) Size() (n int) {
  7618. var l int
  7619. _ = l
  7620. if m.Pre != nil {
  7621. l = m.Pre.Size()
  7622. n += 1 + l + sovApi(uint64(l))
  7623. }
  7624. if m.Insert != nil {
  7625. l = m.Insert.Size()
  7626. n += 1 + l + sovApi(uint64(l))
  7627. }
  7628. if m.XXX_unrecognized != nil {
  7629. n += len(m.XXX_unrecognized)
  7630. }
  7631. return n
  7632. }
  7633. func (m *UpFolderNameReq) Size() (n int) {
  7634. var l int
  7635. _ = l
  7636. if m.Typ != 0 {
  7637. n += 1 + sovApi(uint64(m.Typ))
  7638. }
  7639. if m.Fid != 0 {
  7640. n += 1 + sovApi(uint64(m.Fid))
  7641. }
  7642. if m.Mid != 0 {
  7643. n += 1 + sovApi(uint64(m.Mid))
  7644. }
  7645. l = len(m.Name)
  7646. if l > 0 {
  7647. n += 1 + l + sovApi(uint64(l))
  7648. }
  7649. l = len(m.Cookie)
  7650. if l > 0 {
  7651. n += 1 + l + sovApi(uint64(l))
  7652. }
  7653. l = len(m.AccessKey)
  7654. if l > 0 {
  7655. n += 1 + l + sovApi(uint64(l))
  7656. }
  7657. if m.XXX_unrecognized != nil {
  7658. n += len(m.XXX_unrecognized)
  7659. }
  7660. return n
  7661. }
  7662. func (m *UpFolderAttrReq) Size() (n int) {
  7663. var l int
  7664. _ = l
  7665. if m.Typ != 0 {
  7666. n += 1 + sovApi(uint64(m.Typ))
  7667. }
  7668. if m.Fid != 0 {
  7669. n += 1 + sovApi(uint64(m.Fid))
  7670. }
  7671. if m.Mid != 0 {
  7672. n += 1 + sovApi(uint64(m.Mid))
  7673. }
  7674. if m.Public != 0 {
  7675. n += 1 + sovApi(uint64(m.Public))
  7676. }
  7677. if m.XXX_unrecognized != nil {
  7678. n += len(m.XXX_unrecognized)
  7679. }
  7680. return n
  7681. }
  7682. func (m *RecentResourcesReq) Size() (n int) {
  7683. var l int
  7684. _ = l
  7685. if m.Tp != 0 {
  7686. n += 1 + sovApi(uint64(m.Tp))
  7687. }
  7688. if m.Mid != 0 {
  7689. n += 1 + sovApi(uint64(m.Mid))
  7690. }
  7691. if m.Size_ != 0 {
  7692. n += 1 + sovApi(uint64(m.Size_))
  7693. }
  7694. if m.XXX_unrecognized != nil {
  7695. n += len(m.XXX_unrecognized)
  7696. }
  7697. return n
  7698. }
  7699. func (m *RecentResourcesReply) Size() (n int) {
  7700. var l int
  7701. _ = l
  7702. if len(m.Res) > 0 {
  7703. for _, e := range m.Res {
  7704. l = e.Size()
  7705. n += 1 + l + sovApi(uint64(l))
  7706. }
  7707. }
  7708. if m.XXX_unrecognized != nil {
  7709. n += len(m.XXX_unrecognized)
  7710. }
  7711. return n
  7712. }
  7713. func sovApi(x uint64) (n int) {
  7714. for {
  7715. n++
  7716. x >>= 7
  7717. if x == 0 {
  7718. break
  7719. }
  7720. }
  7721. return n
  7722. }
  7723. func sozApi(x uint64) (n int) {
  7724. return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  7725. }
  7726. func (m *ModelPage) Unmarshal(dAtA []byte) error {
  7727. l := len(dAtA)
  7728. iNdEx := 0
  7729. for iNdEx < l {
  7730. preIndex := iNdEx
  7731. var wire uint64
  7732. for shift := uint(0); ; shift += 7 {
  7733. if shift >= 64 {
  7734. return ErrIntOverflowApi
  7735. }
  7736. if iNdEx >= l {
  7737. return io.ErrUnexpectedEOF
  7738. }
  7739. b := dAtA[iNdEx]
  7740. iNdEx++
  7741. wire |= (uint64(b) & 0x7F) << shift
  7742. if b < 0x80 {
  7743. break
  7744. }
  7745. }
  7746. fieldNum := int32(wire >> 3)
  7747. wireType := int(wire & 0x7)
  7748. if wireType == 4 {
  7749. return fmt.Errorf("proto: ModelPage: wiretype end group for non-group")
  7750. }
  7751. if fieldNum <= 0 {
  7752. return fmt.Errorf("proto: ModelPage: illegal tag %d (wire type %d)", fieldNum, wire)
  7753. }
  7754. switch fieldNum {
  7755. case 1:
  7756. if wireType != 0 {
  7757. return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
  7758. }
  7759. m.Num = 0
  7760. for shift := uint(0); ; shift += 7 {
  7761. if shift >= 64 {
  7762. return ErrIntOverflowApi
  7763. }
  7764. if iNdEx >= l {
  7765. return io.ErrUnexpectedEOF
  7766. }
  7767. b := dAtA[iNdEx]
  7768. iNdEx++
  7769. m.Num |= (int32(b) & 0x7F) << shift
  7770. if b < 0x80 {
  7771. break
  7772. }
  7773. }
  7774. case 2:
  7775. if wireType != 0 {
  7776. return fmt.Errorf("proto: wrong wireType = %d for field Size_", wireType)
  7777. }
  7778. m.Size_ = 0
  7779. for shift := uint(0); ; shift += 7 {
  7780. if shift >= 64 {
  7781. return ErrIntOverflowApi
  7782. }
  7783. if iNdEx >= l {
  7784. return io.ErrUnexpectedEOF
  7785. }
  7786. b := dAtA[iNdEx]
  7787. iNdEx++
  7788. m.Size_ |= (int32(b) & 0x7F) << shift
  7789. if b < 0x80 {
  7790. break
  7791. }
  7792. }
  7793. case 3:
  7794. if wireType != 0 {
  7795. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  7796. }
  7797. m.Count = 0
  7798. for shift := uint(0); ; shift += 7 {
  7799. if shift >= 64 {
  7800. return ErrIntOverflowApi
  7801. }
  7802. if iNdEx >= l {
  7803. return io.ErrUnexpectedEOF
  7804. }
  7805. b := dAtA[iNdEx]
  7806. iNdEx++
  7807. m.Count |= (int32(b) & 0x7F) << shift
  7808. if b < 0x80 {
  7809. break
  7810. }
  7811. }
  7812. default:
  7813. iNdEx = preIndex
  7814. skippy, err := skipApi(dAtA[iNdEx:])
  7815. if err != nil {
  7816. return err
  7817. }
  7818. if skippy < 0 {
  7819. return ErrInvalidLengthApi
  7820. }
  7821. if (iNdEx + skippy) > l {
  7822. return io.ErrUnexpectedEOF
  7823. }
  7824. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7825. iNdEx += skippy
  7826. }
  7827. }
  7828. if iNdEx > l {
  7829. return io.ErrUnexpectedEOF
  7830. }
  7831. return nil
  7832. }
  7833. func (m *ModelFavorite) Unmarshal(dAtA []byte) error {
  7834. l := len(dAtA)
  7835. iNdEx := 0
  7836. for iNdEx < l {
  7837. preIndex := iNdEx
  7838. var wire uint64
  7839. for shift := uint(0); ; shift += 7 {
  7840. if shift >= 64 {
  7841. return ErrIntOverflowApi
  7842. }
  7843. if iNdEx >= l {
  7844. return io.ErrUnexpectedEOF
  7845. }
  7846. b := dAtA[iNdEx]
  7847. iNdEx++
  7848. wire |= (uint64(b) & 0x7F) << shift
  7849. if b < 0x80 {
  7850. break
  7851. }
  7852. }
  7853. fieldNum := int32(wire >> 3)
  7854. wireType := int(wire & 0x7)
  7855. if wireType == 4 {
  7856. return fmt.Errorf("proto: ModelFavorite: wiretype end group for non-group")
  7857. }
  7858. if fieldNum <= 0 {
  7859. return fmt.Errorf("proto: ModelFavorite: illegal tag %d (wire type %d)", fieldNum, wire)
  7860. }
  7861. switch fieldNum {
  7862. case 1:
  7863. if wireType != 0 {
  7864. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  7865. }
  7866. m.Id = 0
  7867. for shift := uint(0); ; shift += 7 {
  7868. if shift >= 64 {
  7869. return ErrIntOverflowApi
  7870. }
  7871. if iNdEx >= l {
  7872. return io.ErrUnexpectedEOF
  7873. }
  7874. b := dAtA[iNdEx]
  7875. iNdEx++
  7876. m.Id |= (int64(b) & 0x7F) << shift
  7877. if b < 0x80 {
  7878. break
  7879. }
  7880. }
  7881. case 2:
  7882. if wireType != 0 {
  7883. return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
  7884. }
  7885. m.Oid = 0
  7886. for shift := uint(0); ; shift += 7 {
  7887. if shift >= 64 {
  7888. return ErrIntOverflowApi
  7889. }
  7890. if iNdEx >= l {
  7891. return io.ErrUnexpectedEOF
  7892. }
  7893. b := dAtA[iNdEx]
  7894. iNdEx++
  7895. m.Oid |= (int64(b) & 0x7F) << shift
  7896. if b < 0x80 {
  7897. break
  7898. }
  7899. }
  7900. case 3:
  7901. if wireType != 0 {
  7902. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  7903. }
  7904. m.Mid = 0
  7905. for shift := uint(0); ; shift += 7 {
  7906. if shift >= 64 {
  7907. return ErrIntOverflowApi
  7908. }
  7909. if iNdEx >= l {
  7910. return io.ErrUnexpectedEOF
  7911. }
  7912. b := dAtA[iNdEx]
  7913. iNdEx++
  7914. m.Mid |= (int64(b) & 0x7F) << shift
  7915. if b < 0x80 {
  7916. break
  7917. }
  7918. }
  7919. case 4:
  7920. if wireType != 0 {
  7921. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  7922. }
  7923. m.Fid = 0
  7924. for shift := uint(0); ; shift += 7 {
  7925. if shift >= 64 {
  7926. return ErrIntOverflowApi
  7927. }
  7928. if iNdEx >= l {
  7929. return io.ErrUnexpectedEOF
  7930. }
  7931. b := dAtA[iNdEx]
  7932. iNdEx++
  7933. m.Fid |= (int64(b) & 0x7F) << shift
  7934. if b < 0x80 {
  7935. break
  7936. }
  7937. }
  7938. case 5:
  7939. if wireType != 0 {
  7940. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  7941. }
  7942. m.Type = 0
  7943. for shift := uint(0); ; shift += 7 {
  7944. if shift >= 64 {
  7945. return ErrIntOverflowApi
  7946. }
  7947. if iNdEx >= l {
  7948. return io.ErrUnexpectedEOF
  7949. }
  7950. b := dAtA[iNdEx]
  7951. iNdEx++
  7952. m.Type |= (int32(b) & 0x7F) << shift
  7953. if b < 0x80 {
  7954. break
  7955. }
  7956. }
  7957. case 6:
  7958. if wireType != 0 {
  7959. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  7960. }
  7961. m.State = 0
  7962. for shift := uint(0); ; shift += 7 {
  7963. if shift >= 64 {
  7964. return ErrIntOverflowApi
  7965. }
  7966. if iNdEx >= l {
  7967. return io.ErrUnexpectedEOF
  7968. }
  7969. b := dAtA[iNdEx]
  7970. iNdEx++
  7971. m.State |= (int32(b) & 0x7F) << shift
  7972. if b < 0x80 {
  7973. break
  7974. }
  7975. }
  7976. case 7:
  7977. if wireType != 0 {
  7978. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  7979. }
  7980. m.Ctime = 0
  7981. for shift := uint(0); ; shift += 7 {
  7982. if shift >= 64 {
  7983. return ErrIntOverflowApi
  7984. }
  7985. if iNdEx >= l {
  7986. return io.ErrUnexpectedEOF
  7987. }
  7988. b := dAtA[iNdEx]
  7989. iNdEx++
  7990. m.Ctime |= (int64(b) & 0x7F) << shift
  7991. if b < 0x80 {
  7992. break
  7993. }
  7994. }
  7995. case 8:
  7996. if wireType != 0 {
  7997. return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
  7998. }
  7999. m.Mtime = 0
  8000. for shift := uint(0); ; shift += 7 {
  8001. if shift >= 64 {
  8002. return ErrIntOverflowApi
  8003. }
  8004. if iNdEx >= l {
  8005. return io.ErrUnexpectedEOF
  8006. }
  8007. b := dAtA[iNdEx]
  8008. iNdEx++
  8009. m.Mtime |= (int64(b) & 0x7F) << shift
  8010. if b < 0x80 {
  8011. break
  8012. }
  8013. }
  8014. default:
  8015. iNdEx = preIndex
  8016. skippy, err := skipApi(dAtA[iNdEx:])
  8017. if err != nil {
  8018. return err
  8019. }
  8020. if skippy < 0 {
  8021. return ErrInvalidLengthApi
  8022. }
  8023. if (iNdEx + skippy) > l {
  8024. return io.ErrUnexpectedEOF
  8025. }
  8026. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8027. iNdEx += skippy
  8028. }
  8029. }
  8030. if iNdEx > l {
  8031. return io.ErrUnexpectedEOF
  8032. }
  8033. return nil
  8034. }
  8035. func (m *ModelPartition) Unmarshal(dAtA []byte) error {
  8036. l := len(dAtA)
  8037. iNdEx := 0
  8038. for iNdEx < l {
  8039. preIndex := iNdEx
  8040. var wire uint64
  8041. for shift := uint(0); ; shift += 7 {
  8042. if shift >= 64 {
  8043. return ErrIntOverflowApi
  8044. }
  8045. if iNdEx >= l {
  8046. return io.ErrUnexpectedEOF
  8047. }
  8048. b := dAtA[iNdEx]
  8049. iNdEx++
  8050. wire |= (uint64(b) & 0x7F) << shift
  8051. if b < 0x80 {
  8052. break
  8053. }
  8054. }
  8055. fieldNum := int32(wire >> 3)
  8056. wireType := int(wire & 0x7)
  8057. if wireType == 4 {
  8058. return fmt.Errorf("proto: ModelPartition: wiretype end group for non-group")
  8059. }
  8060. if fieldNum <= 0 {
  8061. return fmt.Errorf("proto: ModelPartition: illegal tag %d (wire type %d)", fieldNum, wire)
  8062. }
  8063. switch fieldNum {
  8064. case 1:
  8065. if wireType != 0 {
  8066. return fmt.Errorf("proto: wrong wireType = %d for field Tid", wireType)
  8067. }
  8068. m.Tid = 0
  8069. for shift := uint(0); ; shift += 7 {
  8070. if shift >= 64 {
  8071. return ErrIntOverflowApi
  8072. }
  8073. if iNdEx >= l {
  8074. return io.ErrUnexpectedEOF
  8075. }
  8076. b := dAtA[iNdEx]
  8077. iNdEx++
  8078. m.Tid |= (int32(b) & 0x7F) << shift
  8079. if b < 0x80 {
  8080. break
  8081. }
  8082. }
  8083. case 2:
  8084. if wireType != 2 {
  8085. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  8086. }
  8087. var stringLen uint64
  8088. for shift := uint(0); ; shift += 7 {
  8089. if shift >= 64 {
  8090. return ErrIntOverflowApi
  8091. }
  8092. if iNdEx >= l {
  8093. return io.ErrUnexpectedEOF
  8094. }
  8095. b := dAtA[iNdEx]
  8096. iNdEx++
  8097. stringLen |= (uint64(b) & 0x7F) << shift
  8098. if b < 0x80 {
  8099. break
  8100. }
  8101. }
  8102. intStringLen := int(stringLen)
  8103. if intStringLen < 0 {
  8104. return ErrInvalidLengthApi
  8105. }
  8106. postIndex := iNdEx + intStringLen
  8107. if postIndex > l {
  8108. return io.ErrUnexpectedEOF
  8109. }
  8110. m.Name = string(dAtA[iNdEx:postIndex])
  8111. iNdEx = postIndex
  8112. case 3:
  8113. if wireType != 0 {
  8114. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  8115. }
  8116. m.Count = 0
  8117. for shift := uint(0); ; shift += 7 {
  8118. if shift >= 64 {
  8119. return ErrIntOverflowApi
  8120. }
  8121. if iNdEx >= l {
  8122. return io.ErrUnexpectedEOF
  8123. }
  8124. b := dAtA[iNdEx]
  8125. iNdEx++
  8126. m.Count |= (int32(b) & 0x7F) << shift
  8127. if b < 0x80 {
  8128. break
  8129. }
  8130. }
  8131. default:
  8132. iNdEx = preIndex
  8133. skippy, err := skipApi(dAtA[iNdEx:])
  8134. if err != nil {
  8135. return err
  8136. }
  8137. if skippy < 0 {
  8138. return ErrInvalidLengthApi
  8139. }
  8140. if (iNdEx + skippy) > l {
  8141. return io.ErrUnexpectedEOF
  8142. }
  8143. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8144. iNdEx += skippy
  8145. }
  8146. }
  8147. if iNdEx > l {
  8148. return io.ErrUnexpectedEOF
  8149. }
  8150. return nil
  8151. }
  8152. func (m *ModelFavorites) Unmarshal(dAtA []byte) error {
  8153. l := len(dAtA)
  8154. iNdEx := 0
  8155. for iNdEx < l {
  8156. preIndex := iNdEx
  8157. var wire uint64
  8158. for shift := uint(0); ; shift += 7 {
  8159. if shift >= 64 {
  8160. return ErrIntOverflowApi
  8161. }
  8162. if iNdEx >= l {
  8163. return io.ErrUnexpectedEOF
  8164. }
  8165. b := dAtA[iNdEx]
  8166. iNdEx++
  8167. wire |= (uint64(b) & 0x7F) << shift
  8168. if b < 0x80 {
  8169. break
  8170. }
  8171. }
  8172. fieldNum := int32(wire >> 3)
  8173. wireType := int(wire & 0x7)
  8174. if wireType == 4 {
  8175. return fmt.Errorf("proto: ModelFavorites: wiretype end group for non-group")
  8176. }
  8177. if fieldNum <= 0 {
  8178. return fmt.Errorf("proto: ModelFavorites: illegal tag %d (wire type %d)", fieldNum, wire)
  8179. }
  8180. switch fieldNum {
  8181. case 1:
  8182. if wireType != 2 {
  8183. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  8184. }
  8185. var msglen int
  8186. for shift := uint(0); ; shift += 7 {
  8187. if shift >= 64 {
  8188. return ErrIntOverflowApi
  8189. }
  8190. if iNdEx >= l {
  8191. return io.ErrUnexpectedEOF
  8192. }
  8193. b := dAtA[iNdEx]
  8194. iNdEx++
  8195. msglen |= (int(b) & 0x7F) << shift
  8196. if b < 0x80 {
  8197. break
  8198. }
  8199. }
  8200. if msglen < 0 {
  8201. return ErrInvalidLengthApi
  8202. }
  8203. postIndex := iNdEx + msglen
  8204. if postIndex > l {
  8205. return io.ErrUnexpectedEOF
  8206. }
  8207. if m.Page == nil {
  8208. m.Page = &ModelPage{}
  8209. }
  8210. if err := m.Page.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8211. return err
  8212. }
  8213. iNdEx = postIndex
  8214. case 2:
  8215. if wireType != 2 {
  8216. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  8217. }
  8218. var msglen int
  8219. for shift := uint(0); ; shift += 7 {
  8220. if shift >= 64 {
  8221. return ErrIntOverflowApi
  8222. }
  8223. if iNdEx >= l {
  8224. return io.ErrUnexpectedEOF
  8225. }
  8226. b := dAtA[iNdEx]
  8227. iNdEx++
  8228. msglen |= (int(b) & 0x7F) << shift
  8229. if b < 0x80 {
  8230. break
  8231. }
  8232. }
  8233. if msglen < 0 {
  8234. return ErrInvalidLengthApi
  8235. }
  8236. postIndex := iNdEx + msglen
  8237. if postIndex > l {
  8238. return io.ErrUnexpectedEOF
  8239. }
  8240. m.List = append(m.List, &ModelFavorite{})
  8241. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8242. return err
  8243. }
  8244. iNdEx = postIndex
  8245. default:
  8246. iNdEx = preIndex
  8247. skippy, err := skipApi(dAtA[iNdEx:])
  8248. if err != nil {
  8249. return err
  8250. }
  8251. if skippy < 0 {
  8252. return ErrInvalidLengthApi
  8253. }
  8254. if (iNdEx + skippy) > l {
  8255. return io.ErrUnexpectedEOF
  8256. }
  8257. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8258. iNdEx += skippy
  8259. }
  8260. }
  8261. if iNdEx > l {
  8262. return io.ErrUnexpectedEOF
  8263. }
  8264. return nil
  8265. }
  8266. func (m *AddFavReply) Unmarshal(dAtA []byte) error {
  8267. l := len(dAtA)
  8268. iNdEx := 0
  8269. for iNdEx < l {
  8270. preIndex := iNdEx
  8271. var wire uint64
  8272. for shift := uint(0); ; shift += 7 {
  8273. if shift >= 64 {
  8274. return ErrIntOverflowApi
  8275. }
  8276. if iNdEx >= l {
  8277. return io.ErrUnexpectedEOF
  8278. }
  8279. b := dAtA[iNdEx]
  8280. iNdEx++
  8281. wire |= (uint64(b) & 0x7F) << shift
  8282. if b < 0x80 {
  8283. break
  8284. }
  8285. }
  8286. fieldNum := int32(wire >> 3)
  8287. wireType := int(wire & 0x7)
  8288. if wireType == 4 {
  8289. return fmt.Errorf("proto: AddFavReply: wiretype end group for non-group")
  8290. }
  8291. if fieldNum <= 0 {
  8292. return fmt.Errorf("proto: AddFavReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8293. }
  8294. switch fieldNum {
  8295. default:
  8296. iNdEx = preIndex
  8297. skippy, err := skipApi(dAtA[iNdEx:])
  8298. if err != nil {
  8299. return err
  8300. }
  8301. if skippy < 0 {
  8302. return ErrInvalidLengthApi
  8303. }
  8304. if (iNdEx + skippy) > l {
  8305. return io.ErrUnexpectedEOF
  8306. }
  8307. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8308. iNdEx += skippy
  8309. }
  8310. }
  8311. if iNdEx > l {
  8312. return io.ErrUnexpectedEOF
  8313. }
  8314. return nil
  8315. }
  8316. func (m *AddFavReq) Unmarshal(dAtA []byte) error {
  8317. l := len(dAtA)
  8318. iNdEx := 0
  8319. for iNdEx < l {
  8320. preIndex := iNdEx
  8321. var wire uint64
  8322. for shift := uint(0); ; shift += 7 {
  8323. if shift >= 64 {
  8324. return ErrIntOverflowApi
  8325. }
  8326. if iNdEx >= l {
  8327. return io.ErrUnexpectedEOF
  8328. }
  8329. b := dAtA[iNdEx]
  8330. iNdEx++
  8331. wire |= (uint64(b) & 0x7F) << shift
  8332. if b < 0x80 {
  8333. break
  8334. }
  8335. }
  8336. fieldNum := int32(wire >> 3)
  8337. wireType := int(wire & 0x7)
  8338. if wireType == 4 {
  8339. return fmt.Errorf("proto: AddFavReq: wiretype end group for non-group")
  8340. }
  8341. if fieldNum <= 0 {
  8342. return fmt.Errorf("proto: AddFavReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8343. }
  8344. switch fieldNum {
  8345. case 2:
  8346. if wireType != 0 {
  8347. return fmt.Errorf("proto: wrong wireType = %d for field Tp", wireType)
  8348. }
  8349. m.Tp = 0
  8350. for shift := uint(0); ; shift += 7 {
  8351. if shift >= 64 {
  8352. return ErrIntOverflowApi
  8353. }
  8354. if iNdEx >= l {
  8355. return io.ErrUnexpectedEOF
  8356. }
  8357. b := dAtA[iNdEx]
  8358. iNdEx++
  8359. m.Tp |= (int32(b) & 0x7F) << shift
  8360. if b < 0x80 {
  8361. break
  8362. }
  8363. }
  8364. case 3:
  8365. if wireType != 0 {
  8366. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8367. }
  8368. m.Mid = 0
  8369. for shift := uint(0); ; shift += 7 {
  8370. if shift >= 64 {
  8371. return ErrIntOverflowApi
  8372. }
  8373. if iNdEx >= l {
  8374. return io.ErrUnexpectedEOF
  8375. }
  8376. b := dAtA[iNdEx]
  8377. iNdEx++
  8378. m.Mid |= (int64(b) & 0x7F) << shift
  8379. if b < 0x80 {
  8380. break
  8381. }
  8382. }
  8383. case 4:
  8384. if wireType != 0 {
  8385. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  8386. }
  8387. m.Fid = 0
  8388. for shift := uint(0); ; shift += 7 {
  8389. if shift >= 64 {
  8390. return ErrIntOverflowApi
  8391. }
  8392. if iNdEx >= l {
  8393. return io.ErrUnexpectedEOF
  8394. }
  8395. b := dAtA[iNdEx]
  8396. iNdEx++
  8397. m.Fid |= (int64(b) & 0x7F) << shift
  8398. if b < 0x80 {
  8399. break
  8400. }
  8401. }
  8402. case 5:
  8403. if wireType != 0 {
  8404. return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
  8405. }
  8406. m.Oid = 0
  8407. for shift := uint(0); ; shift += 7 {
  8408. if shift >= 64 {
  8409. return ErrIntOverflowApi
  8410. }
  8411. if iNdEx >= l {
  8412. return io.ErrUnexpectedEOF
  8413. }
  8414. b := dAtA[iNdEx]
  8415. iNdEx++
  8416. m.Oid |= (int64(b) & 0x7F) << shift
  8417. if b < 0x80 {
  8418. break
  8419. }
  8420. }
  8421. case 6:
  8422. if wireType != 0 {
  8423. return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
  8424. }
  8425. m.Otype = 0
  8426. for shift := uint(0); ; shift += 7 {
  8427. if shift >= 64 {
  8428. return ErrIntOverflowApi
  8429. }
  8430. if iNdEx >= l {
  8431. return io.ErrUnexpectedEOF
  8432. }
  8433. b := dAtA[iNdEx]
  8434. iNdEx++
  8435. m.Otype |= (int32(b) & 0x7F) << shift
  8436. if b < 0x80 {
  8437. break
  8438. }
  8439. }
  8440. default:
  8441. iNdEx = preIndex
  8442. skippy, err := skipApi(dAtA[iNdEx:])
  8443. if err != nil {
  8444. return err
  8445. }
  8446. if skippy < 0 {
  8447. return ErrInvalidLengthApi
  8448. }
  8449. if (iNdEx + skippy) > l {
  8450. return io.ErrUnexpectedEOF
  8451. }
  8452. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8453. iNdEx += skippy
  8454. }
  8455. }
  8456. if iNdEx > l {
  8457. return io.ErrUnexpectedEOF
  8458. }
  8459. return nil
  8460. }
  8461. func (m *DelFavReply) Unmarshal(dAtA []byte) error {
  8462. l := len(dAtA)
  8463. iNdEx := 0
  8464. for iNdEx < l {
  8465. preIndex := iNdEx
  8466. var wire uint64
  8467. for shift := uint(0); ; shift += 7 {
  8468. if shift >= 64 {
  8469. return ErrIntOverflowApi
  8470. }
  8471. if iNdEx >= l {
  8472. return io.ErrUnexpectedEOF
  8473. }
  8474. b := dAtA[iNdEx]
  8475. iNdEx++
  8476. wire |= (uint64(b) & 0x7F) << shift
  8477. if b < 0x80 {
  8478. break
  8479. }
  8480. }
  8481. fieldNum := int32(wire >> 3)
  8482. wireType := int(wire & 0x7)
  8483. if wireType == 4 {
  8484. return fmt.Errorf("proto: DelFavReply: wiretype end group for non-group")
  8485. }
  8486. if fieldNum <= 0 {
  8487. return fmt.Errorf("proto: DelFavReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8488. }
  8489. switch fieldNum {
  8490. default:
  8491. iNdEx = preIndex
  8492. skippy, err := skipApi(dAtA[iNdEx:])
  8493. if err != nil {
  8494. return err
  8495. }
  8496. if skippy < 0 {
  8497. return ErrInvalidLengthApi
  8498. }
  8499. if (iNdEx + skippy) > l {
  8500. return io.ErrUnexpectedEOF
  8501. }
  8502. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8503. iNdEx += skippy
  8504. }
  8505. }
  8506. if iNdEx > l {
  8507. return io.ErrUnexpectedEOF
  8508. }
  8509. return nil
  8510. }
  8511. func (m *DelFavReq) Unmarshal(dAtA []byte) error {
  8512. l := len(dAtA)
  8513. iNdEx := 0
  8514. for iNdEx < l {
  8515. preIndex := iNdEx
  8516. var wire uint64
  8517. for shift := uint(0); ; shift += 7 {
  8518. if shift >= 64 {
  8519. return ErrIntOverflowApi
  8520. }
  8521. if iNdEx >= l {
  8522. return io.ErrUnexpectedEOF
  8523. }
  8524. b := dAtA[iNdEx]
  8525. iNdEx++
  8526. wire |= (uint64(b) & 0x7F) << shift
  8527. if b < 0x80 {
  8528. break
  8529. }
  8530. }
  8531. fieldNum := int32(wire >> 3)
  8532. wireType := int(wire & 0x7)
  8533. if wireType == 4 {
  8534. return fmt.Errorf("proto: DelFavReq: wiretype end group for non-group")
  8535. }
  8536. if fieldNum <= 0 {
  8537. return fmt.Errorf("proto: DelFavReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8538. }
  8539. switch fieldNum {
  8540. case 2:
  8541. if wireType != 0 {
  8542. return fmt.Errorf("proto: wrong wireType = %d for field Tp", wireType)
  8543. }
  8544. m.Tp = 0
  8545. for shift := uint(0); ; shift += 7 {
  8546. if shift >= 64 {
  8547. return ErrIntOverflowApi
  8548. }
  8549. if iNdEx >= l {
  8550. return io.ErrUnexpectedEOF
  8551. }
  8552. b := dAtA[iNdEx]
  8553. iNdEx++
  8554. m.Tp |= (int32(b) & 0x7F) << shift
  8555. if b < 0x80 {
  8556. break
  8557. }
  8558. }
  8559. case 3:
  8560. if wireType != 0 {
  8561. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8562. }
  8563. m.Mid = 0
  8564. for shift := uint(0); ; shift += 7 {
  8565. if shift >= 64 {
  8566. return ErrIntOverflowApi
  8567. }
  8568. if iNdEx >= l {
  8569. return io.ErrUnexpectedEOF
  8570. }
  8571. b := dAtA[iNdEx]
  8572. iNdEx++
  8573. m.Mid |= (int64(b) & 0x7F) << shift
  8574. if b < 0x80 {
  8575. break
  8576. }
  8577. }
  8578. case 4:
  8579. if wireType != 0 {
  8580. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  8581. }
  8582. m.Fid = 0
  8583. for shift := uint(0); ; shift += 7 {
  8584. if shift >= 64 {
  8585. return ErrIntOverflowApi
  8586. }
  8587. if iNdEx >= l {
  8588. return io.ErrUnexpectedEOF
  8589. }
  8590. b := dAtA[iNdEx]
  8591. iNdEx++
  8592. m.Fid |= (int64(b) & 0x7F) << shift
  8593. if b < 0x80 {
  8594. break
  8595. }
  8596. }
  8597. case 5:
  8598. if wireType != 0 {
  8599. return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
  8600. }
  8601. m.Oid = 0
  8602. for shift := uint(0); ; shift += 7 {
  8603. if shift >= 64 {
  8604. return ErrIntOverflowApi
  8605. }
  8606. if iNdEx >= l {
  8607. return io.ErrUnexpectedEOF
  8608. }
  8609. b := dAtA[iNdEx]
  8610. iNdEx++
  8611. m.Oid |= (int64(b) & 0x7F) << shift
  8612. if b < 0x80 {
  8613. break
  8614. }
  8615. }
  8616. case 6:
  8617. if wireType != 0 {
  8618. return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
  8619. }
  8620. m.Otype = 0
  8621. for shift := uint(0); ; shift += 7 {
  8622. if shift >= 64 {
  8623. return ErrIntOverflowApi
  8624. }
  8625. if iNdEx >= l {
  8626. return io.ErrUnexpectedEOF
  8627. }
  8628. b := dAtA[iNdEx]
  8629. iNdEx++
  8630. m.Otype |= (int32(b) & 0x7F) << shift
  8631. if b < 0x80 {
  8632. break
  8633. }
  8634. }
  8635. default:
  8636. iNdEx = preIndex
  8637. skippy, err := skipApi(dAtA[iNdEx:])
  8638. if err != nil {
  8639. return err
  8640. }
  8641. if skippy < 0 {
  8642. return ErrInvalidLengthApi
  8643. }
  8644. if (iNdEx + skippy) > l {
  8645. return io.ErrUnexpectedEOF
  8646. }
  8647. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8648. iNdEx += skippy
  8649. }
  8650. }
  8651. if iNdEx > l {
  8652. return io.ErrUnexpectedEOF
  8653. }
  8654. return nil
  8655. }
  8656. func (m *FavoritesReply) Unmarshal(dAtA []byte) error {
  8657. l := len(dAtA)
  8658. iNdEx := 0
  8659. for iNdEx < l {
  8660. preIndex := iNdEx
  8661. var wire uint64
  8662. for shift := uint(0); ; shift += 7 {
  8663. if shift >= 64 {
  8664. return ErrIntOverflowApi
  8665. }
  8666. if iNdEx >= l {
  8667. return io.ErrUnexpectedEOF
  8668. }
  8669. b := dAtA[iNdEx]
  8670. iNdEx++
  8671. wire |= (uint64(b) & 0x7F) << shift
  8672. if b < 0x80 {
  8673. break
  8674. }
  8675. }
  8676. fieldNum := int32(wire >> 3)
  8677. wireType := int(wire & 0x7)
  8678. if wireType == 4 {
  8679. return fmt.Errorf("proto: FavoritesReply: wiretype end group for non-group")
  8680. }
  8681. if fieldNum <= 0 {
  8682. return fmt.Errorf("proto: FavoritesReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8683. }
  8684. switch fieldNum {
  8685. case 1:
  8686. if wireType != 2 {
  8687. return fmt.Errorf("proto: wrong wireType = %d for field Res", wireType)
  8688. }
  8689. var msglen int
  8690. for shift := uint(0); ; shift += 7 {
  8691. if shift >= 64 {
  8692. return ErrIntOverflowApi
  8693. }
  8694. if iNdEx >= l {
  8695. return io.ErrUnexpectedEOF
  8696. }
  8697. b := dAtA[iNdEx]
  8698. iNdEx++
  8699. msglen |= (int(b) & 0x7F) << shift
  8700. if b < 0x80 {
  8701. break
  8702. }
  8703. }
  8704. if msglen < 0 {
  8705. return ErrInvalidLengthApi
  8706. }
  8707. postIndex := iNdEx + msglen
  8708. if postIndex > l {
  8709. return io.ErrUnexpectedEOF
  8710. }
  8711. if m.Res == nil {
  8712. m.Res = &ModelFavorites{}
  8713. }
  8714. if err := m.Res.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8715. return err
  8716. }
  8717. iNdEx = postIndex
  8718. default:
  8719. iNdEx = preIndex
  8720. skippy, err := skipApi(dAtA[iNdEx:])
  8721. if err != nil {
  8722. return err
  8723. }
  8724. if skippy < 0 {
  8725. return ErrInvalidLengthApi
  8726. }
  8727. if (iNdEx + skippy) > l {
  8728. return io.ErrUnexpectedEOF
  8729. }
  8730. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8731. iNdEx += skippy
  8732. }
  8733. }
  8734. if iNdEx > l {
  8735. return io.ErrUnexpectedEOF
  8736. }
  8737. return nil
  8738. }
  8739. func (m *FavoritesReq) Unmarshal(dAtA []byte) error {
  8740. l := len(dAtA)
  8741. iNdEx := 0
  8742. for iNdEx < l {
  8743. preIndex := iNdEx
  8744. var wire uint64
  8745. for shift := uint(0); ; shift += 7 {
  8746. if shift >= 64 {
  8747. return ErrIntOverflowApi
  8748. }
  8749. if iNdEx >= l {
  8750. return io.ErrUnexpectedEOF
  8751. }
  8752. b := dAtA[iNdEx]
  8753. iNdEx++
  8754. wire |= (uint64(b) & 0x7F) << shift
  8755. if b < 0x80 {
  8756. break
  8757. }
  8758. }
  8759. fieldNum := int32(wire >> 3)
  8760. wireType := int(wire & 0x7)
  8761. if wireType == 4 {
  8762. return fmt.Errorf("proto: FavoritesReq: wiretype end group for non-group")
  8763. }
  8764. if fieldNum <= 0 {
  8765. return fmt.Errorf("proto: FavoritesReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8766. }
  8767. switch fieldNum {
  8768. case 2:
  8769. if wireType != 0 {
  8770. return fmt.Errorf("proto: wrong wireType = %d for field Tp", wireType)
  8771. }
  8772. m.Tp = 0
  8773. for shift := uint(0); ; shift += 7 {
  8774. if shift >= 64 {
  8775. return ErrIntOverflowApi
  8776. }
  8777. if iNdEx >= l {
  8778. return io.ErrUnexpectedEOF
  8779. }
  8780. b := dAtA[iNdEx]
  8781. iNdEx++
  8782. m.Tp |= (int32(b) & 0x7F) << shift
  8783. if b < 0x80 {
  8784. break
  8785. }
  8786. }
  8787. case 3:
  8788. if wireType != 0 {
  8789. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8790. }
  8791. m.Mid = 0
  8792. for shift := uint(0); ; shift += 7 {
  8793. if shift >= 64 {
  8794. return ErrIntOverflowApi
  8795. }
  8796. if iNdEx >= l {
  8797. return io.ErrUnexpectedEOF
  8798. }
  8799. b := dAtA[iNdEx]
  8800. iNdEx++
  8801. m.Mid |= (int64(b) & 0x7F) << shift
  8802. if b < 0x80 {
  8803. break
  8804. }
  8805. }
  8806. case 4:
  8807. if wireType != 0 {
  8808. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  8809. }
  8810. m.Uid = 0
  8811. for shift := uint(0); ; shift += 7 {
  8812. if shift >= 64 {
  8813. return ErrIntOverflowApi
  8814. }
  8815. if iNdEx >= l {
  8816. return io.ErrUnexpectedEOF
  8817. }
  8818. b := dAtA[iNdEx]
  8819. iNdEx++
  8820. m.Uid |= (int64(b) & 0x7F) << shift
  8821. if b < 0x80 {
  8822. break
  8823. }
  8824. }
  8825. case 5:
  8826. if wireType != 0 {
  8827. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  8828. }
  8829. m.Fid = 0
  8830. for shift := uint(0); ; shift += 7 {
  8831. if shift >= 64 {
  8832. return ErrIntOverflowApi
  8833. }
  8834. if iNdEx >= l {
  8835. return io.ErrUnexpectedEOF
  8836. }
  8837. b := dAtA[iNdEx]
  8838. iNdEx++
  8839. m.Fid |= (int64(b) & 0x7F) << shift
  8840. if b < 0x80 {
  8841. break
  8842. }
  8843. }
  8844. case 6:
  8845. if wireType != 0 {
  8846. return fmt.Errorf("proto: wrong wireType = %d for field Pn", wireType)
  8847. }
  8848. m.Pn = 0
  8849. for shift := uint(0); ; shift += 7 {
  8850. if shift >= 64 {
  8851. return ErrIntOverflowApi
  8852. }
  8853. if iNdEx >= l {
  8854. return io.ErrUnexpectedEOF
  8855. }
  8856. b := dAtA[iNdEx]
  8857. iNdEx++
  8858. m.Pn |= (int32(b) & 0x7F) << shift
  8859. if b < 0x80 {
  8860. break
  8861. }
  8862. }
  8863. case 7:
  8864. if wireType != 0 {
  8865. return fmt.Errorf("proto: wrong wireType = %d for field Ps", wireType)
  8866. }
  8867. m.Ps = 0
  8868. for shift := uint(0); ; shift += 7 {
  8869. if shift >= 64 {
  8870. return ErrIntOverflowApi
  8871. }
  8872. if iNdEx >= l {
  8873. return io.ErrUnexpectedEOF
  8874. }
  8875. b := dAtA[iNdEx]
  8876. iNdEx++
  8877. m.Ps |= (int32(b) & 0x7F) << shift
  8878. if b < 0x80 {
  8879. break
  8880. }
  8881. }
  8882. case 8:
  8883. if wireType != 0 {
  8884. return fmt.Errorf("proto: wrong wireType = %d for field Tid", wireType)
  8885. }
  8886. m.Tid = 0
  8887. for shift := uint(0); ; shift += 7 {
  8888. if shift >= 64 {
  8889. return ErrIntOverflowApi
  8890. }
  8891. if iNdEx >= l {
  8892. return io.ErrUnexpectedEOF
  8893. }
  8894. b := dAtA[iNdEx]
  8895. iNdEx++
  8896. m.Tid |= (int32(b) & 0x7F) << shift
  8897. if b < 0x80 {
  8898. break
  8899. }
  8900. }
  8901. case 9:
  8902. if wireType != 0 {
  8903. return fmt.Errorf("proto: wrong wireType = %d for field Tv", wireType)
  8904. }
  8905. m.Tv = 0
  8906. for shift := uint(0); ; shift += 7 {
  8907. if shift >= 64 {
  8908. return ErrIntOverflowApi
  8909. }
  8910. if iNdEx >= l {
  8911. return io.ErrUnexpectedEOF
  8912. }
  8913. b := dAtA[iNdEx]
  8914. iNdEx++
  8915. m.Tv |= (int32(b) & 0x7F) << shift
  8916. if b < 0x80 {
  8917. break
  8918. }
  8919. }
  8920. case 10:
  8921. if wireType != 2 {
  8922. return fmt.Errorf("proto: wrong wireType = %d for field Keyword", wireType)
  8923. }
  8924. var stringLen uint64
  8925. for shift := uint(0); ; shift += 7 {
  8926. if shift >= 64 {
  8927. return ErrIntOverflowApi
  8928. }
  8929. if iNdEx >= l {
  8930. return io.ErrUnexpectedEOF
  8931. }
  8932. b := dAtA[iNdEx]
  8933. iNdEx++
  8934. stringLen |= (uint64(b) & 0x7F) << shift
  8935. if b < 0x80 {
  8936. break
  8937. }
  8938. }
  8939. intStringLen := int(stringLen)
  8940. if intStringLen < 0 {
  8941. return ErrInvalidLengthApi
  8942. }
  8943. postIndex := iNdEx + intStringLen
  8944. if postIndex > l {
  8945. return io.ErrUnexpectedEOF
  8946. }
  8947. m.Keyword = string(dAtA[iNdEx:postIndex])
  8948. iNdEx = postIndex
  8949. case 11:
  8950. if wireType != 2 {
  8951. return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
  8952. }
  8953. var stringLen uint64
  8954. for shift := uint(0); ; shift += 7 {
  8955. if shift >= 64 {
  8956. return ErrIntOverflowApi
  8957. }
  8958. if iNdEx >= l {
  8959. return io.ErrUnexpectedEOF
  8960. }
  8961. b := dAtA[iNdEx]
  8962. iNdEx++
  8963. stringLen |= (uint64(b) & 0x7F) << shift
  8964. if b < 0x80 {
  8965. break
  8966. }
  8967. }
  8968. intStringLen := int(stringLen)
  8969. if intStringLen < 0 {
  8970. return ErrInvalidLengthApi
  8971. }
  8972. postIndex := iNdEx + intStringLen
  8973. if postIndex > l {
  8974. return io.ErrUnexpectedEOF
  8975. }
  8976. m.Order = string(dAtA[iNdEx:postIndex])
  8977. iNdEx = postIndex
  8978. default:
  8979. iNdEx = preIndex
  8980. skippy, err := skipApi(dAtA[iNdEx:])
  8981. if err != nil {
  8982. return err
  8983. }
  8984. if skippy < 0 {
  8985. return ErrInvalidLengthApi
  8986. }
  8987. if (iNdEx + skippy) > l {
  8988. return io.ErrUnexpectedEOF
  8989. }
  8990. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8991. iNdEx += skippy
  8992. }
  8993. }
  8994. if iNdEx > l {
  8995. return io.ErrUnexpectedEOF
  8996. }
  8997. return nil
  8998. }
  8999. func (m *TlistsReply) Unmarshal(dAtA []byte) error {
  9000. l := len(dAtA)
  9001. iNdEx := 0
  9002. for iNdEx < l {
  9003. preIndex := iNdEx
  9004. var wire uint64
  9005. for shift := uint(0); ; shift += 7 {
  9006. if shift >= 64 {
  9007. return ErrIntOverflowApi
  9008. }
  9009. if iNdEx >= l {
  9010. return io.ErrUnexpectedEOF
  9011. }
  9012. b := dAtA[iNdEx]
  9013. iNdEx++
  9014. wire |= (uint64(b) & 0x7F) << shift
  9015. if b < 0x80 {
  9016. break
  9017. }
  9018. }
  9019. fieldNum := int32(wire >> 3)
  9020. wireType := int(wire & 0x7)
  9021. if wireType == 4 {
  9022. return fmt.Errorf("proto: TlistsReply: wiretype end group for non-group")
  9023. }
  9024. if fieldNum <= 0 {
  9025. return fmt.Errorf("proto: TlistsReply: illegal tag %d (wire type %d)", fieldNum, wire)
  9026. }
  9027. switch fieldNum {
  9028. case 1:
  9029. if wireType != 2 {
  9030. return fmt.Errorf("proto: wrong wireType = %d for field Res", wireType)
  9031. }
  9032. var msglen int
  9033. for shift := uint(0); ; shift += 7 {
  9034. if shift >= 64 {
  9035. return ErrIntOverflowApi
  9036. }
  9037. if iNdEx >= l {
  9038. return io.ErrUnexpectedEOF
  9039. }
  9040. b := dAtA[iNdEx]
  9041. iNdEx++
  9042. msglen |= (int(b) & 0x7F) << shift
  9043. if b < 0x80 {
  9044. break
  9045. }
  9046. }
  9047. if msglen < 0 {
  9048. return ErrInvalidLengthApi
  9049. }
  9050. postIndex := iNdEx + msglen
  9051. if postIndex > l {
  9052. return io.ErrUnexpectedEOF
  9053. }
  9054. m.Res = append(m.Res, &ModelPartition{})
  9055. if err := m.Res[len(m.Res)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9056. return err
  9057. }
  9058. iNdEx = postIndex
  9059. default:
  9060. iNdEx = preIndex
  9061. skippy, err := skipApi(dAtA[iNdEx:])
  9062. if err != nil {
  9063. return err
  9064. }
  9065. if skippy < 0 {
  9066. return ErrInvalidLengthApi
  9067. }
  9068. if (iNdEx + skippy) > l {
  9069. return io.ErrUnexpectedEOF
  9070. }
  9071. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9072. iNdEx += skippy
  9073. }
  9074. }
  9075. if iNdEx > l {
  9076. return io.ErrUnexpectedEOF
  9077. }
  9078. return nil
  9079. }
  9080. func (m *TlistsReq) Unmarshal(dAtA []byte) error {
  9081. l := len(dAtA)
  9082. iNdEx := 0
  9083. for iNdEx < l {
  9084. preIndex := iNdEx
  9085. var wire uint64
  9086. for shift := uint(0); ; shift += 7 {
  9087. if shift >= 64 {
  9088. return ErrIntOverflowApi
  9089. }
  9090. if iNdEx >= l {
  9091. return io.ErrUnexpectedEOF
  9092. }
  9093. b := dAtA[iNdEx]
  9094. iNdEx++
  9095. wire |= (uint64(b) & 0x7F) << shift
  9096. if b < 0x80 {
  9097. break
  9098. }
  9099. }
  9100. fieldNum := int32(wire >> 3)
  9101. wireType := int(wire & 0x7)
  9102. if wireType == 4 {
  9103. return fmt.Errorf("proto: TlistsReq: wiretype end group for non-group")
  9104. }
  9105. if fieldNum <= 0 {
  9106. return fmt.Errorf("proto: TlistsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9107. }
  9108. switch fieldNum {
  9109. case 2:
  9110. if wireType != 0 {
  9111. return fmt.Errorf("proto: wrong wireType = %d for field Tp", wireType)
  9112. }
  9113. m.Tp = 0
  9114. for shift := uint(0); ; shift += 7 {
  9115. if shift >= 64 {
  9116. return ErrIntOverflowApi
  9117. }
  9118. if iNdEx >= l {
  9119. return io.ErrUnexpectedEOF
  9120. }
  9121. b := dAtA[iNdEx]
  9122. iNdEx++
  9123. m.Tp |= (int32(b) & 0x7F) << shift
  9124. if b < 0x80 {
  9125. break
  9126. }
  9127. }
  9128. case 3:
  9129. if wireType != 0 {
  9130. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  9131. }
  9132. m.Mid = 0
  9133. for shift := uint(0); ; shift += 7 {
  9134. if shift >= 64 {
  9135. return ErrIntOverflowApi
  9136. }
  9137. if iNdEx >= l {
  9138. return io.ErrUnexpectedEOF
  9139. }
  9140. b := dAtA[iNdEx]
  9141. iNdEx++
  9142. m.Mid |= (int64(b) & 0x7F) << shift
  9143. if b < 0x80 {
  9144. break
  9145. }
  9146. }
  9147. case 4:
  9148. if wireType != 0 {
  9149. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  9150. }
  9151. m.Uid = 0
  9152. for shift := uint(0); ; shift += 7 {
  9153. if shift >= 64 {
  9154. return ErrIntOverflowApi
  9155. }
  9156. if iNdEx >= l {
  9157. return io.ErrUnexpectedEOF
  9158. }
  9159. b := dAtA[iNdEx]
  9160. iNdEx++
  9161. m.Uid |= (int64(b) & 0x7F) << shift
  9162. if b < 0x80 {
  9163. break
  9164. }
  9165. }
  9166. case 5:
  9167. if wireType != 0 {
  9168. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  9169. }
  9170. m.Fid = 0
  9171. for shift := uint(0); ; shift += 7 {
  9172. if shift >= 64 {
  9173. return ErrIntOverflowApi
  9174. }
  9175. if iNdEx >= l {
  9176. return io.ErrUnexpectedEOF
  9177. }
  9178. b := dAtA[iNdEx]
  9179. iNdEx++
  9180. m.Fid |= (int64(b) & 0x7F) << shift
  9181. if b < 0x80 {
  9182. break
  9183. }
  9184. }
  9185. default:
  9186. iNdEx = preIndex
  9187. skippy, err := skipApi(dAtA[iNdEx:])
  9188. if err != nil {
  9189. return err
  9190. }
  9191. if skippy < 0 {
  9192. return ErrInvalidLengthApi
  9193. }
  9194. if (iNdEx + skippy) > l {
  9195. return io.ErrUnexpectedEOF
  9196. }
  9197. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9198. iNdEx += skippy
  9199. }
  9200. }
  9201. if iNdEx > l {
  9202. return io.ErrUnexpectedEOF
  9203. }
  9204. return nil
  9205. }
  9206. func (m *RecentFavsReply) Unmarshal(dAtA []byte) error {
  9207. l := len(dAtA)
  9208. iNdEx := 0
  9209. for iNdEx < l {
  9210. preIndex := iNdEx
  9211. var wire uint64
  9212. for shift := uint(0); ; shift += 7 {
  9213. if shift >= 64 {
  9214. return ErrIntOverflowApi
  9215. }
  9216. if iNdEx >= l {
  9217. return io.ErrUnexpectedEOF
  9218. }
  9219. b := dAtA[iNdEx]
  9220. iNdEx++
  9221. wire |= (uint64(b) & 0x7F) << shift
  9222. if b < 0x80 {
  9223. break
  9224. }
  9225. }
  9226. fieldNum := int32(wire >> 3)
  9227. wireType := int(wire & 0x7)
  9228. if wireType == 4 {
  9229. return fmt.Errorf("proto: RecentFavsReply: wiretype end group for non-group")
  9230. }
  9231. if fieldNum <= 0 {
  9232. return fmt.Errorf("proto: RecentFavsReply: illegal tag %d (wire type %d)", fieldNum, wire)
  9233. }
  9234. switch fieldNum {
  9235. case 1:
  9236. if wireType == 0 {
  9237. var v int64
  9238. for shift := uint(0); ; shift += 7 {
  9239. if shift >= 64 {
  9240. return ErrIntOverflowApi
  9241. }
  9242. if iNdEx >= l {
  9243. return io.ErrUnexpectedEOF
  9244. }
  9245. b := dAtA[iNdEx]
  9246. iNdEx++
  9247. v |= (int64(b) & 0x7F) << shift
  9248. if b < 0x80 {
  9249. break
  9250. }
  9251. }
  9252. m.Res = append(m.Res, v)
  9253. } else if wireType == 2 {
  9254. var packedLen int
  9255. for shift := uint(0); ; shift += 7 {
  9256. if shift >= 64 {
  9257. return ErrIntOverflowApi
  9258. }
  9259. if iNdEx >= l {
  9260. return io.ErrUnexpectedEOF
  9261. }
  9262. b := dAtA[iNdEx]
  9263. iNdEx++
  9264. packedLen |= (int(b) & 0x7F) << shift
  9265. if b < 0x80 {
  9266. break
  9267. }
  9268. }
  9269. if packedLen < 0 {
  9270. return ErrInvalidLengthApi
  9271. }
  9272. postIndex := iNdEx + packedLen
  9273. if postIndex > l {
  9274. return io.ErrUnexpectedEOF
  9275. }
  9276. for iNdEx < postIndex {
  9277. var v int64
  9278. for shift := uint(0); ; shift += 7 {
  9279. if shift >= 64 {
  9280. return ErrIntOverflowApi
  9281. }
  9282. if iNdEx >= l {
  9283. return io.ErrUnexpectedEOF
  9284. }
  9285. b := dAtA[iNdEx]
  9286. iNdEx++
  9287. v |= (int64(b) & 0x7F) << shift
  9288. if b < 0x80 {
  9289. break
  9290. }
  9291. }
  9292. m.Res = append(m.Res, v)
  9293. }
  9294. } else {
  9295. return fmt.Errorf("proto: wrong wireType = %d for field Res", wireType)
  9296. }
  9297. default:
  9298. iNdEx = preIndex
  9299. skippy, err := skipApi(dAtA[iNdEx:])
  9300. if err != nil {
  9301. return err
  9302. }
  9303. if skippy < 0 {
  9304. return ErrInvalidLengthApi
  9305. }
  9306. if (iNdEx + skippy) > l {
  9307. return io.ErrUnexpectedEOF
  9308. }
  9309. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9310. iNdEx += skippy
  9311. }
  9312. }
  9313. if iNdEx > l {
  9314. return io.ErrUnexpectedEOF
  9315. }
  9316. return nil
  9317. }
  9318. func (m *RecentFavsReq) Unmarshal(dAtA []byte) error {
  9319. l := len(dAtA)
  9320. iNdEx := 0
  9321. for iNdEx < l {
  9322. preIndex := iNdEx
  9323. var wire uint64
  9324. for shift := uint(0); ; shift += 7 {
  9325. if shift >= 64 {
  9326. return ErrIntOverflowApi
  9327. }
  9328. if iNdEx >= l {
  9329. return io.ErrUnexpectedEOF
  9330. }
  9331. b := dAtA[iNdEx]
  9332. iNdEx++
  9333. wire |= (uint64(b) & 0x7F) << shift
  9334. if b < 0x80 {
  9335. break
  9336. }
  9337. }
  9338. fieldNum := int32(wire >> 3)
  9339. wireType := int(wire & 0x7)
  9340. if wireType == 4 {
  9341. return fmt.Errorf("proto: RecentFavsReq: wiretype end group for non-group")
  9342. }
  9343. if fieldNum <= 0 {
  9344. return fmt.Errorf("proto: RecentFavsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9345. }
  9346. switch fieldNum {
  9347. case 2:
  9348. if wireType != 0 {
  9349. return fmt.Errorf("proto: wrong wireType = %d for field Tp", wireType)
  9350. }
  9351. m.Tp = 0
  9352. for shift := uint(0); ; shift += 7 {
  9353. if shift >= 64 {
  9354. return ErrIntOverflowApi
  9355. }
  9356. if iNdEx >= l {
  9357. return io.ErrUnexpectedEOF
  9358. }
  9359. b := dAtA[iNdEx]
  9360. iNdEx++
  9361. m.Tp |= (int32(b) & 0x7F) << shift
  9362. if b < 0x80 {
  9363. break
  9364. }
  9365. }
  9366. case 3:
  9367. if wireType != 0 {
  9368. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  9369. }
  9370. m.Mid = 0
  9371. for shift := uint(0); ; shift += 7 {
  9372. if shift >= 64 {
  9373. return ErrIntOverflowApi
  9374. }
  9375. if iNdEx >= l {
  9376. return io.ErrUnexpectedEOF
  9377. }
  9378. b := dAtA[iNdEx]
  9379. iNdEx++
  9380. m.Mid |= (int64(b) & 0x7F) << shift
  9381. if b < 0x80 {
  9382. break
  9383. }
  9384. }
  9385. case 4:
  9386. if wireType != 0 {
  9387. return fmt.Errorf("proto: wrong wireType = %d for field Size_", wireType)
  9388. }
  9389. m.Size_ = 0
  9390. for shift := uint(0); ; shift += 7 {
  9391. if shift >= 64 {
  9392. return ErrIntOverflowApi
  9393. }
  9394. if iNdEx >= l {
  9395. return io.ErrUnexpectedEOF
  9396. }
  9397. b := dAtA[iNdEx]
  9398. iNdEx++
  9399. m.Size_ |= (int32(b) & 0x7F) << shift
  9400. if b < 0x80 {
  9401. break
  9402. }
  9403. }
  9404. default:
  9405. iNdEx = preIndex
  9406. skippy, err := skipApi(dAtA[iNdEx:])
  9407. if err != nil {
  9408. return err
  9409. }
  9410. if skippy < 0 {
  9411. return ErrInvalidLengthApi
  9412. }
  9413. if (iNdEx + skippy) > l {
  9414. return io.ErrUnexpectedEOF
  9415. }
  9416. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9417. iNdEx += skippy
  9418. }
  9419. }
  9420. if iNdEx > l {
  9421. return io.ErrUnexpectedEOF
  9422. }
  9423. return nil
  9424. }
  9425. func (m *IsFavoredReply) Unmarshal(dAtA []byte) error {
  9426. l := len(dAtA)
  9427. iNdEx := 0
  9428. for iNdEx < l {
  9429. preIndex := iNdEx
  9430. var wire uint64
  9431. for shift := uint(0); ; shift += 7 {
  9432. if shift >= 64 {
  9433. return ErrIntOverflowApi
  9434. }
  9435. if iNdEx >= l {
  9436. return io.ErrUnexpectedEOF
  9437. }
  9438. b := dAtA[iNdEx]
  9439. iNdEx++
  9440. wire |= (uint64(b) & 0x7F) << shift
  9441. if b < 0x80 {
  9442. break
  9443. }
  9444. }
  9445. fieldNum := int32(wire >> 3)
  9446. wireType := int(wire & 0x7)
  9447. if wireType == 4 {
  9448. return fmt.Errorf("proto: IsFavoredReply: wiretype end group for non-group")
  9449. }
  9450. if fieldNum <= 0 {
  9451. return fmt.Errorf("proto: IsFavoredReply: illegal tag %d (wire type %d)", fieldNum, wire)
  9452. }
  9453. switch fieldNum {
  9454. case 1:
  9455. if wireType != 0 {
  9456. return fmt.Errorf("proto: wrong wireType = %d for field Faved", wireType)
  9457. }
  9458. var v int
  9459. for shift := uint(0); ; shift += 7 {
  9460. if shift >= 64 {
  9461. return ErrIntOverflowApi
  9462. }
  9463. if iNdEx >= l {
  9464. return io.ErrUnexpectedEOF
  9465. }
  9466. b := dAtA[iNdEx]
  9467. iNdEx++
  9468. v |= (int(b) & 0x7F) << shift
  9469. if b < 0x80 {
  9470. break
  9471. }
  9472. }
  9473. m.Faved = bool(v != 0)
  9474. default:
  9475. iNdEx = preIndex
  9476. skippy, err := skipApi(dAtA[iNdEx:])
  9477. if err != nil {
  9478. return err
  9479. }
  9480. if skippy < 0 {
  9481. return ErrInvalidLengthApi
  9482. }
  9483. if (iNdEx + skippy) > l {
  9484. return io.ErrUnexpectedEOF
  9485. }
  9486. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9487. iNdEx += skippy
  9488. }
  9489. }
  9490. if iNdEx > l {
  9491. return io.ErrUnexpectedEOF
  9492. }
  9493. return nil
  9494. }
  9495. func (m *IsFavoredReq) Unmarshal(dAtA []byte) error {
  9496. l := len(dAtA)
  9497. iNdEx := 0
  9498. for iNdEx < l {
  9499. preIndex := iNdEx
  9500. var wire uint64
  9501. for shift := uint(0); ; shift += 7 {
  9502. if shift >= 64 {
  9503. return ErrIntOverflowApi
  9504. }
  9505. if iNdEx >= l {
  9506. return io.ErrUnexpectedEOF
  9507. }
  9508. b := dAtA[iNdEx]
  9509. iNdEx++
  9510. wire |= (uint64(b) & 0x7F) << shift
  9511. if b < 0x80 {
  9512. break
  9513. }
  9514. }
  9515. fieldNum := int32(wire >> 3)
  9516. wireType := int(wire & 0x7)
  9517. if wireType == 4 {
  9518. return fmt.Errorf("proto: IsFavoredReq: wiretype end group for non-group")
  9519. }
  9520. if fieldNum <= 0 {
  9521. return fmt.Errorf("proto: IsFavoredReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9522. }
  9523. switch fieldNum {
  9524. case 2:
  9525. if wireType != 0 {
  9526. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  9527. }
  9528. m.Typ = 0
  9529. for shift := uint(0); ; shift += 7 {
  9530. if shift >= 64 {
  9531. return ErrIntOverflowApi
  9532. }
  9533. if iNdEx >= l {
  9534. return io.ErrUnexpectedEOF
  9535. }
  9536. b := dAtA[iNdEx]
  9537. iNdEx++
  9538. m.Typ |= (int32(b) & 0x7F) << shift
  9539. if b < 0x80 {
  9540. break
  9541. }
  9542. }
  9543. case 3:
  9544. if wireType != 0 {
  9545. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  9546. }
  9547. m.Mid = 0
  9548. for shift := uint(0); ; shift += 7 {
  9549. if shift >= 64 {
  9550. return ErrIntOverflowApi
  9551. }
  9552. if iNdEx >= l {
  9553. return io.ErrUnexpectedEOF
  9554. }
  9555. b := dAtA[iNdEx]
  9556. iNdEx++
  9557. m.Mid |= (int64(b) & 0x7F) << shift
  9558. if b < 0x80 {
  9559. break
  9560. }
  9561. }
  9562. case 4:
  9563. if wireType != 0 {
  9564. return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
  9565. }
  9566. m.Oid = 0
  9567. for shift := uint(0); ; shift += 7 {
  9568. if shift >= 64 {
  9569. return ErrIntOverflowApi
  9570. }
  9571. if iNdEx >= l {
  9572. return io.ErrUnexpectedEOF
  9573. }
  9574. b := dAtA[iNdEx]
  9575. iNdEx++
  9576. m.Oid |= (int64(b) & 0x7F) << shift
  9577. if b < 0x80 {
  9578. break
  9579. }
  9580. }
  9581. default:
  9582. iNdEx = preIndex
  9583. skippy, err := skipApi(dAtA[iNdEx:])
  9584. if err != nil {
  9585. return err
  9586. }
  9587. if skippy < 0 {
  9588. return ErrInvalidLengthApi
  9589. }
  9590. if (iNdEx + skippy) > l {
  9591. return io.ErrUnexpectedEOF
  9592. }
  9593. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9594. iNdEx += skippy
  9595. }
  9596. }
  9597. if iNdEx > l {
  9598. return io.ErrUnexpectedEOF
  9599. }
  9600. return nil
  9601. }
  9602. func (m *IsFavoredByFidReq) Unmarshal(dAtA []byte) error {
  9603. l := len(dAtA)
  9604. iNdEx := 0
  9605. for iNdEx < l {
  9606. preIndex := iNdEx
  9607. var wire uint64
  9608. for shift := uint(0); ; shift += 7 {
  9609. if shift >= 64 {
  9610. return ErrIntOverflowApi
  9611. }
  9612. if iNdEx >= l {
  9613. return io.ErrUnexpectedEOF
  9614. }
  9615. b := dAtA[iNdEx]
  9616. iNdEx++
  9617. wire |= (uint64(b) & 0x7F) << shift
  9618. if b < 0x80 {
  9619. break
  9620. }
  9621. }
  9622. fieldNum := int32(wire >> 3)
  9623. wireType := int(wire & 0x7)
  9624. if wireType == 4 {
  9625. return fmt.Errorf("proto: IsFavoredByFidReq: wiretype end group for non-group")
  9626. }
  9627. if fieldNum <= 0 {
  9628. return fmt.Errorf("proto: IsFavoredByFidReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9629. }
  9630. switch fieldNum {
  9631. case 1:
  9632. if wireType != 0 {
  9633. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  9634. }
  9635. m.Type = 0
  9636. for shift := uint(0); ; shift += 7 {
  9637. if shift >= 64 {
  9638. return ErrIntOverflowApi
  9639. }
  9640. if iNdEx >= l {
  9641. return io.ErrUnexpectedEOF
  9642. }
  9643. b := dAtA[iNdEx]
  9644. iNdEx++
  9645. m.Type |= (int32(b) & 0x7F) << shift
  9646. if b < 0x80 {
  9647. break
  9648. }
  9649. }
  9650. case 2:
  9651. if wireType != 0 {
  9652. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  9653. }
  9654. m.Mid = 0
  9655. for shift := uint(0); ; shift += 7 {
  9656. if shift >= 64 {
  9657. return ErrIntOverflowApi
  9658. }
  9659. if iNdEx >= l {
  9660. return io.ErrUnexpectedEOF
  9661. }
  9662. b := dAtA[iNdEx]
  9663. iNdEx++
  9664. m.Mid |= (int64(b) & 0x7F) << shift
  9665. if b < 0x80 {
  9666. break
  9667. }
  9668. }
  9669. case 3:
  9670. if wireType != 0 {
  9671. return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
  9672. }
  9673. m.Oid = 0
  9674. for shift := uint(0); ; shift += 7 {
  9675. if shift >= 64 {
  9676. return ErrIntOverflowApi
  9677. }
  9678. if iNdEx >= l {
  9679. return io.ErrUnexpectedEOF
  9680. }
  9681. b := dAtA[iNdEx]
  9682. iNdEx++
  9683. m.Oid |= (int64(b) & 0x7F) << shift
  9684. if b < 0x80 {
  9685. break
  9686. }
  9687. }
  9688. case 4:
  9689. if wireType != 0 {
  9690. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  9691. }
  9692. m.Fid = 0
  9693. for shift := uint(0); ; shift += 7 {
  9694. if shift >= 64 {
  9695. return ErrIntOverflowApi
  9696. }
  9697. if iNdEx >= l {
  9698. return io.ErrUnexpectedEOF
  9699. }
  9700. b := dAtA[iNdEx]
  9701. iNdEx++
  9702. m.Fid |= (int64(b) & 0x7F) << shift
  9703. if b < 0x80 {
  9704. break
  9705. }
  9706. }
  9707. default:
  9708. iNdEx = preIndex
  9709. skippy, err := skipApi(dAtA[iNdEx:])
  9710. if err != nil {
  9711. return err
  9712. }
  9713. if skippy < 0 {
  9714. return ErrInvalidLengthApi
  9715. }
  9716. if (iNdEx + skippy) > l {
  9717. return io.ErrUnexpectedEOF
  9718. }
  9719. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9720. iNdEx += skippy
  9721. }
  9722. }
  9723. if iNdEx > l {
  9724. return io.ErrUnexpectedEOF
  9725. }
  9726. return nil
  9727. }
  9728. func (m *IsFavoredsReply) Unmarshal(dAtA []byte) error {
  9729. l := len(dAtA)
  9730. iNdEx := 0
  9731. for iNdEx < l {
  9732. preIndex := iNdEx
  9733. var wire uint64
  9734. for shift := uint(0); ; shift += 7 {
  9735. if shift >= 64 {
  9736. return ErrIntOverflowApi
  9737. }
  9738. if iNdEx >= l {
  9739. return io.ErrUnexpectedEOF
  9740. }
  9741. b := dAtA[iNdEx]
  9742. iNdEx++
  9743. wire |= (uint64(b) & 0x7F) << shift
  9744. if b < 0x80 {
  9745. break
  9746. }
  9747. }
  9748. fieldNum := int32(wire >> 3)
  9749. wireType := int(wire & 0x7)
  9750. if wireType == 4 {
  9751. return fmt.Errorf("proto: IsFavoredsReply: wiretype end group for non-group")
  9752. }
  9753. if fieldNum <= 0 {
  9754. return fmt.Errorf("proto: IsFavoredsReply: illegal tag %d (wire type %d)", fieldNum, wire)
  9755. }
  9756. switch fieldNum {
  9757. case 1:
  9758. if wireType != 2 {
  9759. return fmt.Errorf("proto: wrong wireType = %d for field Faveds", wireType)
  9760. }
  9761. var msglen int
  9762. for shift := uint(0); ; shift += 7 {
  9763. if shift >= 64 {
  9764. return ErrIntOverflowApi
  9765. }
  9766. if iNdEx >= l {
  9767. return io.ErrUnexpectedEOF
  9768. }
  9769. b := dAtA[iNdEx]
  9770. iNdEx++
  9771. msglen |= (int(b) & 0x7F) << shift
  9772. if b < 0x80 {
  9773. break
  9774. }
  9775. }
  9776. if msglen < 0 {
  9777. return ErrInvalidLengthApi
  9778. }
  9779. postIndex := iNdEx + msglen
  9780. if postIndex > l {
  9781. return io.ErrUnexpectedEOF
  9782. }
  9783. if m.Faveds == nil {
  9784. m.Faveds = make(map[int64]bool)
  9785. }
  9786. var mapkey int64
  9787. var mapvalue bool
  9788. for iNdEx < postIndex {
  9789. entryPreIndex := iNdEx
  9790. var wire uint64
  9791. for shift := uint(0); ; shift += 7 {
  9792. if shift >= 64 {
  9793. return ErrIntOverflowApi
  9794. }
  9795. if iNdEx >= l {
  9796. return io.ErrUnexpectedEOF
  9797. }
  9798. b := dAtA[iNdEx]
  9799. iNdEx++
  9800. wire |= (uint64(b) & 0x7F) << shift
  9801. if b < 0x80 {
  9802. break
  9803. }
  9804. }
  9805. fieldNum := int32(wire >> 3)
  9806. if fieldNum == 1 {
  9807. for shift := uint(0); ; shift += 7 {
  9808. if shift >= 64 {
  9809. return ErrIntOverflowApi
  9810. }
  9811. if iNdEx >= l {
  9812. return io.ErrUnexpectedEOF
  9813. }
  9814. b := dAtA[iNdEx]
  9815. iNdEx++
  9816. mapkey |= (int64(b) & 0x7F) << shift
  9817. if b < 0x80 {
  9818. break
  9819. }
  9820. }
  9821. } else if fieldNum == 2 {
  9822. var mapvaluetemp int
  9823. for shift := uint(0); ; shift += 7 {
  9824. if shift >= 64 {
  9825. return ErrIntOverflowApi
  9826. }
  9827. if iNdEx >= l {
  9828. return io.ErrUnexpectedEOF
  9829. }
  9830. b := dAtA[iNdEx]
  9831. iNdEx++
  9832. mapvaluetemp |= (int(b) & 0x7F) << shift
  9833. if b < 0x80 {
  9834. break
  9835. }
  9836. }
  9837. mapvalue = bool(mapvaluetemp != 0)
  9838. } else {
  9839. iNdEx = entryPreIndex
  9840. skippy, err := skipApi(dAtA[iNdEx:])
  9841. if err != nil {
  9842. return err
  9843. }
  9844. if skippy < 0 {
  9845. return ErrInvalidLengthApi
  9846. }
  9847. if (iNdEx + skippy) > postIndex {
  9848. return io.ErrUnexpectedEOF
  9849. }
  9850. iNdEx += skippy
  9851. }
  9852. }
  9853. m.Faveds[mapkey] = mapvalue
  9854. iNdEx = postIndex
  9855. default:
  9856. iNdEx = preIndex
  9857. skippy, err := skipApi(dAtA[iNdEx:])
  9858. if err != nil {
  9859. return err
  9860. }
  9861. if skippy < 0 {
  9862. return ErrInvalidLengthApi
  9863. }
  9864. if (iNdEx + skippy) > l {
  9865. return io.ErrUnexpectedEOF
  9866. }
  9867. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9868. iNdEx += skippy
  9869. }
  9870. }
  9871. if iNdEx > l {
  9872. return io.ErrUnexpectedEOF
  9873. }
  9874. return nil
  9875. }
  9876. func (m *IsFavoredsReq) Unmarshal(dAtA []byte) error {
  9877. l := len(dAtA)
  9878. iNdEx := 0
  9879. for iNdEx < l {
  9880. preIndex := iNdEx
  9881. var wire uint64
  9882. for shift := uint(0); ; shift += 7 {
  9883. if shift >= 64 {
  9884. return ErrIntOverflowApi
  9885. }
  9886. if iNdEx >= l {
  9887. return io.ErrUnexpectedEOF
  9888. }
  9889. b := dAtA[iNdEx]
  9890. iNdEx++
  9891. wire |= (uint64(b) & 0x7F) << shift
  9892. if b < 0x80 {
  9893. break
  9894. }
  9895. }
  9896. fieldNum := int32(wire >> 3)
  9897. wireType := int(wire & 0x7)
  9898. if wireType == 4 {
  9899. return fmt.Errorf("proto: IsFavoredsReq: wiretype end group for non-group")
  9900. }
  9901. if fieldNum <= 0 {
  9902. return fmt.Errorf("proto: IsFavoredsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  9903. }
  9904. switch fieldNum {
  9905. case 2:
  9906. if wireType != 0 {
  9907. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  9908. }
  9909. m.Typ = 0
  9910. for shift := uint(0); ; shift += 7 {
  9911. if shift >= 64 {
  9912. return ErrIntOverflowApi
  9913. }
  9914. if iNdEx >= l {
  9915. return io.ErrUnexpectedEOF
  9916. }
  9917. b := dAtA[iNdEx]
  9918. iNdEx++
  9919. m.Typ |= (int32(b) & 0x7F) << shift
  9920. if b < 0x80 {
  9921. break
  9922. }
  9923. }
  9924. case 3:
  9925. if wireType != 0 {
  9926. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  9927. }
  9928. m.Mid = 0
  9929. for shift := uint(0); ; shift += 7 {
  9930. if shift >= 64 {
  9931. return ErrIntOverflowApi
  9932. }
  9933. if iNdEx >= l {
  9934. return io.ErrUnexpectedEOF
  9935. }
  9936. b := dAtA[iNdEx]
  9937. iNdEx++
  9938. m.Mid |= (int64(b) & 0x7F) << shift
  9939. if b < 0x80 {
  9940. break
  9941. }
  9942. }
  9943. case 4:
  9944. if wireType == 0 {
  9945. var v int64
  9946. for shift := uint(0); ; shift += 7 {
  9947. if shift >= 64 {
  9948. return ErrIntOverflowApi
  9949. }
  9950. if iNdEx >= l {
  9951. return io.ErrUnexpectedEOF
  9952. }
  9953. b := dAtA[iNdEx]
  9954. iNdEx++
  9955. v |= (int64(b) & 0x7F) << shift
  9956. if b < 0x80 {
  9957. break
  9958. }
  9959. }
  9960. m.Oids = append(m.Oids, v)
  9961. } else if wireType == 2 {
  9962. var packedLen int
  9963. for shift := uint(0); ; shift += 7 {
  9964. if shift >= 64 {
  9965. return ErrIntOverflowApi
  9966. }
  9967. if iNdEx >= l {
  9968. return io.ErrUnexpectedEOF
  9969. }
  9970. b := dAtA[iNdEx]
  9971. iNdEx++
  9972. packedLen |= (int(b) & 0x7F) << shift
  9973. if b < 0x80 {
  9974. break
  9975. }
  9976. }
  9977. if packedLen < 0 {
  9978. return ErrInvalidLengthApi
  9979. }
  9980. postIndex := iNdEx + packedLen
  9981. if postIndex > l {
  9982. return io.ErrUnexpectedEOF
  9983. }
  9984. for iNdEx < postIndex {
  9985. var v int64
  9986. for shift := uint(0); ; shift += 7 {
  9987. if shift >= 64 {
  9988. return ErrIntOverflowApi
  9989. }
  9990. if iNdEx >= l {
  9991. return io.ErrUnexpectedEOF
  9992. }
  9993. b := dAtA[iNdEx]
  9994. iNdEx++
  9995. v |= (int64(b) & 0x7F) << shift
  9996. if b < 0x80 {
  9997. break
  9998. }
  9999. }
  10000. m.Oids = append(m.Oids, v)
  10001. }
  10002. } else {
  10003. return fmt.Errorf("proto: wrong wireType = %d for field Oids", wireType)
  10004. }
  10005. default:
  10006. iNdEx = preIndex
  10007. skippy, err := skipApi(dAtA[iNdEx:])
  10008. if err != nil {
  10009. return err
  10010. }
  10011. if skippy < 0 {
  10012. return ErrInvalidLengthApi
  10013. }
  10014. if (iNdEx + skippy) > l {
  10015. return io.ErrUnexpectedEOF
  10016. }
  10017. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10018. iNdEx += skippy
  10019. }
  10020. }
  10021. if iNdEx > l {
  10022. return io.ErrUnexpectedEOF
  10023. }
  10024. return nil
  10025. }
  10026. func (m *UserFoldersReply) Unmarshal(dAtA []byte) error {
  10027. l := len(dAtA)
  10028. iNdEx := 0
  10029. for iNdEx < l {
  10030. preIndex := iNdEx
  10031. var wire uint64
  10032. for shift := uint(0); ; shift += 7 {
  10033. if shift >= 64 {
  10034. return ErrIntOverflowApi
  10035. }
  10036. if iNdEx >= l {
  10037. return io.ErrUnexpectedEOF
  10038. }
  10039. b := dAtA[iNdEx]
  10040. iNdEx++
  10041. wire |= (uint64(b) & 0x7F) << shift
  10042. if b < 0x80 {
  10043. break
  10044. }
  10045. }
  10046. fieldNum := int32(wire >> 3)
  10047. wireType := int(wire & 0x7)
  10048. if wireType == 4 {
  10049. return fmt.Errorf("proto: UserFoldersReply: wiretype end group for non-group")
  10050. }
  10051. if fieldNum <= 0 {
  10052. return fmt.Errorf("proto: UserFoldersReply: illegal tag %d (wire type %d)", fieldNum, wire)
  10053. }
  10054. switch fieldNum {
  10055. case 1:
  10056. if wireType != 2 {
  10057. return fmt.Errorf("proto: wrong wireType = %d for field Res", wireType)
  10058. }
  10059. var msglen int
  10060. for shift := uint(0); ; shift += 7 {
  10061. if shift >= 64 {
  10062. return ErrIntOverflowApi
  10063. }
  10064. if iNdEx >= l {
  10065. return io.ErrUnexpectedEOF
  10066. }
  10067. b := dAtA[iNdEx]
  10068. iNdEx++
  10069. msglen |= (int(b) & 0x7F) << shift
  10070. if b < 0x80 {
  10071. break
  10072. }
  10073. }
  10074. if msglen < 0 {
  10075. return ErrInvalidLengthApi
  10076. }
  10077. postIndex := iNdEx + msglen
  10078. if postIndex > l {
  10079. return io.ErrUnexpectedEOF
  10080. }
  10081. m.Res = append(m.Res, &model.Folder{})
  10082. if err := m.Res[len(m.Res)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10083. return err
  10084. }
  10085. iNdEx = postIndex
  10086. default:
  10087. iNdEx = preIndex
  10088. skippy, err := skipApi(dAtA[iNdEx:])
  10089. if err != nil {
  10090. return err
  10091. }
  10092. if skippy < 0 {
  10093. return ErrInvalidLengthApi
  10094. }
  10095. if (iNdEx + skippy) > l {
  10096. return io.ErrUnexpectedEOF
  10097. }
  10098. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10099. iNdEx += skippy
  10100. }
  10101. }
  10102. if iNdEx > l {
  10103. return io.ErrUnexpectedEOF
  10104. }
  10105. return nil
  10106. }
  10107. func (m *UserFoldersReq) Unmarshal(dAtA []byte) error {
  10108. l := len(dAtA)
  10109. iNdEx := 0
  10110. for iNdEx < l {
  10111. preIndex := iNdEx
  10112. var wire uint64
  10113. for shift := uint(0); ; shift += 7 {
  10114. if shift >= 64 {
  10115. return ErrIntOverflowApi
  10116. }
  10117. if iNdEx >= l {
  10118. return io.ErrUnexpectedEOF
  10119. }
  10120. b := dAtA[iNdEx]
  10121. iNdEx++
  10122. wire |= (uint64(b) & 0x7F) << shift
  10123. if b < 0x80 {
  10124. break
  10125. }
  10126. }
  10127. fieldNum := int32(wire >> 3)
  10128. wireType := int(wire & 0x7)
  10129. if wireType == 4 {
  10130. return fmt.Errorf("proto: UserFoldersReq: wiretype end group for non-group")
  10131. }
  10132. if fieldNum <= 0 {
  10133. return fmt.Errorf("proto: UserFoldersReq: illegal tag %d (wire type %d)", fieldNum, wire)
  10134. }
  10135. switch fieldNum {
  10136. case 2:
  10137. if wireType != 0 {
  10138. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  10139. }
  10140. m.Typ = 0
  10141. for shift := uint(0); ; shift += 7 {
  10142. if shift >= 64 {
  10143. return ErrIntOverflowApi
  10144. }
  10145. if iNdEx >= l {
  10146. return io.ErrUnexpectedEOF
  10147. }
  10148. b := dAtA[iNdEx]
  10149. iNdEx++
  10150. m.Typ |= (int32(b) & 0x7F) << shift
  10151. if b < 0x80 {
  10152. break
  10153. }
  10154. }
  10155. case 3:
  10156. if wireType != 0 {
  10157. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  10158. }
  10159. m.Mid = 0
  10160. for shift := uint(0); ; shift += 7 {
  10161. if shift >= 64 {
  10162. return ErrIntOverflowApi
  10163. }
  10164. if iNdEx >= l {
  10165. return io.ErrUnexpectedEOF
  10166. }
  10167. b := dAtA[iNdEx]
  10168. iNdEx++
  10169. m.Mid |= (int64(b) & 0x7F) << shift
  10170. if b < 0x80 {
  10171. break
  10172. }
  10173. }
  10174. case 4:
  10175. if wireType != 0 {
  10176. return fmt.Errorf("proto: wrong wireType = %d for field Vmid", wireType)
  10177. }
  10178. m.Vmid = 0
  10179. for shift := uint(0); ; shift += 7 {
  10180. if shift >= 64 {
  10181. return ErrIntOverflowApi
  10182. }
  10183. if iNdEx >= l {
  10184. return io.ErrUnexpectedEOF
  10185. }
  10186. b := dAtA[iNdEx]
  10187. iNdEx++
  10188. m.Vmid |= (int64(b) & 0x7F) << shift
  10189. if b < 0x80 {
  10190. break
  10191. }
  10192. }
  10193. case 5:
  10194. if wireType != 0 {
  10195. return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
  10196. }
  10197. m.Oid = 0
  10198. for shift := uint(0); ; shift += 7 {
  10199. if shift >= 64 {
  10200. return ErrIntOverflowApi
  10201. }
  10202. if iNdEx >= l {
  10203. return io.ErrUnexpectedEOF
  10204. }
  10205. b := dAtA[iNdEx]
  10206. iNdEx++
  10207. m.Oid |= (int64(b) & 0x7F) << shift
  10208. if b < 0x80 {
  10209. break
  10210. }
  10211. }
  10212. case 6:
  10213. if wireType != 0 {
  10214. return fmt.Errorf("proto: wrong wireType = %d for field AllCount", wireType)
  10215. }
  10216. var v int
  10217. for shift := uint(0); ; shift += 7 {
  10218. if shift >= 64 {
  10219. return ErrIntOverflowApi
  10220. }
  10221. if iNdEx >= l {
  10222. return io.ErrUnexpectedEOF
  10223. }
  10224. b := dAtA[iNdEx]
  10225. iNdEx++
  10226. v |= (int(b) & 0x7F) << shift
  10227. if b < 0x80 {
  10228. break
  10229. }
  10230. }
  10231. m.AllCount = bool(v != 0)
  10232. case 7:
  10233. if wireType != 0 {
  10234. return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
  10235. }
  10236. m.Otype = 0
  10237. for shift := uint(0); ; shift += 7 {
  10238. if shift >= 64 {
  10239. return ErrIntOverflowApi
  10240. }
  10241. if iNdEx >= l {
  10242. return io.ErrUnexpectedEOF
  10243. }
  10244. b := dAtA[iNdEx]
  10245. iNdEx++
  10246. m.Otype |= (int32(b) & 0x7F) << shift
  10247. if b < 0x80 {
  10248. break
  10249. }
  10250. }
  10251. default:
  10252. iNdEx = preIndex
  10253. skippy, err := skipApi(dAtA[iNdEx:])
  10254. if err != nil {
  10255. return err
  10256. }
  10257. if skippy < 0 {
  10258. return ErrInvalidLengthApi
  10259. }
  10260. if (iNdEx + skippy) > l {
  10261. return io.ErrUnexpectedEOF
  10262. }
  10263. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10264. iNdEx += skippy
  10265. }
  10266. }
  10267. if iNdEx > l {
  10268. return io.ErrUnexpectedEOF
  10269. }
  10270. return nil
  10271. }
  10272. func (m *UserFolderReply) Unmarshal(dAtA []byte) error {
  10273. l := len(dAtA)
  10274. iNdEx := 0
  10275. for iNdEx < l {
  10276. preIndex := iNdEx
  10277. var wire uint64
  10278. for shift := uint(0); ; shift += 7 {
  10279. if shift >= 64 {
  10280. return ErrIntOverflowApi
  10281. }
  10282. if iNdEx >= l {
  10283. return io.ErrUnexpectedEOF
  10284. }
  10285. b := dAtA[iNdEx]
  10286. iNdEx++
  10287. wire |= (uint64(b) & 0x7F) << shift
  10288. if b < 0x80 {
  10289. break
  10290. }
  10291. }
  10292. fieldNum := int32(wire >> 3)
  10293. wireType := int(wire & 0x7)
  10294. if wireType == 4 {
  10295. return fmt.Errorf("proto: UserFolderReply: wiretype end group for non-group")
  10296. }
  10297. if fieldNum <= 0 {
  10298. return fmt.Errorf("proto: UserFolderReply: illegal tag %d (wire type %d)", fieldNum, wire)
  10299. }
  10300. switch fieldNum {
  10301. case 1:
  10302. if wireType != 2 {
  10303. return fmt.Errorf("proto: wrong wireType = %d for field Res", wireType)
  10304. }
  10305. var msglen int
  10306. for shift := uint(0); ; shift += 7 {
  10307. if shift >= 64 {
  10308. return ErrIntOverflowApi
  10309. }
  10310. if iNdEx >= l {
  10311. return io.ErrUnexpectedEOF
  10312. }
  10313. b := dAtA[iNdEx]
  10314. iNdEx++
  10315. msglen |= (int(b) & 0x7F) << shift
  10316. if b < 0x80 {
  10317. break
  10318. }
  10319. }
  10320. if msglen < 0 {
  10321. return ErrInvalidLengthApi
  10322. }
  10323. postIndex := iNdEx + msglen
  10324. if postIndex > l {
  10325. return io.ErrUnexpectedEOF
  10326. }
  10327. if m.Res == nil {
  10328. m.Res = &model.Folder{}
  10329. }
  10330. if err := m.Res.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10331. return err
  10332. }
  10333. iNdEx = postIndex
  10334. default:
  10335. iNdEx = preIndex
  10336. skippy, err := skipApi(dAtA[iNdEx:])
  10337. if err != nil {
  10338. return err
  10339. }
  10340. if skippy < 0 {
  10341. return ErrInvalidLengthApi
  10342. }
  10343. if (iNdEx + skippy) > l {
  10344. return io.ErrUnexpectedEOF
  10345. }
  10346. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10347. iNdEx += skippy
  10348. }
  10349. }
  10350. if iNdEx > l {
  10351. return io.ErrUnexpectedEOF
  10352. }
  10353. return nil
  10354. }
  10355. func (m *UserFolderReq) Unmarshal(dAtA []byte) error {
  10356. l := len(dAtA)
  10357. iNdEx := 0
  10358. for iNdEx < l {
  10359. preIndex := iNdEx
  10360. var wire uint64
  10361. for shift := uint(0); ; shift += 7 {
  10362. if shift >= 64 {
  10363. return ErrIntOverflowApi
  10364. }
  10365. if iNdEx >= l {
  10366. return io.ErrUnexpectedEOF
  10367. }
  10368. b := dAtA[iNdEx]
  10369. iNdEx++
  10370. wire |= (uint64(b) & 0x7F) << shift
  10371. if b < 0x80 {
  10372. break
  10373. }
  10374. }
  10375. fieldNum := int32(wire >> 3)
  10376. wireType := int(wire & 0x7)
  10377. if wireType == 4 {
  10378. return fmt.Errorf("proto: UserFolderReq: wiretype end group for non-group")
  10379. }
  10380. if fieldNum <= 0 {
  10381. return fmt.Errorf("proto: UserFolderReq: illegal tag %d (wire type %d)", fieldNum, wire)
  10382. }
  10383. switch fieldNum {
  10384. case 2:
  10385. if wireType != 0 {
  10386. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  10387. }
  10388. m.Typ = 0
  10389. for shift := uint(0); ; shift += 7 {
  10390. if shift >= 64 {
  10391. return ErrIntOverflowApi
  10392. }
  10393. if iNdEx >= l {
  10394. return io.ErrUnexpectedEOF
  10395. }
  10396. b := dAtA[iNdEx]
  10397. iNdEx++
  10398. m.Typ |= (int32(b) & 0x7F) << shift
  10399. if b < 0x80 {
  10400. break
  10401. }
  10402. }
  10403. case 3:
  10404. if wireType != 0 {
  10405. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  10406. }
  10407. m.Mid = 0
  10408. for shift := uint(0); ; shift += 7 {
  10409. if shift >= 64 {
  10410. return ErrIntOverflowApi
  10411. }
  10412. if iNdEx >= l {
  10413. return io.ErrUnexpectedEOF
  10414. }
  10415. b := dAtA[iNdEx]
  10416. iNdEx++
  10417. m.Mid |= (int64(b) & 0x7F) << shift
  10418. if b < 0x80 {
  10419. break
  10420. }
  10421. }
  10422. case 4:
  10423. if wireType != 0 {
  10424. return fmt.Errorf("proto: wrong wireType = %d for field Vmid", wireType)
  10425. }
  10426. m.Vmid = 0
  10427. for shift := uint(0); ; shift += 7 {
  10428. if shift >= 64 {
  10429. return ErrIntOverflowApi
  10430. }
  10431. if iNdEx >= l {
  10432. return io.ErrUnexpectedEOF
  10433. }
  10434. b := dAtA[iNdEx]
  10435. iNdEx++
  10436. m.Vmid |= (int64(b) & 0x7F) << shift
  10437. if b < 0x80 {
  10438. break
  10439. }
  10440. }
  10441. case 5:
  10442. if wireType != 0 {
  10443. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  10444. }
  10445. m.Fid = 0
  10446. for shift := uint(0); ; shift += 7 {
  10447. if shift >= 64 {
  10448. return ErrIntOverflowApi
  10449. }
  10450. if iNdEx >= l {
  10451. return io.ErrUnexpectedEOF
  10452. }
  10453. b := dAtA[iNdEx]
  10454. iNdEx++
  10455. m.Fid |= (int64(b) & 0x7F) << shift
  10456. if b < 0x80 {
  10457. break
  10458. }
  10459. }
  10460. case 6:
  10461. if wireType != 0 {
  10462. return fmt.Errorf("proto: wrong wireType = %d for field AllCount", wireType)
  10463. }
  10464. var v int
  10465. for shift := uint(0); ; shift += 7 {
  10466. if shift >= 64 {
  10467. return ErrIntOverflowApi
  10468. }
  10469. if iNdEx >= l {
  10470. return io.ErrUnexpectedEOF
  10471. }
  10472. b := dAtA[iNdEx]
  10473. iNdEx++
  10474. v |= (int(b) & 0x7F) << shift
  10475. if b < 0x80 {
  10476. break
  10477. }
  10478. }
  10479. m.AllCount = bool(v != 0)
  10480. default:
  10481. iNdEx = preIndex
  10482. skippy, err := skipApi(dAtA[iNdEx:])
  10483. if err != nil {
  10484. return err
  10485. }
  10486. if skippy < 0 {
  10487. return ErrInvalidLengthApi
  10488. }
  10489. if (iNdEx + skippy) > l {
  10490. return io.ErrUnexpectedEOF
  10491. }
  10492. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10493. iNdEx += skippy
  10494. }
  10495. }
  10496. if iNdEx > l {
  10497. return io.ErrUnexpectedEOF
  10498. }
  10499. return nil
  10500. }
  10501. func (m *AddFolderReq) Unmarshal(dAtA []byte) error {
  10502. l := len(dAtA)
  10503. iNdEx := 0
  10504. for iNdEx < l {
  10505. preIndex := iNdEx
  10506. var wire uint64
  10507. for shift := uint(0); ; shift += 7 {
  10508. if shift >= 64 {
  10509. return ErrIntOverflowApi
  10510. }
  10511. if iNdEx >= l {
  10512. return io.ErrUnexpectedEOF
  10513. }
  10514. b := dAtA[iNdEx]
  10515. iNdEx++
  10516. wire |= (uint64(b) & 0x7F) << shift
  10517. if b < 0x80 {
  10518. break
  10519. }
  10520. }
  10521. fieldNum := int32(wire >> 3)
  10522. wireType := int(wire & 0x7)
  10523. if wireType == 4 {
  10524. return fmt.Errorf("proto: AddFolderReq: wiretype end group for non-group")
  10525. }
  10526. if fieldNum <= 0 {
  10527. return fmt.Errorf("proto: AddFolderReq: illegal tag %d (wire type %d)", fieldNum, wire)
  10528. }
  10529. switch fieldNum {
  10530. case 1:
  10531. if wireType != 0 {
  10532. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  10533. }
  10534. m.Typ = 0
  10535. for shift := uint(0); ; shift += 7 {
  10536. if shift >= 64 {
  10537. return ErrIntOverflowApi
  10538. }
  10539. if iNdEx >= l {
  10540. return io.ErrUnexpectedEOF
  10541. }
  10542. b := dAtA[iNdEx]
  10543. iNdEx++
  10544. m.Typ |= (int32(b) & 0x7F) << shift
  10545. if b < 0x80 {
  10546. break
  10547. }
  10548. }
  10549. case 2:
  10550. if wireType != 0 {
  10551. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  10552. }
  10553. m.Mid = 0
  10554. for shift := uint(0); ; shift += 7 {
  10555. if shift >= 64 {
  10556. return ErrIntOverflowApi
  10557. }
  10558. if iNdEx >= l {
  10559. return io.ErrUnexpectedEOF
  10560. }
  10561. b := dAtA[iNdEx]
  10562. iNdEx++
  10563. m.Mid |= (int64(b) & 0x7F) << shift
  10564. if b < 0x80 {
  10565. break
  10566. }
  10567. }
  10568. case 3:
  10569. if wireType != 2 {
  10570. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  10571. }
  10572. var stringLen uint64
  10573. for shift := uint(0); ; shift += 7 {
  10574. if shift >= 64 {
  10575. return ErrIntOverflowApi
  10576. }
  10577. if iNdEx >= l {
  10578. return io.ErrUnexpectedEOF
  10579. }
  10580. b := dAtA[iNdEx]
  10581. iNdEx++
  10582. stringLen |= (uint64(b) & 0x7F) << shift
  10583. if b < 0x80 {
  10584. break
  10585. }
  10586. }
  10587. intStringLen := int(stringLen)
  10588. if intStringLen < 0 {
  10589. return ErrInvalidLengthApi
  10590. }
  10591. postIndex := iNdEx + intStringLen
  10592. if postIndex > l {
  10593. return io.ErrUnexpectedEOF
  10594. }
  10595. m.Name = string(dAtA[iNdEx:postIndex])
  10596. iNdEx = postIndex
  10597. case 4:
  10598. if wireType != 2 {
  10599. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  10600. }
  10601. var stringLen uint64
  10602. for shift := uint(0); ; shift += 7 {
  10603. if shift >= 64 {
  10604. return ErrIntOverflowApi
  10605. }
  10606. if iNdEx >= l {
  10607. return io.ErrUnexpectedEOF
  10608. }
  10609. b := dAtA[iNdEx]
  10610. iNdEx++
  10611. stringLen |= (uint64(b) & 0x7F) << shift
  10612. if b < 0x80 {
  10613. break
  10614. }
  10615. }
  10616. intStringLen := int(stringLen)
  10617. if intStringLen < 0 {
  10618. return ErrInvalidLengthApi
  10619. }
  10620. postIndex := iNdEx + intStringLen
  10621. if postIndex > l {
  10622. return io.ErrUnexpectedEOF
  10623. }
  10624. m.Description = string(dAtA[iNdEx:postIndex])
  10625. iNdEx = postIndex
  10626. case 5:
  10627. if wireType != 2 {
  10628. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  10629. }
  10630. var stringLen uint64
  10631. for shift := uint(0); ; shift += 7 {
  10632. if shift >= 64 {
  10633. return ErrIntOverflowApi
  10634. }
  10635. if iNdEx >= l {
  10636. return io.ErrUnexpectedEOF
  10637. }
  10638. b := dAtA[iNdEx]
  10639. iNdEx++
  10640. stringLen |= (uint64(b) & 0x7F) << shift
  10641. if b < 0x80 {
  10642. break
  10643. }
  10644. }
  10645. intStringLen := int(stringLen)
  10646. if intStringLen < 0 {
  10647. return ErrInvalidLengthApi
  10648. }
  10649. postIndex := iNdEx + intStringLen
  10650. if postIndex > l {
  10651. return io.ErrUnexpectedEOF
  10652. }
  10653. m.Cover = string(dAtA[iNdEx:postIndex])
  10654. iNdEx = postIndex
  10655. case 6:
  10656. if wireType != 0 {
  10657. return fmt.Errorf("proto: wrong wireType = %d for field Public", wireType)
  10658. }
  10659. m.Public = 0
  10660. for shift := uint(0); ; shift += 7 {
  10661. if shift >= 64 {
  10662. return ErrIntOverflowApi
  10663. }
  10664. if iNdEx >= l {
  10665. return io.ErrUnexpectedEOF
  10666. }
  10667. b := dAtA[iNdEx]
  10668. iNdEx++
  10669. m.Public |= (int32(b) & 0x7F) << shift
  10670. if b < 0x80 {
  10671. break
  10672. }
  10673. }
  10674. case 7:
  10675. if wireType != 2 {
  10676. return fmt.Errorf("proto: wrong wireType = %d for field Cookie", wireType)
  10677. }
  10678. var stringLen uint64
  10679. for shift := uint(0); ; shift += 7 {
  10680. if shift >= 64 {
  10681. return ErrIntOverflowApi
  10682. }
  10683. if iNdEx >= l {
  10684. return io.ErrUnexpectedEOF
  10685. }
  10686. b := dAtA[iNdEx]
  10687. iNdEx++
  10688. stringLen |= (uint64(b) & 0x7F) << shift
  10689. if b < 0x80 {
  10690. break
  10691. }
  10692. }
  10693. intStringLen := int(stringLen)
  10694. if intStringLen < 0 {
  10695. return ErrInvalidLengthApi
  10696. }
  10697. postIndex := iNdEx + intStringLen
  10698. if postIndex > l {
  10699. return io.ErrUnexpectedEOF
  10700. }
  10701. m.Cookie = string(dAtA[iNdEx:postIndex])
  10702. iNdEx = postIndex
  10703. case 8:
  10704. if wireType != 2 {
  10705. return fmt.Errorf("proto: wrong wireType = %d for field AccessKey", wireType)
  10706. }
  10707. var stringLen uint64
  10708. for shift := uint(0); ; shift += 7 {
  10709. if shift >= 64 {
  10710. return ErrIntOverflowApi
  10711. }
  10712. if iNdEx >= l {
  10713. return io.ErrUnexpectedEOF
  10714. }
  10715. b := dAtA[iNdEx]
  10716. iNdEx++
  10717. stringLen |= (uint64(b) & 0x7F) << shift
  10718. if b < 0x80 {
  10719. break
  10720. }
  10721. }
  10722. intStringLen := int(stringLen)
  10723. if intStringLen < 0 {
  10724. return ErrInvalidLengthApi
  10725. }
  10726. postIndex := iNdEx + intStringLen
  10727. if postIndex > l {
  10728. return io.ErrUnexpectedEOF
  10729. }
  10730. m.AccessKey = string(dAtA[iNdEx:postIndex])
  10731. iNdEx = postIndex
  10732. default:
  10733. iNdEx = preIndex
  10734. skippy, err := skipApi(dAtA[iNdEx:])
  10735. if err != nil {
  10736. return err
  10737. }
  10738. if skippy < 0 {
  10739. return ErrInvalidLengthApi
  10740. }
  10741. if (iNdEx + skippy) > l {
  10742. return io.ErrUnexpectedEOF
  10743. }
  10744. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10745. iNdEx += skippy
  10746. }
  10747. }
  10748. if iNdEx > l {
  10749. return io.ErrUnexpectedEOF
  10750. }
  10751. return nil
  10752. }
  10753. func (m *AddFolderReply) Unmarshal(dAtA []byte) error {
  10754. l := len(dAtA)
  10755. iNdEx := 0
  10756. for iNdEx < l {
  10757. preIndex := iNdEx
  10758. var wire uint64
  10759. for shift := uint(0); ; shift += 7 {
  10760. if shift >= 64 {
  10761. return ErrIntOverflowApi
  10762. }
  10763. if iNdEx >= l {
  10764. return io.ErrUnexpectedEOF
  10765. }
  10766. b := dAtA[iNdEx]
  10767. iNdEx++
  10768. wire |= (uint64(b) & 0x7F) << shift
  10769. if b < 0x80 {
  10770. break
  10771. }
  10772. }
  10773. fieldNum := int32(wire >> 3)
  10774. wireType := int(wire & 0x7)
  10775. if wireType == 4 {
  10776. return fmt.Errorf("proto: AddFolderReply: wiretype end group for non-group")
  10777. }
  10778. if fieldNum <= 0 {
  10779. return fmt.Errorf("proto: AddFolderReply: illegal tag %d (wire type %d)", fieldNum, wire)
  10780. }
  10781. switch fieldNum {
  10782. case 1:
  10783. if wireType != 0 {
  10784. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  10785. }
  10786. m.Fid = 0
  10787. for shift := uint(0); ; shift += 7 {
  10788. if shift >= 64 {
  10789. return ErrIntOverflowApi
  10790. }
  10791. if iNdEx >= l {
  10792. return io.ErrUnexpectedEOF
  10793. }
  10794. b := dAtA[iNdEx]
  10795. iNdEx++
  10796. m.Fid |= (int64(b) & 0x7F) << shift
  10797. if b < 0x80 {
  10798. break
  10799. }
  10800. }
  10801. default:
  10802. iNdEx = preIndex
  10803. skippy, err := skipApi(dAtA[iNdEx:])
  10804. if err != nil {
  10805. return err
  10806. }
  10807. if skippy < 0 {
  10808. return ErrInvalidLengthApi
  10809. }
  10810. if (iNdEx + skippy) > l {
  10811. return io.ErrUnexpectedEOF
  10812. }
  10813. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  10814. iNdEx += skippy
  10815. }
  10816. }
  10817. if iNdEx > l {
  10818. return io.ErrUnexpectedEOF
  10819. }
  10820. return nil
  10821. }
  10822. func (m *UpdateFolderReq) Unmarshal(dAtA []byte) error {
  10823. l := len(dAtA)
  10824. iNdEx := 0
  10825. for iNdEx < l {
  10826. preIndex := iNdEx
  10827. var wire uint64
  10828. for shift := uint(0); ; shift += 7 {
  10829. if shift >= 64 {
  10830. return ErrIntOverflowApi
  10831. }
  10832. if iNdEx >= l {
  10833. return io.ErrUnexpectedEOF
  10834. }
  10835. b := dAtA[iNdEx]
  10836. iNdEx++
  10837. wire |= (uint64(b) & 0x7F) << shift
  10838. if b < 0x80 {
  10839. break
  10840. }
  10841. }
  10842. fieldNum := int32(wire >> 3)
  10843. wireType := int(wire & 0x7)
  10844. if wireType == 4 {
  10845. return fmt.Errorf("proto: UpdateFolderReq: wiretype end group for non-group")
  10846. }
  10847. if fieldNum <= 0 {
  10848. return fmt.Errorf("proto: UpdateFolderReq: illegal tag %d (wire type %d)", fieldNum, wire)
  10849. }
  10850. switch fieldNum {
  10851. case 1:
  10852. if wireType != 0 {
  10853. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  10854. }
  10855. m.Typ = 0
  10856. for shift := uint(0); ; shift += 7 {
  10857. if shift >= 64 {
  10858. return ErrIntOverflowApi
  10859. }
  10860. if iNdEx >= l {
  10861. return io.ErrUnexpectedEOF
  10862. }
  10863. b := dAtA[iNdEx]
  10864. iNdEx++
  10865. m.Typ |= (int32(b) & 0x7F) << shift
  10866. if b < 0x80 {
  10867. break
  10868. }
  10869. }
  10870. case 2:
  10871. if wireType != 0 {
  10872. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  10873. }
  10874. m.Fid = 0
  10875. for shift := uint(0); ; shift += 7 {
  10876. if shift >= 64 {
  10877. return ErrIntOverflowApi
  10878. }
  10879. if iNdEx >= l {
  10880. return io.ErrUnexpectedEOF
  10881. }
  10882. b := dAtA[iNdEx]
  10883. iNdEx++
  10884. m.Fid |= (int64(b) & 0x7F) << shift
  10885. if b < 0x80 {
  10886. break
  10887. }
  10888. }
  10889. case 3:
  10890. if wireType != 0 {
  10891. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  10892. }
  10893. m.Mid = 0
  10894. for shift := uint(0); ; shift += 7 {
  10895. if shift >= 64 {
  10896. return ErrIntOverflowApi
  10897. }
  10898. if iNdEx >= l {
  10899. return io.ErrUnexpectedEOF
  10900. }
  10901. b := dAtA[iNdEx]
  10902. iNdEx++
  10903. m.Mid |= (int64(b) & 0x7F) << shift
  10904. if b < 0x80 {
  10905. break
  10906. }
  10907. }
  10908. case 4:
  10909. if wireType != 2 {
  10910. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  10911. }
  10912. var stringLen uint64
  10913. for shift := uint(0); ; shift += 7 {
  10914. if shift >= 64 {
  10915. return ErrIntOverflowApi
  10916. }
  10917. if iNdEx >= l {
  10918. return io.ErrUnexpectedEOF
  10919. }
  10920. b := dAtA[iNdEx]
  10921. iNdEx++
  10922. stringLen |= (uint64(b) & 0x7F) << shift
  10923. if b < 0x80 {
  10924. break
  10925. }
  10926. }
  10927. intStringLen := int(stringLen)
  10928. if intStringLen < 0 {
  10929. return ErrInvalidLengthApi
  10930. }
  10931. postIndex := iNdEx + intStringLen
  10932. if postIndex > l {
  10933. return io.ErrUnexpectedEOF
  10934. }
  10935. m.Name = string(dAtA[iNdEx:postIndex])
  10936. iNdEx = postIndex
  10937. case 5:
  10938. if wireType != 2 {
  10939. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  10940. }
  10941. var stringLen uint64
  10942. for shift := uint(0); ; shift += 7 {
  10943. if shift >= 64 {
  10944. return ErrIntOverflowApi
  10945. }
  10946. if iNdEx >= l {
  10947. return io.ErrUnexpectedEOF
  10948. }
  10949. b := dAtA[iNdEx]
  10950. iNdEx++
  10951. stringLen |= (uint64(b) & 0x7F) << shift
  10952. if b < 0x80 {
  10953. break
  10954. }
  10955. }
  10956. intStringLen := int(stringLen)
  10957. if intStringLen < 0 {
  10958. return ErrInvalidLengthApi
  10959. }
  10960. postIndex := iNdEx + intStringLen
  10961. if postIndex > l {
  10962. return io.ErrUnexpectedEOF
  10963. }
  10964. m.Description = string(dAtA[iNdEx:postIndex])
  10965. iNdEx = postIndex
  10966. case 6:
  10967. if wireType != 2 {
  10968. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  10969. }
  10970. var stringLen uint64
  10971. for shift := uint(0); ; shift += 7 {
  10972. if shift >= 64 {
  10973. return ErrIntOverflowApi
  10974. }
  10975. if iNdEx >= l {
  10976. return io.ErrUnexpectedEOF
  10977. }
  10978. b := dAtA[iNdEx]
  10979. iNdEx++
  10980. stringLen |= (uint64(b) & 0x7F) << shift
  10981. if b < 0x80 {
  10982. break
  10983. }
  10984. }
  10985. intStringLen := int(stringLen)
  10986. if intStringLen < 0 {
  10987. return ErrInvalidLengthApi
  10988. }
  10989. postIndex := iNdEx + intStringLen
  10990. if postIndex > l {
  10991. return io.ErrUnexpectedEOF
  10992. }
  10993. m.Cover = string(dAtA[iNdEx:postIndex])
  10994. iNdEx = postIndex
  10995. case 7:
  10996. if wireType != 0 {
  10997. return fmt.Errorf("proto: wrong wireType = %d for field Public", wireType)
  10998. }
  10999. m.Public = 0
  11000. for shift := uint(0); ; shift += 7 {
  11001. if shift >= 64 {
  11002. return ErrIntOverflowApi
  11003. }
  11004. if iNdEx >= l {
  11005. return io.ErrUnexpectedEOF
  11006. }
  11007. b := dAtA[iNdEx]
  11008. iNdEx++
  11009. m.Public |= (int32(b) & 0x7F) << shift
  11010. if b < 0x80 {
  11011. break
  11012. }
  11013. }
  11014. case 8:
  11015. if wireType != 2 {
  11016. return fmt.Errorf("proto: wrong wireType = %d for field Cookie", wireType)
  11017. }
  11018. var stringLen uint64
  11019. for shift := uint(0); ; shift += 7 {
  11020. if shift >= 64 {
  11021. return ErrIntOverflowApi
  11022. }
  11023. if iNdEx >= l {
  11024. return io.ErrUnexpectedEOF
  11025. }
  11026. b := dAtA[iNdEx]
  11027. iNdEx++
  11028. stringLen |= (uint64(b) & 0x7F) << shift
  11029. if b < 0x80 {
  11030. break
  11031. }
  11032. }
  11033. intStringLen := int(stringLen)
  11034. if intStringLen < 0 {
  11035. return ErrInvalidLengthApi
  11036. }
  11037. postIndex := iNdEx + intStringLen
  11038. if postIndex > l {
  11039. return io.ErrUnexpectedEOF
  11040. }
  11041. m.Cookie = string(dAtA[iNdEx:postIndex])
  11042. iNdEx = postIndex
  11043. case 9:
  11044. if wireType != 2 {
  11045. return fmt.Errorf("proto: wrong wireType = %d for field AccessKey", wireType)
  11046. }
  11047. var stringLen uint64
  11048. for shift := uint(0); ; shift += 7 {
  11049. if shift >= 64 {
  11050. return ErrIntOverflowApi
  11051. }
  11052. if iNdEx >= l {
  11053. return io.ErrUnexpectedEOF
  11054. }
  11055. b := dAtA[iNdEx]
  11056. iNdEx++
  11057. stringLen |= (uint64(b) & 0x7F) << shift
  11058. if b < 0x80 {
  11059. break
  11060. }
  11061. }
  11062. intStringLen := int(stringLen)
  11063. if intStringLen < 0 {
  11064. return ErrInvalidLengthApi
  11065. }
  11066. postIndex := iNdEx + intStringLen
  11067. if postIndex > l {
  11068. return io.ErrUnexpectedEOF
  11069. }
  11070. m.AccessKey = string(dAtA[iNdEx:postIndex])
  11071. iNdEx = postIndex
  11072. default:
  11073. iNdEx = preIndex
  11074. skippy, err := skipApi(dAtA[iNdEx:])
  11075. if err != nil {
  11076. return err
  11077. }
  11078. if skippy < 0 {
  11079. return ErrInvalidLengthApi
  11080. }
  11081. if (iNdEx + skippy) > l {
  11082. return io.ErrUnexpectedEOF
  11083. }
  11084. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11085. iNdEx += skippy
  11086. }
  11087. }
  11088. if iNdEx > l {
  11089. return io.ErrUnexpectedEOF
  11090. }
  11091. return nil
  11092. }
  11093. func (m *AdminUpdateFolderReq) Unmarshal(dAtA []byte) error {
  11094. l := len(dAtA)
  11095. iNdEx := 0
  11096. for iNdEx < l {
  11097. preIndex := iNdEx
  11098. var wire uint64
  11099. for shift := uint(0); ; shift += 7 {
  11100. if shift >= 64 {
  11101. return ErrIntOverflowApi
  11102. }
  11103. if iNdEx >= l {
  11104. return io.ErrUnexpectedEOF
  11105. }
  11106. b := dAtA[iNdEx]
  11107. iNdEx++
  11108. wire |= (uint64(b) & 0x7F) << shift
  11109. if b < 0x80 {
  11110. break
  11111. }
  11112. }
  11113. fieldNum := int32(wire >> 3)
  11114. wireType := int(wire & 0x7)
  11115. if wireType == 4 {
  11116. return fmt.Errorf("proto: AdminUpdateFolderReq: wiretype end group for non-group")
  11117. }
  11118. if fieldNum <= 0 {
  11119. return fmt.Errorf("proto: AdminUpdateFolderReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11120. }
  11121. switch fieldNum {
  11122. case 1:
  11123. if wireType != 0 {
  11124. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  11125. }
  11126. m.Typ = 0
  11127. for shift := uint(0); ; shift += 7 {
  11128. if shift >= 64 {
  11129. return ErrIntOverflowApi
  11130. }
  11131. if iNdEx >= l {
  11132. return io.ErrUnexpectedEOF
  11133. }
  11134. b := dAtA[iNdEx]
  11135. iNdEx++
  11136. m.Typ |= (int32(b) & 0x7F) << shift
  11137. if b < 0x80 {
  11138. break
  11139. }
  11140. }
  11141. case 2:
  11142. if wireType != 0 {
  11143. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  11144. }
  11145. m.Fid = 0
  11146. for shift := uint(0); ; shift += 7 {
  11147. if shift >= 64 {
  11148. return ErrIntOverflowApi
  11149. }
  11150. if iNdEx >= l {
  11151. return io.ErrUnexpectedEOF
  11152. }
  11153. b := dAtA[iNdEx]
  11154. iNdEx++
  11155. m.Fid |= (int64(b) & 0x7F) << shift
  11156. if b < 0x80 {
  11157. break
  11158. }
  11159. }
  11160. case 3:
  11161. if wireType != 0 {
  11162. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  11163. }
  11164. m.Mid = 0
  11165. for shift := uint(0); ; shift += 7 {
  11166. if shift >= 64 {
  11167. return ErrIntOverflowApi
  11168. }
  11169. if iNdEx >= l {
  11170. return io.ErrUnexpectedEOF
  11171. }
  11172. b := dAtA[iNdEx]
  11173. iNdEx++
  11174. m.Mid |= (int64(b) & 0x7F) << shift
  11175. if b < 0x80 {
  11176. break
  11177. }
  11178. }
  11179. case 4:
  11180. if wireType != 2 {
  11181. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  11182. }
  11183. var stringLen uint64
  11184. for shift := uint(0); ; shift += 7 {
  11185. if shift >= 64 {
  11186. return ErrIntOverflowApi
  11187. }
  11188. if iNdEx >= l {
  11189. return io.ErrUnexpectedEOF
  11190. }
  11191. b := dAtA[iNdEx]
  11192. iNdEx++
  11193. stringLen |= (uint64(b) & 0x7F) << shift
  11194. if b < 0x80 {
  11195. break
  11196. }
  11197. }
  11198. intStringLen := int(stringLen)
  11199. if intStringLen < 0 {
  11200. return ErrInvalidLengthApi
  11201. }
  11202. postIndex := iNdEx + intStringLen
  11203. if postIndex > l {
  11204. return io.ErrUnexpectedEOF
  11205. }
  11206. m.Name = string(dAtA[iNdEx:postIndex])
  11207. iNdEx = postIndex
  11208. case 5:
  11209. if wireType != 2 {
  11210. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  11211. }
  11212. var stringLen uint64
  11213. for shift := uint(0); ; shift += 7 {
  11214. if shift >= 64 {
  11215. return ErrIntOverflowApi
  11216. }
  11217. if iNdEx >= l {
  11218. return io.ErrUnexpectedEOF
  11219. }
  11220. b := dAtA[iNdEx]
  11221. iNdEx++
  11222. stringLen |= (uint64(b) & 0x7F) << shift
  11223. if b < 0x80 {
  11224. break
  11225. }
  11226. }
  11227. intStringLen := int(stringLen)
  11228. if intStringLen < 0 {
  11229. return ErrInvalidLengthApi
  11230. }
  11231. postIndex := iNdEx + intStringLen
  11232. if postIndex > l {
  11233. return io.ErrUnexpectedEOF
  11234. }
  11235. m.Description = string(dAtA[iNdEx:postIndex])
  11236. iNdEx = postIndex
  11237. case 6:
  11238. if wireType != 2 {
  11239. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  11240. }
  11241. var stringLen uint64
  11242. for shift := uint(0); ; shift += 7 {
  11243. if shift >= 64 {
  11244. return ErrIntOverflowApi
  11245. }
  11246. if iNdEx >= l {
  11247. return io.ErrUnexpectedEOF
  11248. }
  11249. b := dAtA[iNdEx]
  11250. iNdEx++
  11251. stringLen |= (uint64(b) & 0x7F) << shift
  11252. if b < 0x80 {
  11253. break
  11254. }
  11255. }
  11256. intStringLen := int(stringLen)
  11257. if intStringLen < 0 {
  11258. return ErrInvalidLengthApi
  11259. }
  11260. postIndex := iNdEx + intStringLen
  11261. if postIndex > l {
  11262. return io.ErrUnexpectedEOF
  11263. }
  11264. m.Cover = string(dAtA[iNdEx:postIndex])
  11265. iNdEx = postIndex
  11266. case 7:
  11267. if wireType != 0 {
  11268. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  11269. }
  11270. m.State = 0
  11271. for shift := uint(0); ; shift += 7 {
  11272. if shift >= 64 {
  11273. return ErrIntOverflowApi
  11274. }
  11275. if iNdEx >= l {
  11276. return io.ErrUnexpectedEOF
  11277. }
  11278. b := dAtA[iNdEx]
  11279. iNdEx++
  11280. m.State |= (int32(b) & 0x7F) << shift
  11281. if b < 0x80 {
  11282. break
  11283. }
  11284. }
  11285. case 8:
  11286. if wireType != 0 {
  11287. return fmt.Errorf("proto: wrong wireType = %d for field Attr", wireType)
  11288. }
  11289. m.Attr = 0
  11290. for shift := uint(0); ; shift += 7 {
  11291. if shift >= 64 {
  11292. return ErrIntOverflowApi
  11293. }
  11294. if iNdEx >= l {
  11295. return io.ErrUnexpectedEOF
  11296. }
  11297. b := dAtA[iNdEx]
  11298. iNdEx++
  11299. m.Attr |= (int32(b) & 0x7F) << shift
  11300. if b < 0x80 {
  11301. break
  11302. }
  11303. }
  11304. default:
  11305. iNdEx = preIndex
  11306. skippy, err := skipApi(dAtA[iNdEx:])
  11307. if err != nil {
  11308. return err
  11309. }
  11310. if skippy < 0 {
  11311. return ErrInvalidLengthApi
  11312. }
  11313. if (iNdEx + skippy) > l {
  11314. return io.ErrUnexpectedEOF
  11315. }
  11316. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11317. iNdEx += skippy
  11318. }
  11319. }
  11320. if iNdEx > l {
  11321. return io.ErrUnexpectedEOF
  11322. }
  11323. return nil
  11324. }
  11325. func (m *DelFolderReq) Unmarshal(dAtA []byte) error {
  11326. l := len(dAtA)
  11327. iNdEx := 0
  11328. for iNdEx < l {
  11329. preIndex := iNdEx
  11330. var wire uint64
  11331. for shift := uint(0); ; shift += 7 {
  11332. if shift >= 64 {
  11333. return ErrIntOverflowApi
  11334. }
  11335. if iNdEx >= l {
  11336. return io.ErrUnexpectedEOF
  11337. }
  11338. b := dAtA[iNdEx]
  11339. iNdEx++
  11340. wire |= (uint64(b) & 0x7F) << shift
  11341. if b < 0x80 {
  11342. break
  11343. }
  11344. }
  11345. fieldNum := int32(wire >> 3)
  11346. wireType := int(wire & 0x7)
  11347. if wireType == 4 {
  11348. return fmt.Errorf("proto: DelFolderReq: wiretype end group for non-group")
  11349. }
  11350. if fieldNum <= 0 {
  11351. return fmt.Errorf("proto: DelFolderReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11352. }
  11353. switch fieldNum {
  11354. case 1:
  11355. if wireType != 0 {
  11356. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  11357. }
  11358. m.Typ = 0
  11359. for shift := uint(0); ; shift += 7 {
  11360. if shift >= 64 {
  11361. return ErrIntOverflowApi
  11362. }
  11363. if iNdEx >= l {
  11364. return io.ErrUnexpectedEOF
  11365. }
  11366. b := dAtA[iNdEx]
  11367. iNdEx++
  11368. m.Typ |= (int32(b) & 0x7F) << shift
  11369. if b < 0x80 {
  11370. break
  11371. }
  11372. }
  11373. case 2:
  11374. if wireType != 0 {
  11375. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  11376. }
  11377. m.Mid = 0
  11378. for shift := uint(0); ; shift += 7 {
  11379. if shift >= 64 {
  11380. return ErrIntOverflowApi
  11381. }
  11382. if iNdEx >= l {
  11383. return io.ErrUnexpectedEOF
  11384. }
  11385. b := dAtA[iNdEx]
  11386. iNdEx++
  11387. m.Mid |= (int64(b) & 0x7F) << shift
  11388. if b < 0x80 {
  11389. break
  11390. }
  11391. }
  11392. case 3:
  11393. if wireType != 0 {
  11394. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  11395. }
  11396. m.Fid = 0
  11397. for shift := uint(0); ; shift += 7 {
  11398. if shift >= 64 {
  11399. return ErrIntOverflowApi
  11400. }
  11401. if iNdEx >= l {
  11402. return io.ErrUnexpectedEOF
  11403. }
  11404. b := dAtA[iNdEx]
  11405. iNdEx++
  11406. m.Fid |= (int64(b) & 0x7F) << shift
  11407. if b < 0x80 {
  11408. break
  11409. }
  11410. }
  11411. default:
  11412. iNdEx = preIndex
  11413. skippy, err := skipApi(dAtA[iNdEx:])
  11414. if err != nil {
  11415. return err
  11416. }
  11417. if skippy < 0 {
  11418. return ErrInvalidLengthApi
  11419. }
  11420. if (iNdEx + skippy) > l {
  11421. return io.ErrUnexpectedEOF
  11422. }
  11423. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11424. iNdEx += skippy
  11425. }
  11426. }
  11427. if iNdEx > l {
  11428. return io.ErrUnexpectedEOF
  11429. }
  11430. return nil
  11431. }
  11432. func (m *MultiAddReq) Unmarshal(dAtA []byte) error {
  11433. l := len(dAtA)
  11434. iNdEx := 0
  11435. for iNdEx < l {
  11436. preIndex := iNdEx
  11437. var wire uint64
  11438. for shift := uint(0); ; shift += 7 {
  11439. if shift >= 64 {
  11440. return ErrIntOverflowApi
  11441. }
  11442. if iNdEx >= l {
  11443. return io.ErrUnexpectedEOF
  11444. }
  11445. b := dAtA[iNdEx]
  11446. iNdEx++
  11447. wire |= (uint64(b) & 0x7F) << shift
  11448. if b < 0x80 {
  11449. break
  11450. }
  11451. }
  11452. fieldNum := int32(wire >> 3)
  11453. wireType := int(wire & 0x7)
  11454. if wireType == 4 {
  11455. return fmt.Errorf("proto: MultiAddReq: wiretype end group for non-group")
  11456. }
  11457. if fieldNum <= 0 {
  11458. return fmt.Errorf("proto: MultiAddReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11459. }
  11460. switch fieldNum {
  11461. case 1:
  11462. if wireType != 0 {
  11463. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  11464. }
  11465. m.Typ = 0
  11466. for shift := uint(0); ; shift += 7 {
  11467. if shift >= 64 {
  11468. return ErrIntOverflowApi
  11469. }
  11470. if iNdEx >= l {
  11471. return io.ErrUnexpectedEOF
  11472. }
  11473. b := dAtA[iNdEx]
  11474. iNdEx++
  11475. m.Typ |= (int32(b) & 0x7F) << shift
  11476. if b < 0x80 {
  11477. break
  11478. }
  11479. }
  11480. case 2:
  11481. if wireType != 0 {
  11482. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  11483. }
  11484. m.Mid = 0
  11485. for shift := uint(0); ; shift += 7 {
  11486. if shift >= 64 {
  11487. return ErrIntOverflowApi
  11488. }
  11489. if iNdEx >= l {
  11490. return io.ErrUnexpectedEOF
  11491. }
  11492. b := dAtA[iNdEx]
  11493. iNdEx++
  11494. m.Mid |= (int64(b) & 0x7F) << shift
  11495. if b < 0x80 {
  11496. break
  11497. }
  11498. }
  11499. case 3:
  11500. if wireType == 0 {
  11501. var v int64
  11502. for shift := uint(0); ; shift += 7 {
  11503. if shift >= 64 {
  11504. return ErrIntOverflowApi
  11505. }
  11506. if iNdEx >= l {
  11507. return io.ErrUnexpectedEOF
  11508. }
  11509. b := dAtA[iNdEx]
  11510. iNdEx++
  11511. v |= (int64(b) & 0x7F) << shift
  11512. if b < 0x80 {
  11513. break
  11514. }
  11515. }
  11516. m.Oids = append(m.Oids, v)
  11517. } else if wireType == 2 {
  11518. var packedLen int
  11519. for shift := uint(0); ; shift += 7 {
  11520. if shift >= 64 {
  11521. return ErrIntOverflowApi
  11522. }
  11523. if iNdEx >= l {
  11524. return io.ErrUnexpectedEOF
  11525. }
  11526. b := dAtA[iNdEx]
  11527. iNdEx++
  11528. packedLen |= (int(b) & 0x7F) << shift
  11529. if b < 0x80 {
  11530. break
  11531. }
  11532. }
  11533. if packedLen < 0 {
  11534. return ErrInvalidLengthApi
  11535. }
  11536. postIndex := iNdEx + packedLen
  11537. if postIndex > l {
  11538. return io.ErrUnexpectedEOF
  11539. }
  11540. for iNdEx < postIndex {
  11541. var v int64
  11542. for shift := uint(0); ; shift += 7 {
  11543. if shift >= 64 {
  11544. return ErrIntOverflowApi
  11545. }
  11546. if iNdEx >= l {
  11547. return io.ErrUnexpectedEOF
  11548. }
  11549. b := dAtA[iNdEx]
  11550. iNdEx++
  11551. v |= (int64(b) & 0x7F) << shift
  11552. if b < 0x80 {
  11553. break
  11554. }
  11555. }
  11556. m.Oids = append(m.Oids, v)
  11557. }
  11558. } else {
  11559. return fmt.Errorf("proto: wrong wireType = %d for field Oids", wireType)
  11560. }
  11561. case 4:
  11562. if wireType != 0 {
  11563. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  11564. }
  11565. m.Fid = 0
  11566. for shift := uint(0); ; shift += 7 {
  11567. if shift >= 64 {
  11568. return ErrIntOverflowApi
  11569. }
  11570. if iNdEx >= l {
  11571. return io.ErrUnexpectedEOF
  11572. }
  11573. b := dAtA[iNdEx]
  11574. iNdEx++
  11575. m.Fid |= (int64(b) & 0x7F) << shift
  11576. if b < 0x80 {
  11577. break
  11578. }
  11579. }
  11580. default:
  11581. iNdEx = preIndex
  11582. skippy, err := skipApi(dAtA[iNdEx:])
  11583. if err != nil {
  11584. return err
  11585. }
  11586. if skippy < 0 {
  11587. return ErrInvalidLengthApi
  11588. }
  11589. if (iNdEx + skippy) > l {
  11590. return io.ErrUnexpectedEOF
  11591. }
  11592. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11593. iNdEx += skippy
  11594. }
  11595. }
  11596. if iNdEx > l {
  11597. return io.ErrUnexpectedEOF
  11598. }
  11599. return nil
  11600. }
  11601. func (m *MultiDelReq) Unmarshal(dAtA []byte) error {
  11602. l := len(dAtA)
  11603. iNdEx := 0
  11604. for iNdEx < l {
  11605. preIndex := iNdEx
  11606. var wire uint64
  11607. for shift := uint(0); ; shift += 7 {
  11608. if shift >= 64 {
  11609. return ErrIntOverflowApi
  11610. }
  11611. if iNdEx >= l {
  11612. return io.ErrUnexpectedEOF
  11613. }
  11614. b := dAtA[iNdEx]
  11615. iNdEx++
  11616. wire |= (uint64(b) & 0x7F) << shift
  11617. if b < 0x80 {
  11618. break
  11619. }
  11620. }
  11621. fieldNum := int32(wire >> 3)
  11622. wireType := int(wire & 0x7)
  11623. if wireType == 4 {
  11624. return fmt.Errorf("proto: MultiDelReq: wiretype end group for non-group")
  11625. }
  11626. if fieldNum <= 0 {
  11627. return fmt.Errorf("proto: MultiDelReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11628. }
  11629. switch fieldNum {
  11630. case 1:
  11631. if wireType != 0 {
  11632. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  11633. }
  11634. m.Typ = 0
  11635. for shift := uint(0); ; shift += 7 {
  11636. if shift >= 64 {
  11637. return ErrIntOverflowApi
  11638. }
  11639. if iNdEx >= l {
  11640. return io.ErrUnexpectedEOF
  11641. }
  11642. b := dAtA[iNdEx]
  11643. iNdEx++
  11644. m.Typ |= (int32(b) & 0x7F) << shift
  11645. if b < 0x80 {
  11646. break
  11647. }
  11648. }
  11649. case 2:
  11650. if wireType != 0 {
  11651. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  11652. }
  11653. m.Mid = 0
  11654. for shift := uint(0); ; shift += 7 {
  11655. if shift >= 64 {
  11656. return ErrIntOverflowApi
  11657. }
  11658. if iNdEx >= l {
  11659. return io.ErrUnexpectedEOF
  11660. }
  11661. b := dAtA[iNdEx]
  11662. iNdEx++
  11663. m.Mid |= (int64(b) & 0x7F) << shift
  11664. if b < 0x80 {
  11665. break
  11666. }
  11667. }
  11668. case 3:
  11669. if wireType == 0 {
  11670. var v int64
  11671. for shift := uint(0); ; shift += 7 {
  11672. if shift >= 64 {
  11673. return ErrIntOverflowApi
  11674. }
  11675. if iNdEx >= l {
  11676. return io.ErrUnexpectedEOF
  11677. }
  11678. b := dAtA[iNdEx]
  11679. iNdEx++
  11680. v |= (int64(b) & 0x7F) << shift
  11681. if b < 0x80 {
  11682. break
  11683. }
  11684. }
  11685. m.Oids = append(m.Oids, v)
  11686. } else if wireType == 2 {
  11687. var packedLen int
  11688. for shift := uint(0); ; shift += 7 {
  11689. if shift >= 64 {
  11690. return ErrIntOverflowApi
  11691. }
  11692. if iNdEx >= l {
  11693. return io.ErrUnexpectedEOF
  11694. }
  11695. b := dAtA[iNdEx]
  11696. iNdEx++
  11697. packedLen |= (int(b) & 0x7F) << shift
  11698. if b < 0x80 {
  11699. break
  11700. }
  11701. }
  11702. if packedLen < 0 {
  11703. return ErrInvalidLengthApi
  11704. }
  11705. postIndex := iNdEx + packedLen
  11706. if postIndex > l {
  11707. return io.ErrUnexpectedEOF
  11708. }
  11709. for iNdEx < postIndex {
  11710. var v int64
  11711. for shift := uint(0); ; shift += 7 {
  11712. if shift >= 64 {
  11713. return ErrIntOverflowApi
  11714. }
  11715. if iNdEx >= l {
  11716. return io.ErrUnexpectedEOF
  11717. }
  11718. b := dAtA[iNdEx]
  11719. iNdEx++
  11720. v |= (int64(b) & 0x7F) << shift
  11721. if b < 0x80 {
  11722. break
  11723. }
  11724. }
  11725. m.Oids = append(m.Oids, v)
  11726. }
  11727. } else {
  11728. return fmt.Errorf("proto: wrong wireType = %d for field Oids", wireType)
  11729. }
  11730. case 4:
  11731. if wireType != 0 {
  11732. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  11733. }
  11734. m.Fid = 0
  11735. for shift := uint(0); ; shift += 7 {
  11736. if shift >= 64 {
  11737. return ErrIntOverflowApi
  11738. }
  11739. if iNdEx >= l {
  11740. return io.ErrUnexpectedEOF
  11741. }
  11742. b := dAtA[iNdEx]
  11743. iNdEx++
  11744. m.Fid |= (int64(b) & 0x7F) << shift
  11745. if b < 0x80 {
  11746. break
  11747. }
  11748. }
  11749. default:
  11750. iNdEx = preIndex
  11751. skippy, err := skipApi(dAtA[iNdEx:])
  11752. if err != nil {
  11753. return err
  11754. }
  11755. if skippy < 0 {
  11756. return ErrInvalidLengthApi
  11757. }
  11758. if (iNdEx + skippy) > l {
  11759. return io.ErrUnexpectedEOF
  11760. }
  11761. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11762. iNdEx += skippy
  11763. }
  11764. }
  11765. if iNdEx > l {
  11766. return io.ErrUnexpectedEOF
  11767. }
  11768. return nil
  11769. }
  11770. func (m *InDefaultFolderReq) Unmarshal(dAtA []byte) error {
  11771. l := len(dAtA)
  11772. iNdEx := 0
  11773. for iNdEx < l {
  11774. preIndex := iNdEx
  11775. var wire uint64
  11776. for shift := uint(0); ; shift += 7 {
  11777. if shift >= 64 {
  11778. return ErrIntOverflowApi
  11779. }
  11780. if iNdEx >= l {
  11781. return io.ErrUnexpectedEOF
  11782. }
  11783. b := dAtA[iNdEx]
  11784. iNdEx++
  11785. wire |= (uint64(b) & 0x7F) << shift
  11786. if b < 0x80 {
  11787. break
  11788. }
  11789. }
  11790. fieldNum := int32(wire >> 3)
  11791. wireType := int(wire & 0x7)
  11792. if wireType == 4 {
  11793. return fmt.Errorf("proto: InDefaultFolderReq: wiretype end group for non-group")
  11794. }
  11795. if fieldNum <= 0 {
  11796. return fmt.Errorf("proto: InDefaultFolderReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11797. }
  11798. switch fieldNum {
  11799. case 1:
  11800. if wireType != 0 {
  11801. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  11802. }
  11803. m.Typ = 0
  11804. for shift := uint(0); ; shift += 7 {
  11805. if shift >= 64 {
  11806. return ErrIntOverflowApi
  11807. }
  11808. if iNdEx >= l {
  11809. return io.ErrUnexpectedEOF
  11810. }
  11811. b := dAtA[iNdEx]
  11812. iNdEx++
  11813. m.Typ |= (int32(b) & 0x7F) << shift
  11814. if b < 0x80 {
  11815. break
  11816. }
  11817. }
  11818. case 2:
  11819. if wireType != 0 {
  11820. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  11821. }
  11822. m.Mid = 0
  11823. for shift := uint(0); ; shift += 7 {
  11824. if shift >= 64 {
  11825. return ErrIntOverflowApi
  11826. }
  11827. if iNdEx >= l {
  11828. return io.ErrUnexpectedEOF
  11829. }
  11830. b := dAtA[iNdEx]
  11831. iNdEx++
  11832. m.Mid |= (int64(b) & 0x7F) << shift
  11833. if b < 0x80 {
  11834. break
  11835. }
  11836. }
  11837. case 3:
  11838. if wireType != 0 {
  11839. return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
  11840. }
  11841. m.Oid = 0
  11842. for shift := uint(0); ; shift += 7 {
  11843. if shift >= 64 {
  11844. return ErrIntOverflowApi
  11845. }
  11846. if iNdEx >= l {
  11847. return io.ErrUnexpectedEOF
  11848. }
  11849. b := dAtA[iNdEx]
  11850. iNdEx++
  11851. m.Oid |= (int64(b) & 0x7F) << shift
  11852. if b < 0x80 {
  11853. break
  11854. }
  11855. }
  11856. default:
  11857. iNdEx = preIndex
  11858. skippy, err := skipApi(dAtA[iNdEx:])
  11859. if err != nil {
  11860. return err
  11861. }
  11862. if skippy < 0 {
  11863. return ErrInvalidLengthApi
  11864. }
  11865. if (iNdEx + skippy) > l {
  11866. return io.ErrUnexpectedEOF
  11867. }
  11868. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11869. iNdEx += skippy
  11870. }
  11871. }
  11872. if iNdEx > l {
  11873. return io.ErrUnexpectedEOF
  11874. }
  11875. return nil
  11876. }
  11877. func (m *InDefaultFolderReply) Unmarshal(dAtA []byte) error {
  11878. l := len(dAtA)
  11879. iNdEx := 0
  11880. for iNdEx < l {
  11881. preIndex := iNdEx
  11882. var wire uint64
  11883. for shift := uint(0); ; shift += 7 {
  11884. if shift >= 64 {
  11885. return ErrIntOverflowApi
  11886. }
  11887. if iNdEx >= l {
  11888. return io.ErrUnexpectedEOF
  11889. }
  11890. b := dAtA[iNdEx]
  11891. iNdEx++
  11892. wire |= (uint64(b) & 0x7F) << shift
  11893. if b < 0x80 {
  11894. break
  11895. }
  11896. }
  11897. fieldNum := int32(wire >> 3)
  11898. wireType := int(wire & 0x7)
  11899. if wireType == 4 {
  11900. return fmt.Errorf("proto: InDefaultFolderReply: wiretype end group for non-group")
  11901. }
  11902. if fieldNum <= 0 {
  11903. return fmt.Errorf("proto: InDefaultFolderReply: illegal tag %d (wire type %d)", fieldNum, wire)
  11904. }
  11905. switch fieldNum {
  11906. case 1:
  11907. if wireType != 0 {
  11908. return fmt.Errorf("proto: wrong wireType = %d for field IsIn", wireType)
  11909. }
  11910. var v int
  11911. for shift := uint(0); ; shift += 7 {
  11912. if shift >= 64 {
  11913. return ErrIntOverflowApi
  11914. }
  11915. if iNdEx >= l {
  11916. return io.ErrUnexpectedEOF
  11917. }
  11918. b := dAtA[iNdEx]
  11919. iNdEx++
  11920. v |= (int(b) & 0x7F) << shift
  11921. if b < 0x80 {
  11922. break
  11923. }
  11924. }
  11925. m.IsIn = bool(v != 0)
  11926. default:
  11927. iNdEx = preIndex
  11928. skippy, err := skipApi(dAtA[iNdEx:])
  11929. if err != nil {
  11930. return err
  11931. }
  11932. if skippy < 0 {
  11933. return ErrInvalidLengthApi
  11934. }
  11935. if (iNdEx + skippy) > l {
  11936. return io.ErrUnexpectedEOF
  11937. }
  11938. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  11939. iNdEx += skippy
  11940. }
  11941. }
  11942. if iNdEx > l {
  11943. return io.ErrUnexpectedEOF
  11944. }
  11945. return nil
  11946. }
  11947. func (m *CntUserFoldersReq) Unmarshal(dAtA []byte) error {
  11948. l := len(dAtA)
  11949. iNdEx := 0
  11950. for iNdEx < l {
  11951. preIndex := iNdEx
  11952. var wire uint64
  11953. for shift := uint(0); ; shift += 7 {
  11954. if shift >= 64 {
  11955. return ErrIntOverflowApi
  11956. }
  11957. if iNdEx >= l {
  11958. return io.ErrUnexpectedEOF
  11959. }
  11960. b := dAtA[iNdEx]
  11961. iNdEx++
  11962. wire |= (uint64(b) & 0x7F) << shift
  11963. if b < 0x80 {
  11964. break
  11965. }
  11966. }
  11967. fieldNum := int32(wire >> 3)
  11968. wireType := int(wire & 0x7)
  11969. if wireType == 4 {
  11970. return fmt.Errorf("proto: CntUserFoldersReq: wiretype end group for non-group")
  11971. }
  11972. if fieldNum <= 0 {
  11973. return fmt.Errorf("proto: CntUserFoldersReq: illegal tag %d (wire type %d)", fieldNum, wire)
  11974. }
  11975. switch fieldNum {
  11976. case 1:
  11977. if wireType != 0 {
  11978. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  11979. }
  11980. m.Typ = 0
  11981. for shift := uint(0); ; shift += 7 {
  11982. if shift >= 64 {
  11983. return ErrIntOverflowApi
  11984. }
  11985. if iNdEx >= l {
  11986. return io.ErrUnexpectedEOF
  11987. }
  11988. b := dAtA[iNdEx]
  11989. iNdEx++
  11990. m.Typ |= (int32(b) & 0x7F) << shift
  11991. if b < 0x80 {
  11992. break
  11993. }
  11994. }
  11995. case 2:
  11996. if wireType != 0 {
  11997. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  11998. }
  11999. m.Mid = 0
  12000. for shift := uint(0); ; shift += 7 {
  12001. if shift >= 64 {
  12002. return ErrIntOverflowApi
  12003. }
  12004. if iNdEx >= l {
  12005. return io.ErrUnexpectedEOF
  12006. }
  12007. b := dAtA[iNdEx]
  12008. iNdEx++
  12009. m.Mid |= (int64(b) & 0x7F) << shift
  12010. if b < 0x80 {
  12011. break
  12012. }
  12013. }
  12014. case 3:
  12015. if wireType != 0 {
  12016. return fmt.Errorf("proto: wrong wireType = %d for field Vmid", wireType)
  12017. }
  12018. m.Vmid = 0
  12019. for shift := uint(0); ; shift += 7 {
  12020. if shift >= 64 {
  12021. return ErrIntOverflowApi
  12022. }
  12023. if iNdEx >= l {
  12024. return io.ErrUnexpectedEOF
  12025. }
  12026. b := dAtA[iNdEx]
  12027. iNdEx++
  12028. m.Vmid |= (int64(b) & 0x7F) << shift
  12029. if b < 0x80 {
  12030. break
  12031. }
  12032. }
  12033. default:
  12034. iNdEx = preIndex
  12035. skippy, err := skipApi(dAtA[iNdEx:])
  12036. if err != nil {
  12037. return err
  12038. }
  12039. if skippy < 0 {
  12040. return ErrInvalidLengthApi
  12041. }
  12042. if (iNdEx + skippy) > l {
  12043. return io.ErrUnexpectedEOF
  12044. }
  12045. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  12046. iNdEx += skippy
  12047. }
  12048. }
  12049. if iNdEx > l {
  12050. return io.ErrUnexpectedEOF
  12051. }
  12052. return nil
  12053. }
  12054. func (m *CntUserFoldersReply) Unmarshal(dAtA []byte) error {
  12055. l := len(dAtA)
  12056. iNdEx := 0
  12057. for iNdEx < l {
  12058. preIndex := iNdEx
  12059. var wire uint64
  12060. for shift := uint(0); ; shift += 7 {
  12061. if shift >= 64 {
  12062. return ErrIntOverflowApi
  12063. }
  12064. if iNdEx >= l {
  12065. return io.ErrUnexpectedEOF
  12066. }
  12067. b := dAtA[iNdEx]
  12068. iNdEx++
  12069. wire |= (uint64(b) & 0x7F) << shift
  12070. if b < 0x80 {
  12071. break
  12072. }
  12073. }
  12074. fieldNum := int32(wire >> 3)
  12075. wireType := int(wire & 0x7)
  12076. if wireType == 4 {
  12077. return fmt.Errorf("proto: CntUserFoldersReply: wiretype end group for non-group")
  12078. }
  12079. if fieldNum <= 0 {
  12080. return fmt.Errorf("proto: CntUserFoldersReply: illegal tag %d (wire type %d)", fieldNum, wire)
  12081. }
  12082. switch fieldNum {
  12083. case 1:
  12084. if wireType != 0 {
  12085. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  12086. }
  12087. m.Count = 0
  12088. for shift := uint(0); ; shift += 7 {
  12089. if shift >= 64 {
  12090. return ErrIntOverflowApi
  12091. }
  12092. if iNdEx >= l {
  12093. return io.ErrUnexpectedEOF
  12094. }
  12095. b := dAtA[iNdEx]
  12096. iNdEx++
  12097. m.Count |= (int32(b) & 0x7F) << shift
  12098. if b < 0x80 {
  12099. break
  12100. }
  12101. }
  12102. default:
  12103. iNdEx = preIndex
  12104. skippy, err := skipApi(dAtA[iNdEx:])
  12105. if err != nil {
  12106. return err
  12107. }
  12108. if skippy < 0 {
  12109. return ErrInvalidLengthApi
  12110. }
  12111. if (iNdEx + skippy) > l {
  12112. return io.ErrUnexpectedEOF
  12113. }
  12114. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  12115. iNdEx += skippy
  12116. }
  12117. }
  12118. if iNdEx > l {
  12119. return io.ErrUnexpectedEOF
  12120. }
  12121. return nil
  12122. }
  12123. func (m *User) Unmarshal(dAtA []byte) error {
  12124. l := len(dAtA)
  12125. iNdEx := 0
  12126. for iNdEx < l {
  12127. preIndex := iNdEx
  12128. var wire uint64
  12129. for shift := uint(0); ; shift += 7 {
  12130. if shift >= 64 {
  12131. return ErrIntOverflowApi
  12132. }
  12133. if iNdEx >= l {
  12134. return io.ErrUnexpectedEOF
  12135. }
  12136. b := dAtA[iNdEx]
  12137. iNdEx++
  12138. wire |= (uint64(b) & 0x7F) << shift
  12139. if b < 0x80 {
  12140. break
  12141. }
  12142. }
  12143. fieldNum := int32(wire >> 3)
  12144. wireType := int(wire & 0x7)
  12145. if wireType == 4 {
  12146. return fmt.Errorf("proto: User: wiretype end group for non-group")
  12147. }
  12148. if fieldNum <= 0 {
  12149. return fmt.Errorf("proto: User: illegal tag %d (wire type %d)", fieldNum, wire)
  12150. }
  12151. switch fieldNum {
  12152. case 1:
  12153. if wireType != 0 {
  12154. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  12155. }
  12156. m.Id = 0
  12157. for shift := uint(0); ; shift += 7 {
  12158. if shift >= 64 {
  12159. return ErrIntOverflowApi
  12160. }
  12161. if iNdEx >= l {
  12162. return io.ErrUnexpectedEOF
  12163. }
  12164. b := dAtA[iNdEx]
  12165. iNdEx++
  12166. m.Id |= (int64(b) & 0x7F) << shift
  12167. if b < 0x80 {
  12168. break
  12169. }
  12170. }
  12171. case 2:
  12172. if wireType != 0 {
  12173. return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
  12174. }
  12175. m.Oid = 0
  12176. for shift := uint(0); ; shift += 7 {
  12177. if shift >= 64 {
  12178. return ErrIntOverflowApi
  12179. }
  12180. if iNdEx >= l {
  12181. return io.ErrUnexpectedEOF
  12182. }
  12183. b := dAtA[iNdEx]
  12184. iNdEx++
  12185. m.Oid |= (int64(b) & 0x7F) << shift
  12186. if b < 0x80 {
  12187. break
  12188. }
  12189. }
  12190. case 3:
  12191. if wireType != 0 {
  12192. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  12193. }
  12194. m.Mid = 0
  12195. for shift := uint(0); ; shift += 7 {
  12196. if shift >= 64 {
  12197. return ErrIntOverflowApi
  12198. }
  12199. if iNdEx >= l {
  12200. return io.ErrUnexpectedEOF
  12201. }
  12202. b := dAtA[iNdEx]
  12203. iNdEx++
  12204. m.Mid |= (int64(b) & 0x7F) << shift
  12205. if b < 0x80 {
  12206. break
  12207. }
  12208. }
  12209. case 4:
  12210. if wireType != 0 {
  12211. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  12212. }
  12213. m.Typ = 0
  12214. for shift := uint(0); ; shift += 7 {
  12215. if shift >= 64 {
  12216. return ErrIntOverflowApi
  12217. }
  12218. if iNdEx >= l {
  12219. return io.ErrUnexpectedEOF
  12220. }
  12221. b := dAtA[iNdEx]
  12222. iNdEx++
  12223. m.Typ |= (int32(b) & 0x7F) << shift
  12224. if b < 0x80 {
  12225. break
  12226. }
  12227. }
  12228. case 5:
  12229. if wireType != 0 {
  12230. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  12231. }
  12232. m.State = 0
  12233. for shift := uint(0); ; shift += 7 {
  12234. if shift >= 64 {
  12235. return ErrIntOverflowApi
  12236. }
  12237. if iNdEx >= l {
  12238. return io.ErrUnexpectedEOF
  12239. }
  12240. b := dAtA[iNdEx]
  12241. iNdEx++
  12242. m.State |= (int32(b) & 0x7F) << shift
  12243. if b < 0x80 {
  12244. break
  12245. }
  12246. }
  12247. case 6:
  12248. if wireType != 0 {
  12249. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  12250. }
  12251. m.Ctime = 0
  12252. for shift := uint(0); ; shift += 7 {
  12253. if shift >= 64 {
  12254. return ErrIntOverflowApi
  12255. }
  12256. if iNdEx >= l {
  12257. return io.ErrUnexpectedEOF
  12258. }
  12259. b := dAtA[iNdEx]
  12260. iNdEx++
  12261. m.Ctime |= (int64(b) & 0x7F) << shift
  12262. if b < 0x80 {
  12263. break
  12264. }
  12265. }
  12266. case 7:
  12267. if wireType != 0 {
  12268. return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
  12269. }
  12270. m.Mtime = 0
  12271. for shift := uint(0); ; shift += 7 {
  12272. if shift >= 64 {
  12273. return ErrIntOverflowApi
  12274. }
  12275. if iNdEx >= l {
  12276. return io.ErrUnexpectedEOF
  12277. }
  12278. b := dAtA[iNdEx]
  12279. iNdEx++
  12280. m.Mtime |= (int64(b) & 0x7F) << shift
  12281. if b < 0x80 {
  12282. break
  12283. }
  12284. }
  12285. default:
  12286. iNdEx = preIndex
  12287. skippy, err := skipApi(dAtA[iNdEx:])
  12288. if err != nil {
  12289. return err
  12290. }
  12291. if skippy < 0 {
  12292. return ErrInvalidLengthApi
  12293. }
  12294. if (iNdEx + skippy) > l {
  12295. return io.ErrUnexpectedEOF
  12296. }
  12297. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  12298. iNdEx += skippy
  12299. }
  12300. }
  12301. if iNdEx > l {
  12302. return io.ErrUnexpectedEOF
  12303. }
  12304. return nil
  12305. }
  12306. func (m *FavedUsersReply) Unmarshal(dAtA []byte) error {
  12307. l := len(dAtA)
  12308. iNdEx := 0
  12309. for iNdEx < l {
  12310. preIndex := iNdEx
  12311. var wire uint64
  12312. for shift := uint(0); ; shift += 7 {
  12313. if shift >= 64 {
  12314. return ErrIntOverflowApi
  12315. }
  12316. if iNdEx >= l {
  12317. return io.ErrUnexpectedEOF
  12318. }
  12319. b := dAtA[iNdEx]
  12320. iNdEx++
  12321. wire |= (uint64(b) & 0x7F) << shift
  12322. if b < 0x80 {
  12323. break
  12324. }
  12325. }
  12326. fieldNum := int32(wire >> 3)
  12327. wireType := int(wire & 0x7)
  12328. if wireType == 4 {
  12329. return fmt.Errorf("proto: FavedUsersReply: wiretype end group for non-group")
  12330. }
  12331. if fieldNum <= 0 {
  12332. return fmt.Errorf("proto: FavedUsersReply: illegal tag %d (wire type %d)", fieldNum, wire)
  12333. }
  12334. switch fieldNum {
  12335. case 1:
  12336. if wireType != 2 {
  12337. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  12338. }
  12339. var msglen int
  12340. for shift := uint(0); ; shift += 7 {
  12341. if shift >= 64 {
  12342. return ErrIntOverflowApi
  12343. }
  12344. if iNdEx >= l {
  12345. return io.ErrUnexpectedEOF
  12346. }
  12347. b := dAtA[iNdEx]
  12348. iNdEx++
  12349. msglen |= (int(b) & 0x7F) << shift
  12350. if b < 0x80 {
  12351. break
  12352. }
  12353. }
  12354. if msglen < 0 {
  12355. return ErrInvalidLengthApi
  12356. }
  12357. postIndex := iNdEx + msglen
  12358. if postIndex > l {
  12359. return io.ErrUnexpectedEOF
  12360. }
  12361. if m.Page == nil {
  12362. m.Page = &ModelPage{}
  12363. }
  12364. if err := m.Page.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  12365. return err
  12366. }
  12367. iNdEx = postIndex
  12368. case 2:
  12369. if wireType != 2 {
  12370. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  12371. }
  12372. var msglen int
  12373. for shift := uint(0); ; shift += 7 {
  12374. if shift >= 64 {
  12375. return ErrIntOverflowApi
  12376. }
  12377. if iNdEx >= l {
  12378. return io.ErrUnexpectedEOF
  12379. }
  12380. b := dAtA[iNdEx]
  12381. iNdEx++
  12382. msglen |= (int(b) & 0x7F) << shift
  12383. if b < 0x80 {
  12384. break
  12385. }
  12386. }
  12387. if msglen < 0 {
  12388. return ErrInvalidLengthApi
  12389. }
  12390. postIndex := iNdEx + msglen
  12391. if postIndex > l {
  12392. return io.ErrUnexpectedEOF
  12393. }
  12394. m.User = append(m.User, &User{})
  12395. if err := m.User[len(m.User)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  12396. return err
  12397. }
  12398. iNdEx = postIndex
  12399. default:
  12400. iNdEx = preIndex
  12401. skippy, err := skipApi(dAtA[iNdEx:])
  12402. if err != nil {
  12403. return err
  12404. }
  12405. if skippy < 0 {
  12406. return ErrInvalidLengthApi
  12407. }
  12408. if (iNdEx + skippy) > l {
  12409. return io.ErrUnexpectedEOF
  12410. }
  12411. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  12412. iNdEx += skippy
  12413. }
  12414. }
  12415. if iNdEx > l {
  12416. return io.ErrUnexpectedEOF
  12417. }
  12418. return nil
  12419. }
  12420. func (m *FavedUsersReq) Unmarshal(dAtA []byte) error {
  12421. l := len(dAtA)
  12422. iNdEx := 0
  12423. for iNdEx < l {
  12424. preIndex := iNdEx
  12425. var wire uint64
  12426. for shift := uint(0); ; shift += 7 {
  12427. if shift >= 64 {
  12428. return ErrIntOverflowApi
  12429. }
  12430. if iNdEx >= l {
  12431. return io.ErrUnexpectedEOF
  12432. }
  12433. b := dAtA[iNdEx]
  12434. iNdEx++
  12435. wire |= (uint64(b) & 0x7F) << shift
  12436. if b < 0x80 {
  12437. break
  12438. }
  12439. }
  12440. fieldNum := int32(wire >> 3)
  12441. wireType := int(wire & 0x7)
  12442. if wireType == 4 {
  12443. return fmt.Errorf("proto: FavedUsersReq: wiretype end group for non-group")
  12444. }
  12445. if fieldNum <= 0 {
  12446. return fmt.Errorf("proto: FavedUsersReq: illegal tag %d (wire type %d)", fieldNum, wire)
  12447. }
  12448. switch fieldNum {
  12449. case 1:
  12450. if wireType != 0 {
  12451. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  12452. }
  12453. m.Type = 0
  12454. for shift := uint(0); ; shift += 7 {
  12455. if shift >= 64 {
  12456. return ErrIntOverflowApi
  12457. }
  12458. if iNdEx >= l {
  12459. return io.ErrUnexpectedEOF
  12460. }
  12461. b := dAtA[iNdEx]
  12462. iNdEx++
  12463. m.Type |= (int32(b) & 0x7F) << shift
  12464. if b < 0x80 {
  12465. break
  12466. }
  12467. }
  12468. case 2:
  12469. if wireType != 0 {
  12470. return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
  12471. }
  12472. m.Oid = 0
  12473. for shift := uint(0); ; shift += 7 {
  12474. if shift >= 64 {
  12475. return ErrIntOverflowApi
  12476. }
  12477. if iNdEx >= l {
  12478. return io.ErrUnexpectedEOF
  12479. }
  12480. b := dAtA[iNdEx]
  12481. iNdEx++
  12482. m.Oid |= (int64(b) & 0x7F) << shift
  12483. if b < 0x80 {
  12484. break
  12485. }
  12486. }
  12487. case 3:
  12488. if wireType != 0 {
  12489. return fmt.Errorf("proto: wrong wireType = %d for field Pn", wireType)
  12490. }
  12491. m.Pn = 0
  12492. for shift := uint(0); ; shift += 7 {
  12493. if shift >= 64 {
  12494. return ErrIntOverflowApi
  12495. }
  12496. if iNdEx >= l {
  12497. return io.ErrUnexpectedEOF
  12498. }
  12499. b := dAtA[iNdEx]
  12500. iNdEx++
  12501. m.Pn |= (int32(b) & 0x7F) << shift
  12502. if b < 0x80 {
  12503. break
  12504. }
  12505. }
  12506. case 4:
  12507. if wireType != 0 {
  12508. return fmt.Errorf("proto: wrong wireType = %d for field Ps", wireType)
  12509. }
  12510. m.Ps = 0
  12511. for shift := uint(0); ; shift += 7 {
  12512. if shift >= 64 {
  12513. return ErrIntOverflowApi
  12514. }
  12515. if iNdEx >= l {
  12516. return io.ErrUnexpectedEOF
  12517. }
  12518. b := dAtA[iNdEx]
  12519. iNdEx++
  12520. m.Ps |= (int32(b) & 0x7F) << shift
  12521. if b < 0x80 {
  12522. break
  12523. }
  12524. }
  12525. default:
  12526. iNdEx = preIndex
  12527. skippy, err := skipApi(dAtA[iNdEx:])
  12528. if err != nil {
  12529. return err
  12530. }
  12531. if skippy < 0 {
  12532. return ErrInvalidLengthApi
  12533. }
  12534. if (iNdEx + skippy) > l {
  12535. return io.ErrUnexpectedEOF
  12536. }
  12537. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  12538. iNdEx += skippy
  12539. }
  12540. }
  12541. if iNdEx > l {
  12542. return io.ErrUnexpectedEOF
  12543. }
  12544. return nil
  12545. }
  12546. func (m *SetFolderSortReq) Unmarshal(dAtA []byte) error {
  12547. l := len(dAtA)
  12548. iNdEx := 0
  12549. for iNdEx < l {
  12550. preIndex := iNdEx
  12551. var wire uint64
  12552. for shift := uint(0); ; shift += 7 {
  12553. if shift >= 64 {
  12554. return ErrIntOverflowApi
  12555. }
  12556. if iNdEx >= l {
  12557. return io.ErrUnexpectedEOF
  12558. }
  12559. b := dAtA[iNdEx]
  12560. iNdEx++
  12561. wire |= (uint64(b) & 0x7F) << shift
  12562. if b < 0x80 {
  12563. break
  12564. }
  12565. }
  12566. fieldNum := int32(wire >> 3)
  12567. wireType := int(wire & 0x7)
  12568. if wireType == 4 {
  12569. return fmt.Errorf("proto: SetFolderSortReq: wiretype end group for non-group")
  12570. }
  12571. if fieldNum <= 0 {
  12572. return fmt.Errorf("proto: SetFolderSortReq: illegal tag %d (wire type %d)", fieldNum, wire)
  12573. }
  12574. switch fieldNum {
  12575. case 1:
  12576. if wireType != 0 {
  12577. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  12578. }
  12579. m.Typ = 0
  12580. for shift := uint(0); ; shift += 7 {
  12581. if shift >= 64 {
  12582. return ErrIntOverflowApi
  12583. }
  12584. if iNdEx >= l {
  12585. return io.ErrUnexpectedEOF
  12586. }
  12587. b := dAtA[iNdEx]
  12588. iNdEx++
  12589. m.Typ |= (int32(b) & 0x7F) << shift
  12590. if b < 0x80 {
  12591. break
  12592. }
  12593. }
  12594. case 3:
  12595. if wireType != 0 {
  12596. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  12597. }
  12598. m.Mid = 0
  12599. for shift := uint(0); ; shift += 7 {
  12600. if shift >= 64 {
  12601. return ErrIntOverflowApi
  12602. }
  12603. if iNdEx >= l {
  12604. return io.ErrUnexpectedEOF
  12605. }
  12606. b := dAtA[iNdEx]
  12607. iNdEx++
  12608. m.Mid |= (int64(b) & 0x7F) << shift
  12609. if b < 0x80 {
  12610. break
  12611. }
  12612. }
  12613. case 4:
  12614. if wireType == 0 {
  12615. var v int64
  12616. for shift := uint(0); ; shift += 7 {
  12617. if shift >= 64 {
  12618. return ErrIntOverflowApi
  12619. }
  12620. if iNdEx >= l {
  12621. return io.ErrUnexpectedEOF
  12622. }
  12623. b := dAtA[iNdEx]
  12624. iNdEx++
  12625. v |= (int64(b) & 0x7F) << shift
  12626. if b < 0x80 {
  12627. break
  12628. }
  12629. }
  12630. m.Fids = append(m.Fids, v)
  12631. } else if wireType == 2 {
  12632. var packedLen int
  12633. for shift := uint(0); ; shift += 7 {
  12634. if shift >= 64 {
  12635. return ErrIntOverflowApi
  12636. }
  12637. if iNdEx >= l {
  12638. return io.ErrUnexpectedEOF
  12639. }
  12640. b := dAtA[iNdEx]
  12641. iNdEx++
  12642. packedLen |= (int(b) & 0x7F) << shift
  12643. if b < 0x80 {
  12644. break
  12645. }
  12646. }
  12647. if packedLen < 0 {
  12648. return ErrInvalidLengthApi
  12649. }
  12650. postIndex := iNdEx + packedLen
  12651. if postIndex > l {
  12652. return io.ErrUnexpectedEOF
  12653. }
  12654. for iNdEx < postIndex {
  12655. var v int64
  12656. for shift := uint(0); ; shift += 7 {
  12657. if shift >= 64 {
  12658. return ErrIntOverflowApi
  12659. }
  12660. if iNdEx >= l {
  12661. return io.ErrUnexpectedEOF
  12662. }
  12663. b := dAtA[iNdEx]
  12664. iNdEx++
  12665. v |= (int64(b) & 0x7F) << shift
  12666. if b < 0x80 {
  12667. break
  12668. }
  12669. }
  12670. m.Fids = append(m.Fids, v)
  12671. }
  12672. } else {
  12673. return fmt.Errorf("proto: wrong wireType = %d for field Fids", wireType)
  12674. }
  12675. default:
  12676. iNdEx = preIndex
  12677. skippy, err := skipApi(dAtA[iNdEx:])
  12678. if err != nil {
  12679. return err
  12680. }
  12681. if skippy < 0 {
  12682. return ErrInvalidLengthApi
  12683. }
  12684. if (iNdEx + skippy) > l {
  12685. return io.ErrUnexpectedEOF
  12686. }
  12687. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  12688. iNdEx += skippy
  12689. }
  12690. }
  12691. if iNdEx > l {
  12692. return io.ErrUnexpectedEOF
  12693. }
  12694. return nil
  12695. }
  12696. func (m *FoldersReply) Unmarshal(dAtA []byte) error {
  12697. l := len(dAtA)
  12698. iNdEx := 0
  12699. for iNdEx < l {
  12700. preIndex := iNdEx
  12701. var wire uint64
  12702. for shift := uint(0); ; shift += 7 {
  12703. if shift >= 64 {
  12704. return ErrIntOverflowApi
  12705. }
  12706. if iNdEx >= l {
  12707. return io.ErrUnexpectedEOF
  12708. }
  12709. b := dAtA[iNdEx]
  12710. iNdEx++
  12711. wire |= (uint64(b) & 0x7F) << shift
  12712. if b < 0x80 {
  12713. break
  12714. }
  12715. }
  12716. fieldNum := int32(wire >> 3)
  12717. wireType := int(wire & 0x7)
  12718. if wireType == 4 {
  12719. return fmt.Errorf("proto: FoldersReply: wiretype end group for non-group")
  12720. }
  12721. if fieldNum <= 0 {
  12722. return fmt.Errorf("proto: FoldersReply: illegal tag %d (wire type %d)", fieldNum, wire)
  12723. }
  12724. switch fieldNum {
  12725. case 1:
  12726. if wireType != 2 {
  12727. return fmt.Errorf("proto: wrong wireType = %d for field Res", wireType)
  12728. }
  12729. var msglen int
  12730. for shift := uint(0); ; shift += 7 {
  12731. if shift >= 64 {
  12732. return ErrIntOverflowApi
  12733. }
  12734. if iNdEx >= l {
  12735. return io.ErrUnexpectedEOF
  12736. }
  12737. b := dAtA[iNdEx]
  12738. iNdEx++
  12739. msglen |= (int(b) & 0x7F) << shift
  12740. if b < 0x80 {
  12741. break
  12742. }
  12743. }
  12744. if msglen < 0 {
  12745. return ErrInvalidLengthApi
  12746. }
  12747. postIndex := iNdEx + msglen
  12748. if postIndex > l {
  12749. return io.ErrUnexpectedEOF
  12750. }
  12751. m.Res = append(m.Res, &model.Folder{})
  12752. if err := m.Res[len(m.Res)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  12753. return err
  12754. }
  12755. iNdEx = postIndex
  12756. default:
  12757. iNdEx = preIndex
  12758. skippy, err := skipApi(dAtA[iNdEx:])
  12759. if err != nil {
  12760. return err
  12761. }
  12762. if skippy < 0 {
  12763. return ErrInvalidLengthApi
  12764. }
  12765. if (iNdEx + skippy) > l {
  12766. return io.ErrUnexpectedEOF
  12767. }
  12768. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  12769. iNdEx += skippy
  12770. }
  12771. }
  12772. if iNdEx > l {
  12773. return io.ErrUnexpectedEOF
  12774. }
  12775. return nil
  12776. }
  12777. func (m *FoldersReq) Unmarshal(dAtA []byte) error {
  12778. l := len(dAtA)
  12779. iNdEx := 0
  12780. for iNdEx < l {
  12781. preIndex := iNdEx
  12782. var wire uint64
  12783. for shift := uint(0); ; shift += 7 {
  12784. if shift >= 64 {
  12785. return ErrIntOverflowApi
  12786. }
  12787. if iNdEx >= l {
  12788. return io.ErrUnexpectedEOF
  12789. }
  12790. b := dAtA[iNdEx]
  12791. iNdEx++
  12792. wire |= (uint64(b) & 0x7F) << shift
  12793. if b < 0x80 {
  12794. break
  12795. }
  12796. }
  12797. fieldNum := int32(wire >> 3)
  12798. wireType := int(wire & 0x7)
  12799. if wireType == 4 {
  12800. return fmt.Errorf("proto: FoldersReq: wiretype end group for non-group")
  12801. }
  12802. if fieldNum <= 0 {
  12803. return fmt.Errorf("proto: FoldersReq: illegal tag %d (wire type %d)", fieldNum, wire)
  12804. }
  12805. switch fieldNum {
  12806. case 1:
  12807. if wireType != 2 {
  12808. return fmt.Errorf("proto: wrong wireType = %d for field Ids", wireType)
  12809. }
  12810. var msglen int
  12811. for shift := uint(0); ; shift += 7 {
  12812. if shift >= 64 {
  12813. return ErrIntOverflowApi
  12814. }
  12815. if iNdEx >= l {
  12816. return io.ErrUnexpectedEOF
  12817. }
  12818. b := dAtA[iNdEx]
  12819. iNdEx++
  12820. msglen |= (int(b) & 0x7F) << shift
  12821. if b < 0x80 {
  12822. break
  12823. }
  12824. }
  12825. if msglen < 0 {
  12826. return ErrInvalidLengthApi
  12827. }
  12828. postIndex := iNdEx + msglen
  12829. if postIndex > l {
  12830. return io.ErrUnexpectedEOF
  12831. }
  12832. m.Ids = append(m.Ids, &FolderID{})
  12833. if err := m.Ids[len(m.Ids)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  12834. return err
  12835. }
  12836. iNdEx = postIndex
  12837. case 2:
  12838. if wireType != 0 {
  12839. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  12840. }
  12841. m.Typ = 0
  12842. for shift := uint(0); ; shift += 7 {
  12843. if shift >= 64 {
  12844. return ErrIntOverflowApi
  12845. }
  12846. if iNdEx >= l {
  12847. return io.ErrUnexpectedEOF
  12848. }
  12849. b := dAtA[iNdEx]
  12850. iNdEx++
  12851. m.Typ |= (int32(b) & 0x7F) << shift
  12852. if b < 0x80 {
  12853. break
  12854. }
  12855. }
  12856. case 3:
  12857. if wireType != 0 {
  12858. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  12859. }
  12860. m.Mid = 0
  12861. for shift := uint(0); ; shift += 7 {
  12862. if shift >= 64 {
  12863. return ErrIntOverflowApi
  12864. }
  12865. if iNdEx >= l {
  12866. return io.ErrUnexpectedEOF
  12867. }
  12868. b := dAtA[iNdEx]
  12869. iNdEx++
  12870. m.Mid |= (int64(b) & 0x7F) << shift
  12871. if b < 0x80 {
  12872. break
  12873. }
  12874. }
  12875. default:
  12876. iNdEx = preIndex
  12877. skippy, err := skipApi(dAtA[iNdEx:])
  12878. if err != nil {
  12879. return err
  12880. }
  12881. if skippy < 0 {
  12882. return ErrInvalidLengthApi
  12883. }
  12884. if (iNdEx + skippy) > l {
  12885. return io.ErrUnexpectedEOF
  12886. }
  12887. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  12888. iNdEx += skippy
  12889. }
  12890. }
  12891. if iNdEx > l {
  12892. return io.ErrUnexpectedEOF
  12893. }
  12894. return nil
  12895. }
  12896. func (m *FolderID) Unmarshal(dAtA []byte) error {
  12897. l := len(dAtA)
  12898. iNdEx := 0
  12899. for iNdEx < l {
  12900. preIndex := iNdEx
  12901. var wire uint64
  12902. for shift := uint(0); ; shift += 7 {
  12903. if shift >= 64 {
  12904. return ErrIntOverflowApi
  12905. }
  12906. if iNdEx >= l {
  12907. return io.ErrUnexpectedEOF
  12908. }
  12909. b := dAtA[iNdEx]
  12910. iNdEx++
  12911. wire |= (uint64(b) & 0x7F) << shift
  12912. if b < 0x80 {
  12913. break
  12914. }
  12915. }
  12916. fieldNum := int32(wire >> 3)
  12917. wireType := int(wire & 0x7)
  12918. if wireType == 4 {
  12919. return fmt.Errorf("proto: FolderID: wiretype end group for non-group")
  12920. }
  12921. if fieldNum <= 0 {
  12922. return fmt.Errorf("proto: FolderID: illegal tag %d (wire type %d)", fieldNum, wire)
  12923. }
  12924. switch fieldNum {
  12925. case 1:
  12926. if wireType != 0 {
  12927. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  12928. }
  12929. m.Fid = 0
  12930. for shift := uint(0); ; shift += 7 {
  12931. if shift >= 64 {
  12932. return ErrIntOverflowApi
  12933. }
  12934. if iNdEx >= l {
  12935. return io.ErrUnexpectedEOF
  12936. }
  12937. b := dAtA[iNdEx]
  12938. iNdEx++
  12939. m.Fid |= (int64(b) & 0x7F) << shift
  12940. if b < 0x80 {
  12941. break
  12942. }
  12943. }
  12944. case 2:
  12945. if wireType != 0 {
  12946. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  12947. }
  12948. m.Mid = 0
  12949. for shift := uint(0); ; shift += 7 {
  12950. if shift >= 64 {
  12951. return ErrIntOverflowApi
  12952. }
  12953. if iNdEx >= l {
  12954. return io.ErrUnexpectedEOF
  12955. }
  12956. b := dAtA[iNdEx]
  12957. iNdEx++
  12958. m.Mid |= (int64(b) & 0x7F) << shift
  12959. if b < 0x80 {
  12960. break
  12961. }
  12962. }
  12963. default:
  12964. iNdEx = preIndex
  12965. skippy, err := skipApi(dAtA[iNdEx:])
  12966. if err != nil {
  12967. return err
  12968. }
  12969. if skippy < 0 {
  12970. return ErrInvalidLengthApi
  12971. }
  12972. if (iNdEx + skippy) > l {
  12973. return io.ErrUnexpectedEOF
  12974. }
  12975. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  12976. iNdEx += skippy
  12977. }
  12978. }
  12979. if iNdEx > l {
  12980. return io.ErrUnexpectedEOF
  12981. }
  12982. return nil
  12983. }
  12984. func (m *MoveFavsReq) Unmarshal(dAtA []byte) error {
  12985. l := len(dAtA)
  12986. iNdEx := 0
  12987. for iNdEx < l {
  12988. preIndex := iNdEx
  12989. var wire uint64
  12990. for shift := uint(0); ; shift += 7 {
  12991. if shift >= 64 {
  12992. return ErrIntOverflowApi
  12993. }
  12994. if iNdEx >= l {
  12995. return io.ErrUnexpectedEOF
  12996. }
  12997. b := dAtA[iNdEx]
  12998. iNdEx++
  12999. wire |= (uint64(b) & 0x7F) << shift
  13000. if b < 0x80 {
  13001. break
  13002. }
  13003. }
  13004. fieldNum := int32(wire >> 3)
  13005. wireType := int(wire & 0x7)
  13006. if wireType == 4 {
  13007. return fmt.Errorf("proto: MoveFavsReq: wiretype end group for non-group")
  13008. }
  13009. if fieldNum <= 0 {
  13010. return fmt.Errorf("proto: MoveFavsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  13011. }
  13012. switch fieldNum {
  13013. case 1:
  13014. if wireType != 0 {
  13015. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  13016. }
  13017. m.Typ = 0
  13018. for shift := uint(0); ; shift += 7 {
  13019. if shift >= 64 {
  13020. return ErrIntOverflowApi
  13021. }
  13022. if iNdEx >= l {
  13023. return io.ErrUnexpectedEOF
  13024. }
  13025. b := dAtA[iNdEx]
  13026. iNdEx++
  13027. m.Typ |= (int32(b) & 0x7F) << shift
  13028. if b < 0x80 {
  13029. break
  13030. }
  13031. }
  13032. case 2:
  13033. if wireType != 0 {
  13034. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  13035. }
  13036. m.Mid = 0
  13037. for shift := uint(0); ; shift += 7 {
  13038. if shift >= 64 {
  13039. return ErrIntOverflowApi
  13040. }
  13041. if iNdEx >= l {
  13042. return io.ErrUnexpectedEOF
  13043. }
  13044. b := dAtA[iNdEx]
  13045. iNdEx++
  13046. m.Mid |= (int64(b) & 0x7F) << shift
  13047. if b < 0x80 {
  13048. break
  13049. }
  13050. }
  13051. case 3:
  13052. if wireType != 0 {
  13053. return fmt.Errorf("proto: wrong wireType = %d for field OldFid", wireType)
  13054. }
  13055. m.OldFid = 0
  13056. for shift := uint(0); ; shift += 7 {
  13057. if shift >= 64 {
  13058. return ErrIntOverflowApi
  13059. }
  13060. if iNdEx >= l {
  13061. return io.ErrUnexpectedEOF
  13062. }
  13063. b := dAtA[iNdEx]
  13064. iNdEx++
  13065. m.OldFid |= (int64(b) & 0x7F) << shift
  13066. if b < 0x80 {
  13067. break
  13068. }
  13069. }
  13070. case 4:
  13071. if wireType != 0 {
  13072. return fmt.Errorf("proto: wrong wireType = %d for field NewFid", wireType)
  13073. }
  13074. m.NewFid = 0
  13075. for shift := uint(0); ; shift += 7 {
  13076. if shift >= 64 {
  13077. return ErrIntOverflowApi
  13078. }
  13079. if iNdEx >= l {
  13080. return io.ErrUnexpectedEOF
  13081. }
  13082. b := dAtA[iNdEx]
  13083. iNdEx++
  13084. m.NewFid |= (int64(b) & 0x7F) << shift
  13085. if b < 0x80 {
  13086. break
  13087. }
  13088. }
  13089. case 5:
  13090. if wireType == 0 {
  13091. var v int64
  13092. for shift := uint(0); ; shift += 7 {
  13093. if shift >= 64 {
  13094. return ErrIntOverflowApi
  13095. }
  13096. if iNdEx >= l {
  13097. return io.ErrUnexpectedEOF
  13098. }
  13099. b := dAtA[iNdEx]
  13100. iNdEx++
  13101. v |= (int64(b) & 0x7F) << shift
  13102. if b < 0x80 {
  13103. break
  13104. }
  13105. }
  13106. m.Oids = append(m.Oids, v)
  13107. } else if wireType == 2 {
  13108. var packedLen int
  13109. for shift := uint(0); ; shift += 7 {
  13110. if shift >= 64 {
  13111. return ErrIntOverflowApi
  13112. }
  13113. if iNdEx >= l {
  13114. return io.ErrUnexpectedEOF
  13115. }
  13116. b := dAtA[iNdEx]
  13117. iNdEx++
  13118. packedLen |= (int(b) & 0x7F) << shift
  13119. if b < 0x80 {
  13120. break
  13121. }
  13122. }
  13123. if packedLen < 0 {
  13124. return ErrInvalidLengthApi
  13125. }
  13126. postIndex := iNdEx + packedLen
  13127. if postIndex > l {
  13128. return io.ErrUnexpectedEOF
  13129. }
  13130. for iNdEx < postIndex {
  13131. var v int64
  13132. for shift := uint(0); ; shift += 7 {
  13133. if shift >= 64 {
  13134. return ErrIntOverflowApi
  13135. }
  13136. if iNdEx >= l {
  13137. return io.ErrUnexpectedEOF
  13138. }
  13139. b := dAtA[iNdEx]
  13140. iNdEx++
  13141. v |= (int64(b) & 0x7F) << shift
  13142. if b < 0x80 {
  13143. break
  13144. }
  13145. }
  13146. m.Oids = append(m.Oids, v)
  13147. }
  13148. } else {
  13149. return fmt.Errorf("proto: wrong wireType = %d for field Oids", wireType)
  13150. }
  13151. default:
  13152. iNdEx = preIndex
  13153. skippy, err := skipApi(dAtA[iNdEx:])
  13154. if err != nil {
  13155. return err
  13156. }
  13157. if skippy < 0 {
  13158. return ErrInvalidLengthApi
  13159. }
  13160. if (iNdEx + skippy) > l {
  13161. return io.ErrUnexpectedEOF
  13162. }
  13163. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  13164. iNdEx += skippy
  13165. }
  13166. }
  13167. if iNdEx > l {
  13168. return io.ErrUnexpectedEOF
  13169. }
  13170. return nil
  13171. }
  13172. func (m *CopyFavsReq) Unmarshal(dAtA []byte) error {
  13173. l := len(dAtA)
  13174. iNdEx := 0
  13175. for iNdEx < l {
  13176. preIndex := iNdEx
  13177. var wire uint64
  13178. for shift := uint(0); ; shift += 7 {
  13179. if shift >= 64 {
  13180. return ErrIntOverflowApi
  13181. }
  13182. if iNdEx >= l {
  13183. return io.ErrUnexpectedEOF
  13184. }
  13185. b := dAtA[iNdEx]
  13186. iNdEx++
  13187. wire |= (uint64(b) & 0x7F) << shift
  13188. if b < 0x80 {
  13189. break
  13190. }
  13191. }
  13192. fieldNum := int32(wire >> 3)
  13193. wireType := int(wire & 0x7)
  13194. if wireType == 4 {
  13195. return fmt.Errorf("proto: CopyFavsReq: wiretype end group for non-group")
  13196. }
  13197. if fieldNum <= 0 {
  13198. return fmt.Errorf("proto: CopyFavsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  13199. }
  13200. switch fieldNum {
  13201. case 1:
  13202. if wireType != 0 {
  13203. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  13204. }
  13205. m.Typ = 0
  13206. for shift := uint(0); ; shift += 7 {
  13207. if shift >= 64 {
  13208. return ErrIntOverflowApi
  13209. }
  13210. if iNdEx >= l {
  13211. return io.ErrUnexpectedEOF
  13212. }
  13213. b := dAtA[iNdEx]
  13214. iNdEx++
  13215. m.Typ |= (int32(b) & 0x7F) << shift
  13216. if b < 0x80 {
  13217. break
  13218. }
  13219. }
  13220. case 2:
  13221. if wireType != 0 {
  13222. return fmt.Errorf("proto: wrong wireType = %d for field OldMid", wireType)
  13223. }
  13224. m.OldMid = 0
  13225. for shift := uint(0); ; shift += 7 {
  13226. if shift >= 64 {
  13227. return ErrIntOverflowApi
  13228. }
  13229. if iNdEx >= l {
  13230. return io.ErrUnexpectedEOF
  13231. }
  13232. b := dAtA[iNdEx]
  13233. iNdEx++
  13234. m.OldMid |= (int64(b) & 0x7F) << shift
  13235. if b < 0x80 {
  13236. break
  13237. }
  13238. }
  13239. case 3:
  13240. if wireType != 0 {
  13241. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  13242. }
  13243. m.Mid = 0
  13244. for shift := uint(0); ; shift += 7 {
  13245. if shift >= 64 {
  13246. return ErrIntOverflowApi
  13247. }
  13248. if iNdEx >= l {
  13249. return io.ErrUnexpectedEOF
  13250. }
  13251. b := dAtA[iNdEx]
  13252. iNdEx++
  13253. m.Mid |= (int64(b) & 0x7F) << shift
  13254. if b < 0x80 {
  13255. break
  13256. }
  13257. }
  13258. case 4:
  13259. if wireType != 0 {
  13260. return fmt.Errorf("proto: wrong wireType = %d for field OldFid", wireType)
  13261. }
  13262. m.OldFid = 0
  13263. for shift := uint(0); ; shift += 7 {
  13264. if shift >= 64 {
  13265. return ErrIntOverflowApi
  13266. }
  13267. if iNdEx >= l {
  13268. return io.ErrUnexpectedEOF
  13269. }
  13270. b := dAtA[iNdEx]
  13271. iNdEx++
  13272. m.OldFid |= (int64(b) & 0x7F) << shift
  13273. if b < 0x80 {
  13274. break
  13275. }
  13276. }
  13277. case 5:
  13278. if wireType != 0 {
  13279. return fmt.Errorf("proto: wrong wireType = %d for field NewFid", wireType)
  13280. }
  13281. m.NewFid = 0
  13282. for shift := uint(0); ; shift += 7 {
  13283. if shift >= 64 {
  13284. return ErrIntOverflowApi
  13285. }
  13286. if iNdEx >= l {
  13287. return io.ErrUnexpectedEOF
  13288. }
  13289. b := dAtA[iNdEx]
  13290. iNdEx++
  13291. m.NewFid |= (int64(b) & 0x7F) << shift
  13292. if b < 0x80 {
  13293. break
  13294. }
  13295. }
  13296. case 6:
  13297. if wireType == 0 {
  13298. var v int64
  13299. for shift := uint(0); ; shift += 7 {
  13300. if shift >= 64 {
  13301. return ErrIntOverflowApi
  13302. }
  13303. if iNdEx >= l {
  13304. return io.ErrUnexpectedEOF
  13305. }
  13306. b := dAtA[iNdEx]
  13307. iNdEx++
  13308. v |= (int64(b) & 0x7F) << shift
  13309. if b < 0x80 {
  13310. break
  13311. }
  13312. }
  13313. m.Oids = append(m.Oids, v)
  13314. } else if wireType == 2 {
  13315. var packedLen int
  13316. for shift := uint(0); ; shift += 7 {
  13317. if shift >= 64 {
  13318. return ErrIntOverflowApi
  13319. }
  13320. if iNdEx >= l {
  13321. return io.ErrUnexpectedEOF
  13322. }
  13323. b := dAtA[iNdEx]
  13324. iNdEx++
  13325. packedLen |= (int(b) & 0x7F) << shift
  13326. if b < 0x80 {
  13327. break
  13328. }
  13329. }
  13330. if packedLen < 0 {
  13331. return ErrInvalidLengthApi
  13332. }
  13333. postIndex := iNdEx + packedLen
  13334. if postIndex > l {
  13335. return io.ErrUnexpectedEOF
  13336. }
  13337. for iNdEx < postIndex {
  13338. var v int64
  13339. for shift := uint(0); ; shift += 7 {
  13340. if shift >= 64 {
  13341. return ErrIntOverflowApi
  13342. }
  13343. if iNdEx >= l {
  13344. return io.ErrUnexpectedEOF
  13345. }
  13346. b := dAtA[iNdEx]
  13347. iNdEx++
  13348. v |= (int64(b) & 0x7F) << shift
  13349. if b < 0x80 {
  13350. break
  13351. }
  13352. }
  13353. m.Oids = append(m.Oids, v)
  13354. }
  13355. } else {
  13356. return fmt.Errorf("proto: wrong wireType = %d for field Oids", wireType)
  13357. }
  13358. default:
  13359. iNdEx = preIndex
  13360. skippy, err := skipApi(dAtA[iNdEx:])
  13361. if err != nil {
  13362. return err
  13363. }
  13364. if skippy < 0 {
  13365. return ErrInvalidLengthApi
  13366. }
  13367. if (iNdEx + skippy) > l {
  13368. return io.ErrUnexpectedEOF
  13369. }
  13370. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  13371. iNdEx += skippy
  13372. }
  13373. }
  13374. if iNdEx > l {
  13375. return io.ErrUnexpectedEOF
  13376. }
  13377. return nil
  13378. }
  13379. func (m *CleanStateReq) Unmarshal(dAtA []byte) error {
  13380. l := len(dAtA)
  13381. iNdEx := 0
  13382. for iNdEx < l {
  13383. preIndex := iNdEx
  13384. var wire uint64
  13385. for shift := uint(0); ; shift += 7 {
  13386. if shift >= 64 {
  13387. return ErrIntOverflowApi
  13388. }
  13389. if iNdEx >= l {
  13390. return io.ErrUnexpectedEOF
  13391. }
  13392. b := dAtA[iNdEx]
  13393. iNdEx++
  13394. wire |= (uint64(b) & 0x7F) << shift
  13395. if b < 0x80 {
  13396. break
  13397. }
  13398. }
  13399. fieldNum := int32(wire >> 3)
  13400. wireType := int(wire & 0x7)
  13401. if wireType == 4 {
  13402. return fmt.Errorf("proto: CleanStateReq: wiretype end group for non-group")
  13403. }
  13404. if fieldNum <= 0 {
  13405. return fmt.Errorf("proto: CleanStateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  13406. }
  13407. switch fieldNum {
  13408. case 1:
  13409. if wireType != 0 {
  13410. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  13411. }
  13412. m.Typ = 0
  13413. for shift := uint(0); ; shift += 7 {
  13414. if shift >= 64 {
  13415. return ErrIntOverflowApi
  13416. }
  13417. if iNdEx >= l {
  13418. return io.ErrUnexpectedEOF
  13419. }
  13420. b := dAtA[iNdEx]
  13421. iNdEx++
  13422. m.Typ |= (int32(b) & 0x7F) << shift
  13423. if b < 0x80 {
  13424. break
  13425. }
  13426. }
  13427. case 2:
  13428. if wireType != 0 {
  13429. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  13430. }
  13431. m.Mid = 0
  13432. for shift := uint(0); ; shift += 7 {
  13433. if shift >= 64 {
  13434. return ErrIntOverflowApi
  13435. }
  13436. if iNdEx >= l {
  13437. return io.ErrUnexpectedEOF
  13438. }
  13439. b := dAtA[iNdEx]
  13440. iNdEx++
  13441. m.Mid |= (int64(b) & 0x7F) << shift
  13442. if b < 0x80 {
  13443. break
  13444. }
  13445. }
  13446. case 3:
  13447. if wireType != 0 {
  13448. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  13449. }
  13450. m.Fid = 0
  13451. for shift := uint(0); ; shift += 7 {
  13452. if shift >= 64 {
  13453. return ErrIntOverflowApi
  13454. }
  13455. if iNdEx >= l {
  13456. return io.ErrUnexpectedEOF
  13457. }
  13458. b := dAtA[iNdEx]
  13459. iNdEx++
  13460. m.Fid |= (int64(b) & 0x7F) << shift
  13461. if b < 0x80 {
  13462. break
  13463. }
  13464. }
  13465. default:
  13466. iNdEx = preIndex
  13467. skippy, err := skipApi(dAtA[iNdEx:])
  13468. if err != nil {
  13469. return err
  13470. }
  13471. if skippy < 0 {
  13472. return ErrInvalidLengthApi
  13473. }
  13474. if (iNdEx + skippy) > l {
  13475. return io.ErrUnexpectedEOF
  13476. }
  13477. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  13478. iNdEx += skippy
  13479. }
  13480. }
  13481. if iNdEx > l {
  13482. return io.ErrUnexpectedEOF
  13483. }
  13484. return nil
  13485. }
  13486. func (m *CleanStateReply) Unmarshal(dAtA []byte) error {
  13487. l := len(dAtA)
  13488. iNdEx := 0
  13489. for iNdEx < l {
  13490. preIndex := iNdEx
  13491. var wire uint64
  13492. for shift := uint(0); ; shift += 7 {
  13493. if shift >= 64 {
  13494. return ErrIntOverflowApi
  13495. }
  13496. if iNdEx >= l {
  13497. return io.ErrUnexpectedEOF
  13498. }
  13499. b := dAtA[iNdEx]
  13500. iNdEx++
  13501. wire |= (uint64(b) & 0x7F) << shift
  13502. if b < 0x80 {
  13503. break
  13504. }
  13505. }
  13506. fieldNum := int32(wire >> 3)
  13507. wireType := int(wire & 0x7)
  13508. if wireType == 4 {
  13509. return fmt.Errorf("proto: CleanStateReply: wiretype end group for non-group")
  13510. }
  13511. if fieldNum <= 0 {
  13512. return fmt.Errorf("proto: CleanStateReply: illegal tag %d (wire type %d)", fieldNum, wire)
  13513. }
  13514. switch fieldNum {
  13515. case 1:
  13516. if wireType != 0 {
  13517. return fmt.Errorf("proto: wrong wireType = %d for field CleanState", wireType)
  13518. }
  13519. m.CleanState = 0
  13520. for shift := uint(0); ; shift += 7 {
  13521. if shift >= 64 {
  13522. return ErrIntOverflowApi
  13523. }
  13524. if iNdEx >= l {
  13525. return io.ErrUnexpectedEOF
  13526. }
  13527. b := dAtA[iNdEx]
  13528. iNdEx++
  13529. m.CleanState |= (int32(b) & 0x7F) << shift
  13530. if b < 0x80 {
  13531. break
  13532. }
  13533. }
  13534. default:
  13535. iNdEx = preIndex
  13536. skippy, err := skipApi(dAtA[iNdEx:])
  13537. if err != nil {
  13538. return err
  13539. }
  13540. if skippy < 0 {
  13541. return ErrInvalidLengthApi
  13542. }
  13543. if (iNdEx + skippy) > l {
  13544. return io.ErrUnexpectedEOF
  13545. }
  13546. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  13547. iNdEx += skippy
  13548. }
  13549. }
  13550. if iNdEx > l {
  13551. return io.ErrUnexpectedEOF
  13552. }
  13553. return nil
  13554. }
  13555. func (m *CleanInvalidFavsReq) Unmarshal(dAtA []byte) error {
  13556. l := len(dAtA)
  13557. iNdEx := 0
  13558. for iNdEx < l {
  13559. preIndex := iNdEx
  13560. var wire uint64
  13561. for shift := uint(0); ; shift += 7 {
  13562. if shift >= 64 {
  13563. return ErrIntOverflowApi
  13564. }
  13565. if iNdEx >= l {
  13566. return io.ErrUnexpectedEOF
  13567. }
  13568. b := dAtA[iNdEx]
  13569. iNdEx++
  13570. wire |= (uint64(b) & 0x7F) << shift
  13571. if b < 0x80 {
  13572. break
  13573. }
  13574. }
  13575. fieldNum := int32(wire >> 3)
  13576. wireType := int(wire & 0x7)
  13577. if wireType == 4 {
  13578. return fmt.Errorf("proto: CleanInvalidFavsReq: wiretype end group for non-group")
  13579. }
  13580. if fieldNum <= 0 {
  13581. return fmt.Errorf("proto: CleanInvalidFavsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  13582. }
  13583. switch fieldNum {
  13584. case 1:
  13585. if wireType != 0 {
  13586. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  13587. }
  13588. m.Typ = 0
  13589. for shift := uint(0); ; shift += 7 {
  13590. if shift >= 64 {
  13591. return ErrIntOverflowApi
  13592. }
  13593. if iNdEx >= l {
  13594. return io.ErrUnexpectedEOF
  13595. }
  13596. b := dAtA[iNdEx]
  13597. iNdEx++
  13598. m.Typ |= (int32(b) & 0x7F) << shift
  13599. if b < 0x80 {
  13600. break
  13601. }
  13602. }
  13603. case 2:
  13604. if wireType != 0 {
  13605. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  13606. }
  13607. m.Mid = 0
  13608. for shift := uint(0); ; shift += 7 {
  13609. if shift >= 64 {
  13610. return ErrIntOverflowApi
  13611. }
  13612. if iNdEx >= l {
  13613. return io.ErrUnexpectedEOF
  13614. }
  13615. b := dAtA[iNdEx]
  13616. iNdEx++
  13617. m.Mid |= (int64(b) & 0x7F) << shift
  13618. if b < 0x80 {
  13619. break
  13620. }
  13621. }
  13622. case 3:
  13623. if wireType != 0 {
  13624. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  13625. }
  13626. m.Fid = 0
  13627. for shift := uint(0); ; shift += 7 {
  13628. if shift >= 64 {
  13629. return ErrIntOverflowApi
  13630. }
  13631. if iNdEx >= l {
  13632. return io.ErrUnexpectedEOF
  13633. }
  13634. b := dAtA[iNdEx]
  13635. iNdEx++
  13636. m.Fid |= (int64(b) & 0x7F) << shift
  13637. if b < 0x80 {
  13638. break
  13639. }
  13640. }
  13641. default:
  13642. iNdEx = preIndex
  13643. skippy, err := skipApi(dAtA[iNdEx:])
  13644. if err != nil {
  13645. return err
  13646. }
  13647. if skippy < 0 {
  13648. return ErrInvalidLengthApi
  13649. }
  13650. if (iNdEx + skippy) > l {
  13651. return io.ErrUnexpectedEOF
  13652. }
  13653. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  13654. iNdEx += skippy
  13655. }
  13656. }
  13657. if iNdEx > l {
  13658. return io.ErrUnexpectedEOF
  13659. }
  13660. return nil
  13661. }
  13662. func (m *FavAddFoldersReq) Unmarshal(dAtA []byte) error {
  13663. l := len(dAtA)
  13664. iNdEx := 0
  13665. for iNdEx < l {
  13666. preIndex := iNdEx
  13667. var wire uint64
  13668. for shift := uint(0); ; shift += 7 {
  13669. if shift >= 64 {
  13670. return ErrIntOverflowApi
  13671. }
  13672. if iNdEx >= l {
  13673. return io.ErrUnexpectedEOF
  13674. }
  13675. b := dAtA[iNdEx]
  13676. iNdEx++
  13677. wire |= (uint64(b) & 0x7F) << shift
  13678. if b < 0x80 {
  13679. break
  13680. }
  13681. }
  13682. fieldNum := int32(wire >> 3)
  13683. wireType := int(wire & 0x7)
  13684. if wireType == 4 {
  13685. return fmt.Errorf("proto: FavAddFoldersReq: wiretype end group for non-group")
  13686. }
  13687. if fieldNum <= 0 {
  13688. return fmt.Errorf("proto: FavAddFoldersReq: illegal tag %d (wire type %d)", fieldNum, wire)
  13689. }
  13690. switch fieldNum {
  13691. case 1:
  13692. if wireType != 0 {
  13693. return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
  13694. }
  13695. m.Oid = 0
  13696. for shift := uint(0); ; shift += 7 {
  13697. if shift >= 64 {
  13698. return ErrIntOverflowApi
  13699. }
  13700. if iNdEx >= l {
  13701. return io.ErrUnexpectedEOF
  13702. }
  13703. b := dAtA[iNdEx]
  13704. iNdEx++
  13705. m.Oid |= (int64(b) & 0x7F) << shift
  13706. if b < 0x80 {
  13707. break
  13708. }
  13709. }
  13710. case 2:
  13711. if wireType != 0 {
  13712. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  13713. }
  13714. m.Typ = 0
  13715. for shift := uint(0); ; shift += 7 {
  13716. if shift >= 64 {
  13717. return ErrIntOverflowApi
  13718. }
  13719. if iNdEx >= l {
  13720. return io.ErrUnexpectedEOF
  13721. }
  13722. b := dAtA[iNdEx]
  13723. iNdEx++
  13724. m.Typ |= (int32(b) & 0x7F) << shift
  13725. if b < 0x80 {
  13726. break
  13727. }
  13728. }
  13729. case 3:
  13730. if wireType == 0 {
  13731. var v int64
  13732. for shift := uint(0); ; shift += 7 {
  13733. if shift >= 64 {
  13734. return ErrIntOverflowApi
  13735. }
  13736. if iNdEx >= l {
  13737. return io.ErrUnexpectedEOF
  13738. }
  13739. b := dAtA[iNdEx]
  13740. iNdEx++
  13741. v |= (int64(b) & 0x7F) << shift
  13742. if b < 0x80 {
  13743. break
  13744. }
  13745. }
  13746. m.Fids = append(m.Fids, v)
  13747. } else if wireType == 2 {
  13748. var packedLen int
  13749. for shift := uint(0); ; shift += 7 {
  13750. if shift >= 64 {
  13751. return ErrIntOverflowApi
  13752. }
  13753. if iNdEx >= l {
  13754. return io.ErrUnexpectedEOF
  13755. }
  13756. b := dAtA[iNdEx]
  13757. iNdEx++
  13758. packedLen |= (int(b) & 0x7F) << shift
  13759. if b < 0x80 {
  13760. break
  13761. }
  13762. }
  13763. if packedLen < 0 {
  13764. return ErrInvalidLengthApi
  13765. }
  13766. postIndex := iNdEx + packedLen
  13767. if postIndex > l {
  13768. return io.ErrUnexpectedEOF
  13769. }
  13770. for iNdEx < postIndex {
  13771. var v int64
  13772. for shift := uint(0); ; shift += 7 {
  13773. if shift >= 64 {
  13774. return ErrIntOverflowApi
  13775. }
  13776. if iNdEx >= l {
  13777. return io.ErrUnexpectedEOF
  13778. }
  13779. b := dAtA[iNdEx]
  13780. iNdEx++
  13781. v |= (int64(b) & 0x7F) << shift
  13782. if b < 0x80 {
  13783. break
  13784. }
  13785. }
  13786. m.Fids = append(m.Fids, v)
  13787. }
  13788. } else {
  13789. return fmt.Errorf("proto: wrong wireType = %d for field Fids", wireType)
  13790. }
  13791. case 4:
  13792. if wireType != 0 {
  13793. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  13794. }
  13795. m.Mid = 0
  13796. for shift := uint(0); ; shift += 7 {
  13797. if shift >= 64 {
  13798. return ErrIntOverflowApi
  13799. }
  13800. if iNdEx >= l {
  13801. return io.ErrUnexpectedEOF
  13802. }
  13803. b := dAtA[iNdEx]
  13804. iNdEx++
  13805. m.Mid |= (int64(b) & 0x7F) << shift
  13806. if b < 0x80 {
  13807. break
  13808. }
  13809. }
  13810. case 5:
  13811. if wireType != 0 {
  13812. return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
  13813. }
  13814. m.Otype = 0
  13815. for shift := uint(0); ; shift += 7 {
  13816. if shift >= 64 {
  13817. return ErrIntOverflowApi
  13818. }
  13819. if iNdEx >= l {
  13820. return io.ErrUnexpectedEOF
  13821. }
  13822. b := dAtA[iNdEx]
  13823. iNdEx++
  13824. m.Otype |= (int32(b) & 0x7F) << shift
  13825. if b < 0x80 {
  13826. break
  13827. }
  13828. }
  13829. default:
  13830. iNdEx = preIndex
  13831. skippy, err := skipApi(dAtA[iNdEx:])
  13832. if err != nil {
  13833. return err
  13834. }
  13835. if skippy < 0 {
  13836. return ErrInvalidLengthApi
  13837. }
  13838. if (iNdEx + skippy) > l {
  13839. return io.ErrUnexpectedEOF
  13840. }
  13841. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  13842. iNdEx += skippy
  13843. }
  13844. }
  13845. if iNdEx > l {
  13846. return io.ErrUnexpectedEOF
  13847. }
  13848. return nil
  13849. }
  13850. func (m *FavDelFoldersReq) Unmarshal(dAtA []byte) error {
  13851. l := len(dAtA)
  13852. iNdEx := 0
  13853. for iNdEx < l {
  13854. preIndex := iNdEx
  13855. var wire uint64
  13856. for shift := uint(0); ; shift += 7 {
  13857. if shift >= 64 {
  13858. return ErrIntOverflowApi
  13859. }
  13860. if iNdEx >= l {
  13861. return io.ErrUnexpectedEOF
  13862. }
  13863. b := dAtA[iNdEx]
  13864. iNdEx++
  13865. wire |= (uint64(b) & 0x7F) << shift
  13866. if b < 0x80 {
  13867. break
  13868. }
  13869. }
  13870. fieldNum := int32(wire >> 3)
  13871. wireType := int(wire & 0x7)
  13872. if wireType == 4 {
  13873. return fmt.Errorf("proto: FavDelFoldersReq: wiretype end group for non-group")
  13874. }
  13875. if fieldNum <= 0 {
  13876. return fmt.Errorf("proto: FavDelFoldersReq: illegal tag %d (wire type %d)", fieldNum, wire)
  13877. }
  13878. switch fieldNum {
  13879. case 1:
  13880. if wireType != 0 {
  13881. return fmt.Errorf("proto: wrong wireType = %d for field Oid", wireType)
  13882. }
  13883. m.Oid = 0
  13884. for shift := uint(0); ; shift += 7 {
  13885. if shift >= 64 {
  13886. return ErrIntOverflowApi
  13887. }
  13888. if iNdEx >= l {
  13889. return io.ErrUnexpectedEOF
  13890. }
  13891. b := dAtA[iNdEx]
  13892. iNdEx++
  13893. m.Oid |= (int64(b) & 0x7F) << shift
  13894. if b < 0x80 {
  13895. break
  13896. }
  13897. }
  13898. case 2:
  13899. if wireType != 0 {
  13900. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  13901. }
  13902. m.Typ = 0
  13903. for shift := uint(0); ; shift += 7 {
  13904. if shift >= 64 {
  13905. return ErrIntOverflowApi
  13906. }
  13907. if iNdEx >= l {
  13908. return io.ErrUnexpectedEOF
  13909. }
  13910. b := dAtA[iNdEx]
  13911. iNdEx++
  13912. m.Typ |= (int32(b) & 0x7F) << shift
  13913. if b < 0x80 {
  13914. break
  13915. }
  13916. }
  13917. case 3:
  13918. if wireType == 0 {
  13919. var v int64
  13920. for shift := uint(0); ; shift += 7 {
  13921. if shift >= 64 {
  13922. return ErrIntOverflowApi
  13923. }
  13924. if iNdEx >= l {
  13925. return io.ErrUnexpectedEOF
  13926. }
  13927. b := dAtA[iNdEx]
  13928. iNdEx++
  13929. v |= (int64(b) & 0x7F) << shift
  13930. if b < 0x80 {
  13931. break
  13932. }
  13933. }
  13934. m.Fids = append(m.Fids, v)
  13935. } else if wireType == 2 {
  13936. var packedLen int
  13937. for shift := uint(0); ; shift += 7 {
  13938. if shift >= 64 {
  13939. return ErrIntOverflowApi
  13940. }
  13941. if iNdEx >= l {
  13942. return io.ErrUnexpectedEOF
  13943. }
  13944. b := dAtA[iNdEx]
  13945. iNdEx++
  13946. packedLen |= (int(b) & 0x7F) << shift
  13947. if b < 0x80 {
  13948. break
  13949. }
  13950. }
  13951. if packedLen < 0 {
  13952. return ErrInvalidLengthApi
  13953. }
  13954. postIndex := iNdEx + packedLen
  13955. if postIndex > l {
  13956. return io.ErrUnexpectedEOF
  13957. }
  13958. for iNdEx < postIndex {
  13959. var v int64
  13960. for shift := uint(0); ; shift += 7 {
  13961. if shift >= 64 {
  13962. return ErrIntOverflowApi
  13963. }
  13964. if iNdEx >= l {
  13965. return io.ErrUnexpectedEOF
  13966. }
  13967. b := dAtA[iNdEx]
  13968. iNdEx++
  13969. v |= (int64(b) & 0x7F) << shift
  13970. if b < 0x80 {
  13971. break
  13972. }
  13973. }
  13974. m.Fids = append(m.Fids, v)
  13975. }
  13976. } else {
  13977. return fmt.Errorf("proto: wrong wireType = %d for field Fids", wireType)
  13978. }
  13979. case 4:
  13980. if wireType != 0 {
  13981. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  13982. }
  13983. m.Mid = 0
  13984. for shift := uint(0); ; shift += 7 {
  13985. if shift >= 64 {
  13986. return ErrIntOverflowApi
  13987. }
  13988. if iNdEx >= l {
  13989. return io.ErrUnexpectedEOF
  13990. }
  13991. b := dAtA[iNdEx]
  13992. iNdEx++
  13993. m.Mid |= (int64(b) & 0x7F) << shift
  13994. if b < 0x80 {
  13995. break
  13996. }
  13997. }
  13998. case 5:
  13999. if wireType != 0 {
  14000. return fmt.Errorf("proto: wrong wireType = %d for field Otype", wireType)
  14001. }
  14002. m.Otype = 0
  14003. for shift := uint(0); ; shift += 7 {
  14004. if shift >= 64 {
  14005. return ErrIntOverflowApi
  14006. }
  14007. if iNdEx >= l {
  14008. return io.ErrUnexpectedEOF
  14009. }
  14010. b := dAtA[iNdEx]
  14011. iNdEx++
  14012. m.Otype |= (int32(b) & 0x7F) << shift
  14013. if b < 0x80 {
  14014. break
  14015. }
  14016. }
  14017. default:
  14018. iNdEx = preIndex
  14019. skippy, err := skipApi(dAtA[iNdEx:])
  14020. if err != nil {
  14021. return err
  14022. }
  14023. if skippy < 0 {
  14024. return ErrInvalidLengthApi
  14025. }
  14026. if (iNdEx + skippy) > l {
  14027. return io.ErrUnexpectedEOF
  14028. }
  14029. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  14030. iNdEx += skippy
  14031. }
  14032. }
  14033. if iNdEx > l {
  14034. return io.ErrUnexpectedEOF
  14035. }
  14036. return nil
  14037. }
  14038. func (m *SortFavsReq) Unmarshal(dAtA []byte) error {
  14039. l := len(dAtA)
  14040. iNdEx := 0
  14041. for iNdEx < l {
  14042. preIndex := iNdEx
  14043. var wire uint64
  14044. for shift := uint(0); ; shift += 7 {
  14045. if shift >= 64 {
  14046. return ErrIntOverflowApi
  14047. }
  14048. if iNdEx >= l {
  14049. return io.ErrUnexpectedEOF
  14050. }
  14051. b := dAtA[iNdEx]
  14052. iNdEx++
  14053. wire |= (uint64(b) & 0x7F) << shift
  14054. if b < 0x80 {
  14055. break
  14056. }
  14057. }
  14058. fieldNum := int32(wire >> 3)
  14059. wireType := int(wire & 0x7)
  14060. if wireType == 4 {
  14061. return fmt.Errorf("proto: SortFavsReq: wiretype end group for non-group")
  14062. }
  14063. if fieldNum <= 0 {
  14064. return fmt.Errorf("proto: SortFavsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  14065. }
  14066. switch fieldNum {
  14067. case 1:
  14068. if wireType != 2 {
  14069. return fmt.Errorf("proto: wrong wireType = %d for field Sorts", wireType)
  14070. }
  14071. var msglen int
  14072. for shift := uint(0); ; shift += 7 {
  14073. if shift >= 64 {
  14074. return ErrIntOverflowApi
  14075. }
  14076. if iNdEx >= l {
  14077. return io.ErrUnexpectedEOF
  14078. }
  14079. b := dAtA[iNdEx]
  14080. iNdEx++
  14081. msglen |= (int(b) & 0x7F) << shift
  14082. if b < 0x80 {
  14083. break
  14084. }
  14085. }
  14086. if msglen < 0 {
  14087. return ErrInvalidLengthApi
  14088. }
  14089. postIndex := iNdEx + msglen
  14090. if postIndex > l {
  14091. return io.ErrUnexpectedEOF
  14092. }
  14093. m.Sorts = append(m.Sorts, &SortFav{})
  14094. if err := m.Sorts[len(m.Sorts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  14095. return err
  14096. }
  14097. iNdEx = postIndex
  14098. case 2:
  14099. if wireType != 0 {
  14100. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  14101. }
  14102. m.Mid = 0
  14103. for shift := uint(0); ; shift += 7 {
  14104. if shift >= 64 {
  14105. return ErrIntOverflowApi
  14106. }
  14107. if iNdEx >= l {
  14108. return io.ErrUnexpectedEOF
  14109. }
  14110. b := dAtA[iNdEx]
  14111. iNdEx++
  14112. m.Mid |= (int64(b) & 0x7F) << shift
  14113. if b < 0x80 {
  14114. break
  14115. }
  14116. }
  14117. case 3:
  14118. if wireType != 0 {
  14119. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  14120. }
  14121. m.Fid = 0
  14122. for shift := uint(0); ; shift += 7 {
  14123. if shift >= 64 {
  14124. return ErrIntOverflowApi
  14125. }
  14126. if iNdEx >= l {
  14127. return io.ErrUnexpectedEOF
  14128. }
  14129. b := dAtA[iNdEx]
  14130. iNdEx++
  14131. m.Fid |= (int64(b) & 0x7F) << shift
  14132. if b < 0x80 {
  14133. break
  14134. }
  14135. }
  14136. case 4:
  14137. if wireType != 0 {
  14138. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  14139. }
  14140. m.Typ = 0
  14141. for shift := uint(0); ; shift += 7 {
  14142. if shift >= 64 {
  14143. return ErrIntOverflowApi
  14144. }
  14145. if iNdEx >= l {
  14146. return io.ErrUnexpectedEOF
  14147. }
  14148. b := dAtA[iNdEx]
  14149. iNdEx++
  14150. m.Typ |= (int32(b) & 0x7F) << shift
  14151. if b < 0x80 {
  14152. break
  14153. }
  14154. }
  14155. default:
  14156. iNdEx = preIndex
  14157. skippy, err := skipApi(dAtA[iNdEx:])
  14158. if err != nil {
  14159. return err
  14160. }
  14161. if skippy < 0 {
  14162. return ErrInvalidLengthApi
  14163. }
  14164. if (iNdEx + skippy) > l {
  14165. return io.ErrUnexpectedEOF
  14166. }
  14167. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  14168. iNdEx += skippy
  14169. }
  14170. }
  14171. if iNdEx > l {
  14172. return io.ErrUnexpectedEOF
  14173. }
  14174. return nil
  14175. }
  14176. func (m *SortFav) Unmarshal(dAtA []byte) error {
  14177. l := len(dAtA)
  14178. iNdEx := 0
  14179. for iNdEx < l {
  14180. preIndex := iNdEx
  14181. var wire uint64
  14182. for shift := uint(0); ; shift += 7 {
  14183. if shift >= 64 {
  14184. return ErrIntOverflowApi
  14185. }
  14186. if iNdEx >= l {
  14187. return io.ErrUnexpectedEOF
  14188. }
  14189. b := dAtA[iNdEx]
  14190. iNdEx++
  14191. wire |= (uint64(b) & 0x7F) << shift
  14192. if b < 0x80 {
  14193. break
  14194. }
  14195. }
  14196. fieldNum := int32(wire >> 3)
  14197. wireType := int(wire & 0x7)
  14198. if wireType == 4 {
  14199. return fmt.Errorf("proto: SortFav: wiretype end group for non-group")
  14200. }
  14201. if fieldNum <= 0 {
  14202. return fmt.Errorf("proto: SortFav: illegal tag %d (wire type %d)", fieldNum, wire)
  14203. }
  14204. switch fieldNum {
  14205. case 1:
  14206. if wireType != 2 {
  14207. return fmt.Errorf("proto: wrong wireType = %d for field Pre", wireType)
  14208. }
  14209. var msglen int
  14210. for shift := uint(0); ; shift += 7 {
  14211. if shift >= 64 {
  14212. return ErrIntOverflowApi
  14213. }
  14214. if iNdEx >= l {
  14215. return io.ErrUnexpectedEOF
  14216. }
  14217. b := dAtA[iNdEx]
  14218. iNdEx++
  14219. msglen |= (int(b) & 0x7F) << shift
  14220. if b < 0x80 {
  14221. break
  14222. }
  14223. }
  14224. if msglen < 0 {
  14225. return ErrInvalidLengthApi
  14226. }
  14227. postIndex := iNdEx + msglen
  14228. if postIndex > l {
  14229. return io.ErrUnexpectedEOF
  14230. }
  14231. if m.Pre == nil {
  14232. m.Pre = &model.Resource{}
  14233. }
  14234. if err := m.Pre.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  14235. return err
  14236. }
  14237. iNdEx = postIndex
  14238. case 2:
  14239. if wireType != 2 {
  14240. return fmt.Errorf("proto: wrong wireType = %d for field Insert", wireType)
  14241. }
  14242. var msglen int
  14243. for shift := uint(0); ; shift += 7 {
  14244. if shift >= 64 {
  14245. return ErrIntOverflowApi
  14246. }
  14247. if iNdEx >= l {
  14248. return io.ErrUnexpectedEOF
  14249. }
  14250. b := dAtA[iNdEx]
  14251. iNdEx++
  14252. msglen |= (int(b) & 0x7F) << shift
  14253. if b < 0x80 {
  14254. break
  14255. }
  14256. }
  14257. if msglen < 0 {
  14258. return ErrInvalidLengthApi
  14259. }
  14260. postIndex := iNdEx + msglen
  14261. if postIndex > l {
  14262. return io.ErrUnexpectedEOF
  14263. }
  14264. if m.Insert == nil {
  14265. m.Insert = &model.Resource{}
  14266. }
  14267. if err := m.Insert.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  14268. return err
  14269. }
  14270. iNdEx = postIndex
  14271. default:
  14272. iNdEx = preIndex
  14273. skippy, err := skipApi(dAtA[iNdEx:])
  14274. if err != nil {
  14275. return err
  14276. }
  14277. if skippy < 0 {
  14278. return ErrInvalidLengthApi
  14279. }
  14280. if (iNdEx + skippy) > l {
  14281. return io.ErrUnexpectedEOF
  14282. }
  14283. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  14284. iNdEx += skippy
  14285. }
  14286. }
  14287. if iNdEx > l {
  14288. return io.ErrUnexpectedEOF
  14289. }
  14290. return nil
  14291. }
  14292. func (m *UpFolderNameReq) Unmarshal(dAtA []byte) error {
  14293. l := len(dAtA)
  14294. iNdEx := 0
  14295. for iNdEx < l {
  14296. preIndex := iNdEx
  14297. var wire uint64
  14298. for shift := uint(0); ; shift += 7 {
  14299. if shift >= 64 {
  14300. return ErrIntOverflowApi
  14301. }
  14302. if iNdEx >= l {
  14303. return io.ErrUnexpectedEOF
  14304. }
  14305. b := dAtA[iNdEx]
  14306. iNdEx++
  14307. wire |= (uint64(b) & 0x7F) << shift
  14308. if b < 0x80 {
  14309. break
  14310. }
  14311. }
  14312. fieldNum := int32(wire >> 3)
  14313. wireType := int(wire & 0x7)
  14314. if wireType == 4 {
  14315. return fmt.Errorf("proto: UpFolderNameReq: wiretype end group for non-group")
  14316. }
  14317. if fieldNum <= 0 {
  14318. return fmt.Errorf("proto: UpFolderNameReq: illegal tag %d (wire type %d)", fieldNum, wire)
  14319. }
  14320. switch fieldNum {
  14321. case 1:
  14322. if wireType != 0 {
  14323. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  14324. }
  14325. m.Typ = 0
  14326. for shift := uint(0); ; shift += 7 {
  14327. if shift >= 64 {
  14328. return ErrIntOverflowApi
  14329. }
  14330. if iNdEx >= l {
  14331. return io.ErrUnexpectedEOF
  14332. }
  14333. b := dAtA[iNdEx]
  14334. iNdEx++
  14335. m.Typ |= (int32(b) & 0x7F) << shift
  14336. if b < 0x80 {
  14337. break
  14338. }
  14339. }
  14340. case 2:
  14341. if wireType != 0 {
  14342. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  14343. }
  14344. m.Fid = 0
  14345. for shift := uint(0); ; shift += 7 {
  14346. if shift >= 64 {
  14347. return ErrIntOverflowApi
  14348. }
  14349. if iNdEx >= l {
  14350. return io.ErrUnexpectedEOF
  14351. }
  14352. b := dAtA[iNdEx]
  14353. iNdEx++
  14354. m.Fid |= (int64(b) & 0x7F) << shift
  14355. if b < 0x80 {
  14356. break
  14357. }
  14358. }
  14359. case 3:
  14360. if wireType != 0 {
  14361. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  14362. }
  14363. m.Mid = 0
  14364. for shift := uint(0); ; shift += 7 {
  14365. if shift >= 64 {
  14366. return ErrIntOverflowApi
  14367. }
  14368. if iNdEx >= l {
  14369. return io.ErrUnexpectedEOF
  14370. }
  14371. b := dAtA[iNdEx]
  14372. iNdEx++
  14373. m.Mid |= (int64(b) & 0x7F) << shift
  14374. if b < 0x80 {
  14375. break
  14376. }
  14377. }
  14378. case 4:
  14379. if wireType != 2 {
  14380. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  14381. }
  14382. var stringLen uint64
  14383. for shift := uint(0); ; shift += 7 {
  14384. if shift >= 64 {
  14385. return ErrIntOverflowApi
  14386. }
  14387. if iNdEx >= l {
  14388. return io.ErrUnexpectedEOF
  14389. }
  14390. b := dAtA[iNdEx]
  14391. iNdEx++
  14392. stringLen |= (uint64(b) & 0x7F) << shift
  14393. if b < 0x80 {
  14394. break
  14395. }
  14396. }
  14397. intStringLen := int(stringLen)
  14398. if intStringLen < 0 {
  14399. return ErrInvalidLengthApi
  14400. }
  14401. postIndex := iNdEx + intStringLen
  14402. if postIndex > l {
  14403. return io.ErrUnexpectedEOF
  14404. }
  14405. m.Name = string(dAtA[iNdEx:postIndex])
  14406. iNdEx = postIndex
  14407. case 5:
  14408. if wireType != 2 {
  14409. return fmt.Errorf("proto: wrong wireType = %d for field Cookie", wireType)
  14410. }
  14411. var stringLen uint64
  14412. for shift := uint(0); ; shift += 7 {
  14413. if shift >= 64 {
  14414. return ErrIntOverflowApi
  14415. }
  14416. if iNdEx >= l {
  14417. return io.ErrUnexpectedEOF
  14418. }
  14419. b := dAtA[iNdEx]
  14420. iNdEx++
  14421. stringLen |= (uint64(b) & 0x7F) << shift
  14422. if b < 0x80 {
  14423. break
  14424. }
  14425. }
  14426. intStringLen := int(stringLen)
  14427. if intStringLen < 0 {
  14428. return ErrInvalidLengthApi
  14429. }
  14430. postIndex := iNdEx + intStringLen
  14431. if postIndex > l {
  14432. return io.ErrUnexpectedEOF
  14433. }
  14434. m.Cookie = string(dAtA[iNdEx:postIndex])
  14435. iNdEx = postIndex
  14436. case 6:
  14437. if wireType != 2 {
  14438. return fmt.Errorf("proto: wrong wireType = %d for field AccessKey", wireType)
  14439. }
  14440. var stringLen uint64
  14441. for shift := uint(0); ; shift += 7 {
  14442. if shift >= 64 {
  14443. return ErrIntOverflowApi
  14444. }
  14445. if iNdEx >= l {
  14446. return io.ErrUnexpectedEOF
  14447. }
  14448. b := dAtA[iNdEx]
  14449. iNdEx++
  14450. stringLen |= (uint64(b) & 0x7F) << shift
  14451. if b < 0x80 {
  14452. break
  14453. }
  14454. }
  14455. intStringLen := int(stringLen)
  14456. if intStringLen < 0 {
  14457. return ErrInvalidLengthApi
  14458. }
  14459. postIndex := iNdEx + intStringLen
  14460. if postIndex > l {
  14461. return io.ErrUnexpectedEOF
  14462. }
  14463. m.AccessKey = string(dAtA[iNdEx:postIndex])
  14464. iNdEx = postIndex
  14465. default:
  14466. iNdEx = preIndex
  14467. skippy, err := skipApi(dAtA[iNdEx:])
  14468. if err != nil {
  14469. return err
  14470. }
  14471. if skippy < 0 {
  14472. return ErrInvalidLengthApi
  14473. }
  14474. if (iNdEx + skippy) > l {
  14475. return io.ErrUnexpectedEOF
  14476. }
  14477. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  14478. iNdEx += skippy
  14479. }
  14480. }
  14481. if iNdEx > l {
  14482. return io.ErrUnexpectedEOF
  14483. }
  14484. return nil
  14485. }
  14486. func (m *UpFolderAttrReq) Unmarshal(dAtA []byte) error {
  14487. l := len(dAtA)
  14488. iNdEx := 0
  14489. for iNdEx < l {
  14490. preIndex := iNdEx
  14491. var wire uint64
  14492. for shift := uint(0); ; shift += 7 {
  14493. if shift >= 64 {
  14494. return ErrIntOverflowApi
  14495. }
  14496. if iNdEx >= l {
  14497. return io.ErrUnexpectedEOF
  14498. }
  14499. b := dAtA[iNdEx]
  14500. iNdEx++
  14501. wire |= (uint64(b) & 0x7F) << shift
  14502. if b < 0x80 {
  14503. break
  14504. }
  14505. }
  14506. fieldNum := int32(wire >> 3)
  14507. wireType := int(wire & 0x7)
  14508. if wireType == 4 {
  14509. return fmt.Errorf("proto: UpFolderAttrReq: wiretype end group for non-group")
  14510. }
  14511. if fieldNum <= 0 {
  14512. return fmt.Errorf("proto: UpFolderAttrReq: illegal tag %d (wire type %d)", fieldNum, wire)
  14513. }
  14514. switch fieldNum {
  14515. case 1:
  14516. if wireType != 0 {
  14517. return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType)
  14518. }
  14519. m.Typ = 0
  14520. for shift := uint(0); ; shift += 7 {
  14521. if shift >= 64 {
  14522. return ErrIntOverflowApi
  14523. }
  14524. if iNdEx >= l {
  14525. return io.ErrUnexpectedEOF
  14526. }
  14527. b := dAtA[iNdEx]
  14528. iNdEx++
  14529. m.Typ |= (int32(b) & 0x7F) << shift
  14530. if b < 0x80 {
  14531. break
  14532. }
  14533. }
  14534. case 2:
  14535. if wireType != 0 {
  14536. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  14537. }
  14538. m.Fid = 0
  14539. for shift := uint(0); ; shift += 7 {
  14540. if shift >= 64 {
  14541. return ErrIntOverflowApi
  14542. }
  14543. if iNdEx >= l {
  14544. return io.ErrUnexpectedEOF
  14545. }
  14546. b := dAtA[iNdEx]
  14547. iNdEx++
  14548. m.Fid |= (int64(b) & 0x7F) << shift
  14549. if b < 0x80 {
  14550. break
  14551. }
  14552. }
  14553. case 3:
  14554. if wireType != 0 {
  14555. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  14556. }
  14557. m.Mid = 0
  14558. for shift := uint(0); ; shift += 7 {
  14559. if shift >= 64 {
  14560. return ErrIntOverflowApi
  14561. }
  14562. if iNdEx >= l {
  14563. return io.ErrUnexpectedEOF
  14564. }
  14565. b := dAtA[iNdEx]
  14566. iNdEx++
  14567. m.Mid |= (int64(b) & 0x7F) << shift
  14568. if b < 0x80 {
  14569. break
  14570. }
  14571. }
  14572. case 4:
  14573. if wireType != 0 {
  14574. return fmt.Errorf("proto: wrong wireType = %d for field Public", wireType)
  14575. }
  14576. m.Public = 0
  14577. for shift := uint(0); ; shift += 7 {
  14578. if shift >= 64 {
  14579. return ErrIntOverflowApi
  14580. }
  14581. if iNdEx >= l {
  14582. return io.ErrUnexpectedEOF
  14583. }
  14584. b := dAtA[iNdEx]
  14585. iNdEx++
  14586. m.Public |= (int32(b) & 0x7F) << shift
  14587. if b < 0x80 {
  14588. break
  14589. }
  14590. }
  14591. default:
  14592. iNdEx = preIndex
  14593. skippy, err := skipApi(dAtA[iNdEx:])
  14594. if err != nil {
  14595. return err
  14596. }
  14597. if skippy < 0 {
  14598. return ErrInvalidLengthApi
  14599. }
  14600. if (iNdEx + skippy) > l {
  14601. return io.ErrUnexpectedEOF
  14602. }
  14603. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  14604. iNdEx += skippy
  14605. }
  14606. }
  14607. if iNdEx > l {
  14608. return io.ErrUnexpectedEOF
  14609. }
  14610. return nil
  14611. }
  14612. func (m *RecentResourcesReq) Unmarshal(dAtA []byte) error {
  14613. l := len(dAtA)
  14614. iNdEx := 0
  14615. for iNdEx < l {
  14616. preIndex := iNdEx
  14617. var wire uint64
  14618. for shift := uint(0); ; shift += 7 {
  14619. if shift >= 64 {
  14620. return ErrIntOverflowApi
  14621. }
  14622. if iNdEx >= l {
  14623. return io.ErrUnexpectedEOF
  14624. }
  14625. b := dAtA[iNdEx]
  14626. iNdEx++
  14627. wire |= (uint64(b) & 0x7F) << shift
  14628. if b < 0x80 {
  14629. break
  14630. }
  14631. }
  14632. fieldNum := int32(wire >> 3)
  14633. wireType := int(wire & 0x7)
  14634. if wireType == 4 {
  14635. return fmt.Errorf("proto: RecentResourcesReq: wiretype end group for non-group")
  14636. }
  14637. if fieldNum <= 0 {
  14638. return fmt.Errorf("proto: RecentResourcesReq: illegal tag %d (wire type %d)", fieldNum, wire)
  14639. }
  14640. switch fieldNum {
  14641. case 2:
  14642. if wireType != 0 {
  14643. return fmt.Errorf("proto: wrong wireType = %d for field Tp", wireType)
  14644. }
  14645. m.Tp = 0
  14646. for shift := uint(0); ; shift += 7 {
  14647. if shift >= 64 {
  14648. return ErrIntOverflowApi
  14649. }
  14650. if iNdEx >= l {
  14651. return io.ErrUnexpectedEOF
  14652. }
  14653. b := dAtA[iNdEx]
  14654. iNdEx++
  14655. m.Tp |= (int32(b) & 0x7F) << shift
  14656. if b < 0x80 {
  14657. break
  14658. }
  14659. }
  14660. case 3:
  14661. if wireType != 0 {
  14662. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  14663. }
  14664. m.Mid = 0
  14665. for shift := uint(0); ; shift += 7 {
  14666. if shift >= 64 {
  14667. return ErrIntOverflowApi
  14668. }
  14669. if iNdEx >= l {
  14670. return io.ErrUnexpectedEOF
  14671. }
  14672. b := dAtA[iNdEx]
  14673. iNdEx++
  14674. m.Mid |= (int64(b) & 0x7F) << shift
  14675. if b < 0x80 {
  14676. break
  14677. }
  14678. }
  14679. case 4:
  14680. if wireType != 0 {
  14681. return fmt.Errorf("proto: wrong wireType = %d for field Size_", wireType)
  14682. }
  14683. m.Size_ = 0
  14684. for shift := uint(0); ; shift += 7 {
  14685. if shift >= 64 {
  14686. return ErrIntOverflowApi
  14687. }
  14688. if iNdEx >= l {
  14689. return io.ErrUnexpectedEOF
  14690. }
  14691. b := dAtA[iNdEx]
  14692. iNdEx++
  14693. m.Size_ |= (int32(b) & 0x7F) << shift
  14694. if b < 0x80 {
  14695. break
  14696. }
  14697. }
  14698. default:
  14699. iNdEx = preIndex
  14700. skippy, err := skipApi(dAtA[iNdEx:])
  14701. if err != nil {
  14702. return err
  14703. }
  14704. if skippy < 0 {
  14705. return ErrInvalidLengthApi
  14706. }
  14707. if (iNdEx + skippy) > l {
  14708. return io.ErrUnexpectedEOF
  14709. }
  14710. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  14711. iNdEx += skippy
  14712. }
  14713. }
  14714. if iNdEx > l {
  14715. return io.ErrUnexpectedEOF
  14716. }
  14717. return nil
  14718. }
  14719. func (m *RecentResourcesReply) Unmarshal(dAtA []byte) error {
  14720. l := len(dAtA)
  14721. iNdEx := 0
  14722. for iNdEx < l {
  14723. preIndex := iNdEx
  14724. var wire uint64
  14725. for shift := uint(0); ; shift += 7 {
  14726. if shift >= 64 {
  14727. return ErrIntOverflowApi
  14728. }
  14729. if iNdEx >= l {
  14730. return io.ErrUnexpectedEOF
  14731. }
  14732. b := dAtA[iNdEx]
  14733. iNdEx++
  14734. wire |= (uint64(b) & 0x7F) << shift
  14735. if b < 0x80 {
  14736. break
  14737. }
  14738. }
  14739. fieldNum := int32(wire >> 3)
  14740. wireType := int(wire & 0x7)
  14741. if wireType == 4 {
  14742. return fmt.Errorf("proto: RecentResourcesReply: wiretype end group for non-group")
  14743. }
  14744. if fieldNum <= 0 {
  14745. return fmt.Errorf("proto: RecentResourcesReply: illegal tag %d (wire type %d)", fieldNum, wire)
  14746. }
  14747. switch fieldNum {
  14748. case 1:
  14749. if wireType != 2 {
  14750. return fmt.Errorf("proto: wrong wireType = %d for field Res", wireType)
  14751. }
  14752. var msglen int
  14753. for shift := uint(0); ; shift += 7 {
  14754. if shift >= 64 {
  14755. return ErrIntOverflowApi
  14756. }
  14757. if iNdEx >= l {
  14758. return io.ErrUnexpectedEOF
  14759. }
  14760. b := dAtA[iNdEx]
  14761. iNdEx++
  14762. msglen |= (int(b) & 0x7F) << shift
  14763. if b < 0x80 {
  14764. break
  14765. }
  14766. }
  14767. if msglen < 0 {
  14768. return ErrInvalidLengthApi
  14769. }
  14770. postIndex := iNdEx + msglen
  14771. if postIndex > l {
  14772. return io.ErrUnexpectedEOF
  14773. }
  14774. m.Res = append(m.Res, &model.Resource{})
  14775. if err := m.Res[len(m.Res)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  14776. return err
  14777. }
  14778. iNdEx = postIndex
  14779. default:
  14780. iNdEx = preIndex
  14781. skippy, err := skipApi(dAtA[iNdEx:])
  14782. if err != nil {
  14783. return err
  14784. }
  14785. if skippy < 0 {
  14786. return ErrInvalidLengthApi
  14787. }
  14788. if (iNdEx + skippy) > l {
  14789. return io.ErrUnexpectedEOF
  14790. }
  14791. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  14792. iNdEx += skippy
  14793. }
  14794. }
  14795. if iNdEx > l {
  14796. return io.ErrUnexpectedEOF
  14797. }
  14798. return nil
  14799. }
  14800. func skipApi(dAtA []byte) (n int, err error) {
  14801. l := len(dAtA)
  14802. iNdEx := 0
  14803. for iNdEx < l {
  14804. var wire uint64
  14805. for shift := uint(0); ; shift += 7 {
  14806. if shift >= 64 {
  14807. return 0, ErrIntOverflowApi
  14808. }
  14809. if iNdEx >= l {
  14810. return 0, io.ErrUnexpectedEOF
  14811. }
  14812. b := dAtA[iNdEx]
  14813. iNdEx++
  14814. wire |= (uint64(b) & 0x7F) << shift
  14815. if b < 0x80 {
  14816. break
  14817. }
  14818. }
  14819. wireType := int(wire & 0x7)
  14820. switch wireType {
  14821. case 0:
  14822. for shift := uint(0); ; shift += 7 {
  14823. if shift >= 64 {
  14824. return 0, ErrIntOverflowApi
  14825. }
  14826. if iNdEx >= l {
  14827. return 0, io.ErrUnexpectedEOF
  14828. }
  14829. iNdEx++
  14830. if dAtA[iNdEx-1] < 0x80 {
  14831. break
  14832. }
  14833. }
  14834. return iNdEx, nil
  14835. case 1:
  14836. iNdEx += 8
  14837. return iNdEx, nil
  14838. case 2:
  14839. var length int
  14840. for shift := uint(0); ; shift += 7 {
  14841. if shift >= 64 {
  14842. return 0, ErrIntOverflowApi
  14843. }
  14844. if iNdEx >= l {
  14845. return 0, io.ErrUnexpectedEOF
  14846. }
  14847. b := dAtA[iNdEx]
  14848. iNdEx++
  14849. length |= (int(b) & 0x7F) << shift
  14850. if b < 0x80 {
  14851. break
  14852. }
  14853. }
  14854. iNdEx += length
  14855. if length < 0 {
  14856. return 0, ErrInvalidLengthApi
  14857. }
  14858. return iNdEx, nil
  14859. case 3:
  14860. for {
  14861. var innerWire uint64
  14862. var start int = iNdEx
  14863. for shift := uint(0); ; shift += 7 {
  14864. if shift >= 64 {
  14865. return 0, ErrIntOverflowApi
  14866. }
  14867. if iNdEx >= l {
  14868. return 0, io.ErrUnexpectedEOF
  14869. }
  14870. b := dAtA[iNdEx]
  14871. iNdEx++
  14872. innerWire |= (uint64(b) & 0x7F) << shift
  14873. if b < 0x80 {
  14874. break
  14875. }
  14876. }
  14877. innerWireType := int(innerWire & 0x7)
  14878. if innerWireType == 4 {
  14879. break
  14880. }
  14881. next, err := skipApi(dAtA[start:])
  14882. if err != nil {
  14883. return 0, err
  14884. }
  14885. iNdEx = start + next
  14886. }
  14887. return iNdEx, nil
  14888. case 4:
  14889. return iNdEx, nil
  14890. case 5:
  14891. iNdEx += 4
  14892. return iNdEx, nil
  14893. default:
  14894. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  14895. }
  14896. }
  14897. panic("unreachable")
  14898. }
  14899. var (
  14900. ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
  14901. ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
  14902. )
  14903. func init() {
  14904. proto.RegisterFile("app/service/main/favorite/api/api.proto", fileDescriptor_api_ba1420d9f4484993)
  14905. }
  14906. var fileDescriptor_api_ba1420d9f4484993 = []byte{
  14907. // 1989 bytes of a gzipped FileDescriptorProto
  14908. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xdd, 0x8e, 0x23, 0x47,
  14909. 0x15, 0x56, 0xbb, 0xdb, 0x7f, 0xc7, 0x63, 0xcf, 0x6c, 0x67, 0xb4, 0x58, 0x06, 0x2d, 0x9b, 0x0e,
  14910. 0x64, 0x67, 0x77, 0x13, 0x3b, 0x6c, 0x10, 0xb0, 0x08, 0x2e, 0x26, 0x3b, 0xe3, 0x68, 0x32, 0x4c,
  14911. 0x16, 0x7a, 0x76, 0x44, 0x44, 0x14, 0xa1, 0x1e, 0x77, 0xd9, 0x69, 0x4d, 0xff, 0xa5, 0xbb, 0xed,
  14912. 0xc8, 0x5c, 0x70, 0xc1, 0x25, 0x02, 0x24, 0x1e, 0x80, 0x27, 0xe0, 0x1d, 0xb8, 0xe0, 0x02, 0x71,
  14913. 0xc1, 0x05, 0x8f, 0x00, 0xfb, 0x24, 0xa8, 0xfe, 0xba, 0xca, 0x6d, 0x77, 0xb9, 0x9d, 0xd9, 0x45,
  14914. 0xb9, 0xb0, 0x54, 0x55, 0xae, 0xfa, 0xce, 0x6f, 0x9d, 0x73, 0xea, 0x34, 0x3c, 0x70, 0xe2, 0x78,
  14915. 0x94, 0xa2, 0x64, 0xe1, 0x4d, 0xd0, 0x28, 0x70, 0xbc, 0x70, 0x34, 0x75, 0x16, 0x51, 0xe2, 0x65,
  14916. 0x68, 0xe4, 0xc4, 0x1e, 0xfe, 0x0d, 0xe3, 0x24, 0xca, 0x22, 0x73, 0x30, 0x89, 0x82, 0x60, 0x1e,
  14917. 0x7a, 0xd9, 0x72, 0xc8, 0xb6, 0x0f, 0xf9, 0xce, 0xc1, 0xbb, 0x33, 0x2f, 0xfb, 0x7c, 0x7e, 0x3d,
  14918. 0x9c, 0x44, 0xc1, 0x68, 0x16, 0xcd, 0xa2, 0x11, 0x39, 0x72, 0x3d, 0x9f, 0x92, 0x19, 0x99, 0x90,
  14919. 0x11, 0x85, 0x1a, 0x3c, 0x2c, 0xa7, 0x19, 0x44, 0x2e, 0xf2, 0xf1, 0x94, 0x6d, 0xfd, 0xe6, 0x2c,
  14920. 0x8a, 0x66, 0x3e, 0x12, 0x80, 0x28, 0x88, 0xb3, 0x25, 0xfd, 0xd3, 0xfa, 0x10, 0xda, 0x17, 0x78,
  14921. 0xff, 0xcf, 0x9d, 0x19, 0x32, 0x0f, 0x40, 0x0f, 0xe7, 0x41, 0x5f, 0xbb, 0xaf, 0x1d, 0xd5, 0x6d,
  14922. 0x3c, 0x34, 0x4d, 0x30, 0x52, 0xef, 0x37, 0xa8, 0x5f, 0x23, 0x4b, 0x64, 0x6c, 0x1e, 0x42, 0x7d,
  14923. 0x12, 0xcd, 0xc3, 0xac, 0xaf, 0x93, 0x45, 0x3a, 0xb1, 0xfe, 0xaa, 0x41, 0x97, 0x20, 0x8d, 0x19,
  14924. 0x1f, 0x66, 0x0f, 0x6a, 0x9e, 0x4b, 0xc0, 0x74, 0xbb, 0xe6, 0xb9, 0x18, 0x3d, 0xf2, 0x5c, 0x02,
  14925. 0xa5, 0xdb, 0x78, 0x88, 0x57, 0x02, 0xcf, 0x25, 0x38, 0xba, 0x8d, 0x87, 0x78, 0x65, 0xea, 0xb9,
  14926. 0x7d, 0x83, 0xae, 0x4c, 0x3d, 0x17, 0x73, 0x90, 0x2d, 0x63, 0xd4, 0xaf, 0x53, 0x0e, 0xf0, 0x18,
  14927. 0x73, 0x90, 0x66, 0x4e, 0x86, 0xfa, 0x0d, 0xca, 0x01, 0x99, 0x10, 0xbe, 0x32, 0x2f, 0x40, 0xfd,
  14928. 0x26, 0x39, 0x4d, 0x27, 0x78, 0x35, 0x20, 0xab, 0x2d, 0xba, 0x4a, 0x26, 0xd6, 0xcf, 0xa0, 0xc7,
  14929. 0xc4, 0x4e, 0x32, 0x2f, 0xf3, 0xa2, 0x10, 0x53, 0xce, 0x18, 0xbb, 0x75, 0x1b, 0x0f, 0x31, 0xe5,
  14930. 0xd0, 0x09, 0xa8, 0xec, 0x6d, 0x9b, 0x8c, 0x4b, 0x64, 0xff, 0xbd, 0xc6, 0xe0, 0xb8, 0xec, 0xa9,
  14931. 0xf9, 0x14, 0x8c, 0xd8, 0x99, 0x21, 0x82, 0xd7, 0x79, 0xf2, 0xdd, 0x61, 0xb9, 0xe5, 0x87, 0xb9,
  14932. 0xfe, 0x6d, 0x72, 0xc4, 0xfc, 0x29, 0x18, 0xbe, 0x97, 0x66, 0xfd, 0xda, 0x7d, 0xfd, 0xa8, 0xf3,
  14933. 0xe4, 0xe1, 0xd6, 0xa3, 0x9c, 0xa8, 0x4d, 0x8e, 0x59, 0x5d, 0xe8, 0x1c, 0xbb, 0xee, 0xd8, 0x59,
  14934. 0xd8, 0x28, 0xf6, 0x97, 0xd6, 0x0c, 0xda, 0x7c, 0xfa, 0x05, 0x36, 0x49, 0x16, 0x33, 0x63, 0xd6,
  14935. 0xb2, 0xb8, 0x92, 0x01, 0x98, 0xd9, 0xea, 0xc2, 0x6c, 0x87, 0x50, 0x8f, 0x88, 0x4d, 0x98, 0xfa,
  14936. 0xc9, 0x04, 0xd3, 0x3d, 0x21, 0xcc, 0xe4, 0x74, 0xf9, 0xf4, 0xf5, 0xd2, 0xfd, 0x18, 0x7a, 0xb9,
  14937. 0xda, 0x09, 0x69, 0xf3, 0x27, 0xa0, 0x27, 0x28, 0x65, 0xaa, 0x7f, 0x54, 0x59, 0x7f, 0xa9, 0x8d,
  14938. 0x8f, 0x59, 0xff, 0xd0, 0x60, 0x4f, 0x02, 0xac, 0xc8, 0xfc, 0x5c, 0x30, 0x3f, 0x17, 0xe2, 0xd4,
  14939. 0x85, 0x38, 0x3d, 0xa8, 0xc5, 0x21, 0xe3, 0xbc, 0x16, 0x87, 0x64, 0x9e, 0x12, 0x57, 0xc5, 0xf3,
  14940. 0x94, 0xfb, 0x5f, 0x4b, 0xf8, 0x1f, 0xa6, 0xbb, 0xe8, 0xb7, 0x19, 0xdd, 0x85, 0xd9, 0x87, 0xe6,
  14941. 0x0d, 0x5a, 0x7e, 0x19, 0x25, 0x6e, 0x1f, 0x88, 0x4b, 0xf2, 0x29, 0x51, 0x4c, 0xe2, 0xa2, 0xa4,
  14942. 0xdf, 0x21, 0xeb, 0x74, 0x62, 0x9d, 0x43, 0xe7, 0x05, 0xf6, 0x88, 0xa2, 0x56, 0xf4, 0x4a, 0x5a,
  14943. 0xc9, 0x6f, 0x06, 0xd5, 0xca, 0x2f, 0xa0, 0xcd, 0xc1, 0x5e, 0x91, 0x46, 0xac, 0xb7, 0x60, 0xdf,
  14944. 0x46, 0x13, 0x14, 0x66, 0x63, 0x67, 0xc1, 0x78, 0x3c, 0x10, 0x3c, 0xea, 0x94, 0xee, 0x29, 0x74,
  14945. 0xe5, 0x4d, 0x55, 0x68, 0xf3, 0x98, 0x65, 0x88, 0x98, 0x65, 0xbd, 0x0d, 0xbd, 0xb3, 0x94, 0x58,
  14946. 0x15, 0xb9, 0x94, 0xd4, 0x21, 0xd4, 0xa7, 0xce, 0x02, 0xd1, 0x1b, 0xdf, 0xb2, 0xe9, 0xc4, 0x3a,
  14947. 0x81, 0x3d, 0x69, 0xdf, 0x17, 0xc4, 0x2a, 0x4b, 0x4e, 0x0e, 0x0f, 0x37, 0xcb, 0x1a, 0x09, 0x59,
  14948. 0x23, 0xcf, 0xb5, 0x3e, 0x83, 0x3b, 0x39, 0xca, 0x07, 0xcb, 0xb1, 0x47, 0xa0, 0x78, 0x20, 0xd3,
  14949. 0xa4, 0x40, 0xc6, 0xc0, 0x6a, 0x6b, 0x60, 0xfa, 0x4a, 0x90, 0x5c, 0xbd, 0x19, 0xd6, 0x5f, 0x34,
  14950. 0xd8, 0xcf, 0xf1, 0x99, 0xe6, 0x9e, 0x43, 0x83, 0x48, 0xc0, 0x0d, 0xfc, 0x43, 0x95, 0x81, 0x0b,
  14951. 0x87, 0x87, 0x63, 0x72, 0xf2, 0x34, 0xcc, 0x92, 0xa5, 0xcd, 0x60, 0x06, 0x4f, 0xa1, 0x23, 0x2d,
  14952. 0x63, 0x2e, 0x6e, 0xd0, 0x92, 0x45, 0x73, 0x3c, 0xc4, 0x0a, 0x5c, 0x38, 0xfe, 0x9c, 0xc6, 0xc7,
  14953. 0x96, 0x4d, 0x27, 0x3f, 0xae, 0xfd, 0x48, 0xb3, 0x3e, 0x84, 0xae, 0x4c, 0xa1, 0x9a, 0x16, 0x4d,
  14954. 0x30, 0x22, 0xcf, 0x4d, 0xfb, 0x06, 0xb1, 0x3d, 0x19, 0x5b, 0xef, 0xc3, 0xc1, 0x55, 0x8a, 0x92,
  14955. 0x71, 0xe4, 0xbb, 0x28, 0x61, 0x82, 0x7e, 0x5b, 0x76, 0xe3, 0xee, 0x90, 0x24, 0xbb, 0x21, 0xdd,
  14956. 0x41, 0x3d, 0xe6, 0x0f, 0x1a, 0xf4, 0x56, 0x4e, 0x55, 0xa6, 0xbf, 0x08, 0x72, 0x3d, 0x93, 0xf1,
  14957. 0x86, 0x10, 0x34, 0x80, 0x96, 0xe3, 0xfb, 0xcf, 0x48, 0x0a, 0x68, 0x10, 0xb9, 0xf3, 0xb9, 0x08,
  14958. 0x4f, 0x4d, 0x39, 0x3c, 0x3d, 0x81, 0x7d, 0xc1, 0x4d, 0x41, 0x04, 0xad, 0x44, 0x84, 0x39, 0x74,
  14959. 0xe5, 0x33, 0xb7, 0x12, 0xa0, 0x10, 0x86, 0x14, 0x02, 0x58, 0xff, 0xd2, 0x60, 0x0f, 0xe7, 0x8a,
  14960. 0x22, 0x59, 0x6d, 0x8d, 0x6c, 0x6d, 0x85, 0x2c, 0xc9, 0x92, 0xba, 0x94, 0x25, 0xef, 0x43, 0xc7,
  14961. 0x45, 0xe9, 0x24, 0xf1, 0x62, 0x1c, 0x40, 0x08, 0x47, 0x6d, 0x5b, 0x5e, 0xa2, 0x79, 0x74, 0x81,
  14962. 0x12, 0xc2, 0x5a, 0xdb, 0xa6, 0x13, 0xf3, 0x2e, 0x34, 0xe2, 0xf9, 0xb5, 0xef, 0x4d, 0x58, 0x9c,
  14963. 0x64, 0x33, 0xbc, 0x3e, 0x89, 0xa2, 0x1b, 0x8f, 0xaa, 0xb6, 0x6d, 0xb3, 0x99, 0xf9, 0x2d, 0x68,
  14964. 0x3b, 0x93, 0x09, 0x4a, 0xd3, 0x73, 0xb4, 0x24, 0x91, 0xb3, 0x6d, 0x8b, 0x05, 0xcb, 0x82, 0x9e,
  14965. 0x24, 0x0d, 0x0b, 0x2f, 0xd3, 0xbc, 0x24, 0x21, 0x57, 0xe9, 0xbf, 0x1a, 0xec, 0x5f, 0xc5, 0xae,
  14966. 0x93, 0xa1, 0x2d, 0x52, 0x4f, 0x85, 0xd4, 0xd3, 0x8d, 0x95, 0x0b, 0xd7, 0x83, 0x51, 0xae, 0x87,
  14967. 0xba, 0x42, 0x0f, 0x8d, 0xcd, 0x7a, 0x68, 0x96, 0xe8, 0xa1, 0x55, 0xae, 0x87, 0x76, 0x51, 0x0f,
  14968. 0x7f, 0xd7, 0xe0, 0xf0, 0xd8, 0x0d, 0xbc, 0xf0, 0xeb, 0x27, 0x68, 0x5e, 0xc8, 0x35, 0xe5, 0x42,
  14969. 0xce, 0x04, 0xc3, 0xc9, 0xb2, 0x84, 0xe5, 0x42, 0x32, 0xc6, 0x81, 0x19, 0x97, 0x13, 0x3b, 0xb9,
  14970. 0x26, 0x93, 0x46, 0x17, 0xe6, 0xfe, 0x25, 0x74, 0x2e, 0xe6, 0x7e, 0xe6, 0x1d, 0xbb, 0xee, 0x0e,
  14971. 0xfe, 0x4d, 0xe2, 0x92, 0x2e, 0xe2, 0xd2, 0x86, 0x90, 0xcc, 0x81, 0x4f, 0x90, 0xff, 0x6a, 0x81,
  14972. 0x3f, 0x02, 0xf3, 0x2c, 0x3c, 0x41, 0x53, 0x67, 0xee, 0x67, 0x3b, 0x4b, 0xbf, 0x9a, 0x49, 0xac,
  14973. 0x47, 0x70, 0xb8, 0x86, 0x85, 0xaf, 0x85, 0x09, 0x86, 0x97, 0x9e, 0x85, 0x2c, 0x13, 0x92, 0xb1,
  14974. 0x75, 0x0e, 0x77, 0x9e, 0x85, 0xd9, 0xe6, 0x38, 0xba, 0x4d, 0xac, 0x85, 0xf0, 0x18, 0x32, 0xb6,
  14975. 0x1e, 0xc3, 0x1b, 0x45, 0x30, 0x96, 0x82, 0x69, 0x31, 0xad, 0xc9, 0xc5, 0xf4, 0x9f, 0x34, 0x30,
  14976. 0xf0, 0xd6, 0xaf, 0xfa, 0x7e, 0xc0, 0x1c, 0x1a, 0x82, 0xc3, 0xdc, 0xc5, 0xea, 0x1b, 0xdf, 0x0a,
  14977. 0x8d, 0x8d, 0x6f, 0x85, 0xa6, 0xfc, 0x56, 0xf8, 0x9d, 0x06, 0xfb, 0x24, 0x15, 0x62, 0xae, 0x18,
  14978. 0xeb, 0xb7, 0x28, 0xef, 0xbf, 0x0f, 0xc6, 0x3c, 0x45, 0x09, 0x2b, 0xef, 0xef, 0xab, 0x8e, 0x62,
  14979. 0x82, 0x36, 0xd9, 0x6d, 0x5d, 0x41, 0x57, 0xe6, 0x81, 0x94, 0x13, 0x2f, 0xa4, 0x72, 0xe2, 0x05,
  14980. 0x2b, 0x27, 0x9e, 0x0b, 0x0d, 0x3d, 0xcf, 0xab, 0x4e, 0xbd, 0x50, 0x75, 0x1a, 0xbc, 0xea, 0xb4,
  14981. 0x3e, 0x82, 0x83, 0x4b, 0xc4, 0x9c, 0xe1, 0x32, 0x4a, 0x32, 0xa5, 0x95, 0x57, 0x83, 0xc0, 0x54,
  14982. 0xca, 0xd6, 0x78, 0x6c, 0x8d, 0x60, 0x6f, 0xb7, 0x4c, 0xfd, 0x39, 0x80, 0xe4, 0x5c, 0x3f, 0x00,
  14983. 0xdd, 0xcb, 0xcb, 0x97, 0xef, 0xa8, 0xd4, 0x42, 0x0f, 0x9d, 0x9d, 0xd8, 0x3a, 0xbb, 0x33, 0xdb,
  14984. 0x72, 0xa3, 0x35, 0x84, 0x16, 0x3f, 0xb4, 0x9e, 0x04, 0xd6, 0x9d, 0xd8, 0x9a, 0x43, 0xe7, 0x22,
  14985. 0x5a, 0x20, 0x5e, 0x73, 0x56, 0xf1, 0xfb, 0xbb, 0xd0, 0x88, 0x7c, 0x77, 0x9c, 0xd3, 0x65, 0x33,
  14986. 0xbc, 0x1e, 0xa2, 0x2f, 0xc7, 0xf9, 0xad, 0x66, 0xb3, 0xfc, 0xfa, 0xd7, 0xa5, 0x7a, 0xe7, 0x8f,
  14987. 0x1a, 0x74, 0x9e, 0x45, 0xf1, 0xb2, 0x9c, 0x2e, 0xa5, 0x72, 0x91, 0x93, 0x66, 0xb3, 0x0d, 0x16,
  14988. 0x12, 0xfc, 0x18, 0x25, 0xfc, 0xd4, 0x37, 0xf2, 0xd3, 0x90, 0xf8, 0x39, 0x85, 0xee, 0x33, 0x1f,
  14989. 0x39, 0xe1, 0x25, 0xbe, 0x33, 0x5f, 0x3d, 0xea, 0x7e, 0x0f, 0xf6, 0x65, 0x18, 0xec, 0x1b, 0xf7,
  14990. 0x00, 0x26, 0xf9, 0x12, 0xc3, 0x93, 0x56, 0xac, 0x73, 0x78, 0x83, 0x1c, 0x39, 0x0b, 0x17, 0x8e,
  14991. 0xef, 0xb9, 0xbb, 0x18, 0x62, 0x9d, 0x7e, 0x02, 0x07, 0x63, 0x67, 0x91, 0xd7, 0x02, 0x1c, 0x29,
  14992. 0x12, 0x5e, 0x10, 0x89, 0xd0, 0x21, 0xf9, 0x11, 0x77, 0x72, 0x5d, 0x38, 0x39, 0xa7, 0x67, 0x08,
  14993. 0x7a, 0x79, 0xd9, 0x57, 0x97, 0xcb, 0x3e, 0x4a, 0x33, 0x4f, 0x59, 0xff, 0x17, 0x9a, 0xbf, 0x85,
  14994. 0x0e, 0xbe, 0xc3, 0x5c, 0x59, 0x4f, 0xa1, 0x9e, 0x46, 0x49, 0xc6, 0xaf, 0xd4, 0x5b, 0xaa, 0x2b,
  14995. 0xc5, 0xce, 0xd9, 0xf4, 0x44, 0x15, 0xad, 0xae, 0x87, 0x5a, 0xeb, 0x0a, 0x9a, 0x0c, 0xc7, 0x7c,
  14996. 0x13, 0xf4, 0x38, 0xe1, 0xe1, 0x71, 0x9f, 0xdd, 0x7d, 0x1b, 0xa5, 0xd1, 0x3c, 0x99, 0x20, 0x1b,
  14997. 0xff, 0x67, 0x3e, 0x80, 0x86, 0x17, 0xa6, 0x28, 0xc9, 0x08, 0x99, 0x0d, 0xbb, 0xd8, 0xdf, 0xd6,
  14998. 0x9f, 0x49, 0x8d, 0x46, 0xf5, 0xf8, 0xb1, 0x13, 0xa0, 0x57, 0x5b, 0xba, 0x88, 0x9a, 0xaa, 0x5e,
  14999. 0x5e, 0x53, 0x35, 0x8a, 0x35, 0xd5, 0xaf, 0x05, 0x4b, 0xc7, 0x59, 0x76, 0x8b, 0x6a, 0x4a, 0x94,
  15000. 0x7a, 0x86, 0x5c, 0xea, 0xe1, 0xbc, 0x4f, 0xdf, 0xbd, 0x5c, 0x1d, 0xb7, 0x78, 0xfc, 0x3e, 0x85,
  15001. 0xc3, 0x35, 0x2c, 0x7c, 0x09, 0xdf, 0x94, 0x03, 0xf4, 0xba, 0x91, 0x12, 0x94, 0x3e, 0xf9, 0xdb,
  15002. 0x37, 0xa0, 0x95, 0x37, 0xf4, 0x3e, 0x83, 0x3b, 0x6b, 0x75, 0xa4, 0xf9, 0x9e, 0xca, 0xad, 0x36,
  15003. 0x95, 0x9d, 0x83, 0xbb, 0x43, 0xda, 0x90, 0x1c, 0xf2, 0x86, 0xe4, 0xf0, 0x34, 0x88, 0xb3, 0xa5,
  15004. 0x49, 0x53, 0x9c, 0xb8, 0x32, 0xe6, 0x3b, 0xca, 0x24, 0x50, 0xb8, 0x5d, 0x5b, 0x60, 0xc5, 0xed,
  15005. 0xdf, 0x0a, 0xbb, 0x12, 0x28, 0x4a, 0x61, 0x2f, 0x61, 0x4f, 0x76, 0x4a, 0xf3, 0xb1, 0x32, 0x91,
  15006. 0xaf, 0xba, 0x6f, 0x15, 0x50, 0xec, 0x56, 0xd5, 0x40, 0x99, 0x03, 0x96, 0x82, 0x7e, 0x0a, 0x07,
  15007. 0xc5, 0x58, 0x6a, 0x8e, 0x54, 0xc0, 0x1b, 0x22, 0x6f, 0x29, 0xb8, 0x0b, 0x20, 0x62, 0xbb, 0xf9,
  15008. 0x70, 0x2b, 0x2c, 0x4f, 0x25, 0x83, 0xc7, 0x55, 0xb7, 0x62, 0x4f, 0x3d, 0x87, 0x16, 0xcf, 0x8b,
  15009. 0xe6, 0x03, 0xe5, 0x41, 0x91, 0x3d, 0x4b, 0x59, 0x3e, 0x87, 0x16, 0x4f, 0xee, 0x6a, 0x30, 0xa9,
  15010. 0x04, 0x50, 0x79, 0xd7, 0x4a, 0x01, 0xa5, 0xf6, 0xae, 0x62, 0xad, 0xa5, 0x52, 0xab, 0x28, 0xf7,
  15011. 0xd4, 0x6a, 0x5d, 0x29, 0x0b, 0xd5, 0x6a, 0x2d, 0x56, 0xb1, 0x31, 0xf4, 0x56, 0xeb, 0x72, 0xf3,
  15012. 0x5d, 0xa5, 0x72, 0x8b, 0x0f, 0x82, 0xc1, 0x68, 0x97, 0xed, 0x98, 0x62, 0x00, 0xed, 0xfc, 0x09,
  15013. 0x62, 0x0e, 0x95, 0x3d, 0xaa, 0xb5, 0x57, 0xcf, 0xe0, 0xbd, 0x9d, 0xf6, 0x33, 0xbf, 0xe1, 0xcf,
  15014. 0xb2, 0x2d, 0xa6, 0x16, 0x8f, 0x37, 0xa5, 0xdf, 0xb0, 0xc7, 0x63, 0x05, 0x30, 0xfa, 0xc4, 0x2c,
  15015. 0x05, 0xbb, 0xa0, 0xed, 0x71, 0x1a, 0x43, 0x8f, 0x54, 0x68, 0xf2, 0xb3, 0x57, 0x1d, 0x38, 0xa4,
  15016. 0xa8, 0xbc, 0x25, 0x70, 0x54, 0x0b, 0xc8, 0x0e, 0xfd, 0x74, 0x50, 0x81, 0x47, 0xb9, 0x6b, 0x34,
  15017. 0x78, 0x54, 0x71, 0x27, 0x36, 0x90, 0x03, 0x6d, 0xf1, 0xcd, 0xe4, 0x68, 0x8b, 0xef, 0xe6, 0x2d,
  15018. 0x79, 0x35, 0x89, 0xc2, 0xd7, 0x00, 0x57, 0x6a, 0xe7, 0x1f, 0xfb, 0xfe, 0x6b, 0xa2, 0xf2, 0x09,
  15019. 0x34, 0x68, 0x7f, 0xdc, 0x54, 0x3e, 0x06, 0xf3, 0x1e, 0xfa, 0xe0, 0x41, 0x95, 0x6d, 0x94, 0x7f,
  15020. 0x10, 0x1d, 0x70, 0x75, 0x28, 0x58, 0xe9, 0x94, 0xab, 0x43, 0x41, 0xb1, 0xf3, 0x9e, 0xf2, 0x66,
  15021. 0x7c, 0x5e, 0x23, 0xa8, 0xaf, 0xe7, 0x7a, 0x71, 0xa2, 0xbe, 0x9e, 0x1b, 0x0b, 0x10, 0x07, 0xda,
  15022. 0x79, 0xa3, 0x58, 0x6d, 0x17, 0xb9, 0x29, 0xaf, 0xb6, 0x4b, 0xa1, 0xcd, 0x7f, 0x23, 0x35, 0xfe,
  15023. 0x49, 0x2b, 0x5e, 0x1d, 0xe2, 0xd6, 0xda, 0xf6, 0x3b, 0x11, 0x73, 0x01, 0x44, 0xe3, 0x5b, 0x6d,
  15024. 0xaa, 0x95, 0x06, 0xb9, 0xda, 0x54, 0xc5, 0x56, 0xff, 0x27, 0xd0, 0xa0, 0x5f, 0xf4, 0xd4, 0xae,
  15025. 0x96, 0x7f, 0xf5, 0x53, 0xbb, 0x9a, 0xf4, 0xad, 0x10, 0x23, 0xd3, 0x6f, 0x76, 0x6a, 0xe4, 0xfc,
  15026. 0xbb, 0x9e, 0x1a, 0x59, 0xfa, 0x1a, 0x68, 0xce, 0xa0, 0x23, 0xa7, 0x99, 0x47, 0xdb, 0xba, 0x1e,
  15027. 0x52, 0x8e, 0x79, 0xa7, 0xf2, 0x5e, 0x66, 0x02, 0xb1, 0xa6, 0x36, 0xc1, 0x4a, 0x8b, 0x5d, 0x6d,
  15028. 0x82, 0x62, 0x07, 0xff, 0x53, 0x68, 0x72, 0x51, 0xde, 0xde, 0xde, 0xa9, 0x20, 0x62, 0x1c, 0x55,
  15029. 0xda, 0xc7, 0x92, 0x16, 0x7f, 0xc6, 0xa9, 0xf3, 0x8c, 0xf4, 0xd8, 0x2b, 0x8b, 0xe1, 0x1f, 0xdc,
  15030. 0xf9, 0xe7, 0xcb, 0x7b, 0xda, 0xbf, 0x5f, 0xde, 0xd3, 0xfe, 0xf3, 0xf2, 0x9e, 0xf6, 0x2b, 0xdd,
  15031. 0x89, 0xbd, 0xeb, 0x06, 0xd9, 0xf2, 0xfe, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x58, 0x09, 0xd6,
  15032. 0x2e, 0xb7, 0x20, 0x00, 0x00,
  15033. }