golang-im聊天
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

logic.ext.pb.go 150 KiB

2 년 전
2 년 전
1 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
1 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
2 년 전
2 년 전
2 년 전
2 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
1 년 전
1 년 전
2 년 전
2 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
2 년 전
1 년 전
1 년 전
1 년 전
1 년 전
2 년 전
1 년 전
1 년 전
1 년 전
1 년 전
2 년 전
1 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
1 년 전
2 년 전
2 년 전
1 년 전
2 년 전
1 년 전
1 년 전
2 년 전
2 년 전
1 년 전
2 년 전
2 년 전
1 년 전
1 년 전
2 년 전
2 년 전
2 년 전
1 년 전
2 년 전
2 년 전
1 년 전
2 년 전
1 년 전
1 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
1 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
1 년 전
1 년 전
2 년 전
2 년 전
1 년 전
2 년 전
2 년 전
1 년 전
1 년 전
2 년 전
2 년 전
1 년 전
2 년 전
2 년 전
1 년 전
1 년 전
2 년 전
2 년 전
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.20.0--rc1
  5. // source: logic.ext.proto
  6. package pb
  7. import (
  8. "context"
  9. "google.golang.org/grpc"
  10. "google.golang.org/grpc/codes"
  11. "google.golang.org/grpc/status"
  12. "google.golang.org/protobuf/reflect/protoreflect"
  13. "google.golang.org/protobuf/runtime/protoimpl"
  14. "reflect"
  15. "sync"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. type MemberType int32
  24. const (
  25. MemberType_GMT_UNKNOWN MemberType = 0 // 未知
  26. MemberType_GMT_ADMIN MemberType = 1 // 群主
  27. MemberType_GMT_MEMBER MemberType = 2 // 成员
  28. MemberType_GMT_MANAGE MemberType = 3 // 管理员
  29. )
  30. // Enum value maps for MemberType.
  31. var (
  32. MemberType_name = map[int32]string{
  33. 0: "GMT_UNKNOWN",
  34. 1: "GMT_ADMIN",
  35. 2: "GMT_MEMBER",
  36. 3: "GMT_MANAGE",
  37. }
  38. MemberType_value = map[string]int32{
  39. "GMT_UNKNOWN": 0,
  40. "GMT_ADMIN": 1,
  41. "GMT_MEMBER": 2,
  42. "GMT_MANAGE": 3,
  43. }
  44. )
  45. func (x MemberType) Enum() *MemberType {
  46. p := new(MemberType)
  47. *p = x
  48. return p
  49. }
  50. func (x MemberType) String() string {
  51. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  52. }
  53. func (MemberType) Descriptor() protoreflect.EnumDescriptor {
  54. return file_logic_ext_proto_enumTypes[0].Descriptor()
  55. }
  56. func (MemberType) Type() protoreflect.EnumType {
  57. return &file_logic_ext_proto_enumTypes[0]
  58. }
  59. func (x MemberType) Number() protoreflect.EnumNumber {
  60. return protoreflect.EnumNumber(x)
  61. }
  62. // Deprecated: Use MemberType.Descriptor instead.
  63. func (MemberType) EnumDescriptor() ([]byte, []int) {
  64. return file_logic_ext_proto_rawDescGZIP(), []int{0}
  65. }
  66. type AllMemberBannedType int32
  67. const (
  68. AllMemberBannedType_UNKNOWN_All_Member_Banned AllMemberBannedType = 0 // 未知
  69. AllMemberBannedType_YES_All_Member_Banned AllMemberBannedType = 1 // 是-全员禁言
  70. AllMemberBannedType_NOT_All_Member_Banned AllMemberBannedType = 2 // 否-全员禁言
  71. )
  72. // Enum value maps for AllMemberBannedType.
  73. var (
  74. AllMemberBannedType_name = map[int32]string{
  75. 0: "UNKNOWN_All_Member_Banned",
  76. 1: "YES_All_Member_Banned",
  77. 2: "NOT_All_Member_Banned",
  78. }
  79. AllMemberBannedType_value = map[string]int32{
  80. "UNKNOWN_All_Member_Banned": 0,
  81. "YES_All_Member_Banned": 1,
  82. "NOT_All_Member_Banned": 2,
  83. }
  84. )
  85. func (x AllMemberBannedType) Enum() *AllMemberBannedType {
  86. p := new(AllMemberBannedType)
  87. *p = x
  88. return p
  89. }
  90. func (x AllMemberBannedType) String() string {
  91. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  92. }
  93. func (AllMemberBannedType) Descriptor() protoreflect.EnumDescriptor {
  94. return file_logic_ext_proto_enumTypes[1].Descriptor()
  95. }
  96. func (AllMemberBannedType) Type() protoreflect.EnumType {
  97. return &file_logic_ext_proto_enumTypes[1]
  98. }
  99. func (x AllMemberBannedType) Number() protoreflect.EnumNumber {
  100. return protoreflect.EnumNumber(x)
  101. }
  102. // Deprecated: Use AllMemberBannedType.Descriptor instead.
  103. func (AllMemberBannedType) EnumDescriptor() ([]byte, []int) {
  104. return file_logic_ext_proto_rawDescGZIP(), []int{1}
  105. }
  106. type RegisterDeviceReq struct {
  107. state protoimpl.MessageState
  108. sizeCache protoimpl.SizeCache
  109. unknownFields protoimpl.UnknownFields
  110. Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // 设备类型
  111. Brand string `protobuf:"bytes,3,opt,name=brand,proto3" json:"brand,omitempty"` // 厂商
  112. Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` // 机型
  113. SystemVersion string `protobuf:"bytes,5,opt,name=system_version,json=systemVersion,proto3" json:"system_version,omitempty"` // 系统版本
  114. SdkVersion string `protobuf:"bytes,6,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"` // sdk版本号
  115. }
  116. func (x *RegisterDeviceReq) Reset() {
  117. *x = RegisterDeviceReq{}
  118. if protoimpl.UnsafeEnabled {
  119. mi := &file_logic_ext_proto_msgTypes[0]
  120. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  121. ms.StoreMessageInfo(mi)
  122. }
  123. }
  124. func (x *RegisterDeviceReq) String() string {
  125. return protoimpl.X.MessageStringOf(x)
  126. }
  127. func (*RegisterDeviceReq) ProtoMessage() {}
  128. func (x *RegisterDeviceReq) ProtoReflect() protoreflect.Message {
  129. mi := &file_logic_ext_proto_msgTypes[0]
  130. if protoimpl.UnsafeEnabled && x != nil {
  131. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  132. if ms.LoadMessageInfo() == nil {
  133. ms.StoreMessageInfo(mi)
  134. }
  135. return ms
  136. }
  137. return mi.MessageOf(x)
  138. }
  139. // Deprecated: Use RegisterDeviceReq.ProtoReflect.Descriptor instead.
  140. func (*RegisterDeviceReq) Descriptor() ([]byte, []int) {
  141. return file_logic_ext_proto_rawDescGZIP(), []int{0}
  142. }
  143. func (x *RegisterDeviceReq) GetType() int32 {
  144. if x != nil {
  145. return x.Type
  146. }
  147. return 0
  148. }
  149. func (x *RegisterDeviceReq) GetBrand() string {
  150. if x != nil {
  151. return x.Brand
  152. }
  153. return ""
  154. }
  155. func (x *RegisterDeviceReq) GetModel() string {
  156. if x != nil {
  157. return x.Model
  158. }
  159. return ""
  160. }
  161. func (x *RegisterDeviceReq) GetSystemVersion() string {
  162. if x != nil {
  163. return x.SystemVersion
  164. }
  165. return ""
  166. }
  167. func (x *RegisterDeviceReq) GetSdkVersion() string {
  168. if x != nil {
  169. return x.SdkVersion
  170. }
  171. return ""
  172. }
  173. type RegisterDeviceResp struct {
  174. state protoimpl.MessageState
  175. sizeCache protoimpl.SizeCache
  176. unknownFields protoimpl.UnknownFields
  177. DeviceId int64 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
  178. }
  179. func (x *RegisterDeviceResp) Reset() {
  180. *x = RegisterDeviceResp{}
  181. if protoimpl.UnsafeEnabled {
  182. mi := &file_logic_ext_proto_msgTypes[1]
  183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  184. ms.StoreMessageInfo(mi)
  185. }
  186. }
  187. func (x *RegisterDeviceResp) String() string {
  188. return protoimpl.X.MessageStringOf(x)
  189. }
  190. func (*RegisterDeviceResp) ProtoMessage() {}
  191. func (x *RegisterDeviceResp) ProtoReflect() protoreflect.Message {
  192. mi := &file_logic_ext_proto_msgTypes[1]
  193. if protoimpl.UnsafeEnabled && x != nil {
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. if ms.LoadMessageInfo() == nil {
  196. ms.StoreMessageInfo(mi)
  197. }
  198. return ms
  199. }
  200. return mi.MessageOf(x)
  201. }
  202. // Deprecated: Use RegisterDeviceResp.ProtoReflect.Descriptor instead.
  203. func (*RegisterDeviceResp) Descriptor() ([]byte, []int) {
  204. return file_logic_ext_proto_rawDescGZIP(), []int{1}
  205. }
  206. func (x *RegisterDeviceResp) GetDeviceId() int64 {
  207. if x != nil {
  208. return x.DeviceId
  209. }
  210. return 0
  211. }
  212. type SendMessageReq struct {
  213. state protoimpl.MessageState
  214. sizeCache protoimpl.SizeCache
  215. unknownFields protoimpl.UnknownFields
  216. ReceiverType ReceiverType `protobuf:"varint,1,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
  217. ReceiverId int64 `protobuf:"varint,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
  218. ToUserIds []int64 `protobuf:"varint,3,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 需要@的用户id列表
  219. MessageType MessageType `protobuf:"varint,4,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  220. MessageContent []byte `protobuf:"bytes,5,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  221. SendTime int64 `protobuf:"varint,6,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  222. IsPersist bool `protobuf:"varint,7,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化到数据库
  223. MessageContentBack string `protobuf:"bytes,8,opt,name=message_content_back,json=messageContentBack,proto3" json:"message_content_back,omitempty"`
  224. }
  225. func (x *SendMessageReq) Reset() {
  226. *x = SendMessageReq{}
  227. if protoimpl.UnsafeEnabled {
  228. mi := &file_logic_ext_proto_msgTypes[2]
  229. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  230. ms.StoreMessageInfo(mi)
  231. }
  232. }
  233. func (x *SendMessageReq) String() string {
  234. return protoimpl.X.MessageStringOf(x)
  235. }
  236. func (*SendMessageReq) ProtoMessage() {}
  237. func (x *SendMessageReq) ProtoReflect() protoreflect.Message {
  238. mi := &file_logic_ext_proto_msgTypes[2]
  239. if protoimpl.UnsafeEnabled && x != nil {
  240. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  241. if ms.LoadMessageInfo() == nil {
  242. ms.StoreMessageInfo(mi)
  243. }
  244. return ms
  245. }
  246. return mi.MessageOf(x)
  247. }
  248. // Deprecated: Use SendMessageReq.ProtoReflect.Descriptor instead.
  249. func (*SendMessageReq) Descriptor() ([]byte, []int) {
  250. return file_logic_ext_proto_rawDescGZIP(), []int{2}
  251. }
  252. func (x *SendMessageReq) GetReceiverType() ReceiverType {
  253. if x != nil {
  254. return x.ReceiverType
  255. }
  256. return ReceiverType_RT_UNKNOWN
  257. }
  258. func (x *SendMessageReq) GetReceiverId() int64 {
  259. if x != nil {
  260. return x.ReceiverId
  261. }
  262. return 0
  263. }
  264. func (x *SendMessageReq) GetToUserIds() []int64 {
  265. if x != nil {
  266. return x.ToUserIds
  267. }
  268. return nil
  269. }
  270. func (x *SendMessageReq) GetMessageType() MessageType {
  271. if x != nil {
  272. return x.MessageType
  273. }
  274. return MessageType_MT_UNKNOWN
  275. }
  276. func (x *SendMessageReq) GetMessageContent() []byte {
  277. if x != nil {
  278. return x.MessageContent
  279. }
  280. return nil
  281. }
  282. func (x *SendMessageReq) GetSendTime() int64 {
  283. if x != nil {
  284. return x.SendTime
  285. }
  286. return 0
  287. }
  288. func (x *SendMessageReq) GetIsPersist() bool {
  289. if x != nil {
  290. return x.IsPersist
  291. }
  292. return false
  293. }
  294. func (x *SendMessageReq) GetMessageContentBack() string {
  295. if x != nil {
  296. return x.MessageContentBack
  297. }
  298. return ""
  299. }
  300. type SendMessageResp struct {
  301. state protoimpl.MessageState
  302. sizeCache protoimpl.SizeCache
  303. unknownFields protoimpl.UnknownFields
  304. Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 消息序列号
  305. }
  306. func (x *SendMessageResp) Reset() {
  307. *x = SendMessageResp{}
  308. if protoimpl.UnsafeEnabled {
  309. mi := &file_logic_ext_proto_msgTypes[3]
  310. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  311. ms.StoreMessageInfo(mi)
  312. }
  313. }
  314. func (x *SendMessageResp) String() string {
  315. return protoimpl.X.MessageStringOf(x)
  316. }
  317. func (*SendMessageResp) ProtoMessage() {}
  318. func (x *SendMessageResp) ProtoReflect() protoreflect.Message {
  319. mi := &file_logic_ext_proto_msgTypes[3]
  320. if protoimpl.UnsafeEnabled && x != nil {
  321. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  322. if ms.LoadMessageInfo() == nil {
  323. ms.StoreMessageInfo(mi)
  324. }
  325. return ms
  326. }
  327. return mi.MessageOf(x)
  328. }
  329. // Deprecated: Use SendMessageResp.ProtoReflect.Descriptor instead.
  330. func (*SendMessageResp) Descriptor() ([]byte, []int) {
  331. return file_logic_ext_proto_rawDescGZIP(), []int{3}
  332. }
  333. func (x *SendMessageResp) GetSeq() int64 {
  334. if x != nil {
  335. return x.Seq
  336. }
  337. return 0
  338. }
  339. type RecallMessageReq struct {
  340. state protoimpl.MessageState
  341. sizeCache protoimpl.SizeCache
  342. unknownFields protoimpl.UnknownFields
  343. ReceiverType ReceiverType `protobuf:"varint,1,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
  344. ReceiverId int64 `protobuf:"varint,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
  345. ToUserIds []int64 `protobuf:"varint,3,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 需要@的用户id列表
  346. MessageType MessageType `protobuf:"varint,4,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  347. MessageContent []byte `protobuf:"bytes,5,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  348. SendTime int64 `protobuf:"varint,6,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  349. IsPersist bool `protobuf:"varint,7,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化到数据库
  350. MessageContentBack string `protobuf:"bytes,8,opt,name=message_content_back,json=messageContentBack,proto3" json:"message_content_back,omitempty"`
  351. }
  352. func (x *RecallMessageReq) Reset() {
  353. *x = RecallMessageReq{}
  354. if protoimpl.UnsafeEnabled {
  355. mi := &file_logic_ext_proto_msgTypes[4]
  356. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  357. ms.StoreMessageInfo(mi)
  358. }
  359. }
  360. func (x *RecallMessageReq) String() string {
  361. return protoimpl.X.MessageStringOf(x)
  362. }
  363. func (*RecallMessageReq) ProtoMessage() {}
  364. func (x *RecallMessageReq) ProtoReflect() protoreflect.Message {
  365. mi := &file_logic_ext_proto_msgTypes[4]
  366. if protoimpl.UnsafeEnabled && x != nil {
  367. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  368. if ms.LoadMessageInfo() == nil {
  369. ms.StoreMessageInfo(mi)
  370. }
  371. return ms
  372. }
  373. return mi.MessageOf(x)
  374. }
  375. // Deprecated: Use RecallMessageReq.ProtoReflect.Descriptor instead.
  376. func (*RecallMessageReq) Descriptor() ([]byte, []int) {
  377. return file_logic_ext_proto_rawDescGZIP(), []int{4}
  378. }
  379. func (x *RecallMessageReq) GetReceiverType() ReceiverType {
  380. if x != nil {
  381. return x.ReceiverType
  382. }
  383. return ReceiverType_RT_UNKNOWN
  384. }
  385. func (x *RecallMessageReq) GetReceiverId() int64 {
  386. if x != nil {
  387. return x.ReceiverId
  388. }
  389. return 0
  390. }
  391. func (x *RecallMessageReq) GetToUserIds() []int64 {
  392. if x != nil {
  393. return x.ToUserIds
  394. }
  395. return nil
  396. }
  397. func (x *RecallMessageReq) GetMessageType() MessageType {
  398. if x != nil {
  399. return x.MessageType
  400. }
  401. return MessageType_MT_UNKNOWN
  402. }
  403. func (x *RecallMessageReq) GetMessageContent() []byte {
  404. if x != nil {
  405. return x.MessageContent
  406. }
  407. return nil
  408. }
  409. func (x *RecallMessageReq) GetSendTime() int64 {
  410. if x != nil {
  411. return x.SendTime
  412. }
  413. return 0
  414. }
  415. func (x *RecallMessageReq) GetIsPersist() bool {
  416. if x != nil {
  417. return x.IsPersist
  418. }
  419. return false
  420. }
  421. func (x *RecallMessageReq) GetMessageContentBack() string {
  422. if x != nil {
  423. return x.MessageContentBack
  424. }
  425. return ""
  426. }
  427. type RecallMessageResp struct {
  428. state protoimpl.MessageState
  429. sizeCache protoimpl.SizeCache
  430. unknownFields protoimpl.UnknownFields
  431. Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 消息序列号
  432. }
  433. func (x *RecallMessageResp) Reset() {
  434. *x = RecallMessageResp{}
  435. if protoimpl.UnsafeEnabled {
  436. mi := &file_logic_ext_proto_msgTypes[5]
  437. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  438. ms.StoreMessageInfo(mi)
  439. }
  440. }
  441. func (x *RecallMessageResp) String() string {
  442. return protoimpl.X.MessageStringOf(x)
  443. }
  444. func (*RecallMessageResp) ProtoMessage() {}
  445. func (x *RecallMessageResp) ProtoReflect() protoreflect.Message {
  446. mi := &file_logic_ext_proto_msgTypes[5]
  447. if protoimpl.UnsafeEnabled && x != nil {
  448. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  449. if ms.LoadMessageInfo() == nil {
  450. ms.StoreMessageInfo(mi)
  451. }
  452. return ms
  453. }
  454. return mi.MessageOf(x)
  455. }
  456. // Deprecated: Use RecallMessageResp.ProtoReflect.Descriptor instead.
  457. func (*RecallMessageResp) Descriptor() ([]byte, []int) {
  458. return file_logic_ext_proto_rawDescGZIP(), []int{5}
  459. }
  460. func (x *RecallMessageResp) GetSeq() int64 {
  461. if x != nil {
  462. return x.Seq
  463. }
  464. return 0
  465. }
  466. type SendRedPacketReq struct {
  467. state protoimpl.MessageState
  468. sizeCache protoimpl.SizeCache
  469. unknownFields protoimpl.UnknownFields
  470. ReceiverType ReceiverType `protobuf:"varint,1,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
  471. ReceiverId int64 `protobuf:"varint,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
  472. MessageType MessageType `protobuf:"varint,3,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  473. MessageContent []byte `protobuf:"bytes,4,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  474. SendTime int64 `protobuf:"varint,5,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  475. ToUserIds []int64 `protobuf:"varint,6,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 红包给到哪些用户(专属红包)
  476. MessageContentBack string `protobuf:"bytes,7,opt,name=message_content_back,json=messageContentBack,proto3" json:"message_content_back,omitempty"`
  477. }
  478. func (x *SendRedPacketReq) Reset() {
  479. *x = SendRedPacketReq{}
  480. if protoimpl.UnsafeEnabled {
  481. mi := &file_logic_ext_proto_msgTypes[6]
  482. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  483. ms.StoreMessageInfo(mi)
  484. }
  485. }
  486. func (x *SendRedPacketReq) String() string {
  487. return protoimpl.X.MessageStringOf(x)
  488. }
  489. func (*SendRedPacketReq) ProtoMessage() {}
  490. func (x *SendRedPacketReq) ProtoReflect() protoreflect.Message {
  491. mi := &file_logic_ext_proto_msgTypes[6]
  492. if protoimpl.UnsafeEnabled && x != nil {
  493. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  494. if ms.LoadMessageInfo() == nil {
  495. ms.StoreMessageInfo(mi)
  496. }
  497. return ms
  498. }
  499. return mi.MessageOf(x)
  500. }
  501. // Deprecated: Use SendRedPacketReq.ProtoReflect.Descriptor instead.
  502. func (*SendRedPacketReq) Descriptor() ([]byte, []int) {
  503. return file_logic_ext_proto_rawDescGZIP(), []int{6}
  504. }
  505. func (x *SendRedPacketReq) GetReceiverType() ReceiverType {
  506. if x != nil {
  507. return x.ReceiverType
  508. }
  509. return ReceiverType_RT_UNKNOWN
  510. }
  511. func (x *SendRedPacketReq) GetReceiverId() int64 {
  512. if x != nil {
  513. return x.ReceiverId
  514. }
  515. return 0
  516. }
  517. func (x *SendRedPacketReq) GetMessageType() MessageType {
  518. if x != nil {
  519. return x.MessageType
  520. }
  521. return MessageType_MT_UNKNOWN
  522. }
  523. func (x *SendRedPacketReq) GetMessageContent() []byte {
  524. if x != nil {
  525. return x.MessageContent
  526. }
  527. return nil
  528. }
  529. func (x *SendRedPacketReq) GetSendTime() int64 {
  530. if x != nil {
  531. return x.SendTime
  532. }
  533. return 0
  534. }
  535. func (x *SendRedPacketReq) GetToUserIds() []int64 {
  536. if x != nil {
  537. return x.ToUserIds
  538. }
  539. return nil
  540. }
  541. func (x *SendRedPacketReq) GetMessageContentBack() string {
  542. if x != nil {
  543. return x.MessageContentBack
  544. }
  545. return ""
  546. }
  547. type SendRedPacketResp struct {
  548. state protoimpl.MessageState
  549. sizeCache protoimpl.SizeCache
  550. unknownFields protoimpl.UnknownFields
  551. Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 消息序列号
  552. }
  553. func (x *SendRedPacketResp) Reset() {
  554. *x = SendRedPacketResp{}
  555. if protoimpl.UnsafeEnabled {
  556. mi := &file_logic_ext_proto_msgTypes[7]
  557. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  558. ms.StoreMessageInfo(mi)
  559. }
  560. }
  561. func (x *SendRedPacketResp) String() string {
  562. return protoimpl.X.MessageStringOf(x)
  563. }
  564. func (*SendRedPacketResp) ProtoMessage() {}
  565. func (x *SendRedPacketResp) ProtoReflect() protoreflect.Message {
  566. mi := &file_logic_ext_proto_msgTypes[7]
  567. if protoimpl.UnsafeEnabled && x != nil {
  568. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  569. if ms.LoadMessageInfo() == nil {
  570. ms.StoreMessageInfo(mi)
  571. }
  572. return ms
  573. }
  574. return mi.MessageOf(x)
  575. }
  576. // Deprecated: Use SendRedPacketResp.ProtoReflect.Descriptor instead.
  577. func (*SendRedPacketResp) Descriptor() ([]byte, []int) {
  578. return file_logic_ext_proto_rawDescGZIP(), []int{7}
  579. }
  580. func (x *SendRedPacketResp) GetSeq() int64 {
  581. if x != nil {
  582. return x.Seq
  583. }
  584. return 0
  585. }
  586. type PushRoomReq struct {
  587. state protoimpl.MessageState
  588. sizeCache protoimpl.SizeCache
  589. unknownFields protoimpl.UnknownFields
  590. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // 房间id
  591. MessageType MessageType `protobuf:"varint,2,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  592. MessageContent []byte `protobuf:"bytes,3,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  593. SendTime int64 `protobuf:"varint,4,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  594. IsPersist bool `protobuf:"varint,5,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化
  595. IsPriority bool `protobuf:"varint,6,opt,name=is_priority,json=isPriority,proto3" json:"is_priority,omitempty"` // 是否优先推送
  596. }
  597. func (x *PushRoomReq) Reset() {
  598. *x = PushRoomReq{}
  599. if protoimpl.UnsafeEnabled {
  600. mi := &file_logic_ext_proto_msgTypes[8]
  601. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  602. ms.StoreMessageInfo(mi)
  603. }
  604. }
  605. func (x *PushRoomReq) String() string {
  606. return protoimpl.X.MessageStringOf(x)
  607. }
  608. func (*PushRoomReq) ProtoMessage() {}
  609. func (x *PushRoomReq) ProtoReflect() protoreflect.Message {
  610. mi := &file_logic_ext_proto_msgTypes[8]
  611. if protoimpl.UnsafeEnabled && x != nil {
  612. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  613. if ms.LoadMessageInfo() == nil {
  614. ms.StoreMessageInfo(mi)
  615. }
  616. return ms
  617. }
  618. return mi.MessageOf(x)
  619. }
  620. // Deprecated: Use PushRoomReq.ProtoReflect.Descriptor instead.
  621. func (*PushRoomReq) Descriptor() ([]byte, []int) {
  622. return file_logic_ext_proto_rawDescGZIP(), []int{8}
  623. }
  624. func (x *PushRoomReq) GetRoomId() int64 {
  625. if x != nil {
  626. return x.RoomId
  627. }
  628. return 0
  629. }
  630. func (x *PushRoomReq) GetMessageType() MessageType {
  631. if x != nil {
  632. return x.MessageType
  633. }
  634. return MessageType_MT_UNKNOWN
  635. }
  636. func (x *PushRoomReq) GetMessageContent() []byte {
  637. if x != nil {
  638. return x.MessageContent
  639. }
  640. return nil
  641. }
  642. func (x *PushRoomReq) GetSendTime() int64 {
  643. if x != nil {
  644. return x.SendTime
  645. }
  646. return 0
  647. }
  648. func (x *PushRoomReq) GetIsPersist() bool {
  649. if x != nil {
  650. return x.IsPersist
  651. }
  652. return false
  653. }
  654. func (x *PushRoomReq) GetIsPriority() bool {
  655. if x != nil {
  656. return x.IsPriority
  657. }
  658. return false
  659. }
  660. type AddFriendReq struct {
  661. state protoimpl.MessageState
  662. sizeCache protoimpl.SizeCache
  663. unknownFields protoimpl.UnknownFields
  664. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 用户id
  665. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  666. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 描述
  667. }
  668. func (x *AddFriendReq) Reset() {
  669. *x = AddFriendReq{}
  670. if protoimpl.UnsafeEnabled {
  671. mi := &file_logic_ext_proto_msgTypes[9]
  672. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  673. ms.StoreMessageInfo(mi)
  674. }
  675. }
  676. func (x *AddFriendReq) String() string {
  677. return protoimpl.X.MessageStringOf(x)
  678. }
  679. func (*AddFriendReq) ProtoMessage() {}
  680. func (x *AddFriendReq) ProtoReflect() protoreflect.Message {
  681. mi := &file_logic_ext_proto_msgTypes[9]
  682. if protoimpl.UnsafeEnabled && x != nil {
  683. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  684. if ms.LoadMessageInfo() == nil {
  685. ms.StoreMessageInfo(mi)
  686. }
  687. return ms
  688. }
  689. return mi.MessageOf(x)
  690. }
  691. // Deprecated: Use AddFriendReq.ProtoReflect.Descriptor instead.
  692. func (*AddFriendReq) Descriptor() ([]byte, []int) {
  693. return file_logic_ext_proto_rawDescGZIP(), []int{9}
  694. }
  695. func (x *AddFriendReq) GetFriendId() int64 {
  696. if x != nil {
  697. return x.FriendId
  698. }
  699. return 0
  700. }
  701. func (x *AddFriendReq) GetRemarks() string {
  702. if x != nil {
  703. return x.Remarks
  704. }
  705. return ""
  706. }
  707. func (x *AddFriendReq) GetDescription() string {
  708. if x != nil {
  709. return x.Description
  710. }
  711. return ""
  712. }
  713. type DeleteFriendReq struct {
  714. state protoimpl.MessageState
  715. sizeCache protoimpl.SizeCache
  716. unknownFields protoimpl.UnknownFields
  717. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  718. }
  719. func (x *DeleteFriendReq) Reset() {
  720. *x = DeleteFriendReq{}
  721. if protoimpl.UnsafeEnabled {
  722. mi := &file_logic_ext_proto_msgTypes[10]
  723. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  724. ms.StoreMessageInfo(mi)
  725. }
  726. }
  727. func (x *DeleteFriendReq) String() string {
  728. return protoimpl.X.MessageStringOf(x)
  729. }
  730. func (*DeleteFriendReq) ProtoMessage() {}
  731. func (x *DeleteFriendReq) ProtoReflect() protoreflect.Message {
  732. mi := &file_logic_ext_proto_msgTypes[10]
  733. if protoimpl.UnsafeEnabled && x != nil {
  734. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  735. if ms.LoadMessageInfo() == nil {
  736. ms.StoreMessageInfo(mi)
  737. }
  738. return ms
  739. }
  740. return mi.MessageOf(x)
  741. }
  742. // Deprecated: Use DeleteFriendReq.ProtoReflect.Descriptor instead.
  743. func (*DeleteFriendReq) Descriptor() ([]byte, []int) {
  744. return file_logic_ext_proto_rawDescGZIP(), []int{10}
  745. }
  746. func (x *DeleteFriendReq) GetUserId() int64 {
  747. if x != nil {
  748. return x.UserId
  749. }
  750. return 0
  751. }
  752. type AgreeAddFriendReq struct {
  753. state protoimpl.MessageState
  754. sizeCache protoimpl.SizeCache
  755. unknownFields protoimpl.UnknownFields
  756. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  757. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  758. }
  759. func (x *AgreeAddFriendReq) Reset() {
  760. *x = AgreeAddFriendReq{}
  761. if protoimpl.UnsafeEnabled {
  762. mi := &file_logic_ext_proto_msgTypes[11]
  763. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  764. ms.StoreMessageInfo(mi)
  765. }
  766. }
  767. func (x *AgreeAddFriendReq) String() string {
  768. return protoimpl.X.MessageStringOf(x)
  769. }
  770. func (*AgreeAddFriendReq) ProtoMessage() {}
  771. func (x *AgreeAddFriendReq) ProtoReflect() protoreflect.Message {
  772. mi := &file_logic_ext_proto_msgTypes[11]
  773. if protoimpl.UnsafeEnabled && x != nil {
  774. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  775. if ms.LoadMessageInfo() == nil {
  776. ms.StoreMessageInfo(mi)
  777. }
  778. return ms
  779. }
  780. return mi.MessageOf(x)
  781. }
  782. // Deprecated: Use AgreeAddFriendReq.ProtoReflect.Descriptor instead.
  783. func (*AgreeAddFriendReq) Descriptor() ([]byte, []int) {
  784. return file_logic_ext_proto_rawDescGZIP(), []int{11}
  785. }
  786. func (x *AgreeAddFriendReq) GetUserId() int64 {
  787. if x != nil {
  788. return x.UserId
  789. }
  790. return 0
  791. }
  792. func (x *AgreeAddFriendReq) GetRemarks() string {
  793. if x != nil {
  794. return x.Remarks
  795. }
  796. return ""
  797. }
  798. type SetFriendReq struct {
  799. state protoimpl.MessageState
  800. sizeCache protoimpl.SizeCache
  801. unknownFields protoimpl.UnknownFields
  802. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
  803. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  804. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  805. }
  806. func (x *SetFriendReq) Reset() {
  807. *x = SetFriendReq{}
  808. if protoimpl.UnsafeEnabled {
  809. mi := &file_logic_ext_proto_msgTypes[12]
  810. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  811. ms.StoreMessageInfo(mi)
  812. }
  813. }
  814. func (x *SetFriendReq) String() string {
  815. return protoimpl.X.MessageStringOf(x)
  816. }
  817. func (*SetFriendReq) ProtoMessage() {}
  818. func (x *SetFriendReq) ProtoReflect() protoreflect.Message {
  819. mi := &file_logic_ext_proto_msgTypes[12]
  820. if protoimpl.UnsafeEnabled && x != nil {
  821. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  822. if ms.LoadMessageInfo() == nil {
  823. ms.StoreMessageInfo(mi)
  824. }
  825. return ms
  826. }
  827. return mi.MessageOf(x)
  828. }
  829. // Deprecated: Use SetFriendReq.ProtoReflect.Descriptor instead.
  830. func (*SetFriendReq) Descriptor() ([]byte, []int) {
  831. return file_logic_ext_proto_rawDescGZIP(), []int{12}
  832. }
  833. func (x *SetFriendReq) GetFriendId() int64 {
  834. if x != nil {
  835. return x.FriendId
  836. }
  837. return 0
  838. }
  839. func (x *SetFriendReq) GetRemarks() string {
  840. if x != nil {
  841. return x.Remarks
  842. }
  843. return ""
  844. }
  845. func (x *SetFriendReq) GetExtra() string {
  846. if x != nil {
  847. return x.Extra
  848. }
  849. return ""
  850. }
  851. type SetFriendResp struct {
  852. state protoimpl.MessageState
  853. sizeCache protoimpl.SizeCache
  854. unknownFields protoimpl.UnknownFields
  855. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
  856. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  857. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  858. }
  859. func (x *SetFriendResp) Reset() {
  860. *x = SetFriendResp{}
  861. if protoimpl.UnsafeEnabled {
  862. mi := &file_logic_ext_proto_msgTypes[13]
  863. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  864. ms.StoreMessageInfo(mi)
  865. }
  866. }
  867. func (x *SetFriendResp) String() string {
  868. return protoimpl.X.MessageStringOf(x)
  869. }
  870. func (*SetFriendResp) ProtoMessage() {}
  871. func (x *SetFriendResp) ProtoReflect() protoreflect.Message {
  872. mi := &file_logic_ext_proto_msgTypes[13]
  873. if protoimpl.UnsafeEnabled && x != nil {
  874. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  875. if ms.LoadMessageInfo() == nil {
  876. ms.StoreMessageInfo(mi)
  877. }
  878. return ms
  879. }
  880. return mi.MessageOf(x)
  881. }
  882. // Deprecated: Use SetFriendResp.ProtoReflect.Descriptor instead.
  883. func (*SetFriendResp) Descriptor() ([]byte, []int) {
  884. return file_logic_ext_proto_rawDescGZIP(), []int{13}
  885. }
  886. func (x *SetFriendResp) GetFriendId() int64 {
  887. if x != nil {
  888. return x.FriendId
  889. }
  890. return 0
  891. }
  892. func (x *SetFriendResp) GetRemarks() string {
  893. if x != nil {
  894. return x.Remarks
  895. }
  896. return ""
  897. }
  898. func (x *SetFriendResp) GetExtra() string {
  899. if x != nil {
  900. return x.Extra
  901. }
  902. return ""
  903. }
  904. type Friend struct {
  905. state protoimpl.MessageState
  906. sizeCache protoimpl.SizeCache
  907. unknownFields protoimpl.UnknownFields
  908. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  909. PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 电话号码
  910. Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  911. Sex int32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  912. AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  913. UserExtra string `protobuf:"bytes,6,opt,name=user_extra,json=userExtra,proto3" json:"user_extra,omitempty"` // 用户附加字段
  914. Remarks string `protobuf:"bytes,7,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  915. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  916. }
  917. func (x *Friend) Reset() {
  918. *x = Friend{}
  919. if protoimpl.UnsafeEnabled {
  920. mi := &file_logic_ext_proto_msgTypes[14]
  921. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  922. ms.StoreMessageInfo(mi)
  923. }
  924. }
  925. func (x *Friend) String() string {
  926. return protoimpl.X.MessageStringOf(x)
  927. }
  928. func (*Friend) ProtoMessage() {}
  929. func (x *Friend) ProtoReflect() protoreflect.Message {
  930. mi := &file_logic_ext_proto_msgTypes[14]
  931. if protoimpl.UnsafeEnabled && x != nil {
  932. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  933. if ms.LoadMessageInfo() == nil {
  934. ms.StoreMessageInfo(mi)
  935. }
  936. return ms
  937. }
  938. return mi.MessageOf(x)
  939. }
  940. // Deprecated: Use Friend.ProtoReflect.Descriptor instead.
  941. func (*Friend) Descriptor() ([]byte, []int) {
  942. return file_logic_ext_proto_rawDescGZIP(), []int{14}
  943. }
  944. func (x *Friend) GetUserId() int64 {
  945. if x != nil {
  946. return x.UserId
  947. }
  948. return 0
  949. }
  950. func (x *Friend) GetPhoneNumber() string {
  951. if x != nil {
  952. return x.PhoneNumber
  953. }
  954. return ""
  955. }
  956. func (x *Friend) GetNickname() string {
  957. if x != nil {
  958. return x.Nickname
  959. }
  960. return ""
  961. }
  962. func (x *Friend) GetSex() int32 {
  963. if x != nil {
  964. return x.Sex
  965. }
  966. return 0
  967. }
  968. func (x *Friend) GetAvatarUrl() string {
  969. if x != nil {
  970. return x.AvatarUrl
  971. }
  972. return ""
  973. }
  974. func (x *Friend) GetUserExtra() string {
  975. if x != nil {
  976. return x.UserExtra
  977. }
  978. return ""
  979. }
  980. func (x *Friend) GetRemarks() string {
  981. if x != nil {
  982. return x.Remarks
  983. }
  984. return ""
  985. }
  986. func (x *Friend) GetExtra() string {
  987. if x != nil {
  988. return x.Extra
  989. }
  990. return ""
  991. }
  992. type GetFriendsResp struct {
  993. state protoimpl.MessageState
  994. sizeCache protoimpl.SizeCache
  995. unknownFields protoimpl.UnknownFields
  996. Friends []*Friend `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"`
  997. }
  998. func (x *GetFriendsResp) Reset() {
  999. *x = GetFriendsResp{}
  1000. if protoimpl.UnsafeEnabled {
  1001. mi := &file_logic_ext_proto_msgTypes[15]
  1002. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1003. ms.StoreMessageInfo(mi)
  1004. }
  1005. }
  1006. func (x *GetFriendsResp) String() string {
  1007. return protoimpl.X.MessageStringOf(x)
  1008. }
  1009. func (*GetFriendsResp) ProtoMessage() {}
  1010. func (x *GetFriendsResp) ProtoReflect() protoreflect.Message {
  1011. mi := &file_logic_ext_proto_msgTypes[15]
  1012. if protoimpl.UnsafeEnabled && x != nil {
  1013. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1014. if ms.LoadMessageInfo() == nil {
  1015. ms.StoreMessageInfo(mi)
  1016. }
  1017. return ms
  1018. }
  1019. return mi.MessageOf(x)
  1020. }
  1021. // Deprecated: Use GetFriendsResp.ProtoReflect.Descriptor instead.
  1022. func (*GetFriendsResp) Descriptor() ([]byte, []int) {
  1023. return file_logic_ext_proto_rawDescGZIP(), []int{15}
  1024. }
  1025. func (x *GetFriendsResp) GetFriends() []*Friend {
  1026. if x != nil {
  1027. return x.Friends
  1028. }
  1029. return nil
  1030. }
  1031. type CreateGroupReq struct {
  1032. state protoimpl.MessageState
  1033. sizeCache protoimpl.SizeCache
  1034. unknownFields protoimpl.UnknownFields
  1035. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1036. AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  1037. Introduction string `protobuf:"bytes,3,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  1038. Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  1039. MemberIds []int64 `protobuf:"varint,5,rep,packed,name=member_ids,json=memberIds,proto3" json:"member_ids,omitempty"` // 群组成员ID列表
  1040. }
  1041. func (x *CreateGroupReq) Reset() {
  1042. *x = CreateGroupReq{}
  1043. if protoimpl.UnsafeEnabled {
  1044. mi := &file_logic_ext_proto_msgTypes[16]
  1045. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1046. ms.StoreMessageInfo(mi)
  1047. }
  1048. }
  1049. func (x *CreateGroupReq) String() string {
  1050. return protoimpl.X.MessageStringOf(x)
  1051. }
  1052. func (*CreateGroupReq) ProtoMessage() {}
  1053. func (x *CreateGroupReq) ProtoReflect() protoreflect.Message {
  1054. mi := &file_logic_ext_proto_msgTypes[16]
  1055. if protoimpl.UnsafeEnabled && x != nil {
  1056. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1057. if ms.LoadMessageInfo() == nil {
  1058. ms.StoreMessageInfo(mi)
  1059. }
  1060. return ms
  1061. }
  1062. return mi.MessageOf(x)
  1063. }
  1064. // Deprecated: Use CreateGroupReq.ProtoReflect.Descriptor instead.
  1065. func (*CreateGroupReq) Descriptor() ([]byte, []int) {
  1066. return file_logic_ext_proto_rawDescGZIP(), []int{16}
  1067. }
  1068. func (x *CreateGroupReq) GetName() string {
  1069. if x != nil {
  1070. return x.Name
  1071. }
  1072. return ""
  1073. }
  1074. func (x *CreateGroupReq) GetAvatarUrl() string {
  1075. if x != nil {
  1076. return x.AvatarUrl
  1077. }
  1078. return ""
  1079. }
  1080. func (x *CreateGroupReq) GetIntroduction() string {
  1081. if x != nil {
  1082. return x.Introduction
  1083. }
  1084. return ""
  1085. }
  1086. func (x *CreateGroupReq) GetExtra() string {
  1087. if x != nil {
  1088. return x.Extra
  1089. }
  1090. return ""
  1091. }
  1092. func (x *CreateGroupReq) GetMemberIds() []int64 {
  1093. if x != nil {
  1094. return x.MemberIds
  1095. }
  1096. return nil
  1097. }
  1098. type CreateGroupResp struct {
  1099. state protoimpl.MessageState
  1100. sizeCache protoimpl.SizeCache
  1101. unknownFields protoimpl.UnknownFields
  1102. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1103. }
  1104. func (x *CreateGroupResp) Reset() {
  1105. *x = CreateGroupResp{}
  1106. if protoimpl.UnsafeEnabled {
  1107. mi := &file_logic_ext_proto_msgTypes[17]
  1108. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1109. ms.StoreMessageInfo(mi)
  1110. }
  1111. }
  1112. func (x *CreateGroupResp) String() string {
  1113. return protoimpl.X.MessageStringOf(x)
  1114. }
  1115. func (*CreateGroupResp) ProtoMessage() {}
  1116. func (x *CreateGroupResp) ProtoReflect() protoreflect.Message {
  1117. mi := &file_logic_ext_proto_msgTypes[17]
  1118. if protoimpl.UnsafeEnabled && x != nil {
  1119. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1120. if ms.LoadMessageInfo() == nil {
  1121. ms.StoreMessageInfo(mi)
  1122. }
  1123. return ms
  1124. }
  1125. return mi.MessageOf(x)
  1126. }
  1127. // Deprecated: Use CreateGroupResp.ProtoReflect.Descriptor instead.
  1128. func (*CreateGroupResp) Descriptor() ([]byte, []int) {
  1129. return file_logic_ext_proto_rawDescGZIP(), []int{17}
  1130. }
  1131. func (x *CreateGroupResp) GetGroupId() int64 {
  1132. if x != nil {
  1133. return x.GroupId
  1134. }
  1135. return 0
  1136. }
  1137. type UpdateGroupReq struct {
  1138. state protoimpl.MessageState
  1139. sizeCache protoimpl.SizeCache
  1140. unknownFields protoimpl.UnknownFields
  1141. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1142. AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  1143. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1144. Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  1145. Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  1146. }
  1147. func (x *UpdateGroupReq) Reset() {
  1148. *x = UpdateGroupReq{}
  1149. if protoimpl.UnsafeEnabled {
  1150. mi := &file_logic_ext_proto_msgTypes[18]
  1151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1152. ms.StoreMessageInfo(mi)
  1153. }
  1154. }
  1155. func (x *UpdateGroupReq) String() string {
  1156. return protoimpl.X.MessageStringOf(x)
  1157. }
  1158. func (*UpdateGroupReq) ProtoMessage() {}
  1159. func (x *UpdateGroupReq) ProtoReflect() protoreflect.Message {
  1160. mi := &file_logic_ext_proto_msgTypes[18]
  1161. if protoimpl.UnsafeEnabled && x != nil {
  1162. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1163. if ms.LoadMessageInfo() == nil {
  1164. ms.StoreMessageInfo(mi)
  1165. }
  1166. return ms
  1167. }
  1168. return mi.MessageOf(x)
  1169. }
  1170. // Deprecated: Use UpdateGroupReq.ProtoReflect.Descriptor instead.
  1171. func (*UpdateGroupReq) Descriptor() ([]byte, []int) {
  1172. return file_logic_ext_proto_rawDescGZIP(), []int{18}
  1173. }
  1174. func (x *UpdateGroupReq) GetGroupId() int64 {
  1175. if x != nil {
  1176. return x.GroupId
  1177. }
  1178. return 0
  1179. }
  1180. func (x *UpdateGroupReq) GetAvatarUrl() string {
  1181. if x != nil {
  1182. return x.AvatarUrl
  1183. }
  1184. return ""
  1185. }
  1186. func (x *UpdateGroupReq) GetName() string {
  1187. if x != nil {
  1188. return x.Name
  1189. }
  1190. return ""
  1191. }
  1192. func (x *UpdateGroupReq) GetIntroduction() string {
  1193. if x != nil {
  1194. return x.Introduction
  1195. }
  1196. return ""
  1197. }
  1198. func (x *UpdateGroupReq) GetExtra() string {
  1199. if x != nil {
  1200. return x.Extra
  1201. }
  1202. return ""
  1203. }
  1204. type GetGroupReq struct {
  1205. state protoimpl.MessageState
  1206. sizeCache protoimpl.SizeCache
  1207. unknownFields protoimpl.UnknownFields
  1208. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  1209. }
  1210. func (x *GetGroupReq) Reset() {
  1211. *x = GetGroupReq{}
  1212. if protoimpl.UnsafeEnabled {
  1213. mi := &file_logic_ext_proto_msgTypes[19]
  1214. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1215. ms.StoreMessageInfo(mi)
  1216. }
  1217. }
  1218. func (x *GetGroupReq) String() string {
  1219. return protoimpl.X.MessageStringOf(x)
  1220. }
  1221. func (*GetGroupReq) ProtoMessage() {}
  1222. func (x *GetGroupReq) ProtoReflect() protoreflect.Message {
  1223. mi := &file_logic_ext_proto_msgTypes[19]
  1224. if protoimpl.UnsafeEnabled && x != nil {
  1225. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1226. if ms.LoadMessageInfo() == nil {
  1227. ms.StoreMessageInfo(mi)
  1228. }
  1229. return ms
  1230. }
  1231. return mi.MessageOf(x)
  1232. }
  1233. // Deprecated: Use GetGroupReq.ProtoReflect.Descriptor instead.
  1234. func (*GetGroupReq) Descriptor() ([]byte, []int) {
  1235. return file_logic_ext_proto_rawDescGZIP(), []int{19}
  1236. }
  1237. func (x *GetGroupReq) GetGroupId() int64 {
  1238. if x != nil {
  1239. return x.GroupId
  1240. }
  1241. return 0
  1242. }
  1243. type GetGroupResp struct {
  1244. state protoimpl.MessageState
  1245. sizeCache protoimpl.SizeCache
  1246. unknownFields protoimpl.UnknownFields
  1247. Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
  1248. MemberType MemberType `protobuf:"varint,2,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"`
  1249. GroupUserStatusType GroupUserStatusType `protobuf:"varint,3,opt,name=group_user_status_type,json=groupUserStatusType,proto3,enum=pb.GroupUserStatusType" json:"group_user_status_type,omitempty"`
  1250. }
  1251. func (x *GetGroupResp) Reset() {
  1252. *x = GetGroupResp{}
  1253. if protoimpl.UnsafeEnabled {
  1254. mi := &file_logic_ext_proto_msgTypes[20]
  1255. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1256. ms.StoreMessageInfo(mi)
  1257. }
  1258. }
  1259. func (x *GetGroupResp) String() string {
  1260. return protoimpl.X.MessageStringOf(x)
  1261. }
  1262. func (*GetGroupResp) ProtoMessage() {}
  1263. func (x *GetGroupResp) ProtoReflect() protoreflect.Message {
  1264. mi := &file_logic_ext_proto_msgTypes[20]
  1265. if protoimpl.UnsafeEnabled && x != nil {
  1266. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1267. if ms.LoadMessageInfo() == nil {
  1268. ms.StoreMessageInfo(mi)
  1269. }
  1270. return ms
  1271. }
  1272. return mi.MessageOf(x)
  1273. }
  1274. // Deprecated: Use GetGroupResp.ProtoReflect.Descriptor instead.
  1275. func (*GetGroupResp) Descriptor() ([]byte, []int) {
  1276. return file_logic_ext_proto_rawDescGZIP(), []int{20}
  1277. }
  1278. func (x *GetGroupResp) GetGroup() *Group {
  1279. if x != nil {
  1280. return x.Group
  1281. }
  1282. return nil
  1283. }
  1284. func (x *GetGroupResp) GetMemberType() MemberType {
  1285. if x != nil {
  1286. return x.MemberType
  1287. }
  1288. return MemberType_GMT_UNKNOWN
  1289. }
  1290. func (x *GetGroupResp) GetGroupUserStatusType() GroupUserStatusType {
  1291. if x != nil {
  1292. return x.GroupUserStatusType
  1293. }
  1294. return GroupUserStatusType_GROUP_USER_STATUS_NORMAL
  1295. }
  1296. type Group struct {
  1297. state protoimpl.MessageState
  1298. sizeCache protoimpl.SizeCache
  1299. unknownFields protoimpl.UnknownFields
  1300. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1301. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1302. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  1303. Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  1304. UserMum int32 `protobuf:"varint,5,opt,name=user_mum,json=userMum,proto3" json:"user_mum,omitempty"` // 用户数
  1305. IsAllMemberBanned int32 `protobuf:"varint,6,opt,name=is_all_member_banned,json=isAllMemberBanned,proto3" json:"is_all_member_banned,omitempty"` // 是否全员禁言(1:是 2:否)
  1306. Extra string `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  1307. CreateTime int64 `protobuf:"varint,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 创建时间
  1308. UpdateTime int64 `protobuf:"varint,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // 更新时间
  1309. }
  1310. func (x *Group) Reset() {
  1311. *x = Group{}
  1312. if protoimpl.UnsafeEnabled {
  1313. mi := &file_logic_ext_proto_msgTypes[21]
  1314. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1315. ms.StoreMessageInfo(mi)
  1316. }
  1317. }
  1318. func (x *Group) String() string {
  1319. return protoimpl.X.MessageStringOf(x)
  1320. }
  1321. func (*Group) ProtoMessage() {}
  1322. func (x *Group) ProtoReflect() protoreflect.Message {
  1323. mi := &file_logic_ext_proto_msgTypes[21]
  1324. if protoimpl.UnsafeEnabled && x != nil {
  1325. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1326. if ms.LoadMessageInfo() == nil {
  1327. ms.StoreMessageInfo(mi)
  1328. }
  1329. return ms
  1330. }
  1331. return mi.MessageOf(x)
  1332. }
  1333. // Deprecated: Use Group.ProtoReflect.Descriptor instead.
  1334. func (*Group) Descriptor() ([]byte, []int) {
  1335. return file_logic_ext_proto_rawDescGZIP(), []int{21}
  1336. }
  1337. func (x *Group) GetGroupId() int64 {
  1338. if x != nil {
  1339. return x.GroupId
  1340. }
  1341. return 0
  1342. }
  1343. func (x *Group) GetName() string {
  1344. if x != nil {
  1345. return x.Name
  1346. }
  1347. return ""
  1348. }
  1349. func (x *Group) GetAvatarUrl() string {
  1350. if x != nil {
  1351. return x.AvatarUrl
  1352. }
  1353. return ""
  1354. }
  1355. func (x *Group) GetIntroduction() string {
  1356. if x != nil {
  1357. return x.Introduction
  1358. }
  1359. return ""
  1360. }
  1361. func (x *Group) GetUserMum() int32 {
  1362. if x != nil {
  1363. return x.UserMum
  1364. }
  1365. return 0
  1366. }
  1367. func (x *Group) GetIsAllMemberBanned() int32 {
  1368. if x != nil {
  1369. return x.IsAllMemberBanned
  1370. }
  1371. return 0
  1372. }
  1373. func (x *Group) GetExtra() string {
  1374. if x != nil {
  1375. return x.Extra
  1376. }
  1377. return ""
  1378. }
  1379. func (x *Group) GetCreateTime() int64 {
  1380. if x != nil {
  1381. return x.CreateTime
  1382. }
  1383. return 0
  1384. }
  1385. func (x *Group) GetUpdateTime() int64 {
  1386. if x != nil {
  1387. return x.UpdateTime
  1388. }
  1389. return 0
  1390. }
  1391. type GetGroupsResp struct {
  1392. state protoimpl.MessageState
  1393. sizeCache protoimpl.SizeCache
  1394. unknownFields protoimpl.UnknownFields
  1395. Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
  1396. }
  1397. func (x *GetGroupsResp) Reset() {
  1398. *x = GetGroupsResp{}
  1399. if protoimpl.UnsafeEnabled {
  1400. mi := &file_logic_ext_proto_msgTypes[22]
  1401. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1402. ms.StoreMessageInfo(mi)
  1403. }
  1404. }
  1405. func (x *GetGroupsResp) String() string {
  1406. return protoimpl.X.MessageStringOf(x)
  1407. }
  1408. func (*GetGroupsResp) ProtoMessage() {}
  1409. func (x *GetGroupsResp) ProtoReflect() protoreflect.Message {
  1410. mi := &file_logic_ext_proto_msgTypes[22]
  1411. if protoimpl.UnsafeEnabled && x != nil {
  1412. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1413. if ms.LoadMessageInfo() == nil {
  1414. ms.StoreMessageInfo(mi)
  1415. }
  1416. return ms
  1417. }
  1418. return mi.MessageOf(x)
  1419. }
  1420. // Deprecated: Use GetGroupsResp.ProtoReflect.Descriptor instead.
  1421. func (*GetGroupsResp) Descriptor() ([]byte, []int) {
  1422. return file_logic_ext_proto_rawDescGZIP(), []int{22}
  1423. }
  1424. func (x *GetGroupsResp) GetGroups() []*Group {
  1425. if x != nil {
  1426. return x.Groups
  1427. }
  1428. return nil
  1429. }
  1430. type AddGroupMembersReq struct {
  1431. state protoimpl.MessageState
  1432. sizeCache protoimpl.SizeCache
  1433. unknownFields protoimpl.UnknownFields
  1434. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1435. UserIds []int64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 用户id列表
  1436. }
  1437. func (x *AddGroupMembersReq) Reset() {
  1438. *x = AddGroupMembersReq{}
  1439. if protoimpl.UnsafeEnabled {
  1440. mi := &file_logic_ext_proto_msgTypes[23]
  1441. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1442. ms.StoreMessageInfo(mi)
  1443. }
  1444. }
  1445. func (x *AddGroupMembersReq) String() string {
  1446. return protoimpl.X.MessageStringOf(x)
  1447. }
  1448. func (*AddGroupMembersReq) ProtoMessage() {}
  1449. func (x *AddGroupMembersReq) ProtoReflect() protoreflect.Message {
  1450. mi := &file_logic_ext_proto_msgTypes[23]
  1451. if protoimpl.UnsafeEnabled && x != nil {
  1452. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1453. if ms.LoadMessageInfo() == nil {
  1454. ms.StoreMessageInfo(mi)
  1455. }
  1456. return ms
  1457. }
  1458. return mi.MessageOf(x)
  1459. }
  1460. // Deprecated: Use AddGroupMembersReq.ProtoReflect.Descriptor instead.
  1461. func (*AddGroupMembersReq) Descriptor() ([]byte, []int) {
  1462. return file_logic_ext_proto_rawDescGZIP(), []int{23}
  1463. }
  1464. func (x *AddGroupMembersReq) GetGroupId() int64 {
  1465. if x != nil {
  1466. return x.GroupId
  1467. }
  1468. return 0
  1469. }
  1470. func (x *AddGroupMembersReq) GetUserIds() []int64 {
  1471. if x != nil {
  1472. return x.UserIds
  1473. }
  1474. return nil
  1475. }
  1476. type AddGroupMembersResp struct {
  1477. state protoimpl.MessageState
  1478. sizeCache protoimpl.SizeCache
  1479. unknownFields protoimpl.UnknownFields
  1480. UserIds []int64 `protobuf:"varint,1,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 已经在群组的用户id列表
  1481. }
  1482. func (x *AddGroupMembersResp) Reset() {
  1483. *x = AddGroupMembersResp{}
  1484. if protoimpl.UnsafeEnabled {
  1485. mi := &file_logic_ext_proto_msgTypes[24]
  1486. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1487. ms.StoreMessageInfo(mi)
  1488. }
  1489. }
  1490. func (x *AddGroupMembersResp) String() string {
  1491. return protoimpl.X.MessageStringOf(x)
  1492. }
  1493. func (*AddGroupMembersResp) ProtoMessage() {}
  1494. func (x *AddGroupMembersResp) ProtoReflect() protoreflect.Message {
  1495. mi := &file_logic_ext_proto_msgTypes[24]
  1496. if protoimpl.UnsafeEnabled && x != nil {
  1497. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1498. if ms.LoadMessageInfo() == nil {
  1499. ms.StoreMessageInfo(mi)
  1500. }
  1501. return ms
  1502. }
  1503. return mi.MessageOf(x)
  1504. }
  1505. // Deprecated: Use AddGroupMembersResp.ProtoReflect.Descriptor instead.
  1506. func (*AddGroupMembersResp) Descriptor() ([]byte, []int) {
  1507. return file_logic_ext_proto_rawDescGZIP(), []int{24}
  1508. }
  1509. func (x *AddGroupMembersResp) GetUserIds() []int64 {
  1510. if x != nil {
  1511. return x.UserIds
  1512. }
  1513. return nil
  1514. }
  1515. type UpdateGroupMemberReq struct {
  1516. state protoimpl.MessageState
  1517. sizeCache protoimpl.SizeCache
  1518. unknownFields protoimpl.UnknownFields
  1519. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1520. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1521. MemberType MemberType `protobuf:"varint,3,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"` // 成员类型
  1522. Remarks string `protobuf:"bytes,4,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  1523. Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  1524. }
  1525. func (x *UpdateGroupMemberReq) Reset() {
  1526. *x = UpdateGroupMemberReq{}
  1527. if protoimpl.UnsafeEnabled {
  1528. mi := &file_logic_ext_proto_msgTypes[25]
  1529. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1530. ms.StoreMessageInfo(mi)
  1531. }
  1532. }
  1533. func (x *UpdateGroupMemberReq) String() string {
  1534. return protoimpl.X.MessageStringOf(x)
  1535. }
  1536. func (*UpdateGroupMemberReq) ProtoMessage() {}
  1537. func (x *UpdateGroupMemberReq) ProtoReflect() protoreflect.Message {
  1538. mi := &file_logic_ext_proto_msgTypes[25]
  1539. if protoimpl.UnsafeEnabled && x != nil {
  1540. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1541. if ms.LoadMessageInfo() == nil {
  1542. ms.StoreMessageInfo(mi)
  1543. }
  1544. return ms
  1545. }
  1546. return mi.MessageOf(x)
  1547. }
  1548. // Deprecated: Use UpdateGroupMemberReq.ProtoReflect.Descriptor instead.
  1549. func (*UpdateGroupMemberReq) Descriptor() ([]byte, []int) {
  1550. return file_logic_ext_proto_rawDescGZIP(), []int{25}
  1551. }
  1552. func (x *UpdateGroupMemberReq) GetGroupId() int64 {
  1553. if x != nil {
  1554. return x.GroupId
  1555. }
  1556. return 0
  1557. }
  1558. func (x *UpdateGroupMemberReq) GetUserId() int64 {
  1559. if x != nil {
  1560. return x.UserId
  1561. }
  1562. return 0
  1563. }
  1564. func (x *UpdateGroupMemberReq) GetMemberType() MemberType {
  1565. if x != nil {
  1566. return x.MemberType
  1567. }
  1568. return MemberType_GMT_UNKNOWN
  1569. }
  1570. func (x *UpdateGroupMemberReq) GetRemarks() string {
  1571. if x != nil {
  1572. return x.Remarks
  1573. }
  1574. return ""
  1575. }
  1576. func (x *UpdateGroupMemberReq) GetExtra() string {
  1577. if x != nil {
  1578. return x.Extra
  1579. }
  1580. return ""
  1581. }
  1582. type DeleteGroupMemberReq struct {
  1583. state protoimpl.MessageState
  1584. sizeCache protoimpl.SizeCache
  1585. unknownFields protoimpl.UnknownFields
  1586. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1587. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1588. }
  1589. func (x *DeleteGroupMemberReq) Reset() {
  1590. *x = DeleteGroupMemberReq{}
  1591. if protoimpl.UnsafeEnabled {
  1592. mi := &file_logic_ext_proto_msgTypes[26]
  1593. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1594. ms.StoreMessageInfo(mi)
  1595. }
  1596. }
  1597. func (x *DeleteGroupMemberReq) String() string {
  1598. return protoimpl.X.MessageStringOf(x)
  1599. }
  1600. func (*DeleteGroupMemberReq) ProtoMessage() {}
  1601. func (x *DeleteGroupMemberReq) ProtoReflect() protoreflect.Message {
  1602. mi := &file_logic_ext_proto_msgTypes[26]
  1603. if protoimpl.UnsafeEnabled && x != nil {
  1604. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1605. if ms.LoadMessageInfo() == nil {
  1606. ms.StoreMessageInfo(mi)
  1607. }
  1608. return ms
  1609. }
  1610. return mi.MessageOf(x)
  1611. }
  1612. // Deprecated: Use DeleteGroupMemberReq.ProtoReflect.Descriptor instead.
  1613. func (*DeleteGroupMemberReq) Descriptor() ([]byte, []int) {
  1614. return file_logic_ext_proto_rawDescGZIP(), []int{26}
  1615. }
  1616. func (x *DeleteGroupMemberReq) GetGroupId() int64 {
  1617. if x != nil {
  1618. return x.GroupId
  1619. }
  1620. return 0
  1621. }
  1622. func (x *DeleteGroupMemberReq) GetUserId() int64 {
  1623. if x != nil {
  1624. return x.UserId
  1625. }
  1626. return 0
  1627. }
  1628. type GetGroupMembersReq struct {
  1629. state protoimpl.MessageState
  1630. sizeCache protoimpl.SizeCache
  1631. unknownFields protoimpl.UnknownFields
  1632. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  1633. Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
  1634. }
  1635. func (x *GetGroupMembersReq) Reset() {
  1636. *x = GetGroupMembersReq{}
  1637. if protoimpl.UnsafeEnabled {
  1638. mi := &file_logic_ext_proto_msgTypes[27]
  1639. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1640. ms.StoreMessageInfo(mi)
  1641. }
  1642. }
  1643. func (x *GetGroupMembersReq) String() string {
  1644. return protoimpl.X.MessageStringOf(x)
  1645. }
  1646. func (*GetGroupMembersReq) ProtoMessage() {}
  1647. func (x *GetGroupMembersReq) ProtoReflect() protoreflect.Message {
  1648. mi := &file_logic_ext_proto_msgTypes[27]
  1649. if protoimpl.UnsafeEnabled && x != nil {
  1650. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1651. if ms.LoadMessageInfo() == nil {
  1652. ms.StoreMessageInfo(mi)
  1653. }
  1654. return ms
  1655. }
  1656. return mi.MessageOf(x)
  1657. }
  1658. // Deprecated: Use GetGroupMembersReq.ProtoReflect.Descriptor instead.
  1659. func (*GetGroupMembersReq) Descriptor() ([]byte, []int) {
  1660. return file_logic_ext_proto_rawDescGZIP(), []int{27}
  1661. }
  1662. func (x *GetGroupMembersReq) GetGroupId() int64 {
  1663. if x != nil {
  1664. return x.GroupId
  1665. }
  1666. return 0
  1667. }
  1668. func (x *GetGroupMembersReq) GetLimit() int64 {
  1669. if x != nil {
  1670. return x.Limit
  1671. }
  1672. return 0
  1673. }
  1674. type GetGroupMembersResp struct {
  1675. state protoimpl.MessageState
  1676. sizeCache protoimpl.SizeCache
  1677. unknownFields protoimpl.UnknownFields
  1678. Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
  1679. }
  1680. func (x *GetGroupMembersResp) Reset() {
  1681. *x = GetGroupMembersResp{}
  1682. if protoimpl.UnsafeEnabled {
  1683. mi := &file_logic_ext_proto_msgTypes[28]
  1684. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1685. ms.StoreMessageInfo(mi)
  1686. }
  1687. }
  1688. func (x *GetGroupMembersResp) String() string {
  1689. return protoimpl.X.MessageStringOf(x)
  1690. }
  1691. func (*GetGroupMembersResp) ProtoMessage() {}
  1692. func (x *GetGroupMembersResp) ProtoReflect() protoreflect.Message {
  1693. mi := &file_logic_ext_proto_msgTypes[28]
  1694. if protoimpl.UnsafeEnabled && x != nil {
  1695. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1696. if ms.LoadMessageInfo() == nil {
  1697. ms.StoreMessageInfo(mi)
  1698. }
  1699. return ms
  1700. }
  1701. return mi.MessageOf(x)
  1702. }
  1703. // Deprecated: Use GetGroupMembersResp.ProtoReflect.Descriptor instead.
  1704. func (*GetGroupMembersResp) Descriptor() ([]byte, []int) {
  1705. return file_logic_ext_proto_rawDescGZIP(), []int{28}
  1706. }
  1707. func (x *GetGroupMembersResp) GetMembers() []*GroupMember {
  1708. if x != nil {
  1709. return x.Members
  1710. }
  1711. return nil
  1712. }
  1713. type GroupMember struct {
  1714. state protoimpl.MessageState
  1715. sizeCache protoimpl.SizeCache
  1716. unknownFields protoimpl.UnknownFields
  1717. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  1718. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  1719. Sex int32 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  1720. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  1721. UserExtra string `protobuf:"bytes,5,opt,name=user_extra,json=userExtra,proto3" json:"user_extra,omitempty"` // 用户附加字段
  1722. MemberType MemberType `protobuf:"varint,6,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"` // 成员类型
  1723. Remarks string `protobuf:"bytes,7,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  1724. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 群组成员附加字段
  1725. Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` // 状态
  1726. }
  1727. func (x *GroupMember) Reset() {
  1728. *x = GroupMember{}
  1729. if protoimpl.UnsafeEnabled {
  1730. mi := &file_logic_ext_proto_msgTypes[29]
  1731. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1732. ms.StoreMessageInfo(mi)
  1733. }
  1734. }
  1735. func (x *GroupMember) String() string {
  1736. return protoimpl.X.MessageStringOf(x)
  1737. }
  1738. func (*GroupMember) ProtoMessage() {}
  1739. func (x *GroupMember) ProtoReflect() protoreflect.Message {
  1740. mi := &file_logic_ext_proto_msgTypes[29]
  1741. if protoimpl.UnsafeEnabled && x != nil {
  1742. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1743. if ms.LoadMessageInfo() == nil {
  1744. ms.StoreMessageInfo(mi)
  1745. }
  1746. return ms
  1747. }
  1748. return mi.MessageOf(x)
  1749. }
  1750. // Deprecated: Use GroupMember.ProtoReflect.Descriptor instead.
  1751. func (*GroupMember) Descriptor() ([]byte, []int) {
  1752. return file_logic_ext_proto_rawDescGZIP(), []int{29}
  1753. }
  1754. func (x *GroupMember) GetUserId() int64 {
  1755. if x != nil {
  1756. return x.UserId
  1757. }
  1758. return 0
  1759. }
  1760. func (x *GroupMember) GetNickname() string {
  1761. if x != nil {
  1762. return x.Nickname
  1763. }
  1764. return ""
  1765. }
  1766. func (x *GroupMember) GetSex() int32 {
  1767. if x != nil {
  1768. return x.Sex
  1769. }
  1770. return 0
  1771. }
  1772. func (x *GroupMember) GetAvatarUrl() string {
  1773. if x != nil {
  1774. return x.AvatarUrl
  1775. }
  1776. return ""
  1777. }
  1778. func (x *GroupMember) GetUserExtra() string {
  1779. if x != nil {
  1780. return x.UserExtra
  1781. }
  1782. return ""
  1783. }
  1784. func (x *GroupMember) GetMemberType() MemberType {
  1785. if x != nil {
  1786. return x.MemberType
  1787. }
  1788. return MemberType_GMT_UNKNOWN
  1789. }
  1790. func (x *GroupMember) GetRemarks() string {
  1791. if x != nil {
  1792. return x.Remarks
  1793. }
  1794. return ""
  1795. }
  1796. func (x *GroupMember) GetExtra() string {
  1797. if x != nil {
  1798. return x.Extra
  1799. }
  1800. return ""
  1801. }
  1802. func (x *GroupMember) GetStatus() int32 {
  1803. if x != nil {
  1804. return x.Status
  1805. }
  1806. return 0
  1807. }
  1808. type SetGroupMemberBannedReq struct {
  1809. state protoimpl.MessageState
  1810. sizeCache protoimpl.SizeCache
  1811. unknownFields protoimpl.UnknownFields
  1812. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1813. UserIds []int64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 用户id列表
  1814. IsAllMemberBanned AllMemberBannedType `protobuf:"varint,3,opt,name=is_all_member_banned,json=isAllMemberBanned,proto3,enum=pb.AllMemberBannedType" json:"is_all_member_banned,omitempty"` // 全员禁言(1:是 2:否)
  1815. }
  1816. func (x *SetGroupMemberBannedReq) Reset() {
  1817. *x = SetGroupMemberBannedReq{}
  1818. if protoimpl.UnsafeEnabled {
  1819. mi := &file_logic_ext_proto_msgTypes[30]
  1820. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1821. ms.StoreMessageInfo(mi)
  1822. }
  1823. }
  1824. func (x *SetGroupMemberBannedReq) String() string {
  1825. return protoimpl.X.MessageStringOf(x)
  1826. }
  1827. func (*SetGroupMemberBannedReq) ProtoMessage() {}
  1828. func (x *SetGroupMemberBannedReq) ProtoReflect() protoreflect.Message {
  1829. mi := &file_logic_ext_proto_msgTypes[30]
  1830. if protoimpl.UnsafeEnabled && x != nil {
  1831. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1832. if ms.LoadMessageInfo() == nil {
  1833. ms.StoreMessageInfo(mi)
  1834. }
  1835. return ms
  1836. }
  1837. return mi.MessageOf(x)
  1838. }
  1839. // Deprecated: Use SetGroupMemberBannedReq.ProtoReflect.Descriptor instead.
  1840. func (*SetGroupMemberBannedReq) Descriptor() ([]byte, []int) {
  1841. return file_logic_ext_proto_rawDescGZIP(), []int{30}
  1842. }
  1843. func (x *SetGroupMemberBannedReq) GetGroupId() int64 {
  1844. if x != nil {
  1845. return x.GroupId
  1846. }
  1847. return 0
  1848. }
  1849. func (x *SetGroupMemberBannedReq) GetUserIds() []int64 {
  1850. if x != nil {
  1851. return x.UserIds
  1852. }
  1853. return nil
  1854. }
  1855. func (x *SetGroupMemberBannedReq) GetIsAllMemberBanned() AllMemberBannedType {
  1856. if x != nil {
  1857. return x.IsAllMemberBanned
  1858. }
  1859. return AllMemberBannedType_UNKNOWN_All_Member_Banned
  1860. }
  1861. type SetGroupMemberRemoveBannedReq struct {
  1862. state protoimpl.MessageState
  1863. sizeCache protoimpl.SizeCache
  1864. unknownFields protoimpl.UnknownFields
  1865. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1866. RemoveUserIds []int64 `protobuf:"varint,2,rep,packed,name=remove_user_ids,json=removeUserIds,proto3" json:"remove_user_ids,omitempty"` // 解除用户id列表
  1867. }
  1868. func (x *SetGroupMemberRemoveBannedReq) Reset() {
  1869. *x = SetGroupMemberRemoveBannedReq{}
  1870. if protoimpl.UnsafeEnabled {
  1871. mi := &file_logic_ext_proto_msgTypes[31]
  1872. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1873. ms.StoreMessageInfo(mi)
  1874. }
  1875. }
  1876. func (x *SetGroupMemberRemoveBannedReq) String() string {
  1877. return protoimpl.X.MessageStringOf(x)
  1878. }
  1879. func (*SetGroupMemberRemoveBannedReq) ProtoMessage() {}
  1880. func (x *SetGroupMemberRemoveBannedReq) ProtoReflect() protoreflect.Message {
  1881. mi := &file_logic_ext_proto_msgTypes[31]
  1882. if protoimpl.UnsafeEnabled && x != nil {
  1883. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1884. if ms.LoadMessageInfo() == nil {
  1885. ms.StoreMessageInfo(mi)
  1886. }
  1887. return ms
  1888. }
  1889. return mi.MessageOf(x)
  1890. }
  1891. // Deprecated: Use SetGroupMemberRemoveBannedReq.ProtoReflect.Descriptor instead.
  1892. func (*SetGroupMemberRemoveBannedReq) Descriptor() ([]byte, []int) {
  1893. return file_logic_ext_proto_rawDescGZIP(), []int{31}
  1894. }
  1895. func (x *SetGroupMemberRemoveBannedReq) GetGroupId() int64 {
  1896. if x != nil {
  1897. return x.GroupId
  1898. }
  1899. return 0
  1900. }
  1901. func (x *SetGroupMemberRemoveBannedReq) GetRemoveUserIds() []int64 {
  1902. if x != nil {
  1903. return x.RemoveUserIds
  1904. }
  1905. return nil
  1906. }
  1907. type SetGroupMemberBannedResp struct {
  1908. state protoimpl.MessageState
  1909. sizeCache protoimpl.SizeCache
  1910. unknownFields protoimpl.UnknownFields
  1911. IsAllMemberBanned AllMemberBannedType `protobuf:"varint,3,opt,name=is_all_member_banned,json=isAllMemberBanned,proto3,enum=pb.AllMemberBannedType" json:"is_all_member_banned,omitempty"` // 全员禁言(1:是 2:否)
  1912. Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` //禁言人员列表
  1913. }
  1914. func (x *SetGroupMemberBannedResp) Reset() {
  1915. *x = SetGroupMemberBannedResp{}
  1916. if protoimpl.UnsafeEnabled {
  1917. mi := &file_logic_ext_proto_msgTypes[32]
  1918. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1919. ms.StoreMessageInfo(mi)
  1920. }
  1921. }
  1922. func (x *SetGroupMemberBannedResp) String() string {
  1923. return protoimpl.X.MessageStringOf(x)
  1924. }
  1925. func (*SetGroupMemberBannedResp) ProtoMessage() {}
  1926. func (x *SetGroupMemberBannedResp) ProtoReflect() protoreflect.Message {
  1927. mi := &file_logic_ext_proto_msgTypes[32]
  1928. if protoimpl.UnsafeEnabled && x != nil {
  1929. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1930. if ms.LoadMessageInfo() == nil {
  1931. ms.StoreMessageInfo(mi)
  1932. }
  1933. return ms
  1934. }
  1935. return mi.MessageOf(x)
  1936. }
  1937. // Deprecated: Use SetGroupMemberBannedResp.ProtoReflect.Descriptor instead.
  1938. func (*SetGroupMemberBannedResp) Descriptor() ([]byte, []int) {
  1939. return file_logic_ext_proto_rawDescGZIP(), []int{32}
  1940. }
  1941. func (x *SetGroupMemberBannedResp) GetIsAllMemberBanned() AllMemberBannedType {
  1942. if x != nil {
  1943. return x.IsAllMemberBanned
  1944. }
  1945. return AllMemberBannedType_UNKNOWN_All_Member_Banned
  1946. }
  1947. func (x *SetGroupMemberBannedResp) GetMembers() []*GroupMember {
  1948. if x != nil {
  1949. return x.Members
  1950. }
  1951. return nil
  1952. }
  1953. type GetGroupBannedMembersReq struct {
  1954. state protoimpl.MessageState
  1955. sizeCache protoimpl.SizeCache
  1956. unknownFields protoimpl.UnknownFields
  1957. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  1958. }
  1959. func (x *GetGroupBannedMembersReq) Reset() {
  1960. *x = GetGroupBannedMembersReq{}
  1961. if protoimpl.UnsafeEnabled {
  1962. mi := &file_logic_ext_proto_msgTypes[33]
  1963. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1964. ms.StoreMessageInfo(mi)
  1965. }
  1966. }
  1967. func (x *GetGroupBannedMembersReq) String() string {
  1968. return protoimpl.X.MessageStringOf(x)
  1969. }
  1970. func (*GetGroupBannedMembersReq) ProtoMessage() {}
  1971. func (x *GetGroupBannedMembersReq) ProtoReflect() protoreflect.Message {
  1972. mi := &file_logic_ext_proto_msgTypes[33]
  1973. if protoimpl.UnsafeEnabled && x != nil {
  1974. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1975. if ms.LoadMessageInfo() == nil {
  1976. ms.StoreMessageInfo(mi)
  1977. }
  1978. return ms
  1979. }
  1980. return mi.MessageOf(x)
  1981. }
  1982. // Deprecated: Use GetGroupBannedMembersReq.ProtoReflect.Descriptor instead.
  1983. func (*GetGroupBannedMembersReq) Descriptor() ([]byte, []int) {
  1984. return file_logic_ext_proto_rawDescGZIP(), []int{33}
  1985. }
  1986. func (x *GetGroupBannedMembersReq) GetGroupId() int64 {
  1987. if x != nil {
  1988. return x.GroupId
  1989. }
  1990. return 0
  1991. }
  1992. type GetGroupBannedMembersResp struct {
  1993. state protoimpl.MessageState
  1994. sizeCache protoimpl.SizeCache
  1995. unknownFields protoimpl.UnknownFields
  1996. Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
  1997. }
  1998. func (x *GetGroupBannedMembersResp) Reset() {
  1999. *x = GetGroupBannedMembersResp{}
  2000. if protoimpl.UnsafeEnabled {
  2001. mi := &file_logic_ext_proto_msgTypes[34]
  2002. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2003. ms.StoreMessageInfo(mi)
  2004. }
  2005. }
  2006. func (x *GetGroupBannedMembersResp) String() string {
  2007. return protoimpl.X.MessageStringOf(x)
  2008. }
  2009. func (*GetGroupBannedMembersResp) ProtoMessage() {}
  2010. func (x *GetGroupBannedMembersResp) ProtoReflect() protoreflect.Message {
  2011. mi := &file_logic_ext_proto_msgTypes[34]
  2012. if protoimpl.UnsafeEnabled && x != nil {
  2013. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2014. if ms.LoadMessageInfo() == nil {
  2015. ms.StoreMessageInfo(mi)
  2016. }
  2017. return ms
  2018. }
  2019. return mi.MessageOf(x)
  2020. }
  2021. // Deprecated: Use GetGroupBannedMembersResp.ProtoReflect.Descriptor instead.
  2022. func (*GetGroupBannedMembersResp) Descriptor() ([]byte, []int) {
  2023. return file_logic_ext_proto_rawDescGZIP(), []int{34}
  2024. }
  2025. func (x *GetGroupBannedMembersResp) GetMembers() []*GroupMember {
  2026. if x != nil {
  2027. return x.Members
  2028. }
  2029. return nil
  2030. }
  2031. var File_logic_ext_proto protoreflect.FileDescriptor
  2032. var file_logic_ext_proto_rawDesc = []byte{
  2033. 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  2034. 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x65, 0x78,
  2035. 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
  2036. 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x11, 0x52,
  2037. 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
  2038. 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  2039. 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20,
  2040. 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f,
  2041. 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
  2042. 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
  2043. 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
  2044. 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x64, 0x6b, 0x5f, 0x76,
  2045. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x64,
  2046. 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69,
  2047. 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b,
  2048. 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  2049. 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x22, 0xd3, 0x02, 0x0a, 0x0e,
  2050. 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x35,
  2051. 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  2052. 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69,
  2053. 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  2054. 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  2055. 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65,
  2056. 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65,
  2057. 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55,
  2058. 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2059. 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70,
  2060. 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d,
  2061. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65,
  2062. 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
  2063. 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74,
  2064. 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  2065. 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
  2066. 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x07,
  2067. 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12,
  2068. 0x30, 0x0a, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
  2069. 0x6e, 0x74, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6d,
  2070. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x63,
  2071. 0x6b, 0x22, 0x23, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  2072. 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28,
  2073. 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xd5, 0x02, 0x0a, 0x10, 0x52, 0x65, 0x63, 0x61, 0x6c,
  2074. 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x35, 0x0a, 0x0d, 0x72,
  2075. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
  2076. 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72,
  2077. 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79,
  2078. 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x69,
  2079. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  2080. 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
  2081. 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72,
  2082. 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74,
  2083. 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d,
  2084. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73,
  2085. 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2086. 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c,
  2087. 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  2088. 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,
  2089. 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a,
  2090. 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,
  2091. 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x14,
  2092. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
  2093. 0x62, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6d, 0x65, 0x73, 0x73,
  2094. 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x22, 0x25,
  2095. 0x0a, 0x11, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  2096. 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  2097. 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xb6, 0x02, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65,
  2098. 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x35, 0x0a, 0x0d, 0x72, 0x65,
  2099. 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  2100. 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54,
  2101. 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70,
  2102. 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64,
  2103. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72,
  2104. 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79,
  2105. 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65,
  2106. 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2107. 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2108. 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52,
  2109. 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
  2110. 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
  2111. 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0b,
  2112. 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
  2113. 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x30, 0x0a, 0x14,
  2114. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
  2115. 0x62, 0x61, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6d, 0x65, 0x73, 0x73,
  2116. 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x22, 0x25,
  2117. 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52,
  2118. 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  2119. 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xe0, 0x01, 0x0a, 0x0b, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f,
  2120. 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64,
  2121. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x32,
  2122. 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
  2123. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2124. 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79,
  2125. 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f,
  2126. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73,
  2127. 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73,
  2128. 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
  2129. 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70,
  2130. 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73,
  2131. 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x72,
  2132. 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73,
  2133. 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x67, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x46,
  2134. 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65,
  2135. 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69,
  2136. 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
  2137. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12,
  2138. 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
  2139. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
  2140. 0x6e, 0x22, 0x2a, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e,
  2141. 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  2142. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x46, 0x0a,
  2143. 0x11, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52,
  2144. 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  2145. 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72,
  2146. 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65,
  2147. 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x22, 0x5b, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65,
  2148. 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f,
  2149. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64,
  2150. 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20,
  2151. 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05,
  2152. 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74,
  2153. 0x72, 0x61, 0x22, 0x5c, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52,
  2154. 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64,
  2155. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64,
  2156. 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
  2157. 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78,
  2158. 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  2159. 0x22, 0xe0, 0x01, 0x0a, 0x06, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75,
  2160. 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73,
  2161. 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75,
  2162. 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e,
  2163. 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  2164. 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  2165. 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
  2166. 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f,
  2167. 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  2168. 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x74,
  2169. 0x72, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78,
  2170. 0x74, 0x72, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x07,
  2171. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a,
  2172. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78,
  2173. 0x74, 0x72, 0x61, 0x22, 0x36, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
  2174. 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73,
  2175. 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x72, 0x69, 0x65,
  2176. 0x6e, 0x64, 0x52, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x0e,
  2177. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x12,
  2178. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  2179. 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c,
  2180. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
  2181. 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f,
  2182. 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75,
  2183. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x04,
  2184. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x6d,
  2185. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52,
  2186. 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x2c, 0x0a, 0x0f, 0x43, 0x72,
  2187. 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a,
  2188. 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  2189. 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64,
  2190. 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67,
  2191. 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
  2192. 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
  2193. 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74,
  2194. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
  2195. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74,
  2196. 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  2197. 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a,
  2198. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78,
  2199. 0x74, 0x72, 0x61, 0x22, 0x28, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
  2200. 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01,
  2201. 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0xae, 0x01,
  2202. 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f,
  2203. 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e,
  2204. 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12,
  2205. 0x2f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
  2206. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2207. 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
  2208. 0x12, 0x4c, 0x0a, 0x16, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73,
  2209. 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
  2210. 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x55, 0x73, 0x65, 0x72, 0x53,
  2211. 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, 0x67, 0x72, 0x6f, 0x75, 0x70,
  2212. 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0x9d,
  2213. 0x02, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  2214. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  2215. 0x70, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  2216. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61,
  2217. 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61,
  2218. 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64,
  2219. 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e,
  2220. 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73,
  2221. 0x65, 0x72, 0x5f, 0x6d, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x73,
  2222. 0x65, 0x72, 0x4d, 0x75, 0x6d, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f,
  2223. 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x06, 0x20,
  2224. 0x01, 0x28, 0x05, 0x52, 0x11, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2225. 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18,
  2226. 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f, 0x0a, 0x0b,
  2227. 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
  2228. 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a,
  2229. 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01,
  2230. 0x28, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x32,
  2231. 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12,
  2232. 0x21, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  2233. 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75,
  2234. 0x70, 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65,
  2235. 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  2236. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  2237. 0x70, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18,
  2238. 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x30,
  2239. 0x0a, 0x13, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2240. 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
  2241. 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73,
  2242. 0x22, 0xab, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
  2243. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f,
  2244. 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f,
  2245. 0x75, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  2246. 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2f, 0x0a,
  2247. 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
  2248. 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79,
  2249. 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18,
  2250. 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  2251. 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72,
  2252. 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x4a,
  2253. 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
  2254. 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f,
  2255. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49,
  2256. 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  2257. 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x12, 0x47, 0x65,
  2258. 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
  2259. 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  2260. 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c,
  2261. 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69,
  2262. 0x74, 0x22, 0x40, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
  2263. 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62,
  2264. 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47,
  2265. 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62,
  2266. 0x65, 0x72, 0x73, 0x22, 0x8b, 0x02, 0x0a, 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
  2267. 0x62, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01,
  2268. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08,
  2269. 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  2270. 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18,
  2271. 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76,
  2272. 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  2273. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65,
  2274. 0x72, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75,
  2275. 0x73, 0x65, 0x72, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x2f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62,
  2276. 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e,
  2277. 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6d,
  2278. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d,
  2279. 0x61, 0x72, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61,
  2280. 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01,
  2281. 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61,
  2282. 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
  2283. 0x73, 0x22, 0x99, 0x01, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65,
  2284. 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a,
  2285. 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  2286. 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72,
  2287. 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72,
  2288. 0x49, 0x64, 0x73, 0x12, 0x48, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x65,
  2289. 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  2290. 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2291. 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x69, 0x73, 0x41, 0x6c,
  2292. 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x22, 0x62, 0x0a,
  2293. 0x1d, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52,
  2294. 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x71, 0x12, 0x19,
  2295. 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  2296. 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x6d,
  2297. 0x6f, 0x76, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03,
  2298. 0x28, 0x03, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
  2299. 0x73, 0x22, 0x8f, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65,
  2300. 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x48,
  2301. 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f,
  2302. 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70,
  2303. 0x62, 0x2e, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65,
  2304. 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62,
  2305. 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62,
  2306. 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47,
  2307. 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62,
  2308. 0x65, 0x72, 0x73, 0x22, 0x35, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42,
  2309. 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12,
  2310. 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  2311. 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x46, 0x0a, 0x19, 0x47, 0x65,
  2312. 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62,
  2313. 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65,
  2314. 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72,
  2315. 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65,
  2316. 0x72, 0x73, 0x2a, 0x4c, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
  2317. 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10,
  2318. 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x4d, 0x54, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x01,
  2319. 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x4d, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02,
  2320. 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x4d, 0x54, 0x5f, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, 0x10, 0x03,
  2321. 0x2a, 0x6a, 0x0a, 0x13, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e,
  2322. 0x6e, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
  2323. 0x57, 0x4e, 0x5f, 0x41, 0x6c, 0x6c, 0x5f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x42, 0x61,
  2324. 0x6e, 0x6e, 0x65, 0x64, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x59, 0x45, 0x53, 0x5f, 0x41, 0x6c,
  2325. 0x6c, 0x5f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x10,
  2326. 0x01, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x6c, 0x6c, 0x5f, 0x4d, 0x65, 0x6d,
  2327. 0x62, 0x65, 0x72, 0x5f, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x10, 0x02, 0x32, 0xc7, 0x09, 0x0a,
  2328. 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x45, 0x78, 0x74, 0x12, 0x3f, 0x0a, 0x0e, 0x52, 0x65, 0x67,
  2329. 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62,
  2330. 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52,
  2331. 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72,
  2332. 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36, 0x0a, 0x0b, 0x53, 0x65,
  2333. 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x53,
  2334. 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e,
  2335. 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
  2336. 0x73, 0x70, 0x12, 0x3c, 0x0a, 0x0d, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73,
  2337. 0x61, 0x67, 0x65, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d,
  2338. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x52,
  2339. 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70,
  2340. 0x12, 0x26, 0x0a, 0x08, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0f, 0x2e, 0x70,
  2341. 0x62, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e,
  2342. 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3c, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64,
  2343. 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x53,
  2344. 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x1a,
  2345. 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b,
  2346. 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x28, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69,
  2347. 0x65, 0x6e, 0x64, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65,
  2348. 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
  2349. 0x12, 0x32, 0x0a, 0x0e, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65,
  2350. 0x6e, 0x64, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64,
  2351. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45,
  2352. 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72,
  2353. 0x69, 0x65, 0x6e, 0x64, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  2354. 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45,
  2355. 0x6d, 0x70, 0x74, 0x79, 0x12, 0x30, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e,
  2356. 0x64, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
  2357. 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65,
  2358. 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69,
  2359. 0x65, 0x6e, 0x64, 0x73, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
  2360. 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52,
  2361. 0x65, 0x73, 0x70, 0x12, 0x36, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f,
  2362. 0x75, 0x70, 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72,
  2363. 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
  2364. 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x0b, 0x55,
  2365. 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e,
  2366. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x09,
  2367. 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x08, 0x47, 0x65, 0x74,
  2368. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72,
  2369. 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47,
  2370. 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x47,
  2371. 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
  2372. 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52,
  2373. 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d,
  2374. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x47,
  2375. 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17,
  2376. 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
  2377. 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74,
  2378. 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x70,
  2379. 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
  2380. 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  2381. 0x79, 0x12, 0x38, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
  2382. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65,
  2383. 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71,
  2384. 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0f, 0x47,
  2385. 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x16,
  2386. 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
  2387. 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47,
  2388. 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12,
  2389. 0x52, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e, 0x65,
  2390. 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65,
  2391. 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e,
  2392. 0x65, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x47, 0x72,
  2393. 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52,
  2394. 0x65, 0x73, 0x70, 0x12, 0x4b, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
  2395. 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65,
  2396. 0x72, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
  2397. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x6e, 0x6e,
  2398. 0x65, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
  2399. 0x12, 0x54, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e,
  2400. 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x47,
  2401. 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d,
  2402. 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74,
  2403. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65,
  2404. 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d, 0x2f, 0x70, 0x6b,
  2405. 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  2406. }
  2407. var (
  2408. file_logic_ext_proto_rawDescOnce sync.Once
  2409. file_logic_ext_proto_rawDescData = file_logic_ext_proto_rawDesc
  2410. )
  2411. func file_logic_ext_proto_rawDescGZIP() []byte {
  2412. file_logic_ext_proto_rawDescOnce.Do(func() {
  2413. file_logic_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_logic_ext_proto_rawDescData)
  2414. })
  2415. return file_logic_ext_proto_rawDescData
  2416. }
  2417. var file_logic_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  2418. var file_logic_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 35)
  2419. var file_logic_ext_proto_goTypes = []interface{}{
  2420. (MemberType)(0), // 0: pb.MemberType
  2421. (AllMemberBannedType)(0), // 1: pb.AllMemberBannedType
  2422. (*RegisterDeviceReq)(nil), // 2: pb.RegisterDeviceReq
  2423. (*RegisterDeviceResp)(nil), // 3: pb.RegisterDeviceResp
  2424. (*SendMessageReq)(nil), // 4: pb.SendMessageReq
  2425. (*SendMessageResp)(nil), // 5: pb.SendMessageResp
  2426. (*RecallMessageReq)(nil), // 6: pb.RecallMessageReq
  2427. (*RecallMessageResp)(nil), // 7: pb.RecallMessageResp
  2428. (*SendRedPacketReq)(nil), // 8: pb.SendRedPacketReq
  2429. (*SendRedPacketResp)(nil), // 9: pb.SendRedPacketResp
  2430. (*PushRoomReq)(nil), // 10: pb.PushRoomReq
  2431. (*AddFriendReq)(nil), // 11: pb.AddFriendReq
  2432. (*DeleteFriendReq)(nil), // 12: pb.DeleteFriendReq
  2433. (*AgreeAddFriendReq)(nil), // 13: pb.AgreeAddFriendReq
  2434. (*SetFriendReq)(nil), // 14: pb.SetFriendReq
  2435. (*SetFriendResp)(nil), // 15: pb.SetFriendResp
  2436. (*Friend)(nil), // 16: pb.Friend
  2437. (*GetFriendsResp)(nil), // 17: pb.GetFriendsResp
  2438. (*CreateGroupReq)(nil), // 18: pb.CreateGroupReq
  2439. (*CreateGroupResp)(nil), // 19: pb.CreateGroupResp
  2440. (*UpdateGroupReq)(nil), // 20: pb.UpdateGroupReq
  2441. (*GetGroupReq)(nil), // 21: pb.GetGroupReq
  2442. (*GetGroupResp)(nil), // 22: pb.GetGroupResp
  2443. (*Group)(nil), // 23: pb.Group
  2444. (*GetGroupsResp)(nil), // 24: pb.GetGroupsResp
  2445. (*AddGroupMembersReq)(nil), // 25: pb.AddGroupMembersReq
  2446. (*AddGroupMembersResp)(nil), // 26: pb.AddGroupMembersResp
  2447. (*UpdateGroupMemberReq)(nil), // 27: pb.UpdateGroupMemberReq
  2448. (*DeleteGroupMemberReq)(nil), // 28: pb.DeleteGroupMemberReq
  2449. (*GetGroupMembersReq)(nil), // 29: pb.GetGroupMembersReq
  2450. (*GetGroupMembersResp)(nil), // 30: pb.GetGroupMembersResp
  2451. (*GroupMember)(nil), // 31: pb.GroupMember
  2452. (*SetGroupMemberBannedReq)(nil), // 32: pb.SetGroupMemberBannedReq
  2453. (*SetGroupMemberRemoveBannedReq)(nil), // 33: pb.SetGroupMemberRemoveBannedReq
  2454. (*SetGroupMemberBannedResp)(nil), // 34: pb.SetGroupMemberBannedResp
  2455. (*GetGroupBannedMembersReq)(nil), // 35: pb.GetGroupBannedMembersReq
  2456. (*GetGroupBannedMembersResp)(nil), // 36: pb.GetGroupBannedMembersResp
  2457. (ReceiverType)(0), // 37: pb.ReceiverType
  2458. (MessageType)(0), // 38: pb.MessageType
  2459. (GroupUserStatusType)(0), // 39: pb.GroupUserStatusType
  2460. (*Empty)(nil), // 40: pb.Empty
  2461. }
  2462. var file_logic_ext_proto_depIdxs = []int32{
  2463. 37, // 0: pb.SendMessageReq.receiver_type:type_name -> pb.ReceiverType
  2464. 38, // 1: pb.SendMessageReq.message_type:type_name -> pb.MessageType
  2465. 37, // 2: pb.RecallMessageReq.receiver_type:type_name -> pb.ReceiverType
  2466. 38, // 3: pb.RecallMessageReq.message_type:type_name -> pb.MessageType
  2467. 37, // 4: pb.SendRedPacketReq.receiver_type:type_name -> pb.ReceiverType
  2468. 38, // 5: pb.SendRedPacketReq.message_type:type_name -> pb.MessageType
  2469. 38, // 6: pb.PushRoomReq.message_type:type_name -> pb.MessageType
  2470. 16, // 7: pb.GetFriendsResp.friends:type_name -> pb.Friend
  2471. 23, // 8: pb.GetGroupResp.group:type_name -> pb.Group
  2472. 0, // 9: pb.GetGroupResp.member_type:type_name -> pb.MemberType
  2473. 39, // 10: pb.GetGroupResp.group_user_status_type:type_name -> pb.GroupUserStatusType
  2474. 23, // 11: pb.GetGroupsResp.groups:type_name -> pb.Group
  2475. 0, // 12: pb.UpdateGroupMemberReq.member_type:type_name -> pb.MemberType
  2476. 31, // 13: pb.GetGroupMembersResp.members:type_name -> pb.GroupMember
  2477. 0, // 14: pb.GroupMember.member_type:type_name -> pb.MemberType
  2478. 1, // 15: pb.SetGroupMemberBannedReq.is_all_member_banned:type_name -> pb.AllMemberBannedType
  2479. 1, // 16: pb.SetGroupMemberBannedResp.is_all_member_banned:type_name -> pb.AllMemberBannedType
  2480. 31, // 17: pb.SetGroupMemberBannedResp.members:type_name -> pb.GroupMember
  2481. 31, // 18: pb.GetGroupBannedMembersResp.members:type_name -> pb.GroupMember
  2482. 2, // 19: pb.LogicExt.RegisterDevice:input_type -> pb.RegisterDeviceReq
  2483. 4, // 20: pb.LogicExt.SendMessage:input_type -> pb.SendMessageReq
  2484. 6, // 21: pb.LogicExt.RecallMessage:input_type -> pb.RecallMessageReq
  2485. 10, // 22: pb.LogicExt.PushRoom:input_type -> pb.PushRoomReq
  2486. 8, // 23: pb.LogicExt.SendRedPacket:input_type -> pb.SendRedPacketReq
  2487. 11, // 24: pb.LogicExt.AddFriend:input_type -> pb.AddFriendReq
  2488. 13, // 25: pb.LogicExt.AgreeAddFriend:input_type -> pb.AgreeAddFriendReq
  2489. 12, // 26: pb.LogicExt.DeleteFriend:input_type -> pb.DeleteFriendReq
  2490. 14, // 27: pb.LogicExt.SetFriend:input_type -> pb.SetFriendReq
  2491. 40, // 28: pb.LogicExt.GetFriends:input_type -> pb.Empty
  2492. 18, // 29: pb.LogicExt.CreateGroup:input_type -> pb.CreateGroupReq
  2493. 20, // 30: pb.LogicExt.UpdateGroup:input_type -> pb.UpdateGroupReq
  2494. 21, // 31: pb.LogicExt.GetGroup:input_type -> pb.GetGroupReq
  2495. 40, // 32: pb.LogicExt.GetGroups:input_type -> pb.Empty
  2496. 25, // 33: pb.LogicExt.AddGroupMembers:input_type -> pb.AddGroupMembersReq
  2497. 27, // 34: pb.LogicExt.UpdateGroupMember:input_type -> pb.UpdateGroupMemberReq
  2498. 28, // 35: pb.LogicExt.DeleteGroupMember:input_type -> pb.DeleteGroupMemberReq
  2499. 29, // 36: pb.LogicExt.GetGroupMembers:input_type -> pb.GetGroupMembersReq
  2500. 32, // 37: pb.LogicExt.SetGroupBannedMembers:input_type -> pb.SetGroupMemberBannedReq
  2501. 33, // 38: pb.LogicExt.SetGroupRemoveBannedMembers:input_type -> pb.SetGroupMemberRemoveBannedReq
  2502. 35, // 39: pb.LogicExt.GetGroupBannedMembers:input_type -> pb.GetGroupBannedMembersReq
  2503. 3, // 40: pb.LogicExt.RegisterDevice:output_type -> pb.RegisterDeviceResp
  2504. 5, // 41: pb.LogicExt.SendMessage:output_type -> pb.SendMessageResp
  2505. 7, // 42: pb.LogicExt.RecallMessage:output_type -> pb.RecallMessageResp
  2506. 40, // 43: pb.LogicExt.PushRoom:output_type -> pb.Empty
  2507. 9, // 44: pb.LogicExt.SendRedPacket:output_type -> pb.SendRedPacketResp
  2508. 40, // 45: pb.LogicExt.AddFriend:output_type -> pb.Empty
  2509. 40, // 46: pb.LogicExt.AgreeAddFriend:output_type -> pb.Empty
  2510. 40, // 47: pb.LogicExt.DeleteFriend:output_type -> pb.Empty
  2511. 15, // 48: pb.LogicExt.SetFriend:output_type -> pb.SetFriendResp
  2512. 17, // 49: pb.LogicExt.GetFriends:output_type -> pb.GetFriendsResp
  2513. 19, // 50: pb.LogicExt.CreateGroup:output_type -> pb.CreateGroupResp
  2514. 40, // 51: pb.LogicExt.UpdateGroup:output_type -> pb.Empty
  2515. 22, // 52: pb.LogicExt.GetGroup:output_type -> pb.GetGroupResp
  2516. 24, // 53: pb.LogicExt.GetGroups:output_type -> pb.GetGroupsResp
  2517. 26, // 54: pb.LogicExt.AddGroupMembers:output_type -> pb.AddGroupMembersResp
  2518. 40, // 55: pb.LogicExt.UpdateGroupMember:output_type -> pb.Empty
  2519. 40, // 56: pb.LogicExt.DeleteGroupMember:output_type -> pb.Empty
  2520. 30, // 57: pb.LogicExt.GetGroupMembers:output_type -> pb.GetGroupMembersResp
  2521. 34, // 58: pb.LogicExt.SetGroupBannedMembers:output_type -> pb.SetGroupMemberBannedResp
  2522. 40, // 59: pb.LogicExt.SetGroupRemoveBannedMembers:output_type -> pb.Empty
  2523. 36, // 60: pb.LogicExt.GetGroupBannedMembers:output_type -> pb.GetGroupBannedMembersResp
  2524. 40, // [40:61] is the sub-list for method output_type
  2525. 19, // [19:40] is the sub-list for method input_type
  2526. 19, // [19:19] is the sub-list for extension type_name
  2527. 19, // [19:19] is the sub-list for extension extendee
  2528. 0, // [0:19] is the sub-list for field type_name
  2529. }
  2530. func init() { file_logic_ext_proto_init() }
  2531. func file_logic_ext_proto_init() {
  2532. if File_logic_ext_proto != nil {
  2533. return
  2534. }
  2535. file_common_ext_proto_init()
  2536. file_connect_ext_proto_init()
  2537. if !protoimpl.UnsafeEnabled {
  2538. file_logic_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2539. switch v := v.(*RegisterDeviceReq); i {
  2540. case 0:
  2541. return &v.state
  2542. case 1:
  2543. return &v.sizeCache
  2544. case 2:
  2545. return &v.unknownFields
  2546. default:
  2547. return nil
  2548. }
  2549. }
  2550. file_logic_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2551. switch v := v.(*RegisterDeviceResp); i {
  2552. case 0:
  2553. return &v.state
  2554. case 1:
  2555. return &v.sizeCache
  2556. case 2:
  2557. return &v.unknownFields
  2558. default:
  2559. return nil
  2560. }
  2561. }
  2562. file_logic_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2563. switch v := v.(*SendMessageReq); i {
  2564. case 0:
  2565. return &v.state
  2566. case 1:
  2567. return &v.sizeCache
  2568. case 2:
  2569. return &v.unknownFields
  2570. default:
  2571. return nil
  2572. }
  2573. }
  2574. file_logic_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2575. switch v := v.(*SendMessageResp); i {
  2576. case 0:
  2577. return &v.state
  2578. case 1:
  2579. return &v.sizeCache
  2580. case 2:
  2581. return &v.unknownFields
  2582. default:
  2583. return nil
  2584. }
  2585. }
  2586. file_logic_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2587. switch v := v.(*RecallMessageReq); i {
  2588. case 0:
  2589. return &v.state
  2590. case 1:
  2591. return &v.sizeCache
  2592. case 2:
  2593. return &v.unknownFields
  2594. default:
  2595. return nil
  2596. }
  2597. }
  2598. file_logic_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2599. switch v := v.(*RecallMessageResp); i {
  2600. case 0:
  2601. return &v.state
  2602. case 1:
  2603. return &v.sizeCache
  2604. case 2:
  2605. return &v.unknownFields
  2606. default:
  2607. return nil
  2608. }
  2609. }
  2610. file_logic_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2611. switch v := v.(*SendRedPacketReq); i {
  2612. case 0:
  2613. return &v.state
  2614. case 1:
  2615. return &v.sizeCache
  2616. case 2:
  2617. return &v.unknownFields
  2618. default:
  2619. return nil
  2620. }
  2621. }
  2622. file_logic_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2623. switch v := v.(*SendRedPacketResp); i {
  2624. case 0:
  2625. return &v.state
  2626. case 1:
  2627. return &v.sizeCache
  2628. case 2:
  2629. return &v.unknownFields
  2630. default:
  2631. return nil
  2632. }
  2633. }
  2634. file_logic_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2635. switch v := v.(*PushRoomReq); i {
  2636. case 0:
  2637. return &v.state
  2638. case 1:
  2639. return &v.sizeCache
  2640. case 2:
  2641. return &v.unknownFields
  2642. default:
  2643. return nil
  2644. }
  2645. }
  2646. file_logic_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2647. switch v := v.(*AddFriendReq); i {
  2648. case 0:
  2649. return &v.state
  2650. case 1:
  2651. return &v.sizeCache
  2652. case 2:
  2653. return &v.unknownFields
  2654. default:
  2655. return nil
  2656. }
  2657. }
  2658. file_logic_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2659. switch v := v.(*DeleteFriendReq); i {
  2660. case 0:
  2661. return &v.state
  2662. case 1:
  2663. return &v.sizeCache
  2664. case 2:
  2665. return &v.unknownFields
  2666. default:
  2667. return nil
  2668. }
  2669. }
  2670. file_logic_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2671. switch v := v.(*AgreeAddFriendReq); i {
  2672. case 0:
  2673. return &v.state
  2674. case 1:
  2675. return &v.sizeCache
  2676. case 2:
  2677. return &v.unknownFields
  2678. default:
  2679. return nil
  2680. }
  2681. }
  2682. file_logic_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2683. switch v := v.(*SetFriendReq); i {
  2684. case 0:
  2685. return &v.state
  2686. case 1:
  2687. return &v.sizeCache
  2688. case 2:
  2689. return &v.unknownFields
  2690. default:
  2691. return nil
  2692. }
  2693. }
  2694. file_logic_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2695. switch v := v.(*SetFriendResp); i {
  2696. case 0:
  2697. return &v.state
  2698. case 1:
  2699. return &v.sizeCache
  2700. case 2:
  2701. return &v.unknownFields
  2702. default:
  2703. return nil
  2704. }
  2705. }
  2706. file_logic_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2707. switch v := v.(*Friend); i {
  2708. case 0:
  2709. return &v.state
  2710. case 1:
  2711. return &v.sizeCache
  2712. case 2:
  2713. return &v.unknownFields
  2714. default:
  2715. return nil
  2716. }
  2717. }
  2718. file_logic_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2719. switch v := v.(*GetFriendsResp); i {
  2720. case 0:
  2721. return &v.state
  2722. case 1:
  2723. return &v.sizeCache
  2724. case 2:
  2725. return &v.unknownFields
  2726. default:
  2727. return nil
  2728. }
  2729. }
  2730. file_logic_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2731. switch v := v.(*CreateGroupReq); i {
  2732. case 0:
  2733. return &v.state
  2734. case 1:
  2735. return &v.sizeCache
  2736. case 2:
  2737. return &v.unknownFields
  2738. default:
  2739. return nil
  2740. }
  2741. }
  2742. file_logic_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2743. switch v := v.(*CreateGroupResp); i {
  2744. case 0:
  2745. return &v.state
  2746. case 1:
  2747. return &v.sizeCache
  2748. case 2:
  2749. return &v.unknownFields
  2750. default:
  2751. return nil
  2752. }
  2753. }
  2754. file_logic_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2755. switch v := v.(*UpdateGroupReq); i {
  2756. case 0:
  2757. return &v.state
  2758. case 1:
  2759. return &v.sizeCache
  2760. case 2:
  2761. return &v.unknownFields
  2762. default:
  2763. return nil
  2764. }
  2765. }
  2766. file_logic_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2767. switch v := v.(*GetGroupReq); i {
  2768. case 0:
  2769. return &v.state
  2770. case 1:
  2771. return &v.sizeCache
  2772. case 2:
  2773. return &v.unknownFields
  2774. default:
  2775. return nil
  2776. }
  2777. }
  2778. file_logic_ext_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2779. switch v := v.(*GetGroupResp); i {
  2780. case 0:
  2781. return &v.state
  2782. case 1:
  2783. return &v.sizeCache
  2784. case 2:
  2785. return &v.unknownFields
  2786. default:
  2787. return nil
  2788. }
  2789. }
  2790. file_logic_ext_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2791. switch v := v.(*Group); i {
  2792. case 0:
  2793. return &v.state
  2794. case 1:
  2795. return &v.sizeCache
  2796. case 2:
  2797. return &v.unknownFields
  2798. default:
  2799. return nil
  2800. }
  2801. }
  2802. file_logic_ext_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2803. switch v := v.(*GetGroupsResp); i {
  2804. case 0:
  2805. return &v.state
  2806. case 1:
  2807. return &v.sizeCache
  2808. case 2:
  2809. return &v.unknownFields
  2810. default:
  2811. return nil
  2812. }
  2813. }
  2814. file_logic_ext_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2815. switch v := v.(*AddGroupMembersReq); i {
  2816. case 0:
  2817. return &v.state
  2818. case 1:
  2819. return &v.sizeCache
  2820. case 2:
  2821. return &v.unknownFields
  2822. default:
  2823. return nil
  2824. }
  2825. }
  2826. file_logic_ext_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2827. switch v := v.(*AddGroupMembersResp); i {
  2828. case 0:
  2829. return &v.state
  2830. case 1:
  2831. return &v.sizeCache
  2832. case 2:
  2833. return &v.unknownFields
  2834. default:
  2835. return nil
  2836. }
  2837. }
  2838. file_logic_ext_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2839. switch v := v.(*UpdateGroupMemberReq); i {
  2840. case 0:
  2841. return &v.state
  2842. case 1:
  2843. return &v.sizeCache
  2844. case 2:
  2845. return &v.unknownFields
  2846. default:
  2847. return nil
  2848. }
  2849. }
  2850. file_logic_ext_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  2851. switch v := v.(*DeleteGroupMemberReq); i {
  2852. case 0:
  2853. return &v.state
  2854. case 1:
  2855. return &v.sizeCache
  2856. case 2:
  2857. return &v.unknownFields
  2858. default:
  2859. return nil
  2860. }
  2861. }
  2862. file_logic_ext_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  2863. switch v := v.(*GetGroupMembersReq); i {
  2864. case 0:
  2865. return &v.state
  2866. case 1:
  2867. return &v.sizeCache
  2868. case 2:
  2869. return &v.unknownFields
  2870. default:
  2871. return nil
  2872. }
  2873. }
  2874. file_logic_ext_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  2875. switch v := v.(*GetGroupMembersResp); i {
  2876. case 0:
  2877. return &v.state
  2878. case 1:
  2879. return &v.sizeCache
  2880. case 2:
  2881. return &v.unknownFields
  2882. default:
  2883. return nil
  2884. }
  2885. }
  2886. file_logic_ext_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  2887. switch v := v.(*GroupMember); i {
  2888. case 0:
  2889. return &v.state
  2890. case 1:
  2891. return &v.sizeCache
  2892. case 2:
  2893. return &v.unknownFields
  2894. default:
  2895. return nil
  2896. }
  2897. }
  2898. file_logic_ext_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
  2899. switch v := v.(*SetGroupMemberBannedReq); i {
  2900. case 0:
  2901. return &v.state
  2902. case 1:
  2903. return &v.sizeCache
  2904. case 2:
  2905. return &v.unknownFields
  2906. default:
  2907. return nil
  2908. }
  2909. }
  2910. file_logic_ext_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
  2911. switch v := v.(*SetGroupMemberRemoveBannedReq); i {
  2912. case 0:
  2913. return &v.state
  2914. case 1:
  2915. return &v.sizeCache
  2916. case 2:
  2917. return &v.unknownFields
  2918. default:
  2919. return nil
  2920. }
  2921. }
  2922. file_logic_ext_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
  2923. switch v := v.(*SetGroupMemberBannedResp); i {
  2924. case 0:
  2925. return &v.state
  2926. case 1:
  2927. return &v.sizeCache
  2928. case 2:
  2929. return &v.unknownFields
  2930. default:
  2931. return nil
  2932. }
  2933. }
  2934. file_logic_ext_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
  2935. switch v := v.(*GetGroupBannedMembersReq); i {
  2936. case 0:
  2937. return &v.state
  2938. case 1:
  2939. return &v.sizeCache
  2940. case 2:
  2941. return &v.unknownFields
  2942. default:
  2943. return nil
  2944. }
  2945. }
  2946. file_logic_ext_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
  2947. switch v := v.(*GetGroupBannedMembersResp); i {
  2948. case 0:
  2949. return &v.state
  2950. case 1:
  2951. return &v.sizeCache
  2952. case 2:
  2953. return &v.unknownFields
  2954. default:
  2955. return nil
  2956. }
  2957. }
  2958. }
  2959. type x struct{}
  2960. out := protoimpl.TypeBuilder{
  2961. File: protoimpl.DescBuilder{
  2962. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2963. RawDescriptor: file_logic_ext_proto_rawDesc,
  2964. NumEnums: 2,
  2965. NumMessages: 35,
  2966. NumExtensions: 0,
  2967. NumServices: 1,
  2968. },
  2969. GoTypes: file_logic_ext_proto_goTypes,
  2970. DependencyIndexes: file_logic_ext_proto_depIdxs,
  2971. EnumInfos: file_logic_ext_proto_enumTypes,
  2972. MessageInfos: file_logic_ext_proto_msgTypes,
  2973. }.Build()
  2974. File_logic_ext_proto = out.File
  2975. file_logic_ext_proto_rawDesc = nil
  2976. file_logic_ext_proto_goTypes = nil
  2977. file_logic_ext_proto_depIdxs = nil
  2978. }
  2979. // This is a compile-time assertion to ensure that this generated file
  2980. // is compatible with the grpc package it is being compiled against.
  2981. // Requires gRPC-Go v1.32.0 or later.
  2982. const _ = grpc.SupportPackageIsVersion7
  2983. // LogicExtClient is the client API for LogicExt service.
  2984. //
  2985. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
  2986. type LogicExtClient interface {
  2987. // 注册设备
  2988. RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error)
  2989. // 发送消息
  2990. SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error)
  2991. // 撤回消息
  2992. RecallMessage(ctx context.Context, in *RecallMessageReq, opts ...grpc.CallOption) (*RecallMessageResp, error)
  2993. // 推送消息到房间
  2994. PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error)
  2995. // 发送红包
  2996. SendRedPacket(ctx context.Context, in *SendRedPacketReq, opts ...grpc.CallOption) (*SendRedPacketResp, error)
  2997. // 添加好友
  2998. AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error)
  2999. // 同意添加好友
  3000. AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error)
  3001. // 删除好友
  3002. DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*Empty, error)
  3003. // 设置好友信息
  3004. SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error)
  3005. // 获取好友列表
  3006. GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error)
  3007. // 创建群组
  3008. CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error)
  3009. // 更新群组
  3010. UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error)
  3011. // 获取群组信息
  3012. GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error)
  3013. // 获取用户加入的所有群组
  3014. GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error)
  3015. // 添加群组成员
  3016. AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error)
  3017. // 更新群组成员信息
  3018. UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
  3019. // 删除群组成员
  3020. DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
  3021. // 获取群组成员
  3022. GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error)
  3023. // 设置禁言
  3024. SetGroupBannedMembers(ctx context.Context, in *SetGroupMemberBannedReq, opts ...grpc.CallOption) (*SetGroupMemberBannedResp, error)
  3025. // 取消禁言
  3026. SetGroupRemoveBannedMembers(ctx context.Context, in *SetGroupMemberRemoveBannedReq, opts ...grpc.CallOption) (*Empty, error)
  3027. // 获取群组禁言成员
  3028. GetGroupBannedMembers(ctx context.Context, in *GetGroupBannedMembersReq, opts ...grpc.CallOption) (*GetGroupBannedMembersResp, error)
  3029. }
  3030. type logicExtClient struct {
  3031. cc grpc.ClientConnInterface
  3032. }
  3033. func NewLogicExtClient(cc grpc.ClientConnInterface) LogicExtClient {
  3034. return &logicExtClient{cc}
  3035. }
  3036. func (c *logicExtClient) RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error) {
  3037. out := new(RegisterDeviceResp)
  3038. err := c.cc.Invoke(ctx, "/pb.LogicExt/RegisterDevice", in, out, opts...)
  3039. if err != nil {
  3040. return nil, err
  3041. }
  3042. return out, nil
  3043. }
  3044. func (c *logicExtClient) SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error) {
  3045. out := new(SendMessageResp)
  3046. err := c.cc.Invoke(ctx, "/pb.LogicExt/SendMessage", in, out, opts...)
  3047. if err != nil {
  3048. return nil, err
  3049. }
  3050. return out, nil
  3051. }
  3052. func (c *logicExtClient) RecallMessage(ctx context.Context, in *RecallMessageReq, opts ...grpc.CallOption) (*RecallMessageResp, error) {
  3053. out := new(RecallMessageResp)
  3054. err := c.cc.Invoke(ctx, "/pb.LogicExt/RecallMessage", in, out, opts...)
  3055. if err != nil {
  3056. return nil, err
  3057. }
  3058. return out, nil
  3059. }
  3060. func (c *logicExtClient) PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error) {
  3061. out := new(Empty)
  3062. err := c.cc.Invoke(ctx, "/pb.LogicExt/PushRoom", in, out, opts...)
  3063. if err != nil {
  3064. return nil, err
  3065. }
  3066. return out, nil
  3067. }
  3068. func (c *logicExtClient) SendRedPacket(ctx context.Context, in *SendRedPacketReq, opts ...grpc.CallOption) (*SendRedPacketResp, error) {
  3069. out := new(SendRedPacketResp)
  3070. err := c.cc.Invoke(ctx, "/pb.LogicExt/SendRedPacket", in, out, opts...)
  3071. if err != nil {
  3072. return nil, err
  3073. }
  3074. return out, nil
  3075. }
  3076. func (c *logicExtClient) AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  3077. out := new(Empty)
  3078. err := c.cc.Invoke(ctx, "/pb.LogicExt/AddFriend", in, out, opts...)
  3079. if err != nil {
  3080. return nil, err
  3081. }
  3082. return out, nil
  3083. }
  3084. func (c *logicExtClient) AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  3085. out := new(Empty)
  3086. err := c.cc.Invoke(ctx, "/pb.LogicExt/AgreeAddFriend", in, out, opts...)
  3087. if err != nil {
  3088. return nil, err
  3089. }
  3090. return out, nil
  3091. }
  3092. func (c *logicExtClient) DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  3093. out := new(Empty)
  3094. err := c.cc.Invoke(ctx, "/pb.LogicExt/DeleteFriend", in, out, opts...)
  3095. if err != nil {
  3096. return nil, err
  3097. }
  3098. return out, nil
  3099. }
  3100. func (c *logicExtClient) SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error) {
  3101. out := new(SetFriendResp)
  3102. err := c.cc.Invoke(ctx, "/pb.LogicExt/SetFriend", in, out, opts...)
  3103. if err != nil {
  3104. return nil, err
  3105. }
  3106. return out, nil
  3107. }
  3108. func (c *logicExtClient) GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error) {
  3109. out := new(GetFriendsResp)
  3110. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetFriends", in, out, opts...)
  3111. if err != nil {
  3112. return nil, err
  3113. }
  3114. return out, nil
  3115. }
  3116. func (c *logicExtClient) CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error) {
  3117. out := new(CreateGroupResp)
  3118. err := c.cc.Invoke(ctx, "/pb.LogicExt/CreateGroup", in, out, opts...)
  3119. if err != nil {
  3120. return nil, err
  3121. }
  3122. return out, nil
  3123. }
  3124. func (c *logicExtClient) UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error) {
  3125. out := new(Empty)
  3126. err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroup", in, out, opts...)
  3127. if err != nil {
  3128. return nil, err
  3129. }
  3130. return out, nil
  3131. }
  3132. func (c *logicExtClient) GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error) {
  3133. out := new(GetGroupResp)
  3134. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroup", in, out, opts...)
  3135. if err != nil {
  3136. return nil, err
  3137. }
  3138. return out, nil
  3139. }
  3140. func (c *logicExtClient) GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error) {
  3141. out := new(GetGroupsResp)
  3142. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroups", in, out, opts...)
  3143. if err != nil {
  3144. return nil, err
  3145. }
  3146. return out, nil
  3147. }
  3148. func (c *logicExtClient) AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error) {
  3149. out := new(AddGroupMembersResp)
  3150. err := c.cc.Invoke(ctx, "/pb.LogicExt/AddGroupMembers", in, out, opts...)
  3151. if err != nil {
  3152. return nil, err
  3153. }
  3154. return out, nil
  3155. }
  3156. func (c *logicExtClient) UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
  3157. out := new(Empty)
  3158. err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroupMember", in, out, opts...)
  3159. if err != nil {
  3160. return nil, err
  3161. }
  3162. return out, nil
  3163. }
  3164. func (c *logicExtClient) DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
  3165. out := new(Empty)
  3166. err := c.cc.Invoke(ctx, "/pb.LogicExt/DeleteGroupMember", in, out, opts...)
  3167. if err != nil {
  3168. return nil, err
  3169. }
  3170. return out, nil
  3171. }
  3172. func (c *logicExtClient) GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error) {
  3173. out := new(GetGroupMembersResp)
  3174. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroupMembers", in, out, opts...)
  3175. if err != nil {
  3176. return nil, err
  3177. }
  3178. return out, nil
  3179. }
  3180. func (c *logicExtClient) SetGroupBannedMembers(ctx context.Context, in *SetGroupMemberBannedReq, opts ...grpc.CallOption) (*SetGroupMemberBannedResp, error) {
  3181. out := new(SetGroupMemberBannedResp)
  3182. err := c.cc.Invoke(ctx, "/pb.LogicExt/SetGroupBannedMembers", in, out, opts...)
  3183. if err != nil {
  3184. return nil, err
  3185. }
  3186. return out, nil
  3187. }
  3188. func (c *logicExtClient) SetGroupRemoveBannedMembers(ctx context.Context, in *SetGroupMemberRemoveBannedReq, opts ...grpc.CallOption) (*Empty, error) {
  3189. out := new(Empty)
  3190. err := c.cc.Invoke(ctx, "/pb.LogicExt/SetGroupRemoveBannedMembers", in, out, opts...)
  3191. if err != nil {
  3192. return nil, err
  3193. }
  3194. return out, nil
  3195. }
  3196. func (c *logicExtClient) GetGroupBannedMembers(ctx context.Context, in *GetGroupBannedMembersReq, opts ...grpc.CallOption) (*GetGroupBannedMembersResp, error) {
  3197. out := new(GetGroupBannedMembersResp)
  3198. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroupBannedMembers", in, out, opts...)
  3199. if err != nil {
  3200. return nil, err
  3201. }
  3202. return out, nil
  3203. }
  3204. // LogicExtServer is the server API for LogicExt service.
  3205. // All implementations must embed UnimplementedLogicExtServer
  3206. // for forward compatibility
  3207. type LogicExtServer interface {
  3208. // 注册设备
  3209. RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error)
  3210. // 发送消息
  3211. SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error)
  3212. // 撤回消息
  3213. RecallMessage(context.Context, *RecallMessageReq) (*RecallMessageResp, error)
  3214. // 推送消息到房间
  3215. PushRoom(context.Context, *PushRoomReq) (*Empty, error)
  3216. // 发送红包
  3217. SendRedPacket(context.Context, *SendRedPacketReq) (*SendRedPacketResp, error)
  3218. // 添加好友
  3219. AddFriend(context.Context, *AddFriendReq) (*Empty, error)
  3220. // 同意添加好友
  3221. AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error)
  3222. // 删除好友
  3223. DeleteFriend(context.Context, *DeleteFriendReq) (*Empty, error)
  3224. // 设置好友信息
  3225. SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error)
  3226. // 获取好友列表
  3227. GetFriends(context.Context, *Empty) (*GetFriendsResp, error)
  3228. // 创建群组
  3229. CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error)
  3230. // 更新群组
  3231. UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error)
  3232. // 获取群组信息
  3233. GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error)
  3234. // 获取用户加入的所有群组
  3235. GetGroups(context.Context, *Empty) (*GetGroupsResp, error)
  3236. // 添加群组成员
  3237. AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error)
  3238. // 更新群组成员信息
  3239. UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error)
  3240. // 删除群组成员
  3241. DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error)
  3242. // 获取群组成员
  3243. GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error)
  3244. // 设置禁言
  3245. SetGroupBannedMembers(context.Context, *SetGroupMemberBannedReq) (*SetGroupMemberBannedResp, error)
  3246. // 取消禁言
  3247. SetGroupRemoveBannedMembers(context.Context, *SetGroupMemberRemoveBannedReq) (*Empty, error)
  3248. // 获取群组禁言成员
  3249. GetGroupBannedMembers(context.Context, *GetGroupBannedMembersReq) (*GetGroupBannedMembersResp, error)
  3250. }
  3251. // UnimplementedLogicExtServer must be embedded to have forward compatible implementations.
  3252. type UnimplementedLogicExtServer struct {
  3253. }
  3254. func (UnimplementedLogicExtServer) RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error) {
  3255. return nil, status.Errorf(codes.Unimplemented, "method RegisterDevice not implemented")
  3256. }
  3257. func (UnimplementedLogicExtServer) SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error) {
  3258. return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented")
  3259. }
  3260. func (UnimplementedLogicExtServer) RecallMessage(context.Context, *RecallMessageReq) (*RecallMessageResp, error) {
  3261. return nil, status.Errorf(codes.Unimplemented, "method RecallMessage not implemented")
  3262. }
  3263. func (UnimplementedLogicExtServer) PushRoom(context.Context, *PushRoomReq) (*Empty, error) {
  3264. return nil, status.Errorf(codes.Unimplemented, "method PushRoom not implemented")
  3265. }
  3266. func (UnimplementedLogicExtServer) SendRedPacket(context.Context, *SendRedPacketReq) (*SendRedPacketResp, error) {
  3267. return nil, status.Errorf(codes.Unimplemented, "method SendRedPacket not implemented")
  3268. }
  3269. func (UnimplementedLogicExtServer) AddFriend(context.Context, *AddFriendReq) (*Empty, error) {
  3270. return nil, status.Errorf(codes.Unimplemented, "method AddFriend not implemented")
  3271. }
  3272. func (UnimplementedLogicExtServer) AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error) {
  3273. return nil, status.Errorf(codes.Unimplemented, "method AgreeAddFriend not implemented")
  3274. }
  3275. func (UnimplementedLogicExtServer) DeleteFriend(context.Context, *DeleteFriendReq) (*Empty, error) {
  3276. return nil, status.Errorf(codes.Unimplemented, "method DeleteFriend not implemented")
  3277. }
  3278. func (UnimplementedLogicExtServer) SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error) {
  3279. return nil, status.Errorf(codes.Unimplemented, "method SetFriend not implemented")
  3280. }
  3281. func (UnimplementedLogicExtServer) GetFriends(context.Context, *Empty) (*GetFriendsResp, error) {
  3282. return nil, status.Errorf(codes.Unimplemented, "method GetFriends not implemented")
  3283. }
  3284. func (UnimplementedLogicExtServer) CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error) {
  3285. return nil, status.Errorf(codes.Unimplemented, "method CreateGroup not implemented")
  3286. }
  3287. func (UnimplementedLogicExtServer) UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error) {
  3288. return nil, status.Errorf(codes.Unimplemented, "method UpdateGroup not implemented")
  3289. }
  3290. func (UnimplementedLogicExtServer) GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error) {
  3291. return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented")
  3292. }
  3293. func (UnimplementedLogicExtServer) GetGroups(context.Context, *Empty) (*GetGroupsResp, error) {
  3294. return nil, status.Errorf(codes.Unimplemented, "method GetGroups not implemented")
  3295. }
  3296. func (UnimplementedLogicExtServer) AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error) {
  3297. return nil, status.Errorf(codes.Unimplemented, "method AddGroupMembers not implemented")
  3298. }
  3299. func (UnimplementedLogicExtServer) UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error) {
  3300. return nil, status.Errorf(codes.Unimplemented, "method UpdateGroupMember not implemented")
  3301. }
  3302. func (UnimplementedLogicExtServer) DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error) {
  3303. return nil, status.Errorf(codes.Unimplemented, "method DeleteGroupMember not implemented")
  3304. }
  3305. func (UnimplementedLogicExtServer) GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error) {
  3306. return nil, status.Errorf(codes.Unimplemented, "method GetGroupMembers not implemented")
  3307. }
  3308. func (UnimplementedLogicExtServer) SetGroupBannedMembers(context.Context, *SetGroupMemberBannedReq) (*SetGroupMemberBannedResp, error) {
  3309. return nil, status.Errorf(codes.Unimplemented, "method SetGroupBannedMembers not implemented")
  3310. }
  3311. func (UnimplementedLogicExtServer) SetGroupRemoveBannedMembers(context.Context, *SetGroupMemberRemoveBannedReq) (*Empty, error) {
  3312. return nil, status.Errorf(codes.Unimplemented, "method SetGroupRemoveBannedMembers not implemented")
  3313. }
  3314. func (UnimplementedLogicExtServer) GetGroupBannedMembers(context.Context, *GetGroupBannedMembersReq) (*GetGroupBannedMembersResp, error) {
  3315. return nil, status.Errorf(codes.Unimplemented, "method GetGroupBannedMembers not implemented")
  3316. }
  3317. func RegisterLogicExtServer(s grpc.ServiceRegistrar, srv LogicExtServer) {
  3318. s.RegisterService(&LogicExt_ServiceDesc, srv)
  3319. }
  3320. func _LogicExt_RegisterDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3321. in := new(RegisterDeviceReq)
  3322. if err := dec(in); err != nil {
  3323. return nil, err
  3324. }
  3325. if interceptor == nil {
  3326. return srv.(LogicExtServer).RegisterDevice(ctx, in)
  3327. }
  3328. info := &grpc.UnaryServerInfo{
  3329. Server: srv,
  3330. FullMethod: "/pb.LogicExt/RegisterDevice",
  3331. }
  3332. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3333. return srv.(LogicExtServer).RegisterDevice(ctx, req.(*RegisterDeviceReq))
  3334. }
  3335. return interceptor(ctx, in, info, handler)
  3336. }
  3337. func _LogicExt_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3338. in := new(SendMessageReq)
  3339. if err := dec(in); err != nil {
  3340. return nil, err
  3341. }
  3342. if interceptor == nil {
  3343. return srv.(LogicExtServer).SendMessage(ctx, in)
  3344. }
  3345. info := &grpc.UnaryServerInfo{
  3346. Server: srv,
  3347. FullMethod: "/pb.LogicExt/SendMessage",
  3348. }
  3349. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3350. return srv.(LogicExtServer).SendMessage(ctx, req.(*SendMessageReq))
  3351. }
  3352. return interceptor(ctx, in, info, handler)
  3353. }
  3354. func _LogicExt_RecallMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3355. in := new(RecallMessageReq)
  3356. if err := dec(in); err != nil {
  3357. return nil, err
  3358. }
  3359. if interceptor == nil {
  3360. return srv.(LogicExtServer).RecallMessage(ctx, in)
  3361. }
  3362. info := &grpc.UnaryServerInfo{
  3363. Server: srv,
  3364. FullMethod: "/pb.LogicExt/RecallMessage",
  3365. }
  3366. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3367. return srv.(LogicExtServer).RecallMessage(ctx, req.(*RecallMessageReq))
  3368. }
  3369. return interceptor(ctx, in, info, handler)
  3370. }
  3371. func _LogicExt_PushRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3372. in := new(PushRoomReq)
  3373. if err := dec(in); err != nil {
  3374. return nil, err
  3375. }
  3376. if interceptor == nil {
  3377. return srv.(LogicExtServer).PushRoom(ctx, in)
  3378. }
  3379. info := &grpc.UnaryServerInfo{
  3380. Server: srv,
  3381. FullMethod: "/pb.LogicExt/PushRoom",
  3382. }
  3383. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3384. return srv.(LogicExtServer).PushRoom(ctx, req.(*PushRoomReq))
  3385. }
  3386. return interceptor(ctx, in, info, handler)
  3387. }
  3388. func _LogicExt_SendRedPacket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3389. in := new(SendRedPacketReq)
  3390. if err := dec(in); err != nil {
  3391. return nil, err
  3392. }
  3393. if interceptor == nil {
  3394. return srv.(LogicExtServer).SendRedPacket(ctx, in)
  3395. }
  3396. info := &grpc.UnaryServerInfo{
  3397. Server: srv,
  3398. FullMethod: "/pb.LogicExt/SendRedPacket",
  3399. }
  3400. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3401. return srv.(LogicExtServer).SendRedPacket(ctx, req.(*SendRedPacketReq))
  3402. }
  3403. return interceptor(ctx, in, info, handler)
  3404. }
  3405. func _LogicExt_AddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3406. in := new(AddFriendReq)
  3407. if err := dec(in); err != nil {
  3408. return nil, err
  3409. }
  3410. if interceptor == nil {
  3411. return srv.(LogicExtServer).AddFriend(ctx, in)
  3412. }
  3413. info := &grpc.UnaryServerInfo{
  3414. Server: srv,
  3415. FullMethod: "/pb.LogicExt/AddFriend",
  3416. }
  3417. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3418. return srv.(LogicExtServer).AddFriend(ctx, req.(*AddFriendReq))
  3419. }
  3420. return interceptor(ctx, in, info, handler)
  3421. }
  3422. func _LogicExt_AgreeAddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3423. in := new(AgreeAddFriendReq)
  3424. if err := dec(in); err != nil {
  3425. return nil, err
  3426. }
  3427. if interceptor == nil {
  3428. return srv.(LogicExtServer).AgreeAddFriend(ctx, in)
  3429. }
  3430. info := &grpc.UnaryServerInfo{
  3431. Server: srv,
  3432. FullMethod: "/pb.LogicExt/AgreeAddFriend",
  3433. }
  3434. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3435. return srv.(LogicExtServer).AgreeAddFriend(ctx, req.(*AgreeAddFriendReq))
  3436. }
  3437. return interceptor(ctx, in, info, handler)
  3438. }
  3439. func _LogicExt_DeleteFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3440. in := new(DeleteFriendReq)
  3441. if err := dec(in); err != nil {
  3442. return nil, err
  3443. }
  3444. if interceptor == nil {
  3445. return srv.(LogicExtServer).DeleteFriend(ctx, in)
  3446. }
  3447. info := &grpc.UnaryServerInfo{
  3448. Server: srv,
  3449. FullMethod: "/pb.LogicExt/DeleteFriend",
  3450. }
  3451. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3452. return srv.(LogicExtServer).DeleteFriend(ctx, req.(*DeleteFriendReq))
  3453. }
  3454. return interceptor(ctx, in, info, handler)
  3455. }
  3456. func _LogicExt_SetFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3457. in := new(SetFriendReq)
  3458. if err := dec(in); err != nil {
  3459. return nil, err
  3460. }
  3461. if interceptor == nil {
  3462. return srv.(LogicExtServer).SetFriend(ctx, in)
  3463. }
  3464. info := &grpc.UnaryServerInfo{
  3465. Server: srv,
  3466. FullMethod: "/pb.LogicExt/SetFriend",
  3467. }
  3468. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3469. return srv.(LogicExtServer).SetFriend(ctx, req.(*SetFriendReq))
  3470. }
  3471. return interceptor(ctx, in, info, handler)
  3472. }
  3473. func _LogicExt_GetFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3474. in := new(Empty)
  3475. if err := dec(in); err != nil {
  3476. return nil, err
  3477. }
  3478. if interceptor == nil {
  3479. return srv.(LogicExtServer).GetFriends(ctx, in)
  3480. }
  3481. info := &grpc.UnaryServerInfo{
  3482. Server: srv,
  3483. FullMethod: "/pb.LogicExt/GetFriends",
  3484. }
  3485. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3486. return srv.(LogicExtServer).GetFriends(ctx, req.(*Empty))
  3487. }
  3488. return interceptor(ctx, in, info, handler)
  3489. }
  3490. func _LogicExt_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3491. in := new(CreateGroupReq)
  3492. if err := dec(in); err != nil {
  3493. return nil, err
  3494. }
  3495. if interceptor == nil {
  3496. return srv.(LogicExtServer).CreateGroup(ctx, in)
  3497. }
  3498. info := &grpc.UnaryServerInfo{
  3499. Server: srv,
  3500. FullMethod: "/pb.LogicExt/CreateGroup",
  3501. }
  3502. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3503. return srv.(LogicExtServer).CreateGroup(ctx, req.(*CreateGroupReq))
  3504. }
  3505. return interceptor(ctx, in, info, handler)
  3506. }
  3507. func _LogicExt_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3508. in := new(UpdateGroupReq)
  3509. if err := dec(in); err != nil {
  3510. return nil, err
  3511. }
  3512. if interceptor == nil {
  3513. return srv.(LogicExtServer).UpdateGroup(ctx, in)
  3514. }
  3515. info := &grpc.UnaryServerInfo{
  3516. Server: srv,
  3517. FullMethod: "/pb.LogicExt/UpdateGroup",
  3518. }
  3519. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3520. return srv.(LogicExtServer).UpdateGroup(ctx, req.(*UpdateGroupReq))
  3521. }
  3522. return interceptor(ctx, in, info, handler)
  3523. }
  3524. func _LogicExt_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3525. in := new(GetGroupReq)
  3526. if err := dec(in); err != nil {
  3527. return nil, err
  3528. }
  3529. if interceptor == nil {
  3530. return srv.(LogicExtServer).GetGroup(ctx, in)
  3531. }
  3532. info := &grpc.UnaryServerInfo{
  3533. Server: srv,
  3534. FullMethod: "/pb.LogicExt/GetGroup",
  3535. }
  3536. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3537. return srv.(LogicExtServer).GetGroup(ctx, req.(*GetGroupReq))
  3538. }
  3539. return interceptor(ctx, in, info, handler)
  3540. }
  3541. func _LogicExt_GetGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3542. in := new(Empty)
  3543. if err := dec(in); err != nil {
  3544. return nil, err
  3545. }
  3546. if interceptor == nil {
  3547. return srv.(LogicExtServer).GetGroups(ctx, in)
  3548. }
  3549. info := &grpc.UnaryServerInfo{
  3550. Server: srv,
  3551. FullMethod: "/pb.LogicExt/GetGroups",
  3552. }
  3553. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3554. return srv.(LogicExtServer).GetGroups(ctx, req.(*Empty))
  3555. }
  3556. return interceptor(ctx, in, info, handler)
  3557. }
  3558. func _LogicExt_AddGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3559. in := new(AddGroupMembersReq)
  3560. if err := dec(in); err != nil {
  3561. return nil, err
  3562. }
  3563. if interceptor == nil {
  3564. return srv.(LogicExtServer).AddGroupMembers(ctx, in)
  3565. }
  3566. info := &grpc.UnaryServerInfo{
  3567. Server: srv,
  3568. FullMethod: "/pb.LogicExt/AddGroupMembers",
  3569. }
  3570. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3571. return srv.(LogicExtServer).AddGroupMembers(ctx, req.(*AddGroupMembersReq))
  3572. }
  3573. return interceptor(ctx, in, info, handler)
  3574. }
  3575. func _LogicExt_UpdateGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3576. in := new(UpdateGroupMemberReq)
  3577. if err := dec(in); err != nil {
  3578. return nil, err
  3579. }
  3580. if interceptor == nil {
  3581. return srv.(LogicExtServer).UpdateGroupMember(ctx, in)
  3582. }
  3583. info := &grpc.UnaryServerInfo{
  3584. Server: srv,
  3585. FullMethod: "/pb.LogicExt/UpdateGroupMember",
  3586. }
  3587. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3588. return srv.(LogicExtServer).UpdateGroupMember(ctx, req.(*UpdateGroupMemberReq))
  3589. }
  3590. return interceptor(ctx, in, info, handler)
  3591. }
  3592. func _LogicExt_DeleteGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3593. in := new(DeleteGroupMemberReq)
  3594. if err := dec(in); err != nil {
  3595. return nil, err
  3596. }
  3597. if interceptor == nil {
  3598. return srv.(LogicExtServer).DeleteGroupMember(ctx, in)
  3599. }
  3600. info := &grpc.UnaryServerInfo{
  3601. Server: srv,
  3602. FullMethod: "/pb.LogicExt/DeleteGroupMember",
  3603. }
  3604. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3605. return srv.(LogicExtServer).DeleteGroupMember(ctx, req.(*DeleteGroupMemberReq))
  3606. }
  3607. return interceptor(ctx, in, info, handler)
  3608. }
  3609. func _LogicExt_GetGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3610. in := new(GetGroupMembersReq)
  3611. if err := dec(in); err != nil {
  3612. return nil, err
  3613. }
  3614. if interceptor == nil {
  3615. return srv.(LogicExtServer).GetGroupMembers(ctx, in)
  3616. }
  3617. info := &grpc.UnaryServerInfo{
  3618. Server: srv,
  3619. FullMethod: "/pb.LogicExt/GetGroupMembers",
  3620. }
  3621. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3622. return srv.(LogicExtServer).GetGroupMembers(ctx, req.(*GetGroupMembersReq))
  3623. }
  3624. return interceptor(ctx, in, info, handler)
  3625. }
  3626. func _LogicExt_SetGroupBannedMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3627. in := new(SetGroupMemberBannedReq)
  3628. if err := dec(in); err != nil {
  3629. return nil, err
  3630. }
  3631. if interceptor == nil {
  3632. return srv.(LogicExtServer).SetGroupBannedMembers(ctx, in)
  3633. }
  3634. info := &grpc.UnaryServerInfo{
  3635. Server: srv,
  3636. FullMethod: "/pb.LogicExt/SetGroupBannedMembers",
  3637. }
  3638. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3639. return srv.(LogicExtServer).SetGroupBannedMembers(ctx, req.(*SetGroupMemberBannedReq))
  3640. }
  3641. return interceptor(ctx, in, info, handler)
  3642. }
  3643. func _LogicExt_SetGroupRemoveBannedMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3644. in := new(SetGroupMemberRemoveBannedReq)
  3645. if err := dec(in); err != nil {
  3646. return nil, err
  3647. }
  3648. if interceptor == nil {
  3649. return srv.(LogicExtServer).SetGroupRemoveBannedMembers(ctx, in)
  3650. }
  3651. info := &grpc.UnaryServerInfo{
  3652. Server: srv,
  3653. FullMethod: "/pb.LogicExt/SetGroupRemoveBannedMembers",
  3654. }
  3655. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3656. return srv.(LogicExtServer).SetGroupRemoveBannedMembers(ctx, req.(*SetGroupMemberRemoveBannedReq))
  3657. }
  3658. return interceptor(ctx, in, info, handler)
  3659. }
  3660. func _LogicExt_GetGroupBannedMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3661. in := new(GetGroupBannedMembersReq)
  3662. if err := dec(in); err != nil {
  3663. return nil, err
  3664. }
  3665. if interceptor == nil {
  3666. return srv.(LogicExtServer).GetGroupBannedMembers(ctx, in)
  3667. }
  3668. info := &grpc.UnaryServerInfo{
  3669. Server: srv,
  3670. FullMethod: "/pb.LogicExt/GetGroupBannedMembers",
  3671. }
  3672. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3673. return srv.(LogicExtServer).GetGroupBannedMembers(ctx, req.(*GetGroupBannedMembersReq))
  3674. }
  3675. return interceptor(ctx, in, info, handler)
  3676. }
  3677. // LogicExt_ServiceDesc is the grpc.ServiceDesc for LogicExt service.
  3678. // It's only intended for direct use with grpc.RegisterService,
  3679. // and not to be introspected or modified (even as a copy)
  3680. var LogicExt_ServiceDesc = grpc.ServiceDesc{
  3681. ServiceName: "pb.LogicExt",
  3682. HandlerType: (*LogicExtServer)(nil),
  3683. Methods: []grpc.MethodDesc{
  3684. {
  3685. MethodName: "RegisterDevice",
  3686. Handler: _LogicExt_RegisterDevice_Handler,
  3687. },
  3688. {
  3689. MethodName: "SendMessage",
  3690. Handler: _LogicExt_SendMessage_Handler,
  3691. },
  3692. {
  3693. MethodName: "RecallMessage",
  3694. Handler: _LogicExt_RecallMessage_Handler,
  3695. },
  3696. {
  3697. MethodName: "PushRoom",
  3698. Handler: _LogicExt_PushRoom_Handler,
  3699. },
  3700. {
  3701. MethodName: "SendRedPacket",
  3702. Handler: _LogicExt_SendRedPacket_Handler,
  3703. },
  3704. {
  3705. MethodName: "AddFriend",
  3706. Handler: _LogicExt_AddFriend_Handler,
  3707. },
  3708. {
  3709. MethodName: "AgreeAddFriend",
  3710. Handler: _LogicExt_AgreeAddFriend_Handler,
  3711. },
  3712. {
  3713. MethodName: "DeleteFriend",
  3714. Handler: _LogicExt_DeleteFriend_Handler,
  3715. },
  3716. {
  3717. MethodName: "SetFriend",
  3718. Handler: _LogicExt_SetFriend_Handler,
  3719. },
  3720. {
  3721. MethodName: "GetFriends",
  3722. Handler: _LogicExt_GetFriends_Handler,
  3723. },
  3724. {
  3725. MethodName: "CreateGroup",
  3726. Handler: _LogicExt_CreateGroup_Handler,
  3727. },
  3728. {
  3729. MethodName: "UpdateGroup",
  3730. Handler: _LogicExt_UpdateGroup_Handler,
  3731. },
  3732. {
  3733. MethodName: "GetGroup",
  3734. Handler: _LogicExt_GetGroup_Handler,
  3735. },
  3736. {
  3737. MethodName: "GetGroups",
  3738. Handler: _LogicExt_GetGroups_Handler,
  3739. },
  3740. {
  3741. MethodName: "AddGroupMembers",
  3742. Handler: _LogicExt_AddGroupMembers_Handler,
  3743. },
  3744. {
  3745. MethodName: "UpdateGroupMember",
  3746. Handler: _LogicExt_UpdateGroupMember_Handler,
  3747. },
  3748. {
  3749. MethodName: "DeleteGroupMember",
  3750. Handler: _LogicExt_DeleteGroupMember_Handler,
  3751. },
  3752. {
  3753. MethodName: "GetGroupMembers",
  3754. Handler: _LogicExt_GetGroupMembers_Handler,
  3755. },
  3756. {
  3757. MethodName: "SetGroupBannedMembers",
  3758. Handler: _LogicExt_SetGroupBannedMembers_Handler,
  3759. },
  3760. {
  3761. MethodName: "SetGroupRemoveBannedMembers",
  3762. Handler: _LogicExt_SetGroupRemoveBannedMembers_Handler,
  3763. },
  3764. {
  3765. MethodName: "GetGroupBannedMembers",
  3766. Handler: _LogicExt_GetGroupBannedMembers_Handler,
  3767. },
  3768. },
  3769. Streams: []grpc.StreamDesc{},
  3770. Metadata: "logic.ext.proto",
  3771. }