api.pb.go 231 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/main/relation/api/api.proto
  3. package api
  4. import (
  5. context "context"
  6. fmt "fmt"
  7. _ "github.com/gogo/protobuf/gogoproto"
  8. proto "github.com/gogo/protobuf/proto"
  9. go_common_library_time "go-common/library/time"
  10. grpc "google.golang.org/grpc"
  11. io "io"
  12. math "math"
  13. )
  14. // Reference imports to suppress errors if they are not otherwise used.
  15. var _ = proto.Marshal
  16. var _ = fmt.Errorf
  17. var _ = math.Inf
  18. // This is a compile-time assertion to ensure that this generated file
  19. // is compatible with the proto package it is being compiled against.
  20. // A compilation error at this line likely means your copy of the
  21. // proto package needs to be updated.
  22. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  23. type RelationReq struct {
  24. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  25. Fid int64 `protobuf:"varint,2,opt,name=fid,proto3" json:"fid,omitempty"`
  26. RealIp string `protobuf:"bytes,3,opt,name=real_ip,json=realIp,proto3" json:"real_ip,omitempty"`
  27. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  28. XXX_unrecognized []byte `json:"-"`
  29. XXX_sizecache int32 `json:"-"`
  30. }
  31. func (m *RelationReq) Reset() { *m = RelationReq{} }
  32. func (m *RelationReq) String() string { return proto.CompactTextString(m) }
  33. func (*RelationReq) ProtoMessage() {}
  34. func (*RelationReq) Descriptor() ([]byte, []int) {
  35. return fileDescriptor_8538d06337a1d811, []int{0}
  36. }
  37. func (m *RelationReq) XXX_Unmarshal(b []byte) error {
  38. return m.Unmarshal(b)
  39. }
  40. func (m *RelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  41. if deterministic {
  42. return xxx_messageInfo_RelationReq.Marshal(b, m, deterministic)
  43. } else {
  44. b = b[:cap(b)]
  45. n, err := m.MarshalTo(b)
  46. if err != nil {
  47. return nil, err
  48. }
  49. return b[:n], nil
  50. }
  51. }
  52. func (m *RelationReq) XXX_Merge(src proto.Message) {
  53. xxx_messageInfo_RelationReq.Merge(m, src)
  54. }
  55. func (m *RelationReq) XXX_Size() int {
  56. return m.Size()
  57. }
  58. func (m *RelationReq) XXX_DiscardUnknown() {
  59. xxx_messageInfo_RelationReq.DiscardUnknown(m)
  60. }
  61. var xxx_messageInfo_RelationReq proto.InternalMessageInfo
  62. func (m *RelationReq) GetMid() int64 {
  63. if m != nil {
  64. return m.Mid
  65. }
  66. return 0
  67. }
  68. func (m *RelationReq) GetFid() int64 {
  69. if m != nil {
  70. return m.Fid
  71. }
  72. return 0
  73. }
  74. func (m *RelationReq) GetRealIp() string {
  75. if m != nil {
  76. return m.RealIp
  77. }
  78. return ""
  79. }
  80. // +bili:deepcopy-gen=true
  81. // +bili:deepcopy-gen:structs=go-common/app/service/main/relation/model.Following
  82. type FollowingReply struct {
  83. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"`
  84. Attribute uint32 `protobuf:"varint,2,opt,name=attribute,proto3" json:"attribute"`
  85. Source uint32 `protobuf:"varint,3,opt,name=source,proto3" json:"-"`
  86. CTime go_common_library_time.Time `protobuf:"varint,4,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"-"`
  87. MTime go_common_library_time.Time `protobuf:"varint,5,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
  88. Tag []int64 `protobuf:"varint,6,rep,packed,name=tag,proto3" json:"tag"`
  89. Special int32 `protobuf:"varint,7,opt,name=special,proto3" json:"special"`
  90. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  91. XXX_unrecognized []byte `json:"-"`
  92. XXX_sizecache int32 `json:"-"`
  93. }
  94. func (m *FollowingReply) Reset() { *m = FollowingReply{} }
  95. func (m *FollowingReply) String() string { return proto.CompactTextString(m) }
  96. func (*FollowingReply) ProtoMessage() {}
  97. func (*FollowingReply) Descriptor() ([]byte, []int) {
  98. return fileDescriptor_8538d06337a1d811, []int{1}
  99. }
  100. func (m *FollowingReply) XXX_Unmarshal(b []byte) error {
  101. return m.Unmarshal(b)
  102. }
  103. func (m *FollowingReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  104. if deterministic {
  105. return xxx_messageInfo_FollowingReply.Marshal(b, m, deterministic)
  106. } else {
  107. b = b[:cap(b)]
  108. n, err := m.MarshalTo(b)
  109. if err != nil {
  110. return nil, err
  111. }
  112. return b[:n], nil
  113. }
  114. }
  115. func (m *FollowingReply) XXX_Merge(src proto.Message) {
  116. xxx_messageInfo_FollowingReply.Merge(m, src)
  117. }
  118. func (m *FollowingReply) XXX_Size() int {
  119. return m.Size()
  120. }
  121. func (m *FollowingReply) XXX_DiscardUnknown() {
  122. xxx_messageInfo_FollowingReply.DiscardUnknown(m)
  123. }
  124. var xxx_messageInfo_FollowingReply proto.InternalMessageInfo
  125. func (m *FollowingReply) GetMid() int64 {
  126. if m != nil {
  127. return m.Mid
  128. }
  129. return 0
  130. }
  131. func (m *FollowingReply) GetAttribute() uint32 {
  132. if m != nil {
  133. return m.Attribute
  134. }
  135. return 0
  136. }
  137. func (m *FollowingReply) GetSource() uint32 {
  138. if m != nil {
  139. return m.Source
  140. }
  141. return 0
  142. }
  143. func (m *FollowingReply) GetCTime() go_common_library_time.Time {
  144. if m != nil {
  145. return m.CTime
  146. }
  147. return 0
  148. }
  149. func (m *FollowingReply) GetMTime() go_common_library_time.Time {
  150. if m != nil {
  151. return m.MTime
  152. }
  153. return 0
  154. }
  155. func (m *FollowingReply) GetTag() []int64 {
  156. if m != nil {
  157. return m.Tag
  158. }
  159. return nil
  160. }
  161. func (m *FollowingReply) GetSpecial() int32 {
  162. if m != nil {
  163. return m.Special
  164. }
  165. return 0
  166. }
  167. type RelationsReq struct {
  168. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  169. Fid []int64 `protobuf:"varint,2,rep,packed,name=fid,proto3" json:"fid,omitempty"`
  170. RealIp string `protobuf:"bytes,3,opt,name=real_ip,json=realIp,proto3" json:"real_ip,omitempty"`
  171. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  172. XXX_unrecognized []byte `json:"-"`
  173. XXX_sizecache int32 `json:"-"`
  174. }
  175. func (m *RelationsReq) Reset() { *m = RelationsReq{} }
  176. func (m *RelationsReq) String() string { return proto.CompactTextString(m) }
  177. func (*RelationsReq) ProtoMessage() {}
  178. func (*RelationsReq) Descriptor() ([]byte, []int) {
  179. return fileDescriptor_8538d06337a1d811, []int{2}
  180. }
  181. func (m *RelationsReq) XXX_Unmarshal(b []byte) error {
  182. return m.Unmarshal(b)
  183. }
  184. func (m *RelationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  185. if deterministic {
  186. return xxx_messageInfo_RelationsReq.Marshal(b, m, deterministic)
  187. } else {
  188. b = b[:cap(b)]
  189. n, err := m.MarshalTo(b)
  190. if err != nil {
  191. return nil, err
  192. }
  193. return b[:n], nil
  194. }
  195. }
  196. func (m *RelationsReq) XXX_Merge(src proto.Message) {
  197. xxx_messageInfo_RelationsReq.Merge(m, src)
  198. }
  199. func (m *RelationsReq) XXX_Size() int {
  200. return m.Size()
  201. }
  202. func (m *RelationsReq) XXX_DiscardUnknown() {
  203. xxx_messageInfo_RelationsReq.DiscardUnknown(m)
  204. }
  205. var xxx_messageInfo_RelationsReq proto.InternalMessageInfo
  206. func (m *RelationsReq) GetMid() int64 {
  207. if m != nil {
  208. return m.Mid
  209. }
  210. return 0
  211. }
  212. func (m *RelationsReq) GetFid() []int64 {
  213. if m != nil {
  214. return m.Fid
  215. }
  216. return nil
  217. }
  218. func (m *RelationsReq) GetRealIp() string {
  219. if m != nil {
  220. return m.RealIp
  221. }
  222. return ""
  223. }
  224. type FollowingMapReply struct {
  225. FollowingMap map[int64]*FollowingReply `protobuf:"bytes,1,rep,name=following_map,json=followingMap,proto3" json:"following_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  226. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  227. XXX_unrecognized []byte `json:"-"`
  228. XXX_sizecache int32 `json:"-"`
  229. }
  230. func (m *FollowingMapReply) Reset() { *m = FollowingMapReply{} }
  231. func (m *FollowingMapReply) String() string { return proto.CompactTextString(m) }
  232. func (*FollowingMapReply) ProtoMessage() {}
  233. func (*FollowingMapReply) Descriptor() ([]byte, []int) {
  234. return fileDescriptor_8538d06337a1d811, []int{3}
  235. }
  236. func (m *FollowingMapReply) XXX_Unmarshal(b []byte) error {
  237. return m.Unmarshal(b)
  238. }
  239. func (m *FollowingMapReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  240. if deterministic {
  241. return xxx_messageInfo_FollowingMapReply.Marshal(b, m, deterministic)
  242. } else {
  243. b = b[:cap(b)]
  244. n, err := m.MarshalTo(b)
  245. if err != nil {
  246. return nil, err
  247. }
  248. return b[:n], nil
  249. }
  250. }
  251. func (m *FollowingMapReply) XXX_Merge(src proto.Message) {
  252. xxx_messageInfo_FollowingMapReply.Merge(m, src)
  253. }
  254. func (m *FollowingMapReply) XXX_Size() int {
  255. return m.Size()
  256. }
  257. func (m *FollowingMapReply) XXX_DiscardUnknown() {
  258. xxx_messageInfo_FollowingMapReply.DiscardUnknown(m)
  259. }
  260. var xxx_messageInfo_FollowingMapReply proto.InternalMessageInfo
  261. func (m *FollowingMapReply) GetFollowingMap() map[int64]*FollowingReply {
  262. if m != nil {
  263. return m.FollowingMap
  264. }
  265. return nil
  266. }
  267. type FollowingsReply struct {
  268. FollowingList []*FollowingReply `protobuf:"bytes,1,rep,name=following_list,json=followingList,proto3" json:"following_list,omitempty"`
  269. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  270. XXX_unrecognized []byte `json:"-"`
  271. XXX_sizecache int32 `json:"-"`
  272. }
  273. func (m *FollowingsReply) Reset() { *m = FollowingsReply{} }
  274. func (m *FollowingsReply) String() string { return proto.CompactTextString(m) }
  275. func (*FollowingsReply) ProtoMessage() {}
  276. func (*FollowingsReply) Descriptor() ([]byte, []int) {
  277. return fileDescriptor_8538d06337a1d811, []int{4}
  278. }
  279. func (m *FollowingsReply) XXX_Unmarshal(b []byte) error {
  280. return m.Unmarshal(b)
  281. }
  282. func (m *FollowingsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  283. if deterministic {
  284. return xxx_messageInfo_FollowingsReply.Marshal(b, m, deterministic)
  285. } else {
  286. b = b[:cap(b)]
  287. n, err := m.MarshalTo(b)
  288. if err != nil {
  289. return nil, err
  290. }
  291. return b[:n], nil
  292. }
  293. }
  294. func (m *FollowingsReply) XXX_Merge(src proto.Message) {
  295. xxx_messageInfo_FollowingsReply.Merge(m, src)
  296. }
  297. func (m *FollowingsReply) XXX_Size() int {
  298. return m.Size()
  299. }
  300. func (m *FollowingsReply) XXX_DiscardUnknown() {
  301. xxx_messageInfo_FollowingsReply.DiscardUnknown(m)
  302. }
  303. var xxx_messageInfo_FollowingsReply proto.InternalMessageInfo
  304. func (m *FollowingsReply) GetFollowingList() []*FollowingReply {
  305. if m != nil {
  306. return m.FollowingList
  307. }
  308. return nil
  309. }
  310. type MidReq struct {
  311. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  312. RealIp string `protobuf:"bytes,2,opt,name=real_ip,json=realIp,proto3" json:"real_ip,omitempty"`
  313. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  314. XXX_unrecognized []byte `json:"-"`
  315. XXX_sizecache int32 `json:"-"`
  316. }
  317. func (m *MidReq) Reset() { *m = MidReq{} }
  318. func (m *MidReq) String() string { return proto.CompactTextString(m) }
  319. func (*MidReq) ProtoMessage() {}
  320. func (*MidReq) Descriptor() ([]byte, []int) {
  321. return fileDescriptor_8538d06337a1d811, []int{5}
  322. }
  323. func (m *MidReq) XXX_Unmarshal(b []byte) error {
  324. return m.Unmarshal(b)
  325. }
  326. func (m *MidReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  327. if deterministic {
  328. return xxx_messageInfo_MidReq.Marshal(b, m, deterministic)
  329. } else {
  330. b = b[:cap(b)]
  331. n, err := m.MarshalTo(b)
  332. if err != nil {
  333. return nil, err
  334. }
  335. return b[:n], nil
  336. }
  337. }
  338. func (m *MidReq) XXX_Merge(src proto.Message) {
  339. xxx_messageInfo_MidReq.Merge(m, src)
  340. }
  341. func (m *MidReq) XXX_Size() int {
  342. return m.Size()
  343. }
  344. func (m *MidReq) XXX_DiscardUnknown() {
  345. xxx_messageInfo_MidReq.DiscardUnknown(m)
  346. }
  347. var xxx_messageInfo_MidReq proto.InternalMessageInfo
  348. func (m *MidReq) GetMid() int64 {
  349. if m != nil {
  350. return m.Mid
  351. }
  352. return 0
  353. }
  354. func (m *MidReq) GetRealIp() string {
  355. if m != nil {
  356. return m.RealIp
  357. }
  358. return ""
  359. }
  360. // +bili:deepcopy-gen=true
  361. // +bili:deepcopy-gen:structs=go-common/app/service/main/relation/model.Stat
  362. type StatReply struct {
  363. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"`
  364. Following int64 `protobuf:"varint,2,opt,name=following,proto3" json:"following"`
  365. Whisper int64 `protobuf:"varint,3,opt,name=whisper,proto3" json:"whisper"`
  366. Black int64 `protobuf:"varint,4,opt,name=black,proto3" json:"black"`
  367. Follower int64 `protobuf:"varint,5,opt,name=follower,proto3" json:"follower"`
  368. CTime go_common_library_time.Time `protobuf:"varint,6,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"-"`
  369. MTime go_common_library_time.Time `protobuf:"varint,7,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"-"`
  370. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  371. XXX_unrecognized []byte `json:"-"`
  372. XXX_sizecache int32 `json:"-"`
  373. }
  374. func (m *StatReply) Reset() { *m = StatReply{} }
  375. func (m *StatReply) String() string { return proto.CompactTextString(m) }
  376. func (*StatReply) ProtoMessage() {}
  377. func (*StatReply) Descriptor() ([]byte, []int) {
  378. return fileDescriptor_8538d06337a1d811, []int{6}
  379. }
  380. func (m *StatReply) XXX_Unmarshal(b []byte) error {
  381. return m.Unmarshal(b)
  382. }
  383. func (m *StatReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  384. if deterministic {
  385. return xxx_messageInfo_StatReply.Marshal(b, m, deterministic)
  386. } else {
  387. b = b[:cap(b)]
  388. n, err := m.MarshalTo(b)
  389. if err != nil {
  390. return nil, err
  391. }
  392. return b[:n], nil
  393. }
  394. }
  395. func (m *StatReply) XXX_Merge(src proto.Message) {
  396. xxx_messageInfo_StatReply.Merge(m, src)
  397. }
  398. func (m *StatReply) XXX_Size() int {
  399. return m.Size()
  400. }
  401. func (m *StatReply) XXX_DiscardUnknown() {
  402. xxx_messageInfo_StatReply.DiscardUnknown(m)
  403. }
  404. var xxx_messageInfo_StatReply proto.InternalMessageInfo
  405. func (m *StatReply) GetMid() int64 {
  406. if m != nil {
  407. return m.Mid
  408. }
  409. return 0
  410. }
  411. func (m *StatReply) GetFollowing() int64 {
  412. if m != nil {
  413. return m.Following
  414. }
  415. return 0
  416. }
  417. func (m *StatReply) GetWhisper() int64 {
  418. if m != nil {
  419. return m.Whisper
  420. }
  421. return 0
  422. }
  423. func (m *StatReply) GetBlack() int64 {
  424. if m != nil {
  425. return m.Black
  426. }
  427. return 0
  428. }
  429. func (m *StatReply) GetFollower() int64 {
  430. if m != nil {
  431. return m.Follower
  432. }
  433. return 0
  434. }
  435. func (m *StatReply) GetCTime() go_common_library_time.Time {
  436. if m != nil {
  437. return m.CTime
  438. }
  439. return 0
  440. }
  441. func (m *StatReply) GetMTime() go_common_library_time.Time {
  442. if m != nil {
  443. return m.MTime
  444. }
  445. return 0
  446. }
  447. type MidsReq struct {
  448. Mids []int64 `protobuf:"varint,1,rep,packed,name=mids,proto3" json:"mids,omitempty"`
  449. RealIp string `protobuf:"bytes,2,opt,name=real_ip,json=realIp,proto3" json:"real_ip,omitempty"`
  450. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  451. XXX_unrecognized []byte `json:"-"`
  452. XXX_sizecache int32 `json:"-"`
  453. }
  454. func (m *MidsReq) Reset() { *m = MidsReq{} }
  455. func (m *MidsReq) String() string { return proto.CompactTextString(m) }
  456. func (*MidsReq) ProtoMessage() {}
  457. func (*MidsReq) Descriptor() ([]byte, []int) {
  458. return fileDescriptor_8538d06337a1d811, []int{7}
  459. }
  460. func (m *MidsReq) XXX_Unmarshal(b []byte) error {
  461. return m.Unmarshal(b)
  462. }
  463. func (m *MidsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  464. if deterministic {
  465. return xxx_messageInfo_MidsReq.Marshal(b, m, deterministic)
  466. } else {
  467. b = b[:cap(b)]
  468. n, err := m.MarshalTo(b)
  469. if err != nil {
  470. return nil, err
  471. }
  472. return b[:n], nil
  473. }
  474. }
  475. func (m *MidsReq) XXX_Merge(src proto.Message) {
  476. xxx_messageInfo_MidsReq.Merge(m, src)
  477. }
  478. func (m *MidsReq) XXX_Size() int {
  479. return m.Size()
  480. }
  481. func (m *MidsReq) XXX_DiscardUnknown() {
  482. xxx_messageInfo_MidsReq.DiscardUnknown(m)
  483. }
  484. var xxx_messageInfo_MidsReq proto.InternalMessageInfo
  485. func (m *MidsReq) GetMids() []int64 {
  486. if m != nil {
  487. return m.Mids
  488. }
  489. return nil
  490. }
  491. func (m *MidsReq) GetRealIp() string {
  492. if m != nil {
  493. return m.RealIp
  494. }
  495. return ""
  496. }
  497. type StatsReply struct {
  498. StatReplyMap map[int64]*StatReply `protobuf:"bytes,1,rep,name=stat_reply_map,json=statReplyMap,proto3" json:"stat_reply_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  499. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  500. XXX_unrecognized []byte `json:"-"`
  501. XXX_sizecache int32 `json:"-"`
  502. }
  503. func (m *StatsReply) Reset() { *m = StatsReply{} }
  504. func (m *StatsReply) String() string { return proto.CompactTextString(m) }
  505. func (*StatsReply) ProtoMessage() {}
  506. func (*StatsReply) Descriptor() ([]byte, []int) {
  507. return fileDescriptor_8538d06337a1d811, []int{8}
  508. }
  509. func (m *StatsReply) XXX_Unmarshal(b []byte) error {
  510. return m.Unmarshal(b)
  511. }
  512. func (m *StatsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  513. if deterministic {
  514. return xxx_messageInfo_StatsReply.Marshal(b, m, deterministic)
  515. } else {
  516. b = b[:cap(b)]
  517. n, err := m.MarshalTo(b)
  518. if err != nil {
  519. return nil, err
  520. }
  521. return b[:n], nil
  522. }
  523. }
  524. func (m *StatsReply) XXX_Merge(src proto.Message) {
  525. xxx_messageInfo_StatsReply.Merge(m, src)
  526. }
  527. func (m *StatsReply) XXX_Size() int {
  528. return m.Size()
  529. }
  530. func (m *StatsReply) XXX_DiscardUnknown() {
  531. xxx_messageInfo_StatsReply.DiscardUnknown(m)
  532. }
  533. var xxx_messageInfo_StatsReply proto.InternalMessageInfo
  534. func (m *StatsReply) GetStatReplyMap() map[int64]*StatReply {
  535. if m != nil {
  536. return m.StatReplyMap
  537. }
  538. return nil
  539. }
  540. type FollowingReq struct {
  541. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  542. Fid int64 `protobuf:"varint,2,opt,name=fid,proto3" json:"fid,omitempty"`
  543. Source uint8 `protobuf:"varint,3,opt,name=source,proto3,casttype=uint8" json:"source,omitempty"`
  544. RealIp string `protobuf:"bytes,4,opt,name=real_ip,json=realIp,proto3" json:"real_ip,omitempty"`
  545. Action int8 `protobuf:"varint,5,opt,name=action,proto3,casttype=int8" json:"action,omitempty"`
  546. Infoc map[string]string `protobuf:"bytes,6,rep,name=infoc,proto3" json:"infoc,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  547. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  548. XXX_unrecognized []byte `json:"-"`
  549. XXX_sizecache int32 `json:"-"`
  550. }
  551. func (m *FollowingReq) Reset() { *m = FollowingReq{} }
  552. func (m *FollowingReq) String() string { return proto.CompactTextString(m) }
  553. func (*FollowingReq) ProtoMessage() {}
  554. func (*FollowingReq) Descriptor() ([]byte, []int) {
  555. return fileDescriptor_8538d06337a1d811, []int{9}
  556. }
  557. func (m *FollowingReq) XXX_Unmarshal(b []byte) error {
  558. return m.Unmarshal(b)
  559. }
  560. func (m *FollowingReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  561. if deterministic {
  562. return xxx_messageInfo_FollowingReq.Marshal(b, m, deterministic)
  563. } else {
  564. b = b[:cap(b)]
  565. n, err := m.MarshalTo(b)
  566. if err != nil {
  567. return nil, err
  568. }
  569. return b[:n], nil
  570. }
  571. }
  572. func (m *FollowingReq) XXX_Merge(src proto.Message) {
  573. xxx_messageInfo_FollowingReq.Merge(m, src)
  574. }
  575. func (m *FollowingReq) XXX_Size() int {
  576. return m.Size()
  577. }
  578. func (m *FollowingReq) XXX_DiscardUnknown() {
  579. xxx_messageInfo_FollowingReq.DiscardUnknown(m)
  580. }
  581. var xxx_messageInfo_FollowingReq proto.InternalMessageInfo
  582. func (m *FollowingReq) GetMid() int64 {
  583. if m != nil {
  584. return m.Mid
  585. }
  586. return 0
  587. }
  588. func (m *FollowingReq) GetFid() int64 {
  589. if m != nil {
  590. return m.Fid
  591. }
  592. return 0
  593. }
  594. func (m *FollowingReq) GetSource() uint8 {
  595. if m != nil {
  596. return m.Source
  597. }
  598. return 0
  599. }
  600. func (m *FollowingReq) GetRealIp() string {
  601. if m != nil {
  602. return m.RealIp
  603. }
  604. return ""
  605. }
  606. func (m *FollowingReq) GetAction() int8 {
  607. if m != nil {
  608. return m.Action
  609. }
  610. return 0
  611. }
  612. func (m *FollowingReq) GetInfoc() map[string]string {
  613. if m != nil {
  614. return m.Infoc
  615. }
  616. return nil
  617. }
  618. type EmptyReply struct {
  619. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  620. XXX_unrecognized []byte `json:"-"`
  621. XXX_sizecache int32 `json:"-"`
  622. }
  623. func (m *EmptyReply) Reset() { *m = EmptyReply{} }
  624. func (m *EmptyReply) String() string { return proto.CompactTextString(m) }
  625. func (*EmptyReply) ProtoMessage() {}
  626. func (*EmptyReply) Descriptor() ([]byte, []int) {
  627. return fileDescriptor_8538d06337a1d811, []int{10}
  628. }
  629. func (m *EmptyReply) XXX_Unmarshal(b []byte) error {
  630. return m.Unmarshal(b)
  631. }
  632. func (m *EmptyReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  633. if deterministic {
  634. return xxx_messageInfo_EmptyReply.Marshal(b, m, deterministic)
  635. } else {
  636. b = b[:cap(b)]
  637. n, err := m.MarshalTo(b)
  638. if err != nil {
  639. return nil, err
  640. }
  641. return b[:n], nil
  642. }
  643. }
  644. func (m *EmptyReply) XXX_Merge(src proto.Message) {
  645. xxx_messageInfo_EmptyReply.Merge(m, src)
  646. }
  647. func (m *EmptyReply) XXX_Size() int {
  648. return m.Size()
  649. }
  650. func (m *EmptyReply) XXX_DiscardUnknown() {
  651. xxx_messageInfo_EmptyReply.DiscardUnknown(m)
  652. }
  653. var xxx_messageInfo_EmptyReply proto.InternalMessageInfo
  654. // ArgTagId tag id
  655. type TagIdReq struct {
  656. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  657. TagId int64 `protobuf:"varint,2,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"`
  658. RealIp string `protobuf:"bytes,3,opt,name=real_ip,json=realIp,proto3" json:"real_ip,omitempty"`
  659. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  660. XXX_unrecognized []byte `json:"-"`
  661. XXX_sizecache int32 `json:"-"`
  662. }
  663. func (m *TagIdReq) Reset() { *m = TagIdReq{} }
  664. func (m *TagIdReq) String() string { return proto.CompactTextString(m) }
  665. func (*TagIdReq) ProtoMessage() {}
  666. func (*TagIdReq) Descriptor() ([]byte, []int) {
  667. return fileDescriptor_8538d06337a1d811, []int{11}
  668. }
  669. func (m *TagIdReq) XXX_Unmarshal(b []byte) error {
  670. return m.Unmarshal(b)
  671. }
  672. func (m *TagIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  673. if deterministic {
  674. return xxx_messageInfo_TagIdReq.Marshal(b, m, deterministic)
  675. } else {
  676. b = b[:cap(b)]
  677. n, err := m.MarshalTo(b)
  678. if err != nil {
  679. return nil, err
  680. }
  681. return b[:n], nil
  682. }
  683. }
  684. func (m *TagIdReq) XXX_Merge(src proto.Message) {
  685. xxx_messageInfo_TagIdReq.Merge(m, src)
  686. }
  687. func (m *TagIdReq) XXX_Size() int {
  688. return m.Size()
  689. }
  690. func (m *TagIdReq) XXX_DiscardUnknown() {
  691. xxx_messageInfo_TagIdReq.DiscardUnknown(m)
  692. }
  693. var xxx_messageInfo_TagIdReq proto.InternalMessageInfo
  694. func (m *TagIdReq) GetMid() int64 {
  695. if m != nil {
  696. return m.Mid
  697. }
  698. return 0
  699. }
  700. func (m *TagIdReq) GetTagId() int64 {
  701. if m != nil {
  702. return m.TagId
  703. }
  704. return 0
  705. }
  706. func (m *TagIdReq) GetRealIp() string {
  707. if m != nil {
  708. return m.RealIp
  709. }
  710. return ""
  711. }
  712. type TagReply struct {
  713. Mids []int64 `protobuf:"varint,1,rep,packed,name=mids,proto3" json:"mids,omitempty"`
  714. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  715. XXX_unrecognized []byte `json:"-"`
  716. XXX_sizecache int32 `json:"-"`
  717. }
  718. func (m *TagReply) Reset() { *m = TagReply{} }
  719. func (m *TagReply) String() string { return proto.CompactTextString(m) }
  720. func (*TagReply) ProtoMessage() {}
  721. func (*TagReply) Descriptor() ([]byte, []int) {
  722. return fileDescriptor_8538d06337a1d811, []int{12}
  723. }
  724. func (m *TagReply) XXX_Unmarshal(b []byte) error {
  725. return m.Unmarshal(b)
  726. }
  727. func (m *TagReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  728. if deterministic {
  729. return xxx_messageInfo_TagReply.Marshal(b, m, deterministic)
  730. } else {
  731. b = b[:cap(b)]
  732. n, err := m.MarshalTo(b)
  733. if err != nil {
  734. return nil, err
  735. }
  736. return b[:n], nil
  737. }
  738. }
  739. func (m *TagReply) XXX_Merge(src proto.Message) {
  740. xxx_messageInfo_TagReply.Merge(m, src)
  741. }
  742. func (m *TagReply) XXX_Size() int {
  743. return m.Size()
  744. }
  745. func (m *TagReply) XXX_DiscardUnknown() {
  746. xxx_messageInfo_TagReply.DiscardUnknown(m)
  747. }
  748. var xxx_messageInfo_TagReply proto.InternalMessageInfo
  749. func (m *TagReply) GetMids() []int64 {
  750. if m != nil {
  751. return m.Mids
  752. }
  753. return nil
  754. }
  755. // +bili:deepcopy-gen=true
  756. // +bili:deepcopy-gen:structs=go-common/app/service/main/relation/model.TagCount
  757. type TagCountReply struct {
  758. Tagid int64 `protobuf:"varint,1,opt,name=tagid,proto3" json:"tagid"`
  759. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  760. Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count"`
  761. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  762. XXX_unrecognized []byte `json:"-"`
  763. XXX_sizecache int32 `json:"-"`
  764. }
  765. func (m *TagCountReply) Reset() { *m = TagCountReply{} }
  766. func (m *TagCountReply) String() string { return proto.CompactTextString(m) }
  767. func (*TagCountReply) ProtoMessage() {}
  768. func (*TagCountReply) Descriptor() ([]byte, []int) {
  769. return fileDescriptor_8538d06337a1d811, []int{13}
  770. }
  771. func (m *TagCountReply) XXX_Unmarshal(b []byte) error {
  772. return m.Unmarshal(b)
  773. }
  774. func (m *TagCountReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  775. if deterministic {
  776. return xxx_messageInfo_TagCountReply.Marshal(b, m, deterministic)
  777. } else {
  778. b = b[:cap(b)]
  779. n, err := m.MarshalTo(b)
  780. if err != nil {
  781. return nil, err
  782. }
  783. return b[:n], nil
  784. }
  785. }
  786. func (m *TagCountReply) XXX_Merge(src proto.Message) {
  787. xxx_messageInfo_TagCountReply.Merge(m, src)
  788. }
  789. func (m *TagCountReply) XXX_Size() int {
  790. return m.Size()
  791. }
  792. func (m *TagCountReply) XXX_DiscardUnknown() {
  793. xxx_messageInfo_TagCountReply.DiscardUnknown(m)
  794. }
  795. var xxx_messageInfo_TagCountReply proto.InternalMessageInfo
  796. func (m *TagCountReply) GetTagid() int64 {
  797. if m != nil {
  798. return m.Tagid
  799. }
  800. return 0
  801. }
  802. func (m *TagCountReply) GetName() string {
  803. if m != nil {
  804. return m.Name
  805. }
  806. return ""
  807. }
  808. func (m *TagCountReply) GetCount() int64 {
  809. if m != nil {
  810. return m.Count
  811. }
  812. return 0
  813. }
  814. type TagsCountReply struct {
  815. TagCountList []*TagCountReply `protobuf:"bytes,1,rep,name=tag_count_list,json=tagCountList,proto3" json:"tag_count_list,omitempty"`
  816. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  817. XXX_unrecognized []byte `json:"-"`
  818. XXX_sizecache int32 `json:"-"`
  819. }
  820. func (m *TagsCountReply) Reset() { *m = TagsCountReply{} }
  821. func (m *TagsCountReply) String() string { return proto.CompactTextString(m) }
  822. func (*TagsCountReply) ProtoMessage() {}
  823. func (*TagsCountReply) Descriptor() ([]byte, []int) {
  824. return fileDescriptor_8538d06337a1d811, []int{14}
  825. }
  826. func (m *TagsCountReply) XXX_Unmarshal(b []byte) error {
  827. return m.Unmarshal(b)
  828. }
  829. func (m *TagsCountReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  830. if deterministic {
  831. return xxx_messageInfo_TagsCountReply.Marshal(b, m, deterministic)
  832. } else {
  833. b = b[:cap(b)]
  834. n, err := m.MarshalTo(b)
  835. if err != nil {
  836. return nil, err
  837. }
  838. return b[:n], nil
  839. }
  840. }
  841. func (m *TagsCountReply) XXX_Merge(src proto.Message) {
  842. xxx_messageInfo_TagsCountReply.Merge(m, src)
  843. }
  844. func (m *TagsCountReply) XXX_Size() int {
  845. return m.Size()
  846. }
  847. func (m *TagsCountReply) XXX_DiscardUnknown() {
  848. xxx_messageInfo_TagsCountReply.DiscardUnknown(m)
  849. }
  850. var xxx_messageInfo_TagsCountReply proto.InternalMessageInfo
  851. func (m *TagsCountReply) GetTagCountList() []*TagCountReply {
  852. if m != nil {
  853. return m.TagCountList
  854. }
  855. return nil
  856. }
  857. type UserTagReply struct {
  858. Tags map[int64]string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  859. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  860. XXX_unrecognized []byte `json:"-"`
  861. XXX_sizecache int32 `json:"-"`
  862. }
  863. func (m *UserTagReply) Reset() { *m = UserTagReply{} }
  864. func (m *UserTagReply) String() string { return proto.CompactTextString(m) }
  865. func (*UserTagReply) ProtoMessage() {}
  866. func (*UserTagReply) Descriptor() ([]byte, []int) {
  867. return fileDescriptor_8538d06337a1d811, []int{15}
  868. }
  869. func (m *UserTagReply) XXX_Unmarshal(b []byte) error {
  870. return m.Unmarshal(b)
  871. }
  872. func (m *UserTagReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  873. if deterministic {
  874. return xxx_messageInfo_UserTagReply.Marshal(b, m, deterministic)
  875. } else {
  876. b = b[:cap(b)]
  877. n, err := m.MarshalTo(b)
  878. if err != nil {
  879. return nil, err
  880. }
  881. return b[:n], nil
  882. }
  883. }
  884. func (m *UserTagReply) XXX_Merge(src proto.Message) {
  885. xxx_messageInfo_UserTagReply.Merge(m, src)
  886. }
  887. func (m *UserTagReply) XXX_Size() int {
  888. return m.Size()
  889. }
  890. func (m *UserTagReply) XXX_DiscardUnknown() {
  891. xxx_messageInfo_UserTagReply.DiscardUnknown(m)
  892. }
  893. var xxx_messageInfo_UserTagReply proto.InternalMessageInfo
  894. func (m *UserTagReply) GetTags() map[int64]string {
  895. if m != nil {
  896. return m.Tags
  897. }
  898. return nil
  899. }
  900. type TagReq struct {
  901. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  902. Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
  903. RealIp string `protobuf:"bytes,3,opt,name=real_ip,json=realIp,proto3" json:"real_ip,omitempty"`
  904. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  905. XXX_unrecognized []byte `json:"-"`
  906. XXX_sizecache int32 `json:"-"`
  907. }
  908. func (m *TagReq) Reset() { *m = TagReq{} }
  909. func (m *TagReq) String() string { return proto.CompactTextString(m) }
  910. func (*TagReq) ProtoMessage() {}
  911. func (*TagReq) Descriptor() ([]byte, []int) {
  912. return fileDescriptor_8538d06337a1d811, []int{16}
  913. }
  914. func (m *TagReq) XXX_Unmarshal(b []byte) error {
  915. return m.Unmarshal(b)
  916. }
  917. func (m *TagReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  918. if deterministic {
  919. return xxx_messageInfo_TagReq.Marshal(b, m, deterministic)
  920. } else {
  921. b = b[:cap(b)]
  922. n, err := m.MarshalTo(b)
  923. if err != nil {
  924. return nil, err
  925. }
  926. return b[:n], nil
  927. }
  928. }
  929. func (m *TagReq) XXX_Merge(src proto.Message) {
  930. xxx_messageInfo_TagReq.Merge(m, src)
  931. }
  932. func (m *TagReq) XXX_Size() int {
  933. return m.Size()
  934. }
  935. func (m *TagReq) XXX_DiscardUnknown() {
  936. xxx_messageInfo_TagReq.DiscardUnknown(m)
  937. }
  938. var xxx_messageInfo_TagReq proto.InternalMessageInfo
  939. func (m *TagReq) GetMid() int64 {
  940. if m != nil {
  941. return m.Mid
  942. }
  943. return 0
  944. }
  945. func (m *TagReq) GetTag() string {
  946. if m != nil {
  947. return m.Tag
  948. }
  949. return ""
  950. }
  951. func (m *TagReq) GetRealIp() string {
  952. if m != nil {
  953. return m.RealIp
  954. }
  955. return ""
  956. }
  957. type TagUpdateReq struct {
  958. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  959. TagId int64 `protobuf:"varint,2,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"`
  960. New string `protobuf:"bytes,3,opt,name=new,proto3" json:"new,omitempty"`
  961. RealIp string `protobuf:"bytes,4,opt,name=real_ip,json=realIp,proto3" json:"real_ip,omitempty"`
  962. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  963. XXX_unrecognized []byte `json:"-"`
  964. XXX_sizecache int32 `json:"-"`
  965. }
  966. func (m *TagUpdateReq) Reset() { *m = TagUpdateReq{} }
  967. func (m *TagUpdateReq) String() string { return proto.CompactTextString(m) }
  968. func (*TagUpdateReq) ProtoMessage() {}
  969. func (*TagUpdateReq) Descriptor() ([]byte, []int) {
  970. return fileDescriptor_8538d06337a1d811, []int{17}
  971. }
  972. func (m *TagUpdateReq) XXX_Unmarshal(b []byte) error {
  973. return m.Unmarshal(b)
  974. }
  975. func (m *TagUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  976. if deterministic {
  977. return xxx_messageInfo_TagUpdateReq.Marshal(b, m, deterministic)
  978. } else {
  979. b = b[:cap(b)]
  980. n, err := m.MarshalTo(b)
  981. if err != nil {
  982. return nil, err
  983. }
  984. return b[:n], nil
  985. }
  986. }
  987. func (m *TagUpdateReq) XXX_Merge(src proto.Message) {
  988. xxx_messageInfo_TagUpdateReq.Merge(m, src)
  989. }
  990. func (m *TagUpdateReq) XXX_Size() int {
  991. return m.Size()
  992. }
  993. func (m *TagUpdateReq) XXX_DiscardUnknown() {
  994. xxx_messageInfo_TagUpdateReq.DiscardUnknown(m)
  995. }
  996. var xxx_messageInfo_TagUpdateReq proto.InternalMessageInfo
  997. func (m *TagUpdateReq) GetMid() int64 {
  998. if m != nil {
  999. return m.Mid
  1000. }
  1001. return 0
  1002. }
  1003. func (m *TagUpdateReq) GetTagId() int64 {
  1004. if m != nil {
  1005. return m.TagId
  1006. }
  1007. return 0
  1008. }
  1009. func (m *TagUpdateReq) GetNew() string {
  1010. if m != nil {
  1011. return m.New
  1012. }
  1013. return ""
  1014. }
  1015. func (m *TagUpdateReq) GetRealIp() string {
  1016. if m != nil {
  1017. return m.RealIp
  1018. }
  1019. return ""
  1020. }
  1021. type TagDelReq struct {
  1022. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1023. TagId int64 `protobuf:"varint,2,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"`
  1024. RealIp string `protobuf:"bytes,3,opt,name=real_ip,json=realIp,proto3" json:"real_ip,omitempty"`
  1025. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1026. XXX_unrecognized []byte `json:"-"`
  1027. XXX_sizecache int32 `json:"-"`
  1028. }
  1029. func (m *TagDelReq) Reset() { *m = TagDelReq{} }
  1030. func (m *TagDelReq) String() string { return proto.CompactTextString(m) }
  1031. func (*TagDelReq) ProtoMessage() {}
  1032. func (*TagDelReq) Descriptor() ([]byte, []int) {
  1033. return fileDescriptor_8538d06337a1d811, []int{18}
  1034. }
  1035. func (m *TagDelReq) XXX_Unmarshal(b []byte) error {
  1036. return m.Unmarshal(b)
  1037. }
  1038. func (m *TagDelReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1039. if deterministic {
  1040. return xxx_messageInfo_TagDelReq.Marshal(b, m, deterministic)
  1041. } else {
  1042. b = b[:cap(b)]
  1043. n, err := m.MarshalTo(b)
  1044. if err != nil {
  1045. return nil, err
  1046. }
  1047. return b[:n], nil
  1048. }
  1049. }
  1050. func (m *TagDelReq) XXX_Merge(src proto.Message) {
  1051. xxx_messageInfo_TagDelReq.Merge(m, src)
  1052. }
  1053. func (m *TagDelReq) XXX_Size() int {
  1054. return m.Size()
  1055. }
  1056. func (m *TagDelReq) XXX_DiscardUnknown() {
  1057. xxx_messageInfo_TagDelReq.DiscardUnknown(m)
  1058. }
  1059. var xxx_messageInfo_TagDelReq proto.InternalMessageInfo
  1060. func (m *TagDelReq) GetMid() int64 {
  1061. if m != nil {
  1062. return m.Mid
  1063. }
  1064. return 0
  1065. }
  1066. func (m *TagDelReq) GetTagId() int64 {
  1067. if m != nil {
  1068. return m.TagId
  1069. }
  1070. return 0
  1071. }
  1072. func (m *TagDelReq) GetRealIp() string {
  1073. if m != nil {
  1074. return m.RealIp
  1075. }
  1076. return ""
  1077. }
  1078. type TagsMoveUsersReq struct {
  1079. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1080. BeforeId int64 `protobuf:"varint,2,opt,name=before_id,json=beforeId,proto3" json:"before_id,omitempty"`
  1081. AfterTagIds string `protobuf:"bytes,3,opt,name=after_tag_ids,json=afterTagIds,proto3" json:"after_tag_ids,omitempty"`
  1082. Fids string `protobuf:"bytes,4,opt,name=fids,proto3" json:"fids,omitempty"`
  1083. RealIp string `protobuf:"bytes,5,opt,name=real_ip,json=realIp,proto3" json:"real_ip,omitempty"`
  1084. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1085. XXX_unrecognized []byte `json:"-"`
  1086. XXX_sizecache int32 `json:"-"`
  1087. }
  1088. func (m *TagsMoveUsersReq) Reset() { *m = TagsMoveUsersReq{} }
  1089. func (m *TagsMoveUsersReq) String() string { return proto.CompactTextString(m) }
  1090. func (*TagsMoveUsersReq) ProtoMessage() {}
  1091. func (*TagsMoveUsersReq) Descriptor() ([]byte, []int) {
  1092. return fileDescriptor_8538d06337a1d811, []int{19}
  1093. }
  1094. func (m *TagsMoveUsersReq) XXX_Unmarshal(b []byte) error {
  1095. return m.Unmarshal(b)
  1096. }
  1097. func (m *TagsMoveUsersReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1098. if deterministic {
  1099. return xxx_messageInfo_TagsMoveUsersReq.Marshal(b, m, deterministic)
  1100. } else {
  1101. b = b[:cap(b)]
  1102. n, err := m.MarshalTo(b)
  1103. if err != nil {
  1104. return nil, err
  1105. }
  1106. return b[:n], nil
  1107. }
  1108. }
  1109. func (m *TagsMoveUsersReq) XXX_Merge(src proto.Message) {
  1110. xxx_messageInfo_TagsMoveUsersReq.Merge(m, src)
  1111. }
  1112. func (m *TagsMoveUsersReq) XXX_Size() int {
  1113. return m.Size()
  1114. }
  1115. func (m *TagsMoveUsersReq) XXX_DiscardUnknown() {
  1116. xxx_messageInfo_TagsMoveUsersReq.DiscardUnknown(m)
  1117. }
  1118. var xxx_messageInfo_TagsMoveUsersReq proto.InternalMessageInfo
  1119. func (m *TagsMoveUsersReq) GetMid() int64 {
  1120. if m != nil {
  1121. return m.Mid
  1122. }
  1123. return 0
  1124. }
  1125. func (m *TagsMoveUsersReq) GetBeforeId() int64 {
  1126. if m != nil {
  1127. return m.BeforeId
  1128. }
  1129. return 0
  1130. }
  1131. func (m *TagsMoveUsersReq) GetAfterTagIds() string {
  1132. if m != nil {
  1133. return m.AfterTagIds
  1134. }
  1135. return ""
  1136. }
  1137. func (m *TagsMoveUsersReq) GetFids() string {
  1138. if m != nil {
  1139. return m.Fids
  1140. }
  1141. return ""
  1142. }
  1143. func (m *TagsMoveUsersReq) GetRealIp() string {
  1144. if m != nil {
  1145. return m.RealIp
  1146. }
  1147. return ""
  1148. }
  1149. type PromptReq struct {
  1150. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1151. Fid int64 `protobuf:"varint,2,opt,name=fid,proto3" json:"fid,omitempty"`
  1152. Btype int8 `protobuf:"varint,3,opt,name=btype,proto3,casttype=int8" json:"btype,omitempty"`
  1153. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1154. XXX_unrecognized []byte `json:"-"`
  1155. XXX_sizecache int32 `json:"-"`
  1156. }
  1157. func (m *PromptReq) Reset() { *m = PromptReq{} }
  1158. func (m *PromptReq) String() string { return proto.CompactTextString(m) }
  1159. func (*PromptReq) ProtoMessage() {}
  1160. func (*PromptReq) Descriptor() ([]byte, []int) {
  1161. return fileDescriptor_8538d06337a1d811, []int{20}
  1162. }
  1163. func (m *PromptReq) XXX_Unmarshal(b []byte) error {
  1164. return m.Unmarshal(b)
  1165. }
  1166. func (m *PromptReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1167. if deterministic {
  1168. return xxx_messageInfo_PromptReq.Marshal(b, m, deterministic)
  1169. } else {
  1170. b = b[:cap(b)]
  1171. n, err := m.MarshalTo(b)
  1172. if err != nil {
  1173. return nil, err
  1174. }
  1175. return b[:n], nil
  1176. }
  1177. }
  1178. func (m *PromptReq) XXX_Merge(src proto.Message) {
  1179. xxx_messageInfo_PromptReq.Merge(m, src)
  1180. }
  1181. func (m *PromptReq) XXX_Size() int {
  1182. return m.Size()
  1183. }
  1184. func (m *PromptReq) XXX_DiscardUnknown() {
  1185. xxx_messageInfo_PromptReq.DiscardUnknown(m)
  1186. }
  1187. var xxx_messageInfo_PromptReq proto.InternalMessageInfo
  1188. func (m *PromptReq) GetMid() int64 {
  1189. if m != nil {
  1190. return m.Mid
  1191. }
  1192. return 0
  1193. }
  1194. func (m *PromptReq) GetFid() int64 {
  1195. if m != nil {
  1196. return m.Fid
  1197. }
  1198. return 0
  1199. }
  1200. func (m *PromptReq) GetBtype() int8 {
  1201. if m != nil {
  1202. return m.Btype
  1203. }
  1204. return 0
  1205. }
  1206. type CreateTagReply struct {
  1207. TagId int64 `protobuf:"varint,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"`
  1208. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1209. XXX_unrecognized []byte `json:"-"`
  1210. XXX_sizecache int32 `json:"-"`
  1211. }
  1212. func (m *CreateTagReply) Reset() { *m = CreateTagReply{} }
  1213. func (m *CreateTagReply) String() string { return proto.CompactTextString(m) }
  1214. func (*CreateTagReply) ProtoMessage() {}
  1215. func (*CreateTagReply) Descriptor() ([]byte, []int) {
  1216. return fileDescriptor_8538d06337a1d811, []int{21}
  1217. }
  1218. func (m *CreateTagReply) XXX_Unmarshal(b []byte) error {
  1219. return m.Unmarshal(b)
  1220. }
  1221. func (m *CreateTagReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1222. if deterministic {
  1223. return xxx_messageInfo_CreateTagReply.Marshal(b, m, deterministic)
  1224. } else {
  1225. b = b[:cap(b)]
  1226. n, err := m.MarshalTo(b)
  1227. if err != nil {
  1228. return nil, err
  1229. }
  1230. return b[:n], nil
  1231. }
  1232. }
  1233. func (m *CreateTagReply) XXX_Merge(src proto.Message) {
  1234. xxx_messageInfo_CreateTagReply.Merge(m, src)
  1235. }
  1236. func (m *CreateTagReply) XXX_Size() int {
  1237. return m.Size()
  1238. }
  1239. func (m *CreateTagReply) XXX_DiscardUnknown() {
  1240. xxx_messageInfo_CreateTagReply.DiscardUnknown(m)
  1241. }
  1242. var xxx_messageInfo_CreateTagReply proto.InternalMessageInfo
  1243. func (m *CreateTagReply) GetTagId() int64 {
  1244. if m != nil {
  1245. return m.TagId
  1246. }
  1247. return 0
  1248. }
  1249. type PromptReply struct {
  1250. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  1251. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1252. XXX_unrecognized []byte `json:"-"`
  1253. XXX_sizecache int32 `json:"-"`
  1254. }
  1255. func (m *PromptReply) Reset() { *m = PromptReply{} }
  1256. func (m *PromptReply) String() string { return proto.CompactTextString(m) }
  1257. func (*PromptReply) ProtoMessage() {}
  1258. func (*PromptReply) Descriptor() ([]byte, []int) {
  1259. return fileDescriptor_8538d06337a1d811, []int{22}
  1260. }
  1261. func (m *PromptReply) XXX_Unmarshal(b []byte) error {
  1262. return m.Unmarshal(b)
  1263. }
  1264. func (m *PromptReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1265. if deterministic {
  1266. return xxx_messageInfo_PromptReply.Marshal(b, m, deterministic)
  1267. } else {
  1268. b = b[:cap(b)]
  1269. n, err := m.MarshalTo(b)
  1270. if err != nil {
  1271. return nil, err
  1272. }
  1273. return b[:n], nil
  1274. }
  1275. }
  1276. func (m *PromptReply) XXX_Merge(src proto.Message) {
  1277. xxx_messageInfo_PromptReply.Merge(m, src)
  1278. }
  1279. func (m *PromptReply) XXX_Size() int {
  1280. return m.Size()
  1281. }
  1282. func (m *PromptReply) XXX_DiscardUnknown() {
  1283. xxx_messageInfo_PromptReply.DiscardUnknown(m)
  1284. }
  1285. var xxx_messageInfo_PromptReply proto.InternalMessageInfo
  1286. func (m *PromptReply) GetSuccess() bool {
  1287. if m != nil {
  1288. return m.Success
  1289. }
  1290. return false
  1291. }
  1292. type FollowersUnreadReply struct {
  1293. HasUnread bool `protobuf:"varint,1,opt,name=has_unread,json=hasUnread,proto3" json:"has_unread,omitempty"`
  1294. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1295. XXX_unrecognized []byte `json:"-"`
  1296. XXX_sizecache int32 `json:"-"`
  1297. }
  1298. func (m *FollowersUnreadReply) Reset() { *m = FollowersUnreadReply{} }
  1299. func (m *FollowersUnreadReply) String() string { return proto.CompactTextString(m) }
  1300. func (*FollowersUnreadReply) ProtoMessage() {}
  1301. func (*FollowersUnreadReply) Descriptor() ([]byte, []int) {
  1302. return fileDescriptor_8538d06337a1d811, []int{23}
  1303. }
  1304. func (m *FollowersUnreadReply) XXX_Unmarshal(b []byte) error {
  1305. return m.Unmarshal(b)
  1306. }
  1307. func (m *FollowersUnreadReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1308. if deterministic {
  1309. return xxx_messageInfo_FollowersUnreadReply.Marshal(b, m, deterministic)
  1310. } else {
  1311. b = b[:cap(b)]
  1312. n, err := m.MarshalTo(b)
  1313. if err != nil {
  1314. return nil, err
  1315. }
  1316. return b[:n], nil
  1317. }
  1318. }
  1319. func (m *FollowersUnreadReply) XXX_Merge(src proto.Message) {
  1320. xxx_messageInfo_FollowersUnreadReply.Merge(m, src)
  1321. }
  1322. func (m *FollowersUnreadReply) XXX_Size() int {
  1323. return m.Size()
  1324. }
  1325. func (m *FollowersUnreadReply) XXX_DiscardUnknown() {
  1326. xxx_messageInfo_FollowersUnreadReply.DiscardUnknown(m)
  1327. }
  1328. var xxx_messageInfo_FollowersUnreadReply proto.InternalMessageInfo
  1329. func (m *FollowersUnreadReply) GetHasUnread() bool {
  1330. if m != nil {
  1331. return m.HasUnread
  1332. }
  1333. return false
  1334. }
  1335. type FollowersUnreadCountReply struct {
  1336. UnreadCount int64 `protobuf:"varint,1,opt,name=unread_count,json=unreadCount,proto3" json:"unread_count,omitempty"`
  1337. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1338. XXX_unrecognized []byte `json:"-"`
  1339. XXX_sizecache int32 `json:"-"`
  1340. }
  1341. func (m *FollowersUnreadCountReply) Reset() { *m = FollowersUnreadCountReply{} }
  1342. func (m *FollowersUnreadCountReply) String() string { return proto.CompactTextString(m) }
  1343. func (*FollowersUnreadCountReply) ProtoMessage() {}
  1344. func (*FollowersUnreadCountReply) Descriptor() ([]byte, []int) {
  1345. return fileDescriptor_8538d06337a1d811, []int{24}
  1346. }
  1347. func (m *FollowersUnreadCountReply) XXX_Unmarshal(b []byte) error {
  1348. return m.Unmarshal(b)
  1349. }
  1350. func (m *FollowersUnreadCountReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1351. if deterministic {
  1352. return xxx_messageInfo_FollowersUnreadCountReply.Marshal(b, m, deterministic)
  1353. } else {
  1354. b = b[:cap(b)]
  1355. n, err := m.MarshalTo(b)
  1356. if err != nil {
  1357. return nil, err
  1358. }
  1359. return b[:n], nil
  1360. }
  1361. }
  1362. func (m *FollowersUnreadCountReply) XXX_Merge(src proto.Message) {
  1363. xxx_messageInfo_FollowersUnreadCountReply.Merge(m, src)
  1364. }
  1365. func (m *FollowersUnreadCountReply) XXX_Size() int {
  1366. return m.Size()
  1367. }
  1368. func (m *FollowersUnreadCountReply) XXX_DiscardUnknown() {
  1369. xxx_messageInfo_FollowersUnreadCountReply.DiscardUnknown(m)
  1370. }
  1371. var xxx_messageInfo_FollowersUnreadCountReply proto.InternalMessageInfo
  1372. func (m *FollowersUnreadCountReply) GetUnreadCount() int64 {
  1373. if m != nil {
  1374. return m.UnreadCount
  1375. }
  1376. return 0
  1377. }
  1378. type SpecialReply struct {
  1379. Mids []int64 `protobuf:"varint,1,rep,packed,name=mids,proto3" json:"mids,omitempty"`
  1380. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1381. XXX_unrecognized []byte `json:"-"`
  1382. XXX_sizecache int32 `json:"-"`
  1383. }
  1384. func (m *SpecialReply) Reset() { *m = SpecialReply{} }
  1385. func (m *SpecialReply) String() string { return proto.CompactTextString(m) }
  1386. func (*SpecialReply) ProtoMessage() {}
  1387. func (*SpecialReply) Descriptor() ([]byte, []int) {
  1388. return fileDescriptor_8538d06337a1d811, []int{25}
  1389. }
  1390. func (m *SpecialReply) XXX_Unmarshal(b []byte) error {
  1391. return m.Unmarshal(b)
  1392. }
  1393. func (m *SpecialReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1394. if deterministic {
  1395. return xxx_messageInfo_SpecialReply.Marshal(b, m, deterministic)
  1396. } else {
  1397. b = b[:cap(b)]
  1398. n, err := m.MarshalTo(b)
  1399. if err != nil {
  1400. return nil, err
  1401. }
  1402. return b[:n], nil
  1403. }
  1404. }
  1405. func (m *SpecialReply) XXX_Merge(src proto.Message) {
  1406. xxx_messageInfo_SpecialReply.Merge(m, src)
  1407. }
  1408. func (m *SpecialReply) XXX_Size() int {
  1409. return m.Size()
  1410. }
  1411. func (m *SpecialReply) XXX_DiscardUnknown() {
  1412. xxx_messageInfo_SpecialReply.DiscardUnknown(m)
  1413. }
  1414. var xxx_messageInfo_SpecialReply proto.InternalMessageInfo
  1415. func (m *SpecialReply) GetMids() []int64 {
  1416. if m != nil {
  1417. return m.Mids
  1418. }
  1419. return nil
  1420. }
  1421. type AchieveGetReq struct {
  1422. Award string `protobuf:"bytes,1,opt,name=award,proto3" json:"award,omitempty"`
  1423. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  1424. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1425. XXX_unrecognized []byte `json:"-"`
  1426. XXX_sizecache int32 `json:"-"`
  1427. }
  1428. func (m *AchieveGetReq) Reset() { *m = AchieveGetReq{} }
  1429. func (m *AchieveGetReq) String() string { return proto.CompactTextString(m) }
  1430. func (*AchieveGetReq) ProtoMessage() {}
  1431. func (*AchieveGetReq) Descriptor() ([]byte, []int) {
  1432. return fileDescriptor_8538d06337a1d811, []int{26}
  1433. }
  1434. func (m *AchieveGetReq) XXX_Unmarshal(b []byte) error {
  1435. return m.Unmarshal(b)
  1436. }
  1437. func (m *AchieveGetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1438. if deterministic {
  1439. return xxx_messageInfo_AchieveGetReq.Marshal(b, m, deterministic)
  1440. } else {
  1441. b = b[:cap(b)]
  1442. n, err := m.MarshalTo(b)
  1443. if err != nil {
  1444. return nil, err
  1445. }
  1446. return b[:n], nil
  1447. }
  1448. }
  1449. func (m *AchieveGetReq) XXX_Merge(src proto.Message) {
  1450. xxx_messageInfo_AchieveGetReq.Merge(m, src)
  1451. }
  1452. func (m *AchieveGetReq) XXX_Size() int {
  1453. return m.Size()
  1454. }
  1455. func (m *AchieveGetReq) XXX_DiscardUnknown() {
  1456. xxx_messageInfo_AchieveGetReq.DiscardUnknown(m)
  1457. }
  1458. var xxx_messageInfo_AchieveGetReq proto.InternalMessageInfo
  1459. func (m *AchieveGetReq) GetAward() string {
  1460. if m != nil {
  1461. return m.Award
  1462. }
  1463. return ""
  1464. }
  1465. func (m *AchieveGetReq) GetMid() int64 {
  1466. if m != nil {
  1467. return m.Mid
  1468. }
  1469. return 0
  1470. }
  1471. type AchieveGetReply struct {
  1472. AwardToken string `protobuf:"bytes,1,opt,name=awardToken,proto3" json:"awardToken,omitempty"`
  1473. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1474. XXX_unrecognized []byte `json:"-"`
  1475. XXX_sizecache int32 `json:"-"`
  1476. }
  1477. func (m *AchieveGetReply) Reset() { *m = AchieveGetReply{} }
  1478. func (m *AchieveGetReply) String() string { return proto.CompactTextString(m) }
  1479. func (*AchieveGetReply) ProtoMessage() {}
  1480. func (*AchieveGetReply) Descriptor() ([]byte, []int) {
  1481. return fileDescriptor_8538d06337a1d811, []int{27}
  1482. }
  1483. func (m *AchieveGetReply) XXX_Unmarshal(b []byte) error {
  1484. return m.Unmarshal(b)
  1485. }
  1486. func (m *AchieveGetReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1487. if deterministic {
  1488. return xxx_messageInfo_AchieveGetReply.Marshal(b, m, deterministic)
  1489. } else {
  1490. b = b[:cap(b)]
  1491. n, err := m.MarshalTo(b)
  1492. if err != nil {
  1493. return nil, err
  1494. }
  1495. return b[:n], nil
  1496. }
  1497. }
  1498. func (m *AchieveGetReply) XXX_Merge(src proto.Message) {
  1499. xxx_messageInfo_AchieveGetReply.Merge(m, src)
  1500. }
  1501. func (m *AchieveGetReply) XXX_Size() int {
  1502. return m.Size()
  1503. }
  1504. func (m *AchieveGetReply) XXX_DiscardUnknown() {
  1505. xxx_messageInfo_AchieveGetReply.DiscardUnknown(m)
  1506. }
  1507. var xxx_messageInfo_AchieveGetReply proto.InternalMessageInfo
  1508. func (m *AchieveGetReply) GetAwardToken() string {
  1509. if m != nil {
  1510. return m.AwardToken
  1511. }
  1512. return ""
  1513. }
  1514. type AchieveReq struct {
  1515. AwardToken string `protobuf:"bytes,1,opt,name=awardToken,proto3" json:"awardToken,omitempty"`
  1516. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1517. XXX_unrecognized []byte `json:"-"`
  1518. XXX_sizecache int32 `json:"-"`
  1519. }
  1520. func (m *AchieveReq) Reset() { *m = AchieveReq{} }
  1521. func (m *AchieveReq) String() string { return proto.CompactTextString(m) }
  1522. func (*AchieveReq) ProtoMessage() {}
  1523. func (*AchieveReq) Descriptor() ([]byte, []int) {
  1524. return fileDescriptor_8538d06337a1d811, []int{28}
  1525. }
  1526. func (m *AchieveReq) XXX_Unmarshal(b []byte) error {
  1527. return m.Unmarshal(b)
  1528. }
  1529. func (m *AchieveReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1530. if deterministic {
  1531. return xxx_messageInfo_AchieveReq.Marshal(b, m, deterministic)
  1532. } else {
  1533. b = b[:cap(b)]
  1534. n, err := m.MarshalTo(b)
  1535. if err != nil {
  1536. return nil, err
  1537. }
  1538. return b[:n], nil
  1539. }
  1540. }
  1541. func (m *AchieveReq) XXX_Merge(src proto.Message) {
  1542. xxx_messageInfo_AchieveReq.Merge(m, src)
  1543. }
  1544. func (m *AchieveReq) XXX_Size() int {
  1545. return m.Size()
  1546. }
  1547. func (m *AchieveReq) XXX_DiscardUnknown() {
  1548. xxx_messageInfo_AchieveReq.DiscardUnknown(m)
  1549. }
  1550. var xxx_messageInfo_AchieveReq proto.InternalMessageInfo
  1551. func (m *AchieveReq) GetAwardToken() string {
  1552. if m != nil {
  1553. return m.AwardToken
  1554. }
  1555. return ""
  1556. }
  1557. type AchieveReply struct {
  1558. Award string `protobuf:"bytes,1,opt,name=award,proto3" json:"award,omitempty"`
  1559. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
  1560. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1561. XXX_unrecognized []byte `json:"-"`
  1562. XXX_sizecache int32 `json:"-"`
  1563. }
  1564. func (m *AchieveReply) Reset() { *m = AchieveReply{} }
  1565. func (m *AchieveReply) String() string { return proto.CompactTextString(m) }
  1566. func (*AchieveReply) ProtoMessage() {}
  1567. func (*AchieveReply) Descriptor() ([]byte, []int) {
  1568. return fileDescriptor_8538d06337a1d811, []int{29}
  1569. }
  1570. func (m *AchieveReply) XXX_Unmarshal(b []byte) error {
  1571. return m.Unmarshal(b)
  1572. }
  1573. func (m *AchieveReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1574. if deterministic {
  1575. return xxx_messageInfo_AchieveReply.Marshal(b, m, deterministic)
  1576. } else {
  1577. b = b[:cap(b)]
  1578. n, err := m.MarshalTo(b)
  1579. if err != nil {
  1580. return nil, err
  1581. }
  1582. return b[:n], nil
  1583. }
  1584. }
  1585. func (m *AchieveReply) XXX_Merge(src proto.Message) {
  1586. xxx_messageInfo_AchieveReply.Merge(m, src)
  1587. }
  1588. func (m *AchieveReply) XXX_Size() int {
  1589. return m.Size()
  1590. }
  1591. func (m *AchieveReply) XXX_DiscardUnknown() {
  1592. xxx_messageInfo_AchieveReply.DiscardUnknown(m)
  1593. }
  1594. var xxx_messageInfo_AchieveReply proto.InternalMessageInfo
  1595. func (m *AchieveReply) GetAward() string {
  1596. if m != nil {
  1597. return m.Award
  1598. }
  1599. return ""
  1600. }
  1601. func (m *AchieveReply) GetMid() int64 {
  1602. if m != nil {
  1603. return m.Mid
  1604. }
  1605. return 0
  1606. }
  1607. type FollowerNotifySettingReply struct {
  1608. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1609. Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
  1610. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1611. XXX_unrecognized []byte `json:"-"`
  1612. XXX_sizecache int32 `json:"-"`
  1613. }
  1614. func (m *FollowerNotifySettingReply) Reset() { *m = FollowerNotifySettingReply{} }
  1615. func (m *FollowerNotifySettingReply) String() string { return proto.CompactTextString(m) }
  1616. func (*FollowerNotifySettingReply) ProtoMessage() {}
  1617. func (*FollowerNotifySettingReply) Descriptor() ([]byte, []int) {
  1618. return fileDescriptor_8538d06337a1d811, []int{30}
  1619. }
  1620. func (m *FollowerNotifySettingReply) XXX_Unmarshal(b []byte) error {
  1621. return m.Unmarshal(b)
  1622. }
  1623. func (m *FollowerNotifySettingReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1624. if deterministic {
  1625. return xxx_messageInfo_FollowerNotifySettingReply.Marshal(b, m, deterministic)
  1626. } else {
  1627. b = b[:cap(b)]
  1628. n, err := m.MarshalTo(b)
  1629. if err != nil {
  1630. return nil, err
  1631. }
  1632. return b[:n], nil
  1633. }
  1634. }
  1635. func (m *FollowerNotifySettingReply) XXX_Merge(src proto.Message) {
  1636. xxx_messageInfo_FollowerNotifySettingReply.Merge(m, src)
  1637. }
  1638. func (m *FollowerNotifySettingReply) XXX_Size() int {
  1639. return m.Size()
  1640. }
  1641. func (m *FollowerNotifySettingReply) XXX_DiscardUnknown() {
  1642. xxx_messageInfo_FollowerNotifySettingReply.DiscardUnknown(m)
  1643. }
  1644. var xxx_messageInfo_FollowerNotifySettingReply proto.InternalMessageInfo
  1645. func (m *FollowerNotifySettingReply) GetMid() int64 {
  1646. if m != nil {
  1647. return m.Mid
  1648. }
  1649. return 0
  1650. }
  1651. func (m *FollowerNotifySettingReply) GetEnabled() bool {
  1652. if m != nil {
  1653. return m.Enabled
  1654. }
  1655. return false
  1656. }
  1657. type SameFollowingReq struct {
  1658. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1659. Mid2 int64 `protobuf:"varint,2,opt,name=mid2,proto3" json:"mid2,omitempty"`
  1660. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1661. XXX_unrecognized []byte `json:"-"`
  1662. XXX_sizecache int32 `json:"-"`
  1663. }
  1664. func (m *SameFollowingReq) Reset() { *m = SameFollowingReq{} }
  1665. func (m *SameFollowingReq) String() string { return proto.CompactTextString(m) }
  1666. func (*SameFollowingReq) ProtoMessage() {}
  1667. func (*SameFollowingReq) Descriptor() ([]byte, []int) {
  1668. return fileDescriptor_8538d06337a1d811, []int{31}
  1669. }
  1670. func (m *SameFollowingReq) XXX_Unmarshal(b []byte) error {
  1671. return m.Unmarshal(b)
  1672. }
  1673. func (m *SameFollowingReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1674. if deterministic {
  1675. return xxx_messageInfo_SameFollowingReq.Marshal(b, m, deterministic)
  1676. } else {
  1677. b = b[:cap(b)]
  1678. n, err := m.MarshalTo(b)
  1679. if err != nil {
  1680. return nil, err
  1681. }
  1682. return b[:n], nil
  1683. }
  1684. }
  1685. func (m *SameFollowingReq) XXX_Merge(src proto.Message) {
  1686. xxx_messageInfo_SameFollowingReq.Merge(m, src)
  1687. }
  1688. func (m *SameFollowingReq) XXX_Size() int {
  1689. return m.Size()
  1690. }
  1691. func (m *SameFollowingReq) XXX_DiscardUnknown() {
  1692. xxx_messageInfo_SameFollowingReq.DiscardUnknown(m)
  1693. }
  1694. var xxx_messageInfo_SameFollowingReq proto.InternalMessageInfo
  1695. func (m *SameFollowingReq) GetMid() int64 {
  1696. if m != nil {
  1697. return m.Mid
  1698. }
  1699. return 0
  1700. }
  1701. func (m *SameFollowingReq) GetMid2() int64 {
  1702. if m != nil {
  1703. return m.Mid2
  1704. }
  1705. return 0
  1706. }
  1707. func init() {
  1708. proto.RegisterType((*RelationReq)(nil), "relation.service.RelationReq")
  1709. proto.RegisterType((*FollowingReply)(nil), "relation.service.FollowingReply")
  1710. proto.RegisterType((*RelationsReq)(nil), "relation.service.RelationsReq")
  1711. proto.RegisterType((*FollowingMapReply)(nil), "relation.service.FollowingMapReply")
  1712. proto.RegisterMapType((map[int64]*FollowingReply)(nil), "relation.service.FollowingMapReply.FollowingMapEntry")
  1713. proto.RegisterType((*FollowingsReply)(nil), "relation.service.FollowingsReply")
  1714. proto.RegisterType((*MidReq)(nil), "relation.service.MidReq")
  1715. proto.RegisterType((*StatReply)(nil), "relation.service.StatReply")
  1716. proto.RegisterType((*MidsReq)(nil), "relation.service.MidsReq")
  1717. proto.RegisterType((*StatsReply)(nil), "relation.service.StatsReply")
  1718. proto.RegisterMapType((map[int64]*StatReply)(nil), "relation.service.StatsReply.StatReplyMapEntry")
  1719. proto.RegisterType((*FollowingReq)(nil), "relation.service.FollowingReq")
  1720. proto.RegisterMapType((map[string]string)(nil), "relation.service.FollowingReq.InfocEntry")
  1721. proto.RegisterType((*EmptyReply)(nil), "relation.service.EmptyReply")
  1722. proto.RegisterType((*TagIdReq)(nil), "relation.service.TagIdReq")
  1723. proto.RegisterType((*TagReply)(nil), "relation.service.TagReply")
  1724. proto.RegisterType((*TagCountReply)(nil), "relation.service.TagCountReply")
  1725. proto.RegisterType((*TagsCountReply)(nil), "relation.service.TagsCountReply")
  1726. proto.RegisterType((*UserTagReply)(nil), "relation.service.UserTagReply")
  1727. proto.RegisterMapType((map[int64]string)(nil), "relation.service.UserTagReply.TagsEntry")
  1728. proto.RegisterType((*TagReq)(nil), "relation.service.TagReq")
  1729. proto.RegisterType((*TagUpdateReq)(nil), "relation.service.TagUpdateReq")
  1730. proto.RegisterType((*TagDelReq)(nil), "relation.service.TagDelReq")
  1731. proto.RegisterType((*TagsMoveUsersReq)(nil), "relation.service.TagsMoveUsersReq")
  1732. proto.RegisterType((*PromptReq)(nil), "relation.service.PromptReq")
  1733. proto.RegisterType((*CreateTagReply)(nil), "relation.service.CreateTagReply")
  1734. proto.RegisterType((*PromptReply)(nil), "relation.service.PromptReply")
  1735. proto.RegisterType((*FollowersUnreadReply)(nil), "relation.service.FollowersUnreadReply")
  1736. proto.RegisterType((*FollowersUnreadCountReply)(nil), "relation.service.FollowersUnreadCountReply")
  1737. proto.RegisterType((*SpecialReply)(nil), "relation.service.SpecialReply")
  1738. proto.RegisterType((*AchieveGetReq)(nil), "relation.service.AchieveGetReq")
  1739. proto.RegisterType((*AchieveGetReply)(nil), "relation.service.AchieveGetReply")
  1740. proto.RegisterType((*AchieveReq)(nil), "relation.service.AchieveReq")
  1741. proto.RegisterType((*AchieveReply)(nil), "relation.service.AchieveReply")
  1742. proto.RegisterType((*FollowerNotifySettingReply)(nil), "relation.service.FollowerNotifySettingReply")
  1743. proto.RegisterType((*SameFollowingReq)(nil), "relation.service.SameFollowingReq")
  1744. }
  1745. func init() {
  1746. proto.RegisterFile("app/service/main/relation/api/api.proto", fileDescriptor_8538d06337a1d811)
  1747. }
  1748. var fileDescriptor_8538d06337a1d811 = []byte{
  1749. // 1727 bytes of a gzipped FileDescriptorProto
  1750. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0xcd, 0x6e, 0xdb, 0xc6,
  1751. 0x13, 0x87, 0x2c, 0x51, 0x1f, 0x23, 0xd9, 0x71, 0x08, 0x07, 0x7f, 0x59, 0x8e, 0x25, 0x85, 0x7f,
  1752. 0xb4, 0x71, 0x91, 0x58, 0x42, 0x1c, 0x24, 0x31, 0x8a, 0xa6, 0xad, 0x25, 0x3b, 0xb6, 0x93, 0x38,
  1753. 0x71, 0x69, 0x05, 0x01, 0x82, 0x16, 0xc6, 0x4a, 0x5c, 0xc9, 0x84, 0x29, 0x92, 0x21, 0x57, 0x36,
  1754. 0xf4, 0x00, 0x3d, 0x14, 0xbd, 0xf5, 0x89, 0x7a, 0x6b, 0x6f, 0x2d, 0xfa, 0x00, 0x42, 0xe1, 0xa3,
  1755. 0x1f, 0x21, 0xa7, 0x62, 0x77, 0xf9, 0x25, 0x8b, 0x94, 0xd4, 0x4a, 0x87, 0x88, 0xbb, 0xc3, 0x99,
  1756. 0xdf, 0xee, 0xcc, 0xce, 0xcc, 0xfe, 0x18, 0xc3, 0x7d, 0x64, 0x9a, 0x55, 0x1b, 0x5b, 0x17, 0x6a,
  1757. 0x0b, 0x57, 0xbb, 0x48, 0xd5, 0xab, 0x16, 0xd6, 0x10, 0x51, 0x0d, 0xbd, 0x8a, 0x4c, 0x95, 0xfe,
  1758. 0xab, 0x98, 0x96, 0x41, 0x0c, 0x71, 0xd9, 0x95, 0x57, 0x1c, 0xed, 0xc2, 0x66, 0x47, 0x25, 0x67,
  1759. 0xbd, 0x66, 0xa5, 0x65, 0x74, 0xab, 0x1d, 0xa3, 0x63, 0x54, 0x99, 0x62, 0xb3, 0xd7, 0x66, 0x33,
  1760. 0x36, 0x61, 0x23, 0x0e, 0x20, 0xbd, 0x84, 0xac, 0xec, 0x40, 0xc8, 0xf8, 0xa3, 0xb8, 0x0c, 0xf1,
  1761. 0xae, 0xaa, 0xe4, 0x63, 0xe5, 0xd8, 0x46, 0x5c, 0xa6, 0x43, 0x2a, 0x69, 0xab, 0x4a, 0x7e, 0x81,
  1762. 0x4b, 0xda, 0xaa, 0x22, 0xfe, 0x0f, 0x52, 0x16, 0x46, 0xda, 0xa9, 0x6a, 0xe6, 0xe3, 0xe5, 0xd8,
  1763. 0x46, 0x46, 0x4e, 0xd2, 0xe9, 0xa1, 0x29, 0xfd, 0xb6, 0x00, 0x4b, 0x2f, 0x0c, 0x4d, 0x33, 0x2e,
  1764. 0x55, 0xbd, 0x23, 0x63, 0x53, 0xeb, 0x8b, 0xab, 0x01, 0xbc, 0x5a, 0xea, 0x7a, 0x50, 0xa2, 0x53,
  1765. 0x0e, 0xfc, 0x00, 0x32, 0x88, 0x10, 0x4b, 0x6d, 0xf6, 0x08, 0x66, 0xf0, 0x8b, 0xb5, 0xc5, 0xeb,
  1766. 0x41, 0xc9, 0x17, 0xca, 0xfe, 0x50, 0x5c, 0x87, 0xa4, 0x6d, 0xf4, 0xac, 0x16, 0x66, 0x4b, 0x2e,
  1767. 0xd6, 0x84, 0xeb, 0x41, 0x29, 0xb6, 0x29, 0x3b, 0x42, 0xb1, 0x0e, 0x42, 0x8b, 0xa8, 0x5d, 0x9c,
  1768. 0x4f, 0xb0, 0x85, 0x36, 0xaf, 0x06, 0x25, 0xa1, 0xde, 0x50, 0xbb, 0x98, 0xa9, 0x7d, 0x1a, 0x94,
  1769. 0xd6, 0x3a, 0xc6, 0x66, 0xcb, 0xe8, 0x76, 0x0d, 0xbd, 0xaa, 0xa9, 0x4d, 0x0b, 0x59, 0xfd, 0x2a,
  1770. 0xd5, 0xaf, 0x50, 0x1d, 0x99, 0xdb, 0x8a, 0xfb, 0x20, 0x74, 0x19, 0x88, 0xc0, 0x40, 0x1e, 0x51,
  1771. 0x90, 0x23, 0x07, 0x84, 0xbf, 0x99, 0x08, 0xc4, 0xb4, 0xa8, 0xd3, 0x04, 0x75, 0xf2, 0xc9, 0x72,
  1772. 0xdc, 0x75, 0x9a, 0xa0, 0x8e, 0x4c, 0x7f, 0xc4, 0xcf, 0x20, 0x65, 0x9b, 0xb8, 0xa5, 0x22, 0x2d,
  1773. 0x9f, 0x2a, 0xc7, 0x36, 0x84, 0x5a, 0xf6, 0x7a, 0x50, 0x72, 0x45, 0xb2, 0x3b, 0x90, 0x5e, 0x41,
  1774. 0xce, 0x3d, 0x15, 0x7b, 0xc2, 0xb1, 0xc4, 0x27, 0x1e, 0xcb, 0x5f, 0x31, 0xb8, 0xed, 0x1d, 0xcb,
  1775. 0x11, 0x32, 0xf9, 0xc9, 0x7c, 0x80, 0xc5, 0xb6, 0x2b, 0x3c, 0xed, 0x22, 0x33, 0x1f, 0x2b, 0xc7,
  1776. 0x37, 0xb2, 0x5b, 0x4f, 0x2a, 0x37, 0x33, 0xaa, 0x32, 0x62, 0x3b, 0x24, 0xd9, 0xd3, 0x89, 0xd5,
  1777. 0x97, 0x73, 0xed, 0x80, 0xa8, 0x80, 0x86, 0x17, 0x64, 0x2a, 0x74, 0xc7, 0xe7, 0xb8, 0xef, 0xfa,
  1778. 0x70, 0x8e, 0xfb, 0xe2, 0x53, 0x10, 0x2e, 0x90, 0xd6, 0xe3, 0xa7, 0x9f, 0xdd, 0x2a, 0x8f, 0x59,
  1779. 0x9a, 0xad, 0x2b, 0x73, 0xf5, 0x2f, 0x17, 0xb6, 0x63, 0xd2, 0x07, 0xb8, 0xe5, 0xbd, 0xb4, 0xb9,
  1780. 0x47, 0xfb, 0xb0, 0xe4, 0x7b, 0xa4, 0xa9, 0x36, 0x71, 0x5c, 0x9a, 0x8c, 0xeb, 0x47, 0xe2, 0xb5,
  1781. 0x6a, 0x13, 0xe9, 0x31, 0x24, 0x8f, 0x54, 0x25, 0x3c, 0xee, 0x81, 0x28, 0x2f, 0x0c, 0x45, 0xf9,
  1782. 0x8f, 0x05, 0xc8, 0x9c, 0x10, 0x44, 0xa6, 0xc9, 0x7b, 0x6f, 0x39, 0x5e, 0x56, 0x3c, 0xef, 0x3d,
  1783. 0xa1, 0xec, 0x0f, 0x69, 0xbe, 0x5c, 0x9e, 0xa9, 0xb6, 0x89, 0x2d, 0x76, 0xa8, 0x71, 0x9e, 0x2f,
  1784. 0x8e, 0x48, 0x76, 0x07, 0x62, 0x09, 0x84, 0xa6, 0x86, 0x5a, 0xe7, 0x4e, 0xfe, 0x67, 0x68, 0xc6,
  1785. 0x32, 0x81, 0xcc, 0x1f, 0xe2, 0x06, 0xa4, 0x39, 0x28, 0xb6, 0x9c, 0xf4, 0xce, 0x5d, 0x0f, 0x4a,
  1786. 0x9e, 0x4c, 0xf6, 0x46, 0x7e, 0x29, 0x25, 0x67, 0x28, 0xa5, 0xba, 0x5b, 0x4a, 0x29, 0x1f, 0xe4,
  1787. 0x68, 0x7a, 0x10, 0x66, 0x2b, 0x3d, 0x85, 0xd4, 0x91, 0xaa, 0xb0, 0xfc, 0x17, 0x21, 0xd1, 0x55,
  1788. 0x15, 0x9b, 0x1d, 0x68, 0x5c, 0x66, 0xe3, 0xe8, 0x93, 0xf8, 0x35, 0x06, 0x40, 0x4f, 0xc2, 0x49,
  1789. 0x8b, 0x06, 0x2c, 0xd9, 0x04, 0x91, 0x53, 0x8b, 0xce, 0x02, 0x99, 0x5e, 0x19, 0x4d, 0x0b, 0xdf,
  1790. 0xaa, 0xe2, 0x1d, 0xa5, 0x9f, 0xe2, 0x76, 0x40, 0x54, 0xf8, 0x1e, 0x6e, 0x8f, 0xa8, 0x84, 0xa4,
  1791. 0xf8, 0xa3, 0xe1, 0x14, 0x5f, 0x0b, 0x5f, 0x73, 0x24, 0xbb, 0x7f, 0x5e, 0x80, 0x5c, 0x20, 0x47,
  1792. 0xa7, 0xeb, 0xcb, 0xf7, 0x6e, 0xf4, 0xc8, 0xcc, 0xa7, 0x41, 0x49, 0xe8, 0xa9, 0x3a, 0xd9, 0xf6,
  1793. 0xfa, 0x64, 0x20, 0x66, 0x89, 0x60, 0xcc, 0xc4, 0x32, 0x24, 0x51, 0x8b, 0xee, 0x8b, 0x65, 0x87,
  1794. 0x50, 0x4b, 0x7f, 0x1a, 0x94, 0x12, 0xdc, 0x94, 0xcb, 0xc5, 0x6f, 0x40, 0x50, 0xf5, 0xb6, 0xd1,
  1795. 0x62, 0x6d, 0x2d, 0xbb, 0xf5, 0xc5, 0xd8, 0xa2, 0xfa, 0x58, 0x39, 0xa4, 0xba, 0x3c, 0x70, 0xdc,
  1796. 0xae, 0xb0, 0x0d, 0xe0, 0x0b, 0x83, 0xa1, 0xca, 0xf0, 0x50, 0xad, 0x04, 0x43, 0x95, 0x09, 0x46,
  1797. 0x23, 0x07, 0xb0, 0xd7, 0x35, 0x49, 0x9f, 0x85, 0x49, 0x7a, 0x0d, 0xe9, 0x06, 0xea, 0x1c, 0x46,
  1798. 0xd4, 0xe7, 0x1d, 0x48, 0x12, 0xd4, 0x39, 0xf5, 0x22, 0x23, 0x10, 0xaa, 0x1b, 0xdd, 0x1c, 0x8b,
  1799. 0x0c, 0x8d, 0x67, 0x4a, 0x48, 0x96, 0x49, 0x06, 0x2c, 0x36, 0x50, 0xa7, 0x6e, 0xf4, 0x74, 0xa7,
  1800. 0xb2, 0x4b, 0x40, 0x21, 0xbd, 0xda, 0x66, 0xa5, 0xc6, 0x04, 0x32, 0x7f, 0x88, 0x77, 0x21, 0xa1,
  1801. 0xa3, 0xae, 0xe3, 0x46, 0x2d, 0x7d, 0x3d, 0x28, 0xb1, 0xb9, 0xcc, 0x7e, 0xa9, 0x79, 0x8b, 0x82,
  1802. 0x39, 0xe5, 0xcc, 0xcc, 0x99, 0x40, 0xe6, 0x0f, 0xe9, 0x3d, 0x2c, 0x35, 0x50, 0xc7, 0x0e, 0xac,
  1803. 0xb8, 0x07, 0x4b, 0xd4, 0x25, 0xf6, 0x3a, 0xd8, 0xd7, 0x4a, 0xa3, 0x47, 0x30, 0xb4, 0x55, 0x39,
  1804. 0x47, 0x9c, 0x29, 0xeb, 0x6a, 0x3f, 0xc6, 0x20, 0xf7, 0xce, 0xc6, 0x96, 0xe7, 0xee, 0x57, 0x90,
  1805. 0x20, 0xa8, 0x63, 0x3b, 0x68, 0x1b, 0xa3, 0x68, 0x41, 0x6d, 0x0a, 0x6d, 0xf3, 0xf3, 0x64, 0x56,
  1806. 0x85, 0x67, 0x90, 0xf1, 0x44, 0x21, 0x89, 0x1f, 0x7d, 0x9a, 0x7b, 0x90, 0x64, 0xa0, 0x11, 0x49,
  1807. 0x4d, 0x6f, 0x4e, 0x6e, 0xc3, 0x2e, 0xcc, 0xc8, 0x83, 0x6b, 0x42, 0xae, 0x81, 0x3a, 0xef, 0x4c,
  1808. 0x05, 0x11, 0xfc, 0xaf, 0x52, 0x61, 0x19, 0xe2, 0x3a, 0xbe, 0x74, 0xd0, 0xe8, 0x30, 0xb2, 0x2a,
  1809. 0xa4, 0x23, 0xe6, 0xe3, 0x2e, 0xd6, 0xe6, 0x93, 0x6b, 0xbf, 0xc4, 0x60, 0x99, 0xc6, 0xec, 0xc8,
  1810. 0xb8, 0xc0, 0x34, 0xb6, 0x11, 0x57, 0xfb, 0x1a, 0x64, 0x9a, 0xb8, 0x6d, 0x58, 0xd8, 0x47, 0x4e,
  1811. 0x73, 0xc1, 0xa1, 0x22, 0x4a, 0xb0, 0x88, 0xda, 0x04, 0x5b, 0xa7, 0x7c, 0x65, 0xdb, 0x59, 0x22,
  1812. 0xcb, 0x84, 0xac, 0x2e, 0x6c, 0x9a, 0xc7, 0x6d, 0xfa, 0x8a, 0x3b, 0xc3, 0xc6, 0xc1, 0x4d, 0x09,
  1813. 0x43, 0x9b, 0x7a, 0x0b, 0x99, 0x63, 0xcb, 0xe8, 0x9a, 0x64, 0xda, 0x36, 0x53, 0x04, 0xa1, 0x49,
  1814. 0xfa, 0x26, 0xef, 0x32, 0xc1, 0x4e, 0xc1, 0xc5, 0xd2, 0x7d, 0x58, 0xaa, 0x5b, 0x18, 0x11, 0xec,
  1815. 0x25, 0x9a, 0x1f, 0xa7, 0x58, 0x20, 0x4e, 0xd2, 0x7d, 0xc8, 0xba, 0x2b, 0x53, 0xad, 0x3c, 0xa4,
  1816. 0xec, 0x5e, 0xab, 0x85, 0x6d, 0x9b, 0xa9, 0xa5, 0x65, 0x77, 0x2a, 0x3d, 0x81, 0x95, 0x17, 0xce,
  1817. 0xf5, 0x64, 0xbf, 0xd3, 0x2d, 0x8c, 0x14, 0x6e, 0xb1, 0x0e, 0x70, 0x86, 0xec, 0xd3, 0x1e, 0x13,
  1818. 0x39, 0x46, 0x99, 0x33, 0xe4, 0xe8, 0x48, 0x5f, 0xc3, 0xea, 0x0d, 0xb3, 0x40, 0x51, 0xdd, 0x83,
  1819. 0x1c, 0xb7, 0xe3, 0x75, 0xe5, 0xec, 0x2c, 0xdb, 0xf3, 0xf5, 0x24, 0x09, 0x72, 0x27, 0x0e, 0x31,
  1820. 0x8b, 0x6c, 0x0f, 0xcf, 0x60, 0x71, 0xa7, 0x75, 0xa6, 0xe2, 0x0b, 0xbc, 0x8f, 0x59, 0x04, 0x57,
  1821. 0x40, 0x40, 0x97, 0xc8, 0x52, 0x9c, 0xce, 0xc6, 0x27, 0x6e, 0x5c, 0x17, 0xbc, 0xb8, 0x4a, 0x8f,
  1822. 0xe0, 0x56, 0xd0, 0x90, 0xe2, 0x17, 0x01, 0x98, 0x76, 0xc3, 0x38, 0xc7, 0xba, 0x63, 0x1f, 0x90,
  1823. 0x48, 0x0f, 0x01, 0x1c, 0x13, 0xba, 0xd0, 0x24, 0xed, 0xa7, 0x90, 0xf3, 0xb4, 0x29, 0xfa, 0xb4,
  1824. 0x1b, 0x3b, 0x80, 0x82, 0x1b, 0xb5, 0x37, 0x06, 0x51, 0xdb, 0xfd, 0x13, 0x4c, 0x88, 0xc7, 0xe7,
  1825. 0x47, 0x13, 0x24, 0x0f, 0x29, 0xac, 0xa3, 0xa6, 0x86, 0x39, 0x4a, 0x5a, 0x76, 0xa7, 0xd2, 0x36,
  1826. 0x2c, 0x9f, 0xa0, 0x2e, 0x9e, 0x70, 0x8f, 0xf1, 0xa8, 0x6e, 0x39, 0x5b, 0x60, 0xe3, 0xad, 0x9f,
  1827. 0xf2, 0x90, 0x76, 0xf9, 0xaf, 0xf8, 0x2a, 0x30, 0x5e, 0x1f, 0x6d, 0x52, 0x81, 0xaf, 0x97, 0xc2,
  1828. 0x44, 0xa6, 0x27, 0x1e, 0x43, 0xc6, 0x23, 0xd6, 0x62, 0x31, 0x1a, 0x8d, 0x96, 0x66, 0xe1, 0xff,
  1829. 0x53, 0x70, 0x61, 0xf1, 0x39, 0x24, 0xe8, 0x15, 0x2e, 0xe6, 0x47, 0x95, 0x39, 0x89, 0x2c, 0x8c,
  1830. 0xbb, 0xf4, 0xc5, 0x6f, 0x41, 0x60, 0xac, 0x43, 0x5c, 0x0d, 0xb5, 0x67, 0xfb, 0xb8, 0x3b, 0x8e,
  1831. 0xa9, 0x88, 0x87, 0x00, 0x3b, 0x84, 0x60, 0x9d, 0xfb, 0x14, 0xbd, 0x8d, 0x7b, 0x63, 0xbc, 0xf1,
  1832. 0xa1, 0x7c, 0xd1, 0x6c, 0x50, 0xaf, 0x21, 0xb7, 0xa3, 0x28, 0x9e, 0x34, 0x2c, 0xd6, 0xc1, 0xc4,
  1833. 0x08, 0xf3, 0xd1, 0xbf, 0xf3, 0x29, 0xda, 0x2e, 0xd6, 0xe6, 0x85, 0xb6, 0x0f, 0xe9, 0xf7, 0x9c,
  1834. 0x38, 0xcf, 0xe8, 0xe4, 0x4b, 0x80, 0x1d, 0x45, 0x71, 0xb0, 0x66, 0xdc, 0xd4, 0x4b, 0x80, 0x5d,
  1835. 0xac, 0xcd, 0x07, 0x6b, 0x0f, 0x92, 0x35, 0x4a, 0xfb, 0x67, 0x74, 0xef, 0x00, 0xd2, 0x3b, 0x8a,
  1836. 0xc2, 0x90, 0x66, 0xdc, 0xd0, 0x01, 0xa4, 0x77, 0xb1, 0x36, 0x1f, 0xa4, 0x8c, 0xd7, 0xd4, 0x67,
  1837. 0xf3, 0xee, 0x15, 0x64, 0xbd, 0x9c, 0x9a, 0x39, 0xe2, 0xcf, 0x21, 0xde, 0x40, 0x1d, 0xb1, 0x10,
  1838. 0x4a, 0xc9, 0x18, 0x57, 0x2d, 0x84, 0xbf, 0xe3, 0xe6, 0x35, 0x48, 0x50, 0x62, 0x30, 0xc6, 0xa1,
  1839. 0x72, 0xa8, 0x75, 0x90, 0x26, 0x1e, 0x40, 0xca, 0x21, 0x6c, 0x93, 0xda, 0x64, 0x71, 0x3c, 0xd5,
  1840. 0x13, 0xf7, 0x21, 0xe3, 0xdd, 0xe0, 0x61, 0x5b, 0xe2, 0xf4, 0x2d, 0x6c, 0x4b, 0x37, 0x2e, 0xfe,
  1841. 0x43, 0xc8, 0x70, 0x82, 0x46, 0x81, 0x8a, 0xa1, 0x40, 0x1e, 0x81, 0x9b, 0x10, 0xe0, 0x3a, 0x24,
  1842. 0x77, 0xb1, 0x46, 0x71, 0xd6, 0x42, 0x71, 0x38, 0x49, 0x9b, 0x00, 0x72, 0xcc, 0x38, 0xa3, 0xbd,
  1843. 0xa3, 0x28, 0x8c, 0x7e, 0x89, 0x52, 0x78, 0x50, 0x83, 0xfc, 0x6c, 0x02, 0xe2, 0x77, 0xec, 0xf3,
  1844. 0xc0, 0xae, 0x1b, 0x66, 0x7f, 0xce, 0x90, 0x9e, 0xc5, 0x1c, 0x20, 0x77, 0x21, 0xc9, 0x99, 0x56,
  1845. 0x58, 0xf0, 0x3c, 0xf6, 0x57, 0x58, 0x8f, 0x7e, 0xc9, 0x13, 0x2c, 0x5b, 0xd7, 0x0c, 0x1b, 0x4f,
  1846. 0x03, 0x35, 0xb1, 0xd7, 0xed, 0x28, 0x8a, 0x43, 0xae, 0xe6, 0xd2, 0x37, 0xe7, 0x83, 0x55, 0x87,
  1847. 0x94, 0x0b, 0x14, 0x5d, 0x89, 0x21, 0x4b, 0x0c, 0xd1, 0xc4, 0x13, 0xf7, 0x7f, 0xa6, 0x3c, 0xda,
  1848. 0x39, 0x06, 0xec, 0xf3, 0xa8, 0xfd, 0xde, 0xa0, 0xba, 0x3f, 0x8c, 0x50, 0x60, 0x56, 0xf9, 0x63,
  1849. 0x90, 0x1f, 0x4c, 0x44, 0x0e, 0xf4, 0x8e, 0x63, 0x8f, 0x5a, 0xee, 0x63, 0x22, 0x86, 0x7c, 0x58,
  1850. 0x0e, 0x91, 0xdc, 0xb0, 0xee, 0x7a, 0x93, 0xcc, 0xee, 0x43, 0xca, 0x11, 0x89, 0x77, 0x23, 0xb5,
  1851. 0x23, 0xc2, 0x39, 0xc4, 0x5b, 0xdf, 0xc0, 0x8a, 0x8c, 0x6d, 0x4c, 0xa6, 0x8f, 0xe9, 0xf8, 0x33,
  1852. 0x3e, 0x81, 0xd5, 0x30, 0xbc, 0x49, 0xe1, 0x1c, 0x0f, 0xfa, 0x16, 0xee, 0xec, 0xaa, 0x36, 0xa5,
  1853. 0xbd, 0xc3, 0xdc, 0xf9, 0x3f, 0x03, 0xbe, 0x81, 0x95, 0x3d, 0x7d, 0x8e, 0x78, 0xa7, 0x70, 0x27,
  1854. 0x94, 0xd5, 0x8f, 0x01, 0x7c, 0x18, 0x9d, 0x40, 0x21, 0x1f, 0x06, 0xef, 0x61, 0x69, 0x88, 0xec,
  1855. 0x87, 0xb6, 0xad, 0x9b, 0x9f, 0x03, 0x53, 0x5c, 0xd3, 0xb5, 0xdb, 0xbf, 0x5f, 0x15, 0x63, 0x7f,
  1856. 0x5e, 0x15, 0x63, 0x7f, 0x5f, 0x15, 0x63, 0x1f, 0xe2, 0xc8, 0x54, 0x9b, 0x49, 0xf6, 0xa7, 0x8b,
  1857. 0xc7, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xb4, 0xba, 0x58, 0x9d, 0x26, 0x19, 0x00, 0x00,
  1858. }
  1859. // Reference imports to suppress errors if they are not otherwise used.
  1860. var _ context.Context
  1861. var _ grpc.ClientConn
  1862. // This is a compile-time assertion to ensure that this generated file
  1863. // is compatible with the grpc package it is being compiled against.
  1864. const _ = grpc.SupportPackageIsVersion4
  1865. // RelationClient is the client API for Relation service.
  1866. //
  1867. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1868. type RelationClient interface {
  1869. Relation(ctx context.Context, in *RelationReq, opts ...grpc.CallOption) (*FollowingReply, error)
  1870. Relations(ctx context.Context, in *RelationsReq, opts ...grpc.CallOption) (*FollowingMapReply, error)
  1871. Stat(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*StatReply, error)
  1872. Stats(ctx context.Context, in *MidsReq, opts ...grpc.CallOption) (*StatsReply, error)
  1873. Attentions(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowingsReply, error)
  1874. Followings(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowingsReply, error)
  1875. AddFollowing(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1876. DelFollowing(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1877. Whispers(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowingsReply, error)
  1878. AddWhisper(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1879. DelWhisper(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1880. Blacks(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowingsReply, error)
  1881. AddBlack(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1882. DelBlack(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1883. Followers(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowingsReply, error)
  1884. DelFollower(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1885. Tag(ctx context.Context, in *TagIdReq, opts ...grpc.CallOption) (*TagReply, error)
  1886. Tags(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*TagsCountReply, error)
  1887. UserTag(ctx context.Context, in *RelationReq, opts ...grpc.CallOption) (*UserTagReply, error)
  1888. CreateTag(ctx context.Context, in *TagReq, opts ...grpc.CallOption) (*CreateTagReply, error)
  1889. UpdateTag(ctx context.Context, in *TagUpdateReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1890. DelTag(ctx context.Context, in *TagDelReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1891. TagsAddUsers(ctx context.Context, in *TagsMoveUsersReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1892. TagsCopyUsers(ctx context.Context, in *TagsMoveUsersReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1893. TagsMoveUsers(ctx context.Context, in *TagsMoveUsersReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1894. Prompt(ctx context.Context, in *PromptReq, opts ...grpc.CallOption) (*PromptReply, error)
  1895. ClosePrompt(ctx context.Context, in *PromptReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1896. AddSpecial(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1897. DelSpecial(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1898. Special(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*SpecialReply, error)
  1899. FollowersUnread(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowersUnreadReply, error)
  1900. FollowersUnreadCount(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowersUnreadCountReply, error)
  1901. AchieveGet(ctx context.Context, in *AchieveGetReq, opts ...grpc.CallOption) (*AchieveGetReply, error)
  1902. Achieve(ctx context.Context, in *AchieveReq, opts ...grpc.CallOption) (*AchieveReply, error)
  1903. ResetFollowersUnread(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1904. ResetFollowersUnreadCount(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1905. DisableFollowerNotify(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1906. EnableFollowerNotify(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*EmptyReply, error)
  1907. FollowerNotifySetting(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowerNotifySettingReply, error)
  1908. SameFollowings(ctx context.Context, in *SameFollowingReq, opts ...grpc.CallOption) (*FollowingsReply, error)
  1909. }
  1910. type relationClient struct {
  1911. cc *grpc.ClientConn
  1912. }
  1913. func NewRelationClient(cc *grpc.ClientConn) RelationClient {
  1914. return &relationClient{cc}
  1915. }
  1916. func (c *relationClient) Relation(ctx context.Context, in *RelationReq, opts ...grpc.CallOption) (*FollowingReply, error) {
  1917. out := new(FollowingReply)
  1918. err := c.cc.Invoke(ctx, "/relation.service.Relation/Relation", in, out, opts...)
  1919. if err != nil {
  1920. return nil, err
  1921. }
  1922. return out, nil
  1923. }
  1924. func (c *relationClient) Relations(ctx context.Context, in *RelationsReq, opts ...grpc.CallOption) (*FollowingMapReply, error) {
  1925. out := new(FollowingMapReply)
  1926. err := c.cc.Invoke(ctx, "/relation.service.Relation/Relations", in, out, opts...)
  1927. if err != nil {
  1928. return nil, err
  1929. }
  1930. return out, nil
  1931. }
  1932. func (c *relationClient) Stat(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*StatReply, error) {
  1933. out := new(StatReply)
  1934. err := c.cc.Invoke(ctx, "/relation.service.Relation/Stat", in, out, opts...)
  1935. if err != nil {
  1936. return nil, err
  1937. }
  1938. return out, nil
  1939. }
  1940. func (c *relationClient) Stats(ctx context.Context, in *MidsReq, opts ...grpc.CallOption) (*StatsReply, error) {
  1941. out := new(StatsReply)
  1942. err := c.cc.Invoke(ctx, "/relation.service.Relation/Stats", in, out, opts...)
  1943. if err != nil {
  1944. return nil, err
  1945. }
  1946. return out, nil
  1947. }
  1948. func (c *relationClient) Attentions(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowingsReply, error) {
  1949. out := new(FollowingsReply)
  1950. err := c.cc.Invoke(ctx, "/relation.service.Relation/Attentions", in, out, opts...)
  1951. if err != nil {
  1952. return nil, err
  1953. }
  1954. return out, nil
  1955. }
  1956. func (c *relationClient) Followings(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowingsReply, error) {
  1957. out := new(FollowingsReply)
  1958. err := c.cc.Invoke(ctx, "/relation.service.Relation/Followings", in, out, opts...)
  1959. if err != nil {
  1960. return nil, err
  1961. }
  1962. return out, nil
  1963. }
  1964. func (c *relationClient) AddFollowing(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  1965. out := new(EmptyReply)
  1966. err := c.cc.Invoke(ctx, "/relation.service.Relation/AddFollowing", in, out, opts...)
  1967. if err != nil {
  1968. return nil, err
  1969. }
  1970. return out, nil
  1971. }
  1972. func (c *relationClient) DelFollowing(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  1973. out := new(EmptyReply)
  1974. err := c.cc.Invoke(ctx, "/relation.service.Relation/DelFollowing", in, out, opts...)
  1975. if err != nil {
  1976. return nil, err
  1977. }
  1978. return out, nil
  1979. }
  1980. func (c *relationClient) Whispers(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowingsReply, error) {
  1981. out := new(FollowingsReply)
  1982. err := c.cc.Invoke(ctx, "/relation.service.Relation/Whispers", in, out, opts...)
  1983. if err != nil {
  1984. return nil, err
  1985. }
  1986. return out, nil
  1987. }
  1988. func (c *relationClient) AddWhisper(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  1989. out := new(EmptyReply)
  1990. err := c.cc.Invoke(ctx, "/relation.service.Relation/AddWhisper", in, out, opts...)
  1991. if err != nil {
  1992. return nil, err
  1993. }
  1994. return out, nil
  1995. }
  1996. func (c *relationClient) DelWhisper(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  1997. out := new(EmptyReply)
  1998. err := c.cc.Invoke(ctx, "/relation.service.Relation/DelWhisper", in, out, opts...)
  1999. if err != nil {
  2000. return nil, err
  2001. }
  2002. return out, nil
  2003. }
  2004. func (c *relationClient) Blacks(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowingsReply, error) {
  2005. out := new(FollowingsReply)
  2006. err := c.cc.Invoke(ctx, "/relation.service.Relation/Blacks", in, out, opts...)
  2007. if err != nil {
  2008. return nil, err
  2009. }
  2010. return out, nil
  2011. }
  2012. func (c *relationClient) AddBlack(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2013. out := new(EmptyReply)
  2014. err := c.cc.Invoke(ctx, "/relation.service.Relation/AddBlack", in, out, opts...)
  2015. if err != nil {
  2016. return nil, err
  2017. }
  2018. return out, nil
  2019. }
  2020. func (c *relationClient) DelBlack(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2021. out := new(EmptyReply)
  2022. err := c.cc.Invoke(ctx, "/relation.service.Relation/DelBlack", in, out, opts...)
  2023. if err != nil {
  2024. return nil, err
  2025. }
  2026. return out, nil
  2027. }
  2028. func (c *relationClient) Followers(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowingsReply, error) {
  2029. out := new(FollowingsReply)
  2030. err := c.cc.Invoke(ctx, "/relation.service.Relation/Followers", in, out, opts...)
  2031. if err != nil {
  2032. return nil, err
  2033. }
  2034. return out, nil
  2035. }
  2036. func (c *relationClient) DelFollower(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2037. out := new(EmptyReply)
  2038. err := c.cc.Invoke(ctx, "/relation.service.Relation/DelFollower", in, out, opts...)
  2039. if err != nil {
  2040. return nil, err
  2041. }
  2042. return out, nil
  2043. }
  2044. func (c *relationClient) Tag(ctx context.Context, in *TagIdReq, opts ...grpc.CallOption) (*TagReply, error) {
  2045. out := new(TagReply)
  2046. err := c.cc.Invoke(ctx, "/relation.service.Relation/Tag", in, out, opts...)
  2047. if err != nil {
  2048. return nil, err
  2049. }
  2050. return out, nil
  2051. }
  2052. func (c *relationClient) Tags(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*TagsCountReply, error) {
  2053. out := new(TagsCountReply)
  2054. err := c.cc.Invoke(ctx, "/relation.service.Relation/Tags", in, out, opts...)
  2055. if err != nil {
  2056. return nil, err
  2057. }
  2058. return out, nil
  2059. }
  2060. func (c *relationClient) UserTag(ctx context.Context, in *RelationReq, opts ...grpc.CallOption) (*UserTagReply, error) {
  2061. out := new(UserTagReply)
  2062. err := c.cc.Invoke(ctx, "/relation.service.Relation/UserTag", in, out, opts...)
  2063. if err != nil {
  2064. return nil, err
  2065. }
  2066. return out, nil
  2067. }
  2068. func (c *relationClient) CreateTag(ctx context.Context, in *TagReq, opts ...grpc.CallOption) (*CreateTagReply, error) {
  2069. out := new(CreateTagReply)
  2070. err := c.cc.Invoke(ctx, "/relation.service.Relation/CreateTag", in, out, opts...)
  2071. if err != nil {
  2072. return nil, err
  2073. }
  2074. return out, nil
  2075. }
  2076. func (c *relationClient) UpdateTag(ctx context.Context, in *TagUpdateReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2077. out := new(EmptyReply)
  2078. err := c.cc.Invoke(ctx, "/relation.service.Relation/UpdateTag", in, out, opts...)
  2079. if err != nil {
  2080. return nil, err
  2081. }
  2082. return out, nil
  2083. }
  2084. func (c *relationClient) DelTag(ctx context.Context, in *TagDelReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2085. out := new(EmptyReply)
  2086. err := c.cc.Invoke(ctx, "/relation.service.Relation/DelTag", in, out, opts...)
  2087. if err != nil {
  2088. return nil, err
  2089. }
  2090. return out, nil
  2091. }
  2092. func (c *relationClient) TagsAddUsers(ctx context.Context, in *TagsMoveUsersReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2093. out := new(EmptyReply)
  2094. err := c.cc.Invoke(ctx, "/relation.service.Relation/TagsAddUsers", in, out, opts...)
  2095. if err != nil {
  2096. return nil, err
  2097. }
  2098. return out, nil
  2099. }
  2100. func (c *relationClient) TagsCopyUsers(ctx context.Context, in *TagsMoveUsersReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2101. out := new(EmptyReply)
  2102. err := c.cc.Invoke(ctx, "/relation.service.Relation/TagsCopyUsers", in, out, opts...)
  2103. if err != nil {
  2104. return nil, err
  2105. }
  2106. return out, nil
  2107. }
  2108. func (c *relationClient) TagsMoveUsers(ctx context.Context, in *TagsMoveUsersReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2109. out := new(EmptyReply)
  2110. err := c.cc.Invoke(ctx, "/relation.service.Relation/TagsMoveUsers", in, out, opts...)
  2111. if err != nil {
  2112. return nil, err
  2113. }
  2114. return out, nil
  2115. }
  2116. func (c *relationClient) Prompt(ctx context.Context, in *PromptReq, opts ...grpc.CallOption) (*PromptReply, error) {
  2117. out := new(PromptReply)
  2118. err := c.cc.Invoke(ctx, "/relation.service.Relation/Prompt", in, out, opts...)
  2119. if err != nil {
  2120. return nil, err
  2121. }
  2122. return out, nil
  2123. }
  2124. func (c *relationClient) ClosePrompt(ctx context.Context, in *PromptReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2125. out := new(EmptyReply)
  2126. err := c.cc.Invoke(ctx, "/relation.service.Relation/ClosePrompt", in, out, opts...)
  2127. if err != nil {
  2128. return nil, err
  2129. }
  2130. return out, nil
  2131. }
  2132. func (c *relationClient) AddSpecial(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2133. out := new(EmptyReply)
  2134. err := c.cc.Invoke(ctx, "/relation.service.Relation/AddSpecial", in, out, opts...)
  2135. if err != nil {
  2136. return nil, err
  2137. }
  2138. return out, nil
  2139. }
  2140. func (c *relationClient) DelSpecial(ctx context.Context, in *FollowingReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2141. out := new(EmptyReply)
  2142. err := c.cc.Invoke(ctx, "/relation.service.Relation/DelSpecial", in, out, opts...)
  2143. if err != nil {
  2144. return nil, err
  2145. }
  2146. return out, nil
  2147. }
  2148. func (c *relationClient) Special(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*SpecialReply, error) {
  2149. out := new(SpecialReply)
  2150. err := c.cc.Invoke(ctx, "/relation.service.Relation/Special", in, out, opts...)
  2151. if err != nil {
  2152. return nil, err
  2153. }
  2154. return out, nil
  2155. }
  2156. func (c *relationClient) FollowersUnread(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowersUnreadReply, error) {
  2157. out := new(FollowersUnreadReply)
  2158. err := c.cc.Invoke(ctx, "/relation.service.Relation/FollowersUnread", in, out, opts...)
  2159. if err != nil {
  2160. return nil, err
  2161. }
  2162. return out, nil
  2163. }
  2164. func (c *relationClient) FollowersUnreadCount(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowersUnreadCountReply, error) {
  2165. out := new(FollowersUnreadCountReply)
  2166. err := c.cc.Invoke(ctx, "/relation.service.Relation/FollowersUnreadCount", in, out, opts...)
  2167. if err != nil {
  2168. return nil, err
  2169. }
  2170. return out, nil
  2171. }
  2172. func (c *relationClient) AchieveGet(ctx context.Context, in *AchieveGetReq, opts ...grpc.CallOption) (*AchieveGetReply, error) {
  2173. out := new(AchieveGetReply)
  2174. err := c.cc.Invoke(ctx, "/relation.service.Relation/AchieveGet", in, out, opts...)
  2175. if err != nil {
  2176. return nil, err
  2177. }
  2178. return out, nil
  2179. }
  2180. func (c *relationClient) Achieve(ctx context.Context, in *AchieveReq, opts ...grpc.CallOption) (*AchieveReply, error) {
  2181. out := new(AchieveReply)
  2182. err := c.cc.Invoke(ctx, "/relation.service.Relation/Achieve", in, out, opts...)
  2183. if err != nil {
  2184. return nil, err
  2185. }
  2186. return out, nil
  2187. }
  2188. func (c *relationClient) ResetFollowersUnread(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2189. out := new(EmptyReply)
  2190. err := c.cc.Invoke(ctx, "/relation.service.Relation/ResetFollowersUnread", in, out, opts...)
  2191. if err != nil {
  2192. return nil, err
  2193. }
  2194. return out, nil
  2195. }
  2196. func (c *relationClient) ResetFollowersUnreadCount(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2197. out := new(EmptyReply)
  2198. err := c.cc.Invoke(ctx, "/relation.service.Relation/ResetFollowersUnreadCount", in, out, opts...)
  2199. if err != nil {
  2200. return nil, err
  2201. }
  2202. return out, nil
  2203. }
  2204. func (c *relationClient) DisableFollowerNotify(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2205. out := new(EmptyReply)
  2206. err := c.cc.Invoke(ctx, "/relation.service.Relation/DisableFollowerNotify", in, out, opts...)
  2207. if err != nil {
  2208. return nil, err
  2209. }
  2210. return out, nil
  2211. }
  2212. func (c *relationClient) EnableFollowerNotify(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*EmptyReply, error) {
  2213. out := new(EmptyReply)
  2214. err := c.cc.Invoke(ctx, "/relation.service.Relation/EnableFollowerNotify", in, out, opts...)
  2215. if err != nil {
  2216. return nil, err
  2217. }
  2218. return out, nil
  2219. }
  2220. func (c *relationClient) FollowerNotifySetting(ctx context.Context, in *MidReq, opts ...grpc.CallOption) (*FollowerNotifySettingReply, error) {
  2221. out := new(FollowerNotifySettingReply)
  2222. err := c.cc.Invoke(ctx, "/relation.service.Relation/FollowerNotifySetting", in, out, opts...)
  2223. if err != nil {
  2224. return nil, err
  2225. }
  2226. return out, nil
  2227. }
  2228. func (c *relationClient) SameFollowings(ctx context.Context, in *SameFollowingReq, opts ...grpc.CallOption) (*FollowingsReply, error) {
  2229. out := new(FollowingsReply)
  2230. err := c.cc.Invoke(ctx, "/relation.service.Relation/SameFollowings", in, out, opts...)
  2231. if err != nil {
  2232. return nil, err
  2233. }
  2234. return out, nil
  2235. }
  2236. // RelationServer is the server API for Relation service.
  2237. type RelationServer interface {
  2238. Relation(context.Context, *RelationReq) (*FollowingReply, error)
  2239. Relations(context.Context, *RelationsReq) (*FollowingMapReply, error)
  2240. Stat(context.Context, *MidReq) (*StatReply, error)
  2241. Stats(context.Context, *MidsReq) (*StatsReply, error)
  2242. Attentions(context.Context, *MidReq) (*FollowingsReply, error)
  2243. Followings(context.Context, *MidReq) (*FollowingsReply, error)
  2244. AddFollowing(context.Context, *FollowingReq) (*EmptyReply, error)
  2245. DelFollowing(context.Context, *FollowingReq) (*EmptyReply, error)
  2246. Whispers(context.Context, *MidReq) (*FollowingsReply, error)
  2247. AddWhisper(context.Context, *FollowingReq) (*EmptyReply, error)
  2248. DelWhisper(context.Context, *FollowingReq) (*EmptyReply, error)
  2249. Blacks(context.Context, *MidReq) (*FollowingsReply, error)
  2250. AddBlack(context.Context, *FollowingReq) (*EmptyReply, error)
  2251. DelBlack(context.Context, *FollowingReq) (*EmptyReply, error)
  2252. Followers(context.Context, *MidReq) (*FollowingsReply, error)
  2253. DelFollower(context.Context, *FollowingReq) (*EmptyReply, error)
  2254. Tag(context.Context, *TagIdReq) (*TagReply, error)
  2255. Tags(context.Context, *MidReq) (*TagsCountReply, error)
  2256. UserTag(context.Context, *RelationReq) (*UserTagReply, error)
  2257. CreateTag(context.Context, *TagReq) (*CreateTagReply, error)
  2258. UpdateTag(context.Context, *TagUpdateReq) (*EmptyReply, error)
  2259. DelTag(context.Context, *TagDelReq) (*EmptyReply, error)
  2260. TagsAddUsers(context.Context, *TagsMoveUsersReq) (*EmptyReply, error)
  2261. TagsCopyUsers(context.Context, *TagsMoveUsersReq) (*EmptyReply, error)
  2262. TagsMoveUsers(context.Context, *TagsMoveUsersReq) (*EmptyReply, error)
  2263. Prompt(context.Context, *PromptReq) (*PromptReply, error)
  2264. ClosePrompt(context.Context, *PromptReq) (*EmptyReply, error)
  2265. AddSpecial(context.Context, *FollowingReq) (*EmptyReply, error)
  2266. DelSpecial(context.Context, *FollowingReq) (*EmptyReply, error)
  2267. Special(context.Context, *MidReq) (*SpecialReply, error)
  2268. FollowersUnread(context.Context, *MidReq) (*FollowersUnreadReply, error)
  2269. FollowersUnreadCount(context.Context, *MidReq) (*FollowersUnreadCountReply, error)
  2270. AchieveGet(context.Context, *AchieveGetReq) (*AchieveGetReply, error)
  2271. Achieve(context.Context, *AchieveReq) (*AchieveReply, error)
  2272. ResetFollowersUnread(context.Context, *MidReq) (*EmptyReply, error)
  2273. ResetFollowersUnreadCount(context.Context, *MidReq) (*EmptyReply, error)
  2274. DisableFollowerNotify(context.Context, *MidReq) (*EmptyReply, error)
  2275. EnableFollowerNotify(context.Context, *MidReq) (*EmptyReply, error)
  2276. FollowerNotifySetting(context.Context, *MidReq) (*FollowerNotifySettingReply, error)
  2277. SameFollowings(context.Context, *SameFollowingReq) (*FollowingsReply, error)
  2278. }
  2279. func RegisterRelationServer(s *grpc.Server, srv RelationServer) {
  2280. s.RegisterService(&_Relation_serviceDesc, srv)
  2281. }
  2282. func _Relation_Relation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2283. in := new(RelationReq)
  2284. if err := dec(in); err != nil {
  2285. return nil, err
  2286. }
  2287. if interceptor == nil {
  2288. return srv.(RelationServer).Relation(ctx, in)
  2289. }
  2290. info := &grpc.UnaryServerInfo{
  2291. Server: srv,
  2292. FullMethod: "/relation.service.Relation/Relation",
  2293. }
  2294. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2295. return srv.(RelationServer).Relation(ctx, req.(*RelationReq))
  2296. }
  2297. return interceptor(ctx, in, info, handler)
  2298. }
  2299. func _Relation_Relations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2300. in := new(RelationsReq)
  2301. if err := dec(in); err != nil {
  2302. return nil, err
  2303. }
  2304. if interceptor == nil {
  2305. return srv.(RelationServer).Relations(ctx, in)
  2306. }
  2307. info := &grpc.UnaryServerInfo{
  2308. Server: srv,
  2309. FullMethod: "/relation.service.Relation/Relations",
  2310. }
  2311. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2312. return srv.(RelationServer).Relations(ctx, req.(*RelationsReq))
  2313. }
  2314. return interceptor(ctx, in, info, handler)
  2315. }
  2316. func _Relation_Stat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2317. in := new(MidReq)
  2318. if err := dec(in); err != nil {
  2319. return nil, err
  2320. }
  2321. if interceptor == nil {
  2322. return srv.(RelationServer).Stat(ctx, in)
  2323. }
  2324. info := &grpc.UnaryServerInfo{
  2325. Server: srv,
  2326. FullMethod: "/relation.service.Relation/Stat",
  2327. }
  2328. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2329. return srv.(RelationServer).Stat(ctx, req.(*MidReq))
  2330. }
  2331. return interceptor(ctx, in, info, handler)
  2332. }
  2333. func _Relation_Stats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2334. in := new(MidsReq)
  2335. if err := dec(in); err != nil {
  2336. return nil, err
  2337. }
  2338. if interceptor == nil {
  2339. return srv.(RelationServer).Stats(ctx, in)
  2340. }
  2341. info := &grpc.UnaryServerInfo{
  2342. Server: srv,
  2343. FullMethod: "/relation.service.Relation/Stats",
  2344. }
  2345. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2346. return srv.(RelationServer).Stats(ctx, req.(*MidsReq))
  2347. }
  2348. return interceptor(ctx, in, info, handler)
  2349. }
  2350. func _Relation_Attentions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2351. in := new(MidReq)
  2352. if err := dec(in); err != nil {
  2353. return nil, err
  2354. }
  2355. if interceptor == nil {
  2356. return srv.(RelationServer).Attentions(ctx, in)
  2357. }
  2358. info := &grpc.UnaryServerInfo{
  2359. Server: srv,
  2360. FullMethod: "/relation.service.Relation/Attentions",
  2361. }
  2362. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2363. return srv.(RelationServer).Attentions(ctx, req.(*MidReq))
  2364. }
  2365. return interceptor(ctx, in, info, handler)
  2366. }
  2367. func _Relation_Followings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2368. in := new(MidReq)
  2369. if err := dec(in); err != nil {
  2370. return nil, err
  2371. }
  2372. if interceptor == nil {
  2373. return srv.(RelationServer).Followings(ctx, in)
  2374. }
  2375. info := &grpc.UnaryServerInfo{
  2376. Server: srv,
  2377. FullMethod: "/relation.service.Relation/Followings",
  2378. }
  2379. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2380. return srv.(RelationServer).Followings(ctx, req.(*MidReq))
  2381. }
  2382. return interceptor(ctx, in, info, handler)
  2383. }
  2384. func _Relation_AddFollowing_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2385. in := new(FollowingReq)
  2386. if err := dec(in); err != nil {
  2387. return nil, err
  2388. }
  2389. if interceptor == nil {
  2390. return srv.(RelationServer).AddFollowing(ctx, in)
  2391. }
  2392. info := &grpc.UnaryServerInfo{
  2393. Server: srv,
  2394. FullMethod: "/relation.service.Relation/AddFollowing",
  2395. }
  2396. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2397. return srv.(RelationServer).AddFollowing(ctx, req.(*FollowingReq))
  2398. }
  2399. return interceptor(ctx, in, info, handler)
  2400. }
  2401. func _Relation_DelFollowing_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2402. in := new(FollowingReq)
  2403. if err := dec(in); err != nil {
  2404. return nil, err
  2405. }
  2406. if interceptor == nil {
  2407. return srv.(RelationServer).DelFollowing(ctx, in)
  2408. }
  2409. info := &grpc.UnaryServerInfo{
  2410. Server: srv,
  2411. FullMethod: "/relation.service.Relation/DelFollowing",
  2412. }
  2413. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2414. return srv.(RelationServer).DelFollowing(ctx, req.(*FollowingReq))
  2415. }
  2416. return interceptor(ctx, in, info, handler)
  2417. }
  2418. func _Relation_Whispers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2419. in := new(MidReq)
  2420. if err := dec(in); err != nil {
  2421. return nil, err
  2422. }
  2423. if interceptor == nil {
  2424. return srv.(RelationServer).Whispers(ctx, in)
  2425. }
  2426. info := &grpc.UnaryServerInfo{
  2427. Server: srv,
  2428. FullMethod: "/relation.service.Relation/Whispers",
  2429. }
  2430. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2431. return srv.(RelationServer).Whispers(ctx, req.(*MidReq))
  2432. }
  2433. return interceptor(ctx, in, info, handler)
  2434. }
  2435. func _Relation_AddWhisper_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2436. in := new(FollowingReq)
  2437. if err := dec(in); err != nil {
  2438. return nil, err
  2439. }
  2440. if interceptor == nil {
  2441. return srv.(RelationServer).AddWhisper(ctx, in)
  2442. }
  2443. info := &grpc.UnaryServerInfo{
  2444. Server: srv,
  2445. FullMethod: "/relation.service.Relation/AddWhisper",
  2446. }
  2447. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2448. return srv.(RelationServer).AddWhisper(ctx, req.(*FollowingReq))
  2449. }
  2450. return interceptor(ctx, in, info, handler)
  2451. }
  2452. func _Relation_DelWhisper_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2453. in := new(FollowingReq)
  2454. if err := dec(in); err != nil {
  2455. return nil, err
  2456. }
  2457. if interceptor == nil {
  2458. return srv.(RelationServer).DelWhisper(ctx, in)
  2459. }
  2460. info := &grpc.UnaryServerInfo{
  2461. Server: srv,
  2462. FullMethod: "/relation.service.Relation/DelWhisper",
  2463. }
  2464. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2465. return srv.(RelationServer).DelWhisper(ctx, req.(*FollowingReq))
  2466. }
  2467. return interceptor(ctx, in, info, handler)
  2468. }
  2469. func _Relation_Blacks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2470. in := new(MidReq)
  2471. if err := dec(in); err != nil {
  2472. return nil, err
  2473. }
  2474. if interceptor == nil {
  2475. return srv.(RelationServer).Blacks(ctx, in)
  2476. }
  2477. info := &grpc.UnaryServerInfo{
  2478. Server: srv,
  2479. FullMethod: "/relation.service.Relation/Blacks",
  2480. }
  2481. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2482. return srv.(RelationServer).Blacks(ctx, req.(*MidReq))
  2483. }
  2484. return interceptor(ctx, in, info, handler)
  2485. }
  2486. func _Relation_AddBlack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2487. in := new(FollowingReq)
  2488. if err := dec(in); err != nil {
  2489. return nil, err
  2490. }
  2491. if interceptor == nil {
  2492. return srv.(RelationServer).AddBlack(ctx, in)
  2493. }
  2494. info := &grpc.UnaryServerInfo{
  2495. Server: srv,
  2496. FullMethod: "/relation.service.Relation/AddBlack",
  2497. }
  2498. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2499. return srv.(RelationServer).AddBlack(ctx, req.(*FollowingReq))
  2500. }
  2501. return interceptor(ctx, in, info, handler)
  2502. }
  2503. func _Relation_DelBlack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2504. in := new(FollowingReq)
  2505. if err := dec(in); err != nil {
  2506. return nil, err
  2507. }
  2508. if interceptor == nil {
  2509. return srv.(RelationServer).DelBlack(ctx, in)
  2510. }
  2511. info := &grpc.UnaryServerInfo{
  2512. Server: srv,
  2513. FullMethod: "/relation.service.Relation/DelBlack",
  2514. }
  2515. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2516. return srv.(RelationServer).DelBlack(ctx, req.(*FollowingReq))
  2517. }
  2518. return interceptor(ctx, in, info, handler)
  2519. }
  2520. func _Relation_Followers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2521. in := new(MidReq)
  2522. if err := dec(in); err != nil {
  2523. return nil, err
  2524. }
  2525. if interceptor == nil {
  2526. return srv.(RelationServer).Followers(ctx, in)
  2527. }
  2528. info := &grpc.UnaryServerInfo{
  2529. Server: srv,
  2530. FullMethod: "/relation.service.Relation/Followers",
  2531. }
  2532. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2533. return srv.(RelationServer).Followers(ctx, req.(*MidReq))
  2534. }
  2535. return interceptor(ctx, in, info, handler)
  2536. }
  2537. func _Relation_DelFollower_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2538. in := new(FollowingReq)
  2539. if err := dec(in); err != nil {
  2540. return nil, err
  2541. }
  2542. if interceptor == nil {
  2543. return srv.(RelationServer).DelFollower(ctx, in)
  2544. }
  2545. info := &grpc.UnaryServerInfo{
  2546. Server: srv,
  2547. FullMethod: "/relation.service.Relation/DelFollower",
  2548. }
  2549. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2550. return srv.(RelationServer).DelFollower(ctx, req.(*FollowingReq))
  2551. }
  2552. return interceptor(ctx, in, info, handler)
  2553. }
  2554. func _Relation_Tag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2555. in := new(TagIdReq)
  2556. if err := dec(in); err != nil {
  2557. return nil, err
  2558. }
  2559. if interceptor == nil {
  2560. return srv.(RelationServer).Tag(ctx, in)
  2561. }
  2562. info := &grpc.UnaryServerInfo{
  2563. Server: srv,
  2564. FullMethod: "/relation.service.Relation/Tag",
  2565. }
  2566. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2567. return srv.(RelationServer).Tag(ctx, req.(*TagIdReq))
  2568. }
  2569. return interceptor(ctx, in, info, handler)
  2570. }
  2571. func _Relation_Tags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2572. in := new(MidReq)
  2573. if err := dec(in); err != nil {
  2574. return nil, err
  2575. }
  2576. if interceptor == nil {
  2577. return srv.(RelationServer).Tags(ctx, in)
  2578. }
  2579. info := &grpc.UnaryServerInfo{
  2580. Server: srv,
  2581. FullMethod: "/relation.service.Relation/Tags",
  2582. }
  2583. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2584. return srv.(RelationServer).Tags(ctx, req.(*MidReq))
  2585. }
  2586. return interceptor(ctx, in, info, handler)
  2587. }
  2588. func _Relation_UserTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2589. in := new(RelationReq)
  2590. if err := dec(in); err != nil {
  2591. return nil, err
  2592. }
  2593. if interceptor == nil {
  2594. return srv.(RelationServer).UserTag(ctx, in)
  2595. }
  2596. info := &grpc.UnaryServerInfo{
  2597. Server: srv,
  2598. FullMethod: "/relation.service.Relation/UserTag",
  2599. }
  2600. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2601. return srv.(RelationServer).UserTag(ctx, req.(*RelationReq))
  2602. }
  2603. return interceptor(ctx, in, info, handler)
  2604. }
  2605. func _Relation_CreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2606. in := new(TagReq)
  2607. if err := dec(in); err != nil {
  2608. return nil, err
  2609. }
  2610. if interceptor == nil {
  2611. return srv.(RelationServer).CreateTag(ctx, in)
  2612. }
  2613. info := &grpc.UnaryServerInfo{
  2614. Server: srv,
  2615. FullMethod: "/relation.service.Relation/CreateTag",
  2616. }
  2617. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2618. return srv.(RelationServer).CreateTag(ctx, req.(*TagReq))
  2619. }
  2620. return interceptor(ctx, in, info, handler)
  2621. }
  2622. func _Relation_UpdateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2623. in := new(TagUpdateReq)
  2624. if err := dec(in); err != nil {
  2625. return nil, err
  2626. }
  2627. if interceptor == nil {
  2628. return srv.(RelationServer).UpdateTag(ctx, in)
  2629. }
  2630. info := &grpc.UnaryServerInfo{
  2631. Server: srv,
  2632. FullMethod: "/relation.service.Relation/UpdateTag",
  2633. }
  2634. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2635. return srv.(RelationServer).UpdateTag(ctx, req.(*TagUpdateReq))
  2636. }
  2637. return interceptor(ctx, in, info, handler)
  2638. }
  2639. func _Relation_DelTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2640. in := new(TagDelReq)
  2641. if err := dec(in); err != nil {
  2642. return nil, err
  2643. }
  2644. if interceptor == nil {
  2645. return srv.(RelationServer).DelTag(ctx, in)
  2646. }
  2647. info := &grpc.UnaryServerInfo{
  2648. Server: srv,
  2649. FullMethod: "/relation.service.Relation/DelTag",
  2650. }
  2651. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2652. return srv.(RelationServer).DelTag(ctx, req.(*TagDelReq))
  2653. }
  2654. return interceptor(ctx, in, info, handler)
  2655. }
  2656. func _Relation_TagsAddUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2657. in := new(TagsMoveUsersReq)
  2658. if err := dec(in); err != nil {
  2659. return nil, err
  2660. }
  2661. if interceptor == nil {
  2662. return srv.(RelationServer).TagsAddUsers(ctx, in)
  2663. }
  2664. info := &grpc.UnaryServerInfo{
  2665. Server: srv,
  2666. FullMethod: "/relation.service.Relation/TagsAddUsers",
  2667. }
  2668. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2669. return srv.(RelationServer).TagsAddUsers(ctx, req.(*TagsMoveUsersReq))
  2670. }
  2671. return interceptor(ctx, in, info, handler)
  2672. }
  2673. func _Relation_TagsCopyUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2674. in := new(TagsMoveUsersReq)
  2675. if err := dec(in); err != nil {
  2676. return nil, err
  2677. }
  2678. if interceptor == nil {
  2679. return srv.(RelationServer).TagsCopyUsers(ctx, in)
  2680. }
  2681. info := &grpc.UnaryServerInfo{
  2682. Server: srv,
  2683. FullMethod: "/relation.service.Relation/TagsCopyUsers",
  2684. }
  2685. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2686. return srv.(RelationServer).TagsCopyUsers(ctx, req.(*TagsMoveUsersReq))
  2687. }
  2688. return interceptor(ctx, in, info, handler)
  2689. }
  2690. func _Relation_TagsMoveUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2691. in := new(TagsMoveUsersReq)
  2692. if err := dec(in); err != nil {
  2693. return nil, err
  2694. }
  2695. if interceptor == nil {
  2696. return srv.(RelationServer).TagsMoveUsers(ctx, in)
  2697. }
  2698. info := &grpc.UnaryServerInfo{
  2699. Server: srv,
  2700. FullMethod: "/relation.service.Relation/TagsMoveUsers",
  2701. }
  2702. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2703. return srv.(RelationServer).TagsMoveUsers(ctx, req.(*TagsMoveUsersReq))
  2704. }
  2705. return interceptor(ctx, in, info, handler)
  2706. }
  2707. func _Relation_Prompt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2708. in := new(PromptReq)
  2709. if err := dec(in); err != nil {
  2710. return nil, err
  2711. }
  2712. if interceptor == nil {
  2713. return srv.(RelationServer).Prompt(ctx, in)
  2714. }
  2715. info := &grpc.UnaryServerInfo{
  2716. Server: srv,
  2717. FullMethod: "/relation.service.Relation/Prompt",
  2718. }
  2719. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2720. return srv.(RelationServer).Prompt(ctx, req.(*PromptReq))
  2721. }
  2722. return interceptor(ctx, in, info, handler)
  2723. }
  2724. func _Relation_ClosePrompt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2725. in := new(PromptReq)
  2726. if err := dec(in); err != nil {
  2727. return nil, err
  2728. }
  2729. if interceptor == nil {
  2730. return srv.(RelationServer).ClosePrompt(ctx, in)
  2731. }
  2732. info := &grpc.UnaryServerInfo{
  2733. Server: srv,
  2734. FullMethod: "/relation.service.Relation/ClosePrompt",
  2735. }
  2736. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2737. return srv.(RelationServer).ClosePrompt(ctx, req.(*PromptReq))
  2738. }
  2739. return interceptor(ctx, in, info, handler)
  2740. }
  2741. func _Relation_AddSpecial_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2742. in := new(FollowingReq)
  2743. if err := dec(in); err != nil {
  2744. return nil, err
  2745. }
  2746. if interceptor == nil {
  2747. return srv.(RelationServer).AddSpecial(ctx, in)
  2748. }
  2749. info := &grpc.UnaryServerInfo{
  2750. Server: srv,
  2751. FullMethod: "/relation.service.Relation/AddSpecial",
  2752. }
  2753. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2754. return srv.(RelationServer).AddSpecial(ctx, req.(*FollowingReq))
  2755. }
  2756. return interceptor(ctx, in, info, handler)
  2757. }
  2758. func _Relation_DelSpecial_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2759. in := new(FollowingReq)
  2760. if err := dec(in); err != nil {
  2761. return nil, err
  2762. }
  2763. if interceptor == nil {
  2764. return srv.(RelationServer).DelSpecial(ctx, in)
  2765. }
  2766. info := &grpc.UnaryServerInfo{
  2767. Server: srv,
  2768. FullMethod: "/relation.service.Relation/DelSpecial",
  2769. }
  2770. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2771. return srv.(RelationServer).DelSpecial(ctx, req.(*FollowingReq))
  2772. }
  2773. return interceptor(ctx, in, info, handler)
  2774. }
  2775. func _Relation_Special_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2776. in := new(MidReq)
  2777. if err := dec(in); err != nil {
  2778. return nil, err
  2779. }
  2780. if interceptor == nil {
  2781. return srv.(RelationServer).Special(ctx, in)
  2782. }
  2783. info := &grpc.UnaryServerInfo{
  2784. Server: srv,
  2785. FullMethod: "/relation.service.Relation/Special",
  2786. }
  2787. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2788. return srv.(RelationServer).Special(ctx, req.(*MidReq))
  2789. }
  2790. return interceptor(ctx, in, info, handler)
  2791. }
  2792. func _Relation_FollowersUnread_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2793. in := new(MidReq)
  2794. if err := dec(in); err != nil {
  2795. return nil, err
  2796. }
  2797. if interceptor == nil {
  2798. return srv.(RelationServer).FollowersUnread(ctx, in)
  2799. }
  2800. info := &grpc.UnaryServerInfo{
  2801. Server: srv,
  2802. FullMethod: "/relation.service.Relation/FollowersUnread",
  2803. }
  2804. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2805. return srv.(RelationServer).FollowersUnread(ctx, req.(*MidReq))
  2806. }
  2807. return interceptor(ctx, in, info, handler)
  2808. }
  2809. func _Relation_FollowersUnreadCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2810. in := new(MidReq)
  2811. if err := dec(in); err != nil {
  2812. return nil, err
  2813. }
  2814. if interceptor == nil {
  2815. return srv.(RelationServer).FollowersUnreadCount(ctx, in)
  2816. }
  2817. info := &grpc.UnaryServerInfo{
  2818. Server: srv,
  2819. FullMethod: "/relation.service.Relation/FollowersUnreadCount",
  2820. }
  2821. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2822. return srv.(RelationServer).FollowersUnreadCount(ctx, req.(*MidReq))
  2823. }
  2824. return interceptor(ctx, in, info, handler)
  2825. }
  2826. func _Relation_AchieveGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2827. in := new(AchieveGetReq)
  2828. if err := dec(in); err != nil {
  2829. return nil, err
  2830. }
  2831. if interceptor == nil {
  2832. return srv.(RelationServer).AchieveGet(ctx, in)
  2833. }
  2834. info := &grpc.UnaryServerInfo{
  2835. Server: srv,
  2836. FullMethod: "/relation.service.Relation/AchieveGet",
  2837. }
  2838. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2839. return srv.(RelationServer).AchieveGet(ctx, req.(*AchieveGetReq))
  2840. }
  2841. return interceptor(ctx, in, info, handler)
  2842. }
  2843. func _Relation_Achieve_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2844. in := new(AchieveReq)
  2845. if err := dec(in); err != nil {
  2846. return nil, err
  2847. }
  2848. if interceptor == nil {
  2849. return srv.(RelationServer).Achieve(ctx, in)
  2850. }
  2851. info := &grpc.UnaryServerInfo{
  2852. Server: srv,
  2853. FullMethod: "/relation.service.Relation/Achieve",
  2854. }
  2855. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2856. return srv.(RelationServer).Achieve(ctx, req.(*AchieveReq))
  2857. }
  2858. return interceptor(ctx, in, info, handler)
  2859. }
  2860. func _Relation_ResetFollowersUnread_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2861. in := new(MidReq)
  2862. if err := dec(in); err != nil {
  2863. return nil, err
  2864. }
  2865. if interceptor == nil {
  2866. return srv.(RelationServer).ResetFollowersUnread(ctx, in)
  2867. }
  2868. info := &grpc.UnaryServerInfo{
  2869. Server: srv,
  2870. FullMethod: "/relation.service.Relation/ResetFollowersUnread",
  2871. }
  2872. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2873. return srv.(RelationServer).ResetFollowersUnread(ctx, req.(*MidReq))
  2874. }
  2875. return interceptor(ctx, in, info, handler)
  2876. }
  2877. func _Relation_ResetFollowersUnreadCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2878. in := new(MidReq)
  2879. if err := dec(in); err != nil {
  2880. return nil, err
  2881. }
  2882. if interceptor == nil {
  2883. return srv.(RelationServer).ResetFollowersUnreadCount(ctx, in)
  2884. }
  2885. info := &grpc.UnaryServerInfo{
  2886. Server: srv,
  2887. FullMethod: "/relation.service.Relation/ResetFollowersUnreadCount",
  2888. }
  2889. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2890. return srv.(RelationServer).ResetFollowersUnreadCount(ctx, req.(*MidReq))
  2891. }
  2892. return interceptor(ctx, in, info, handler)
  2893. }
  2894. func _Relation_DisableFollowerNotify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2895. in := new(MidReq)
  2896. if err := dec(in); err != nil {
  2897. return nil, err
  2898. }
  2899. if interceptor == nil {
  2900. return srv.(RelationServer).DisableFollowerNotify(ctx, in)
  2901. }
  2902. info := &grpc.UnaryServerInfo{
  2903. Server: srv,
  2904. FullMethod: "/relation.service.Relation/DisableFollowerNotify",
  2905. }
  2906. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2907. return srv.(RelationServer).DisableFollowerNotify(ctx, req.(*MidReq))
  2908. }
  2909. return interceptor(ctx, in, info, handler)
  2910. }
  2911. func _Relation_EnableFollowerNotify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2912. in := new(MidReq)
  2913. if err := dec(in); err != nil {
  2914. return nil, err
  2915. }
  2916. if interceptor == nil {
  2917. return srv.(RelationServer).EnableFollowerNotify(ctx, in)
  2918. }
  2919. info := &grpc.UnaryServerInfo{
  2920. Server: srv,
  2921. FullMethod: "/relation.service.Relation/EnableFollowerNotify",
  2922. }
  2923. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2924. return srv.(RelationServer).EnableFollowerNotify(ctx, req.(*MidReq))
  2925. }
  2926. return interceptor(ctx, in, info, handler)
  2927. }
  2928. func _Relation_FollowerNotifySetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2929. in := new(MidReq)
  2930. if err := dec(in); err != nil {
  2931. return nil, err
  2932. }
  2933. if interceptor == nil {
  2934. return srv.(RelationServer).FollowerNotifySetting(ctx, in)
  2935. }
  2936. info := &grpc.UnaryServerInfo{
  2937. Server: srv,
  2938. FullMethod: "/relation.service.Relation/FollowerNotifySetting",
  2939. }
  2940. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2941. return srv.(RelationServer).FollowerNotifySetting(ctx, req.(*MidReq))
  2942. }
  2943. return interceptor(ctx, in, info, handler)
  2944. }
  2945. func _Relation_SameFollowings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2946. in := new(SameFollowingReq)
  2947. if err := dec(in); err != nil {
  2948. return nil, err
  2949. }
  2950. if interceptor == nil {
  2951. return srv.(RelationServer).SameFollowings(ctx, in)
  2952. }
  2953. info := &grpc.UnaryServerInfo{
  2954. Server: srv,
  2955. FullMethod: "/relation.service.Relation/SameFollowings",
  2956. }
  2957. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2958. return srv.(RelationServer).SameFollowings(ctx, req.(*SameFollowingReq))
  2959. }
  2960. return interceptor(ctx, in, info, handler)
  2961. }
  2962. var _Relation_serviceDesc = grpc.ServiceDesc{
  2963. ServiceName: "relation.service.Relation",
  2964. HandlerType: (*RelationServer)(nil),
  2965. Methods: []grpc.MethodDesc{
  2966. {
  2967. MethodName: "Relation",
  2968. Handler: _Relation_Relation_Handler,
  2969. },
  2970. {
  2971. MethodName: "Relations",
  2972. Handler: _Relation_Relations_Handler,
  2973. },
  2974. {
  2975. MethodName: "Stat",
  2976. Handler: _Relation_Stat_Handler,
  2977. },
  2978. {
  2979. MethodName: "Stats",
  2980. Handler: _Relation_Stats_Handler,
  2981. },
  2982. {
  2983. MethodName: "Attentions",
  2984. Handler: _Relation_Attentions_Handler,
  2985. },
  2986. {
  2987. MethodName: "Followings",
  2988. Handler: _Relation_Followings_Handler,
  2989. },
  2990. {
  2991. MethodName: "AddFollowing",
  2992. Handler: _Relation_AddFollowing_Handler,
  2993. },
  2994. {
  2995. MethodName: "DelFollowing",
  2996. Handler: _Relation_DelFollowing_Handler,
  2997. },
  2998. {
  2999. MethodName: "Whispers",
  3000. Handler: _Relation_Whispers_Handler,
  3001. },
  3002. {
  3003. MethodName: "AddWhisper",
  3004. Handler: _Relation_AddWhisper_Handler,
  3005. },
  3006. {
  3007. MethodName: "DelWhisper",
  3008. Handler: _Relation_DelWhisper_Handler,
  3009. },
  3010. {
  3011. MethodName: "Blacks",
  3012. Handler: _Relation_Blacks_Handler,
  3013. },
  3014. {
  3015. MethodName: "AddBlack",
  3016. Handler: _Relation_AddBlack_Handler,
  3017. },
  3018. {
  3019. MethodName: "DelBlack",
  3020. Handler: _Relation_DelBlack_Handler,
  3021. },
  3022. {
  3023. MethodName: "Followers",
  3024. Handler: _Relation_Followers_Handler,
  3025. },
  3026. {
  3027. MethodName: "DelFollower",
  3028. Handler: _Relation_DelFollower_Handler,
  3029. },
  3030. {
  3031. MethodName: "Tag",
  3032. Handler: _Relation_Tag_Handler,
  3033. },
  3034. {
  3035. MethodName: "Tags",
  3036. Handler: _Relation_Tags_Handler,
  3037. },
  3038. {
  3039. MethodName: "UserTag",
  3040. Handler: _Relation_UserTag_Handler,
  3041. },
  3042. {
  3043. MethodName: "CreateTag",
  3044. Handler: _Relation_CreateTag_Handler,
  3045. },
  3046. {
  3047. MethodName: "UpdateTag",
  3048. Handler: _Relation_UpdateTag_Handler,
  3049. },
  3050. {
  3051. MethodName: "DelTag",
  3052. Handler: _Relation_DelTag_Handler,
  3053. },
  3054. {
  3055. MethodName: "TagsAddUsers",
  3056. Handler: _Relation_TagsAddUsers_Handler,
  3057. },
  3058. {
  3059. MethodName: "TagsCopyUsers",
  3060. Handler: _Relation_TagsCopyUsers_Handler,
  3061. },
  3062. {
  3063. MethodName: "TagsMoveUsers",
  3064. Handler: _Relation_TagsMoveUsers_Handler,
  3065. },
  3066. {
  3067. MethodName: "Prompt",
  3068. Handler: _Relation_Prompt_Handler,
  3069. },
  3070. {
  3071. MethodName: "ClosePrompt",
  3072. Handler: _Relation_ClosePrompt_Handler,
  3073. },
  3074. {
  3075. MethodName: "AddSpecial",
  3076. Handler: _Relation_AddSpecial_Handler,
  3077. },
  3078. {
  3079. MethodName: "DelSpecial",
  3080. Handler: _Relation_DelSpecial_Handler,
  3081. },
  3082. {
  3083. MethodName: "Special",
  3084. Handler: _Relation_Special_Handler,
  3085. },
  3086. {
  3087. MethodName: "FollowersUnread",
  3088. Handler: _Relation_FollowersUnread_Handler,
  3089. },
  3090. {
  3091. MethodName: "FollowersUnreadCount",
  3092. Handler: _Relation_FollowersUnreadCount_Handler,
  3093. },
  3094. {
  3095. MethodName: "AchieveGet",
  3096. Handler: _Relation_AchieveGet_Handler,
  3097. },
  3098. {
  3099. MethodName: "Achieve",
  3100. Handler: _Relation_Achieve_Handler,
  3101. },
  3102. {
  3103. MethodName: "ResetFollowersUnread",
  3104. Handler: _Relation_ResetFollowersUnread_Handler,
  3105. },
  3106. {
  3107. MethodName: "ResetFollowersUnreadCount",
  3108. Handler: _Relation_ResetFollowersUnreadCount_Handler,
  3109. },
  3110. {
  3111. MethodName: "DisableFollowerNotify",
  3112. Handler: _Relation_DisableFollowerNotify_Handler,
  3113. },
  3114. {
  3115. MethodName: "EnableFollowerNotify",
  3116. Handler: _Relation_EnableFollowerNotify_Handler,
  3117. },
  3118. {
  3119. MethodName: "FollowerNotifySetting",
  3120. Handler: _Relation_FollowerNotifySetting_Handler,
  3121. },
  3122. {
  3123. MethodName: "SameFollowings",
  3124. Handler: _Relation_SameFollowings_Handler,
  3125. },
  3126. },
  3127. Streams: []grpc.StreamDesc{},
  3128. Metadata: "app/service/main/relation/api/api.proto",
  3129. }
  3130. func (m *RelationReq) Marshal() (dAtA []byte, err error) {
  3131. size := m.Size()
  3132. dAtA = make([]byte, size)
  3133. n, err := m.MarshalTo(dAtA)
  3134. if err != nil {
  3135. return nil, err
  3136. }
  3137. return dAtA[:n], nil
  3138. }
  3139. func (m *RelationReq) MarshalTo(dAtA []byte) (int, error) {
  3140. var i int
  3141. _ = i
  3142. var l int
  3143. _ = l
  3144. if m.Mid != 0 {
  3145. dAtA[i] = 0x8
  3146. i++
  3147. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3148. }
  3149. if m.Fid != 0 {
  3150. dAtA[i] = 0x10
  3151. i++
  3152. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  3153. }
  3154. if len(m.RealIp) > 0 {
  3155. dAtA[i] = 0x1a
  3156. i++
  3157. i = encodeVarintApi(dAtA, i, uint64(len(m.RealIp)))
  3158. i += copy(dAtA[i:], m.RealIp)
  3159. }
  3160. if m.XXX_unrecognized != nil {
  3161. i += copy(dAtA[i:], m.XXX_unrecognized)
  3162. }
  3163. return i, nil
  3164. }
  3165. func (m *FollowingReply) Marshal() (dAtA []byte, err error) {
  3166. size := m.Size()
  3167. dAtA = make([]byte, size)
  3168. n, err := m.MarshalTo(dAtA)
  3169. if err != nil {
  3170. return nil, err
  3171. }
  3172. return dAtA[:n], nil
  3173. }
  3174. func (m *FollowingReply) MarshalTo(dAtA []byte) (int, error) {
  3175. var i int
  3176. _ = i
  3177. var l int
  3178. _ = l
  3179. if m.Mid != 0 {
  3180. dAtA[i] = 0x8
  3181. i++
  3182. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3183. }
  3184. if m.Attribute != 0 {
  3185. dAtA[i] = 0x10
  3186. i++
  3187. i = encodeVarintApi(dAtA, i, uint64(m.Attribute))
  3188. }
  3189. if m.Source != 0 {
  3190. dAtA[i] = 0x18
  3191. i++
  3192. i = encodeVarintApi(dAtA, i, uint64(m.Source))
  3193. }
  3194. if m.CTime != 0 {
  3195. dAtA[i] = 0x20
  3196. i++
  3197. i = encodeVarintApi(dAtA, i, uint64(m.CTime))
  3198. }
  3199. if m.MTime != 0 {
  3200. dAtA[i] = 0x28
  3201. i++
  3202. i = encodeVarintApi(dAtA, i, uint64(m.MTime))
  3203. }
  3204. if len(m.Tag) > 0 {
  3205. dAtA2 := make([]byte, len(m.Tag)*10)
  3206. var j1 int
  3207. for _, num1 := range m.Tag {
  3208. num := uint64(num1)
  3209. for num >= 1<<7 {
  3210. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  3211. num >>= 7
  3212. j1++
  3213. }
  3214. dAtA2[j1] = uint8(num)
  3215. j1++
  3216. }
  3217. dAtA[i] = 0x32
  3218. i++
  3219. i = encodeVarintApi(dAtA, i, uint64(j1))
  3220. i += copy(dAtA[i:], dAtA2[:j1])
  3221. }
  3222. if m.Special != 0 {
  3223. dAtA[i] = 0x38
  3224. i++
  3225. i = encodeVarintApi(dAtA, i, uint64(m.Special))
  3226. }
  3227. if m.XXX_unrecognized != nil {
  3228. i += copy(dAtA[i:], m.XXX_unrecognized)
  3229. }
  3230. return i, nil
  3231. }
  3232. func (m *RelationsReq) Marshal() (dAtA []byte, err error) {
  3233. size := m.Size()
  3234. dAtA = make([]byte, size)
  3235. n, err := m.MarshalTo(dAtA)
  3236. if err != nil {
  3237. return nil, err
  3238. }
  3239. return dAtA[:n], nil
  3240. }
  3241. func (m *RelationsReq) MarshalTo(dAtA []byte) (int, error) {
  3242. var i int
  3243. _ = i
  3244. var l int
  3245. _ = l
  3246. if m.Mid != 0 {
  3247. dAtA[i] = 0x8
  3248. i++
  3249. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3250. }
  3251. if len(m.Fid) > 0 {
  3252. dAtA4 := make([]byte, len(m.Fid)*10)
  3253. var j3 int
  3254. for _, num1 := range m.Fid {
  3255. num := uint64(num1)
  3256. for num >= 1<<7 {
  3257. dAtA4[j3] = uint8(uint64(num)&0x7f | 0x80)
  3258. num >>= 7
  3259. j3++
  3260. }
  3261. dAtA4[j3] = uint8(num)
  3262. j3++
  3263. }
  3264. dAtA[i] = 0x12
  3265. i++
  3266. i = encodeVarintApi(dAtA, i, uint64(j3))
  3267. i += copy(dAtA[i:], dAtA4[:j3])
  3268. }
  3269. if len(m.RealIp) > 0 {
  3270. dAtA[i] = 0x1a
  3271. i++
  3272. i = encodeVarintApi(dAtA, i, uint64(len(m.RealIp)))
  3273. i += copy(dAtA[i:], m.RealIp)
  3274. }
  3275. if m.XXX_unrecognized != nil {
  3276. i += copy(dAtA[i:], m.XXX_unrecognized)
  3277. }
  3278. return i, nil
  3279. }
  3280. func (m *FollowingMapReply) Marshal() (dAtA []byte, err error) {
  3281. size := m.Size()
  3282. dAtA = make([]byte, size)
  3283. n, err := m.MarshalTo(dAtA)
  3284. if err != nil {
  3285. return nil, err
  3286. }
  3287. return dAtA[:n], nil
  3288. }
  3289. func (m *FollowingMapReply) MarshalTo(dAtA []byte) (int, error) {
  3290. var i int
  3291. _ = i
  3292. var l int
  3293. _ = l
  3294. if len(m.FollowingMap) > 0 {
  3295. for k, _ := range m.FollowingMap {
  3296. dAtA[i] = 0xa
  3297. i++
  3298. v := m.FollowingMap[k]
  3299. msgSize := 0
  3300. if v != nil {
  3301. msgSize = v.Size()
  3302. msgSize += 1 + sovApi(uint64(msgSize))
  3303. }
  3304. mapSize := 1 + sovApi(uint64(k)) + msgSize
  3305. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  3306. dAtA[i] = 0x8
  3307. i++
  3308. i = encodeVarintApi(dAtA, i, uint64(k))
  3309. if v != nil {
  3310. dAtA[i] = 0x12
  3311. i++
  3312. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  3313. n5, err := v.MarshalTo(dAtA[i:])
  3314. if err != nil {
  3315. return 0, err
  3316. }
  3317. i += n5
  3318. }
  3319. }
  3320. }
  3321. if m.XXX_unrecognized != nil {
  3322. i += copy(dAtA[i:], m.XXX_unrecognized)
  3323. }
  3324. return i, nil
  3325. }
  3326. func (m *FollowingsReply) Marshal() (dAtA []byte, err error) {
  3327. size := m.Size()
  3328. dAtA = make([]byte, size)
  3329. n, err := m.MarshalTo(dAtA)
  3330. if err != nil {
  3331. return nil, err
  3332. }
  3333. return dAtA[:n], nil
  3334. }
  3335. func (m *FollowingsReply) MarshalTo(dAtA []byte) (int, error) {
  3336. var i int
  3337. _ = i
  3338. var l int
  3339. _ = l
  3340. if len(m.FollowingList) > 0 {
  3341. for _, msg := range m.FollowingList {
  3342. dAtA[i] = 0xa
  3343. i++
  3344. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3345. n, err := msg.MarshalTo(dAtA[i:])
  3346. if err != nil {
  3347. return 0, err
  3348. }
  3349. i += n
  3350. }
  3351. }
  3352. if m.XXX_unrecognized != nil {
  3353. i += copy(dAtA[i:], m.XXX_unrecognized)
  3354. }
  3355. return i, nil
  3356. }
  3357. func (m *MidReq) Marshal() (dAtA []byte, err error) {
  3358. size := m.Size()
  3359. dAtA = make([]byte, size)
  3360. n, err := m.MarshalTo(dAtA)
  3361. if err != nil {
  3362. return nil, err
  3363. }
  3364. return dAtA[:n], nil
  3365. }
  3366. func (m *MidReq) MarshalTo(dAtA []byte) (int, error) {
  3367. var i int
  3368. _ = i
  3369. var l int
  3370. _ = l
  3371. if m.Mid != 0 {
  3372. dAtA[i] = 0x8
  3373. i++
  3374. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3375. }
  3376. if len(m.RealIp) > 0 {
  3377. dAtA[i] = 0x12
  3378. i++
  3379. i = encodeVarintApi(dAtA, i, uint64(len(m.RealIp)))
  3380. i += copy(dAtA[i:], m.RealIp)
  3381. }
  3382. if m.XXX_unrecognized != nil {
  3383. i += copy(dAtA[i:], m.XXX_unrecognized)
  3384. }
  3385. return i, nil
  3386. }
  3387. func (m *StatReply) Marshal() (dAtA []byte, err error) {
  3388. size := m.Size()
  3389. dAtA = make([]byte, size)
  3390. n, err := m.MarshalTo(dAtA)
  3391. if err != nil {
  3392. return nil, err
  3393. }
  3394. return dAtA[:n], nil
  3395. }
  3396. func (m *StatReply) MarshalTo(dAtA []byte) (int, error) {
  3397. var i int
  3398. _ = i
  3399. var l int
  3400. _ = l
  3401. if m.Mid != 0 {
  3402. dAtA[i] = 0x8
  3403. i++
  3404. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3405. }
  3406. if m.Following != 0 {
  3407. dAtA[i] = 0x10
  3408. i++
  3409. i = encodeVarintApi(dAtA, i, uint64(m.Following))
  3410. }
  3411. if m.Whisper != 0 {
  3412. dAtA[i] = 0x18
  3413. i++
  3414. i = encodeVarintApi(dAtA, i, uint64(m.Whisper))
  3415. }
  3416. if m.Black != 0 {
  3417. dAtA[i] = 0x20
  3418. i++
  3419. i = encodeVarintApi(dAtA, i, uint64(m.Black))
  3420. }
  3421. if m.Follower != 0 {
  3422. dAtA[i] = 0x28
  3423. i++
  3424. i = encodeVarintApi(dAtA, i, uint64(m.Follower))
  3425. }
  3426. if m.CTime != 0 {
  3427. dAtA[i] = 0x30
  3428. i++
  3429. i = encodeVarintApi(dAtA, i, uint64(m.CTime))
  3430. }
  3431. if m.MTime != 0 {
  3432. dAtA[i] = 0x38
  3433. i++
  3434. i = encodeVarintApi(dAtA, i, uint64(m.MTime))
  3435. }
  3436. if m.XXX_unrecognized != nil {
  3437. i += copy(dAtA[i:], m.XXX_unrecognized)
  3438. }
  3439. return i, nil
  3440. }
  3441. func (m *MidsReq) Marshal() (dAtA []byte, err error) {
  3442. size := m.Size()
  3443. dAtA = make([]byte, size)
  3444. n, err := m.MarshalTo(dAtA)
  3445. if err != nil {
  3446. return nil, err
  3447. }
  3448. return dAtA[:n], nil
  3449. }
  3450. func (m *MidsReq) MarshalTo(dAtA []byte) (int, error) {
  3451. var i int
  3452. _ = i
  3453. var l int
  3454. _ = l
  3455. if len(m.Mids) > 0 {
  3456. dAtA7 := make([]byte, len(m.Mids)*10)
  3457. var j6 int
  3458. for _, num1 := range m.Mids {
  3459. num := uint64(num1)
  3460. for num >= 1<<7 {
  3461. dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80)
  3462. num >>= 7
  3463. j6++
  3464. }
  3465. dAtA7[j6] = uint8(num)
  3466. j6++
  3467. }
  3468. dAtA[i] = 0xa
  3469. i++
  3470. i = encodeVarintApi(dAtA, i, uint64(j6))
  3471. i += copy(dAtA[i:], dAtA7[:j6])
  3472. }
  3473. if len(m.RealIp) > 0 {
  3474. dAtA[i] = 0x12
  3475. i++
  3476. i = encodeVarintApi(dAtA, i, uint64(len(m.RealIp)))
  3477. i += copy(dAtA[i:], m.RealIp)
  3478. }
  3479. if m.XXX_unrecognized != nil {
  3480. i += copy(dAtA[i:], m.XXX_unrecognized)
  3481. }
  3482. return i, nil
  3483. }
  3484. func (m *StatsReply) Marshal() (dAtA []byte, err error) {
  3485. size := m.Size()
  3486. dAtA = make([]byte, size)
  3487. n, err := m.MarshalTo(dAtA)
  3488. if err != nil {
  3489. return nil, err
  3490. }
  3491. return dAtA[:n], nil
  3492. }
  3493. func (m *StatsReply) MarshalTo(dAtA []byte) (int, error) {
  3494. var i int
  3495. _ = i
  3496. var l int
  3497. _ = l
  3498. if len(m.StatReplyMap) > 0 {
  3499. for k, _ := range m.StatReplyMap {
  3500. dAtA[i] = 0xa
  3501. i++
  3502. v := m.StatReplyMap[k]
  3503. msgSize := 0
  3504. if v != nil {
  3505. msgSize = v.Size()
  3506. msgSize += 1 + sovApi(uint64(msgSize))
  3507. }
  3508. mapSize := 1 + sovApi(uint64(k)) + msgSize
  3509. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  3510. dAtA[i] = 0x8
  3511. i++
  3512. i = encodeVarintApi(dAtA, i, uint64(k))
  3513. if v != nil {
  3514. dAtA[i] = 0x12
  3515. i++
  3516. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  3517. n8, err := v.MarshalTo(dAtA[i:])
  3518. if err != nil {
  3519. return 0, err
  3520. }
  3521. i += n8
  3522. }
  3523. }
  3524. }
  3525. if m.XXX_unrecognized != nil {
  3526. i += copy(dAtA[i:], m.XXX_unrecognized)
  3527. }
  3528. return i, nil
  3529. }
  3530. func (m *FollowingReq) Marshal() (dAtA []byte, err error) {
  3531. size := m.Size()
  3532. dAtA = make([]byte, size)
  3533. n, err := m.MarshalTo(dAtA)
  3534. if err != nil {
  3535. return nil, err
  3536. }
  3537. return dAtA[:n], nil
  3538. }
  3539. func (m *FollowingReq) MarshalTo(dAtA []byte) (int, error) {
  3540. var i int
  3541. _ = i
  3542. var l int
  3543. _ = l
  3544. if m.Mid != 0 {
  3545. dAtA[i] = 0x8
  3546. i++
  3547. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3548. }
  3549. if m.Fid != 0 {
  3550. dAtA[i] = 0x10
  3551. i++
  3552. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  3553. }
  3554. if m.Source != 0 {
  3555. dAtA[i] = 0x18
  3556. i++
  3557. i = encodeVarintApi(dAtA, i, uint64(m.Source))
  3558. }
  3559. if len(m.RealIp) > 0 {
  3560. dAtA[i] = 0x22
  3561. i++
  3562. i = encodeVarintApi(dAtA, i, uint64(len(m.RealIp)))
  3563. i += copy(dAtA[i:], m.RealIp)
  3564. }
  3565. if m.Action != 0 {
  3566. dAtA[i] = 0x28
  3567. i++
  3568. i = encodeVarintApi(dAtA, i, uint64(m.Action))
  3569. }
  3570. if len(m.Infoc) > 0 {
  3571. for k, _ := range m.Infoc {
  3572. dAtA[i] = 0x32
  3573. i++
  3574. v := m.Infoc[k]
  3575. mapSize := 1 + len(k) + sovApi(uint64(len(k))) + 1 + len(v) + sovApi(uint64(len(v)))
  3576. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  3577. dAtA[i] = 0xa
  3578. i++
  3579. i = encodeVarintApi(dAtA, i, uint64(len(k)))
  3580. i += copy(dAtA[i:], k)
  3581. dAtA[i] = 0x12
  3582. i++
  3583. i = encodeVarintApi(dAtA, i, uint64(len(v)))
  3584. i += copy(dAtA[i:], v)
  3585. }
  3586. }
  3587. if m.XXX_unrecognized != nil {
  3588. i += copy(dAtA[i:], m.XXX_unrecognized)
  3589. }
  3590. return i, nil
  3591. }
  3592. func (m *EmptyReply) Marshal() (dAtA []byte, err error) {
  3593. size := m.Size()
  3594. dAtA = make([]byte, size)
  3595. n, err := m.MarshalTo(dAtA)
  3596. if err != nil {
  3597. return nil, err
  3598. }
  3599. return dAtA[:n], nil
  3600. }
  3601. func (m *EmptyReply) MarshalTo(dAtA []byte) (int, error) {
  3602. var i int
  3603. _ = i
  3604. var l int
  3605. _ = l
  3606. if m.XXX_unrecognized != nil {
  3607. i += copy(dAtA[i:], m.XXX_unrecognized)
  3608. }
  3609. return i, nil
  3610. }
  3611. func (m *TagIdReq) Marshal() (dAtA []byte, err error) {
  3612. size := m.Size()
  3613. dAtA = make([]byte, size)
  3614. n, err := m.MarshalTo(dAtA)
  3615. if err != nil {
  3616. return nil, err
  3617. }
  3618. return dAtA[:n], nil
  3619. }
  3620. func (m *TagIdReq) MarshalTo(dAtA []byte) (int, error) {
  3621. var i int
  3622. _ = i
  3623. var l int
  3624. _ = l
  3625. if m.Mid != 0 {
  3626. dAtA[i] = 0x8
  3627. i++
  3628. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3629. }
  3630. if m.TagId != 0 {
  3631. dAtA[i] = 0x10
  3632. i++
  3633. i = encodeVarintApi(dAtA, i, uint64(m.TagId))
  3634. }
  3635. if len(m.RealIp) > 0 {
  3636. dAtA[i] = 0x1a
  3637. i++
  3638. i = encodeVarintApi(dAtA, i, uint64(len(m.RealIp)))
  3639. i += copy(dAtA[i:], m.RealIp)
  3640. }
  3641. if m.XXX_unrecognized != nil {
  3642. i += copy(dAtA[i:], m.XXX_unrecognized)
  3643. }
  3644. return i, nil
  3645. }
  3646. func (m *TagReply) Marshal() (dAtA []byte, err error) {
  3647. size := m.Size()
  3648. dAtA = make([]byte, size)
  3649. n, err := m.MarshalTo(dAtA)
  3650. if err != nil {
  3651. return nil, err
  3652. }
  3653. return dAtA[:n], nil
  3654. }
  3655. func (m *TagReply) MarshalTo(dAtA []byte) (int, error) {
  3656. var i int
  3657. _ = i
  3658. var l int
  3659. _ = l
  3660. if len(m.Mids) > 0 {
  3661. dAtA10 := make([]byte, len(m.Mids)*10)
  3662. var j9 int
  3663. for _, num1 := range m.Mids {
  3664. num := uint64(num1)
  3665. for num >= 1<<7 {
  3666. dAtA10[j9] = uint8(uint64(num)&0x7f | 0x80)
  3667. num >>= 7
  3668. j9++
  3669. }
  3670. dAtA10[j9] = uint8(num)
  3671. j9++
  3672. }
  3673. dAtA[i] = 0xa
  3674. i++
  3675. i = encodeVarintApi(dAtA, i, uint64(j9))
  3676. i += copy(dAtA[i:], dAtA10[:j9])
  3677. }
  3678. if m.XXX_unrecognized != nil {
  3679. i += copy(dAtA[i:], m.XXX_unrecognized)
  3680. }
  3681. return i, nil
  3682. }
  3683. func (m *TagCountReply) Marshal() (dAtA []byte, err error) {
  3684. size := m.Size()
  3685. dAtA = make([]byte, size)
  3686. n, err := m.MarshalTo(dAtA)
  3687. if err != nil {
  3688. return nil, err
  3689. }
  3690. return dAtA[:n], nil
  3691. }
  3692. func (m *TagCountReply) MarshalTo(dAtA []byte) (int, error) {
  3693. var i int
  3694. _ = i
  3695. var l int
  3696. _ = l
  3697. if m.Tagid != 0 {
  3698. dAtA[i] = 0x8
  3699. i++
  3700. i = encodeVarintApi(dAtA, i, uint64(m.Tagid))
  3701. }
  3702. if len(m.Name) > 0 {
  3703. dAtA[i] = 0x12
  3704. i++
  3705. i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
  3706. i += copy(dAtA[i:], m.Name)
  3707. }
  3708. if m.Count != 0 {
  3709. dAtA[i] = 0x18
  3710. i++
  3711. i = encodeVarintApi(dAtA, i, uint64(m.Count))
  3712. }
  3713. if m.XXX_unrecognized != nil {
  3714. i += copy(dAtA[i:], m.XXX_unrecognized)
  3715. }
  3716. return i, nil
  3717. }
  3718. func (m *TagsCountReply) Marshal() (dAtA []byte, err error) {
  3719. size := m.Size()
  3720. dAtA = make([]byte, size)
  3721. n, err := m.MarshalTo(dAtA)
  3722. if err != nil {
  3723. return nil, err
  3724. }
  3725. return dAtA[:n], nil
  3726. }
  3727. func (m *TagsCountReply) MarshalTo(dAtA []byte) (int, error) {
  3728. var i int
  3729. _ = i
  3730. var l int
  3731. _ = l
  3732. if len(m.TagCountList) > 0 {
  3733. for _, msg := range m.TagCountList {
  3734. dAtA[i] = 0xa
  3735. i++
  3736. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3737. n, err := msg.MarshalTo(dAtA[i:])
  3738. if err != nil {
  3739. return 0, err
  3740. }
  3741. i += n
  3742. }
  3743. }
  3744. if m.XXX_unrecognized != nil {
  3745. i += copy(dAtA[i:], m.XXX_unrecognized)
  3746. }
  3747. return i, nil
  3748. }
  3749. func (m *UserTagReply) Marshal() (dAtA []byte, err error) {
  3750. size := m.Size()
  3751. dAtA = make([]byte, size)
  3752. n, err := m.MarshalTo(dAtA)
  3753. if err != nil {
  3754. return nil, err
  3755. }
  3756. return dAtA[:n], nil
  3757. }
  3758. func (m *UserTagReply) MarshalTo(dAtA []byte) (int, error) {
  3759. var i int
  3760. _ = i
  3761. var l int
  3762. _ = l
  3763. if len(m.Tags) > 0 {
  3764. for k, _ := range m.Tags {
  3765. dAtA[i] = 0xa
  3766. i++
  3767. v := m.Tags[k]
  3768. mapSize := 1 + sovApi(uint64(k)) + 1 + len(v) + sovApi(uint64(len(v)))
  3769. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  3770. dAtA[i] = 0x8
  3771. i++
  3772. i = encodeVarintApi(dAtA, i, uint64(k))
  3773. dAtA[i] = 0x12
  3774. i++
  3775. i = encodeVarintApi(dAtA, i, uint64(len(v)))
  3776. i += copy(dAtA[i:], v)
  3777. }
  3778. }
  3779. if m.XXX_unrecognized != nil {
  3780. i += copy(dAtA[i:], m.XXX_unrecognized)
  3781. }
  3782. return i, nil
  3783. }
  3784. func (m *TagReq) Marshal() (dAtA []byte, err error) {
  3785. size := m.Size()
  3786. dAtA = make([]byte, size)
  3787. n, err := m.MarshalTo(dAtA)
  3788. if err != nil {
  3789. return nil, err
  3790. }
  3791. return dAtA[:n], nil
  3792. }
  3793. func (m *TagReq) MarshalTo(dAtA []byte) (int, error) {
  3794. var i int
  3795. _ = i
  3796. var l int
  3797. _ = l
  3798. if m.Mid != 0 {
  3799. dAtA[i] = 0x8
  3800. i++
  3801. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3802. }
  3803. if len(m.Tag) > 0 {
  3804. dAtA[i] = 0x12
  3805. i++
  3806. i = encodeVarintApi(dAtA, i, uint64(len(m.Tag)))
  3807. i += copy(dAtA[i:], m.Tag)
  3808. }
  3809. if len(m.RealIp) > 0 {
  3810. dAtA[i] = 0x1a
  3811. i++
  3812. i = encodeVarintApi(dAtA, i, uint64(len(m.RealIp)))
  3813. i += copy(dAtA[i:], m.RealIp)
  3814. }
  3815. if m.XXX_unrecognized != nil {
  3816. i += copy(dAtA[i:], m.XXX_unrecognized)
  3817. }
  3818. return i, nil
  3819. }
  3820. func (m *TagUpdateReq) Marshal() (dAtA []byte, err error) {
  3821. size := m.Size()
  3822. dAtA = make([]byte, size)
  3823. n, err := m.MarshalTo(dAtA)
  3824. if err != nil {
  3825. return nil, err
  3826. }
  3827. return dAtA[:n], nil
  3828. }
  3829. func (m *TagUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  3830. var i int
  3831. _ = i
  3832. var l int
  3833. _ = l
  3834. if m.Mid != 0 {
  3835. dAtA[i] = 0x8
  3836. i++
  3837. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3838. }
  3839. if m.TagId != 0 {
  3840. dAtA[i] = 0x10
  3841. i++
  3842. i = encodeVarintApi(dAtA, i, uint64(m.TagId))
  3843. }
  3844. if len(m.New) > 0 {
  3845. dAtA[i] = 0x1a
  3846. i++
  3847. i = encodeVarintApi(dAtA, i, uint64(len(m.New)))
  3848. i += copy(dAtA[i:], m.New)
  3849. }
  3850. if len(m.RealIp) > 0 {
  3851. dAtA[i] = 0x22
  3852. i++
  3853. i = encodeVarintApi(dAtA, i, uint64(len(m.RealIp)))
  3854. i += copy(dAtA[i:], m.RealIp)
  3855. }
  3856. if m.XXX_unrecognized != nil {
  3857. i += copy(dAtA[i:], m.XXX_unrecognized)
  3858. }
  3859. return i, nil
  3860. }
  3861. func (m *TagDelReq) Marshal() (dAtA []byte, err error) {
  3862. size := m.Size()
  3863. dAtA = make([]byte, size)
  3864. n, err := m.MarshalTo(dAtA)
  3865. if err != nil {
  3866. return nil, err
  3867. }
  3868. return dAtA[:n], nil
  3869. }
  3870. func (m *TagDelReq) MarshalTo(dAtA []byte) (int, error) {
  3871. var i int
  3872. _ = i
  3873. var l int
  3874. _ = l
  3875. if m.Mid != 0 {
  3876. dAtA[i] = 0x8
  3877. i++
  3878. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3879. }
  3880. if m.TagId != 0 {
  3881. dAtA[i] = 0x10
  3882. i++
  3883. i = encodeVarintApi(dAtA, i, uint64(m.TagId))
  3884. }
  3885. if len(m.RealIp) > 0 {
  3886. dAtA[i] = 0x1a
  3887. i++
  3888. i = encodeVarintApi(dAtA, i, uint64(len(m.RealIp)))
  3889. i += copy(dAtA[i:], m.RealIp)
  3890. }
  3891. if m.XXX_unrecognized != nil {
  3892. i += copy(dAtA[i:], m.XXX_unrecognized)
  3893. }
  3894. return i, nil
  3895. }
  3896. func (m *TagsMoveUsersReq) Marshal() (dAtA []byte, err error) {
  3897. size := m.Size()
  3898. dAtA = make([]byte, size)
  3899. n, err := m.MarshalTo(dAtA)
  3900. if err != nil {
  3901. return nil, err
  3902. }
  3903. return dAtA[:n], nil
  3904. }
  3905. func (m *TagsMoveUsersReq) MarshalTo(dAtA []byte) (int, error) {
  3906. var i int
  3907. _ = i
  3908. var l int
  3909. _ = l
  3910. if m.Mid != 0 {
  3911. dAtA[i] = 0x8
  3912. i++
  3913. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3914. }
  3915. if m.BeforeId != 0 {
  3916. dAtA[i] = 0x10
  3917. i++
  3918. i = encodeVarintApi(dAtA, i, uint64(m.BeforeId))
  3919. }
  3920. if len(m.AfterTagIds) > 0 {
  3921. dAtA[i] = 0x1a
  3922. i++
  3923. i = encodeVarintApi(dAtA, i, uint64(len(m.AfterTagIds)))
  3924. i += copy(dAtA[i:], m.AfterTagIds)
  3925. }
  3926. if len(m.Fids) > 0 {
  3927. dAtA[i] = 0x22
  3928. i++
  3929. i = encodeVarintApi(dAtA, i, uint64(len(m.Fids)))
  3930. i += copy(dAtA[i:], m.Fids)
  3931. }
  3932. if len(m.RealIp) > 0 {
  3933. dAtA[i] = 0x2a
  3934. i++
  3935. i = encodeVarintApi(dAtA, i, uint64(len(m.RealIp)))
  3936. i += copy(dAtA[i:], m.RealIp)
  3937. }
  3938. if m.XXX_unrecognized != nil {
  3939. i += copy(dAtA[i:], m.XXX_unrecognized)
  3940. }
  3941. return i, nil
  3942. }
  3943. func (m *PromptReq) Marshal() (dAtA []byte, err error) {
  3944. size := m.Size()
  3945. dAtA = make([]byte, size)
  3946. n, err := m.MarshalTo(dAtA)
  3947. if err != nil {
  3948. return nil, err
  3949. }
  3950. return dAtA[:n], nil
  3951. }
  3952. func (m *PromptReq) MarshalTo(dAtA []byte) (int, error) {
  3953. var i int
  3954. _ = i
  3955. var l int
  3956. _ = l
  3957. if m.Mid != 0 {
  3958. dAtA[i] = 0x8
  3959. i++
  3960. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3961. }
  3962. if m.Fid != 0 {
  3963. dAtA[i] = 0x10
  3964. i++
  3965. i = encodeVarintApi(dAtA, i, uint64(m.Fid))
  3966. }
  3967. if m.Btype != 0 {
  3968. dAtA[i] = 0x18
  3969. i++
  3970. i = encodeVarintApi(dAtA, i, uint64(m.Btype))
  3971. }
  3972. if m.XXX_unrecognized != nil {
  3973. i += copy(dAtA[i:], m.XXX_unrecognized)
  3974. }
  3975. return i, nil
  3976. }
  3977. func (m *CreateTagReply) Marshal() (dAtA []byte, err error) {
  3978. size := m.Size()
  3979. dAtA = make([]byte, size)
  3980. n, err := m.MarshalTo(dAtA)
  3981. if err != nil {
  3982. return nil, err
  3983. }
  3984. return dAtA[:n], nil
  3985. }
  3986. func (m *CreateTagReply) MarshalTo(dAtA []byte) (int, error) {
  3987. var i int
  3988. _ = i
  3989. var l int
  3990. _ = l
  3991. if m.TagId != 0 {
  3992. dAtA[i] = 0x8
  3993. i++
  3994. i = encodeVarintApi(dAtA, i, uint64(m.TagId))
  3995. }
  3996. if m.XXX_unrecognized != nil {
  3997. i += copy(dAtA[i:], m.XXX_unrecognized)
  3998. }
  3999. return i, nil
  4000. }
  4001. func (m *PromptReply) Marshal() (dAtA []byte, err error) {
  4002. size := m.Size()
  4003. dAtA = make([]byte, size)
  4004. n, err := m.MarshalTo(dAtA)
  4005. if err != nil {
  4006. return nil, err
  4007. }
  4008. return dAtA[:n], nil
  4009. }
  4010. func (m *PromptReply) MarshalTo(dAtA []byte) (int, error) {
  4011. var i int
  4012. _ = i
  4013. var l int
  4014. _ = l
  4015. if m.Success {
  4016. dAtA[i] = 0x8
  4017. i++
  4018. if m.Success {
  4019. dAtA[i] = 1
  4020. } else {
  4021. dAtA[i] = 0
  4022. }
  4023. i++
  4024. }
  4025. if m.XXX_unrecognized != nil {
  4026. i += copy(dAtA[i:], m.XXX_unrecognized)
  4027. }
  4028. return i, nil
  4029. }
  4030. func (m *FollowersUnreadReply) Marshal() (dAtA []byte, err error) {
  4031. size := m.Size()
  4032. dAtA = make([]byte, size)
  4033. n, err := m.MarshalTo(dAtA)
  4034. if err != nil {
  4035. return nil, err
  4036. }
  4037. return dAtA[:n], nil
  4038. }
  4039. func (m *FollowersUnreadReply) MarshalTo(dAtA []byte) (int, error) {
  4040. var i int
  4041. _ = i
  4042. var l int
  4043. _ = l
  4044. if m.HasUnread {
  4045. dAtA[i] = 0x8
  4046. i++
  4047. if m.HasUnread {
  4048. dAtA[i] = 1
  4049. } else {
  4050. dAtA[i] = 0
  4051. }
  4052. i++
  4053. }
  4054. if m.XXX_unrecognized != nil {
  4055. i += copy(dAtA[i:], m.XXX_unrecognized)
  4056. }
  4057. return i, nil
  4058. }
  4059. func (m *FollowersUnreadCountReply) Marshal() (dAtA []byte, err error) {
  4060. size := m.Size()
  4061. dAtA = make([]byte, size)
  4062. n, err := m.MarshalTo(dAtA)
  4063. if err != nil {
  4064. return nil, err
  4065. }
  4066. return dAtA[:n], nil
  4067. }
  4068. func (m *FollowersUnreadCountReply) MarshalTo(dAtA []byte) (int, error) {
  4069. var i int
  4070. _ = i
  4071. var l int
  4072. _ = l
  4073. if m.UnreadCount != 0 {
  4074. dAtA[i] = 0x8
  4075. i++
  4076. i = encodeVarintApi(dAtA, i, uint64(m.UnreadCount))
  4077. }
  4078. if m.XXX_unrecognized != nil {
  4079. i += copy(dAtA[i:], m.XXX_unrecognized)
  4080. }
  4081. return i, nil
  4082. }
  4083. func (m *SpecialReply) Marshal() (dAtA []byte, err error) {
  4084. size := m.Size()
  4085. dAtA = make([]byte, size)
  4086. n, err := m.MarshalTo(dAtA)
  4087. if err != nil {
  4088. return nil, err
  4089. }
  4090. return dAtA[:n], nil
  4091. }
  4092. func (m *SpecialReply) MarshalTo(dAtA []byte) (int, error) {
  4093. var i int
  4094. _ = i
  4095. var l int
  4096. _ = l
  4097. if len(m.Mids) > 0 {
  4098. dAtA12 := make([]byte, len(m.Mids)*10)
  4099. var j11 int
  4100. for _, num1 := range m.Mids {
  4101. num := uint64(num1)
  4102. for num >= 1<<7 {
  4103. dAtA12[j11] = uint8(uint64(num)&0x7f | 0x80)
  4104. num >>= 7
  4105. j11++
  4106. }
  4107. dAtA12[j11] = uint8(num)
  4108. j11++
  4109. }
  4110. dAtA[i] = 0xa
  4111. i++
  4112. i = encodeVarintApi(dAtA, i, uint64(j11))
  4113. i += copy(dAtA[i:], dAtA12[:j11])
  4114. }
  4115. if m.XXX_unrecognized != nil {
  4116. i += copy(dAtA[i:], m.XXX_unrecognized)
  4117. }
  4118. return i, nil
  4119. }
  4120. func (m *AchieveGetReq) Marshal() (dAtA []byte, err error) {
  4121. size := m.Size()
  4122. dAtA = make([]byte, size)
  4123. n, err := m.MarshalTo(dAtA)
  4124. if err != nil {
  4125. return nil, err
  4126. }
  4127. return dAtA[:n], nil
  4128. }
  4129. func (m *AchieveGetReq) MarshalTo(dAtA []byte) (int, error) {
  4130. var i int
  4131. _ = i
  4132. var l int
  4133. _ = l
  4134. if len(m.Award) > 0 {
  4135. dAtA[i] = 0xa
  4136. i++
  4137. i = encodeVarintApi(dAtA, i, uint64(len(m.Award)))
  4138. i += copy(dAtA[i:], m.Award)
  4139. }
  4140. if m.Mid != 0 {
  4141. dAtA[i] = 0x10
  4142. i++
  4143. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4144. }
  4145. if m.XXX_unrecognized != nil {
  4146. i += copy(dAtA[i:], m.XXX_unrecognized)
  4147. }
  4148. return i, nil
  4149. }
  4150. func (m *AchieveGetReply) Marshal() (dAtA []byte, err error) {
  4151. size := m.Size()
  4152. dAtA = make([]byte, size)
  4153. n, err := m.MarshalTo(dAtA)
  4154. if err != nil {
  4155. return nil, err
  4156. }
  4157. return dAtA[:n], nil
  4158. }
  4159. func (m *AchieveGetReply) MarshalTo(dAtA []byte) (int, error) {
  4160. var i int
  4161. _ = i
  4162. var l int
  4163. _ = l
  4164. if len(m.AwardToken) > 0 {
  4165. dAtA[i] = 0xa
  4166. i++
  4167. i = encodeVarintApi(dAtA, i, uint64(len(m.AwardToken)))
  4168. i += copy(dAtA[i:], m.AwardToken)
  4169. }
  4170. if m.XXX_unrecognized != nil {
  4171. i += copy(dAtA[i:], m.XXX_unrecognized)
  4172. }
  4173. return i, nil
  4174. }
  4175. func (m *AchieveReq) Marshal() (dAtA []byte, err error) {
  4176. size := m.Size()
  4177. dAtA = make([]byte, size)
  4178. n, err := m.MarshalTo(dAtA)
  4179. if err != nil {
  4180. return nil, err
  4181. }
  4182. return dAtA[:n], nil
  4183. }
  4184. func (m *AchieveReq) MarshalTo(dAtA []byte) (int, error) {
  4185. var i int
  4186. _ = i
  4187. var l int
  4188. _ = l
  4189. if len(m.AwardToken) > 0 {
  4190. dAtA[i] = 0xa
  4191. i++
  4192. i = encodeVarintApi(dAtA, i, uint64(len(m.AwardToken)))
  4193. i += copy(dAtA[i:], m.AwardToken)
  4194. }
  4195. if m.XXX_unrecognized != nil {
  4196. i += copy(dAtA[i:], m.XXX_unrecognized)
  4197. }
  4198. return i, nil
  4199. }
  4200. func (m *AchieveReply) Marshal() (dAtA []byte, err error) {
  4201. size := m.Size()
  4202. dAtA = make([]byte, size)
  4203. n, err := m.MarshalTo(dAtA)
  4204. if err != nil {
  4205. return nil, err
  4206. }
  4207. return dAtA[:n], nil
  4208. }
  4209. func (m *AchieveReply) MarshalTo(dAtA []byte) (int, error) {
  4210. var i int
  4211. _ = i
  4212. var l int
  4213. _ = l
  4214. if len(m.Award) > 0 {
  4215. dAtA[i] = 0xa
  4216. i++
  4217. i = encodeVarintApi(dAtA, i, uint64(len(m.Award)))
  4218. i += copy(dAtA[i:], m.Award)
  4219. }
  4220. if m.Mid != 0 {
  4221. dAtA[i] = 0x10
  4222. i++
  4223. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4224. }
  4225. if m.XXX_unrecognized != nil {
  4226. i += copy(dAtA[i:], m.XXX_unrecognized)
  4227. }
  4228. return i, nil
  4229. }
  4230. func (m *FollowerNotifySettingReply) Marshal() (dAtA []byte, err error) {
  4231. size := m.Size()
  4232. dAtA = make([]byte, size)
  4233. n, err := m.MarshalTo(dAtA)
  4234. if err != nil {
  4235. return nil, err
  4236. }
  4237. return dAtA[:n], nil
  4238. }
  4239. func (m *FollowerNotifySettingReply) MarshalTo(dAtA []byte) (int, error) {
  4240. var i int
  4241. _ = i
  4242. var l int
  4243. _ = l
  4244. if m.Mid != 0 {
  4245. dAtA[i] = 0x8
  4246. i++
  4247. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4248. }
  4249. if m.Enabled {
  4250. dAtA[i] = 0x10
  4251. i++
  4252. if m.Enabled {
  4253. dAtA[i] = 1
  4254. } else {
  4255. dAtA[i] = 0
  4256. }
  4257. i++
  4258. }
  4259. if m.XXX_unrecognized != nil {
  4260. i += copy(dAtA[i:], m.XXX_unrecognized)
  4261. }
  4262. return i, nil
  4263. }
  4264. func (m *SameFollowingReq) Marshal() (dAtA []byte, err error) {
  4265. size := m.Size()
  4266. dAtA = make([]byte, size)
  4267. n, err := m.MarshalTo(dAtA)
  4268. if err != nil {
  4269. return nil, err
  4270. }
  4271. return dAtA[:n], nil
  4272. }
  4273. func (m *SameFollowingReq) MarshalTo(dAtA []byte) (int, error) {
  4274. var i int
  4275. _ = i
  4276. var l int
  4277. _ = l
  4278. if m.Mid != 0 {
  4279. dAtA[i] = 0x8
  4280. i++
  4281. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  4282. }
  4283. if m.Mid2 != 0 {
  4284. dAtA[i] = 0x10
  4285. i++
  4286. i = encodeVarintApi(dAtA, i, uint64(m.Mid2))
  4287. }
  4288. if m.XXX_unrecognized != nil {
  4289. i += copy(dAtA[i:], m.XXX_unrecognized)
  4290. }
  4291. return i, nil
  4292. }
  4293. func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
  4294. for v >= 1<<7 {
  4295. dAtA[offset] = uint8(v&0x7f | 0x80)
  4296. v >>= 7
  4297. offset++
  4298. }
  4299. dAtA[offset] = uint8(v)
  4300. return offset + 1
  4301. }
  4302. func (m *RelationReq) Size() (n int) {
  4303. if m == nil {
  4304. return 0
  4305. }
  4306. var l int
  4307. _ = l
  4308. if m.Mid != 0 {
  4309. n += 1 + sovApi(uint64(m.Mid))
  4310. }
  4311. if m.Fid != 0 {
  4312. n += 1 + sovApi(uint64(m.Fid))
  4313. }
  4314. l = len(m.RealIp)
  4315. if l > 0 {
  4316. n += 1 + l + sovApi(uint64(l))
  4317. }
  4318. if m.XXX_unrecognized != nil {
  4319. n += len(m.XXX_unrecognized)
  4320. }
  4321. return n
  4322. }
  4323. func (m *FollowingReply) Size() (n int) {
  4324. if m == nil {
  4325. return 0
  4326. }
  4327. var l int
  4328. _ = l
  4329. if m.Mid != 0 {
  4330. n += 1 + sovApi(uint64(m.Mid))
  4331. }
  4332. if m.Attribute != 0 {
  4333. n += 1 + sovApi(uint64(m.Attribute))
  4334. }
  4335. if m.Source != 0 {
  4336. n += 1 + sovApi(uint64(m.Source))
  4337. }
  4338. if m.CTime != 0 {
  4339. n += 1 + sovApi(uint64(m.CTime))
  4340. }
  4341. if m.MTime != 0 {
  4342. n += 1 + sovApi(uint64(m.MTime))
  4343. }
  4344. if len(m.Tag) > 0 {
  4345. l = 0
  4346. for _, e := range m.Tag {
  4347. l += sovApi(uint64(e))
  4348. }
  4349. n += 1 + sovApi(uint64(l)) + l
  4350. }
  4351. if m.Special != 0 {
  4352. n += 1 + sovApi(uint64(m.Special))
  4353. }
  4354. if m.XXX_unrecognized != nil {
  4355. n += len(m.XXX_unrecognized)
  4356. }
  4357. return n
  4358. }
  4359. func (m *RelationsReq) Size() (n int) {
  4360. if m == nil {
  4361. return 0
  4362. }
  4363. var l int
  4364. _ = l
  4365. if m.Mid != 0 {
  4366. n += 1 + sovApi(uint64(m.Mid))
  4367. }
  4368. if len(m.Fid) > 0 {
  4369. l = 0
  4370. for _, e := range m.Fid {
  4371. l += sovApi(uint64(e))
  4372. }
  4373. n += 1 + sovApi(uint64(l)) + l
  4374. }
  4375. l = len(m.RealIp)
  4376. if l > 0 {
  4377. n += 1 + l + sovApi(uint64(l))
  4378. }
  4379. if m.XXX_unrecognized != nil {
  4380. n += len(m.XXX_unrecognized)
  4381. }
  4382. return n
  4383. }
  4384. func (m *FollowingMapReply) Size() (n int) {
  4385. if m == nil {
  4386. return 0
  4387. }
  4388. var l int
  4389. _ = l
  4390. if len(m.FollowingMap) > 0 {
  4391. for k, v := range m.FollowingMap {
  4392. _ = k
  4393. _ = v
  4394. l = 0
  4395. if v != nil {
  4396. l = v.Size()
  4397. l += 1 + sovApi(uint64(l))
  4398. }
  4399. mapEntrySize := 1 + sovApi(uint64(k)) + l
  4400. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  4401. }
  4402. }
  4403. if m.XXX_unrecognized != nil {
  4404. n += len(m.XXX_unrecognized)
  4405. }
  4406. return n
  4407. }
  4408. func (m *FollowingsReply) Size() (n int) {
  4409. if m == nil {
  4410. return 0
  4411. }
  4412. var l int
  4413. _ = l
  4414. if len(m.FollowingList) > 0 {
  4415. for _, e := range m.FollowingList {
  4416. l = e.Size()
  4417. n += 1 + l + sovApi(uint64(l))
  4418. }
  4419. }
  4420. if m.XXX_unrecognized != nil {
  4421. n += len(m.XXX_unrecognized)
  4422. }
  4423. return n
  4424. }
  4425. func (m *MidReq) Size() (n int) {
  4426. if m == nil {
  4427. return 0
  4428. }
  4429. var l int
  4430. _ = l
  4431. if m.Mid != 0 {
  4432. n += 1 + sovApi(uint64(m.Mid))
  4433. }
  4434. l = len(m.RealIp)
  4435. if l > 0 {
  4436. n += 1 + l + sovApi(uint64(l))
  4437. }
  4438. if m.XXX_unrecognized != nil {
  4439. n += len(m.XXX_unrecognized)
  4440. }
  4441. return n
  4442. }
  4443. func (m *StatReply) Size() (n int) {
  4444. if m == nil {
  4445. return 0
  4446. }
  4447. var l int
  4448. _ = l
  4449. if m.Mid != 0 {
  4450. n += 1 + sovApi(uint64(m.Mid))
  4451. }
  4452. if m.Following != 0 {
  4453. n += 1 + sovApi(uint64(m.Following))
  4454. }
  4455. if m.Whisper != 0 {
  4456. n += 1 + sovApi(uint64(m.Whisper))
  4457. }
  4458. if m.Black != 0 {
  4459. n += 1 + sovApi(uint64(m.Black))
  4460. }
  4461. if m.Follower != 0 {
  4462. n += 1 + sovApi(uint64(m.Follower))
  4463. }
  4464. if m.CTime != 0 {
  4465. n += 1 + sovApi(uint64(m.CTime))
  4466. }
  4467. if m.MTime != 0 {
  4468. n += 1 + sovApi(uint64(m.MTime))
  4469. }
  4470. if m.XXX_unrecognized != nil {
  4471. n += len(m.XXX_unrecognized)
  4472. }
  4473. return n
  4474. }
  4475. func (m *MidsReq) Size() (n int) {
  4476. if m == nil {
  4477. return 0
  4478. }
  4479. var l int
  4480. _ = l
  4481. if len(m.Mids) > 0 {
  4482. l = 0
  4483. for _, e := range m.Mids {
  4484. l += sovApi(uint64(e))
  4485. }
  4486. n += 1 + sovApi(uint64(l)) + l
  4487. }
  4488. l = len(m.RealIp)
  4489. if l > 0 {
  4490. n += 1 + l + sovApi(uint64(l))
  4491. }
  4492. if m.XXX_unrecognized != nil {
  4493. n += len(m.XXX_unrecognized)
  4494. }
  4495. return n
  4496. }
  4497. func (m *StatsReply) Size() (n int) {
  4498. if m == nil {
  4499. return 0
  4500. }
  4501. var l int
  4502. _ = l
  4503. if len(m.StatReplyMap) > 0 {
  4504. for k, v := range m.StatReplyMap {
  4505. _ = k
  4506. _ = v
  4507. l = 0
  4508. if v != nil {
  4509. l = v.Size()
  4510. l += 1 + sovApi(uint64(l))
  4511. }
  4512. mapEntrySize := 1 + sovApi(uint64(k)) + l
  4513. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  4514. }
  4515. }
  4516. if m.XXX_unrecognized != nil {
  4517. n += len(m.XXX_unrecognized)
  4518. }
  4519. return n
  4520. }
  4521. func (m *FollowingReq) Size() (n int) {
  4522. if m == nil {
  4523. return 0
  4524. }
  4525. var l int
  4526. _ = l
  4527. if m.Mid != 0 {
  4528. n += 1 + sovApi(uint64(m.Mid))
  4529. }
  4530. if m.Fid != 0 {
  4531. n += 1 + sovApi(uint64(m.Fid))
  4532. }
  4533. if m.Source != 0 {
  4534. n += 1 + sovApi(uint64(m.Source))
  4535. }
  4536. l = len(m.RealIp)
  4537. if l > 0 {
  4538. n += 1 + l + sovApi(uint64(l))
  4539. }
  4540. if m.Action != 0 {
  4541. n += 1 + sovApi(uint64(m.Action))
  4542. }
  4543. if len(m.Infoc) > 0 {
  4544. for k, v := range m.Infoc {
  4545. _ = k
  4546. _ = v
  4547. mapEntrySize := 1 + len(k) + sovApi(uint64(len(k))) + 1 + len(v) + sovApi(uint64(len(v)))
  4548. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  4549. }
  4550. }
  4551. if m.XXX_unrecognized != nil {
  4552. n += len(m.XXX_unrecognized)
  4553. }
  4554. return n
  4555. }
  4556. func (m *EmptyReply) Size() (n int) {
  4557. if m == nil {
  4558. return 0
  4559. }
  4560. var l int
  4561. _ = l
  4562. if m.XXX_unrecognized != nil {
  4563. n += len(m.XXX_unrecognized)
  4564. }
  4565. return n
  4566. }
  4567. func (m *TagIdReq) Size() (n int) {
  4568. if m == nil {
  4569. return 0
  4570. }
  4571. var l int
  4572. _ = l
  4573. if m.Mid != 0 {
  4574. n += 1 + sovApi(uint64(m.Mid))
  4575. }
  4576. if m.TagId != 0 {
  4577. n += 1 + sovApi(uint64(m.TagId))
  4578. }
  4579. l = len(m.RealIp)
  4580. if l > 0 {
  4581. n += 1 + l + sovApi(uint64(l))
  4582. }
  4583. if m.XXX_unrecognized != nil {
  4584. n += len(m.XXX_unrecognized)
  4585. }
  4586. return n
  4587. }
  4588. func (m *TagReply) Size() (n int) {
  4589. if m == nil {
  4590. return 0
  4591. }
  4592. var l int
  4593. _ = l
  4594. if len(m.Mids) > 0 {
  4595. l = 0
  4596. for _, e := range m.Mids {
  4597. l += sovApi(uint64(e))
  4598. }
  4599. n += 1 + sovApi(uint64(l)) + l
  4600. }
  4601. if m.XXX_unrecognized != nil {
  4602. n += len(m.XXX_unrecognized)
  4603. }
  4604. return n
  4605. }
  4606. func (m *TagCountReply) Size() (n int) {
  4607. if m == nil {
  4608. return 0
  4609. }
  4610. var l int
  4611. _ = l
  4612. if m.Tagid != 0 {
  4613. n += 1 + sovApi(uint64(m.Tagid))
  4614. }
  4615. l = len(m.Name)
  4616. if l > 0 {
  4617. n += 1 + l + sovApi(uint64(l))
  4618. }
  4619. if m.Count != 0 {
  4620. n += 1 + sovApi(uint64(m.Count))
  4621. }
  4622. if m.XXX_unrecognized != nil {
  4623. n += len(m.XXX_unrecognized)
  4624. }
  4625. return n
  4626. }
  4627. func (m *TagsCountReply) Size() (n int) {
  4628. if m == nil {
  4629. return 0
  4630. }
  4631. var l int
  4632. _ = l
  4633. if len(m.TagCountList) > 0 {
  4634. for _, e := range m.TagCountList {
  4635. l = e.Size()
  4636. n += 1 + l + sovApi(uint64(l))
  4637. }
  4638. }
  4639. if m.XXX_unrecognized != nil {
  4640. n += len(m.XXX_unrecognized)
  4641. }
  4642. return n
  4643. }
  4644. func (m *UserTagReply) Size() (n int) {
  4645. if m == nil {
  4646. return 0
  4647. }
  4648. var l int
  4649. _ = l
  4650. if len(m.Tags) > 0 {
  4651. for k, v := range m.Tags {
  4652. _ = k
  4653. _ = v
  4654. mapEntrySize := 1 + sovApi(uint64(k)) + 1 + len(v) + sovApi(uint64(len(v)))
  4655. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  4656. }
  4657. }
  4658. if m.XXX_unrecognized != nil {
  4659. n += len(m.XXX_unrecognized)
  4660. }
  4661. return n
  4662. }
  4663. func (m *TagReq) Size() (n int) {
  4664. if m == nil {
  4665. return 0
  4666. }
  4667. var l int
  4668. _ = l
  4669. if m.Mid != 0 {
  4670. n += 1 + sovApi(uint64(m.Mid))
  4671. }
  4672. l = len(m.Tag)
  4673. if l > 0 {
  4674. n += 1 + l + sovApi(uint64(l))
  4675. }
  4676. l = len(m.RealIp)
  4677. if l > 0 {
  4678. n += 1 + l + sovApi(uint64(l))
  4679. }
  4680. if m.XXX_unrecognized != nil {
  4681. n += len(m.XXX_unrecognized)
  4682. }
  4683. return n
  4684. }
  4685. func (m *TagUpdateReq) Size() (n int) {
  4686. if m == nil {
  4687. return 0
  4688. }
  4689. var l int
  4690. _ = l
  4691. if m.Mid != 0 {
  4692. n += 1 + sovApi(uint64(m.Mid))
  4693. }
  4694. if m.TagId != 0 {
  4695. n += 1 + sovApi(uint64(m.TagId))
  4696. }
  4697. l = len(m.New)
  4698. if l > 0 {
  4699. n += 1 + l + sovApi(uint64(l))
  4700. }
  4701. l = len(m.RealIp)
  4702. if l > 0 {
  4703. n += 1 + l + sovApi(uint64(l))
  4704. }
  4705. if m.XXX_unrecognized != nil {
  4706. n += len(m.XXX_unrecognized)
  4707. }
  4708. return n
  4709. }
  4710. func (m *TagDelReq) Size() (n int) {
  4711. if m == nil {
  4712. return 0
  4713. }
  4714. var l int
  4715. _ = l
  4716. if m.Mid != 0 {
  4717. n += 1 + sovApi(uint64(m.Mid))
  4718. }
  4719. if m.TagId != 0 {
  4720. n += 1 + sovApi(uint64(m.TagId))
  4721. }
  4722. l = len(m.RealIp)
  4723. if l > 0 {
  4724. n += 1 + l + sovApi(uint64(l))
  4725. }
  4726. if m.XXX_unrecognized != nil {
  4727. n += len(m.XXX_unrecognized)
  4728. }
  4729. return n
  4730. }
  4731. func (m *TagsMoveUsersReq) Size() (n int) {
  4732. if m == nil {
  4733. return 0
  4734. }
  4735. var l int
  4736. _ = l
  4737. if m.Mid != 0 {
  4738. n += 1 + sovApi(uint64(m.Mid))
  4739. }
  4740. if m.BeforeId != 0 {
  4741. n += 1 + sovApi(uint64(m.BeforeId))
  4742. }
  4743. l = len(m.AfterTagIds)
  4744. if l > 0 {
  4745. n += 1 + l + sovApi(uint64(l))
  4746. }
  4747. l = len(m.Fids)
  4748. if l > 0 {
  4749. n += 1 + l + sovApi(uint64(l))
  4750. }
  4751. l = len(m.RealIp)
  4752. if l > 0 {
  4753. n += 1 + l + sovApi(uint64(l))
  4754. }
  4755. if m.XXX_unrecognized != nil {
  4756. n += len(m.XXX_unrecognized)
  4757. }
  4758. return n
  4759. }
  4760. func (m *PromptReq) Size() (n int) {
  4761. if m == nil {
  4762. return 0
  4763. }
  4764. var l int
  4765. _ = l
  4766. if m.Mid != 0 {
  4767. n += 1 + sovApi(uint64(m.Mid))
  4768. }
  4769. if m.Fid != 0 {
  4770. n += 1 + sovApi(uint64(m.Fid))
  4771. }
  4772. if m.Btype != 0 {
  4773. n += 1 + sovApi(uint64(m.Btype))
  4774. }
  4775. if m.XXX_unrecognized != nil {
  4776. n += len(m.XXX_unrecognized)
  4777. }
  4778. return n
  4779. }
  4780. func (m *CreateTagReply) Size() (n int) {
  4781. if m == nil {
  4782. return 0
  4783. }
  4784. var l int
  4785. _ = l
  4786. if m.TagId != 0 {
  4787. n += 1 + sovApi(uint64(m.TagId))
  4788. }
  4789. if m.XXX_unrecognized != nil {
  4790. n += len(m.XXX_unrecognized)
  4791. }
  4792. return n
  4793. }
  4794. func (m *PromptReply) Size() (n int) {
  4795. if m == nil {
  4796. return 0
  4797. }
  4798. var l int
  4799. _ = l
  4800. if m.Success {
  4801. n += 2
  4802. }
  4803. if m.XXX_unrecognized != nil {
  4804. n += len(m.XXX_unrecognized)
  4805. }
  4806. return n
  4807. }
  4808. func (m *FollowersUnreadReply) Size() (n int) {
  4809. if m == nil {
  4810. return 0
  4811. }
  4812. var l int
  4813. _ = l
  4814. if m.HasUnread {
  4815. n += 2
  4816. }
  4817. if m.XXX_unrecognized != nil {
  4818. n += len(m.XXX_unrecognized)
  4819. }
  4820. return n
  4821. }
  4822. func (m *FollowersUnreadCountReply) Size() (n int) {
  4823. if m == nil {
  4824. return 0
  4825. }
  4826. var l int
  4827. _ = l
  4828. if m.UnreadCount != 0 {
  4829. n += 1 + sovApi(uint64(m.UnreadCount))
  4830. }
  4831. if m.XXX_unrecognized != nil {
  4832. n += len(m.XXX_unrecognized)
  4833. }
  4834. return n
  4835. }
  4836. func (m *SpecialReply) Size() (n int) {
  4837. if m == nil {
  4838. return 0
  4839. }
  4840. var l int
  4841. _ = l
  4842. if len(m.Mids) > 0 {
  4843. l = 0
  4844. for _, e := range m.Mids {
  4845. l += sovApi(uint64(e))
  4846. }
  4847. n += 1 + sovApi(uint64(l)) + l
  4848. }
  4849. if m.XXX_unrecognized != nil {
  4850. n += len(m.XXX_unrecognized)
  4851. }
  4852. return n
  4853. }
  4854. func (m *AchieveGetReq) Size() (n int) {
  4855. if m == nil {
  4856. return 0
  4857. }
  4858. var l int
  4859. _ = l
  4860. l = len(m.Award)
  4861. if l > 0 {
  4862. n += 1 + l + sovApi(uint64(l))
  4863. }
  4864. if m.Mid != 0 {
  4865. n += 1 + sovApi(uint64(m.Mid))
  4866. }
  4867. if m.XXX_unrecognized != nil {
  4868. n += len(m.XXX_unrecognized)
  4869. }
  4870. return n
  4871. }
  4872. func (m *AchieveGetReply) Size() (n int) {
  4873. if m == nil {
  4874. return 0
  4875. }
  4876. var l int
  4877. _ = l
  4878. l = len(m.AwardToken)
  4879. if l > 0 {
  4880. n += 1 + l + sovApi(uint64(l))
  4881. }
  4882. if m.XXX_unrecognized != nil {
  4883. n += len(m.XXX_unrecognized)
  4884. }
  4885. return n
  4886. }
  4887. func (m *AchieveReq) Size() (n int) {
  4888. if m == nil {
  4889. return 0
  4890. }
  4891. var l int
  4892. _ = l
  4893. l = len(m.AwardToken)
  4894. if l > 0 {
  4895. n += 1 + l + sovApi(uint64(l))
  4896. }
  4897. if m.XXX_unrecognized != nil {
  4898. n += len(m.XXX_unrecognized)
  4899. }
  4900. return n
  4901. }
  4902. func (m *AchieveReply) Size() (n int) {
  4903. if m == nil {
  4904. return 0
  4905. }
  4906. var l int
  4907. _ = l
  4908. l = len(m.Award)
  4909. if l > 0 {
  4910. n += 1 + l + sovApi(uint64(l))
  4911. }
  4912. if m.Mid != 0 {
  4913. n += 1 + sovApi(uint64(m.Mid))
  4914. }
  4915. if m.XXX_unrecognized != nil {
  4916. n += len(m.XXX_unrecognized)
  4917. }
  4918. return n
  4919. }
  4920. func (m *FollowerNotifySettingReply) Size() (n int) {
  4921. if m == nil {
  4922. return 0
  4923. }
  4924. var l int
  4925. _ = l
  4926. if m.Mid != 0 {
  4927. n += 1 + sovApi(uint64(m.Mid))
  4928. }
  4929. if m.Enabled {
  4930. n += 2
  4931. }
  4932. if m.XXX_unrecognized != nil {
  4933. n += len(m.XXX_unrecognized)
  4934. }
  4935. return n
  4936. }
  4937. func (m *SameFollowingReq) Size() (n int) {
  4938. if m == nil {
  4939. return 0
  4940. }
  4941. var l int
  4942. _ = l
  4943. if m.Mid != 0 {
  4944. n += 1 + sovApi(uint64(m.Mid))
  4945. }
  4946. if m.Mid2 != 0 {
  4947. n += 1 + sovApi(uint64(m.Mid2))
  4948. }
  4949. if m.XXX_unrecognized != nil {
  4950. n += len(m.XXX_unrecognized)
  4951. }
  4952. return n
  4953. }
  4954. func sovApi(x uint64) (n int) {
  4955. for {
  4956. n++
  4957. x >>= 7
  4958. if x == 0 {
  4959. break
  4960. }
  4961. }
  4962. return n
  4963. }
  4964. func sozApi(x uint64) (n int) {
  4965. return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  4966. }
  4967. func (m *RelationReq) Unmarshal(dAtA []byte) error {
  4968. l := len(dAtA)
  4969. iNdEx := 0
  4970. for iNdEx < l {
  4971. preIndex := iNdEx
  4972. var wire uint64
  4973. for shift := uint(0); ; shift += 7 {
  4974. if shift >= 64 {
  4975. return ErrIntOverflowApi
  4976. }
  4977. if iNdEx >= l {
  4978. return io.ErrUnexpectedEOF
  4979. }
  4980. b := dAtA[iNdEx]
  4981. iNdEx++
  4982. wire |= (uint64(b) & 0x7F) << shift
  4983. if b < 0x80 {
  4984. break
  4985. }
  4986. }
  4987. fieldNum := int32(wire >> 3)
  4988. wireType := int(wire & 0x7)
  4989. if wireType == 4 {
  4990. return fmt.Errorf("proto: RelationReq: wiretype end group for non-group")
  4991. }
  4992. if fieldNum <= 0 {
  4993. return fmt.Errorf("proto: RelationReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4994. }
  4995. switch fieldNum {
  4996. case 1:
  4997. if wireType != 0 {
  4998. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4999. }
  5000. m.Mid = 0
  5001. for shift := uint(0); ; shift += 7 {
  5002. if shift >= 64 {
  5003. return ErrIntOverflowApi
  5004. }
  5005. if iNdEx >= l {
  5006. return io.ErrUnexpectedEOF
  5007. }
  5008. b := dAtA[iNdEx]
  5009. iNdEx++
  5010. m.Mid |= (int64(b) & 0x7F) << shift
  5011. if b < 0x80 {
  5012. break
  5013. }
  5014. }
  5015. case 2:
  5016. if wireType != 0 {
  5017. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  5018. }
  5019. m.Fid = 0
  5020. for shift := uint(0); ; shift += 7 {
  5021. if shift >= 64 {
  5022. return ErrIntOverflowApi
  5023. }
  5024. if iNdEx >= l {
  5025. return io.ErrUnexpectedEOF
  5026. }
  5027. b := dAtA[iNdEx]
  5028. iNdEx++
  5029. m.Fid |= (int64(b) & 0x7F) << shift
  5030. if b < 0x80 {
  5031. break
  5032. }
  5033. }
  5034. case 3:
  5035. if wireType != 2 {
  5036. return fmt.Errorf("proto: wrong wireType = %d for field RealIp", wireType)
  5037. }
  5038. var stringLen uint64
  5039. for shift := uint(0); ; shift += 7 {
  5040. if shift >= 64 {
  5041. return ErrIntOverflowApi
  5042. }
  5043. if iNdEx >= l {
  5044. return io.ErrUnexpectedEOF
  5045. }
  5046. b := dAtA[iNdEx]
  5047. iNdEx++
  5048. stringLen |= (uint64(b) & 0x7F) << shift
  5049. if b < 0x80 {
  5050. break
  5051. }
  5052. }
  5053. intStringLen := int(stringLen)
  5054. if intStringLen < 0 {
  5055. return ErrInvalidLengthApi
  5056. }
  5057. postIndex := iNdEx + intStringLen
  5058. if postIndex > l {
  5059. return io.ErrUnexpectedEOF
  5060. }
  5061. m.RealIp = string(dAtA[iNdEx:postIndex])
  5062. iNdEx = postIndex
  5063. default:
  5064. iNdEx = preIndex
  5065. skippy, err := skipApi(dAtA[iNdEx:])
  5066. if err != nil {
  5067. return err
  5068. }
  5069. if skippy < 0 {
  5070. return ErrInvalidLengthApi
  5071. }
  5072. if (iNdEx + skippy) > l {
  5073. return io.ErrUnexpectedEOF
  5074. }
  5075. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5076. iNdEx += skippy
  5077. }
  5078. }
  5079. if iNdEx > l {
  5080. return io.ErrUnexpectedEOF
  5081. }
  5082. return nil
  5083. }
  5084. func (m *FollowingReply) Unmarshal(dAtA []byte) error {
  5085. l := len(dAtA)
  5086. iNdEx := 0
  5087. for iNdEx < l {
  5088. preIndex := iNdEx
  5089. var wire uint64
  5090. for shift := uint(0); ; shift += 7 {
  5091. if shift >= 64 {
  5092. return ErrIntOverflowApi
  5093. }
  5094. if iNdEx >= l {
  5095. return io.ErrUnexpectedEOF
  5096. }
  5097. b := dAtA[iNdEx]
  5098. iNdEx++
  5099. wire |= (uint64(b) & 0x7F) << shift
  5100. if b < 0x80 {
  5101. break
  5102. }
  5103. }
  5104. fieldNum := int32(wire >> 3)
  5105. wireType := int(wire & 0x7)
  5106. if wireType == 4 {
  5107. return fmt.Errorf("proto: FollowingReply: wiretype end group for non-group")
  5108. }
  5109. if fieldNum <= 0 {
  5110. return fmt.Errorf("proto: FollowingReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5111. }
  5112. switch fieldNum {
  5113. case 1:
  5114. if wireType != 0 {
  5115. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  5116. }
  5117. m.Mid = 0
  5118. for shift := uint(0); ; shift += 7 {
  5119. if shift >= 64 {
  5120. return ErrIntOverflowApi
  5121. }
  5122. if iNdEx >= l {
  5123. return io.ErrUnexpectedEOF
  5124. }
  5125. b := dAtA[iNdEx]
  5126. iNdEx++
  5127. m.Mid |= (int64(b) & 0x7F) << shift
  5128. if b < 0x80 {
  5129. break
  5130. }
  5131. }
  5132. case 2:
  5133. if wireType != 0 {
  5134. return fmt.Errorf("proto: wrong wireType = %d for field Attribute", wireType)
  5135. }
  5136. m.Attribute = 0
  5137. for shift := uint(0); ; shift += 7 {
  5138. if shift >= 64 {
  5139. return ErrIntOverflowApi
  5140. }
  5141. if iNdEx >= l {
  5142. return io.ErrUnexpectedEOF
  5143. }
  5144. b := dAtA[iNdEx]
  5145. iNdEx++
  5146. m.Attribute |= (uint32(b) & 0x7F) << shift
  5147. if b < 0x80 {
  5148. break
  5149. }
  5150. }
  5151. case 3:
  5152. if wireType != 0 {
  5153. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  5154. }
  5155. m.Source = 0
  5156. for shift := uint(0); ; shift += 7 {
  5157. if shift >= 64 {
  5158. return ErrIntOverflowApi
  5159. }
  5160. if iNdEx >= l {
  5161. return io.ErrUnexpectedEOF
  5162. }
  5163. b := dAtA[iNdEx]
  5164. iNdEx++
  5165. m.Source |= (uint32(b) & 0x7F) << shift
  5166. if b < 0x80 {
  5167. break
  5168. }
  5169. }
  5170. case 4:
  5171. if wireType != 0 {
  5172. return fmt.Errorf("proto: wrong wireType = %d for field CTime", wireType)
  5173. }
  5174. m.CTime = 0
  5175. for shift := uint(0); ; shift += 7 {
  5176. if shift >= 64 {
  5177. return ErrIntOverflowApi
  5178. }
  5179. if iNdEx >= l {
  5180. return io.ErrUnexpectedEOF
  5181. }
  5182. b := dAtA[iNdEx]
  5183. iNdEx++
  5184. m.CTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  5185. if b < 0x80 {
  5186. break
  5187. }
  5188. }
  5189. case 5:
  5190. if wireType != 0 {
  5191. return fmt.Errorf("proto: wrong wireType = %d for field MTime", wireType)
  5192. }
  5193. m.MTime = 0
  5194. for shift := uint(0); ; shift += 7 {
  5195. if shift >= 64 {
  5196. return ErrIntOverflowApi
  5197. }
  5198. if iNdEx >= l {
  5199. return io.ErrUnexpectedEOF
  5200. }
  5201. b := dAtA[iNdEx]
  5202. iNdEx++
  5203. m.MTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  5204. if b < 0x80 {
  5205. break
  5206. }
  5207. }
  5208. case 6:
  5209. if wireType == 0 {
  5210. var v int64
  5211. for shift := uint(0); ; shift += 7 {
  5212. if shift >= 64 {
  5213. return ErrIntOverflowApi
  5214. }
  5215. if iNdEx >= l {
  5216. return io.ErrUnexpectedEOF
  5217. }
  5218. b := dAtA[iNdEx]
  5219. iNdEx++
  5220. v |= (int64(b) & 0x7F) << shift
  5221. if b < 0x80 {
  5222. break
  5223. }
  5224. }
  5225. m.Tag = append(m.Tag, v)
  5226. } else if wireType == 2 {
  5227. var packedLen int
  5228. for shift := uint(0); ; shift += 7 {
  5229. if shift >= 64 {
  5230. return ErrIntOverflowApi
  5231. }
  5232. if iNdEx >= l {
  5233. return io.ErrUnexpectedEOF
  5234. }
  5235. b := dAtA[iNdEx]
  5236. iNdEx++
  5237. packedLen |= (int(b) & 0x7F) << shift
  5238. if b < 0x80 {
  5239. break
  5240. }
  5241. }
  5242. if packedLen < 0 {
  5243. return ErrInvalidLengthApi
  5244. }
  5245. postIndex := iNdEx + packedLen
  5246. if postIndex > l {
  5247. return io.ErrUnexpectedEOF
  5248. }
  5249. var elementCount int
  5250. var count int
  5251. for _, integer := range dAtA {
  5252. if integer < 128 {
  5253. count++
  5254. }
  5255. }
  5256. elementCount = count
  5257. if elementCount != 0 && len(m.Tag) == 0 {
  5258. m.Tag = make([]int64, 0, elementCount)
  5259. }
  5260. for iNdEx < postIndex {
  5261. var v int64
  5262. for shift := uint(0); ; shift += 7 {
  5263. if shift >= 64 {
  5264. return ErrIntOverflowApi
  5265. }
  5266. if iNdEx >= l {
  5267. return io.ErrUnexpectedEOF
  5268. }
  5269. b := dAtA[iNdEx]
  5270. iNdEx++
  5271. v |= (int64(b) & 0x7F) << shift
  5272. if b < 0x80 {
  5273. break
  5274. }
  5275. }
  5276. m.Tag = append(m.Tag, v)
  5277. }
  5278. } else {
  5279. return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType)
  5280. }
  5281. case 7:
  5282. if wireType != 0 {
  5283. return fmt.Errorf("proto: wrong wireType = %d for field Special", wireType)
  5284. }
  5285. m.Special = 0
  5286. for shift := uint(0); ; shift += 7 {
  5287. if shift >= 64 {
  5288. return ErrIntOverflowApi
  5289. }
  5290. if iNdEx >= l {
  5291. return io.ErrUnexpectedEOF
  5292. }
  5293. b := dAtA[iNdEx]
  5294. iNdEx++
  5295. m.Special |= (int32(b) & 0x7F) << shift
  5296. if b < 0x80 {
  5297. break
  5298. }
  5299. }
  5300. default:
  5301. iNdEx = preIndex
  5302. skippy, err := skipApi(dAtA[iNdEx:])
  5303. if err != nil {
  5304. return err
  5305. }
  5306. if skippy < 0 {
  5307. return ErrInvalidLengthApi
  5308. }
  5309. if (iNdEx + skippy) > l {
  5310. return io.ErrUnexpectedEOF
  5311. }
  5312. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5313. iNdEx += skippy
  5314. }
  5315. }
  5316. if iNdEx > l {
  5317. return io.ErrUnexpectedEOF
  5318. }
  5319. return nil
  5320. }
  5321. func (m *RelationsReq) Unmarshal(dAtA []byte) error {
  5322. l := len(dAtA)
  5323. iNdEx := 0
  5324. for iNdEx < l {
  5325. preIndex := iNdEx
  5326. var wire uint64
  5327. for shift := uint(0); ; shift += 7 {
  5328. if shift >= 64 {
  5329. return ErrIntOverflowApi
  5330. }
  5331. if iNdEx >= l {
  5332. return io.ErrUnexpectedEOF
  5333. }
  5334. b := dAtA[iNdEx]
  5335. iNdEx++
  5336. wire |= (uint64(b) & 0x7F) << shift
  5337. if b < 0x80 {
  5338. break
  5339. }
  5340. }
  5341. fieldNum := int32(wire >> 3)
  5342. wireType := int(wire & 0x7)
  5343. if wireType == 4 {
  5344. return fmt.Errorf("proto: RelationsReq: wiretype end group for non-group")
  5345. }
  5346. if fieldNum <= 0 {
  5347. return fmt.Errorf("proto: RelationsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5348. }
  5349. switch fieldNum {
  5350. case 1:
  5351. if wireType != 0 {
  5352. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  5353. }
  5354. m.Mid = 0
  5355. for shift := uint(0); ; shift += 7 {
  5356. if shift >= 64 {
  5357. return ErrIntOverflowApi
  5358. }
  5359. if iNdEx >= l {
  5360. return io.ErrUnexpectedEOF
  5361. }
  5362. b := dAtA[iNdEx]
  5363. iNdEx++
  5364. m.Mid |= (int64(b) & 0x7F) << shift
  5365. if b < 0x80 {
  5366. break
  5367. }
  5368. }
  5369. case 2:
  5370. if wireType == 0 {
  5371. var v int64
  5372. for shift := uint(0); ; shift += 7 {
  5373. if shift >= 64 {
  5374. return ErrIntOverflowApi
  5375. }
  5376. if iNdEx >= l {
  5377. return io.ErrUnexpectedEOF
  5378. }
  5379. b := dAtA[iNdEx]
  5380. iNdEx++
  5381. v |= (int64(b) & 0x7F) << shift
  5382. if b < 0x80 {
  5383. break
  5384. }
  5385. }
  5386. m.Fid = append(m.Fid, v)
  5387. } else if wireType == 2 {
  5388. var packedLen int
  5389. for shift := uint(0); ; shift += 7 {
  5390. if shift >= 64 {
  5391. return ErrIntOverflowApi
  5392. }
  5393. if iNdEx >= l {
  5394. return io.ErrUnexpectedEOF
  5395. }
  5396. b := dAtA[iNdEx]
  5397. iNdEx++
  5398. packedLen |= (int(b) & 0x7F) << shift
  5399. if b < 0x80 {
  5400. break
  5401. }
  5402. }
  5403. if packedLen < 0 {
  5404. return ErrInvalidLengthApi
  5405. }
  5406. postIndex := iNdEx + packedLen
  5407. if postIndex > l {
  5408. return io.ErrUnexpectedEOF
  5409. }
  5410. var elementCount int
  5411. var count int
  5412. for _, integer := range dAtA {
  5413. if integer < 128 {
  5414. count++
  5415. }
  5416. }
  5417. elementCount = count
  5418. if elementCount != 0 && len(m.Fid) == 0 {
  5419. m.Fid = make([]int64, 0, elementCount)
  5420. }
  5421. for iNdEx < postIndex {
  5422. var v int64
  5423. for shift := uint(0); ; shift += 7 {
  5424. if shift >= 64 {
  5425. return ErrIntOverflowApi
  5426. }
  5427. if iNdEx >= l {
  5428. return io.ErrUnexpectedEOF
  5429. }
  5430. b := dAtA[iNdEx]
  5431. iNdEx++
  5432. v |= (int64(b) & 0x7F) << shift
  5433. if b < 0x80 {
  5434. break
  5435. }
  5436. }
  5437. m.Fid = append(m.Fid, v)
  5438. }
  5439. } else {
  5440. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  5441. }
  5442. case 3:
  5443. if wireType != 2 {
  5444. return fmt.Errorf("proto: wrong wireType = %d for field RealIp", wireType)
  5445. }
  5446. var stringLen uint64
  5447. for shift := uint(0); ; shift += 7 {
  5448. if shift >= 64 {
  5449. return ErrIntOverflowApi
  5450. }
  5451. if iNdEx >= l {
  5452. return io.ErrUnexpectedEOF
  5453. }
  5454. b := dAtA[iNdEx]
  5455. iNdEx++
  5456. stringLen |= (uint64(b) & 0x7F) << shift
  5457. if b < 0x80 {
  5458. break
  5459. }
  5460. }
  5461. intStringLen := int(stringLen)
  5462. if intStringLen < 0 {
  5463. return ErrInvalidLengthApi
  5464. }
  5465. postIndex := iNdEx + intStringLen
  5466. if postIndex > l {
  5467. return io.ErrUnexpectedEOF
  5468. }
  5469. m.RealIp = string(dAtA[iNdEx:postIndex])
  5470. iNdEx = postIndex
  5471. default:
  5472. iNdEx = preIndex
  5473. skippy, err := skipApi(dAtA[iNdEx:])
  5474. if err != nil {
  5475. return err
  5476. }
  5477. if skippy < 0 {
  5478. return ErrInvalidLengthApi
  5479. }
  5480. if (iNdEx + skippy) > l {
  5481. return io.ErrUnexpectedEOF
  5482. }
  5483. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5484. iNdEx += skippy
  5485. }
  5486. }
  5487. if iNdEx > l {
  5488. return io.ErrUnexpectedEOF
  5489. }
  5490. return nil
  5491. }
  5492. func (m *FollowingMapReply) Unmarshal(dAtA []byte) error {
  5493. l := len(dAtA)
  5494. iNdEx := 0
  5495. for iNdEx < l {
  5496. preIndex := iNdEx
  5497. var wire uint64
  5498. for shift := uint(0); ; shift += 7 {
  5499. if shift >= 64 {
  5500. return ErrIntOverflowApi
  5501. }
  5502. if iNdEx >= l {
  5503. return io.ErrUnexpectedEOF
  5504. }
  5505. b := dAtA[iNdEx]
  5506. iNdEx++
  5507. wire |= (uint64(b) & 0x7F) << shift
  5508. if b < 0x80 {
  5509. break
  5510. }
  5511. }
  5512. fieldNum := int32(wire >> 3)
  5513. wireType := int(wire & 0x7)
  5514. if wireType == 4 {
  5515. return fmt.Errorf("proto: FollowingMapReply: wiretype end group for non-group")
  5516. }
  5517. if fieldNum <= 0 {
  5518. return fmt.Errorf("proto: FollowingMapReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5519. }
  5520. switch fieldNum {
  5521. case 1:
  5522. if wireType != 2 {
  5523. return fmt.Errorf("proto: wrong wireType = %d for field FollowingMap", wireType)
  5524. }
  5525. var msglen int
  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. msglen |= (int(b) & 0x7F) << shift
  5536. if b < 0x80 {
  5537. break
  5538. }
  5539. }
  5540. if msglen < 0 {
  5541. return ErrInvalidLengthApi
  5542. }
  5543. postIndex := iNdEx + msglen
  5544. if postIndex > l {
  5545. return io.ErrUnexpectedEOF
  5546. }
  5547. if m.FollowingMap == nil {
  5548. m.FollowingMap = make(map[int64]*FollowingReply)
  5549. }
  5550. var mapkey int64
  5551. var mapvalue *FollowingReply
  5552. for iNdEx < postIndex {
  5553. entryPreIndex := iNdEx
  5554. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  5565. if b < 0x80 {
  5566. break
  5567. }
  5568. }
  5569. fieldNum := int32(wire >> 3)
  5570. if fieldNum == 1 {
  5571. for shift := uint(0); ; shift += 7 {
  5572. if shift >= 64 {
  5573. return ErrIntOverflowApi
  5574. }
  5575. if iNdEx >= l {
  5576. return io.ErrUnexpectedEOF
  5577. }
  5578. b := dAtA[iNdEx]
  5579. iNdEx++
  5580. mapkey |= (int64(b) & 0x7F) << shift
  5581. if b < 0x80 {
  5582. break
  5583. }
  5584. }
  5585. } else if fieldNum == 2 {
  5586. var mapmsglen int
  5587. for shift := uint(0); ; shift += 7 {
  5588. if shift >= 64 {
  5589. return ErrIntOverflowApi
  5590. }
  5591. if iNdEx >= l {
  5592. return io.ErrUnexpectedEOF
  5593. }
  5594. b := dAtA[iNdEx]
  5595. iNdEx++
  5596. mapmsglen |= (int(b) & 0x7F) << shift
  5597. if b < 0x80 {
  5598. break
  5599. }
  5600. }
  5601. if mapmsglen < 0 {
  5602. return ErrInvalidLengthApi
  5603. }
  5604. postmsgIndex := iNdEx + mapmsglen
  5605. if mapmsglen < 0 {
  5606. return ErrInvalidLengthApi
  5607. }
  5608. if postmsgIndex > l {
  5609. return io.ErrUnexpectedEOF
  5610. }
  5611. mapvalue = &FollowingReply{}
  5612. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  5613. return err
  5614. }
  5615. iNdEx = postmsgIndex
  5616. } else {
  5617. iNdEx = entryPreIndex
  5618. skippy, err := skipApi(dAtA[iNdEx:])
  5619. if err != nil {
  5620. return err
  5621. }
  5622. if skippy < 0 {
  5623. return ErrInvalidLengthApi
  5624. }
  5625. if (iNdEx + skippy) > postIndex {
  5626. return io.ErrUnexpectedEOF
  5627. }
  5628. iNdEx += skippy
  5629. }
  5630. }
  5631. m.FollowingMap[mapkey] = mapvalue
  5632. iNdEx = postIndex
  5633. default:
  5634. iNdEx = preIndex
  5635. skippy, err := skipApi(dAtA[iNdEx:])
  5636. if err != nil {
  5637. return err
  5638. }
  5639. if skippy < 0 {
  5640. return ErrInvalidLengthApi
  5641. }
  5642. if (iNdEx + skippy) > l {
  5643. return io.ErrUnexpectedEOF
  5644. }
  5645. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5646. iNdEx += skippy
  5647. }
  5648. }
  5649. if iNdEx > l {
  5650. return io.ErrUnexpectedEOF
  5651. }
  5652. return nil
  5653. }
  5654. func (m *FollowingsReply) Unmarshal(dAtA []byte) error {
  5655. l := len(dAtA)
  5656. iNdEx := 0
  5657. for iNdEx < l {
  5658. preIndex := iNdEx
  5659. var wire uint64
  5660. for shift := uint(0); ; shift += 7 {
  5661. if shift >= 64 {
  5662. return ErrIntOverflowApi
  5663. }
  5664. if iNdEx >= l {
  5665. return io.ErrUnexpectedEOF
  5666. }
  5667. b := dAtA[iNdEx]
  5668. iNdEx++
  5669. wire |= (uint64(b) & 0x7F) << shift
  5670. if b < 0x80 {
  5671. break
  5672. }
  5673. }
  5674. fieldNum := int32(wire >> 3)
  5675. wireType := int(wire & 0x7)
  5676. if wireType == 4 {
  5677. return fmt.Errorf("proto: FollowingsReply: wiretype end group for non-group")
  5678. }
  5679. if fieldNum <= 0 {
  5680. return fmt.Errorf("proto: FollowingsReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5681. }
  5682. switch fieldNum {
  5683. case 1:
  5684. if wireType != 2 {
  5685. return fmt.Errorf("proto: wrong wireType = %d for field FollowingList", wireType)
  5686. }
  5687. var msglen int
  5688. for shift := uint(0); ; shift += 7 {
  5689. if shift >= 64 {
  5690. return ErrIntOverflowApi
  5691. }
  5692. if iNdEx >= l {
  5693. return io.ErrUnexpectedEOF
  5694. }
  5695. b := dAtA[iNdEx]
  5696. iNdEx++
  5697. msglen |= (int(b) & 0x7F) << shift
  5698. if b < 0x80 {
  5699. break
  5700. }
  5701. }
  5702. if msglen < 0 {
  5703. return ErrInvalidLengthApi
  5704. }
  5705. postIndex := iNdEx + msglen
  5706. if postIndex > l {
  5707. return io.ErrUnexpectedEOF
  5708. }
  5709. m.FollowingList = append(m.FollowingList, &FollowingReply{})
  5710. if err := m.FollowingList[len(m.FollowingList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5711. return err
  5712. }
  5713. iNdEx = postIndex
  5714. default:
  5715. iNdEx = preIndex
  5716. skippy, err := skipApi(dAtA[iNdEx:])
  5717. if err != nil {
  5718. return err
  5719. }
  5720. if skippy < 0 {
  5721. return ErrInvalidLengthApi
  5722. }
  5723. if (iNdEx + skippy) > l {
  5724. return io.ErrUnexpectedEOF
  5725. }
  5726. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5727. iNdEx += skippy
  5728. }
  5729. }
  5730. if iNdEx > l {
  5731. return io.ErrUnexpectedEOF
  5732. }
  5733. return nil
  5734. }
  5735. func (m *MidReq) Unmarshal(dAtA []byte) error {
  5736. l := len(dAtA)
  5737. iNdEx := 0
  5738. for iNdEx < l {
  5739. preIndex := iNdEx
  5740. var wire uint64
  5741. for shift := uint(0); ; shift += 7 {
  5742. if shift >= 64 {
  5743. return ErrIntOverflowApi
  5744. }
  5745. if iNdEx >= l {
  5746. return io.ErrUnexpectedEOF
  5747. }
  5748. b := dAtA[iNdEx]
  5749. iNdEx++
  5750. wire |= (uint64(b) & 0x7F) << shift
  5751. if b < 0x80 {
  5752. break
  5753. }
  5754. }
  5755. fieldNum := int32(wire >> 3)
  5756. wireType := int(wire & 0x7)
  5757. if wireType == 4 {
  5758. return fmt.Errorf("proto: MidReq: wiretype end group for non-group")
  5759. }
  5760. if fieldNum <= 0 {
  5761. return fmt.Errorf("proto: MidReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5762. }
  5763. switch fieldNum {
  5764. case 1:
  5765. if wireType != 0 {
  5766. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  5767. }
  5768. m.Mid = 0
  5769. for shift := uint(0); ; shift += 7 {
  5770. if shift >= 64 {
  5771. return ErrIntOverflowApi
  5772. }
  5773. if iNdEx >= l {
  5774. return io.ErrUnexpectedEOF
  5775. }
  5776. b := dAtA[iNdEx]
  5777. iNdEx++
  5778. m.Mid |= (int64(b) & 0x7F) << shift
  5779. if b < 0x80 {
  5780. break
  5781. }
  5782. }
  5783. case 2:
  5784. if wireType != 2 {
  5785. return fmt.Errorf("proto: wrong wireType = %d for field RealIp", wireType)
  5786. }
  5787. var stringLen uint64
  5788. for shift := uint(0); ; shift += 7 {
  5789. if shift >= 64 {
  5790. return ErrIntOverflowApi
  5791. }
  5792. if iNdEx >= l {
  5793. return io.ErrUnexpectedEOF
  5794. }
  5795. b := dAtA[iNdEx]
  5796. iNdEx++
  5797. stringLen |= (uint64(b) & 0x7F) << shift
  5798. if b < 0x80 {
  5799. break
  5800. }
  5801. }
  5802. intStringLen := int(stringLen)
  5803. if intStringLen < 0 {
  5804. return ErrInvalidLengthApi
  5805. }
  5806. postIndex := iNdEx + intStringLen
  5807. if postIndex > l {
  5808. return io.ErrUnexpectedEOF
  5809. }
  5810. m.RealIp = string(dAtA[iNdEx:postIndex])
  5811. iNdEx = postIndex
  5812. default:
  5813. iNdEx = preIndex
  5814. skippy, err := skipApi(dAtA[iNdEx:])
  5815. if err != nil {
  5816. return err
  5817. }
  5818. if skippy < 0 {
  5819. return ErrInvalidLengthApi
  5820. }
  5821. if (iNdEx + skippy) > l {
  5822. return io.ErrUnexpectedEOF
  5823. }
  5824. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5825. iNdEx += skippy
  5826. }
  5827. }
  5828. if iNdEx > l {
  5829. return io.ErrUnexpectedEOF
  5830. }
  5831. return nil
  5832. }
  5833. func (m *StatReply) Unmarshal(dAtA []byte) error {
  5834. l := len(dAtA)
  5835. iNdEx := 0
  5836. for iNdEx < l {
  5837. preIndex := iNdEx
  5838. var wire uint64
  5839. for shift := uint(0); ; shift += 7 {
  5840. if shift >= 64 {
  5841. return ErrIntOverflowApi
  5842. }
  5843. if iNdEx >= l {
  5844. return io.ErrUnexpectedEOF
  5845. }
  5846. b := dAtA[iNdEx]
  5847. iNdEx++
  5848. wire |= (uint64(b) & 0x7F) << shift
  5849. if b < 0x80 {
  5850. break
  5851. }
  5852. }
  5853. fieldNum := int32(wire >> 3)
  5854. wireType := int(wire & 0x7)
  5855. if wireType == 4 {
  5856. return fmt.Errorf("proto: StatReply: wiretype end group for non-group")
  5857. }
  5858. if fieldNum <= 0 {
  5859. return fmt.Errorf("proto: StatReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5860. }
  5861. switch fieldNum {
  5862. case 1:
  5863. if wireType != 0 {
  5864. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  5865. }
  5866. m.Mid = 0
  5867. for shift := uint(0); ; shift += 7 {
  5868. if shift >= 64 {
  5869. return ErrIntOverflowApi
  5870. }
  5871. if iNdEx >= l {
  5872. return io.ErrUnexpectedEOF
  5873. }
  5874. b := dAtA[iNdEx]
  5875. iNdEx++
  5876. m.Mid |= (int64(b) & 0x7F) << shift
  5877. if b < 0x80 {
  5878. break
  5879. }
  5880. }
  5881. case 2:
  5882. if wireType != 0 {
  5883. return fmt.Errorf("proto: wrong wireType = %d for field Following", wireType)
  5884. }
  5885. m.Following = 0
  5886. for shift := uint(0); ; shift += 7 {
  5887. if shift >= 64 {
  5888. return ErrIntOverflowApi
  5889. }
  5890. if iNdEx >= l {
  5891. return io.ErrUnexpectedEOF
  5892. }
  5893. b := dAtA[iNdEx]
  5894. iNdEx++
  5895. m.Following |= (int64(b) & 0x7F) << shift
  5896. if b < 0x80 {
  5897. break
  5898. }
  5899. }
  5900. case 3:
  5901. if wireType != 0 {
  5902. return fmt.Errorf("proto: wrong wireType = %d for field Whisper", wireType)
  5903. }
  5904. m.Whisper = 0
  5905. for shift := uint(0); ; shift += 7 {
  5906. if shift >= 64 {
  5907. return ErrIntOverflowApi
  5908. }
  5909. if iNdEx >= l {
  5910. return io.ErrUnexpectedEOF
  5911. }
  5912. b := dAtA[iNdEx]
  5913. iNdEx++
  5914. m.Whisper |= (int64(b) & 0x7F) << shift
  5915. if b < 0x80 {
  5916. break
  5917. }
  5918. }
  5919. case 4:
  5920. if wireType != 0 {
  5921. return fmt.Errorf("proto: wrong wireType = %d for field Black", wireType)
  5922. }
  5923. m.Black = 0
  5924. for shift := uint(0); ; shift += 7 {
  5925. if shift >= 64 {
  5926. return ErrIntOverflowApi
  5927. }
  5928. if iNdEx >= l {
  5929. return io.ErrUnexpectedEOF
  5930. }
  5931. b := dAtA[iNdEx]
  5932. iNdEx++
  5933. m.Black |= (int64(b) & 0x7F) << shift
  5934. if b < 0x80 {
  5935. break
  5936. }
  5937. }
  5938. case 5:
  5939. if wireType != 0 {
  5940. return fmt.Errorf("proto: wrong wireType = %d for field Follower", wireType)
  5941. }
  5942. m.Follower = 0
  5943. for shift := uint(0); ; shift += 7 {
  5944. if shift >= 64 {
  5945. return ErrIntOverflowApi
  5946. }
  5947. if iNdEx >= l {
  5948. return io.ErrUnexpectedEOF
  5949. }
  5950. b := dAtA[iNdEx]
  5951. iNdEx++
  5952. m.Follower |= (int64(b) & 0x7F) << shift
  5953. if b < 0x80 {
  5954. break
  5955. }
  5956. }
  5957. case 6:
  5958. if wireType != 0 {
  5959. return fmt.Errorf("proto: wrong wireType = %d for field CTime", wireType)
  5960. }
  5961. m.CTime = 0
  5962. for shift := uint(0); ; shift += 7 {
  5963. if shift >= 64 {
  5964. return ErrIntOverflowApi
  5965. }
  5966. if iNdEx >= l {
  5967. return io.ErrUnexpectedEOF
  5968. }
  5969. b := dAtA[iNdEx]
  5970. iNdEx++
  5971. m.CTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  5972. if b < 0x80 {
  5973. break
  5974. }
  5975. }
  5976. case 7:
  5977. if wireType != 0 {
  5978. return fmt.Errorf("proto: wrong wireType = %d for field MTime", wireType)
  5979. }
  5980. m.MTime = 0
  5981. for shift := uint(0); ; shift += 7 {
  5982. if shift >= 64 {
  5983. return ErrIntOverflowApi
  5984. }
  5985. if iNdEx >= l {
  5986. return io.ErrUnexpectedEOF
  5987. }
  5988. b := dAtA[iNdEx]
  5989. iNdEx++
  5990. m.MTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  5991. if b < 0x80 {
  5992. break
  5993. }
  5994. }
  5995. default:
  5996. iNdEx = preIndex
  5997. skippy, err := skipApi(dAtA[iNdEx:])
  5998. if err != nil {
  5999. return err
  6000. }
  6001. if skippy < 0 {
  6002. return ErrInvalidLengthApi
  6003. }
  6004. if (iNdEx + skippy) > l {
  6005. return io.ErrUnexpectedEOF
  6006. }
  6007. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6008. iNdEx += skippy
  6009. }
  6010. }
  6011. if iNdEx > l {
  6012. return io.ErrUnexpectedEOF
  6013. }
  6014. return nil
  6015. }
  6016. func (m *MidsReq) Unmarshal(dAtA []byte) error {
  6017. l := len(dAtA)
  6018. iNdEx := 0
  6019. for iNdEx < l {
  6020. preIndex := iNdEx
  6021. var wire uint64
  6022. for shift := uint(0); ; shift += 7 {
  6023. if shift >= 64 {
  6024. return ErrIntOverflowApi
  6025. }
  6026. if iNdEx >= l {
  6027. return io.ErrUnexpectedEOF
  6028. }
  6029. b := dAtA[iNdEx]
  6030. iNdEx++
  6031. wire |= (uint64(b) & 0x7F) << shift
  6032. if b < 0x80 {
  6033. break
  6034. }
  6035. }
  6036. fieldNum := int32(wire >> 3)
  6037. wireType := int(wire & 0x7)
  6038. if wireType == 4 {
  6039. return fmt.Errorf("proto: MidsReq: wiretype end group for non-group")
  6040. }
  6041. if fieldNum <= 0 {
  6042. return fmt.Errorf("proto: MidsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6043. }
  6044. switch fieldNum {
  6045. case 1:
  6046. if wireType == 0 {
  6047. var v int64
  6048. for shift := uint(0); ; shift += 7 {
  6049. if shift >= 64 {
  6050. return ErrIntOverflowApi
  6051. }
  6052. if iNdEx >= l {
  6053. return io.ErrUnexpectedEOF
  6054. }
  6055. b := dAtA[iNdEx]
  6056. iNdEx++
  6057. v |= (int64(b) & 0x7F) << shift
  6058. if b < 0x80 {
  6059. break
  6060. }
  6061. }
  6062. m.Mids = append(m.Mids, v)
  6063. } else if wireType == 2 {
  6064. var packedLen int
  6065. for shift := uint(0); ; shift += 7 {
  6066. if shift >= 64 {
  6067. return ErrIntOverflowApi
  6068. }
  6069. if iNdEx >= l {
  6070. return io.ErrUnexpectedEOF
  6071. }
  6072. b := dAtA[iNdEx]
  6073. iNdEx++
  6074. packedLen |= (int(b) & 0x7F) << shift
  6075. if b < 0x80 {
  6076. break
  6077. }
  6078. }
  6079. if packedLen < 0 {
  6080. return ErrInvalidLengthApi
  6081. }
  6082. postIndex := iNdEx + packedLen
  6083. if postIndex > l {
  6084. return io.ErrUnexpectedEOF
  6085. }
  6086. var elementCount int
  6087. var count int
  6088. for _, integer := range dAtA {
  6089. if integer < 128 {
  6090. count++
  6091. }
  6092. }
  6093. elementCount = count
  6094. if elementCount != 0 && len(m.Mids) == 0 {
  6095. m.Mids = make([]int64, 0, elementCount)
  6096. }
  6097. for iNdEx < postIndex {
  6098. var v int64
  6099. for shift := uint(0); ; shift += 7 {
  6100. if shift >= 64 {
  6101. return ErrIntOverflowApi
  6102. }
  6103. if iNdEx >= l {
  6104. return io.ErrUnexpectedEOF
  6105. }
  6106. b := dAtA[iNdEx]
  6107. iNdEx++
  6108. v |= (int64(b) & 0x7F) << shift
  6109. if b < 0x80 {
  6110. break
  6111. }
  6112. }
  6113. m.Mids = append(m.Mids, v)
  6114. }
  6115. } else {
  6116. return fmt.Errorf("proto: wrong wireType = %d for field Mids", wireType)
  6117. }
  6118. case 2:
  6119. if wireType != 2 {
  6120. return fmt.Errorf("proto: wrong wireType = %d for field RealIp", wireType)
  6121. }
  6122. var stringLen uint64
  6123. for shift := uint(0); ; shift += 7 {
  6124. if shift >= 64 {
  6125. return ErrIntOverflowApi
  6126. }
  6127. if iNdEx >= l {
  6128. return io.ErrUnexpectedEOF
  6129. }
  6130. b := dAtA[iNdEx]
  6131. iNdEx++
  6132. stringLen |= (uint64(b) & 0x7F) << shift
  6133. if b < 0x80 {
  6134. break
  6135. }
  6136. }
  6137. intStringLen := int(stringLen)
  6138. if intStringLen < 0 {
  6139. return ErrInvalidLengthApi
  6140. }
  6141. postIndex := iNdEx + intStringLen
  6142. if postIndex > l {
  6143. return io.ErrUnexpectedEOF
  6144. }
  6145. m.RealIp = string(dAtA[iNdEx:postIndex])
  6146. iNdEx = postIndex
  6147. default:
  6148. iNdEx = preIndex
  6149. skippy, err := skipApi(dAtA[iNdEx:])
  6150. if err != nil {
  6151. return err
  6152. }
  6153. if skippy < 0 {
  6154. return ErrInvalidLengthApi
  6155. }
  6156. if (iNdEx + skippy) > l {
  6157. return io.ErrUnexpectedEOF
  6158. }
  6159. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6160. iNdEx += skippy
  6161. }
  6162. }
  6163. if iNdEx > l {
  6164. return io.ErrUnexpectedEOF
  6165. }
  6166. return nil
  6167. }
  6168. func (m *StatsReply) Unmarshal(dAtA []byte) error {
  6169. l := len(dAtA)
  6170. iNdEx := 0
  6171. for iNdEx < l {
  6172. preIndex := iNdEx
  6173. var wire uint64
  6174. for shift := uint(0); ; shift += 7 {
  6175. if shift >= 64 {
  6176. return ErrIntOverflowApi
  6177. }
  6178. if iNdEx >= l {
  6179. return io.ErrUnexpectedEOF
  6180. }
  6181. b := dAtA[iNdEx]
  6182. iNdEx++
  6183. wire |= (uint64(b) & 0x7F) << shift
  6184. if b < 0x80 {
  6185. break
  6186. }
  6187. }
  6188. fieldNum := int32(wire >> 3)
  6189. wireType := int(wire & 0x7)
  6190. if wireType == 4 {
  6191. return fmt.Errorf("proto: StatsReply: wiretype end group for non-group")
  6192. }
  6193. if fieldNum <= 0 {
  6194. return fmt.Errorf("proto: StatsReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6195. }
  6196. switch fieldNum {
  6197. case 1:
  6198. if wireType != 2 {
  6199. return fmt.Errorf("proto: wrong wireType = %d for field StatReplyMap", wireType)
  6200. }
  6201. var msglen int
  6202. for shift := uint(0); ; shift += 7 {
  6203. if shift >= 64 {
  6204. return ErrIntOverflowApi
  6205. }
  6206. if iNdEx >= l {
  6207. return io.ErrUnexpectedEOF
  6208. }
  6209. b := dAtA[iNdEx]
  6210. iNdEx++
  6211. msglen |= (int(b) & 0x7F) << shift
  6212. if b < 0x80 {
  6213. break
  6214. }
  6215. }
  6216. if msglen < 0 {
  6217. return ErrInvalidLengthApi
  6218. }
  6219. postIndex := iNdEx + msglen
  6220. if postIndex > l {
  6221. return io.ErrUnexpectedEOF
  6222. }
  6223. if m.StatReplyMap == nil {
  6224. m.StatReplyMap = make(map[int64]*StatReply)
  6225. }
  6226. var mapkey int64
  6227. var mapvalue *StatReply
  6228. for iNdEx < postIndex {
  6229. entryPreIndex := iNdEx
  6230. var wire uint64
  6231. for shift := uint(0); ; shift += 7 {
  6232. if shift >= 64 {
  6233. return ErrIntOverflowApi
  6234. }
  6235. if iNdEx >= l {
  6236. return io.ErrUnexpectedEOF
  6237. }
  6238. b := dAtA[iNdEx]
  6239. iNdEx++
  6240. wire |= (uint64(b) & 0x7F) << shift
  6241. if b < 0x80 {
  6242. break
  6243. }
  6244. }
  6245. fieldNum := int32(wire >> 3)
  6246. if fieldNum == 1 {
  6247. for shift := uint(0); ; shift += 7 {
  6248. if shift >= 64 {
  6249. return ErrIntOverflowApi
  6250. }
  6251. if iNdEx >= l {
  6252. return io.ErrUnexpectedEOF
  6253. }
  6254. b := dAtA[iNdEx]
  6255. iNdEx++
  6256. mapkey |= (int64(b) & 0x7F) << shift
  6257. if b < 0x80 {
  6258. break
  6259. }
  6260. }
  6261. } else if fieldNum == 2 {
  6262. var mapmsglen int
  6263. for shift := uint(0); ; shift += 7 {
  6264. if shift >= 64 {
  6265. return ErrIntOverflowApi
  6266. }
  6267. if iNdEx >= l {
  6268. return io.ErrUnexpectedEOF
  6269. }
  6270. b := dAtA[iNdEx]
  6271. iNdEx++
  6272. mapmsglen |= (int(b) & 0x7F) << shift
  6273. if b < 0x80 {
  6274. break
  6275. }
  6276. }
  6277. if mapmsglen < 0 {
  6278. return ErrInvalidLengthApi
  6279. }
  6280. postmsgIndex := iNdEx + mapmsglen
  6281. if mapmsglen < 0 {
  6282. return ErrInvalidLengthApi
  6283. }
  6284. if postmsgIndex > l {
  6285. return io.ErrUnexpectedEOF
  6286. }
  6287. mapvalue = &StatReply{}
  6288. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  6289. return err
  6290. }
  6291. iNdEx = postmsgIndex
  6292. } else {
  6293. iNdEx = entryPreIndex
  6294. skippy, err := skipApi(dAtA[iNdEx:])
  6295. if err != nil {
  6296. return err
  6297. }
  6298. if skippy < 0 {
  6299. return ErrInvalidLengthApi
  6300. }
  6301. if (iNdEx + skippy) > postIndex {
  6302. return io.ErrUnexpectedEOF
  6303. }
  6304. iNdEx += skippy
  6305. }
  6306. }
  6307. m.StatReplyMap[mapkey] = mapvalue
  6308. iNdEx = postIndex
  6309. default:
  6310. iNdEx = preIndex
  6311. skippy, err := skipApi(dAtA[iNdEx:])
  6312. if err != nil {
  6313. return err
  6314. }
  6315. if skippy < 0 {
  6316. return ErrInvalidLengthApi
  6317. }
  6318. if (iNdEx + skippy) > l {
  6319. return io.ErrUnexpectedEOF
  6320. }
  6321. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6322. iNdEx += skippy
  6323. }
  6324. }
  6325. if iNdEx > l {
  6326. return io.ErrUnexpectedEOF
  6327. }
  6328. return nil
  6329. }
  6330. func (m *FollowingReq) Unmarshal(dAtA []byte) error {
  6331. l := len(dAtA)
  6332. iNdEx := 0
  6333. for iNdEx < l {
  6334. preIndex := iNdEx
  6335. var wire uint64
  6336. for shift := uint(0); ; shift += 7 {
  6337. if shift >= 64 {
  6338. return ErrIntOverflowApi
  6339. }
  6340. if iNdEx >= l {
  6341. return io.ErrUnexpectedEOF
  6342. }
  6343. b := dAtA[iNdEx]
  6344. iNdEx++
  6345. wire |= (uint64(b) & 0x7F) << shift
  6346. if b < 0x80 {
  6347. break
  6348. }
  6349. }
  6350. fieldNum := int32(wire >> 3)
  6351. wireType := int(wire & 0x7)
  6352. if wireType == 4 {
  6353. return fmt.Errorf("proto: FollowingReq: wiretype end group for non-group")
  6354. }
  6355. if fieldNum <= 0 {
  6356. return fmt.Errorf("proto: FollowingReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6357. }
  6358. switch fieldNum {
  6359. case 1:
  6360. if wireType != 0 {
  6361. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  6362. }
  6363. m.Mid = 0
  6364. for shift := uint(0); ; shift += 7 {
  6365. if shift >= 64 {
  6366. return ErrIntOverflowApi
  6367. }
  6368. if iNdEx >= l {
  6369. return io.ErrUnexpectedEOF
  6370. }
  6371. b := dAtA[iNdEx]
  6372. iNdEx++
  6373. m.Mid |= (int64(b) & 0x7F) << shift
  6374. if b < 0x80 {
  6375. break
  6376. }
  6377. }
  6378. case 2:
  6379. if wireType != 0 {
  6380. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  6381. }
  6382. m.Fid = 0
  6383. for shift := uint(0); ; shift += 7 {
  6384. if shift >= 64 {
  6385. return ErrIntOverflowApi
  6386. }
  6387. if iNdEx >= l {
  6388. return io.ErrUnexpectedEOF
  6389. }
  6390. b := dAtA[iNdEx]
  6391. iNdEx++
  6392. m.Fid |= (int64(b) & 0x7F) << shift
  6393. if b < 0x80 {
  6394. break
  6395. }
  6396. }
  6397. case 3:
  6398. if wireType != 0 {
  6399. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  6400. }
  6401. m.Source = 0
  6402. for shift := uint(0); ; shift += 7 {
  6403. if shift >= 64 {
  6404. return ErrIntOverflowApi
  6405. }
  6406. if iNdEx >= l {
  6407. return io.ErrUnexpectedEOF
  6408. }
  6409. b := dAtA[iNdEx]
  6410. iNdEx++
  6411. m.Source |= (uint8(b) & 0x7F) << shift
  6412. if b < 0x80 {
  6413. break
  6414. }
  6415. }
  6416. case 4:
  6417. if wireType != 2 {
  6418. return fmt.Errorf("proto: wrong wireType = %d for field RealIp", wireType)
  6419. }
  6420. var stringLen uint64
  6421. for shift := uint(0); ; shift += 7 {
  6422. if shift >= 64 {
  6423. return ErrIntOverflowApi
  6424. }
  6425. if iNdEx >= l {
  6426. return io.ErrUnexpectedEOF
  6427. }
  6428. b := dAtA[iNdEx]
  6429. iNdEx++
  6430. stringLen |= (uint64(b) & 0x7F) << shift
  6431. if b < 0x80 {
  6432. break
  6433. }
  6434. }
  6435. intStringLen := int(stringLen)
  6436. if intStringLen < 0 {
  6437. return ErrInvalidLengthApi
  6438. }
  6439. postIndex := iNdEx + intStringLen
  6440. if postIndex > l {
  6441. return io.ErrUnexpectedEOF
  6442. }
  6443. m.RealIp = string(dAtA[iNdEx:postIndex])
  6444. iNdEx = postIndex
  6445. case 5:
  6446. if wireType != 0 {
  6447. return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
  6448. }
  6449. m.Action = 0
  6450. for shift := uint(0); ; shift += 7 {
  6451. if shift >= 64 {
  6452. return ErrIntOverflowApi
  6453. }
  6454. if iNdEx >= l {
  6455. return io.ErrUnexpectedEOF
  6456. }
  6457. b := dAtA[iNdEx]
  6458. iNdEx++
  6459. m.Action |= (int8(b) & 0x7F) << shift
  6460. if b < 0x80 {
  6461. break
  6462. }
  6463. }
  6464. case 6:
  6465. if wireType != 2 {
  6466. return fmt.Errorf("proto: wrong wireType = %d for field Infoc", wireType)
  6467. }
  6468. var msglen int
  6469. for shift := uint(0); ; shift += 7 {
  6470. if shift >= 64 {
  6471. return ErrIntOverflowApi
  6472. }
  6473. if iNdEx >= l {
  6474. return io.ErrUnexpectedEOF
  6475. }
  6476. b := dAtA[iNdEx]
  6477. iNdEx++
  6478. msglen |= (int(b) & 0x7F) << shift
  6479. if b < 0x80 {
  6480. break
  6481. }
  6482. }
  6483. if msglen < 0 {
  6484. return ErrInvalidLengthApi
  6485. }
  6486. postIndex := iNdEx + msglen
  6487. if postIndex > l {
  6488. return io.ErrUnexpectedEOF
  6489. }
  6490. if m.Infoc == nil {
  6491. m.Infoc = make(map[string]string)
  6492. }
  6493. var mapkey string
  6494. var mapvalue string
  6495. for iNdEx < postIndex {
  6496. entryPreIndex := iNdEx
  6497. var wire uint64
  6498. for shift := uint(0); ; shift += 7 {
  6499. if shift >= 64 {
  6500. return ErrIntOverflowApi
  6501. }
  6502. if iNdEx >= l {
  6503. return io.ErrUnexpectedEOF
  6504. }
  6505. b := dAtA[iNdEx]
  6506. iNdEx++
  6507. wire |= (uint64(b) & 0x7F) << shift
  6508. if b < 0x80 {
  6509. break
  6510. }
  6511. }
  6512. fieldNum := int32(wire >> 3)
  6513. if fieldNum == 1 {
  6514. var stringLenmapkey uint64
  6515. for shift := uint(0); ; shift += 7 {
  6516. if shift >= 64 {
  6517. return ErrIntOverflowApi
  6518. }
  6519. if iNdEx >= l {
  6520. return io.ErrUnexpectedEOF
  6521. }
  6522. b := dAtA[iNdEx]
  6523. iNdEx++
  6524. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  6525. if b < 0x80 {
  6526. break
  6527. }
  6528. }
  6529. intStringLenmapkey := int(stringLenmapkey)
  6530. if intStringLenmapkey < 0 {
  6531. return ErrInvalidLengthApi
  6532. }
  6533. postStringIndexmapkey := iNdEx + intStringLenmapkey
  6534. if postStringIndexmapkey > l {
  6535. return io.ErrUnexpectedEOF
  6536. }
  6537. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  6538. iNdEx = postStringIndexmapkey
  6539. } else if fieldNum == 2 {
  6540. var stringLenmapvalue uint64
  6541. for shift := uint(0); ; shift += 7 {
  6542. if shift >= 64 {
  6543. return ErrIntOverflowApi
  6544. }
  6545. if iNdEx >= l {
  6546. return io.ErrUnexpectedEOF
  6547. }
  6548. b := dAtA[iNdEx]
  6549. iNdEx++
  6550. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  6551. if b < 0x80 {
  6552. break
  6553. }
  6554. }
  6555. intStringLenmapvalue := int(stringLenmapvalue)
  6556. if intStringLenmapvalue < 0 {
  6557. return ErrInvalidLengthApi
  6558. }
  6559. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  6560. if postStringIndexmapvalue > l {
  6561. return io.ErrUnexpectedEOF
  6562. }
  6563. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  6564. iNdEx = postStringIndexmapvalue
  6565. } else {
  6566. iNdEx = entryPreIndex
  6567. skippy, err := skipApi(dAtA[iNdEx:])
  6568. if err != nil {
  6569. return err
  6570. }
  6571. if skippy < 0 {
  6572. return ErrInvalidLengthApi
  6573. }
  6574. if (iNdEx + skippy) > postIndex {
  6575. return io.ErrUnexpectedEOF
  6576. }
  6577. iNdEx += skippy
  6578. }
  6579. }
  6580. m.Infoc[mapkey] = mapvalue
  6581. iNdEx = postIndex
  6582. default:
  6583. iNdEx = preIndex
  6584. skippy, err := skipApi(dAtA[iNdEx:])
  6585. if err != nil {
  6586. return err
  6587. }
  6588. if skippy < 0 {
  6589. return ErrInvalidLengthApi
  6590. }
  6591. if (iNdEx + skippy) > l {
  6592. return io.ErrUnexpectedEOF
  6593. }
  6594. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6595. iNdEx += skippy
  6596. }
  6597. }
  6598. if iNdEx > l {
  6599. return io.ErrUnexpectedEOF
  6600. }
  6601. return nil
  6602. }
  6603. func (m *EmptyReply) Unmarshal(dAtA []byte) error {
  6604. l := len(dAtA)
  6605. iNdEx := 0
  6606. for iNdEx < l {
  6607. preIndex := iNdEx
  6608. var wire uint64
  6609. for shift := uint(0); ; shift += 7 {
  6610. if shift >= 64 {
  6611. return ErrIntOverflowApi
  6612. }
  6613. if iNdEx >= l {
  6614. return io.ErrUnexpectedEOF
  6615. }
  6616. b := dAtA[iNdEx]
  6617. iNdEx++
  6618. wire |= (uint64(b) & 0x7F) << shift
  6619. if b < 0x80 {
  6620. break
  6621. }
  6622. }
  6623. fieldNum := int32(wire >> 3)
  6624. wireType := int(wire & 0x7)
  6625. if wireType == 4 {
  6626. return fmt.Errorf("proto: EmptyReply: wiretype end group for non-group")
  6627. }
  6628. if fieldNum <= 0 {
  6629. return fmt.Errorf("proto: EmptyReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6630. }
  6631. switch fieldNum {
  6632. default:
  6633. iNdEx = preIndex
  6634. skippy, err := skipApi(dAtA[iNdEx:])
  6635. if err != nil {
  6636. return err
  6637. }
  6638. if skippy < 0 {
  6639. return ErrInvalidLengthApi
  6640. }
  6641. if (iNdEx + skippy) > l {
  6642. return io.ErrUnexpectedEOF
  6643. }
  6644. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6645. iNdEx += skippy
  6646. }
  6647. }
  6648. if iNdEx > l {
  6649. return io.ErrUnexpectedEOF
  6650. }
  6651. return nil
  6652. }
  6653. func (m *TagIdReq) Unmarshal(dAtA []byte) error {
  6654. l := len(dAtA)
  6655. iNdEx := 0
  6656. for iNdEx < l {
  6657. preIndex := iNdEx
  6658. var wire uint64
  6659. for shift := uint(0); ; shift += 7 {
  6660. if shift >= 64 {
  6661. return ErrIntOverflowApi
  6662. }
  6663. if iNdEx >= l {
  6664. return io.ErrUnexpectedEOF
  6665. }
  6666. b := dAtA[iNdEx]
  6667. iNdEx++
  6668. wire |= (uint64(b) & 0x7F) << shift
  6669. if b < 0x80 {
  6670. break
  6671. }
  6672. }
  6673. fieldNum := int32(wire >> 3)
  6674. wireType := int(wire & 0x7)
  6675. if wireType == 4 {
  6676. return fmt.Errorf("proto: TagIdReq: wiretype end group for non-group")
  6677. }
  6678. if fieldNum <= 0 {
  6679. return fmt.Errorf("proto: TagIdReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6680. }
  6681. switch fieldNum {
  6682. case 1:
  6683. if wireType != 0 {
  6684. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  6685. }
  6686. m.Mid = 0
  6687. for shift := uint(0); ; shift += 7 {
  6688. if shift >= 64 {
  6689. return ErrIntOverflowApi
  6690. }
  6691. if iNdEx >= l {
  6692. return io.ErrUnexpectedEOF
  6693. }
  6694. b := dAtA[iNdEx]
  6695. iNdEx++
  6696. m.Mid |= (int64(b) & 0x7F) << shift
  6697. if b < 0x80 {
  6698. break
  6699. }
  6700. }
  6701. case 2:
  6702. if wireType != 0 {
  6703. return fmt.Errorf("proto: wrong wireType = %d for field TagId", wireType)
  6704. }
  6705. m.TagId = 0
  6706. for shift := uint(0); ; shift += 7 {
  6707. if shift >= 64 {
  6708. return ErrIntOverflowApi
  6709. }
  6710. if iNdEx >= l {
  6711. return io.ErrUnexpectedEOF
  6712. }
  6713. b := dAtA[iNdEx]
  6714. iNdEx++
  6715. m.TagId |= (int64(b) & 0x7F) << shift
  6716. if b < 0x80 {
  6717. break
  6718. }
  6719. }
  6720. case 3:
  6721. if wireType != 2 {
  6722. return fmt.Errorf("proto: wrong wireType = %d for field RealIp", wireType)
  6723. }
  6724. var stringLen uint64
  6725. for shift := uint(0); ; shift += 7 {
  6726. if shift >= 64 {
  6727. return ErrIntOverflowApi
  6728. }
  6729. if iNdEx >= l {
  6730. return io.ErrUnexpectedEOF
  6731. }
  6732. b := dAtA[iNdEx]
  6733. iNdEx++
  6734. stringLen |= (uint64(b) & 0x7F) << shift
  6735. if b < 0x80 {
  6736. break
  6737. }
  6738. }
  6739. intStringLen := int(stringLen)
  6740. if intStringLen < 0 {
  6741. return ErrInvalidLengthApi
  6742. }
  6743. postIndex := iNdEx + intStringLen
  6744. if postIndex > l {
  6745. return io.ErrUnexpectedEOF
  6746. }
  6747. m.RealIp = string(dAtA[iNdEx:postIndex])
  6748. iNdEx = postIndex
  6749. default:
  6750. iNdEx = preIndex
  6751. skippy, err := skipApi(dAtA[iNdEx:])
  6752. if err != nil {
  6753. return err
  6754. }
  6755. if skippy < 0 {
  6756. return ErrInvalidLengthApi
  6757. }
  6758. if (iNdEx + skippy) > l {
  6759. return io.ErrUnexpectedEOF
  6760. }
  6761. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6762. iNdEx += skippy
  6763. }
  6764. }
  6765. if iNdEx > l {
  6766. return io.ErrUnexpectedEOF
  6767. }
  6768. return nil
  6769. }
  6770. func (m *TagReply) Unmarshal(dAtA []byte) error {
  6771. l := len(dAtA)
  6772. iNdEx := 0
  6773. for iNdEx < l {
  6774. preIndex := iNdEx
  6775. var wire uint64
  6776. for shift := uint(0); ; shift += 7 {
  6777. if shift >= 64 {
  6778. return ErrIntOverflowApi
  6779. }
  6780. if iNdEx >= l {
  6781. return io.ErrUnexpectedEOF
  6782. }
  6783. b := dAtA[iNdEx]
  6784. iNdEx++
  6785. wire |= (uint64(b) & 0x7F) << shift
  6786. if b < 0x80 {
  6787. break
  6788. }
  6789. }
  6790. fieldNum := int32(wire >> 3)
  6791. wireType := int(wire & 0x7)
  6792. if wireType == 4 {
  6793. return fmt.Errorf("proto: TagReply: wiretype end group for non-group")
  6794. }
  6795. if fieldNum <= 0 {
  6796. return fmt.Errorf("proto: TagReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6797. }
  6798. switch fieldNum {
  6799. case 1:
  6800. if wireType == 0 {
  6801. var v int64
  6802. for shift := uint(0); ; shift += 7 {
  6803. if shift >= 64 {
  6804. return ErrIntOverflowApi
  6805. }
  6806. if iNdEx >= l {
  6807. return io.ErrUnexpectedEOF
  6808. }
  6809. b := dAtA[iNdEx]
  6810. iNdEx++
  6811. v |= (int64(b) & 0x7F) << shift
  6812. if b < 0x80 {
  6813. break
  6814. }
  6815. }
  6816. m.Mids = append(m.Mids, v)
  6817. } else if wireType == 2 {
  6818. var packedLen int
  6819. for shift := uint(0); ; shift += 7 {
  6820. if shift >= 64 {
  6821. return ErrIntOverflowApi
  6822. }
  6823. if iNdEx >= l {
  6824. return io.ErrUnexpectedEOF
  6825. }
  6826. b := dAtA[iNdEx]
  6827. iNdEx++
  6828. packedLen |= (int(b) & 0x7F) << shift
  6829. if b < 0x80 {
  6830. break
  6831. }
  6832. }
  6833. if packedLen < 0 {
  6834. return ErrInvalidLengthApi
  6835. }
  6836. postIndex := iNdEx + packedLen
  6837. if postIndex > l {
  6838. return io.ErrUnexpectedEOF
  6839. }
  6840. var elementCount int
  6841. var count int
  6842. for _, integer := range dAtA {
  6843. if integer < 128 {
  6844. count++
  6845. }
  6846. }
  6847. elementCount = count
  6848. if elementCount != 0 && len(m.Mids) == 0 {
  6849. m.Mids = make([]int64, 0, elementCount)
  6850. }
  6851. for iNdEx < postIndex {
  6852. var v int64
  6853. for shift := uint(0); ; shift += 7 {
  6854. if shift >= 64 {
  6855. return ErrIntOverflowApi
  6856. }
  6857. if iNdEx >= l {
  6858. return io.ErrUnexpectedEOF
  6859. }
  6860. b := dAtA[iNdEx]
  6861. iNdEx++
  6862. v |= (int64(b) & 0x7F) << shift
  6863. if b < 0x80 {
  6864. break
  6865. }
  6866. }
  6867. m.Mids = append(m.Mids, v)
  6868. }
  6869. } else {
  6870. return fmt.Errorf("proto: wrong wireType = %d for field Mids", wireType)
  6871. }
  6872. default:
  6873. iNdEx = preIndex
  6874. skippy, err := skipApi(dAtA[iNdEx:])
  6875. if err != nil {
  6876. return err
  6877. }
  6878. if skippy < 0 {
  6879. return ErrInvalidLengthApi
  6880. }
  6881. if (iNdEx + skippy) > l {
  6882. return io.ErrUnexpectedEOF
  6883. }
  6884. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6885. iNdEx += skippy
  6886. }
  6887. }
  6888. if iNdEx > l {
  6889. return io.ErrUnexpectedEOF
  6890. }
  6891. return nil
  6892. }
  6893. func (m *TagCountReply) Unmarshal(dAtA []byte) error {
  6894. l := len(dAtA)
  6895. iNdEx := 0
  6896. for iNdEx < l {
  6897. preIndex := iNdEx
  6898. var wire uint64
  6899. for shift := uint(0); ; shift += 7 {
  6900. if shift >= 64 {
  6901. return ErrIntOverflowApi
  6902. }
  6903. if iNdEx >= l {
  6904. return io.ErrUnexpectedEOF
  6905. }
  6906. b := dAtA[iNdEx]
  6907. iNdEx++
  6908. wire |= (uint64(b) & 0x7F) << shift
  6909. if b < 0x80 {
  6910. break
  6911. }
  6912. }
  6913. fieldNum := int32(wire >> 3)
  6914. wireType := int(wire & 0x7)
  6915. if wireType == 4 {
  6916. return fmt.Errorf("proto: TagCountReply: wiretype end group for non-group")
  6917. }
  6918. if fieldNum <= 0 {
  6919. return fmt.Errorf("proto: TagCountReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6920. }
  6921. switch fieldNum {
  6922. case 1:
  6923. if wireType != 0 {
  6924. return fmt.Errorf("proto: wrong wireType = %d for field Tagid", wireType)
  6925. }
  6926. m.Tagid = 0
  6927. for shift := uint(0); ; shift += 7 {
  6928. if shift >= 64 {
  6929. return ErrIntOverflowApi
  6930. }
  6931. if iNdEx >= l {
  6932. return io.ErrUnexpectedEOF
  6933. }
  6934. b := dAtA[iNdEx]
  6935. iNdEx++
  6936. m.Tagid |= (int64(b) & 0x7F) << shift
  6937. if b < 0x80 {
  6938. break
  6939. }
  6940. }
  6941. case 2:
  6942. if wireType != 2 {
  6943. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  6944. }
  6945. var stringLen uint64
  6946. for shift := uint(0); ; shift += 7 {
  6947. if shift >= 64 {
  6948. return ErrIntOverflowApi
  6949. }
  6950. if iNdEx >= l {
  6951. return io.ErrUnexpectedEOF
  6952. }
  6953. b := dAtA[iNdEx]
  6954. iNdEx++
  6955. stringLen |= (uint64(b) & 0x7F) << shift
  6956. if b < 0x80 {
  6957. break
  6958. }
  6959. }
  6960. intStringLen := int(stringLen)
  6961. if intStringLen < 0 {
  6962. return ErrInvalidLengthApi
  6963. }
  6964. postIndex := iNdEx + intStringLen
  6965. if postIndex > l {
  6966. return io.ErrUnexpectedEOF
  6967. }
  6968. m.Name = string(dAtA[iNdEx:postIndex])
  6969. iNdEx = postIndex
  6970. case 3:
  6971. if wireType != 0 {
  6972. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  6973. }
  6974. m.Count = 0
  6975. for shift := uint(0); ; shift += 7 {
  6976. if shift >= 64 {
  6977. return ErrIntOverflowApi
  6978. }
  6979. if iNdEx >= l {
  6980. return io.ErrUnexpectedEOF
  6981. }
  6982. b := dAtA[iNdEx]
  6983. iNdEx++
  6984. m.Count |= (int64(b) & 0x7F) << shift
  6985. if b < 0x80 {
  6986. break
  6987. }
  6988. }
  6989. default:
  6990. iNdEx = preIndex
  6991. skippy, err := skipApi(dAtA[iNdEx:])
  6992. if err != nil {
  6993. return err
  6994. }
  6995. if skippy < 0 {
  6996. return ErrInvalidLengthApi
  6997. }
  6998. if (iNdEx + skippy) > l {
  6999. return io.ErrUnexpectedEOF
  7000. }
  7001. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7002. iNdEx += skippy
  7003. }
  7004. }
  7005. if iNdEx > l {
  7006. return io.ErrUnexpectedEOF
  7007. }
  7008. return nil
  7009. }
  7010. func (m *TagsCountReply) Unmarshal(dAtA []byte) error {
  7011. l := len(dAtA)
  7012. iNdEx := 0
  7013. for iNdEx < l {
  7014. preIndex := iNdEx
  7015. var wire uint64
  7016. for shift := uint(0); ; shift += 7 {
  7017. if shift >= 64 {
  7018. return ErrIntOverflowApi
  7019. }
  7020. if iNdEx >= l {
  7021. return io.ErrUnexpectedEOF
  7022. }
  7023. b := dAtA[iNdEx]
  7024. iNdEx++
  7025. wire |= (uint64(b) & 0x7F) << shift
  7026. if b < 0x80 {
  7027. break
  7028. }
  7029. }
  7030. fieldNum := int32(wire >> 3)
  7031. wireType := int(wire & 0x7)
  7032. if wireType == 4 {
  7033. return fmt.Errorf("proto: TagsCountReply: wiretype end group for non-group")
  7034. }
  7035. if fieldNum <= 0 {
  7036. return fmt.Errorf("proto: TagsCountReply: illegal tag %d (wire type %d)", fieldNum, wire)
  7037. }
  7038. switch fieldNum {
  7039. case 1:
  7040. if wireType != 2 {
  7041. return fmt.Errorf("proto: wrong wireType = %d for field TagCountList", wireType)
  7042. }
  7043. var msglen int
  7044. for shift := uint(0); ; shift += 7 {
  7045. if shift >= 64 {
  7046. return ErrIntOverflowApi
  7047. }
  7048. if iNdEx >= l {
  7049. return io.ErrUnexpectedEOF
  7050. }
  7051. b := dAtA[iNdEx]
  7052. iNdEx++
  7053. msglen |= (int(b) & 0x7F) << shift
  7054. if b < 0x80 {
  7055. break
  7056. }
  7057. }
  7058. if msglen < 0 {
  7059. return ErrInvalidLengthApi
  7060. }
  7061. postIndex := iNdEx + msglen
  7062. if postIndex > l {
  7063. return io.ErrUnexpectedEOF
  7064. }
  7065. m.TagCountList = append(m.TagCountList, &TagCountReply{})
  7066. if err := m.TagCountList[len(m.TagCountList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7067. return err
  7068. }
  7069. iNdEx = postIndex
  7070. default:
  7071. iNdEx = preIndex
  7072. skippy, err := skipApi(dAtA[iNdEx:])
  7073. if err != nil {
  7074. return err
  7075. }
  7076. if skippy < 0 {
  7077. return ErrInvalidLengthApi
  7078. }
  7079. if (iNdEx + skippy) > l {
  7080. return io.ErrUnexpectedEOF
  7081. }
  7082. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7083. iNdEx += skippy
  7084. }
  7085. }
  7086. if iNdEx > l {
  7087. return io.ErrUnexpectedEOF
  7088. }
  7089. return nil
  7090. }
  7091. func (m *UserTagReply) Unmarshal(dAtA []byte) error {
  7092. l := len(dAtA)
  7093. iNdEx := 0
  7094. for iNdEx < l {
  7095. preIndex := iNdEx
  7096. var wire uint64
  7097. for shift := uint(0); ; shift += 7 {
  7098. if shift >= 64 {
  7099. return ErrIntOverflowApi
  7100. }
  7101. if iNdEx >= l {
  7102. return io.ErrUnexpectedEOF
  7103. }
  7104. b := dAtA[iNdEx]
  7105. iNdEx++
  7106. wire |= (uint64(b) & 0x7F) << shift
  7107. if b < 0x80 {
  7108. break
  7109. }
  7110. }
  7111. fieldNum := int32(wire >> 3)
  7112. wireType := int(wire & 0x7)
  7113. if wireType == 4 {
  7114. return fmt.Errorf("proto: UserTagReply: wiretype end group for non-group")
  7115. }
  7116. if fieldNum <= 0 {
  7117. return fmt.Errorf("proto: UserTagReply: illegal tag %d (wire type %d)", fieldNum, wire)
  7118. }
  7119. switch fieldNum {
  7120. case 1:
  7121. if wireType != 2 {
  7122. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  7123. }
  7124. var msglen int
  7125. for shift := uint(0); ; shift += 7 {
  7126. if shift >= 64 {
  7127. return ErrIntOverflowApi
  7128. }
  7129. if iNdEx >= l {
  7130. return io.ErrUnexpectedEOF
  7131. }
  7132. b := dAtA[iNdEx]
  7133. iNdEx++
  7134. msglen |= (int(b) & 0x7F) << shift
  7135. if b < 0x80 {
  7136. break
  7137. }
  7138. }
  7139. if msglen < 0 {
  7140. return ErrInvalidLengthApi
  7141. }
  7142. postIndex := iNdEx + msglen
  7143. if postIndex > l {
  7144. return io.ErrUnexpectedEOF
  7145. }
  7146. if m.Tags == nil {
  7147. m.Tags = make(map[int64]string)
  7148. }
  7149. var mapkey int64
  7150. var mapvalue string
  7151. for iNdEx < postIndex {
  7152. entryPreIndex := iNdEx
  7153. var wire uint64
  7154. for shift := uint(0); ; shift += 7 {
  7155. if shift >= 64 {
  7156. return ErrIntOverflowApi
  7157. }
  7158. if iNdEx >= l {
  7159. return io.ErrUnexpectedEOF
  7160. }
  7161. b := dAtA[iNdEx]
  7162. iNdEx++
  7163. wire |= (uint64(b) & 0x7F) << shift
  7164. if b < 0x80 {
  7165. break
  7166. }
  7167. }
  7168. fieldNum := int32(wire >> 3)
  7169. if fieldNum == 1 {
  7170. for shift := uint(0); ; shift += 7 {
  7171. if shift >= 64 {
  7172. return ErrIntOverflowApi
  7173. }
  7174. if iNdEx >= l {
  7175. return io.ErrUnexpectedEOF
  7176. }
  7177. b := dAtA[iNdEx]
  7178. iNdEx++
  7179. mapkey |= (int64(b) & 0x7F) << shift
  7180. if b < 0x80 {
  7181. break
  7182. }
  7183. }
  7184. } else if fieldNum == 2 {
  7185. var stringLenmapvalue uint64
  7186. for shift := uint(0); ; shift += 7 {
  7187. if shift >= 64 {
  7188. return ErrIntOverflowApi
  7189. }
  7190. if iNdEx >= l {
  7191. return io.ErrUnexpectedEOF
  7192. }
  7193. b := dAtA[iNdEx]
  7194. iNdEx++
  7195. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  7196. if b < 0x80 {
  7197. break
  7198. }
  7199. }
  7200. intStringLenmapvalue := int(stringLenmapvalue)
  7201. if intStringLenmapvalue < 0 {
  7202. return ErrInvalidLengthApi
  7203. }
  7204. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  7205. if postStringIndexmapvalue > l {
  7206. return io.ErrUnexpectedEOF
  7207. }
  7208. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  7209. iNdEx = postStringIndexmapvalue
  7210. } else {
  7211. iNdEx = entryPreIndex
  7212. skippy, err := skipApi(dAtA[iNdEx:])
  7213. if err != nil {
  7214. return err
  7215. }
  7216. if skippy < 0 {
  7217. return ErrInvalidLengthApi
  7218. }
  7219. if (iNdEx + skippy) > postIndex {
  7220. return io.ErrUnexpectedEOF
  7221. }
  7222. iNdEx += skippy
  7223. }
  7224. }
  7225. m.Tags[mapkey] = mapvalue
  7226. iNdEx = postIndex
  7227. default:
  7228. iNdEx = preIndex
  7229. skippy, err := skipApi(dAtA[iNdEx:])
  7230. if err != nil {
  7231. return err
  7232. }
  7233. if skippy < 0 {
  7234. return ErrInvalidLengthApi
  7235. }
  7236. if (iNdEx + skippy) > l {
  7237. return io.ErrUnexpectedEOF
  7238. }
  7239. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7240. iNdEx += skippy
  7241. }
  7242. }
  7243. if iNdEx > l {
  7244. return io.ErrUnexpectedEOF
  7245. }
  7246. return nil
  7247. }
  7248. func (m *TagReq) Unmarshal(dAtA []byte) error {
  7249. l := len(dAtA)
  7250. iNdEx := 0
  7251. for iNdEx < l {
  7252. preIndex := iNdEx
  7253. var wire uint64
  7254. for shift := uint(0); ; shift += 7 {
  7255. if shift >= 64 {
  7256. return ErrIntOverflowApi
  7257. }
  7258. if iNdEx >= l {
  7259. return io.ErrUnexpectedEOF
  7260. }
  7261. b := dAtA[iNdEx]
  7262. iNdEx++
  7263. wire |= (uint64(b) & 0x7F) << shift
  7264. if b < 0x80 {
  7265. break
  7266. }
  7267. }
  7268. fieldNum := int32(wire >> 3)
  7269. wireType := int(wire & 0x7)
  7270. if wireType == 4 {
  7271. return fmt.Errorf("proto: TagReq: wiretype end group for non-group")
  7272. }
  7273. if fieldNum <= 0 {
  7274. return fmt.Errorf("proto: TagReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7275. }
  7276. switch fieldNum {
  7277. case 1:
  7278. if wireType != 0 {
  7279. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  7280. }
  7281. m.Mid = 0
  7282. for shift := uint(0); ; shift += 7 {
  7283. if shift >= 64 {
  7284. return ErrIntOverflowApi
  7285. }
  7286. if iNdEx >= l {
  7287. return io.ErrUnexpectedEOF
  7288. }
  7289. b := dAtA[iNdEx]
  7290. iNdEx++
  7291. m.Mid |= (int64(b) & 0x7F) << shift
  7292. if b < 0x80 {
  7293. break
  7294. }
  7295. }
  7296. case 2:
  7297. if wireType != 2 {
  7298. return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType)
  7299. }
  7300. var stringLen uint64
  7301. for shift := uint(0); ; shift += 7 {
  7302. if shift >= 64 {
  7303. return ErrIntOverflowApi
  7304. }
  7305. if iNdEx >= l {
  7306. return io.ErrUnexpectedEOF
  7307. }
  7308. b := dAtA[iNdEx]
  7309. iNdEx++
  7310. stringLen |= (uint64(b) & 0x7F) << shift
  7311. if b < 0x80 {
  7312. break
  7313. }
  7314. }
  7315. intStringLen := int(stringLen)
  7316. if intStringLen < 0 {
  7317. return ErrInvalidLengthApi
  7318. }
  7319. postIndex := iNdEx + intStringLen
  7320. if postIndex > l {
  7321. return io.ErrUnexpectedEOF
  7322. }
  7323. m.Tag = string(dAtA[iNdEx:postIndex])
  7324. iNdEx = postIndex
  7325. case 3:
  7326. if wireType != 2 {
  7327. return fmt.Errorf("proto: wrong wireType = %d for field RealIp", wireType)
  7328. }
  7329. var stringLen uint64
  7330. for shift := uint(0); ; shift += 7 {
  7331. if shift >= 64 {
  7332. return ErrIntOverflowApi
  7333. }
  7334. if iNdEx >= l {
  7335. return io.ErrUnexpectedEOF
  7336. }
  7337. b := dAtA[iNdEx]
  7338. iNdEx++
  7339. stringLen |= (uint64(b) & 0x7F) << shift
  7340. if b < 0x80 {
  7341. break
  7342. }
  7343. }
  7344. intStringLen := int(stringLen)
  7345. if intStringLen < 0 {
  7346. return ErrInvalidLengthApi
  7347. }
  7348. postIndex := iNdEx + intStringLen
  7349. if postIndex > l {
  7350. return io.ErrUnexpectedEOF
  7351. }
  7352. m.RealIp = string(dAtA[iNdEx:postIndex])
  7353. iNdEx = postIndex
  7354. default:
  7355. iNdEx = preIndex
  7356. skippy, err := skipApi(dAtA[iNdEx:])
  7357. if err != nil {
  7358. return err
  7359. }
  7360. if skippy < 0 {
  7361. return ErrInvalidLengthApi
  7362. }
  7363. if (iNdEx + skippy) > l {
  7364. return io.ErrUnexpectedEOF
  7365. }
  7366. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7367. iNdEx += skippy
  7368. }
  7369. }
  7370. if iNdEx > l {
  7371. return io.ErrUnexpectedEOF
  7372. }
  7373. return nil
  7374. }
  7375. func (m *TagUpdateReq) Unmarshal(dAtA []byte) error {
  7376. l := len(dAtA)
  7377. iNdEx := 0
  7378. for iNdEx < l {
  7379. preIndex := iNdEx
  7380. var wire uint64
  7381. for shift := uint(0); ; shift += 7 {
  7382. if shift >= 64 {
  7383. return ErrIntOverflowApi
  7384. }
  7385. if iNdEx >= l {
  7386. return io.ErrUnexpectedEOF
  7387. }
  7388. b := dAtA[iNdEx]
  7389. iNdEx++
  7390. wire |= (uint64(b) & 0x7F) << shift
  7391. if b < 0x80 {
  7392. break
  7393. }
  7394. }
  7395. fieldNum := int32(wire >> 3)
  7396. wireType := int(wire & 0x7)
  7397. if wireType == 4 {
  7398. return fmt.Errorf("proto: TagUpdateReq: wiretype end group for non-group")
  7399. }
  7400. if fieldNum <= 0 {
  7401. return fmt.Errorf("proto: TagUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7402. }
  7403. switch fieldNum {
  7404. case 1:
  7405. if wireType != 0 {
  7406. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  7407. }
  7408. m.Mid = 0
  7409. for shift := uint(0); ; shift += 7 {
  7410. if shift >= 64 {
  7411. return ErrIntOverflowApi
  7412. }
  7413. if iNdEx >= l {
  7414. return io.ErrUnexpectedEOF
  7415. }
  7416. b := dAtA[iNdEx]
  7417. iNdEx++
  7418. m.Mid |= (int64(b) & 0x7F) << shift
  7419. if b < 0x80 {
  7420. break
  7421. }
  7422. }
  7423. case 2:
  7424. if wireType != 0 {
  7425. return fmt.Errorf("proto: wrong wireType = %d for field TagId", wireType)
  7426. }
  7427. m.TagId = 0
  7428. for shift := uint(0); ; shift += 7 {
  7429. if shift >= 64 {
  7430. return ErrIntOverflowApi
  7431. }
  7432. if iNdEx >= l {
  7433. return io.ErrUnexpectedEOF
  7434. }
  7435. b := dAtA[iNdEx]
  7436. iNdEx++
  7437. m.TagId |= (int64(b) & 0x7F) << shift
  7438. if b < 0x80 {
  7439. break
  7440. }
  7441. }
  7442. case 3:
  7443. if wireType != 2 {
  7444. return fmt.Errorf("proto: wrong wireType = %d for field New", wireType)
  7445. }
  7446. var stringLen uint64
  7447. for shift := uint(0); ; shift += 7 {
  7448. if shift >= 64 {
  7449. return ErrIntOverflowApi
  7450. }
  7451. if iNdEx >= l {
  7452. return io.ErrUnexpectedEOF
  7453. }
  7454. b := dAtA[iNdEx]
  7455. iNdEx++
  7456. stringLen |= (uint64(b) & 0x7F) << shift
  7457. if b < 0x80 {
  7458. break
  7459. }
  7460. }
  7461. intStringLen := int(stringLen)
  7462. if intStringLen < 0 {
  7463. return ErrInvalidLengthApi
  7464. }
  7465. postIndex := iNdEx + intStringLen
  7466. if postIndex > l {
  7467. return io.ErrUnexpectedEOF
  7468. }
  7469. m.New = string(dAtA[iNdEx:postIndex])
  7470. iNdEx = postIndex
  7471. case 4:
  7472. if wireType != 2 {
  7473. return fmt.Errorf("proto: wrong wireType = %d for field RealIp", wireType)
  7474. }
  7475. var stringLen uint64
  7476. for shift := uint(0); ; shift += 7 {
  7477. if shift >= 64 {
  7478. return ErrIntOverflowApi
  7479. }
  7480. if iNdEx >= l {
  7481. return io.ErrUnexpectedEOF
  7482. }
  7483. b := dAtA[iNdEx]
  7484. iNdEx++
  7485. stringLen |= (uint64(b) & 0x7F) << shift
  7486. if b < 0x80 {
  7487. break
  7488. }
  7489. }
  7490. intStringLen := int(stringLen)
  7491. if intStringLen < 0 {
  7492. return ErrInvalidLengthApi
  7493. }
  7494. postIndex := iNdEx + intStringLen
  7495. if postIndex > l {
  7496. return io.ErrUnexpectedEOF
  7497. }
  7498. m.RealIp = string(dAtA[iNdEx:postIndex])
  7499. iNdEx = postIndex
  7500. default:
  7501. iNdEx = preIndex
  7502. skippy, err := skipApi(dAtA[iNdEx:])
  7503. if err != nil {
  7504. return err
  7505. }
  7506. if skippy < 0 {
  7507. return ErrInvalidLengthApi
  7508. }
  7509. if (iNdEx + skippy) > l {
  7510. return io.ErrUnexpectedEOF
  7511. }
  7512. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7513. iNdEx += skippy
  7514. }
  7515. }
  7516. if iNdEx > l {
  7517. return io.ErrUnexpectedEOF
  7518. }
  7519. return nil
  7520. }
  7521. func (m *TagDelReq) Unmarshal(dAtA []byte) error {
  7522. l := len(dAtA)
  7523. iNdEx := 0
  7524. for iNdEx < l {
  7525. preIndex := iNdEx
  7526. var wire uint64
  7527. for shift := uint(0); ; shift += 7 {
  7528. if shift >= 64 {
  7529. return ErrIntOverflowApi
  7530. }
  7531. if iNdEx >= l {
  7532. return io.ErrUnexpectedEOF
  7533. }
  7534. b := dAtA[iNdEx]
  7535. iNdEx++
  7536. wire |= (uint64(b) & 0x7F) << shift
  7537. if b < 0x80 {
  7538. break
  7539. }
  7540. }
  7541. fieldNum := int32(wire >> 3)
  7542. wireType := int(wire & 0x7)
  7543. if wireType == 4 {
  7544. return fmt.Errorf("proto: TagDelReq: wiretype end group for non-group")
  7545. }
  7546. if fieldNum <= 0 {
  7547. return fmt.Errorf("proto: TagDelReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7548. }
  7549. switch fieldNum {
  7550. case 1:
  7551. if wireType != 0 {
  7552. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  7553. }
  7554. m.Mid = 0
  7555. for shift := uint(0); ; shift += 7 {
  7556. if shift >= 64 {
  7557. return ErrIntOverflowApi
  7558. }
  7559. if iNdEx >= l {
  7560. return io.ErrUnexpectedEOF
  7561. }
  7562. b := dAtA[iNdEx]
  7563. iNdEx++
  7564. m.Mid |= (int64(b) & 0x7F) << shift
  7565. if b < 0x80 {
  7566. break
  7567. }
  7568. }
  7569. case 2:
  7570. if wireType != 0 {
  7571. return fmt.Errorf("proto: wrong wireType = %d for field TagId", wireType)
  7572. }
  7573. m.TagId = 0
  7574. for shift := uint(0); ; shift += 7 {
  7575. if shift >= 64 {
  7576. return ErrIntOverflowApi
  7577. }
  7578. if iNdEx >= l {
  7579. return io.ErrUnexpectedEOF
  7580. }
  7581. b := dAtA[iNdEx]
  7582. iNdEx++
  7583. m.TagId |= (int64(b) & 0x7F) << shift
  7584. if b < 0x80 {
  7585. break
  7586. }
  7587. }
  7588. case 3:
  7589. if wireType != 2 {
  7590. return fmt.Errorf("proto: wrong wireType = %d for field RealIp", wireType)
  7591. }
  7592. var stringLen uint64
  7593. for shift := uint(0); ; shift += 7 {
  7594. if shift >= 64 {
  7595. return ErrIntOverflowApi
  7596. }
  7597. if iNdEx >= l {
  7598. return io.ErrUnexpectedEOF
  7599. }
  7600. b := dAtA[iNdEx]
  7601. iNdEx++
  7602. stringLen |= (uint64(b) & 0x7F) << shift
  7603. if b < 0x80 {
  7604. break
  7605. }
  7606. }
  7607. intStringLen := int(stringLen)
  7608. if intStringLen < 0 {
  7609. return ErrInvalidLengthApi
  7610. }
  7611. postIndex := iNdEx + intStringLen
  7612. if postIndex > l {
  7613. return io.ErrUnexpectedEOF
  7614. }
  7615. m.RealIp = string(dAtA[iNdEx:postIndex])
  7616. iNdEx = postIndex
  7617. default:
  7618. iNdEx = preIndex
  7619. skippy, err := skipApi(dAtA[iNdEx:])
  7620. if err != nil {
  7621. return err
  7622. }
  7623. if skippy < 0 {
  7624. return ErrInvalidLengthApi
  7625. }
  7626. if (iNdEx + skippy) > l {
  7627. return io.ErrUnexpectedEOF
  7628. }
  7629. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7630. iNdEx += skippy
  7631. }
  7632. }
  7633. if iNdEx > l {
  7634. return io.ErrUnexpectedEOF
  7635. }
  7636. return nil
  7637. }
  7638. func (m *TagsMoveUsersReq) Unmarshal(dAtA []byte) error {
  7639. l := len(dAtA)
  7640. iNdEx := 0
  7641. for iNdEx < l {
  7642. preIndex := iNdEx
  7643. var wire uint64
  7644. for shift := uint(0); ; shift += 7 {
  7645. if shift >= 64 {
  7646. return ErrIntOverflowApi
  7647. }
  7648. if iNdEx >= l {
  7649. return io.ErrUnexpectedEOF
  7650. }
  7651. b := dAtA[iNdEx]
  7652. iNdEx++
  7653. wire |= (uint64(b) & 0x7F) << shift
  7654. if b < 0x80 {
  7655. break
  7656. }
  7657. }
  7658. fieldNum := int32(wire >> 3)
  7659. wireType := int(wire & 0x7)
  7660. if wireType == 4 {
  7661. return fmt.Errorf("proto: TagsMoveUsersReq: wiretype end group for non-group")
  7662. }
  7663. if fieldNum <= 0 {
  7664. return fmt.Errorf("proto: TagsMoveUsersReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7665. }
  7666. switch fieldNum {
  7667. case 1:
  7668. if wireType != 0 {
  7669. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  7670. }
  7671. m.Mid = 0
  7672. for shift := uint(0); ; shift += 7 {
  7673. if shift >= 64 {
  7674. return ErrIntOverflowApi
  7675. }
  7676. if iNdEx >= l {
  7677. return io.ErrUnexpectedEOF
  7678. }
  7679. b := dAtA[iNdEx]
  7680. iNdEx++
  7681. m.Mid |= (int64(b) & 0x7F) << shift
  7682. if b < 0x80 {
  7683. break
  7684. }
  7685. }
  7686. case 2:
  7687. if wireType != 0 {
  7688. return fmt.Errorf("proto: wrong wireType = %d for field BeforeId", wireType)
  7689. }
  7690. m.BeforeId = 0
  7691. for shift := uint(0); ; shift += 7 {
  7692. if shift >= 64 {
  7693. return ErrIntOverflowApi
  7694. }
  7695. if iNdEx >= l {
  7696. return io.ErrUnexpectedEOF
  7697. }
  7698. b := dAtA[iNdEx]
  7699. iNdEx++
  7700. m.BeforeId |= (int64(b) & 0x7F) << shift
  7701. if b < 0x80 {
  7702. break
  7703. }
  7704. }
  7705. case 3:
  7706. if wireType != 2 {
  7707. return fmt.Errorf("proto: wrong wireType = %d for field AfterTagIds", wireType)
  7708. }
  7709. var stringLen uint64
  7710. for shift := uint(0); ; shift += 7 {
  7711. if shift >= 64 {
  7712. return ErrIntOverflowApi
  7713. }
  7714. if iNdEx >= l {
  7715. return io.ErrUnexpectedEOF
  7716. }
  7717. b := dAtA[iNdEx]
  7718. iNdEx++
  7719. stringLen |= (uint64(b) & 0x7F) << shift
  7720. if b < 0x80 {
  7721. break
  7722. }
  7723. }
  7724. intStringLen := int(stringLen)
  7725. if intStringLen < 0 {
  7726. return ErrInvalidLengthApi
  7727. }
  7728. postIndex := iNdEx + intStringLen
  7729. if postIndex > l {
  7730. return io.ErrUnexpectedEOF
  7731. }
  7732. m.AfterTagIds = string(dAtA[iNdEx:postIndex])
  7733. iNdEx = postIndex
  7734. case 4:
  7735. if wireType != 2 {
  7736. return fmt.Errorf("proto: wrong wireType = %d for field Fids", wireType)
  7737. }
  7738. var stringLen uint64
  7739. for shift := uint(0); ; shift += 7 {
  7740. if shift >= 64 {
  7741. return ErrIntOverflowApi
  7742. }
  7743. if iNdEx >= l {
  7744. return io.ErrUnexpectedEOF
  7745. }
  7746. b := dAtA[iNdEx]
  7747. iNdEx++
  7748. stringLen |= (uint64(b) & 0x7F) << shift
  7749. if b < 0x80 {
  7750. break
  7751. }
  7752. }
  7753. intStringLen := int(stringLen)
  7754. if intStringLen < 0 {
  7755. return ErrInvalidLengthApi
  7756. }
  7757. postIndex := iNdEx + intStringLen
  7758. if postIndex > l {
  7759. return io.ErrUnexpectedEOF
  7760. }
  7761. m.Fids = string(dAtA[iNdEx:postIndex])
  7762. iNdEx = postIndex
  7763. case 5:
  7764. if wireType != 2 {
  7765. return fmt.Errorf("proto: wrong wireType = %d for field RealIp", wireType)
  7766. }
  7767. var stringLen uint64
  7768. for shift := uint(0); ; shift += 7 {
  7769. if shift >= 64 {
  7770. return ErrIntOverflowApi
  7771. }
  7772. if iNdEx >= l {
  7773. return io.ErrUnexpectedEOF
  7774. }
  7775. b := dAtA[iNdEx]
  7776. iNdEx++
  7777. stringLen |= (uint64(b) & 0x7F) << shift
  7778. if b < 0x80 {
  7779. break
  7780. }
  7781. }
  7782. intStringLen := int(stringLen)
  7783. if intStringLen < 0 {
  7784. return ErrInvalidLengthApi
  7785. }
  7786. postIndex := iNdEx + intStringLen
  7787. if postIndex > l {
  7788. return io.ErrUnexpectedEOF
  7789. }
  7790. m.RealIp = string(dAtA[iNdEx:postIndex])
  7791. iNdEx = postIndex
  7792. default:
  7793. iNdEx = preIndex
  7794. skippy, err := skipApi(dAtA[iNdEx:])
  7795. if err != nil {
  7796. return err
  7797. }
  7798. if skippy < 0 {
  7799. return ErrInvalidLengthApi
  7800. }
  7801. if (iNdEx + skippy) > l {
  7802. return io.ErrUnexpectedEOF
  7803. }
  7804. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7805. iNdEx += skippy
  7806. }
  7807. }
  7808. if iNdEx > l {
  7809. return io.ErrUnexpectedEOF
  7810. }
  7811. return nil
  7812. }
  7813. func (m *PromptReq) Unmarshal(dAtA []byte) error {
  7814. l := len(dAtA)
  7815. iNdEx := 0
  7816. for iNdEx < l {
  7817. preIndex := iNdEx
  7818. var wire uint64
  7819. for shift := uint(0); ; shift += 7 {
  7820. if shift >= 64 {
  7821. return ErrIntOverflowApi
  7822. }
  7823. if iNdEx >= l {
  7824. return io.ErrUnexpectedEOF
  7825. }
  7826. b := dAtA[iNdEx]
  7827. iNdEx++
  7828. wire |= (uint64(b) & 0x7F) << shift
  7829. if b < 0x80 {
  7830. break
  7831. }
  7832. }
  7833. fieldNum := int32(wire >> 3)
  7834. wireType := int(wire & 0x7)
  7835. if wireType == 4 {
  7836. return fmt.Errorf("proto: PromptReq: wiretype end group for non-group")
  7837. }
  7838. if fieldNum <= 0 {
  7839. return fmt.Errorf("proto: PromptReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7840. }
  7841. switch fieldNum {
  7842. case 1:
  7843. if wireType != 0 {
  7844. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  7845. }
  7846. m.Mid = 0
  7847. for shift := uint(0); ; shift += 7 {
  7848. if shift >= 64 {
  7849. return ErrIntOverflowApi
  7850. }
  7851. if iNdEx >= l {
  7852. return io.ErrUnexpectedEOF
  7853. }
  7854. b := dAtA[iNdEx]
  7855. iNdEx++
  7856. m.Mid |= (int64(b) & 0x7F) << shift
  7857. if b < 0x80 {
  7858. break
  7859. }
  7860. }
  7861. case 2:
  7862. if wireType != 0 {
  7863. return fmt.Errorf("proto: wrong wireType = %d for field Fid", wireType)
  7864. }
  7865. m.Fid = 0
  7866. for shift := uint(0); ; shift += 7 {
  7867. if shift >= 64 {
  7868. return ErrIntOverflowApi
  7869. }
  7870. if iNdEx >= l {
  7871. return io.ErrUnexpectedEOF
  7872. }
  7873. b := dAtA[iNdEx]
  7874. iNdEx++
  7875. m.Fid |= (int64(b) & 0x7F) << shift
  7876. if b < 0x80 {
  7877. break
  7878. }
  7879. }
  7880. case 3:
  7881. if wireType != 0 {
  7882. return fmt.Errorf("proto: wrong wireType = %d for field Btype", wireType)
  7883. }
  7884. m.Btype = 0
  7885. for shift := uint(0); ; shift += 7 {
  7886. if shift >= 64 {
  7887. return ErrIntOverflowApi
  7888. }
  7889. if iNdEx >= l {
  7890. return io.ErrUnexpectedEOF
  7891. }
  7892. b := dAtA[iNdEx]
  7893. iNdEx++
  7894. m.Btype |= (int8(b) & 0x7F) << shift
  7895. if b < 0x80 {
  7896. break
  7897. }
  7898. }
  7899. default:
  7900. iNdEx = preIndex
  7901. skippy, err := skipApi(dAtA[iNdEx:])
  7902. if err != nil {
  7903. return err
  7904. }
  7905. if skippy < 0 {
  7906. return ErrInvalidLengthApi
  7907. }
  7908. if (iNdEx + skippy) > l {
  7909. return io.ErrUnexpectedEOF
  7910. }
  7911. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7912. iNdEx += skippy
  7913. }
  7914. }
  7915. if iNdEx > l {
  7916. return io.ErrUnexpectedEOF
  7917. }
  7918. return nil
  7919. }
  7920. func (m *CreateTagReply) Unmarshal(dAtA []byte) error {
  7921. l := len(dAtA)
  7922. iNdEx := 0
  7923. for iNdEx < l {
  7924. preIndex := iNdEx
  7925. var wire uint64
  7926. for shift := uint(0); ; shift += 7 {
  7927. if shift >= 64 {
  7928. return ErrIntOverflowApi
  7929. }
  7930. if iNdEx >= l {
  7931. return io.ErrUnexpectedEOF
  7932. }
  7933. b := dAtA[iNdEx]
  7934. iNdEx++
  7935. wire |= (uint64(b) & 0x7F) << shift
  7936. if b < 0x80 {
  7937. break
  7938. }
  7939. }
  7940. fieldNum := int32(wire >> 3)
  7941. wireType := int(wire & 0x7)
  7942. if wireType == 4 {
  7943. return fmt.Errorf("proto: CreateTagReply: wiretype end group for non-group")
  7944. }
  7945. if fieldNum <= 0 {
  7946. return fmt.Errorf("proto: CreateTagReply: illegal tag %d (wire type %d)", fieldNum, wire)
  7947. }
  7948. switch fieldNum {
  7949. case 1:
  7950. if wireType != 0 {
  7951. return fmt.Errorf("proto: wrong wireType = %d for field TagId", wireType)
  7952. }
  7953. m.TagId = 0
  7954. for shift := uint(0); ; shift += 7 {
  7955. if shift >= 64 {
  7956. return ErrIntOverflowApi
  7957. }
  7958. if iNdEx >= l {
  7959. return io.ErrUnexpectedEOF
  7960. }
  7961. b := dAtA[iNdEx]
  7962. iNdEx++
  7963. m.TagId |= (int64(b) & 0x7F) << shift
  7964. if b < 0x80 {
  7965. break
  7966. }
  7967. }
  7968. default:
  7969. iNdEx = preIndex
  7970. skippy, err := skipApi(dAtA[iNdEx:])
  7971. if err != nil {
  7972. return err
  7973. }
  7974. if skippy < 0 {
  7975. return ErrInvalidLengthApi
  7976. }
  7977. if (iNdEx + skippy) > l {
  7978. return io.ErrUnexpectedEOF
  7979. }
  7980. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7981. iNdEx += skippy
  7982. }
  7983. }
  7984. if iNdEx > l {
  7985. return io.ErrUnexpectedEOF
  7986. }
  7987. return nil
  7988. }
  7989. func (m *PromptReply) Unmarshal(dAtA []byte) error {
  7990. l := len(dAtA)
  7991. iNdEx := 0
  7992. for iNdEx < l {
  7993. preIndex := iNdEx
  7994. var wire uint64
  7995. for shift := uint(0); ; shift += 7 {
  7996. if shift >= 64 {
  7997. return ErrIntOverflowApi
  7998. }
  7999. if iNdEx >= l {
  8000. return io.ErrUnexpectedEOF
  8001. }
  8002. b := dAtA[iNdEx]
  8003. iNdEx++
  8004. wire |= (uint64(b) & 0x7F) << shift
  8005. if b < 0x80 {
  8006. break
  8007. }
  8008. }
  8009. fieldNum := int32(wire >> 3)
  8010. wireType := int(wire & 0x7)
  8011. if wireType == 4 {
  8012. return fmt.Errorf("proto: PromptReply: wiretype end group for non-group")
  8013. }
  8014. if fieldNum <= 0 {
  8015. return fmt.Errorf("proto: PromptReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8016. }
  8017. switch fieldNum {
  8018. case 1:
  8019. if wireType != 0 {
  8020. return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
  8021. }
  8022. var v int
  8023. for shift := uint(0); ; shift += 7 {
  8024. if shift >= 64 {
  8025. return ErrIntOverflowApi
  8026. }
  8027. if iNdEx >= l {
  8028. return io.ErrUnexpectedEOF
  8029. }
  8030. b := dAtA[iNdEx]
  8031. iNdEx++
  8032. v |= (int(b) & 0x7F) << shift
  8033. if b < 0x80 {
  8034. break
  8035. }
  8036. }
  8037. m.Success = bool(v != 0)
  8038. default:
  8039. iNdEx = preIndex
  8040. skippy, err := skipApi(dAtA[iNdEx:])
  8041. if err != nil {
  8042. return err
  8043. }
  8044. if skippy < 0 {
  8045. return ErrInvalidLengthApi
  8046. }
  8047. if (iNdEx + skippy) > l {
  8048. return io.ErrUnexpectedEOF
  8049. }
  8050. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8051. iNdEx += skippy
  8052. }
  8053. }
  8054. if iNdEx > l {
  8055. return io.ErrUnexpectedEOF
  8056. }
  8057. return nil
  8058. }
  8059. func (m *FollowersUnreadReply) Unmarshal(dAtA []byte) error {
  8060. l := len(dAtA)
  8061. iNdEx := 0
  8062. for iNdEx < l {
  8063. preIndex := iNdEx
  8064. var wire uint64
  8065. for shift := uint(0); ; shift += 7 {
  8066. if shift >= 64 {
  8067. return ErrIntOverflowApi
  8068. }
  8069. if iNdEx >= l {
  8070. return io.ErrUnexpectedEOF
  8071. }
  8072. b := dAtA[iNdEx]
  8073. iNdEx++
  8074. wire |= (uint64(b) & 0x7F) << shift
  8075. if b < 0x80 {
  8076. break
  8077. }
  8078. }
  8079. fieldNum := int32(wire >> 3)
  8080. wireType := int(wire & 0x7)
  8081. if wireType == 4 {
  8082. return fmt.Errorf("proto: FollowersUnreadReply: wiretype end group for non-group")
  8083. }
  8084. if fieldNum <= 0 {
  8085. return fmt.Errorf("proto: FollowersUnreadReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8086. }
  8087. switch fieldNum {
  8088. case 1:
  8089. if wireType != 0 {
  8090. return fmt.Errorf("proto: wrong wireType = %d for field HasUnread", wireType)
  8091. }
  8092. var v int
  8093. for shift := uint(0); ; shift += 7 {
  8094. if shift >= 64 {
  8095. return ErrIntOverflowApi
  8096. }
  8097. if iNdEx >= l {
  8098. return io.ErrUnexpectedEOF
  8099. }
  8100. b := dAtA[iNdEx]
  8101. iNdEx++
  8102. v |= (int(b) & 0x7F) << shift
  8103. if b < 0x80 {
  8104. break
  8105. }
  8106. }
  8107. m.HasUnread = bool(v != 0)
  8108. default:
  8109. iNdEx = preIndex
  8110. skippy, err := skipApi(dAtA[iNdEx:])
  8111. if err != nil {
  8112. return err
  8113. }
  8114. if skippy < 0 {
  8115. return ErrInvalidLengthApi
  8116. }
  8117. if (iNdEx + skippy) > l {
  8118. return io.ErrUnexpectedEOF
  8119. }
  8120. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8121. iNdEx += skippy
  8122. }
  8123. }
  8124. if iNdEx > l {
  8125. return io.ErrUnexpectedEOF
  8126. }
  8127. return nil
  8128. }
  8129. func (m *FollowersUnreadCountReply) Unmarshal(dAtA []byte) error {
  8130. l := len(dAtA)
  8131. iNdEx := 0
  8132. for iNdEx < l {
  8133. preIndex := iNdEx
  8134. var wire uint64
  8135. for shift := uint(0); ; shift += 7 {
  8136. if shift >= 64 {
  8137. return ErrIntOverflowApi
  8138. }
  8139. if iNdEx >= l {
  8140. return io.ErrUnexpectedEOF
  8141. }
  8142. b := dAtA[iNdEx]
  8143. iNdEx++
  8144. wire |= (uint64(b) & 0x7F) << shift
  8145. if b < 0x80 {
  8146. break
  8147. }
  8148. }
  8149. fieldNum := int32(wire >> 3)
  8150. wireType := int(wire & 0x7)
  8151. if wireType == 4 {
  8152. return fmt.Errorf("proto: FollowersUnreadCountReply: wiretype end group for non-group")
  8153. }
  8154. if fieldNum <= 0 {
  8155. return fmt.Errorf("proto: FollowersUnreadCountReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8156. }
  8157. switch fieldNum {
  8158. case 1:
  8159. if wireType != 0 {
  8160. return fmt.Errorf("proto: wrong wireType = %d for field UnreadCount", wireType)
  8161. }
  8162. m.UnreadCount = 0
  8163. for shift := uint(0); ; shift += 7 {
  8164. if shift >= 64 {
  8165. return ErrIntOverflowApi
  8166. }
  8167. if iNdEx >= l {
  8168. return io.ErrUnexpectedEOF
  8169. }
  8170. b := dAtA[iNdEx]
  8171. iNdEx++
  8172. m.UnreadCount |= (int64(b) & 0x7F) << shift
  8173. if b < 0x80 {
  8174. break
  8175. }
  8176. }
  8177. default:
  8178. iNdEx = preIndex
  8179. skippy, err := skipApi(dAtA[iNdEx:])
  8180. if err != nil {
  8181. return err
  8182. }
  8183. if skippy < 0 {
  8184. return ErrInvalidLengthApi
  8185. }
  8186. if (iNdEx + skippy) > l {
  8187. return io.ErrUnexpectedEOF
  8188. }
  8189. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8190. iNdEx += skippy
  8191. }
  8192. }
  8193. if iNdEx > l {
  8194. return io.ErrUnexpectedEOF
  8195. }
  8196. return nil
  8197. }
  8198. func (m *SpecialReply) Unmarshal(dAtA []byte) error {
  8199. l := len(dAtA)
  8200. iNdEx := 0
  8201. for iNdEx < l {
  8202. preIndex := iNdEx
  8203. var wire uint64
  8204. for shift := uint(0); ; shift += 7 {
  8205. if shift >= 64 {
  8206. return ErrIntOverflowApi
  8207. }
  8208. if iNdEx >= l {
  8209. return io.ErrUnexpectedEOF
  8210. }
  8211. b := dAtA[iNdEx]
  8212. iNdEx++
  8213. wire |= (uint64(b) & 0x7F) << shift
  8214. if b < 0x80 {
  8215. break
  8216. }
  8217. }
  8218. fieldNum := int32(wire >> 3)
  8219. wireType := int(wire & 0x7)
  8220. if wireType == 4 {
  8221. return fmt.Errorf("proto: SpecialReply: wiretype end group for non-group")
  8222. }
  8223. if fieldNum <= 0 {
  8224. return fmt.Errorf("proto: SpecialReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8225. }
  8226. switch fieldNum {
  8227. case 1:
  8228. if wireType == 0 {
  8229. var v int64
  8230. for shift := uint(0); ; shift += 7 {
  8231. if shift >= 64 {
  8232. return ErrIntOverflowApi
  8233. }
  8234. if iNdEx >= l {
  8235. return io.ErrUnexpectedEOF
  8236. }
  8237. b := dAtA[iNdEx]
  8238. iNdEx++
  8239. v |= (int64(b) & 0x7F) << shift
  8240. if b < 0x80 {
  8241. break
  8242. }
  8243. }
  8244. m.Mids = append(m.Mids, v)
  8245. } else if wireType == 2 {
  8246. var packedLen int
  8247. for shift := uint(0); ; shift += 7 {
  8248. if shift >= 64 {
  8249. return ErrIntOverflowApi
  8250. }
  8251. if iNdEx >= l {
  8252. return io.ErrUnexpectedEOF
  8253. }
  8254. b := dAtA[iNdEx]
  8255. iNdEx++
  8256. packedLen |= (int(b) & 0x7F) << shift
  8257. if b < 0x80 {
  8258. break
  8259. }
  8260. }
  8261. if packedLen < 0 {
  8262. return ErrInvalidLengthApi
  8263. }
  8264. postIndex := iNdEx + packedLen
  8265. if postIndex > l {
  8266. return io.ErrUnexpectedEOF
  8267. }
  8268. var elementCount int
  8269. var count int
  8270. for _, integer := range dAtA {
  8271. if integer < 128 {
  8272. count++
  8273. }
  8274. }
  8275. elementCount = count
  8276. if elementCount != 0 && len(m.Mids) == 0 {
  8277. m.Mids = make([]int64, 0, elementCount)
  8278. }
  8279. for iNdEx < postIndex {
  8280. var v int64
  8281. for shift := uint(0); ; shift += 7 {
  8282. if shift >= 64 {
  8283. return ErrIntOverflowApi
  8284. }
  8285. if iNdEx >= l {
  8286. return io.ErrUnexpectedEOF
  8287. }
  8288. b := dAtA[iNdEx]
  8289. iNdEx++
  8290. v |= (int64(b) & 0x7F) << shift
  8291. if b < 0x80 {
  8292. break
  8293. }
  8294. }
  8295. m.Mids = append(m.Mids, v)
  8296. }
  8297. } else {
  8298. return fmt.Errorf("proto: wrong wireType = %d for field Mids", wireType)
  8299. }
  8300. default:
  8301. iNdEx = preIndex
  8302. skippy, err := skipApi(dAtA[iNdEx:])
  8303. if err != nil {
  8304. return err
  8305. }
  8306. if skippy < 0 {
  8307. return ErrInvalidLengthApi
  8308. }
  8309. if (iNdEx + skippy) > l {
  8310. return io.ErrUnexpectedEOF
  8311. }
  8312. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8313. iNdEx += skippy
  8314. }
  8315. }
  8316. if iNdEx > l {
  8317. return io.ErrUnexpectedEOF
  8318. }
  8319. return nil
  8320. }
  8321. func (m *AchieveGetReq) Unmarshal(dAtA []byte) error {
  8322. l := len(dAtA)
  8323. iNdEx := 0
  8324. for iNdEx < l {
  8325. preIndex := iNdEx
  8326. var wire uint64
  8327. for shift := uint(0); ; shift += 7 {
  8328. if shift >= 64 {
  8329. return ErrIntOverflowApi
  8330. }
  8331. if iNdEx >= l {
  8332. return io.ErrUnexpectedEOF
  8333. }
  8334. b := dAtA[iNdEx]
  8335. iNdEx++
  8336. wire |= (uint64(b) & 0x7F) << shift
  8337. if b < 0x80 {
  8338. break
  8339. }
  8340. }
  8341. fieldNum := int32(wire >> 3)
  8342. wireType := int(wire & 0x7)
  8343. if wireType == 4 {
  8344. return fmt.Errorf("proto: AchieveGetReq: wiretype end group for non-group")
  8345. }
  8346. if fieldNum <= 0 {
  8347. return fmt.Errorf("proto: AchieveGetReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8348. }
  8349. switch fieldNum {
  8350. case 1:
  8351. if wireType != 2 {
  8352. return fmt.Errorf("proto: wrong wireType = %d for field Award", wireType)
  8353. }
  8354. var stringLen uint64
  8355. for shift := uint(0); ; shift += 7 {
  8356. if shift >= 64 {
  8357. return ErrIntOverflowApi
  8358. }
  8359. if iNdEx >= l {
  8360. return io.ErrUnexpectedEOF
  8361. }
  8362. b := dAtA[iNdEx]
  8363. iNdEx++
  8364. stringLen |= (uint64(b) & 0x7F) << shift
  8365. if b < 0x80 {
  8366. break
  8367. }
  8368. }
  8369. intStringLen := int(stringLen)
  8370. if intStringLen < 0 {
  8371. return ErrInvalidLengthApi
  8372. }
  8373. postIndex := iNdEx + intStringLen
  8374. if postIndex > l {
  8375. return io.ErrUnexpectedEOF
  8376. }
  8377. m.Award = string(dAtA[iNdEx:postIndex])
  8378. iNdEx = postIndex
  8379. case 2:
  8380. if wireType != 0 {
  8381. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8382. }
  8383. m.Mid = 0
  8384. for shift := uint(0); ; shift += 7 {
  8385. if shift >= 64 {
  8386. return ErrIntOverflowApi
  8387. }
  8388. if iNdEx >= l {
  8389. return io.ErrUnexpectedEOF
  8390. }
  8391. b := dAtA[iNdEx]
  8392. iNdEx++
  8393. m.Mid |= (int64(b) & 0x7F) << shift
  8394. if b < 0x80 {
  8395. break
  8396. }
  8397. }
  8398. default:
  8399. iNdEx = preIndex
  8400. skippy, err := skipApi(dAtA[iNdEx:])
  8401. if err != nil {
  8402. return err
  8403. }
  8404. if skippy < 0 {
  8405. return ErrInvalidLengthApi
  8406. }
  8407. if (iNdEx + skippy) > l {
  8408. return io.ErrUnexpectedEOF
  8409. }
  8410. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8411. iNdEx += skippy
  8412. }
  8413. }
  8414. if iNdEx > l {
  8415. return io.ErrUnexpectedEOF
  8416. }
  8417. return nil
  8418. }
  8419. func (m *AchieveGetReply) Unmarshal(dAtA []byte) error {
  8420. l := len(dAtA)
  8421. iNdEx := 0
  8422. for iNdEx < l {
  8423. preIndex := iNdEx
  8424. var wire uint64
  8425. for shift := uint(0); ; shift += 7 {
  8426. if shift >= 64 {
  8427. return ErrIntOverflowApi
  8428. }
  8429. if iNdEx >= l {
  8430. return io.ErrUnexpectedEOF
  8431. }
  8432. b := dAtA[iNdEx]
  8433. iNdEx++
  8434. wire |= (uint64(b) & 0x7F) << shift
  8435. if b < 0x80 {
  8436. break
  8437. }
  8438. }
  8439. fieldNum := int32(wire >> 3)
  8440. wireType := int(wire & 0x7)
  8441. if wireType == 4 {
  8442. return fmt.Errorf("proto: AchieveGetReply: wiretype end group for non-group")
  8443. }
  8444. if fieldNum <= 0 {
  8445. return fmt.Errorf("proto: AchieveGetReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8446. }
  8447. switch fieldNum {
  8448. case 1:
  8449. if wireType != 2 {
  8450. return fmt.Errorf("proto: wrong wireType = %d for field AwardToken", wireType)
  8451. }
  8452. var stringLen uint64
  8453. for shift := uint(0); ; shift += 7 {
  8454. if shift >= 64 {
  8455. return ErrIntOverflowApi
  8456. }
  8457. if iNdEx >= l {
  8458. return io.ErrUnexpectedEOF
  8459. }
  8460. b := dAtA[iNdEx]
  8461. iNdEx++
  8462. stringLen |= (uint64(b) & 0x7F) << shift
  8463. if b < 0x80 {
  8464. break
  8465. }
  8466. }
  8467. intStringLen := int(stringLen)
  8468. if intStringLen < 0 {
  8469. return ErrInvalidLengthApi
  8470. }
  8471. postIndex := iNdEx + intStringLen
  8472. if postIndex > l {
  8473. return io.ErrUnexpectedEOF
  8474. }
  8475. m.AwardToken = string(dAtA[iNdEx:postIndex])
  8476. iNdEx = postIndex
  8477. default:
  8478. iNdEx = preIndex
  8479. skippy, err := skipApi(dAtA[iNdEx:])
  8480. if err != nil {
  8481. return err
  8482. }
  8483. if skippy < 0 {
  8484. return ErrInvalidLengthApi
  8485. }
  8486. if (iNdEx + skippy) > l {
  8487. return io.ErrUnexpectedEOF
  8488. }
  8489. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8490. iNdEx += skippy
  8491. }
  8492. }
  8493. if iNdEx > l {
  8494. return io.ErrUnexpectedEOF
  8495. }
  8496. return nil
  8497. }
  8498. func (m *AchieveReq) Unmarshal(dAtA []byte) error {
  8499. l := len(dAtA)
  8500. iNdEx := 0
  8501. for iNdEx < l {
  8502. preIndex := iNdEx
  8503. var wire uint64
  8504. for shift := uint(0); ; shift += 7 {
  8505. if shift >= 64 {
  8506. return ErrIntOverflowApi
  8507. }
  8508. if iNdEx >= l {
  8509. return io.ErrUnexpectedEOF
  8510. }
  8511. b := dAtA[iNdEx]
  8512. iNdEx++
  8513. wire |= (uint64(b) & 0x7F) << shift
  8514. if b < 0x80 {
  8515. break
  8516. }
  8517. }
  8518. fieldNum := int32(wire >> 3)
  8519. wireType := int(wire & 0x7)
  8520. if wireType == 4 {
  8521. return fmt.Errorf("proto: AchieveReq: wiretype end group for non-group")
  8522. }
  8523. if fieldNum <= 0 {
  8524. return fmt.Errorf("proto: AchieveReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8525. }
  8526. switch fieldNum {
  8527. case 1:
  8528. if wireType != 2 {
  8529. return fmt.Errorf("proto: wrong wireType = %d for field AwardToken", wireType)
  8530. }
  8531. var stringLen uint64
  8532. for shift := uint(0); ; shift += 7 {
  8533. if shift >= 64 {
  8534. return ErrIntOverflowApi
  8535. }
  8536. if iNdEx >= l {
  8537. return io.ErrUnexpectedEOF
  8538. }
  8539. b := dAtA[iNdEx]
  8540. iNdEx++
  8541. stringLen |= (uint64(b) & 0x7F) << shift
  8542. if b < 0x80 {
  8543. break
  8544. }
  8545. }
  8546. intStringLen := int(stringLen)
  8547. if intStringLen < 0 {
  8548. return ErrInvalidLengthApi
  8549. }
  8550. postIndex := iNdEx + intStringLen
  8551. if postIndex > l {
  8552. return io.ErrUnexpectedEOF
  8553. }
  8554. m.AwardToken = string(dAtA[iNdEx:postIndex])
  8555. iNdEx = postIndex
  8556. default:
  8557. iNdEx = preIndex
  8558. skippy, err := skipApi(dAtA[iNdEx:])
  8559. if err != nil {
  8560. return err
  8561. }
  8562. if skippy < 0 {
  8563. return ErrInvalidLengthApi
  8564. }
  8565. if (iNdEx + skippy) > l {
  8566. return io.ErrUnexpectedEOF
  8567. }
  8568. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8569. iNdEx += skippy
  8570. }
  8571. }
  8572. if iNdEx > l {
  8573. return io.ErrUnexpectedEOF
  8574. }
  8575. return nil
  8576. }
  8577. func (m *AchieveReply) Unmarshal(dAtA []byte) error {
  8578. l := len(dAtA)
  8579. iNdEx := 0
  8580. for iNdEx < l {
  8581. preIndex := iNdEx
  8582. var wire uint64
  8583. for shift := uint(0); ; shift += 7 {
  8584. if shift >= 64 {
  8585. return ErrIntOverflowApi
  8586. }
  8587. if iNdEx >= l {
  8588. return io.ErrUnexpectedEOF
  8589. }
  8590. b := dAtA[iNdEx]
  8591. iNdEx++
  8592. wire |= (uint64(b) & 0x7F) << shift
  8593. if b < 0x80 {
  8594. break
  8595. }
  8596. }
  8597. fieldNum := int32(wire >> 3)
  8598. wireType := int(wire & 0x7)
  8599. if wireType == 4 {
  8600. return fmt.Errorf("proto: AchieveReply: wiretype end group for non-group")
  8601. }
  8602. if fieldNum <= 0 {
  8603. return fmt.Errorf("proto: AchieveReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8604. }
  8605. switch fieldNum {
  8606. case 1:
  8607. if wireType != 2 {
  8608. return fmt.Errorf("proto: wrong wireType = %d for field Award", wireType)
  8609. }
  8610. var stringLen uint64
  8611. for shift := uint(0); ; shift += 7 {
  8612. if shift >= 64 {
  8613. return ErrIntOverflowApi
  8614. }
  8615. if iNdEx >= l {
  8616. return io.ErrUnexpectedEOF
  8617. }
  8618. b := dAtA[iNdEx]
  8619. iNdEx++
  8620. stringLen |= (uint64(b) & 0x7F) << shift
  8621. if b < 0x80 {
  8622. break
  8623. }
  8624. }
  8625. intStringLen := int(stringLen)
  8626. if intStringLen < 0 {
  8627. return ErrInvalidLengthApi
  8628. }
  8629. postIndex := iNdEx + intStringLen
  8630. if postIndex > l {
  8631. return io.ErrUnexpectedEOF
  8632. }
  8633. m.Award = string(dAtA[iNdEx:postIndex])
  8634. iNdEx = postIndex
  8635. case 2:
  8636. if wireType != 0 {
  8637. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8638. }
  8639. m.Mid = 0
  8640. for shift := uint(0); ; shift += 7 {
  8641. if shift >= 64 {
  8642. return ErrIntOverflowApi
  8643. }
  8644. if iNdEx >= l {
  8645. return io.ErrUnexpectedEOF
  8646. }
  8647. b := dAtA[iNdEx]
  8648. iNdEx++
  8649. m.Mid |= (int64(b) & 0x7F) << shift
  8650. if b < 0x80 {
  8651. break
  8652. }
  8653. }
  8654. default:
  8655. iNdEx = preIndex
  8656. skippy, err := skipApi(dAtA[iNdEx:])
  8657. if err != nil {
  8658. return err
  8659. }
  8660. if skippy < 0 {
  8661. return ErrInvalidLengthApi
  8662. }
  8663. if (iNdEx + skippy) > l {
  8664. return io.ErrUnexpectedEOF
  8665. }
  8666. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8667. iNdEx += skippy
  8668. }
  8669. }
  8670. if iNdEx > l {
  8671. return io.ErrUnexpectedEOF
  8672. }
  8673. return nil
  8674. }
  8675. func (m *FollowerNotifySettingReply) Unmarshal(dAtA []byte) error {
  8676. l := len(dAtA)
  8677. iNdEx := 0
  8678. for iNdEx < l {
  8679. preIndex := iNdEx
  8680. var wire uint64
  8681. for shift := uint(0); ; shift += 7 {
  8682. if shift >= 64 {
  8683. return ErrIntOverflowApi
  8684. }
  8685. if iNdEx >= l {
  8686. return io.ErrUnexpectedEOF
  8687. }
  8688. b := dAtA[iNdEx]
  8689. iNdEx++
  8690. wire |= (uint64(b) & 0x7F) << shift
  8691. if b < 0x80 {
  8692. break
  8693. }
  8694. }
  8695. fieldNum := int32(wire >> 3)
  8696. wireType := int(wire & 0x7)
  8697. if wireType == 4 {
  8698. return fmt.Errorf("proto: FollowerNotifySettingReply: wiretype end group for non-group")
  8699. }
  8700. if fieldNum <= 0 {
  8701. return fmt.Errorf("proto: FollowerNotifySettingReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8702. }
  8703. switch fieldNum {
  8704. case 1:
  8705. if wireType != 0 {
  8706. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8707. }
  8708. m.Mid = 0
  8709. for shift := uint(0); ; shift += 7 {
  8710. if shift >= 64 {
  8711. return ErrIntOverflowApi
  8712. }
  8713. if iNdEx >= l {
  8714. return io.ErrUnexpectedEOF
  8715. }
  8716. b := dAtA[iNdEx]
  8717. iNdEx++
  8718. m.Mid |= (int64(b) & 0x7F) << shift
  8719. if b < 0x80 {
  8720. break
  8721. }
  8722. }
  8723. case 2:
  8724. if wireType != 0 {
  8725. return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType)
  8726. }
  8727. var v int
  8728. for shift := uint(0); ; shift += 7 {
  8729. if shift >= 64 {
  8730. return ErrIntOverflowApi
  8731. }
  8732. if iNdEx >= l {
  8733. return io.ErrUnexpectedEOF
  8734. }
  8735. b := dAtA[iNdEx]
  8736. iNdEx++
  8737. v |= (int(b) & 0x7F) << shift
  8738. if b < 0x80 {
  8739. break
  8740. }
  8741. }
  8742. m.Enabled = bool(v != 0)
  8743. default:
  8744. iNdEx = preIndex
  8745. skippy, err := skipApi(dAtA[iNdEx:])
  8746. if err != nil {
  8747. return err
  8748. }
  8749. if skippy < 0 {
  8750. return ErrInvalidLengthApi
  8751. }
  8752. if (iNdEx + skippy) > l {
  8753. return io.ErrUnexpectedEOF
  8754. }
  8755. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8756. iNdEx += skippy
  8757. }
  8758. }
  8759. if iNdEx > l {
  8760. return io.ErrUnexpectedEOF
  8761. }
  8762. return nil
  8763. }
  8764. func (m *SameFollowingReq) Unmarshal(dAtA []byte) error {
  8765. l := len(dAtA)
  8766. iNdEx := 0
  8767. for iNdEx < l {
  8768. preIndex := iNdEx
  8769. var wire uint64
  8770. for shift := uint(0); ; shift += 7 {
  8771. if shift >= 64 {
  8772. return ErrIntOverflowApi
  8773. }
  8774. if iNdEx >= l {
  8775. return io.ErrUnexpectedEOF
  8776. }
  8777. b := dAtA[iNdEx]
  8778. iNdEx++
  8779. wire |= (uint64(b) & 0x7F) << shift
  8780. if b < 0x80 {
  8781. break
  8782. }
  8783. }
  8784. fieldNum := int32(wire >> 3)
  8785. wireType := int(wire & 0x7)
  8786. if wireType == 4 {
  8787. return fmt.Errorf("proto: SameFollowingReq: wiretype end group for non-group")
  8788. }
  8789. if fieldNum <= 0 {
  8790. return fmt.Errorf("proto: SameFollowingReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8791. }
  8792. switch fieldNum {
  8793. case 1:
  8794. if wireType != 0 {
  8795. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8796. }
  8797. m.Mid = 0
  8798. for shift := uint(0); ; shift += 7 {
  8799. if shift >= 64 {
  8800. return ErrIntOverflowApi
  8801. }
  8802. if iNdEx >= l {
  8803. return io.ErrUnexpectedEOF
  8804. }
  8805. b := dAtA[iNdEx]
  8806. iNdEx++
  8807. m.Mid |= (int64(b) & 0x7F) << shift
  8808. if b < 0x80 {
  8809. break
  8810. }
  8811. }
  8812. case 2:
  8813. if wireType != 0 {
  8814. return fmt.Errorf("proto: wrong wireType = %d for field Mid2", wireType)
  8815. }
  8816. m.Mid2 = 0
  8817. for shift := uint(0); ; shift += 7 {
  8818. if shift >= 64 {
  8819. return ErrIntOverflowApi
  8820. }
  8821. if iNdEx >= l {
  8822. return io.ErrUnexpectedEOF
  8823. }
  8824. b := dAtA[iNdEx]
  8825. iNdEx++
  8826. m.Mid2 |= (int64(b) & 0x7F) << shift
  8827. if b < 0x80 {
  8828. break
  8829. }
  8830. }
  8831. default:
  8832. iNdEx = preIndex
  8833. skippy, err := skipApi(dAtA[iNdEx:])
  8834. if err != nil {
  8835. return err
  8836. }
  8837. if skippy < 0 {
  8838. return ErrInvalidLengthApi
  8839. }
  8840. if (iNdEx + skippy) > l {
  8841. return io.ErrUnexpectedEOF
  8842. }
  8843. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8844. iNdEx += skippy
  8845. }
  8846. }
  8847. if iNdEx > l {
  8848. return io.ErrUnexpectedEOF
  8849. }
  8850. return nil
  8851. }
  8852. func skipApi(dAtA []byte) (n int, err error) {
  8853. l := len(dAtA)
  8854. iNdEx := 0
  8855. for iNdEx < l {
  8856. var wire uint64
  8857. for shift := uint(0); ; shift += 7 {
  8858. if shift >= 64 {
  8859. return 0, ErrIntOverflowApi
  8860. }
  8861. if iNdEx >= l {
  8862. return 0, io.ErrUnexpectedEOF
  8863. }
  8864. b := dAtA[iNdEx]
  8865. iNdEx++
  8866. wire |= (uint64(b) & 0x7F) << shift
  8867. if b < 0x80 {
  8868. break
  8869. }
  8870. }
  8871. wireType := int(wire & 0x7)
  8872. switch wireType {
  8873. case 0:
  8874. for shift := uint(0); ; shift += 7 {
  8875. if shift >= 64 {
  8876. return 0, ErrIntOverflowApi
  8877. }
  8878. if iNdEx >= l {
  8879. return 0, io.ErrUnexpectedEOF
  8880. }
  8881. iNdEx++
  8882. if dAtA[iNdEx-1] < 0x80 {
  8883. break
  8884. }
  8885. }
  8886. return iNdEx, nil
  8887. case 1:
  8888. iNdEx += 8
  8889. return iNdEx, nil
  8890. case 2:
  8891. var length int
  8892. for shift := uint(0); ; shift += 7 {
  8893. if shift >= 64 {
  8894. return 0, ErrIntOverflowApi
  8895. }
  8896. if iNdEx >= l {
  8897. return 0, io.ErrUnexpectedEOF
  8898. }
  8899. b := dAtA[iNdEx]
  8900. iNdEx++
  8901. length |= (int(b) & 0x7F) << shift
  8902. if b < 0x80 {
  8903. break
  8904. }
  8905. }
  8906. iNdEx += length
  8907. if length < 0 {
  8908. return 0, ErrInvalidLengthApi
  8909. }
  8910. return iNdEx, nil
  8911. case 3:
  8912. for {
  8913. var innerWire uint64
  8914. var start int = iNdEx
  8915. for shift := uint(0); ; shift += 7 {
  8916. if shift >= 64 {
  8917. return 0, ErrIntOverflowApi
  8918. }
  8919. if iNdEx >= l {
  8920. return 0, io.ErrUnexpectedEOF
  8921. }
  8922. b := dAtA[iNdEx]
  8923. iNdEx++
  8924. innerWire |= (uint64(b) & 0x7F) << shift
  8925. if b < 0x80 {
  8926. break
  8927. }
  8928. }
  8929. innerWireType := int(innerWire & 0x7)
  8930. if innerWireType == 4 {
  8931. break
  8932. }
  8933. next, err := skipApi(dAtA[start:])
  8934. if err != nil {
  8935. return 0, err
  8936. }
  8937. iNdEx = start + next
  8938. }
  8939. return iNdEx, nil
  8940. case 4:
  8941. return iNdEx, nil
  8942. case 5:
  8943. iNdEx += 4
  8944. return iNdEx, nil
  8945. default:
  8946. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  8947. }
  8948. }
  8949. panic("unreachable")
  8950. }
  8951. var (
  8952. ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
  8953. ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
  8954. )