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.
 
 
 
 

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