|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.28.1
- // protoc v3.20.0--rc2
- // source: logic.ext.proto
-
- package pb
-
- import (
- context "context"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
-
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
-
- type MemberType int32
-
- const (
- MemberType_GMT_UNKNOWN MemberType = 0 // 未知
- MemberType_GMT_ADMIN MemberType = 1 // 群主
- MemberType_GMT_MEMBER MemberType = 2 // 成员
- MemberType_GMT_MANAGE MemberType = 3 // 管理员
- )
-
- // Enum value maps for MemberType.
- var (
- MemberType_name = map[int32]string{
- 0: "GMT_UNKNOWN",
- 1: "GMT_ADMIN",
- 2: "GMT_MEMBER",
- 3: "GMT_MANAGE",
- }
- MemberType_value = map[string]int32{
- "GMT_UNKNOWN": 0,
- "GMT_ADMIN": 1,
- "GMT_MEMBER": 2,
- "GMT_MANAGE": 3,
- }
- )
-
- func (x MemberType) Enum() *MemberType {
- p := new(MemberType)
- *p = x
- return p
- }
-
- func (x MemberType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (MemberType) Descriptor() protoreflect.EnumDescriptor {
- return file_logic_ext_proto_enumTypes[0].Descriptor()
- }
-
- func (MemberType) Type() protoreflect.EnumType {
- return &file_logic_ext_proto_enumTypes[0]
- }
-
- func (x MemberType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use MemberType.Descriptor instead.
- func (MemberType) EnumDescriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{0}
- }
-
- type AllMemberBannedType int32
-
- const (
- AllMemberBannedType_UNKNOWN_All_Member_Banned AllMemberBannedType = 0 // 未知
- AllMemberBannedType_YES_All_Member_Banned AllMemberBannedType = 1 // 是-全员禁言
- AllMemberBannedType_NOT_All_Member_Banned AllMemberBannedType = 2 // 否-全员禁言
- )
-
- // Enum value maps for AllMemberBannedType.
- var (
- AllMemberBannedType_name = map[int32]string{
- 0: "UNKNOWN_All_Member_Banned",
- 1: "YES_All_Member_Banned",
- 2: "NOT_All_Member_Banned",
- }
- AllMemberBannedType_value = map[string]int32{
- "UNKNOWN_All_Member_Banned": 0,
- "YES_All_Member_Banned": 1,
- "NOT_All_Member_Banned": 2,
- }
- )
-
- func (x AllMemberBannedType) Enum() *AllMemberBannedType {
- p := new(AllMemberBannedType)
- *p = x
- return p
- }
-
- func (x AllMemberBannedType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (AllMemberBannedType) Descriptor() protoreflect.EnumDescriptor {
- return file_logic_ext_proto_enumTypes[1].Descriptor()
- }
-
- func (AllMemberBannedType) Type() protoreflect.EnumType {
- return &file_logic_ext_proto_enumTypes[1]
- }
-
- func (x AllMemberBannedType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use AllMemberBannedType.Descriptor instead.
- func (AllMemberBannedType) EnumDescriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{1}
- }
-
- type AllAddFriendType int32
-
- const (
- AllAddFriendType_UNKNOWN_All_Add_Friend AllAddFriendType = 0 // 未知
- AllAddFriendType_YES_All_Add_Friend AllAddFriendType = 1 // 是-允许加好友
- AllAddFriendType_NOT_All_Add_Friend AllAddFriendType = 2 // 否-禁止加好友
- )
-
- // Enum value maps for AllAddFriendType.
- var (
- AllAddFriendType_name = map[int32]string{
- 0: "UNKNOWN_All_Add_Friend",
- 1: "YES_All_Add_Friend",
- 2: "NOT_All_Add_Friend",
- }
- AllAddFriendType_value = map[string]int32{
- "UNKNOWN_All_Add_Friend": 0,
- "YES_All_Add_Friend": 1,
- "NOT_All_Add_Friend": 2,
- }
- )
-
- func (x AllAddFriendType) Enum() *AllAddFriendType {
- p := new(AllAddFriendType)
- *p = x
- return p
- }
-
- func (x AllAddFriendType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (AllAddFriendType) Descriptor() protoreflect.EnumDescriptor {
- return file_logic_ext_proto_enumTypes[2].Descriptor()
- }
-
- func (AllAddFriendType) Type() protoreflect.EnumType {
- return &file_logic_ext_proto_enumTypes[2]
- }
-
- func (x AllAddFriendType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use AllAddFriendType.Descriptor instead.
- func (AllAddFriendType) EnumDescriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{2}
- }
-
- type RegisterDeviceReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // 设备类型
- Brand string `protobuf:"bytes,3,opt,name=brand,proto3" json:"brand,omitempty"` // 厂商
- Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` // 机型
- SystemVersion string `protobuf:"bytes,5,opt,name=system_version,json=systemVersion,proto3" json:"system_version,omitempty"` // 系统版本
- SdkVersion string `protobuf:"bytes,6,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"` // sdk版本号
- }
-
- func (x *RegisterDeviceReq) Reset() {
- *x = RegisterDeviceReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *RegisterDeviceReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*RegisterDeviceReq) ProtoMessage() {}
-
- func (x *RegisterDeviceReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use RegisterDeviceReq.ProtoReflect.Descriptor instead.
- func (*RegisterDeviceReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{0}
- }
-
- func (x *RegisterDeviceReq) GetType() int32 {
- if x != nil {
- return x.Type
- }
- return 0
- }
-
- func (x *RegisterDeviceReq) GetBrand() string {
- if x != nil {
- return x.Brand
- }
- return ""
- }
-
- func (x *RegisterDeviceReq) GetModel() string {
- if x != nil {
- return x.Model
- }
- return ""
- }
-
- func (x *RegisterDeviceReq) GetSystemVersion() string {
- if x != nil {
- return x.SystemVersion
- }
- return ""
- }
-
- func (x *RegisterDeviceReq) GetSdkVersion() string {
- if x != nil {
- return x.SdkVersion
- }
- return ""
- }
-
- type RegisterDeviceResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- DeviceId int64 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
- }
-
- func (x *RegisterDeviceResp) Reset() {
- *x = RegisterDeviceResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *RegisterDeviceResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*RegisterDeviceResp) ProtoMessage() {}
-
- func (x *RegisterDeviceResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use RegisterDeviceResp.ProtoReflect.Descriptor instead.
- func (*RegisterDeviceResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{1}
- }
-
- func (x *RegisterDeviceResp) GetDeviceId() int64 {
- if x != nil {
- return x.DeviceId
- }
- return 0
- }
-
- type SendMessageReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ReceiverType ReceiverType `protobuf:"varint,1,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
- ReceiverId int64 `protobuf:"varint,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
- ToUserIds []int64 `protobuf:"varint,3,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 需要@的用户id列表
- MessageType MessageType `protobuf:"varint,4,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
- MessageContent []byte `protobuf:"bytes,5,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
- SendTime int64 `protobuf:"varint,6,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
- IsPersist bool `protobuf:"varint,7,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化到数据库
- MessageContentBack string `protobuf:"bytes,8,opt,name=message_content_back,json=messageContentBack,proto3" json:"message_content_back,omitempty"`
- }
-
- func (x *SendMessageReq) Reset() {
- *x = SendMessageReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SendMessageReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SendMessageReq) ProtoMessage() {}
-
- func (x *SendMessageReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SendMessageReq.ProtoReflect.Descriptor instead.
- func (*SendMessageReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{2}
- }
-
- func (x *SendMessageReq) GetReceiverType() ReceiverType {
- if x != nil {
- return x.ReceiverType
- }
- return ReceiverType_RT_UNKNOWN
- }
-
- func (x *SendMessageReq) GetReceiverId() int64 {
- if x != nil {
- return x.ReceiverId
- }
- return 0
- }
-
- func (x *SendMessageReq) GetToUserIds() []int64 {
- if x != nil {
- return x.ToUserIds
- }
- return nil
- }
-
- func (x *SendMessageReq) GetMessageType() MessageType {
- if x != nil {
- return x.MessageType
- }
- return MessageType_MT_UNKNOWN
- }
-
- func (x *SendMessageReq) GetMessageContent() []byte {
- if x != nil {
- return x.MessageContent
- }
- return nil
- }
-
- func (x *SendMessageReq) GetSendTime() int64 {
- if x != nil {
- return x.SendTime
- }
- return 0
- }
-
- func (x *SendMessageReq) GetIsPersist() bool {
- if x != nil {
- return x.IsPersist
- }
- return false
- }
-
- func (x *SendMessageReq) GetMessageContentBack() string {
- if x != nil {
- return x.MessageContentBack
- }
- return ""
- }
-
- type SendMessageResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 消息序列号
- }
-
- func (x *SendMessageResp) Reset() {
- *x = SendMessageResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SendMessageResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SendMessageResp) ProtoMessage() {}
-
- func (x *SendMessageResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SendMessageResp.ProtoReflect.Descriptor instead.
- func (*SendMessageResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{3}
- }
-
- func (x *SendMessageResp) GetSeq() int64 {
- if x != nil {
- return x.Seq
- }
- return 0
- }
-
- type RecallMessageReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ReceiverType ReceiverType `protobuf:"varint,1,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
- ReceiverId int64 `protobuf:"varint,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
- ToUserIds []int64 `protobuf:"varint,3,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 需要@的用户id列表
- MessageType MessageType `protobuf:"varint,4,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
- MessageContent []byte `protobuf:"bytes,5,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
- SendTime int64 `protobuf:"varint,6,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
- IsPersist bool `protobuf:"varint,7,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化到数据库
- MessageContentBack string `protobuf:"bytes,8,opt,name=message_content_back,json=messageContentBack,proto3" json:"message_content_back,omitempty"`
- }
-
- func (x *RecallMessageReq) Reset() {
- *x = RecallMessageReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *RecallMessageReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*RecallMessageReq) ProtoMessage() {}
-
- func (x *RecallMessageReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use RecallMessageReq.ProtoReflect.Descriptor instead.
- func (*RecallMessageReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{4}
- }
-
- func (x *RecallMessageReq) GetReceiverType() ReceiverType {
- if x != nil {
- return x.ReceiverType
- }
- return ReceiverType_RT_UNKNOWN
- }
-
- func (x *RecallMessageReq) GetReceiverId() int64 {
- if x != nil {
- return x.ReceiverId
- }
- return 0
- }
-
- func (x *RecallMessageReq) GetToUserIds() []int64 {
- if x != nil {
- return x.ToUserIds
- }
- return nil
- }
-
- func (x *RecallMessageReq) GetMessageType() MessageType {
- if x != nil {
- return x.MessageType
- }
- return MessageType_MT_UNKNOWN
- }
-
- func (x *RecallMessageReq) GetMessageContent() []byte {
- if x != nil {
- return x.MessageContent
- }
- return nil
- }
-
- func (x *RecallMessageReq) GetSendTime() int64 {
- if x != nil {
- return x.SendTime
- }
- return 0
- }
-
- func (x *RecallMessageReq) GetIsPersist() bool {
- if x != nil {
- return x.IsPersist
- }
- return false
- }
-
- func (x *RecallMessageReq) GetMessageContentBack() string {
- if x != nil {
- return x.MessageContentBack
- }
- return ""
- }
-
- type RecallMessageResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 消息序列号
- }
-
- func (x *RecallMessageResp) Reset() {
- *x = RecallMessageResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *RecallMessageResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*RecallMessageResp) ProtoMessage() {}
-
- func (x *RecallMessageResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use RecallMessageResp.ProtoReflect.Descriptor instead.
- func (*RecallMessageResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{5}
- }
-
- func (x *RecallMessageResp) GetSeq() int64 {
- if x != nil {
- return x.Seq
- }
- return 0
- }
-
- type SendRedPacketReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ReceiverType ReceiverType `protobuf:"varint,1,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
- ReceiverId int64 `protobuf:"varint,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
- MessageType MessageType `protobuf:"varint,3,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
- MessageContent []byte `protobuf:"bytes,4,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
- SendTime int64 `protobuf:"varint,5,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
- ToUserIds []int64 `protobuf:"varint,6,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 红包给到哪些用户(专属红包)
- MessageContentBack string `protobuf:"bytes,7,opt,name=message_content_back,json=messageContentBack,proto3" json:"message_content_back,omitempty"`
- }
-
- func (x *SendRedPacketReq) Reset() {
- *x = SendRedPacketReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SendRedPacketReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SendRedPacketReq) ProtoMessage() {}
-
- func (x *SendRedPacketReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SendRedPacketReq.ProtoReflect.Descriptor instead.
- func (*SendRedPacketReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{6}
- }
-
- func (x *SendRedPacketReq) GetReceiverType() ReceiverType {
- if x != nil {
- return x.ReceiverType
- }
- return ReceiverType_RT_UNKNOWN
- }
-
- func (x *SendRedPacketReq) GetReceiverId() int64 {
- if x != nil {
- return x.ReceiverId
- }
- return 0
- }
-
- func (x *SendRedPacketReq) GetMessageType() MessageType {
- if x != nil {
- return x.MessageType
- }
- return MessageType_MT_UNKNOWN
- }
-
- func (x *SendRedPacketReq) GetMessageContent() []byte {
- if x != nil {
- return x.MessageContent
- }
- return nil
- }
-
- func (x *SendRedPacketReq) GetSendTime() int64 {
- if x != nil {
- return x.SendTime
- }
- return 0
- }
-
- func (x *SendRedPacketReq) GetToUserIds() []int64 {
- if x != nil {
- return x.ToUserIds
- }
- return nil
- }
-
- func (x *SendRedPacketReq) GetMessageContentBack() string {
- if x != nil {
- return x.MessageContentBack
- }
- return ""
- }
-
- type SendRedPacketResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 消息序列号
- }
-
- func (x *SendRedPacketResp) Reset() {
- *x = SendRedPacketResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SendRedPacketResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SendRedPacketResp) ProtoMessage() {}
-
- func (x *SendRedPacketResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SendRedPacketResp.ProtoReflect.Descriptor instead.
- func (*SendRedPacketResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{7}
- }
-
- func (x *SendRedPacketResp) GetSeq() int64 {
- if x != nil {
- return x.Seq
- }
- return 0
- }
-
- type PushRoomReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // 房间id
- MessageType MessageType `protobuf:"varint,2,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
- MessageContent []byte `protobuf:"bytes,3,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
- SendTime int64 `protobuf:"varint,4,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
- IsPersist bool `protobuf:"varint,5,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化
- IsPriority bool `protobuf:"varint,6,opt,name=is_priority,json=isPriority,proto3" json:"is_priority,omitempty"` // 是否优先推送
- }
-
- func (x *PushRoomReq) Reset() {
- *x = PushRoomReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *PushRoomReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*PushRoomReq) ProtoMessage() {}
-
- func (x *PushRoomReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use PushRoomReq.ProtoReflect.Descriptor instead.
- func (*PushRoomReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{8}
- }
-
- func (x *PushRoomReq) GetRoomId() int64 {
- if x != nil {
- return x.RoomId
- }
- return 0
- }
-
- func (x *PushRoomReq) GetMessageType() MessageType {
- if x != nil {
- return x.MessageType
- }
- return MessageType_MT_UNKNOWN
- }
-
- func (x *PushRoomReq) GetMessageContent() []byte {
- if x != nil {
- return x.MessageContent
- }
- return nil
- }
-
- func (x *PushRoomReq) GetSendTime() int64 {
- if x != nil {
- return x.SendTime
- }
- return 0
- }
-
- func (x *PushRoomReq) GetIsPersist() bool {
- if x != nil {
- return x.IsPersist
- }
- return false
- }
-
- func (x *PushRoomReq) GetIsPriority() bool {
- if x != nil {
- return x.IsPriority
- }
- return false
- }
-
- type AddFriendReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 用户id
- Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 描述
- }
-
- func (x *AddFriendReq) Reset() {
- *x = AddFriendReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *AddFriendReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*AddFriendReq) ProtoMessage() {}
-
- func (x *AddFriendReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use AddFriendReq.ProtoReflect.Descriptor instead.
- func (*AddFriendReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{9}
- }
-
- func (x *AddFriendReq) GetFriendId() int64 {
- if x != nil {
- return x.FriendId
- }
- return 0
- }
-
- func (x *AddFriendReq) GetRemarks() string {
- if x != nil {
- return x.Remarks
- }
- return ""
- }
-
- func (x *AddFriendReq) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
-
- type DeleteFriendReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
- }
-
- func (x *DeleteFriendReq) Reset() {
- *x = DeleteFriendReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *DeleteFriendReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*DeleteFriendReq) ProtoMessage() {}
-
- func (x *DeleteFriendReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use DeleteFriendReq.ProtoReflect.Descriptor instead.
- func (*DeleteFriendReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{10}
- }
-
- func (x *DeleteFriendReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- type AgreeAddFriendReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
- Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
- }
-
- func (x *AgreeAddFriendReq) Reset() {
- *x = AgreeAddFriendReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *AgreeAddFriendReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*AgreeAddFriendReq) ProtoMessage() {}
-
- func (x *AgreeAddFriendReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use AgreeAddFriendReq.ProtoReflect.Descriptor instead.
- func (*AgreeAddFriendReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{11}
- }
-
- func (x *AgreeAddFriendReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- func (x *AgreeAddFriendReq) GetRemarks() string {
- if x != nil {
- return x.Remarks
- }
- return ""
- }
-
- type SetFriendReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
- Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
- Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
- }
-
- func (x *SetFriendReq) Reset() {
- *x = SetFriendReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SetFriendReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SetFriendReq) ProtoMessage() {}
-
- func (x *SetFriendReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SetFriendReq.ProtoReflect.Descriptor instead.
- func (*SetFriendReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{12}
- }
-
- func (x *SetFriendReq) GetFriendId() int64 {
- if x != nil {
- return x.FriendId
- }
- return 0
- }
-
- func (x *SetFriendReq) GetRemarks() string {
- if x != nil {
- return x.Remarks
- }
- return ""
- }
-
- func (x *SetFriendReq) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- type SetFriendResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
- Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
- Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
- }
-
- func (x *SetFriendResp) Reset() {
- *x = SetFriendResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SetFriendResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SetFriendResp) ProtoMessage() {}
-
- func (x *SetFriendResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SetFriendResp.ProtoReflect.Descriptor instead.
- func (*SetFriendResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{13}
- }
-
- func (x *SetFriendResp) GetFriendId() int64 {
- if x != nil {
- return x.FriendId
- }
- return 0
- }
-
- func (x *SetFriendResp) GetRemarks() string {
- if x != nil {
- return x.Remarks
- }
- return ""
- }
-
- func (x *SetFriendResp) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- type Friend struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
- PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 电话号码
- Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
- Sex int32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
- AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
- UserExtra string `protobuf:"bytes,6,opt,name=user_extra,json=userExtra,proto3" json:"user_extra,omitempty"` // 用户附加字段
- Remarks string `protobuf:"bytes,7,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
- Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
- }
-
- func (x *Friend) Reset() {
- *x = Friend{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Friend) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Friend) ProtoMessage() {}
-
- func (x *Friend) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use Friend.ProtoReflect.Descriptor instead.
- func (*Friend) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{14}
- }
-
- func (x *Friend) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- func (x *Friend) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
- }
-
- func (x *Friend) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
-
- func (x *Friend) GetSex() int32 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
-
- func (x *Friend) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- func (x *Friend) GetUserExtra() string {
- if x != nil {
- return x.UserExtra
- }
- return ""
- }
-
- func (x *Friend) GetRemarks() string {
- if x != nil {
- return x.Remarks
- }
- return ""
- }
-
- func (x *Friend) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- type GetFriendsResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Friends []*Friend `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"`
- }
-
- func (x *GetFriendsResp) Reset() {
- *x = GetFriendsResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GetFriendsResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GetFriendsResp) ProtoMessage() {}
-
- func (x *GetFriendsResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GetFriendsResp.ProtoReflect.Descriptor instead.
- func (*GetFriendsResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{15}
- }
-
- func (x *GetFriendsResp) GetFriends() []*Friend {
- if x != nil {
- return x.Friends
- }
- return nil
- }
-
- type CreateGroupReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称
- AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
- Introduction string `protobuf:"bytes,3,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
- Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
- MemberIds []int64 `protobuf:"varint,5,rep,packed,name=member_ids,json=memberIds,proto3" json:"member_ids,omitempty"` // 群组成员ID列表
- }
-
- func (x *CreateGroupReq) Reset() {
- *x = CreateGroupReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *CreateGroupReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*CreateGroupReq) ProtoMessage() {}
-
- func (x *CreateGroupReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use CreateGroupReq.ProtoReflect.Descriptor instead.
- func (*CreateGroupReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{16}
- }
-
- func (x *CreateGroupReq) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
-
- func (x *CreateGroupReq) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- func (x *CreateGroupReq) GetIntroduction() string {
- if x != nil {
- return x.Introduction
- }
- return ""
- }
-
- func (x *CreateGroupReq) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- func (x *CreateGroupReq) GetMemberIds() []int64 {
- if x != nil {
- return x.MemberIds
- }
- return nil
- }
-
- type CreateGroupResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
- }
-
- func (x *CreateGroupResp) Reset() {
- *x = CreateGroupResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *CreateGroupResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*CreateGroupResp) ProtoMessage() {}
-
- func (x *CreateGroupResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[17]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use CreateGroupResp.ProtoReflect.Descriptor instead.
- func (*CreateGroupResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{17}
- }
-
- func (x *CreateGroupResp) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- type UpdateGroupReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
- AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 名称
- Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
- Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
- }
-
- func (x *UpdateGroupReq) Reset() {
- *x = UpdateGroupReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *UpdateGroupReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*UpdateGroupReq) ProtoMessage() {}
-
- func (x *UpdateGroupReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[18]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use UpdateGroupReq.ProtoReflect.Descriptor instead.
- func (*UpdateGroupReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{18}
- }
-
- func (x *UpdateGroupReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *UpdateGroupReq) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- func (x *UpdateGroupReq) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
-
- func (x *UpdateGroupReq) GetIntroduction() string {
- if x != nil {
- return x.Introduction
- }
- return ""
- }
-
- func (x *UpdateGroupReq) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- type GetGroupReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- }
-
- func (x *GetGroupReq) Reset() {
- *x = GetGroupReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GetGroupReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GetGroupReq) ProtoMessage() {}
-
- func (x *GetGroupReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[19]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GetGroupReq.ProtoReflect.Descriptor instead.
- func (*GetGroupReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{19}
- }
-
- func (x *GetGroupReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- type GetGroupResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
- MemberType MemberType `protobuf:"varint,2,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"`
- GroupUserStatusType GroupUserStatusType `protobuf:"varint,3,opt,name=group_user_status_type,json=groupUserStatusType,proto3,enum=pb.GroupUserStatusType" json:"group_user_status_type,omitempty"`
- GroupNotice *GroupNotice `protobuf:"bytes,4,opt,name=group_notice,json=groupNotice,proto3" json:"group_notice,omitempty"` //群公告
- }
-
- func (x *GetGroupResp) Reset() {
- *x = GetGroupResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GetGroupResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GetGroupResp) ProtoMessage() {}
-
- func (x *GetGroupResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[20]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GetGroupResp.ProtoReflect.Descriptor instead.
- func (*GetGroupResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{20}
- }
-
- func (x *GetGroupResp) GetGroup() *Group {
- if x != nil {
- return x.Group
- }
- return nil
- }
-
- func (x *GetGroupResp) GetMemberType() MemberType {
- if x != nil {
- return x.MemberType
- }
- return MemberType_GMT_UNKNOWN
- }
-
- func (x *GetGroupResp) GetGroupUserStatusType() GroupUserStatusType {
- if x != nil {
- return x.GroupUserStatusType
- }
- return GroupUserStatusType_GROUP_USER_STATUS_NORMAL
- }
-
- func (x *GetGroupResp) GetGroupNotice() *GroupNotice {
- if x != nil {
- return x.GroupNotice
- }
- return nil
- }
-
- type GroupNotice struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` //公告内容
- PublishType GroupNoticePublishType `protobuf:"varint,2,opt,name=publish_type,json=publishType,proto3,enum=pb.GroupNoticePublishType" json:"publish_type,omitempty"` // 发布方式
- PublishTime string `protobuf:"bytes,3,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"` // 发布时间
- }
-
- func (x *GroupNotice) Reset() {
- *x = GroupNotice{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GroupNotice) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GroupNotice) ProtoMessage() {}
-
- func (x *GroupNotice) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[21]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GroupNotice.ProtoReflect.Descriptor instead.
- func (*GroupNotice) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{21}
- }
-
- func (x *GroupNotice) GetContent() string {
- if x != nil {
- return x.Content
- }
- return ""
- }
-
- func (x *GroupNotice) GetPublishType() GroupNoticePublishType {
- if x != nil {
- return x.PublishType
- }
- return GroupNoticePublishType_UNKNOWN_PUBLISH
- }
-
- func (x *GroupNotice) GetPublishTime() string {
- if x != nil {
- return x.PublishTime
- }
- return ""
- }
-
- type Group struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
- AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
- Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
- UserMum int32 `protobuf:"varint,5,opt,name=user_mum,json=userMum,proto3" json:"user_mum,omitempty"` // 用户数
- IsAllMemberBanned int32 `protobuf:"varint,6,opt,name=is_all_member_banned,json=isAllMemberBanned,proto3" json:"is_all_member_banned,omitempty"` // 是否全员禁言(1:是 2:否)
- IsAllAddFriend int32 `protobuf:"varint,10,opt,name=is_all_add_friend,json=isAllAddFriend,proto3" json:"is_all_add_friend,omitempty"` // 是否允许加好友(1:是 2:否)
- Extra string `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
- CreateTime int64 `protobuf:"varint,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 创建时间
- UpdateTime int64 `protobuf:"varint,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // 更新时间
- }
-
- func (x *Group) Reset() {
- *x = Group{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Group) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Group) ProtoMessage() {}
-
- func (x *Group) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[22]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use Group.ProtoReflect.Descriptor instead.
- func (*Group) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{22}
- }
-
- func (x *Group) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *Group) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
-
- func (x *Group) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- func (x *Group) GetIntroduction() string {
- if x != nil {
- return x.Introduction
- }
- return ""
- }
-
- func (x *Group) GetUserMum() int32 {
- if x != nil {
- return x.UserMum
- }
- return 0
- }
-
- func (x *Group) GetIsAllMemberBanned() int32 {
- if x != nil {
- return x.IsAllMemberBanned
- }
- return 0
- }
-
- func (x *Group) GetIsAllAddFriend() int32 {
- if x != nil {
- return x.IsAllAddFriend
- }
- return 0
- }
-
- func (x *Group) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- func (x *Group) GetCreateTime() int64 {
- if x != nil {
- return x.CreateTime
- }
- return 0
- }
-
- func (x *Group) GetUpdateTime() int64 {
- if x != nil {
- return x.UpdateTime
- }
- return 0
- }
-
- type GetGroupsResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
- }
-
- func (x *GetGroupsResp) Reset() {
- *x = GetGroupsResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GetGroupsResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GetGroupsResp) ProtoMessage() {}
-
- func (x *GetGroupsResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[23]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GetGroupsResp.ProtoReflect.Descriptor instead.
- func (*GetGroupsResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{23}
- }
-
- func (x *GetGroupsResp) GetGroups() []*Group {
- if x != nil {
- return x.Groups
- }
- return nil
- }
-
- type AddGroupMembersReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
- UserIds []int64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 用户id列表
- }
-
- func (x *AddGroupMembersReq) Reset() {
- *x = AddGroupMembersReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *AddGroupMembersReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*AddGroupMembersReq) ProtoMessage() {}
-
- func (x *AddGroupMembersReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[24]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use AddGroupMembersReq.ProtoReflect.Descriptor instead.
- func (*AddGroupMembersReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{24}
- }
-
- func (x *AddGroupMembersReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *AddGroupMembersReq) GetUserIds() []int64 {
- if x != nil {
- return x.UserIds
- }
- return nil
- }
-
- type AddGroupMembersResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- UserIds []int64 `protobuf:"varint,1,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 已经在群组的用户id列表
- }
-
- func (x *AddGroupMembersResp) Reset() {
- *x = AddGroupMembersResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *AddGroupMembersResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*AddGroupMembersResp) ProtoMessage() {}
-
- func (x *AddGroupMembersResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[25]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use AddGroupMembersResp.ProtoReflect.Descriptor instead.
- func (*AddGroupMembersResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{25}
- }
-
- func (x *AddGroupMembersResp) GetUserIds() []int64 {
- if x != nil {
- return x.UserIds
- }
- return nil
- }
-
- type UpdateGroupMemberReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
- UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
- MemberType MemberType `protobuf:"varint,3,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"` // 成员类型
- Remarks string `protobuf:"bytes,4,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
- Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
- }
-
- func (x *UpdateGroupMemberReq) Reset() {
- *x = UpdateGroupMemberReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *UpdateGroupMemberReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*UpdateGroupMemberReq) ProtoMessage() {}
-
- func (x *UpdateGroupMemberReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[26]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use UpdateGroupMemberReq.ProtoReflect.Descriptor instead.
- func (*UpdateGroupMemberReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{26}
- }
-
- func (x *UpdateGroupMemberReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *UpdateGroupMemberReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- func (x *UpdateGroupMemberReq) GetMemberType() MemberType {
- if x != nil {
- return x.MemberType
- }
- return MemberType_GMT_UNKNOWN
- }
-
- func (x *UpdateGroupMemberReq) GetRemarks() string {
- if x != nil {
- return x.Remarks
- }
- return ""
- }
-
- func (x *UpdateGroupMemberReq) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- type DeleteGroupMemberReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
- UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
- }
-
- func (x *DeleteGroupMemberReq) Reset() {
- *x = DeleteGroupMemberReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *DeleteGroupMemberReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*DeleteGroupMemberReq) ProtoMessage() {}
-
- func (x *DeleteGroupMemberReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[27]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use DeleteGroupMemberReq.ProtoReflect.Descriptor instead.
- func (*DeleteGroupMemberReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{27}
- }
-
- func (x *DeleteGroupMemberReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *DeleteGroupMemberReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- type GetGroupMembersReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
- }
-
- func (x *GetGroupMembersReq) Reset() {
- *x = GetGroupMembersReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GetGroupMembersReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GetGroupMembersReq) ProtoMessage() {}
-
- func (x *GetGroupMembersReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[28]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GetGroupMembersReq.ProtoReflect.Descriptor instead.
- func (*GetGroupMembersReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{28}
- }
-
- func (x *GetGroupMembersReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *GetGroupMembersReq) GetLimit() int64 {
- if x != nil {
- return x.Limit
- }
- return 0
- }
-
- type GetGroupMembersResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
- }
-
- func (x *GetGroupMembersResp) Reset() {
- *x = GetGroupMembersResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[29]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GetGroupMembersResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GetGroupMembersResp) ProtoMessage() {}
-
- func (x *GetGroupMembersResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[29]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GetGroupMembersResp.ProtoReflect.Descriptor instead.
- func (*GetGroupMembersResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{29}
- }
-
- func (x *GetGroupMembersResp) GetMembers() []*GroupMember {
- if x != nil {
- return x.Members
- }
- return nil
- }
-
- type GroupMember struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
- Sex int32 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
- AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
- UserExtra string `protobuf:"bytes,5,opt,name=user_extra,json=userExtra,proto3" json:"user_extra,omitempty"` // 用户附加字段
- MemberType MemberType `protobuf:"varint,6,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"` // 成员类型
- Remarks string `protobuf:"bytes,7,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
- Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 群组成员附加字段
- Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` // 状态
- }
-
- func (x *GroupMember) Reset() {
- *x = GroupMember{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[30]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GroupMember) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GroupMember) ProtoMessage() {}
-
- func (x *GroupMember) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[30]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GroupMember.ProtoReflect.Descriptor instead.
- func (*GroupMember) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{30}
- }
-
- func (x *GroupMember) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- func (x *GroupMember) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
-
- func (x *GroupMember) GetSex() int32 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
-
- func (x *GroupMember) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- func (x *GroupMember) GetUserExtra() string {
- if x != nil {
- return x.UserExtra
- }
- return ""
- }
-
- func (x *GroupMember) GetMemberType() MemberType {
- if x != nil {
- return x.MemberType
- }
- return MemberType_GMT_UNKNOWN
- }
-
- func (x *GroupMember) GetRemarks() string {
- if x != nil {
- return x.Remarks
- }
- return ""
- }
-
- func (x *GroupMember) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- func (x *GroupMember) GetStatus() int32 {
- if x != nil {
- return x.Status
- }
- return 0
- }
-
- type SetGroupMemberBannedReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
- UserIds []int64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 用户id列表
- 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:否)
- }
-
- func (x *SetGroupMemberBannedReq) Reset() {
- *x = SetGroupMemberBannedReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[31]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SetGroupMemberBannedReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SetGroupMemberBannedReq) ProtoMessage() {}
-
- func (x *SetGroupMemberBannedReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[31]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SetGroupMemberBannedReq.ProtoReflect.Descriptor instead.
- func (*SetGroupMemberBannedReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{31}
- }
-
- func (x *SetGroupMemberBannedReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *SetGroupMemberBannedReq) GetUserIds() []int64 {
- if x != nil {
- return x.UserIds
- }
- return nil
- }
-
- func (x *SetGroupMemberBannedReq) GetIsAllMemberBanned() AllMemberBannedType {
- if x != nil {
- return x.IsAllMemberBanned
- }
- return AllMemberBannedType_UNKNOWN_All_Member_Banned
- }
-
- type SetGroupMemberRemoveBannedReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
- RemoveUserIds []int64 `protobuf:"varint,2,rep,packed,name=remove_user_ids,json=removeUserIds,proto3" json:"remove_user_ids,omitempty"` // 解除用户id列表
- }
-
- func (x *SetGroupMemberRemoveBannedReq) Reset() {
- *x = SetGroupMemberRemoveBannedReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[32]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SetGroupMemberRemoveBannedReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SetGroupMemberRemoveBannedReq) ProtoMessage() {}
-
- func (x *SetGroupMemberRemoveBannedReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[32]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SetGroupMemberRemoveBannedReq.ProtoReflect.Descriptor instead.
- func (*SetGroupMemberRemoveBannedReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{32}
- }
-
- func (x *SetGroupMemberRemoveBannedReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *SetGroupMemberRemoveBannedReq) GetRemoveUserIds() []int64 {
- if x != nil {
- return x.RemoveUserIds
- }
- return nil
- }
-
- type SetGroupMemberBannedResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- 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:否)
- Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` //禁言人员列表
- }
-
- func (x *SetGroupMemberBannedResp) Reset() {
- *x = SetGroupMemberBannedResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[33]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SetGroupMemberBannedResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SetGroupMemberBannedResp) ProtoMessage() {}
-
- func (x *SetGroupMemberBannedResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[33]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SetGroupMemberBannedResp.ProtoReflect.Descriptor instead.
- func (*SetGroupMemberBannedResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{33}
- }
-
- func (x *SetGroupMemberBannedResp) GetIsAllMemberBanned() AllMemberBannedType {
- if x != nil {
- return x.IsAllMemberBanned
- }
- return AllMemberBannedType_UNKNOWN_All_Member_Banned
- }
-
- func (x *SetGroupMemberBannedResp) GetMembers() []*GroupMember {
- if x != nil {
- return x.Members
- }
- return nil
- }
-
- type GetGroupBannedMembersReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- }
-
- func (x *GetGroupBannedMembersReq) Reset() {
- *x = GetGroupBannedMembersReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[34]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GetGroupBannedMembersReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GetGroupBannedMembersReq) ProtoMessage() {}
-
- func (x *GetGroupBannedMembersReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[34]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GetGroupBannedMembersReq.ProtoReflect.Descriptor instead.
- func (*GetGroupBannedMembersReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{34}
- }
-
- func (x *GetGroupBannedMembersReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- type GetGroupBannedMembersResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
- }
-
- func (x *GetGroupBannedMembersResp) Reset() {
- *x = GetGroupBannedMembersResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[35]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GetGroupBannedMembersResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GetGroupBannedMembersResp) ProtoMessage() {}
-
- func (x *GetGroupBannedMembersResp) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[35]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GetGroupBannedMembersResp.ProtoReflect.Descriptor instead.
- func (*GetGroupBannedMembersResp) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{35}
- }
-
- func (x *GetGroupBannedMembersResp) GetMembers() []*GroupMember {
- if x != nil {
- return x.Members
- }
- return nil
- }
-
- type SetGroupAddFriendReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
- IsAllAddFriend AllAddFriendType `protobuf:"varint,2,opt,name=is_all_add_friend,json=isAllAddFriend,proto3,enum=pb.AllAddFriendType" json:"is_all_add_friend,omitempty"` // 是否允许加好友(1:是 2:否)
- }
-
- func (x *SetGroupAddFriendReq) Reset() {
- *x = SetGroupAddFriendReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_logic_ext_proto_msgTypes[36]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SetGroupAddFriendReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SetGroupAddFriendReq) ProtoMessage() {}
-
- func (x *SetGroupAddFriendReq) ProtoReflect() protoreflect.Message {
- mi := &file_logic_ext_proto_msgTypes[36]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SetGroupAddFriendReq.ProtoReflect.Descriptor instead.
- func (*SetGroupAddFriendReq) Descriptor() ([]byte, []int) {
- return file_logic_ext_proto_rawDescGZIP(), []int{36}
- }
-
- func (x *SetGroupAddFriendReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *SetGroupAddFriendReq) GetIsAllAddFriend() AllAddFriendType {
- if x != nil {
- return x.IsAllAddFriend
- }
- return AllAddFriendType_UNKNOWN_All_Add_Friend
- }
-
- var File_logic_ext_proto protoreflect.FileDescriptor
-
- var file_logic_ext_proto_rawDesc = []byte{
- 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x2e,
- 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
- 0x6e, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6e,
- 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b,
- 0x01, 0x0a, 0x11, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63,
- 0x65, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e,
- 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x14,
- 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d,
- 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76,
- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79,
- 0x73, 0x74, 0x65, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73,
- 0x64, 0x6b, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0a, 0x73, 0x64, 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x0a, 0x12,
- 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65,
- 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x22,
- 0xd3, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
- 0x65, 0x71, 0x12, 0x35, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52,
- 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63,
- 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63,
- 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
- 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x6f,
- 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52,
- 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
- 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27,
- 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
- 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f,
- 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64,
- 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x69,
- 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73,
- 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63,
- 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x12, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
- 0x74, 0x42, 0x61, 0x63, 0x6b, 0x22, 0x23, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xd5, 0x02, 0x0a, 0x10, 0x52,
- 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12,
- 0x35, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65,
- 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76,
- 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76,
- 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63,
- 0x65, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73,
- 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f,
- 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e,
- 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e,
- 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d,
- 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d,
- 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74,
- 0x12, 0x30, 0x0a, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
- 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x61,
- 0x63, 0x6b, 0x22, 0x25, 0x0a, 0x11, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xb6, 0x02, 0x0a, 0x10, 0x53, 0x65,
- 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x35,
- 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69,
- 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
- 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
- 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65,
- 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70,
- 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74,
- 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
- 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18,
- 0x06, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73,
- 0x12, 0x30, 0x0a, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
- 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x61,
- 0x63, 0x6b, 0x22, 0x25, 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63,
- 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xe0, 0x01, 0x0a, 0x0b, 0x50, 0x75,
- 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f,
- 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d,
- 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79,
- 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
- 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
- 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
- 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69,
- 0x73, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x0a, 0x69, 0x73, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x67, 0x0a, 0x0c,
- 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09,
- 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x08, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d,
- 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61,
- 0x72, 0x6b, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2a, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46,
- 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72,
- 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
- 0x64, 0x22, 0x46, 0x0a, 0x11, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69,
- 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
- 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x22, 0x5b, 0x0a, 0x0c, 0x53, 0x65, 0x74,
- 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69,
- 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72,
- 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b,
- 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
- 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x5c, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69,
- 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e,
- 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65,
- 0x6e, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14,
- 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
- 0x78, 0x74, 0x72, 0x61, 0x22, 0xe0, 0x01, 0x0a, 0x06, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12,
- 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e,
- 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
- 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
- 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e,
- 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
- 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
- 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72,
- 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73,
- 0x65, 0x72, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72,
- 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b,
- 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x36, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x72,
- 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x07, 0x66, 0x72, 0x69,
- 0x65, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e,
- 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x22,
- 0x9c, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
- 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
- 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74,
- 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74,
- 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74,
- 0x72, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12,
- 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20,
- 0x03, 0x28, 0x03, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x2c,
- 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73,
- 0x70, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x98, 0x01, 0x0a,
- 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12,
- 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76,
- 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
- 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a,
- 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x28, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49,
- 0x64, 0x22, 0xe2, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
- 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72,
- 0x6f, 0x75, 0x70, 0x12, 0x2f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x79,
- 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65,
- 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x4c, 0x0a, 0x16, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x75, 0x73,
- 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x55,
- 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, 0x67,
- 0x72, 0x6f, 0x75, 0x70, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79,
- 0x70, 0x65, 0x12, 0x32, 0x0a, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x6f, 0x74, 0x69,
- 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70,
- 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70,
- 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
- 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
- 0x12, 0x3d, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75,
- 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79,
- 0x70, 0x65, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12,
- 0x21, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x69,
- 0x6d, 0x65, 0x22, 0xc8, 0x02, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x19, 0x0a, 0x08,
- 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
- 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61,
- 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e,
- 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19,
- 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6d, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x75, 0x6d, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x73, 0x5f,
- 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65,
- 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x4d, 0x65,
- 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x11, 0x69, 0x73,
- 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x18,
- 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x46,
- 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x07,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x32, 0x0a,
- 0x0d, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21,
- 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09,
- 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70,
- 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
- 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70,
- 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70,
- 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02,
- 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a,
- 0x13, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
- 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73,
- 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22,
- 0xab, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d,
- 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
- 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
- 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x0b,
- 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70,
- 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a,
- 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x4a, 0x0a,
- 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
- 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64,
- 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x12, 0x47, 0x65, 0x74,
- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12,
- 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69,
- 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
- 0x22, 0x40, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
- 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65,
- 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65,
- 0x72, 0x73, 0x22, 0x8b, 0x02, 0x0a, 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
- 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
- 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e,
- 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
- 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
- 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72,
- 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73,
- 0x65, 0x72, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x2f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65,
- 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70,
- 0x62, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65,
- 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61,
- 0x72, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72,
- 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x22, 0x99, 0x01, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
- 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08,
- 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
- 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f,
- 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49,
- 0x64, 0x73, 0x12, 0x48, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x65, 0x6d,
- 0x62, 0x65, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42,
- 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x69, 0x73, 0x41, 0x6c, 0x6c,
- 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x22, 0x62, 0x0a, 0x1d,
- 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65,
- 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a,
- 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f,
- 0x76, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
- 0x03, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73,
- 0x22, 0x8f, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
- 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x48, 0x0a,
- 0x14, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x62,
- 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x62,
- 0x2e, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64,
- 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65,
- 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65,
- 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65,
- 0x72, 0x73, 0x22, 0x35, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61,
- 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x19,
- 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x46, 0x0a, 0x19, 0x47, 0x65, 0x74,
- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65,
- 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72,
- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f,
- 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72,
- 0x73, 0x22, 0x72, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x64, 0x64,
- 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f,
- 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f,
- 0x75, 0x70, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x61,
- 0x64, 0x64, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e,
- 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x46,
- 0x72, 0x69, 0x65, 0x6e, 0x64, 0x2a, 0x4c, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54,
- 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
- 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x4d, 0x54, 0x5f, 0x41, 0x44, 0x4d, 0x49,
- 0x4e, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x4d, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45,
- 0x52, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x4d, 0x54, 0x5f, 0x4d, 0x41, 0x4e, 0x41, 0x47,
- 0x45, 0x10, 0x03, 0x2a, 0x6a, 0x0a, 0x13, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
- 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x4e,
- 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x41, 0x6c, 0x6c, 0x5f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
- 0x5f, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x59, 0x45, 0x53,
- 0x5f, 0x41, 0x6c, 0x6c, 0x5f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x42, 0x61, 0x6e, 0x6e,
- 0x65, 0x64, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x6c, 0x6c, 0x5f,
- 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x10, 0x02, 0x2a,
- 0x5e, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x54,
- 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x41,
- 0x6c, 0x6c, 0x5f, 0x41, 0x64, 0x64, 0x5f, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x10, 0x00, 0x12,
- 0x16, 0x0a, 0x12, 0x59, 0x45, 0x53, 0x5f, 0x41, 0x6c, 0x6c, 0x5f, 0x41, 0x64, 0x64, 0x5f, 0x46,
- 0x72, 0x69, 0x65, 0x6e, 0x64, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4e, 0x4f, 0x54, 0x5f, 0x41,
- 0x6c, 0x6c, 0x5f, 0x41, 0x64, 0x64, 0x5f, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x10, 0x02, 0x32,
- 0x81, 0x0a, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x45, 0x78, 0x74, 0x12, 0x3f, 0x0a, 0x0e,
- 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x15,
- 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69,
- 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73,
- 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36, 0x0a,
- 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x2e, 0x70,
- 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71,
- 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3c, 0x0a, 0x0d, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x61,
- 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x70,
- 0x62, 0x2e, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
- 0x65, 0x73, 0x70, 0x12, 0x26, 0x0a, 0x08, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x12,
- 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71,
- 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3c, 0x0a, 0x0d, 0x53,
- 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x14, 0x2e, 0x70,
- 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52,
- 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50,
- 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x28, 0x0a, 0x09, 0x41, 0x64, 0x64,
- 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x46,
- 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d,
- 0x70, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x0e, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46,
- 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x67, 0x72, 0x65, 0x65,
- 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70,
- 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74,
- 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c,
- 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70,
- 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x30, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x46, 0x72,
- 0x69, 0x65, 0x6e, 0x64, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69,
- 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x46,
- 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2b, 0x0a, 0x0a, 0x47, 0x65, 0x74,
- 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70,
- 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e,
- 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x43,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2c,
- 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x2e,
- 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
- 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x08,
- 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65,
- 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x47,
- 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x09, 0x47,
- 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d,
- 0x70, 0x74, 0x79, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75,
- 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f,
- 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x41,
- 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65,
- 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d,
- 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x11, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12,
- 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
- 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45,
- 0x6d, 0x70, 0x74, 0x79, 0x12, 0x38, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
- 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42,
- 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
- 0x73, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d,
- 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x47,
- 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x12, 0x52, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61,
- 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x2e, 0x70, 0x62,
- 0x2e, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42,
- 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65,
- 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e,
- 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4b, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f,
- 0x75, 0x70, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65,
- 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42,
- 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d,
- 0x70, 0x74, 0x79, 0x12, 0x54, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42,
- 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x1c, 0x2e, 0x70,
- 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64,
- 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e,
- 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65,
- 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x11, 0x53, 0x65, 0x74,
- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x18,
- 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x64, 0x64, 0x46,
- 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d,
- 0x70, 0x74, 0x79, 0x42, 0x10, 0x5a, 0x0e, 0x65, 0x67, 0x67, 0x2d, 0x69, 0x6d, 0x2f, 0x70, 0x6b,
- 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
-
- var (
- file_logic_ext_proto_rawDescOnce sync.Once
- file_logic_ext_proto_rawDescData = file_logic_ext_proto_rawDesc
- )
-
- func file_logic_ext_proto_rawDescGZIP() []byte {
- file_logic_ext_proto_rawDescOnce.Do(func() {
- file_logic_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_logic_ext_proto_rawDescData)
- })
- return file_logic_ext_proto_rawDescData
- }
-
- var file_logic_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
- var file_logic_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 37)
- var file_logic_ext_proto_goTypes = []interface{}{
- (MemberType)(0), // 0: pb.MemberType
- (AllMemberBannedType)(0), // 1: pb.AllMemberBannedType
- (AllAddFriendType)(0), // 2: pb.AllAddFriendType
- (*RegisterDeviceReq)(nil), // 3: pb.RegisterDeviceReq
- (*RegisterDeviceResp)(nil), // 4: pb.RegisterDeviceResp
- (*SendMessageReq)(nil), // 5: pb.SendMessageReq
- (*SendMessageResp)(nil), // 6: pb.SendMessageResp
- (*RecallMessageReq)(nil), // 7: pb.RecallMessageReq
- (*RecallMessageResp)(nil), // 8: pb.RecallMessageResp
- (*SendRedPacketReq)(nil), // 9: pb.SendRedPacketReq
- (*SendRedPacketResp)(nil), // 10: pb.SendRedPacketResp
- (*PushRoomReq)(nil), // 11: pb.PushRoomReq
- (*AddFriendReq)(nil), // 12: pb.AddFriendReq
- (*DeleteFriendReq)(nil), // 13: pb.DeleteFriendReq
- (*AgreeAddFriendReq)(nil), // 14: pb.AgreeAddFriendReq
- (*SetFriendReq)(nil), // 15: pb.SetFriendReq
- (*SetFriendResp)(nil), // 16: pb.SetFriendResp
- (*Friend)(nil), // 17: pb.Friend
- (*GetFriendsResp)(nil), // 18: pb.GetFriendsResp
- (*CreateGroupReq)(nil), // 19: pb.CreateGroupReq
- (*CreateGroupResp)(nil), // 20: pb.CreateGroupResp
- (*UpdateGroupReq)(nil), // 21: pb.UpdateGroupReq
- (*GetGroupReq)(nil), // 22: pb.GetGroupReq
- (*GetGroupResp)(nil), // 23: pb.GetGroupResp
- (*GroupNotice)(nil), // 24: pb.GroupNotice
- (*Group)(nil), // 25: pb.Group
- (*GetGroupsResp)(nil), // 26: pb.GetGroupsResp
- (*AddGroupMembersReq)(nil), // 27: pb.AddGroupMembersReq
- (*AddGroupMembersResp)(nil), // 28: pb.AddGroupMembersResp
- (*UpdateGroupMemberReq)(nil), // 29: pb.UpdateGroupMemberReq
- (*DeleteGroupMemberReq)(nil), // 30: pb.DeleteGroupMemberReq
- (*GetGroupMembersReq)(nil), // 31: pb.GetGroupMembersReq
- (*GetGroupMembersResp)(nil), // 32: pb.GetGroupMembersResp
- (*GroupMember)(nil), // 33: pb.GroupMember
- (*SetGroupMemberBannedReq)(nil), // 34: pb.SetGroupMemberBannedReq
- (*SetGroupMemberRemoveBannedReq)(nil), // 35: pb.SetGroupMemberRemoveBannedReq
- (*SetGroupMemberBannedResp)(nil), // 36: pb.SetGroupMemberBannedResp
- (*GetGroupBannedMembersReq)(nil), // 37: pb.GetGroupBannedMembersReq
- (*GetGroupBannedMembersResp)(nil), // 38: pb.GetGroupBannedMembersResp
- (*SetGroupAddFriendReq)(nil), // 39: pb.SetGroupAddFriendReq
- (ReceiverType)(0), // 40: pb.ReceiverType
- (MessageType)(0), // 41: pb.MessageType
- (GroupUserStatusType)(0), // 42: pb.GroupUserStatusType
- (GroupNoticePublishType)(0), // 43: pb.GroupNoticePublishType
- (*Empty)(nil), // 44: pb.Empty
- }
- var file_logic_ext_proto_depIdxs = []int32{
- 40, // 0: pb.SendMessageReq.receiver_type:type_name -> pb.ReceiverType
- 41, // 1: pb.SendMessageReq.message_type:type_name -> pb.MessageType
- 40, // 2: pb.RecallMessageReq.receiver_type:type_name -> pb.ReceiverType
- 41, // 3: pb.RecallMessageReq.message_type:type_name -> pb.MessageType
- 40, // 4: pb.SendRedPacketReq.receiver_type:type_name -> pb.ReceiverType
- 41, // 5: pb.SendRedPacketReq.message_type:type_name -> pb.MessageType
- 41, // 6: pb.PushRoomReq.message_type:type_name -> pb.MessageType
- 17, // 7: pb.GetFriendsResp.friends:type_name -> pb.Friend
- 25, // 8: pb.GetGroupResp.group:type_name -> pb.Group
- 0, // 9: pb.GetGroupResp.member_type:type_name -> pb.MemberType
- 42, // 10: pb.GetGroupResp.group_user_status_type:type_name -> pb.GroupUserStatusType
- 24, // 11: pb.GetGroupResp.group_notice:type_name -> pb.GroupNotice
- 43, // 12: pb.GroupNotice.publish_type:type_name -> pb.GroupNoticePublishType
- 25, // 13: pb.GetGroupsResp.groups:type_name -> pb.Group
- 0, // 14: pb.UpdateGroupMemberReq.member_type:type_name -> pb.MemberType
- 33, // 15: pb.GetGroupMembersResp.members:type_name -> pb.GroupMember
- 0, // 16: pb.GroupMember.member_type:type_name -> pb.MemberType
- 1, // 17: pb.SetGroupMemberBannedReq.is_all_member_banned:type_name -> pb.AllMemberBannedType
- 1, // 18: pb.SetGroupMemberBannedResp.is_all_member_banned:type_name -> pb.AllMemberBannedType
- 33, // 19: pb.SetGroupMemberBannedResp.members:type_name -> pb.GroupMember
- 33, // 20: pb.GetGroupBannedMembersResp.members:type_name -> pb.GroupMember
- 2, // 21: pb.SetGroupAddFriendReq.is_all_add_friend:type_name -> pb.AllAddFriendType
- 3, // 22: pb.LogicExt.RegisterDevice:input_type -> pb.RegisterDeviceReq
- 5, // 23: pb.LogicExt.SendMessage:input_type -> pb.SendMessageReq
- 7, // 24: pb.LogicExt.RecallMessage:input_type -> pb.RecallMessageReq
- 11, // 25: pb.LogicExt.PushRoom:input_type -> pb.PushRoomReq
- 9, // 26: pb.LogicExt.SendRedPacket:input_type -> pb.SendRedPacketReq
- 12, // 27: pb.LogicExt.AddFriend:input_type -> pb.AddFriendReq
- 14, // 28: pb.LogicExt.AgreeAddFriend:input_type -> pb.AgreeAddFriendReq
- 13, // 29: pb.LogicExt.DeleteFriend:input_type -> pb.DeleteFriendReq
- 15, // 30: pb.LogicExt.SetFriend:input_type -> pb.SetFriendReq
- 44, // 31: pb.LogicExt.GetFriends:input_type -> pb.Empty
- 19, // 32: pb.LogicExt.CreateGroup:input_type -> pb.CreateGroupReq
- 21, // 33: pb.LogicExt.UpdateGroup:input_type -> pb.UpdateGroupReq
- 22, // 34: pb.LogicExt.GetGroup:input_type -> pb.GetGroupReq
- 44, // 35: pb.LogicExt.GetGroups:input_type -> pb.Empty
- 27, // 36: pb.LogicExt.AddGroupMembers:input_type -> pb.AddGroupMembersReq
- 29, // 37: pb.LogicExt.UpdateGroupMember:input_type -> pb.UpdateGroupMemberReq
- 30, // 38: pb.LogicExt.DeleteGroupMember:input_type -> pb.DeleteGroupMemberReq
- 31, // 39: pb.LogicExt.GetGroupMembers:input_type -> pb.GetGroupMembersReq
- 34, // 40: pb.LogicExt.SetGroupBannedMembers:input_type -> pb.SetGroupMemberBannedReq
- 35, // 41: pb.LogicExt.SetGroupRemoveBannedMembers:input_type -> pb.SetGroupMemberRemoveBannedReq
- 37, // 42: pb.LogicExt.GetGroupBannedMembers:input_type -> pb.GetGroupBannedMembersReq
- 39, // 43: pb.LogicExt.SetGroupAddFriend:input_type -> pb.SetGroupAddFriendReq
- 4, // 44: pb.LogicExt.RegisterDevice:output_type -> pb.RegisterDeviceResp
- 6, // 45: pb.LogicExt.SendMessage:output_type -> pb.SendMessageResp
- 8, // 46: pb.LogicExt.RecallMessage:output_type -> pb.RecallMessageResp
- 44, // 47: pb.LogicExt.PushRoom:output_type -> pb.Empty
- 10, // 48: pb.LogicExt.SendRedPacket:output_type -> pb.SendRedPacketResp
- 44, // 49: pb.LogicExt.AddFriend:output_type -> pb.Empty
- 44, // 50: pb.LogicExt.AgreeAddFriend:output_type -> pb.Empty
- 44, // 51: pb.LogicExt.DeleteFriend:output_type -> pb.Empty
- 16, // 52: pb.LogicExt.SetFriend:output_type -> pb.SetFriendResp
- 18, // 53: pb.LogicExt.GetFriends:output_type -> pb.GetFriendsResp
- 20, // 54: pb.LogicExt.CreateGroup:output_type -> pb.CreateGroupResp
- 44, // 55: pb.LogicExt.UpdateGroup:output_type -> pb.Empty
- 23, // 56: pb.LogicExt.GetGroup:output_type -> pb.GetGroupResp
- 26, // 57: pb.LogicExt.GetGroups:output_type -> pb.GetGroupsResp
- 28, // 58: pb.LogicExt.AddGroupMembers:output_type -> pb.AddGroupMembersResp
- 44, // 59: pb.LogicExt.UpdateGroupMember:output_type -> pb.Empty
- 44, // 60: pb.LogicExt.DeleteGroupMember:output_type -> pb.Empty
- 32, // 61: pb.LogicExt.GetGroupMembers:output_type -> pb.GetGroupMembersResp
- 36, // 62: pb.LogicExt.SetGroupBannedMembers:output_type -> pb.SetGroupMemberBannedResp
- 44, // 63: pb.LogicExt.SetGroupRemoveBannedMembers:output_type -> pb.Empty
- 38, // 64: pb.LogicExt.GetGroupBannedMembers:output_type -> pb.GetGroupBannedMembersResp
- 44, // 65: pb.LogicExt.SetGroupAddFriend:output_type -> pb.Empty
- 44, // [44:66] is the sub-list for method output_type
- 22, // [22:44] is the sub-list for method input_type
- 22, // [22:22] is the sub-list for extension type_name
- 22, // [22:22] is the sub-list for extension extendee
- 0, // [0:22] is the sub-list for field type_name
- }
-
- func init() { file_logic_ext_proto_init() }
- func file_logic_ext_proto_init() {
- if File_logic_ext_proto != nil {
- return
- }
- file_business_ext_proto_init()
- file_common_ext_proto_init()
- file_connect_ext_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_logic_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RegisterDeviceReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RegisterDeviceResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SendMessageReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SendMessageResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RecallMessageReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RecallMessageResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SendRedPacketReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SendRedPacketResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PushRoomReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddFriendReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DeleteFriendReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AgreeAddFriendReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SetFriendReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SetFriendResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Friend); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetFriendsResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CreateGroupReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CreateGroupResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateGroupReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetGroupReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetGroupResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GroupNotice); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Group); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetGroupsResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddGroupMembersReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddGroupMembersResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateGroupMemberReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DeleteGroupMemberReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetGroupMembersReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetGroupMembersResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GroupMember); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SetGroupMemberBannedReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SetGroupMemberRemoveBannedReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SetGroupMemberBannedResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetGroupBannedMembersReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetGroupBannedMembersResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_logic_ext_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SetGroupAddFriendReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_logic_ext_proto_rawDesc,
- NumEnums: 3,
- NumMessages: 37,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_logic_ext_proto_goTypes,
- DependencyIndexes: file_logic_ext_proto_depIdxs,
- EnumInfos: file_logic_ext_proto_enumTypes,
- MessageInfos: file_logic_ext_proto_msgTypes,
- }.Build()
- File_logic_ext_proto = out.File
- file_logic_ext_proto_rawDesc = nil
- file_logic_ext_proto_goTypes = nil
- file_logic_ext_proto_depIdxs = nil
- }
-
-
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- // Requires gRPC-Go v1.32.0 or later.
- const _ = grpc.SupportPackageIsVersion7
-
- // LogicExtClient is the client API for LogicExt service.
- //
- // 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.
- type LogicExtClient interface {
- // 注册设备
- RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error)
- // 发送消息
- SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error)
- // 撤回消息
- RecallMessage(ctx context.Context, in *RecallMessageReq, opts ...grpc.CallOption) (*RecallMessageResp, error)
- // 推送消息到房间
- PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error)
- // 发送红包
- SendRedPacket(ctx context.Context, in *SendRedPacketReq, opts ...grpc.CallOption) (*SendRedPacketResp, error)
- // 添加好友
- AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error)
- // 同意添加好友
- AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error)
- // 删除好友
- DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*Empty, error)
- // 设置好友信息
- SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error)
- // 获取好友列表
- GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error)
- // 创建群组
- CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error)
- // 更新群组
- UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error)
- // 获取群组信息
- GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error)
- // 获取用户加入的所有群组
- GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error)
- // 添加群组成员
- AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error)
- // 更新群组成员信息
- UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
- // 删除群组成员
- DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
- // 获取群组成员
- GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error)
- // 设置禁言
- SetGroupBannedMembers(ctx context.Context, in *SetGroupMemberBannedReq, opts ...grpc.CallOption) (*SetGroupMemberBannedResp, error)
- // 取消禁言
- SetGroupRemoveBannedMembers(ctx context.Context, in *SetGroupMemberRemoveBannedReq, opts ...grpc.CallOption) (*Empty, error)
- // 获取群组禁言成员
- GetGroupBannedMembers(ctx context.Context, in *GetGroupBannedMembersReq, opts ...grpc.CallOption) (*GetGroupBannedMembersResp, error)
- // 设置是否加好友
- SetGroupAddFriend(ctx context.Context, in *SetGroupAddFriendReq, opts ...grpc.CallOption) (*Empty, error)
- }
-
- type logicExtClient struct {
- cc grpc.ClientConnInterface
- }
-
- func NewLogicExtClient(cc grpc.ClientConnInterface) LogicExtClient {
- return &logicExtClient{cc}
- }
-
- func (c *logicExtClient) RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error) {
- out := new(RegisterDeviceResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/RegisterDevice", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error) {
- out := new(SendMessageResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/SendMessage", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) RecallMessage(ctx context.Context, in *RecallMessageReq, opts ...grpc.CallOption) (*RecallMessageResp, error) {
- out := new(RecallMessageResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/RecallMessage", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/PushRoom", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) SendRedPacket(ctx context.Context, in *SendRedPacketReq, opts ...grpc.CallOption) (*SendRedPacketResp, error) {
- out := new(SendRedPacketResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/SendRedPacket", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/AddFriend", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/AgreeAddFriend", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/DeleteFriend", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error) {
- out := new(SetFriendResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/SetFriend", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error) {
- out := new(GetFriendsResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/GetFriends", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error) {
- out := new(CreateGroupResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/CreateGroup", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroup", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error) {
- out := new(GetGroupResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroup", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error) {
- out := new(GetGroupsResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroups", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error) {
- out := new(AddGroupMembersResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/AddGroupMembers", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroupMember", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/DeleteGroupMember", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error) {
- out := new(GetGroupMembersResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroupMembers", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) SetGroupBannedMembers(ctx context.Context, in *SetGroupMemberBannedReq, opts ...grpc.CallOption) (*SetGroupMemberBannedResp, error) {
- out := new(SetGroupMemberBannedResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/SetGroupBannedMembers", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) SetGroupRemoveBannedMembers(ctx context.Context, in *SetGroupMemberRemoveBannedReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/SetGroupRemoveBannedMembers", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) GetGroupBannedMembers(ctx context.Context, in *GetGroupBannedMembersReq, opts ...grpc.CallOption) (*GetGroupBannedMembersResp, error) {
- out := new(GetGroupBannedMembersResp)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroupBannedMembers", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *logicExtClient) SetGroupAddFriend(ctx context.Context, in *SetGroupAddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.LogicExt/SetGroupAddFriend", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- // LogicExtServer is the server API for LogicExt service.
- // All implementations must embed UnimplementedLogicExtServer
- // for forward compatibility
- type LogicExtServer interface {
- // 注册设备
- RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error)
- // 发送消息
- SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error)
- // 撤回消息
- RecallMessage(context.Context, *RecallMessageReq) (*RecallMessageResp, error)
- // 推送消息到房间
- PushRoom(context.Context, *PushRoomReq) (*Empty, error)
- // 发送红包
- SendRedPacket(context.Context, *SendRedPacketReq) (*SendRedPacketResp, error)
- // 添加好友
- AddFriend(context.Context, *AddFriendReq) (*Empty, error)
- // 同意添加好友
- AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error)
- // 删除好友
- DeleteFriend(context.Context, *DeleteFriendReq) (*Empty, error)
- // 设置好友信息
- SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error)
- // 获取好友列表
- GetFriends(context.Context, *Empty) (*GetFriendsResp, error)
- // 创建群组
- CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error)
- // 更新群组
- UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error)
- // 获取群组信息
- GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error)
- // 获取用户加入的所有群组
- GetGroups(context.Context, *Empty) (*GetGroupsResp, error)
- // 添加群组成员
- AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error)
- // 更新群组成员信息
- UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error)
- // 删除群组成员
- DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error)
- // 获取群组成员
- GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error)
- // 设置禁言
- SetGroupBannedMembers(context.Context, *SetGroupMemberBannedReq) (*SetGroupMemberBannedResp, error)
- // 取消禁言
- SetGroupRemoveBannedMembers(context.Context, *SetGroupMemberRemoveBannedReq) (*Empty, error)
- // 获取群组禁言成员
- GetGroupBannedMembers(context.Context, *GetGroupBannedMembersReq) (*GetGroupBannedMembersResp, error)
- // 设置是否加好友
- SetGroupAddFriend(context.Context, *SetGroupAddFriendReq) (*Empty, error)
- }
-
- // UnimplementedLogicExtServer must be embedded to have forward compatible implementations.
- type UnimplementedLogicExtServer struct {
- }
-
- func (UnimplementedLogicExtServer) RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RegisterDevice not implemented")
- }
- func (UnimplementedLogicExtServer) SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented")
- }
- func (UnimplementedLogicExtServer) RecallMessage(context.Context, *RecallMessageReq) (*RecallMessageResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RecallMessage not implemented")
- }
- func (UnimplementedLogicExtServer) PushRoom(context.Context, *PushRoomReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method PushRoom not implemented")
- }
- func (UnimplementedLogicExtServer) SendRedPacket(context.Context, *SendRedPacketReq) (*SendRedPacketResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SendRedPacket not implemented")
- }
- func (UnimplementedLogicExtServer) AddFriend(context.Context, *AddFriendReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AddFriend not implemented")
- }
- func (UnimplementedLogicExtServer) AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AgreeAddFriend not implemented")
- }
- func (UnimplementedLogicExtServer) DeleteFriend(context.Context, *DeleteFriendReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteFriend not implemented")
- }
- func (UnimplementedLogicExtServer) SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SetFriend not implemented")
- }
- func (UnimplementedLogicExtServer) GetFriends(context.Context, *Empty) (*GetFriendsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetFriends not implemented")
- }
- func (UnimplementedLogicExtServer) CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateGroup not implemented")
- }
- func (UnimplementedLogicExtServer) UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateGroup not implemented")
- }
- func (UnimplementedLogicExtServer) GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented")
- }
- func (UnimplementedLogicExtServer) GetGroups(context.Context, *Empty) (*GetGroupsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetGroups not implemented")
- }
- func (UnimplementedLogicExtServer) AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AddGroupMembers not implemented")
- }
- func (UnimplementedLogicExtServer) UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateGroupMember not implemented")
- }
- func (UnimplementedLogicExtServer) DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteGroupMember not implemented")
- }
- func (UnimplementedLogicExtServer) GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetGroupMembers not implemented")
- }
- func (UnimplementedLogicExtServer) SetGroupBannedMembers(context.Context, *SetGroupMemberBannedReq) (*SetGroupMemberBannedResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SetGroupBannedMembers not implemented")
- }
- func (UnimplementedLogicExtServer) SetGroupRemoveBannedMembers(context.Context, *SetGroupMemberRemoveBannedReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SetGroupRemoveBannedMembers not implemented")
- }
- func (UnimplementedLogicExtServer) GetGroupBannedMembers(context.Context, *GetGroupBannedMembersReq) (*GetGroupBannedMembersResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetGroupBannedMembers not implemented")
- }
- func (UnimplementedLogicExtServer) SetGroupAddFriend(context.Context, *SetGroupAddFriendReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SetGroupAddFriend not implemented")
- }
-
- func RegisterLogicExtServer(s grpc.ServiceRegistrar, srv LogicExtServer) {
- s.RegisterService(&LogicExt_ServiceDesc, srv)
- }
-
- func _LogicExt_RegisterDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RegisterDeviceReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).RegisterDevice(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/RegisterDevice",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).RegisterDevice(ctx, req.(*RegisterDeviceReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SendMessageReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).SendMessage(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/SendMessage",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).SendMessage(ctx, req.(*SendMessageReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_RecallMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RecallMessageReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).RecallMessage(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/RecallMessage",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).RecallMessage(ctx, req.(*RecallMessageReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_PushRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(PushRoomReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).PushRoom(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/PushRoom",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).PushRoom(ctx, req.(*PushRoomReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_SendRedPacket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SendRedPacketReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).SendRedPacket(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/SendRedPacket",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).SendRedPacket(ctx, req.(*SendRedPacketReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_AddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AddFriendReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).AddFriend(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/AddFriend",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).AddFriend(ctx, req.(*AddFriendReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_AgreeAddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AgreeAddFriendReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).AgreeAddFriend(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/AgreeAddFriend",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).AgreeAddFriend(ctx, req.(*AgreeAddFriendReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_DeleteFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteFriendReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).DeleteFriend(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/DeleteFriend",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).DeleteFriend(ctx, req.(*DeleteFriendReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_SetFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetFriendReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).SetFriend(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/SetFriend",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).SetFriend(ctx, req.(*SetFriendReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_GetFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).GetFriends(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/GetFriends",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).GetFriends(ctx, req.(*Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateGroupReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).CreateGroup(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/CreateGroup",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).CreateGroup(ctx, req.(*CreateGroupReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateGroupReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).UpdateGroup(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/UpdateGroup",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).UpdateGroup(ctx, req.(*UpdateGroupReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetGroupReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).GetGroup(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/GetGroup",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).GetGroup(ctx, req.(*GetGroupReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_GetGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).GetGroups(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/GetGroups",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).GetGroups(ctx, req.(*Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_AddGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AddGroupMembersReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).AddGroupMembers(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/AddGroupMembers",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).AddGroupMembers(ctx, req.(*AddGroupMembersReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_UpdateGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateGroupMemberReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).UpdateGroupMember(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/UpdateGroupMember",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).UpdateGroupMember(ctx, req.(*UpdateGroupMemberReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_DeleteGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteGroupMemberReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).DeleteGroupMember(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/DeleteGroupMember",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).DeleteGroupMember(ctx, req.(*DeleteGroupMemberReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_GetGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetGroupMembersReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).GetGroupMembers(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/GetGroupMembers",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).GetGroupMembers(ctx, req.(*GetGroupMembersReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_SetGroupBannedMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetGroupMemberBannedReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).SetGroupBannedMembers(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/SetGroupBannedMembers",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).SetGroupBannedMembers(ctx, req.(*SetGroupMemberBannedReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_SetGroupRemoveBannedMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetGroupMemberRemoveBannedReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).SetGroupRemoveBannedMembers(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/SetGroupRemoveBannedMembers",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).SetGroupRemoveBannedMembers(ctx, req.(*SetGroupMemberRemoveBannedReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_GetGroupBannedMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetGroupBannedMembersReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).GetGroupBannedMembers(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/GetGroupBannedMembers",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).GetGroupBannedMembers(ctx, req.(*GetGroupBannedMembersReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _LogicExt_SetGroupAddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetGroupAddFriendReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(LogicExtServer).SetGroupAddFriend(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.LogicExt/SetGroupAddFriend",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(LogicExtServer).SetGroupAddFriend(ctx, req.(*SetGroupAddFriendReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- // LogicExt_ServiceDesc is the grpc.ServiceDesc for LogicExt service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var LogicExt_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "pb.LogicExt",
- HandlerType: (*LogicExtServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "RegisterDevice",
- Handler: _LogicExt_RegisterDevice_Handler,
- },
- {
- MethodName: "SendMessage",
- Handler: _LogicExt_SendMessage_Handler,
- },
- {
- MethodName: "RecallMessage",
- Handler: _LogicExt_RecallMessage_Handler,
- },
- {
- MethodName: "PushRoom",
- Handler: _LogicExt_PushRoom_Handler,
- },
- {
- MethodName: "SendRedPacket",
- Handler: _LogicExt_SendRedPacket_Handler,
- },
- {
- MethodName: "AddFriend",
- Handler: _LogicExt_AddFriend_Handler,
- },
- {
- MethodName: "AgreeAddFriend",
- Handler: _LogicExt_AgreeAddFriend_Handler,
- },
- {
- MethodName: "DeleteFriend",
- Handler: _LogicExt_DeleteFriend_Handler,
- },
- {
- MethodName: "SetFriend",
- Handler: _LogicExt_SetFriend_Handler,
- },
- {
- MethodName: "GetFriends",
- Handler: _LogicExt_GetFriends_Handler,
- },
- {
- MethodName: "CreateGroup",
- Handler: _LogicExt_CreateGroup_Handler,
- },
- {
- MethodName: "UpdateGroup",
- Handler: _LogicExt_UpdateGroup_Handler,
- },
- {
- MethodName: "GetGroup",
- Handler: _LogicExt_GetGroup_Handler,
- },
- {
- MethodName: "GetGroups",
- Handler: _LogicExt_GetGroups_Handler,
- },
- {
- MethodName: "AddGroupMembers",
- Handler: _LogicExt_AddGroupMembers_Handler,
- },
- {
- MethodName: "UpdateGroupMember",
- Handler: _LogicExt_UpdateGroupMember_Handler,
- },
- {
- MethodName: "DeleteGroupMember",
- Handler: _LogicExt_DeleteGroupMember_Handler,
- },
- {
- MethodName: "GetGroupMembers",
- Handler: _LogicExt_GetGroupMembers_Handler,
- },
- {
- MethodName: "SetGroupBannedMembers",
- Handler: _LogicExt_SetGroupBannedMembers_Handler,
- },
- {
- MethodName: "SetGroupRemoveBannedMembers",
- Handler: _LogicExt_SetGroupRemoveBannedMembers_Handler,
- },
- {
- MethodName: "GetGroupBannedMembers",
- Handler: _LogicExt_GetGroupBannedMembers_Handler,
- },
- {
- MethodName: "SetGroupAddFriend",
- Handler: _LogicExt_SetGroupAddFriend_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "logic.ext.proto",
- }
|