golang-im聊天
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

836 行
29 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: push.ext.proto
  6. package pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type PushCode int32
  20. const (
  21. PushCode_PC_ADD_DEFAULT PushCode = 0
  22. PushCode_PC_ADD_FRIEND PushCode = 100 // 添加好友请求
  23. PushCode_PC_AGREE_ADD_FRIEND PushCode = 101 // 同意添加好友
  24. PushCode_PC_UPDATE_GROUP PushCode = 110 // 更新群组
  25. PushCode_PC_ADD_GROUP_MEMBERS PushCode = 120 // 添加群组成员
  26. PushCode_PC_REMOVE_GROUP_MEMBER PushCode = 121 // 移除群组成员
  27. PushCode_PC_BANNED_GROUP_MEMBER PushCode = 122 // 禁言群组成员
  28. PushCode_PC_REMOVE_BANNED_GROUP_MEMBER PushCode = 123 // 取消禁言群组成员
  29. )
  30. // Enum value maps for PushCode.
  31. var (
  32. PushCode_name = map[int32]string{
  33. 0: "PC_ADD_DEFAULT",
  34. 100: "PC_ADD_FRIEND",
  35. 101: "PC_AGREE_ADD_FRIEND",
  36. 110: "PC_UPDATE_GROUP",
  37. 120: "PC_ADD_GROUP_MEMBERS",
  38. 121: "PC_REMOVE_GROUP_MEMBER",
  39. 122: "PC_BANNED_GROUP_MEMBER",
  40. 123: "PC_REMOVE_BANNED_GROUP_MEMBER",
  41. }
  42. PushCode_value = map[string]int32{
  43. "PC_ADD_DEFAULT": 0,
  44. "PC_ADD_FRIEND": 100,
  45. "PC_AGREE_ADD_FRIEND": 101,
  46. "PC_UPDATE_GROUP": 110,
  47. "PC_ADD_GROUP_MEMBERS": 120,
  48. "PC_REMOVE_GROUP_MEMBER": 121,
  49. "PC_BANNED_GROUP_MEMBER": 122,
  50. "PC_REMOVE_BANNED_GROUP_MEMBER": 123,
  51. }
  52. )
  53. func (x PushCode) Enum() *PushCode {
  54. p := new(PushCode)
  55. *p = x
  56. return p
  57. }
  58. func (x PushCode) String() string {
  59. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  60. }
  61. func (PushCode) Descriptor() protoreflect.EnumDescriptor {
  62. return file_push_ext_proto_enumTypes[0].Descriptor()
  63. }
  64. func (PushCode) Type() protoreflect.EnumType {
  65. return &file_push_ext_proto_enumTypes[0]
  66. }
  67. func (x PushCode) Number() protoreflect.EnumNumber {
  68. return protoreflect.EnumNumber(x)
  69. }
  70. // Deprecated: Use PushCode.Descriptor instead.
  71. func (PushCode) EnumDescriptor() ([]byte, []int) {
  72. return file_push_ext_proto_rawDescGZIP(), []int{0}
  73. }
  74. // 推送码 PC_ADD_FRIEND = 100
  75. type AddFriendPush struct {
  76. state protoimpl.MessageState
  77. sizeCache protoimpl.SizeCache
  78. unknownFields protoimpl.UnknownFields
  79. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
  80. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  81. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  82. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 描述
  83. }
  84. func (x *AddFriendPush) Reset() {
  85. *x = AddFriendPush{}
  86. if protoimpl.UnsafeEnabled {
  87. mi := &file_push_ext_proto_msgTypes[0]
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. ms.StoreMessageInfo(mi)
  90. }
  91. }
  92. func (x *AddFriendPush) String() string {
  93. return protoimpl.X.MessageStringOf(x)
  94. }
  95. func (*AddFriendPush) ProtoMessage() {}
  96. func (x *AddFriendPush) ProtoReflect() protoreflect.Message {
  97. mi := &file_push_ext_proto_msgTypes[0]
  98. if protoimpl.UnsafeEnabled && x != nil {
  99. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  100. if ms.LoadMessageInfo() == nil {
  101. ms.StoreMessageInfo(mi)
  102. }
  103. return ms
  104. }
  105. return mi.MessageOf(x)
  106. }
  107. // Deprecated: Use AddFriendPush.ProtoReflect.Descriptor instead.
  108. func (*AddFriendPush) Descriptor() ([]byte, []int) {
  109. return file_push_ext_proto_rawDescGZIP(), []int{0}
  110. }
  111. func (x *AddFriendPush) GetFriendId() int64 {
  112. if x != nil {
  113. return x.FriendId
  114. }
  115. return 0
  116. }
  117. func (x *AddFriendPush) GetNickname() string {
  118. if x != nil {
  119. return x.Nickname
  120. }
  121. return ""
  122. }
  123. func (x *AddFriendPush) GetAvatarUrl() string {
  124. if x != nil {
  125. return x.AvatarUrl
  126. }
  127. return ""
  128. }
  129. func (x *AddFriendPush) GetDescription() string {
  130. if x != nil {
  131. return x.Description
  132. }
  133. return ""
  134. }
  135. // 推送码 PC_AGREE_ADD_FRIEND = 101
  136. type AgreeAddFriendPush struct {
  137. state protoimpl.MessageState
  138. sizeCache protoimpl.SizeCache
  139. unknownFields protoimpl.UnknownFields
  140. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
  141. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  142. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  143. }
  144. func (x *AgreeAddFriendPush) Reset() {
  145. *x = AgreeAddFriendPush{}
  146. if protoimpl.UnsafeEnabled {
  147. mi := &file_push_ext_proto_msgTypes[1]
  148. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  149. ms.StoreMessageInfo(mi)
  150. }
  151. }
  152. func (x *AgreeAddFriendPush) String() string {
  153. return protoimpl.X.MessageStringOf(x)
  154. }
  155. func (*AgreeAddFriendPush) ProtoMessage() {}
  156. func (x *AgreeAddFriendPush) ProtoReflect() protoreflect.Message {
  157. mi := &file_push_ext_proto_msgTypes[1]
  158. if protoimpl.UnsafeEnabled && x != nil {
  159. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  160. if ms.LoadMessageInfo() == nil {
  161. ms.StoreMessageInfo(mi)
  162. }
  163. return ms
  164. }
  165. return mi.MessageOf(x)
  166. }
  167. // Deprecated: Use AgreeAddFriendPush.ProtoReflect.Descriptor instead.
  168. func (*AgreeAddFriendPush) Descriptor() ([]byte, []int) {
  169. return file_push_ext_proto_rawDescGZIP(), []int{1}
  170. }
  171. func (x *AgreeAddFriendPush) GetFriendId() int64 {
  172. if x != nil {
  173. return x.FriendId
  174. }
  175. return 0
  176. }
  177. func (x *AgreeAddFriendPush) GetNickname() string {
  178. if x != nil {
  179. return x.Nickname
  180. }
  181. return ""
  182. }
  183. func (x *AgreeAddFriendPush) GetAvatarUrl() string {
  184. if x != nil {
  185. return x.AvatarUrl
  186. }
  187. return ""
  188. }
  189. // 更新群组 PC_UPDATE_GROUP = 110
  190. type UpdateGroupPush struct {
  191. state protoimpl.MessageState
  192. sizeCache protoimpl.SizeCache
  193. unknownFields protoimpl.UnknownFields
  194. OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
  195. OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
  196. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 群组名称
  197. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 群组头像
  198. Introduction string `protobuf:"bytes,5,opt,name=introduction,proto3" json:"introduction,omitempty"` // 群组简介
  199. IsUpdateIntroduction bool `protobuf:"varint,6,opt,name=isUpdateIntroduction,proto3" json:"isUpdateIntroduction,omitempty"` // 是否更新群组简介
  200. Extra string `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  201. }
  202. func (x *UpdateGroupPush) Reset() {
  203. *x = UpdateGroupPush{}
  204. if protoimpl.UnsafeEnabled {
  205. mi := &file_push_ext_proto_msgTypes[2]
  206. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  207. ms.StoreMessageInfo(mi)
  208. }
  209. }
  210. func (x *UpdateGroupPush) String() string {
  211. return protoimpl.X.MessageStringOf(x)
  212. }
  213. func (*UpdateGroupPush) ProtoMessage() {}
  214. func (x *UpdateGroupPush) ProtoReflect() protoreflect.Message {
  215. mi := &file_push_ext_proto_msgTypes[2]
  216. if protoimpl.UnsafeEnabled && x != nil {
  217. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  218. if ms.LoadMessageInfo() == nil {
  219. ms.StoreMessageInfo(mi)
  220. }
  221. return ms
  222. }
  223. return mi.MessageOf(x)
  224. }
  225. // Deprecated: Use UpdateGroupPush.ProtoReflect.Descriptor instead.
  226. func (*UpdateGroupPush) Descriptor() ([]byte, []int) {
  227. return file_push_ext_proto_rawDescGZIP(), []int{2}
  228. }
  229. func (x *UpdateGroupPush) GetOptId() int64 {
  230. if x != nil {
  231. return x.OptId
  232. }
  233. return 0
  234. }
  235. func (x *UpdateGroupPush) GetOptName() string {
  236. if x != nil {
  237. return x.OptName
  238. }
  239. return ""
  240. }
  241. func (x *UpdateGroupPush) GetName() string {
  242. if x != nil {
  243. return x.Name
  244. }
  245. return ""
  246. }
  247. func (x *UpdateGroupPush) GetAvatarUrl() string {
  248. if x != nil {
  249. return x.AvatarUrl
  250. }
  251. return ""
  252. }
  253. func (x *UpdateGroupPush) GetIntroduction() string {
  254. if x != nil {
  255. return x.Introduction
  256. }
  257. return ""
  258. }
  259. func (x *UpdateGroupPush) GetIsUpdateIntroduction() bool {
  260. if x != nil {
  261. return x.IsUpdateIntroduction
  262. }
  263. return false
  264. }
  265. func (x *UpdateGroupPush) GetExtra() string {
  266. if x != nil {
  267. return x.Extra
  268. }
  269. return ""
  270. }
  271. // 添加群组成员 PC_AGREE_ADD_GROUPS = 120
  272. type AddGroupMembersPush struct {
  273. state protoimpl.MessageState
  274. sizeCache protoimpl.SizeCache
  275. unknownFields protoimpl.UnknownFields
  276. OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
  277. OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
  278. Members []*GroupMember `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` // 群组成员
  279. }
  280. func (x *AddGroupMembersPush) Reset() {
  281. *x = AddGroupMembersPush{}
  282. if protoimpl.UnsafeEnabled {
  283. mi := &file_push_ext_proto_msgTypes[3]
  284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  285. ms.StoreMessageInfo(mi)
  286. }
  287. }
  288. func (x *AddGroupMembersPush) String() string {
  289. return protoimpl.X.MessageStringOf(x)
  290. }
  291. func (*AddGroupMembersPush) ProtoMessage() {}
  292. func (x *AddGroupMembersPush) ProtoReflect() protoreflect.Message {
  293. mi := &file_push_ext_proto_msgTypes[3]
  294. if protoimpl.UnsafeEnabled && x != nil {
  295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  296. if ms.LoadMessageInfo() == nil {
  297. ms.StoreMessageInfo(mi)
  298. }
  299. return ms
  300. }
  301. return mi.MessageOf(x)
  302. }
  303. // Deprecated: Use AddGroupMembersPush.ProtoReflect.Descriptor instead.
  304. func (*AddGroupMembersPush) Descriptor() ([]byte, []int) {
  305. return file_push_ext_proto_rawDescGZIP(), []int{3}
  306. }
  307. func (x *AddGroupMembersPush) GetOptId() int64 {
  308. if x != nil {
  309. return x.OptId
  310. }
  311. return 0
  312. }
  313. func (x *AddGroupMembersPush) GetOptName() string {
  314. if x != nil {
  315. return x.OptName
  316. }
  317. return ""
  318. }
  319. func (x *AddGroupMembersPush) GetMembers() []*GroupMember {
  320. if x != nil {
  321. return x.Members
  322. }
  323. return nil
  324. }
  325. // 删除群组成员 PC_REMOVE_GROUP_MEMBER = 121
  326. type RemoveGroupMemberPush struct {
  327. state protoimpl.MessageState
  328. sizeCache protoimpl.SizeCache
  329. unknownFields protoimpl.UnknownFields
  330. OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
  331. OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
  332. DeletedUserId int64 `protobuf:"varint,3,opt,name=deleted_user_id,json=deletedUserId,proto3" json:"deleted_user_id,omitempty"` // 被删除的成员id
  333. DeletedUserName string `protobuf:"bytes,4,opt,name=deleted_user_name,json=deletedUserName,proto3" json:"deleted_user_name,omitempty"` // 被删除的成员昵称
  334. }
  335. func (x *RemoveGroupMemberPush) Reset() {
  336. *x = RemoveGroupMemberPush{}
  337. if protoimpl.UnsafeEnabled {
  338. mi := &file_push_ext_proto_msgTypes[4]
  339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  340. ms.StoreMessageInfo(mi)
  341. }
  342. }
  343. func (x *RemoveGroupMemberPush) String() string {
  344. return protoimpl.X.MessageStringOf(x)
  345. }
  346. func (*RemoveGroupMemberPush) ProtoMessage() {}
  347. func (x *RemoveGroupMemberPush) ProtoReflect() protoreflect.Message {
  348. mi := &file_push_ext_proto_msgTypes[4]
  349. if protoimpl.UnsafeEnabled && x != nil {
  350. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  351. if ms.LoadMessageInfo() == nil {
  352. ms.StoreMessageInfo(mi)
  353. }
  354. return ms
  355. }
  356. return mi.MessageOf(x)
  357. }
  358. // Deprecated: Use RemoveGroupMemberPush.ProtoReflect.Descriptor instead.
  359. func (*RemoveGroupMemberPush) Descriptor() ([]byte, []int) {
  360. return file_push_ext_proto_rawDescGZIP(), []int{4}
  361. }
  362. func (x *RemoveGroupMemberPush) GetOptId() int64 {
  363. if x != nil {
  364. return x.OptId
  365. }
  366. return 0
  367. }
  368. func (x *RemoveGroupMemberPush) GetOptName() string {
  369. if x != nil {
  370. return x.OptName
  371. }
  372. return ""
  373. }
  374. func (x *RemoveGroupMemberPush) GetDeletedUserId() int64 {
  375. if x != nil {
  376. return x.DeletedUserId
  377. }
  378. return 0
  379. }
  380. func (x *RemoveGroupMemberPush) GetDeletedUserName() string {
  381. if x != nil {
  382. return x.DeletedUserName
  383. }
  384. return ""
  385. }
  386. // 禁言群组成员 PC_BANNED_GROUP_MEMBER = 122
  387. type BannedGroupMemberPush struct {
  388. state protoimpl.MessageState
  389. sizeCache protoimpl.SizeCache
  390. unknownFields protoimpl.UnknownFields
  391. OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
  392. OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
  393. BannedUserId int64 `protobuf:"varint,3,opt,name=banned_user_id,json=bannedUserId,proto3" json:"banned_user_id,omitempty"` // 被禁言的成员id
  394. BannedUserName string `protobuf:"bytes,4,opt,name=banned_user_name,json=bannedUserName,proto3" json:"banned_user_name,omitempty"` // 被禁言的成员昵称
  395. }
  396. func (x *BannedGroupMemberPush) Reset() {
  397. *x = BannedGroupMemberPush{}
  398. if protoimpl.UnsafeEnabled {
  399. mi := &file_push_ext_proto_msgTypes[5]
  400. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  401. ms.StoreMessageInfo(mi)
  402. }
  403. }
  404. func (x *BannedGroupMemberPush) String() string {
  405. return protoimpl.X.MessageStringOf(x)
  406. }
  407. func (*BannedGroupMemberPush) ProtoMessage() {}
  408. func (x *BannedGroupMemberPush) ProtoReflect() protoreflect.Message {
  409. mi := &file_push_ext_proto_msgTypes[5]
  410. if protoimpl.UnsafeEnabled && x != nil {
  411. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  412. if ms.LoadMessageInfo() == nil {
  413. ms.StoreMessageInfo(mi)
  414. }
  415. return ms
  416. }
  417. return mi.MessageOf(x)
  418. }
  419. // Deprecated: Use BannedGroupMemberPush.ProtoReflect.Descriptor instead.
  420. func (*BannedGroupMemberPush) Descriptor() ([]byte, []int) {
  421. return file_push_ext_proto_rawDescGZIP(), []int{5}
  422. }
  423. func (x *BannedGroupMemberPush) GetOptId() int64 {
  424. if x != nil {
  425. return x.OptId
  426. }
  427. return 0
  428. }
  429. func (x *BannedGroupMemberPush) GetOptName() string {
  430. if x != nil {
  431. return x.OptName
  432. }
  433. return ""
  434. }
  435. func (x *BannedGroupMemberPush) GetBannedUserId() int64 {
  436. if x != nil {
  437. return x.BannedUserId
  438. }
  439. return 0
  440. }
  441. func (x *BannedGroupMemberPush) GetBannedUserName() string {
  442. if x != nil {
  443. return x.BannedUserName
  444. }
  445. return ""
  446. }
  447. // 取消禁言群组成员 PC_REMOVE_BANNED_GROUP_MEMBER = 123
  448. type RemoveBannedGroupMemberPush struct {
  449. state protoimpl.MessageState
  450. sizeCache protoimpl.SizeCache
  451. unknownFields protoimpl.UnknownFields
  452. OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
  453. OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
  454. RemoveBannedUserId int64 `protobuf:"varint,3,opt,name=remove_banned_user_id,json=removeBannedUserId,proto3" json:"remove_banned_user_id,omitempty"` // 被解禁言的成员id
  455. RemoveBannedUserName string `protobuf:"bytes,4,opt,name=remove_banned_user_name,json=removeBannedUserName,proto3" json:"remove_banned_user_name,omitempty"` // 被解禁言的成员昵称
  456. }
  457. func (x *RemoveBannedGroupMemberPush) Reset() {
  458. *x = RemoveBannedGroupMemberPush{}
  459. if protoimpl.UnsafeEnabled {
  460. mi := &file_push_ext_proto_msgTypes[6]
  461. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  462. ms.StoreMessageInfo(mi)
  463. }
  464. }
  465. func (x *RemoveBannedGroupMemberPush) String() string {
  466. return protoimpl.X.MessageStringOf(x)
  467. }
  468. func (*RemoveBannedGroupMemberPush) ProtoMessage() {}
  469. func (x *RemoveBannedGroupMemberPush) ProtoReflect() protoreflect.Message {
  470. mi := &file_push_ext_proto_msgTypes[6]
  471. if protoimpl.UnsafeEnabled && x != nil {
  472. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  473. if ms.LoadMessageInfo() == nil {
  474. ms.StoreMessageInfo(mi)
  475. }
  476. return ms
  477. }
  478. return mi.MessageOf(x)
  479. }
  480. // Deprecated: Use RemoveBannedGroupMemberPush.ProtoReflect.Descriptor instead.
  481. func (*RemoveBannedGroupMemberPush) Descriptor() ([]byte, []int) {
  482. return file_push_ext_proto_rawDescGZIP(), []int{6}
  483. }
  484. func (x *RemoveBannedGroupMemberPush) GetOptId() int64 {
  485. if x != nil {
  486. return x.OptId
  487. }
  488. return 0
  489. }
  490. func (x *RemoveBannedGroupMemberPush) GetOptName() string {
  491. if x != nil {
  492. return x.OptName
  493. }
  494. return ""
  495. }
  496. func (x *RemoveBannedGroupMemberPush) GetRemoveBannedUserId() int64 {
  497. if x != nil {
  498. return x.RemoveBannedUserId
  499. }
  500. return 0
  501. }
  502. func (x *RemoveBannedGroupMemberPush) GetRemoveBannedUserName() string {
  503. if x != nil {
  504. return x.RemoveBannedUserName
  505. }
  506. return ""
  507. }
  508. var File_push_ext_proto protoreflect.FileDescriptor
  509. var file_push_ext_proto_rawDesc = []byte{
  510. 0x0a, 0x0e, 0x70, 0x75, 0x73, 0x68, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  511. 0x12, 0x02, 0x70, 0x62, 0x1a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x65, 0x78, 0x74, 0x2e,
  512. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69,
  513. 0x65, 0x6e, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e,
  514. 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65,
  515. 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  516. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  517. 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03,
  518. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12,
  519. 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
  520. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
  521. 0x6e, 0x22, 0x6c, 0x0a, 0x12, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69,
  522. 0x65, 0x6e, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e,
  523. 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65,
  524. 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  525. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  526. 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03,
  527. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22,
  528. 0xe4, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50,
  529. 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  530. 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
  531. 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70,
  532. 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
  533. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
  534. 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  535. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72,
  536. 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
  537. 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x14,
  538. 0x69, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63,
  539. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x55, 0x70,
  540. 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  541. 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
  542. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x72, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f,
  543. 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a,
  544. 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f,
  545. 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
  546. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  547. 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  548. 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65,
  549. 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x15, 0x52,
  550. 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  551. 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
  552. 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f,
  553. 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f,
  554. 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
  555. 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  556. 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a,
  557. 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e,
  558. 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74,
  559. 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x15, 0x42,
  560. 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  561. 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
  562. 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f,
  563. 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f,
  564. 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64,
  565. 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
  566. 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10,
  567. 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
  568. 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73,
  569. 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb9, 0x01, 0x0a, 0x1b, 0x52, 0x65, 0x6d, 0x6f, 0x76,
  570. 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
  571. 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64,
  572. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a,
  573. 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  574. 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x15, 0x72, 0x65, 0x6d, 0x6f,
  575. 0x76, 0x65, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
  576. 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42,
  577. 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x17, 0x72,
  578. 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65,
  579. 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x72, 0x65,
  580. 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61,
  581. 0x6d, 0x65, 0x2a, 0xd4, 0x01, 0x0a, 0x08, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x64, 0x65, 0x12,
  582. 0x12, 0x0a, 0x0e, 0x50, 0x43, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c,
  583. 0x54, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x43, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, 0x52,
  584. 0x49, 0x45, 0x4e, 0x44, 0x10, 0x64, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x43, 0x5f, 0x41, 0x47, 0x52,
  585. 0x45, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0x65, 0x12,
  586. 0x13, 0x0a, 0x0f, 0x50, 0x43, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x47, 0x52, 0x4f,
  587. 0x55, 0x50, 0x10, 0x6e, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x43, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x47,
  588. 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x10, 0x78, 0x12, 0x1a,
  589. 0x0a, 0x16, 0x50, 0x43, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55,
  590. 0x50, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x43,
  591. 0x5f, 0x42, 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4d, 0x45,
  592. 0x4d, 0x42, 0x45, 0x52, 0x10, 0x7a, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x43, 0x5f, 0x52, 0x45, 0x4d,
  593. 0x4f, 0x56, 0x45, 0x5f, 0x42, 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50,
  594. 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x7b, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d,
  595. 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  596. }
  597. var (
  598. file_push_ext_proto_rawDescOnce sync.Once
  599. file_push_ext_proto_rawDescData = file_push_ext_proto_rawDesc
  600. )
  601. func file_push_ext_proto_rawDescGZIP() []byte {
  602. file_push_ext_proto_rawDescOnce.Do(func() {
  603. file_push_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_push_ext_proto_rawDescData)
  604. })
  605. return file_push_ext_proto_rawDescData
  606. }
  607. var file_push_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  608. var file_push_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  609. var file_push_ext_proto_goTypes = []interface{}{
  610. (PushCode)(0), // 0: pb.PushCode
  611. (*AddFriendPush)(nil), // 1: pb.AddFriendPush
  612. (*AgreeAddFriendPush)(nil), // 2: pb.AgreeAddFriendPush
  613. (*UpdateGroupPush)(nil), // 3: pb.UpdateGroupPush
  614. (*AddGroupMembersPush)(nil), // 4: pb.AddGroupMembersPush
  615. (*RemoveGroupMemberPush)(nil), // 5: pb.RemoveGroupMemberPush
  616. (*BannedGroupMemberPush)(nil), // 6: pb.BannedGroupMemberPush
  617. (*RemoveBannedGroupMemberPush)(nil), // 7: pb.RemoveBannedGroupMemberPush
  618. (*GroupMember)(nil), // 8: pb.GroupMember
  619. }
  620. var file_push_ext_proto_depIdxs = []int32{
  621. 8, // 0: pb.AddGroupMembersPush.members:type_name -> pb.GroupMember
  622. 1, // [1:1] is the sub-list for method output_type
  623. 1, // [1:1] is the sub-list for method input_type
  624. 1, // [1:1] is the sub-list for extension type_name
  625. 1, // [1:1] is the sub-list for extension extendee
  626. 0, // [0:1] is the sub-list for field type_name
  627. }
  628. func init() { file_push_ext_proto_init() }
  629. func file_push_ext_proto_init() {
  630. if File_push_ext_proto != nil {
  631. return
  632. }
  633. file_logic_ext_proto_init()
  634. if !protoimpl.UnsafeEnabled {
  635. file_push_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  636. switch v := v.(*AddFriendPush); i {
  637. case 0:
  638. return &v.state
  639. case 1:
  640. return &v.sizeCache
  641. case 2:
  642. return &v.unknownFields
  643. default:
  644. return nil
  645. }
  646. }
  647. file_push_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  648. switch v := v.(*AgreeAddFriendPush); i {
  649. case 0:
  650. return &v.state
  651. case 1:
  652. return &v.sizeCache
  653. case 2:
  654. return &v.unknownFields
  655. default:
  656. return nil
  657. }
  658. }
  659. file_push_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  660. switch v := v.(*UpdateGroupPush); i {
  661. case 0:
  662. return &v.state
  663. case 1:
  664. return &v.sizeCache
  665. case 2:
  666. return &v.unknownFields
  667. default:
  668. return nil
  669. }
  670. }
  671. file_push_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  672. switch v := v.(*AddGroupMembersPush); i {
  673. case 0:
  674. return &v.state
  675. case 1:
  676. return &v.sizeCache
  677. case 2:
  678. return &v.unknownFields
  679. default:
  680. return nil
  681. }
  682. }
  683. file_push_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  684. switch v := v.(*RemoveGroupMemberPush); i {
  685. case 0:
  686. return &v.state
  687. case 1:
  688. return &v.sizeCache
  689. case 2:
  690. return &v.unknownFields
  691. default:
  692. return nil
  693. }
  694. }
  695. file_push_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  696. switch v := v.(*BannedGroupMemberPush); i {
  697. case 0:
  698. return &v.state
  699. case 1:
  700. return &v.sizeCache
  701. case 2:
  702. return &v.unknownFields
  703. default:
  704. return nil
  705. }
  706. }
  707. file_push_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  708. switch v := v.(*RemoveBannedGroupMemberPush); i {
  709. case 0:
  710. return &v.state
  711. case 1:
  712. return &v.sizeCache
  713. case 2:
  714. return &v.unknownFields
  715. default:
  716. return nil
  717. }
  718. }
  719. }
  720. type x struct{}
  721. out := protoimpl.TypeBuilder{
  722. File: protoimpl.DescBuilder{
  723. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  724. RawDescriptor: file_push_ext_proto_rawDesc,
  725. NumEnums: 1,
  726. NumMessages: 7,
  727. NumExtensions: 0,
  728. NumServices: 0,
  729. },
  730. GoTypes: file_push_ext_proto_goTypes,
  731. DependencyIndexes: file_push_ext_proto_depIdxs,
  732. EnumInfos: file_push_ext_proto_enumTypes,
  733. MessageInfos: file_push_ext_proto_msgTypes,
  734. }.Build()
  735. File_push_ext_proto = out.File
  736. file_push_ext_proto_rawDesc = nil
  737. file_push_ext_proto_goTypes = nil
  738. file_push_ext_proto_depIdxs = nil
  739. }