golang-im聊天
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

4041 wiersze
142 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. }
  1702. func (x *GroupMember) Reset() {
  1703. *x = GroupMember{}
  1704. if protoimpl.UnsafeEnabled {
  1705. mi := &file_logic_ext_proto_msgTypes[29]
  1706. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1707. ms.StoreMessageInfo(mi)
  1708. }
  1709. }
  1710. func (x *GroupMember) String() string {
  1711. return protoimpl.X.MessageStringOf(x)
  1712. }
  1713. func (*GroupMember) ProtoMessage() {}
  1714. func (x *GroupMember) ProtoReflect() protoreflect.Message {
  1715. mi := &file_logic_ext_proto_msgTypes[29]
  1716. if protoimpl.UnsafeEnabled && x != nil {
  1717. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1718. if ms.LoadMessageInfo() == nil {
  1719. ms.StoreMessageInfo(mi)
  1720. }
  1721. return ms
  1722. }
  1723. return mi.MessageOf(x)
  1724. }
  1725. // Deprecated: Use GroupMember.ProtoReflect.Descriptor instead.
  1726. func (*GroupMember) Descriptor() ([]byte, []int) {
  1727. return file_logic_ext_proto_rawDescGZIP(), []int{29}
  1728. }
  1729. func (x *GroupMember) GetUserId() int64 {
  1730. if x != nil {
  1731. return x.UserId
  1732. }
  1733. return 0
  1734. }
  1735. func (x *GroupMember) GetNickname() string {
  1736. if x != nil {
  1737. return x.Nickname
  1738. }
  1739. return ""
  1740. }
  1741. func (x *GroupMember) GetSex() int32 {
  1742. if x != nil {
  1743. return x.Sex
  1744. }
  1745. return 0
  1746. }
  1747. func (x *GroupMember) GetAvatarUrl() string {
  1748. if x != nil {
  1749. return x.AvatarUrl
  1750. }
  1751. return ""
  1752. }
  1753. func (x *GroupMember) GetUserExtra() string {
  1754. if x != nil {
  1755. return x.UserExtra
  1756. }
  1757. return ""
  1758. }
  1759. func (x *GroupMember) GetMemberType() MemberType {
  1760. if x != nil {
  1761. return x.MemberType
  1762. }
  1763. return MemberType_GMT_UNKNOWN
  1764. }
  1765. func (x *GroupMember) GetRemarks() string {
  1766. if x != nil {
  1767. return x.Remarks
  1768. }
  1769. return ""
  1770. }
  1771. func (x *GroupMember) GetExtra() string {
  1772. if x != nil {
  1773. return x.Extra
  1774. }
  1775. return ""
  1776. }
  1777. type SetGroupMemberBannedReq struct {
  1778. state protoimpl.MessageState
  1779. sizeCache protoimpl.SizeCache
  1780. unknownFields protoimpl.UnknownFields
  1781. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1782. UserIds []int64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 用户id列表
  1783. 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:否)
  1784. }
  1785. func (x *SetGroupMemberBannedReq) Reset() {
  1786. *x = SetGroupMemberBannedReq{}
  1787. if protoimpl.UnsafeEnabled {
  1788. mi := &file_logic_ext_proto_msgTypes[30]
  1789. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1790. ms.StoreMessageInfo(mi)
  1791. }
  1792. }
  1793. func (x *SetGroupMemberBannedReq) String() string {
  1794. return protoimpl.X.MessageStringOf(x)
  1795. }
  1796. func (*SetGroupMemberBannedReq) ProtoMessage() {}
  1797. func (x *SetGroupMemberBannedReq) ProtoReflect() protoreflect.Message {
  1798. mi := &file_logic_ext_proto_msgTypes[30]
  1799. if protoimpl.UnsafeEnabled && x != nil {
  1800. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1801. if ms.LoadMessageInfo() == nil {
  1802. ms.StoreMessageInfo(mi)
  1803. }
  1804. return ms
  1805. }
  1806. return mi.MessageOf(x)
  1807. }
  1808. // Deprecated: Use SetGroupMemberBannedReq.ProtoReflect.Descriptor instead.
  1809. func (*SetGroupMemberBannedReq) Descriptor() ([]byte, []int) {
  1810. return file_logic_ext_proto_rawDescGZIP(), []int{30}
  1811. }
  1812. func (x *SetGroupMemberBannedReq) GetGroupId() int64 {
  1813. if x != nil {
  1814. return x.GroupId
  1815. }
  1816. return 0
  1817. }
  1818. func (x *SetGroupMemberBannedReq) GetUserIds() []int64 {
  1819. if x != nil {
  1820. return x.UserIds
  1821. }
  1822. return nil
  1823. }
  1824. func (x *SetGroupMemberBannedReq) GetIsAllMemberBanned() AllMemberBannedType {
  1825. if x != nil {
  1826. return x.IsAllMemberBanned
  1827. }
  1828. return AllMemberBannedType_UNKNOWN_All_Member_Banned
  1829. }
  1830. type SetGroupMemberBannedResp struct {
  1831. state protoimpl.MessageState
  1832. sizeCache protoimpl.SizeCache
  1833. unknownFields protoimpl.UnknownFields
  1834. 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:否)
  1835. Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` //禁言人员列表
  1836. }
  1837. func (x *SetGroupMemberBannedResp) Reset() {
  1838. *x = SetGroupMemberBannedResp{}
  1839. if protoimpl.UnsafeEnabled {
  1840. mi := &file_logic_ext_proto_msgTypes[31]
  1841. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1842. ms.StoreMessageInfo(mi)
  1843. }
  1844. }
  1845. func (x *SetGroupMemberBannedResp) String() string {
  1846. return protoimpl.X.MessageStringOf(x)
  1847. }
  1848. func (*SetGroupMemberBannedResp) ProtoMessage() {}
  1849. func (x *SetGroupMemberBannedResp) ProtoReflect() protoreflect.Message {
  1850. mi := &file_logic_ext_proto_msgTypes[31]
  1851. if protoimpl.UnsafeEnabled && x != nil {
  1852. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1853. if ms.LoadMessageInfo() == nil {
  1854. ms.StoreMessageInfo(mi)
  1855. }
  1856. return ms
  1857. }
  1858. return mi.MessageOf(x)
  1859. }
  1860. // Deprecated: Use SetGroupMemberBannedResp.ProtoReflect.Descriptor instead.
  1861. func (*SetGroupMemberBannedResp) Descriptor() ([]byte, []int) {
  1862. return file_logic_ext_proto_rawDescGZIP(), []int{31}
  1863. }
  1864. func (x *SetGroupMemberBannedResp) GetIsAllMemberBanned() AllMemberBannedType {
  1865. if x != nil {
  1866. return x.IsAllMemberBanned
  1867. }
  1868. return AllMemberBannedType_UNKNOWN_All_Member_Banned
  1869. }
  1870. func (x *SetGroupMemberBannedResp) GetMembers() []*GroupMember {
  1871. if x != nil {
  1872. return x.Members
  1873. }
  1874. return nil
  1875. }
  1876. type GetGroupBannedMembersReq struct {
  1877. state protoimpl.MessageState
  1878. sizeCache protoimpl.SizeCache
  1879. unknownFields protoimpl.UnknownFields
  1880. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  1881. }
  1882. func (x *GetGroupBannedMembersReq) Reset() {
  1883. *x = GetGroupBannedMembersReq{}
  1884. if protoimpl.UnsafeEnabled {
  1885. mi := &file_logic_ext_proto_msgTypes[32]
  1886. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1887. ms.StoreMessageInfo(mi)
  1888. }
  1889. }
  1890. func (x *GetGroupBannedMembersReq) String() string {
  1891. return protoimpl.X.MessageStringOf(x)
  1892. }
  1893. func (*GetGroupBannedMembersReq) ProtoMessage() {}
  1894. func (x *GetGroupBannedMembersReq) ProtoReflect() protoreflect.Message {
  1895. mi := &file_logic_ext_proto_msgTypes[32]
  1896. if protoimpl.UnsafeEnabled && x != nil {
  1897. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1898. if ms.LoadMessageInfo() == nil {
  1899. ms.StoreMessageInfo(mi)
  1900. }
  1901. return ms
  1902. }
  1903. return mi.MessageOf(x)
  1904. }
  1905. // Deprecated: Use GetGroupBannedMembersReq.ProtoReflect.Descriptor instead.
  1906. func (*GetGroupBannedMembersReq) Descriptor() ([]byte, []int) {
  1907. return file_logic_ext_proto_rawDescGZIP(), []int{32}
  1908. }
  1909. func (x *GetGroupBannedMembersReq) GetGroupId() int64 {
  1910. if x != nil {
  1911. return x.GroupId
  1912. }
  1913. return 0
  1914. }
  1915. type GetGroupBannedMembersResp struct {
  1916. state protoimpl.MessageState
  1917. sizeCache protoimpl.SizeCache
  1918. unknownFields protoimpl.UnknownFields
  1919. Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
  1920. }
  1921. func (x *GetGroupBannedMembersResp) Reset() {
  1922. *x = GetGroupBannedMembersResp{}
  1923. if protoimpl.UnsafeEnabled {
  1924. mi := &file_logic_ext_proto_msgTypes[33]
  1925. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1926. ms.StoreMessageInfo(mi)
  1927. }
  1928. }
  1929. func (x *GetGroupBannedMembersResp) String() string {
  1930. return protoimpl.X.MessageStringOf(x)
  1931. }
  1932. func (*GetGroupBannedMembersResp) ProtoMessage() {}
  1933. func (x *GetGroupBannedMembersResp) ProtoReflect() protoreflect.Message {
  1934. mi := &file_logic_ext_proto_msgTypes[33]
  1935. if protoimpl.UnsafeEnabled && x != nil {
  1936. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1937. if ms.LoadMessageInfo() == nil {
  1938. ms.StoreMessageInfo(mi)
  1939. }
  1940. return ms
  1941. }
  1942. return mi.MessageOf(x)
  1943. }
  1944. // Deprecated: Use GetGroupBannedMembersResp.ProtoReflect.Descriptor instead.
  1945. func (*GetGroupBannedMembersResp) Descriptor() ([]byte, []int) {
  1946. return file_logic_ext_proto_rawDescGZIP(), []int{33}
  1947. }
  1948. func (x *GetGroupBannedMembersResp) GetMembers() []*GroupMember {
  1949. if x != nil {
  1950. return x.Members
  1951. }
  1952. return nil
  1953. }
  1954. var File_logic_ext_proto protoreflect.FileDescriptor
  1955. var file_logic_ext_proto_rawDesc = []byte{
  1956. 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1957. 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x65, 0x78,
  1958. 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
  1959. 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x11, 0x52,
  1960. 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
  1961. 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  1962. 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20,
  1963. 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f,
  1964. 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
  1965. 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
  1966. 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
  1967. 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x64, 0x6b, 0x5f, 0x76,
  1968. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x64,
  1969. 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69,
  1970. 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b,
  1971. 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1972. 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x22, 0xd3, 0x02, 0x0a, 0x0e,
  1973. 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x35,
  1974. 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  1975. 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69,
  1976. 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  1977. 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  1978. 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65,
  1979. 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65,
  1980. 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55,
  1981. 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1982. 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70,
  1983. 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d,
  1984. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65,
  1985. 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
  1986. 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74,
  1987. 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  1988. 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
  1989. 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x07,
  1990. 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12,
  1991. 0x30, 0x0a, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
  1992. 0x6e, 0x74, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6d,
  1993. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x63,
  1994. 0x6b, 0x22, 0x23, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1995. 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28,
  1996. 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xd5, 0x02, 0x0a, 0x10, 0x52, 0x65, 0x63, 0x61, 0x6c,
  1997. 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x35, 0x0a, 0x0d, 0x72,
  1998. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
  1999. 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72,
  2000. 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79,
  2001. 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x69,
  2002. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  2003. 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
  2004. 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72,
  2005. 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74,
  2006. 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d,
  2007. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73,
  2008. 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2009. 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c,
  2010. 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
  2011. 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,
  2012. 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a,
  2013. 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,
  2014. 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x14,
  2015. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
  2016. 0x62, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6d, 0x65, 0x73, 0x73,
  2017. 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x22, 0x25,
  2018. 0x0a, 0x11, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  2019. 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  2020. 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xb6, 0x02, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65,
  2021. 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x35, 0x0a, 0x0d, 0x72, 0x65,
  2022. 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  2023. 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54,
  2024. 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70,
  2025. 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64,
  2026. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72,
  2027. 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79,
  2028. 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65,
  2029. 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61,
  2030. 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2031. 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52,
  2032. 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
  2033. 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
  2034. 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0b,
  2035. 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
  2036. 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x30, 0x0a, 0x14,
  2037. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
  2038. 0x62, 0x61, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6d, 0x65, 0x73, 0x73,
  2039. 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x22, 0x25,
  2040. 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52,
  2041. 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  2042. 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0xe0, 0x01, 0x0a, 0x0b, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f,
  2043. 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64,
  2044. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x32,
  2045. 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
  2046. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2047. 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79,
  2048. 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f,
  2049. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73,
  2050. 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73,
  2051. 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
  2052. 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70,
  2053. 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73,
  2054. 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x72,
  2055. 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73,
  2056. 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x67, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x46,
  2057. 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65,
  2058. 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69,
  2059. 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
  2060. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12,
  2061. 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
  2062. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
  2063. 0x6e, 0x22, 0x2a, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e,
  2064. 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  2065. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x46, 0x0a,
  2066. 0x11, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52,
  2067. 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  2068. 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72,
  2069. 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65,
  2070. 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x22, 0x5b, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65,
  2071. 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f,
  2072. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64,
  2073. 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20,
  2074. 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05,
  2075. 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74,
  2076. 0x72, 0x61, 0x22, 0x5c, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52,
  2077. 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64,
  2078. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64,
  2079. 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
  2080. 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78,
  2081. 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  2082. 0x22, 0xe0, 0x01, 0x0a, 0x06, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75,
  2083. 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73,
  2084. 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75,
  2085. 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e,
  2086. 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  2087. 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
  2088. 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
  2089. 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f,
  2090. 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  2091. 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x74,
  2092. 0x72, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78,
  2093. 0x74, 0x72, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x07,
  2094. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a,
  2095. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78,
  2096. 0x74, 0x72, 0x61, 0x22, 0x36, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
  2097. 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73,
  2098. 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x72, 0x69, 0x65,
  2099. 0x6e, 0x64, 0x52, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x0e,
  2100. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x12,
  2101. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  2102. 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c,
  2103. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
  2104. 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f,
  2105. 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75,
  2106. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x04,
  2107. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x6d,
  2108. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52,
  2109. 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x2c, 0x0a, 0x0f, 0x43, 0x72,
  2110. 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a,
  2111. 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  2112. 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64,
  2113. 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67,
  2114. 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
  2115. 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
  2116. 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74,
  2117. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
  2118. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74,
  2119. 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  2120. 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a,
  2121. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78,
  2122. 0x74, 0x72, 0x61, 0x22, 0x28, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
  2123. 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01,
  2124. 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x2f, 0x0a,
  2125. 0x0c, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a,
  2126. 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70,
  2127. 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x9d,
  2128. 0x02, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  2129. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  2130. 0x70, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  2131. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61,
  2132. 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61,
  2133. 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64,
  2134. 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e,
  2135. 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73,
  2136. 0x65, 0x72, 0x5f, 0x6d, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x73,
  2137. 0x65, 0x72, 0x4d, 0x75, 0x6d, 0x12, 0x2f, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f,
  2138. 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x06, 0x20,
  2139. 0x01, 0x28, 0x05, 0x52, 0x11, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2140. 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18,
  2141. 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f, 0x0a, 0x0b,
  2142. 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
  2143. 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a,
  2144. 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01,
  2145. 0x28, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x32,
  2146. 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12,
  2147. 0x21, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  2148. 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75,
  2149. 0x70, 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65,
  2150. 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  2151. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  2152. 0x70, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18,
  2153. 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x30,
  2154. 0x0a, 0x13, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2155. 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
  2156. 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73,
  2157. 0x22, 0xab, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
  2158. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f,
  2159. 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f,
  2160. 0x75, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  2161. 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2f, 0x0a,
  2162. 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
  2163. 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79,
  2164. 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18,
  2165. 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  2166. 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72,
  2167. 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x4a,
  2168. 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
  2169. 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f,
  2170. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49,
  2171. 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  2172. 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x2f, 0x0a, 0x12, 0x47, 0x65,
  2173. 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
  2174. 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  2175. 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x40, 0x0a, 0x13, 0x47,
  2176. 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65,
  2177. 0x73, 0x70, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
  2178. 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65,
  2179. 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0xf3, 0x01,
  2180. 0x0a, 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x17, 0x0a,
  2181. 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
  2182. 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
  2183. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
  2184. 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
  2185. 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75,
  2186. 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
  2187. 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x74, 0x72,
  2188. 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x74,
  2189. 0x72, 0x61, 0x12, 0x2f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70,
  2190. 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x6d,
  2191. 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54,
  2192. 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x07,
  2193. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a,
  2194. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78,
  2195. 0x74, 0x72, 0x61, 0x22, 0x99, 0x01, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
  2196. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x71, 0x12,
  2197. 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  2198. 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73,
  2199. 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73,
  2200. 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x48, 0x0a, 0x14, 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f,
  2201. 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20,
  2202. 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62,
  2203. 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x69, 0x73,
  2204. 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x22,
  2205. 0x8f, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
  2206. 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x48, 0x0a, 0x14,
  2207. 0x69, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x62, 0x61,
  2208. 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e,
  2209. 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x54,
  2210. 0x79, 0x70, 0x65, 0x52, 0x11, 0x69, 0x73, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2211. 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2212. 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f,
  2213. 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2214. 0x73, 0x22, 0x35, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e,
  2215. 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a,
  2216. 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  2217. 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x46, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x47,
  2218. 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2219. 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
  2220. 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75,
  2221. 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
  2222. 0x2a, 0x3c, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f,
  2223. 0x0a, 0x0b, 0x47, 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
  2224. 0x0d, 0x0a, 0x09, 0x47, 0x4d, 0x54, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x0e,
  2225. 0x0a, 0x0a, 0x47, 0x4d, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x2a, 0x6a,
  2226. 0x0a, 0x13, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65,
  2227. 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
  2228. 0x5f, 0x41, 0x6c, 0x6c, 0x5f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x42, 0x61, 0x6e, 0x6e,
  2229. 0x65, 0x64, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x59, 0x45, 0x53, 0x5f, 0x41, 0x6c, 0x6c, 0x5f,
  2230. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x10, 0x01, 0x12,
  2231. 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x6c, 0x6c, 0x5f, 0x4d, 0x65, 0x6d, 0x62, 0x65,
  2232. 0x72, 0x5f, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x10, 0x02, 0x32, 0xfa, 0x08, 0x0a, 0x08, 0x4c,
  2233. 0x6f, 0x67, 0x69, 0x63, 0x45, 0x78, 0x74, 0x12, 0x3f, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x73,
  2234. 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x52,
  2235. 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
  2236. 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65,
  2237. 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64,
  2238. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e,
  2239. 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x70, 0x62,
  2240. 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70,
  2241. 0x12, 0x3c, 0x0a, 0x0d, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  2242. 0x65, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73,
  2243. 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63,
  2244. 0x61, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x26,
  2245. 0x0a, 0x08, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e,
  2246. 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62,
  2247. 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3c, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65,
  2248. 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e,
  2249. 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e,
  2250. 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
  2251. 0x52, 0x65, 0x73, 0x70, 0x12, 0x28, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e,
  2252. 0x64, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
  2253. 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x32,
  2254. 0x0a, 0x0e, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
  2255. 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72,
  2256. 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70,
  2257. 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x69, 0x65,
  2258. 0x6e, 0x64, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72,
  2259. 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70,
  2260. 0x74, 0x79, 0x12, 0x30, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12,
  2261. 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65,
  2262. 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64,
  2263. 0x52, 0x65, 0x73, 0x70, 0x12, 0x2b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e,
  2264. 0x64, 0x73, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e,
  2265. 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73,
  2266. 0x70, 0x12, 0x36, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
  2267. 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75,
  2268. 0x70, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
  2269. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x0b, 0x55, 0x70, 0x64,
  2270. 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
  2271. 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70,
  2272. 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x72,
  2273. 0x6f, 0x75, 0x70, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75,
  2274. 0x70, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f,
  2275. 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f,
  2276. 0x75, 0x70, 0x73, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x11,
  2277. 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73,
  2278. 0x70, 0x12, 0x42, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
  2279. 0x62, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f,
  2280. 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70,
  2281. 0x62, 0x2e, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2282. 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47,
  2283. 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e,
  2284. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65,
  2285. 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12,
  2286. 0x38, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65,
  2287. 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  2288. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09,
  2289. 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0f, 0x47, 0x65, 0x74,
  2290. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x70,
  2291. 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  2292. 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f,
  2293. 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x52, 0x0a,
  2294. 0x15, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d,
  2295. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x47,
  2296. 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64,
  2297. 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75,
  2298. 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73,
  2299. 0x70, 0x12, 0x54, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e,
  2300. 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e,
  2301. 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65,
  2302. 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65,
  2303. 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62,
  2304. 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d, 0x2f, 0x70,
  2305. 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  2306. }
  2307. var (
  2308. file_logic_ext_proto_rawDescOnce sync.Once
  2309. file_logic_ext_proto_rawDescData = file_logic_ext_proto_rawDesc
  2310. )
  2311. func file_logic_ext_proto_rawDescGZIP() []byte {
  2312. file_logic_ext_proto_rawDescOnce.Do(func() {
  2313. file_logic_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_logic_ext_proto_rawDescData)
  2314. })
  2315. return file_logic_ext_proto_rawDescData
  2316. }
  2317. var file_logic_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  2318. var file_logic_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 34)
  2319. var file_logic_ext_proto_goTypes = []interface{}{
  2320. (MemberType)(0), // 0: pb.MemberType
  2321. (AllMemberBannedType)(0), // 1: pb.AllMemberBannedType
  2322. (*RegisterDeviceReq)(nil), // 2: pb.RegisterDeviceReq
  2323. (*RegisterDeviceResp)(nil), // 3: pb.RegisterDeviceResp
  2324. (*SendMessageReq)(nil), // 4: pb.SendMessageReq
  2325. (*SendMessageResp)(nil), // 5: pb.SendMessageResp
  2326. (*RecallMessageReq)(nil), // 6: pb.RecallMessageReq
  2327. (*RecallMessageResp)(nil), // 7: pb.RecallMessageResp
  2328. (*SendRedPacketReq)(nil), // 8: pb.SendRedPacketReq
  2329. (*SendRedPacketResp)(nil), // 9: pb.SendRedPacketResp
  2330. (*PushRoomReq)(nil), // 10: pb.PushRoomReq
  2331. (*AddFriendReq)(nil), // 11: pb.AddFriendReq
  2332. (*DeleteFriendReq)(nil), // 12: pb.DeleteFriendReq
  2333. (*AgreeAddFriendReq)(nil), // 13: pb.AgreeAddFriendReq
  2334. (*SetFriendReq)(nil), // 14: pb.SetFriendReq
  2335. (*SetFriendResp)(nil), // 15: pb.SetFriendResp
  2336. (*Friend)(nil), // 16: pb.Friend
  2337. (*GetFriendsResp)(nil), // 17: pb.GetFriendsResp
  2338. (*CreateGroupReq)(nil), // 18: pb.CreateGroupReq
  2339. (*CreateGroupResp)(nil), // 19: pb.CreateGroupResp
  2340. (*UpdateGroupReq)(nil), // 20: pb.UpdateGroupReq
  2341. (*GetGroupReq)(nil), // 21: pb.GetGroupReq
  2342. (*GetGroupResp)(nil), // 22: pb.GetGroupResp
  2343. (*Group)(nil), // 23: pb.Group
  2344. (*GetGroupsResp)(nil), // 24: pb.GetGroupsResp
  2345. (*AddGroupMembersReq)(nil), // 25: pb.AddGroupMembersReq
  2346. (*AddGroupMembersResp)(nil), // 26: pb.AddGroupMembersResp
  2347. (*UpdateGroupMemberReq)(nil), // 27: pb.UpdateGroupMemberReq
  2348. (*DeleteGroupMemberReq)(nil), // 28: pb.DeleteGroupMemberReq
  2349. (*GetGroupMembersReq)(nil), // 29: pb.GetGroupMembersReq
  2350. (*GetGroupMembersResp)(nil), // 30: pb.GetGroupMembersResp
  2351. (*GroupMember)(nil), // 31: pb.GroupMember
  2352. (*SetGroupMemberBannedReq)(nil), // 32: pb.SetGroupMemberBannedReq
  2353. (*SetGroupMemberBannedResp)(nil), // 33: pb.SetGroupMemberBannedResp
  2354. (*GetGroupBannedMembersReq)(nil), // 34: pb.GetGroupBannedMembersReq
  2355. (*GetGroupBannedMembersResp)(nil), // 35: pb.GetGroupBannedMembersResp
  2356. (ReceiverType)(0), // 36: pb.ReceiverType
  2357. (MessageType)(0), // 37: pb.MessageType
  2358. (*Empty)(nil), // 38: pb.Empty
  2359. }
  2360. var file_logic_ext_proto_depIdxs = []int32{
  2361. 36, // 0: pb.SendMessageReq.receiver_type:type_name -> pb.ReceiverType
  2362. 37, // 1: pb.SendMessageReq.message_type:type_name -> pb.MessageType
  2363. 36, // 2: pb.RecallMessageReq.receiver_type:type_name -> pb.ReceiverType
  2364. 37, // 3: pb.RecallMessageReq.message_type:type_name -> pb.MessageType
  2365. 36, // 4: pb.SendRedPacketReq.receiver_type:type_name -> pb.ReceiverType
  2366. 37, // 5: pb.SendRedPacketReq.message_type:type_name -> pb.MessageType
  2367. 37, // 6: pb.PushRoomReq.message_type:type_name -> pb.MessageType
  2368. 16, // 7: pb.GetFriendsResp.friends:type_name -> pb.Friend
  2369. 23, // 8: pb.GetGroupResp.group:type_name -> pb.Group
  2370. 23, // 9: pb.GetGroupsResp.groups:type_name -> pb.Group
  2371. 0, // 10: pb.UpdateGroupMemberReq.member_type:type_name -> pb.MemberType
  2372. 31, // 11: pb.GetGroupMembersResp.members:type_name -> pb.GroupMember
  2373. 0, // 12: pb.GroupMember.member_type:type_name -> pb.MemberType
  2374. 1, // 13: pb.SetGroupMemberBannedReq.is_all_member_banned:type_name -> pb.AllMemberBannedType
  2375. 1, // 14: pb.SetGroupMemberBannedResp.is_all_member_banned:type_name -> pb.AllMemberBannedType
  2376. 31, // 15: pb.SetGroupMemberBannedResp.members:type_name -> pb.GroupMember
  2377. 31, // 16: pb.GetGroupBannedMembersResp.members:type_name -> pb.GroupMember
  2378. 2, // 17: pb.LogicExt.RegisterDevice:input_type -> pb.RegisterDeviceReq
  2379. 4, // 18: pb.LogicExt.SendMessage:input_type -> pb.SendMessageReq
  2380. 6, // 19: pb.LogicExt.RecallMessage:input_type -> pb.RecallMessageReq
  2381. 10, // 20: pb.LogicExt.PushRoom:input_type -> pb.PushRoomReq
  2382. 8, // 21: pb.LogicExt.SendRedPacket:input_type -> pb.SendRedPacketReq
  2383. 11, // 22: pb.LogicExt.AddFriend:input_type -> pb.AddFriendReq
  2384. 13, // 23: pb.LogicExt.AgreeAddFriend:input_type -> pb.AgreeAddFriendReq
  2385. 12, // 24: pb.LogicExt.DeleteFriend:input_type -> pb.DeleteFriendReq
  2386. 14, // 25: pb.LogicExt.SetFriend:input_type -> pb.SetFriendReq
  2387. 38, // 26: pb.LogicExt.GetFriends:input_type -> pb.Empty
  2388. 18, // 27: pb.LogicExt.CreateGroup:input_type -> pb.CreateGroupReq
  2389. 20, // 28: pb.LogicExt.UpdateGroup:input_type -> pb.UpdateGroupReq
  2390. 21, // 29: pb.LogicExt.GetGroup:input_type -> pb.GetGroupReq
  2391. 38, // 30: pb.LogicExt.GetGroups:input_type -> pb.Empty
  2392. 25, // 31: pb.LogicExt.AddGroupMembers:input_type -> pb.AddGroupMembersReq
  2393. 27, // 32: pb.LogicExt.UpdateGroupMember:input_type -> pb.UpdateGroupMemberReq
  2394. 28, // 33: pb.LogicExt.DeleteGroupMember:input_type -> pb.DeleteGroupMemberReq
  2395. 29, // 34: pb.LogicExt.GetGroupMembers:input_type -> pb.GetGroupMembersReq
  2396. 32, // 35: pb.LogicExt.SetGroupBannedMembers:input_type -> pb.SetGroupMemberBannedReq
  2397. 34, // 36: pb.LogicExt.GetGroupBannedMembers:input_type -> pb.GetGroupBannedMembersReq
  2398. 3, // 37: pb.LogicExt.RegisterDevice:output_type -> pb.RegisterDeviceResp
  2399. 5, // 38: pb.LogicExt.SendMessage:output_type -> pb.SendMessageResp
  2400. 7, // 39: pb.LogicExt.RecallMessage:output_type -> pb.RecallMessageResp
  2401. 38, // 40: pb.LogicExt.PushRoom:output_type -> pb.Empty
  2402. 9, // 41: pb.LogicExt.SendRedPacket:output_type -> pb.SendRedPacketResp
  2403. 38, // 42: pb.LogicExt.AddFriend:output_type -> pb.Empty
  2404. 38, // 43: pb.LogicExt.AgreeAddFriend:output_type -> pb.Empty
  2405. 38, // 44: pb.LogicExt.DeleteFriend:output_type -> pb.Empty
  2406. 15, // 45: pb.LogicExt.SetFriend:output_type -> pb.SetFriendResp
  2407. 17, // 46: pb.LogicExt.GetFriends:output_type -> pb.GetFriendsResp
  2408. 19, // 47: pb.LogicExt.CreateGroup:output_type -> pb.CreateGroupResp
  2409. 38, // 48: pb.LogicExt.UpdateGroup:output_type -> pb.Empty
  2410. 22, // 49: pb.LogicExt.GetGroup:output_type -> pb.GetGroupResp
  2411. 24, // 50: pb.LogicExt.GetGroups:output_type -> pb.GetGroupsResp
  2412. 26, // 51: pb.LogicExt.AddGroupMembers:output_type -> pb.AddGroupMembersResp
  2413. 38, // 52: pb.LogicExt.UpdateGroupMember:output_type -> pb.Empty
  2414. 38, // 53: pb.LogicExt.DeleteGroupMember:output_type -> pb.Empty
  2415. 30, // 54: pb.LogicExt.GetGroupMembers:output_type -> pb.GetGroupMembersResp
  2416. 33, // 55: pb.LogicExt.SetGroupBannedMembers:output_type -> pb.SetGroupMemberBannedResp
  2417. 35, // 56: pb.LogicExt.GetGroupBannedMembers:output_type -> pb.GetGroupBannedMembersResp
  2418. 37, // [37:57] is the sub-list for method output_type
  2419. 17, // [17:37] is the sub-list for method input_type
  2420. 17, // [17:17] is the sub-list for extension type_name
  2421. 17, // [17:17] is the sub-list for extension extendee
  2422. 0, // [0:17] is the sub-list for field type_name
  2423. }
  2424. func init() { file_logic_ext_proto_init() }
  2425. func file_logic_ext_proto_init() {
  2426. if File_logic_ext_proto != nil {
  2427. return
  2428. }
  2429. file_common_ext_proto_init()
  2430. file_connect_ext_proto_init()
  2431. if !protoimpl.UnsafeEnabled {
  2432. file_logic_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2433. switch v := v.(*RegisterDeviceReq); i {
  2434. case 0:
  2435. return &v.state
  2436. case 1:
  2437. return &v.sizeCache
  2438. case 2:
  2439. return &v.unknownFields
  2440. default:
  2441. return nil
  2442. }
  2443. }
  2444. file_logic_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2445. switch v := v.(*RegisterDeviceResp); i {
  2446. case 0:
  2447. return &v.state
  2448. case 1:
  2449. return &v.sizeCache
  2450. case 2:
  2451. return &v.unknownFields
  2452. default:
  2453. return nil
  2454. }
  2455. }
  2456. file_logic_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2457. switch v := v.(*SendMessageReq); i {
  2458. case 0:
  2459. return &v.state
  2460. case 1:
  2461. return &v.sizeCache
  2462. case 2:
  2463. return &v.unknownFields
  2464. default:
  2465. return nil
  2466. }
  2467. }
  2468. file_logic_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2469. switch v := v.(*SendMessageResp); i {
  2470. case 0:
  2471. return &v.state
  2472. case 1:
  2473. return &v.sizeCache
  2474. case 2:
  2475. return &v.unknownFields
  2476. default:
  2477. return nil
  2478. }
  2479. }
  2480. file_logic_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2481. switch v := v.(*RecallMessageReq); i {
  2482. case 0:
  2483. return &v.state
  2484. case 1:
  2485. return &v.sizeCache
  2486. case 2:
  2487. return &v.unknownFields
  2488. default:
  2489. return nil
  2490. }
  2491. }
  2492. file_logic_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2493. switch v := v.(*RecallMessageResp); i {
  2494. case 0:
  2495. return &v.state
  2496. case 1:
  2497. return &v.sizeCache
  2498. case 2:
  2499. return &v.unknownFields
  2500. default:
  2501. return nil
  2502. }
  2503. }
  2504. file_logic_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2505. switch v := v.(*SendRedPacketReq); i {
  2506. case 0:
  2507. return &v.state
  2508. case 1:
  2509. return &v.sizeCache
  2510. case 2:
  2511. return &v.unknownFields
  2512. default:
  2513. return nil
  2514. }
  2515. }
  2516. file_logic_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2517. switch v := v.(*SendRedPacketResp); i {
  2518. case 0:
  2519. return &v.state
  2520. case 1:
  2521. return &v.sizeCache
  2522. case 2:
  2523. return &v.unknownFields
  2524. default:
  2525. return nil
  2526. }
  2527. }
  2528. file_logic_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2529. switch v := v.(*PushRoomReq); i {
  2530. case 0:
  2531. return &v.state
  2532. case 1:
  2533. return &v.sizeCache
  2534. case 2:
  2535. return &v.unknownFields
  2536. default:
  2537. return nil
  2538. }
  2539. }
  2540. file_logic_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2541. switch v := v.(*AddFriendReq); i {
  2542. case 0:
  2543. return &v.state
  2544. case 1:
  2545. return &v.sizeCache
  2546. case 2:
  2547. return &v.unknownFields
  2548. default:
  2549. return nil
  2550. }
  2551. }
  2552. file_logic_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2553. switch v := v.(*DeleteFriendReq); i {
  2554. case 0:
  2555. return &v.state
  2556. case 1:
  2557. return &v.sizeCache
  2558. case 2:
  2559. return &v.unknownFields
  2560. default:
  2561. return nil
  2562. }
  2563. }
  2564. file_logic_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2565. switch v := v.(*AgreeAddFriendReq); i {
  2566. case 0:
  2567. return &v.state
  2568. case 1:
  2569. return &v.sizeCache
  2570. case 2:
  2571. return &v.unknownFields
  2572. default:
  2573. return nil
  2574. }
  2575. }
  2576. file_logic_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2577. switch v := v.(*SetFriendReq); i {
  2578. case 0:
  2579. return &v.state
  2580. case 1:
  2581. return &v.sizeCache
  2582. case 2:
  2583. return &v.unknownFields
  2584. default:
  2585. return nil
  2586. }
  2587. }
  2588. file_logic_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2589. switch v := v.(*SetFriendResp); i {
  2590. case 0:
  2591. return &v.state
  2592. case 1:
  2593. return &v.sizeCache
  2594. case 2:
  2595. return &v.unknownFields
  2596. default:
  2597. return nil
  2598. }
  2599. }
  2600. file_logic_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2601. switch v := v.(*Friend); i {
  2602. case 0:
  2603. return &v.state
  2604. case 1:
  2605. return &v.sizeCache
  2606. case 2:
  2607. return &v.unknownFields
  2608. default:
  2609. return nil
  2610. }
  2611. }
  2612. file_logic_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2613. switch v := v.(*GetFriendsResp); i {
  2614. case 0:
  2615. return &v.state
  2616. case 1:
  2617. return &v.sizeCache
  2618. case 2:
  2619. return &v.unknownFields
  2620. default:
  2621. return nil
  2622. }
  2623. }
  2624. file_logic_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2625. switch v := v.(*CreateGroupReq); i {
  2626. case 0:
  2627. return &v.state
  2628. case 1:
  2629. return &v.sizeCache
  2630. case 2:
  2631. return &v.unknownFields
  2632. default:
  2633. return nil
  2634. }
  2635. }
  2636. file_logic_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2637. switch v := v.(*CreateGroupResp); i {
  2638. case 0:
  2639. return &v.state
  2640. case 1:
  2641. return &v.sizeCache
  2642. case 2:
  2643. return &v.unknownFields
  2644. default:
  2645. return nil
  2646. }
  2647. }
  2648. file_logic_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2649. switch v := v.(*UpdateGroupReq); i {
  2650. case 0:
  2651. return &v.state
  2652. case 1:
  2653. return &v.sizeCache
  2654. case 2:
  2655. return &v.unknownFields
  2656. default:
  2657. return nil
  2658. }
  2659. }
  2660. file_logic_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2661. switch v := v.(*GetGroupReq); i {
  2662. case 0:
  2663. return &v.state
  2664. case 1:
  2665. return &v.sizeCache
  2666. case 2:
  2667. return &v.unknownFields
  2668. default:
  2669. return nil
  2670. }
  2671. }
  2672. file_logic_ext_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2673. switch v := v.(*GetGroupResp); i {
  2674. case 0:
  2675. return &v.state
  2676. case 1:
  2677. return &v.sizeCache
  2678. case 2:
  2679. return &v.unknownFields
  2680. default:
  2681. return nil
  2682. }
  2683. }
  2684. file_logic_ext_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2685. switch v := v.(*Group); i {
  2686. case 0:
  2687. return &v.state
  2688. case 1:
  2689. return &v.sizeCache
  2690. case 2:
  2691. return &v.unknownFields
  2692. default:
  2693. return nil
  2694. }
  2695. }
  2696. file_logic_ext_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2697. switch v := v.(*GetGroupsResp); i {
  2698. case 0:
  2699. return &v.state
  2700. case 1:
  2701. return &v.sizeCache
  2702. case 2:
  2703. return &v.unknownFields
  2704. default:
  2705. return nil
  2706. }
  2707. }
  2708. file_logic_ext_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2709. switch v := v.(*AddGroupMembersReq); i {
  2710. case 0:
  2711. return &v.state
  2712. case 1:
  2713. return &v.sizeCache
  2714. case 2:
  2715. return &v.unknownFields
  2716. default:
  2717. return nil
  2718. }
  2719. }
  2720. file_logic_ext_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2721. switch v := v.(*AddGroupMembersResp); i {
  2722. case 0:
  2723. return &v.state
  2724. case 1:
  2725. return &v.sizeCache
  2726. case 2:
  2727. return &v.unknownFields
  2728. default:
  2729. return nil
  2730. }
  2731. }
  2732. file_logic_ext_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2733. switch v := v.(*UpdateGroupMemberReq); i {
  2734. case 0:
  2735. return &v.state
  2736. case 1:
  2737. return &v.sizeCache
  2738. case 2:
  2739. return &v.unknownFields
  2740. default:
  2741. return nil
  2742. }
  2743. }
  2744. file_logic_ext_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  2745. switch v := v.(*DeleteGroupMemberReq); i {
  2746. case 0:
  2747. return &v.state
  2748. case 1:
  2749. return &v.sizeCache
  2750. case 2:
  2751. return &v.unknownFields
  2752. default:
  2753. return nil
  2754. }
  2755. }
  2756. file_logic_ext_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  2757. switch v := v.(*GetGroupMembersReq); i {
  2758. case 0:
  2759. return &v.state
  2760. case 1:
  2761. return &v.sizeCache
  2762. case 2:
  2763. return &v.unknownFields
  2764. default:
  2765. return nil
  2766. }
  2767. }
  2768. file_logic_ext_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  2769. switch v := v.(*GetGroupMembersResp); i {
  2770. case 0:
  2771. return &v.state
  2772. case 1:
  2773. return &v.sizeCache
  2774. case 2:
  2775. return &v.unknownFields
  2776. default:
  2777. return nil
  2778. }
  2779. }
  2780. file_logic_ext_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  2781. switch v := v.(*GroupMember); i {
  2782. case 0:
  2783. return &v.state
  2784. case 1:
  2785. return &v.sizeCache
  2786. case 2:
  2787. return &v.unknownFields
  2788. default:
  2789. return nil
  2790. }
  2791. }
  2792. file_logic_ext_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
  2793. switch v := v.(*SetGroupMemberBannedReq); i {
  2794. case 0:
  2795. return &v.state
  2796. case 1:
  2797. return &v.sizeCache
  2798. case 2:
  2799. return &v.unknownFields
  2800. default:
  2801. return nil
  2802. }
  2803. }
  2804. file_logic_ext_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
  2805. switch v := v.(*SetGroupMemberBannedResp); i {
  2806. case 0:
  2807. return &v.state
  2808. case 1:
  2809. return &v.sizeCache
  2810. case 2:
  2811. return &v.unknownFields
  2812. default:
  2813. return nil
  2814. }
  2815. }
  2816. file_logic_ext_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
  2817. switch v := v.(*GetGroupBannedMembersReq); i {
  2818. case 0:
  2819. return &v.state
  2820. case 1:
  2821. return &v.sizeCache
  2822. case 2:
  2823. return &v.unknownFields
  2824. default:
  2825. return nil
  2826. }
  2827. }
  2828. file_logic_ext_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
  2829. switch v := v.(*GetGroupBannedMembersResp); i {
  2830. case 0:
  2831. return &v.state
  2832. case 1:
  2833. return &v.sizeCache
  2834. case 2:
  2835. return &v.unknownFields
  2836. default:
  2837. return nil
  2838. }
  2839. }
  2840. }
  2841. type x struct{}
  2842. out := protoimpl.TypeBuilder{
  2843. File: protoimpl.DescBuilder{
  2844. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2845. RawDescriptor: file_logic_ext_proto_rawDesc,
  2846. NumEnums: 2,
  2847. NumMessages: 34,
  2848. NumExtensions: 0,
  2849. NumServices: 1,
  2850. },
  2851. GoTypes: file_logic_ext_proto_goTypes,
  2852. DependencyIndexes: file_logic_ext_proto_depIdxs,
  2853. EnumInfos: file_logic_ext_proto_enumTypes,
  2854. MessageInfos: file_logic_ext_proto_msgTypes,
  2855. }.Build()
  2856. File_logic_ext_proto = out.File
  2857. file_logic_ext_proto_rawDesc = nil
  2858. file_logic_ext_proto_goTypes = nil
  2859. file_logic_ext_proto_depIdxs = nil
  2860. }
  2861. // This is a compile-time assertion to ensure that this generated file
  2862. // is compatible with the grpc package it is being compiled against.
  2863. // Requires gRPC-Go v1.32.0 or later.
  2864. const _ = grpc.SupportPackageIsVersion7
  2865. // LogicExtClient is the client API for LogicExt service.
  2866. //
  2867. // 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.
  2868. type LogicExtClient interface {
  2869. // 注册设备
  2870. RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error)
  2871. // 发送消息
  2872. SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error)
  2873. // 撤回消息
  2874. RecallMessage(ctx context.Context, in *RecallMessageReq, opts ...grpc.CallOption) (*RecallMessageResp, error)
  2875. // 推送消息到房间
  2876. PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error)
  2877. // 发送红包
  2878. SendRedPacket(ctx context.Context, in *SendRedPacketReq, opts ...grpc.CallOption) (*SendRedPacketResp, error)
  2879. // 添加好友
  2880. AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error)
  2881. // 同意添加好友
  2882. AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error)
  2883. // 删除好友
  2884. DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*Empty, error)
  2885. // 设置好友信息
  2886. SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error)
  2887. // 获取好友列表
  2888. GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error)
  2889. // 创建群组
  2890. CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error)
  2891. // 更新群组
  2892. UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error)
  2893. // 获取群组信息
  2894. GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error)
  2895. // 获取用户加入的所有群组
  2896. GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error)
  2897. // 添加群组成员
  2898. AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error)
  2899. // 更新群组成员信息
  2900. UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
  2901. // 删除群组成员
  2902. DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
  2903. // 获取群组成员
  2904. GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error)
  2905. // 设置禁言
  2906. SetGroupBannedMembers(ctx context.Context, in *SetGroupMemberBannedReq, opts ...grpc.CallOption) (*SetGroupMemberBannedResp, error)
  2907. // 获取群组禁言成员
  2908. GetGroupBannedMembers(ctx context.Context, in *GetGroupBannedMembersReq, opts ...grpc.CallOption) (*GetGroupBannedMembersResp, error)
  2909. }
  2910. type logicExtClient struct {
  2911. cc grpc.ClientConnInterface
  2912. }
  2913. func NewLogicExtClient(cc grpc.ClientConnInterface) LogicExtClient {
  2914. return &logicExtClient{cc}
  2915. }
  2916. func (c *logicExtClient) RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error) {
  2917. out := new(RegisterDeviceResp)
  2918. err := c.cc.Invoke(ctx, "/pb.LogicExt/RegisterDevice", in, out, opts...)
  2919. if err != nil {
  2920. return nil, err
  2921. }
  2922. return out, nil
  2923. }
  2924. func (c *logicExtClient) SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error) {
  2925. out := new(SendMessageResp)
  2926. err := c.cc.Invoke(ctx, "/pb.LogicExt/SendMessage", in, out, opts...)
  2927. if err != nil {
  2928. return nil, err
  2929. }
  2930. return out, nil
  2931. }
  2932. func (c *logicExtClient) RecallMessage(ctx context.Context, in *RecallMessageReq, opts ...grpc.CallOption) (*RecallMessageResp, error) {
  2933. out := new(RecallMessageResp)
  2934. err := c.cc.Invoke(ctx, "/pb.LogicExt/RecallMessage", in, out, opts...)
  2935. if err != nil {
  2936. return nil, err
  2937. }
  2938. return out, nil
  2939. }
  2940. func (c *logicExtClient) PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error) {
  2941. out := new(Empty)
  2942. err := c.cc.Invoke(ctx, "/pb.LogicExt/PushRoom", in, out, opts...)
  2943. if err != nil {
  2944. return nil, err
  2945. }
  2946. return out, nil
  2947. }
  2948. func (c *logicExtClient) SendRedPacket(ctx context.Context, in *SendRedPacketReq, opts ...grpc.CallOption) (*SendRedPacketResp, error) {
  2949. out := new(SendRedPacketResp)
  2950. err := c.cc.Invoke(ctx, "/pb.LogicExt/SendRedPacket", in, out, opts...)
  2951. if err != nil {
  2952. return nil, err
  2953. }
  2954. return out, nil
  2955. }
  2956. func (c *logicExtClient) AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  2957. out := new(Empty)
  2958. err := c.cc.Invoke(ctx, "/pb.LogicExt/AddFriend", in, out, opts...)
  2959. if err != nil {
  2960. return nil, err
  2961. }
  2962. return out, nil
  2963. }
  2964. func (c *logicExtClient) AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  2965. out := new(Empty)
  2966. err := c.cc.Invoke(ctx, "/pb.LogicExt/AgreeAddFriend", in, out, opts...)
  2967. if err != nil {
  2968. return nil, err
  2969. }
  2970. return out, nil
  2971. }
  2972. func (c *logicExtClient) DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  2973. out := new(Empty)
  2974. err := c.cc.Invoke(ctx, "/pb.LogicExt/DeleteFriend", in, out, opts...)
  2975. if err != nil {
  2976. return nil, err
  2977. }
  2978. return out, nil
  2979. }
  2980. func (c *logicExtClient) SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error) {
  2981. out := new(SetFriendResp)
  2982. err := c.cc.Invoke(ctx, "/pb.LogicExt/SetFriend", in, out, opts...)
  2983. if err != nil {
  2984. return nil, err
  2985. }
  2986. return out, nil
  2987. }
  2988. func (c *logicExtClient) GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error) {
  2989. out := new(GetFriendsResp)
  2990. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetFriends", in, out, opts...)
  2991. if err != nil {
  2992. return nil, err
  2993. }
  2994. return out, nil
  2995. }
  2996. func (c *logicExtClient) CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error) {
  2997. out := new(CreateGroupResp)
  2998. err := c.cc.Invoke(ctx, "/pb.LogicExt/CreateGroup", in, out, opts...)
  2999. if err != nil {
  3000. return nil, err
  3001. }
  3002. return out, nil
  3003. }
  3004. func (c *logicExtClient) UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error) {
  3005. out := new(Empty)
  3006. err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroup", in, out, opts...)
  3007. if err != nil {
  3008. return nil, err
  3009. }
  3010. return out, nil
  3011. }
  3012. func (c *logicExtClient) GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error) {
  3013. out := new(GetGroupResp)
  3014. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroup", in, out, opts...)
  3015. if err != nil {
  3016. return nil, err
  3017. }
  3018. return out, nil
  3019. }
  3020. func (c *logicExtClient) GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error) {
  3021. out := new(GetGroupsResp)
  3022. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroups", in, out, opts...)
  3023. if err != nil {
  3024. return nil, err
  3025. }
  3026. return out, nil
  3027. }
  3028. func (c *logicExtClient) AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error) {
  3029. out := new(AddGroupMembersResp)
  3030. err := c.cc.Invoke(ctx, "/pb.LogicExt/AddGroupMembers", in, out, opts...)
  3031. if err != nil {
  3032. return nil, err
  3033. }
  3034. return out, nil
  3035. }
  3036. func (c *logicExtClient) UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
  3037. out := new(Empty)
  3038. err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroupMember", in, out, opts...)
  3039. if err != nil {
  3040. return nil, err
  3041. }
  3042. return out, nil
  3043. }
  3044. func (c *logicExtClient) DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
  3045. out := new(Empty)
  3046. err := c.cc.Invoke(ctx, "/pb.LogicExt/DeleteGroupMember", in, out, opts...)
  3047. if err != nil {
  3048. return nil, err
  3049. }
  3050. return out, nil
  3051. }
  3052. func (c *logicExtClient) GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error) {
  3053. out := new(GetGroupMembersResp)
  3054. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroupMembers", in, out, opts...)
  3055. if err != nil {
  3056. return nil, err
  3057. }
  3058. return out, nil
  3059. }
  3060. func (c *logicExtClient) SetGroupBannedMembers(ctx context.Context, in *SetGroupMemberBannedReq, opts ...grpc.CallOption) (*SetGroupMemberBannedResp, error) {
  3061. out := new(SetGroupMemberBannedResp)
  3062. err := c.cc.Invoke(ctx, "/pb.LogicExt/SetGroupBannedMembers", in, out, opts...)
  3063. if err != nil {
  3064. return nil, err
  3065. }
  3066. return out, nil
  3067. }
  3068. func (c *logicExtClient) GetGroupBannedMembers(ctx context.Context, in *GetGroupBannedMembersReq, opts ...grpc.CallOption) (*GetGroupBannedMembersResp, error) {
  3069. out := new(GetGroupBannedMembersResp)
  3070. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroupBannedMembers", in, out, opts...)
  3071. if err != nil {
  3072. return nil, err
  3073. }
  3074. return out, nil
  3075. }
  3076. // LogicExtServer is the server API for LogicExt service.
  3077. // All implementations must embed UnimplementedLogicExtServer
  3078. // for forward compatibility
  3079. type LogicExtServer interface {
  3080. // 注册设备
  3081. RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error)
  3082. // 发送消息
  3083. SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error)
  3084. // 撤回消息
  3085. RecallMessage(context.Context, *RecallMessageReq) (*RecallMessageResp, error)
  3086. // 推送消息到房间
  3087. PushRoom(context.Context, *PushRoomReq) (*Empty, error)
  3088. // 发送红包
  3089. SendRedPacket(context.Context, *SendRedPacketReq) (*SendRedPacketResp, error)
  3090. // 添加好友
  3091. AddFriend(context.Context, *AddFriendReq) (*Empty, error)
  3092. // 同意添加好友
  3093. AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error)
  3094. // 删除好友
  3095. DeleteFriend(context.Context, *DeleteFriendReq) (*Empty, error)
  3096. // 设置好友信息
  3097. SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error)
  3098. // 获取好友列表
  3099. GetFriends(context.Context, *Empty) (*GetFriendsResp, error)
  3100. // 创建群组
  3101. CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error)
  3102. // 更新群组
  3103. UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error)
  3104. // 获取群组信息
  3105. GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error)
  3106. // 获取用户加入的所有群组
  3107. GetGroups(context.Context, *Empty) (*GetGroupsResp, error)
  3108. // 添加群组成员
  3109. AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error)
  3110. // 更新群组成员信息
  3111. UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error)
  3112. // 删除群组成员
  3113. DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error)
  3114. // 获取群组成员
  3115. GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error)
  3116. // 设置禁言
  3117. SetGroupBannedMembers(context.Context, *SetGroupMemberBannedReq) (*SetGroupMemberBannedResp, error)
  3118. // 获取群组禁言成员
  3119. GetGroupBannedMembers(context.Context, *GetGroupBannedMembersReq) (*GetGroupBannedMembersResp, error)
  3120. }
  3121. // UnimplementedLogicExtServer must be embedded to have forward compatible implementations.
  3122. type UnimplementedLogicExtServer struct {
  3123. }
  3124. func (UnimplementedLogicExtServer) RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error) {
  3125. return nil, status.Errorf(codes.Unimplemented, "method RegisterDevice not implemented")
  3126. }
  3127. func (UnimplementedLogicExtServer) SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error) {
  3128. return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented")
  3129. }
  3130. func (UnimplementedLogicExtServer) RecallMessage(context.Context, *RecallMessageReq) (*RecallMessageResp, error) {
  3131. return nil, status.Errorf(codes.Unimplemented, "method RecallMessage not implemented")
  3132. }
  3133. func (UnimplementedLogicExtServer) PushRoom(context.Context, *PushRoomReq) (*Empty, error) {
  3134. return nil, status.Errorf(codes.Unimplemented, "method PushRoom not implemented")
  3135. }
  3136. func (UnimplementedLogicExtServer) SendRedPacket(context.Context, *SendRedPacketReq) (*SendRedPacketResp, error) {
  3137. return nil, status.Errorf(codes.Unimplemented, "method SendRedPacket not implemented")
  3138. }
  3139. func (UnimplementedLogicExtServer) AddFriend(context.Context, *AddFriendReq) (*Empty, error) {
  3140. return nil, status.Errorf(codes.Unimplemented, "method AddFriend not implemented")
  3141. }
  3142. func (UnimplementedLogicExtServer) AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error) {
  3143. return nil, status.Errorf(codes.Unimplemented, "method AgreeAddFriend not implemented")
  3144. }
  3145. func (UnimplementedLogicExtServer) DeleteFriend(context.Context, *DeleteFriendReq) (*Empty, error) {
  3146. return nil, status.Errorf(codes.Unimplemented, "method DeleteFriend not implemented")
  3147. }
  3148. func (UnimplementedLogicExtServer) SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error) {
  3149. return nil, status.Errorf(codes.Unimplemented, "method SetFriend not implemented")
  3150. }
  3151. func (UnimplementedLogicExtServer) GetFriends(context.Context, *Empty) (*GetFriendsResp, error) {
  3152. return nil, status.Errorf(codes.Unimplemented, "method GetFriends not implemented")
  3153. }
  3154. func (UnimplementedLogicExtServer) CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error) {
  3155. return nil, status.Errorf(codes.Unimplemented, "method CreateGroup not implemented")
  3156. }
  3157. func (UnimplementedLogicExtServer) UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error) {
  3158. return nil, status.Errorf(codes.Unimplemented, "method UpdateGroup not implemented")
  3159. }
  3160. func (UnimplementedLogicExtServer) GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error) {
  3161. return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented")
  3162. }
  3163. func (UnimplementedLogicExtServer) GetGroups(context.Context, *Empty) (*GetGroupsResp, error) {
  3164. return nil, status.Errorf(codes.Unimplemented, "method GetGroups not implemented")
  3165. }
  3166. func (UnimplementedLogicExtServer) AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error) {
  3167. return nil, status.Errorf(codes.Unimplemented, "method AddGroupMembers not implemented")
  3168. }
  3169. func (UnimplementedLogicExtServer) UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error) {
  3170. return nil, status.Errorf(codes.Unimplemented, "method UpdateGroupMember not implemented")
  3171. }
  3172. func (UnimplementedLogicExtServer) DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error) {
  3173. return nil, status.Errorf(codes.Unimplemented, "method DeleteGroupMember not implemented")
  3174. }
  3175. func (UnimplementedLogicExtServer) GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error) {
  3176. return nil, status.Errorf(codes.Unimplemented, "method GetGroupMembers not implemented")
  3177. }
  3178. func (UnimplementedLogicExtServer) SetGroupBannedMembers(context.Context, *SetGroupMemberBannedReq) (*SetGroupMemberBannedResp, error) {
  3179. return nil, status.Errorf(codes.Unimplemented, "method SetGroupBannedMembers not implemented")
  3180. }
  3181. func (UnimplementedLogicExtServer) GetGroupBannedMembers(context.Context, *GetGroupBannedMembersReq) (*GetGroupBannedMembersResp, error) {
  3182. return nil, status.Errorf(codes.Unimplemented, "method GetGroupBannedMembers not implemented")
  3183. }
  3184. func RegisterLogicExtServer(s grpc.ServiceRegistrar, srv LogicExtServer) {
  3185. s.RegisterService(&LogicExt_ServiceDesc, srv)
  3186. }
  3187. func _LogicExt_RegisterDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3188. in := new(RegisterDeviceReq)
  3189. if err := dec(in); err != nil {
  3190. return nil, err
  3191. }
  3192. if interceptor == nil {
  3193. return srv.(LogicExtServer).RegisterDevice(ctx, in)
  3194. }
  3195. info := &grpc.UnaryServerInfo{
  3196. Server: srv,
  3197. FullMethod: "/pb.LogicExt/RegisterDevice",
  3198. }
  3199. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3200. return srv.(LogicExtServer).RegisterDevice(ctx, req.(*RegisterDeviceReq))
  3201. }
  3202. return interceptor(ctx, in, info, handler)
  3203. }
  3204. func _LogicExt_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3205. in := new(SendMessageReq)
  3206. if err := dec(in); err != nil {
  3207. return nil, err
  3208. }
  3209. if interceptor == nil {
  3210. return srv.(LogicExtServer).SendMessage(ctx, in)
  3211. }
  3212. info := &grpc.UnaryServerInfo{
  3213. Server: srv,
  3214. FullMethod: "/pb.LogicExt/SendMessage",
  3215. }
  3216. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3217. return srv.(LogicExtServer).SendMessage(ctx, req.(*SendMessageReq))
  3218. }
  3219. return interceptor(ctx, in, info, handler)
  3220. }
  3221. func _LogicExt_RecallMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3222. in := new(RecallMessageReq)
  3223. if err := dec(in); err != nil {
  3224. return nil, err
  3225. }
  3226. if interceptor == nil {
  3227. return srv.(LogicExtServer).RecallMessage(ctx, in)
  3228. }
  3229. info := &grpc.UnaryServerInfo{
  3230. Server: srv,
  3231. FullMethod: "/pb.LogicExt/RecallMessage",
  3232. }
  3233. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3234. return srv.(LogicExtServer).RecallMessage(ctx, req.(*RecallMessageReq))
  3235. }
  3236. return interceptor(ctx, in, info, handler)
  3237. }
  3238. func _LogicExt_PushRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3239. in := new(PushRoomReq)
  3240. if err := dec(in); err != nil {
  3241. return nil, err
  3242. }
  3243. if interceptor == nil {
  3244. return srv.(LogicExtServer).PushRoom(ctx, in)
  3245. }
  3246. info := &grpc.UnaryServerInfo{
  3247. Server: srv,
  3248. FullMethod: "/pb.LogicExt/PushRoom",
  3249. }
  3250. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3251. return srv.(LogicExtServer).PushRoom(ctx, req.(*PushRoomReq))
  3252. }
  3253. return interceptor(ctx, in, info, handler)
  3254. }
  3255. func _LogicExt_SendRedPacket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3256. in := new(SendRedPacketReq)
  3257. if err := dec(in); err != nil {
  3258. return nil, err
  3259. }
  3260. if interceptor == nil {
  3261. return srv.(LogicExtServer).SendRedPacket(ctx, in)
  3262. }
  3263. info := &grpc.UnaryServerInfo{
  3264. Server: srv,
  3265. FullMethod: "/pb.LogicExt/SendRedPacket",
  3266. }
  3267. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3268. return srv.(LogicExtServer).SendRedPacket(ctx, req.(*SendRedPacketReq))
  3269. }
  3270. return interceptor(ctx, in, info, handler)
  3271. }
  3272. func _LogicExt_AddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3273. in := new(AddFriendReq)
  3274. if err := dec(in); err != nil {
  3275. return nil, err
  3276. }
  3277. if interceptor == nil {
  3278. return srv.(LogicExtServer).AddFriend(ctx, in)
  3279. }
  3280. info := &grpc.UnaryServerInfo{
  3281. Server: srv,
  3282. FullMethod: "/pb.LogicExt/AddFriend",
  3283. }
  3284. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3285. return srv.(LogicExtServer).AddFriend(ctx, req.(*AddFriendReq))
  3286. }
  3287. return interceptor(ctx, in, info, handler)
  3288. }
  3289. func _LogicExt_AgreeAddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3290. in := new(AgreeAddFriendReq)
  3291. if err := dec(in); err != nil {
  3292. return nil, err
  3293. }
  3294. if interceptor == nil {
  3295. return srv.(LogicExtServer).AgreeAddFriend(ctx, in)
  3296. }
  3297. info := &grpc.UnaryServerInfo{
  3298. Server: srv,
  3299. FullMethod: "/pb.LogicExt/AgreeAddFriend",
  3300. }
  3301. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3302. return srv.(LogicExtServer).AgreeAddFriend(ctx, req.(*AgreeAddFriendReq))
  3303. }
  3304. return interceptor(ctx, in, info, handler)
  3305. }
  3306. func _LogicExt_DeleteFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3307. in := new(DeleteFriendReq)
  3308. if err := dec(in); err != nil {
  3309. return nil, err
  3310. }
  3311. if interceptor == nil {
  3312. return srv.(LogicExtServer).DeleteFriend(ctx, in)
  3313. }
  3314. info := &grpc.UnaryServerInfo{
  3315. Server: srv,
  3316. FullMethod: "/pb.LogicExt/DeleteFriend",
  3317. }
  3318. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3319. return srv.(LogicExtServer).DeleteFriend(ctx, req.(*DeleteFriendReq))
  3320. }
  3321. return interceptor(ctx, in, info, handler)
  3322. }
  3323. func _LogicExt_SetFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3324. in := new(SetFriendReq)
  3325. if err := dec(in); err != nil {
  3326. return nil, err
  3327. }
  3328. if interceptor == nil {
  3329. return srv.(LogicExtServer).SetFriend(ctx, in)
  3330. }
  3331. info := &grpc.UnaryServerInfo{
  3332. Server: srv,
  3333. FullMethod: "/pb.LogicExt/SetFriend",
  3334. }
  3335. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3336. return srv.(LogicExtServer).SetFriend(ctx, req.(*SetFriendReq))
  3337. }
  3338. return interceptor(ctx, in, info, handler)
  3339. }
  3340. func _LogicExt_GetFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3341. in := new(Empty)
  3342. if err := dec(in); err != nil {
  3343. return nil, err
  3344. }
  3345. if interceptor == nil {
  3346. return srv.(LogicExtServer).GetFriends(ctx, in)
  3347. }
  3348. info := &grpc.UnaryServerInfo{
  3349. Server: srv,
  3350. FullMethod: "/pb.LogicExt/GetFriends",
  3351. }
  3352. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3353. return srv.(LogicExtServer).GetFriends(ctx, req.(*Empty))
  3354. }
  3355. return interceptor(ctx, in, info, handler)
  3356. }
  3357. func _LogicExt_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3358. in := new(CreateGroupReq)
  3359. if err := dec(in); err != nil {
  3360. return nil, err
  3361. }
  3362. if interceptor == nil {
  3363. return srv.(LogicExtServer).CreateGroup(ctx, in)
  3364. }
  3365. info := &grpc.UnaryServerInfo{
  3366. Server: srv,
  3367. FullMethod: "/pb.LogicExt/CreateGroup",
  3368. }
  3369. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3370. return srv.(LogicExtServer).CreateGroup(ctx, req.(*CreateGroupReq))
  3371. }
  3372. return interceptor(ctx, in, info, handler)
  3373. }
  3374. func _LogicExt_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3375. in := new(UpdateGroupReq)
  3376. if err := dec(in); err != nil {
  3377. return nil, err
  3378. }
  3379. if interceptor == nil {
  3380. return srv.(LogicExtServer).UpdateGroup(ctx, in)
  3381. }
  3382. info := &grpc.UnaryServerInfo{
  3383. Server: srv,
  3384. FullMethod: "/pb.LogicExt/UpdateGroup",
  3385. }
  3386. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3387. return srv.(LogicExtServer).UpdateGroup(ctx, req.(*UpdateGroupReq))
  3388. }
  3389. return interceptor(ctx, in, info, handler)
  3390. }
  3391. func _LogicExt_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3392. in := new(GetGroupReq)
  3393. if err := dec(in); err != nil {
  3394. return nil, err
  3395. }
  3396. if interceptor == nil {
  3397. return srv.(LogicExtServer).GetGroup(ctx, in)
  3398. }
  3399. info := &grpc.UnaryServerInfo{
  3400. Server: srv,
  3401. FullMethod: "/pb.LogicExt/GetGroup",
  3402. }
  3403. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3404. return srv.(LogicExtServer).GetGroup(ctx, req.(*GetGroupReq))
  3405. }
  3406. return interceptor(ctx, in, info, handler)
  3407. }
  3408. func _LogicExt_GetGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3409. in := new(Empty)
  3410. if err := dec(in); err != nil {
  3411. return nil, err
  3412. }
  3413. if interceptor == nil {
  3414. return srv.(LogicExtServer).GetGroups(ctx, in)
  3415. }
  3416. info := &grpc.UnaryServerInfo{
  3417. Server: srv,
  3418. FullMethod: "/pb.LogicExt/GetGroups",
  3419. }
  3420. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3421. return srv.(LogicExtServer).GetGroups(ctx, req.(*Empty))
  3422. }
  3423. return interceptor(ctx, in, info, handler)
  3424. }
  3425. func _LogicExt_AddGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3426. in := new(AddGroupMembersReq)
  3427. if err := dec(in); err != nil {
  3428. return nil, err
  3429. }
  3430. if interceptor == nil {
  3431. return srv.(LogicExtServer).AddGroupMembers(ctx, in)
  3432. }
  3433. info := &grpc.UnaryServerInfo{
  3434. Server: srv,
  3435. FullMethod: "/pb.LogicExt/AddGroupMembers",
  3436. }
  3437. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3438. return srv.(LogicExtServer).AddGroupMembers(ctx, req.(*AddGroupMembersReq))
  3439. }
  3440. return interceptor(ctx, in, info, handler)
  3441. }
  3442. func _LogicExt_UpdateGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3443. in := new(UpdateGroupMemberReq)
  3444. if err := dec(in); err != nil {
  3445. return nil, err
  3446. }
  3447. if interceptor == nil {
  3448. return srv.(LogicExtServer).UpdateGroupMember(ctx, in)
  3449. }
  3450. info := &grpc.UnaryServerInfo{
  3451. Server: srv,
  3452. FullMethod: "/pb.LogicExt/UpdateGroupMember",
  3453. }
  3454. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3455. return srv.(LogicExtServer).UpdateGroupMember(ctx, req.(*UpdateGroupMemberReq))
  3456. }
  3457. return interceptor(ctx, in, info, handler)
  3458. }
  3459. func _LogicExt_DeleteGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3460. in := new(DeleteGroupMemberReq)
  3461. if err := dec(in); err != nil {
  3462. return nil, err
  3463. }
  3464. if interceptor == nil {
  3465. return srv.(LogicExtServer).DeleteGroupMember(ctx, in)
  3466. }
  3467. info := &grpc.UnaryServerInfo{
  3468. Server: srv,
  3469. FullMethod: "/pb.LogicExt/DeleteGroupMember",
  3470. }
  3471. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3472. return srv.(LogicExtServer).DeleteGroupMember(ctx, req.(*DeleteGroupMemberReq))
  3473. }
  3474. return interceptor(ctx, in, info, handler)
  3475. }
  3476. func _LogicExt_GetGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3477. in := new(GetGroupMembersReq)
  3478. if err := dec(in); err != nil {
  3479. return nil, err
  3480. }
  3481. if interceptor == nil {
  3482. return srv.(LogicExtServer).GetGroupMembers(ctx, in)
  3483. }
  3484. info := &grpc.UnaryServerInfo{
  3485. Server: srv,
  3486. FullMethod: "/pb.LogicExt/GetGroupMembers",
  3487. }
  3488. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3489. return srv.(LogicExtServer).GetGroupMembers(ctx, req.(*GetGroupMembersReq))
  3490. }
  3491. return interceptor(ctx, in, info, handler)
  3492. }
  3493. func _LogicExt_SetGroupBannedMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3494. in := new(SetGroupMemberBannedReq)
  3495. if err := dec(in); err != nil {
  3496. return nil, err
  3497. }
  3498. if interceptor == nil {
  3499. return srv.(LogicExtServer).SetGroupBannedMembers(ctx, in)
  3500. }
  3501. info := &grpc.UnaryServerInfo{
  3502. Server: srv,
  3503. FullMethod: "/pb.LogicExt/SetGroupBannedMembers",
  3504. }
  3505. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3506. return srv.(LogicExtServer).SetGroupBannedMembers(ctx, req.(*SetGroupMemberBannedReq))
  3507. }
  3508. return interceptor(ctx, in, info, handler)
  3509. }
  3510. func _LogicExt_GetGroupBannedMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3511. in := new(GetGroupBannedMembersReq)
  3512. if err := dec(in); err != nil {
  3513. return nil, err
  3514. }
  3515. if interceptor == nil {
  3516. return srv.(LogicExtServer).GetGroupBannedMembers(ctx, in)
  3517. }
  3518. info := &grpc.UnaryServerInfo{
  3519. Server: srv,
  3520. FullMethod: "/pb.LogicExt/GetGroupBannedMembers",
  3521. }
  3522. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3523. return srv.(LogicExtServer).GetGroupBannedMembers(ctx, req.(*GetGroupBannedMembersReq))
  3524. }
  3525. return interceptor(ctx, in, info, handler)
  3526. }
  3527. // LogicExt_ServiceDesc is the grpc.ServiceDesc for LogicExt service.
  3528. // It's only intended for direct use with grpc.RegisterService,
  3529. // and not to be introspected or modified (even as a copy)
  3530. var LogicExt_ServiceDesc = grpc.ServiceDesc{
  3531. ServiceName: "pb.LogicExt",
  3532. HandlerType: (*LogicExtServer)(nil),
  3533. Methods: []grpc.MethodDesc{
  3534. {
  3535. MethodName: "RegisterDevice",
  3536. Handler: _LogicExt_RegisterDevice_Handler,
  3537. },
  3538. {
  3539. MethodName: "SendMessage",
  3540. Handler: _LogicExt_SendMessage_Handler,
  3541. },
  3542. {
  3543. MethodName: "RecallMessage",
  3544. Handler: _LogicExt_RecallMessage_Handler,
  3545. },
  3546. {
  3547. MethodName: "PushRoom",
  3548. Handler: _LogicExt_PushRoom_Handler,
  3549. },
  3550. {
  3551. MethodName: "SendRedPacket",
  3552. Handler: _LogicExt_SendRedPacket_Handler,
  3553. },
  3554. {
  3555. MethodName: "AddFriend",
  3556. Handler: _LogicExt_AddFriend_Handler,
  3557. },
  3558. {
  3559. MethodName: "AgreeAddFriend",
  3560. Handler: _LogicExt_AgreeAddFriend_Handler,
  3561. },
  3562. {
  3563. MethodName: "DeleteFriend",
  3564. Handler: _LogicExt_DeleteFriend_Handler,
  3565. },
  3566. {
  3567. MethodName: "SetFriend",
  3568. Handler: _LogicExt_SetFriend_Handler,
  3569. },
  3570. {
  3571. MethodName: "GetFriends",
  3572. Handler: _LogicExt_GetFriends_Handler,
  3573. },
  3574. {
  3575. MethodName: "CreateGroup",
  3576. Handler: _LogicExt_CreateGroup_Handler,
  3577. },
  3578. {
  3579. MethodName: "UpdateGroup",
  3580. Handler: _LogicExt_UpdateGroup_Handler,
  3581. },
  3582. {
  3583. MethodName: "GetGroup",
  3584. Handler: _LogicExt_GetGroup_Handler,
  3585. },
  3586. {
  3587. MethodName: "GetGroups",
  3588. Handler: _LogicExt_GetGroups_Handler,
  3589. },
  3590. {
  3591. MethodName: "AddGroupMembers",
  3592. Handler: _LogicExt_AddGroupMembers_Handler,
  3593. },
  3594. {
  3595. MethodName: "UpdateGroupMember",
  3596. Handler: _LogicExt_UpdateGroupMember_Handler,
  3597. },
  3598. {
  3599. MethodName: "DeleteGroupMember",
  3600. Handler: _LogicExt_DeleteGroupMember_Handler,
  3601. },
  3602. {
  3603. MethodName: "GetGroupMembers",
  3604. Handler: _LogicExt_GetGroupMembers_Handler,
  3605. },
  3606. {
  3607. MethodName: "SetGroupBannedMembers",
  3608. Handler: _LogicExt_SetGroupBannedMembers_Handler,
  3609. },
  3610. {
  3611. MethodName: "GetGroupBannedMembers",
  3612. Handler: _LogicExt_GetGroupBannedMembers_Handler,
  3613. },
  3614. },
  3615. Streams: []grpc.StreamDesc{},
  3616. Metadata: "logic.ext.proto",
  3617. }