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

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