golang-im聊天
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

4397 строки
157 KiB

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