golang-im聊天
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

logic.ext.pb.go 102 KiB

2 anni fa
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.14.0
  5. // source: logic.ext.proto
  6. package pb
  7. import (
  8. context "context"
  9. grpc "google.golang.org/grpc"
  10. codes "google.golang.org/grpc/codes"
  11. status "google.golang.org/grpc/status"
  12. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  13. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  14. reflect "reflect"
  15. sync "sync"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. type MemberType int32
  24. const (
  25. MemberType_GMT_UNKNOWN MemberType = 0 // 未知
  26. MemberType_GMT_ADMIN MemberType = 1 // 管理员
  27. MemberType_GMT_MEMBER MemberType = 2 // 成员
  28. )
  29. // Enum value maps for MemberType.
  30. var (
  31. MemberType_name = map[int32]string{
  32. 0: "GMT_UNKNOWN",
  33. 1: "GMT_ADMIN",
  34. 2: "GMT_MEMBER",
  35. }
  36. MemberType_value = map[string]int32{
  37. "GMT_UNKNOWN": 0,
  38. "GMT_ADMIN": 1,
  39. "GMT_MEMBER": 2,
  40. }
  41. )
  42. func (x MemberType) Enum() *MemberType {
  43. p := new(MemberType)
  44. *p = x
  45. return p
  46. }
  47. func (x MemberType) String() string {
  48. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  49. }
  50. func (MemberType) Descriptor() protoreflect.EnumDescriptor {
  51. return file_logic_ext_proto_enumTypes[0].Descriptor()
  52. }
  53. func (MemberType) Type() protoreflect.EnumType {
  54. return &file_logic_ext_proto_enumTypes[0]
  55. }
  56. func (x MemberType) Number() protoreflect.EnumNumber {
  57. return protoreflect.EnumNumber(x)
  58. }
  59. // Deprecated: Use MemberType.Descriptor instead.
  60. func (MemberType) EnumDescriptor() ([]byte, []int) {
  61. return file_logic_ext_proto_rawDescGZIP(), []int{0}
  62. }
  63. type RegisterDeviceReq struct {
  64. state protoimpl.MessageState
  65. sizeCache protoimpl.SizeCache
  66. unknownFields protoimpl.UnknownFields
  67. Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // 设备类型
  68. Brand string `protobuf:"bytes,3,opt,name=brand,proto3" json:"brand,omitempty"` // 厂商
  69. Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` // 机型
  70. SystemVersion string `protobuf:"bytes,5,opt,name=system_version,json=systemVersion,proto3" json:"system_version,omitempty"` // 系统版本
  71. SdkVersion string `protobuf:"bytes,6,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"` // sdk版本号
  72. }
  73. func (x *RegisterDeviceReq) Reset() {
  74. *x = RegisterDeviceReq{}
  75. if protoimpl.UnsafeEnabled {
  76. mi := &file_logic_ext_proto_msgTypes[0]
  77. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  78. ms.StoreMessageInfo(mi)
  79. }
  80. }
  81. func (x *RegisterDeviceReq) String() string {
  82. return protoimpl.X.MessageStringOf(x)
  83. }
  84. func (*RegisterDeviceReq) ProtoMessage() {}
  85. func (x *RegisterDeviceReq) ProtoReflect() protoreflect.Message {
  86. mi := &file_logic_ext_proto_msgTypes[0]
  87. if protoimpl.UnsafeEnabled && x != nil {
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. if ms.LoadMessageInfo() == nil {
  90. ms.StoreMessageInfo(mi)
  91. }
  92. return ms
  93. }
  94. return mi.MessageOf(x)
  95. }
  96. // Deprecated: Use RegisterDeviceReq.ProtoReflect.Descriptor instead.
  97. func (*RegisterDeviceReq) Descriptor() ([]byte, []int) {
  98. return file_logic_ext_proto_rawDescGZIP(), []int{0}
  99. }
  100. func (x *RegisterDeviceReq) GetType() int32 {
  101. if x != nil {
  102. return x.Type
  103. }
  104. return 0
  105. }
  106. func (x *RegisterDeviceReq) GetBrand() string {
  107. if x != nil {
  108. return x.Brand
  109. }
  110. return ""
  111. }
  112. func (x *RegisterDeviceReq) GetModel() string {
  113. if x != nil {
  114. return x.Model
  115. }
  116. return ""
  117. }
  118. func (x *RegisterDeviceReq) GetSystemVersion() string {
  119. if x != nil {
  120. return x.SystemVersion
  121. }
  122. return ""
  123. }
  124. func (x *RegisterDeviceReq) GetSdkVersion() string {
  125. if x != nil {
  126. return x.SdkVersion
  127. }
  128. return ""
  129. }
  130. type RegisterDeviceResp struct {
  131. state protoimpl.MessageState
  132. sizeCache protoimpl.SizeCache
  133. unknownFields protoimpl.UnknownFields
  134. DeviceId int64 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
  135. }
  136. func (x *RegisterDeviceResp) Reset() {
  137. *x = RegisterDeviceResp{}
  138. if protoimpl.UnsafeEnabled {
  139. mi := &file_logic_ext_proto_msgTypes[1]
  140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  141. ms.StoreMessageInfo(mi)
  142. }
  143. }
  144. func (x *RegisterDeviceResp) String() string {
  145. return protoimpl.X.MessageStringOf(x)
  146. }
  147. func (*RegisterDeviceResp) ProtoMessage() {}
  148. func (x *RegisterDeviceResp) ProtoReflect() protoreflect.Message {
  149. mi := &file_logic_ext_proto_msgTypes[1]
  150. if protoimpl.UnsafeEnabled && x != nil {
  151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  152. if ms.LoadMessageInfo() == nil {
  153. ms.StoreMessageInfo(mi)
  154. }
  155. return ms
  156. }
  157. return mi.MessageOf(x)
  158. }
  159. // Deprecated: Use RegisterDeviceResp.ProtoReflect.Descriptor instead.
  160. func (*RegisterDeviceResp) Descriptor() ([]byte, []int) {
  161. return file_logic_ext_proto_rawDescGZIP(), []int{1}
  162. }
  163. func (x *RegisterDeviceResp) GetDeviceId() int64 {
  164. if x != nil {
  165. return x.DeviceId
  166. }
  167. return 0
  168. }
  169. type SendMessageReq struct {
  170. state protoimpl.MessageState
  171. sizeCache protoimpl.SizeCache
  172. unknownFields protoimpl.UnknownFields
  173. ReceiverType ReceiverType `protobuf:"varint,1,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
  174. ReceiverId int64 `protobuf:"varint,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
  175. ToUserIds []int64 `protobuf:"varint,3,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 需要@的用户id列表
  176. MessageType MessageType `protobuf:"varint,4,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  177. MessageContent []byte `protobuf:"bytes,5,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  178. SendTime int64 `protobuf:"varint,6,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  179. IsPersist bool `protobuf:"varint,7,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化到数据库
  180. }
  181. func (x *SendMessageReq) Reset() {
  182. *x = SendMessageReq{}
  183. if protoimpl.UnsafeEnabled {
  184. mi := &file_logic_ext_proto_msgTypes[2]
  185. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  186. ms.StoreMessageInfo(mi)
  187. }
  188. }
  189. func (x *SendMessageReq) String() string {
  190. return protoimpl.X.MessageStringOf(x)
  191. }
  192. func (*SendMessageReq) ProtoMessage() {}
  193. func (x *SendMessageReq) ProtoReflect() protoreflect.Message {
  194. mi := &file_logic_ext_proto_msgTypes[2]
  195. if protoimpl.UnsafeEnabled && x != nil {
  196. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  197. if ms.LoadMessageInfo() == nil {
  198. ms.StoreMessageInfo(mi)
  199. }
  200. return ms
  201. }
  202. return mi.MessageOf(x)
  203. }
  204. // Deprecated: Use SendMessageReq.ProtoReflect.Descriptor instead.
  205. func (*SendMessageReq) Descriptor() ([]byte, []int) {
  206. return file_logic_ext_proto_rawDescGZIP(), []int{2}
  207. }
  208. func (x *SendMessageReq) GetReceiverType() ReceiverType {
  209. if x != nil {
  210. return x.ReceiverType
  211. }
  212. return ReceiverType_RT_UNKNOWN
  213. }
  214. func (x *SendMessageReq) GetReceiverId() int64 {
  215. if x != nil {
  216. return x.ReceiverId
  217. }
  218. return 0
  219. }
  220. func (x *SendMessageReq) GetToUserIds() []int64 {
  221. if x != nil {
  222. return x.ToUserIds
  223. }
  224. return nil
  225. }
  226. func (x *SendMessageReq) GetMessageType() MessageType {
  227. if x != nil {
  228. return x.MessageType
  229. }
  230. return MessageType_MT_UNKNOWN
  231. }
  232. func (x *SendMessageReq) GetMessageContent() []byte {
  233. if x != nil {
  234. return x.MessageContent
  235. }
  236. return nil
  237. }
  238. func (x *SendMessageReq) GetSendTime() int64 {
  239. if x != nil {
  240. return x.SendTime
  241. }
  242. return 0
  243. }
  244. func (x *SendMessageReq) GetIsPersist() bool {
  245. if x != nil {
  246. return x.IsPersist
  247. }
  248. return false
  249. }
  250. type SendMessageResp struct {
  251. state protoimpl.MessageState
  252. sizeCache protoimpl.SizeCache
  253. unknownFields protoimpl.UnknownFields
  254. Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 消息序列号
  255. }
  256. func (x *SendMessageResp) Reset() {
  257. *x = SendMessageResp{}
  258. if protoimpl.UnsafeEnabled {
  259. mi := &file_logic_ext_proto_msgTypes[3]
  260. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  261. ms.StoreMessageInfo(mi)
  262. }
  263. }
  264. func (x *SendMessageResp) String() string {
  265. return protoimpl.X.MessageStringOf(x)
  266. }
  267. func (*SendMessageResp) ProtoMessage() {}
  268. func (x *SendMessageResp) ProtoReflect() protoreflect.Message {
  269. mi := &file_logic_ext_proto_msgTypes[3]
  270. if protoimpl.UnsafeEnabled && x != nil {
  271. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  272. if ms.LoadMessageInfo() == nil {
  273. ms.StoreMessageInfo(mi)
  274. }
  275. return ms
  276. }
  277. return mi.MessageOf(x)
  278. }
  279. // Deprecated: Use SendMessageResp.ProtoReflect.Descriptor instead.
  280. func (*SendMessageResp) Descriptor() ([]byte, []int) {
  281. return file_logic_ext_proto_rawDescGZIP(), []int{3}
  282. }
  283. func (x *SendMessageResp) GetSeq() int64 {
  284. if x != nil {
  285. return x.Seq
  286. }
  287. return 0
  288. }
  289. type PushRoomReq struct {
  290. state protoimpl.MessageState
  291. sizeCache protoimpl.SizeCache
  292. unknownFields protoimpl.UnknownFields
  293. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // 房间id
  294. MessageType MessageType `protobuf:"varint,2,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  295. MessageContent []byte `protobuf:"bytes,3,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  296. SendTime int64 `protobuf:"varint,4,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  297. IsPersist bool `protobuf:"varint,5,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化
  298. IsPriority bool `protobuf:"varint,6,opt,name=is_priority,json=isPriority,proto3" json:"is_priority,omitempty"` // 是否优先推送
  299. }
  300. func (x *PushRoomReq) Reset() {
  301. *x = PushRoomReq{}
  302. if protoimpl.UnsafeEnabled {
  303. mi := &file_logic_ext_proto_msgTypes[4]
  304. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  305. ms.StoreMessageInfo(mi)
  306. }
  307. }
  308. func (x *PushRoomReq) String() string {
  309. return protoimpl.X.MessageStringOf(x)
  310. }
  311. func (*PushRoomReq) ProtoMessage() {}
  312. func (x *PushRoomReq) ProtoReflect() protoreflect.Message {
  313. mi := &file_logic_ext_proto_msgTypes[4]
  314. if protoimpl.UnsafeEnabled && x != nil {
  315. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  316. if ms.LoadMessageInfo() == nil {
  317. ms.StoreMessageInfo(mi)
  318. }
  319. return ms
  320. }
  321. return mi.MessageOf(x)
  322. }
  323. // Deprecated: Use PushRoomReq.ProtoReflect.Descriptor instead.
  324. func (*PushRoomReq) Descriptor() ([]byte, []int) {
  325. return file_logic_ext_proto_rawDescGZIP(), []int{4}
  326. }
  327. func (x *PushRoomReq) GetRoomId() int64 {
  328. if x != nil {
  329. return x.RoomId
  330. }
  331. return 0
  332. }
  333. func (x *PushRoomReq) GetMessageType() MessageType {
  334. if x != nil {
  335. return x.MessageType
  336. }
  337. return MessageType_MT_UNKNOWN
  338. }
  339. func (x *PushRoomReq) GetMessageContent() []byte {
  340. if x != nil {
  341. return x.MessageContent
  342. }
  343. return nil
  344. }
  345. func (x *PushRoomReq) GetSendTime() int64 {
  346. if x != nil {
  347. return x.SendTime
  348. }
  349. return 0
  350. }
  351. func (x *PushRoomReq) GetIsPersist() bool {
  352. if x != nil {
  353. return x.IsPersist
  354. }
  355. return false
  356. }
  357. func (x *PushRoomReq) GetIsPriority() bool {
  358. if x != nil {
  359. return x.IsPriority
  360. }
  361. return false
  362. }
  363. type AddFriendReq struct {
  364. state protoimpl.MessageState
  365. sizeCache protoimpl.SizeCache
  366. unknownFields protoimpl.UnknownFields
  367. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 用户id
  368. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  369. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 描述
  370. }
  371. func (x *AddFriendReq) Reset() {
  372. *x = AddFriendReq{}
  373. if protoimpl.UnsafeEnabled {
  374. mi := &file_logic_ext_proto_msgTypes[5]
  375. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  376. ms.StoreMessageInfo(mi)
  377. }
  378. }
  379. func (x *AddFriendReq) String() string {
  380. return protoimpl.X.MessageStringOf(x)
  381. }
  382. func (*AddFriendReq) ProtoMessage() {}
  383. func (x *AddFriendReq) ProtoReflect() protoreflect.Message {
  384. mi := &file_logic_ext_proto_msgTypes[5]
  385. if protoimpl.UnsafeEnabled && x != nil {
  386. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  387. if ms.LoadMessageInfo() == nil {
  388. ms.StoreMessageInfo(mi)
  389. }
  390. return ms
  391. }
  392. return mi.MessageOf(x)
  393. }
  394. // Deprecated: Use AddFriendReq.ProtoReflect.Descriptor instead.
  395. func (*AddFriendReq) Descriptor() ([]byte, []int) {
  396. return file_logic_ext_proto_rawDescGZIP(), []int{5}
  397. }
  398. func (x *AddFriendReq) GetFriendId() int64 {
  399. if x != nil {
  400. return x.FriendId
  401. }
  402. return 0
  403. }
  404. func (x *AddFriendReq) GetRemarks() string {
  405. if x != nil {
  406. return x.Remarks
  407. }
  408. return ""
  409. }
  410. func (x *AddFriendReq) GetDescription() string {
  411. if x != nil {
  412. return x.Description
  413. }
  414. return ""
  415. }
  416. type AgreeAddFriendReq struct {
  417. state protoimpl.MessageState
  418. sizeCache protoimpl.SizeCache
  419. unknownFields protoimpl.UnknownFields
  420. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  421. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  422. }
  423. func (x *AgreeAddFriendReq) Reset() {
  424. *x = AgreeAddFriendReq{}
  425. if protoimpl.UnsafeEnabled {
  426. mi := &file_logic_ext_proto_msgTypes[6]
  427. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  428. ms.StoreMessageInfo(mi)
  429. }
  430. }
  431. func (x *AgreeAddFriendReq) String() string {
  432. return protoimpl.X.MessageStringOf(x)
  433. }
  434. func (*AgreeAddFriendReq) ProtoMessage() {}
  435. func (x *AgreeAddFriendReq) ProtoReflect() protoreflect.Message {
  436. mi := &file_logic_ext_proto_msgTypes[6]
  437. if protoimpl.UnsafeEnabled && x != nil {
  438. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  439. if ms.LoadMessageInfo() == nil {
  440. ms.StoreMessageInfo(mi)
  441. }
  442. return ms
  443. }
  444. return mi.MessageOf(x)
  445. }
  446. // Deprecated: Use AgreeAddFriendReq.ProtoReflect.Descriptor instead.
  447. func (*AgreeAddFriendReq) Descriptor() ([]byte, []int) {
  448. return file_logic_ext_proto_rawDescGZIP(), []int{6}
  449. }
  450. func (x *AgreeAddFriendReq) GetUserId() int64 {
  451. if x != nil {
  452. return x.UserId
  453. }
  454. return 0
  455. }
  456. func (x *AgreeAddFriendReq) GetRemarks() string {
  457. if x != nil {
  458. return x.Remarks
  459. }
  460. return ""
  461. }
  462. type SetFriendReq struct {
  463. state protoimpl.MessageState
  464. sizeCache protoimpl.SizeCache
  465. unknownFields protoimpl.UnknownFields
  466. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
  467. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  468. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  469. }
  470. func (x *SetFriendReq) Reset() {
  471. *x = SetFriendReq{}
  472. if protoimpl.UnsafeEnabled {
  473. mi := &file_logic_ext_proto_msgTypes[7]
  474. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  475. ms.StoreMessageInfo(mi)
  476. }
  477. }
  478. func (x *SetFriendReq) String() string {
  479. return protoimpl.X.MessageStringOf(x)
  480. }
  481. func (*SetFriendReq) ProtoMessage() {}
  482. func (x *SetFriendReq) ProtoReflect() protoreflect.Message {
  483. mi := &file_logic_ext_proto_msgTypes[7]
  484. if protoimpl.UnsafeEnabled && x != nil {
  485. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  486. if ms.LoadMessageInfo() == nil {
  487. ms.StoreMessageInfo(mi)
  488. }
  489. return ms
  490. }
  491. return mi.MessageOf(x)
  492. }
  493. // Deprecated: Use SetFriendReq.ProtoReflect.Descriptor instead.
  494. func (*SetFriendReq) Descriptor() ([]byte, []int) {
  495. return file_logic_ext_proto_rawDescGZIP(), []int{7}
  496. }
  497. func (x *SetFriendReq) GetFriendId() int64 {
  498. if x != nil {
  499. return x.FriendId
  500. }
  501. return 0
  502. }
  503. func (x *SetFriendReq) GetRemarks() string {
  504. if x != nil {
  505. return x.Remarks
  506. }
  507. return ""
  508. }
  509. func (x *SetFriendReq) GetExtra() string {
  510. if x != nil {
  511. return x.Extra
  512. }
  513. return ""
  514. }
  515. type SetFriendResp struct {
  516. state protoimpl.MessageState
  517. sizeCache protoimpl.SizeCache
  518. unknownFields protoimpl.UnknownFields
  519. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
  520. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  521. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  522. }
  523. func (x *SetFriendResp) Reset() {
  524. *x = SetFriendResp{}
  525. if protoimpl.UnsafeEnabled {
  526. mi := &file_logic_ext_proto_msgTypes[8]
  527. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  528. ms.StoreMessageInfo(mi)
  529. }
  530. }
  531. func (x *SetFriendResp) String() string {
  532. return protoimpl.X.MessageStringOf(x)
  533. }
  534. func (*SetFriendResp) ProtoMessage() {}
  535. func (x *SetFriendResp) ProtoReflect() protoreflect.Message {
  536. mi := &file_logic_ext_proto_msgTypes[8]
  537. if protoimpl.UnsafeEnabled && x != nil {
  538. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  539. if ms.LoadMessageInfo() == nil {
  540. ms.StoreMessageInfo(mi)
  541. }
  542. return ms
  543. }
  544. return mi.MessageOf(x)
  545. }
  546. // Deprecated: Use SetFriendResp.ProtoReflect.Descriptor instead.
  547. func (*SetFriendResp) Descriptor() ([]byte, []int) {
  548. return file_logic_ext_proto_rawDescGZIP(), []int{8}
  549. }
  550. func (x *SetFriendResp) GetFriendId() int64 {
  551. if x != nil {
  552. return x.FriendId
  553. }
  554. return 0
  555. }
  556. func (x *SetFriendResp) GetRemarks() string {
  557. if x != nil {
  558. return x.Remarks
  559. }
  560. return ""
  561. }
  562. func (x *SetFriendResp) GetExtra() string {
  563. if x != nil {
  564. return x.Extra
  565. }
  566. return ""
  567. }
  568. type Friend struct {
  569. state protoimpl.MessageState
  570. sizeCache protoimpl.SizeCache
  571. unknownFields protoimpl.UnknownFields
  572. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  573. PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 电话号码
  574. Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  575. Sex int32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  576. AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  577. UserExtra string `protobuf:"bytes,6,opt,name=user_extra,json=userExtra,proto3" json:"user_extra,omitempty"` // 用户附加字段
  578. Remarks string `protobuf:"bytes,7,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  579. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  580. }
  581. func (x *Friend) Reset() {
  582. *x = Friend{}
  583. if protoimpl.UnsafeEnabled {
  584. mi := &file_logic_ext_proto_msgTypes[9]
  585. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  586. ms.StoreMessageInfo(mi)
  587. }
  588. }
  589. func (x *Friend) String() string {
  590. return protoimpl.X.MessageStringOf(x)
  591. }
  592. func (*Friend) ProtoMessage() {}
  593. func (x *Friend) ProtoReflect() protoreflect.Message {
  594. mi := &file_logic_ext_proto_msgTypes[9]
  595. if protoimpl.UnsafeEnabled && x != nil {
  596. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  597. if ms.LoadMessageInfo() == nil {
  598. ms.StoreMessageInfo(mi)
  599. }
  600. return ms
  601. }
  602. return mi.MessageOf(x)
  603. }
  604. // Deprecated: Use Friend.ProtoReflect.Descriptor instead.
  605. func (*Friend) Descriptor() ([]byte, []int) {
  606. return file_logic_ext_proto_rawDescGZIP(), []int{9}
  607. }
  608. func (x *Friend) GetUserId() int64 {
  609. if x != nil {
  610. return x.UserId
  611. }
  612. return 0
  613. }
  614. func (x *Friend) GetPhoneNumber() string {
  615. if x != nil {
  616. return x.PhoneNumber
  617. }
  618. return ""
  619. }
  620. func (x *Friend) GetNickname() string {
  621. if x != nil {
  622. return x.Nickname
  623. }
  624. return ""
  625. }
  626. func (x *Friend) GetSex() int32 {
  627. if x != nil {
  628. return x.Sex
  629. }
  630. return 0
  631. }
  632. func (x *Friend) GetAvatarUrl() string {
  633. if x != nil {
  634. return x.AvatarUrl
  635. }
  636. return ""
  637. }
  638. func (x *Friend) GetUserExtra() string {
  639. if x != nil {
  640. return x.UserExtra
  641. }
  642. return ""
  643. }
  644. func (x *Friend) GetRemarks() string {
  645. if x != nil {
  646. return x.Remarks
  647. }
  648. return ""
  649. }
  650. func (x *Friend) GetExtra() string {
  651. if x != nil {
  652. return x.Extra
  653. }
  654. return ""
  655. }
  656. type GetFriendsResp struct {
  657. state protoimpl.MessageState
  658. sizeCache protoimpl.SizeCache
  659. unknownFields protoimpl.UnknownFields
  660. Friends []*Friend `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"`
  661. }
  662. func (x *GetFriendsResp) Reset() {
  663. *x = GetFriendsResp{}
  664. if protoimpl.UnsafeEnabled {
  665. mi := &file_logic_ext_proto_msgTypes[10]
  666. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  667. ms.StoreMessageInfo(mi)
  668. }
  669. }
  670. func (x *GetFriendsResp) String() string {
  671. return protoimpl.X.MessageStringOf(x)
  672. }
  673. func (*GetFriendsResp) ProtoMessage() {}
  674. func (x *GetFriendsResp) ProtoReflect() protoreflect.Message {
  675. mi := &file_logic_ext_proto_msgTypes[10]
  676. if protoimpl.UnsafeEnabled && x != nil {
  677. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  678. if ms.LoadMessageInfo() == nil {
  679. ms.StoreMessageInfo(mi)
  680. }
  681. return ms
  682. }
  683. return mi.MessageOf(x)
  684. }
  685. // Deprecated: Use GetFriendsResp.ProtoReflect.Descriptor instead.
  686. func (*GetFriendsResp) Descriptor() ([]byte, []int) {
  687. return file_logic_ext_proto_rawDescGZIP(), []int{10}
  688. }
  689. func (x *GetFriendsResp) GetFriends() []*Friend {
  690. if x != nil {
  691. return x.Friends
  692. }
  693. return nil
  694. }
  695. type CreateGroupReq struct {
  696. state protoimpl.MessageState
  697. sizeCache protoimpl.SizeCache
  698. unknownFields protoimpl.UnknownFields
  699. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称
  700. AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  701. Introduction string `protobuf:"bytes,3,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  702. Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  703. MemberIds []int64 `protobuf:"varint,5,rep,packed,name=member_ids,json=memberIds,proto3" json:"member_ids,omitempty"` // 群组成员ID列表
  704. }
  705. func (x *CreateGroupReq) Reset() {
  706. *x = CreateGroupReq{}
  707. if protoimpl.UnsafeEnabled {
  708. mi := &file_logic_ext_proto_msgTypes[11]
  709. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  710. ms.StoreMessageInfo(mi)
  711. }
  712. }
  713. func (x *CreateGroupReq) String() string {
  714. return protoimpl.X.MessageStringOf(x)
  715. }
  716. func (*CreateGroupReq) ProtoMessage() {}
  717. func (x *CreateGroupReq) ProtoReflect() protoreflect.Message {
  718. mi := &file_logic_ext_proto_msgTypes[11]
  719. if protoimpl.UnsafeEnabled && x != nil {
  720. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  721. if ms.LoadMessageInfo() == nil {
  722. ms.StoreMessageInfo(mi)
  723. }
  724. return ms
  725. }
  726. return mi.MessageOf(x)
  727. }
  728. // Deprecated: Use CreateGroupReq.ProtoReflect.Descriptor instead.
  729. func (*CreateGroupReq) Descriptor() ([]byte, []int) {
  730. return file_logic_ext_proto_rawDescGZIP(), []int{11}
  731. }
  732. func (x *CreateGroupReq) GetName() string {
  733. if x != nil {
  734. return x.Name
  735. }
  736. return ""
  737. }
  738. func (x *CreateGroupReq) GetAvatarUrl() string {
  739. if x != nil {
  740. return x.AvatarUrl
  741. }
  742. return ""
  743. }
  744. func (x *CreateGroupReq) GetIntroduction() string {
  745. if x != nil {
  746. return x.Introduction
  747. }
  748. return ""
  749. }
  750. func (x *CreateGroupReq) GetExtra() string {
  751. if x != nil {
  752. return x.Extra
  753. }
  754. return ""
  755. }
  756. func (x *CreateGroupReq) GetMemberIds() []int64 {
  757. if x != nil {
  758. return x.MemberIds
  759. }
  760. return nil
  761. }
  762. type CreateGroupResp struct {
  763. state protoimpl.MessageState
  764. sizeCache protoimpl.SizeCache
  765. unknownFields protoimpl.UnknownFields
  766. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  767. }
  768. func (x *CreateGroupResp) Reset() {
  769. *x = CreateGroupResp{}
  770. if protoimpl.UnsafeEnabled {
  771. mi := &file_logic_ext_proto_msgTypes[12]
  772. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  773. ms.StoreMessageInfo(mi)
  774. }
  775. }
  776. func (x *CreateGroupResp) String() string {
  777. return protoimpl.X.MessageStringOf(x)
  778. }
  779. func (*CreateGroupResp) ProtoMessage() {}
  780. func (x *CreateGroupResp) ProtoReflect() protoreflect.Message {
  781. mi := &file_logic_ext_proto_msgTypes[12]
  782. if protoimpl.UnsafeEnabled && x != nil {
  783. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  784. if ms.LoadMessageInfo() == nil {
  785. ms.StoreMessageInfo(mi)
  786. }
  787. return ms
  788. }
  789. return mi.MessageOf(x)
  790. }
  791. // Deprecated: Use CreateGroupResp.ProtoReflect.Descriptor instead.
  792. func (*CreateGroupResp) Descriptor() ([]byte, []int) {
  793. return file_logic_ext_proto_rawDescGZIP(), []int{12}
  794. }
  795. func (x *CreateGroupResp) GetGroupId() int64 {
  796. if x != nil {
  797. return x.GroupId
  798. }
  799. return 0
  800. }
  801. type UpdateGroupReq struct {
  802. state protoimpl.MessageState
  803. sizeCache protoimpl.SizeCache
  804. unknownFields protoimpl.UnknownFields
  805. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  806. AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  807. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 名称
  808. Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  809. Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  810. }
  811. func (x *UpdateGroupReq) Reset() {
  812. *x = UpdateGroupReq{}
  813. if protoimpl.UnsafeEnabled {
  814. mi := &file_logic_ext_proto_msgTypes[13]
  815. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  816. ms.StoreMessageInfo(mi)
  817. }
  818. }
  819. func (x *UpdateGroupReq) String() string {
  820. return protoimpl.X.MessageStringOf(x)
  821. }
  822. func (*UpdateGroupReq) ProtoMessage() {}
  823. func (x *UpdateGroupReq) ProtoReflect() protoreflect.Message {
  824. mi := &file_logic_ext_proto_msgTypes[13]
  825. if protoimpl.UnsafeEnabled && x != nil {
  826. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  827. if ms.LoadMessageInfo() == nil {
  828. ms.StoreMessageInfo(mi)
  829. }
  830. return ms
  831. }
  832. return mi.MessageOf(x)
  833. }
  834. // Deprecated: Use UpdateGroupReq.ProtoReflect.Descriptor instead.
  835. func (*UpdateGroupReq) Descriptor() ([]byte, []int) {
  836. return file_logic_ext_proto_rawDescGZIP(), []int{13}
  837. }
  838. func (x *UpdateGroupReq) GetGroupId() int64 {
  839. if x != nil {
  840. return x.GroupId
  841. }
  842. return 0
  843. }
  844. func (x *UpdateGroupReq) GetAvatarUrl() string {
  845. if x != nil {
  846. return x.AvatarUrl
  847. }
  848. return ""
  849. }
  850. func (x *UpdateGroupReq) GetName() string {
  851. if x != nil {
  852. return x.Name
  853. }
  854. return ""
  855. }
  856. func (x *UpdateGroupReq) GetIntroduction() string {
  857. if x != nil {
  858. return x.Introduction
  859. }
  860. return ""
  861. }
  862. func (x *UpdateGroupReq) GetExtra() string {
  863. if x != nil {
  864. return x.Extra
  865. }
  866. return ""
  867. }
  868. type GetGroupReq struct {
  869. state protoimpl.MessageState
  870. sizeCache protoimpl.SizeCache
  871. unknownFields protoimpl.UnknownFields
  872. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  873. }
  874. func (x *GetGroupReq) Reset() {
  875. *x = GetGroupReq{}
  876. if protoimpl.UnsafeEnabled {
  877. mi := &file_logic_ext_proto_msgTypes[14]
  878. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  879. ms.StoreMessageInfo(mi)
  880. }
  881. }
  882. func (x *GetGroupReq) String() string {
  883. return protoimpl.X.MessageStringOf(x)
  884. }
  885. func (*GetGroupReq) ProtoMessage() {}
  886. func (x *GetGroupReq) ProtoReflect() protoreflect.Message {
  887. mi := &file_logic_ext_proto_msgTypes[14]
  888. if protoimpl.UnsafeEnabled && x != nil {
  889. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  890. if ms.LoadMessageInfo() == nil {
  891. ms.StoreMessageInfo(mi)
  892. }
  893. return ms
  894. }
  895. return mi.MessageOf(x)
  896. }
  897. // Deprecated: Use GetGroupReq.ProtoReflect.Descriptor instead.
  898. func (*GetGroupReq) Descriptor() ([]byte, []int) {
  899. return file_logic_ext_proto_rawDescGZIP(), []int{14}
  900. }
  901. func (x *GetGroupReq) GetGroupId() int64 {
  902. if x != nil {
  903. return x.GroupId
  904. }
  905. return 0
  906. }
  907. type GetGroupResp struct {
  908. state protoimpl.MessageState
  909. sizeCache protoimpl.SizeCache
  910. unknownFields protoimpl.UnknownFields
  911. Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
  912. }
  913. func (x *GetGroupResp) Reset() {
  914. *x = GetGroupResp{}
  915. if protoimpl.UnsafeEnabled {
  916. mi := &file_logic_ext_proto_msgTypes[15]
  917. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  918. ms.StoreMessageInfo(mi)
  919. }
  920. }
  921. func (x *GetGroupResp) String() string {
  922. return protoimpl.X.MessageStringOf(x)
  923. }
  924. func (*GetGroupResp) ProtoMessage() {}
  925. func (x *GetGroupResp) ProtoReflect() protoreflect.Message {
  926. mi := &file_logic_ext_proto_msgTypes[15]
  927. if protoimpl.UnsafeEnabled && x != nil {
  928. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  929. if ms.LoadMessageInfo() == nil {
  930. ms.StoreMessageInfo(mi)
  931. }
  932. return ms
  933. }
  934. return mi.MessageOf(x)
  935. }
  936. // Deprecated: Use GetGroupResp.ProtoReflect.Descriptor instead.
  937. func (*GetGroupResp) Descriptor() ([]byte, []int) {
  938. return file_logic_ext_proto_rawDescGZIP(), []int{15}
  939. }
  940. func (x *GetGroupResp) GetGroup() *Group {
  941. if x != nil {
  942. return x.Group
  943. }
  944. return nil
  945. }
  946. type Group struct {
  947. state protoimpl.MessageState
  948. sizeCache protoimpl.SizeCache
  949. unknownFields protoimpl.UnknownFields
  950. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  951. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  952. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  953. Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  954. UserMum int32 `protobuf:"varint,5,opt,name=user_mum,json=userMum,proto3" json:"user_mum,omitempty"` // 用户数
  955. Extra string `protobuf:"bytes,6,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  956. CreateTime int64 `protobuf:"varint,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 创建时间
  957. UpdateTime int64 `protobuf:"varint,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // 更新时间
  958. }
  959. func (x *Group) Reset() {
  960. *x = Group{}
  961. if protoimpl.UnsafeEnabled {
  962. mi := &file_logic_ext_proto_msgTypes[16]
  963. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  964. ms.StoreMessageInfo(mi)
  965. }
  966. }
  967. func (x *Group) String() string {
  968. return protoimpl.X.MessageStringOf(x)
  969. }
  970. func (*Group) ProtoMessage() {}
  971. func (x *Group) ProtoReflect() protoreflect.Message {
  972. mi := &file_logic_ext_proto_msgTypes[16]
  973. if protoimpl.UnsafeEnabled && x != nil {
  974. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  975. if ms.LoadMessageInfo() == nil {
  976. ms.StoreMessageInfo(mi)
  977. }
  978. return ms
  979. }
  980. return mi.MessageOf(x)
  981. }
  982. // Deprecated: Use Group.ProtoReflect.Descriptor instead.
  983. func (*Group) Descriptor() ([]byte, []int) {
  984. return file_logic_ext_proto_rawDescGZIP(), []int{16}
  985. }
  986. func (x *Group) GetGroupId() int64 {
  987. if x != nil {
  988. return x.GroupId
  989. }
  990. return 0
  991. }
  992. func (x *Group) GetName() string {
  993. if x != nil {
  994. return x.Name
  995. }
  996. return ""
  997. }
  998. func (x *Group) GetAvatarUrl() string {
  999. if x != nil {
  1000. return x.AvatarUrl
  1001. }
  1002. return ""
  1003. }
  1004. func (x *Group) GetIntroduction() string {
  1005. if x != nil {
  1006. return x.Introduction
  1007. }
  1008. return ""
  1009. }
  1010. func (x *Group) GetUserMum() int32 {
  1011. if x != nil {
  1012. return x.UserMum
  1013. }
  1014. return 0
  1015. }
  1016. func (x *Group) GetExtra() string {
  1017. if x != nil {
  1018. return x.Extra
  1019. }
  1020. return ""
  1021. }
  1022. func (x *Group) GetCreateTime() int64 {
  1023. if x != nil {
  1024. return x.CreateTime
  1025. }
  1026. return 0
  1027. }
  1028. func (x *Group) GetUpdateTime() int64 {
  1029. if x != nil {
  1030. return x.UpdateTime
  1031. }
  1032. return 0
  1033. }
  1034. type GetGroupsResp struct {
  1035. state protoimpl.MessageState
  1036. sizeCache protoimpl.SizeCache
  1037. unknownFields protoimpl.UnknownFields
  1038. Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
  1039. }
  1040. func (x *GetGroupsResp) Reset() {
  1041. *x = GetGroupsResp{}
  1042. if protoimpl.UnsafeEnabled {
  1043. mi := &file_logic_ext_proto_msgTypes[17]
  1044. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1045. ms.StoreMessageInfo(mi)
  1046. }
  1047. }
  1048. func (x *GetGroupsResp) String() string {
  1049. return protoimpl.X.MessageStringOf(x)
  1050. }
  1051. func (*GetGroupsResp) ProtoMessage() {}
  1052. func (x *GetGroupsResp) ProtoReflect() protoreflect.Message {
  1053. mi := &file_logic_ext_proto_msgTypes[17]
  1054. if protoimpl.UnsafeEnabled && x != nil {
  1055. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1056. if ms.LoadMessageInfo() == nil {
  1057. ms.StoreMessageInfo(mi)
  1058. }
  1059. return ms
  1060. }
  1061. return mi.MessageOf(x)
  1062. }
  1063. // Deprecated: Use GetGroupsResp.ProtoReflect.Descriptor instead.
  1064. func (*GetGroupsResp) Descriptor() ([]byte, []int) {
  1065. return file_logic_ext_proto_rawDescGZIP(), []int{17}
  1066. }
  1067. func (x *GetGroupsResp) GetGroups() []*Group {
  1068. if x != nil {
  1069. return x.Groups
  1070. }
  1071. return nil
  1072. }
  1073. type AddGroupMembersReq struct {
  1074. state protoimpl.MessageState
  1075. sizeCache protoimpl.SizeCache
  1076. unknownFields protoimpl.UnknownFields
  1077. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1078. UserIds []int64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 用户id列表
  1079. }
  1080. func (x *AddGroupMembersReq) Reset() {
  1081. *x = AddGroupMembersReq{}
  1082. if protoimpl.UnsafeEnabled {
  1083. mi := &file_logic_ext_proto_msgTypes[18]
  1084. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1085. ms.StoreMessageInfo(mi)
  1086. }
  1087. }
  1088. func (x *AddGroupMembersReq) String() string {
  1089. return protoimpl.X.MessageStringOf(x)
  1090. }
  1091. func (*AddGroupMembersReq) ProtoMessage() {}
  1092. func (x *AddGroupMembersReq) ProtoReflect() protoreflect.Message {
  1093. mi := &file_logic_ext_proto_msgTypes[18]
  1094. if protoimpl.UnsafeEnabled && x != nil {
  1095. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1096. if ms.LoadMessageInfo() == nil {
  1097. ms.StoreMessageInfo(mi)
  1098. }
  1099. return ms
  1100. }
  1101. return mi.MessageOf(x)
  1102. }
  1103. // Deprecated: Use AddGroupMembersReq.ProtoReflect.Descriptor instead.
  1104. func (*AddGroupMembersReq) Descriptor() ([]byte, []int) {
  1105. return file_logic_ext_proto_rawDescGZIP(), []int{18}
  1106. }
  1107. func (x *AddGroupMembersReq) GetGroupId() int64 {
  1108. if x != nil {
  1109. return x.GroupId
  1110. }
  1111. return 0
  1112. }
  1113. func (x *AddGroupMembersReq) GetUserIds() []int64 {
  1114. if x != nil {
  1115. return x.UserIds
  1116. }
  1117. return nil
  1118. }
  1119. type AddGroupMembersResp struct {
  1120. state protoimpl.MessageState
  1121. sizeCache protoimpl.SizeCache
  1122. unknownFields protoimpl.UnknownFields
  1123. UserIds []int64 `protobuf:"varint,1,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 已经在群组的用户id列表
  1124. }
  1125. func (x *AddGroupMembersResp) Reset() {
  1126. *x = AddGroupMembersResp{}
  1127. if protoimpl.UnsafeEnabled {
  1128. mi := &file_logic_ext_proto_msgTypes[19]
  1129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1130. ms.StoreMessageInfo(mi)
  1131. }
  1132. }
  1133. func (x *AddGroupMembersResp) String() string {
  1134. return protoimpl.X.MessageStringOf(x)
  1135. }
  1136. func (*AddGroupMembersResp) ProtoMessage() {}
  1137. func (x *AddGroupMembersResp) ProtoReflect() protoreflect.Message {
  1138. mi := &file_logic_ext_proto_msgTypes[19]
  1139. if protoimpl.UnsafeEnabled && x != nil {
  1140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1141. if ms.LoadMessageInfo() == nil {
  1142. ms.StoreMessageInfo(mi)
  1143. }
  1144. return ms
  1145. }
  1146. return mi.MessageOf(x)
  1147. }
  1148. // Deprecated: Use AddGroupMembersResp.ProtoReflect.Descriptor instead.
  1149. func (*AddGroupMembersResp) Descriptor() ([]byte, []int) {
  1150. return file_logic_ext_proto_rawDescGZIP(), []int{19}
  1151. }
  1152. func (x *AddGroupMembersResp) GetUserIds() []int64 {
  1153. if x != nil {
  1154. return x.UserIds
  1155. }
  1156. return nil
  1157. }
  1158. type UpdateGroupMemberReq struct {
  1159. state protoimpl.MessageState
  1160. sizeCache protoimpl.SizeCache
  1161. unknownFields protoimpl.UnknownFields
  1162. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1163. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1164. MemberType MemberType `protobuf:"varint,3,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"` // 成员类型
  1165. Remarks string `protobuf:"bytes,4,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  1166. Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  1167. }
  1168. func (x *UpdateGroupMemberReq) Reset() {
  1169. *x = UpdateGroupMemberReq{}
  1170. if protoimpl.UnsafeEnabled {
  1171. mi := &file_logic_ext_proto_msgTypes[20]
  1172. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1173. ms.StoreMessageInfo(mi)
  1174. }
  1175. }
  1176. func (x *UpdateGroupMemberReq) String() string {
  1177. return protoimpl.X.MessageStringOf(x)
  1178. }
  1179. func (*UpdateGroupMemberReq) ProtoMessage() {}
  1180. func (x *UpdateGroupMemberReq) ProtoReflect() protoreflect.Message {
  1181. mi := &file_logic_ext_proto_msgTypes[20]
  1182. if protoimpl.UnsafeEnabled && x != nil {
  1183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1184. if ms.LoadMessageInfo() == nil {
  1185. ms.StoreMessageInfo(mi)
  1186. }
  1187. return ms
  1188. }
  1189. return mi.MessageOf(x)
  1190. }
  1191. // Deprecated: Use UpdateGroupMemberReq.ProtoReflect.Descriptor instead.
  1192. func (*UpdateGroupMemberReq) Descriptor() ([]byte, []int) {
  1193. return file_logic_ext_proto_rawDescGZIP(), []int{20}
  1194. }
  1195. func (x *UpdateGroupMemberReq) GetGroupId() int64 {
  1196. if x != nil {
  1197. return x.GroupId
  1198. }
  1199. return 0
  1200. }
  1201. func (x *UpdateGroupMemberReq) GetUserId() int64 {
  1202. if x != nil {
  1203. return x.UserId
  1204. }
  1205. return 0
  1206. }
  1207. func (x *UpdateGroupMemberReq) GetMemberType() MemberType {
  1208. if x != nil {
  1209. return x.MemberType
  1210. }
  1211. return MemberType_GMT_UNKNOWN
  1212. }
  1213. func (x *UpdateGroupMemberReq) GetRemarks() string {
  1214. if x != nil {
  1215. return x.Remarks
  1216. }
  1217. return ""
  1218. }
  1219. func (x *UpdateGroupMemberReq) GetExtra() string {
  1220. if x != nil {
  1221. return x.Extra
  1222. }
  1223. return ""
  1224. }
  1225. type DeleteGroupMemberReq struct {
  1226. state protoimpl.MessageState
  1227. sizeCache protoimpl.SizeCache
  1228. unknownFields protoimpl.UnknownFields
  1229. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1230. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1231. }
  1232. func (x *DeleteGroupMemberReq) Reset() {
  1233. *x = DeleteGroupMemberReq{}
  1234. if protoimpl.UnsafeEnabled {
  1235. mi := &file_logic_ext_proto_msgTypes[21]
  1236. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1237. ms.StoreMessageInfo(mi)
  1238. }
  1239. }
  1240. func (x *DeleteGroupMemberReq) String() string {
  1241. return protoimpl.X.MessageStringOf(x)
  1242. }
  1243. func (*DeleteGroupMemberReq) ProtoMessage() {}
  1244. func (x *DeleteGroupMemberReq) ProtoReflect() protoreflect.Message {
  1245. mi := &file_logic_ext_proto_msgTypes[21]
  1246. if protoimpl.UnsafeEnabled && x != nil {
  1247. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1248. if ms.LoadMessageInfo() == nil {
  1249. ms.StoreMessageInfo(mi)
  1250. }
  1251. return ms
  1252. }
  1253. return mi.MessageOf(x)
  1254. }
  1255. // Deprecated: Use DeleteGroupMemberReq.ProtoReflect.Descriptor instead.
  1256. func (*DeleteGroupMemberReq) Descriptor() ([]byte, []int) {
  1257. return file_logic_ext_proto_rawDescGZIP(), []int{21}
  1258. }
  1259. func (x *DeleteGroupMemberReq) GetGroupId() int64 {
  1260. if x != nil {
  1261. return x.GroupId
  1262. }
  1263. return 0
  1264. }
  1265. func (x *DeleteGroupMemberReq) GetUserId() int64 {
  1266. if x != nil {
  1267. return x.UserId
  1268. }
  1269. return 0
  1270. }
  1271. type GetGroupMembersReq struct {
  1272. state protoimpl.MessageState
  1273. sizeCache protoimpl.SizeCache
  1274. unknownFields protoimpl.UnknownFields
  1275. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  1276. }
  1277. func (x *GetGroupMembersReq) Reset() {
  1278. *x = GetGroupMembersReq{}
  1279. if protoimpl.UnsafeEnabled {
  1280. mi := &file_logic_ext_proto_msgTypes[22]
  1281. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1282. ms.StoreMessageInfo(mi)
  1283. }
  1284. }
  1285. func (x *GetGroupMembersReq) String() string {
  1286. return protoimpl.X.MessageStringOf(x)
  1287. }
  1288. func (*GetGroupMembersReq) ProtoMessage() {}
  1289. func (x *GetGroupMembersReq) ProtoReflect() protoreflect.Message {
  1290. mi := &file_logic_ext_proto_msgTypes[22]
  1291. if protoimpl.UnsafeEnabled && x != nil {
  1292. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1293. if ms.LoadMessageInfo() == nil {
  1294. ms.StoreMessageInfo(mi)
  1295. }
  1296. return ms
  1297. }
  1298. return mi.MessageOf(x)
  1299. }
  1300. // Deprecated: Use GetGroupMembersReq.ProtoReflect.Descriptor instead.
  1301. func (*GetGroupMembersReq) Descriptor() ([]byte, []int) {
  1302. return file_logic_ext_proto_rawDescGZIP(), []int{22}
  1303. }
  1304. func (x *GetGroupMembersReq) GetGroupId() int64 {
  1305. if x != nil {
  1306. return x.GroupId
  1307. }
  1308. return 0
  1309. }
  1310. type GetGroupMembersResp struct {
  1311. state protoimpl.MessageState
  1312. sizeCache protoimpl.SizeCache
  1313. unknownFields protoimpl.UnknownFields
  1314. Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
  1315. }
  1316. func (x *GetGroupMembersResp) Reset() {
  1317. *x = GetGroupMembersResp{}
  1318. if protoimpl.UnsafeEnabled {
  1319. mi := &file_logic_ext_proto_msgTypes[23]
  1320. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1321. ms.StoreMessageInfo(mi)
  1322. }
  1323. }
  1324. func (x *GetGroupMembersResp) String() string {
  1325. return protoimpl.X.MessageStringOf(x)
  1326. }
  1327. func (*GetGroupMembersResp) ProtoMessage() {}
  1328. func (x *GetGroupMembersResp) ProtoReflect() protoreflect.Message {
  1329. mi := &file_logic_ext_proto_msgTypes[23]
  1330. if protoimpl.UnsafeEnabled && x != nil {
  1331. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1332. if ms.LoadMessageInfo() == nil {
  1333. ms.StoreMessageInfo(mi)
  1334. }
  1335. return ms
  1336. }
  1337. return mi.MessageOf(x)
  1338. }
  1339. // Deprecated: Use GetGroupMembersResp.ProtoReflect.Descriptor instead.
  1340. func (*GetGroupMembersResp) Descriptor() ([]byte, []int) {
  1341. return file_logic_ext_proto_rawDescGZIP(), []int{23}
  1342. }
  1343. func (x *GetGroupMembersResp) GetMembers() []*GroupMember {
  1344. if x != nil {
  1345. return x.Members
  1346. }
  1347. return nil
  1348. }
  1349. type GroupMember struct {
  1350. state protoimpl.MessageState
  1351. sizeCache protoimpl.SizeCache
  1352. unknownFields protoimpl.UnknownFields
  1353. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  1354. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  1355. Sex int32 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  1356. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  1357. UserExtra string `protobuf:"bytes,5,opt,name=user_extra,json=userExtra,proto3" json:"user_extra,omitempty"` // 用户附加字段
  1358. MemberType MemberType `protobuf:"varint,6,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"` // 成员类型
  1359. Remarks string `protobuf:"bytes,7,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  1360. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 群组成员附加字段
  1361. }
  1362. func (x *GroupMember) Reset() {
  1363. *x = GroupMember{}
  1364. if protoimpl.UnsafeEnabled {
  1365. mi := &file_logic_ext_proto_msgTypes[24]
  1366. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1367. ms.StoreMessageInfo(mi)
  1368. }
  1369. }
  1370. func (x *GroupMember) String() string {
  1371. return protoimpl.X.MessageStringOf(x)
  1372. }
  1373. func (*GroupMember) ProtoMessage() {}
  1374. func (x *GroupMember) ProtoReflect() protoreflect.Message {
  1375. mi := &file_logic_ext_proto_msgTypes[24]
  1376. if protoimpl.UnsafeEnabled && x != nil {
  1377. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1378. if ms.LoadMessageInfo() == nil {
  1379. ms.StoreMessageInfo(mi)
  1380. }
  1381. return ms
  1382. }
  1383. return mi.MessageOf(x)
  1384. }
  1385. // Deprecated: Use GroupMember.ProtoReflect.Descriptor instead.
  1386. func (*GroupMember) Descriptor() ([]byte, []int) {
  1387. return file_logic_ext_proto_rawDescGZIP(), []int{24}
  1388. }
  1389. func (x *GroupMember) GetUserId() int64 {
  1390. if x != nil {
  1391. return x.UserId
  1392. }
  1393. return 0
  1394. }
  1395. func (x *GroupMember) GetNickname() string {
  1396. if x != nil {
  1397. return x.Nickname
  1398. }
  1399. return ""
  1400. }
  1401. func (x *GroupMember) GetSex() int32 {
  1402. if x != nil {
  1403. return x.Sex
  1404. }
  1405. return 0
  1406. }
  1407. func (x *GroupMember) GetAvatarUrl() string {
  1408. if x != nil {
  1409. return x.AvatarUrl
  1410. }
  1411. return ""
  1412. }
  1413. func (x *GroupMember) GetUserExtra() string {
  1414. if x != nil {
  1415. return x.UserExtra
  1416. }
  1417. return ""
  1418. }
  1419. func (x *GroupMember) GetMemberType() MemberType {
  1420. if x != nil {
  1421. return x.MemberType
  1422. }
  1423. return MemberType_GMT_UNKNOWN
  1424. }
  1425. func (x *GroupMember) GetRemarks() string {
  1426. if x != nil {
  1427. return x.Remarks
  1428. }
  1429. return ""
  1430. }
  1431. func (x *GroupMember) GetExtra() string {
  1432. if x != nil {
  1433. return x.Extra
  1434. }
  1435. return ""
  1436. }
  1437. var File_logic_ext_proto protoreflect.FileDescriptor
  1438. var file_logic_ext_proto_rawDesc = []byte{
  1439. 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1440. 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x65, 0x78,
  1441. 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
  1442. 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x11, 0x52,
  1443. 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
  1444. 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  1445. 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20,
  1446. 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f,
  1447. 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
  1448. 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
  1449. 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
  1450. 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x64, 0x6b, 0x5f, 0x76,
  1451. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x64,
  1452. 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69,
  1453. 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b,
  1454. 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1455. 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x22, 0xa1, 0x02, 0x0a, 0x0e,
  1456. 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x35,
  1457. 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  1458. 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69,
  1459. 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  1460. 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  1461. 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65,
  1462. 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65,
  1463. 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55,
  1464. 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1465. 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70,
  1466. 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d,
  1467. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65,
  1468. 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
  1469. 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74,
  1470. 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  1471. 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
  1472. 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x07,
  1473. 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x22,
  1474. 0x23, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
  1475. 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  1476. 0x03, 0x73, 0x65, 0x71, 0x22, 0xe0, 0x01, 0x0a, 0x0b, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f, 0x6f,
  1477. 0x6d, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18,
  1478. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x32, 0x0a,
  1479. 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
  1480. 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1481. 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
  1482. 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
  1483. 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73,
  1484. 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65,
  1485. 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73,
  1486. 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65,
  1487. 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50,
  1488. 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x72, 0x69,
  1489. 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x50,
  1490. 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x67, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x46, 0x72,
  1491. 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e,
  1492. 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65,
  1493. 0x6e, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18,
  1494. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x20,
  1495. 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
  1496. 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
  1497. 0x22, 0x46, 0x0a, 0x11, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65,
  1498. 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
  1499. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18,
  1500. 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1501. 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x22, 0x5b, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x46,
  1502. 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65,
  1503. 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69,
  1504. 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
  1505. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12,
  1506. 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1507. 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x5c, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65,
  1508. 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64,
  1509. 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65, 0x6e,
  1510. 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02,
  1511. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a,
  1512. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78,
  1513. 0x74, 0x72, 0x61, 0x22, 0xe0, 0x01, 0x0a, 0x06, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x17,
  1514. 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  1515. 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  1516. 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70,
  1517. 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69,
  1518. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
  1519. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20,
  1520. 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74,
  1521. 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76,
  1522. 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f,
  1523. 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65,
  1524. 0x72, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b,
  1525. 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
  1526. 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
  1527. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x36, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69,
  1528. 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x07, 0x66, 0x72, 0x69, 0x65,
  1529. 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x46,
  1530. 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x22, 0x9c,
  1531. 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
  1532. 0x71, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1533. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f,
  1534. 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  1535. 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63,
  1536. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72,
  1537. 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72,
  1538. 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1d,
  1539. 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03,
  1540. 0x28, 0x03, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x2c, 0x0a,
  1541. 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70,
  1542. 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1543. 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x98, 0x01, 0x0a, 0x0e,
  1544. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x19,
  1545. 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  1546. 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
  1547. 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  1548. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1549. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c,
  1550. 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,
  1551. 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  1552. 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
  1553. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x28, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f,
  1554. 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69,
  1555. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64,
  1556. 0x22, 0x2f, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70,
  1557. 0x12, 0x1f, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1558. 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75,
  1559. 0x70, 0x22, 0xec, 0x01, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x67,
  1560. 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
  1561. 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  1562. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76,
  1563. 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  1564. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74,
  1565. 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  1566. 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a,
  1567. 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6d, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
  1568. 0x07, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72,
  1569. 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f,
  1570. 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20,
  1571. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
  1572. 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08,
  1573. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
  1574. 0x22, 0x32, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73,
  1575. 0x70, 0x12, 0x21, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
  1576. 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72,
  1577. 0x6f, 0x75, 0x70, 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70,
  1578. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72,
  1579. 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72,
  1580. 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
  1581. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73,
  1582. 0x22, 0x30, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
  1583. 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f,
  1584. 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49,
  1585. 0x64, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f,
  1586. 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67,
  1587. 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
  1588. 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
  1589. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
  1590. 0x2f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
  1591. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  1592. 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
  1593. 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
  1594. 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78,
  1595. 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  1596. 0x22, 0x4a, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d,
  1597. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  1598. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  1599. 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
  1600. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x2f, 0x0a, 0x12,
  1601. 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52,
  1602. 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01,
  1603. 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x40, 0x0a,
  1604. 0x13, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
  1605. 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18,
  1606. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70,
  1607. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22,
  1608. 0xf3, 0x01, 0x0a, 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12,
  1609. 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  1610. 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b,
  1611. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b,
  1612. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28,
  1613. 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
  1614. 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74,
  1615. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x78,
  1616. 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x45,
  1617. 0x78, 0x74, 0x72, 0x61, 0x12, 0x2f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74,
  1618. 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d,
  1619. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65,
  1620. 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
  1621. 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12,
  1622. 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1623. 0x65, 0x78, 0x74, 0x72, 0x61, 0x2a, 0x3c, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54,
  1624. 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
  1625. 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x4d, 0x54, 0x5f, 0x41, 0x44, 0x4d, 0x49,
  1626. 0x4e, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x4d, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45,
  1627. 0x52, 0x10, 0x02, 0x32, 0xa4, 0x06, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x45, 0x78, 0x74,
  1628. 0x12, 0x3f, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69,
  1629. 0x63, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72,
  1630. 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x52,
  1631. 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73,
  1632. 0x70, 0x12, 0x36, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1633. 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1634. 0x65, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65,
  1635. 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x26, 0x0a, 0x08, 0x50, 0x75, 0x73,
  1636. 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52,
  1637. 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  1638. 0x79, 0x12, 0x28, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x10,
  1639. 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71,
  1640. 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x0e, 0x41,
  1641. 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x15, 0x2e,
  1642. 0x70, 0x62, 0x2e, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e,
  1643. 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12,
  1644. 0x30, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x10, 0x2e, 0x70,
  1645. 0x62, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x11,
  1646. 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73,
  1647. 0x70, 0x12, 0x2b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x12,
  1648. 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e,
  1649. 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36,
  1650. 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x2e,
  1651. 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
  1652. 0x71, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f,
  1653. 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  1654. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
  1655. 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45,
  1656. 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
  1657. 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
  1658. 0x71, 0x1a, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
  1659. 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73,
  1660. 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x11, 0x2e, 0x70, 0x62,
  1661. 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42,
  1662. 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  1663. 0x73, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d,
  1664. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x41,
  1665. 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65,
  1666. 0x73, 0x70, 0x12, 0x38, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75,
  1667. 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
  1668. 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65,
  1669. 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x38, 0x0a, 0x11,
  1670. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65,
  1671. 0x72, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f,
  1672. 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62,
  1673. 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f,
  1674. 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x47,
  1675. 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65,
  1676. 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d,
  1677. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69,
  1678. 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1679. 0x33,
  1680. }
  1681. var (
  1682. file_logic_ext_proto_rawDescOnce sync.Once
  1683. file_logic_ext_proto_rawDescData = file_logic_ext_proto_rawDesc
  1684. )
  1685. func file_logic_ext_proto_rawDescGZIP() []byte {
  1686. file_logic_ext_proto_rawDescOnce.Do(func() {
  1687. file_logic_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_logic_ext_proto_rawDescData)
  1688. })
  1689. return file_logic_ext_proto_rawDescData
  1690. }
  1691. var file_logic_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1692. var file_logic_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
  1693. var file_logic_ext_proto_goTypes = []interface{}{
  1694. (MemberType)(0), // 0: pb.MemberType
  1695. (*RegisterDeviceReq)(nil), // 1: pb.RegisterDeviceReq
  1696. (*RegisterDeviceResp)(nil), // 2: pb.RegisterDeviceResp
  1697. (*SendMessageReq)(nil), // 3: pb.SendMessageReq
  1698. (*SendMessageResp)(nil), // 4: pb.SendMessageResp
  1699. (*PushRoomReq)(nil), // 5: pb.PushRoomReq
  1700. (*AddFriendReq)(nil), // 6: pb.AddFriendReq
  1701. (*AgreeAddFriendReq)(nil), // 7: pb.AgreeAddFriendReq
  1702. (*SetFriendReq)(nil), // 8: pb.SetFriendReq
  1703. (*SetFriendResp)(nil), // 9: pb.SetFriendResp
  1704. (*Friend)(nil), // 10: pb.Friend
  1705. (*GetFriendsResp)(nil), // 11: pb.GetFriendsResp
  1706. (*CreateGroupReq)(nil), // 12: pb.CreateGroupReq
  1707. (*CreateGroupResp)(nil), // 13: pb.CreateGroupResp
  1708. (*UpdateGroupReq)(nil), // 14: pb.UpdateGroupReq
  1709. (*GetGroupReq)(nil), // 15: pb.GetGroupReq
  1710. (*GetGroupResp)(nil), // 16: pb.GetGroupResp
  1711. (*Group)(nil), // 17: pb.Group
  1712. (*GetGroupsResp)(nil), // 18: pb.GetGroupsResp
  1713. (*AddGroupMembersReq)(nil), // 19: pb.AddGroupMembersReq
  1714. (*AddGroupMembersResp)(nil), // 20: pb.AddGroupMembersResp
  1715. (*UpdateGroupMemberReq)(nil), // 21: pb.UpdateGroupMemberReq
  1716. (*DeleteGroupMemberReq)(nil), // 22: pb.DeleteGroupMemberReq
  1717. (*GetGroupMembersReq)(nil), // 23: pb.GetGroupMembersReq
  1718. (*GetGroupMembersResp)(nil), // 24: pb.GetGroupMembersResp
  1719. (*GroupMember)(nil), // 25: pb.GroupMember
  1720. (ReceiverType)(0), // 26: pb.ReceiverType
  1721. (MessageType)(0), // 27: pb.MessageType
  1722. (*Empty)(nil), // 28: pb.Empty
  1723. }
  1724. var file_logic_ext_proto_depIdxs = []int32{
  1725. 26, // 0: pb.SendMessageReq.receiver_type:type_name -> pb.ReceiverType
  1726. 27, // 1: pb.SendMessageReq.message_type:type_name -> pb.MessageType
  1727. 27, // 2: pb.PushRoomReq.message_type:type_name -> pb.MessageType
  1728. 10, // 3: pb.GetFriendsResp.friends:type_name -> pb.Friend
  1729. 17, // 4: pb.GetGroupResp.group:type_name -> pb.Group
  1730. 17, // 5: pb.GetGroupsResp.groups:type_name -> pb.Group
  1731. 0, // 6: pb.UpdateGroupMemberReq.member_type:type_name -> pb.MemberType
  1732. 25, // 7: pb.GetGroupMembersResp.members:type_name -> pb.GroupMember
  1733. 0, // 8: pb.GroupMember.member_type:type_name -> pb.MemberType
  1734. 1, // 9: pb.LogicExt.RegisterDevice:input_type -> pb.RegisterDeviceReq
  1735. 3, // 10: pb.LogicExt.SendMessage:input_type -> pb.SendMessageReq
  1736. 5, // 11: pb.LogicExt.PushRoom:input_type -> pb.PushRoomReq
  1737. 6, // 12: pb.LogicExt.AddFriend:input_type -> pb.AddFriendReq
  1738. 7, // 13: pb.LogicExt.AgreeAddFriend:input_type -> pb.AgreeAddFriendReq
  1739. 8, // 14: pb.LogicExt.SetFriend:input_type -> pb.SetFriendReq
  1740. 28, // 15: pb.LogicExt.GetFriends:input_type -> pb.Empty
  1741. 12, // 16: pb.LogicExt.CreateGroup:input_type -> pb.CreateGroupReq
  1742. 14, // 17: pb.LogicExt.UpdateGroup:input_type -> pb.UpdateGroupReq
  1743. 15, // 18: pb.LogicExt.GetGroup:input_type -> pb.GetGroupReq
  1744. 28, // 19: pb.LogicExt.GetGroups:input_type -> pb.Empty
  1745. 19, // 20: pb.LogicExt.AddGroupMembers:input_type -> pb.AddGroupMembersReq
  1746. 21, // 21: pb.LogicExt.UpdateGroupMember:input_type -> pb.UpdateGroupMemberReq
  1747. 22, // 22: pb.LogicExt.DeleteGroupMember:input_type -> pb.DeleteGroupMemberReq
  1748. 23, // 23: pb.LogicExt.GetGroupMembers:input_type -> pb.GetGroupMembersReq
  1749. 2, // 24: pb.LogicExt.RegisterDevice:output_type -> pb.RegisterDeviceResp
  1750. 4, // 25: pb.LogicExt.SendMessage:output_type -> pb.SendMessageResp
  1751. 28, // 26: pb.LogicExt.PushRoom:output_type -> pb.Empty
  1752. 28, // 27: pb.LogicExt.AddFriend:output_type -> pb.Empty
  1753. 28, // 28: pb.LogicExt.AgreeAddFriend:output_type -> pb.Empty
  1754. 9, // 29: pb.LogicExt.SetFriend:output_type -> pb.SetFriendResp
  1755. 11, // 30: pb.LogicExt.GetFriends:output_type -> pb.GetFriendsResp
  1756. 13, // 31: pb.LogicExt.CreateGroup:output_type -> pb.CreateGroupResp
  1757. 28, // 32: pb.LogicExt.UpdateGroup:output_type -> pb.Empty
  1758. 16, // 33: pb.LogicExt.GetGroup:output_type -> pb.GetGroupResp
  1759. 18, // 34: pb.LogicExt.GetGroups:output_type -> pb.GetGroupsResp
  1760. 20, // 35: pb.LogicExt.AddGroupMembers:output_type -> pb.AddGroupMembersResp
  1761. 28, // 36: pb.LogicExt.UpdateGroupMember:output_type -> pb.Empty
  1762. 28, // 37: pb.LogicExt.DeleteGroupMember:output_type -> pb.Empty
  1763. 24, // 38: pb.LogicExt.GetGroupMembers:output_type -> pb.GetGroupMembersResp
  1764. 24, // [24:39] is the sub-list for method output_type
  1765. 9, // [9:24] is the sub-list for method input_type
  1766. 9, // [9:9] is the sub-list for extension type_name
  1767. 9, // [9:9] is the sub-list for extension extendee
  1768. 0, // [0:9] is the sub-list for field type_name
  1769. }
  1770. func init() { file_logic_ext_proto_init() }
  1771. func file_logic_ext_proto_init() {
  1772. if File_logic_ext_proto != nil {
  1773. return
  1774. }
  1775. file_common_ext_proto_init()
  1776. file_connect_ext_proto_init()
  1777. if !protoimpl.UnsafeEnabled {
  1778. file_logic_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1779. switch v := v.(*RegisterDeviceReq); i {
  1780. case 0:
  1781. return &v.state
  1782. case 1:
  1783. return &v.sizeCache
  1784. case 2:
  1785. return &v.unknownFields
  1786. default:
  1787. return nil
  1788. }
  1789. }
  1790. file_logic_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1791. switch v := v.(*RegisterDeviceResp); i {
  1792. case 0:
  1793. return &v.state
  1794. case 1:
  1795. return &v.sizeCache
  1796. case 2:
  1797. return &v.unknownFields
  1798. default:
  1799. return nil
  1800. }
  1801. }
  1802. file_logic_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1803. switch v := v.(*SendMessageReq); i {
  1804. case 0:
  1805. return &v.state
  1806. case 1:
  1807. return &v.sizeCache
  1808. case 2:
  1809. return &v.unknownFields
  1810. default:
  1811. return nil
  1812. }
  1813. }
  1814. file_logic_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1815. switch v := v.(*SendMessageResp); i {
  1816. case 0:
  1817. return &v.state
  1818. case 1:
  1819. return &v.sizeCache
  1820. case 2:
  1821. return &v.unknownFields
  1822. default:
  1823. return nil
  1824. }
  1825. }
  1826. file_logic_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1827. switch v := v.(*PushRoomReq); i {
  1828. case 0:
  1829. return &v.state
  1830. case 1:
  1831. return &v.sizeCache
  1832. case 2:
  1833. return &v.unknownFields
  1834. default:
  1835. return nil
  1836. }
  1837. }
  1838. file_logic_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1839. switch v := v.(*AddFriendReq); i {
  1840. case 0:
  1841. return &v.state
  1842. case 1:
  1843. return &v.sizeCache
  1844. case 2:
  1845. return &v.unknownFields
  1846. default:
  1847. return nil
  1848. }
  1849. }
  1850. file_logic_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1851. switch v := v.(*AgreeAddFriendReq); i {
  1852. case 0:
  1853. return &v.state
  1854. case 1:
  1855. return &v.sizeCache
  1856. case 2:
  1857. return &v.unknownFields
  1858. default:
  1859. return nil
  1860. }
  1861. }
  1862. file_logic_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1863. switch v := v.(*SetFriendReq); i {
  1864. case 0:
  1865. return &v.state
  1866. case 1:
  1867. return &v.sizeCache
  1868. case 2:
  1869. return &v.unknownFields
  1870. default:
  1871. return nil
  1872. }
  1873. }
  1874. file_logic_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1875. switch v := v.(*SetFriendResp); i {
  1876. case 0:
  1877. return &v.state
  1878. case 1:
  1879. return &v.sizeCache
  1880. case 2:
  1881. return &v.unknownFields
  1882. default:
  1883. return nil
  1884. }
  1885. }
  1886. file_logic_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1887. switch v := v.(*Friend); i {
  1888. case 0:
  1889. return &v.state
  1890. case 1:
  1891. return &v.sizeCache
  1892. case 2:
  1893. return &v.unknownFields
  1894. default:
  1895. return nil
  1896. }
  1897. }
  1898. file_logic_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1899. switch v := v.(*GetFriendsResp); i {
  1900. case 0:
  1901. return &v.state
  1902. case 1:
  1903. return &v.sizeCache
  1904. case 2:
  1905. return &v.unknownFields
  1906. default:
  1907. return nil
  1908. }
  1909. }
  1910. file_logic_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1911. switch v := v.(*CreateGroupReq); i {
  1912. case 0:
  1913. return &v.state
  1914. case 1:
  1915. return &v.sizeCache
  1916. case 2:
  1917. return &v.unknownFields
  1918. default:
  1919. return nil
  1920. }
  1921. }
  1922. file_logic_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1923. switch v := v.(*CreateGroupResp); i {
  1924. case 0:
  1925. return &v.state
  1926. case 1:
  1927. return &v.sizeCache
  1928. case 2:
  1929. return &v.unknownFields
  1930. default:
  1931. return nil
  1932. }
  1933. }
  1934. file_logic_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1935. switch v := v.(*UpdateGroupReq); i {
  1936. case 0:
  1937. return &v.state
  1938. case 1:
  1939. return &v.sizeCache
  1940. case 2:
  1941. return &v.unknownFields
  1942. default:
  1943. return nil
  1944. }
  1945. }
  1946. file_logic_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1947. switch v := v.(*GetGroupReq); i {
  1948. case 0:
  1949. return &v.state
  1950. case 1:
  1951. return &v.sizeCache
  1952. case 2:
  1953. return &v.unknownFields
  1954. default:
  1955. return nil
  1956. }
  1957. }
  1958. file_logic_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1959. switch v := v.(*GetGroupResp); i {
  1960. case 0:
  1961. return &v.state
  1962. case 1:
  1963. return &v.sizeCache
  1964. case 2:
  1965. return &v.unknownFields
  1966. default:
  1967. return nil
  1968. }
  1969. }
  1970. file_logic_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1971. switch v := v.(*Group); i {
  1972. case 0:
  1973. return &v.state
  1974. case 1:
  1975. return &v.sizeCache
  1976. case 2:
  1977. return &v.unknownFields
  1978. default:
  1979. return nil
  1980. }
  1981. }
  1982. file_logic_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1983. switch v := v.(*GetGroupsResp); i {
  1984. case 0:
  1985. return &v.state
  1986. case 1:
  1987. return &v.sizeCache
  1988. case 2:
  1989. return &v.unknownFields
  1990. default:
  1991. return nil
  1992. }
  1993. }
  1994. file_logic_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  1995. switch v := v.(*AddGroupMembersReq); i {
  1996. case 0:
  1997. return &v.state
  1998. case 1:
  1999. return &v.sizeCache
  2000. case 2:
  2001. return &v.unknownFields
  2002. default:
  2003. return nil
  2004. }
  2005. }
  2006. file_logic_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2007. switch v := v.(*AddGroupMembersResp); i {
  2008. case 0:
  2009. return &v.state
  2010. case 1:
  2011. return &v.sizeCache
  2012. case 2:
  2013. return &v.unknownFields
  2014. default:
  2015. return nil
  2016. }
  2017. }
  2018. file_logic_ext_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2019. switch v := v.(*UpdateGroupMemberReq); i {
  2020. case 0:
  2021. return &v.state
  2022. case 1:
  2023. return &v.sizeCache
  2024. case 2:
  2025. return &v.unknownFields
  2026. default:
  2027. return nil
  2028. }
  2029. }
  2030. file_logic_ext_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2031. switch v := v.(*DeleteGroupMemberReq); i {
  2032. case 0:
  2033. return &v.state
  2034. case 1:
  2035. return &v.sizeCache
  2036. case 2:
  2037. return &v.unknownFields
  2038. default:
  2039. return nil
  2040. }
  2041. }
  2042. file_logic_ext_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2043. switch v := v.(*GetGroupMembersReq); i {
  2044. case 0:
  2045. return &v.state
  2046. case 1:
  2047. return &v.sizeCache
  2048. case 2:
  2049. return &v.unknownFields
  2050. default:
  2051. return nil
  2052. }
  2053. }
  2054. file_logic_ext_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2055. switch v := v.(*GetGroupMembersResp); i {
  2056. case 0:
  2057. return &v.state
  2058. case 1:
  2059. return &v.sizeCache
  2060. case 2:
  2061. return &v.unknownFields
  2062. default:
  2063. return nil
  2064. }
  2065. }
  2066. file_logic_ext_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2067. switch v := v.(*GroupMember); i {
  2068. case 0:
  2069. return &v.state
  2070. case 1:
  2071. return &v.sizeCache
  2072. case 2:
  2073. return &v.unknownFields
  2074. default:
  2075. return nil
  2076. }
  2077. }
  2078. }
  2079. type x struct{}
  2080. out := protoimpl.TypeBuilder{
  2081. File: protoimpl.DescBuilder{
  2082. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2083. RawDescriptor: file_logic_ext_proto_rawDesc,
  2084. NumEnums: 1,
  2085. NumMessages: 25,
  2086. NumExtensions: 0,
  2087. NumServices: 1,
  2088. },
  2089. GoTypes: file_logic_ext_proto_goTypes,
  2090. DependencyIndexes: file_logic_ext_proto_depIdxs,
  2091. EnumInfos: file_logic_ext_proto_enumTypes,
  2092. MessageInfos: file_logic_ext_proto_msgTypes,
  2093. }.Build()
  2094. File_logic_ext_proto = out.File
  2095. file_logic_ext_proto_rawDesc = nil
  2096. file_logic_ext_proto_goTypes = nil
  2097. file_logic_ext_proto_depIdxs = nil
  2098. }
  2099. // Reference imports to suppress errors if they are not otherwise used.
  2100. var _ context.Context
  2101. var _ grpc.ClientConnInterface
  2102. // This is a compile-time assertion to ensure that this generated file
  2103. // is compatible with the grpc package it is being compiled against.
  2104. const _ = grpc.SupportPackageIsVersion6
  2105. // LogicExtClient is the client API for LogicExt service.
  2106. //
  2107. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  2108. type LogicExtClient interface {
  2109. // 注册设备
  2110. RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error)
  2111. // 发送消息
  2112. SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error)
  2113. // 推送消息到房间
  2114. PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error)
  2115. // 添加好友
  2116. AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error)
  2117. // 同意添加好友
  2118. AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error)
  2119. // 设置好友信息
  2120. SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error)
  2121. // 获取好友列表
  2122. GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error)
  2123. // 创建群组
  2124. CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error)
  2125. // 更新群组
  2126. UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error)
  2127. // 获取群组信息
  2128. GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error)
  2129. // 获取用户加入的所有群组
  2130. GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error)
  2131. // 添加群组成员
  2132. AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error)
  2133. // 更新群组成员信息
  2134. UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
  2135. // 添加群组成员
  2136. DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
  2137. // 获取群组成员
  2138. GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error)
  2139. }
  2140. type logicExtClient struct {
  2141. cc grpc.ClientConnInterface
  2142. }
  2143. func NewLogicExtClient(cc grpc.ClientConnInterface) LogicExtClient {
  2144. return &logicExtClient{cc}
  2145. }
  2146. func (c *logicExtClient) RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error) {
  2147. out := new(RegisterDeviceResp)
  2148. err := c.cc.Invoke(ctx, "/pb.LogicExt/RegisterDevice", in, out, opts...)
  2149. if err != nil {
  2150. return nil, err
  2151. }
  2152. return out, nil
  2153. }
  2154. func (c *logicExtClient) SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error) {
  2155. out := new(SendMessageResp)
  2156. err := c.cc.Invoke(ctx, "/pb.LogicExt/SendMessage", in, out, opts...)
  2157. if err != nil {
  2158. return nil, err
  2159. }
  2160. return out, nil
  2161. }
  2162. func (c *logicExtClient) PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error) {
  2163. out := new(Empty)
  2164. err := c.cc.Invoke(ctx, "/pb.LogicExt/PushRoom", in, out, opts...)
  2165. if err != nil {
  2166. return nil, err
  2167. }
  2168. return out, nil
  2169. }
  2170. func (c *logicExtClient) AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  2171. out := new(Empty)
  2172. err := c.cc.Invoke(ctx, "/pb.LogicExt/AddFriend", in, out, opts...)
  2173. if err != nil {
  2174. return nil, err
  2175. }
  2176. return out, nil
  2177. }
  2178. func (c *logicExtClient) AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  2179. out := new(Empty)
  2180. err := c.cc.Invoke(ctx, "/pb.LogicExt/AgreeAddFriend", in, out, opts...)
  2181. if err != nil {
  2182. return nil, err
  2183. }
  2184. return out, nil
  2185. }
  2186. func (c *logicExtClient) SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error) {
  2187. out := new(SetFriendResp)
  2188. err := c.cc.Invoke(ctx, "/pb.LogicExt/SetFriend", in, out, opts...)
  2189. if err != nil {
  2190. return nil, err
  2191. }
  2192. return out, nil
  2193. }
  2194. func (c *logicExtClient) GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error) {
  2195. out := new(GetFriendsResp)
  2196. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetFriends", in, out, opts...)
  2197. if err != nil {
  2198. return nil, err
  2199. }
  2200. return out, nil
  2201. }
  2202. func (c *logicExtClient) CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error) {
  2203. out := new(CreateGroupResp)
  2204. err := c.cc.Invoke(ctx, "/pb.LogicExt/CreateGroup", in, out, opts...)
  2205. if err != nil {
  2206. return nil, err
  2207. }
  2208. return out, nil
  2209. }
  2210. func (c *logicExtClient) UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error) {
  2211. out := new(Empty)
  2212. err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroup", in, out, opts...)
  2213. if err != nil {
  2214. return nil, err
  2215. }
  2216. return out, nil
  2217. }
  2218. func (c *logicExtClient) GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error) {
  2219. out := new(GetGroupResp)
  2220. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroup", in, out, opts...)
  2221. if err != nil {
  2222. return nil, err
  2223. }
  2224. return out, nil
  2225. }
  2226. func (c *logicExtClient) GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error) {
  2227. out := new(GetGroupsResp)
  2228. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroups", in, out, opts...)
  2229. if err != nil {
  2230. return nil, err
  2231. }
  2232. return out, nil
  2233. }
  2234. func (c *logicExtClient) AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error) {
  2235. out := new(AddGroupMembersResp)
  2236. err := c.cc.Invoke(ctx, "/pb.LogicExt/AddGroupMembers", in, out, opts...)
  2237. if err != nil {
  2238. return nil, err
  2239. }
  2240. return out, nil
  2241. }
  2242. func (c *logicExtClient) UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
  2243. out := new(Empty)
  2244. err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroupMember", in, out, opts...)
  2245. if err != nil {
  2246. return nil, err
  2247. }
  2248. return out, nil
  2249. }
  2250. func (c *logicExtClient) DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
  2251. out := new(Empty)
  2252. err := c.cc.Invoke(ctx, "/pb.LogicExt/DeleteGroupMember", in, out, opts...)
  2253. if err != nil {
  2254. return nil, err
  2255. }
  2256. return out, nil
  2257. }
  2258. func (c *logicExtClient) GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error) {
  2259. out := new(GetGroupMembersResp)
  2260. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroupMembers", in, out, opts...)
  2261. if err != nil {
  2262. return nil, err
  2263. }
  2264. return out, nil
  2265. }
  2266. // LogicExtServer is the server API for LogicExt service.
  2267. type LogicExtServer interface {
  2268. // 注册设备
  2269. RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error)
  2270. // 发送消息
  2271. SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error)
  2272. // 推送消息到房间
  2273. PushRoom(context.Context, *PushRoomReq) (*Empty, error)
  2274. // 添加好友
  2275. AddFriend(context.Context, *AddFriendReq) (*Empty, error)
  2276. // 同意添加好友
  2277. AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error)
  2278. // 设置好友信息
  2279. SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error)
  2280. // 获取好友列表
  2281. GetFriends(context.Context, *Empty) (*GetFriendsResp, error)
  2282. // 创建群组
  2283. CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error)
  2284. // 更新群组
  2285. UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error)
  2286. // 获取群组信息
  2287. GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error)
  2288. // 获取用户加入的所有群组
  2289. GetGroups(context.Context, *Empty) (*GetGroupsResp, error)
  2290. // 添加群组成员
  2291. AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error)
  2292. // 更新群组成员信息
  2293. UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error)
  2294. // 添加群组成员
  2295. DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error)
  2296. // 获取群组成员
  2297. GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error)
  2298. }
  2299. // UnimplementedLogicExtServer can be embedded to have forward compatible implementations.
  2300. type UnimplementedLogicExtServer struct {
  2301. }
  2302. func (*UnimplementedLogicExtServer) RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error) {
  2303. return nil, status.Errorf(codes.Unimplemented, "method RegisterDevice not implemented")
  2304. }
  2305. func (*UnimplementedLogicExtServer) SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error) {
  2306. return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented")
  2307. }
  2308. func (*UnimplementedLogicExtServer) PushRoom(context.Context, *PushRoomReq) (*Empty, error) {
  2309. return nil, status.Errorf(codes.Unimplemented, "method PushRoom not implemented")
  2310. }
  2311. func (*UnimplementedLogicExtServer) AddFriend(context.Context, *AddFriendReq) (*Empty, error) {
  2312. return nil, status.Errorf(codes.Unimplemented, "method AddFriend not implemented")
  2313. }
  2314. func (*UnimplementedLogicExtServer) AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error) {
  2315. return nil, status.Errorf(codes.Unimplemented, "method AgreeAddFriend not implemented")
  2316. }
  2317. func (*UnimplementedLogicExtServer) SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error) {
  2318. return nil, status.Errorf(codes.Unimplemented, "method SetFriend not implemented")
  2319. }
  2320. func (*UnimplementedLogicExtServer) GetFriends(context.Context, *Empty) (*GetFriendsResp, error) {
  2321. return nil, status.Errorf(codes.Unimplemented, "method GetFriends not implemented")
  2322. }
  2323. func (*UnimplementedLogicExtServer) CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error) {
  2324. return nil, status.Errorf(codes.Unimplemented, "method CreateGroup not implemented")
  2325. }
  2326. func (*UnimplementedLogicExtServer) UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error) {
  2327. return nil, status.Errorf(codes.Unimplemented, "method UpdateGroup not implemented")
  2328. }
  2329. func (*UnimplementedLogicExtServer) GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error) {
  2330. return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented")
  2331. }
  2332. func (*UnimplementedLogicExtServer) GetGroups(context.Context, *Empty) (*GetGroupsResp, error) {
  2333. return nil, status.Errorf(codes.Unimplemented, "method GetGroups not implemented")
  2334. }
  2335. func (*UnimplementedLogicExtServer) AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error) {
  2336. return nil, status.Errorf(codes.Unimplemented, "method AddGroupMembers not implemented")
  2337. }
  2338. func (*UnimplementedLogicExtServer) UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error) {
  2339. return nil, status.Errorf(codes.Unimplemented, "method UpdateGroupMember not implemented")
  2340. }
  2341. func (*UnimplementedLogicExtServer) DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error) {
  2342. return nil, status.Errorf(codes.Unimplemented, "method DeleteGroupMember not implemented")
  2343. }
  2344. func (*UnimplementedLogicExtServer) GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error) {
  2345. return nil, status.Errorf(codes.Unimplemented, "method GetGroupMembers not implemented")
  2346. }
  2347. func RegisterLogicExtServer(s *grpc.Server, srv LogicExtServer) {
  2348. s.RegisterService(&_LogicExt_serviceDesc, srv)
  2349. }
  2350. func _LogicExt_RegisterDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2351. in := new(RegisterDeviceReq)
  2352. if err := dec(in); err != nil {
  2353. return nil, err
  2354. }
  2355. if interceptor == nil {
  2356. return srv.(LogicExtServer).RegisterDevice(ctx, in)
  2357. }
  2358. info := &grpc.UnaryServerInfo{
  2359. Server: srv,
  2360. FullMethod: "/pb.LogicExt/RegisterDevice",
  2361. }
  2362. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2363. return srv.(LogicExtServer).RegisterDevice(ctx, req.(*RegisterDeviceReq))
  2364. }
  2365. return interceptor(ctx, in, info, handler)
  2366. }
  2367. func _LogicExt_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2368. in := new(SendMessageReq)
  2369. if err := dec(in); err != nil {
  2370. return nil, err
  2371. }
  2372. if interceptor == nil {
  2373. return srv.(LogicExtServer).SendMessage(ctx, in)
  2374. }
  2375. info := &grpc.UnaryServerInfo{
  2376. Server: srv,
  2377. FullMethod: "/pb.LogicExt/SendMessage",
  2378. }
  2379. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2380. return srv.(LogicExtServer).SendMessage(ctx, req.(*SendMessageReq))
  2381. }
  2382. return interceptor(ctx, in, info, handler)
  2383. }
  2384. func _LogicExt_PushRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2385. in := new(PushRoomReq)
  2386. if err := dec(in); err != nil {
  2387. return nil, err
  2388. }
  2389. if interceptor == nil {
  2390. return srv.(LogicExtServer).PushRoom(ctx, in)
  2391. }
  2392. info := &grpc.UnaryServerInfo{
  2393. Server: srv,
  2394. FullMethod: "/pb.LogicExt/PushRoom",
  2395. }
  2396. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2397. return srv.(LogicExtServer).PushRoom(ctx, req.(*PushRoomReq))
  2398. }
  2399. return interceptor(ctx, in, info, handler)
  2400. }
  2401. func _LogicExt_AddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2402. in := new(AddFriendReq)
  2403. if err := dec(in); err != nil {
  2404. return nil, err
  2405. }
  2406. if interceptor == nil {
  2407. return srv.(LogicExtServer).AddFriend(ctx, in)
  2408. }
  2409. info := &grpc.UnaryServerInfo{
  2410. Server: srv,
  2411. FullMethod: "/pb.LogicExt/AddFriend",
  2412. }
  2413. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2414. return srv.(LogicExtServer).AddFriend(ctx, req.(*AddFriendReq))
  2415. }
  2416. return interceptor(ctx, in, info, handler)
  2417. }
  2418. func _LogicExt_AgreeAddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2419. in := new(AgreeAddFriendReq)
  2420. if err := dec(in); err != nil {
  2421. return nil, err
  2422. }
  2423. if interceptor == nil {
  2424. return srv.(LogicExtServer).AgreeAddFriend(ctx, in)
  2425. }
  2426. info := &grpc.UnaryServerInfo{
  2427. Server: srv,
  2428. FullMethod: "/pb.LogicExt/AgreeAddFriend",
  2429. }
  2430. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2431. return srv.(LogicExtServer).AgreeAddFriend(ctx, req.(*AgreeAddFriendReq))
  2432. }
  2433. return interceptor(ctx, in, info, handler)
  2434. }
  2435. func _LogicExt_SetFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2436. in := new(SetFriendReq)
  2437. if err := dec(in); err != nil {
  2438. return nil, err
  2439. }
  2440. if interceptor == nil {
  2441. return srv.(LogicExtServer).SetFriend(ctx, in)
  2442. }
  2443. info := &grpc.UnaryServerInfo{
  2444. Server: srv,
  2445. FullMethod: "/pb.LogicExt/SetFriend",
  2446. }
  2447. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2448. return srv.(LogicExtServer).SetFriend(ctx, req.(*SetFriendReq))
  2449. }
  2450. return interceptor(ctx, in, info, handler)
  2451. }
  2452. func _LogicExt_GetFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2453. in := new(Empty)
  2454. if err := dec(in); err != nil {
  2455. return nil, err
  2456. }
  2457. if interceptor == nil {
  2458. return srv.(LogicExtServer).GetFriends(ctx, in)
  2459. }
  2460. info := &grpc.UnaryServerInfo{
  2461. Server: srv,
  2462. FullMethod: "/pb.LogicExt/GetFriends",
  2463. }
  2464. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2465. return srv.(LogicExtServer).GetFriends(ctx, req.(*Empty))
  2466. }
  2467. return interceptor(ctx, in, info, handler)
  2468. }
  2469. func _LogicExt_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2470. in := new(CreateGroupReq)
  2471. if err := dec(in); err != nil {
  2472. return nil, err
  2473. }
  2474. if interceptor == nil {
  2475. return srv.(LogicExtServer).CreateGroup(ctx, in)
  2476. }
  2477. info := &grpc.UnaryServerInfo{
  2478. Server: srv,
  2479. FullMethod: "/pb.LogicExt/CreateGroup",
  2480. }
  2481. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2482. return srv.(LogicExtServer).CreateGroup(ctx, req.(*CreateGroupReq))
  2483. }
  2484. return interceptor(ctx, in, info, handler)
  2485. }
  2486. func _LogicExt_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2487. in := new(UpdateGroupReq)
  2488. if err := dec(in); err != nil {
  2489. return nil, err
  2490. }
  2491. if interceptor == nil {
  2492. return srv.(LogicExtServer).UpdateGroup(ctx, in)
  2493. }
  2494. info := &grpc.UnaryServerInfo{
  2495. Server: srv,
  2496. FullMethod: "/pb.LogicExt/UpdateGroup",
  2497. }
  2498. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2499. return srv.(LogicExtServer).UpdateGroup(ctx, req.(*UpdateGroupReq))
  2500. }
  2501. return interceptor(ctx, in, info, handler)
  2502. }
  2503. func _LogicExt_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2504. in := new(GetGroupReq)
  2505. if err := dec(in); err != nil {
  2506. return nil, err
  2507. }
  2508. if interceptor == nil {
  2509. return srv.(LogicExtServer).GetGroup(ctx, in)
  2510. }
  2511. info := &grpc.UnaryServerInfo{
  2512. Server: srv,
  2513. FullMethod: "/pb.LogicExt/GetGroup",
  2514. }
  2515. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2516. return srv.(LogicExtServer).GetGroup(ctx, req.(*GetGroupReq))
  2517. }
  2518. return interceptor(ctx, in, info, handler)
  2519. }
  2520. func _LogicExt_GetGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2521. in := new(Empty)
  2522. if err := dec(in); err != nil {
  2523. return nil, err
  2524. }
  2525. if interceptor == nil {
  2526. return srv.(LogicExtServer).GetGroups(ctx, in)
  2527. }
  2528. info := &grpc.UnaryServerInfo{
  2529. Server: srv,
  2530. FullMethod: "/pb.LogicExt/GetGroups",
  2531. }
  2532. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2533. return srv.(LogicExtServer).GetGroups(ctx, req.(*Empty))
  2534. }
  2535. return interceptor(ctx, in, info, handler)
  2536. }
  2537. func _LogicExt_AddGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2538. in := new(AddGroupMembersReq)
  2539. if err := dec(in); err != nil {
  2540. return nil, err
  2541. }
  2542. if interceptor == nil {
  2543. return srv.(LogicExtServer).AddGroupMembers(ctx, in)
  2544. }
  2545. info := &grpc.UnaryServerInfo{
  2546. Server: srv,
  2547. FullMethod: "/pb.LogicExt/AddGroupMembers",
  2548. }
  2549. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2550. return srv.(LogicExtServer).AddGroupMembers(ctx, req.(*AddGroupMembersReq))
  2551. }
  2552. return interceptor(ctx, in, info, handler)
  2553. }
  2554. func _LogicExt_UpdateGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2555. in := new(UpdateGroupMemberReq)
  2556. if err := dec(in); err != nil {
  2557. return nil, err
  2558. }
  2559. if interceptor == nil {
  2560. return srv.(LogicExtServer).UpdateGroupMember(ctx, in)
  2561. }
  2562. info := &grpc.UnaryServerInfo{
  2563. Server: srv,
  2564. FullMethod: "/pb.LogicExt/UpdateGroupMember",
  2565. }
  2566. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2567. return srv.(LogicExtServer).UpdateGroupMember(ctx, req.(*UpdateGroupMemberReq))
  2568. }
  2569. return interceptor(ctx, in, info, handler)
  2570. }
  2571. func _LogicExt_DeleteGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2572. in := new(DeleteGroupMemberReq)
  2573. if err := dec(in); err != nil {
  2574. return nil, err
  2575. }
  2576. if interceptor == nil {
  2577. return srv.(LogicExtServer).DeleteGroupMember(ctx, in)
  2578. }
  2579. info := &grpc.UnaryServerInfo{
  2580. Server: srv,
  2581. FullMethod: "/pb.LogicExt/DeleteGroupMember",
  2582. }
  2583. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2584. return srv.(LogicExtServer).DeleteGroupMember(ctx, req.(*DeleteGroupMemberReq))
  2585. }
  2586. return interceptor(ctx, in, info, handler)
  2587. }
  2588. func _LogicExt_GetGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2589. in := new(GetGroupMembersReq)
  2590. if err := dec(in); err != nil {
  2591. return nil, err
  2592. }
  2593. if interceptor == nil {
  2594. return srv.(LogicExtServer).GetGroupMembers(ctx, in)
  2595. }
  2596. info := &grpc.UnaryServerInfo{
  2597. Server: srv,
  2598. FullMethod: "/pb.LogicExt/GetGroupMembers",
  2599. }
  2600. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2601. return srv.(LogicExtServer).GetGroupMembers(ctx, req.(*GetGroupMembersReq))
  2602. }
  2603. return interceptor(ctx, in, info, handler)
  2604. }
  2605. var _LogicExt_serviceDesc = grpc.ServiceDesc{
  2606. ServiceName: "pb.LogicExt",
  2607. HandlerType: (*LogicExtServer)(nil),
  2608. Methods: []grpc.MethodDesc{
  2609. {
  2610. MethodName: "RegisterDevice",
  2611. Handler: _LogicExt_RegisterDevice_Handler,
  2612. },
  2613. {
  2614. MethodName: "SendMessage",
  2615. Handler: _LogicExt_SendMessage_Handler,
  2616. },
  2617. {
  2618. MethodName: "PushRoom",
  2619. Handler: _LogicExt_PushRoom_Handler,
  2620. },
  2621. {
  2622. MethodName: "AddFriend",
  2623. Handler: _LogicExt_AddFriend_Handler,
  2624. },
  2625. {
  2626. MethodName: "AgreeAddFriend",
  2627. Handler: _LogicExt_AgreeAddFriend_Handler,
  2628. },
  2629. {
  2630. MethodName: "SetFriend",
  2631. Handler: _LogicExt_SetFriend_Handler,
  2632. },
  2633. {
  2634. MethodName: "GetFriends",
  2635. Handler: _LogicExt_GetFriends_Handler,
  2636. },
  2637. {
  2638. MethodName: "CreateGroup",
  2639. Handler: _LogicExt_CreateGroup_Handler,
  2640. },
  2641. {
  2642. MethodName: "UpdateGroup",
  2643. Handler: _LogicExt_UpdateGroup_Handler,
  2644. },
  2645. {
  2646. MethodName: "GetGroup",
  2647. Handler: _LogicExt_GetGroup_Handler,
  2648. },
  2649. {
  2650. MethodName: "GetGroups",
  2651. Handler: _LogicExt_GetGroups_Handler,
  2652. },
  2653. {
  2654. MethodName: "AddGroupMembers",
  2655. Handler: _LogicExt_AddGroupMembers_Handler,
  2656. },
  2657. {
  2658. MethodName: "UpdateGroupMember",
  2659. Handler: _LogicExt_UpdateGroupMember_Handler,
  2660. },
  2661. {
  2662. MethodName: "DeleteGroupMember",
  2663. Handler: _LogicExt_DeleteGroupMember_Handler,
  2664. },
  2665. {
  2666. MethodName: "GetGroupMembers",
  2667. Handler: _LogicExt_GetGroupMembers_Handler,
  2668. },
  2669. },
  2670. Streams: []grpc.StreamDesc{},
  2671. Metadata: "logic.ext.proto",
  2672. }