api.pb.go 153 KB

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