api.pb.go 166 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/main/spy/api/api.proto
  3. package v1
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import (
  8. context "golang.org/x/net/context"
  9. grpc "google.golang.org/grpc"
  10. )
  11. import io "io"
  12. // Reference imports to suppress errors if they are not otherwise used.
  13. var _ = proto.Marshal
  14. var _ = fmt.Errorf
  15. var _ = math.Inf
  16. // This is a compile-time assertion to ensure that this generated file
  17. // is compatible with the proto package it is being compiled against.
  18. // A compilation error at this line likely means your copy of the
  19. // proto package needs to be updated.
  20. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  21. type ClearReliveTimesReply struct {
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *ClearReliveTimesReply) Reset() { *m = ClearReliveTimesReply{} }
  27. func (m *ClearReliveTimesReply) String() string { return proto.CompactTextString(m) }
  28. func (*ClearReliveTimesReply) ProtoMessage() {}
  29. func (*ClearReliveTimesReply) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_api_6dc8e2021997d22c, []int{0}
  31. }
  32. func (m *ClearReliveTimesReply) XXX_Unmarshal(b []byte) error {
  33. return m.Unmarshal(b)
  34. }
  35. func (m *ClearReliveTimesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. if deterministic {
  37. return xxx_messageInfo_ClearReliveTimesReply.Marshal(b, m, deterministic)
  38. } else {
  39. b = b[:cap(b)]
  40. n, err := m.MarshalTo(b)
  41. if err != nil {
  42. return nil, err
  43. }
  44. return b[:n], nil
  45. }
  46. }
  47. func (dst *ClearReliveTimesReply) XXX_Merge(src proto.Message) {
  48. xxx_messageInfo_ClearReliveTimesReply.Merge(dst, src)
  49. }
  50. func (m *ClearReliveTimesReply) XXX_Size() int {
  51. return m.Size()
  52. }
  53. func (m *ClearReliveTimesReply) XXX_DiscardUnknown() {
  54. xxx_messageInfo_ClearReliveTimesReply.DiscardUnknown(m)
  55. }
  56. var xxx_messageInfo_ClearReliveTimesReply proto.InternalMessageInfo
  57. type ClearReliveTimesReq struct {
  58. Arg *ModelArgReset `protobuf:"bytes,1,opt,name=arg" json:"arg,omitempty"`
  59. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  60. XXX_unrecognized []byte `json:"-"`
  61. XXX_sizecache int32 `json:"-"`
  62. }
  63. func (m *ClearReliveTimesReq) Reset() { *m = ClearReliveTimesReq{} }
  64. func (m *ClearReliveTimesReq) String() string { return proto.CompactTextString(m) }
  65. func (*ClearReliveTimesReq) ProtoMessage() {}
  66. func (*ClearReliveTimesReq) Descriptor() ([]byte, []int) {
  67. return fileDescriptor_api_6dc8e2021997d22c, []int{1}
  68. }
  69. func (m *ClearReliveTimesReq) XXX_Unmarshal(b []byte) error {
  70. return m.Unmarshal(b)
  71. }
  72. func (m *ClearReliveTimesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  73. if deterministic {
  74. return xxx_messageInfo_ClearReliveTimesReq.Marshal(b, m, deterministic)
  75. } else {
  76. b = b[:cap(b)]
  77. n, err := m.MarshalTo(b)
  78. if err != nil {
  79. return nil, err
  80. }
  81. return b[:n], nil
  82. }
  83. }
  84. func (dst *ClearReliveTimesReq) XXX_Merge(src proto.Message) {
  85. xxx_messageInfo_ClearReliveTimesReq.Merge(dst, src)
  86. }
  87. func (m *ClearReliveTimesReq) XXX_Size() int {
  88. return m.Size()
  89. }
  90. func (m *ClearReliveTimesReq) XXX_DiscardUnknown() {
  91. xxx_messageInfo_ClearReliveTimesReq.DiscardUnknown(m)
  92. }
  93. var xxx_messageInfo_ClearReliveTimesReq proto.InternalMessageInfo
  94. func (m *ClearReliveTimesReq) GetArg() *ModelArgReset {
  95. if m != nil {
  96. return m.Arg
  97. }
  98. return nil
  99. }
  100. type HandleEventReply struct {
  101. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  102. XXX_unrecognized []byte `json:"-"`
  103. XXX_sizecache int32 `json:"-"`
  104. }
  105. func (m *HandleEventReply) Reset() { *m = HandleEventReply{} }
  106. func (m *HandleEventReply) String() string { return proto.CompactTextString(m) }
  107. func (*HandleEventReply) ProtoMessage() {}
  108. func (*HandleEventReply) Descriptor() ([]byte, []int) {
  109. return fileDescriptor_api_6dc8e2021997d22c, []int{2}
  110. }
  111. func (m *HandleEventReply) XXX_Unmarshal(b []byte) error {
  112. return m.Unmarshal(b)
  113. }
  114. func (m *HandleEventReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  115. if deterministic {
  116. return xxx_messageInfo_HandleEventReply.Marshal(b, m, deterministic)
  117. } else {
  118. b = b[:cap(b)]
  119. n, err := m.MarshalTo(b)
  120. if err != nil {
  121. return nil, err
  122. }
  123. return b[:n], nil
  124. }
  125. }
  126. func (dst *HandleEventReply) XXX_Merge(src proto.Message) {
  127. xxx_messageInfo_HandleEventReply.Merge(dst, src)
  128. }
  129. func (m *HandleEventReply) XXX_Size() int {
  130. return m.Size()
  131. }
  132. func (m *HandleEventReply) XXX_DiscardUnknown() {
  133. xxx_messageInfo_HandleEventReply.DiscardUnknown(m)
  134. }
  135. var xxx_messageInfo_HandleEventReply proto.InternalMessageInfo
  136. type HandleEventReq struct {
  137. EventMsg *ModelEventMessage `protobuf:"bytes,1,opt,name=event_msg,json=eventMsg" json:"event_msg,omitempty"`
  138. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  139. XXX_unrecognized []byte `json:"-"`
  140. XXX_sizecache int32 `json:"-"`
  141. }
  142. func (m *HandleEventReq) Reset() { *m = HandleEventReq{} }
  143. func (m *HandleEventReq) String() string { return proto.CompactTextString(m) }
  144. func (*HandleEventReq) ProtoMessage() {}
  145. func (*HandleEventReq) Descriptor() ([]byte, []int) {
  146. return fileDescriptor_api_6dc8e2021997d22c, []int{3}
  147. }
  148. func (m *HandleEventReq) XXX_Unmarshal(b []byte) error {
  149. return m.Unmarshal(b)
  150. }
  151. func (m *HandleEventReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  152. if deterministic {
  153. return xxx_messageInfo_HandleEventReq.Marshal(b, m, deterministic)
  154. } else {
  155. b = b[:cap(b)]
  156. n, err := m.MarshalTo(b)
  157. if err != nil {
  158. return nil, err
  159. }
  160. return b[:n], nil
  161. }
  162. }
  163. func (dst *HandleEventReq) XXX_Merge(src proto.Message) {
  164. xxx_messageInfo_HandleEventReq.Merge(dst, src)
  165. }
  166. func (m *HandleEventReq) XXX_Size() int {
  167. return m.Size()
  168. }
  169. func (m *HandleEventReq) XXX_DiscardUnknown() {
  170. xxx_messageInfo_HandleEventReq.DiscardUnknown(m)
  171. }
  172. var xxx_messageInfo_HandleEventReq proto.InternalMessageInfo
  173. func (m *HandleEventReq) GetEventMsg() *ModelEventMessage {
  174. if m != nil {
  175. return m.EventMsg
  176. }
  177. return nil
  178. }
  179. type ModelArgReset struct {
  180. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  181. ReLiveTime bool `protobuf:"varint,2,opt,name=re_live_time,json=reLiveTime,proto3" json:"re_live_time,omitempty"`
  182. EventScore bool `protobuf:"varint,3,opt,name=event_score,json=eventScore,proto3" json:"event_score,omitempty"`
  183. BaseScore bool `protobuf:"varint,4,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"`
  184. Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"`
  185. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  186. XXX_unrecognized []byte `json:"-"`
  187. XXX_sizecache int32 `json:"-"`
  188. }
  189. func (m *ModelArgReset) Reset() { *m = ModelArgReset{} }
  190. func (m *ModelArgReset) String() string { return proto.CompactTextString(m) }
  191. func (*ModelArgReset) ProtoMessage() {}
  192. func (*ModelArgReset) Descriptor() ([]byte, []int) {
  193. return fileDescriptor_api_6dc8e2021997d22c, []int{4}
  194. }
  195. func (m *ModelArgReset) XXX_Unmarshal(b []byte) error {
  196. return m.Unmarshal(b)
  197. }
  198. func (m *ModelArgReset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  199. if deterministic {
  200. return xxx_messageInfo_ModelArgReset.Marshal(b, m, deterministic)
  201. } else {
  202. b = b[:cap(b)]
  203. n, err := m.MarshalTo(b)
  204. if err != nil {
  205. return nil, err
  206. }
  207. return b[:n], nil
  208. }
  209. }
  210. func (dst *ModelArgReset) XXX_Merge(src proto.Message) {
  211. xxx_messageInfo_ModelArgReset.Merge(dst, src)
  212. }
  213. func (m *ModelArgReset) XXX_Size() int {
  214. return m.Size()
  215. }
  216. func (m *ModelArgReset) XXX_DiscardUnknown() {
  217. xxx_messageInfo_ModelArgReset.DiscardUnknown(m)
  218. }
  219. var xxx_messageInfo_ModelArgReset proto.InternalMessageInfo
  220. func (m *ModelArgReset) GetMid() int64 {
  221. if m != nil {
  222. return m.Mid
  223. }
  224. return 0
  225. }
  226. func (m *ModelArgReset) GetReLiveTime() bool {
  227. if m != nil {
  228. return m.ReLiveTime
  229. }
  230. return false
  231. }
  232. func (m *ModelArgReset) GetEventScore() bool {
  233. if m != nil {
  234. return m.EventScore
  235. }
  236. return false
  237. }
  238. func (m *ModelArgReset) GetBaseScore() bool {
  239. if m != nil {
  240. return m.BaseScore
  241. }
  242. return false
  243. }
  244. func (m *ModelArgReset) GetOperator() string {
  245. if m != nil {
  246. return m.Operator
  247. }
  248. return ""
  249. }
  250. type ModelEventMessage struct {
  251. Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
  252. Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
  253. Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
  254. Event string `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"`
  255. ActiveMid int64 `protobuf:"varint,5,opt,name=active_mid,json=activeMid,proto3" json:"active_mid,omitempty"`
  256. TargetMid int64 `protobuf:"varint,6,opt,name=target_mid,json=targetMid,proto3" json:"target_mid,omitempty"`
  257. TargetId int64 `protobuf:"varint,7,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
  258. // FIXME type model. args = 8;
  259. Result string `protobuf:"bytes,9,opt,name=result,proto3" json:"result,omitempty"`
  260. Effect string `protobuf:"bytes,10,opt,name=effect,proto3" json:"effect,omitempty"`
  261. RiskLevel int32 `protobuf:"varint,11,opt,name=risk_level,json=riskLevel,proto3" json:"risk_level,omitempty"`
  262. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  263. XXX_unrecognized []byte `json:"-"`
  264. XXX_sizecache int32 `json:"-"`
  265. }
  266. func (m *ModelEventMessage) Reset() { *m = ModelEventMessage{} }
  267. func (m *ModelEventMessage) String() string { return proto.CompactTextString(m) }
  268. func (*ModelEventMessage) ProtoMessage() {}
  269. func (*ModelEventMessage) Descriptor() ([]byte, []int) {
  270. return fileDescriptor_api_6dc8e2021997d22c, []int{5}
  271. }
  272. func (m *ModelEventMessage) XXX_Unmarshal(b []byte) error {
  273. return m.Unmarshal(b)
  274. }
  275. func (m *ModelEventMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  276. if deterministic {
  277. return xxx_messageInfo_ModelEventMessage.Marshal(b, m, deterministic)
  278. } else {
  279. b = b[:cap(b)]
  280. n, err := m.MarshalTo(b)
  281. if err != nil {
  282. return nil, err
  283. }
  284. return b[:n], nil
  285. }
  286. }
  287. func (dst *ModelEventMessage) XXX_Merge(src proto.Message) {
  288. xxx_messageInfo_ModelEventMessage.Merge(dst, src)
  289. }
  290. func (m *ModelEventMessage) XXX_Size() int {
  291. return m.Size()
  292. }
  293. func (m *ModelEventMessage) XXX_DiscardUnknown() {
  294. xxx_messageInfo_ModelEventMessage.DiscardUnknown(m)
  295. }
  296. var xxx_messageInfo_ModelEventMessage proto.InternalMessageInfo
  297. func (m *ModelEventMessage) GetTime() int64 {
  298. if m != nil {
  299. return m.Time
  300. }
  301. return 0
  302. }
  303. func (m *ModelEventMessage) GetIp() string {
  304. if m != nil {
  305. return m.Ip
  306. }
  307. return ""
  308. }
  309. func (m *ModelEventMessage) GetService() string {
  310. if m != nil {
  311. return m.Service
  312. }
  313. return ""
  314. }
  315. func (m *ModelEventMessage) GetEvent() string {
  316. if m != nil {
  317. return m.Event
  318. }
  319. return ""
  320. }
  321. func (m *ModelEventMessage) GetActiveMid() int64 {
  322. if m != nil {
  323. return m.ActiveMid
  324. }
  325. return 0
  326. }
  327. func (m *ModelEventMessage) GetTargetMid() int64 {
  328. if m != nil {
  329. return m.TargetMid
  330. }
  331. return 0
  332. }
  333. func (m *ModelEventMessage) GetTargetId() int64 {
  334. if m != nil {
  335. return m.TargetId
  336. }
  337. return 0
  338. }
  339. func (m *ModelEventMessage) GetResult() string {
  340. if m != nil {
  341. return m.Result
  342. }
  343. return ""
  344. }
  345. func (m *ModelEventMessage) GetEffect() string {
  346. if m != nil {
  347. return m.Effect
  348. }
  349. return ""
  350. }
  351. func (m *ModelEventMessage) GetRiskLevel() int32 {
  352. if m != nil {
  353. return m.RiskLevel
  354. }
  355. return 0
  356. }
  357. type ModelStatistics struct {
  358. Quantity int64 `protobuf:"varint,1,opt,name=quantity,proto3" json:"quantity,omitempty"`
  359. EventId int64 `protobuf:"varint,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
  360. EventName string `protobuf:"bytes,3,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
  361. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  362. XXX_unrecognized []byte `json:"-"`
  363. XXX_sizecache int32 `json:"-"`
  364. }
  365. func (m *ModelStatistics) Reset() { *m = ModelStatistics{} }
  366. func (m *ModelStatistics) String() string { return proto.CompactTextString(m) }
  367. func (*ModelStatistics) ProtoMessage() {}
  368. func (*ModelStatistics) Descriptor() ([]byte, []int) {
  369. return fileDescriptor_api_6dc8e2021997d22c, []int{6}
  370. }
  371. func (m *ModelStatistics) XXX_Unmarshal(b []byte) error {
  372. return m.Unmarshal(b)
  373. }
  374. func (m *ModelStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  375. if deterministic {
  376. return xxx_messageInfo_ModelStatistics.Marshal(b, m, deterministic)
  377. } else {
  378. b = b[:cap(b)]
  379. n, err := m.MarshalTo(b)
  380. if err != nil {
  381. return nil, err
  382. }
  383. return b[:n], nil
  384. }
  385. }
  386. func (dst *ModelStatistics) XXX_Merge(src proto.Message) {
  387. xxx_messageInfo_ModelStatistics.Merge(dst, src)
  388. }
  389. func (m *ModelStatistics) XXX_Size() int {
  390. return m.Size()
  391. }
  392. func (m *ModelStatistics) XXX_DiscardUnknown() {
  393. xxx_messageInfo_ModelStatistics.DiscardUnknown(m)
  394. }
  395. var xxx_messageInfo_ModelStatistics proto.InternalMessageInfo
  396. func (m *ModelStatistics) GetQuantity() int64 {
  397. if m != nil {
  398. return m.Quantity
  399. }
  400. return 0
  401. }
  402. func (m *ModelStatistics) GetEventId() int64 {
  403. if m != nil {
  404. return m.EventId
  405. }
  406. return 0
  407. }
  408. func (m *ModelStatistics) GetEventName() string {
  409. if m != nil {
  410. return m.EventName
  411. }
  412. return ""
  413. }
  414. type ModelUserInfo struct {
  415. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  416. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  417. Score int32 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"`
  418. BaseScore int32 `protobuf:"varint,4,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"`
  419. EventScore int32 `protobuf:"varint,5,opt,name=event_score,json=eventScore,proto3" json:"event_score,omitempty"`
  420. State int32 `protobuf:"varint,6,opt,name=state,proto3" json:"state,omitempty"`
  421. ReliveTimes int32 `protobuf:"varint,7,opt,name=relive_times,json=reliveTimes,proto3" json:"relive_times,omitempty"`
  422. Ctime int64 `protobuf:"varint,8,opt,name=ctime,proto3" json:"ctime,omitempty"`
  423. Mtime int64 `protobuf:"varint,9,opt,name=mtime,proto3" json:"mtime,omitempty"`
  424. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  425. XXX_unrecognized []byte `json:"-"`
  426. XXX_sizecache int32 `json:"-"`
  427. }
  428. func (m *ModelUserInfo) Reset() { *m = ModelUserInfo{} }
  429. func (m *ModelUserInfo) String() string { return proto.CompactTextString(m) }
  430. func (*ModelUserInfo) ProtoMessage() {}
  431. func (*ModelUserInfo) Descriptor() ([]byte, []int) {
  432. return fileDescriptor_api_6dc8e2021997d22c, []int{7}
  433. }
  434. func (m *ModelUserInfo) XXX_Unmarshal(b []byte) error {
  435. return m.Unmarshal(b)
  436. }
  437. func (m *ModelUserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  438. if deterministic {
  439. return xxx_messageInfo_ModelUserInfo.Marshal(b, m, deterministic)
  440. } else {
  441. b = b[:cap(b)]
  442. n, err := m.MarshalTo(b)
  443. if err != nil {
  444. return nil, err
  445. }
  446. return b[:n], nil
  447. }
  448. }
  449. func (dst *ModelUserInfo) XXX_Merge(src proto.Message) {
  450. xxx_messageInfo_ModelUserInfo.Merge(dst, src)
  451. }
  452. func (m *ModelUserInfo) XXX_Size() int {
  453. return m.Size()
  454. }
  455. func (m *ModelUserInfo) XXX_DiscardUnknown() {
  456. xxx_messageInfo_ModelUserInfo.DiscardUnknown(m)
  457. }
  458. var xxx_messageInfo_ModelUserInfo proto.InternalMessageInfo
  459. func (m *ModelUserInfo) GetId() int64 {
  460. if m != nil {
  461. return m.Id
  462. }
  463. return 0
  464. }
  465. func (m *ModelUserInfo) GetMid() int64 {
  466. if m != nil {
  467. return m.Mid
  468. }
  469. return 0
  470. }
  471. func (m *ModelUserInfo) GetScore() int32 {
  472. if m != nil {
  473. return m.Score
  474. }
  475. return 0
  476. }
  477. func (m *ModelUserInfo) GetBaseScore() int32 {
  478. if m != nil {
  479. return m.BaseScore
  480. }
  481. return 0
  482. }
  483. func (m *ModelUserInfo) GetEventScore() int32 {
  484. if m != nil {
  485. return m.EventScore
  486. }
  487. return 0
  488. }
  489. func (m *ModelUserInfo) GetState() int32 {
  490. if m != nil {
  491. return m.State
  492. }
  493. return 0
  494. }
  495. func (m *ModelUserInfo) GetReliveTimes() int32 {
  496. if m != nil {
  497. return m.ReliveTimes
  498. }
  499. return 0
  500. }
  501. func (m *ModelUserInfo) GetCtime() int64 {
  502. if m != nil {
  503. return m.Ctime
  504. }
  505. return 0
  506. }
  507. func (m *ModelUserInfo) GetMtime() int64 {
  508. if m != nil {
  509. return m.Mtime
  510. }
  511. return 0
  512. }
  513. type PingReply struct {
  514. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  515. XXX_unrecognized []byte `json:"-"`
  516. XXX_sizecache int32 `json:"-"`
  517. }
  518. func (m *PingReply) Reset() { *m = PingReply{} }
  519. func (m *PingReply) String() string { return proto.CompactTextString(m) }
  520. func (*PingReply) ProtoMessage() {}
  521. func (*PingReply) Descriptor() ([]byte, []int) {
  522. return fileDescriptor_api_6dc8e2021997d22c, []int{8}
  523. }
  524. func (m *PingReply) XXX_Unmarshal(b []byte) error {
  525. return m.Unmarshal(b)
  526. }
  527. func (m *PingReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  528. if deterministic {
  529. return xxx_messageInfo_PingReply.Marshal(b, m, deterministic)
  530. } else {
  531. b = b[:cap(b)]
  532. n, err := m.MarshalTo(b)
  533. if err != nil {
  534. return nil, err
  535. }
  536. return b[:n], nil
  537. }
  538. }
  539. func (dst *PingReply) XXX_Merge(src proto.Message) {
  540. xxx_messageInfo_PingReply.Merge(dst, src)
  541. }
  542. func (m *PingReply) XXX_Size() int {
  543. return m.Size()
  544. }
  545. func (m *PingReply) XXX_DiscardUnknown() {
  546. xxx_messageInfo_PingReply.DiscardUnknown(m)
  547. }
  548. var xxx_messageInfo_PingReply proto.InternalMessageInfo
  549. type PingReq struct {
  550. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  551. XXX_unrecognized []byte `json:"-"`
  552. XXX_sizecache int32 `json:"-"`
  553. }
  554. func (m *PingReq) Reset() { *m = PingReq{} }
  555. func (m *PingReq) String() string { return proto.CompactTextString(m) }
  556. func (*PingReq) ProtoMessage() {}
  557. func (*PingReq) Descriptor() ([]byte, []int) {
  558. return fileDescriptor_api_6dc8e2021997d22c, []int{9}
  559. }
  560. func (m *PingReq) XXX_Unmarshal(b []byte) error {
  561. return m.Unmarshal(b)
  562. }
  563. func (m *PingReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  564. if deterministic {
  565. return xxx_messageInfo_PingReq.Marshal(b, m, deterministic)
  566. } else {
  567. b = b[:cap(b)]
  568. n, err := m.MarshalTo(b)
  569. if err != nil {
  570. return nil, err
  571. }
  572. return b[:n], nil
  573. }
  574. }
  575. func (dst *PingReq) XXX_Merge(src proto.Message) {
  576. xxx_messageInfo_PingReq.Merge(dst, src)
  577. }
  578. func (m *PingReq) XXX_Size() int {
  579. return m.Size()
  580. }
  581. func (m *PingReq) XXX_DiscardUnknown() {
  582. xxx_messageInfo_PingReq.DiscardUnknown(m)
  583. }
  584. var xxx_messageInfo_PingReq proto.InternalMessageInfo
  585. type PurgeUserReply struct {
  586. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  587. XXX_unrecognized []byte `json:"-"`
  588. XXX_sizecache int32 `json:"-"`
  589. }
  590. func (m *PurgeUserReply) Reset() { *m = PurgeUserReply{} }
  591. func (m *PurgeUserReply) String() string { return proto.CompactTextString(m) }
  592. func (*PurgeUserReply) ProtoMessage() {}
  593. func (*PurgeUserReply) Descriptor() ([]byte, []int) {
  594. return fileDescriptor_api_6dc8e2021997d22c, []int{10}
  595. }
  596. func (m *PurgeUserReply) XXX_Unmarshal(b []byte) error {
  597. return m.Unmarshal(b)
  598. }
  599. func (m *PurgeUserReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  600. if deterministic {
  601. return xxx_messageInfo_PurgeUserReply.Marshal(b, m, deterministic)
  602. } else {
  603. b = b[:cap(b)]
  604. n, err := m.MarshalTo(b)
  605. if err != nil {
  606. return nil, err
  607. }
  608. return b[:n], nil
  609. }
  610. }
  611. func (dst *PurgeUserReply) XXX_Merge(src proto.Message) {
  612. xxx_messageInfo_PurgeUserReply.Merge(dst, src)
  613. }
  614. func (m *PurgeUserReply) XXX_Size() int {
  615. return m.Size()
  616. }
  617. func (m *PurgeUserReply) XXX_DiscardUnknown() {
  618. xxx_messageInfo_PurgeUserReply.DiscardUnknown(m)
  619. }
  620. var xxx_messageInfo_PurgeUserReply proto.InternalMessageInfo
  621. type PurgeUserReq struct {
  622. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  623. Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
  624. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  625. XXX_unrecognized []byte `json:"-"`
  626. XXX_sizecache int32 `json:"-"`
  627. }
  628. func (m *PurgeUserReq) Reset() { *m = PurgeUserReq{} }
  629. func (m *PurgeUserReq) String() string { return proto.CompactTextString(m) }
  630. func (*PurgeUserReq) ProtoMessage() {}
  631. func (*PurgeUserReq) Descriptor() ([]byte, []int) {
  632. return fileDescriptor_api_6dc8e2021997d22c, []int{11}
  633. }
  634. func (m *PurgeUserReq) XXX_Unmarshal(b []byte) error {
  635. return m.Unmarshal(b)
  636. }
  637. func (m *PurgeUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  638. if deterministic {
  639. return xxx_messageInfo_PurgeUserReq.Marshal(b, m, deterministic)
  640. } else {
  641. b = b[:cap(b)]
  642. n, err := m.MarshalTo(b)
  643. if err != nil {
  644. return nil, err
  645. }
  646. return b[:n], nil
  647. }
  648. }
  649. func (dst *PurgeUserReq) XXX_Merge(src proto.Message) {
  650. xxx_messageInfo_PurgeUserReq.Merge(dst, src)
  651. }
  652. func (m *PurgeUserReq) XXX_Size() int {
  653. return m.Size()
  654. }
  655. func (m *PurgeUserReq) XXX_DiscardUnknown() {
  656. xxx_messageInfo_PurgeUserReq.DiscardUnknown(m)
  657. }
  658. var xxx_messageInfo_PurgeUserReq proto.InternalMessageInfo
  659. func (m *PurgeUserReq) GetMid() int64 {
  660. if m != nil {
  661. return m.Mid
  662. }
  663. return 0
  664. }
  665. func (m *PurgeUserReq) GetAction() string {
  666. if m != nil {
  667. return m.Action
  668. }
  669. return ""
  670. }
  671. type ReBuildPortraitReply struct {
  672. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  673. XXX_unrecognized []byte `json:"-"`
  674. XXX_sizecache int32 `json:"-"`
  675. }
  676. func (m *ReBuildPortraitReply) Reset() { *m = ReBuildPortraitReply{} }
  677. func (m *ReBuildPortraitReply) String() string { return proto.CompactTextString(m) }
  678. func (*ReBuildPortraitReply) ProtoMessage() {}
  679. func (*ReBuildPortraitReply) Descriptor() ([]byte, []int) {
  680. return fileDescriptor_api_6dc8e2021997d22c, []int{12}
  681. }
  682. func (m *ReBuildPortraitReply) XXX_Unmarshal(b []byte) error {
  683. return m.Unmarshal(b)
  684. }
  685. func (m *ReBuildPortraitReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  686. if deterministic {
  687. return xxx_messageInfo_ReBuildPortraitReply.Marshal(b, m, deterministic)
  688. } else {
  689. b = b[:cap(b)]
  690. n, err := m.MarshalTo(b)
  691. if err != nil {
  692. return nil, err
  693. }
  694. return b[:n], nil
  695. }
  696. }
  697. func (dst *ReBuildPortraitReply) XXX_Merge(src proto.Message) {
  698. xxx_messageInfo_ReBuildPortraitReply.Merge(dst, src)
  699. }
  700. func (m *ReBuildPortraitReply) XXX_Size() int {
  701. return m.Size()
  702. }
  703. func (m *ReBuildPortraitReply) XXX_DiscardUnknown() {
  704. xxx_messageInfo_ReBuildPortraitReply.DiscardUnknown(m)
  705. }
  706. var xxx_messageInfo_ReBuildPortraitReply proto.InternalMessageInfo
  707. type ReBuildPortraitReq struct {
  708. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  709. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
  710. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  711. XXX_unrecognized []byte `json:"-"`
  712. XXX_sizecache int32 `json:"-"`
  713. }
  714. func (m *ReBuildPortraitReq) Reset() { *m = ReBuildPortraitReq{} }
  715. func (m *ReBuildPortraitReq) String() string { return proto.CompactTextString(m) }
  716. func (*ReBuildPortraitReq) ProtoMessage() {}
  717. func (*ReBuildPortraitReq) Descriptor() ([]byte, []int) {
  718. return fileDescriptor_api_6dc8e2021997d22c, []int{13}
  719. }
  720. func (m *ReBuildPortraitReq) XXX_Unmarshal(b []byte) error {
  721. return m.Unmarshal(b)
  722. }
  723. func (m *ReBuildPortraitReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  724. if deterministic {
  725. return xxx_messageInfo_ReBuildPortraitReq.Marshal(b, m, deterministic)
  726. } else {
  727. b = b[:cap(b)]
  728. n, err := m.MarshalTo(b)
  729. if err != nil {
  730. return nil, err
  731. }
  732. return b[:n], nil
  733. }
  734. }
  735. func (dst *ReBuildPortraitReq) XXX_Merge(src proto.Message) {
  736. xxx_messageInfo_ReBuildPortraitReq.Merge(dst, src)
  737. }
  738. func (m *ReBuildPortraitReq) XXX_Size() int {
  739. return m.Size()
  740. }
  741. func (m *ReBuildPortraitReq) XXX_DiscardUnknown() {
  742. xxx_messageInfo_ReBuildPortraitReq.DiscardUnknown(m)
  743. }
  744. var xxx_messageInfo_ReBuildPortraitReq proto.InternalMessageInfo
  745. func (m *ReBuildPortraitReq) GetMid() int64 {
  746. if m != nil {
  747. return m.Mid
  748. }
  749. return 0
  750. }
  751. func (m *ReBuildPortraitReq) GetReason() string {
  752. if m != nil {
  753. return m.Reason
  754. }
  755. return ""
  756. }
  757. type RefreshBaseScoreReply struct {
  758. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  759. XXX_unrecognized []byte `json:"-"`
  760. XXX_sizecache int32 `json:"-"`
  761. }
  762. func (m *RefreshBaseScoreReply) Reset() { *m = RefreshBaseScoreReply{} }
  763. func (m *RefreshBaseScoreReply) String() string { return proto.CompactTextString(m) }
  764. func (*RefreshBaseScoreReply) ProtoMessage() {}
  765. func (*RefreshBaseScoreReply) Descriptor() ([]byte, []int) {
  766. return fileDescriptor_api_6dc8e2021997d22c, []int{14}
  767. }
  768. func (m *RefreshBaseScoreReply) XXX_Unmarshal(b []byte) error {
  769. return m.Unmarshal(b)
  770. }
  771. func (m *RefreshBaseScoreReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  772. if deterministic {
  773. return xxx_messageInfo_RefreshBaseScoreReply.Marshal(b, m, deterministic)
  774. } else {
  775. b = b[:cap(b)]
  776. n, err := m.MarshalTo(b)
  777. if err != nil {
  778. return nil, err
  779. }
  780. return b[:n], nil
  781. }
  782. }
  783. func (dst *RefreshBaseScoreReply) XXX_Merge(src proto.Message) {
  784. xxx_messageInfo_RefreshBaseScoreReply.Merge(dst, src)
  785. }
  786. func (m *RefreshBaseScoreReply) XXX_Size() int {
  787. return m.Size()
  788. }
  789. func (m *RefreshBaseScoreReply) XXX_DiscardUnknown() {
  790. xxx_messageInfo_RefreshBaseScoreReply.DiscardUnknown(m)
  791. }
  792. var xxx_messageInfo_RefreshBaseScoreReply proto.InternalMessageInfo
  793. type RefreshBaseScoreReq struct {
  794. Arg *ModelArgReset `protobuf:"bytes,1,opt,name=arg" json:"arg,omitempty"`
  795. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  796. XXX_unrecognized []byte `json:"-"`
  797. XXX_sizecache int32 `json:"-"`
  798. }
  799. func (m *RefreshBaseScoreReq) Reset() { *m = RefreshBaseScoreReq{} }
  800. func (m *RefreshBaseScoreReq) String() string { return proto.CompactTextString(m) }
  801. func (*RefreshBaseScoreReq) ProtoMessage() {}
  802. func (*RefreshBaseScoreReq) Descriptor() ([]byte, []int) {
  803. return fileDescriptor_api_6dc8e2021997d22c, []int{15}
  804. }
  805. func (m *RefreshBaseScoreReq) XXX_Unmarshal(b []byte) error {
  806. return m.Unmarshal(b)
  807. }
  808. func (m *RefreshBaseScoreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  809. if deterministic {
  810. return xxx_messageInfo_RefreshBaseScoreReq.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 *RefreshBaseScoreReq) XXX_Merge(src proto.Message) {
  821. xxx_messageInfo_RefreshBaseScoreReq.Merge(dst, src)
  822. }
  823. func (m *RefreshBaseScoreReq) XXX_Size() int {
  824. return m.Size()
  825. }
  826. func (m *RefreshBaseScoreReq) XXX_DiscardUnknown() {
  827. xxx_messageInfo_RefreshBaseScoreReq.DiscardUnknown(m)
  828. }
  829. var xxx_messageInfo_RefreshBaseScoreReq proto.InternalMessageInfo
  830. func (m *RefreshBaseScoreReq) GetArg() *ModelArgReset {
  831. if m != nil {
  832. return m.Arg
  833. }
  834. return nil
  835. }
  836. type StatByIDGroupEventReply struct {
  837. Res []*ModelStatistics `protobuf:"bytes,1,rep,name=res" json:"res,omitempty"`
  838. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  839. XXX_unrecognized []byte `json:"-"`
  840. XXX_sizecache int32 `json:"-"`
  841. }
  842. func (m *StatByIDGroupEventReply) Reset() { *m = StatByIDGroupEventReply{} }
  843. func (m *StatByIDGroupEventReply) String() string { return proto.CompactTextString(m) }
  844. func (*StatByIDGroupEventReply) ProtoMessage() {}
  845. func (*StatByIDGroupEventReply) Descriptor() ([]byte, []int) {
  846. return fileDescriptor_api_6dc8e2021997d22c, []int{16}
  847. }
  848. func (m *StatByIDGroupEventReply) XXX_Unmarshal(b []byte) error {
  849. return m.Unmarshal(b)
  850. }
  851. func (m *StatByIDGroupEventReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  852. if deterministic {
  853. return xxx_messageInfo_StatByIDGroupEventReply.Marshal(b, m, deterministic)
  854. } else {
  855. b = b[:cap(b)]
  856. n, err := m.MarshalTo(b)
  857. if err != nil {
  858. return nil, err
  859. }
  860. return b[:n], nil
  861. }
  862. }
  863. func (dst *StatByIDGroupEventReply) XXX_Merge(src proto.Message) {
  864. xxx_messageInfo_StatByIDGroupEventReply.Merge(dst, src)
  865. }
  866. func (m *StatByIDGroupEventReply) XXX_Size() int {
  867. return m.Size()
  868. }
  869. func (m *StatByIDGroupEventReply) XXX_DiscardUnknown() {
  870. xxx_messageInfo_StatByIDGroupEventReply.DiscardUnknown(m)
  871. }
  872. var xxx_messageInfo_StatByIDGroupEventReply proto.InternalMessageInfo
  873. func (m *StatByIDGroupEventReply) GetRes() []*ModelStatistics {
  874. if m != nil {
  875. return m.Res
  876. }
  877. return nil
  878. }
  879. type StatByIDGroupEventReq struct {
  880. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  881. Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
  882. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  883. XXX_unrecognized []byte `json:"-"`
  884. XXX_sizecache int32 `json:"-"`
  885. }
  886. func (m *StatByIDGroupEventReq) Reset() { *m = StatByIDGroupEventReq{} }
  887. func (m *StatByIDGroupEventReq) String() string { return proto.CompactTextString(m) }
  888. func (*StatByIDGroupEventReq) ProtoMessage() {}
  889. func (*StatByIDGroupEventReq) Descriptor() ([]byte, []int) {
  890. return fileDescriptor_api_6dc8e2021997d22c, []int{17}
  891. }
  892. func (m *StatByIDGroupEventReq) XXX_Unmarshal(b []byte) error {
  893. return m.Unmarshal(b)
  894. }
  895. func (m *StatByIDGroupEventReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  896. if deterministic {
  897. return xxx_messageInfo_StatByIDGroupEventReq.Marshal(b, m, deterministic)
  898. } else {
  899. b = b[:cap(b)]
  900. n, err := m.MarshalTo(b)
  901. if err != nil {
  902. return nil, err
  903. }
  904. return b[:n], nil
  905. }
  906. }
  907. func (dst *StatByIDGroupEventReq) XXX_Merge(src proto.Message) {
  908. xxx_messageInfo_StatByIDGroupEventReq.Merge(dst, src)
  909. }
  910. func (m *StatByIDGroupEventReq) XXX_Size() int {
  911. return m.Size()
  912. }
  913. func (m *StatByIDGroupEventReq) XXX_DiscardUnknown() {
  914. xxx_messageInfo_StatByIDGroupEventReq.DiscardUnknown(m)
  915. }
  916. var xxx_messageInfo_StatByIDGroupEventReq proto.InternalMessageInfo
  917. func (m *StatByIDGroupEventReq) GetMid() int64 {
  918. if m != nil {
  919. return m.Mid
  920. }
  921. return 0
  922. }
  923. func (m *StatByIDGroupEventReq) GetId() int64 {
  924. if m != nil {
  925. return m.Id
  926. }
  927. return 0
  928. }
  929. type StatByIDReply struct {
  930. Stat []*ModelStatistics `protobuf:"bytes,1,rep,name=stat" json:"stat,omitempty"`
  931. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  932. XXX_unrecognized []byte `json:"-"`
  933. XXX_sizecache int32 `json:"-"`
  934. }
  935. func (m *StatByIDReply) Reset() { *m = StatByIDReply{} }
  936. func (m *StatByIDReply) String() string { return proto.CompactTextString(m) }
  937. func (*StatByIDReply) ProtoMessage() {}
  938. func (*StatByIDReply) Descriptor() ([]byte, []int) {
  939. return fileDescriptor_api_6dc8e2021997d22c, []int{18}
  940. }
  941. func (m *StatByIDReply) XXX_Unmarshal(b []byte) error {
  942. return m.Unmarshal(b)
  943. }
  944. func (m *StatByIDReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  945. if deterministic {
  946. return xxx_messageInfo_StatByIDReply.Marshal(b, m, deterministic)
  947. } else {
  948. b = b[:cap(b)]
  949. n, err := m.MarshalTo(b)
  950. if err != nil {
  951. return nil, err
  952. }
  953. return b[:n], nil
  954. }
  955. }
  956. func (dst *StatByIDReply) XXX_Merge(src proto.Message) {
  957. xxx_messageInfo_StatByIDReply.Merge(dst, src)
  958. }
  959. func (m *StatByIDReply) XXX_Size() int {
  960. return m.Size()
  961. }
  962. func (m *StatByIDReply) XXX_DiscardUnknown() {
  963. xxx_messageInfo_StatByIDReply.DiscardUnknown(m)
  964. }
  965. var xxx_messageInfo_StatByIDReply proto.InternalMessageInfo
  966. func (m *StatByIDReply) GetStat() []*ModelStatistics {
  967. if m != nil {
  968. return m.Stat
  969. }
  970. return nil
  971. }
  972. type StatByIDReq struct {
  973. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  974. Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
  975. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  976. XXX_unrecognized []byte `json:"-"`
  977. XXX_sizecache int32 `json:"-"`
  978. }
  979. func (m *StatByIDReq) Reset() { *m = StatByIDReq{} }
  980. func (m *StatByIDReq) String() string { return proto.CompactTextString(m) }
  981. func (*StatByIDReq) ProtoMessage() {}
  982. func (*StatByIDReq) Descriptor() ([]byte, []int) {
  983. return fileDescriptor_api_6dc8e2021997d22c, []int{19}
  984. }
  985. func (m *StatByIDReq) XXX_Unmarshal(b []byte) error {
  986. return m.Unmarshal(b)
  987. }
  988. func (m *StatByIDReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  989. if deterministic {
  990. return xxx_messageInfo_StatByIDReq.Marshal(b, m, deterministic)
  991. } else {
  992. b = b[:cap(b)]
  993. n, err := m.MarshalTo(b)
  994. if err != nil {
  995. return nil, err
  996. }
  997. return b[:n], nil
  998. }
  999. }
  1000. func (dst *StatByIDReq) XXX_Merge(src proto.Message) {
  1001. xxx_messageInfo_StatByIDReq.Merge(dst, src)
  1002. }
  1003. func (m *StatByIDReq) XXX_Size() int {
  1004. return m.Size()
  1005. }
  1006. func (m *StatByIDReq) XXX_DiscardUnknown() {
  1007. xxx_messageInfo_StatByIDReq.DiscardUnknown(m)
  1008. }
  1009. var xxx_messageInfo_StatByIDReq proto.InternalMessageInfo
  1010. func (m *StatByIDReq) GetMid() int64 {
  1011. if m != nil {
  1012. return m.Mid
  1013. }
  1014. return 0
  1015. }
  1016. func (m *StatByIDReq) GetId() int64 {
  1017. if m != nil {
  1018. return m.Id
  1019. }
  1020. return 0
  1021. }
  1022. type UpdateBaseScoreReply struct {
  1023. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1024. XXX_unrecognized []byte `json:"-"`
  1025. XXX_sizecache int32 `json:"-"`
  1026. }
  1027. func (m *UpdateBaseScoreReply) Reset() { *m = UpdateBaseScoreReply{} }
  1028. func (m *UpdateBaseScoreReply) String() string { return proto.CompactTextString(m) }
  1029. func (*UpdateBaseScoreReply) ProtoMessage() {}
  1030. func (*UpdateBaseScoreReply) Descriptor() ([]byte, []int) {
  1031. return fileDescriptor_api_6dc8e2021997d22c, []int{20}
  1032. }
  1033. func (m *UpdateBaseScoreReply) XXX_Unmarshal(b []byte) error {
  1034. return m.Unmarshal(b)
  1035. }
  1036. func (m *UpdateBaseScoreReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1037. if deterministic {
  1038. return xxx_messageInfo_UpdateBaseScoreReply.Marshal(b, m, deterministic)
  1039. } else {
  1040. b = b[:cap(b)]
  1041. n, err := m.MarshalTo(b)
  1042. if err != nil {
  1043. return nil, err
  1044. }
  1045. return b[:n], nil
  1046. }
  1047. }
  1048. func (dst *UpdateBaseScoreReply) XXX_Merge(src proto.Message) {
  1049. xxx_messageInfo_UpdateBaseScoreReply.Merge(dst, src)
  1050. }
  1051. func (m *UpdateBaseScoreReply) XXX_Size() int {
  1052. return m.Size()
  1053. }
  1054. func (m *UpdateBaseScoreReply) XXX_DiscardUnknown() {
  1055. xxx_messageInfo_UpdateBaseScoreReply.DiscardUnknown(m)
  1056. }
  1057. var xxx_messageInfo_UpdateBaseScoreReply proto.InternalMessageInfo
  1058. type UpdateBaseScoreReq struct {
  1059. Arg *ModelArgReset `protobuf:"bytes,1,opt,name=arg" json:"arg,omitempty"`
  1060. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1061. XXX_unrecognized []byte `json:"-"`
  1062. XXX_sizecache int32 `json:"-"`
  1063. }
  1064. func (m *UpdateBaseScoreReq) Reset() { *m = UpdateBaseScoreReq{} }
  1065. func (m *UpdateBaseScoreReq) String() string { return proto.CompactTextString(m) }
  1066. func (*UpdateBaseScoreReq) ProtoMessage() {}
  1067. func (*UpdateBaseScoreReq) Descriptor() ([]byte, []int) {
  1068. return fileDescriptor_api_6dc8e2021997d22c, []int{21}
  1069. }
  1070. func (m *UpdateBaseScoreReq) XXX_Unmarshal(b []byte) error {
  1071. return m.Unmarshal(b)
  1072. }
  1073. func (m *UpdateBaseScoreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1074. if deterministic {
  1075. return xxx_messageInfo_UpdateBaseScoreReq.Marshal(b, m, deterministic)
  1076. } else {
  1077. b = b[:cap(b)]
  1078. n, err := m.MarshalTo(b)
  1079. if err != nil {
  1080. return nil, err
  1081. }
  1082. return b[:n], nil
  1083. }
  1084. }
  1085. func (dst *UpdateBaseScoreReq) XXX_Merge(src proto.Message) {
  1086. xxx_messageInfo_UpdateBaseScoreReq.Merge(dst, src)
  1087. }
  1088. func (m *UpdateBaseScoreReq) XXX_Size() int {
  1089. return m.Size()
  1090. }
  1091. func (m *UpdateBaseScoreReq) XXX_DiscardUnknown() {
  1092. xxx_messageInfo_UpdateBaseScoreReq.DiscardUnknown(m)
  1093. }
  1094. var xxx_messageInfo_UpdateBaseScoreReq proto.InternalMessageInfo
  1095. func (m *UpdateBaseScoreReq) GetArg() *ModelArgReset {
  1096. if m != nil {
  1097. return m.Arg
  1098. }
  1099. return nil
  1100. }
  1101. type UpdateEventScoreReply struct {
  1102. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1103. XXX_unrecognized []byte `json:"-"`
  1104. XXX_sizecache int32 `json:"-"`
  1105. }
  1106. func (m *UpdateEventScoreReply) Reset() { *m = UpdateEventScoreReply{} }
  1107. func (m *UpdateEventScoreReply) String() string { return proto.CompactTextString(m) }
  1108. func (*UpdateEventScoreReply) ProtoMessage() {}
  1109. func (*UpdateEventScoreReply) Descriptor() ([]byte, []int) {
  1110. return fileDescriptor_api_6dc8e2021997d22c, []int{22}
  1111. }
  1112. func (m *UpdateEventScoreReply) XXX_Unmarshal(b []byte) error {
  1113. return m.Unmarshal(b)
  1114. }
  1115. func (m *UpdateEventScoreReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1116. if deterministic {
  1117. return xxx_messageInfo_UpdateEventScoreReply.Marshal(b, m, deterministic)
  1118. } else {
  1119. b = b[:cap(b)]
  1120. n, err := m.MarshalTo(b)
  1121. if err != nil {
  1122. return nil, err
  1123. }
  1124. return b[:n], nil
  1125. }
  1126. }
  1127. func (dst *UpdateEventScoreReply) XXX_Merge(src proto.Message) {
  1128. xxx_messageInfo_UpdateEventScoreReply.Merge(dst, src)
  1129. }
  1130. func (m *UpdateEventScoreReply) XXX_Size() int {
  1131. return m.Size()
  1132. }
  1133. func (m *UpdateEventScoreReply) XXX_DiscardUnknown() {
  1134. xxx_messageInfo_UpdateEventScoreReply.DiscardUnknown(m)
  1135. }
  1136. var xxx_messageInfo_UpdateEventScoreReply proto.InternalMessageInfo
  1137. type UpdateEventScoreReq struct {
  1138. Arg *ModelArgReset `protobuf:"bytes,1,opt,name=arg" json:"arg,omitempty"`
  1139. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1140. XXX_unrecognized []byte `json:"-"`
  1141. XXX_sizecache int32 `json:"-"`
  1142. }
  1143. func (m *UpdateEventScoreReq) Reset() { *m = UpdateEventScoreReq{} }
  1144. func (m *UpdateEventScoreReq) String() string { return proto.CompactTextString(m) }
  1145. func (*UpdateEventScoreReq) ProtoMessage() {}
  1146. func (*UpdateEventScoreReq) Descriptor() ([]byte, []int) {
  1147. return fileDescriptor_api_6dc8e2021997d22c, []int{23}
  1148. }
  1149. func (m *UpdateEventScoreReq) XXX_Unmarshal(b []byte) error {
  1150. return m.Unmarshal(b)
  1151. }
  1152. func (m *UpdateEventScoreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1153. if deterministic {
  1154. return xxx_messageInfo_UpdateEventScoreReq.Marshal(b, m, deterministic)
  1155. } else {
  1156. b = b[:cap(b)]
  1157. n, err := m.MarshalTo(b)
  1158. if err != nil {
  1159. return nil, err
  1160. }
  1161. return b[:n], nil
  1162. }
  1163. }
  1164. func (dst *UpdateEventScoreReq) XXX_Merge(src proto.Message) {
  1165. xxx_messageInfo_UpdateEventScoreReq.Merge(dst, src)
  1166. }
  1167. func (m *UpdateEventScoreReq) XXX_Size() int {
  1168. return m.Size()
  1169. }
  1170. func (m *UpdateEventScoreReq) XXX_DiscardUnknown() {
  1171. xxx_messageInfo_UpdateEventScoreReq.DiscardUnknown(m)
  1172. }
  1173. var xxx_messageInfo_UpdateEventScoreReq proto.InternalMessageInfo
  1174. func (m *UpdateEventScoreReq) GetArg() *ModelArgReset {
  1175. if m != nil {
  1176. return m.Arg
  1177. }
  1178. return nil
  1179. }
  1180. type UpdateUserScoreReply struct {
  1181. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1182. XXX_unrecognized []byte `json:"-"`
  1183. XXX_sizecache int32 `json:"-"`
  1184. }
  1185. func (m *UpdateUserScoreReply) Reset() { *m = UpdateUserScoreReply{} }
  1186. func (m *UpdateUserScoreReply) String() string { return proto.CompactTextString(m) }
  1187. func (*UpdateUserScoreReply) ProtoMessage() {}
  1188. func (*UpdateUserScoreReply) Descriptor() ([]byte, []int) {
  1189. return fileDescriptor_api_6dc8e2021997d22c, []int{24}
  1190. }
  1191. func (m *UpdateUserScoreReply) XXX_Unmarshal(b []byte) error {
  1192. return m.Unmarshal(b)
  1193. }
  1194. func (m *UpdateUserScoreReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1195. if deterministic {
  1196. return xxx_messageInfo_UpdateUserScoreReply.Marshal(b, m, deterministic)
  1197. } else {
  1198. b = b[:cap(b)]
  1199. n, err := m.MarshalTo(b)
  1200. if err != nil {
  1201. return nil, err
  1202. }
  1203. return b[:n], nil
  1204. }
  1205. }
  1206. func (dst *UpdateUserScoreReply) XXX_Merge(src proto.Message) {
  1207. xxx_messageInfo_UpdateUserScoreReply.Merge(dst, src)
  1208. }
  1209. func (m *UpdateUserScoreReply) XXX_Size() int {
  1210. return m.Size()
  1211. }
  1212. func (m *UpdateUserScoreReply) XXX_DiscardUnknown() {
  1213. xxx_messageInfo_UpdateUserScoreReply.DiscardUnknown(m)
  1214. }
  1215. var xxx_messageInfo_UpdateUserScoreReply proto.InternalMessageInfo
  1216. type UpdateUserScoreReq struct {
  1217. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1218. Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
  1219. Effect string `protobuf:"bytes,3,opt,name=effect,proto3" json:"effect,omitempty"`
  1220. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1221. XXX_unrecognized []byte `json:"-"`
  1222. XXX_sizecache int32 `json:"-"`
  1223. }
  1224. func (m *UpdateUserScoreReq) Reset() { *m = UpdateUserScoreReq{} }
  1225. func (m *UpdateUserScoreReq) String() string { return proto.CompactTextString(m) }
  1226. func (*UpdateUserScoreReq) ProtoMessage() {}
  1227. func (*UpdateUserScoreReq) Descriptor() ([]byte, []int) {
  1228. return fileDescriptor_api_6dc8e2021997d22c, []int{25}
  1229. }
  1230. func (m *UpdateUserScoreReq) XXX_Unmarshal(b []byte) error {
  1231. return m.Unmarshal(b)
  1232. }
  1233. func (m *UpdateUserScoreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1234. if deterministic {
  1235. return xxx_messageInfo_UpdateUserScoreReq.Marshal(b, m, deterministic)
  1236. } else {
  1237. b = b[:cap(b)]
  1238. n, err := m.MarshalTo(b)
  1239. if err != nil {
  1240. return nil, err
  1241. }
  1242. return b[:n], nil
  1243. }
  1244. }
  1245. func (dst *UpdateUserScoreReq) XXX_Merge(src proto.Message) {
  1246. xxx_messageInfo_UpdateUserScoreReq.Merge(dst, src)
  1247. }
  1248. func (m *UpdateUserScoreReq) XXX_Size() int {
  1249. return m.Size()
  1250. }
  1251. func (m *UpdateUserScoreReq) XXX_DiscardUnknown() {
  1252. xxx_messageInfo_UpdateUserScoreReq.DiscardUnknown(m)
  1253. }
  1254. var xxx_messageInfo_UpdateUserScoreReq proto.InternalMessageInfo
  1255. func (m *UpdateUserScoreReq) GetMid() int64 {
  1256. if m != nil {
  1257. return m.Mid
  1258. }
  1259. return 0
  1260. }
  1261. func (m *UpdateUserScoreReq) GetIp() string {
  1262. if m != nil {
  1263. return m.Ip
  1264. }
  1265. return ""
  1266. }
  1267. func (m *UpdateUserScoreReq) GetEffect() string {
  1268. if m != nil {
  1269. return m.Effect
  1270. }
  1271. return ""
  1272. }
  1273. type UserInfoAsynReply struct {
  1274. Ui *ModelUserInfo `protobuf:"bytes,1,opt,name=ui" json:"ui,omitempty"`
  1275. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1276. XXX_unrecognized []byte `json:"-"`
  1277. XXX_sizecache int32 `json:"-"`
  1278. }
  1279. func (m *UserInfoAsynReply) Reset() { *m = UserInfoAsynReply{} }
  1280. func (m *UserInfoAsynReply) String() string { return proto.CompactTextString(m) }
  1281. func (*UserInfoAsynReply) ProtoMessage() {}
  1282. func (*UserInfoAsynReply) Descriptor() ([]byte, []int) {
  1283. return fileDescriptor_api_6dc8e2021997d22c, []int{26}
  1284. }
  1285. func (m *UserInfoAsynReply) XXX_Unmarshal(b []byte) error {
  1286. return m.Unmarshal(b)
  1287. }
  1288. func (m *UserInfoAsynReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1289. if deterministic {
  1290. return xxx_messageInfo_UserInfoAsynReply.Marshal(b, m, deterministic)
  1291. } else {
  1292. b = b[:cap(b)]
  1293. n, err := m.MarshalTo(b)
  1294. if err != nil {
  1295. return nil, err
  1296. }
  1297. return b[:n], nil
  1298. }
  1299. }
  1300. func (dst *UserInfoAsynReply) XXX_Merge(src proto.Message) {
  1301. xxx_messageInfo_UserInfoAsynReply.Merge(dst, src)
  1302. }
  1303. func (m *UserInfoAsynReply) XXX_Size() int {
  1304. return m.Size()
  1305. }
  1306. func (m *UserInfoAsynReply) XXX_DiscardUnknown() {
  1307. xxx_messageInfo_UserInfoAsynReply.DiscardUnknown(m)
  1308. }
  1309. var xxx_messageInfo_UserInfoAsynReply proto.InternalMessageInfo
  1310. func (m *UserInfoAsynReply) GetUi() *ModelUserInfo {
  1311. if m != nil {
  1312. return m.Ui
  1313. }
  1314. return nil
  1315. }
  1316. type UserInfoAsynReq struct {
  1317. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1318. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1319. XXX_unrecognized []byte `json:"-"`
  1320. XXX_sizecache int32 `json:"-"`
  1321. }
  1322. func (m *UserInfoAsynReq) Reset() { *m = UserInfoAsynReq{} }
  1323. func (m *UserInfoAsynReq) String() string { return proto.CompactTextString(m) }
  1324. func (*UserInfoAsynReq) ProtoMessage() {}
  1325. func (*UserInfoAsynReq) Descriptor() ([]byte, []int) {
  1326. return fileDescriptor_api_6dc8e2021997d22c, []int{27}
  1327. }
  1328. func (m *UserInfoAsynReq) XXX_Unmarshal(b []byte) error {
  1329. return m.Unmarshal(b)
  1330. }
  1331. func (m *UserInfoAsynReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1332. if deterministic {
  1333. return xxx_messageInfo_UserInfoAsynReq.Marshal(b, m, deterministic)
  1334. } else {
  1335. b = b[:cap(b)]
  1336. n, err := m.MarshalTo(b)
  1337. if err != nil {
  1338. return nil, err
  1339. }
  1340. return b[:n], nil
  1341. }
  1342. }
  1343. func (dst *UserInfoAsynReq) XXX_Merge(src proto.Message) {
  1344. xxx_messageInfo_UserInfoAsynReq.Merge(dst, src)
  1345. }
  1346. func (m *UserInfoAsynReq) XXX_Size() int {
  1347. return m.Size()
  1348. }
  1349. func (m *UserInfoAsynReq) XXX_DiscardUnknown() {
  1350. xxx_messageInfo_UserInfoAsynReq.DiscardUnknown(m)
  1351. }
  1352. var xxx_messageInfo_UserInfoAsynReq proto.InternalMessageInfo
  1353. func (m *UserInfoAsynReq) GetMid() int64 {
  1354. if m != nil {
  1355. return m.Mid
  1356. }
  1357. return 0
  1358. }
  1359. type UserInfoReply struct {
  1360. Ui *ModelUserInfo `protobuf:"bytes,1,opt,name=ui" json:"ui,omitempty"`
  1361. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1362. XXX_unrecognized []byte `json:"-"`
  1363. XXX_sizecache int32 `json:"-"`
  1364. }
  1365. func (m *UserInfoReply) Reset() { *m = UserInfoReply{} }
  1366. func (m *UserInfoReply) String() string { return proto.CompactTextString(m) }
  1367. func (*UserInfoReply) ProtoMessage() {}
  1368. func (*UserInfoReply) Descriptor() ([]byte, []int) {
  1369. return fileDescriptor_api_6dc8e2021997d22c, []int{28}
  1370. }
  1371. func (m *UserInfoReply) XXX_Unmarshal(b []byte) error {
  1372. return m.Unmarshal(b)
  1373. }
  1374. func (m *UserInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1375. if deterministic {
  1376. return xxx_messageInfo_UserInfoReply.Marshal(b, m, deterministic)
  1377. } else {
  1378. b = b[:cap(b)]
  1379. n, err := m.MarshalTo(b)
  1380. if err != nil {
  1381. return nil, err
  1382. }
  1383. return b[:n], nil
  1384. }
  1385. }
  1386. func (dst *UserInfoReply) XXX_Merge(src proto.Message) {
  1387. xxx_messageInfo_UserInfoReply.Merge(dst, src)
  1388. }
  1389. func (m *UserInfoReply) XXX_Size() int {
  1390. return m.Size()
  1391. }
  1392. func (m *UserInfoReply) XXX_DiscardUnknown() {
  1393. xxx_messageInfo_UserInfoReply.DiscardUnknown(m)
  1394. }
  1395. var xxx_messageInfo_UserInfoReply proto.InternalMessageInfo
  1396. func (m *UserInfoReply) GetUi() *ModelUserInfo {
  1397. if m != nil {
  1398. return m.Ui
  1399. }
  1400. return nil
  1401. }
  1402. type UserInfoReq struct {
  1403. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1404. Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
  1405. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1406. XXX_unrecognized []byte `json:"-"`
  1407. XXX_sizecache int32 `json:"-"`
  1408. }
  1409. func (m *UserInfoReq) Reset() { *m = UserInfoReq{} }
  1410. func (m *UserInfoReq) String() string { return proto.CompactTextString(m) }
  1411. func (*UserInfoReq) ProtoMessage() {}
  1412. func (*UserInfoReq) Descriptor() ([]byte, []int) {
  1413. return fileDescriptor_api_6dc8e2021997d22c, []int{29}
  1414. }
  1415. func (m *UserInfoReq) XXX_Unmarshal(b []byte) error {
  1416. return m.Unmarshal(b)
  1417. }
  1418. func (m *UserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1419. if deterministic {
  1420. return xxx_messageInfo_UserInfoReq.Marshal(b, m, deterministic)
  1421. } else {
  1422. b = b[:cap(b)]
  1423. n, err := m.MarshalTo(b)
  1424. if err != nil {
  1425. return nil, err
  1426. }
  1427. return b[:n], nil
  1428. }
  1429. }
  1430. func (dst *UserInfoReq) XXX_Merge(src proto.Message) {
  1431. xxx_messageInfo_UserInfoReq.Merge(dst, src)
  1432. }
  1433. func (m *UserInfoReq) XXX_Size() int {
  1434. return m.Size()
  1435. }
  1436. func (m *UserInfoReq) XXX_DiscardUnknown() {
  1437. xxx_messageInfo_UserInfoReq.DiscardUnknown(m)
  1438. }
  1439. var xxx_messageInfo_UserInfoReq proto.InternalMessageInfo
  1440. func (m *UserInfoReq) GetMid() int64 {
  1441. if m != nil {
  1442. return m.Mid
  1443. }
  1444. return 0
  1445. }
  1446. func (m *UserInfoReq) GetIp() string {
  1447. if m != nil {
  1448. return m.Ip
  1449. }
  1450. return ""
  1451. }
  1452. type InfoReq struct {
  1453. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1454. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1455. XXX_unrecognized []byte `json:"-"`
  1456. XXX_sizecache int32 `json:"-"`
  1457. }
  1458. func (m *InfoReq) Reset() { *m = InfoReq{} }
  1459. func (m *InfoReq) String() string { return proto.CompactTextString(m) }
  1460. func (*InfoReq) ProtoMessage() {}
  1461. func (*InfoReq) Descriptor() ([]byte, []int) {
  1462. return fileDescriptor_api_6dc8e2021997d22c, []int{30}
  1463. }
  1464. func (m *InfoReq) XXX_Unmarshal(b []byte) error {
  1465. return m.Unmarshal(b)
  1466. }
  1467. func (m *InfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1468. if deterministic {
  1469. return xxx_messageInfo_InfoReq.Marshal(b, m, deterministic)
  1470. } else {
  1471. b = b[:cap(b)]
  1472. n, err := m.MarshalTo(b)
  1473. if err != nil {
  1474. return nil, err
  1475. }
  1476. return b[:n], nil
  1477. }
  1478. }
  1479. func (dst *InfoReq) XXX_Merge(src proto.Message) {
  1480. xxx_messageInfo_InfoReq.Merge(dst, src)
  1481. }
  1482. func (m *InfoReq) XXX_Size() int {
  1483. return m.Size()
  1484. }
  1485. func (m *InfoReq) XXX_DiscardUnknown() {
  1486. xxx_messageInfo_InfoReq.DiscardUnknown(m)
  1487. }
  1488. var xxx_messageInfo_InfoReq proto.InternalMessageInfo
  1489. func (m *InfoReq) GetMid() int64 {
  1490. if m != nil {
  1491. return m.Mid
  1492. }
  1493. return 0
  1494. }
  1495. type InfoReply struct {
  1496. Ui *ModelUserInfo `protobuf:"bytes,1,opt,name=ui" json:"ui,omitempty"`
  1497. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1498. XXX_unrecognized []byte `json:"-"`
  1499. XXX_sizecache int32 `json:"-"`
  1500. }
  1501. func (m *InfoReply) Reset() { *m = InfoReply{} }
  1502. func (m *InfoReply) String() string { return proto.CompactTextString(m) }
  1503. func (*InfoReply) ProtoMessage() {}
  1504. func (*InfoReply) Descriptor() ([]byte, []int) {
  1505. return fileDescriptor_api_6dc8e2021997d22c, []int{31}
  1506. }
  1507. func (m *InfoReply) XXX_Unmarshal(b []byte) error {
  1508. return m.Unmarshal(b)
  1509. }
  1510. func (m *InfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1511. if deterministic {
  1512. return xxx_messageInfo_InfoReply.Marshal(b, m, deterministic)
  1513. } else {
  1514. b = b[:cap(b)]
  1515. n, err := m.MarshalTo(b)
  1516. if err != nil {
  1517. return nil, err
  1518. }
  1519. return b[:n], nil
  1520. }
  1521. }
  1522. func (dst *InfoReply) XXX_Merge(src proto.Message) {
  1523. xxx_messageInfo_InfoReply.Merge(dst, src)
  1524. }
  1525. func (m *InfoReply) XXX_Size() int {
  1526. return m.Size()
  1527. }
  1528. func (m *InfoReply) XXX_DiscardUnknown() {
  1529. xxx_messageInfo_InfoReply.DiscardUnknown(m)
  1530. }
  1531. var xxx_messageInfo_InfoReply proto.InternalMessageInfo
  1532. func (m *InfoReply) GetUi() *ModelUserInfo {
  1533. if m != nil {
  1534. return m.Ui
  1535. }
  1536. return nil
  1537. }
  1538. func init() {
  1539. proto.RegisterType((*ClearReliveTimesReply)(nil), "account.spy.ClearReliveTimesReply")
  1540. proto.RegisterType((*ClearReliveTimesReq)(nil), "account.spy.ClearReliveTimesReq")
  1541. proto.RegisterType((*HandleEventReply)(nil), "account.spy.HandleEventReply")
  1542. proto.RegisterType((*HandleEventReq)(nil), "account.spy.HandleEventReq")
  1543. proto.RegisterType((*ModelArgReset)(nil), "account.spy.ModelArgReset")
  1544. proto.RegisterType((*ModelEventMessage)(nil), "account.spy.ModelEventMessage")
  1545. proto.RegisterType((*ModelStatistics)(nil), "account.spy.ModelStatistics")
  1546. proto.RegisterType((*ModelUserInfo)(nil), "account.spy.ModelUserInfo")
  1547. proto.RegisterType((*PingReply)(nil), "account.spy.PingReply")
  1548. proto.RegisterType((*PingReq)(nil), "account.spy.PingReq")
  1549. proto.RegisterType((*PurgeUserReply)(nil), "account.spy.PurgeUserReply")
  1550. proto.RegisterType((*PurgeUserReq)(nil), "account.spy.PurgeUserReq")
  1551. proto.RegisterType((*ReBuildPortraitReply)(nil), "account.spy.ReBuildPortraitReply")
  1552. proto.RegisterType((*ReBuildPortraitReq)(nil), "account.spy.ReBuildPortraitReq")
  1553. proto.RegisterType((*RefreshBaseScoreReply)(nil), "account.spy.RefreshBaseScoreReply")
  1554. proto.RegisterType((*RefreshBaseScoreReq)(nil), "account.spy.RefreshBaseScoreReq")
  1555. proto.RegisterType((*StatByIDGroupEventReply)(nil), "account.spy.StatByIDGroupEventReply")
  1556. proto.RegisterType((*StatByIDGroupEventReq)(nil), "account.spy.StatByIDGroupEventReq")
  1557. proto.RegisterType((*StatByIDReply)(nil), "account.spy.StatByIDReply")
  1558. proto.RegisterType((*StatByIDReq)(nil), "account.spy.StatByIDReq")
  1559. proto.RegisterType((*UpdateBaseScoreReply)(nil), "account.spy.UpdateBaseScoreReply")
  1560. proto.RegisterType((*UpdateBaseScoreReq)(nil), "account.spy.UpdateBaseScoreReq")
  1561. proto.RegisterType((*UpdateEventScoreReply)(nil), "account.spy.UpdateEventScoreReply")
  1562. proto.RegisterType((*UpdateEventScoreReq)(nil), "account.spy.UpdateEventScoreReq")
  1563. proto.RegisterType((*UpdateUserScoreReply)(nil), "account.spy.UpdateUserScoreReply")
  1564. proto.RegisterType((*UpdateUserScoreReq)(nil), "account.spy.UpdateUserScoreReq")
  1565. proto.RegisterType((*UserInfoAsynReply)(nil), "account.spy.UserInfoAsynReply")
  1566. proto.RegisterType((*UserInfoAsynReq)(nil), "account.spy.UserInfoAsynReq")
  1567. proto.RegisterType((*UserInfoReply)(nil), "account.spy.UserInfoReply")
  1568. proto.RegisterType((*UserInfoReq)(nil), "account.spy.UserInfoReq")
  1569. proto.RegisterType((*InfoReq)(nil), "account.spy.InfoReq")
  1570. proto.RegisterType((*InfoReply)(nil), "account.spy.InfoReply")
  1571. }
  1572. // Reference imports to suppress errors if they are not otherwise used.
  1573. var _ context.Context
  1574. var _ grpc.ClientConn
  1575. // This is a compile-time assertion to ensure that this generated file
  1576. // is compatible with the grpc package it is being compiled against.
  1577. const _ = grpc.SupportPackageIsVersion4
  1578. // SpyClient is the client API for Spy service.
  1579. //
  1580. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1581. type SpyClient interface {
  1582. // Ping check dao health.
  1583. Ping(ctx context.Context, in *PingReq, opts ...grpc.CallOption) (*PingReply, error)
  1584. // Info get user info by mid.
  1585. Info(ctx context.Context, in *InfoReq, opts ...grpc.CallOption) (*InfoReply, error)
  1586. // StatByID spy stat by id or mid.
  1587. StatByID(ctx context.Context, in *StatByIDReq, opts ...grpc.CallOption) (*StatByIDReply, error)
  1588. // StatByIDGroupEvent spy stat by id or mid.
  1589. StatByIDGroupEvent(ctx context.Context, in *StatByIDGroupEventReq, opts ...grpc.CallOption) (*StatByIDGroupEventReply, error)
  1590. // PurgeUser purge user info
  1591. PurgeUser(ctx context.Context, in *PurgeUserReq, opts ...grpc.CallOption) (*PurgeUserReply, error)
  1592. // HandleEvent handle spy-event.
  1593. HandleEvent(ctx context.Context, in *HandleEventReq, opts ...grpc.CallOption) (*HandleEventReply, error)
  1594. // UserInfo get UserInfo by mid , from cache or db or generate.
  1595. UserInfo(ctx context.Context, in *UserInfoReq, opts ...grpc.CallOption) (*UserInfoReply, error)
  1596. // UserInfoAsyn get UserInfo by mid , from cache or db or asyn generate.
  1597. UserInfoAsyn(ctx context.Context, in *UserInfoAsynReq, opts ...grpc.CallOption) (*UserInfoAsynReply, error)
  1598. // ReBuildPortrait reBuild user info.
  1599. ReBuildPortrait(ctx context.Context, in *ReBuildPortraitReq, opts ...grpc.CallOption) (*ReBuildPortraitReply, error)
  1600. // UpdateUserScore update user score
  1601. UpdateUserScore(ctx context.Context, in *UpdateUserScoreReq, opts ...grpc.CallOption) (*UpdateUserScoreReply, error)
  1602. // RefreshBaseScore refresh base score.
  1603. RefreshBaseScore(ctx context.Context, in *RefreshBaseScoreReq, opts ...grpc.CallOption) (*RefreshBaseScoreReply, error)
  1604. // UpdateBaseScore update base score.
  1605. UpdateBaseScore(ctx context.Context, in *UpdateBaseScoreReq, opts ...grpc.CallOption) (*UpdateBaseScoreReply, error)
  1606. // UpdateEventScore update event score.
  1607. UpdateEventScore(ctx context.Context, in *UpdateEventScoreReq, opts ...grpc.CallOption) (*UpdateEventScoreReply, error)
  1608. // ClearReliveTimes clear times.
  1609. ClearReliveTimes(ctx context.Context, in *ClearReliveTimesReq, opts ...grpc.CallOption) (*ClearReliveTimesReply, error)
  1610. }
  1611. type spyClient struct {
  1612. cc *grpc.ClientConn
  1613. }
  1614. func NewSpyClient(cc *grpc.ClientConn) SpyClient {
  1615. return &spyClient{cc}
  1616. }
  1617. func (c *spyClient) Ping(ctx context.Context, in *PingReq, opts ...grpc.CallOption) (*PingReply, error) {
  1618. out := new(PingReply)
  1619. err := c.cc.Invoke(ctx, "/account.spy.Spy/Ping", in, out, opts...)
  1620. if err != nil {
  1621. return nil, err
  1622. }
  1623. return out, nil
  1624. }
  1625. func (c *spyClient) Info(ctx context.Context, in *InfoReq, opts ...grpc.CallOption) (*InfoReply, error) {
  1626. out := new(InfoReply)
  1627. err := c.cc.Invoke(ctx, "/account.spy.Spy/Info", in, out, opts...)
  1628. if err != nil {
  1629. return nil, err
  1630. }
  1631. return out, nil
  1632. }
  1633. func (c *spyClient) StatByID(ctx context.Context, in *StatByIDReq, opts ...grpc.CallOption) (*StatByIDReply, error) {
  1634. out := new(StatByIDReply)
  1635. err := c.cc.Invoke(ctx, "/account.spy.Spy/StatByID", in, out, opts...)
  1636. if err != nil {
  1637. return nil, err
  1638. }
  1639. return out, nil
  1640. }
  1641. func (c *spyClient) StatByIDGroupEvent(ctx context.Context, in *StatByIDGroupEventReq, opts ...grpc.CallOption) (*StatByIDGroupEventReply, error) {
  1642. out := new(StatByIDGroupEventReply)
  1643. err := c.cc.Invoke(ctx, "/account.spy.Spy/StatByIDGroupEvent", in, out, opts...)
  1644. if err != nil {
  1645. return nil, err
  1646. }
  1647. return out, nil
  1648. }
  1649. func (c *spyClient) PurgeUser(ctx context.Context, in *PurgeUserReq, opts ...grpc.CallOption) (*PurgeUserReply, error) {
  1650. out := new(PurgeUserReply)
  1651. err := c.cc.Invoke(ctx, "/account.spy.Spy/PurgeUser", in, out, opts...)
  1652. if err != nil {
  1653. return nil, err
  1654. }
  1655. return out, nil
  1656. }
  1657. func (c *spyClient) HandleEvent(ctx context.Context, in *HandleEventReq, opts ...grpc.CallOption) (*HandleEventReply, error) {
  1658. out := new(HandleEventReply)
  1659. err := c.cc.Invoke(ctx, "/account.spy.Spy/HandleEvent", in, out, opts...)
  1660. if err != nil {
  1661. return nil, err
  1662. }
  1663. return out, nil
  1664. }
  1665. func (c *spyClient) UserInfo(ctx context.Context, in *UserInfoReq, opts ...grpc.CallOption) (*UserInfoReply, error) {
  1666. out := new(UserInfoReply)
  1667. err := c.cc.Invoke(ctx, "/account.spy.Spy/UserInfo", in, out, opts...)
  1668. if err != nil {
  1669. return nil, err
  1670. }
  1671. return out, nil
  1672. }
  1673. func (c *spyClient) UserInfoAsyn(ctx context.Context, in *UserInfoAsynReq, opts ...grpc.CallOption) (*UserInfoAsynReply, error) {
  1674. out := new(UserInfoAsynReply)
  1675. err := c.cc.Invoke(ctx, "/account.spy.Spy/UserInfoAsyn", in, out, opts...)
  1676. if err != nil {
  1677. return nil, err
  1678. }
  1679. return out, nil
  1680. }
  1681. func (c *spyClient) ReBuildPortrait(ctx context.Context, in *ReBuildPortraitReq, opts ...grpc.CallOption) (*ReBuildPortraitReply, error) {
  1682. out := new(ReBuildPortraitReply)
  1683. err := c.cc.Invoke(ctx, "/account.spy.Spy/ReBuildPortrait", in, out, opts...)
  1684. if err != nil {
  1685. return nil, err
  1686. }
  1687. return out, nil
  1688. }
  1689. func (c *spyClient) UpdateUserScore(ctx context.Context, in *UpdateUserScoreReq, opts ...grpc.CallOption) (*UpdateUserScoreReply, error) {
  1690. out := new(UpdateUserScoreReply)
  1691. err := c.cc.Invoke(ctx, "/account.spy.Spy/UpdateUserScore", in, out, opts...)
  1692. if err != nil {
  1693. return nil, err
  1694. }
  1695. return out, nil
  1696. }
  1697. func (c *spyClient) RefreshBaseScore(ctx context.Context, in *RefreshBaseScoreReq, opts ...grpc.CallOption) (*RefreshBaseScoreReply, error) {
  1698. out := new(RefreshBaseScoreReply)
  1699. err := c.cc.Invoke(ctx, "/account.spy.Spy/RefreshBaseScore", in, out, opts...)
  1700. if err != nil {
  1701. return nil, err
  1702. }
  1703. return out, nil
  1704. }
  1705. func (c *spyClient) UpdateBaseScore(ctx context.Context, in *UpdateBaseScoreReq, opts ...grpc.CallOption) (*UpdateBaseScoreReply, error) {
  1706. out := new(UpdateBaseScoreReply)
  1707. err := c.cc.Invoke(ctx, "/account.spy.Spy/UpdateBaseScore", in, out, opts...)
  1708. if err != nil {
  1709. return nil, err
  1710. }
  1711. return out, nil
  1712. }
  1713. func (c *spyClient) UpdateEventScore(ctx context.Context, in *UpdateEventScoreReq, opts ...grpc.CallOption) (*UpdateEventScoreReply, error) {
  1714. out := new(UpdateEventScoreReply)
  1715. err := c.cc.Invoke(ctx, "/account.spy.Spy/UpdateEventScore", in, out, opts...)
  1716. if err != nil {
  1717. return nil, err
  1718. }
  1719. return out, nil
  1720. }
  1721. func (c *spyClient) ClearReliveTimes(ctx context.Context, in *ClearReliveTimesReq, opts ...grpc.CallOption) (*ClearReliveTimesReply, error) {
  1722. out := new(ClearReliveTimesReply)
  1723. err := c.cc.Invoke(ctx, "/account.spy.Spy/ClearReliveTimes", in, out, opts...)
  1724. if err != nil {
  1725. return nil, err
  1726. }
  1727. return out, nil
  1728. }
  1729. // SpyServer is the server API for Spy service.
  1730. type SpyServer interface {
  1731. // Ping check dao health.
  1732. Ping(context.Context, *PingReq) (*PingReply, error)
  1733. // Info get user info by mid.
  1734. Info(context.Context, *InfoReq) (*InfoReply, error)
  1735. // StatByID spy stat by id or mid.
  1736. StatByID(context.Context, *StatByIDReq) (*StatByIDReply, error)
  1737. // StatByIDGroupEvent spy stat by id or mid.
  1738. StatByIDGroupEvent(context.Context, *StatByIDGroupEventReq) (*StatByIDGroupEventReply, error)
  1739. // PurgeUser purge user info
  1740. PurgeUser(context.Context, *PurgeUserReq) (*PurgeUserReply, error)
  1741. // HandleEvent handle spy-event.
  1742. HandleEvent(context.Context, *HandleEventReq) (*HandleEventReply, error)
  1743. // UserInfo get UserInfo by mid , from cache or db or generate.
  1744. UserInfo(context.Context, *UserInfoReq) (*UserInfoReply, error)
  1745. // UserInfoAsyn get UserInfo by mid , from cache or db or asyn generate.
  1746. UserInfoAsyn(context.Context, *UserInfoAsynReq) (*UserInfoAsynReply, error)
  1747. // ReBuildPortrait reBuild user info.
  1748. ReBuildPortrait(context.Context, *ReBuildPortraitReq) (*ReBuildPortraitReply, error)
  1749. // UpdateUserScore update user score
  1750. UpdateUserScore(context.Context, *UpdateUserScoreReq) (*UpdateUserScoreReply, error)
  1751. // RefreshBaseScore refresh base score.
  1752. RefreshBaseScore(context.Context, *RefreshBaseScoreReq) (*RefreshBaseScoreReply, error)
  1753. // UpdateBaseScore update base score.
  1754. UpdateBaseScore(context.Context, *UpdateBaseScoreReq) (*UpdateBaseScoreReply, error)
  1755. // UpdateEventScore update event score.
  1756. UpdateEventScore(context.Context, *UpdateEventScoreReq) (*UpdateEventScoreReply, error)
  1757. // ClearReliveTimes clear times.
  1758. ClearReliveTimes(context.Context, *ClearReliveTimesReq) (*ClearReliveTimesReply, error)
  1759. }
  1760. func RegisterSpyServer(s *grpc.Server, srv SpyServer) {
  1761. s.RegisterService(&_Spy_serviceDesc, srv)
  1762. }
  1763. func _Spy_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1764. in := new(PingReq)
  1765. if err := dec(in); err != nil {
  1766. return nil, err
  1767. }
  1768. if interceptor == nil {
  1769. return srv.(SpyServer).Ping(ctx, in)
  1770. }
  1771. info := &grpc.UnaryServerInfo{
  1772. Server: srv,
  1773. FullMethod: "/account.spy.Spy/Ping",
  1774. }
  1775. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1776. return srv.(SpyServer).Ping(ctx, req.(*PingReq))
  1777. }
  1778. return interceptor(ctx, in, info, handler)
  1779. }
  1780. func _Spy_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1781. in := new(InfoReq)
  1782. if err := dec(in); err != nil {
  1783. return nil, err
  1784. }
  1785. if interceptor == nil {
  1786. return srv.(SpyServer).Info(ctx, in)
  1787. }
  1788. info := &grpc.UnaryServerInfo{
  1789. Server: srv,
  1790. FullMethod: "/account.spy.Spy/Info",
  1791. }
  1792. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1793. return srv.(SpyServer).Info(ctx, req.(*InfoReq))
  1794. }
  1795. return interceptor(ctx, in, info, handler)
  1796. }
  1797. func _Spy_StatByID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1798. in := new(StatByIDReq)
  1799. if err := dec(in); err != nil {
  1800. return nil, err
  1801. }
  1802. if interceptor == nil {
  1803. return srv.(SpyServer).StatByID(ctx, in)
  1804. }
  1805. info := &grpc.UnaryServerInfo{
  1806. Server: srv,
  1807. FullMethod: "/account.spy.Spy/StatByID",
  1808. }
  1809. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1810. return srv.(SpyServer).StatByID(ctx, req.(*StatByIDReq))
  1811. }
  1812. return interceptor(ctx, in, info, handler)
  1813. }
  1814. func _Spy_StatByIDGroupEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1815. in := new(StatByIDGroupEventReq)
  1816. if err := dec(in); err != nil {
  1817. return nil, err
  1818. }
  1819. if interceptor == nil {
  1820. return srv.(SpyServer).StatByIDGroupEvent(ctx, in)
  1821. }
  1822. info := &grpc.UnaryServerInfo{
  1823. Server: srv,
  1824. FullMethod: "/account.spy.Spy/StatByIDGroupEvent",
  1825. }
  1826. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1827. return srv.(SpyServer).StatByIDGroupEvent(ctx, req.(*StatByIDGroupEventReq))
  1828. }
  1829. return interceptor(ctx, in, info, handler)
  1830. }
  1831. func _Spy_PurgeUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1832. in := new(PurgeUserReq)
  1833. if err := dec(in); err != nil {
  1834. return nil, err
  1835. }
  1836. if interceptor == nil {
  1837. return srv.(SpyServer).PurgeUser(ctx, in)
  1838. }
  1839. info := &grpc.UnaryServerInfo{
  1840. Server: srv,
  1841. FullMethod: "/account.spy.Spy/PurgeUser",
  1842. }
  1843. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1844. return srv.(SpyServer).PurgeUser(ctx, req.(*PurgeUserReq))
  1845. }
  1846. return interceptor(ctx, in, info, handler)
  1847. }
  1848. func _Spy_HandleEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1849. in := new(HandleEventReq)
  1850. if err := dec(in); err != nil {
  1851. return nil, err
  1852. }
  1853. if interceptor == nil {
  1854. return srv.(SpyServer).HandleEvent(ctx, in)
  1855. }
  1856. info := &grpc.UnaryServerInfo{
  1857. Server: srv,
  1858. FullMethod: "/account.spy.Spy/HandleEvent",
  1859. }
  1860. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1861. return srv.(SpyServer).HandleEvent(ctx, req.(*HandleEventReq))
  1862. }
  1863. return interceptor(ctx, in, info, handler)
  1864. }
  1865. func _Spy_UserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1866. in := new(UserInfoReq)
  1867. if err := dec(in); err != nil {
  1868. return nil, err
  1869. }
  1870. if interceptor == nil {
  1871. return srv.(SpyServer).UserInfo(ctx, in)
  1872. }
  1873. info := &grpc.UnaryServerInfo{
  1874. Server: srv,
  1875. FullMethod: "/account.spy.Spy/UserInfo",
  1876. }
  1877. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1878. return srv.(SpyServer).UserInfo(ctx, req.(*UserInfoReq))
  1879. }
  1880. return interceptor(ctx, in, info, handler)
  1881. }
  1882. func _Spy_UserInfoAsyn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1883. in := new(UserInfoAsynReq)
  1884. if err := dec(in); err != nil {
  1885. return nil, err
  1886. }
  1887. if interceptor == nil {
  1888. return srv.(SpyServer).UserInfoAsyn(ctx, in)
  1889. }
  1890. info := &grpc.UnaryServerInfo{
  1891. Server: srv,
  1892. FullMethod: "/account.spy.Spy/UserInfoAsyn",
  1893. }
  1894. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1895. return srv.(SpyServer).UserInfoAsyn(ctx, req.(*UserInfoAsynReq))
  1896. }
  1897. return interceptor(ctx, in, info, handler)
  1898. }
  1899. func _Spy_ReBuildPortrait_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1900. in := new(ReBuildPortraitReq)
  1901. if err := dec(in); err != nil {
  1902. return nil, err
  1903. }
  1904. if interceptor == nil {
  1905. return srv.(SpyServer).ReBuildPortrait(ctx, in)
  1906. }
  1907. info := &grpc.UnaryServerInfo{
  1908. Server: srv,
  1909. FullMethod: "/account.spy.Spy/ReBuildPortrait",
  1910. }
  1911. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1912. return srv.(SpyServer).ReBuildPortrait(ctx, req.(*ReBuildPortraitReq))
  1913. }
  1914. return interceptor(ctx, in, info, handler)
  1915. }
  1916. func _Spy_UpdateUserScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1917. in := new(UpdateUserScoreReq)
  1918. if err := dec(in); err != nil {
  1919. return nil, err
  1920. }
  1921. if interceptor == nil {
  1922. return srv.(SpyServer).UpdateUserScore(ctx, in)
  1923. }
  1924. info := &grpc.UnaryServerInfo{
  1925. Server: srv,
  1926. FullMethod: "/account.spy.Spy/UpdateUserScore",
  1927. }
  1928. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1929. return srv.(SpyServer).UpdateUserScore(ctx, req.(*UpdateUserScoreReq))
  1930. }
  1931. return interceptor(ctx, in, info, handler)
  1932. }
  1933. func _Spy_RefreshBaseScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1934. in := new(RefreshBaseScoreReq)
  1935. if err := dec(in); err != nil {
  1936. return nil, err
  1937. }
  1938. if interceptor == nil {
  1939. return srv.(SpyServer).RefreshBaseScore(ctx, in)
  1940. }
  1941. info := &grpc.UnaryServerInfo{
  1942. Server: srv,
  1943. FullMethod: "/account.spy.Spy/RefreshBaseScore",
  1944. }
  1945. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1946. return srv.(SpyServer).RefreshBaseScore(ctx, req.(*RefreshBaseScoreReq))
  1947. }
  1948. return interceptor(ctx, in, info, handler)
  1949. }
  1950. func _Spy_UpdateBaseScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1951. in := new(UpdateBaseScoreReq)
  1952. if err := dec(in); err != nil {
  1953. return nil, err
  1954. }
  1955. if interceptor == nil {
  1956. return srv.(SpyServer).UpdateBaseScore(ctx, in)
  1957. }
  1958. info := &grpc.UnaryServerInfo{
  1959. Server: srv,
  1960. FullMethod: "/account.spy.Spy/UpdateBaseScore",
  1961. }
  1962. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1963. return srv.(SpyServer).UpdateBaseScore(ctx, req.(*UpdateBaseScoreReq))
  1964. }
  1965. return interceptor(ctx, in, info, handler)
  1966. }
  1967. func _Spy_UpdateEventScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1968. in := new(UpdateEventScoreReq)
  1969. if err := dec(in); err != nil {
  1970. return nil, err
  1971. }
  1972. if interceptor == nil {
  1973. return srv.(SpyServer).UpdateEventScore(ctx, in)
  1974. }
  1975. info := &grpc.UnaryServerInfo{
  1976. Server: srv,
  1977. FullMethod: "/account.spy.Spy/UpdateEventScore",
  1978. }
  1979. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1980. return srv.(SpyServer).UpdateEventScore(ctx, req.(*UpdateEventScoreReq))
  1981. }
  1982. return interceptor(ctx, in, info, handler)
  1983. }
  1984. func _Spy_ClearReliveTimes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1985. in := new(ClearReliveTimesReq)
  1986. if err := dec(in); err != nil {
  1987. return nil, err
  1988. }
  1989. if interceptor == nil {
  1990. return srv.(SpyServer).ClearReliveTimes(ctx, in)
  1991. }
  1992. info := &grpc.UnaryServerInfo{
  1993. Server: srv,
  1994. FullMethod: "/account.spy.Spy/ClearReliveTimes",
  1995. }
  1996. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1997. return srv.(SpyServer).ClearReliveTimes(ctx, req.(*ClearReliveTimesReq))
  1998. }
  1999. return interceptor(ctx, in, info, handler)
  2000. }
  2001. var _Spy_serviceDesc = grpc.ServiceDesc{
  2002. ServiceName: "account.spy.Spy",
  2003. HandlerType: (*SpyServer)(nil),
  2004. Methods: []grpc.MethodDesc{
  2005. {
  2006. MethodName: "Ping",
  2007. Handler: _Spy_Ping_Handler,
  2008. },
  2009. {
  2010. MethodName: "Info",
  2011. Handler: _Spy_Info_Handler,
  2012. },
  2013. {
  2014. MethodName: "StatByID",
  2015. Handler: _Spy_StatByID_Handler,
  2016. },
  2017. {
  2018. MethodName: "StatByIDGroupEvent",
  2019. Handler: _Spy_StatByIDGroupEvent_Handler,
  2020. },
  2021. {
  2022. MethodName: "PurgeUser",
  2023. Handler: _Spy_PurgeUser_Handler,
  2024. },
  2025. {
  2026. MethodName: "HandleEvent",
  2027. Handler: _Spy_HandleEvent_Handler,
  2028. },
  2029. {
  2030. MethodName: "UserInfo",
  2031. Handler: _Spy_UserInfo_Handler,
  2032. },
  2033. {
  2034. MethodName: "UserInfoAsyn",
  2035. Handler: _Spy_UserInfoAsyn_Handler,
  2036. },
  2037. {
  2038. MethodName: "ReBuildPortrait",
  2039. Handler: _Spy_ReBuildPortrait_Handler,
  2040. },
  2041. {
  2042. MethodName: "UpdateUserScore",
  2043. Handler: _Spy_UpdateUserScore_Handler,
  2044. },
  2045. {
  2046. MethodName: "RefreshBaseScore",
  2047. Handler: _Spy_RefreshBaseScore_Handler,
  2048. },
  2049. {
  2050. MethodName: "UpdateBaseScore",
  2051. Handler: _Spy_UpdateBaseScore_Handler,
  2052. },
  2053. {
  2054. MethodName: "UpdateEventScore",
  2055. Handler: _Spy_UpdateEventScore_Handler,
  2056. },
  2057. {
  2058. MethodName: "ClearReliveTimes",
  2059. Handler: _Spy_ClearReliveTimes_Handler,
  2060. },
  2061. },
  2062. Streams: []grpc.StreamDesc{},
  2063. Metadata: "app/service/main/spy/api/api.proto",
  2064. }
  2065. func (m *ClearReliveTimesReply) Marshal() (dAtA []byte, err error) {
  2066. size := m.Size()
  2067. dAtA = make([]byte, size)
  2068. n, err := m.MarshalTo(dAtA)
  2069. if err != nil {
  2070. return nil, err
  2071. }
  2072. return dAtA[:n], nil
  2073. }
  2074. func (m *ClearReliveTimesReply) MarshalTo(dAtA []byte) (int, error) {
  2075. var i int
  2076. _ = i
  2077. var l int
  2078. _ = l
  2079. if m.XXX_unrecognized != nil {
  2080. i += copy(dAtA[i:], m.XXX_unrecognized)
  2081. }
  2082. return i, nil
  2083. }
  2084. func (m *ClearReliveTimesReq) Marshal() (dAtA []byte, err error) {
  2085. size := m.Size()
  2086. dAtA = make([]byte, size)
  2087. n, err := m.MarshalTo(dAtA)
  2088. if err != nil {
  2089. return nil, err
  2090. }
  2091. return dAtA[:n], nil
  2092. }
  2093. func (m *ClearReliveTimesReq) MarshalTo(dAtA []byte) (int, error) {
  2094. var i int
  2095. _ = i
  2096. var l int
  2097. _ = l
  2098. if m.Arg != nil {
  2099. dAtA[i] = 0xa
  2100. i++
  2101. i = encodeVarintApi(dAtA, i, uint64(m.Arg.Size()))
  2102. n1, err := m.Arg.MarshalTo(dAtA[i:])
  2103. if err != nil {
  2104. return 0, err
  2105. }
  2106. i += n1
  2107. }
  2108. if m.XXX_unrecognized != nil {
  2109. i += copy(dAtA[i:], m.XXX_unrecognized)
  2110. }
  2111. return i, nil
  2112. }
  2113. func (m *HandleEventReply) Marshal() (dAtA []byte, err error) {
  2114. size := m.Size()
  2115. dAtA = make([]byte, size)
  2116. n, err := m.MarshalTo(dAtA)
  2117. if err != nil {
  2118. return nil, err
  2119. }
  2120. return dAtA[:n], nil
  2121. }
  2122. func (m *HandleEventReply) MarshalTo(dAtA []byte) (int, error) {
  2123. var i int
  2124. _ = i
  2125. var l int
  2126. _ = l
  2127. if m.XXX_unrecognized != nil {
  2128. i += copy(dAtA[i:], m.XXX_unrecognized)
  2129. }
  2130. return i, nil
  2131. }
  2132. func (m *HandleEventReq) Marshal() (dAtA []byte, err error) {
  2133. size := m.Size()
  2134. dAtA = make([]byte, size)
  2135. n, err := m.MarshalTo(dAtA)
  2136. if err != nil {
  2137. return nil, err
  2138. }
  2139. return dAtA[:n], nil
  2140. }
  2141. func (m *HandleEventReq) MarshalTo(dAtA []byte) (int, error) {
  2142. var i int
  2143. _ = i
  2144. var l int
  2145. _ = l
  2146. if m.EventMsg != nil {
  2147. dAtA[i] = 0xa
  2148. i++
  2149. i = encodeVarintApi(dAtA, i, uint64(m.EventMsg.Size()))
  2150. n2, err := m.EventMsg.MarshalTo(dAtA[i:])
  2151. if err != nil {
  2152. return 0, err
  2153. }
  2154. i += n2
  2155. }
  2156. if m.XXX_unrecognized != nil {
  2157. i += copy(dAtA[i:], m.XXX_unrecognized)
  2158. }
  2159. return i, nil
  2160. }
  2161. func (m *ModelArgReset) Marshal() (dAtA []byte, err error) {
  2162. size := m.Size()
  2163. dAtA = make([]byte, size)
  2164. n, err := m.MarshalTo(dAtA)
  2165. if err != nil {
  2166. return nil, err
  2167. }
  2168. return dAtA[:n], nil
  2169. }
  2170. func (m *ModelArgReset) MarshalTo(dAtA []byte) (int, error) {
  2171. var i int
  2172. _ = i
  2173. var l int
  2174. _ = l
  2175. if m.Mid != 0 {
  2176. dAtA[i] = 0x8
  2177. i++
  2178. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2179. }
  2180. if m.ReLiveTime {
  2181. dAtA[i] = 0x10
  2182. i++
  2183. if m.ReLiveTime {
  2184. dAtA[i] = 1
  2185. } else {
  2186. dAtA[i] = 0
  2187. }
  2188. i++
  2189. }
  2190. if m.EventScore {
  2191. dAtA[i] = 0x18
  2192. i++
  2193. if m.EventScore {
  2194. dAtA[i] = 1
  2195. } else {
  2196. dAtA[i] = 0
  2197. }
  2198. i++
  2199. }
  2200. if m.BaseScore {
  2201. dAtA[i] = 0x20
  2202. i++
  2203. if m.BaseScore {
  2204. dAtA[i] = 1
  2205. } else {
  2206. dAtA[i] = 0
  2207. }
  2208. i++
  2209. }
  2210. if len(m.Operator) > 0 {
  2211. dAtA[i] = 0x2a
  2212. i++
  2213. i = encodeVarintApi(dAtA, i, uint64(len(m.Operator)))
  2214. i += copy(dAtA[i:], m.Operator)
  2215. }
  2216. if m.XXX_unrecognized != nil {
  2217. i += copy(dAtA[i:], m.XXX_unrecognized)
  2218. }
  2219. return i, nil
  2220. }
  2221. func (m *ModelEventMessage) Marshal() (dAtA []byte, err error) {
  2222. size := m.Size()
  2223. dAtA = make([]byte, size)
  2224. n, err := m.MarshalTo(dAtA)
  2225. if err != nil {
  2226. return nil, err
  2227. }
  2228. return dAtA[:n], nil
  2229. }
  2230. func (m *ModelEventMessage) MarshalTo(dAtA []byte) (int, error) {
  2231. var i int
  2232. _ = i
  2233. var l int
  2234. _ = l
  2235. if m.Time != 0 {
  2236. dAtA[i] = 0x8
  2237. i++
  2238. i = encodeVarintApi(dAtA, i, uint64(m.Time))
  2239. }
  2240. if len(m.Ip) > 0 {
  2241. dAtA[i] = 0x12
  2242. i++
  2243. i = encodeVarintApi(dAtA, i, uint64(len(m.Ip)))
  2244. i += copy(dAtA[i:], m.Ip)
  2245. }
  2246. if len(m.Service) > 0 {
  2247. dAtA[i] = 0x1a
  2248. i++
  2249. i = encodeVarintApi(dAtA, i, uint64(len(m.Service)))
  2250. i += copy(dAtA[i:], m.Service)
  2251. }
  2252. if len(m.Event) > 0 {
  2253. dAtA[i] = 0x22
  2254. i++
  2255. i = encodeVarintApi(dAtA, i, uint64(len(m.Event)))
  2256. i += copy(dAtA[i:], m.Event)
  2257. }
  2258. if m.ActiveMid != 0 {
  2259. dAtA[i] = 0x28
  2260. i++
  2261. i = encodeVarintApi(dAtA, i, uint64(m.ActiveMid))
  2262. }
  2263. if m.TargetMid != 0 {
  2264. dAtA[i] = 0x30
  2265. i++
  2266. i = encodeVarintApi(dAtA, i, uint64(m.TargetMid))
  2267. }
  2268. if m.TargetId != 0 {
  2269. dAtA[i] = 0x38
  2270. i++
  2271. i = encodeVarintApi(dAtA, i, uint64(m.TargetId))
  2272. }
  2273. if len(m.Result) > 0 {
  2274. dAtA[i] = 0x4a
  2275. i++
  2276. i = encodeVarintApi(dAtA, i, uint64(len(m.Result)))
  2277. i += copy(dAtA[i:], m.Result)
  2278. }
  2279. if len(m.Effect) > 0 {
  2280. dAtA[i] = 0x52
  2281. i++
  2282. i = encodeVarintApi(dAtA, i, uint64(len(m.Effect)))
  2283. i += copy(dAtA[i:], m.Effect)
  2284. }
  2285. if m.RiskLevel != 0 {
  2286. dAtA[i] = 0x58
  2287. i++
  2288. i = encodeVarintApi(dAtA, i, uint64(m.RiskLevel))
  2289. }
  2290. if m.XXX_unrecognized != nil {
  2291. i += copy(dAtA[i:], m.XXX_unrecognized)
  2292. }
  2293. return i, nil
  2294. }
  2295. func (m *ModelStatistics) Marshal() (dAtA []byte, err error) {
  2296. size := m.Size()
  2297. dAtA = make([]byte, size)
  2298. n, err := m.MarshalTo(dAtA)
  2299. if err != nil {
  2300. return nil, err
  2301. }
  2302. return dAtA[:n], nil
  2303. }
  2304. func (m *ModelStatistics) MarshalTo(dAtA []byte) (int, error) {
  2305. var i int
  2306. _ = i
  2307. var l int
  2308. _ = l
  2309. if m.Quantity != 0 {
  2310. dAtA[i] = 0x8
  2311. i++
  2312. i = encodeVarintApi(dAtA, i, uint64(m.Quantity))
  2313. }
  2314. if m.EventId != 0 {
  2315. dAtA[i] = 0x10
  2316. i++
  2317. i = encodeVarintApi(dAtA, i, uint64(m.EventId))
  2318. }
  2319. if len(m.EventName) > 0 {
  2320. dAtA[i] = 0x1a
  2321. i++
  2322. i = encodeVarintApi(dAtA, i, uint64(len(m.EventName)))
  2323. i += copy(dAtA[i:], m.EventName)
  2324. }
  2325. if m.XXX_unrecognized != nil {
  2326. i += copy(dAtA[i:], m.XXX_unrecognized)
  2327. }
  2328. return i, nil
  2329. }
  2330. func (m *ModelUserInfo) Marshal() (dAtA []byte, err error) {
  2331. size := m.Size()
  2332. dAtA = make([]byte, size)
  2333. n, err := m.MarshalTo(dAtA)
  2334. if err != nil {
  2335. return nil, err
  2336. }
  2337. return dAtA[:n], nil
  2338. }
  2339. func (m *ModelUserInfo) MarshalTo(dAtA []byte) (int, error) {
  2340. var i int
  2341. _ = i
  2342. var l int
  2343. _ = l
  2344. if m.Id != 0 {
  2345. dAtA[i] = 0x8
  2346. i++
  2347. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2348. }
  2349. if m.Mid != 0 {
  2350. dAtA[i] = 0x10
  2351. i++
  2352. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2353. }
  2354. if m.Score != 0 {
  2355. dAtA[i] = 0x18
  2356. i++
  2357. i = encodeVarintApi(dAtA, i, uint64(m.Score))
  2358. }
  2359. if m.BaseScore != 0 {
  2360. dAtA[i] = 0x20
  2361. i++
  2362. i = encodeVarintApi(dAtA, i, uint64(m.BaseScore))
  2363. }
  2364. if m.EventScore != 0 {
  2365. dAtA[i] = 0x28
  2366. i++
  2367. i = encodeVarintApi(dAtA, i, uint64(m.EventScore))
  2368. }
  2369. if m.State != 0 {
  2370. dAtA[i] = 0x30
  2371. i++
  2372. i = encodeVarintApi(dAtA, i, uint64(m.State))
  2373. }
  2374. if m.ReliveTimes != 0 {
  2375. dAtA[i] = 0x38
  2376. i++
  2377. i = encodeVarintApi(dAtA, i, uint64(m.ReliveTimes))
  2378. }
  2379. if m.Ctime != 0 {
  2380. dAtA[i] = 0x40
  2381. i++
  2382. i = encodeVarintApi(dAtA, i, uint64(m.Ctime))
  2383. }
  2384. if m.Mtime != 0 {
  2385. dAtA[i] = 0x48
  2386. i++
  2387. i = encodeVarintApi(dAtA, i, uint64(m.Mtime))
  2388. }
  2389. if m.XXX_unrecognized != nil {
  2390. i += copy(dAtA[i:], m.XXX_unrecognized)
  2391. }
  2392. return i, nil
  2393. }
  2394. func (m *PingReply) Marshal() (dAtA []byte, err error) {
  2395. size := m.Size()
  2396. dAtA = make([]byte, size)
  2397. n, err := m.MarshalTo(dAtA)
  2398. if err != nil {
  2399. return nil, err
  2400. }
  2401. return dAtA[:n], nil
  2402. }
  2403. func (m *PingReply) MarshalTo(dAtA []byte) (int, error) {
  2404. var i int
  2405. _ = i
  2406. var l int
  2407. _ = l
  2408. if m.XXX_unrecognized != nil {
  2409. i += copy(dAtA[i:], m.XXX_unrecognized)
  2410. }
  2411. return i, nil
  2412. }
  2413. func (m *PingReq) Marshal() (dAtA []byte, err error) {
  2414. size := m.Size()
  2415. dAtA = make([]byte, size)
  2416. n, err := m.MarshalTo(dAtA)
  2417. if err != nil {
  2418. return nil, err
  2419. }
  2420. return dAtA[:n], nil
  2421. }
  2422. func (m *PingReq) MarshalTo(dAtA []byte) (int, error) {
  2423. var i int
  2424. _ = i
  2425. var l int
  2426. _ = l
  2427. if m.XXX_unrecognized != nil {
  2428. i += copy(dAtA[i:], m.XXX_unrecognized)
  2429. }
  2430. return i, nil
  2431. }
  2432. func (m *PurgeUserReply) Marshal() (dAtA []byte, err error) {
  2433. size := m.Size()
  2434. dAtA = make([]byte, size)
  2435. n, err := m.MarshalTo(dAtA)
  2436. if err != nil {
  2437. return nil, err
  2438. }
  2439. return dAtA[:n], nil
  2440. }
  2441. func (m *PurgeUserReply) MarshalTo(dAtA []byte) (int, error) {
  2442. var i int
  2443. _ = i
  2444. var l int
  2445. _ = l
  2446. if m.XXX_unrecognized != nil {
  2447. i += copy(dAtA[i:], m.XXX_unrecognized)
  2448. }
  2449. return i, nil
  2450. }
  2451. func (m *PurgeUserReq) Marshal() (dAtA []byte, err error) {
  2452. size := m.Size()
  2453. dAtA = make([]byte, size)
  2454. n, err := m.MarshalTo(dAtA)
  2455. if err != nil {
  2456. return nil, err
  2457. }
  2458. return dAtA[:n], nil
  2459. }
  2460. func (m *PurgeUserReq) MarshalTo(dAtA []byte) (int, error) {
  2461. var i int
  2462. _ = i
  2463. var l int
  2464. _ = l
  2465. if m.Mid != 0 {
  2466. dAtA[i] = 0x8
  2467. i++
  2468. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2469. }
  2470. if len(m.Action) > 0 {
  2471. dAtA[i] = 0x12
  2472. i++
  2473. i = encodeVarintApi(dAtA, i, uint64(len(m.Action)))
  2474. i += copy(dAtA[i:], m.Action)
  2475. }
  2476. if m.XXX_unrecognized != nil {
  2477. i += copy(dAtA[i:], m.XXX_unrecognized)
  2478. }
  2479. return i, nil
  2480. }
  2481. func (m *ReBuildPortraitReply) Marshal() (dAtA []byte, err error) {
  2482. size := m.Size()
  2483. dAtA = make([]byte, size)
  2484. n, err := m.MarshalTo(dAtA)
  2485. if err != nil {
  2486. return nil, err
  2487. }
  2488. return dAtA[:n], nil
  2489. }
  2490. func (m *ReBuildPortraitReply) MarshalTo(dAtA []byte) (int, error) {
  2491. var i int
  2492. _ = i
  2493. var l int
  2494. _ = l
  2495. if m.XXX_unrecognized != nil {
  2496. i += copy(dAtA[i:], m.XXX_unrecognized)
  2497. }
  2498. return i, nil
  2499. }
  2500. func (m *ReBuildPortraitReq) Marshal() (dAtA []byte, err error) {
  2501. size := m.Size()
  2502. dAtA = make([]byte, size)
  2503. n, err := m.MarshalTo(dAtA)
  2504. if err != nil {
  2505. return nil, err
  2506. }
  2507. return dAtA[:n], nil
  2508. }
  2509. func (m *ReBuildPortraitReq) MarshalTo(dAtA []byte) (int, error) {
  2510. var i int
  2511. _ = i
  2512. var l int
  2513. _ = l
  2514. if m.Mid != 0 {
  2515. dAtA[i] = 0x8
  2516. i++
  2517. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2518. }
  2519. if len(m.Reason) > 0 {
  2520. dAtA[i] = 0x12
  2521. i++
  2522. i = encodeVarintApi(dAtA, i, uint64(len(m.Reason)))
  2523. i += copy(dAtA[i:], m.Reason)
  2524. }
  2525. if m.XXX_unrecognized != nil {
  2526. i += copy(dAtA[i:], m.XXX_unrecognized)
  2527. }
  2528. return i, nil
  2529. }
  2530. func (m *RefreshBaseScoreReply) Marshal() (dAtA []byte, err error) {
  2531. size := m.Size()
  2532. dAtA = make([]byte, size)
  2533. n, err := m.MarshalTo(dAtA)
  2534. if err != nil {
  2535. return nil, err
  2536. }
  2537. return dAtA[:n], nil
  2538. }
  2539. func (m *RefreshBaseScoreReply) MarshalTo(dAtA []byte) (int, error) {
  2540. var i int
  2541. _ = i
  2542. var l int
  2543. _ = l
  2544. if m.XXX_unrecognized != nil {
  2545. i += copy(dAtA[i:], m.XXX_unrecognized)
  2546. }
  2547. return i, nil
  2548. }
  2549. func (m *RefreshBaseScoreReq) Marshal() (dAtA []byte, err error) {
  2550. size := m.Size()
  2551. dAtA = make([]byte, size)
  2552. n, err := m.MarshalTo(dAtA)
  2553. if err != nil {
  2554. return nil, err
  2555. }
  2556. return dAtA[:n], nil
  2557. }
  2558. func (m *RefreshBaseScoreReq) MarshalTo(dAtA []byte) (int, error) {
  2559. var i int
  2560. _ = i
  2561. var l int
  2562. _ = l
  2563. if m.Arg != nil {
  2564. dAtA[i] = 0xa
  2565. i++
  2566. i = encodeVarintApi(dAtA, i, uint64(m.Arg.Size()))
  2567. n3, err := m.Arg.MarshalTo(dAtA[i:])
  2568. if err != nil {
  2569. return 0, err
  2570. }
  2571. i += n3
  2572. }
  2573. if m.XXX_unrecognized != nil {
  2574. i += copy(dAtA[i:], m.XXX_unrecognized)
  2575. }
  2576. return i, nil
  2577. }
  2578. func (m *StatByIDGroupEventReply) Marshal() (dAtA []byte, err error) {
  2579. size := m.Size()
  2580. dAtA = make([]byte, size)
  2581. n, err := m.MarshalTo(dAtA)
  2582. if err != nil {
  2583. return nil, err
  2584. }
  2585. return dAtA[:n], nil
  2586. }
  2587. func (m *StatByIDGroupEventReply) MarshalTo(dAtA []byte) (int, error) {
  2588. var i int
  2589. _ = i
  2590. var l int
  2591. _ = l
  2592. if len(m.Res) > 0 {
  2593. for _, msg := range m.Res {
  2594. dAtA[i] = 0xa
  2595. i++
  2596. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  2597. n, err := msg.MarshalTo(dAtA[i:])
  2598. if err != nil {
  2599. return 0, err
  2600. }
  2601. i += n
  2602. }
  2603. }
  2604. if m.XXX_unrecognized != nil {
  2605. i += copy(dAtA[i:], m.XXX_unrecognized)
  2606. }
  2607. return i, nil
  2608. }
  2609. func (m *StatByIDGroupEventReq) Marshal() (dAtA []byte, err error) {
  2610. size := m.Size()
  2611. dAtA = make([]byte, size)
  2612. n, err := m.MarshalTo(dAtA)
  2613. if err != nil {
  2614. return nil, err
  2615. }
  2616. return dAtA[:n], nil
  2617. }
  2618. func (m *StatByIDGroupEventReq) MarshalTo(dAtA []byte) (int, error) {
  2619. var i int
  2620. _ = i
  2621. var l int
  2622. _ = l
  2623. if m.Mid != 0 {
  2624. dAtA[i] = 0x8
  2625. i++
  2626. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2627. }
  2628. if m.Id != 0 {
  2629. dAtA[i] = 0x10
  2630. i++
  2631. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2632. }
  2633. if m.XXX_unrecognized != nil {
  2634. i += copy(dAtA[i:], m.XXX_unrecognized)
  2635. }
  2636. return i, nil
  2637. }
  2638. func (m *StatByIDReply) Marshal() (dAtA []byte, err error) {
  2639. size := m.Size()
  2640. dAtA = make([]byte, size)
  2641. n, err := m.MarshalTo(dAtA)
  2642. if err != nil {
  2643. return nil, err
  2644. }
  2645. return dAtA[:n], nil
  2646. }
  2647. func (m *StatByIDReply) MarshalTo(dAtA []byte) (int, error) {
  2648. var i int
  2649. _ = i
  2650. var l int
  2651. _ = l
  2652. if len(m.Stat) > 0 {
  2653. for _, msg := range m.Stat {
  2654. dAtA[i] = 0xa
  2655. i++
  2656. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  2657. n, err := msg.MarshalTo(dAtA[i:])
  2658. if err != nil {
  2659. return 0, err
  2660. }
  2661. i += n
  2662. }
  2663. }
  2664. if m.XXX_unrecognized != nil {
  2665. i += copy(dAtA[i:], m.XXX_unrecognized)
  2666. }
  2667. return i, nil
  2668. }
  2669. func (m *StatByIDReq) Marshal() (dAtA []byte, err error) {
  2670. size := m.Size()
  2671. dAtA = make([]byte, size)
  2672. n, err := m.MarshalTo(dAtA)
  2673. if err != nil {
  2674. return nil, err
  2675. }
  2676. return dAtA[:n], nil
  2677. }
  2678. func (m *StatByIDReq) MarshalTo(dAtA []byte) (int, error) {
  2679. var i int
  2680. _ = i
  2681. var l int
  2682. _ = l
  2683. if m.Mid != 0 {
  2684. dAtA[i] = 0x8
  2685. i++
  2686. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2687. }
  2688. if m.Id != 0 {
  2689. dAtA[i] = 0x10
  2690. i++
  2691. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2692. }
  2693. if m.XXX_unrecognized != nil {
  2694. i += copy(dAtA[i:], m.XXX_unrecognized)
  2695. }
  2696. return i, nil
  2697. }
  2698. func (m *UpdateBaseScoreReply) Marshal() (dAtA []byte, err error) {
  2699. size := m.Size()
  2700. dAtA = make([]byte, size)
  2701. n, err := m.MarshalTo(dAtA)
  2702. if err != nil {
  2703. return nil, err
  2704. }
  2705. return dAtA[:n], nil
  2706. }
  2707. func (m *UpdateBaseScoreReply) MarshalTo(dAtA []byte) (int, error) {
  2708. var i int
  2709. _ = i
  2710. var l int
  2711. _ = l
  2712. if m.XXX_unrecognized != nil {
  2713. i += copy(dAtA[i:], m.XXX_unrecognized)
  2714. }
  2715. return i, nil
  2716. }
  2717. func (m *UpdateBaseScoreReq) Marshal() (dAtA []byte, err error) {
  2718. size := m.Size()
  2719. dAtA = make([]byte, size)
  2720. n, err := m.MarshalTo(dAtA)
  2721. if err != nil {
  2722. return nil, err
  2723. }
  2724. return dAtA[:n], nil
  2725. }
  2726. func (m *UpdateBaseScoreReq) MarshalTo(dAtA []byte) (int, error) {
  2727. var i int
  2728. _ = i
  2729. var l int
  2730. _ = l
  2731. if m.Arg != nil {
  2732. dAtA[i] = 0xa
  2733. i++
  2734. i = encodeVarintApi(dAtA, i, uint64(m.Arg.Size()))
  2735. n4, err := m.Arg.MarshalTo(dAtA[i:])
  2736. if err != nil {
  2737. return 0, err
  2738. }
  2739. i += n4
  2740. }
  2741. if m.XXX_unrecognized != nil {
  2742. i += copy(dAtA[i:], m.XXX_unrecognized)
  2743. }
  2744. return i, nil
  2745. }
  2746. func (m *UpdateEventScoreReply) Marshal() (dAtA []byte, err error) {
  2747. size := m.Size()
  2748. dAtA = make([]byte, size)
  2749. n, err := m.MarshalTo(dAtA)
  2750. if err != nil {
  2751. return nil, err
  2752. }
  2753. return dAtA[:n], nil
  2754. }
  2755. func (m *UpdateEventScoreReply) MarshalTo(dAtA []byte) (int, error) {
  2756. var i int
  2757. _ = i
  2758. var l int
  2759. _ = l
  2760. if m.XXX_unrecognized != nil {
  2761. i += copy(dAtA[i:], m.XXX_unrecognized)
  2762. }
  2763. return i, nil
  2764. }
  2765. func (m *UpdateEventScoreReq) Marshal() (dAtA []byte, err error) {
  2766. size := m.Size()
  2767. dAtA = make([]byte, size)
  2768. n, err := m.MarshalTo(dAtA)
  2769. if err != nil {
  2770. return nil, err
  2771. }
  2772. return dAtA[:n], nil
  2773. }
  2774. func (m *UpdateEventScoreReq) MarshalTo(dAtA []byte) (int, error) {
  2775. var i int
  2776. _ = i
  2777. var l int
  2778. _ = l
  2779. if m.Arg != nil {
  2780. dAtA[i] = 0xa
  2781. i++
  2782. i = encodeVarintApi(dAtA, i, uint64(m.Arg.Size()))
  2783. n5, err := m.Arg.MarshalTo(dAtA[i:])
  2784. if err != nil {
  2785. return 0, err
  2786. }
  2787. i += n5
  2788. }
  2789. if m.XXX_unrecognized != nil {
  2790. i += copy(dAtA[i:], m.XXX_unrecognized)
  2791. }
  2792. return i, nil
  2793. }
  2794. func (m *UpdateUserScoreReply) Marshal() (dAtA []byte, err error) {
  2795. size := m.Size()
  2796. dAtA = make([]byte, size)
  2797. n, err := m.MarshalTo(dAtA)
  2798. if err != nil {
  2799. return nil, err
  2800. }
  2801. return dAtA[:n], nil
  2802. }
  2803. func (m *UpdateUserScoreReply) MarshalTo(dAtA []byte) (int, error) {
  2804. var i int
  2805. _ = i
  2806. var l int
  2807. _ = l
  2808. if m.XXX_unrecognized != nil {
  2809. i += copy(dAtA[i:], m.XXX_unrecognized)
  2810. }
  2811. return i, nil
  2812. }
  2813. func (m *UpdateUserScoreReq) Marshal() (dAtA []byte, err error) {
  2814. size := m.Size()
  2815. dAtA = make([]byte, size)
  2816. n, err := m.MarshalTo(dAtA)
  2817. if err != nil {
  2818. return nil, err
  2819. }
  2820. return dAtA[:n], nil
  2821. }
  2822. func (m *UpdateUserScoreReq) MarshalTo(dAtA []byte) (int, error) {
  2823. var i int
  2824. _ = i
  2825. var l int
  2826. _ = l
  2827. if m.Mid != 0 {
  2828. dAtA[i] = 0x8
  2829. i++
  2830. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2831. }
  2832. if len(m.Ip) > 0 {
  2833. dAtA[i] = 0x12
  2834. i++
  2835. i = encodeVarintApi(dAtA, i, uint64(len(m.Ip)))
  2836. i += copy(dAtA[i:], m.Ip)
  2837. }
  2838. if len(m.Effect) > 0 {
  2839. dAtA[i] = 0x1a
  2840. i++
  2841. i = encodeVarintApi(dAtA, i, uint64(len(m.Effect)))
  2842. i += copy(dAtA[i:], m.Effect)
  2843. }
  2844. if m.XXX_unrecognized != nil {
  2845. i += copy(dAtA[i:], m.XXX_unrecognized)
  2846. }
  2847. return i, nil
  2848. }
  2849. func (m *UserInfoAsynReply) Marshal() (dAtA []byte, err error) {
  2850. size := m.Size()
  2851. dAtA = make([]byte, size)
  2852. n, err := m.MarshalTo(dAtA)
  2853. if err != nil {
  2854. return nil, err
  2855. }
  2856. return dAtA[:n], nil
  2857. }
  2858. func (m *UserInfoAsynReply) MarshalTo(dAtA []byte) (int, error) {
  2859. var i int
  2860. _ = i
  2861. var l int
  2862. _ = l
  2863. if m.Ui != nil {
  2864. dAtA[i] = 0xa
  2865. i++
  2866. i = encodeVarintApi(dAtA, i, uint64(m.Ui.Size()))
  2867. n6, err := m.Ui.MarshalTo(dAtA[i:])
  2868. if err != nil {
  2869. return 0, err
  2870. }
  2871. i += n6
  2872. }
  2873. if m.XXX_unrecognized != nil {
  2874. i += copy(dAtA[i:], m.XXX_unrecognized)
  2875. }
  2876. return i, nil
  2877. }
  2878. func (m *UserInfoAsynReq) Marshal() (dAtA []byte, err error) {
  2879. size := m.Size()
  2880. dAtA = make([]byte, size)
  2881. n, err := m.MarshalTo(dAtA)
  2882. if err != nil {
  2883. return nil, err
  2884. }
  2885. return dAtA[:n], nil
  2886. }
  2887. func (m *UserInfoAsynReq) MarshalTo(dAtA []byte) (int, error) {
  2888. var i int
  2889. _ = i
  2890. var l int
  2891. _ = l
  2892. if m.Mid != 0 {
  2893. dAtA[i] = 0x8
  2894. i++
  2895. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2896. }
  2897. if m.XXX_unrecognized != nil {
  2898. i += copy(dAtA[i:], m.XXX_unrecognized)
  2899. }
  2900. return i, nil
  2901. }
  2902. func (m *UserInfoReply) Marshal() (dAtA []byte, err error) {
  2903. size := m.Size()
  2904. dAtA = make([]byte, size)
  2905. n, err := m.MarshalTo(dAtA)
  2906. if err != nil {
  2907. return nil, err
  2908. }
  2909. return dAtA[:n], nil
  2910. }
  2911. func (m *UserInfoReply) MarshalTo(dAtA []byte) (int, error) {
  2912. var i int
  2913. _ = i
  2914. var l int
  2915. _ = l
  2916. if m.Ui != nil {
  2917. dAtA[i] = 0xa
  2918. i++
  2919. i = encodeVarintApi(dAtA, i, uint64(m.Ui.Size()))
  2920. n7, err := m.Ui.MarshalTo(dAtA[i:])
  2921. if err != nil {
  2922. return 0, err
  2923. }
  2924. i += n7
  2925. }
  2926. if m.XXX_unrecognized != nil {
  2927. i += copy(dAtA[i:], m.XXX_unrecognized)
  2928. }
  2929. return i, nil
  2930. }
  2931. func (m *UserInfoReq) Marshal() (dAtA []byte, err error) {
  2932. size := m.Size()
  2933. dAtA = make([]byte, size)
  2934. n, err := m.MarshalTo(dAtA)
  2935. if err != nil {
  2936. return nil, err
  2937. }
  2938. return dAtA[:n], nil
  2939. }
  2940. func (m *UserInfoReq) MarshalTo(dAtA []byte) (int, error) {
  2941. var i int
  2942. _ = i
  2943. var l int
  2944. _ = l
  2945. if m.Mid != 0 {
  2946. dAtA[i] = 0x8
  2947. i++
  2948. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2949. }
  2950. if len(m.Ip) > 0 {
  2951. dAtA[i] = 0x12
  2952. i++
  2953. i = encodeVarintApi(dAtA, i, uint64(len(m.Ip)))
  2954. i += copy(dAtA[i:], m.Ip)
  2955. }
  2956. if m.XXX_unrecognized != nil {
  2957. i += copy(dAtA[i:], m.XXX_unrecognized)
  2958. }
  2959. return i, nil
  2960. }
  2961. func (m *InfoReq) Marshal() (dAtA []byte, err error) {
  2962. size := m.Size()
  2963. dAtA = make([]byte, size)
  2964. n, err := m.MarshalTo(dAtA)
  2965. if err != nil {
  2966. return nil, err
  2967. }
  2968. return dAtA[:n], nil
  2969. }
  2970. func (m *InfoReq) MarshalTo(dAtA []byte) (int, error) {
  2971. var i int
  2972. _ = i
  2973. var l int
  2974. _ = l
  2975. if m.Mid != 0 {
  2976. dAtA[i] = 0x8
  2977. i++
  2978. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2979. }
  2980. if m.XXX_unrecognized != nil {
  2981. i += copy(dAtA[i:], m.XXX_unrecognized)
  2982. }
  2983. return i, nil
  2984. }
  2985. func (m *InfoReply) Marshal() (dAtA []byte, err error) {
  2986. size := m.Size()
  2987. dAtA = make([]byte, size)
  2988. n, err := m.MarshalTo(dAtA)
  2989. if err != nil {
  2990. return nil, err
  2991. }
  2992. return dAtA[:n], nil
  2993. }
  2994. func (m *InfoReply) MarshalTo(dAtA []byte) (int, error) {
  2995. var i int
  2996. _ = i
  2997. var l int
  2998. _ = l
  2999. if m.Ui != nil {
  3000. dAtA[i] = 0xa
  3001. i++
  3002. i = encodeVarintApi(dAtA, i, uint64(m.Ui.Size()))
  3003. n8, err := m.Ui.MarshalTo(dAtA[i:])
  3004. if err != nil {
  3005. return 0, err
  3006. }
  3007. i += n8
  3008. }
  3009. if m.XXX_unrecognized != nil {
  3010. i += copy(dAtA[i:], m.XXX_unrecognized)
  3011. }
  3012. return i, nil
  3013. }
  3014. func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
  3015. for v >= 1<<7 {
  3016. dAtA[offset] = uint8(v&0x7f | 0x80)
  3017. v >>= 7
  3018. offset++
  3019. }
  3020. dAtA[offset] = uint8(v)
  3021. return offset + 1
  3022. }
  3023. func (m *ClearReliveTimesReply) Size() (n int) {
  3024. if m == nil {
  3025. return 0
  3026. }
  3027. var l int
  3028. _ = l
  3029. if m.XXX_unrecognized != nil {
  3030. n += len(m.XXX_unrecognized)
  3031. }
  3032. return n
  3033. }
  3034. func (m *ClearReliveTimesReq) Size() (n int) {
  3035. if m == nil {
  3036. return 0
  3037. }
  3038. var l int
  3039. _ = l
  3040. if m.Arg != nil {
  3041. l = m.Arg.Size()
  3042. n += 1 + l + sovApi(uint64(l))
  3043. }
  3044. if m.XXX_unrecognized != nil {
  3045. n += len(m.XXX_unrecognized)
  3046. }
  3047. return n
  3048. }
  3049. func (m *HandleEventReply) Size() (n int) {
  3050. if m == nil {
  3051. return 0
  3052. }
  3053. var l int
  3054. _ = l
  3055. if m.XXX_unrecognized != nil {
  3056. n += len(m.XXX_unrecognized)
  3057. }
  3058. return n
  3059. }
  3060. func (m *HandleEventReq) Size() (n int) {
  3061. if m == nil {
  3062. return 0
  3063. }
  3064. var l int
  3065. _ = l
  3066. if m.EventMsg != nil {
  3067. l = m.EventMsg.Size()
  3068. n += 1 + l + sovApi(uint64(l))
  3069. }
  3070. if m.XXX_unrecognized != nil {
  3071. n += len(m.XXX_unrecognized)
  3072. }
  3073. return n
  3074. }
  3075. func (m *ModelArgReset) Size() (n int) {
  3076. if m == nil {
  3077. return 0
  3078. }
  3079. var l int
  3080. _ = l
  3081. if m.Mid != 0 {
  3082. n += 1 + sovApi(uint64(m.Mid))
  3083. }
  3084. if m.ReLiveTime {
  3085. n += 2
  3086. }
  3087. if m.EventScore {
  3088. n += 2
  3089. }
  3090. if m.BaseScore {
  3091. n += 2
  3092. }
  3093. l = len(m.Operator)
  3094. if l > 0 {
  3095. n += 1 + l + sovApi(uint64(l))
  3096. }
  3097. if m.XXX_unrecognized != nil {
  3098. n += len(m.XXX_unrecognized)
  3099. }
  3100. return n
  3101. }
  3102. func (m *ModelEventMessage) Size() (n int) {
  3103. if m == nil {
  3104. return 0
  3105. }
  3106. var l int
  3107. _ = l
  3108. if m.Time != 0 {
  3109. n += 1 + sovApi(uint64(m.Time))
  3110. }
  3111. l = len(m.Ip)
  3112. if l > 0 {
  3113. n += 1 + l + sovApi(uint64(l))
  3114. }
  3115. l = len(m.Service)
  3116. if l > 0 {
  3117. n += 1 + l + sovApi(uint64(l))
  3118. }
  3119. l = len(m.Event)
  3120. if l > 0 {
  3121. n += 1 + l + sovApi(uint64(l))
  3122. }
  3123. if m.ActiveMid != 0 {
  3124. n += 1 + sovApi(uint64(m.ActiveMid))
  3125. }
  3126. if m.TargetMid != 0 {
  3127. n += 1 + sovApi(uint64(m.TargetMid))
  3128. }
  3129. if m.TargetId != 0 {
  3130. n += 1 + sovApi(uint64(m.TargetId))
  3131. }
  3132. l = len(m.Result)
  3133. if l > 0 {
  3134. n += 1 + l + sovApi(uint64(l))
  3135. }
  3136. l = len(m.Effect)
  3137. if l > 0 {
  3138. n += 1 + l + sovApi(uint64(l))
  3139. }
  3140. if m.RiskLevel != 0 {
  3141. n += 1 + sovApi(uint64(m.RiskLevel))
  3142. }
  3143. if m.XXX_unrecognized != nil {
  3144. n += len(m.XXX_unrecognized)
  3145. }
  3146. return n
  3147. }
  3148. func (m *ModelStatistics) Size() (n int) {
  3149. if m == nil {
  3150. return 0
  3151. }
  3152. var l int
  3153. _ = l
  3154. if m.Quantity != 0 {
  3155. n += 1 + sovApi(uint64(m.Quantity))
  3156. }
  3157. if m.EventId != 0 {
  3158. n += 1 + sovApi(uint64(m.EventId))
  3159. }
  3160. l = len(m.EventName)
  3161. if l > 0 {
  3162. n += 1 + l + sovApi(uint64(l))
  3163. }
  3164. if m.XXX_unrecognized != nil {
  3165. n += len(m.XXX_unrecognized)
  3166. }
  3167. return n
  3168. }
  3169. func (m *ModelUserInfo) Size() (n int) {
  3170. if m == nil {
  3171. return 0
  3172. }
  3173. var l int
  3174. _ = l
  3175. if m.Id != 0 {
  3176. n += 1 + sovApi(uint64(m.Id))
  3177. }
  3178. if m.Mid != 0 {
  3179. n += 1 + sovApi(uint64(m.Mid))
  3180. }
  3181. if m.Score != 0 {
  3182. n += 1 + sovApi(uint64(m.Score))
  3183. }
  3184. if m.BaseScore != 0 {
  3185. n += 1 + sovApi(uint64(m.BaseScore))
  3186. }
  3187. if m.EventScore != 0 {
  3188. n += 1 + sovApi(uint64(m.EventScore))
  3189. }
  3190. if m.State != 0 {
  3191. n += 1 + sovApi(uint64(m.State))
  3192. }
  3193. if m.ReliveTimes != 0 {
  3194. n += 1 + sovApi(uint64(m.ReliveTimes))
  3195. }
  3196. if m.Ctime != 0 {
  3197. n += 1 + sovApi(uint64(m.Ctime))
  3198. }
  3199. if m.Mtime != 0 {
  3200. n += 1 + sovApi(uint64(m.Mtime))
  3201. }
  3202. if m.XXX_unrecognized != nil {
  3203. n += len(m.XXX_unrecognized)
  3204. }
  3205. return n
  3206. }
  3207. func (m *PingReply) Size() (n int) {
  3208. if m == nil {
  3209. return 0
  3210. }
  3211. var l int
  3212. _ = l
  3213. if m.XXX_unrecognized != nil {
  3214. n += len(m.XXX_unrecognized)
  3215. }
  3216. return n
  3217. }
  3218. func (m *PingReq) Size() (n int) {
  3219. if m == nil {
  3220. return 0
  3221. }
  3222. var l int
  3223. _ = l
  3224. if m.XXX_unrecognized != nil {
  3225. n += len(m.XXX_unrecognized)
  3226. }
  3227. return n
  3228. }
  3229. func (m *PurgeUserReply) Size() (n int) {
  3230. if m == nil {
  3231. return 0
  3232. }
  3233. var l int
  3234. _ = l
  3235. if m.XXX_unrecognized != nil {
  3236. n += len(m.XXX_unrecognized)
  3237. }
  3238. return n
  3239. }
  3240. func (m *PurgeUserReq) Size() (n int) {
  3241. if m == nil {
  3242. return 0
  3243. }
  3244. var l int
  3245. _ = l
  3246. if m.Mid != 0 {
  3247. n += 1 + sovApi(uint64(m.Mid))
  3248. }
  3249. l = len(m.Action)
  3250. if l > 0 {
  3251. n += 1 + l + sovApi(uint64(l))
  3252. }
  3253. if m.XXX_unrecognized != nil {
  3254. n += len(m.XXX_unrecognized)
  3255. }
  3256. return n
  3257. }
  3258. func (m *ReBuildPortraitReply) Size() (n int) {
  3259. if m == nil {
  3260. return 0
  3261. }
  3262. var l int
  3263. _ = l
  3264. if m.XXX_unrecognized != nil {
  3265. n += len(m.XXX_unrecognized)
  3266. }
  3267. return n
  3268. }
  3269. func (m *ReBuildPortraitReq) Size() (n int) {
  3270. if m == nil {
  3271. return 0
  3272. }
  3273. var l int
  3274. _ = l
  3275. if m.Mid != 0 {
  3276. n += 1 + sovApi(uint64(m.Mid))
  3277. }
  3278. l = len(m.Reason)
  3279. if l > 0 {
  3280. n += 1 + l + sovApi(uint64(l))
  3281. }
  3282. if m.XXX_unrecognized != nil {
  3283. n += len(m.XXX_unrecognized)
  3284. }
  3285. return n
  3286. }
  3287. func (m *RefreshBaseScoreReply) Size() (n int) {
  3288. if m == nil {
  3289. return 0
  3290. }
  3291. var l int
  3292. _ = l
  3293. if m.XXX_unrecognized != nil {
  3294. n += len(m.XXX_unrecognized)
  3295. }
  3296. return n
  3297. }
  3298. func (m *RefreshBaseScoreReq) Size() (n int) {
  3299. if m == nil {
  3300. return 0
  3301. }
  3302. var l int
  3303. _ = l
  3304. if m.Arg != nil {
  3305. l = m.Arg.Size()
  3306. n += 1 + l + sovApi(uint64(l))
  3307. }
  3308. if m.XXX_unrecognized != nil {
  3309. n += len(m.XXX_unrecognized)
  3310. }
  3311. return n
  3312. }
  3313. func (m *StatByIDGroupEventReply) Size() (n int) {
  3314. if m == nil {
  3315. return 0
  3316. }
  3317. var l int
  3318. _ = l
  3319. if len(m.Res) > 0 {
  3320. for _, e := range m.Res {
  3321. l = e.Size()
  3322. n += 1 + l + sovApi(uint64(l))
  3323. }
  3324. }
  3325. if m.XXX_unrecognized != nil {
  3326. n += len(m.XXX_unrecognized)
  3327. }
  3328. return n
  3329. }
  3330. func (m *StatByIDGroupEventReq) Size() (n int) {
  3331. if m == nil {
  3332. return 0
  3333. }
  3334. var l int
  3335. _ = l
  3336. if m.Mid != 0 {
  3337. n += 1 + sovApi(uint64(m.Mid))
  3338. }
  3339. if m.Id != 0 {
  3340. n += 1 + sovApi(uint64(m.Id))
  3341. }
  3342. if m.XXX_unrecognized != nil {
  3343. n += len(m.XXX_unrecognized)
  3344. }
  3345. return n
  3346. }
  3347. func (m *StatByIDReply) Size() (n int) {
  3348. if m == nil {
  3349. return 0
  3350. }
  3351. var l int
  3352. _ = l
  3353. if len(m.Stat) > 0 {
  3354. for _, e := range m.Stat {
  3355. l = e.Size()
  3356. n += 1 + l + sovApi(uint64(l))
  3357. }
  3358. }
  3359. if m.XXX_unrecognized != nil {
  3360. n += len(m.XXX_unrecognized)
  3361. }
  3362. return n
  3363. }
  3364. func (m *StatByIDReq) Size() (n int) {
  3365. if m == nil {
  3366. return 0
  3367. }
  3368. var l int
  3369. _ = l
  3370. if m.Mid != 0 {
  3371. n += 1 + sovApi(uint64(m.Mid))
  3372. }
  3373. if m.Id != 0 {
  3374. n += 1 + sovApi(uint64(m.Id))
  3375. }
  3376. if m.XXX_unrecognized != nil {
  3377. n += len(m.XXX_unrecognized)
  3378. }
  3379. return n
  3380. }
  3381. func (m *UpdateBaseScoreReply) Size() (n int) {
  3382. if m == nil {
  3383. return 0
  3384. }
  3385. var l int
  3386. _ = l
  3387. if m.XXX_unrecognized != nil {
  3388. n += len(m.XXX_unrecognized)
  3389. }
  3390. return n
  3391. }
  3392. func (m *UpdateBaseScoreReq) Size() (n int) {
  3393. if m == nil {
  3394. return 0
  3395. }
  3396. var l int
  3397. _ = l
  3398. if m.Arg != nil {
  3399. l = m.Arg.Size()
  3400. n += 1 + l + sovApi(uint64(l))
  3401. }
  3402. if m.XXX_unrecognized != nil {
  3403. n += len(m.XXX_unrecognized)
  3404. }
  3405. return n
  3406. }
  3407. func (m *UpdateEventScoreReply) Size() (n int) {
  3408. if m == nil {
  3409. return 0
  3410. }
  3411. var l int
  3412. _ = l
  3413. if m.XXX_unrecognized != nil {
  3414. n += len(m.XXX_unrecognized)
  3415. }
  3416. return n
  3417. }
  3418. func (m *UpdateEventScoreReq) Size() (n int) {
  3419. if m == nil {
  3420. return 0
  3421. }
  3422. var l int
  3423. _ = l
  3424. if m.Arg != nil {
  3425. l = m.Arg.Size()
  3426. n += 1 + l + sovApi(uint64(l))
  3427. }
  3428. if m.XXX_unrecognized != nil {
  3429. n += len(m.XXX_unrecognized)
  3430. }
  3431. return n
  3432. }
  3433. func (m *UpdateUserScoreReply) Size() (n int) {
  3434. if m == nil {
  3435. return 0
  3436. }
  3437. var l int
  3438. _ = l
  3439. if m.XXX_unrecognized != nil {
  3440. n += len(m.XXX_unrecognized)
  3441. }
  3442. return n
  3443. }
  3444. func (m *UpdateUserScoreReq) Size() (n int) {
  3445. if m == nil {
  3446. return 0
  3447. }
  3448. var l int
  3449. _ = l
  3450. if m.Mid != 0 {
  3451. n += 1 + sovApi(uint64(m.Mid))
  3452. }
  3453. l = len(m.Ip)
  3454. if l > 0 {
  3455. n += 1 + l + sovApi(uint64(l))
  3456. }
  3457. l = len(m.Effect)
  3458. if l > 0 {
  3459. n += 1 + l + sovApi(uint64(l))
  3460. }
  3461. if m.XXX_unrecognized != nil {
  3462. n += len(m.XXX_unrecognized)
  3463. }
  3464. return n
  3465. }
  3466. func (m *UserInfoAsynReply) Size() (n int) {
  3467. if m == nil {
  3468. return 0
  3469. }
  3470. var l int
  3471. _ = l
  3472. if m.Ui != nil {
  3473. l = m.Ui.Size()
  3474. n += 1 + l + sovApi(uint64(l))
  3475. }
  3476. if m.XXX_unrecognized != nil {
  3477. n += len(m.XXX_unrecognized)
  3478. }
  3479. return n
  3480. }
  3481. func (m *UserInfoAsynReq) Size() (n int) {
  3482. if m == nil {
  3483. return 0
  3484. }
  3485. var l int
  3486. _ = l
  3487. if m.Mid != 0 {
  3488. n += 1 + sovApi(uint64(m.Mid))
  3489. }
  3490. if m.XXX_unrecognized != nil {
  3491. n += len(m.XXX_unrecognized)
  3492. }
  3493. return n
  3494. }
  3495. func (m *UserInfoReply) Size() (n int) {
  3496. if m == nil {
  3497. return 0
  3498. }
  3499. var l int
  3500. _ = l
  3501. if m.Ui != nil {
  3502. l = m.Ui.Size()
  3503. n += 1 + l + sovApi(uint64(l))
  3504. }
  3505. if m.XXX_unrecognized != nil {
  3506. n += len(m.XXX_unrecognized)
  3507. }
  3508. return n
  3509. }
  3510. func (m *UserInfoReq) Size() (n int) {
  3511. if m == nil {
  3512. return 0
  3513. }
  3514. var l int
  3515. _ = l
  3516. if m.Mid != 0 {
  3517. n += 1 + sovApi(uint64(m.Mid))
  3518. }
  3519. l = len(m.Ip)
  3520. if l > 0 {
  3521. n += 1 + l + sovApi(uint64(l))
  3522. }
  3523. if m.XXX_unrecognized != nil {
  3524. n += len(m.XXX_unrecognized)
  3525. }
  3526. return n
  3527. }
  3528. func (m *InfoReq) Size() (n int) {
  3529. if m == nil {
  3530. return 0
  3531. }
  3532. var l int
  3533. _ = l
  3534. if m.Mid != 0 {
  3535. n += 1 + sovApi(uint64(m.Mid))
  3536. }
  3537. if m.XXX_unrecognized != nil {
  3538. n += len(m.XXX_unrecognized)
  3539. }
  3540. return n
  3541. }
  3542. func (m *InfoReply) Size() (n int) {
  3543. if m == nil {
  3544. return 0
  3545. }
  3546. var l int
  3547. _ = l
  3548. if m.Ui != nil {
  3549. l = m.Ui.Size()
  3550. n += 1 + l + sovApi(uint64(l))
  3551. }
  3552. if m.XXX_unrecognized != nil {
  3553. n += len(m.XXX_unrecognized)
  3554. }
  3555. return n
  3556. }
  3557. func sovApi(x uint64) (n int) {
  3558. for {
  3559. n++
  3560. x >>= 7
  3561. if x == 0 {
  3562. break
  3563. }
  3564. }
  3565. return n
  3566. }
  3567. func sozApi(x uint64) (n int) {
  3568. return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  3569. }
  3570. func (m *ClearReliveTimesReply) Unmarshal(dAtA []byte) error {
  3571. l := len(dAtA)
  3572. iNdEx := 0
  3573. for iNdEx < l {
  3574. preIndex := iNdEx
  3575. var wire uint64
  3576. for shift := uint(0); ; shift += 7 {
  3577. if shift >= 64 {
  3578. return ErrIntOverflowApi
  3579. }
  3580. if iNdEx >= l {
  3581. return io.ErrUnexpectedEOF
  3582. }
  3583. b := dAtA[iNdEx]
  3584. iNdEx++
  3585. wire |= (uint64(b) & 0x7F) << shift
  3586. if b < 0x80 {
  3587. break
  3588. }
  3589. }
  3590. fieldNum := int32(wire >> 3)
  3591. wireType := int(wire & 0x7)
  3592. if wireType == 4 {
  3593. return fmt.Errorf("proto: ClearReliveTimesReply: wiretype end group for non-group")
  3594. }
  3595. if fieldNum <= 0 {
  3596. return fmt.Errorf("proto: ClearReliveTimesReply: illegal tag %d (wire type %d)", fieldNum, wire)
  3597. }
  3598. switch fieldNum {
  3599. default:
  3600. iNdEx = preIndex
  3601. skippy, err := skipApi(dAtA[iNdEx:])
  3602. if err != nil {
  3603. return err
  3604. }
  3605. if skippy < 0 {
  3606. return ErrInvalidLengthApi
  3607. }
  3608. if (iNdEx + skippy) > l {
  3609. return io.ErrUnexpectedEOF
  3610. }
  3611. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3612. iNdEx += skippy
  3613. }
  3614. }
  3615. if iNdEx > l {
  3616. return io.ErrUnexpectedEOF
  3617. }
  3618. return nil
  3619. }
  3620. func (m *ClearReliveTimesReq) Unmarshal(dAtA []byte) error {
  3621. l := len(dAtA)
  3622. iNdEx := 0
  3623. for iNdEx < l {
  3624. preIndex := iNdEx
  3625. var wire uint64
  3626. for shift := uint(0); ; shift += 7 {
  3627. if shift >= 64 {
  3628. return ErrIntOverflowApi
  3629. }
  3630. if iNdEx >= l {
  3631. return io.ErrUnexpectedEOF
  3632. }
  3633. b := dAtA[iNdEx]
  3634. iNdEx++
  3635. wire |= (uint64(b) & 0x7F) << shift
  3636. if b < 0x80 {
  3637. break
  3638. }
  3639. }
  3640. fieldNum := int32(wire >> 3)
  3641. wireType := int(wire & 0x7)
  3642. if wireType == 4 {
  3643. return fmt.Errorf("proto: ClearReliveTimesReq: wiretype end group for non-group")
  3644. }
  3645. if fieldNum <= 0 {
  3646. return fmt.Errorf("proto: ClearReliveTimesReq: illegal tag %d (wire type %d)", fieldNum, wire)
  3647. }
  3648. switch fieldNum {
  3649. case 1:
  3650. if wireType != 2 {
  3651. return fmt.Errorf("proto: wrong wireType = %d for field Arg", wireType)
  3652. }
  3653. var msglen int
  3654. for shift := uint(0); ; shift += 7 {
  3655. if shift >= 64 {
  3656. return ErrIntOverflowApi
  3657. }
  3658. if iNdEx >= l {
  3659. return io.ErrUnexpectedEOF
  3660. }
  3661. b := dAtA[iNdEx]
  3662. iNdEx++
  3663. msglen |= (int(b) & 0x7F) << shift
  3664. if b < 0x80 {
  3665. break
  3666. }
  3667. }
  3668. if msglen < 0 {
  3669. return ErrInvalidLengthApi
  3670. }
  3671. postIndex := iNdEx + msglen
  3672. if postIndex > l {
  3673. return io.ErrUnexpectedEOF
  3674. }
  3675. if m.Arg == nil {
  3676. m.Arg = &ModelArgReset{}
  3677. }
  3678. if err := m.Arg.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3679. return err
  3680. }
  3681. iNdEx = postIndex
  3682. default:
  3683. iNdEx = preIndex
  3684. skippy, err := skipApi(dAtA[iNdEx:])
  3685. if err != nil {
  3686. return err
  3687. }
  3688. if skippy < 0 {
  3689. return ErrInvalidLengthApi
  3690. }
  3691. if (iNdEx + skippy) > l {
  3692. return io.ErrUnexpectedEOF
  3693. }
  3694. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3695. iNdEx += skippy
  3696. }
  3697. }
  3698. if iNdEx > l {
  3699. return io.ErrUnexpectedEOF
  3700. }
  3701. return nil
  3702. }
  3703. func (m *HandleEventReply) Unmarshal(dAtA []byte) error {
  3704. l := len(dAtA)
  3705. iNdEx := 0
  3706. for iNdEx < l {
  3707. preIndex := iNdEx
  3708. var wire uint64
  3709. for shift := uint(0); ; shift += 7 {
  3710. if shift >= 64 {
  3711. return ErrIntOverflowApi
  3712. }
  3713. if iNdEx >= l {
  3714. return io.ErrUnexpectedEOF
  3715. }
  3716. b := dAtA[iNdEx]
  3717. iNdEx++
  3718. wire |= (uint64(b) & 0x7F) << shift
  3719. if b < 0x80 {
  3720. break
  3721. }
  3722. }
  3723. fieldNum := int32(wire >> 3)
  3724. wireType := int(wire & 0x7)
  3725. if wireType == 4 {
  3726. return fmt.Errorf("proto: HandleEventReply: wiretype end group for non-group")
  3727. }
  3728. if fieldNum <= 0 {
  3729. return fmt.Errorf("proto: HandleEventReply: illegal tag %d (wire type %d)", fieldNum, wire)
  3730. }
  3731. switch fieldNum {
  3732. default:
  3733. iNdEx = preIndex
  3734. skippy, err := skipApi(dAtA[iNdEx:])
  3735. if err != nil {
  3736. return err
  3737. }
  3738. if skippy < 0 {
  3739. return ErrInvalidLengthApi
  3740. }
  3741. if (iNdEx + skippy) > l {
  3742. return io.ErrUnexpectedEOF
  3743. }
  3744. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3745. iNdEx += skippy
  3746. }
  3747. }
  3748. if iNdEx > l {
  3749. return io.ErrUnexpectedEOF
  3750. }
  3751. return nil
  3752. }
  3753. func (m *HandleEventReq) Unmarshal(dAtA []byte) error {
  3754. l := len(dAtA)
  3755. iNdEx := 0
  3756. for iNdEx < l {
  3757. preIndex := iNdEx
  3758. var wire uint64
  3759. for shift := uint(0); ; shift += 7 {
  3760. if shift >= 64 {
  3761. return ErrIntOverflowApi
  3762. }
  3763. if iNdEx >= l {
  3764. return io.ErrUnexpectedEOF
  3765. }
  3766. b := dAtA[iNdEx]
  3767. iNdEx++
  3768. wire |= (uint64(b) & 0x7F) << shift
  3769. if b < 0x80 {
  3770. break
  3771. }
  3772. }
  3773. fieldNum := int32(wire >> 3)
  3774. wireType := int(wire & 0x7)
  3775. if wireType == 4 {
  3776. return fmt.Errorf("proto: HandleEventReq: wiretype end group for non-group")
  3777. }
  3778. if fieldNum <= 0 {
  3779. return fmt.Errorf("proto: HandleEventReq: illegal tag %d (wire type %d)", fieldNum, wire)
  3780. }
  3781. switch fieldNum {
  3782. case 1:
  3783. if wireType != 2 {
  3784. return fmt.Errorf("proto: wrong wireType = %d for field EventMsg", wireType)
  3785. }
  3786. var msglen int
  3787. for shift := uint(0); ; shift += 7 {
  3788. if shift >= 64 {
  3789. return ErrIntOverflowApi
  3790. }
  3791. if iNdEx >= l {
  3792. return io.ErrUnexpectedEOF
  3793. }
  3794. b := dAtA[iNdEx]
  3795. iNdEx++
  3796. msglen |= (int(b) & 0x7F) << shift
  3797. if b < 0x80 {
  3798. break
  3799. }
  3800. }
  3801. if msglen < 0 {
  3802. return ErrInvalidLengthApi
  3803. }
  3804. postIndex := iNdEx + msglen
  3805. if postIndex > l {
  3806. return io.ErrUnexpectedEOF
  3807. }
  3808. if m.EventMsg == nil {
  3809. m.EventMsg = &ModelEventMessage{}
  3810. }
  3811. if err := m.EventMsg.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3812. return err
  3813. }
  3814. iNdEx = postIndex
  3815. default:
  3816. iNdEx = preIndex
  3817. skippy, err := skipApi(dAtA[iNdEx:])
  3818. if err != nil {
  3819. return err
  3820. }
  3821. if skippy < 0 {
  3822. return ErrInvalidLengthApi
  3823. }
  3824. if (iNdEx + skippy) > l {
  3825. return io.ErrUnexpectedEOF
  3826. }
  3827. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3828. iNdEx += skippy
  3829. }
  3830. }
  3831. if iNdEx > l {
  3832. return io.ErrUnexpectedEOF
  3833. }
  3834. return nil
  3835. }
  3836. func (m *ModelArgReset) Unmarshal(dAtA []byte) error {
  3837. l := len(dAtA)
  3838. iNdEx := 0
  3839. for iNdEx < l {
  3840. preIndex := iNdEx
  3841. var wire uint64
  3842. for shift := uint(0); ; shift += 7 {
  3843. if shift >= 64 {
  3844. return ErrIntOverflowApi
  3845. }
  3846. if iNdEx >= l {
  3847. return io.ErrUnexpectedEOF
  3848. }
  3849. b := dAtA[iNdEx]
  3850. iNdEx++
  3851. wire |= (uint64(b) & 0x7F) << shift
  3852. if b < 0x80 {
  3853. break
  3854. }
  3855. }
  3856. fieldNum := int32(wire >> 3)
  3857. wireType := int(wire & 0x7)
  3858. if wireType == 4 {
  3859. return fmt.Errorf("proto: ModelArgReset: wiretype end group for non-group")
  3860. }
  3861. if fieldNum <= 0 {
  3862. return fmt.Errorf("proto: ModelArgReset: illegal tag %d (wire type %d)", fieldNum, wire)
  3863. }
  3864. switch fieldNum {
  3865. case 1:
  3866. if wireType != 0 {
  3867. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  3868. }
  3869. m.Mid = 0
  3870. for shift := uint(0); ; shift += 7 {
  3871. if shift >= 64 {
  3872. return ErrIntOverflowApi
  3873. }
  3874. if iNdEx >= l {
  3875. return io.ErrUnexpectedEOF
  3876. }
  3877. b := dAtA[iNdEx]
  3878. iNdEx++
  3879. m.Mid |= (int64(b) & 0x7F) << shift
  3880. if b < 0x80 {
  3881. break
  3882. }
  3883. }
  3884. case 2:
  3885. if wireType != 0 {
  3886. return fmt.Errorf("proto: wrong wireType = %d for field ReLiveTime", wireType)
  3887. }
  3888. var v int
  3889. for shift := uint(0); ; shift += 7 {
  3890. if shift >= 64 {
  3891. return ErrIntOverflowApi
  3892. }
  3893. if iNdEx >= l {
  3894. return io.ErrUnexpectedEOF
  3895. }
  3896. b := dAtA[iNdEx]
  3897. iNdEx++
  3898. v |= (int(b) & 0x7F) << shift
  3899. if b < 0x80 {
  3900. break
  3901. }
  3902. }
  3903. m.ReLiveTime = bool(v != 0)
  3904. case 3:
  3905. if wireType != 0 {
  3906. return fmt.Errorf("proto: wrong wireType = %d for field EventScore", wireType)
  3907. }
  3908. var v int
  3909. for shift := uint(0); ; shift += 7 {
  3910. if shift >= 64 {
  3911. return ErrIntOverflowApi
  3912. }
  3913. if iNdEx >= l {
  3914. return io.ErrUnexpectedEOF
  3915. }
  3916. b := dAtA[iNdEx]
  3917. iNdEx++
  3918. v |= (int(b) & 0x7F) << shift
  3919. if b < 0x80 {
  3920. break
  3921. }
  3922. }
  3923. m.EventScore = bool(v != 0)
  3924. case 4:
  3925. if wireType != 0 {
  3926. return fmt.Errorf("proto: wrong wireType = %d for field BaseScore", wireType)
  3927. }
  3928. var v int
  3929. for shift := uint(0); ; shift += 7 {
  3930. if shift >= 64 {
  3931. return ErrIntOverflowApi
  3932. }
  3933. if iNdEx >= l {
  3934. return io.ErrUnexpectedEOF
  3935. }
  3936. b := dAtA[iNdEx]
  3937. iNdEx++
  3938. v |= (int(b) & 0x7F) << shift
  3939. if b < 0x80 {
  3940. break
  3941. }
  3942. }
  3943. m.BaseScore = bool(v != 0)
  3944. case 5:
  3945. if wireType != 2 {
  3946. return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
  3947. }
  3948. var stringLen uint64
  3949. for shift := uint(0); ; shift += 7 {
  3950. if shift >= 64 {
  3951. return ErrIntOverflowApi
  3952. }
  3953. if iNdEx >= l {
  3954. return io.ErrUnexpectedEOF
  3955. }
  3956. b := dAtA[iNdEx]
  3957. iNdEx++
  3958. stringLen |= (uint64(b) & 0x7F) << shift
  3959. if b < 0x80 {
  3960. break
  3961. }
  3962. }
  3963. intStringLen := int(stringLen)
  3964. if intStringLen < 0 {
  3965. return ErrInvalidLengthApi
  3966. }
  3967. postIndex := iNdEx + intStringLen
  3968. if postIndex > l {
  3969. return io.ErrUnexpectedEOF
  3970. }
  3971. m.Operator = string(dAtA[iNdEx:postIndex])
  3972. iNdEx = postIndex
  3973. default:
  3974. iNdEx = preIndex
  3975. skippy, err := skipApi(dAtA[iNdEx:])
  3976. if err != nil {
  3977. return err
  3978. }
  3979. if skippy < 0 {
  3980. return ErrInvalidLengthApi
  3981. }
  3982. if (iNdEx + skippy) > l {
  3983. return io.ErrUnexpectedEOF
  3984. }
  3985. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3986. iNdEx += skippy
  3987. }
  3988. }
  3989. if iNdEx > l {
  3990. return io.ErrUnexpectedEOF
  3991. }
  3992. return nil
  3993. }
  3994. func (m *ModelEventMessage) Unmarshal(dAtA []byte) error {
  3995. l := len(dAtA)
  3996. iNdEx := 0
  3997. for iNdEx < l {
  3998. preIndex := iNdEx
  3999. var wire uint64
  4000. for shift := uint(0); ; shift += 7 {
  4001. if shift >= 64 {
  4002. return ErrIntOverflowApi
  4003. }
  4004. if iNdEx >= l {
  4005. return io.ErrUnexpectedEOF
  4006. }
  4007. b := dAtA[iNdEx]
  4008. iNdEx++
  4009. wire |= (uint64(b) & 0x7F) << shift
  4010. if b < 0x80 {
  4011. break
  4012. }
  4013. }
  4014. fieldNum := int32(wire >> 3)
  4015. wireType := int(wire & 0x7)
  4016. if wireType == 4 {
  4017. return fmt.Errorf("proto: ModelEventMessage: wiretype end group for non-group")
  4018. }
  4019. if fieldNum <= 0 {
  4020. return fmt.Errorf("proto: ModelEventMessage: illegal tag %d (wire type %d)", fieldNum, wire)
  4021. }
  4022. switch fieldNum {
  4023. case 1:
  4024. if wireType != 0 {
  4025. return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
  4026. }
  4027. m.Time = 0
  4028. for shift := uint(0); ; shift += 7 {
  4029. if shift >= 64 {
  4030. return ErrIntOverflowApi
  4031. }
  4032. if iNdEx >= l {
  4033. return io.ErrUnexpectedEOF
  4034. }
  4035. b := dAtA[iNdEx]
  4036. iNdEx++
  4037. m.Time |= (int64(b) & 0x7F) << shift
  4038. if b < 0x80 {
  4039. break
  4040. }
  4041. }
  4042. case 2:
  4043. if wireType != 2 {
  4044. return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType)
  4045. }
  4046. var stringLen uint64
  4047. for shift := uint(0); ; shift += 7 {
  4048. if shift >= 64 {
  4049. return ErrIntOverflowApi
  4050. }
  4051. if iNdEx >= l {
  4052. return io.ErrUnexpectedEOF
  4053. }
  4054. b := dAtA[iNdEx]
  4055. iNdEx++
  4056. stringLen |= (uint64(b) & 0x7F) << shift
  4057. if b < 0x80 {
  4058. break
  4059. }
  4060. }
  4061. intStringLen := int(stringLen)
  4062. if intStringLen < 0 {
  4063. return ErrInvalidLengthApi
  4064. }
  4065. postIndex := iNdEx + intStringLen
  4066. if postIndex > l {
  4067. return io.ErrUnexpectedEOF
  4068. }
  4069. m.Ip = string(dAtA[iNdEx:postIndex])
  4070. iNdEx = postIndex
  4071. case 3:
  4072. if wireType != 2 {
  4073. return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType)
  4074. }
  4075. var stringLen uint64
  4076. for shift := uint(0); ; shift += 7 {
  4077. if shift >= 64 {
  4078. return ErrIntOverflowApi
  4079. }
  4080. if iNdEx >= l {
  4081. return io.ErrUnexpectedEOF
  4082. }
  4083. b := dAtA[iNdEx]
  4084. iNdEx++
  4085. stringLen |= (uint64(b) & 0x7F) << shift
  4086. if b < 0x80 {
  4087. break
  4088. }
  4089. }
  4090. intStringLen := int(stringLen)
  4091. if intStringLen < 0 {
  4092. return ErrInvalidLengthApi
  4093. }
  4094. postIndex := iNdEx + intStringLen
  4095. if postIndex > l {
  4096. return io.ErrUnexpectedEOF
  4097. }
  4098. m.Service = string(dAtA[iNdEx:postIndex])
  4099. iNdEx = postIndex
  4100. case 4:
  4101. if wireType != 2 {
  4102. return fmt.Errorf("proto: wrong wireType = %d for field Event", wireType)
  4103. }
  4104. var stringLen uint64
  4105. for shift := uint(0); ; shift += 7 {
  4106. if shift >= 64 {
  4107. return ErrIntOverflowApi
  4108. }
  4109. if iNdEx >= l {
  4110. return io.ErrUnexpectedEOF
  4111. }
  4112. b := dAtA[iNdEx]
  4113. iNdEx++
  4114. stringLen |= (uint64(b) & 0x7F) << shift
  4115. if b < 0x80 {
  4116. break
  4117. }
  4118. }
  4119. intStringLen := int(stringLen)
  4120. if intStringLen < 0 {
  4121. return ErrInvalidLengthApi
  4122. }
  4123. postIndex := iNdEx + intStringLen
  4124. if postIndex > l {
  4125. return io.ErrUnexpectedEOF
  4126. }
  4127. m.Event = string(dAtA[iNdEx:postIndex])
  4128. iNdEx = postIndex
  4129. case 5:
  4130. if wireType != 0 {
  4131. return fmt.Errorf("proto: wrong wireType = %d for field ActiveMid", wireType)
  4132. }
  4133. m.ActiveMid = 0
  4134. for shift := uint(0); ; shift += 7 {
  4135. if shift >= 64 {
  4136. return ErrIntOverflowApi
  4137. }
  4138. if iNdEx >= l {
  4139. return io.ErrUnexpectedEOF
  4140. }
  4141. b := dAtA[iNdEx]
  4142. iNdEx++
  4143. m.ActiveMid |= (int64(b) & 0x7F) << shift
  4144. if b < 0x80 {
  4145. break
  4146. }
  4147. }
  4148. case 6:
  4149. if wireType != 0 {
  4150. return fmt.Errorf("proto: wrong wireType = %d for field TargetMid", wireType)
  4151. }
  4152. m.TargetMid = 0
  4153. for shift := uint(0); ; shift += 7 {
  4154. if shift >= 64 {
  4155. return ErrIntOverflowApi
  4156. }
  4157. if iNdEx >= l {
  4158. return io.ErrUnexpectedEOF
  4159. }
  4160. b := dAtA[iNdEx]
  4161. iNdEx++
  4162. m.TargetMid |= (int64(b) & 0x7F) << shift
  4163. if b < 0x80 {
  4164. break
  4165. }
  4166. }
  4167. case 7:
  4168. if wireType != 0 {
  4169. return fmt.Errorf("proto: wrong wireType = %d for field TargetId", wireType)
  4170. }
  4171. m.TargetId = 0
  4172. for shift := uint(0); ; shift += 7 {
  4173. if shift >= 64 {
  4174. return ErrIntOverflowApi
  4175. }
  4176. if iNdEx >= l {
  4177. return io.ErrUnexpectedEOF
  4178. }
  4179. b := dAtA[iNdEx]
  4180. iNdEx++
  4181. m.TargetId |= (int64(b) & 0x7F) << shift
  4182. if b < 0x80 {
  4183. break
  4184. }
  4185. }
  4186. case 9:
  4187. if wireType != 2 {
  4188. return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  4189. }
  4190. var stringLen uint64
  4191. for shift := uint(0); ; shift += 7 {
  4192. if shift >= 64 {
  4193. return ErrIntOverflowApi
  4194. }
  4195. if iNdEx >= l {
  4196. return io.ErrUnexpectedEOF
  4197. }
  4198. b := dAtA[iNdEx]
  4199. iNdEx++
  4200. stringLen |= (uint64(b) & 0x7F) << shift
  4201. if b < 0x80 {
  4202. break
  4203. }
  4204. }
  4205. intStringLen := int(stringLen)
  4206. if intStringLen < 0 {
  4207. return ErrInvalidLengthApi
  4208. }
  4209. postIndex := iNdEx + intStringLen
  4210. if postIndex > l {
  4211. return io.ErrUnexpectedEOF
  4212. }
  4213. m.Result = string(dAtA[iNdEx:postIndex])
  4214. iNdEx = postIndex
  4215. case 10:
  4216. if wireType != 2 {
  4217. return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
  4218. }
  4219. var stringLen uint64
  4220. for shift := uint(0); ; shift += 7 {
  4221. if shift >= 64 {
  4222. return ErrIntOverflowApi
  4223. }
  4224. if iNdEx >= l {
  4225. return io.ErrUnexpectedEOF
  4226. }
  4227. b := dAtA[iNdEx]
  4228. iNdEx++
  4229. stringLen |= (uint64(b) & 0x7F) << shift
  4230. if b < 0x80 {
  4231. break
  4232. }
  4233. }
  4234. intStringLen := int(stringLen)
  4235. if intStringLen < 0 {
  4236. return ErrInvalidLengthApi
  4237. }
  4238. postIndex := iNdEx + intStringLen
  4239. if postIndex > l {
  4240. return io.ErrUnexpectedEOF
  4241. }
  4242. m.Effect = string(dAtA[iNdEx:postIndex])
  4243. iNdEx = postIndex
  4244. case 11:
  4245. if wireType != 0 {
  4246. return fmt.Errorf("proto: wrong wireType = %d for field RiskLevel", wireType)
  4247. }
  4248. m.RiskLevel = 0
  4249. for shift := uint(0); ; shift += 7 {
  4250. if shift >= 64 {
  4251. return ErrIntOverflowApi
  4252. }
  4253. if iNdEx >= l {
  4254. return io.ErrUnexpectedEOF
  4255. }
  4256. b := dAtA[iNdEx]
  4257. iNdEx++
  4258. m.RiskLevel |= (int32(b) & 0x7F) << shift
  4259. if b < 0x80 {
  4260. break
  4261. }
  4262. }
  4263. default:
  4264. iNdEx = preIndex
  4265. skippy, err := skipApi(dAtA[iNdEx:])
  4266. if err != nil {
  4267. return err
  4268. }
  4269. if skippy < 0 {
  4270. return ErrInvalidLengthApi
  4271. }
  4272. if (iNdEx + skippy) > l {
  4273. return io.ErrUnexpectedEOF
  4274. }
  4275. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4276. iNdEx += skippy
  4277. }
  4278. }
  4279. if iNdEx > l {
  4280. return io.ErrUnexpectedEOF
  4281. }
  4282. return nil
  4283. }
  4284. func (m *ModelStatistics) Unmarshal(dAtA []byte) error {
  4285. l := len(dAtA)
  4286. iNdEx := 0
  4287. for iNdEx < l {
  4288. preIndex := iNdEx
  4289. var wire uint64
  4290. for shift := uint(0); ; shift += 7 {
  4291. if shift >= 64 {
  4292. return ErrIntOverflowApi
  4293. }
  4294. if iNdEx >= l {
  4295. return io.ErrUnexpectedEOF
  4296. }
  4297. b := dAtA[iNdEx]
  4298. iNdEx++
  4299. wire |= (uint64(b) & 0x7F) << shift
  4300. if b < 0x80 {
  4301. break
  4302. }
  4303. }
  4304. fieldNum := int32(wire >> 3)
  4305. wireType := int(wire & 0x7)
  4306. if wireType == 4 {
  4307. return fmt.Errorf("proto: ModelStatistics: wiretype end group for non-group")
  4308. }
  4309. if fieldNum <= 0 {
  4310. return fmt.Errorf("proto: ModelStatistics: illegal tag %d (wire type %d)", fieldNum, wire)
  4311. }
  4312. switch fieldNum {
  4313. case 1:
  4314. if wireType != 0 {
  4315. return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType)
  4316. }
  4317. m.Quantity = 0
  4318. for shift := uint(0); ; shift += 7 {
  4319. if shift >= 64 {
  4320. return ErrIntOverflowApi
  4321. }
  4322. if iNdEx >= l {
  4323. return io.ErrUnexpectedEOF
  4324. }
  4325. b := dAtA[iNdEx]
  4326. iNdEx++
  4327. m.Quantity |= (int64(b) & 0x7F) << shift
  4328. if b < 0x80 {
  4329. break
  4330. }
  4331. }
  4332. case 2:
  4333. if wireType != 0 {
  4334. return fmt.Errorf("proto: wrong wireType = %d for field EventId", wireType)
  4335. }
  4336. m.EventId = 0
  4337. for shift := uint(0); ; shift += 7 {
  4338. if shift >= 64 {
  4339. return ErrIntOverflowApi
  4340. }
  4341. if iNdEx >= l {
  4342. return io.ErrUnexpectedEOF
  4343. }
  4344. b := dAtA[iNdEx]
  4345. iNdEx++
  4346. m.EventId |= (int64(b) & 0x7F) << shift
  4347. if b < 0x80 {
  4348. break
  4349. }
  4350. }
  4351. case 3:
  4352. if wireType != 2 {
  4353. return fmt.Errorf("proto: wrong wireType = %d for field EventName", wireType)
  4354. }
  4355. var stringLen uint64
  4356. for shift := uint(0); ; shift += 7 {
  4357. if shift >= 64 {
  4358. return ErrIntOverflowApi
  4359. }
  4360. if iNdEx >= l {
  4361. return io.ErrUnexpectedEOF
  4362. }
  4363. b := dAtA[iNdEx]
  4364. iNdEx++
  4365. stringLen |= (uint64(b) & 0x7F) << shift
  4366. if b < 0x80 {
  4367. break
  4368. }
  4369. }
  4370. intStringLen := int(stringLen)
  4371. if intStringLen < 0 {
  4372. return ErrInvalidLengthApi
  4373. }
  4374. postIndex := iNdEx + intStringLen
  4375. if postIndex > l {
  4376. return io.ErrUnexpectedEOF
  4377. }
  4378. m.EventName = string(dAtA[iNdEx:postIndex])
  4379. iNdEx = postIndex
  4380. default:
  4381. iNdEx = preIndex
  4382. skippy, err := skipApi(dAtA[iNdEx:])
  4383. if err != nil {
  4384. return err
  4385. }
  4386. if skippy < 0 {
  4387. return ErrInvalidLengthApi
  4388. }
  4389. if (iNdEx + skippy) > l {
  4390. return io.ErrUnexpectedEOF
  4391. }
  4392. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4393. iNdEx += skippy
  4394. }
  4395. }
  4396. if iNdEx > l {
  4397. return io.ErrUnexpectedEOF
  4398. }
  4399. return nil
  4400. }
  4401. func (m *ModelUserInfo) Unmarshal(dAtA []byte) error {
  4402. l := len(dAtA)
  4403. iNdEx := 0
  4404. for iNdEx < l {
  4405. preIndex := iNdEx
  4406. var wire uint64
  4407. for shift := uint(0); ; shift += 7 {
  4408. if shift >= 64 {
  4409. return ErrIntOverflowApi
  4410. }
  4411. if iNdEx >= l {
  4412. return io.ErrUnexpectedEOF
  4413. }
  4414. b := dAtA[iNdEx]
  4415. iNdEx++
  4416. wire |= (uint64(b) & 0x7F) << shift
  4417. if b < 0x80 {
  4418. break
  4419. }
  4420. }
  4421. fieldNum := int32(wire >> 3)
  4422. wireType := int(wire & 0x7)
  4423. if wireType == 4 {
  4424. return fmt.Errorf("proto: ModelUserInfo: wiretype end group for non-group")
  4425. }
  4426. if fieldNum <= 0 {
  4427. return fmt.Errorf("proto: ModelUserInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  4428. }
  4429. switch fieldNum {
  4430. case 1:
  4431. if wireType != 0 {
  4432. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  4433. }
  4434. m.Id = 0
  4435. for shift := uint(0); ; shift += 7 {
  4436. if shift >= 64 {
  4437. return ErrIntOverflowApi
  4438. }
  4439. if iNdEx >= l {
  4440. return io.ErrUnexpectedEOF
  4441. }
  4442. b := dAtA[iNdEx]
  4443. iNdEx++
  4444. m.Id |= (int64(b) & 0x7F) << shift
  4445. if b < 0x80 {
  4446. break
  4447. }
  4448. }
  4449. case 2:
  4450. if wireType != 0 {
  4451. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4452. }
  4453. m.Mid = 0
  4454. for shift := uint(0); ; shift += 7 {
  4455. if shift >= 64 {
  4456. return ErrIntOverflowApi
  4457. }
  4458. if iNdEx >= l {
  4459. return io.ErrUnexpectedEOF
  4460. }
  4461. b := dAtA[iNdEx]
  4462. iNdEx++
  4463. m.Mid |= (int64(b) & 0x7F) << shift
  4464. if b < 0x80 {
  4465. break
  4466. }
  4467. }
  4468. case 3:
  4469. if wireType != 0 {
  4470. return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType)
  4471. }
  4472. m.Score = 0
  4473. for shift := uint(0); ; shift += 7 {
  4474. if shift >= 64 {
  4475. return ErrIntOverflowApi
  4476. }
  4477. if iNdEx >= l {
  4478. return io.ErrUnexpectedEOF
  4479. }
  4480. b := dAtA[iNdEx]
  4481. iNdEx++
  4482. m.Score |= (int32(b) & 0x7F) << shift
  4483. if b < 0x80 {
  4484. break
  4485. }
  4486. }
  4487. case 4:
  4488. if wireType != 0 {
  4489. return fmt.Errorf("proto: wrong wireType = %d for field BaseScore", wireType)
  4490. }
  4491. m.BaseScore = 0
  4492. for shift := uint(0); ; shift += 7 {
  4493. if shift >= 64 {
  4494. return ErrIntOverflowApi
  4495. }
  4496. if iNdEx >= l {
  4497. return io.ErrUnexpectedEOF
  4498. }
  4499. b := dAtA[iNdEx]
  4500. iNdEx++
  4501. m.BaseScore |= (int32(b) & 0x7F) << shift
  4502. if b < 0x80 {
  4503. break
  4504. }
  4505. }
  4506. case 5:
  4507. if wireType != 0 {
  4508. return fmt.Errorf("proto: wrong wireType = %d for field EventScore", wireType)
  4509. }
  4510. m.EventScore = 0
  4511. for shift := uint(0); ; shift += 7 {
  4512. if shift >= 64 {
  4513. return ErrIntOverflowApi
  4514. }
  4515. if iNdEx >= l {
  4516. return io.ErrUnexpectedEOF
  4517. }
  4518. b := dAtA[iNdEx]
  4519. iNdEx++
  4520. m.EventScore |= (int32(b) & 0x7F) << shift
  4521. if b < 0x80 {
  4522. break
  4523. }
  4524. }
  4525. case 6:
  4526. if wireType != 0 {
  4527. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  4528. }
  4529. m.State = 0
  4530. for shift := uint(0); ; shift += 7 {
  4531. if shift >= 64 {
  4532. return ErrIntOverflowApi
  4533. }
  4534. if iNdEx >= l {
  4535. return io.ErrUnexpectedEOF
  4536. }
  4537. b := dAtA[iNdEx]
  4538. iNdEx++
  4539. m.State |= (int32(b) & 0x7F) << shift
  4540. if b < 0x80 {
  4541. break
  4542. }
  4543. }
  4544. case 7:
  4545. if wireType != 0 {
  4546. return fmt.Errorf("proto: wrong wireType = %d for field ReliveTimes", wireType)
  4547. }
  4548. m.ReliveTimes = 0
  4549. for shift := uint(0); ; shift += 7 {
  4550. if shift >= 64 {
  4551. return ErrIntOverflowApi
  4552. }
  4553. if iNdEx >= l {
  4554. return io.ErrUnexpectedEOF
  4555. }
  4556. b := dAtA[iNdEx]
  4557. iNdEx++
  4558. m.ReliveTimes |= (int32(b) & 0x7F) << shift
  4559. if b < 0x80 {
  4560. break
  4561. }
  4562. }
  4563. case 8:
  4564. if wireType != 0 {
  4565. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  4566. }
  4567. m.Ctime = 0
  4568. for shift := uint(0); ; shift += 7 {
  4569. if shift >= 64 {
  4570. return ErrIntOverflowApi
  4571. }
  4572. if iNdEx >= l {
  4573. return io.ErrUnexpectedEOF
  4574. }
  4575. b := dAtA[iNdEx]
  4576. iNdEx++
  4577. m.Ctime |= (int64(b) & 0x7F) << shift
  4578. if b < 0x80 {
  4579. break
  4580. }
  4581. }
  4582. case 9:
  4583. if wireType != 0 {
  4584. return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
  4585. }
  4586. m.Mtime = 0
  4587. for shift := uint(0); ; shift += 7 {
  4588. if shift >= 64 {
  4589. return ErrIntOverflowApi
  4590. }
  4591. if iNdEx >= l {
  4592. return io.ErrUnexpectedEOF
  4593. }
  4594. b := dAtA[iNdEx]
  4595. iNdEx++
  4596. m.Mtime |= (int64(b) & 0x7F) << shift
  4597. if b < 0x80 {
  4598. break
  4599. }
  4600. }
  4601. default:
  4602. iNdEx = preIndex
  4603. skippy, err := skipApi(dAtA[iNdEx:])
  4604. if err != nil {
  4605. return err
  4606. }
  4607. if skippy < 0 {
  4608. return ErrInvalidLengthApi
  4609. }
  4610. if (iNdEx + skippy) > l {
  4611. return io.ErrUnexpectedEOF
  4612. }
  4613. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4614. iNdEx += skippy
  4615. }
  4616. }
  4617. if iNdEx > l {
  4618. return io.ErrUnexpectedEOF
  4619. }
  4620. return nil
  4621. }
  4622. func (m *PingReply) Unmarshal(dAtA []byte) error {
  4623. l := len(dAtA)
  4624. iNdEx := 0
  4625. for iNdEx < l {
  4626. preIndex := iNdEx
  4627. var wire uint64
  4628. for shift := uint(0); ; shift += 7 {
  4629. if shift >= 64 {
  4630. return ErrIntOverflowApi
  4631. }
  4632. if iNdEx >= l {
  4633. return io.ErrUnexpectedEOF
  4634. }
  4635. b := dAtA[iNdEx]
  4636. iNdEx++
  4637. wire |= (uint64(b) & 0x7F) << shift
  4638. if b < 0x80 {
  4639. break
  4640. }
  4641. }
  4642. fieldNum := int32(wire >> 3)
  4643. wireType := int(wire & 0x7)
  4644. if wireType == 4 {
  4645. return fmt.Errorf("proto: PingReply: wiretype end group for non-group")
  4646. }
  4647. if fieldNum <= 0 {
  4648. return fmt.Errorf("proto: PingReply: illegal tag %d (wire type %d)", fieldNum, wire)
  4649. }
  4650. switch fieldNum {
  4651. default:
  4652. iNdEx = preIndex
  4653. skippy, err := skipApi(dAtA[iNdEx:])
  4654. if err != nil {
  4655. return err
  4656. }
  4657. if skippy < 0 {
  4658. return ErrInvalidLengthApi
  4659. }
  4660. if (iNdEx + skippy) > l {
  4661. return io.ErrUnexpectedEOF
  4662. }
  4663. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4664. iNdEx += skippy
  4665. }
  4666. }
  4667. if iNdEx > l {
  4668. return io.ErrUnexpectedEOF
  4669. }
  4670. return nil
  4671. }
  4672. func (m *PingReq) Unmarshal(dAtA []byte) error {
  4673. l := len(dAtA)
  4674. iNdEx := 0
  4675. for iNdEx < l {
  4676. preIndex := iNdEx
  4677. var wire uint64
  4678. for shift := uint(0); ; shift += 7 {
  4679. if shift >= 64 {
  4680. return ErrIntOverflowApi
  4681. }
  4682. if iNdEx >= l {
  4683. return io.ErrUnexpectedEOF
  4684. }
  4685. b := dAtA[iNdEx]
  4686. iNdEx++
  4687. wire |= (uint64(b) & 0x7F) << shift
  4688. if b < 0x80 {
  4689. break
  4690. }
  4691. }
  4692. fieldNum := int32(wire >> 3)
  4693. wireType := int(wire & 0x7)
  4694. if wireType == 4 {
  4695. return fmt.Errorf("proto: PingReq: wiretype end group for non-group")
  4696. }
  4697. if fieldNum <= 0 {
  4698. return fmt.Errorf("proto: PingReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4699. }
  4700. switch fieldNum {
  4701. default:
  4702. iNdEx = preIndex
  4703. skippy, err := skipApi(dAtA[iNdEx:])
  4704. if err != nil {
  4705. return err
  4706. }
  4707. if skippy < 0 {
  4708. return ErrInvalidLengthApi
  4709. }
  4710. if (iNdEx + skippy) > l {
  4711. return io.ErrUnexpectedEOF
  4712. }
  4713. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4714. iNdEx += skippy
  4715. }
  4716. }
  4717. if iNdEx > l {
  4718. return io.ErrUnexpectedEOF
  4719. }
  4720. return nil
  4721. }
  4722. func (m *PurgeUserReply) Unmarshal(dAtA []byte) error {
  4723. l := len(dAtA)
  4724. iNdEx := 0
  4725. for iNdEx < l {
  4726. preIndex := iNdEx
  4727. var wire uint64
  4728. for shift := uint(0); ; shift += 7 {
  4729. if shift >= 64 {
  4730. return ErrIntOverflowApi
  4731. }
  4732. if iNdEx >= l {
  4733. return io.ErrUnexpectedEOF
  4734. }
  4735. b := dAtA[iNdEx]
  4736. iNdEx++
  4737. wire |= (uint64(b) & 0x7F) << shift
  4738. if b < 0x80 {
  4739. break
  4740. }
  4741. }
  4742. fieldNum := int32(wire >> 3)
  4743. wireType := int(wire & 0x7)
  4744. if wireType == 4 {
  4745. return fmt.Errorf("proto: PurgeUserReply: wiretype end group for non-group")
  4746. }
  4747. if fieldNum <= 0 {
  4748. return fmt.Errorf("proto: PurgeUserReply: illegal tag %d (wire type %d)", fieldNum, wire)
  4749. }
  4750. switch fieldNum {
  4751. default:
  4752. iNdEx = preIndex
  4753. skippy, err := skipApi(dAtA[iNdEx:])
  4754. if err != nil {
  4755. return err
  4756. }
  4757. if skippy < 0 {
  4758. return ErrInvalidLengthApi
  4759. }
  4760. if (iNdEx + skippy) > l {
  4761. return io.ErrUnexpectedEOF
  4762. }
  4763. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4764. iNdEx += skippy
  4765. }
  4766. }
  4767. if iNdEx > l {
  4768. return io.ErrUnexpectedEOF
  4769. }
  4770. return nil
  4771. }
  4772. func (m *PurgeUserReq) Unmarshal(dAtA []byte) error {
  4773. l := len(dAtA)
  4774. iNdEx := 0
  4775. for iNdEx < l {
  4776. preIndex := iNdEx
  4777. var wire uint64
  4778. for shift := uint(0); ; shift += 7 {
  4779. if shift >= 64 {
  4780. return ErrIntOverflowApi
  4781. }
  4782. if iNdEx >= l {
  4783. return io.ErrUnexpectedEOF
  4784. }
  4785. b := dAtA[iNdEx]
  4786. iNdEx++
  4787. wire |= (uint64(b) & 0x7F) << shift
  4788. if b < 0x80 {
  4789. break
  4790. }
  4791. }
  4792. fieldNum := int32(wire >> 3)
  4793. wireType := int(wire & 0x7)
  4794. if wireType == 4 {
  4795. return fmt.Errorf("proto: PurgeUserReq: wiretype end group for non-group")
  4796. }
  4797. if fieldNum <= 0 {
  4798. return fmt.Errorf("proto: PurgeUserReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4799. }
  4800. switch fieldNum {
  4801. case 1:
  4802. if wireType != 0 {
  4803. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4804. }
  4805. m.Mid = 0
  4806. for shift := uint(0); ; shift += 7 {
  4807. if shift >= 64 {
  4808. return ErrIntOverflowApi
  4809. }
  4810. if iNdEx >= l {
  4811. return io.ErrUnexpectedEOF
  4812. }
  4813. b := dAtA[iNdEx]
  4814. iNdEx++
  4815. m.Mid |= (int64(b) & 0x7F) << shift
  4816. if b < 0x80 {
  4817. break
  4818. }
  4819. }
  4820. case 2:
  4821. if wireType != 2 {
  4822. return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
  4823. }
  4824. var stringLen uint64
  4825. for shift := uint(0); ; shift += 7 {
  4826. if shift >= 64 {
  4827. return ErrIntOverflowApi
  4828. }
  4829. if iNdEx >= l {
  4830. return io.ErrUnexpectedEOF
  4831. }
  4832. b := dAtA[iNdEx]
  4833. iNdEx++
  4834. stringLen |= (uint64(b) & 0x7F) << shift
  4835. if b < 0x80 {
  4836. break
  4837. }
  4838. }
  4839. intStringLen := int(stringLen)
  4840. if intStringLen < 0 {
  4841. return ErrInvalidLengthApi
  4842. }
  4843. postIndex := iNdEx + intStringLen
  4844. if postIndex > l {
  4845. return io.ErrUnexpectedEOF
  4846. }
  4847. m.Action = string(dAtA[iNdEx:postIndex])
  4848. iNdEx = postIndex
  4849. default:
  4850. iNdEx = preIndex
  4851. skippy, err := skipApi(dAtA[iNdEx:])
  4852. if err != nil {
  4853. return err
  4854. }
  4855. if skippy < 0 {
  4856. return ErrInvalidLengthApi
  4857. }
  4858. if (iNdEx + skippy) > l {
  4859. return io.ErrUnexpectedEOF
  4860. }
  4861. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4862. iNdEx += skippy
  4863. }
  4864. }
  4865. if iNdEx > l {
  4866. return io.ErrUnexpectedEOF
  4867. }
  4868. return nil
  4869. }
  4870. func (m *ReBuildPortraitReply) Unmarshal(dAtA []byte) error {
  4871. l := len(dAtA)
  4872. iNdEx := 0
  4873. for iNdEx < l {
  4874. preIndex := iNdEx
  4875. var wire uint64
  4876. for shift := uint(0); ; shift += 7 {
  4877. if shift >= 64 {
  4878. return ErrIntOverflowApi
  4879. }
  4880. if iNdEx >= l {
  4881. return io.ErrUnexpectedEOF
  4882. }
  4883. b := dAtA[iNdEx]
  4884. iNdEx++
  4885. wire |= (uint64(b) & 0x7F) << shift
  4886. if b < 0x80 {
  4887. break
  4888. }
  4889. }
  4890. fieldNum := int32(wire >> 3)
  4891. wireType := int(wire & 0x7)
  4892. if wireType == 4 {
  4893. return fmt.Errorf("proto: ReBuildPortraitReply: wiretype end group for non-group")
  4894. }
  4895. if fieldNum <= 0 {
  4896. return fmt.Errorf("proto: ReBuildPortraitReply: illegal tag %d (wire type %d)", fieldNum, wire)
  4897. }
  4898. switch fieldNum {
  4899. default:
  4900. iNdEx = preIndex
  4901. skippy, err := skipApi(dAtA[iNdEx:])
  4902. if err != nil {
  4903. return err
  4904. }
  4905. if skippy < 0 {
  4906. return ErrInvalidLengthApi
  4907. }
  4908. if (iNdEx + skippy) > l {
  4909. return io.ErrUnexpectedEOF
  4910. }
  4911. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4912. iNdEx += skippy
  4913. }
  4914. }
  4915. if iNdEx > l {
  4916. return io.ErrUnexpectedEOF
  4917. }
  4918. return nil
  4919. }
  4920. func (m *ReBuildPortraitReq) Unmarshal(dAtA []byte) error {
  4921. l := len(dAtA)
  4922. iNdEx := 0
  4923. for iNdEx < l {
  4924. preIndex := iNdEx
  4925. var wire uint64
  4926. for shift := uint(0); ; shift += 7 {
  4927. if shift >= 64 {
  4928. return ErrIntOverflowApi
  4929. }
  4930. if iNdEx >= l {
  4931. return io.ErrUnexpectedEOF
  4932. }
  4933. b := dAtA[iNdEx]
  4934. iNdEx++
  4935. wire |= (uint64(b) & 0x7F) << shift
  4936. if b < 0x80 {
  4937. break
  4938. }
  4939. }
  4940. fieldNum := int32(wire >> 3)
  4941. wireType := int(wire & 0x7)
  4942. if wireType == 4 {
  4943. return fmt.Errorf("proto: ReBuildPortraitReq: wiretype end group for non-group")
  4944. }
  4945. if fieldNum <= 0 {
  4946. return fmt.Errorf("proto: ReBuildPortraitReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4947. }
  4948. switch fieldNum {
  4949. case 1:
  4950. if wireType != 0 {
  4951. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4952. }
  4953. m.Mid = 0
  4954. for shift := uint(0); ; shift += 7 {
  4955. if shift >= 64 {
  4956. return ErrIntOverflowApi
  4957. }
  4958. if iNdEx >= l {
  4959. return io.ErrUnexpectedEOF
  4960. }
  4961. b := dAtA[iNdEx]
  4962. iNdEx++
  4963. m.Mid |= (int64(b) & 0x7F) << shift
  4964. if b < 0x80 {
  4965. break
  4966. }
  4967. }
  4968. case 2:
  4969. if wireType != 2 {
  4970. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  4971. }
  4972. var stringLen uint64
  4973. for shift := uint(0); ; shift += 7 {
  4974. if shift >= 64 {
  4975. return ErrIntOverflowApi
  4976. }
  4977. if iNdEx >= l {
  4978. return io.ErrUnexpectedEOF
  4979. }
  4980. b := dAtA[iNdEx]
  4981. iNdEx++
  4982. stringLen |= (uint64(b) & 0x7F) << shift
  4983. if b < 0x80 {
  4984. break
  4985. }
  4986. }
  4987. intStringLen := int(stringLen)
  4988. if intStringLen < 0 {
  4989. return ErrInvalidLengthApi
  4990. }
  4991. postIndex := iNdEx + intStringLen
  4992. if postIndex > l {
  4993. return io.ErrUnexpectedEOF
  4994. }
  4995. m.Reason = string(dAtA[iNdEx:postIndex])
  4996. iNdEx = postIndex
  4997. default:
  4998. iNdEx = preIndex
  4999. skippy, err := skipApi(dAtA[iNdEx:])
  5000. if err != nil {
  5001. return err
  5002. }
  5003. if skippy < 0 {
  5004. return ErrInvalidLengthApi
  5005. }
  5006. if (iNdEx + skippy) > l {
  5007. return io.ErrUnexpectedEOF
  5008. }
  5009. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5010. iNdEx += skippy
  5011. }
  5012. }
  5013. if iNdEx > l {
  5014. return io.ErrUnexpectedEOF
  5015. }
  5016. return nil
  5017. }
  5018. func (m *RefreshBaseScoreReply) Unmarshal(dAtA []byte) error {
  5019. l := len(dAtA)
  5020. iNdEx := 0
  5021. for iNdEx < l {
  5022. preIndex := iNdEx
  5023. var wire uint64
  5024. for shift := uint(0); ; shift += 7 {
  5025. if shift >= 64 {
  5026. return ErrIntOverflowApi
  5027. }
  5028. if iNdEx >= l {
  5029. return io.ErrUnexpectedEOF
  5030. }
  5031. b := dAtA[iNdEx]
  5032. iNdEx++
  5033. wire |= (uint64(b) & 0x7F) << shift
  5034. if b < 0x80 {
  5035. break
  5036. }
  5037. }
  5038. fieldNum := int32(wire >> 3)
  5039. wireType := int(wire & 0x7)
  5040. if wireType == 4 {
  5041. return fmt.Errorf("proto: RefreshBaseScoreReply: wiretype end group for non-group")
  5042. }
  5043. if fieldNum <= 0 {
  5044. return fmt.Errorf("proto: RefreshBaseScoreReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5045. }
  5046. switch fieldNum {
  5047. default:
  5048. iNdEx = preIndex
  5049. skippy, err := skipApi(dAtA[iNdEx:])
  5050. if err != nil {
  5051. return err
  5052. }
  5053. if skippy < 0 {
  5054. return ErrInvalidLengthApi
  5055. }
  5056. if (iNdEx + skippy) > l {
  5057. return io.ErrUnexpectedEOF
  5058. }
  5059. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5060. iNdEx += skippy
  5061. }
  5062. }
  5063. if iNdEx > l {
  5064. return io.ErrUnexpectedEOF
  5065. }
  5066. return nil
  5067. }
  5068. func (m *RefreshBaseScoreReq) Unmarshal(dAtA []byte) error {
  5069. l := len(dAtA)
  5070. iNdEx := 0
  5071. for iNdEx < l {
  5072. preIndex := iNdEx
  5073. var wire uint64
  5074. for shift := uint(0); ; shift += 7 {
  5075. if shift >= 64 {
  5076. return ErrIntOverflowApi
  5077. }
  5078. if iNdEx >= l {
  5079. return io.ErrUnexpectedEOF
  5080. }
  5081. b := dAtA[iNdEx]
  5082. iNdEx++
  5083. wire |= (uint64(b) & 0x7F) << shift
  5084. if b < 0x80 {
  5085. break
  5086. }
  5087. }
  5088. fieldNum := int32(wire >> 3)
  5089. wireType := int(wire & 0x7)
  5090. if wireType == 4 {
  5091. return fmt.Errorf("proto: RefreshBaseScoreReq: wiretype end group for non-group")
  5092. }
  5093. if fieldNum <= 0 {
  5094. return fmt.Errorf("proto: RefreshBaseScoreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5095. }
  5096. switch fieldNum {
  5097. case 1:
  5098. if wireType != 2 {
  5099. return fmt.Errorf("proto: wrong wireType = %d for field Arg", wireType)
  5100. }
  5101. var msglen int
  5102. for shift := uint(0); ; shift += 7 {
  5103. if shift >= 64 {
  5104. return ErrIntOverflowApi
  5105. }
  5106. if iNdEx >= l {
  5107. return io.ErrUnexpectedEOF
  5108. }
  5109. b := dAtA[iNdEx]
  5110. iNdEx++
  5111. msglen |= (int(b) & 0x7F) << shift
  5112. if b < 0x80 {
  5113. break
  5114. }
  5115. }
  5116. if msglen < 0 {
  5117. return ErrInvalidLengthApi
  5118. }
  5119. postIndex := iNdEx + msglen
  5120. if postIndex > l {
  5121. return io.ErrUnexpectedEOF
  5122. }
  5123. if m.Arg == nil {
  5124. m.Arg = &ModelArgReset{}
  5125. }
  5126. if err := m.Arg.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5127. return err
  5128. }
  5129. iNdEx = postIndex
  5130. default:
  5131. iNdEx = preIndex
  5132. skippy, err := skipApi(dAtA[iNdEx:])
  5133. if err != nil {
  5134. return err
  5135. }
  5136. if skippy < 0 {
  5137. return ErrInvalidLengthApi
  5138. }
  5139. if (iNdEx + skippy) > l {
  5140. return io.ErrUnexpectedEOF
  5141. }
  5142. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5143. iNdEx += skippy
  5144. }
  5145. }
  5146. if iNdEx > l {
  5147. return io.ErrUnexpectedEOF
  5148. }
  5149. return nil
  5150. }
  5151. func (m *StatByIDGroupEventReply) Unmarshal(dAtA []byte) error {
  5152. l := len(dAtA)
  5153. iNdEx := 0
  5154. for iNdEx < l {
  5155. preIndex := iNdEx
  5156. var wire uint64
  5157. for shift := uint(0); ; shift += 7 {
  5158. if shift >= 64 {
  5159. return ErrIntOverflowApi
  5160. }
  5161. if iNdEx >= l {
  5162. return io.ErrUnexpectedEOF
  5163. }
  5164. b := dAtA[iNdEx]
  5165. iNdEx++
  5166. wire |= (uint64(b) & 0x7F) << shift
  5167. if b < 0x80 {
  5168. break
  5169. }
  5170. }
  5171. fieldNum := int32(wire >> 3)
  5172. wireType := int(wire & 0x7)
  5173. if wireType == 4 {
  5174. return fmt.Errorf("proto: StatByIDGroupEventReply: wiretype end group for non-group")
  5175. }
  5176. if fieldNum <= 0 {
  5177. return fmt.Errorf("proto: StatByIDGroupEventReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5178. }
  5179. switch fieldNum {
  5180. case 1:
  5181. if wireType != 2 {
  5182. return fmt.Errorf("proto: wrong wireType = %d for field Res", wireType)
  5183. }
  5184. var msglen int
  5185. for shift := uint(0); ; shift += 7 {
  5186. if shift >= 64 {
  5187. return ErrIntOverflowApi
  5188. }
  5189. if iNdEx >= l {
  5190. return io.ErrUnexpectedEOF
  5191. }
  5192. b := dAtA[iNdEx]
  5193. iNdEx++
  5194. msglen |= (int(b) & 0x7F) << shift
  5195. if b < 0x80 {
  5196. break
  5197. }
  5198. }
  5199. if msglen < 0 {
  5200. return ErrInvalidLengthApi
  5201. }
  5202. postIndex := iNdEx + msglen
  5203. if postIndex > l {
  5204. return io.ErrUnexpectedEOF
  5205. }
  5206. m.Res = append(m.Res, &ModelStatistics{})
  5207. if err := m.Res[len(m.Res)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5208. return err
  5209. }
  5210. iNdEx = postIndex
  5211. default:
  5212. iNdEx = preIndex
  5213. skippy, err := skipApi(dAtA[iNdEx:])
  5214. if err != nil {
  5215. return err
  5216. }
  5217. if skippy < 0 {
  5218. return ErrInvalidLengthApi
  5219. }
  5220. if (iNdEx + skippy) > l {
  5221. return io.ErrUnexpectedEOF
  5222. }
  5223. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5224. iNdEx += skippy
  5225. }
  5226. }
  5227. if iNdEx > l {
  5228. return io.ErrUnexpectedEOF
  5229. }
  5230. return nil
  5231. }
  5232. func (m *StatByIDGroupEventReq) Unmarshal(dAtA []byte) error {
  5233. l := len(dAtA)
  5234. iNdEx := 0
  5235. for iNdEx < l {
  5236. preIndex := iNdEx
  5237. var wire uint64
  5238. for shift := uint(0); ; shift += 7 {
  5239. if shift >= 64 {
  5240. return ErrIntOverflowApi
  5241. }
  5242. if iNdEx >= l {
  5243. return io.ErrUnexpectedEOF
  5244. }
  5245. b := dAtA[iNdEx]
  5246. iNdEx++
  5247. wire |= (uint64(b) & 0x7F) << shift
  5248. if b < 0x80 {
  5249. break
  5250. }
  5251. }
  5252. fieldNum := int32(wire >> 3)
  5253. wireType := int(wire & 0x7)
  5254. if wireType == 4 {
  5255. return fmt.Errorf("proto: StatByIDGroupEventReq: wiretype end group for non-group")
  5256. }
  5257. if fieldNum <= 0 {
  5258. return fmt.Errorf("proto: StatByIDGroupEventReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5259. }
  5260. switch fieldNum {
  5261. case 1:
  5262. if wireType != 0 {
  5263. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  5264. }
  5265. m.Mid = 0
  5266. for shift := uint(0); ; shift += 7 {
  5267. if shift >= 64 {
  5268. return ErrIntOverflowApi
  5269. }
  5270. if iNdEx >= l {
  5271. return io.ErrUnexpectedEOF
  5272. }
  5273. b := dAtA[iNdEx]
  5274. iNdEx++
  5275. m.Mid |= (int64(b) & 0x7F) << shift
  5276. if b < 0x80 {
  5277. break
  5278. }
  5279. }
  5280. case 2:
  5281. if wireType != 0 {
  5282. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  5283. }
  5284. m.Id = 0
  5285. for shift := uint(0); ; shift += 7 {
  5286. if shift >= 64 {
  5287. return ErrIntOverflowApi
  5288. }
  5289. if iNdEx >= l {
  5290. return io.ErrUnexpectedEOF
  5291. }
  5292. b := dAtA[iNdEx]
  5293. iNdEx++
  5294. m.Id |= (int64(b) & 0x7F) << shift
  5295. if b < 0x80 {
  5296. break
  5297. }
  5298. }
  5299. default:
  5300. iNdEx = preIndex
  5301. skippy, err := skipApi(dAtA[iNdEx:])
  5302. if err != nil {
  5303. return err
  5304. }
  5305. if skippy < 0 {
  5306. return ErrInvalidLengthApi
  5307. }
  5308. if (iNdEx + skippy) > l {
  5309. return io.ErrUnexpectedEOF
  5310. }
  5311. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5312. iNdEx += skippy
  5313. }
  5314. }
  5315. if iNdEx > l {
  5316. return io.ErrUnexpectedEOF
  5317. }
  5318. return nil
  5319. }
  5320. func (m *StatByIDReply) Unmarshal(dAtA []byte) error {
  5321. l := len(dAtA)
  5322. iNdEx := 0
  5323. for iNdEx < l {
  5324. preIndex := iNdEx
  5325. var wire uint64
  5326. for shift := uint(0); ; shift += 7 {
  5327. if shift >= 64 {
  5328. return ErrIntOverflowApi
  5329. }
  5330. if iNdEx >= l {
  5331. return io.ErrUnexpectedEOF
  5332. }
  5333. b := dAtA[iNdEx]
  5334. iNdEx++
  5335. wire |= (uint64(b) & 0x7F) << shift
  5336. if b < 0x80 {
  5337. break
  5338. }
  5339. }
  5340. fieldNum := int32(wire >> 3)
  5341. wireType := int(wire & 0x7)
  5342. if wireType == 4 {
  5343. return fmt.Errorf("proto: StatByIDReply: wiretype end group for non-group")
  5344. }
  5345. if fieldNum <= 0 {
  5346. return fmt.Errorf("proto: StatByIDReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5347. }
  5348. switch fieldNum {
  5349. case 1:
  5350. if wireType != 2 {
  5351. return fmt.Errorf("proto: wrong wireType = %d for field Stat", wireType)
  5352. }
  5353. var msglen int
  5354. for shift := uint(0); ; shift += 7 {
  5355. if shift >= 64 {
  5356. return ErrIntOverflowApi
  5357. }
  5358. if iNdEx >= l {
  5359. return io.ErrUnexpectedEOF
  5360. }
  5361. b := dAtA[iNdEx]
  5362. iNdEx++
  5363. msglen |= (int(b) & 0x7F) << shift
  5364. if b < 0x80 {
  5365. break
  5366. }
  5367. }
  5368. if msglen < 0 {
  5369. return ErrInvalidLengthApi
  5370. }
  5371. postIndex := iNdEx + msglen
  5372. if postIndex > l {
  5373. return io.ErrUnexpectedEOF
  5374. }
  5375. m.Stat = append(m.Stat, &ModelStatistics{})
  5376. if err := m.Stat[len(m.Stat)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5377. return err
  5378. }
  5379. iNdEx = postIndex
  5380. default:
  5381. iNdEx = preIndex
  5382. skippy, err := skipApi(dAtA[iNdEx:])
  5383. if err != nil {
  5384. return err
  5385. }
  5386. if skippy < 0 {
  5387. return ErrInvalidLengthApi
  5388. }
  5389. if (iNdEx + skippy) > l {
  5390. return io.ErrUnexpectedEOF
  5391. }
  5392. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5393. iNdEx += skippy
  5394. }
  5395. }
  5396. if iNdEx > l {
  5397. return io.ErrUnexpectedEOF
  5398. }
  5399. return nil
  5400. }
  5401. func (m *StatByIDReq) Unmarshal(dAtA []byte) error {
  5402. l := len(dAtA)
  5403. iNdEx := 0
  5404. for iNdEx < l {
  5405. preIndex := iNdEx
  5406. var wire uint64
  5407. for shift := uint(0); ; shift += 7 {
  5408. if shift >= 64 {
  5409. return ErrIntOverflowApi
  5410. }
  5411. if iNdEx >= l {
  5412. return io.ErrUnexpectedEOF
  5413. }
  5414. b := dAtA[iNdEx]
  5415. iNdEx++
  5416. wire |= (uint64(b) & 0x7F) << shift
  5417. if b < 0x80 {
  5418. break
  5419. }
  5420. }
  5421. fieldNum := int32(wire >> 3)
  5422. wireType := int(wire & 0x7)
  5423. if wireType == 4 {
  5424. return fmt.Errorf("proto: StatByIDReq: wiretype end group for non-group")
  5425. }
  5426. if fieldNum <= 0 {
  5427. return fmt.Errorf("proto: StatByIDReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5428. }
  5429. switch fieldNum {
  5430. case 1:
  5431. if wireType != 0 {
  5432. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  5433. }
  5434. m.Mid = 0
  5435. for shift := uint(0); ; shift += 7 {
  5436. if shift >= 64 {
  5437. return ErrIntOverflowApi
  5438. }
  5439. if iNdEx >= l {
  5440. return io.ErrUnexpectedEOF
  5441. }
  5442. b := dAtA[iNdEx]
  5443. iNdEx++
  5444. m.Mid |= (int64(b) & 0x7F) << shift
  5445. if b < 0x80 {
  5446. break
  5447. }
  5448. }
  5449. case 2:
  5450. if wireType != 0 {
  5451. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  5452. }
  5453. m.Id = 0
  5454. for shift := uint(0); ; shift += 7 {
  5455. if shift >= 64 {
  5456. return ErrIntOverflowApi
  5457. }
  5458. if iNdEx >= l {
  5459. return io.ErrUnexpectedEOF
  5460. }
  5461. b := dAtA[iNdEx]
  5462. iNdEx++
  5463. m.Id |= (int64(b) & 0x7F) << shift
  5464. if b < 0x80 {
  5465. break
  5466. }
  5467. }
  5468. default:
  5469. iNdEx = preIndex
  5470. skippy, err := skipApi(dAtA[iNdEx:])
  5471. if err != nil {
  5472. return err
  5473. }
  5474. if skippy < 0 {
  5475. return ErrInvalidLengthApi
  5476. }
  5477. if (iNdEx + skippy) > l {
  5478. return io.ErrUnexpectedEOF
  5479. }
  5480. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5481. iNdEx += skippy
  5482. }
  5483. }
  5484. if iNdEx > l {
  5485. return io.ErrUnexpectedEOF
  5486. }
  5487. return nil
  5488. }
  5489. func (m *UpdateBaseScoreReply) Unmarshal(dAtA []byte) error {
  5490. l := len(dAtA)
  5491. iNdEx := 0
  5492. for iNdEx < l {
  5493. preIndex := iNdEx
  5494. var wire uint64
  5495. for shift := uint(0); ; shift += 7 {
  5496. if shift >= 64 {
  5497. return ErrIntOverflowApi
  5498. }
  5499. if iNdEx >= l {
  5500. return io.ErrUnexpectedEOF
  5501. }
  5502. b := dAtA[iNdEx]
  5503. iNdEx++
  5504. wire |= (uint64(b) & 0x7F) << shift
  5505. if b < 0x80 {
  5506. break
  5507. }
  5508. }
  5509. fieldNum := int32(wire >> 3)
  5510. wireType := int(wire & 0x7)
  5511. if wireType == 4 {
  5512. return fmt.Errorf("proto: UpdateBaseScoreReply: wiretype end group for non-group")
  5513. }
  5514. if fieldNum <= 0 {
  5515. return fmt.Errorf("proto: UpdateBaseScoreReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5516. }
  5517. switch fieldNum {
  5518. default:
  5519. iNdEx = preIndex
  5520. skippy, err := skipApi(dAtA[iNdEx:])
  5521. if err != nil {
  5522. return err
  5523. }
  5524. if skippy < 0 {
  5525. return ErrInvalidLengthApi
  5526. }
  5527. if (iNdEx + skippy) > l {
  5528. return io.ErrUnexpectedEOF
  5529. }
  5530. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5531. iNdEx += skippy
  5532. }
  5533. }
  5534. if iNdEx > l {
  5535. return io.ErrUnexpectedEOF
  5536. }
  5537. return nil
  5538. }
  5539. func (m *UpdateBaseScoreReq) Unmarshal(dAtA []byte) error {
  5540. l := len(dAtA)
  5541. iNdEx := 0
  5542. for iNdEx < l {
  5543. preIndex := iNdEx
  5544. var wire uint64
  5545. for shift := uint(0); ; shift += 7 {
  5546. if shift >= 64 {
  5547. return ErrIntOverflowApi
  5548. }
  5549. if iNdEx >= l {
  5550. return io.ErrUnexpectedEOF
  5551. }
  5552. b := dAtA[iNdEx]
  5553. iNdEx++
  5554. wire |= (uint64(b) & 0x7F) << shift
  5555. if b < 0x80 {
  5556. break
  5557. }
  5558. }
  5559. fieldNum := int32(wire >> 3)
  5560. wireType := int(wire & 0x7)
  5561. if wireType == 4 {
  5562. return fmt.Errorf("proto: UpdateBaseScoreReq: wiretype end group for non-group")
  5563. }
  5564. if fieldNum <= 0 {
  5565. return fmt.Errorf("proto: UpdateBaseScoreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5566. }
  5567. switch fieldNum {
  5568. case 1:
  5569. if wireType != 2 {
  5570. return fmt.Errorf("proto: wrong wireType = %d for field Arg", wireType)
  5571. }
  5572. var msglen int
  5573. for shift := uint(0); ; shift += 7 {
  5574. if shift >= 64 {
  5575. return ErrIntOverflowApi
  5576. }
  5577. if iNdEx >= l {
  5578. return io.ErrUnexpectedEOF
  5579. }
  5580. b := dAtA[iNdEx]
  5581. iNdEx++
  5582. msglen |= (int(b) & 0x7F) << shift
  5583. if b < 0x80 {
  5584. break
  5585. }
  5586. }
  5587. if msglen < 0 {
  5588. return ErrInvalidLengthApi
  5589. }
  5590. postIndex := iNdEx + msglen
  5591. if postIndex > l {
  5592. return io.ErrUnexpectedEOF
  5593. }
  5594. if m.Arg == nil {
  5595. m.Arg = &ModelArgReset{}
  5596. }
  5597. if err := m.Arg.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5598. return err
  5599. }
  5600. iNdEx = postIndex
  5601. default:
  5602. iNdEx = preIndex
  5603. skippy, err := skipApi(dAtA[iNdEx:])
  5604. if err != nil {
  5605. return err
  5606. }
  5607. if skippy < 0 {
  5608. return ErrInvalidLengthApi
  5609. }
  5610. if (iNdEx + skippy) > l {
  5611. return io.ErrUnexpectedEOF
  5612. }
  5613. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5614. iNdEx += skippy
  5615. }
  5616. }
  5617. if iNdEx > l {
  5618. return io.ErrUnexpectedEOF
  5619. }
  5620. return nil
  5621. }
  5622. func (m *UpdateEventScoreReply) Unmarshal(dAtA []byte) error {
  5623. l := len(dAtA)
  5624. iNdEx := 0
  5625. for iNdEx < l {
  5626. preIndex := iNdEx
  5627. var wire uint64
  5628. for shift := uint(0); ; shift += 7 {
  5629. if shift >= 64 {
  5630. return ErrIntOverflowApi
  5631. }
  5632. if iNdEx >= l {
  5633. return io.ErrUnexpectedEOF
  5634. }
  5635. b := dAtA[iNdEx]
  5636. iNdEx++
  5637. wire |= (uint64(b) & 0x7F) << shift
  5638. if b < 0x80 {
  5639. break
  5640. }
  5641. }
  5642. fieldNum := int32(wire >> 3)
  5643. wireType := int(wire & 0x7)
  5644. if wireType == 4 {
  5645. return fmt.Errorf("proto: UpdateEventScoreReply: wiretype end group for non-group")
  5646. }
  5647. if fieldNum <= 0 {
  5648. return fmt.Errorf("proto: UpdateEventScoreReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5649. }
  5650. switch fieldNum {
  5651. default:
  5652. iNdEx = preIndex
  5653. skippy, err := skipApi(dAtA[iNdEx:])
  5654. if err != nil {
  5655. return err
  5656. }
  5657. if skippy < 0 {
  5658. return ErrInvalidLengthApi
  5659. }
  5660. if (iNdEx + skippy) > l {
  5661. return io.ErrUnexpectedEOF
  5662. }
  5663. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5664. iNdEx += skippy
  5665. }
  5666. }
  5667. if iNdEx > l {
  5668. return io.ErrUnexpectedEOF
  5669. }
  5670. return nil
  5671. }
  5672. func (m *UpdateEventScoreReq) Unmarshal(dAtA []byte) error {
  5673. l := len(dAtA)
  5674. iNdEx := 0
  5675. for iNdEx < l {
  5676. preIndex := iNdEx
  5677. var wire uint64
  5678. for shift := uint(0); ; shift += 7 {
  5679. if shift >= 64 {
  5680. return ErrIntOverflowApi
  5681. }
  5682. if iNdEx >= l {
  5683. return io.ErrUnexpectedEOF
  5684. }
  5685. b := dAtA[iNdEx]
  5686. iNdEx++
  5687. wire |= (uint64(b) & 0x7F) << shift
  5688. if b < 0x80 {
  5689. break
  5690. }
  5691. }
  5692. fieldNum := int32(wire >> 3)
  5693. wireType := int(wire & 0x7)
  5694. if wireType == 4 {
  5695. return fmt.Errorf("proto: UpdateEventScoreReq: wiretype end group for non-group")
  5696. }
  5697. if fieldNum <= 0 {
  5698. return fmt.Errorf("proto: UpdateEventScoreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5699. }
  5700. switch fieldNum {
  5701. case 1:
  5702. if wireType != 2 {
  5703. return fmt.Errorf("proto: wrong wireType = %d for field Arg", wireType)
  5704. }
  5705. var msglen int
  5706. for shift := uint(0); ; shift += 7 {
  5707. if shift >= 64 {
  5708. return ErrIntOverflowApi
  5709. }
  5710. if iNdEx >= l {
  5711. return io.ErrUnexpectedEOF
  5712. }
  5713. b := dAtA[iNdEx]
  5714. iNdEx++
  5715. msglen |= (int(b) & 0x7F) << shift
  5716. if b < 0x80 {
  5717. break
  5718. }
  5719. }
  5720. if msglen < 0 {
  5721. return ErrInvalidLengthApi
  5722. }
  5723. postIndex := iNdEx + msglen
  5724. if postIndex > l {
  5725. return io.ErrUnexpectedEOF
  5726. }
  5727. if m.Arg == nil {
  5728. m.Arg = &ModelArgReset{}
  5729. }
  5730. if err := m.Arg.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5731. return err
  5732. }
  5733. iNdEx = postIndex
  5734. default:
  5735. iNdEx = preIndex
  5736. skippy, err := skipApi(dAtA[iNdEx:])
  5737. if err != nil {
  5738. return err
  5739. }
  5740. if skippy < 0 {
  5741. return ErrInvalidLengthApi
  5742. }
  5743. if (iNdEx + skippy) > l {
  5744. return io.ErrUnexpectedEOF
  5745. }
  5746. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5747. iNdEx += skippy
  5748. }
  5749. }
  5750. if iNdEx > l {
  5751. return io.ErrUnexpectedEOF
  5752. }
  5753. return nil
  5754. }
  5755. func (m *UpdateUserScoreReply) Unmarshal(dAtA []byte) error {
  5756. l := len(dAtA)
  5757. iNdEx := 0
  5758. for iNdEx < l {
  5759. preIndex := iNdEx
  5760. var wire uint64
  5761. for shift := uint(0); ; shift += 7 {
  5762. if shift >= 64 {
  5763. return ErrIntOverflowApi
  5764. }
  5765. if iNdEx >= l {
  5766. return io.ErrUnexpectedEOF
  5767. }
  5768. b := dAtA[iNdEx]
  5769. iNdEx++
  5770. wire |= (uint64(b) & 0x7F) << shift
  5771. if b < 0x80 {
  5772. break
  5773. }
  5774. }
  5775. fieldNum := int32(wire >> 3)
  5776. wireType := int(wire & 0x7)
  5777. if wireType == 4 {
  5778. return fmt.Errorf("proto: UpdateUserScoreReply: wiretype end group for non-group")
  5779. }
  5780. if fieldNum <= 0 {
  5781. return fmt.Errorf("proto: UpdateUserScoreReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5782. }
  5783. switch fieldNum {
  5784. default:
  5785. iNdEx = preIndex
  5786. skippy, err := skipApi(dAtA[iNdEx:])
  5787. if err != nil {
  5788. return err
  5789. }
  5790. if skippy < 0 {
  5791. return ErrInvalidLengthApi
  5792. }
  5793. if (iNdEx + skippy) > l {
  5794. return io.ErrUnexpectedEOF
  5795. }
  5796. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5797. iNdEx += skippy
  5798. }
  5799. }
  5800. if iNdEx > l {
  5801. return io.ErrUnexpectedEOF
  5802. }
  5803. return nil
  5804. }
  5805. func (m *UpdateUserScoreReq) Unmarshal(dAtA []byte) error {
  5806. l := len(dAtA)
  5807. iNdEx := 0
  5808. for iNdEx < l {
  5809. preIndex := iNdEx
  5810. var wire uint64
  5811. for shift := uint(0); ; shift += 7 {
  5812. if shift >= 64 {
  5813. return ErrIntOverflowApi
  5814. }
  5815. if iNdEx >= l {
  5816. return io.ErrUnexpectedEOF
  5817. }
  5818. b := dAtA[iNdEx]
  5819. iNdEx++
  5820. wire |= (uint64(b) & 0x7F) << shift
  5821. if b < 0x80 {
  5822. break
  5823. }
  5824. }
  5825. fieldNum := int32(wire >> 3)
  5826. wireType := int(wire & 0x7)
  5827. if wireType == 4 {
  5828. return fmt.Errorf("proto: UpdateUserScoreReq: wiretype end group for non-group")
  5829. }
  5830. if fieldNum <= 0 {
  5831. return fmt.Errorf("proto: UpdateUserScoreReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5832. }
  5833. switch fieldNum {
  5834. case 1:
  5835. if wireType != 0 {
  5836. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  5837. }
  5838. m.Mid = 0
  5839. for shift := uint(0); ; shift += 7 {
  5840. if shift >= 64 {
  5841. return ErrIntOverflowApi
  5842. }
  5843. if iNdEx >= l {
  5844. return io.ErrUnexpectedEOF
  5845. }
  5846. b := dAtA[iNdEx]
  5847. iNdEx++
  5848. m.Mid |= (int64(b) & 0x7F) << shift
  5849. if b < 0x80 {
  5850. break
  5851. }
  5852. }
  5853. case 2:
  5854. if wireType != 2 {
  5855. return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType)
  5856. }
  5857. var stringLen uint64
  5858. for shift := uint(0); ; shift += 7 {
  5859. if shift >= 64 {
  5860. return ErrIntOverflowApi
  5861. }
  5862. if iNdEx >= l {
  5863. return io.ErrUnexpectedEOF
  5864. }
  5865. b := dAtA[iNdEx]
  5866. iNdEx++
  5867. stringLen |= (uint64(b) & 0x7F) << shift
  5868. if b < 0x80 {
  5869. break
  5870. }
  5871. }
  5872. intStringLen := int(stringLen)
  5873. if intStringLen < 0 {
  5874. return ErrInvalidLengthApi
  5875. }
  5876. postIndex := iNdEx + intStringLen
  5877. if postIndex > l {
  5878. return io.ErrUnexpectedEOF
  5879. }
  5880. m.Ip = string(dAtA[iNdEx:postIndex])
  5881. iNdEx = postIndex
  5882. case 3:
  5883. if wireType != 2 {
  5884. return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
  5885. }
  5886. var stringLen uint64
  5887. for shift := uint(0); ; shift += 7 {
  5888. if shift >= 64 {
  5889. return ErrIntOverflowApi
  5890. }
  5891. if iNdEx >= l {
  5892. return io.ErrUnexpectedEOF
  5893. }
  5894. b := dAtA[iNdEx]
  5895. iNdEx++
  5896. stringLen |= (uint64(b) & 0x7F) << shift
  5897. if b < 0x80 {
  5898. break
  5899. }
  5900. }
  5901. intStringLen := int(stringLen)
  5902. if intStringLen < 0 {
  5903. return ErrInvalidLengthApi
  5904. }
  5905. postIndex := iNdEx + intStringLen
  5906. if postIndex > l {
  5907. return io.ErrUnexpectedEOF
  5908. }
  5909. m.Effect = string(dAtA[iNdEx:postIndex])
  5910. iNdEx = postIndex
  5911. default:
  5912. iNdEx = preIndex
  5913. skippy, err := skipApi(dAtA[iNdEx:])
  5914. if err != nil {
  5915. return err
  5916. }
  5917. if skippy < 0 {
  5918. return ErrInvalidLengthApi
  5919. }
  5920. if (iNdEx + skippy) > l {
  5921. return io.ErrUnexpectedEOF
  5922. }
  5923. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5924. iNdEx += skippy
  5925. }
  5926. }
  5927. if iNdEx > l {
  5928. return io.ErrUnexpectedEOF
  5929. }
  5930. return nil
  5931. }
  5932. func (m *UserInfoAsynReply) Unmarshal(dAtA []byte) error {
  5933. l := len(dAtA)
  5934. iNdEx := 0
  5935. for iNdEx < l {
  5936. preIndex := iNdEx
  5937. var wire uint64
  5938. for shift := uint(0); ; shift += 7 {
  5939. if shift >= 64 {
  5940. return ErrIntOverflowApi
  5941. }
  5942. if iNdEx >= l {
  5943. return io.ErrUnexpectedEOF
  5944. }
  5945. b := dAtA[iNdEx]
  5946. iNdEx++
  5947. wire |= (uint64(b) & 0x7F) << shift
  5948. if b < 0x80 {
  5949. break
  5950. }
  5951. }
  5952. fieldNum := int32(wire >> 3)
  5953. wireType := int(wire & 0x7)
  5954. if wireType == 4 {
  5955. return fmt.Errorf("proto: UserInfoAsynReply: wiretype end group for non-group")
  5956. }
  5957. if fieldNum <= 0 {
  5958. return fmt.Errorf("proto: UserInfoAsynReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5959. }
  5960. switch fieldNum {
  5961. case 1:
  5962. if wireType != 2 {
  5963. return fmt.Errorf("proto: wrong wireType = %d for field Ui", wireType)
  5964. }
  5965. var msglen int
  5966. for shift := uint(0); ; shift += 7 {
  5967. if shift >= 64 {
  5968. return ErrIntOverflowApi
  5969. }
  5970. if iNdEx >= l {
  5971. return io.ErrUnexpectedEOF
  5972. }
  5973. b := dAtA[iNdEx]
  5974. iNdEx++
  5975. msglen |= (int(b) & 0x7F) << shift
  5976. if b < 0x80 {
  5977. break
  5978. }
  5979. }
  5980. if msglen < 0 {
  5981. return ErrInvalidLengthApi
  5982. }
  5983. postIndex := iNdEx + msglen
  5984. if postIndex > l {
  5985. return io.ErrUnexpectedEOF
  5986. }
  5987. if m.Ui == nil {
  5988. m.Ui = &ModelUserInfo{}
  5989. }
  5990. if err := m.Ui.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5991. return err
  5992. }
  5993. iNdEx = postIndex
  5994. default:
  5995. iNdEx = preIndex
  5996. skippy, err := skipApi(dAtA[iNdEx:])
  5997. if err != nil {
  5998. return err
  5999. }
  6000. if skippy < 0 {
  6001. return ErrInvalidLengthApi
  6002. }
  6003. if (iNdEx + skippy) > l {
  6004. return io.ErrUnexpectedEOF
  6005. }
  6006. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6007. iNdEx += skippy
  6008. }
  6009. }
  6010. if iNdEx > l {
  6011. return io.ErrUnexpectedEOF
  6012. }
  6013. return nil
  6014. }
  6015. func (m *UserInfoAsynReq) Unmarshal(dAtA []byte) error {
  6016. l := len(dAtA)
  6017. iNdEx := 0
  6018. for iNdEx < l {
  6019. preIndex := iNdEx
  6020. var wire uint64
  6021. for shift := uint(0); ; shift += 7 {
  6022. if shift >= 64 {
  6023. return ErrIntOverflowApi
  6024. }
  6025. if iNdEx >= l {
  6026. return io.ErrUnexpectedEOF
  6027. }
  6028. b := dAtA[iNdEx]
  6029. iNdEx++
  6030. wire |= (uint64(b) & 0x7F) << shift
  6031. if b < 0x80 {
  6032. break
  6033. }
  6034. }
  6035. fieldNum := int32(wire >> 3)
  6036. wireType := int(wire & 0x7)
  6037. if wireType == 4 {
  6038. return fmt.Errorf("proto: UserInfoAsynReq: wiretype end group for non-group")
  6039. }
  6040. if fieldNum <= 0 {
  6041. return fmt.Errorf("proto: UserInfoAsynReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6042. }
  6043. switch fieldNum {
  6044. case 1:
  6045. if wireType != 0 {
  6046. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  6047. }
  6048. m.Mid = 0
  6049. for shift := uint(0); ; shift += 7 {
  6050. if shift >= 64 {
  6051. return ErrIntOverflowApi
  6052. }
  6053. if iNdEx >= l {
  6054. return io.ErrUnexpectedEOF
  6055. }
  6056. b := dAtA[iNdEx]
  6057. iNdEx++
  6058. m.Mid |= (int64(b) & 0x7F) << shift
  6059. if b < 0x80 {
  6060. break
  6061. }
  6062. }
  6063. default:
  6064. iNdEx = preIndex
  6065. skippy, err := skipApi(dAtA[iNdEx:])
  6066. if err != nil {
  6067. return err
  6068. }
  6069. if skippy < 0 {
  6070. return ErrInvalidLengthApi
  6071. }
  6072. if (iNdEx + skippy) > l {
  6073. return io.ErrUnexpectedEOF
  6074. }
  6075. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6076. iNdEx += skippy
  6077. }
  6078. }
  6079. if iNdEx > l {
  6080. return io.ErrUnexpectedEOF
  6081. }
  6082. return nil
  6083. }
  6084. func (m *UserInfoReply) Unmarshal(dAtA []byte) error {
  6085. l := len(dAtA)
  6086. iNdEx := 0
  6087. for iNdEx < l {
  6088. preIndex := iNdEx
  6089. var wire uint64
  6090. for shift := uint(0); ; shift += 7 {
  6091. if shift >= 64 {
  6092. return ErrIntOverflowApi
  6093. }
  6094. if iNdEx >= l {
  6095. return io.ErrUnexpectedEOF
  6096. }
  6097. b := dAtA[iNdEx]
  6098. iNdEx++
  6099. wire |= (uint64(b) & 0x7F) << shift
  6100. if b < 0x80 {
  6101. break
  6102. }
  6103. }
  6104. fieldNum := int32(wire >> 3)
  6105. wireType := int(wire & 0x7)
  6106. if wireType == 4 {
  6107. return fmt.Errorf("proto: UserInfoReply: wiretype end group for non-group")
  6108. }
  6109. if fieldNum <= 0 {
  6110. return fmt.Errorf("proto: UserInfoReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6111. }
  6112. switch fieldNum {
  6113. case 1:
  6114. if wireType != 2 {
  6115. return fmt.Errorf("proto: wrong wireType = %d for field Ui", wireType)
  6116. }
  6117. var msglen int
  6118. for shift := uint(0); ; shift += 7 {
  6119. if shift >= 64 {
  6120. return ErrIntOverflowApi
  6121. }
  6122. if iNdEx >= l {
  6123. return io.ErrUnexpectedEOF
  6124. }
  6125. b := dAtA[iNdEx]
  6126. iNdEx++
  6127. msglen |= (int(b) & 0x7F) << shift
  6128. if b < 0x80 {
  6129. break
  6130. }
  6131. }
  6132. if msglen < 0 {
  6133. return ErrInvalidLengthApi
  6134. }
  6135. postIndex := iNdEx + msglen
  6136. if postIndex > l {
  6137. return io.ErrUnexpectedEOF
  6138. }
  6139. if m.Ui == nil {
  6140. m.Ui = &ModelUserInfo{}
  6141. }
  6142. if err := m.Ui.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6143. return err
  6144. }
  6145. iNdEx = postIndex
  6146. default:
  6147. iNdEx = preIndex
  6148. skippy, err := skipApi(dAtA[iNdEx:])
  6149. if err != nil {
  6150. return err
  6151. }
  6152. if skippy < 0 {
  6153. return ErrInvalidLengthApi
  6154. }
  6155. if (iNdEx + skippy) > l {
  6156. return io.ErrUnexpectedEOF
  6157. }
  6158. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6159. iNdEx += skippy
  6160. }
  6161. }
  6162. if iNdEx > l {
  6163. return io.ErrUnexpectedEOF
  6164. }
  6165. return nil
  6166. }
  6167. func (m *UserInfoReq) Unmarshal(dAtA []byte) error {
  6168. l := len(dAtA)
  6169. iNdEx := 0
  6170. for iNdEx < l {
  6171. preIndex := iNdEx
  6172. var wire uint64
  6173. for shift := uint(0); ; shift += 7 {
  6174. if shift >= 64 {
  6175. return ErrIntOverflowApi
  6176. }
  6177. if iNdEx >= l {
  6178. return io.ErrUnexpectedEOF
  6179. }
  6180. b := dAtA[iNdEx]
  6181. iNdEx++
  6182. wire |= (uint64(b) & 0x7F) << shift
  6183. if b < 0x80 {
  6184. break
  6185. }
  6186. }
  6187. fieldNum := int32(wire >> 3)
  6188. wireType := int(wire & 0x7)
  6189. if wireType == 4 {
  6190. return fmt.Errorf("proto: UserInfoReq: wiretype end group for non-group")
  6191. }
  6192. if fieldNum <= 0 {
  6193. return fmt.Errorf("proto: UserInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6194. }
  6195. switch fieldNum {
  6196. case 1:
  6197. if wireType != 0 {
  6198. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  6199. }
  6200. m.Mid = 0
  6201. for shift := uint(0); ; shift += 7 {
  6202. if shift >= 64 {
  6203. return ErrIntOverflowApi
  6204. }
  6205. if iNdEx >= l {
  6206. return io.ErrUnexpectedEOF
  6207. }
  6208. b := dAtA[iNdEx]
  6209. iNdEx++
  6210. m.Mid |= (int64(b) & 0x7F) << shift
  6211. if b < 0x80 {
  6212. break
  6213. }
  6214. }
  6215. case 2:
  6216. if wireType != 2 {
  6217. return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType)
  6218. }
  6219. var stringLen uint64
  6220. for shift := uint(0); ; shift += 7 {
  6221. if shift >= 64 {
  6222. return ErrIntOverflowApi
  6223. }
  6224. if iNdEx >= l {
  6225. return io.ErrUnexpectedEOF
  6226. }
  6227. b := dAtA[iNdEx]
  6228. iNdEx++
  6229. stringLen |= (uint64(b) & 0x7F) << shift
  6230. if b < 0x80 {
  6231. break
  6232. }
  6233. }
  6234. intStringLen := int(stringLen)
  6235. if intStringLen < 0 {
  6236. return ErrInvalidLengthApi
  6237. }
  6238. postIndex := iNdEx + intStringLen
  6239. if postIndex > l {
  6240. return io.ErrUnexpectedEOF
  6241. }
  6242. m.Ip = string(dAtA[iNdEx:postIndex])
  6243. iNdEx = postIndex
  6244. default:
  6245. iNdEx = preIndex
  6246. skippy, err := skipApi(dAtA[iNdEx:])
  6247. if err != nil {
  6248. return err
  6249. }
  6250. if skippy < 0 {
  6251. return ErrInvalidLengthApi
  6252. }
  6253. if (iNdEx + skippy) > l {
  6254. return io.ErrUnexpectedEOF
  6255. }
  6256. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6257. iNdEx += skippy
  6258. }
  6259. }
  6260. if iNdEx > l {
  6261. return io.ErrUnexpectedEOF
  6262. }
  6263. return nil
  6264. }
  6265. func (m *InfoReq) Unmarshal(dAtA []byte) error {
  6266. l := len(dAtA)
  6267. iNdEx := 0
  6268. for iNdEx < l {
  6269. preIndex := iNdEx
  6270. var wire uint64
  6271. for shift := uint(0); ; shift += 7 {
  6272. if shift >= 64 {
  6273. return ErrIntOverflowApi
  6274. }
  6275. if iNdEx >= l {
  6276. return io.ErrUnexpectedEOF
  6277. }
  6278. b := dAtA[iNdEx]
  6279. iNdEx++
  6280. wire |= (uint64(b) & 0x7F) << shift
  6281. if b < 0x80 {
  6282. break
  6283. }
  6284. }
  6285. fieldNum := int32(wire >> 3)
  6286. wireType := int(wire & 0x7)
  6287. if wireType == 4 {
  6288. return fmt.Errorf("proto: InfoReq: wiretype end group for non-group")
  6289. }
  6290. if fieldNum <= 0 {
  6291. return fmt.Errorf("proto: InfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6292. }
  6293. switch fieldNum {
  6294. case 1:
  6295. if wireType != 0 {
  6296. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  6297. }
  6298. m.Mid = 0
  6299. for shift := uint(0); ; shift += 7 {
  6300. if shift >= 64 {
  6301. return ErrIntOverflowApi
  6302. }
  6303. if iNdEx >= l {
  6304. return io.ErrUnexpectedEOF
  6305. }
  6306. b := dAtA[iNdEx]
  6307. iNdEx++
  6308. m.Mid |= (int64(b) & 0x7F) << shift
  6309. if b < 0x80 {
  6310. break
  6311. }
  6312. }
  6313. default:
  6314. iNdEx = preIndex
  6315. skippy, err := skipApi(dAtA[iNdEx:])
  6316. if err != nil {
  6317. return err
  6318. }
  6319. if skippy < 0 {
  6320. return ErrInvalidLengthApi
  6321. }
  6322. if (iNdEx + skippy) > l {
  6323. return io.ErrUnexpectedEOF
  6324. }
  6325. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6326. iNdEx += skippy
  6327. }
  6328. }
  6329. if iNdEx > l {
  6330. return io.ErrUnexpectedEOF
  6331. }
  6332. return nil
  6333. }
  6334. func (m *InfoReply) Unmarshal(dAtA []byte) error {
  6335. l := len(dAtA)
  6336. iNdEx := 0
  6337. for iNdEx < l {
  6338. preIndex := iNdEx
  6339. var wire uint64
  6340. for shift := uint(0); ; shift += 7 {
  6341. if shift >= 64 {
  6342. return ErrIntOverflowApi
  6343. }
  6344. if iNdEx >= l {
  6345. return io.ErrUnexpectedEOF
  6346. }
  6347. b := dAtA[iNdEx]
  6348. iNdEx++
  6349. wire |= (uint64(b) & 0x7F) << shift
  6350. if b < 0x80 {
  6351. break
  6352. }
  6353. }
  6354. fieldNum := int32(wire >> 3)
  6355. wireType := int(wire & 0x7)
  6356. if wireType == 4 {
  6357. return fmt.Errorf("proto: InfoReply: wiretype end group for non-group")
  6358. }
  6359. if fieldNum <= 0 {
  6360. return fmt.Errorf("proto: InfoReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6361. }
  6362. switch fieldNum {
  6363. case 1:
  6364. if wireType != 2 {
  6365. return fmt.Errorf("proto: wrong wireType = %d for field Ui", wireType)
  6366. }
  6367. var msglen int
  6368. for shift := uint(0); ; shift += 7 {
  6369. if shift >= 64 {
  6370. return ErrIntOverflowApi
  6371. }
  6372. if iNdEx >= l {
  6373. return io.ErrUnexpectedEOF
  6374. }
  6375. b := dAtA[iNdEx]
  6376. iNdEx++
  6377. msglen |= (int(b) & 0x7F) << shift
  6378. if b < 0x80 {
  6379. break
  6380. }
  6381. }
  6382. if msglen < 0 {
  6383. return ErrInvalidLengthApi
  6384. }
  6385. postIndex := iNdEx + msglen
  6386. if postIndex > l {
  6387. return io.ErrUnexpectedEOF
  6388. }
  6389. if m.Ui == nil {
  6390. m.Ui = &ModelUserInfo{}
  6391. }
  6392. if err := m.Ui.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6393. return err
  6394. }
  6395. iNdEx = postIndex
  6396. default:
  6397. iNdEx = preIndex
  6398. skippy, err := skipApi(dAtA[iNdEx:])
  6399. if err != nil {
  6400. return err
  6401. }
  6402. if skippy < 0 {
  6403. return ErrInvalidLengthApi
  6404. }
  6405. if (iNdEx + skippy) > l {
  6406. return io.ErrUnexpectedEOF
  6407. }
  6408. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6409. iNdEx += skippy
  6410. }
  6411. }
  6412. if iNdEx > l {
  6413. return io.ErrUnexpectedEOF
  6414. }
  6415. return nil
  6416. }
  6417. func skipApi(dAtA []byte) (n int, err error) {
  6418. l := len(dAtA)
  6419. iNdEx := 0
  6420. for iNdEx < l {
  6421. var wire uint64
  6422. for shift := uint(0); ; shift += 7 {
  6423. if shift >= 64 {
  6424. return 0, ErrIntOverflowApi
  6425. }
  6426. if iNdEx >= l {
  6427. return 0, io.ErrUnexpectedEOF
  6428. }
  6429. b := dAtA[iNdEx]
  6430. iNdEx++
  6431. wire |= (uint64(b) & 0x7F) << shift
  6432. if b < 0x80 {
  6433. break
  6434. }
  6435. }
  6436. wireType := int(wire & 0x7)
  6437. switch wireType {
  6438. case 0:
  6439. for shift := uint(0); ; shift += 7 {
  6440. if shift >= 64 {
  6441. return 0, ErrIntOverflowApi
  6442. }
  6443. if iNdEx >= l {
  6444. return 0, io.ErrUnexpectedEOF
  6445. }
  6446. iNdEx++
  6447. if dAtA[iNdEx-1] < 0x80 {
  6448. break
  6449. }
  6450. }
  6451. return iNdEx, nil
  6452. case 1:
  6453. iNdEx += 8
  6454. return iNdEx, nil
  6455. case 2:
  6456. var length int
  6457. for shift := uint(0); ; shift += 7 {
  6458. if shift >= 64 {
  6459. return 0, ErrIntOverflowApi
  6460. }
  6461. if iNdEx >= l {
  6462. return 0, io.ErrUnexpectedEOF
  6463. }
  6464. b := dAtA[iNdEx]
  6465. iNdEx++
  6466. length |= (int(b) & 0x7F) << shift
  6467. if b < 0x80 {
  6468. break
  6469. }
  6470. }
  6471. iNdEx += length
  6472. if length < 0 {
  6473. return 0, ErrInvalidLengthApi
  6474. }
  6475. return iNdEx, nil
  6476. case 3:
  6477. for {
  6478. var innerWire uint64
  6479. var start int = iNdEx
  6480. for shift := uint(0); ; shift += 7 {
  6481. if shift >= 64 {
  6482. return 0, ErrIntOverflowApi
  6483. }
  6484. if iNdEx >= l {
  6485. return 0, io.ErrUnexpectedEOF
  6486. }
  6487. b := dAtA[iNdEx]
  6488. iNdEx++
  6489. innerWire |= (uint64(b) & 0x7F) << shift
  6490. if b < 0x80 {
  6491. break
  6492. }
  6493. }
  6494. innerWireType := int(innerWire & 0x7)
  6495. if innerWireType == 4 {
  6496. break
  6497. }
  6498. next, err := skipApi(dAtA[start:])
  6499. if err != nil {
  6500. return 0, err
  6501. }
  6502. iNdEx = start + next
  6503. }
  6504. return iNdEx, nil
  6505. case 4:
  6506. return iNdEx, nil
  6507. case 5:
  6508. iNdEx += 4
  6509. return iNdEx, nil
  6510. default:
  6511. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  6512. }
  6513. }
  6514. panic("unreachable")
  6515. }
  6516. var (
  6517. ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
  6518. ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
  6519. )
  6520. func init() {
  6521. proto.RegisterFile("app/service/main/spy/api/api.proto", fileDescriptor_api_6dc8e2021997d22c)
  6522. }
  6523. var fileDescriptor_api_6dc8e2021997d22c = []byte{
  6524. // 1074 bytes of a gzipped FileDescriptorProto
  6525. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0xdb, 0x6e, 0xe3, 0x44,
  6526. 0x18, 0x96, 0x9d, 0xa6, 0x8d, 0x7f, 0x6f, 0x0f, 0x3b, 0xf4, 0xe0, 0x75, 0x77, 0xbb, 0xe9, 0xc0,
  6527. 0x45, 0x85, 0x50, 0x03, 0x65, 0x25, 0x40, 0x2b, 0x01, 0x6d, 0x59, 0x41, 0xa4, 0x76, 0x55, 0xb9,
  6528. 0x54, 0x42, 0x5c, 0x50, 0xcd, 0x26, 0xd3, 0x30, 0x22, 0xb1, 0xdd, 0x99, 0x49, 0xa4, 0x3c, 0x06,
  6529. 0x4f, 0xc0, 0xdb, 0x20, 0x2e, 0x79, 0x04, 0xd4, 0x6b, 0x1e, 0x02, 0xcd, 0x8c, 0xcf, 0x76, 0xba,
  6530. 0x2d, 0x17, 0x91, 0xfc, 0x9f, 0xbe, 0xf9, 0xe6, 0xf7, 0x37, 0xff, 0xc4, 0x80, 0x49, 0x1c, 0xf7,
  6531. 0x04, 0xe5, 0x33, 0x36, 0xa0, 0xbd, 0x09, 0x61, 0x61, 0x4f, 0xc4, 0xf3, 0x1e, 0x89, 0x99, 0xfa,
  6532. 0x1d, 0xc6, 0x3c, 0x92, 0x11, 0x72, 0xc9, 0x60, 0x10, 0x4d, 0x43, 0x79, 0x28, 0xe2, 0x39, 0xde,
  6533. 0x81, 0xad, 0xd3, 0x31, 0x25, 0x3c, 0xa0, 0x63, 0x36, 0xa3, 0x3f, 0xb2, 0x09, 0x15, 0x01, 0x8d,
  6534. 0xc7, 0x73, 0x7c, 0x0a, 0x1f, 0xd4, 0x03, 0xb7, 0xe8, 0x13, 0x68, 0x11, 0x3e, 0xf2, 0xac, 0xae,
  6535. 0x75, 0xe0, 0x1e, 0xf9, 0x87, 0x05, 0xa8, 0xc3, 0xf3, 0x68, 0x48, 0xc7, 0xc7, 0x7c, 0x14, 0x50,
  6536. 0x41, 0x65, 0xa0, 0xd2, 0x30, 0x82, 0x8d, 0x1f, 0x48, 0x38, 0x1c, 0xd3, 0x37, 0x33, 0x1a, 0x4a,
  6537. 0x03, 0x7c, 0x0e, 0x6b, 0x25, 0xdf, 0x2d, 0x7a, 0x0d, 0x0e, 0x55, 0xcf, 0xd7, 0x13, 0x91, 0x22,
  6538. 0xef, 0xd5, 0x91, 0x75, 0xfa, 0x39, 0x15, 0x82, 0x8c, 0x68, 0xd0, 0xd1, 0x05, 0xe7, 0x62, 0x84,
  6539. 0xff, 0xb0, 0x60, 0xb5, 0xb4, 0x32, 0xda, 0x80, 0xd6, 0x84, 0x0d, 0x35, 0x50, 0x2b, 0x50, 0x8f,
  6540. 0xa8, 0x0b, 0x4f, 0x38, 0xbd, 0x56, 0xfb, 0xb8, 0x96, 0x6c, 0x42, 0x3d, 0xbb, 0x6b, 0x1d, 0x74,
  6541. 0x02, 0xe0, 0xf4, 0x2c, 0xd9, 0x1a, 0x7a, 0x09, 0xae, 0xa1, 0x20, 0x06, 0x11, 0xa7, 0x5e, 0xcb,
  6542. 0x24, 0x68, 0xd7, 0xa5, 0xf2, 0xa0, 0x17, 0x00, 0xef, 0x88, 0xa0, 0x49, 0x7c, 0x49, 0xc7, 0x1d,
  6543. 0xe5, 0x31, 0x61, 0x1f, 0x3a, 0x51, 0x4c, 0x39, 0x91, 0x11, 0xf7, 0xda, 0x5d, 0xeb, 0xc0, 0x09,
  6544. 0x32, 0x1b, 0xff, 0x6e, 0xc3, 0xd3, 0xda, 0x0e, 0x10, 0x82, 0x25, 0xcd, 0xc5, 0xd0, 0xd4, 0xcf,
  6545. 0x68, 0x0d, 0x6c, 0x16, 0x6b, 0x76, 0x4e, 0x60, 0xb3, 0x18, 0x79, 0xb0, 0x92, 0xbc, 0x4b, 0xcd,
  6546. 0xc8, 0x09, 0x52, 0x13, 0x6d, 0x42, 0x5b, 0x93, 0xd3, 0x4c, 0x9c, 0xc0, 0x18, 0x8a, 0x24, 0x19,
  6547. 0x48, 0xb5, 0x4d, 0xd5, 0x80, 0xb6, 0x46, 0x76, 0x8c, 0xe7, 0x9c, 0x0d, 0x55, 0x58, 0x12, 0x3e,
  6548. 0xa2, 0x52, 0x87, 0x97, 0x4d, 0xd8, 0x78, 0x54, 0x78, 0x17, 0x12, 0xe3, 0x9a, 0x0d, 0xbd, 0x15,
  6549. 0x1d, 0xed, 0x18, 0x47, 0x7f, 0x88, 0xb6, 0x61, 0x99, 0x53, 0x31, 0x1d, 0x4b, 0xcf, 0xd1, 0x2b,
  6550. 0x26, 0x96, 0xf2, 0xd3, 0x9b, 0x1b, 0x3a, 0x90, 0x1e, 0x18, 0xbf, 0xb1, 0xd4, 0x5a, 0x9c, 0x89,
  6551. 0xdf, 0xae, 0xc7, 0x74, 0x46, 0xc7, 0x9e, 0xdb, 0xb5, 0x0e, 0xda, 0x81, 0xa3, 0x3c, 0x67, 0xca,
  6552. 0x81, 0x47, 0xb0, 0xae, 0x5b, 0x72, 0x29, 0x89, 0x64, 0x42, 0xb2, 0x81, 0x50, 0x2d, 0xbc, 0x9d,
  6553. 0x92, 0x50, 0x32, 0x39, 0x4f, 0x9a, 0x92, 0xd9, 0xe8, 0x19, 0x98, 0x17, 0xae, 0x98, 0xd9, 0x3a,
  6554. 0xb6, 0xa2, 0xed, 0xbe, 0xde, 0x94, 0x09, 0x85, 0x64, 0x92, 0xb6, 0xc9, 0xc8, 0xe9, 0x2d, 0x99,
  6555. 0x50, 0xfc, 0x6f, 0x2a, 0x8f, 0x2b, 0x41, 0x79, 0x3f, 0xbc, 0x89, 0x74, 0x93, 0x53, 0x75, 0xd8,
  6556. 0x6c, 0x98, 0xca, 0xc5, 0xce, 0xe5, 0xb2, 0x09, 0xed, 0x5c, 0x06, 0xed, 0xc0, 0x18, 0x0d, 0x0a,
  6557. 0x68, 0x17, 0x15, 0x50, 0x51, 0x50, 0x5b, 0xc7, 0x8b, 0x0a, 0x52, 0xa8, 0x92, 0x48, 0xaa, 0x1b,
  6558. 0xaf, 0x50, 0x95, 0x81, 0xf6, 0x95, 0x34, 0x33, 0x65, 0x0a, 0xdd, 0xf7, 0x76, 0xe0, 0xf2, 0xfc,
  6559. 0xd4, 0xa9, 0xc2, 0x81, 0x96, 0x4a, 0x47, 0x53, 0x34, 0x86, 0xf2, 0x4e, 0xb4, 0xd7, 0x31, 0x5e,
  6560. 0x6d, 0x60, 0x17, 0x9c, 0x0b, 0x16, 0x8e, 0xcc, 0x49, 0x73, 0x60, 0xc5, 0x18, 0xb7, 0x78, 0x03,
  6561. 0xd6, 0x2e, 0xa6, 0x7c, 0x44, 0x55, 0x17, 0x4c, 0xf0, 0x4b, 0x78, 0x52, 0xf0, 0xdc, 0x36, 0x9c,
  6562. 0x9a, 0x6d, 0x58, 0x56, 0xda, 0x89, 0xc2, 0x44, 0x91, 0x89, 0x85, 0xb7, 0x61, 0x33, 0xa0, 0x27,
  6563. 0x53, 0x36, 0x1e, 0x5e, 0x44, 0x5c, 0x72, 0xc2, 0x92, 0x83, 0xfd, 0x35, 0xa0, 0x9a, 0x7f, 0x01,
  6564. 0x2e, 0xa7, 0x44, 0xe4, 0xb8, 0xc6, 0x52, 0xa3, 0x28, 0xa0, 0x37, 0x9c, 0x8a, 0x5f, 0x4f, 0xd2,
  6565. 0xae, 0x66, 0xa3, 0xa8, 0x1e, 0x78, 0xec, 0x28, 0xea, 0xc3, 0x8e, 0x12, 0xdb, 0xc9, 0xbc, 0xff,
  6566. 0xdd, 0xf7, 0x3c, 0x9a, 0xc6, 0xf9, 0x44, 0x42, 0x87, 0xd0, 0xe2, 0x54, 0x78, 0x56, 0xb7, 0x75,
  6567. 0xe0, 0x1e, 0x3d, 0xaf, 0x03, 0xe5, 0x22, 0x0d, 0x54, 0x22, 0xfe, 0x0a, 0xb6, 0x9a, 0xa0, 0x9a,
  6568. 0xf6, 0x6a, 0xc4, 0x66, 0xa7, 0x62, 0xc3, 0xc7, 0xb0, 0x9a, 0x96, 0x9a, 0xb5, 0x3f, 0x85, 0x25,
  6569. 0x25, 0x84, 0x07, 0x2d, 0xae, 0x33, 0x71, 0x0f, 0xdc, 0x1c, 0xe2, 0x21, 0x6b, 0x6e, 0xc3, 0xe6,
  6570. 0x55, 0x3c, 0x24, 0x92, 0x56, 0xda, 0x7a, 0x02, 0xa8, 0xe6, 0x7f, 0x6c, 0x57, 0x77, 0x60, 0xcb,
  6571. 0x60, 0xbc, 0xc9, 0x84, 0x9e, 0xbd, 0xb3, 0x7a, 0xe0, 0xb1, 0xe8, 0x19, 0x73, 0x25, 0xd2, 0x02,
  6572. 0xf8, 0xdb, 0x94, 0x79, 0xc1, 0xbf, 0xa8, 0x13, 0xc5, 0x79, 0x9a, 0x0f, 0xab, 0x56, 0x71, 0x58,
  6573. 0xe1, 0x6f, 0xe0, 0x69, 0x3a, 0x1e, 0x8e, 0xc5, 0x3c, 0x34, 0x6f, 0xe6, 0x63, 0xb0, 0xa7, 0x6c,
  6574. 0x31, 0xd3, 0xb4, 0x20, 0xb0, 0xa7, 0x0c, 0x7f, 0x08, 0xeb, 0x65, 0x80, 0x06, 0x36, 0xf8, 0x35,
  6575. 0xac, 0x66, 0x45, 0x8f, 0x5e, 0xa1, 0x07, 0x6e, 0x5e, 0xfc, 0x80, 0xbd, 0xe2, 0x5d, 0x58, 0x59,
  6576. 0x98, 0x8c, 0xbf, 0x00, 0xe7, 0x7f, 0xd1, 0x38, 0xfa, 0xb3, 0x03, 0xad, 0xcb, 0x78, 0x8e, 0x5e,
  6577. 0xc1, 0x92, 0x1a, 0x2d, 0x68, 0xb3, 0x94, 0x9f, 0x4c, 0x1b, 0x7f, 0xbb, 0xc1, 0xab, 0x56, 0x7a,
  6578. 0x05, 0x4b, 0x7a, 0x04, 0x97, 0xab, 0x12, 0x9a, 0x95, 0xaa, 0x9c, 0xdf, 0xb7, 0xd0, 0x49, 0x05,
  6579. 0x8f, 0xbc, 0x52, 0x4e, 0xe1, 0x1c, 0xf8, 0xfe, 0x82, 0x88, 0x42, 0xf8, 0x05, 0x50, 0xfd, 0xc0,
  6580. 0x22, 0xdc, 0x58, 0x51, 0x3a, 0xd1, 0xfe, 0x47, 0xef, 0xcd, 0x51, 0xf8, 0xa7, 0xe0, 0x64, 0xb3,
  6581. 0x14, 0x3d, 0x2b, 0x6f, 0xbe, 0x30, 0x63, 0xfd, 0xdd, 0x45, 0x21, 0x05, 0xd2, 0x07, 0xb7, 0xf0,
  6582. 0xbf, 0x08, 0x95, 0x73, 0xcb, 0xff, 0x98, 0xfc, 0x17, 0x8b, 0x83, 0x49, 0xc7, 0xb2, 0xeb, 0xae,
  6583. 0xdc, 0xb1, 0x82, 0x86, 0x2a, 0x1d, 0x2b, 0x4b, 0xf3, 0x0c, 0x9e, 0x14, 0x05, 0x8d, 0x9e, 0x37,
  6584. 0xe6, 0x26, 0x5a, 0xf7, 0xf7, 0xee, 0x89, 0x2a, 0xb4, 0x2b, 0x58, 0xaf, 0xdc, 0x0c, 0xe8, 0x65,
  6585. 0xa9, 0xa4, 0x7e, 0x6f, 0xf8, 0xfb, 0xf7, 0x27, 0x24, 0xb0, 0x95, 0x31, 0x50, 0x81, 0xad, 0x0f,
  6586. 0x89, 0x0a, 0x6c, 0xd3, 0x74, 0x41, 0x3f, 0xc1, 0x46, 0xf5, 0xba, 0x41, 0xdd, 0x0a, 0x9b, 0xda,
  6587. 0x6d, 0xe4, 0xe3, 0xf7, 0x64, 0x94, 0x08, 0xe7, 0xc0, 0x4d, 0x84, 0x4b, 0xb8, 0xfb, 0xf7, 0x27,
  6588. 0x24, 0x84, 0xab, 0xb3, 0xb6, 0x42, 0xb8, 0x61, 0x14, 0x57, 0x08, 0x37, 0x4e, 0x71, 0x85, 0x5c,
  6589. 0xfd, 0x08, 0xa8, 0x20, 0x37, 0x7c, 0x23, 0x54, 0x90, 0x1b, 0x3f, 0x2f, 0x4e, 0x36, 0xfe, 0xba,
  6590. 0xdb, 0xb3, 0xfe, 0xbe, 0xdb, 0xb3, 0xfe, 0xb9, 0xdb, 0xb3, 0x7e, 0xb6, 0x67, 0x9f, 0xbd, 0x5b,
  6591. 0xd6, 0x5f, 0x27, 0x9f, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0xda, 0x58, 0x52, 0xe3, 0xc3, 0x0c,
  6592. 0x00, 0x00,
  6593. }