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.
 
 
 
 

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