golang-im聊天
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

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