No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

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