golang-im聊天
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

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