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

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