grpc 协议 proto 文件存放
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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