golang-im聊天
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

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