golang-im聊天
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

3578 lines
124 KiB

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