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.
 
 
 
 

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